diff --git a/bridged-tokens-wrapper/src/lib.rs b/bridged-tokens-wrapper/src/lib.rs index f18f28a9..c0a0f4bd 100644 --- a/bridged-tokens-wrapper/src/lib.rs +++ b/bridged-tokens-wrapper/src/lib.rs @@ -18,6 +18,9 @@ pub trait BridgedTokensWrapper: multiversx_sc_modules::pause::PauseModule { self.set_paused(true); } + #[upgrade] + fn upgrade(&self) {} + #[only_owner] #[endpoint(addWrappedToken)] fn add_wrapped_token(&self, universal_bridged_token_ids: TokenIdentifier, num_decimals: u32) { diff --git a/bridged-tokens-wrapper/wasm/Cargo.lock b/bridged-tokens-wrapper/wasm/Cargo.lock index f3a582a2..26ce41ff 100644 --- a/bridged-tokens-wrapper/wasm/Cargo.lock +++ b/bridged-tokens-wrapper/wasm/Cargo.lock @@ -4,15 +4,22 @@ version = 3 [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", "version_check", + "zerocopy", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "arrayvec" version = "0.7.2" @@ -27,9 +34,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bitflags" -version = "1.3.2" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bridged-tokens-wrapper" @@ -48,12 +55,6 @@ dependencies = [ "multiversx-sc-wasm-adapter", ] -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -75,11 +76,12 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.13.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash", + "allocator-api2", ] [[package]] @@ -90,27 +92,15 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - -[[package]] -name = "libc" -version = "0.2.139" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" - -[[package]] -name = "memory_units" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "multiversx-sc" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31561133b64837f1a7835ae4ba96383ab07d9ce401e703ad2a37aef45789a1e7" +checksum = "9b2bdb196b3ff2b9f8c744ec2e026c22c8e02bc91e5c6ed09951415c47fef6b8" dependencies = [ "bitflags", "hashbrown", @@ -122,20 +112,19 @@ dependencies = [ [[package]] name = "multiversx-sc-codec" -version = "0.17.1" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7638cb46a0e99c636fd55443ac534ff0a5fad0bd772e1037fbac9a75e04c3c9" +checksum = "19908153158c03df4582af08f47c0eb39fb52a7dff4736b301a66acbbb9955d3" dependencies = [ "arrayvec", "multiversx-sc-codec-derive", - "wee_alloc", ] [[package]] name = "multiversx-sc-codec-derive" -version = "0.17.1" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e976002d51367f16140929c10ee695f95dd8d34c150a45db60d3fcd1328a267a" +checksum = "d3b03b43f9cad320992f54ed162de2ed63e3ec83ed01361e57ee9c1865fba5a2" dependencies = [ "hex", "proc-macro2", @@ -145,9 +134,9 @@ dependencies = [ [[package]] name = "multiversx-sc-derive" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23187464277575f8055c92cffbd664592825591f5cebb8dae038d2af04c5e639" +checksum = "2e60b5dce707f61376f74d713218f75326121d9f6a5f09a3a63de7aea2a92be9" dependencies = [ "hex", "proc-macro2", @@ -158,21 +147,20 @@ dependencies = [ [[package]] name = "multiversx-sc-modules" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbcb0b06f37396484f01d89295091db401b8b515ab781e3580a6bb333e912591" +checksum = "a5833f8bc88104357d38a8952d2a16c3e66080e2e512c0e7001c0c003006c475" dependencies = [ "multiversx-sc", ] [[package]] name = "multiversx-sc-wasm-adapter" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af5fee54f1498ec8181593cd54a96ef7436543ad78848e2e805b9b62c27c4095" +checksum = "c4299660d5413d9f120bfddda8105b1f9d28f0345a72f53e5dc90732c4983e45" dependencies = [ "multiversx-sc", - "wee_alloc", ] [[package]] @@ -201,18 +189,18 @@ checksum = "b7e5500299e16ebb147ae15a00a942af264cf3688f47923b8fc2cd5858f23ad3" [[package]] name = "proc-macro2" -version = "1.0.51" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5d727cae5b39d21da60fa540906919ad737832fe0b1c165da3a34d6548c849d6" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.23" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -235,9 +223,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "syn" -version = "1.0.109" +version = "2.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" dependencies = [ "proc-macro2", "quote", @@ -265,35 +253,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] -name = "wee_alloc" -version = "0.4.5" +name = "zerocopy" +version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" +checksum = "1c4061bedbb353041c12f413700357bec76df2c7e2ca8e4df8bac24c6bf68e3d" dependencies = [ - "cfg-if 0.1.10", - "libc", - "memory_units", - "winapi", + "zerocopy-derive", ] [[package]] -name = "winapi" -version = "0.3.9" +name = "zerocopy-derive" +version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "proc-macro2", + "quote", + "syn", ] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/bridged-tokens-wrapper/wasm/Cargo.toml b/bridged-tokens-wrapper/wasm/Cargo.toml index 3a81fb89..304c40a8 100644 --- a/bridged-tokens-wrapper/wasm/Cargo.toml +++ b/bridged-tokens-wrapper/wasm/Cargo.toml @@ -1,7 +1,12 @@ +# Code generated by the multiversx-sc build system. DO NOT EDIT. + +# ########################################## +# ############## AUTO-GENERATED ############# +# ########################################## + [package] name = "bridged-tokens-wrapper-wasm" version = "0.0.0" -authors = ["Alin Cruceat "] edition = "2018" publish = false @@ -14,6 +19,7 @@ opt-level = "z" lto = true debug = false panic = "abort" +overflow-checks = false [dependencies.bridged-tokens-wrapper] path = ".." diff --git a/bridged-tokens-wrapper/wasm/src/lib.rs b/bridged-tokens-wrapper/wasm/src/lib.rs index ca27291f..61e709b7 100644 --- a/bridged-tokens-wrapper/wasm/src/lib.rs +++ b/bridged-tokens-wrapper/wasm/src/lib.rs @@ -1,16 +1,19 @@ -// Code generated by the multiversx-sc multi-contract system. DO NOT EDIT. +// Code generated by the multiversx-sc build system. DO NOT EDIT. //////////////////////////////////////////////////// ////////////////// AUTO-GENERATED ////////////////// //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 16 +// Endpoints: 17 // Async Callback (empty): 1 -// Total number of exported functions: 18 +// Total number of exported functions: 19 #![no_std] -#![feature(alloc_error_handler, lang_items)] + +// Configuration that works with rustc < 1.73.0. +// TODO: Recommended rustc version: 1.73.0 or newer. +#![feature(lang_items)] multiversx_sc_wasm_adapter::allocator!(); multiversx_sc_wasm_adapter::panic_handler!(); @@ -18,23 +21,25 @@ multiversx_sc_wasm_adapter::panic_handler!(); multiversx_sc_wasm_adapter::endpoints! { bridged_tokens_wrapper ( - addWrappedToken - updateWrappedToken - removeWrappedToken - whitelistToken - updateWhitelistedToken - blacklistToken - depositLiquidity - wrapTokens - unwrapToken - getUniversalBridgedTokenIds - getTokenLiquidity - getChainSpecificToUniversalMapping - getchainSpecificTokenIds - pause - unpause - isPaused + init => init + upgrade => upgrade + addWrappedToken => add_wrapped_token + updateWrappedToken => update_wrapped_token + removeWrappedToken => remove_wrapped_token + whitelistToken => whitelist_token + updateWhitelistedToken => update_whitelisted_token + blacklistToken => blacklist_token + depositLiquidity => deposit_liquidity + wrapTokens => wrap_tokens + unwrapToken => unwrap_token + getUniversalBridgedTokenIds => universal_bridged_token_ids + getTokenLiquidity => token_liquidity + getChainSpecificToUniversalMapping => chain_specific_to_universal_mapping + getchainSpecificTokenIds => chain_specific_token_ids + pause => pause_endpoint + unpause => unpause_endpoint + isPaused => paused_status ) } -multiversx_sc_wasm_adapter::empty_callback! {} +multiversx_sc_wasm_adapter::async_callback_empty! {} diff --git a/esdt-safe/src/lib.rs b/esdt-safe/src/lib.rs index 30269c30..5c946f68 100644 --- a/esdt-safe/src/lib.rs +++ b/esdt-safe/src/lib.rs @@ -49,6 +49,9 @@ pub trait EsdtSafe: self.set_paused(true); } + #[upgrade] + fn upgrade(&self) {} + /// Sets the statuses for the transactions, after they were executed on the Ethereum side. /// /// Only TransactionStatus::Executed (3) and TransactionStatus::Rejected (4) values are allowed. diff --git a/esdt-safe/wasm/Cargo.toml b/esdt-safe/wasm/Cargo.toml index ef36f173..196a688a 100644 --- a/esdt-safe/wasm/Cargo.toml +++ b/esdt-safe/wasm/Cargo.toml @@ -1,27 +1,31 @@ +# Code generated by the multiversx-sc build system. DO NOT EDIT. + +# ########################################## +# ############## AUTO-GENERATED ############# +# ########################################## + [package] name = "esdt-safe-wasm" version = "0.0.0" -authors = ["you"] edition = "2018" publish = false [lib] crate-type = ["cdylib"] -[workspace] -members = ["."] - -[dev-dependencies] - [profile.release] codegen-units = 1 opt-level = "z" lto = true debug = false panic = "abort" +overflow-checks = false [dependencies.esdt-safe] path = ".." [dependencies.multiversx-sc-wasm-adapter] version = "0.45.2" + +[workspace] +members = ["."] diff --git a/esdt-safe/wasm/src/lib.rs b/esdt-safe/wasm/src/lib.rs index bb0d544d..523d1361 100644 --- a/esdt-safe/wasm/src/lib.rs +++ b/esdt-safe/wasm/src/lib.rs @@ -1,16 +1,19 @@ -// Code generated by the multiversx-sc multi-contract system. DO NOT EDIT. +// Code generated by the multiversx-sc build system. DO NOT EDIT. //////////////////////////////////////////////////// ////////////////// AUTO-GENERATED ////////////////// //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 31 +// Endpoints: 32 // Async Callback (empty): 1 -// Total number of exported functions: 33 +// Total number of exported functions: 34 #![no_std] -#![feature(alloc_error_handler, lang_items)] + +// Configuration that works with rustc < 1.73.0. +// TODO: Recommended rustc version: 1.73.0 or newer. +#![feature(lang_items)] multiversx_sc_wasm_adapter::allocator!(); multiversx_sc_wasm_adapter::panic_handler!(); @@ -18,38 +21,40 @@ multiversx_sc_wasm_adapter::panic_handler!(); multiversx_sc_wasm_adapter::endpoints! { esdt_safe ( - setTransactionBatchStatus - addRefundBatch - createTransaction - claimRefund - getRefundAmounts - setFeeEstimatorContractAddress - setEthTxGasLimit - setDefaultPricePerGasUnit - setTokenTicker - calculateRequiredFee - getFeeEstimatorContractAddress - getDefaultPricePerGasUnit - getEthTxGasLimit - distributeFees - addTokenToWhitelist - removeTokenFromWhitelist - getAllKnownTokens - getAccumulatedTransactionFees - setMaxTxBatchSize - setMaxTxBatchBlockDuration - getCurrentTxBatch - getFirstBatchAnyStatus - getBatch - getBatchStatus - getFirstBatchId - getLastBatchId - setMaxBridgedAmount - getMaxBridgedAmount - pause - unpause - isPaused + init => init + upgrade => upgrade + setTransactionBatchStatus => set_transaction_batch_status + addRefundBatch => add_refund_batch + createTransaction => create_transaction + claimRefund => claim_refund + getRefundAmounts => get_refund_amounts + setFeeEstimatorContractAddress => set_fee_estimator_contract_address + setEthTxGasLimit => set_eth_tx_gas_limit + setDefaultPricePerGasUnit => set_default_price_per_gas_unit + setTokenTicker => set_token_ticker + calculateRequiredFee => calculate_required_fee + getFeeEstimatorContractAddress => fee_estimator_contract_address + getDefaultPricePerGasUnit => default_price_per_gas_unit + getEthTxGasLimit => eth_tx_gas_limit + distributeFees => distribute_fees + addTokenToWhitelist => add_token_to_whitelist + removeTokenFromWhitelist => remove_token_from_whitelist + getAllKnownTokens => token_whitelist + getAccumulatedTransactionFees => accumulated_transaction_fees + setMaxTxBatchSize => set_max_tx_batch_size + setMaxTxBatchBlockDuration => set_max_tx_batch_block_duration + getCurrentTxBatch => get_current_tx_batch + getFirstBatchAnyStatus => get_first_batch_any_status + getBatch => get_batch + getBatchStatus => get_batch_status + getFirstBatchId => first_batch_id + getLastBatchId => last_batch_id + setMaxBridgedAmount => set_max_bridged_amount + getMaxBridgedAmount => max_bridged_amount + pause => pause_endpoint + unpause => unpause_endpoint + isPaused => paused_status ) } -multiversx_sc_wasm_adapter::empty_callback! {} +multiversx_sc_wasm_adapter::async_callback_empty! {} diff --git a/multi-transfer-esdt/src/lib.rs b/multi-transfer-esdt/src/lib.rs index 015d9e42..43a73246 100644 --- a/multi-transfer-esdt/src/lib.rs +++ b/multi-transfer-esdt/src/lib.rs @@ -25,6 +25,9 @@ pub trait MultiTransferEsdt: self.last_batch_id().set_if_empty(1); } + #[upgrade] + fn upgrade(&self) {} + #[only_owner] #[endpoint(batchTransferEsdtToken)] fn batch_transfer_esdt_token( diff --git a/multi-transfer-esdt/wasm/Cargo.lock b/multi-transfer-esdt/wasm/Cargo.lock index fa0324f9..a6f561a9 100644 --- a/multi-transfer-esdt/wasm/Cargo.lock +++ b/multi-transfer-esdt/wasm/Cargo.lock @@ -4,15 +4,22 @@ version = 3 [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", "version_check", + "zerocopy", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "arrayvec" version = "0.7.4" @@ -27,9 +34,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bitflags" -version = "1.3.2" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bridged-tokens-wrapper" @@ -40,12 +47,6 @@ dependencies = [ "transaction", ] -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -67,11 +68,12 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.13.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash", + "allocator-api2", ] [[package]] @@ -82,15 +84,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - -[[package]] -name = "libc" -version = "0.2.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "max-bridged-amount-module" @@ -99,12 +95,6 @@ dependencies = [ "multiversx-sc", ] -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - [[package]] name = "multi-transfer-esdt" version = "0.0.0" @@ -126,9 +116,9 @@ dependencies = [ [[package]] name = "multiversx-sc" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31561133b64837f1a7835ae4ba96383ab07d9ce401e703ad2a37aef45789a1e7" +checksum = "9b2bdb196b3ff2b9f8c744ec2e026c22c8e02bc91e5c6ed09951415c47fef6b8" dependencies = [ "bitflags", "hashbrown", @@ -140,20 +130,19 @@ dependencies = [ [[package]] name = "multiversx-sc-codec" -version = "0.17.1" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7638cb46a0e99c636fd55443ac534ff0a5fad0bd772e1037fbac9a75e04c3c9" +checksum = "19908153158c03df4582af08f47c0eb39fb52a7dff4736b301a66acbbb9955d3" dependencies = [ "arrayvec", "multiversx-sc-codec-derive", - "wee_alloc", ] [[package]] name = "multiversx-sc-codec-derive" -version = "0.17.1" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e976002d51367f16140929c10ee695f95dd8d34c150a45db60d3fcd1328a267a" +checksum = "d3b03b43f9cad320992f54ed162de2ed63e3ec83ed01361e57ee9c1865fba5a2" dependencies = [ "hex", "proc-macro2", @@ -163,9 +152,9 @@ dependencies = [ [[package]] name = "multiversx-sc-derive" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23187464277575f8055c92cffbd664592825591f5cebb8dae038d2af04c5e639" +checksum = "2e60b5dce707f61376f74d713218f75326121d9f6a5f09a3a63de7aea2a92be9" dependencies = [ "hex", "proc-macro2", @@ -176,21 +165,20 @@ dependencies = [ [[package]] name = "multiversx-sc-modules" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbcb0b06f37396484f01d89295091db401b8b515ab781e3580a6bb333e912591" +checksum = "a5833f8bc88104357d38a8952d2a16c3e66080e2e512c0e7001c0c003006c475" dependencies = [ "multiversx-sc", ] [[package]] name = "multiversx-sc-wasm-adapter" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af5fee54f1498ec8181593cd54a96ef7436543ad78848e2e805b9b62c27c4095" +checksum = "c4299660d5413d9f120bfddda8105b1f9d28f0345a72f53e5dc90732c4983e45" dependencies = [ "multiversx-sc", - "wee_alloc", ] [[package]] @@ -219,18 +207,18 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "proc-macro2" -version = "1.0.63" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.28" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -253,9 +241,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "syn" -version = "1.0.109" +version = "2.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" dependencies = [ "proc-macro2", "quote", @@ -291,35 +279,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] -name = "wee_alloc" -version = "0.4.5" +name = "zerocopy" +version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" +checksum = "1c4061bedbb353041c12f413700357bec76df2c7e2ca8e4df8bac24c6bf68e3d" dependencies = [ - "cfg-if 0.1.10", - "libc", - "memory_units", - "winapi", + "zerocopy-derive", ] [[package]] -name = "winapi" -version = "0.3.9" +name = "zerocopy-derive" +version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "proc-macro2", + "quote", + "syn", ] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/multi-transfer-esdt/wasm/Cargo.toml b/multi-transfer-esdt/wasm/Cargo.toml index 556ef5f9..69f59530 100644 --- a/multi-transfer-esdt/wasm/Cargo.toml +++ b/multi-transfer-esdt/wasm/Cargo.toml @@ -1,27 +1,31 @@ +# Code generated by the multiversx-sc build system. DO NOT EDIT. + +# ########################################## +# ############## AUTO-GENERATED ############# +# ########################################## + [package] name = "multi-transfer-esdt-wasm" version = "0.0.0" -authors = ["you"] edition = "2018" publish = false [lib] crate-type = ["cdylib"] -[workspace] -members = ["."] - -[dev-dependencies] - [profile.release] codegen-units = 1 opt-level = "z" lto = true debug = false panic = "abort" +overflow-checks = false [dependencies.multi-transfer-esdt] path = ".." [dependencies.multiversx-sc-wasm-adapter] version = "0.45.2" + +[workspace] +members = ["."] diff --git a/multi-transfer-esdt/wasm/src/lib.rs b/multi-transfer-esdt/wasm/src/lib.rs index 86ea70f1..85514113 100644 --- a/multi-transfer-esdt/wasm/src/lib.rs +++ b/multi-transfer-esdt/wasm/src/lib.rs @@ -1,16 +1,19 @@ -// Code generated by the multiversx-sc multi-contract system. DO NOT EDIT. +// Code generated by the multiversx-sc build system. DO NOT EDIT. //////////////////////////////////////////////////// ////////////////// AUTO-GENERATED ////////////////// //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 14 +// Endpoints: 15 // Async Callback (empty): 1 -// Total number of exported functions: 16 +// Total number of exported functions: 17 #![no_std] -#![feature(alloc_error_handler, lang_items)] + +// Configuration that works with rustc < 1.73.0. +// TODO: Recommended rustc version: 1.73.0 or newer. +#![feature(lang_items)] multiversx_sc_wasm_adapter::allocator!(); multiversx_sc_wasm_adapter::panic_handler!(); @@ -18,21 +21,23 @@ multiversx_sc_wasm_adapter::panic_handler!(); multiversx_sc_wasm_adapter::endpoints! { multi_transfer_esdt ( - batchTransferEsdtToken - getAndClearFirstRefundBatch - setWrappingContractAddress - getWrappingContractAddress - setMaxTxBatchSize - setMaxTxBatchBlockDuration - getCurrentTxBatch - getFirstBatchAnyStatus - getBatch - getBatchStatus - getFirstBatchId - getLastBatchId - setMaxBridgedAmount - getMaxBridgedAmount + init => init + upgrade => upgrade + batchTransferEsdtToken => batch_transfer_esdt_token + getAndClearFirstRefundBatch => get_and_clear_first_refund_batch + setWrappingContractAddress => set_wrapping_contract_address + getWrappingContractAddress => wrapping_contract_address + setMaxTxBatchSize => set_max_tx_batch_size + setMaxTxBatchBlockDuration => set_max_tx_batch_block_duration + getCurrentTxBatch => get_current_tx_batch + getFirstBatchAnyStatus => get_first_batch_any_status + getBatch => get_batch + getBatchStatus => get_batch_status + getFirstBatchId => first_batch_id + getLastBatchId => last_batch_id + setMaxBridgedAmount => set_max_bridged_amount + getMaxBridgedAmount => max_bridged_amount ) } -multiversx_sc_wasm_adapter::empty_callback! {} +multiversx_sc_wasm_adapter::async_callback_empty! {} diff --git a/multisig/src/lib.rs b/multisig/src/lib.rs index 9b5903ca..39c658ea 100644 --- a/multisig/src/lib.rs +++ b/multisig/src/lib.rs @@ -85,6 +85,9 @@ pub trait Multisig: self.set_paused(true); } + #[upgrade] + fn upgrade(&self) {} + /// Distributes the accumulated fees to the given addresses. /// Expected arguments are pairs of (address, percentage), /// where percentages must add up to the PERCENTAGE_TOTAL constant diff --git a/multisig/wasm/Cargo.lock b/multisig/wasm/Cargo.lock index deda533d..b114b035 100644 --- a/multisig/wasm/Cargo.lock +++ b/multisig/wasm/Cargo.lock @@ -4,15 +4,22 @@ version = 3 [[package]] name = "ahash" -version = "0.8.3" +version = "0.8.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c99f64d1e06488f620f932677e24bc6e2897582980441ae90a671415bd7ec2f" +checksum = "91429305e9f0a25f6205c5b8e0d2db09e0708a7a6df0f42212bb56c32c8ac97a" dependencies = [ - "cfg-if 1.0.0", + "cfg-if", "once_cell", "version_check", + "zerocopy", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "arrayvec" version = "0.7.4" @@ -27,9 +34,9 @@ checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" [[package]] name = "bitflags" -version = "1.3.2" +version = "2.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" +checksum = "327762f6e5a765692301e5bb513e0d9fef63be86bbc14528052b1cd3e6f03e07" [[package]] name = "bridged-tokens-wrapper" @@ -40,12 +47,6 @@ dependencies = [ "transaction", ] -[[package]] -name = "cfg-if" -version = "0.1.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "4785bdd1c96b2a846b2bd7cc02e86b6b3dbf14e7e53446c4f54c92a361040822" - [[package]] name = "cfg-if" version = "1.0.0" @@ -88,11 +89,12 @@ dependencies = [ [[package]] name = "hashbrown" -version = "0.13.2" +version = "0.14.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43a3c133739dddd0d2990f9a4bdf8eb4b21ef50e4851ca85ab661199821d510e" +checksum = "290f1a1d9242c78d09ce40a5e87e7554ee637af1351968159f4952f028f75604" dependencies = [ "ahash", + "allocator-api2", ] [[package]] @@ -103,15 +105,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" -version = "0.3.4" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - -[[package]] -name = "libc" -version = "0.2.147" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b4668fb0ea861c1df094127ac5f1da3409a82116a4ba74fca2e58ef927159bb3" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "max-bridged-amount-module" @@ -120,12 +116,6 @@ dependencies = [ "multiversx-sc", ] -[[package]] -name = "memory_units" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" - [[package]] name = "multi-transfer-esdt" version = "0.0.0" @@ -163,9 +153,9 @@ dependencies = [ [[package]] name = "multiversx-sc" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "31561133b64837f1a7835ae4ba96383ab07d9ce401e703ad2a37aef45789a1e7" +checksum = "9b2bdb196b3ff2b9f8c744ec2e026c22c8e02bc91e5c6ed09951415c47fef6b8" dependencies = [ "bitflags", "hashbrown", @@ -177,20 +167,19 @@ dependencies = [ [[package]] name = "multiversx-sc-codec" -version = "0.17.1" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7638cb46a0e99c636fd55443ac534ff0a5fad0bd772e1037fbac9a75e04c3c9" +checksum = "19908153158c03df4582af08f47c0eb39fb52a7dff4736b301a66acbbb9955d3" dependencies = [ "arrayvec", "multiversx-sc-codec-derive", - "wee_alloc", ] [[package]] name = "multiversx-sc-codec-derive" -version = "0.17.1" +version = "0.18.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e976002d51367f16140929c10ee695f95dd8d34c150a45db60d3fcd1328a267a" +checksum = "d3b03b43f9cad320992f54ed162de2ed63e3ec83ed01361e57ee9c1865fba5a2" dependencies = [ "hex", "proc-macro2", @@ -200,9 +189,9 @@ dependencies = [ [[package]] name = "multiversx-sc-derive" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23187464277575f8055c92cffbd664592825591f5cebb8dae038d2af04c5e639" +checksum = "2e60b5dce707f61376f74d713218f75326121d9f6a5f09a3a63de7aea2a92be9" dependencies = [ "hex", "proc-macro2", @@ -213,21 +202,20 @@ dependencies = [ [[package]] name = "multiversx-sc-modules" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbcb0b06f37396484f01d89295091db401b8b515ab781e3580a6bb333e912591" +checksum = "a5833f8bc88104357d38a8952d2a16c3e66080e2e512c0e7001c0c003006c475" dependencies = [ "multiversx-sc", ] [[package]] name = "multiversx-sc-wasm-adapter" -version = "0.39.8" +version = "0.45.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "af5fee54f1498ec8181593cd54a96ef7436543ad78848e2e805b9b62c27c4095" +checksum = "c4299660d5413d9f120bfddda8105b1f9d28f0345a72f53e5dc90732c4983e45" dependencies = [ "multiversx-sc", - "wee_alloc", ] [[package]] @@ -256,18 +244,18 @@ checksum = "dd8b5dd2ae5ed71462c540258bedcb51965123ad7e7ccf4b9a8cafaa4a63576d" [[package]] name = "proc-macro2" -version = "1.0.63" +version = "1.0.70" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7b368fba921b0dce7e60f5e04ec15e565b3303972b42bcfde1d0713b881959eb" +checksum = "39278fbbf5fb4f646ce651690877f89d1c5811a3d4acb27700c1cb3cdb78fd3b" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.28" +version = "1.0.33" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1b9ab9c7eadfd8df19006f1cf1a4aed13540ed5cbc047010ece5826e10825488" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" dependencies = [ "proc-macro2", ] @@ -290,9 +278,9 @@ checksum = "a507befe795404456341dfab10cef66ead4c041f62b8b11bbb92bffe5d0953e0" [[package]] name = "syn" -version = "1.0.109" +version = "2.0.41" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "44c8b28c477cc3bf0e7966561e3460130e1255f7a1cf71931075f1c5e7a7e269" dependencies = [ "proc-macro2", "quote", @@ -336,35 +324,21 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" [[package]] -name = "wee_alloc" -version = "0.4.5" +name = "zerocopy" +version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" +checksum = "1c4061bedbb353041c12f413700357bec76df2c7e2ca8e4df8bac24c6bf68e3d" dependencies = [ - "cfg-if 0.1.10", - "libc", - "memory_units", - "winapi", + "zerocopy-derive", ] [[package]] -name = "winapi" -version = "0.3.9" +name = "zerocopy-derive" +version = "0.7.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +checksum = "b3c129550b3e6de3fd0ba67ba5c81818f9805e58b8d7fee80a3a59d2c9fc601a" dependencies = [ - "winapi-i686-pc-windows-gnu", - "winapi-x86_64-pc-windows-gnu", + "proc-macro2", + "quote", + "syn", ] - -[[package]] -name = "winapi-i686-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac3b87c63620426dd9b991e5ce0329eff545bccbbb34f3be09ff6fb6ab51b7b6" - -[[package]] -name = "winapi-x86_64-pc-windows-gnu" -version = "0.4.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "712e227841d057c1ee1cd2fb22fa7e5a5461ae8e48fa2ca79ec42cfc1931183f" diff --git a/multisig/wasm/Cargo.toml b/multisig/wasm/Cargo.toml index bd2110a1..b6d0ab00 100644 --- a/multisig/wasm/Cargo.toml +++ b/multisig/wasm/Cargo.toml @@ -1,7 +1,12 @@ +# Code generated by the multiversx-sc build system. DO NOT EDIT. + +# ########################################## +# ############## AUTO-GENERATED ############# +# ########################################## + [package] name = "multisig-wasm" version = "0.0.0" -authors = ["Andrei Marinica , Dorin Iancu "] edition = "2018" publish = false @@ -14,6 +19,7 @@ opt-level = "z" lto = true debug = false panic = "abort" +overflow-checks = false [dependencies.multisig] path = ".." diff --git a/multisig/wasm/src/lib.rs b/multisig/wasm/src/lib.rs index 4cf423c2..9d0cd26b 100644 --- a/multisig/wasm/src/lib.rs +++ b/multisig/wasm/src/lib.rs @@ -1,16 +1,19 @@ -// Code generated by the multiversx-sc multi-contract system. DO NOT EDIT. +// Code generated by the multiversx-sc build system. DO NOT EDIT. //////////////////////////////////////////////////// ////////////////// AUTO-GENERATED ////////////////// //////////////////////////////////////////////////// // Init: 1 -// Endpoints: 61 +// Endpoints: 62 // Async Callback (empty): 1 -// Total number of exported functions: 63 +// Total number of exported functions: 64 #![no_std] -#![feature(alloc_error_handler, lang_items)] + +// Configuration that works with rustc < 1.73.0. +// TODO: Recommended rustc version: 1.73.0 or newer. +#![feature(lang_items)] multiversx_sc_wasm_adapter::allocator!(); multiversx_sc_wasm_adapter::panic_handler!(); @@ -18,68 +21,70 @@ multiversx_sc_wasm_adapter::panic_handler!(); multiversx_sc_wasm_adapter::endpoints! { multisig ( - distributeFeesFromChildContracts - stake - unstake - proposeEsdtSafeSetCurrentTransactionBatchStatus - proposeMultiTransferEsdtBatch - moveRefundBatchToSafe - performAction - sign - upgradeChildContractFromSource - addBoardMember - removeUser - slashBoardMember - changeQuorum - addMapping - clearMapping - pauseEsdtSafe - unpauseEsdtSafe - changeFeeEstimatorContractAddress - changeElrondToEthGasLimit - changeDefaultPricePerGasUnit - changeTokenTicker - esdtSafeAddTokenToWhitelist - esdtSafeRemoveTokenFromWhitelist - esdtSafeSetMaxTxBatchSize - esdtSafeSetMaxTxBatchBlockDuration - esdtSafeSetMaxBridgedAmountForToken - multiTransferEsdtSetMaxBridgedAmountForToken - multiTransferEsdtSetMaxRefundTxBatchSize - multiTransferEsdtSetMaxRefundTxBatchBlockDuration - multiTransferEsdtSetWrappingContractAddress - getQuorum - getNumBoardMembers - getRequiredStakeAmount - getAmountStaked - getSlashAmount - getSlashedTokensAmount - getLastExecutedEthBatchId - getLastExecutedEthTxId - getErc20AddressForTokenId - getTokenIdForErc20Address - getEsdtSafeAddress - getMultiTransferEsdtAddress - getCurrentTxBatch - getCurrentRefundBatch - wasActionExecuted - wasTransferActionProposed - getActionIdForTransferBatch - wasSetCurrentTransactionBatchStatusActionProposed - getActionIdForSetCurrentTransactionBatchStatus - signed - userRole - getAllBoardMembers - getAllStakedRelayers - getActionSignerCount - getActionValidSignerCount - quorumReached - getActionLastIndex - getActionData - pause - unpause - isPaused + init => init + upgrade => upgrade + distributeFeesFromChildContracts => distribute_fees_from_child_contracts + stake => stake + unstake => unstake + proposeEsdtSafeSetCurrentTransactionBatchStatus => propose_esdt_safe_set_current_transaction_batch_status + proposeMultiTransferEsdtBatch => propose_multi_transfer_esdt_batch + moveRefundBatchToSafe => move_refund_batch_to_safe + performAction => perform_action_endpoint + sign => sign + upgradeChildContractFromSource => upgrade_child_contract_from_source + addBoardMember => add_board_member_endpoint + removeUser => remove_user + slashBoardMember => slash_board_member + changeQuorum => change_quorum + addMapping => add_mapping + clearMapping => clear_mapping + pauseEsdtSafe => pause_esdt_safe + unpauseEsdtSafe => unpause_esdt_safe + changeFeeEstimatorContractAddress => change_fee_estimator_contract_address + changeElrondToEthGasLimit => change_elrond_to_eth_gas_limit + changeDefaultPricePerGasUnit => change_default_price_per_gas_unit + changeTokenTicker => change_token_ticker + esdtSafeAddTokenToWhitelist => esdt_safe_add_token_to_whitelist + esdtSafeRemoveTokenFromWhitelist => esdt_safe_remove_token_from_whitelist + esdtSafeSetMaxTxBatchSize => esdt_safe_set_max_tx_batch_size + esdtSafeSetMaxTxBatchBlockDuration => esdt_safe_set_max_tx_batch_block_duration + esdtSafeSetMaxBridgedAmountForToken => esdt_safe_set_max_bridged_amount_for_token + multiTransferEsdtSetMaxBridgedAmountForToken => multi_transfer_esdt_set_max_bridged_amount_for_token + multiTransferEsdtSetMaxRefundTxBatchSize => multi_transfer_esdt_set_max_refund_tx_batch_size + multiTransferEsdtSetMaxRefundTxBatchBlockDuration => multi_transfer_esdt_set_max_refund_tx_batch_block_duration + multiTransferEsdtSetWrappingContractAddress => multi_transfer_esdt_set_wrapping_contract_address + getQuorum => quorum + getNumBoardMembers => num_board_members + getRequiredStakeAmount => required_stake_amount + getAmountStaked => amount_staked + getSlashAmount => slash_amount + getSlashedTokensAmount => slashed_tokens_amount + getLastExecutedEthBatchId => last_executed_eth_batch_id + getLastExecutedEthTxId => last_executed_eth_tx_id + getErc20AddressForTokenId => erc20_address_for_token_id + getTokenIdForErc20Address => token_id_for_erc20_address + getEsdtSafeAddress => esdt_safe_address + getMultiTransferEsdtAddress => multi_transfer_esdt_address + getCurrentTxBatch => get_current_tx_batch + getCurrentRefundBatch => get_current_refund_batch + wasActionExecuted => was_action_executed + wasTransferActionProposed => was_transfer_action_proposed + getActionIdForTransferBatch => get_action_id_for_transfer_batch + wasSetCurrentTransactionBatchStatusActionProposed => was_set_current_transaction_batch_status_action_proposed + getActionIdForSetCurrentTransactionBatchStatus => get_action_id_for_set_current_transaction_batch_status + signed => signed + userRole => user_role + getAllBoardMembers => get_all_board_members + getAllStakedRelayers => get_all_staked_relayers + getActionSignerCount => get_action_signer_count + getActionValidSignerCount => get_action_valid_signer_count + quorumReached => quorum_reached + getActionLastIndex => get_action_last_index + getActionData => get_action_data + pause => pause_endpoint + unpause => unpause_endpoint + isPaused => paused_status ) } -multiversx_sc_wasm_adapter::empty_callback! {} +multiversx_sc_wasm_adapter::async_callback_empty! {}