SYMBOL INDEX (2300 symbols across 204 files) FILE: docs/theme/highlight.js function t (line 6) | function t(e){ class s (line 12) | class s{constructor(e){ method constructor (line 12) | constructor(e){ method ignoreMatch (line 14) | ignoreMatch(){this.isMatchIgnored=!0} function i (line 14) | function i(e){ function a (line 16) | function a(e,...t){const n=Object.create(null);for(const t in e)n[t]=e[t] class o (line 18) | class o{constructor(e,t){ method constructor (line 18) | constructor(e,t){ method addText (line 19) | addText(e){ method openNode (line 20) | openNode(e){if(!r(e))return;let t=e.kind method closeNode (line 24) | closeNode(e){ method value (line 25) | value(){return this.buffer} method span (line 25) | span(e){ class l (line 26) | class l{constructor(){this.rootNode={ method constructor (line 26) | constructor(){this.rootNode={ method top (line 27) | get top(){ method root (line 28) | get root(){return this.rootNode} method add (line 28) | add(e){ method openNode (line 29) | openNode(e){const t={kind:e,children:[]} method closeNode (line 30) | closeNode(){ method closeAllNodes (line 31) | closeAllNodes(){ method toJSON (line 32) | toJSON(){return JSON.stringify(this.rootNode,null,4)} method walk (line 33) | walk(e){return this.constructor._walk(e,this.rootNode)} method _walk (line 33) | static _walk(e,t){ method _collapse (line 35) | static _collapse(e){ class c (line 37) | class c extends l{constructor(e){super(),this.options=e} method constructor (line 37) | constructor(e){super(),this.options=e} method addKeyword (line 38) | addKeyword(e,t){""!==e&&(this.openNode(t),this.addText(e),this.closeNo... method addText (line 39) | addText(e){""!==e&&this.add(e)} method addSublanguage (line 39) | addSublanguage(e,t){const n=e.root method toHTML (line 40) | toHTML(){ method finalize (line 41) | finalize(){return!0} function d (line 41) | function d(e){ function u (line 42) | function u(e){return b("(?=",e,")")} function g (line 43) | function g(e){return b("(?:",e,")*")} function h (line 43) | function h(e){return b("(?:",e,")?")} function b (line 44) | function b(...e){return e.map((e=>d(e))).join("")} function p (line 44) | function p(...e){const t=(e=>{ function f (line 48) | function f(e){return RegExp(e.toString()+"|").exec("").length-1} function E (line 50) | function E(e,{joinWith:t}){let n=0;return e.map((e=>{n+=1;const t=n function T (line 82) | function T(e,t){ function D (line 83) | function D(e,t){ function j (line 84) | function j(e,t){ function C (line 87) | function C(e,t){ function B (line 88) | function B(e,t){ function L (line 91) | function L(e,t){ function U (line 99) | function U(e,t,n="keyword"){const s=Object.create(null) function H (line 103) | function H(e,t){ function W (line 107) | function W(e,t,{key:n}){let s=0;const i=e[n],a={},r={} function X (line 109) | function X(e){(e=>{ function q (line 122) | function q(e){ function V (line 169) | function V(e){ class Q (line 170) | class Q extends Error{ method constructor (line 171) | constructor(e,t){super(e),this.name="HTMLInjectionError",this.html=t} function f (line 178) | function f(e){ function m (line 179) | function m(e,t,n){let s="",i="" function E (line 185) | function E(e,n,i,a){ function _ (line 247) | function _(e,n){n=n||d.languages||Object.keys(t);const s=(e=>{ function w (line 254) | function w(e){let t=null;const n=(e=>{ function N (line 271) | function N(){ function x (line 273) | function x(e){return e=(e||"").toLowerCase(),t[e]||t[i[e]]} function k (line 274) | function k(e,{languageName:t}){"string"==typeof e&&(e=[e]),e.forEach((e=>{ function v (line 275) | function v(e){const t=x(e) function O (line 276) | function O(e,t){const n=e;a.forEach((e=>{ FILE: e2e/build.rs type Downloader (line 10) | struct Downloader { constant EXECUTOR_FILE_NAME (line 15) | const EXECUTOR_FILE_NAME: &'static str = "fuel-core-wasm-executor.wasm"; method new (line 17) | pub fn new() -> Self { method should_download (line 25) | pub fn should_download(&self) -> anyhow::Result { method download (line 42) | pub fn download(&self) -> anyhow::Result<()> { method make_cargo_watch_downloaded_files (line 89) | fn make_cargo_watch_downloaded_files(&self) { method executor_path (line 97) | fn executor_path(&self) -> PathBuf { method version_path (line 101) | fn version_path(&self) -> PathBuf { function main (line 106) | fn main() { FILE: e2e/src/aws_kms.rs type AwsKms (line 18) | pub struct AwsKms { method with_show_logs (line 43) | pub fn with_show_logs(mut self, show_logs: bool) -> Self { method start (line 48) | pub async fn start(self) -> Result { type AwsKmsImage (line 22) | struct AwsKmsImage; method name (line 25) | fn name(&self) -> &str { method tag (line 29) | fn tag(&self) -> &str { method ready_conditions (line 33) | fn ready_conditions(&self) -> Vec { method expose_ports (line 37) | fn expose_ports(&self) -> &[ContainerPort] { function spawn_log_printer (line 85) | fn spawn_log_printer(container: &testcontainers::ContainerAsync anyhow::Result { method client (line 150) | pub fn client(&self) -> &Client { method url (line 154) | pub fn url(&self) -> &str { FILE: e2e/src/e2e_helpers.rs function start_aws_kms (line 5) | pub async fn start_aws_kms(logs: bool) -> Result { FILE: e2e/tests/aws.rs function fund_aws_wallet (line 15) | async fn fund_aws_wallet() -> Result<()> { function deploy_contract (line 43) | async fn deploy_contract() -> Result<()> { FILE: e2e/tests/binary_format.rs constant DATA_OFFSET_LOCATION (line 7) | const DATA_OFFSET_LOCATION: Range = 8..16; constant CONFIGURABLES_OFFSET_LOCATION (line 8) | const CONFIGURABLES_OFFSET_LOCATION: Range = 16..24; constant LEGACY_BINARY_PATH (line 10) | const LEGACY_BINARY_PATH: &str = constant NEW_BINARY_PATH (line 12) | const NEW_BINARY_PATH: &str = function no_configurables_offset_for_old_sway_binaries (line 16) | fn no_configurables_offset_for_old_sway_binaries() { function correct_data_offset_for_old_sway_binaries (line 28) | fn correct_data_offset_for_old_sway_binaries() { function correct_data_offset_for_new_sway_binaries (line 41) | fn correct_data_offset_for_new_sway_binaries() { function correct_configurables_offset_for_new_sway_binaries (line 54) | fn correct_configurables_offset_for_new_sway_binaries() { function read_offset (line 69) | pub fn read_offset(binary: &[u8], range: Range) -> usize { function load (line 75) | fn load(path: &str) -> (Vec, Executable) { FILE: e2e/tests/bindings.rs function setup_program_test_is_hygienic (line 5) | async fn setup_program_test_is_hygienic() { function compile_bindings_from_contract_file (line 23) | async fn compile_bindings_from_contract_file() { function compile_bindings_from_inline_contract (line 48) | async fn compile_bindings_from_inline_contract() -> Result<()> { function shared_types (line 101) | async fn shared_types() -> Result<()> { function type_paths_respected (line 220) | async fn type_paths_respected() -> Result<()> { FILE: e2e/tests/configurables.rs function contract_default_configurables (line 8) | async fn contract_default_configurables() -> Result<()> { function script_default_configurables (line 56) | async fn script_default_configurables() -> Result<()> { function contract_configurables (line 99) | async fn contract_configurables() -> Result<()> { function contract_manual_configurables (line 167) | async fn contract_manual_configurables() -> Result<()> { function script_configurables (line 235) | async fn script_configurables() -> Result<()> { function configurable_encoder_config_is_applied (line 298) | async fn configurable_encoder_config_is_applied() { FILE: e2e/tests/contracts.rs function test_multiple_args (line 22) | async fn test_multiple_args() -> Result<()> { function test_contract_calling_contract (line 53) | async fn test_contract_calling_contract() -> Result<()> { function test_reverting_transaction (line 129) | async fn test_reverting_transaction() -> Result<()> { function test_multiple_read_calls (line 159) | async fn test_multiple_read_calls() -> Result<()> { function test_multi_call_beginner (line 196) | async fn test_multi_call_beginner() -> Result<()> { function test_multi_call_pro (line 228) | async fn test_multi_call_pro() -> Result<()> { function test_contract_call_fee_estimation (line 282) | async fn test_contract_call_fee_estimation() -> Result<()> { function contract_call_has_same_estimated_and_used_gas (line 322) | async fn contract_call_has_same_estimated_and_used_gas() -> Result<()> { function mult_call_has_same_estimated_and_used_gas (line 359) | async fn mult_call_has_same_estimated_and_used_gas() -> Result<()> { function contract_method_call_respects_maturity_and_expiration (line 401) | async fn contract_method_call_respects_maturity_and_expiration() -> Resu... function test_auth_msg_sender_from_sdk (line 456) | async fn test_auth_msg_sender_from_sdk() -> Result<()> { function test_large_return_data (line 483) | async fn test_large_return_data() -> Result<()> { function can_handle_function_called_new (line 541) | async fn can_handle_function_called_new() -> Result<()> { function test_contract_setup_macro_deploy_with_salt (line 563) | async fn test_contract_setup_macro_deploy_with_salt() -> Result<()> { function test_wallet_getter (line 627) | async fn test_wallet_getter() -> Result<()> { function test_connect_wallet (line 649) | async fn test_connect_wallet() -> Result<()> { function setup_output_variable_estimation_test (line 705) | async fn setup_output_variable_estimation_test() function test_output_variable_estimation (line 730) | async fn test_output_variable_estimation() -> Result<()> { function test_output_variable_estimation_multicall (line 774) | async fn test_output_variable_estimation_multicall() -> Result<()> { function test_contract_instance_get_balances (line 823) | async fn test_contract_instance_get_balances() -> Result<()> { function contract_call_futures_implement_send (line 867) | async fn contract_call_futures_implement_send() -> Result<()> { function test_contract_set_estimation (line 902) | async fn test_contract_set_estimation() -> Result<()> { function test_output_variable_contract_id_estimation_multicall (line 960) | async fn test_output_variable_contract_id_estimation_multicall() -> Resu... function test_contract_call_with_non_default_max_input (line 1027) | async fn test_contract_call_with_non_default_max_input() -> Result<()> { function test_add_custom_assets (line 1080) | async fn test_add_custom_assets() -> Result<()> { function contract_load_error_messages (line 1149) | async fn contract_load_error_messages() { function test_payable_annotation (line 1171) | async fn test_payable_annotation() -> Result<()> { function multi_call_from_calls_with_different_account_types (line 1221) | async fn multi_call_from_calls_with_different_account_types() -> Result<... function low_level_call (line 1246) | async fn low_level_call() -> Result<()> { function db_rocksdb (line 1347) | fn db_rocksdb() { function can_configure_decoding_of_contract_return (line 1448) | async fn can_configure_decoding_of_contract_return() -> Result<()> { function test_contract_submit_and_response (line 1510) | async fn test_contract_submit_and_response() -> Result<()> { function test_heap_type_multicall (line 1552) | async fn test_heap_type_multicall() -> Result<()> { function heap_types_correctly_offset_in_create_transactions_w_storage_slots (line 1600) | async fn heap_types_correctly_offset_in_create_transactions_w_storage_sl... function test_arguments_with_gas_forwarded (line 1640) | async fn test_arguments_with_gas_forwarded() -> Result<()> { function contract_custom_call_no_signatures_strategy (line 1704) | async fn contract_custom_call_no_signatures_strategy() -> Result<()> { function contract_encoder_config_is_applied (line 1760) | async fn contract_encoder_config_is_applied() -> Result<()> { function test_reentrant_calls (line 1821) | async fn test_reentrant_calls() -> Result<()> { function msg_sender_gas_estimation_issue (line 1849) | async fn msg_sender_gas_estimation_issue() { function variable_output_estimation_is_optimized (line 1903) | async fn variable_output_estimation_is_optimized() -> Result<()> { function config_for_high_price_node (line 1942) | fn config_for_high_price_node() -> (WalletsConfig, NodeConfig, ChainConf... function setup_node_with_high_price (line 1966) | async fn setup_node_with_high_price() -> Result> { function setup_node_with_high_price_historical_execution (line 1980) | async fn setup_node_with_high_price_historical_execution() function simulations_can_be_made_without_coins (line 2001) | async fn simulations_can_be_made_without_coins() -> Result<()> { function simulations_can_be_made_at_specific_block_height (line 2033) | async fn simulations_can_be_made_at_specific_block_height() -> Result<()> { function simulations_can_be_made_without_coins_multicall (line 2084) | async fn simulations_can_be_made_without_coins_multicall() -> Result<()> { function contract_call_with_non_zero_base_asset_id_and_tip (line 2125) | async fn contract_call_with_non_zero_base_asset_id_and_tip() -> Result<(... function max_fee_estimation_respects_tolerance (line 2176) | async fn max_fee_estimation_respects_tolerance() -> Result<()> { function blob_contract_deployment (line 2301) | async fn blob_contract_deployment() -> Result<()> { function regular_contract_can_be_deployed (line 2349) | async fn regular_contract_can_be_deployed() -> Result<()> { function unuploaded_loader_can_be_deployed_directly (line 2383) | async fn unuploaded_loader_can_be_deployed_directly() -> Result<()> { function unuploaded_loader_can_upload_blobs_separately_then_deploy (line 2410) | async fn unuploaded_loader_can_upload_blobs_separately_then_deploy() -> ... function loader_blob_already_uploaded_not_an_issue (line 2449) | async fn loader_blob_already_uploaded_not_an_issue() -> Result<()> { function loader_works_via_proxy (line 2482) | async fn loader_works_via_proxy() -> Result<()> { function loader_storage_works_via_proxy (line 2534) | async fn loader_storage_works_via_proxy() -> Result<()> { function adjust_for_fee_errors (line 2608) | async fn adjust_for_fee_errors() -> Result<()> { function tx_input_output (line 2634) | async fn tx_input_output() -> Result<()> { function multicall_tx_input_output (line 2718) | async fn multicall_tx_input_output() -> Result<()> { function test_returned_method_descriptors_are_valid (line 2844) | async fn test_returned_method_descriptors_are_valid() -> Result<()> { FILE: e2e/tests/debug_utils.rs function can_debug_single_call_tx (line 11) | async fn can_debug_single_call_tx() -> Result<()> { function can_debug_multi_call_tx (line 128) | async fn can_debug_multi_call_tx() -> Result<()> { function can_debug_sway_script (line 330) | async fn can_debug_sway_script() -> Result<()> { function debugs_sway_script_with_no_configurables (line 384) | async fn debugs_sway_script_with_no_configurables() -> Result<()> { function generate_modern_sway_binary (line 412) | fn generate_modern_sway_binary(len: usize) -> Vec { function data_section_offset_not_set_if_out_of_bounds (line 426) | async fn data_section_offset_not_set_if_out_of_bounds() -> Result<()> { function can_detect_a_loader_script_w_data_section (line 440) | async fn can_detect_a_loader_script_w_data_section() -> Result<()> { function can_detect_a_loader_script_wo_data_section (line 496) | async fn can_detect_a_loader_script_wo_data_section() -> Result<()> { FILE: e2e/tests/from_token.rs function create_struct_from_decoded_tokens (line 4) | async fn create_struct_from_decoded_tokens() -> Result<()> { function create_nested_struct_from_decoded_tokens (line 21) | async fn create_nested_struct_from_decoded_tokens() -> Result<()> { FILE: e2e/tests/imports.rs function provides_output_type (line 4) | fn provides_output_type() { FILE: e2e/tests/logs.rs function parse_logged_variables (line 10) | async fn parse_logged_variables() -> Result<()> { function parse_logs_values (line 49) | async fn parse_logs_values() -> Result<()> { function parse_logs_custom_types (line 84) | async fn parse_logs_custom_types() -> Result<()> { function parse_logs_generic_types (line 125) | async fn parse_logs_generic_types() -> Result<()> { function decode_logs (line 178) | async fn decode_logs() -> Result<()> { function decode_logs_with_no_logs (line 233) | async fn decode_logs_with_no_logs() -> Result<()> { function multi_call_log_single_contract (line 261) | async fn multi_call_log_single_contract() -> Result<()> { function multi_call_log_multiple_contracts (line 310) | async fn multi_call_log_multiple_contracts() -> Result<()> { function multi_call_contract_with_contract_logs (line 363) | async fn multi_call_contract_with_contract_logs() -> Result<()> { function assert_revert_containing_msg (line 425) | fn assert_revert_containing_msg(msg: &str, error: Error) { function revert_logs (line 437) | async fn revert_logs() -> Result<()> { function multi_call_revert_logs_single_contract (line 511) | async fn multi_call_revert_logs_single_contract() -> Result<()> { function multi_call_revert_logs_multi_contract (line 579) | async fn multi_call_revert_logs_multi_contract() -> Result<()> { function script_decode_logs (line 655) | async fn script_decode_logs() -> Result<()> { function contract_with_contract_logs (line 722) | async fn contract_with_contract_logs() -> Result<()> { function script_logs_with_contract_logs (line 768) | async fn script_logs_with_contract_logs() -> Result<()> { function script_decode_logs_with_type (line 846) | async fn script_decode_logs_with_type() -> Result<()> { function script_require_log (line 923) | async fn script_require_log() -> Result<()> { function contract_require_from_contract (line 1000) | async fn contract_require_from_contract() -> Result<()> { function multi_call_contract_require_from_contract (line 1041) | async fn multi_call_contract_require_from_contract() -> Result<()> { function script_require_from_contract (line 1100) | async fn script_require_from_contract() -> Result<()> { function loader_script_require_from_loader_contract (line 1139) | async fn loader_script_require_from_loader_contract() -> Result<()> { function assert_assert_eq_containing_msg (line 1183) | fn assert_assert_eq_containing_msg(left: T, right: T... function assert_assert_ne_containing_msg (line 1190) | fn assert_assert_ne_containing_msg(left: T, right: T... function contract_asserts_log (line 1198) | async fn contract_asserts_log() -> Result<()> { function script_asserts_log (line 1354) | async fn script_asserts_log() -> Result<()> { function contract_token_ops_error_messages (line 1512) | async fn contract_token_ops_error_messages() -> Result<()> { function log_results (line 1553) | async fn log_results() -> Result<()> { function can_configure_decoder_for_contract_log_decoding (line 1592) | async fn can_configure_decoder_for_contract_log_decoding() -> Result<()> { function can_configure_decoder_for_script_log_decoding (line 1689) | async fn can_configure_decoder_for_script_log_decoding() -> Result<()> { function contract_heap_log (line 1743) | async fn contract_heap_log() -> Result<()> { function script_heap_log (line 1800) | async fn script_heap_log() -> Result<()> { function contract_panic (line 1851) | async fn contract_panic() -> Result<()> { function contract_with_contract_panic (line 1910) | async fn contract_with_contract_panic() -> Result<()> { function script_panic (line 1980) | async fn script_panic() -> Result<()> { function script_with_contract_panic (line 2035) | async fn script_with_contract_panic() -> Result<()> { FILE: e2e/tests/predicates.rs function assert_address_balance (line 15) | async fn assert_address_balance( function get_test_coins_and_messages (line 28) | fn get_test_coins_and_messages( function get_test_message_w_data (line 52) | fn get_test_message_w_data(address: Address, amount: u64, nonce: u64) ->... function setup_predicate_test (line 64) | async fn setup_predicate_test( function transfer_coins_and_messages_to_predicate (line 117) | async fn transfer_coins_and_messages_to_predicate() -> Result<()> { function spend_predicate_coins_messages_basic (line 152) | async fn spend_predicate_coins_messages_basic() -> Result<()> { function pay_with_predicate (line 207) | async fn pay_with_predicate() -> Result<()> { function pay_with_predicate_vector_data (line 269) | async fn pay_with_predicate_vector_data() -> Result<()> { function predicate_contract_transfer (line 330) | async fn predicate_contract_transfer() -> Result<()> { function predicate_transfer_to_base_layer (line 385) | async fn predicate_transfer_to_base_layer() -> Result<()> { function predicate_transfer_with_signed_resources (line 436) | async fn predicate_transfer_with_signed_resources() -> Result<()> { function contract_tx_and_call_params_with_predicate (line 512) | async fn contract_tx_and_call_params_with_predicate() -> Result<()> { function diff_asset_predicate_payment (line 592) | async fn diff_asset_predicate_payment() -> Result<()> { function predicate_default_configurables (line 646) | async fn predicate_default_configurables() -> Result<()> { function predicate_configurables (line 706) | async fn predicate_configurables() -> Result<()> { function predicate_adjust_fee_persists_message_w_data (line 774) | async fn predicate_adjust_fee_persists_message_w_data() -> Result<()> { function predicate_transfer_non_base_asset (line 814) | async fn predicate_transfer_non_base_asset() -> Result<()> { function predicate_can_access_manually_added_witnesses (line 877) | async fn predicate_can_access_manually_added_witnesses() -> Result<()> { function tx_id_not_changed_after_adding_witnesses (line 944) | async fn tx_id_not_changed_after_adding_witnesses() -> Result<()> { function predicate_encoder_config_is_applied (line 1000) | async fn predicate_encoder_config_is_applied() -> Result<()> { function predicate_transfers_non_base_asset (line 1030) | async fn predicate_transfers_non_base_asset() -> Result<()> { function predicate_with_invalid_data_fails (line 1070) | async fn predicate_with_invalid_data_fails() -> Result<()> { function predicate_blobs (line 1110) | async fn predicate_blobs() -> Result<()> { function predicate_configurables_in_blobs (line 1177) | async fn predicate_configurables_in_blobs() -> Result<()> { function predicate_transfer_respects_maturity_and_expiration (line 1250) | async fn predicate_transfer_respects_maturity_and_expiration() -> Result... function transfer_to_predicate (line 1325) | async fn transfer_to_predicate( function predicate_tx_input_output (line 1339) | async fn predicate_tx_input_output() -> Result<()> { FILE: e2e/tests/providers.rs function test_provider_launch_and_connect (line 25) | async fn test_provider_launch_and_connect() -> Result<()> { function test_network_error (line 71) | async fn test_network_error() -> Result<()> { function test_input_message (line 100) | async fn test_input_message() -> Result<()> { function test_input_message_pays_fee (line 157) | async fn test_input_message_pays_fee() -> Result<()> { function can_increase_block_height (line 207) | async fn can_increase_block_height() -> Result<()> { function can_set_custom_block_time (line 227) | async fn can_set_custom_block_time() -> Result<()> { function can_retrieve_latest_block_time (line 273) | async fn can_retrieve_latest_block_time() -> Result<()> { function contract_deployment_respects_maturity_and_expiration (line 289) | async fn contract_deployment_respects_maturity_and_expiration() -> Resul... function test_gas_forwarded_defaults_to_tx_limit (line 342) | async fn test_gas_forwarded_defaults_to_tx_limit() -> Result<()> { function test_amount_and_asset_forwarding (line 382) | async fn test_amount_and_asset_forwarding() -> Result<()> { function test_gas_errors (line 484) | async fn test_gas_errors() -> Result<()> { function test_call_param_gas_errors (line 549) | async fn test_call_param_gas_errors() -> Result<()> { function test_get_gas_used (line 591) | async fn test_get_gas_used() -> Result<()> { function test_parse_block_time (line 620) | async fn test_parse_block_time() -> Result<()> { function test_get_spendable_with_exclusion (line 651) | async fn test_get_spendable_with_exclusion() -> Result<()> { function given_a_message (line 712) | fn given_a_message(address: Address, message_amount: u64) -> Message { function convert_to_datetime (line 722) | fn convert_to_datetime(timestamp: u64) -> DateTime { function test_sway_timestamp (line 731) | async fn test_sway_timestamp() -> Result<()> { function create_transfer (line 789) | async fn create_transfer(wallet: &Wallet, amount: u64, to: Address) -> R... function transactions_with_the_same_utxo (line 806) | async fn transactions_with_the_same_utxo() -> Result<()> { function coin_caching (line 835) | async fn coin_caching() -> Result<()> { function create_revert_tx (line 878) | async fn create_revert_tx(wallet: &Wallet) -> Result { function test_cache_invalidation_on_await (line 898) | async fn test_cache_invalidation_on_await() -> Result<()> { function can_fetch_mint_transactions (line 938) | async fn can_fetch_mint_transactions() -> Result<()> { function test_build_with_provider (line 978) | async fn test_build_with_provider() -> Result<()> { function send_transaction_and_await_status (line 1011) | async fn send_transaction_and_await_status() -> Result<()> { function send_transaction_and_subscribe_status (line 1048) | async fn send_transaction_and_subscribe_status() -> Result<()> { function can_produce_blocks_with_trig_never (line 1099) | async fn can_produce_blocks_with_trig_never() -> Result<()> { function can_upload_executor_and_trigger_upgrade (line 1136) | async fn can_upload_executor_and_trigger_upgrade() -> Result<()> { function tx_respects_policies (line 1185) | async fn tx_respects_policies() -> Result<()> { function can_setup_static_gas_price (line 1252) | async fn can_setup_static_gas_price() -> Result<()> { function tx_with_witness_data (line 1269) | async fn tx_with_witness_data() -> Result<()> { function contract_call_with_impersonation (line 1347) | async fn contract_call_with_impersonation() -> Result<()> { function is_account_query_test (line 1389) | async fn is_account_query_test() -> Result<()> { function script_tx_get_owner_returns_owner_when_policy_set_multiple_inputs (line 1457) | async fn script_tx_get_owner_returns_owner_when_policy_set_multiple_inpu... function script_tx_get_owner_panics_when_policy_unset_multiple_inputs (line 1534) | async fn script_tx_get_owner_panics_when_policy_unset_multiple_inputs() ... function script_tx_get_owner_returns_owner_when_policy_unset_all_inputs_same_owner (line 1595) | async fn script_tx_get_owner_returns_owner_when_policy_unset_all_inputs_... FILE: e2e/tests/scripts.rs function main_function_arguments (line 19) | async fn main_function_arguments() -> Result<()> { function script_call_has_same_estimated_and_used_gas (line 45) | async fn script_call_has_same_estimated_and_used_gas() -> Result<()> { function test_basic_script_with_tx_policies (line 78) | async fn test_basic_script_with_tx_policies() -> Result<()> { function test_output_variable_estimation (line 111) | async fn test_output_variable_estimation() -> Result<()> { function test_script_struct (line 149) | async fn test_script_struct() -> Result<()> { function test_script_enum (line 174) | async fn test_script_enum() -> Result<()> { function test_script_array (line 196) | async fn test_script_array() -> Result<()> { function can_configure_decoder_on_script_call (line 218) | async fn can_configure_decoder_on_script_call() -> Result<()> { function test_script_submit_and_response (line 266) | async fn test_script_submit_and_response() -> Result<()> { function test_script_transaction_builder (line 296) | async fn test_script_transaction_builder() -> Result<()> { function script_encoder_config_is_applied (line 336) | async fn script_encoder_config_is_applied() { function simulations_can_be_made_without_coins (line 383) | async fn simulations_can_be_made_without_coins() -> Result<()> { function can_be_run_in_blobs_builder (line 413) | async fn can_be_run_in_blobs_builder() -> Result<()> { function can_be_run_in_blobs_high_level (line 461) | async fn can_be_run_in_blobs_high_level() -> Result<()> { function high_level_blob_upload_sets_max_fee_tolerance (line 492) | async fn high_level_blob_upload_sets_max_fee_tolerance() -> Result<()> { function no_data_section_blob_run (line 558) | async fn no_data_section_blob_run() -> Result<()> { function loader_script_calling_loader_proxy (line 578) | async fn loader_script_calling_loader_proxy() -> Result<()> { function loader_can_be_presented_as_a_normal_script_with_shifted_configurables (line 632) | async fn loader_can_be_presented_as_a_normal_script_with_shifted_configu... function script_call_respects_maturity_and_expiration (line 691) | async fn script_call_respects_maturity_and_expiration() -> Result<()> { function script_tx_input_output (line 738) | async fn script_tx_input_output() -> Result<()> { FILE: e2e/tests/storage.rs function test_storage_initialization (line 8) | async fn test_storage_initialization() -> Result<()> { function test_init_storage_automatically (line 44) | async fn test_init_storage_automatically() -> Result<()> { function storage_load_error_messages (line 90) | async fn storage_load_error_messages() { FILE: e2e/tests/types_contracts.rs function test_methods_typeless_argument (line 9) | async fn test_methods_typeless_argument() -> Result<()> { function call_with_empty_return (line 36) | async fn call_with_empty_return() -> Result<()> { function call_with_structs (line 56) | async fn call_with_structs() -> Result<()> { function abigen_different_structs_same_arg_name (line 100) | async fn abigen_different_structs_same_arg_name() -> Result<()> { function nested_structs (line 130) | async fn nested_structs() -> Result<()> { function calls_with_empty_struct (line 191) | async fn calls_with_empty_struct() -> Result<()> { function can_use_try_into_to_construct_struct_from_bytes (line 225) | async fn can_use_try_into_to_construct_struct_from_bytes() -> Result<()> { function test_tuples (line 255) | async fn test_tuples() -> Result<()> { function test_evm_address (line 330) | async fn test_evm_address() -> Result<()> { function test_array (line 398) | async fn test_array() -> Result<()> { function test_arrays_with_custom_types (line 426) | async fn test_arrays_with_custom_types() -> Result<()> { function str_in_array (line 469) | async fn str_in_array() -> Result<()> { function test_enum_inside_struct (line 510) | async fn test_enum_inside_struct() -> Result<()> { function native_types_support (line 553) | async fn native_types_support() -> Result<()> { function enum_coding_w_variable_width_variants (line 592) | async fn enum_coding_w_variable_width_variants() -> Result<()> { function enum_coding_w_unit_enums (line 634) | async fn enum_coding_w_unit_enums() -> Result<()> { function enum_as_input (line 674) | async fn enum_as_input() -> Result<()> { function can_use_try_into_to_construct_enum_from_bytes (line 726) | async fn can_use_try_into_to_construct_enum_from_bytes() -> Result<()> { function type_inside_enum (line 751) | async fn type_inside_enum() -> Result<()> { function test_rust_option_can_be_decoded (line 816) | async fn test_rust_option_can_be_decoded() -> Result<()> { function test_rust_option_can_be_encoded (line 869) | async fn test_rust_option_can_be_encoded() -> Result<()> { function test_rust_result_can_be_decoded (line 924) | async fn test_rust_result_can_be_decoded() -> Result<()> { function test_rust_result_can_be_encoded (line 977) | async fn test_rust_result_can_be_encoded() -> Result<()> { function test_identity_can_be_decoded (line 1013) | async fn test_identity_can_be_decoded() -> Result<()> { function test_identity_can_be_encoded (line 1059) | async fn test_identity_can_be_encoded() -> Result<()> { function test_identity_with_two_contracts (line 1108) | async fn test_identity_with_two_contracts() -> Result<()> { function generics_test (line 1155) | async fn generics_test() -> Result<()> { function contract_vectors (line 1313) | async fn contract_vectors() -> Result<()> { function test_b256 (line 1401) | async fn test_b256() -> Result<()> { function test_b512 (line 1440) | async fn test_b512() -> Result<()> { function u128_from (line 1480) | fn u128_from(parts: (u64, u64)) -> u128 { function test_u128 (line 1489) | async fn test_u128() -> Result<()> { function u256_from (line 1528) | fn u256_from(parts: (u64, u64, u64, u64)) -> U256 { function test_u256 (line 1542) | async fn test_u256() -> Result<()> { function test_base_type_in_vec_output (line 1580) | async fn test_base_type_in_vec_output() -> Result<()> { function test_composite_types_in_vec_output (line 1620) | async fn test_composite_types_in_vec_output() -> Result<()> { function test_bytes_output (line 1690) | async fn test_bytes_output() -> Result<()> { function test_bytes_as_input (line 1714) | async fn test_bytes_as_input() -> Result<()> { function contract_raw_slice (line 1751) | async fn contract_raw_slice() -> Result<()> { function contract_string_slice (line 1797) | async fn contract_string_slice() -> Result<()> { function contract_std_lib_string (line 1824) | async fn contract_std_lib_string() -> Result<()> { function test_heap_type_in_enums (line 1863) | async fn test_heap_type_in_enums() -> Result<()> { function nested_heap_types (line 1976) | async fn nested_heap_types() -> Result<()> { FILE: e2e/tests/types_predicates.rs function assert_predicate_spendable (line 9) | async fn assert_predicate_spendable(data: Vec, project_path: impl As... function project_binary (line 54) | fn project_binary(project_root: impl AsRef) -> String { function assert_address_balance (line 69) | async fn assert_address_balance( function get_test_coins_and_messages (line 82) | fn get_test_coins_and_messages( function setup_predicate_test (line 99) | async fn setup_predicate_test( function spend_predicate_coins_messages_single_u64 (line 139) | async fn spend_predicate_coins_messages_single_u64() -> Result<()> { function spend_predicate_coins_messages_address (line 153) | async fn spend_predicate_coins_messages_address() -> Result<()> { function spend_predicate_coins_messages_enums (line 170) | async fn spend_predicate_coins_messages_enums() -> Result<()> { function spend_predicate_coins_messages_structs (line 185) | async fn spend_predicate_coins_messages_structs() -> Result<()> { function spend_predicate_coins_messages_tuple (line 205) | async fn spend_predicate_coins_messages_tuple() -> Result<()> { function spend_predicate_coins_messages_vector (line 220) | async fn spend_predicate_coins_messages_vector() -> Result<()> { function spend_predicate_coins_messages_vectors (line 234) | async fn spend_predicate_coins_messages_vectors() -> Result<()> { function spend_predicate_coins_messages_generics (line 282) | async fn spend_predicate_coins_messages_generics() -> Result<()> { function spend_predicate_coins_messages_bytes_hash (line 300) | async fn spend_predicate_coins_messages_bytes_hash() -> Result<()> { function spend_predicate_coins_messages_bytes (line 322) | async fn spend_predicate_coins_messages_bytes() -> Result<()> { function spend_predicate_coins_messages_raw_slice (line 342) | async fn spend_predicate_coins_messages_raw_slice() -> Result<()> { function u128_from (line 361) | fn u128_from(parts: (u64, u64)) -> u128 { function predicate_handles_u128 (line 370) | async fn predicate_handles_u128() -> Result<()> { function predicate_handles_b256 (line 383) | async fn predicate_handles_b256() -> Result<()> { function u256_from (line 395) | fn u256_from(parts: (u64, u64, u64, u64)) -> U256 { function predicate_handles_u256 (line 409) | async fn predicate_handles_u256() -> Result<()> { function predicate_handles_std_string (line 422) | async fn predicate_handles_std_string() -> Result<()> { function predicate_string_slice (line 435) | async fn predicate_string_slice() -> Result<()> { FILE: e2e/tests/types_scripts.rs function script_b256 (line 7) | async fn script_b256() -> Result<()> { function main_function_generic_arguments (line 30) | async fn main_function_generic_arguments() -> Result<()> { function main_function_option_result (line 72) | async fn main_function_option_result() -> Result<()> { function main_function_tuple_types (line 106) | async fn main_function_tuple_types() -> Result<()> { function main_function_vector_arguments (line 151) | async fn main_function_vector_arguments() -> Result<()> { function script_raw_slice (line 210) | async fn script_raw_slice() -> Result<()> { function main_function_bytes_arguments (line 237) | async fn main_function_bytes_arguments() -> Result<()> { function u128_from (line 262) | fn u128_from(parts: (u64, u64)) -> u128 { function script_handles_u128 (line 271) | async fn script_handles_u128() -> Result<()> { function u256_from (line 294) | fn u256_from(parts: (u64, u64, u64, u64)) -> U256 { function script_handles_u256 (line 308) | async fn script_handles_u256() -> Result<()> { function script_std_string (line 332) | async fn script_std_string() -> Result<()> { function script_string_slice (line 358) | async fn script_string_slice() -> Result<()> { function nested_heap_types (line 382) | async fn nested_heap_types() -> Result<()> { FILE: e2e/tests/wallets.rs function assert_address_balance (line 8) | async fn assert_address_balance( function test_wallet_balance_api_multi_asset (line 22) | async fn test_wallet_balance_api_multi_asset() -> Result<()> { function test_wallet_balance_api_single_asset (line 54) | async fn test_wallet_balance_api_single_asset() -> Result<()> { function base_asset_wallet_config (line 85) | fn base_asset_wallet_config(num_wallets: u64) -> WalletsConfig { function adjust_fee_empty_transaction (line 95) | async fn adjust_fee_empty_transaction() -> Result<()> { function adjust_for_fee_with_message_data_input (line 123) | async fn adjust_for_fee_with_message_data_input() -> Result<()> { function adjust_fee_resources_to_transfer_with_base_asset (line 192) | async fn adjust_fee_resources_to_transfer_with_base_asset() -> Result<()> { function test_transfer (line 224) | async fn test_transfer() -> Result<()> { function send_transfer_transactions (line 260) | async fn send_transfer_transactions() -> Result<()> { function transfer_coins_with_change (line 322) | async fn transfer_coins_with_change() -> Result<()> { function test_wallet_get_coins (line 357) | async fn test_wallet_get_coins() -> Result<()> { function setup_transfer_test (line 378) | async fn setup_transfer_test(amount: u64) -> Result<(Wallet, Wallet)> { function transfer_more_than_owned (line 392) | async fn transfer_more_than_owned() -> Result<()> { function transfer_coins_of_non_base_asset (line 415) | async fn transfer_coins_of_non_base_asset() -> Result<()> { function test_transfer_with_multiple_signatures (line 454) | async fn test_transfer_with_multiple_signatures() -> Result<()> { function wallet_transfer_respects_maturity_and_expiration (line 506) | async fn wallet_transfer_respects_maturity_and_expiration() -> Result<()> { FILE: examples/codec/src/lib.rs function encoding_a_type (line 9) | fn encoding_a_type() -> Result<()> { function encoding_via_macro (line 28) | fn encoding_via_macro() -> Result<()> { function decoding_example (line 43) | fn decoding_example() -> Result<()> { function decoding_example_try_into (line 70) | fn decoding_example_try_into() -> Result<()> { function configuring_the_decoder (line 88) | fn configuring_the_decoder() -> Result<()> { function configuring_the_encoder (line 103) | fn configuring_the_encoder() -> Result<()> { FILE: examples/contracts/src/lib.rs function instantiate_client (line 20) | async fn instantiate_client() -> Result<()> { function deploy_contract (line 40) | async fn deploy_contract() -> Result<()> { function setup_program_test_example (line 64) | async fn setup_program_test_example() -> Result<()> { function contract_call_cost_estimation (line 94) | async fn contract_call_cost_estimation() -> Result<()> { function deploy_with_parameters (line 134) | async fn deploy_with_parameters() -> std::result::Result<(), Box Result<()> { function contract_tx_and_call_params (line 283) | async fn contract_tx_and_call_params() -> Result<()> { function token_ops_tests (line 354) | async fn token_ops_tests() -> Result<()> { function dependency_estimation (line 448) | async fn dependency_estimation() -> Result<()> { function get_contract_outputs (line 520) | async fn get_contract_outputs() -> Result<()> { function call_params_gas (line 543) | async fn call_params_gas() -> Result<()> { function multi_call_example (line 581) | async fn multi_call_example() -> Result<()> { function multi_call_cost_estimation (line 641) | async fn multi_call_cost_estimation() -> Result<()> { function connect_wallet (line 687) | async fn connect_wallet() -> Result<()> { function custom_assets_example (line 724) | async fn custom_assets_example() -> Result<()> { function low_level_call_example (line 769) | async fn low_level_call_example() -> Result<()> { function configure_the_return_value_decoder (line 851) | async fn configure_the_return_value_decoder() -> Result<()> { function storage_slots_override (line 883) | async fn storage_slots_override() -> Result<()> { function contract_custom_call (line 912) | async fn contract_custom_call() -> Result<()> { function configure_encoder_config (line 957) | async fn configure_encoder_config() -> Result<()> { function contract_call_impersonation (line 989) | async fn contract_call_impersonation() -> Result<()> { function deploying_via_loader (line 1045) | async fn deploying_via_loader() -> Result<()> { function decoding_script_transactions (line 1206) | async fn decoding_script_transactions() -> Result<()> { FILE: examples/cookbook/src/lib.rs function liquidity (line 25) | async fn liquidity() -> Result<()> { function custom_chain (line 104) | async fn custom_chain() -> Result<()> { function transfer_multiple (line 147) | async fn transfer_multiple() -> Result<()> { function create_or_use_rocksdb (line 217) | async fn create_or_use_rocksdb() -> Result<()> { function custom_transaction (line 235) | async fn custom_transaction() -> Result<()> { FILE: examples/debugging/src/lib.rs function encode_fn_selector (line 13) | fn encode_fn_selector() { function decoded_debug_matches_rust_debug (line 32) | fn decoded_debug_matches_rust_debug() -> Result<()> { FILE: examples/macros/src/lib.rs function example_of_abigen_usage (line 8) | fn example_of_abigen_usage() { function macro_deriving (line 32) | fn macro_deriving() { function macro_deriving_extra (line 51) | fn macro_deriving_extra() { FILE: examples/predicates/src/lib.rs function predicate_example (line 12) | async fn predicate_example() -> Result<()> { function predicate_data_example (line 123) | async fn predicate_data_example() -> Result<()> { FILE: examples/providers/src/lib.rs function connect_to_fuel_node (line 9) | async fn connect_to_fuel_node() -> Result<()> { function query_the_blockchain (line 40) | async fn query_the_blockchain() -> Result<()> { FILE: examples/rust_bindings/src/lib.rs function transform_json_to_bindings (line 7) | async fn transform_json_to_bindings() -> Result<()> { FILE: examples/rust_bindings/src/rust_bindings_formatted.rs type MyContract (line 4) | pub struct MyContract { function new (line 11) | pub fn new(contract_id: ::fuels::types::ContractId, account: A) -> Self { function contract_id (line 23) | pub fn contract_id(&self) -> &::fuels::types::ContractId { function account (line 26) | pub fn account(&self) -> A { function with_account (line 29) | pub fn with_account(self, account: U) -> ... function with_encoder_config (line 37) | pub fn with_encoder_config( function get_balances (line 44) | pub async fn get_balances( function methods (line 54) | pub fn methods(&self) -> MyContractMethods { type MyContractMethods (line 63) | pub struct MyContractMethods { function increment_counter (line 72) | pub fn increment_counter( function initialize_counter (line 90) | pub fn initialize_counter( function id (line 110) | fn id(&self) -> ::fuels::types::ContractId { function log_decoder (line 113) | fn log_decoder(&self) -> ::fuels::core::codec::LogDecoder { type MyContractConfigurables (line 118) | pub struct MyContractConfigurables { method new (line 123) | pub fn new(encoder_config: ::fuels::core::codec::EncoderConfig) -> Self { function from (line 131) | fn from(config: MyContractConfigurables) -> Self { FILE: examples/types/src/lib.rs function bytes32 (line 9) | async fn bytes32() -> Result<()> { function address (line 52) | async fn address() -> Result<()> { function asset_id (line 100) | async fn asset_id() -> Result<()> { function contract_id (line 131) | async fn contract_id() -> Result<()> { function type_conversion (line 171) | async fn type_conversion() -> Result<()> { function unused_generics (line 198) | async fn unused_generics() -> Result<()> { FILE: examples/wallets/src/lib.rs function create_random_wallet (line 14) | async fn create_random_wallet() -> Result<()> { function create_wallet_from_secret_key (line 29) | async fn create_wallet_from_secret_key() -> std::result::Result<(), Box<... function create_wallet_from_mnemonic (line 51) | async fn create_wallet_from_mnemonic() -> Result<()> { function create_and_store_mnemonic_key (line 80) | async fn create_and_store_mnemonic_key() -> Result<()> { function wallet_transfer (line 104) | async fn wallet_transfer() -> Result<()> { function wallet_contract_transfer (line 141) | async fn wallet_contract_transfer() -> Result<()> { function setup_multiple_wallets (line 205) | async fn setup_multiple_wallets() -> Result<()> { function setup_wallet_multiple_assets (line 231) | async fn setup_wallet_multiple_assets() -> Result<()> { function setup_wallet_custom_assets (line 255) | async fn setup_wallet_custom_assets() -> std::result::Result<(), Box Result<()> { function wallet_transfer_to_base_layer (line 337) | async fn wallet_transfer_to_base_layer() -> Result<()> { FILE: packages/fuels-accounts/src/account.rs type WithdrawToBaseResponse (line 30) | pub struct WithdrawToBaseResponse { type ViewOnlyAccount (line 37) | pub trait ViewOnlyAccount: Send + Sync { method address (line 38) | fn address(&self) -> Address; method try_provider (line 40) | fn try_provider(&self) -> Result<&Provider>; method get_transactions (line 42) | async fn get_transactions( method get_coins (line 53) | async fn get_coins(&self, asset_id: AssetId) -> Result> { method get_asset_balance (line 63) | async fn get_asset_balance(&self, asset_id: &AssetId) -> Result { method get_messages (line 70) | async fn get_messages(&self) -> Result> { method get_balances (line 77) | async fn get_balances(&self) -> Result> { method get_spendable_resources (line 84) | async fn get_spendable_resources( method get_asset_outputs_for_amount (line 105) | fn get_asset_outputs_for_amount( method get_asset_inputs_for_amount (line 121) | async fn get_asset_inputs_for_amount( method adjust_for_fee (line 132) | async fn adjust_for_fee( type Account (line 166) | pub trait Account: ViewOnlyAccount { method add_witnesses (line 168) | fn add_witnesses(&self, _tb: &mut Tb) -> Resul... method transfer (line 175) | async fn transfer( method force_transfer_to_contract (line 224) | async fn force_transfer_to_contract( method withdraw_to_base_layer (line 291) | async fn withdraw_to_base_layer( type MockDryRunner (line 349) | struct MockDryRunner { method dry_run (line 355) | async fn dry_run(&self, _: FuelTransaction) -> Result { method consensus_parameters (line 363) | async fn consensus_parameters(&self) -> Result { method estimate_gas_price (line 367) | async fn estimate_gas_price(&self, _block_header: u32) -> Result { method estimate_predicates (line 371) | async fn estimate_predicates( function sign_tx_and_verify (line 381) | async fn sign_tx_and_verify() -> std::result::Result<(), Box Option { function calculate_missing_base_amount (line 20) | pub async fn calculate_missing_base_amount( function available_base_assets_and_amount (line 42) | pub fn available_base_assets_and_amount( function split_into_utxo_ids_and_nonces (line 77) | pub fn split_into_utxo_ids_and_nonces( function is_consuming_utxos (line 92) | fn is_consuming_utxos(tb: &impl TransactionBuilder) -> bool { function add_base_change_if_needed (line 98) | pub fn add_base_change_if_needed( function try_provider_error (line 114) | pub(crate) fn try_provider_error() -> Error { FILE: packages/fuels-accounts/src/coin_cache.rs type CoinCacheKey (line 10) | type CoinCacheKey = (Address, AssetId); type CoinsCache (line 13) | pub(crate) struct CoinsCache { method new (line 25) | pub fn new(ttl: Duration) -> Self { method insert_multiple (line 32) | pub fn insert_multiple( method get_active (line 44) | pub fn get_active(&mut self, key: &CoinCacheKey) -> HashSet { method remove_items (line 56) | pub fn remove_items( method remove (line 67) | fn remove(&mut self, key: &CoinCacheKey, id: CoinTypeId) { method remove_expired_entries (line 74) | fn remove_expired_entries(&mut self, key: &CoinCacheKey) { method default (line 19) | fn default() -> Self { type CoinCacheItem (line 82) | struct CoinCacheItem { method new (line 100) | pub fn new(id: CoinTypeId) -> Self { method is_valid (line 107) | pub fn is_valid(&self, ttl: Duration) -> bool { method eq (line 88) | fn eq(&self, other: &Self) -> bool { method hash (line 94) | fn hash(&self, state: &mut H) { function get_items (line 119) | fn get_items() -> (CoinTypeId, CoinTypeId) { function test_insert_and_get_active (line 127) | fn test_insert_and_get_active() { function test_insert_and_expire_items (line 144) | async fn test_insert_and_expire_items() { function test_get_active_no_items (line 169) | fn test_get_active_no_items() { function test_remove_items (line 179) | fn test_remove_items() { FILE: packages/fuels-accounts/src/keystore.rs type KeySaved (line 9) | pub struct KeySaved { method key (line 16) | pub fn key(&self) -> &SecretKey { method uuid (line 20) | pub fn uuid(&self) -> &str { type Keystore (line 27) | pub struct Keystore { method new (line 33) | pub fn new>(dir: P) -> Self { method load_key (line 40) | pub fn load_key(&self, uuid: &str, password: S) -> Result method save_key (line 54) | pub fn save_key(&self, key: SecretKey, password: S, mut rng: R) ... function wallet_from_mnemonic_phrase (line 74) | async fn wallet_from_mnemonic_phrase() -> Result<()> { function encrypt_and_store_keys_from_mnemonic (line 99) | async fn encrypt_and_store_keys_from_mnemonic() -> Result<()> { FILE: packages/fuels-accounts/src/lib.rs function sdl_is_the_same_as_from_fuel (line 23) | fn sdl_is_the_same_as_from_fuel() { FILE: packages/fuels-accounts/src/predicate.rs type Predicate (line 16) | pub struct Predicate { method address (line 25) | pub fn address(&self) -> Address { method code (line 29) | pub fn code(&self) -> &[u8] { method data (line 33) | pub fn data(&self) -> &[u8] { method calculate_address (line 37) | pub fn calculate_address(code: &[u8]) -> Address { method load_from (line 41) | pub fn load_from(file_path: &str) -> Result { method from_code (line 51) | pub fn from_code(code: Vec) -> Self { method with_data (line 61) | pub fn with_data(mut self, data: Vec) -> Self { method with_code (line 66) | pub fn with_code(self, code: Vec) -> Self { method with_configurables (line 75) | pub fn with_configurables(mut self, configurables: impl Into Option<&Provider> { method set_provider (line 90) | pub fn set_provider(&mut self, provider: Provider) { method with_provider (line 94) | pub fn with_provider(self, provider: Provider) -> Self { method address (line 105) | fn address(&self) -> Address { method try_provider (line 109) | fn try_provider(&self) -> Result<&Provider> { method get_asset_inputs_for_amount (line 113) | async fn get_asset_inputs_for_amount( FILE: packages/fuels-accounts/src/provider.rs constant NUM_RESULTS_PER_REQUEST (line 59) | const NUM_RESULTS_PER_REQUEST: i32 = 100; type TransactionCost (line 63) | pub struct TransactionCost { type ResourceQueries (line 72) | pub(crate) struct ResourceQueries { method exclusion_query (line 80) | pub fn exclusion_query(&self) -> Option<(Vec, Vec)> { method spend_query (line 88) | pub fn spend_query(&self, base_asset_id: AssetId) -> Vec<(AssetId, u12... type ResourceFilter (line 95) | pub struct ResourceFilter { method owner (line 105) | pub fn owner(&self) -> Address { method resource_queries (line 109) | pub(crate) fn resource_queries(&self) -> ResourceQueries { type Provider (line 123) | pub struct Provider { method from (line 130) | pub async fn from(addr: impl Into) -> Result { method client (line 136) | pub fn client(&self) -> &FuelClient { method set_cache_ttl (line 140) | pub fn set_cache_ttl(&mut self, ttl: TtlConfig) { method clear_cache (line 144) | pub async fn clear_cache(&self) { method healthy (line 148) | pub async fn healthy(&self) -> Result { method connect (line 153) | pub async fn connect(url: impl AsRef) -> Result { method url (line 167) | pub fn url(&self) -> &str { method blob (line 171) | pub async fn blob(&self, blob_id: BlobId) -> Result> { method blob_exists (line 179) | pub async fn blob_exists(&self, blob_id: BlobId) -> Result { method send_transaction_and_await_commit (line 184) | pub async fn send_transaction_and_await_commit( method send_transaction_and_await_status (line 218) | pub async fn send_transaction_and_await_status( method prepare_transaction_for_sending (line 266) | async fn prepare_transaction_for_sending(&self, mut tx... method send_transaction (line 287) | pub async fn send_transaction(&self, tx: T) -> Result<... method await_transaction_commit (line 292) | pub async fn await_transaction_commit(&self, id: TxId)... method submit (line 301) | async fn submit(&self, tx: T) -> Result { method find_in_cache (line 306) | async fn find_in_cache<'a>( method check_inputs_already_in_cache (line 330) | async fn check_inputs_already_in_cache<'a>( method submit (line 352) | async fn submit(&self, tx: T) -> Result { method tx_status (line 365) | pub async fn tx_status(&self, tx_id: &TxId) -> Result { method subscribe_transaction_status (line 373) | pub async fn subscribe_transaction_status<'a>( method chain_info (line 386) | pub async fn chain_info(&self) -> Result { method consensus_parameters (line 390) | pub async fn consensus_parameters(&self) -> Result { method node_info (line 394) | pub async fn node_info(&self) -> Result { method latest_gas_price (line 398) | pub async fn latest_gas_price(&self) -> Result { method estimate_gas_price (line 402) | pub async fn estimate_gas_price(&self, block_horizon: u32) -> Result Result { method dry_run_multiple (line 423) | pub async fn dry_run_multiple( method dry_run_opt (line 436) | pub async fn dry_run_opt( method dry_run_opt_multiple (line 461) | pub async fn dry_run_opt_multiple( method get_coins (line 483) | pub async fn get_coins(&self, from: &Address, asset_id: AssetId) -> Re... method request_coins_to_spend (line 512) | async fn request_coins_to_spend(&self, filter: ResourceFilter) -> Resu... method get_spendable_resources (line 538) | pub async fn get_spendable_resources(&self, filter: ResourceFilter) ->... method get_spendable_resources (line 547) | pub async fn get_spendable_resources( method extend_filter_with_cached (line 557) | async fn extend_filter_with_cached(&self, filter: &mut ResourceFilter)... method get_asset_balance (line 594) | pub async fn get_asset_balance(&self, address: &Address, asset_id: &As... method get_contract_asset_balance (line 602) | pub async fn get_contract_asset_balance( method get_balances (line 616) | pub async fn get_balances(&self, address: &Address) -> Result Result Result { method latest_block_time (line 745) | pub async fn latest_block_time(&self) -> Result>> { method produce_blocks (line 749) | pub async fn produce_blocks( method block (line 763) | pub async fn block(&self, block_id: &Bytes32) -> Result> { method block_by_height (line 771) | pub async fn block_by_height(&self, height: BlockHeight) -> Result( method apply_tolerance (line 820) | fn apply_tolerance(value: u64, tolerance: f64) -> u64 { method get_script_gas_used (line 824) | fn get_script_gas_used(receipts: &[Receipt]) -> u64 { method get_messages (line 836) | pub async fn get_messages(&self, from: &Address) -> Result) -> Re... method with_retry_config (line 889) | pub fn with_retry_config(mut self, retry_config: RetryConfig) -> Self { method contract_exists (line 895) | pub async fn contract_exists(&self, contract_id: &ContractId) -> Resul... method uncached_client (line 899) | fn uncached_client(&self) -> &RetryableClient { method uncached_client_mut (line 903) | fn uncached_client_mut(&mut self) -> &mut RetryableClient { method dry_run (line 910) | async fn dry_run(&self, tx: FuelTransaction) -> Result { method estimate_gas_price (line 942) | async fn estimate_gas_price(&self, block_horizon: u32) -> Result { method consensus_parameters (line 946) | async fn consensus_parameters(&self) -> Result { method estimate_predicates (line 950) | async fn estimate_predicates( FILE: packages/fuels-accounts/src/provider/cache.rs type CacheableRpcs (line 12) | pub trait CacheableRpcs { method consensus_parameters (line 13) | async fn consensus_parameters(&self) -> Result; method node_info (line 14) | async fn node_info(&self) -> Result; method consensus_parameters (line 102) | async fn consensus_parameters(&self) -> Result { method node_info (line 130) | async fn node_info(&self) -> Result { type Clock (line 17) | trait Clock { method now (line 18) | fn now(&self) -> DateTime; method now (line 49) | fn now(&self) -> DateTime { method now (line 185) | fn now(&self) -> DateTime { type TtlConfig (line 22) | pub struct TtlConfig { method default (line 27) | fn default() -> Self { type Dated (line 35) | struct Dated { function is_stale (line 41) | fn is_stale(&self, now: DateTime, ttl: Duration) -> bool { type SystemClock (line 47) | pub struct SystemClock; type CachedClient (line 55) | pub struct CachedClient { function new (line 64) | pub fn new(client: Client, ttl: TtlConfig, clock: Clock) -> Self { function set_ttl (line 74) | pub fn set_ttl(&mut self, ttl: TtlConfig) { function inner (line 78) | pub fn inner(&self) -> &Client { function inner_mut (line 82) | pub fn inner_mut(&mut self) -> &mut Client { function clear (line 91) | pub async fn clear(&self) { type TestClock (line 174) | struct TestClock { method update_time (line 179) | fn update_time(&self, time: DateTime) { function initial_call_to_consensus_params_fwd_to_api (line 191) | async fn initial_call_to_consensus_params_fwd_to_api() { function new_call_to_consensus_params_cached (line 207) | async fn new_call_to_consensus_params_cached() { function if_ttl_expired_cache_is_updated (line 231) | async fn if_ttl_expired_cache_is_updated() { function clear_cache_clears_consensus_params_cache (line 278) | async fn clear_cache_clears_consensus_params_cache() { function dummy_node_info (line 316) | fn dummy_node_info() -> NodeInfo { function initial_call_to_node_info_fwd_to_api (line 339) | async fn initial_call_to_node_info_fwd_to_api() { function new_call_to_node_info_cached (line 355) | async fn new_call_to_node_info_cached() { function if_ttl_expired_node_info_cache_is_updated (line 378) | async fn if_ttl_expired_node_info_cache_is_updated() { FILE: packages/fuels-accounts/src/provider/retry_util.rs type Backoff (line 29) | pub enum Backoff { method wait_duration (line 43) | pub fn wait_duration(&self, attempt: u32) -> Duration { method default (line 37) | fn default() -> Self { type RetryConfig (line 77) | pub struct RetryConfig { method new (line 84) | pub fn new(max_attempts: u32, interval: Backoff) -> Result { method default (line 96) | fn default() -> Self { function retry (line 125) | pub(crate) async fn retry( function returns_last_received_response (line 162) | async fn returns_last_received_response() -> Result<()> { function stops_retrying_when_predicate_is_satisfied (line 189) | async fn stops_retrying_when_predicate_is_satisfied() -> Result<()> { function retry_respects_delay_between_attempts_fixed (line 210) | async fn retry_respects_delay_between_attempts_fixed() -> Result<()> { function retry_respects_delay_between_attempts_linear (line 251) | async fn retry_respects_delay_between_attempts_linear() -> Result<()> { function retry_respects_delay_between_attempts_exponential (line 293) | async fn retry_respects_delay_between_attempts_exponential() -> Result<(... FILE: packages/fuels-accounts/src/provider/retryable_client.rs type RequestError (line 30) | pub(crate) enum RequestError { type RequestResult (line 35) | type RequestResult = std::result::Result; method from (line 38) | fn from(e: RequestError) -> Self { type RetryableClient (line 44) | pub(crate) struct RetryableClient { method connect (line 63) | pub(crate) async fn connect(url: impl AsRef, retry_config: RetryC... method version_compatibility_warning (line 78) | fn version_compatibility_warning(node_info: &NodeInfo) -> Result &str { method client (line 106) | pub fn client(&self) -> &FuelClient { method set_retry_config (line 110) | pub(crate) fn set_retry_config(&mut self, retry_config: RetryConfig) { method wrap (line 114) | async fn wrap(&self, action: impl Fn() -> Fut) -> RequestResul... method health (line 131) | pub async fn health(&self) -> RequestResult { method transaction (line 135) | pub async fn transaction(&self, id: &TxId) -> RequestResult RequestResult { method await_transaction_commit (line 143) | pub async fn await_transaction_commit(&self, id: &TxId) -> RequestResu... method submit_and_await_commit (line 147) | pub async fn submit_and_await_commit( method submit_and_await_status (line 154) | pub async fn submit_and_await_status<'a>( method subscribe_transaction_status (line 166) | pub async fn subscribe_transaction_status<'a>( method submit (line 178) | pub async fn submit(&self, tx: &Transaction) -> RequestResult RequestResult RequestResult { method blob (line 190) | pub async fn blob(&self, blob_id: BlobId) -> RequestResult RequestResult { method latest_gas_price (line 198) | pub async fn latest_gas_price(&self) -> RequestResult { method estimate_gas_price (line 202) | pub async fn estimate_gas_price(&self, block_horizon: u32) -> RequestR... method estimate_predicates (line 208) | pub async fn estimate_predicates(&self, tx: &Transaction) -> RequestRe... method dry_run (line 217) | pub async fn dry_run( method dry_run_opt (line 224) | pub async fn dry_run_opt( method coins (line 238) | pub async fn coins( method coins_to_spend (line 248) | pub async fn coins_to_spend( method balance (line 261) | pub async fn balance( method contract_balance (line 269) | pub async fn contract_balance( method contract_balances (line 277) | pub async fn contract_balances( method balances (line 286) | pub async fn balances( method transactions (line 295) | pub async fn transactions( method transactions_by_owner (line 303) | pub async fn transactions_by_owner( method produce_blocks (line 312) | pub async fn produce_blocks( method block (line 324) | pub async fn block(&self, id: &BlockId) -> RequestResult> { method block_by_height (line 328) | pub async fn block_by_height(&self, height: BlockHeight) -> RequestRes... method blocks (line 332) | pub async fn blocks( method messages (line 339) | pub async fn messages( method message_proof (line 349) | pub async fn message_proof( method contract_exists (line 363) | pub async fn contract_exists(&self, contract_id: &ContractId) -> Reque... method is_user_account (line 380) | pub async fn is_user_account(&self, address: [u8; 32]) -> Result { method consensus_parameters (line 53) | async fn consensus_parameters(&self) -> Result { method node_info (line 57) | async fn node_info(&self) -> Result { type IsUserAccountVariables (line 411) | pub struct IsUserAccountVariables { type IsUserAccountQuery (line 423) | pub struct IsUserAccountQuery { type ContractExistsQuery (line 438) | pub struct ContractExistsQuery { FILE: packages/fuels-accounts/src/provider/supported_fuel_core_version.rs constant SUPPORTED_FUEL_CORE_VERSION (line 1) | pub const SUPPORTED_FUEL_CORE_VERSION: semver::Version = semver::Version... FILE: packages/fuels-accounts/src/provider/supported_versions.rs type VersionCompatibility (line 6) | pub(crate) struct VersionCompatibility { function compare_node_compatibility (line 13) | pub(crate) fn compare_node_compatibility(network_version: Version) -> Ve... function check_version_compatibility (line 17) | fn check_version_compatibility( function should_validate_all_possible_version_mismatches (line 38) | fn should_validate_all_possible_version_mismatches() { FILE: packages/fuels-accounts/src/signers.rs constant BIP44_PURPOSE (line 2) | pub const BIP44_PURPOSE: &str = "44'"; constant COIN_TYPE (line 3) | pub const COIN_TYPE: &str = "1179993420'"; constant DEFAULT_DERIVATION_PATH (line 4) | pub const DEFAULT_DERIVATION_PATH: &str = "m/44'/1179993420'/0'/0/0"; FILE: packages/fuels-accounts/src/signers/fake.rs type FakeSigner (line 11) | pub struct FakeSigner { method from (line 16) | fn from(signer: PrivateKeySigner) -> Self { method new (line 24) | pub fn new(address: Address) -> Self { method sign (line 32) | async fn sign(&self, _message: Message) -> Result { method address (line 36) | fn address(&self) -> Address { FILE: packages/fuels-accounts/src/signers/kms.rs function normalize_signature (line 14) | pub fn normalize_signature( function determine_recovery_id (line 31) | pub fn determine_recovery_id( function convert_to_fuel_signature (line 62) | pub fn convert_to_fuel_signature( FILE: packages/fuels-accounts/src/signers/kms/aws.rs constant AWS_KMS_ERROR_PREFIX (line 21) | const AWS_KMS_ERROR_PREFIX: &str = "AWS KMS Error"; constant EXPECTED_KEY_SPEC (line 23) | const EXPECTED_KEY_SPEC: KeySpec = KeySpec::EccSecgP256K1; type AwsKmsSigner (line 26) | pub struct AwsKmsSigner { method new (line 34) | pub async fn new(key_id: impl Into, client: &Client) -> Result... method validate_key_spec (line 48) | async fn validate_key_spec(client: &Client, key_id: &str) -> Result<()> { method retrieve_public_key (line 66) | async fn retrieve_public_key(client: &Client, key_id: &str) -> Result<... method derive_fuel_address (line 82) | fn derive_fuel_address(public_key: &[u8]) -> Result
{ method request_kms_signature (line 91) | async fn request_kms_signature(&self, message: Message) -> Result &String { method public_key (line 117) | pub fn public_key(&self) -> &Vec { method sign (line 124) | async fn sign(&self, message: Message) -> Result { method address (line 144) | fn address(&self) -> Address { function format_aws_error (line 149) | fn format_aws_error(err: impl std::fmt::Display) -> Error { FILE: packages/fuels-accounts/src/signers/kms/google.rs constant GOOGLE_KMS_ERROR_PREFIX (line 23) | const GOOGLE_KMS_ERROR_PREFIX: &str = "Google KMS Error"; type GoogleKmsSigner (line 26) | pub struct GoogleKmsSigner { method new (line 71) | pub async fn new(key_path: impl Into, client: &Client) -> Resu... method retrieve_public_key (line 84) | async fn retrieve_public_key(client: &Client, key_path: &str) -> Resul... method derive_fuel_address (line 104) | fn derive_fuel_address(pem: &str) -> Result
{ method request_gcp_signature (line 114) | async fn request_gcp_signature(&self, message: Message) -> Result &String { method public_key (line 145) | pub fn public_key(&self) -> &String { type CryptoKeyVersionName (line 34) | pub struct CryptoKeyVersionName { method new (line 43) | pub fn new( method fmt (line 61) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method sign (line 152) | async fn sign(&self, message: Message) -> Result { method address (line 174) | fn address(&self) -> Address { function format_gcp_error (line 179) | fn format_gcp_error(err: impl std::fmt::Display) -> Error { FILE: packages/fuels-accounts/src/signers/private_key.rs function generate_mnemonic_phrase (line 12) | pub fn generate_mnemonic_phrase(rng: &mut R, count: usize) -> Re... type PrivateKeySigner (line 17) | pub struct PrivateKeySigner { method fmt (line 24) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { method new (line 33) | pub fn new(private_key: SecretKey) -> Self { method random (line 43) | pub fn random(rng: &mut (impl CryptoRng + RngCore)) -> Self { method address (line 47) | pub fn address(&self) -> Address { method secret_key (line 51) | pub fn secret_key(&self) -> SecretKey { method sign (line 59) | async fn sign(&self, message: Message) -> Result { method address (line 65) | fn address(&self) -> Address { function mnemonic_generation (line 80) | async fn mnemonic_generation() -> Result<()> { function sign_and_verify (line 91) | async fn sign_and_verify() -> Result<()> { FILE: packages/fuels-accounts/src/wallet.rs type Wallet (line 4) | pub struct Wallet> { function set_provider (line 10) | pub fn set_provider(&mut self, provider: Provider) { function provider (line 14) | pub fn provider(&self) -> &Provider { type Unlocked (line 36) | pub struct Unlocked { function new (line 41) | fn new(signer: S) -> Self { function new (line 47) | pub fn new(signer: S, provider: Provider) -> Self { function signer (line 54) | pub fn signer(&self) -> &S { function random (line 60) | pub fn random(rng: &mut (impl CryptoRng + RngCore), provider: Provider) ... function lock (line 69) | pub fn lock(&self) -> Wallet { method address (line 79) | fn address(&self) -> Address { method try_provider (line 83) | fn try_provider(&self) -> Result<&Provider> { method get_asset_inputs_for_amount (line 87) | async fn get_asset_inputs_for_amount( method add_witnesses (line 107) | fn add_witnesses(&self, tb: &mut Tb) -> Result<(... type Locked (line 126) | pub struct Locked { method new (line 131) | fn new(address: Address) -> Self { function new_locked (line 137) | pub fn new_locked(addr: Address, provider: Provider) -> Self { method address (line 147) | fn address(&self) -> Address { method try_provider (line 151) | fn try_provider(&self) -> Result<&Provider> { method get_asset_inputs_for_amount (line 155) | async fn get_asset_inputs_for_amount( FILE: packages/fuels-code-gen/src/error.rs type Error (line 6) | pub struct Error(pub String); method combine (line 9) | pub fn combine>(self, err: T) -> Self { type Result (line 21) | pub type Result = std::result::Result; method fmt (line 24) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { method fmt (line 30) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { FILE: packages/fuels-code-gen/src/program_bindings/abigen.rs type Abigen (line 25) | pub struct Abigen; method generate (line 36) | pub fn generate(targets: Vec, no_std: bool) -> Result TokenStream { method generate_code (line 68) | fn generate_code(no_std: bool, parsed_targets: Vec) -> R... method generate_all_bindings (line 84) | fn generate_all_bindings( method generate_binding (line 97) | fn generate_binding( method generate_macro_recompile_trigger (line 122) | fn generate_macro_recompile_trigger(path: Option<&PathBuf>, no_std: bo... method generate_shared_types (line 135) | fn generate_shared_types( method filter_custom_types (line 150) | fn filter_custom_types( method filter_shared_types (line 166) | fn filter_shared_types<'a>( function correctly_determines_shared_types (line 178) | fn correctly_determines_shared_types() { FILE: packages/fuels-code-gen/src/program_bindings/abigen/abigen_target.rs type AbigenTarget (line 14) | pub struct AbigenTarget { method new (line 21) | pub fn new(name: String, source: Abi, program_type: ProgramType) -> Se... method name (line 29) | pub fn name(&self) -> &str { method source (line 33) | pub fn source(&self) -> &Abi { method program_type (line 37) | pub fn program_type(&self) -> ProgramType { type Abi (line 43) | pub struct Abi { method load_from (line 49) | pub fn load_from(path: impl AsRef) -> Result { method canonicalize_path (line 67) | fn canonicalize_path(path: &Path) -> Result { method parse_from_json (line 97) | fn parse_from_json(json_abi: &str) -> Result { method path (line 102) | pub fn path(&self) -> Option<&PathBuf> { method abi (line 106) | pub fn abi(&self) -> &FullProgramABI { type Err (line 112) | type Err = Error; method from_str (line 114) | fn from_str(json_abi: &str) -> Result { type ProgramType (line 122) | pub enum ProgramType { type Error (line 148) | type Error = syn::Error; method try_from (line 150) | fn try_from(ident: Ident) -> std::result::Result { type Err (line 129) | type Err = Error; method from_str (line 131) | fn from_str(string: &str) -> std::result::Result { FILE: packages/fuels-code-gen/src/program_bindings/abigen/bindings.rs function generate_bindings (line 22) | pub(crate) fn generate_bindings(target: AbigenTarget, no_std: bool) -> R... FILE: packages/fuels-code-gen/src/program_bindings/abigen/bindings/contract.rs function contract_bindings (line 19) | pub(crate) fn contract_bindings( function expand_functions (line 154) | fn expand_functions(functions: &[FullABIFunction]) -> Result { function expand_fn (line 167) | pub(crate) fn expand_fn(abi_fun: &FullABIFunction) -> Result { function generate_constant_methods_pattern (line 196) | fn generate_constant_methods_pattern( function expand_contract_method_simple (line 254) | fn expand_contract_method_simple() -> Result<()> { function expand_contract_method_complex (line 311) | fn expand_contract_method_complex() -> Result<()> { FILE: packages/fuels-code-gen/src/program_bindings/abigen/bindings/function_generator.rs type FunctionGenerator (line 15) | pub(crate) struct FunctionGenerator { method new (line 24) | pub fn new(fun: &FullABIFunction) -> Result { method set_name (line 43) | pub fn set_name(&mut self, name: String) -> &mut Self { method set_body (line 48) | pub fn set_body(&mut self, body: TokenStream) -> &mut Self { method set_docs (line 53) | pub fn set_docs(&mut self, docs: Vec) -> &mut Self { method fn_selector (line 58) | pub fn fn_selector(&self) -> TokenStream { method tokenized_args (line 63) | pub fn tokenized_args(&self) -> TokenStream { method set_output_type (line 71) | pub fn set_output_type(&mut self, output_type: TokenStream) -> &mut Se... method output_type (line 76) | pub fn output_type(&self) -> &TokenStream { method generate (line 80) | pub fn generate(&self) -> TokenStream { function correct_fn_selector_resolving_code (line 122) | fn correct_fn_selector_resolving_code() -> Result<()> { function correct_tokenized_args (line 137) | fn correct_tokenized_args() -> Result<()> { function tokenizes_correctly (line 152) | fn tokenizes_correctly() -> Result<()> { function given_a_fun (line 181) | fn given_a_fun() -> FullABIFunction { FILE: packages/fuels-code-gen/src/program_bindings/abigen/bindings/predicate.rs function predicate_bindings (line 17) | pub(crate) fn predicate_bindings( function expand_fn (line 57) | fn expand_fn(fn_abi: &FullABIFunction) -> Result { FILE: packages/fuels-code-gen/src/program_bindings/abigen/bindings/script.rs function script_bindings (line 20) | pub(crate) fn script_bindings( function expand_fn (line 149) | fn expand_fn(fn_abi: &FullABIFunction) -> Result { function expand_script_main_function (line 188) | fn expand_script_main_function() -> Result<()> { FILE: packages/fuels-code-gen/src/program_bindings/abigen/bindings/utils.rs function extract_main_fn (line 5) | pub(crate) fn extract_main_fn(abi: &[FullABIFunction]) -> Result<&FullAB... function correctly_extracts_the_main_fn (line 32) | fn correctly_extracts_the_main_fn() { function fails_if_there_is_more_than_one_main_fn (line 41) | fn fails_if_there_is_more_than_one_main_fn() { function given_a_fun_named (line 52) | fn given_a_fun_named(fn_name: &str) -> FullABIFunction { FILE: packages/fuels-code-gen/src/program_bindings/abigen/configurables.rs type ResolvedConfigurable (line 12) | pub(crate) struct ResolvedConfigurable { method new (line 19) | pub fn new(configurable: &FullConfigurable) -> Result TokenStream { function generate_struct_impl (line 59) | fn generate_struct_impl( function generate_builder_methods (line 79) | fn generate_builder_methods(resolved_configurables: &[ResolvedConfigurab... function generate_encoder_code (line 107) | fn generate_encoder_code(ttype: &ResolvedType) -> TokenStream { function generate_from_impl (line 115) | fn generate_from_impl(configurable_struct_name: &Ident) -> TokenStream { FILE: packages/fuels-code-gen/src/program_bindings/abigen/logs.rs function log_formatters_instantiation_code (line 7) | pub(crate) fn log_formatters_instantiation_code( type ResolvedLog (line 17) | struct ResolvedLog { function resolve_logs (line 23) | fn resolve_logs(logged_types: &[FullLoggedType]) -> Vec { function generate_log_id_log_formatter_pairs (line 56) | fn generate_log_id_log_formatter_pairs( function generate_id_error_codes_pairs (line 69) | pub(crate) fn generate_id_error_codes_pairs( FILE: packages/fuels-code-gen/src/program_bindings/custom_types.rs function generate_types (line 32) | pub(crate) fn generate_types<'a>( function reexport_the_shared_type (line 63) | fn reexport_the_shared_type(ttype: &FullTypeDeclaration, no_std: bool) -... function should_skip_codegen (line 94) | pub fn should_skip_codegen(type_decl: &FullTypeDeclaration) -> bool { function is_type_sdk_provided (line 104) | fn is_type_sdk_provided(type_path: &TypePath) -> bool { function is_type_unused (line 108) | fn is_type_unused(type_path: &TypePath) -> bool { function test_expand_custom_enum (line 135) | fn test_expand_custom_enum() -> Result<()> { function test_enum_with_no_variants_cannot_be_constructed (line 203) | fn test_enum_with_no_variants_cannot_be_constructed() -> Result<()> { function test_expand_struct_inside_enum (line 223) | fn test_expand_struct_inside_enum() -> Result<()> { function test_expand_array_inside_enum (line 295) | fn test_expand_array_inside_enum() -> Result<()> { function test_expand_custom_enum_with_enum (line 360) | fn test_expand_custom_enum_with_enum() -> Result<()> { function test_expand_custom_struct (line 444) | fn test_expand_custom_struct() -> Result<()> { function test_struct_with_no_fields_can_be_constructed (line 538) | fn test_struct_with_no_fields_can_be_constructed() -> Result<()> { function test_expand_custom_struct_with_struct (line 578) | fn test_expand_custom_struct_with_struct() -> Result<()> { function shared_types_are_just_reexported (line 660) | fn shared_types_are_just_reexported() { FILE: packages/fuels-code-gen/src/program_bindings/custom_types/enums.rs function expand_custom_enum (line 20) | pub(crate) fn expand_custom_enum( function maybe_impl_error (line 41) | fn maybe_impl_error(enum_ident: &Ident, components: &Components) -> Opti... function enum_decl (line 69) | fn enum_decl( FILE: packages/fuels-code-gen/src/program_bindings/custom_types/structs.rs function expand_custom_struct (line 20) | pub(crate) fn expand_custom_struct( function unzip_field_names_and_types (line 44) | fn unzip_field_names_and_types(components: &Components) -> (Vec<&Ident>,... function struct_decl (line 57) | fn struct_decl( FILE: packages/fuels-code-gen/src/program_bindings/custom_types/utils.rs function extract_generic_parameters (line 9) | pub(crate) fn extract_generic_parameters(type_decl: &FullTypeDeclaration... function extracts_generic_types (line 33) | fn extracts_generic_types() -> Result<()> { function can_extract_struct_name (line 81) | fn can_extract_struct_name() { function can_extract_enum_name (line 96) | fn can_extract_enum_name() { FILE: packages/fuels-code-gen/src/program_bindings/generated_code.rs type GeneratedCode (line 10) | pub(crate) struct GeneratedCode { method new (line 18) | pub fn new(code: TokenStream, usable_types: HashSet, no_std:... method prelude (line 27) | fn prelude(&self) -> TokenStream { method code (line 49) | pub fn code(&self) -> TokenStream { method is_empty (line 79) | pub fn is_empty(&self) -> bool { method merge (line 83) | pub fn merge(mut self, another: GeneratedCode) -> Self { method wrap_in_mod (line 95) | pub fn wrap_in_mod(mut self, mod_name: impl Into) -> Self { method wrap_in_single_mod (line 106) | fn wrap_in_single_mod(self, mod_name: Ident) -> Self { method use_statements_for_uniquely_named_types (line 113) | pub fn use_statements_for_uniquely_named_types(&self) -> TokenStream { method types_with_unique_names (line 124) | fn types_with_unique_names(&self) -> Vec { function can_merge_top_level_code (line 151) | fn can_merge_top_level_code() { function wrapping_in_mod_updates_code (line 169) | fn wrapping_in_mod_updates_code() { function wrapping_in_mod_updates_use_statements (line 201) | fn wrapping_in_mod_updates_use_statements() { function merging_code_will_merge_mods_as_well (line 218) | fn merging_code_will_merge_mods_as_well() { function use_statement_not_generated_for_top_level_type (line 292) | fn use_statement_not_generated_for_top_level_type() { function use_statements_only_for_uniquely_named_types (line 311) | fn use_statements_only_for_uniquely_named_types() { function given_some_struct_code (line 340) | fn given_some_struct_code(struct_name: &str) -> GeneratedCode { function given_type_path (line 350) | fn given_type_path(path: &str) -> TypePath { FILE: packages/fuels-code-gen/src/program_bindings/resolved_type.rs type GenericType (line 17) | pub enum GenericType { method to_tokens (line 23) | fn to_tokens(&self, tokens: &mut TokenStream) { type ResolvedType (line 37) | pub enum ResolvedType { method generics (line 50) | pub fn generics(&self) -> Vec { method to_tokens (line 66) | fn to_tokens(&self, tokens: &mut TokenStream) { method fmt (line 92) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type TypeResolver (line 98) | pub(crate) struct TypeResolver { method new (line 110) | pub(crate) fn new(current_mod: TypePath) -> Self { method resolve (line 114) | pub(crate) fn resolve(&self, type_application: &FullTypeApplication) -... method resolve_multiple (line 137) | fn resolve_multiple( method try_as_generic (line 147) | fn try_as_generic( method try_as_array (line 159) | fn try_as_array(&self, type_application: &FullTypeApplication) -> Resu... method try_as_sized_ascii_string (line 181) | fn try_as_sized_ascii_string( method try_as_ascii_string (line 197) | fn try_as_ascii_string( method try_as_tuple (line 213) | fn try_as_tuple(&self, type_application: &FullTypeApplication) -> Resu... method try_as_primitive_type (line 223) | fn try_as_primitive_type( method try_as_bits256 (line 251) | fn try_as_bits256( method try_as_raw_slice (line 266) | fn try_as_raw_slice( method try_as_custom_type (line 281) | fn try_as_custom_type( method default (line 104) | fn default() -> Self { function correctly_extracts_used_generics (line 322) | fn correctly_extracts_used_generics() { function test_resolve_first_type (line 352) | fn test_resolve_first_type( function test_resolve_primitive_type (line 377) | fn test_resolve_primitive_type(type_field: &str, expected: &str) -> Resu... function test_resolve_u8 (line 389) | fn test_resolve_u8() -> Result<()> { function test_resolve_u16 (line 394) | fn test_resolve_u16() -> Result<()> { function test_resolve_u32 (line 399) | fn test_resolve_u32() -> Result<()> { function test_resolve_u64 (line 404) | fn test_resolve_u64() -> Result<()> { function test_resolve_bool (line 409) | fn test_resolve_bool() -> Result<()> { function test_resolve_b256 (line 414) | fn test_resolve_b256() -> Result<()> { function test_resolve_unit (line 419) | fn test_resolve_unit() -> Result<()> { function test_resolve_array (line 424) | fn test_resolve_array() -> Result<()> { function test_resolve_vector (line 447) | fn test_resolve_vector() -> Result<()> { function test_resolve_bytes (line 516) | fn test_resolve_bytes() -> Result<()> { function test_resolve_std_string (line 579) | fn test_resolve_std_string() -> Result<()> { function test_resolve_static_str (line 642) | fn test_resolve_static_str() -> Result<()> { function test_resolve_struct (line 647) | fn test_resolve_struct() -> Result<()> { function test_resolve_enum (line 684) | fn test_resolve_enum() -> Result<()> { function test_resolve_tuple (line 721) | fn test_resolve_tuple() -> Result<()> { function custom_types_uses_correct_path_for_sdk_provided_types (line 774) | fn custom_types_uses_correct_path_for_sdk_provided_types() { function given_fn_arg_of_custom_type (line 792) | fn given_fn_arg_of_custom_type(type_path: &TypePath) -> FullTypeApplicat... FILE: packages/fuels-code-gen/src/program_bindings/utils.rs type Component (line 16) | pub(crate) struct Component { type Components (line 23) | pub(crate) struct Components { method new (line 28) | pub fn new( method has_error_messages (line 58) | pub fn has_error_messages(&self) -> bool { method iter (line 64) | pub fn iter(&self) -> impl Iterator { method is_empty (line 68) | pub fn is_empty(&self) -> bool { method as_enum_variants (line 72) | pub fn as_enum_variants(&self) -> impl Iterator + ... method generate_parameters_for_unused_generics (line 88) | pub fn generate_parameters_for_unused_generics( method generate_variant_for_unused_generics (line 102) | pub fn generate_variant_for_unused_generics( method named_generics (line 121) | fn named_generics(&self) -> HashSet { method unused_named_generics (line 135) | fn unused_named_generics<'a>( function tokenize_generics (line 146) | pub(crate) fn tokenize_generics(generics: &[Ident]) -> (TokenStream, Tok... function sdk_provided_custom_types_lookup (line 157) | pub(crate) fn sdk_provided_custom_types_lookup() -> HashMap Result<()> { function avoids_collisions_with_reserved_keywords (line 206) | fn avoids_collisions_with_reserved_keywords() -> Result<()> { function type_application_named (line 226) | fn type_application_named(name: &str) -> FullTypeApplication { FILE: packages/fuels-code-gen/src/utils.rs function encode_fn_selector (line 3) | pub fn encode_fn_selector(name: &str) -> Vec { FILE: packages/fuels-core/src/codec.rs function try_from_bytes (line 22) | pub fn try_from_bytes(bytes: impl Read, decoder_config: DecoderConfig... function convert_all_from_bool_to_u64 (line 40) | fn convert_all_from_bool_to_u64() -> Result<()> { function convert_bytes_into_tuple (line 63) | fn convert_bytes_into_tuple() -> Result<()> { function convert_native_types (line 75) | fn convert_native_types() -> Result<()> { function string_slice_is_read_in_total (line 93) | fn string_slice_is_read_in_total() { FILE: packages/fuels-core/src/codec/abi_decoder.rs type DecoderConfig (line 14) | pub struct DecoderConfig { method default (line 25) | fn default() -> Self { type ABIDecoder (line 35) | pub struct ABIDecoder { method new (line 40) | pub fn new(config: DecoderConfig) -> Self { method decode (line 63) | pub fn decode(&self, param_type: &ParamType, mut bytes: impl Read) -> ... method decode_multiple (line 81) | pub fn decode_multiple( method decode_as_debug_str (line 109) | pub fn decode_as_debug_str( method decode_multiple_as_debug_str (line 118) | pub fn decode_multiple_as_debug_str( function decode_multiple_uint (line 147) | fn decode_multiple_uint() -> Result<()> { function decode_bool (line 184) | fn decode_bool() -> Result<()> { function decode_b256 (line 198) | fn decode_b256() -> Result<()> { function decode_string_array (line 212) | fn decode_string_array() -> Result<()> { function decode_string_slice (line 236) | fn decode_string_slice() -> Result<()> { function decode_string (line 256) | fn decode_string() -> Result<()> { function decode_tuple (line 273) | fn decode_tuple() -> Result<()> { function decode_array (line 290) | fn decode_array() -> Result<()> { function decode_struct (line 303) | fn decode_struct() -> Result<()> { function decode_bytes (line 327) | fn decode_bytes() -> Result<()> { function decode_raw_slice (line 340) | fn decode_raw_slice() -> Result<()> { function decode_enum (line 353) | fn decode_enum() -> Result<()> { function decode_nested_struct (line 381) | fn decode_nested_struct() -> Result<()> { function decode_comprehensive (line 427) | fn decode_comprehensive() -> Result<()> { function enums_with_all_unit_variants_are_decoded_from_one_word (line 498) | fn enums_with_all_unit_variants_are_decoded_from_one_word() -> Result<()> { function out_of_bounds_discriminant_is_detected (line 517) | fn out_of_bounds_discriminant_is_detected() -> Result<()> { function division_by_zero (line 538) | pub fn division_by_zero() { function multiply_overflow_enum (line 545) | pub fn multiply_overflow_enum() { function multiply_overflow_arith (line 572) | pub fn multiply_overflow_arith() { function capacity_overflow (line 589) | pub fn capacity_overflow() { function stack_overflow (line 598) | pub fn stack_overflow() { function capacity_malloc (line 608) | pub fn capacity_malloc() { function max_depth_surpassed (line 615) | fn max_depth_surpassed() { function depth_is_not_reached (line 634) | fn depth_is_not_reached() { function too_many_tokens (line 665) | fn too_many_tokens() { function token_count_is_being_reset_between_decodings (line 703) | fn token_count_is_being_reset_between_decodings() { function assert_decoding_failed_w_data (line 722) | fn assert_decoding_failed_w_data( function nested_struct (line 739) | fn nested_struct(depth: usize) -> ParamType { function nested_enum (line 753) | fn nested_enum(depth: usize) -> ParamType { function nested_array (line 767) | fn nested_array(depth: usize) -> ParamType { function nested_tuple (line 777) | fn nested_tuple(depth: usize) -> ParamType { FILE: packages/fuels-core/src/codec/abi_decoder/bounded_decoder.rs type BoundedDecoder (line 17) | pub(crate) struct BoundedDecoder { method new (line 23) | pub(crate) fn new(config: DecoderConfig) -> Self { method decode (line 34) | pub(crate) fn decode( method decode_multiple (line 42) | pub(crate) fn decode_multiple( method run_w_depth_tracking (line 50) | fn run_w_depth_tracking( method decode_param (line 61) | fn decode_param(&mut self, param_type: &ParamType, bytes: &mu... method decode_std_string (line 97) | fn decode_std_string(bytes: &mut R) -> Result { method decode_string_array (line 103) | fn decode_string_array(bytes: &mut R, length: usize) -> Resul... method decode_string_slice (line 112) | fn decode_string_slice(bytes: &mut R) -> Result { method decode_tuple (line 118) | fn decode_tuple(&mut self, param_types: &[ParamType], bytes: ... method decode_array (line 122) | fn decode_array( method decode_vector (line 133) | fn decode_vector(&mut self, param_type: &ParamType, bytes: &m... method decode_struct (line 140) | fn decode_struct( method decode_enum (line 150) | fn decode_enum( method decode_params (line 167) | fn decode_params<'a, R: Read>( function decode (line 181) | fn decode( function decode_sized (line 191) | fn decode_sized(bytes: &mut R, len: usize) -> Result> { function decode_len (line 198) | fn decode_len(bytes: &mut R) -> Result { function decode_slice (line 207) | fn decode_slice(bytes: &mut R) -> Result> { FILE: packages/fuels-core/src/codec/abi_decoder/decode_as_debug_str.rs function inner_types_debug (line 9) | fn inner_types_debug(tokens: &[Token], inner_type: &ParamType, join_str:... function decode_as_debug_str (line 19) | pub(crate) fn decode_as_debug_str(param_type: &ParamType, token: &Token)... function param_type_decode_debug (line 108) | fn param_type_decode_debug() -> Result<()> { FILE: packages/fuels-core/src/codec/abi_encoder.rs type EncoderConfig (line 11) | pub struct EncoderConfig { method default (line 22) | fn default() -> Self { type ABIEncoder (line 32) | pub struct ABIEncoder { method new (line 37) | pub fn new(config: EncoderConfig) -> Self { method encode (line 43) | pub fn encode(&self, tokens: &[Token]) -> Result> { function encode_multiple_uint (line 63) | fn encode_multiple_uint() -> Result<()> { function encode_bool (line 92) | fn encode_bool() -> Result<()> { function encode_b256 (line 105) | fn encode_b256() -> Result<()> { function encode_bytes (line 120) | fn encode_bytes() -> Result<()> { function encode_string (line 136) | fn encode_string() -> Result<()> { function encode_raw_slice (line 153) | fn encode_raw_slice() -> Result<()> { function encode_string_array (line 169) | fn encode_string_array() -> Result<()> { function encode_string_slice (line 188) | fn encode_string_slice() -> Result<()> { function encode_tuple (line 208) | fn encode_tuple() -> Result<()> { function encode_array (line 224) | fn encode_array() -> Result<()> { function encode_enum_with_deeply_nested_types (line 240) | fn encode_enum_with_deeply_nested_types() -> Result<()> { function encode_nested_structs (line 306) | fn encode_nested_structs() -> Result<()> { function encode_comprehensive (line 329) | fn encode_comprehensive() -> Result<()> { function enums_with_only_unit_variants_are_encoded_in_one_word (line 368) | fn enums_with_only_unit_variants_are_encoded_in_one_word() -> Result<()> { function vec_in_enum (line 382) | fn vec_in_enum() -> Result<()> { function enum_in_vec (line 404) | fn enum_in_vec() -> Result<()> { function vec_in_struct (line 428) | fn vec_in_struct() -> Result<()> { function vec_in_vec (line 447) | fn vec_in_vec() -> Result<()> { function max_depth_surpassed (line 466) | fn max_depth_surpassed() { function assert_encoding_failed (line 482) | fn assert_encoding_failed(config: EncoderConfig, token: Token, msg: &str) { function nested_struct (line 493) | fn nested_struct(depth: usize) -> Token { function nested_enum (line 503) | fn nested_enum(depth: usize) -> Token { function nested_array (line 521) | fn nested_array(depth: usize) -> Token { function nested_tuple (line 529) | fn nested_tuple(depth: usize) -> Token { FILE: packages/fuels-core/src/codec/abi_encoder/bounded_encoder.rs type BoundedEncoder (line 9) | pub(crate) struct BoundedEncoder { method new (line 15) | pub(crate) fn new(config: EncoderConfig) -> Self { method encode (line 26) | pub fn encode(&mut self, tokens: &[Token]) -> Result> { method run_w_depth_tracking (line 37) | fn run_w_depth_tracking( method encode_token (line 48) | fn encode_token(&mut self, arg: &Token) -> Result> { method encode_u256 (line 75) | fn encode_u256(arg_u256: U256) -> Vec { method encode_bytes (line 82) | fn encode_bytes(data: Vec) -> Result> { method encode_string_array (line 88) | fn encode_string_array(arg_string: &StaticStringToken) -> Result Result Result> { method encode_enum (line 102) | fn encode_enum(&mut self, selector: &EnumSelector) -> Result> { method encode_length (line 110) | fn encode_length(len: u64) -> Vec { method encode_discriminant (line 114) | fn encode_discriminant(discriminant: u64) -> Vec { FILE: packages/fuels-core/src/codec/abi_formatter.rs type ABIFormatter (line 9) | pub struct ABIFormatter { method has_fn (line 16) | pub fn has_fn(&self, fn_name: &str) -> bool { method with_decoder_config (line 20) | pub fn with_decoder_config(mut self, config: DecoderConfig) -> Self { method from_abi (line 25) | pub fn from_abi(abi: UnifiedProgramABI) -> Result { method from_json_abi (line 72) | pub fn from_json_abi(abi: impl AsRef) -> Result { method decode_fn_args (line 77) | pub fn decode_fn_args(&self, fn_name: &str, data: R) -> Resul... method decode_configurables (line 86) | pub fn decode_configurables( function gracefully_handles_missing_fn (line 115) | fn gracefully_handles_missing_fn() { FILE: packages/fuels-core/src/codec/logs.rs type Log (line 9) | pub trait Log { constant LOG_ID (line 11) | const LOG_ID: &'static str; constant LOG_ID_U64 (line 13) | const LOG_ID_U64: u64; type ErrorDetails (line 17) | pub struct ErrorDetails { method new (line 27) | pub fn new( type LogFormatter (line 55) | pub struct LogFormatter { method new_log (line 61) | pub fn new_log() -> S... method new_error (line 68) | pub fn new_error( method format_error (line 84) | fn format_error( method can_handle_type (line 93) | pub fn can_handle_type(&self)... method format (line 97) | pub fn format(&self, decoder_config: DecoderConfig, bytes: &[u8]) -> R... method fmt (line 103) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type LogId (line 112) | pub struct LogId(ContractId, String); type LogDecoder (line 116) | pub struct LogDecoder { method new (line 145) | pub fn new( method get_error_codes (line 156) | pub fn get_error_codes(&self, id: &u64) -> Option<&ErrorDetails> { method set_decoder_config (line 160) | pub fn set_decoder_config(&mut self, decoder_config: DecoderConfig) ->... method decode_logs (line 166) | pub fn decode_logs(&self, receipts: &[Receipt]) -> LogResult { method format_log (line 176) | fn format_log(&self, log_id: &LogId, data: &[u8]) -> Result { method decode_last_log (line 191) | pub(crate) fn decode_last_log(&self, receipts: &[Receipt]) -> Result Res... method decode_logs_with_type (line 223) | pub fn decode_logs_with_type( method decode_logs_lazy (line 249) | pub fn decode_logs_lazy<'a, T: Tokenizable + Parameterize + 'static>( method merge (line 263) | pub fn merge(&mut self, log_decoder: LogDecoder) { type LogResult (line 124) | pub struct LogResult { method filter_succeeded (line 129) | pub fn filter_succeeded(&self) -> Vec<&str> { method filter_failed (line 136) | pub fn filter_failed(&self) -> Vec<&Error> { type ExtractLogIdData (line 269) | trait ExtractLogIdData { method extract_log_id_and_data (line 271) | fn extract_log_id_and_data(self) -> Self::Output; type Output (line 283) | type Output = FilterMap Option<(LogId, Vec)>>; method extract_log_id_and_data (line 284) | fn extract_log_id_and_data(self) -> Self::Output { type ExtractLogIdLazy (line 274) | trait ExtractLogIdLazy { method extract_matching_logs_lazy (line 275) | fn extract_matching_logs_lazy( method extract_matching_logs_lazy (line 301) | fn extract_matching_logs_lazy( function log_formatters_lookup (line 345) | pub fn log_formatters_lookup( FILE: packages/fuels-core/src/codec/utils.rs type CounterWithLimit (line 3) | pub(crate) struct CounterWithLimit { method new (line 26) | pub(crate) fn new(max: usize, name: impl Into, direction: Code... method increase (line 35) | pub(crate) fn increase(&mut self) -> Result<()> { method decrease (line 49) | pub(crate) fn decrease(&mut self) { type CodecDirection (line 11) | pub(crate) enum CodecDirection { method fmt (line 17) | fn fmt(&self, f: &mut std::fmt::Formatter<'_>) -> std::fmt::Result { FILE: packages/fuels-core/src/lib.rs type Configurable (line 11) | pub struct Configurable { type Configurables (line 19) | pub struct Configurables { method new (line 24) | pub fn new(offsets_with_data: Vec) -> Self { method with_shifted_offsets (line 28) | pub fn with_shifted_offsets(self, shift: i64) -> Result { method update_constants_in (line 59) | pub fn update_constants_in(&self, binary: &mut [u8]) { function from (line 68) | fn from(config: Configurables) -> Vec { function test_with_shifted_offsets_positive_shift (line 78) | fn test_with_shifted_offsets_positive_shift() { function test_with_shifted_offsets_negative_shift (line 96) | fn test_with_shifted_offsets_negative_shift() { function test_with_shifted_offsets_zero_shift (line 114) | fn test_with_shifted_offsets_zero_shift() { function test_with_shifted_offsets_overflow (line 129) | fn test_with_shifted_offsets_overflow() { function test_with_shifted_offsets_underflow (line 146) | fn test_with_shifted_offsets_underflow() { FILE: packages/fuels-core/src/traits/parameterize.rs type Parameterize (line 10) | pub trait Parameterize { method param_type (line 11) | fn param_type() -> ParamType; method param_type (line 15) | fn param_type() -> ParamType { method param_type (line 21) | fn param_type() -> ParamType { method param_type (line 27) | fn param_type() -> ParamType { method param_type (line 33) | fn param_type() -> ParamType { method param_type (line 39) | fn param_type() -> ParamType { method param_type (line 45) | fn param_type() -> ParamType { method param_type (line 51) | fn param_type() -> ParamType { method param_type (line 61) | fn param_type() -> ParamType { method param_type (line 71) | fn param_type() -> ParamType { method param_type (line 81) | fn param_type() -> ParamType { method param_type (line 87) | fn param_type() -> ParamType { method param_type (line 93) | fn param_type() -> ParamType { method param_type (line 99) | fn param_type() -> ParamType { method param_type (line 105) | fn param_type() -> ParamType { method param_type (line 111) | fn param_type() -> ParamType { method param_type (line 117) | fn param_type() -> ParamType { method param_type (line 126) | fn param_type() -> ParamType { method param_type (line 146) | fn param_type() -> ParamType { method param_type (line 162) | fn param_type() -> ParamType { method param_type (line 168) | fn param_type() -> ParamType { function sized_ascii_string_is_parameterized_correctly (line 218) | fn sized_ascii_string_is_parameterized_correctly() { function test_param_type_b256 (line 225) | fn test_param_type_b256() { function test_param_type_raw_slice (line 230) | fn test_param_type_raw_slice() { FILE: packages/fuels-core/src/traits/signer.rs type Signer (line 13) | pub trait Signer { method sign (line 14) | async fn sign(&self, message: Message) -> Result; method address (line 15) | fn address(&self) -> Address; FILE: packages/fuels-core/src/traits/tokenizable.rs type Tokenizable (line 12) | pub trait Tokenizable { method from_token (line 14) | fn from_token(token: Token) -> Result method into_token (line 18) | fn into_token(self) -> Token; method from_token (line 22) | fn from_token(token: Token) -> Result { method into_token (line 25) | fn into_token(self) -> Token { method from_token (line 31) | fn from_token(token: Token) -> Result method into_token (line 44) | fn into_token(self) -> Token { method from_token (line 50) | fn from_token(token: Token) -> Result method into_token (line 64) | fn into_token(self) -> Token { method from_token (line 71) | fn from_token(token: Token) -> Result { method into_token (line 77) | fn into_token(self) -> Token { method from_token (line 83) | fn from_token(token: Token) -> Result method into_token (line 93) | fn into_token(self) -> Token { method from_token (line 99) | fn from_token(token: Token) -> Result { method into_token (line 105) | fn into_token(self) -> Token { method from_token (line 111) | fn from_token(token: Token) -> Result { method into_token (line 117) | fn into_token(self) -> Token { method from_token (line 123) | fn from_token(token: Token) -> Result { method into_token (line 129) | fn into_token(self) -> Token { method from_token (line 135) | fn from_token(token: Token) -> Result { method into_token (line 141) | fn into_token(self) -> Token { method from_token (line 147) | fn from_token(token: Token) -> Result { method into_token (line 153) | fn into_token(self) -> Token { method from_token (line 159) | fn from_token(token: Token) -> Result method into_token (line 172) | fn into_token(self) -> Token { method from_token (line 178) | fn from_token(token: Token) -> Result method into_token (line 191) | fn into_token(self) -> Token { method from_token (line 197) | fn from_token(token: Token) -> Result method into_token (line 210) | fn into_token(self) -> Token { method from_token (line 276) | fn from_token(token: Token) -> Result method into_token (line 297) | fn into_token(self) -> Token { method from_token (line 304) | fn from_token(token: Token) -> Result method into_token (line 325) | fn into_token(self) -> Token { method from_token (line 333) | fn from_token(token: Token) -> Result method into_token (line 354) | fn into_token(self) -> Token { method from_token (line 364) | fn from_token(token: Token) -> Result { method into_token (line 382) | fn into_token(self) -> Token { method from_token (line 401) | fn from_token(token: Token) -> Result { method into_token (line 419) | fn into_token(self) -> Token { method from_token (line 434) | fn from_token(token: Token) -> Result method into_token (line 465) | fn into_token(self) -> Token { method from_token (line 471) | fn from_token(token: Token) -> Result method into_token (line 494) | fn into_token(self) -> Token { method from_token (line 500) | fn from_token(token: Token) -> Result method into_token (line 513) | fn into_token(self) -> Token { function test_from_token_b256 (line 523) | fn test_from_token_b256() -> Result<()> { function test_into_token_b256 (line 535) | fn test_into_token_b256() { function test_from_token_raw_slice (line 545) | fn test_from_token_raw_slice() -> Result<()> { function test_into_token_raw_slice (line 557) | fn test_into_token_raw_slice() { function sized_ascii_string_is_tokenized_correctly (line 567) | fn sized_ascii_string_is_tokenized_correctly() -> Result<()> { function sized_ascii_string_is_detokenized_correctly (line 586) | fn sized_ascii_string_is_detokenized_correctly() -> Result<()> { function test_into_token_std_string (line 598) | fn test_into_token_std_string() -> Result<()> { FILE: packages/fuels-core/src/types.rs type ByteArray (line 23) | pub type ByteArray = [u8; 8]; type Selector (line 24) | pub type Selector = Vec; function pad_u16 (line 27) | pub fn pad_u16(value: u16) -> ByteArray { function pad_u32 (line 34) | pub fn pad_u32(value: u32) -> ByteArray { function pad_string (line 40) | pub fn pad_string(s: &str) -> Result> { FILE: packages/fuels-core/src/types/checksum_address.rs function checksum_encode (line 5) | pub fn checksum_encode(address: &str) -> Result { function pre_validate (line 35) | fn pre_validate(s: &str) -> Result<()> { function is_checksum_valid (line 49) | pub fn is_checksum_valid(address: &str) -> bool { constant VALID_CHECKSUM (line 71) | const VALID_CHECKSUM: [&str; 4] = [ constant INVALID_CHECKSUM (line 77) | const INVALID_CHECKSUM: [&str; 8] = [ constant INVALID_LEN (line 89) | const INVALID_LEN: [&str; 6] = [ constant INVALID_CHARACTERS (line 101) | const INVALID_CHARACTERS: &str = function will_detect_valid_checksums (line 105) | fn will_detect_valid_checksums() { function will_detect_invalid_checksums (line 112) | fn will_detect_invalid_checksums() { function can_construct_address_from_checksum (line 119) | fn can_construct_address_from_checksum() { function will_detect_invalid_lengths (line 125) | fn will_detect_invalid_lengths() { function will_detect_invalid_characters (line 133) | fn will_detect_invalid_characters() { FILE: packages/fuels-core/src/types/core/bits.rs type Bits256 (line 11) | pub struct Bits256(pub [u8; 32]); method zeroed (line 15) | pub fn zeroed() -> Self { method from_hex_str (line 21) | pub fn from_hex_str(hex: &str) -> Result { method from (line 36) | fn from(value: AssetId) -> Self { method from (line 42) | fn from(value: SubAssetId) -> Self { type B512 (line 52) | pub struct B512 { method from (line 58) | fn from(bits_tuple: (Bits256, Bits256)) -> Self { type EvmAddress (line 69) | pub struct EvmAddress { method new (line 75) | fn new(b256: Bits256) -> Self { method value (line 81) | pub fn value(&self) -> Bits256 { method clear_12_bytes (line 86) | fn clear_12_bytes(bytes: [u8; 32]) -> [u8; 32] { method from (line 95) | fn from(b256: Bits256) -> Self { function from_hex_str_b256 (line 109) | fn from_hex_str_b256() -> Result<()> { function test_param_type_evm_addr (line 131) | fn test_param_type_evm_addr() { function evm_address_clears_first_12_bytes (line 143) | fn evm_address_clears_first_12_bytes() -> Result<()> { function test_into_token_evm_addr (line 158) | fn test_into_token_evm_addr() { FILE: packages/fuels-core/src/types/core/bytes.rs type Bytes (line 4) | pub struct Bytes(pub Vec); method from_hex_str (line 9) | pub fn from_hex_str(hex: &str) -> Result { method eq (line 28) | fn eq(&self, other: &Vec) -> bool { function from (line 22) | fn from(bytes: Bytes) -> Vec { function eq (line 34) | fn eq(&self, other: &Bytes) -> bool { function from_hex_str_b256 (line 44) | fn from_hex_str_b256() -> Result<()> { FILE: packages/fuels-core/src/types/core/identity.rs type Identity (line 20) | pub enum Identity { method as_ref (line 32) | fn as_ref(&self) -> &[u8] { method from (line 41) | fn from(address: &Address) -> Self { method from (line 46) | fn from(address: Address) -> Self { method from (line 52) | fn from(contract_id: &ContractId) -> Self { method from (line 57) | fn from(contract_id: ContractId) -> Self { method default (line 26) | fn default() -> Self { FILE: packages/fuels-core/src/types/core/raw_slice.rs type RawSlice (line 2) | pub struct RawSlice(pub Vec); method eq (line 11) | fn eq(&self, other: &Vec) -> bool { function from (line 5) | fn from(raw_slice: RawSlice) -> Vec { function eq (line 17) | fn eq(&self, other: &RawSlice) -> bool { FILE: packages/fuels-core/src/types/core/sized_ascii_string.rs type AsciiString (line 10) | pub struct AsciiString { method new (line 15) | pub fn new(data: String) -> Result { method to_trimmed_str (line 25) | pub fn to_trimmed_str(&self) -> &str { method to_left_trimmed_str (line 28) | pub fn to_left_trimmed_str(&self) -> &str { method to_right_trimmed_str (line 31) | pub fn to_right_trimmed_str(&self) -> &str { type Error (line 37) | type Error = Error; method try_from (line 39) | fn try_from(value: &str) -> Result { type Error (line 45) | type Error = Error; method try_from (line 47) | fn try_from(value: String) -> Result { method eq (line 71) | fn eq(&self, other: &&str) -> bool { method from (line 53) | fn from(ascii_str: AsciiString) -> Self { function as_ref (line 59) | fn as_ref(&self) -> &str { method fmt (line 65) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function eq (line 76) | fn eq(&self, other: &AsciiString) -> bool { type SizedAsciiString (line 85) | pub struct SizedAsciiString { function new (line 90) | pub fn new(data: String) -> Result { function to_trimmed_str (line 106) | pub fn to_trimmed_str(&self) -> &str { function to_left_trimmed_str (line 109) | pub fn to_left_trimmed_str(&self) -> &str { function to_right_trimmed_str (line 112) | pub fn to_right_trimmed_str(&self) -> &str { function new_with_right_whitespace_padding (line 117) | pub fn new_with_right_whitespace_padding(data: String) -> Result { type Error (line 133) | type Error = Error; function try_from (line 135) | fn try_from(value: &str) -> Result { type Error (line 141) | type Error = Error; function try_from (line 143) | fn try_from(value: String) -> Result { method from (line 149) | fn from(sized_ascii_str: SizedAsciiString) -> Self { method fmt (line 155) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { function eq (line 161) | fn eq(&self, other: &&str) -> bool { function eq (line 167) | fn eq(&self, other: &SizedAsciiString) -> bool { method serialize (line 173) | fn serialize( function deserialize (line 182) | fn deserialize>( function accepts_ascii_of_correct_length (line 195) | fn accepts_ascii_of_correct_length() { function refuses_non_ascii (line 205) | fn refuses_non_ascii() { function refuses_invalid_len (line 216) | fn refuses_invalid_len() { function can_be_constructed_from_str_ref (line 229) | fn can_be_constructed_from_str_ref() { function can_be_constructed_from_string (line 234) | fn can_be_constructed_from_string() { function can_be_converted_into_string (line 239) | fn can_be_converted_into_string() { function can_be_printed (line 249) | fn can_be_printed() { function can_be_compared_w_str_ref (line 256) | fn can_be_compared_w_str_ref() { function trim (line 265) | fn trim() -> Result<()> { function test_can_serialize_sized_ascii (line 280) | fn test_can_serialize_sized_ascii() { function test_can_deserialize_sized_ascii (line 288) | fn test_can_deserialize_sized_ascii() { function test_can_convert_sized_ascii_to_bytes (line 299) | fn test_can_convert_sized_ascii_to_bytes() { FILE: packages/fuels-core/src/types/core/u256.rs method param_type (line 21) | fn param_type() -> ParamType { method from_token (line 27) | fn from_token(token: Token) -> FuelsResult method into_token (line 40) | fn into_token(self) -> Token { method serialize (line 46) | fn serialize(&self, serializer: S) -> Result method deserialize (line 55) | fn deserialize(deserializer: D) -> Result function u256_serialize_deserialize (line 68) | fn u256_serialize_deserialize() { FILE: packages/fuels-core/src/types/dry_runner.rs type DryRun (line 9) | pub struct DryRun { method gas_with_tolerance (line 16) | pub fn gas_with_tolerance(&self, tolerance: f32) -> u64 { type DryRunner (line 25) | pub trait DryRunner: Send + Sync { method dry_run (line 26) | async fn dry_run(&self, tx: FuelTransaction) -> Result; method estimate_gas_price (line 27) | async fn estimate_gas_price(&self, block_horizon: u32) -> Result; method consensus_parameters (line 28) | async fn consensus_parameters(&self) -> Result; method estimate_predicates (line 29) | async fn estimate_predicates( method dry_run (line 39) | async fn dry_run(&self, tx: FuelTransaction) -> Result { method estimate_gas_price (line 43) | async fn estimate_gas_price(&self, block_horizon: u32) -> Result { method consensus_parameters (line 47) | async fn consensus_parameters(&self) -> Result { method estimate_predicates (line 51) | async fn estimate_predicates( FILE: packages/fuels-core/src/types/errors.rs type Reason (line 9) | pub enum Reason { method context (line 27) | pub(crate) fn context(self, context: impl std::fmt::Display) -> Self { type Error (line 52) | pub enum Error { method from (line 66) | fn from(value: std::io::Error) -> Self { method context (line 72) | pub(crate) fn context(self, context: impl Display) -> Self { method from (line 151) | fn from(err: fuel_vm::checked_transaction::CheckError) -> Error { method from (line 157) | fn from(err: fuel_tx::ValidityError) -> Error { type Result (line 83) | pub type Result = std::result::Result; type Context (line 97) | pub trait Context: Sealed { method context (line 98) | fn context(self, context: C) -> Result method with_context (line 102) | fn with_context(self, f: F) -> Result function context (line 112) | fn context(self, context: C) -> Result function with_context (line 120) | fn with_context(self, context: F) -> Result function result_context (line 185) | fn result_context() { function result_with_context (line 207) | fn result_with_context() { FILE: packages/fuels-core/src/types/method_descriptor.rs type MethodDescriptor (line 4) | pub struct MethodDescriptor { method fn_selector (line 13) | pub const fn fn_selector(&self) -> &'static [u8] { method name (line 18) | pub const fn name(&self) -> &'static str { FILE: packages/fuels-core/src/types/param_types/from_type_application.rs method try_from_type_application (line 21) | pub fn try_from_type_application( type Type (line 30) | struct Type { method try_from (line 45) | pub fn try_from( method resolve (line 52) | fn resolve( method determine_generics_for_type (line 122) | fn determine_generics_for_type( type Error (line 170) | type Error = Error; method try_from (line 172) | fn try_from(value: Type) -> Result { type Error (line 178) | type Error = Error; method try_from (line 180) | fn try_from(the_type: &Type) -> Result { function convert_into_param_types (line 209) | fn convert_into_param_types(coll: &[Type]) -> Result> { function named_param_types (line 213) | fn named_param_types(coll: &[Type]) -> Result> { function try_struct (line 219) | fn try_struct(the_type: &Type) -> Result> { function try_vector (line 239) | fn try_vector(the_type: &Type) -> Result> { function try_u128 (line 257) | fn try_u128(the_type: &Type) -> Result> { function try_bytes (line 263) | fn try_bytes(the_type: &Type) -> Result> { function try_std_string (line 269) | fn try_std_string(the_type: &Type) -> Result> { function try_raw_slice (line 275) | fn try_raw_slice(the_type: &Type) -> Result> { function try_enum (line 279) | fn try_enum(the_type: &Type) -> Result> { function try_tuple (line 296) | fn try_tuple(the_type: &Type) -> Result> { function param_types (line 307) | fn param_types(coll: &[Type]) -> Result> { function try_str_array (line 311) | fn try_str_array(the_type: &Type) -> Result> { function try_str_slice (line 315) | fn try_str_slice(the_type: &Type) -> Result> { function try_array (line 323) | fn try_array(the_type: &Type) -> Result> { function try_primitive (line 340) | fn try_primitive(the_type: &Type) -> Result> { function handles_simple_types (line 362) | fn handles_simple_types() -> Result<()> { function handles_arrays (line 402) | fn handles_arrays() -> Result<()> { function handles_vectors (line 449) | fn handles_vectors() -> Result<()> { function handles_structs (line 554) | fn handles_structs() -> Result<()> { function handles_enums (line 619) | fn handles_enums() -> Result<()> { function handles_tuples (line 684) | fn handles_tuples() -> Result<()> { function ultimate_example (line 747) | fn ultimate_example() -> Result<()> { function try_vector_correctly_resolves_param_type (line 1198) | fn try_vector_correctly_resolves_param_type() { function try_bytes_correctly_resolves_param_type (line 1207) | fn try_bytes_correctly_resolves_param_type() { function try_raw_slice_correctly_resolves_param_type (line 1216) | fn try_raw_slice_correctly_resolves_param_type() { function try_std_string_correctly_resolves_param_type (line 1230) | fn try_std_string_correctly_resolves_param_type() { function given_type_with_path (line 1238) | fn given_type_with_path(path: &str) -> Type { function given_generic_type_with_path (line 1247) | fn given_generic_type_with_path(path: &str) -> Type { FILE: packages/fuels-core/src/types/param_types/param_type.rs type NamedParamType (line 3) | pub type NamedParamType = (String, ParamType); type ParamType (line 6) | pub enum ParamType { type ReturnLocation (line 36) | pub enum ReturnLocation { type EnumVariants (line 42) | pub struct EnumVariants { method new (line 47) | pub fn new(variants: Vec) -> Result { method variants (line 55) | pub fn variants(&self) -> &Vec { method param_types (line 59) | pub fn param_types(&self) -> impl Iterator { method select_variant (line 63) | pub fn select_variant(&self, discriminant: u64) -> Result<&NamedParamT... FILE: packages/fuels-core/src/types/token.rs type EnumSelector (line 9) | pub type EnumSelector = (u64, Token, EnumVariants); type StaticStringToken (line 12) | pub struct StaticStringToken { method new (line 18) | pub fn new(data: String, expected_len: Option) -> Self { method validate (line 22) | fn validate(&self) -> Result<()> { method get_encodable_str (line 41) | pub fn get_encodable_str(&self) -> Result<&str> { type Error (line 48) | type Error = Error; method try_from (line 49) | fn try_from(string_token: StaticStringToken) -> Result { type Token (line 56) | pub enum Token { method fmt (line 81) | fn fmt(&self, f: &mut fmt::Formatter) -> fmt::Result { method default (line 87) | fn default() -> Self { FILE: packages/fuels-core/src/types/transaction_builders.rs constant GAS_ESTIMATION_BLOCK_HORIZON (line 48) | const GAS_ESTIMATION_BLOCK_HORIZON: u32 = DEFAULT_GAS_ESTIMATION_BLOCK_H... type UnresolvedWitnessIndexes (line 51) | struct UnresolvedWitnessIndexes { type BuildableTransaction (line 56) | pub trait BuildableTransaction: sealed::Sealed { method with_build_strategy (line 60) | fn with_build_strategy(self, strategy: Self::Strategy) -> Self; method build (line 61) | async fn build(self, provider: impl DryRunner) -> Result; type TxType (line 96) | type TxType = ScriptTransaction; type Strategy (line 97) | type Strategy = ScriptBuildStrategy; method with_build_strategy (line 99) | fn with_build_strategy(mut self, strategy: Self::Strategy) -> Self { method build (line 104) | async fn build(self, provider: impl DryRunner) -> Result { type TxType (line 113) | type TxType = CreateTransaction; type Strategy (line 114) | type Strategy = Strategy; method with_build_strategy (line 116) | fn with_build_strategy(mut self, strategy: Self::Strategy) -> Self { method build (line 121) | async fn build(self, provider: impl DryRunner) -> Result { type TxType (line 130) | type TxType = UploadTransaction; type Strategy (line 131) | type Strategy = Strategy; method with_build_strategy (line 133) | fn with_build_strategy(mut self, strategy: Self::Strategy) -> Self { method build (line 138) | async fn build(self, provider: impl DryRunner) -> Result { type TxType (line 147) | type TxType = UpgradeTransaction; type Strategy (line 148) | type Strategy = Strategy; method with_build_strategy (line 150) | fn with_build_strategy(mut self, strategy: Self::Strategy) -> Self { method build (line 155) | async fn build(self, provider: impl DryRunner) -> Result { type ScriptBuildStrategy (line 67) | pub enum ScriptBuildStrategy { type Strategy (line 83) | pub enum Strategy { type TransactionBuilder (line 161) | pub trait TransactionBuilder: BuildableTransaction + Send + sealed::Seal... method add_signer (line 164) | fn add_signer(&mut self, signer: impl Signer + Send + Sync + 'static) ... method add_signers (line 165) | fn add_signers<'a>( method estimate_max_fee (line 169) | async fn estimate_max_fee(&self, provider: impl DryRunner) -> Result Self; method with_tx_policies (line 171) | fn with_tx_policies(self, tx_policies: TxPolicies) -> Self; method with_inputs (line 172) | fn with_inputs(self, inputs: Vec) -> Self; method with_outputs (line 173) | fn with_outputs(self, outputs: Vec) -> Self; method with_witnesses (line 174) | fn with_witnesses(self, witnesses: Vec) -> Self; method inputs (line 175) | fn inputs(&self) -> &Vec; method inputs_mut (line 176) | fn inputs_mut(&mut self) -> &mut Vec; method outputs (line 177) | fn outputs(&self) -> &Vec; method outputs_mut (line 178) | fn outputs_mut(&mut self) -> &mut Vec; method witnesses (line 179) | fn witnesses(&self) -> &Vec; method witnesses_mut (line 180) | fn witnesses_mut(&mut self) -> &mut Vec; method with_estimation_horizon (line 181) | fn with_estimation_horizon(self, block_horizon: u32) -> Self; function estimate_max_fee_w_tolerance (line 467) | pub(crate) fn estimate_max_fee_w_tolerance( method fmt (line 490) | fn fmt(&self, f: &mut Formatter<'_>) -> std::fmt::Result { type VariableOutputPolicy (line 511) | pub enum VariableOutputPolicy { method default (line 520) | fn default() -> Self { type ScriptTransactionBuilder (line 526) | pub struct ScriptTransactionBuilder { method build (line 691) | async fn build(mut self, provider: impl DryRunner) -> Result Result( method add_variable_outputs (line 858) | async fn add_variable_outputs( method with_variable_output_policy (line 874) | pub fn with_variable_output_policy(mut self, variable_outputs: Variabl... method with_script (line 879) | pub fn with_script(mut self, script: Vec) -> Self { method with_script_data (line 884) | pub fn with_script_data(mut self, script_data: Vec) -> Self { method with_gas_estimation_tolerance (line 889) | pub fn with_gas_estimation_tolerance(mut self, tolerance: f32) -> Self { method with_max_fee_estimation_tolerance (line 894) | pub fn with_max_fee_estimation_tolerance(mut self, max_fee_estimation_... method prepare_transfer (line 899) | pub fn prepare_transfer( method prepare_contract_transfer (line 911) | pub fn prepare_contract_transfer( method prepare_message_to_output (line 954) | pub fn prepare_message_to_output( method default (line 544) | fn default() -> Self { type CreateTransactionBuilder (line 565) | pub struct CreateTransactionBuilder { method build (line 1004) | pub async fn build(mut self, provider: impl DryRunner) -> Result Result Self { method with_bytecode_witness_index (line 1066) | pub fn with_bytecode_witness_index(mut self, bytecode_witness_index: u... method with_storage_slots (line 1071) | pub fn with_storage_slots(mut self, mut storage_slots: Vec) -> Self { method with_max_fee_estimation_tolerance (line 1084) | pub fn with_max_fee_estimation_tolerance(mut self, max_fee_estimation_... method prepare_contract_deployment (line 1089) | pub fn prepare_contract_deployment( method default (line 583) | fn default() -> Self { type UploadTransactionBuilder (line 604) | pub struct UploadTransactionBuilder { method build (line 1112) | pub async fn build(mut self, provider: impl DryRunner) -> Result Result Self { method with_witness_index (line 1178) | pub fn with_witness_index(mut self, witness_index: u16) -> Self { method with_subsection_index (line 1183) | pub fn with_subsection_index(mut self, subsection_index: u16) -> Self { method with_subsections_number (line 1188) | pub fn with_subsections_number(mut self, subsections_number: u16) -> S... method with_proof_set (line 1193) | pub fn with_proof_set(mut self, proof_set: Vec) -> Self { method with_max_fee_estimation_tolerance (line 1198) | pub fn with_max_fee_estimation_tolerance(mut self, max_fee_estimation_... method prepare_subsection_upload (line 1203) | pub fn prepare_subsection_upload( method default (line 628) | fn default() -> Self { type UpgradeTransactionBuilder (line 650) | pub struct UpgradeTransactionBuilder { method build (line 1231) | pub async fn build(mut self, provider: impl DryRunner) -> Result Result Self { method with_max_fee_estimation_tolerance (line 1289) | pub fn with_max_fee_estimation_tolerance(mut self, max_fee_estimation_... method prepare_state_transition_upgrade (line 1294) | pub fn prepare_state_transition_upgrade(root: Bytes32, tx_policies: Tx... method prepare_consensus_parameters_upgrade (line 1300) | pub fn prepare_consensus_parameters_upgrade( method default (line 666) | fn default() -> Self { function add_variable_outputs (line 992) | fn add_variable_outputs(tx: &mut fuel_tx::Script, variable_outputs: usiz... function resolve_fuel_inputs (line 1324) | fn resolve_fuel_inputs( function resolve_signed_resource (line 1357) | fn resolve_signed_resource( function resolve_predicate_resource (line 1398) | fn resolve_predicate_resource( function create_coin_input (line 1413) | pub fn create_coin_input(coin: Coin, witness_index: u16) -> FuelInput { function create_coin_message_input (line 1424) | pub fn create_coin_message_input(message: Message, witness_index: u16) -... function create_coin_predicate (line 1445) | pub fn create_coin_predicate( function create_coin_message_predicate (line 1463) | pub fn create_coin_message_predicate( function generate_missing_witnesses (line 1492) | async fn generate_missing_witnesses( function storage_slots_are_sorted_when_set (line 1518) | fn storage_slots_are_sorted_when_set() { function given_a_storage_slot (line 1528) | fn given_a_storage_slot(key: u8) -> StorageSlot { function create_message_coin_signed_if_data_is_empty (line 1536) | fn create_message_coin_signed_if_data_is_empty() { function create_message_data_signed_if_data_is_not_empty (line 1544) | fn create_message_data_signed_if_data_is_not_empty() { function create_message_coin_predicate_if_data_is_empty (line 1552) | fn create_message_coin_predicate_if_data_is_empty() { function create_message_data_predicate_if_data_is_not_empty (line 1560) | fn create_message_data_predicate_if_data_is_not_empty() { function given_a_message (line 1567) | fn given_a_message(data: Vec) -> Message { function given_a_coin (line 1579) | fn given_a_coin(tx_id: [u8; 32], owner: [u8; 32], amount: u64) -> Coin { function given_inputs (line 1588) | fn given_inputs(num_inputs: u8) -> Vec { function given_witnesses (line 1597) | fn given_witnesses(num_witnesses: usize) -> Vec { type MockDryRunner (line 1601) | struct MockDryRunner { method default (line 1606) | fn default() -> Self { method dry_run (line 1616) | async fn dry_run(&self, _: FuelTransaction) -> Result { method consensus_parameters (line 1624) | async fn consensus_parameters(&self) -> Result { method estimate_gas_price (line 1628) | async fn estimate_gas_price(&self, _block_horizon: u32) -> Result { method estimate_predicates (line 1632) | async fn estimate_predicates( function create_tx_builder_witness_indexes_set_correctly (line 1642) | async fn create_tx_builder_witness_indexes_set_correctly() -> Result<()> { function script_tx_builder_witness_indexes_set_correctly (line 1679) | async fn script_tx_builder_witness_indexes_set_correctly() -> Result<()> { function build_w_enable_burn (line 1716) | async fn build_w_enable_burn() -> Result<()> { function build_w_enable_burn_predicates (line 1722) | async fn build_w_enable_burn_predicates() -> Result<()> { function build_w_enable_burn_messages (line 1734) | async fn build_w_enable_burn_messages() -> Result<()> { function build_w_enable_burn_predicates_message (line 1741) | async fn build_w_enable_burn_predicates_message() -> Result<()> { function test_enable_burn (line 1752) | async fn test_enable_burn(input: Input) -> Result<()> { type MockSigner (line 1775) | struct MockSigner { method sign (line 1783) | async fn sign(&self, _message: fuel_crypto::Message) -> Result { method address (line 1786) | fn address(&self) -> Address { function add_signer_called_multiple_times (line 1793) | async fn add_signer_called_multiple_times() { FILE: packages/fuels-core/src/types/transaction_builders/blob.rs type Blob (line 31) | pub struct Blob { method from (line 38) | fn from(data: Vec) -> Self { method as_ref (line 44) | fn as_ref(&self) -> &[u8] { method new (line 50) | pub fn new(data: Vec) -> Self { method len (line 54) | pub fn len(&self) -> usize { method is_empty (line 58) | pub fn is_empty(&self) -> bool { method id (line 62) | pub fn id(&self) -> BlobId { method bytes (line 66) | pub fn bytes(&self) -> &[u8] { method as_blob_body (line 70) | fn as_blob_body(&self, witness_index: u16) -> fuel_tx::BlobBody { type BlobId (line 35) | pub type BlobId = [u8; 32]; function from (line 79) | fn from(value: Blob) -> Self { function from (line 85) | fn from(blob: Blob) -> Self { type BlobTransactionBuilder (line 91) | pub struct BlobTransactionBuilder { method estimate_max_blob_size (line 127) | pub async fn estimate_max_blob_size(&self, provider: &impl DryRunner) ... method build (line 149) | pub async fn build(mut self, provider: impl DryRunner) -> Result Resul... method with_blob (line 211) | pub fn with_blob(mut self, blob: Blob) -> Self { method with_max_fee_estimation_tolerance (line 216) | pub fn with_max_fee_estimation_tolerance(mut self, max_fee_estimation_... method default (line 106) | fn default() -> Self { type TxType (line 226) | type TxType = BlobTransaction; type Strategy (line 227) | type Strategy = Strategy; method with_build_strategy (line 229) | fn with_build_strategy(mut self, strategy: Self::Strategy) -> Self { method build (line 234) | async fn build(self, provider: impl DryRunner) -> Result { FILE: packages/fuels-core/src/types/transaction_builders/script_tx_estimator.rs type ScriptTxEstimator (line 16) | pub(crate) struct ScriptTxEstimator { function new (line 24) | pub fn new( function run (line 39) | pub async fn run( function prepare_for_estimation (line 50) | pub async fn prepare_for_estimation( function last_dry_run (line 66) | pub fn last_dry_run(&self) -> Option { function _run (line 70) | async fn _run(&mut self, tx: fuel_tx::Script) -> Result { function set_script_gas_limit_to_max (line 77) | fn set_script_gas_limit_to_max( function saturate_with_variable_outputs (line 86) | fn saturate_with_variable_outputs( function add_fake_witnesses (line 103) | fn add_fake_witnesses(&self, tx: &mut fuel_tx::Script) { function add_fake_coins (line 110) | fn add_fake_coins(&self, tx: &mut fuel_tx::Script, consensus_params: &Co... function needs_fake_base_input (line 122) | fn needs_fake_base_input( FILE: packages/fuels-core/src/types/tx_response.rs type TxResponse (line 6) | pub struct TxResponse { FILE: packages/fuels-core/src/types/tx_status.rs type Success (line 24) | pub struct Success { type SqueezedOut (line 31) | pub struct SqueezedOut { type Failure (line 36) | pub struct Failure { type TxStatus (line 45) | pub enum TxStatus { method check (line 55) | pub fn check(&self, log_decoder: Option<&LogDecoder>) -> Result<()> { method take_success_checked (line 75) | pub fn take_success_checked(self, log_decoder: Option<&LogDecoder>) ->... method total_gas (line 104) | pub fn total_gas(&self) -> u64 { method total_fee (line 112) | pub fn total_fee(&self) -> u64 { method map_revert_error (line 120) | fn map_revert_error( method take_receipts_checked (line 195) | pub fn take_receipts_checked( method take_receipts (line 203) | pub fn take_receipts(self) -> Arc> { method is_final (line 211) | pub fn is_final(&self) -> bool { method from (line 221) | fn from(client_status: ClientTransactionStatus) -> Self { method from (line 287) | fn from(value: TransactionExecutionStatus) -> Self { FILE: packages/fuels-core/src/types/wrappers/block.rs type Header (line 10) | pub struct Header { method from (line 27) | fn from(client_header: ClientHeader) -> Self { type Block (line 49) | pub struct Block { method from (line 56) | fn from(client_block: ClientBlock) -> Self { FILE: packages/fuels-core/src/types/wrappers/chain_info.rs type ChainInfo (line 9) | pub struct ChainInfo { method from (line 17) | fn from(client_chain_info: ClientChainInfo) -> Self { FILE: packages/fuels-core/src/types/wrappers/coin.rs type Coin (line 12) | pub struct Coin { method from (line 20) | fn from(coin: ClientCoin) -> Self { method from (line 31) | fn from(coin: Coin) -> CoinConfig { FILE: packages/fuels-core/src/types/wrappers/coin_type.rs type CoinType (line 8) | pub enum CoinType { method from (line 15) | fn from(client_resource: ClientCoinType) -> Self { method id (line 25) | pub fn id(&self) -> Option { method amount (line 33) | pub fn amount(&self) -> u64 { method coin_asset_id (line 41) | pub fn coin_asset_id(&self) -> Option { method asset_id (line 49) | pub fn asset_id(&self, base_asset_id: AssetId) -> Option { method owner (line 57) | pub fn owner(&self) -> Option<&Address> { FILE: packages/fuels-core/src/types/wrappers/coin_type_id.rs type CoinTypeId (line 5) | pub enum CoinTypeId { FILE: packages/fuels-core/src/types/wrappers/input.rs type Input (line 11) | pub enum Input { method resource_signed (line 30) | pub const fn resource_signed(resource: CoinType) -> Self { method resource_predicate (line 34) | pub const fn resource_predicate(resource: CoinType, code: Vec, dat... method amount (line 42) | pub fn amount(&self) -> Option { method contains_data (line 51) | pub fn contains_data(&self) -> bool { method contract (line 65) | pub const fn contract( FILE: packages/fuels-core/src/types/wrappers/message.rs type MessageStatus (line 10) | pub enum MessageStatus { type Message (line 17) | pub struct Message { method message_id (line 28) | pub fn message_id(&self) -> MessageId { method from (line 40) | fn from(message: ClientMessage) -> Self { method from (line 54) | fn from(message: ClientMessageCoin) -> Self { method from (line 68) | fn from(message: Message) -> MessageConfig { FILE: packages/fuels-core/src/types/wrappers/message_proof.rs type MerkleProof (line 10) | pub struct MerkleProof { method from (line 18) | fn from(client_merkle_proof: ClientMerkleProof) -> Self { type MessageProof (line 27) | pub struct MessageProof { method from (line 46) | fn from(client_message_proof: ClientMessageProof) -> Self { FILE: packages/fuels-core/src/types/wrappers/node_info.rs type NodeInfo (line 6) | pub struct NodeInfo { method from (line 15) | fn from(client_node_info: ClientNodeInfo) -> Self { FILE: packages/fuels-core/src/types/wrappers/transaction.rs type Transactions (line 34) | pub struct Transactions { method new (line 39) | pub fn new() -> Self { method insert (line 43) | pub fn insert(mut self, tx: impl Into) -> Self { method as_slice (line 49) | pub fn as_slice(&self) -> &[FuelTransaction] { type MintTransaction (line 55) | pub struct MintTransaction { method from (line 72) | fn from(tx: Mint) -> Self { method check_without_signatures (line 78) | pub fn check_without_signatures( method id (line 88) | pub fn id(&self, chain_id: ChainId) -> Bytes32 { method mint_asset_id (line 93) | pub fn mint_asset_id(&self) -> &AssetId { method mint_amount (line 98) | pub fn mint_amount(&self) -> u64 { method from (line 60) | fn from(mint: MintTransaction) -> Self { method from (line 66) | fn from(tx: MintTransaction) -> Self { type TxPolicies (line 105) | pub struct TxPolicies { method new (line 117) | pub fn new( method with_tip (line 137) | pub fn with_tip(mut self, tip: u64) -> Self { method tip (line 142) | pub fn tip(&self) -> Option { method with_witness_limit (line 146) | pub fn with_witness_limit(mut self, witness_limit: u64) -> Self { method witness_limit (line 151) | pub fn witness_limit(&self) -> Option { method with_maturity (line 155) | pub fn with_maturity(mut self, maturity: u64) -> Self { method maturity (line 160) | pub fn maturity(&self) -> Option { method with_expiration (line 164) | pub fn with_expiration(mut self, expiration: u64) -> Self { method expiration (line 169) | pub fn expiration(&self) -> Option { method with_max_fee (line 173) | pub fn with_max_fee(mut self, max_fee: u64) -> Self { method max_fee (line 178) | pub fn max_fee(&self) -> Option { method with_script_gas_limit (line 182) | pub fn with_script_gas_limit(mut self, script_gas_limit: u64) -> Self { method script_gas_limit (line 187) | pub fn script_gas_limit(&self) -> Option { method with_owner (line 191) | pub fn with_owner(mut self, owner: u64) -> Self { method owner (line 196) | pub fn owner(&self) -> Option { type TransactionType (line 206) | pub enum TransactionType { type EstimablePredicates (line 218) | pub trait EstimablePredicates: sealed::Sealed { method estimate_predicates (line 222) | async fn estimate_predicates( method estimate_predicates (line 567) | async fn estimate_predicates( method estimate_predicates (line 585) | async fn estimate_predicates( method estimate_predicates (line 605) | async fn estimate_predicates( method estimate_predicates (line 637) | async fn estimate_predicates( method estimate_predicates (line 655) | async fn estimate_predicates( type ValidatablePredicates (line 229) | pub trait ValidatablePredicates: sealed::Sealed { method validate_predicates (line 232) | fn validate_predicates( type Transaction (line 241) | pub trait Transaction: method fee_checked_from_tx (line 250) | fn fee_checked_from_tx( method max_gas (line 256) | fn max_gas(&self, consensus_parameters: &ConsensusParameters) -> u64; method check (line 261) | fn check(&self, block_height: u32, consensus_parameters: &ConsensusPar... method id (line 263) | fn id(&self, chain_id: ChainId) -> Bytes32; method maturity (line 265) | fn maturity(&self) -> Option; method expiration (line 267) | fn expiration(&self) -> Option; method owner (line 269) | fn owner(&self) -> Option; method metered_bytes_size (line 271) | fn metered_bytes_size(&self) -> usize; method inputs (line 273) | fn inputs(&self) -> &Vec; method outputs (line 275) | fn outputs(&self) -> &Vec; method witnesses (line 277) | fn witnesses(&self) -> &Vec; method max_fee (line 279) | fn max_fee(&self) -> Option; method size (line 281) | fn size(&self) -> usize; method witness_limit (line 283) | fn witness_limit(&self) -> Option; method tip (line 285) | fn tip(&self) -> Option; method is_using_predicates (line 287) | fn is_using_predicates(&self) -> bool; method precompute (line 291) | fn precompute(&mut self, chain_id: &ChainId) -> Result<()>; method append_witness (line 294) | fn append_witness(&mut self, witness: Witness) -> Result; method used_coins (line 296) | fn used_coins(&self, base_asset_id: &AssetId) -> HashMap<(Address, Ass... method sign_with (line 298) | async fn sign_with( type Error (line 306) | type Error = Error; method try_from (line 307) | fn try_from(value: TransactionType) -> Result { function extract_coin_type_id (line 320) | fn extract_coin_type_id(input: &Input) -> Option { function extract_owner_or_recipient (line 330) | pub fn extract_owner_or_recipient(input: &Input) -> Option
{ method salt (line 621) | pub fn salt(&self) -> &FuelSalt { method bytecode_witness_index (line 625) | pub fn bytecode_witness_index(&self) -> u16 { method storage_slots (line 629) | pub fn storage_slots(&self) -> &Vec { method script (line 671) | pub fn script(&self) -> &Vec { method script_data (line 675) | pub fn script_data(&self) -> &Vec { method gas_limit (line 679) | pub fn gas_limit(&self) -> u64 { method with_gas_limit (line 683) | pub fn with_gas_limit(mut self, gas_limit: u64) -> Self { function append_witnesses_returns_error_when_limit_exceeded (line 697) | fn append_witnesses_returns_error_when_limit_exceeded() { FILE: packages/fuels-core/src/types/wrappers/transaction_response.rs type TransactionResponse (line 14) | pub struct TransactionResponse { method from (line 22) | fn from(client_response: ClientTransactionResponse) -> Self { FILE: packages/fuels-core/src/utils.rs function checked_round_up_to_word_alignment (line 9) | pub fn checked_round_up_to_word_alignment(bytes_len: usize) -> Result(); constant DEFAULT_CALL_PARAMS_AMOUNT (line 7) | pub const DEFAULT_CALL_PARAMS_AMOUNT: u64 = 0; constant DEFAULT_GAS_ESTIMATION_TOLERANCE (line 10) | pub const DEFAULT_GAS_ESTIMATION_TOLERANCE: f64 = 0.2; constant DEFAULT_GAS_ESTIMATION_BLOCK_HORIZON (line 11) | pub const DEFAULT_GAS_ESTIMATION_BLOCK_HORIZON: u32 = 5; constant WITNESS_STATIC_SIZE (line 14) | pub const WITNESS_STATIC_SIZE: usize = 8; constant SIGNATURE_SIZE (line 15) | const SIGNATURE_SIZE: usize = 64; constant SIGNATURE_WITNESS_SIZE (line 16) | pub const SIGNATURE_WITNESS_SIZE: usize = WITNESS_STATIC_SIZE + SIGNATUR... FILE: packages/fuels-core/src/utils/offsets.rs function base_offset_script (line 9) | pub fn base_offset_script(consensus_parameters: &ConsensusParameters) ->... function call_script_data_offset (line 15) | pub fn call_script_data_offset( FILE: packages/fuels-macros/src/abigen/parsing.rs function from (line 10) | fn from(targets: MacroAbigenTargets) -> Self { method from (line 16) | fn from(macro_target: MacroAbigenTarget) -> Self { type MacroAbigenTarget (line 28) | pub(crate) struct MacroAbigenTarget { method new (line 50) | pub fn new(command: Command) -> Result { method parse_inline_or_load_abi (line 67) | fn parse_inline_or_load_abi(abi_lit_str: &LitStr) -> Result { type MacroAbigenTargets (line 34) | pub(crate) struct MacroAbigenTargets { method parse (line 39) | fn parse(input: ParseStream) -> Result { FILE: packages/fuels-macros/src/derive/parameterize.rs function generate_parameterize_impl (line 10) | pub fn generate_parameterize_impl(input: DeriveInput) -> Result Result Result { function impl_try_from (line 25) | fn impl_try_from( FILE: packages/fuels-macros/src/derive/utils.rs function get_path_from_attr_or (line 8) | pub(crate) fn get_path_from_attr_or( function find_attr (line 40) | pub(crate) fn find_attr<'a>(name: &str, attrs: &'a [Attribute]) -> Optio... type VariantInfo (line 49) | pub(crate) struct VariantInfo { type ExtractedVariant (line 54) | pub(crate) enum ExtractedVariant { function extract_variants (line 64) | pub(crate) fn extract_variants( type ExtractedVariants (line 104) | pub(crate) struct ExtractedVariants { method variant_into_discriminant_and_token (line 110) | pub(crate) fn variant_into_discriminant_and_token(&self) -> TokenStream { method variant_from_discriminant_and_token (line 141) | pub(crate) fn variant_from_discriminant_and_token(&self, no_std: bool)... function validate_variant_type (line 173) | fn validate_variant_type(variant: &Variant) -> Result<()> { function std_lib_path (line 197) | pub(crate) fn std_lib_path(no_std: bool) -> TokenStream { FILE: packages/fuels-macros/src/lib.rs function abigen (line 36) | pub fn abigen(input: TokenStream) -> TokenStream { function wasm_abigen (line 45) | pub fn wasm_abigen(input: TokenStream) -> TokenStream { function setup_program_test (line 57) | pub fn setup_program_test(input: TokenStream) -> TokenStream { function parameterize (line 66) | pub fn parameterize(stream: TokenStream) -> TokenStream { function tokenizable (line 75) | pub fn tokenizable(stream: TokenStream) -> TokenStream { function try_from (line 84) | pub fn try_from(stream: TokenStream) -> TokenStream { FILE: packages/fuels-macros/src/parse_utils.rs type ErrorsExt (line 15) | pub(crate) trait ErrorsExt: Iterator + Sized { method combine_errors (line 16) | fn combine_errors(self) -> Option; method validate_no_errors (line 17) | fn validate_no_errors(self) -> Result<(), Self::Item>; method combine_errors (line 24) | fn combine_errors(self) -> Option { method validate_no_errors (line 31) | fn validate_no_errors(self) -> Result<(), Self::Item> { function generate_duplicate_error (line 40) | fn generate_duplicate_error(duplicates: &[&T]) -> Error function group_up_duplicates (line 57) | fn group_up_duplicates(name_values: &[T], key: KeyFn) -> Ve... function validate_no_duplicates (line 75) | fn validate_no_duplicates(elements: &[T], key_fn: KeyFn) ->... function validate_and_extract_generic_types (line 87) | pub fn validate_and_extract_generic_types(generics: &Generics) -> syn::R... type Member (line 104) | enum Member { type Members (line 109) | pub(crate) struct Members { method from_struct (line 115) | pub(crate) fn from_struct( method from_enum (line 151) | pub(crate) fn from_enum(data: DataEnum, fuels_core_path: TokenStream) ... method names (line 191) | pub(crate) fn names(&self) -> impl Iterator + '_ { method names_as_strings (line 201) | pub(crate) fn names_as_strings(&self) -> impl Iterator impl Iterator + '_ { method param_type_calls (line 218) | pub(crate) fn param_type_calls(&self) -> impl Iterator bool { FILE: packages/fuels-macros/src/parse_utils/command.rs type Command (line 11) | pub struct Command { method parse_multiple (line 17) | pub fn parse_multiple(input: ParseStream) -> syn::Result> { method new (line 25) | pub fn new(meta: Meta) -> syn::Result { method parse_nested_metas (line 46) | pub fn parse_nested_metas(self) -> syn::Result> { method parse_multiple_from_token_stream (line 51) | pub(crate) fn parse_multiple_from_token_stream( method parse_single_from_token_stream (line 58) | pub(crate) fn parse_single_from_token_stream( function command_name_is_properly_extracted (line 73) | fn command_name_is_properly_extracted() -> syn::Result<()> { FILE: packages/fuels-macros/src/parse_utils/unique_lit_strs.rs type UniqueLitStrs (line 9) | pub struct UniqueLitStrs { method new (line 15) | pub fn new(tokens: TokenStream) -> Result { method iter (line 26) | pub fn iter(&self) -> impl Iterator { method span (line 31) | pub fn span(&self) -> Span { type Item (line 37) | type Item = LitStr; type IntoIter (line 38) | type IntoIter = IntoIter; method into_iter (line 40) | fn into_iter(self) -> Self::IntoIter { function correctly_reads_lit_strs (line 54) | fn correctly_reads_lit_strs() -> Result<()> { function doesnt_allow_duplicates (line 73) | fn doesnt_allow_duplicates() { function only_strings_allowed (line 86) | fn only_strings_allowed() { function parse_unique_lit_strs (line 94) | fn parse_unique_lit_strs(stream: TokenStream) -> Result { FILE: packages/fuels-macros/src/parse_utils/unique_name_values.rs type UniqueNameValues (line 14) | pub struct UniqueNameValues { method new (line 20) | pub fn new(tokens: TokenStream) -> syn::Result { method try_get (line 36) | pub fn try_get(&self, name: &str) -> Option<&Lit> { method validate_has_no_other_names (line 40) | pub fn validate_has_no_other_names(&self, allowed_names: &[&str]) -> s... method get_as_lit_str (line 58) | pub fn get_as_lit_str(&self, name: &str) -> syn::Result<&LitStr> { method extract_name_values (line 73) | fn extract_name_values>( function name_values_correctly_parsed (line 110) | fn name_values_correctly_parsed() -> syn::Result<()> { function duplicates_cause_errors (line 134) | fn duplicates_cause_errors() { function attr_names_cannot_be_paths (line 147) | fn attr_names_cannot_be_paths() { function only_name_value_is_accepted (line 159) | fn only_name_value_is_accepted() { function validates_correct_names (line 168) | fn validates_correct_names() -> syn::Result<()> { function catches_incorrect_names (line 180) | fn catches_incorrect_names() -> syn::Result<()> { function can_get_lit_strs (line 197) | fn can_get_lit_strs() -> syn::Result<()> { function cannot_get_lit_str_if_type_is_wrong (line 208) | fn cannot_get_lit_str_if_type_is_wrong() -> syn::Result<()> { function lit_str_getter_complains_value_is_missing (line 224) | fn lit_str_getter_complains_value_is_missing() -> syn::Result<()> { function extract_name_values (line 236) | fn extract_name_values(stream: TokenStream) -> syn::Result) -> syn::Result... function parse_abigen_targets (line 64) | fn parse_abigen_targets( function wallet_initialization_code (line 82) | fn wallet_initialization_code(maybe_command: Option Vec { function contract_deploying_code (line 117) | fn contract_deploying_code( function script_loading_code (line 175) | fn script_loading_code( type Project (line 202) | struct Project { method new (line 210) | fn new(program_type: ProgramType, dir: &LitStr, profile: BuildProfile)... method compile_file_path (line 226) | fn compile_file_path(&self, suffix: &str, description: &str) -> String { method project_name (line 241) | fn project_name(&self) -> &str { method abi_path (line 249) | fn abi_path(&self) -> String { method bin_path (line 253) | fn bin_path(&self) -> String { FILE: packages/fuels-macros/src/setup_program_test/parsing/commands.rs type TestProgramCommands (line 29) | pub(crate) struct TestProgramCommands { method parse (line 46) | fn parse(input: ParseStream) -> Result { FILE: packages/fuels-macros/src/setup_program_test/parsing/commands/abigen.rs type TargetInfo (line 10) | pub(crate) struct TargetInfo { type Error (line 17) | type Error = Error; method try_from (line 19) | fn try_from(command: Command) -> Result { type AbigenCommand (line 37) | pub(crate) struct AbigenCommand { type Error (line 43) | type Error = Error; method try_from (line 45) | fn try_from(command: Command) -> Result { FILE: packages/fuels-macros/src/setup_program_test/parsing/commands/deploy_contract.rs type DeployContractCommand (line 8) | pub struct DeployContractCommand { type Error (line 16) | type Error = Error; method try_from (line 18) | fn try_from(command: Command) -> Result { FILE: packages/fuels-macros/src/setup_program_test/parsing/commands/initialize_wallet.rs type InitializeWalletCommand (line 9) | pub struct InitializeWalletCommand { type Error (line 15) | type Error = Error; method try_from (line 17) | fn try_from(command: Command) -> Result { FILE: packages/fuels-macros/src/setup_program_test/parsing/commands/load_script.rs type LoadScriptCommand (line 8) | pub struct LoadScriptCommand { type Error (line 15) | type Error = Error; method try_from (line 17) | fn try_from(command: Command) -> Result { FILE: packages/fuels-macros/src/setup_program_test/parsing/commands/set_options.rs type BuildProfile (line 8) | pub enum BuildProfile { method fmt (line 27) | fn fmt(&self, f: &mut fmt::Formatter<'_>) -> fmt::Result { type Err (line 15) | type Err = &'static str; method from_str (line 17) | fn from_str(s: &str) -> Result { type SetOptionsCommand (line 40) | pub struct SetOptionsCommand { type Error (line 45) | type Error = Error; method try_from (line 47) | fn try_from(command: Command) -> Result { FILE: packages/fuels-macros/src/setup_program_test/parsing/validations.rs function extract_the_abigen_command (line 14) | pub(crate) fn extract_the_abigen_command( function validate_all_contracts_are_known (line 32) | pub(crate) fn validate_all_contracts_are_known( function validate_all_scripts_are_known (line 56) | pub(crate) fn validate_all_scripts_are_known( function validate_zero_or_one_wallet_command_present (line 80) | pub(crate) fn validate_zero_or_one_wallet_command_present( function names_of_program_bindings (line 95) | fn names_of_program_bindings( function extract_contracts_to_deploy (line 106) | fn extract_contracts_to_deploy(commands: &[DeployContractCommand]) -> Ha... function extract_scripts_to_load (line 110) | fn extract_scripts_to_load(commands: &[LoadScriptCommand]) -> HashSet<&L... FILE: packages/fuels-macros/tests/macro_usage.rs function ui (line 4) | fn ui() { FILE: packages/fuels-macros/tests/ui/abigen/duplicate_attribute.rs function main (line 10) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/invalid_abi_path.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/invalid_abi_value.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/invalid_name_value.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/invalid_program_type.rs function main (line 8) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/malformed_abi.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/missing_abi_attribute.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/missing_name_attr.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/abigen/unrecognized_attribute.rs function main (line 9) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/parameterize/attribute_must_be_named_value.rs type SomeEnum (line 5) | enum SomeEnum { type SomeStruct (line 11) | struct SomeStruct {} function main (line 13) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/parameterize/only_generic_types_are_supported.rs type SomeEnum (line 4) | enum SomeEnum { type AnotherEnum (line 9) | enum AnotherEnum<'a> { type SomeStruct (line 14) | struct SomeStruct {} type AnotherStruct (line 17) | struct AnotherStruct<'a> { function main (line 21) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/parameterize/only_one_variant_element_supported.rs type SomeEnum (line 4) | enum SomeEnum { type AnotherEnum (line 10) | enum AnotherEnum { function main (line 14) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/parameterize/struct_like_enum_variants_not_supported.rs type SomeEnum (line 4) | enum SomeEnum { function main (line 9) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/parameterize/tuple_like_structs_not_supported.rs type SomeStruct (line 4) | struct SomeStruct(pub u64, pub String); function main (line 6) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/tokenizable/only_generic_types_are_supported.rs type SomeEnum (line 4) | enum SomeEnum { type AnotherEnum (line 9) | enum AnotherEnum<'a> { type SomeStruct (line 14) | struct SomeStruct {} type AnotherStruct (line 17) | struct AnotherStruct<'a> { function main (line 21) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/tokenizable/only_one_variant_element_supported.rs type SomeEnum (line 4) | enum SomeEnum { type AnotherEnum (line 10) | enum AnotherEnum { function main (line 14) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/tokenizable/struct_like_enum_variants_not_supported.rs type SomeEnum (line 4) | enum SomeEnum { function main (line 9) | fn main() {} FILE: packages/fuels-macros/tests/ui/derive/tokenizable/tuple_like_structs_not_supported.rs type SomeStruct (line 4) | struct SomeStruct(pub u64, pub String); function main (line 6) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/abigen_command_is_missing.rs function main (line 9) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/duplicate_wallet_command.rs function main (line 9) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/duplicate_wallet_names.rs function main (line 8) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/invalid_path.rs function main (line 8) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/invalid_project_path.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/unknown_command.rs function main (line 13) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/unknown_contract.rs function main (line 12) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/unknown_options_key.rs function main (line 5) | fn main() {} FILE: packages/fuels-macros/tests/ui/setup_program_test/unknown_options_value.rs function main (line 5) | fn main() {} FILE: packages/fuels-programs/src/assembly/contract_call.rs type ContractCallInstructions (line 8) | pub struct ContractCallInstructions { method new (line 22) | pub fn new(opcode_params: CallOpcodeParamsOffset) -> Self { method into_bytes (line 29) | pub fn into_bytes(self) -> impl Iterator { method generate_instructions (line 46) | fn generate_instructions(offsets: CallOpcodeParamsOffset) -> Vec Option<&[In... method extract_gas_fwd_variant (line 97) | fn extract_gas_fwd_variant(instructions: &[Instruction]) -> Option<&[I... method extract_from (line 107) | pub fn extract_from(instructions: &[Instruction]) -> Option { method len (line 121) | pub fn len(&self) -> usize { method call_data_offset (line 125) | pub fn call_data_offset(&self) -> u32 { method is_gas_fwd_variant (line 133) | pub fn is_gas_fwd_variant(&self) -> bool { method extract_if_match (line 137) | fn extract_if_match<'a>( type Item (line 14) | type Item = Instruction; type IntoIter (line 15) | type IntoIter = std::vec::IntoIter; method into_iter (line 16) | fn into_iter(self) -> Self::IntoIter { type ContractCallData (line 154) | pub struct ContractCallData { method decode_fn_selector (line 164) | pub fn decode_fn_selector(&self) -> Result { method encode (line 178) | pub fn encode(&self, memory_offset: usize, buffer: &mut Vec) -> Ca... method decode (line 216) | pub fn decode(data: &[u8], gas_fwd: bool) -> Result { type CallOpcodeParamsOffset (line 263) | pub struct CallOpcodeParamsOffset { function loader_contract_asm (line 271) | pub fn loader_contract_asm(blob_ids: &[[u8; 32]]) -> Result> { FILE: packages/fuels-programs/src/assembly/cursor.rs type WasmFriendlyCursor (line 3) | pub struct WasmFriendlyCursor<'a> { function new (line 8) | pub fn new(data: &'a [u8]) -> Self { function consume (line 12) | pub fn consume(&mut self, amount: usize, ctx: &'static str) -> Result<&'... function consume_fixed (line 27) | pub fn consume_fixed( function consume_all (line 39) | pub fn consume_all(&mut self) -> &'a [u8] { function unconsumed (line 47) | pub fn unconsumed(&self) -> usize { FILE: packages/fuels-programs/src/assembly/script_and_predicate_loader.rs type LoaderCode (line 16) | pub struct LoaderCode { method from_normal_binary (line 26) | pub fn from_normal_binary(binary: Vec) -> Result { method from_loader_binary (line 40) | pub fn from_loader_binary(binary: &[u8]) -> Result> { method extract_blob (line 53) | pub fn extract_blob(binary: &[u8]) -> Result &[u8] { method configurables_section_offset (line 62) | pub fn configurables_section_offset(&self) -> usize { method generate_loader_code (line 66) | fn generate_loader_code(blob_id: [u8; 32], split_section: &[u8]) -> (V... method blob_id (line 74) | pub fn blob_id(&self) -> [u8; 32] { function extract_blob_id_and_section_offset (line 79) | fn extract_blob_id_and_section_offset(binary: &[u8]) -> Result( function generate_loader_wo_configurables (line 127) | fn generate_loader_wo_configurables(blob_id: [u8; 32]) -> (Vec, usiz... function generate_loader_w_configurables (line 141) | fn generate_loader_w_configurables( function loader_instructions_no_configurables (line 177) | fn loader_instructions_no_configurables() -> [Instruction; 8] { function loader_instructions_w_configurables (line 223) | pub fn loader_instructions_w_configurables() -> [Instruction; 12] { function extract_configurables_offset (line 289) | pub fn extract_configurables_offset(binary: &[u8]) -> Result { function split_at_configurables_offset (line 302) | pub fn split_at_configurables_offset(binary: &[u8]) -> Result<(&[u8], &[... function extract_data_offset (line 315) | pub fn extract_data_offset(binary: &[u8]) -> Result { function split_at_data_offset (line 328) | pub fn split_at_data_offset(binary: &[u8]) -> Result<(&[u8], &[u8])> { function split_for_loader (line 340) | pub fn split_for_loader(binary: &[u8]) -> Result<(&[u8], &[u8])> { function get_offset_for_section_containing_configurables (line 349) | pub fn get_offset_for_section_containing_configurables(binary: &[u8]) ->... function has_configurables_section_offset (line 357) | pub fn has_configurables_section_offset(binary: &[u8]) -> Result { FILE: packages/fuels-programs/src/calls.rs type Execution (line 15) | pub struct Execution { method realistic (line 23) | pub fn realistic() -> Self { method state_read_only (line 31) | pub fn state_read_only() -> Self { method at_height (line 40) | pub fn at_height(mut self, height: impl Into) -> Self { method default (line 47) | fn default() -> Self { type ExecutionType (line 53) | pub(crate) enum ExecutionType { FILE: packages/fuels-programs/src/calls/call_handler.rs type ContractDependency (line 33) | pub trait ContractDependency { method id (line 34) | fn id(&self) -> ContractId; method log_decoder (line 35) | fn log_decoder(&self) -> LogDecoder; type CallHandler (line 41) | pub struct CallHandler { function with_tx_policies (line 61) | pub fn with_tx_policies(mut self, tx_policies: TxPolicies) -> Self { function with_decoder_config (line 66) | pub fn with_decoder_config(mut self, decoder_config: DecoderConfig) -> S... function with_variable_output_policy (line 79) | pub fn with_variable_output_policy(mut self, variable_outputs: VariableO... function add_signer (line 84) | pub fn add_signer(mut self, signer: impl Signer + Send + Sync + 'static)... function transaction_builder (line 96) | pub async fn transaction_builder(&self) -> Result Result { function estimate_transaction_cost (line 141) | pub async fn estimate_transaction_cost( function with_contract_ids (line 174) | pub fn with_contract_ids(mut self, contract_ids: &[ContractId]) -> Self { function with_contracts (line 188) | pub fn with_contracts(mut self, contracts: &[&dyn ContractDependency]) -... function call (line 200) | pub async fn call(mut self) -> Result> { function submit (line 213) | pub async fn submit(mut self) -> Result> { function simulate (line 225) | pub async fn simulate( function get_response (line 252) | pub fn get_response(&self, tx_status: TxStatus) -> Result Result { function new_contract_call (line 289) | pub fn new_contract_call( function add_custom_asset (line 339) | pub fn add_custom_asset(mut self, asset_id: AssetId, amount: u64, to: Op... function is_payable (line 344) | pub fn is_payable(&self) -> bool { function call_params (line 355) | pub fn call_params(mut self, params: CallParameters) -> Result { function with_outputs (line 366) | pub fn with_outputs(mut self, outputs: Vec) -> Self { function with_inputs (line 373) | pub fn with_inputs(mut self, inputs: Vec) -> Self { function new_script_call (line 384) | pub fn new_script_call( function with_outputs (line 413) | pub fn with_outputs(mut self, outputs: Vec) -> Self { function with_inputs (line 420) | pub fn with_inputs(mut self, inputs: Vec) -> Self { function new_multi_call (line 430) | pub fn new_multi_call(account: A) -> Self { function append_external_contract (line 444) | fn append_external_contract(mut self, contract_id: ContractId) -> Result... function add_call (line 463) | pub fn add_call( function call (line 476) | pub async fn call(mut self) -> Result Result( function simulate_without_decode (line 532) | async fn simulate_without_decode(&self) -> Result<()> { function get_response (line 542) | pub fn get_response( function determine_missing_contracts (line 567) | pub async fn determine_missing_contracts(mut self) -> Result { FILE: packages/fuels-programs/src/calls/contract_call.rs type ContractCall (line 16) | pub struct ContractCall { method data (line 30) | pub(crate) fn data(&self, base_asset_id: AssetId) -> Result Self { method with_call_parameters (line 54) | pub fn with_call_parameters(self, call_parameters: CallParameters) -> ... method add_custom_asset (line 61) | pub fn add_custom_asset(&mut self, asset_id: AssetId, amount: u64, to:... method with_outputs (line 66) | pub fn with_outputs(mut self, outputs: Vec) -> Self { method with_inputs (line 72) | pub fn with_inputs(mut self, inputs: Vec) -> Self { type CallParameters (line 81) | pub struct CallParameters { method new (line 88) | pub fn new(amount: u64, asset_id: AssetId, gas_forwarded: u64) -> Self { method with_amount (line 96) | pub fn with_amount(mut self, amount: u64) -> Self { method amount (line 101) | pub fn amount(&self) -> u64 { method with_asset_id (line 105) | pub fn with_asset_id(mut self, asset_id: AssetId) -> Self { method asset_id (line 110) | pub fn asset_id(&self) -> Option { method with_gas_forwarded (line 114) | pub fn with_gas_forwarded(mut self, gas_forwarded: u64) -> Self { method gas_forwarded (line 119) | pub fn gas_forwarded(&self) -> Option { method default (line 125) | fn default() -> Self { FILE: packages/fuels-programs/src/calls/receipt_parser.rs type ReceiptParser (line 14) | pub struct ReceiptParser { method new (line 20) | pub fn new(receipts: &[Receipt], decoder_config: DecoderConfig) -> Self { method parse_call (line 35) | pub fn parse_call( method parse_script (line 47) | pub fn parse_script(self, output_param: &ParamType) -> Result { method missing_receipts_error (line 55) | fn missing_receipts_error(output_param: &ParamType) -> Error { method extract_contract_call_data (line 62) | pub fn extract_contract_call_data(&mut self, target_contract: Contract... method extract_script_data (line 92) | fn extract_script_data(&self) -> Option { constant RECEIPT_DATA (line 111) | const RECEIPT_DATA: &[u8; 3] = &[8, 8, 3]; constant DECODED_DATA (line 112) | const DECODED_DATA: &[u8; 3] = &[8, 8, 3]; function target_contract (line 114) | fn target_contract() -> ContractId { function get_return_data_receipt (line 118) | fn get_return_data_receipt(id: ContractId, data: &[u8]) -> Receipt { function get_call_receipt (line 130) | fn get_call_receipt(to: ContractId) -> Receipt { function get_relevant_receipts (line 144) | fn get_relevant_receipts() -> Vec { function receipt_parser_filters_receipts (line 153) | async fn receipt_parser_filters_receipts() -> Result<()> { function receipt_parser_empty_receipts (line 197) | async fn receipt_parser_empty_receipts() -> Result<()> { function receipt_parser_extract_return_data (line 212) | async fn receipt_parser_extract_return_data() -> Result<()> { function receipt_parser_extracts_top_level_call_receipts (line 227) | async fn receipt_parser_extracts_top_level_call_receipts() -> Result<()> { FILE: packages/fuels-programs/src/calls/script_call.rs type ScriptCall (line 15) | pub struct ScriptCall { method with_outputs (line 25) | pub fn with_outputs(mut self, outputs: Vec) -> Self { method with_inputs (line 31) | pub fn with_inputs(mut self, inputs: Vec) -> Self { method prepare_inputs_outputs (line 36) | pub(crate) fn prepare_inputs_outputs(&self) -> Result<(Vec, Vec... method compute_script_data (line 59) | pub(crate) fn compute_script_data(&self) -> Result> { FILE: packages/fuels-programs/src/calls/traits/contract_dep_configurator.rs type ContractDependencyConfigurator (line 5) | pub trait ContractDependencyConfigurator: sealed::Sealed { method append_external_contract (line 6) | fn append_external_contract(&mut self, contract_id: ContractId); method with_external_contracts (line 7) | fn with_external_contracts(self, external_contracts: Vec) ... method append_external_contract (line 11) | fn append_external_contract(&mut self, contract_id: ContractId) { method with_external_contracts (line 15) | fn with_external_contracts(self, external_contracts: Vec) ... method append_external_contract (line 24) | fn append_external_contract(&mut self, contract_id: ContractId) { method with_external_contracts (line 28) | fn with_external_contracts(self, external_contracts: Vec) ... FILE: packages/fuels-programs/src/calls/traits/response_parser.rs type ResponseParser (line 9) | pub trait ResponseParser: sealed::Sealed { method parse_call (line 10) | fn parse_call( method parse_call (line 19) | fn parse_call( method parse_call (line 30) | fn parse_call( FILE: packages/fuels-programs/src/calls/traits/transaction_tuner.rs type TransactionTuner (line 22) | pub trait TransactionTuner: sealed::Sealed { method required_assets (line 23) | fn required_assets(&self, base_asset_id: AssetId) -> Vec<(AssetId, u12... method transaction_builder (line 25) | fn transaction_builder( method build_tx (line 34) | async fn build_tx( method required_assets (line 43) | fn required_assets(&self, base_asset_id: AssetId) -> Vec<(AssetId, u12... method transaction_builder (line 47) | fn transaction_builder( method build_tx (line 65) | async fn build_tx( method required_assets (line 76) | fn required_assets(&self, _: AssetId) -> Vec<(AssetId, u128)> { method transaction_builder (line 80) | fn transaction_builder( method build_tx (line 101) | async fn build_tx( method required_assets (line 120) | fn required_assets(&self, base_asset_id: AssetId) -> Vec<(AssetId, u12... method transaction_builder (line 124) | fn transaction_builder( method build_tx (line 145) | async fn build_tx( function validate_contract_calls (line 156) | fn validate_contract_calls(calls: &[ContractCall]) -> Result<()> { FILE: packages/fuels-programs/src/calls/utils.rs type Sealed (line 29) | pub trait Sealed {} function transaction_builder_from_contract_calls (line 33) | pub(crate) fn transaction_builder_from_contract_calls( function build_with_tb (line 72) | pub(crate) async fn build_with_tb( function compute_calls_instructions_len (line 97) | fn compute_calls_instructions_len(calls: &[ContractCall]) -> usize { function calculate_required_asset_amounts (line 117) | pub fn calculate_required_asset_amounts( function get_instructions (line 149) | pub(crate) fn get_instructions(offsets: Vec) -> ... function build_script_data_from_contract_calls (line 157) | pub(crate) fn build_script_data_from_contract_calls( function get_transaction_inputs_outputs (line 178) | pub(crate) fn get_transaction_inputs_outputs( function generate_custom_outputs (line 215) | fn generate_custom_outputs(calls: &[ContractCall]) -> Vec { function extract_unique_asset_ids (line 233) | fn extract_unique_asset_ids(asset_inputs: &[Input], base_asset_id: Asset... function generate_asset_change_outputs (line 245) | fn generate_asset_change_outputs( function generate_contract_outputs (line 256) | pub(crate) fn generate_contract_outputs( function generate_contract_inputs (line 272) | pub(crate) fn generate_contract_inputs( function extract_unique_contract_ids (line 291) | fn extract_unique_contract_ids(calls: &[ContractCall]) -> HashSet bool { function find_ids_of_missing_contracts (line 309) | pub fn find_ids_of_missing_contracts(receipts: &[Receipt]) -> Vec ContractCall { function random_contract_id (line 353) | fn random_contract_id() -> ContractId { function contract_input_present (line 358) | fn contract_input_present() { function contract_input_is_not_duplicated (line 383) | fn contract_input_is_not_duplicated() { function contract_output_present (line 412) | fn contract_output_present() { function external_contract_input_present (line 431) | fn external_contract_input_present() { function external_contract_output_present (line 475) | fn external_contract_output_present() { function change_per_asset_id_added (line 500) | fn change_per_asset_id_added() { function will_collate_same_asset_ids (line 540) | fn will_collate_same_asset_ids() { constant BASE_INSTRUCTION_COUNT (line 577) | const BASE_INSTRUCTION_COUNT: usize = 5; constant GAS_OFFSET_INSTRUCTION_COUNT (line 579) | const GAS_OFFSET_INSTRUCTION_COUNT: usize = 2; function test_simple (line 582) | fn test_simple() { function test_with_gas_offset (line 589) | fn test_with_gas_offset() { function test_with_enum_with_only_non_heap_variants (line 600) | fn test_with_enum_with_only_non_heap_variants() { FILE: packages/fuels-programs/src/contract.rs type Contract (line 14) | pub struct Contract { function salt (line 21) | pub fn salt(&self) -> Salt { function with_salt (line 25) | pub fn with_salt(mut self, salt: impl Into) -> Self { function storage_slots (line 30) | pub fn storage_slots(&self) -> &[StorageSlot] { function with_storage_slots (line 34) | pub fn with_storage_slots(mut self, storage_slots: Vec) -> ... function compute_contract_id_and_state_root (line 49) | fn compute_contract_id_and_state_root( function autoload_storage_slots (line 77) | fn autoload_storage_slots() { function autoload_fails_if_file_missing (line 99) | fn autoload_fails_if_file_missing() { function save_slots (line 125) | fn save_slots(slots: &Vec, path: &Path) { function blob_size_must_be_greater_than_zero (line 134) | fn blob_size_must_be_greater_than_zero() { function contract_with_no_code_cannot_be_turned_into_a_loader (line 151) | fn contract_with_no_code_cannot_be_turned_into_a_loader() { function loader_needs_at_least_one_blob (line 168) | fn loader_needs_at_least_one_blob() { function loader_requires_all_except_the_last_blob_to_be_word_sized (line 184) | fn loader_requires_all_except_the_last_blob_to_be_word_sized() { function last_blob_in_loader_can_be_unaligned (line 200) | fn last_blob_in_loader_can_be_unaligned() { function can_load_regular_contract (line 212) | fn can_load_regular_contract() -> Result<()> { function can_manually_create_regular_contract (line 233) | fn can_manually_create_regular_contract() -> Result<()> { function regular_contract_has_expected_getters (line 257) | fn regular_contract_has_expected_getters() -> Result<()> { function regular_can_be_turned_into_loader_and_back (line 283) | fn regular_can_be_turned_into_loader_and_back() -> Result<()> { function unuploaded_loader_contract_has_expected_getters (line 298) | fn unuploaded_loader_contract_has_expected_getters() -> Result<()> { function unuploaded_loader_requires_at_least_one_blob (line 321) | fn unuploaded_loader_requires_at_least_one_blob() -> Result<()> { function uploaded_loader_has_expected_getters (line 338) | fn uploaded_loader_has_expected_getters() -> Result<()> { FILE: packages/fuels-programs/src/contract/loader.rs type BlobsUploaded (line 18) | pub struct BlobsUploaded { type BlobsNotUploaded (line 23) | pub struct BlobsNotUploaded { type Loader (line 28) | pub struct Loader { function code (line 33) | pub fn code(&self) -> Vec { function contract_id (line 39) | pub fn contract_id(&self) -> ContractId { function code_root (line 43) | pub fn code_root(&self) -> Bytes32 { function state_root (line 47) | pub fn state_root(&self) -> Bytes32 { function compute_roots (line 51) | fn compute_roots(&self) -> (ContractId, Bytes32, Bytes32) { function loader_from_blobs (line 61) | pub fn loader_from_blobs( function blobs (line 99) | pub fn blobs(&self) -> &[Blob] { function blob_ids (line 103) | pub fn blob_ids(&self) -> Vec { function upload_blobs (line 114) | pub async fn upload_blobs( function deploy (line 159) | pub async fn deploy( function deploy_if_not_exists (line 172) | pub async fn deploy_if_not_exists( function revert_to_regular (line 183) | pub fn revert_to_regular(self) -> Contract { function code (line 197) | pub fn code(&self) -> Vec { function contract_id (line 202) | pub fn contract_id(&self) -> ContractId { function code_root (line 206) | pub fn code_root(&self) -> Bytes32 { function state_root (line 210) | pub fn state_root(&self) -> Bytes32 { function compute_roots (line 214) | pub fn compute_roots(&self) -> (ContractId, Bytes32, Bytes32) { function loader_from_blob_ids (line 222) | pub fn loader_from_blob_ids( function blob_ids (line 243) | pub fn blob_ids(&self) -> &[BlobId] { function deploy (line 248) | pub async fn deploy( function deploy_if_not_exists (line 258) | pub async fn deploy_if_not_exists( FILE: packages/fuels-programs/src/contract/regular.rs type DeployResponse (line 25) | pub struct DeployResponse { type Regular (line 37) | pub struct Regular { method new (line 43) | pub(crate) fn new(code: Vec, configurables: Configurables) -> Self { method with_code (line 50) | pub(crate) fn with_code(self, code: Vec) -> Self { method with_configurables (line 54) | pub(crate) fn with_configurables(self, configurables: Configurables) -... method code (line 61) | pub(crate) fn code(&self) -> Vec { function with_code (line 71) | pub fn with_code(self, code: Vec) -> Self { function with_configurables (line 79) | pub fn with_configurables(self, configurables: impl Into)... function code (line 86) | pub fn code(&self) -> Vec { function contract_id (line 90) | pub fn contract_id(&self) -> ContractId { function code_root (line 94) | pub fn code_root(&self) -> Bytes32 { function state_root (line 98) | pub fn state_root(&self) -> Bytes32 { function compute_roots (line 102) | fn compute_roots(&self) -> (ContractId, Bytes32, Bytes32) { function load_from (line 107) | pub fn load_from( function regular (line 131) | pub fn regular( function deploy (line 146) | pub async fn deploy( function deploy_if_not_exists (line 189) | pub async fn deploy_if_not_exists( function convert_to_loader (line 208) | pub fn convert_to_loader( function smart_deploy (line 225) | pub async fn smart_deploy( type LoadConfiguration (line 250) | pub struct LoadConfiguration { method new (line 257) | pub fn new( method with_storage_configuration (line 269) | pub fn with_storage_configuration(mut self, storage: StorageConfigurat... method with_configurables (line 274) | pub fn with_configurables(mut self, configurables: impl Into) -> Self { FILE: packages/fuels-programs/src/contract/storage.rs type StorageConfiguration (line 14) | pub struct StorageConfiguration { method new (line 29) | pub fn new(autoload_enabled: bool, slots: impl IntoIterator Self { method autoload_enabled (line 45) | pub fn autoload_enabled(&self) -> bool { method add_slot_overrides (line 51) | pub fn add_slot_overrides( method add_slot_overrides_from_file (line 63) | pub fn add_slot_overrides_from_file(mut self, path: impl AsRef) ... method into_slots (line 69) | pub fn into_slots(self) -> impl Iterator { method default (line 20) | fn default() -> Self { type StorageSlots (line 75) | pub(crate) struct StorageSlots { method from (line 80) | fn from(storage_slots: impl IntoIterator) -> Self { method add_overrides (line 87) | pub(crate) fn add_overrides( method load_from_file (line 96) | pub(crate) fn load_from_file(storage_path: impl AsRef) -> Result... method into_iter (line 112) | pub(crate) fn into_iter(self) -> impl Iterator { function determine_storage_slots (line 117) | pub(crate) fn determine_storage_slots( function autoload_storage_slots (line 134) | pub(crate) fn autoload_storage_slots(contract_binary: &Path) -> Result... function validate_path_and_extension (line 150) | pub(crate) fn validate_path_and_extension(file_path: &Path, extension: &... function merging_overrides_storage_slots (line 176) | fn merging_overrides_storage_slots() { FILE: packages/fuels-programs/src/debug.rs type ScriptCallData (line 16) | pub struct ScriptCallData { method data_section (line 25) | pub fn data_section(&self) -> Option<&[u8]> { type ScriptType (line 34) | pub enum ScriptType { method detect (line 138) | pub fn detect(script: &[u8], data: &[u8]) -> Result { function parse_script_call (line 43) | fn parse_script_call(script: &[u8], script_data: &[u8]) -> Result Result Vec { function catches_missing_data (line 250) | fn catches_missing_data(amount_of_data_to_steal: usize, expected_msg: &s... function handles_invalid_utf8_fn_selector (line 280) | fn handles_invalid_utf8_fn_selector() { function loader_script_without_a_blob (line 318) | fn loader_script_without_a_blob() { function loader_script_with_almost_matching_instructions (line 339) | fn loader_script_with_almost_matching_instructions() { function extra_instructions_in_contract_calling_scripts_not_tolerated (line 367) | fn extra_instructions_in_contract_calling_scripts_not_tolerated() { function handles_invalid_call_data_offset (line 396) | fn handles_invalid_call_data_offset() { FILE: packages/fuels-programs/src/executable.rs type Regular (line 21) | pub struct Regular { method new (line 27) | pub fn new(code: Vec, configurables: Configurables) -> Self { type Executable (line 39) | pub struct Executable { function from_bytes (line 44) | pub fn from_bytes(code: Vec) -> Self { function load_from (line 59) | pub fn load_from(path: &str) -> Result> { function with_configurables (line 67) | pub fn with_configurables(self, configurables: impl Into)... function data_offset_in_code (line 76) | pub fn data_offset_in_code(&self) -> Result { function configurables_offset_in_code (line 80) | pub fn configurables_offset_in_code(&self) -> Result> { function code (line 93) | pub fn code(&self) -> Vec { function convert_to_loader (line 105) | pub fn convert_to_loader(self) -> Result> { type Loader (line 120) | pub struct Loader { function with_configurables (line 126) | pub fn with_configurables(self, configurables: impl Into)... function data_offset_in_code (line 136) | pub fn data_offset_in_code(&self) -> usize { function configurables_offset_in_code (line 140) | pub fn configurables_offset_in_code(&self) -> usize { function loader_code (line 144) | fn loader_code(&self) -> LoaderCode { function code (line 154) | pub fn code(&self) -> Vec { function blob (line 159) | pub fn blob(&self) -> Blob { function upload_blob (line 167) | pub async fn upload_blob( function validate_loader_can_be_made_from_code (line 201) | fn validate_loader_can_be_made_from_code( function legacy_indicating_instruction (line 221) | fn legacy_indicating_instruction() -> Vec { function test_executable_regular_from_bytes (line 226) | fn test_executable_regular_from_bytes() { function test_executable_regular_load_from (line 239) | fn test_executable_regular_load_from() { function test_executable_regular_load_from_invalid_path (line 259) | fn test_executable_regular_load_from_invalid_path() { function test_executable_regular_with_configurables (line 271) | fn test_executable_regular_with_configurables() { function test_executable_regular_code (line 288) | fn test_executable_regular_code() { function test_loader_extracts_code_and_data_section_legacy_format (line 305) | fn test_loader_extracts_code_and_data_section_legacy_format() { function test_loader_extracts_code_and_configurable_section_new_format (line 348) | fn test_loader_extracts_code_and_configurable_section_new_format() { function test_executable_regular_convert_to_loader_with_invalid_code (line 390) | fn test_executable_regular_convert_to_loader_with_invalid_code() { function executable_with_no_data_section (line 403) | fn executable_with_no_data_section() { FILE: packages/fuels-programs/src/lib.rs constant DEFAULT_MAX_FEE_ESTIMATION_TOLERANCE (line 10) | pub const DEFAULT_MAX_FEE_ESTIMATION_TOLERANCE: f32 = 0.50; FILE: packages/fuels-programs/src/responses/call.rs type CallResponse (line 15) | pub struct CallResponse { function decode_logs (line 24) | pub fn decode_logs(&self) -> LogResult { function decode_logs_with_type (line 28) | pub fn decode_logs_with_type(&s... FILE: packages/fuels-programs/src/responses/submit.rs type SubmitResponse (line 37) | pub struct SubmitResponse { function new (line 48) | pub fn new(tx_id: Bytes32, call_handler: CallHandler) -> Self { function response (line 55) | pub async fn response(self) -> Result> { function tx_id (line 62) | pub fn tx_id(&self) -> Bytes32 { function new (line 69) | pub fn new(tx_id: Bytes32, call_handler: CallHandler(self) -> Result Bytes32 { FILE: packages/fuels-programs/src/utils.rs function prepend_msg (line 3) | pub fn prepend_msg<'a>(msg: impl AsRef + 'a) -> impl Fn(Error) -> E... FILE: packages/fuels-test-helpers/src/accounts.rs function launch_provider_and_get_wallet (line 27) | pub async fn launch_provider_and_get_wallet() -> Result { function launch_custom_provider_and_get_wallets (line 55) | pub async fn launch_custom_provider_and_get_wallets( function test_wallet_config (line 102) | async fn test_wallet_config() -> Result<()> { function test_wallet_config_multiple_assets (line 129) | async fn test_wallet_config_multiple_assets() function generated_wallets_are_deterministic (line 189) | async fn generated_wallets_are_deterministic() -> Result<()> { function generated_wallets_with_custom_chain_config (line 205) | async fn generated_wallets_with_custom_chain_config() -> Result<()> { FILE: packages/fuels-test-helpers/src/fuel_bin_service.rs type ExtendedConfig (line 19) | pub(crate) struct ExtendedConfig { method args_vec (line 27) | pub fn args_vec(&self) -> fuels_core::types::errors::Result FuelResult { type FuelService (line 126) | pub struct FuelService { method new_node (line 132) | pub async fn new_node( method stop (line 172) | pub fn stop(&self) -> FuelResult { function server_health_check (line 178) | async fn server_health_check(address: SocketAddr) -> FuelResult<()> { function get_socket_address (line 198) | fn get_socket_address() -> FuelResult { function run_node (line 205) | async fn run_node(extended_config: ExtendedConfig) -> FuelResult ChainConfig { function generate_random_salt (line 171) | pub fn generate_random_salt() -> [u8; 32] { function test_setup_single_asset_coins (line 184) | async fn test_setup_single_asset_coins() -> Result<()> { function test_setup_multiple_assets_coins (line 208) | async fn test_setup_multiple_assets_coins() -> Result<()> { function test_setup_custom_assets_coins (line 247) | async fn test_setup_custom_assets_coins() -> Result<()> { function test_setup_test_provider_custom_config (line 296) | async fn test_setup_test_provider_custom_config() -> Result<()> { function test_setup_test_client_consensus_parameters_config (line 316) | async fn test_setup_test_client_consensus_parameters_config() -> Result<... function test_chain_config_and_consensus_parameters (line 342) | async fn test_chain_config_and_consensus_parameters() -> Result<()> { FILE: packages/fuels-test-helpers/src/node_types.rs type Trigger (line 10) | pub enum Trigger { function from (line 19) | fn from(value: Trigger) -> Self { type DbType (line 30) | pub enum DbType { function from (line 37) | fn from(value: DbType) -> Self { type NodeConfig (line 46) | pub struct NodeConfig { method default (line 61) | fn default() -> Self { FILE: packages/fuels-test-helpers/src/service.rs type FuelService (line 12) | pub struct FuelService { method start (line 21) | pub async fn start( method stop (line 45) | pub async fn stop(&self) -> Result { method bound_address (line 55) | pub fn bound_address(&self) -> SocketAddr { method service_config (line 60) | fn service_config( FILE: packages/fuels-test-helpers/src/utils.rs function into_coin_configs (line 4) | pub(crate) fn into_coin_configs(coins: Vec) -> Vec { function into_message_configs (line 11) | pub(crate) fn into_message_configs(messages: Vec) -> Vec, num_coins: Option, coin_amou... method new_multiple_assets (line 34) | pub fn new_multiple_assets(num_wallets: u64, assets: Vec)... method num_wallets (line 41) | pub fn num_wallets(&self) -> u64 { method assets (line 45) | pub fn assets(&self) -> &[AssetConfig] { method default (line 51) | fn default() -> Self { FILE: scripts/change-log/src/adapters/octocrab.rs type OctocrabAdapter (line 10) | pub struct OctocrabAdapter { method new (line 15) | pub fn new(token: &str) -> Self { method get_pr_for_commit (line 24) | async fn get_pr_for_commit( method search_branches (line 51) | pub async fn search_branches( method get_releases (line 91) | pub async fn get_releases( method build_changelog_info (line 115) | async fn build_changelog_info( method get_changelog_infos (line 192) | async fn get_changelog_infos( method get_latest_release_tag (line 223) | async fn get_latest_release_tag( FILE: scripts/change-log/src/domain/changelog.rs function category_from_pr_type (line 5) | fn category_from_pr_type(pr_type: &str) -> Option<&'static str> { function generate_changelog (line 14) | pub fn generate_changelog(changelogs: Vec) -> String { function capitalize (line 90) | pub fn capitalize(s: &str) -> String { function test_generate_changelog_exact (line 103) | fn test_generate_changelog_exact() { FILE: scripts/change-log/src/domain/models.rs type ChangelogInfo (line 2) | pub struct ChangelogInfo { FILE: scripts/change-log/src/main.rs function main (line 11) | async fn main() -> Result<(), Box> { FILE: scripts/change-log/src/ports/github.rs type GitHubPort (line 4) | pub trait GitHubPort { method get_changelog_infos (line 6) | async fn get_changelog_infos( method get_latest_release_tag (line 15) | async fn get_latest_release_tag( FILE: scripts/check-docs/src/lib.rs function report_errors (line 10) | pub fn report_errors(error_type: &str, errors: &[Error]) { function report_warnings (line 19) | pub fn report_warnings(warnings: &[Error]) { function validate_includes (line 28) | pub fn validate_includes( type Include (line 63) | pub struct Include { function parse_includes (line 70) | pub fn parse_includes(text_w_includes: String) -> (Vec, Vec, ends: Vec) -> (... function filter_unused_ends (line 142) | pub fn filter_unused_ends<'a>(ends: &'a [Anchor], pairs: &[(Anchor, Anch... function check_validity_of_anchor_pair (line 151) | pub fn check_validity_of_anchor_pair(begin: &Anchor, end: &Anchor) -> Op... type Anchor (line 162) | pub struct Anchor { function extract_starts_and_ends (line 168) | pub fn extract_starts_and_ends( function parse_md_files (line 199) | pub fn parse_md_files(text_w_files: String, path: &str) -> HashSet anyhow::Resu... function find_files (line 249) | pub fn find_files(pattern: &str, location: &str, exclude: &str) -> anyho... FILE: scripts/check-docs/src/main.rs function main (line 7) | fn main() -> anyhow::Result<(), Error> { FILE: scripts/check-docs/tests/harness.rs type TestEnum (line 7) | enum TestEnum { function contains_any (line 13) | fn contains_any(vec: &TestEnum, str: &str) -> bool { function test_anchors (line 24) | fn test_anchors() -> anyhow::Result<()> { function test_unused_md (line 108) | fn test_unused_md() -> anyhow::Result<()> { FILE: scripts/fuel-core-version/src/main.rs function write_version_to_file (line 15) | fn write_version_to_file(version: Version, version_file_path: impl AsRef... function get_version_file_path (line 27) | fn get_version_file_path( function verify_version_from_file (line 37) | fn verify_version_from_file(version: Version) -> Result<()> { type App (line 53) | struct App { type Command (line 61) | enum Command { function main (line 66) | fn main() -> Result<()> { function read_fuel_core_version (line 80) | pub fn read_fuel_core_version(path: impl AsRef) -> color_eyre::Res... function find_dependency_version (line 89) | fn find_dependency_version(toml: &Value) -> Option { FILE: scripts/versions-replacer/src/main.rs type VersionsReplacer (line 17) | struct VersionsReplacer { function main (line 29) | fn main() -> Result<()> { FILE: scripts/versions-replacer/src/metadata.rs type WorkspaceMetadata (line 9) | pub struct WorkspaceMetadata { type VersionsReplacerMetadata (line 15) | pub struct VersionsReplacerMetadata { function collect_versions_from_cargo_toml (line 19) | pub fn collect_versions_from_cargo_toml( FILE: scripts/versions-replacer/src/replace.rs function replace_versions_in_file (line 10) | pub fn replace_versions_in_file( function replace_versions_in_string (line 25) | pub fn replace_versions_in_string<'a>( function test_versions (line 46) | fn test_versions() -> HashMap { function test_valid_replacements (line 53) | fn test_valid_replacements() { function test_invalid_replacement (line 68) | fn test_invalid_replacement() { function test_invalid_package_name (line 79) | fn test_invalid_package_name() { FILE: wasm-tests/src/lib.rs function decoding_and_encoding (line 18) | fn decoding_and_encoding() -> Result<()> { function predicate_abigen (line 130) | fn predicate_abigen() -> Result<()> { function can_decode_a_contract_calling_script (line 219) | fn can_decode_a_contract_calling_script() -> Result<()> {