From fac185128d8f5d43d461cbcc2e70311891726c5d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Fri, 29 Dec 2023 13:41:23 +0200 Subject: [PATCH 1/4] Attempt reproducible build. --- .../on_pull_request_build_contracts.yml | 15 + .gitignore | 3 - Cargo.lock | 1701 +++++++++++++++++ .../{elrond.json => multiversx.json} | 0 .../simple-lock-whitelist/wasm/Cargo.lock | 362 ++++ .../simple-lock-whitelist/wasm/src/lib.rs | 48 +- 6 files changed, 2106 insertions(+), 23 deletions(-) create mode 100644 .github/workflows/on_pull_request_build_contracts.yml create mode 100644 Cargo.lock rename locked-asset/simple-lock-whitelist/{elrond.json => multiversx.json} (100%) create mode 100644 locked-asset/simple-lock-whitelist/wasm/Cargo.lock diff --git a/.github/workflows/on_pull_request_build_contracts.yml b/.github/workflows/on_pull_request_build_contracts.yml new file mode 100644 index 000000000..32ddf4c4f --- /dev/null +++ b/.github/workflows/on_pull_request_build_contracts.yml @@ -0,0 +1,15 @@ +name: On pull request, build contracts + +on: + pull_request: + +permissions: + contents: write + +jobs: + build: + uses: multiversx/mx-sc-actions/.github/workflows/reproducible-build.yml@v2.3.4 + with: + image_tag: v4.2.1 + package_whole_project_src: true + skip_preliminary_checks: true diff --git a/.gitignore b/.gitignore index c69171b0a..2274e755a 100644 --- a/.gitignore +++ b/.gitignore @@ -2,9 +2,6 @@ # will have compiled files and executables **/target/ **/output/ -# Remove Cargo.lock from gitignore if creating an executable, leave it for libraries -# More information here https://doc.rust-lang.org/cargo/guide/cargo-toml-vs-cargo-lock.html -Cargo.lock # These are backup files generated by rustfmt **/*.rs.bk diff --git a/Cargo.lock b/Cargo.lock new file mode 100644 index 000000000..05ac1c611 --- /dev/null +++ b/Cargo.lock @@ -0,0 +1,1701 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "ahash" +version = "0.7.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +dependencies = [ + "getrandom 0.2.11", + "once_cell", + "version_check", +] + +[[package]] +name = "arrayvec" +version = "0.7.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "bech32" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d86b93f97252c47b41663388e6d155714a9d0c398b99f1005cbc5f978b29f445" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[package]] +name = "block-buffer" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4152116fd6e9dadb291ae18fc1ec3575ed6d84c29642d97890f4b4a3417297e4" +dependencies = [ + "block-padding", + "generic-array", +] + +[[package]] +name = "block-padding" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8d696c370c750c948ada61c69a0ee2cbbb9c50b1019ddb86d9317157a99c2cae" + +[[package]] +name = "byteorder" +version = "1.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1fd0f2584146f6f2ef48085050886acf353beff7305ebd1ae69500e27c67f64b" + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "common-types" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "common_errors" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "common_structs" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "fixed-supply-token", + "math", + "mergeable", + "unwrappable", +] + +[[package]] +name = "config" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "elrond-wasm", + "pausable", + "permissions_module", + "token_send", +] + +[[package]] +name = "contexts" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-modules", + "farm_token", + "pausable", + "permissions_module", + "rewards", + "token_merge_helper", + "token_send", +] + +[[package]] +name = "cpufeatures" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +dependencies = [ + "libc", +] + +[[package]] +name = "curve25519-dalek" +version = "3.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90f9d052967f590a76e62eb387bd0bbb1b000182c3cefe5364db6b7211651bc0" +dependencies = [ + "byteorder", + "digest", + "rand_core 0.5.1", + "subtle", + "zeroize", +] + +[[package]] +name = "dex-tests" +version = "0.0.0" +dependencies = [ + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "factory", + "farm", + "farm-boosted-yields", + "farm-staking", + "farm-staking-proxy", + "farm_token", + "fees-collector", + "governance", + "locking_module", + "num-bigint", + "pair", + "pausable", + "rewards", + "router", + "simple-lock", +] + +[[package]] +name = "digest" +version = "0.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d3dd60d1080a57a05ab032377049e0591415d2b31afd7028356dbf3cc6dcb066" +dependencies = [ + "generic-array", +] + +[[package]] +name = "distribution" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "factory", +] + +[[package]] +name = "distribution-abi" +version = "0.0.0" +dependencies = [ + "distribution", + "elrond-wasm", + "elrond-wasm-debug", +] + +[[package]] +name = "distribution-tests" +version = "0.0.0" +dependencies = [ + "common_structs", + "distribution", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "factory", + "farm", + "fees-collector", + "hex", + "lkmex-transfer", + "num-bigint", + "num-traits", + "pair", + "proxy_dex", + "router", + "simple-lock", + "token-unstake", +] + +[[package]] +name = "ed25519" +version = "1.5.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "91cff35c70bba8a626e3185d8cd48cc11b5437e1a5bcd15b9b5fa3c64b6dfee7" +dependencies = [ + "signature", +] + +[[package]] +name = "ed25519-dalek" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c762bae6dcaf24c4c84667b8579785430908723d5c889f469d76a41d59cc7a9d" +dependencies = [ + "curve25519-dalek", + "ed25519", + "rand 0.7.3", + "serde", + "sha2", + "zeroize", +] + +[[package]] +name = "either" +version = "1.9.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" + +[[package]] +name = "elrond-codec" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "464f138aad7a8f8605ee709793863989b46d050f444bf65c4dc9f4bb481e1425" +dependencies = [ + "arrayvec", + "elrond-codec-derive", + "num-bigint", + "wee_alloc", +] + +[[package]] +name = "elrond-codec-derive" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "307ece5b7a6347c517a02f7c3d6fc40d516bbc2d5b2fe0468a1cb2bb4b36403e" +dependencies = [ + "hex", + "proc-macro2", + "quote", + "syn 1.0.109", +] + +[[package]] +name = "elrond-wasm" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce51a244a7dffb88af6426fbdf38d037750053e07269fec32f0b99b56c45f0ac" +dependencies = [ + "bitflags", + "elrond-codec", + "elrond-wasm-derive", + "hashbrown 0.11.2", + "hex-literal", + "num-traits", + "wee_alloc", +] + +[[package]] +name = "elrond-wasm-debug" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "864a9a59b8f85a2ad2d230985d68de326bd5ab360f3b39c21a34e0fba8224a65" +dependencies = [ + "bech32", + "ed25519-dalek", + "elrond-wasm", + "hex", + "itertools", + "mandos", + "num-bigint", + "num-traits", + "pathdiff", + "rand 0.8.5", + "rand_pcg", + "rand_seeder", + "rustc_version", + "serde", + "serde_json", + "sha2", + "sha3", + "toml", +] + +[[package]] +name = "elrond-wasm-derive" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b597e6a65aa96fdb2d6ed46c9d9fd1c224b857f4933022f89ab5ef5ada4f2ed" +dependencies = [ + "hex", + "proc-macro2", + "quote", + "radix_trie", + "syn 1.0.109", +] + +[[package]] +name = "elrond-wasm-modules" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a6d4dd2365a587179ad2f6ac32943433e3ba1b5da41d56b73b4d50b78ad78cd" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "endian-type" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" + +[[package]] +name = "energy-factory" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "hex", + "math", + "mergeable", + "num-bigint", + "num-traits", + "sc_whitelist_module", + "simple-lock", + "unwrappable", + "utils", +] + +[[package]] +name = "energy-factory-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "energy-factory", +] + +[[package]] +name = "energy-factory-mock" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "energy-query", +] + +[[package]] +name = "energy-factory-mock-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "energy-factory-mock", +] + +[[package]] +name = "energy-query" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "energy-factory", +] + +[[package]] +name = "energy-update" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "farm", + "num-bigint", + "weekly-rewards-splitting", +] + +[[package]] +name = "energy-update-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "energy-update", +] + +[[package]] +name = "events" +version = "0.0.0" +dependencies = [ + "common_structs", + "contexts", + "elrond-wasm", +] + +[[package]] +name = "factory" +version = "0.0.0" +dependencies = [ + "arrayvec", + "common_errors", + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "hex", + "itertools", + "num-bigint", + "num-traits", + "simple-lock", + "token_merge_helper", + "token_send", + "wee_alloc", +] + +[[package]] +name = "factory-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "factory", +] + +[[package]] +name = "farm" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "contexts", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory-mock", + "energy-query", + "energy-update", + "events", + "farm-boosted-yields", + "farm_base_impl", + "farm_token", + "fixed-supply-token", + "mergeable", + "num-bigint", + "pair", + "pausable", + "permissions_module", + "rewards", + "sc_whitelist_module", + "simple-lock", + "token_send", + "utils", + "week-timekeeping", + "weekly-rewards-splitting", +] + +[[package]] +name = "farm-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "farm", +] + +[[package]] +name = "farm-boosted-yields" +version = "0.0.0" +dependencies = [ + "common-types", + "config", + "elrond-wasm", + "energy-query", + "pausable", + "permissions_module", + "week-timekeeping", + "weekly-rewards-splitting", +] + +[[package]] +name = "farm-staking" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "contexts", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-query", + "events", + "farm", + "farm-boosted-yields", + "farm_base_impl", + "farm_token", + "fixed-supply-token", + "math", + "mergeable", + "num-bigint", + "pair", + "pausable", + "permissions_module", + "rewards", + "sc_whitelist_module", + "token_send", + "utils", + "week-timekeeping", + "weekly-rewards-splitting", +] + +[[package]] +name = "farm-staking-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "farm-staking", +] + +[[package]] +name = "farm-staking-proxy" +version = "0.0.0" +dependencies = [ + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "farm", + "farm-boosted-yields", + "farm-staking", + "farm_token", + "hex-literal", + "num-bigint", + "pair", + "pausable", + "rewards", + "sc_whitelist_module", + "token_merge_helper", +] + +[[package]] +name = "farm-staking-proxy-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "farm-staking-proxy", +] + +[[package]] +name = "farm-with-locked-rewards" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "contexts", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-query", + "events", + "farm", + "farm-boosted-yields", + "farm_base_impl", + "farm_token", + "fixed-supply-token", + "locking_module", + "mergeable", + "num-bigint", + "pausable", + "permissions_module", + "rewards", + "sc_whitelist_module", + "simple-lock", + "token_send", + "utils", + "week-timekeeping", + "weekly-rewards-splitting", +] + +[[package]] +name = "farm-with-locked-rewards-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "farm-with-locked-rewards", +] + +[[package]] +name = "farm_base_impl" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "contexts", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "events", + "farm_token", + "fixed-supply-token", + "mergeable", + "pausable", + "permissions_module", + "rewards", + "token_merge_helper", + "token_send", + "utils", +] + +[[package]] +name = "farm_token" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-modules", + "pausable", + "permissions_module", + "token_send", +] + +[[package]] +name = "fees-collector" +version = "0.0.0" +dependencies = [ + "common-types", + "common_errors", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-query", + "locking_module", + "num-bigint", + "sc_whitelist_module", + "simple-lock", + "utils", + "week-timekeeping", + "weekly-rewards-splitting", +] + +[[package]] +name = "fees-collector-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "fees-collector", +] + +[[package]] +name = "fixed-supply-token" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "fuzz" +version = "0.0.0" +dependencies = [ + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-debug", + "factory", + "farm", + "farm-staking", + "farm_token", + "num-bigint", + "pair", + "pair-mock", + "pausable", + "price-discovery", + "rand 0.8.5", + "rewards", + "router", + "simple-lock", +] + +[[package]] +name = "generic-array" +version = "0.14.7" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "85649ca51fd72272d7821adaf274ad91c288277713d9c18820d8499a7ff69e9a" +dependencies = [ + "typenum", + "version_check", +] + +[[package]] +name = "getrandom" +version = "0.1.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8fc3cb4d91f53b50155bdcfd23f6a4c39ae1969c2ae85982b135750cccaf5fce" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi 0.9.0+wasi-snapshot-preview1", +] + +[[package]] +name = "getrandom" +version = "0.2.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi 0.11.0+wasi-snapshot-preview1", +] + +[[package]] +name = "governance" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "num-bigint", + "pair-mock", +] + +[[package]] +name = "governance-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "governance", +] + +[[package]] +name = "governance-v2" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "energy-factory-mock", + "energy-query", + "num-bigint", +] + +[[package]] +name = "governance-v2-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "governance-v2", +] + +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash", +] + +[[package]] +name = "hashbrown" +version = "0.12.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" + +[[package]] +name = "hex-literal" +version = "0.3.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" + +[[package]] +name = "indexmap" +version = "1.9.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bd070e393353796e801d209ad339e89596eb4c8d430d18ede6a1cced8fafbd99" +dependencies = [ + "autocfg", + "hashbrown 0.12.3", +] + +[[package]] +name = "itertools" +version = "0.10.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +dependencies = [ + "either", +] + +[[package]] +name = "itoa" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" + +[[package]] +name = "keccak" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" +dependencies = [ + "cpufeatures", +] + +[[package]] +name = "libc" +version = "0.2.151" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" + +[[package]] +name = "lkmex-transfer" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-query", + "num-bigint", + "simple-lock", + "utils", +] + +[[package]] +name = "lkmex-transfer-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "lkmex-transfer", +] + +[[package]] +name = "locked-token-wrapper" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-factory-mock", + "energy-query", + "hex", + "lkmex-transfer", + "num-bigint", + "num-traits", + "simple-lock", + "utils", +] + +[[package]] +name = "locked-token-wrapper-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "locked-token-wrapper", +] + +[[package]] +name = "locking_module" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "energy-factory", + "simple-lock", +] + +[[package]] +name = "mandos" +version = "0.18.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "57cfadc5266c179dee0b5fd1aeba0934771af5ef250b278691b7944c261e7454" +dependencies = [ + "bech32", + "hex", + "num-bigint", + "num-traits", + "serde", + "serde_json", + "sha3", +] + +[[package]] +name = "math" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "memory_units" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" + +[[package]] +name = "mergeable" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "metabonding-staking" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "factory", + "num-bigint", +] + +[[package]] +name = "metabonding-staking-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "metabonding-staking", +] + +[[package]] +name = "nibble_vec" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8d77f3db4bce033f4d04db08079b2ef1c3d02b44e86f25d08886fafa7756ffa" + +[[package]] +name = "num-bigint" +version = "0.4.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "608e7659b5c3d7cba262d894801b9ec9d00de989e8a82bd4bef91d08da45cdc0" +dependencies = [ + "autocfg", + "num-integer", + "num-traits", +] + +[[package]] +name = "num-integer" +version = "0.1.45" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "225d3389fb3509a24c93f5c29eb6bde2586b98d9f016636dff58d7c6f7569cd9" +dependencies = [ + "autocfg", + "num-traits", +] + +[[package]] +name = "num-traits" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "39e3200413f237f41ab11ad6d161bc7239c84dcb631773ccd7de3dfe4b5c267c" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.19.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" + +[[package]] +name = "opaque-debug" +version = "0.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" + +[[package]] +name = "pair" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "fees-collector", + "itertools", + "num-bigint", + "pausable", + "permissions_module", + "simple-lock", + "token_send", +] + +[[package]] +name = "pair-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "pair", +] + +[[package]] +name = "pair-mock" +version = "0.0.0" +dependencies = [ + "common_errors", + "elrond-wasm", + "elrond-wasm-debug", + "itertools", +] + +[[package]] +name = "pair-mock-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "pair-mock", +] + +[[package]] +name = "pathdiff" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" + +[[package]] +name = "pausable" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "permissions_module", +] + +[[package]] +name = "pause-all" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "farm", + "pair", + "pausable", +] + +[[package]] +name = "pause-all-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "pause-all", +] + +[[package]] +name = "permissions_module" +version = "0.0.0" +dependencies = [ + "bitflags", + "common_errors", + "elrond-wasm", +] + +[[package]] +name = "ppv-lite86" +version = "0.2.17" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" + +[[package]] +name = "price-discovery" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "hex", + "hex-literal", + "locking_module", + "num-bigint", + "num-traits", + "simple-lock", +] + +[[package]] +name = "price-discovery-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "price-discovery", +] + +[[package]] +name = "proc-macro2" +version = "1.0.71" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "proxy-deployer" +version = "0.0.0" +dependencies = [ + "config", + "elrond-wasm", + "elrond-wasm-debug", + "farm", + "farm_token", + "num-bigint", + "pausable", +] + +[[package]] +name = "proxy-deployer-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm-debug", + "proxy-deployer", +] + +[[package]] +name = "proxy_dex" +version = "0.0.0" +dependencies = [ + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-query", + "farm", + "farm-boosted-yields", + "farm-with-locked-rewards", + "farm_base_impl", + "farm_token", + "fixed-supply-token", + "hex", + "itertools", + "locking_module", + "mergeable", + "num-bigint", + "num-traits", + "pair", + "pausable", + "rewards", + "sc_whitelist_module", + "simple-lock", + "token_merge_helper", + "token_send", + "utils", +] + +[[package]] +name = "proxy_dex-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "proxy_dex", +] + +[[package]] +name = "quote" +version = "1.0.33" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "radix_trie" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3681b28cd95acfb0560ea9441f82d6a4504fa3b15b97bd7b6e952131820e95" +dependencies = [ + "endian-type", + "nibble_vec", +] + +[[package]] +name = "rand" +version = "0.7.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6a6b1679d49b24bbfe0c803429aa1874472f50d9b363131f0e89fc356b544d03" +dependencies = [ + "getrandom 0.1.16", + "libc", + "rand_chacha 0.2.2", + "rand_core 0.5.1", + "rand_hc", +] + +[[package]] +name = "rand" +version = "0.8.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "34af8d1a0e25924bc5b7c43c079c942339d8f0a8b57c39049bef581b46327404" +dependencies = [ + "libc", + "rand_chacha 0.3.1", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_chacha" +version = "0.2.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4c8ed856279c9737206bf725bf36935d8666ead7aa69b52be55af369d193402" +dependencies = [ + "ppv-lite86", + "rand_core 0.5.1", +] + +[[package]] +name = "rand_chacha" +version = "0.3.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e6c10a63a0fa32252be49d21e7709d4d4baf8d231c2dbce1eaa8141b9b127d88" +dependencies = [ + "ppv-lite86", + "rand_core 0.6.4", +] + +[[package]] +name = "rand_core" +version = "0.5.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "90bde5296fc891b0cef12a6d03ddccc162ce7b2aff54160af9338f8d40df6d19" +dependencies = [ + "getrandom 0.1.16", +] + +[[package]] +name = "rand_core" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" +dependencies = [ + "getrandom 0.2.11", +] + +[[package]] +name = "rand_hc" +version = "0.2.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ca3129af7b92a17112d59ad498c6f81eaf463253766b90396d39ea7a39d6613c" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_pcg" +version = "0.2.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "16abd0c1b639e9eb4d7c50c0b8100b0d0f849be2349829c740fe8e6eb4816429" +dependencies = [ + "rand_core 0.5.1", +] + +[[package]] +name = "rand_seeder" +version = "0.2.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cf2890aaef0aa82719a50e808de264f9484b74b442e1a3a0e5ee38243ac40bdb" +dependencies = [ + "rand_core 0.6.4", +] + +[[package]] +name = "rewards" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "config", + "elrond-wasm", + "elrond-wasm-modules", + "farm_token", + "pausable", + "permissions_module", + "token_send", +] + +[[package]] +name = "router" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "locking_module", + "pair", + "pausable", + "simple-lock", + "token_send", +] + +[[package]] +name = "router-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "router", +] + +[[package]] +name = "rustc_version" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +dependencies = [ + "semver", +] + +[[package]] +name = "ryu" +version = "1.0.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" + +[[package]] +name = "sc_whitelist_module" +version = "0.0.0" +dependencies = [ + "common_errors", + "elrond-wasm", +] + +[[package]] +name = "semver" +version = "1.0.20" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" + +[[package]] +name = "serde" +version = "1.0.193" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +dependencies = [ + "serde_derive", +] + +[[package]] +name = "serde_derive" +version = "1.0.193" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.43", +] + +[[package]] +name = "serde_json" +version = "1.0.108" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +dependencies = [ + "itoa", + "ryu", + "serde", +] + +[[package]] +name = "sha2" +version = "0.9.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4d58a1e1bf39749807d89cf2d98ac2dfa0ff1cb3faa38fbb64dd88ac8013d800" +dependencies = [ + "block-buffer", + "cfg-if 1.0.0", + "cpufeatures", + "digest", + "opaque-debug", +] + +[[package]] +name = "sha3" +version = "0.9.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f81199417d4e5de3f04b1e871023acea7389672c4135918f05aa9cbf2f2fa809" +dependencies = [ + "block-buffer", + "digest", + "keccak", + "opaque-debug", +] + +[[package]] +name = "signature" +version = "1.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "74233d3b3b2f6d4b006dc19dee745e73e2a6bfb6f93607cd3b02bd5b00797d7c" + +[[package]] +name = "simple-lock" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "hex", + "num-bigint", + "num-traits", +] + +[[package]] +name = "simple-lock-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "simple-lock", +] + +[[package]] +name = "simple-lock-whitelist" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "hex", + "num-bigint", + "num-traits", + "simple-lock", + "utils", +] + +[[package]] +name = "simple-lock-whitelist-meta" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "simple-lock-whitelist", +] + +[[package]] +name = "subtle" +version = "2.5.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" + +[[package]] +name = "syn" +version = "1.0.109" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "syn" +version = "2.0.43" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "token-unstake" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-debug", + "elrond-wasm-modules", + "energy-factory", + "energy-query", + "hex", + "mergeable", + "num-bigint", + "num-traits", + "simple-lock", + "utils", + "week-timekeeping", +] + +[[package]] +name = "token-unstake-abi" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-debug", + "token-unstake", +] + +[[package]] +name = "token_merge_helper" +version = "0.0.0" +dependencies = [ + "common_errors", + "elrond-wasm", +] + +[[package]] +name = "token_send" +version = "0.0.0" +dependencies = [ + "common_errors", + "common_structs", + "elrond-wasm", +] + +[[package]] +name = "toml" +version = "0.5.11" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +dependencies = [ + "indexmap", + "serde", +] + +[[package]] +name = "typenum" +version = "1.17.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" + +[[package]] +name = "unicode-ident" +version = "1.0.12" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" + +[[package]] +name = "unwrappable" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "utils" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "fixed-supply-token", + "mergeable", +] + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "wasi" +version = "0.9.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "cccddf32554fecc6acb585f82a32a72e28b48f8c4c1883ddfeeeaa96f7d8e519" + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wee_alloc" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "memory_units", + "winapi", +] + +[[package]] +name = "week-timekeeping" +version = "0.0.0" +dependencies = [ + "common-types", + "elrond-wasm", +] + +[[package]] +name = "weekly-rewards-splitting" +version = "0.0.0" +dependencies = [ + "common-types", + "elrond-wasm", + "energy-query", + "math", + "unwrappable", + "week-timekeeping", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[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" + +[[package]] +name = "zeroize" +version = "1.3.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "4756f7db3f7b5574938c3eb1c117038b8e07f95ee6718c0efad4ac21508f1efd" +dependencies = [ + "zeroize_derive", +] + +[[package]] +name = "zeroize_derive" +version = "1.4.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.43", +] diff --git a/locked-asset/simple-lock-whitelist/elrond.json b/locked-asset/simple-lock-whitelist/multiversx.json similarity index 100% rename from locked-asset/simple-lock-whitelist/elrond.json rename to locked-asset/simple-lock-whitelist/multiversx.json diff --git a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock new file mode 100644 index 000000000..52b57dee5 --- /dev/null +++ b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock @@ -0,0 +1,362 @@ +# This file is automatically @generated by Cargo. +# It is not intended for manual editing. +version = 3 + +[[package]] +name = "ahash" +version = "0.7.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" +dependencies = [ + "getrandom", + "once_cell", + "version_check", +] + +[[package]] +name = "arrayvec" +version = "0.7.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" + +[[package]] +name = "autocfg" +version = "1.1.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d468802bab17cbc0cc575e9b053f41e72aa36bfa6b7f55e3529ffa43161b97fa" + +[[package]] +name = "bitflags" +version = "1.3.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bef38d45163c2f1dde094a7dfd33ccf595c92905c8f8f4fdc18d06fb1037718a" + +[[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" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" + +[[package]] +name = "common_structs" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "fixed-supply-token", + "math", + "mergeable", + "unwrappable", +] + +[[package]] +name = "elrond-codec" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "464f138aad7a8f8605ee709793863989b46d050f444bf65c4dc9f4bb481e1425" +dependencies = [ + "arrayvec", + "elrond-codec-derive", + "wee_alloc", +] + +[[package]] +name = "elrond-codec-derive" +version = "0.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "307ece5b7a6347c517a02f7c3d6fc40d516bbc2d5b2fe0468a1cb2bb4b36403e" +dependencies = [ + "hex", + "proc-macro2", + "quote", + "syn", +] + +[[package]] +name = "elrond-wasm" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ce51a244a7dffb88af6426fbdf38d037750053e07269fec32f0b99b56c45f0ac" +dependencies = [ + "bitflags", + "elrond-codec", + "elrond-wasm-derive", + "hashbrown", + "hex-literal", + "num-traits", + "wee_alloc", +] + +[[package]] +name = "elrond-wasm-derive" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5b597e6a65aa96fdb2d6ed46c9d9fd1c224b857f4933022f89ab5ef5ada4f2ed" +dependencies = [ + "hex", + "proc-macro2", + "quote", + "radix_trie", + "syn", +] + +[[package]] +name = "elrond-wasm-modules" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "1a6d4dd2365a587179ad2f6ac32943433e3ba1b5da41d56b73b4d50b78ad78cd" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "elrond-wasm-node" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "daa830e234e3970f453d3a650d2980483f3abba26ca7f884b6bc035bbe5be571" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "elrond-wasm-output" +version = "0.38.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "7bc44ada94a25dcb60b6eb51bb5bd021eb5fd87a3d21d96ece51d7faf5c438b7" +dependencies = [ + "elrond-wasm-node", + "wee_alloc", +] + +[[package]] +name = "endian-type" +version = "0.1.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" + +[[package]] +name = "fixed-supply-token" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "getrandom" +version = "0.2.8" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" +dependencies = [ + "cfg-if 1.0.0", + "libc", + "wasi", +] + +[[package]] +name = "hashbrown" +version = "0.11.2" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ab5ef0d4909ef3724cc8cce6ccc8572c5c817592e9285f5464f8e86f8bd3726e" +dependencies = [ + "ahash", +] + +[[package]] +name = "hex" +version = "0.4.3" +source = "registry+https://github.com/rust-lang/crates.io-index" +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.138" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" + +[[package]] +name = "math" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "memory_units" +version = "0.4.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8452105ba047068f40ff7093dd1d9da90898e63dd61736462e9cdda6a90ad3c3" + +[[package]] +name = "mergeable" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "nibble_vec" +version = "0.0.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "c8d77f3db4bce033f4d04db08079b2ef1c3d02b44e86f25d08886fafa7756ffa" + +[[package]] +name = "num-traits" +version = "0.2.15" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "578ede34cf02f8924ab9447f50c28075b4d3e5b269972345e7e0372b38c6cdcd" +dependencies = [ + "autocfg", +] + +[[package]] +name = "once_cell" +version = "1.16.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" + +[[package]] +name = "proc-macro2" +version = "1.0.47" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" +dependencies = [ + "unicode-ident", +] + +[[package]] +name = "quote" +version = "1.0.21" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +dependencies = [ + "proc-macro2", +] + +[[package]] +name = "radix_trie" +version = "0.1.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3d3681b28cd95acfb0560ea9441f82d6a4504fa3b15b97bd7b6e952131820e95" +dependencies = [ + "endian-type", + "nibble_vec", +] + +[[package]] +name = "simple-lock" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "elrond-wasm-modules", +] + +[[package]] +name = "simple-lock-whitelist" +version = "0.0.0" +dependencies = [ + "elrond-wasm", + "elrond-wasm-modules", + "simple-lock", + "utils", +] + +[[package]] +name = "simple-lock-whitelist-wasm" +version = "0.0.0" +dependencies = [ + "elrond-wasm-node", + "elrond-wasm-output", + "simple-lock-whitelist", +] + +[[package]] +name = "syn" +version = "1.0.105" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + +[[package]] +name = "unicode-ident" +version = "1.0.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" + +[[package]] +name = "unwrappable" +version = "0.0.0" +dependencies = [ + "elrond-wasm", +] + +[[package]] +name = "utils" +version = "0.0.0" +dependencies = [ + "common_structs", + "elrond-wasm", + "fixed-supply-token", + "mergeable", +] + +[[package]] +name = "version_check" +version = "0.9.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "wasi" +version = "0.11.0+wasi-snapshot-preview1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "9c8d87e72b64a3b4db28d11ce29237c246188f4f51057d65a7eab63b7987e423" + +[[package]] +name = "wee_alloc" +version = "0.4.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dbb3b5a6b2bb17cb6ad44a2e68a43e8d2722c997da10e928665c72ec6c0a0b8e" +dependencies = [ + "cfg-if 0.1.10", + "libc", + "memory_units", + "winapi", +] + +[[package]] +name = "winapi" +version = "0.3.9" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5c839a674fcd7a98952e593242ea400abe93992746761e38641405d28b00f419" +dependencies = [ + "winapi-i686-pc-windows-gnu", + "winapi-x86_64-pc-windows-gnu", +] + +[[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/locked-asset/simple-lock-whitelist/wasm/src/lib.rs b/locked-asset/simple-lock-whitelist/wasm/src/lib.rs index 85aa583b5..350e292d8 100644 --- a/locked-asset/simple-lock-whitelist/wasm/src/lib.rs +++ b/locked-asset/simple-lock-whitelist/wasm/src/lib.rs @@ -1,36 +1,44 @@ +// Code generated by the elrond-wasm multi-contract system. DO NOT EDIT. + //////////////////////////////////////////////////// ////////////////// AUTO-GENERATED ////////////////// //////////////////////////////////////////////////// +// Init: 1 +// Endpoints: 25 +// Async Callback: 1 +// Total number of exported functions: 27 + #![no_std] elrond_wasm_node::wasm_endpoints! { simple_lock_whitelist ( - callBack - addFarmToWhitelist - addLiquidityLockedToken + setTransferRoleLockedToken + setTransferRoleProxyLpToken + setTransferRoleProxyFarmToken + setLockedToken + lockTokens + unlockTokens + getTokenWhitelist + issueLockedToken + getLockedTokenId + issueLpProxyToken addLpToWhitelist - enterFarmLockedToken - exitFarmLockedToken - farmClaimRewardsLockedToken - getFarmProxyTokenId - getKnownFarms + removeLpFromWhitelist + addLiquidityLockedToken + removeLiquidityLockedToken getKnownLiquidityPools - getLockedTokenId getLpProxyTokenId - getTokenWhitelist issueFarmProxyToken - issueLockedToken - issueLpProxyToken - lockTokens + addFarmToWhitelist removeFarmFromWhitelist - removeLiquidityLockedToken - removeLpFromWhitelist - setLockedToken - setTransferRoleLockedToken - setTransferRoleProxyFarmToken - setTransferRoleProxyLpToken - unlockTokens + enterFarmLockedToken + exitFarmLockedToken + farmClaimRewardsLockedToken + getKnownFarms + getFarmProxyTokenId + exitFarmOldToken + callBack ) } From f94df5dbb71a0558737ec2b7529441f658dbf028 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Fri, 29 Dec 2023 14:20:47 +0200 Subject: [PATCH 2/4] Partially adjust Cargo.lock files. --- Cargo.lock | 76 ++++++++++--------- .../simple-lock-whitelist/wasm/Cargo.lock | 12 +-- 2 files changed, 48 insertions(+), 40 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 05ac1c611..1bb764a0b 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,20 +4,20 @@ version = 3 [[package]] name = "ahash" -version = "0.7.7" +version = "0.7.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5a824f2aa7e75a0c98c5a504fceb80649e9c35265d44525b5f94de4771a395cd" +checksum = "fcb51a0695d8f838b1ee009b3fbf66bda078cd64590202a864a8f3e8c4315c47" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.8", "once_cell", "version_check", ] [[package]] name = "arrayvec" -version = "0.7.4" +version = "0.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96d30a06541fbafbc7f82ed10c06164cfbd2c401138f6addd8404629c4b16711" +checksum = "8da52d66c7071e2e3fa2a1e5c6d088fec47b593032b254f5e980de8ea54454d6" [[package]] name = "autocfg" @@ -275,7 +275,7 @@ dependencies = [ "hex", "proc-macro2", "quote", - "syn 1.0.109", + "syn", ] [[package]] @@ -329,7 +329,7 @@ dependencies = [ "proc-macro2", "quote", "radix_trie", - "syn 1.0.109", + "syn", ] [[package]] @@ -747,9 +747,9 @@ dependencies = [ [[package]] name = "getrandom" -version = "0.2.11" +version = "0.2.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "fe9006bed769170c11f845cf00c7c1e9092aeb3f268e007c3e760ac68008070f" +checksum = "c05aeb6a22b8f62540c194aac980f2115af067bfe15a0734d7277a768d396b31" dependencies = [ "cfg-if 1.0.0", "libc", @@ -1015,9 +1015,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.19.0" +version = "1.16.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" +checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" [[package]] name = "opaque-debug" @@ -1145,9 +1145,9 @@ dependencies = [ [[package]] name = "proc-macro2" -version = "1.0.71" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "75cb1540fadbd5b8fbccc4dddad2734eba435053f725621c070711a14bb5f4b8" +checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" dependencies = [ "unicode-ident", ] @@ -1217,9 +1217,9 @@ dependencies = [ [[package]] name = "quote" -version = "1.0.33" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5267fca4496028628a95160fc423a33e8b2e6af8a5302579e322e4b520293cae" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] @@ -1293,7 +1293,7 @@ version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" dependencies = [ - "getrandom 0.2.11", + "getrandom 0.2.8", ] [[package]] @@ -1391,29 +1391,29 @@ checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" [[package]] name = "serde" -version = "1.0.193" +version = "1.0.156" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "25dd9975e68d0cb5aa1120c288333fc98731bd1dd12f561e468ea4728c042b89" +checksum = "314b5b092c0ade17c00142951e50ced110ec27cea304b1037c6969246c2469a4" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.193" +version = "1.0.156" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43576ca501357b9b071ac53cdc7da8ef0cbd9493d8df094cd821777ea6e894d3" +checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn", ] [[package]] name = "serde_json" -version = "1.0.108" +version = "1.0.99" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3d1c7e3eac408d115102c4c24ad393e0821bb3a5df4d506a80f85f7a742a526b" +checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3" dependencies = [ "itoa", "ryu", @@ -1504,9 +1504,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "syn" -version = "1.0.109" +version = "1.0.105" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "72b64191b275b66ffe2469e8af2c1cfe3bafa67b529ead792a6d0160888b4237" +checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" dependencies = [ "proc-macro2", "quote", @@ -1514,14 +1514,15 @@ dependencies = [ ] [[package]] -name = "syn" -version = "2.0.43" +name = "synstructure" +version = "0.12.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ee659fb5f3d355364e1f3e5bc10fb82068efbf824a1e9d1c9504244a6469ad53" +checksum = "f36bdaa60a83aca3921b5259d5400cbf5e90fc51931376a9bd4a0eb79aa7210f" dependencies = [ "proc-macro2", "quote", - "unicode-ident", + "syn", + "unicode-xid", ] [[package]] @@ -1587,9 +1588,15 @@ checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.6" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" + +[[package]] +name = "unicode-xid" +version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "f962df74c8c05a667b5ee8bcf162993134c104e96440b663c8daa176dc772d8c" [[package]] name = "unwrappable" @@ -1691,11 +1698,12 @@ dependencies = [ [[package]] name = "zeroize_derive" -version = "1.4.2" +version = "1.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce36e65b0d2999d2aafac989fb249189a141aee1f53c612c1f37d72631959f69" +checksum = "44bf07cb3e50ea2003396695d58bf46bc9887a1f362260446fad6bc4e79bd36c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.43", + "syn", + "synstructure", ] diff --git a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock index 52b57dee5..ee46616a4 100644 --- a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock +++ b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock @@ -227,18 +227,18 @@ checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" [[package]] name = "proc-macro2" -version = "1.0.47" +version = "1.0.49" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ea3d908b0e36316caf9e9e2c4625cdde190a7e6f440d794667ed17a1855e725" +checksum = "57a8eca9f9c4ffde41714334dee777596264c7825420f521abc92b5b5deb63a5" dependencies = [ "unicode-ident", ] [[package]] name = "quote" -version = "1.0.21" +version = "1.0.23" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bbe448f377a7d6961e30f5955f9b8d106c3f5e449d493ee1b125c1d43c2b5179" +checksum = "8856d8364d252a14d474036ea1358d63c9e6965c8e5c1885c18f73d70bff9c7b" dependencies = [ "proc-macro2", ] @@ -294,9 +294,9 @@ dependencies = [ [[package]] name = "unicode-ident" -version = "1.0.5" +version = "1.0.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6ceab39d59e4c9499d4e5a8ee0e2735b891bb7308ac83dfb4e80cad195c9f6f3" +checksum = "84a22b9f218b40614adcb3f4ff08b703773ad44fa9423e4e0d346d5db86e4ebc" [[package]] name = "unwrappable" From c39e9a057cd1dd9b98a68eeac07ff3899ab8ef4c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Fri, 29 Dec 2023 14:34:06 +0200 Subject: [PATCH 3/4] Fix cargo locks. --- Cargo.lock | 939 +----------------- Cargo.toml | 53 - locked-asset/simple-lock-whitelist/Cargo.toml | 8 - .../simple-lock-whitelist/wasm/Cargo.lock | 8 +- locked-asset/simple-lock/Cargo.toml | 8 - locked-asset/simple-lock/meta/Cargo.toml | 3 - 6 files changed, 29 insertions(+), 990 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 1bb764a0b..226a745b7 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -71,20 +71,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "common-types" -version = "0.0.0" -dependencies = [ - "elrond-wasm", -] - -[[package]] -name = "common_errors" -version = "0.0.0" -dependencies = [ - "elrond-wasm", -] - [[package]] name = "common_structs" version = "0.0.0" @@ -96,40 +82,11 @@ dependencies = [ "unwrappable", ] -[[package]] -name = "config" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "elrond-wasm", - "pausable", - "permissions_module", - "token_send", -] - -[[package]] -name = "contexts" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-modules", - "farm_token", - "pausable", - "permissions_module", - "rewards", - "token_merge_helper", - "token_send", -] - [[package]] name = "cpufeatures" -version = "0.2.11" +version = "0.2.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ce420fe07aecd3e67c5f910618fe65e94158f6dcc0adf44e00d69ce2bdfe0fd0" +checksum = "28d997bd5e24a5928dd43e46dc529867e207907fe0b239c3477d924f7f2ca320" dependencies = [ "libc", ] @@ -147,32 +104,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "dex-tests" -version = "0.0.0" -dependencies = [ - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "factory", - "farm", - "farm-boosted-yields", - "farm-staking", - "farm-staking-proxy", - "farm_token", - "fees-collector", - "governance", - "locking_module", - "num-bigint", - "pair", - "pausable", - "rewards", - "router", - "simple-lock", -] - [[package]] name = "digest" version = "0.9.0" @@ -182,49 +113,6 @@ dependencies = [ "generic-array", ] -[[package]] -name = "distribution" -version = "0.0.0" -dependencies = [ - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "factory", -] - -[[package]] -name = "distribution-abi" -version = "0.0.0" -dependencies = [ - "distribution", - "elrond-wasm", - "elrond-wasm-debug", -] - -[[package]] -name = "distribution-tests" -version = "0.0.0" -dependencies = [ - "common_structs", - "distribution", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "factory", - "farm", - "fees-collector", - "hex", - "lkmex-transfer", - "num-bigint", - "num-traits", - "pair", - "proxy_dex", - "router", - "simple-lock", - "token-unstake", -] - [[package]] name = "ed25519" version = "1.5.3" @@ -347,353 +235,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" -[[package]] -name = "energy-factory" -version = "0.0.0" -dependencies = [ - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "hex", - "math", - "mergeable", - "num-bigint", - "num-traits", - "sc_whitelist_module", - "simple-lock", - "unwrappable", - "utils", -] - -[[package]] -name = "energy-factory-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "energy-factory", -] - -[[package]] -name = "energy-factory-mock" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "energy-query", -] - -[[package]] -name = "energy-factory-mock-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "energy-factory-mock", -] - -[[package]] -name = "energy-query" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "energy-factory", -] - -[[package]] -name = "energy-update" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "farm", - "num-bigint", - "weekly-rewards-splitting", -] - -[[package]] -name = "energy-update-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "energy-update", -] - -[[package]] -name = "events" -version = "0.0.0" -dependencies = [ - "common_structs", - "contexts", - "elrond-wasm", -] - -[[package]] -name = "factory" -version = "0.0.0" -dependencies = [ - "arrayvec", - "common_errors", - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "hex", - "itertools", - "num-bigint", - "num-traits", - "simple-lock", - "token_merge_helper", - "token_send", - "wee_alloc", -] - -[[package]] -name = "factory-abi" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "factory", -] - -[[package]] -name = "farm" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "contexts", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory-mock", - "energy-query", - "energy-update", - "events", - "farm-boosted-yields", - "farm_base_impl", - "farm_token", - "fixed-supply-token", - "mergeable", - "num-bigint", - "pair", - "pausable", - "permissions_module", - "rewards", - "sc_whitelist_module", - "simple-lock", - "token_send", - "utils", - "week-timekeeping", - "weekly-rewards-splitting", -] - -[[package]] -name = "farm-abi" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "farm", -] - -[[package]] -name = "farm-boosted-yields" -version = "0.0.0" -dependencies = [ - "common-types", - "config", - "elrond-wasm", - "energy-query", - "pausable", - "permissions_module", - "week-timekeeping", - "weekly-rewards-splitting", -] - -[[package]] -name = "farm-staking" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "contexts", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-query", - "events", - "farm", - "farm-boosted-yields", - "farm_base_impl", - "farm_token", - "fixed-supply-token", - "math", - "mergeable", - "num-bigint", - "pair", - "pausable", - "permissions_module", - "rewards", - "sc_whitelist_module", - "token_send", - "utils", - "week-timekeeping", - "weekly-rewards-splitting", -] - -[[package]] -name = "farm-staking-abi" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "farm-staking", -] - -[[package]] -name = "farm-staking-proxy" -version = "0.0.0" -dependencies = [ - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "farm", - "farm-boosted-yields", - "farm-staking", - "farm_token", - "hex-literal", - "num-bigint", - "pair", - "pausable", - "rewards", - "sc_whitelist_module", - "token_merge_helper", -] - -[[package]] -name = "farm-staking-proxy-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "farm-staking-proxy", -] - -[[package]] -name = "farm-with-locked-rewards" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "contexts", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-query", - "events", - "farm", - "farm-boosted-yields", - "farm_base_impl", - "farm_token", - "fixed-supply-token", - "locking_module", - "mergeable", - "num-bigint", - "pausable", - "permissions_module", - "rewards", - "sc_whitelist_module", - "simple-lock", - "token_send", - "utils", - "week-timekeeping", - "weekly-rewards-splitting", -] - -[[package]] -name = "farm-with-locked-rewards-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "farm-with-locked-rewards", -] - -[[package]] -name = "farm_base_impl" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "contexts", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "events", - "farm_token", - "fixed-supply-token", - "mergeable", - "pausable", - "permissions_module", - "rewards", - "token_merge_helper", - "token_send", - "utils", -] - -[[package]] -name = "farm_token" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-modules", - "pausable", - "permissions_module", - "token_send", -] - -[[package]] -name = "fees-collector" -version = "0.0.0" -dependencies = [ - "common-types", - "common_errors", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-query", - "locking_module", - "num-bigint", - "sc_whitelist_module", - "simple-lock", - "utils", - "week-timekeeping", - "weekly-rewards-splitting", -] - -[[package]] -name = "fees-collector-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "fees-collector", -] - [[package]] name = "fixed-supply-token" version = "0.0.0" @@ -701,29 +242,6 @@ dependencies = [ "elrond-wasm", ] -[[package]] -name = "fuzz" -version = "0.0.0" -dependencies = [ - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-debug", - "factory", - "farm", - "farm-staking", - "farm_token", - "num-bigint", - "pair", - "pair-mock", - "pausable", - "price-discovery", - "rand 0.8.5", - "rewards", - "router", - "simple-lock", -] - [[package]] name = "generic-array" version = "0.14.7" @@ -756,44 +274,6 @@ dependencies = [ "wasi 0.11.0+wasi-snapshot-preview1", ] -[[package]] -name = "governance" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "num-bigint", - "pair-mock", -] - -[[package]] -name = "governance-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "governance", -] - -[[package]] -name = "governance-v2" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "energy-factory-mock", - "energy-query", - "num-bigint", -] - -[[package]] -name = "governance-v2-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "governance-v2", -] - [[package]] name = "hashbrown" version = "0.11.2" @@ -835,91 +315,31 @@ dependencies = [ name = "itertools" version = "0.10.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" -dependencies = [ - "either", -] - -[[package]] -name = "itoa" -version = "1.0.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" - -[[package]] -name = "keccak" -version = "0.1.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" -dependencies = [ - "cpufeatures", -] - -[[package]] -name = "libc" -version = "0.2.151" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "302d7ab3130588088d277783b1e2d2e10c9e9e4a16dd9050e6ec93fb3e7048f4" - -[[package]] -name = "lkmex-transfer" -version = "0.0.0" -dependencies = [ - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-query", - "num-bigint", - "simple-lock", - "utils", -] - -[[package]] -name = "lkmex-transfer-abi" -version = "0.0.0" +checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "lkmex-transfer", + "either", ] [[package]] -name = "locked-token-wrapper" -version = "0.0.0" -dependencies = [ - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-factory-mock", - "energy-query", - "hex", - "lkmex-transfer", - "num-bigint", - "num-traits", - "simple-lock", - "utils", -] +name = "itoa" +version = "1.0.10" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "b1a46d1a171d865aa5f83f92695765caa047a9b4cbae2cbf37dbd613a793fd4c" [[package]] -name = "locked-token-wrapper-meta" -version = "0.0.0" +name = "keccak" +version = "0.1.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "8f6d5ed8676d904364de097082f4e7d240b571b67989ced0240f08b7f966f940" dependencies = [ - "elrond-wasm-debug", - "locked-token-wrapper", + "cpufeatures", ] [[package]] -name = "locking_module" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "energy-factory", - "simple-lock", -] +name = "libc" +version = "0.2.139" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "mandos" @@ -956,27 +376,6 @@ dependencies = [ "elrond-wasm", ] -[[package]] -name = "metabonding-staking" -version = "0.0.0" -dependencies = [ - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "factory", - "num-bigint", -] - -[[package]] -name = "metabonding-staking-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "metabonding-staking", -] - [[package]] name = "nibble_vec" version = "0.0.4" @@ -1025,124 +424,18 @@ version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "624a8340c38c1b80fd549087862da4ba43e08858af025b236e509b6649fc13d5" -[[package]] -name = "pair" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "fees-collector", - "itertools", - "num-bigint", - "pausable", - "permissions_module", - "simple-lock", - "token_send", -] - -[[package]] -name = "pair-abi" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "pair", -] - -[[package]] -name = "pair-mock" -version = "0.0.0" -dependencies = [ - "common_errors", - "elrond-wasm", - "elrond-wasm-debug", - "itertools", -] - -[[package]] -name = "pair-mock-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "pair-mock", -] - [[package]] name = "pathdiff" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" -[[package]] -name = "pausable" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "permissions_module", -] - -[[package]] -name = "pause-all" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "farm", - "pair", - "pausable", -] - -[[package]] -name = "pause-all-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "pause-all", -] - -[[package]] -name = "permissions_module" -version = "0.0.0" -dependencies = [ - "bitflags", - "common_errors", - "elrond-wasm", -] - [[package]] name = "ppv-lite86" version = "0.2.17" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "5b40af805b3121feab8a3c29f04d8ad262fa8e0561883e7653e024ae4479e6de" -[[package]] -name = "price-discovery" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "hex", - "hex-literal", - "locking_module", - "num-bigint", - "num-traits", - "simple-lock", -] - -[[package]] -name = "price-discovery-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "price-discovery", -] - [[package]] name = "proc-macro2" version = "1.0.49" @@ -1152,69 +445,6 @@ dependencies = [ "unicode-ident", ] -[[package]] -name = "proxy-deployer" -version = "0.0.0" -dependencies = [ - "config", - "elrond-wasm", - "elrond-wasm-debug", - "farm", - "farm_token", - "num-bigint", - "pausable", -] - -[[package]] -name = "proxy-deployer-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm-debug", - "proxy-deployer", -] - -[[package]] -name = "proxy_dex" -version = "0.0.0" -dependencies = [ - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-query", - "farm", - "farm-boosted-yields", - "farm-with-locked-rewards", - "farm_base_impl", - "farm_token", - "fixed-supply-token", - "hex", - "itertools", - "locking_module", - "mergeable", - "num-bigint", - "num-traits", - "pair", - "pausable", - "rewards", - "sc_whitelist_module", - "simple-lock", - "token_merge_helper", - "token_send", - "utils", -] - -[[package]] -name = "proxy_dex-meta" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "proxy_dex", -] - [[package]] name = "quote" version = "1.0.23" @@ -1323,43 +553,6 @@ dependencies = [ "rand_core 0.6.4", ] -[[package]] -name = "rewards" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "config", - "elrond-wasm", - "elrond-wasm-modules", - "farm_token", - "pausable", - "permissions_module", - "token_send", -] - -[[package]] -name = "router" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "locking_module", - "pair", - "pausable", - "simple-lock", - "token_send", -] - -[[package]] -name = "router-abi" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "router", -] - [[package]] name = "rustc_version" version = "0.4.0" @@ -1375,14 +568,6 @@ version = "1.0.16" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f98d2aa92eebf49b69786be48e4477826b256916e84a57ff2a4f21923b48eb4c" -[[package]] -name = "sc_whitelist_module" -version = "0.0.0" -dependencies = [ - "common_errors", - "elrond-wasm", -] - [[package]] name = "semver" version = "1.0.20" @@ -1391,18 +576,18 @@ checksum = "836fa6a3e1e547f9a2c4040802ec865b5d85f4014efe00555d7090a3dcaa1090" [[package]] name = "serde" -version = "1.0.156" +version = "1.0.150" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "314b5b092c0ade17c00142951e50ced110ec27cea304b1037c6969246c2469a4" +checksum = "e326c9ec8042f1b5da33252c8a37e9ffbd2c9bef0155215b6e6c80c790e05f91" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.156" +version = "1.0.150" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7e29c4601e36bcec74a223228dce795f4cd3616341a4af93520ca1a837c087d" +checksum = "42a3df25b0713732468deadad63ab9da1f1fd75a48a15024b50363f128db627e" dependencies = [ "proc-macro2", "quote", @@ -1411,9 +596,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.99" +version = "1.0.89" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "46266871c240a00b8f503b877622fe33430b3c7d963bdc0f2adc511e54a1eae3" +checksum = "020ff22c755c2ed3f8cf162dbb41a7268d934702f3ed3631656ea597e08fc3db" dependencies = [ "itoa", "ryu", @@ -1457,11 +642,7 @@ version = "0.0.0" dependencies = [ "common_structs", "elrond-wasm", - "elrond-wasm-debug", "elrond-wasm-modules", - "hex", - "num-bigint", - "num-traits", ] [[package]] @@ -1469,7 +650,6 @@ name = "simple-lock-meta" version = "0.0.0" dependencies = [ "elrond-wasm", - "elrond-wasm-debug", "simple-lock", ] @@ -1478,11 +658,7 @@ name = "simple-lock-whitelist" version = "0.0.0" dependencies = [ "elrond-wasm", - "elrond-wasm-debug", "elrond-wasm-modules", - "hex", - "num-bigint", - "num-traits", "simple-lock", "utils", ] @@ -1504,9 +680,9 @@ checksum = "81cdd64d312baedb58e21336b31bc043b77e01cc99033ce76ef539f78e965ebc" [[package]] name = "syn" -version = "1.0.105" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" +checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ "proc-macro2", "quote", @@ -1525,51 +701,6 @@ dependencies = [ "unicode-xid", ] -[[package]] -name = "token-unstake" -version = "0.0.0" -dependencies = [ - "common_structs", - "elrond-wasm", - "elrond-wasm-debug", - "elrond-wasm-modules", - "energy-factory", - "energy-query", - "hex", - "mergeable", - "num-bigint", - "num-traits", - "simple-lock", - "utils", - "week-timekeeping", -] - -[[package]] -name = "token-unstake-abi" -version = "0.0.0" -dependencies = [ - "elrond-wasm", - "elrond-wasm-debug", - "token-unstake", -] - -[[package]] -name = "token_merge_helper" -version = "0.0.0" -dependencies = [ - "common_errors", - "elrond-wasm", -] - -[[package]] -name = "token_send" -version = "0.0.0" -dependencies = [ - "common_errors", - "common_structs", - "elrond-wasm", -] - [[package]] name = "toml" version = "0.5.11" @@ -1645,26 +776,6 @@ dependencies = [ "winapi", ] -[[package]] -name = "week-timekeeping" -version = "0.0.0" -dependencies = [ - "common-types", - "elrond-wasm", -] - -[[package]] -name = "weekly-rewards-splitting" -version = "0.0.0" -dependencies = [ - "common-types", - "elrond-wasm", - "energy-query", - "math", - "unwrappable", - "week-timekeeping", -] - [[package]] name = "winapi" version = "0.3.9" diff --git a/Cargo.toml b/Cargo.toml index 03bc3e07d..9fb62e262 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,60 +1,7 @@ [workspace] members = [ - "dex", - "dex/farm", - "dex/farm/meta", - "dex/farm-with-locked-rewards", - "dex/farm-with-locked-rewards/meta", - "dex/pair", - "dex/pair/meta", - "dex/router", - "dex/router/meta", - "dex/fuzz", - "dex/governance", - "dex/governance/meta", - "dex/price-discovery", - "dex/price-discovery/meta", - "dex/proxy-deployer", - "dex/proxy-deployer/meta", - "dex/pair-mock", - "dex/pair-mock/meta", - - "energy-integration/energy-factory-mock", - "energy-integration/energy-factory-mock/meta", - "energy-integration/energy-update", - "energy-integration/energy-update/meta", - "energy-integration/fees-collector", - "energy-integration/fees-collector/meta", - "energy-integration/governance-v2", - "energy-integration/governance-v2/meta", - - "farm-staking/farm-staking", - "farm-staking/farm-staking/meta", - "farm-staking/farm-staking-proxy", - "farm-staking/farm-staking-proxy/meta", - "farm-staking/metabonding-staking", - "farm-staking/metabonding-staking/meta", - - "locked-asset/", - "locked-asset/distribution", - "locked-asset/distribution/meta", - "locked-asset/proxy_dex", - "locked-asset/proxy_dex/meta", - "locked-asset/lkmex-transfer", - "locked-asset/lkmex-transfer/meta", - "locked-asset/locked-token-wrapper", - "locked-asset/locked-token-wrapper/meta", - "locked-asset/factory", - "locked-asset/factory/meta", "locked-asset/simple-lock", "locked-asset/simple-lock/meta", "locked-asset/simple-lock-whitelist", "locked-asset/simple-lock-whitelist/meta", - "locked-asset/energy-factory", - "locked-asset/energy-factory/meta", - "locked-asset/token-unstake", - "locked-asset/token-unstake/meta", - - "pause-all", - "pause-all/meta", ] diff --git a/locked-asset/simple-lock-whitelist/Cargo.toml b/locked-asset/simple-lock-whitelist/Cargo.toml index 1995d17ab..a102a565b 100644 --- a/locked-asset/simple-lock-whitelist/Cargo.toml +++ b/locked-asset/simple-lock-whitelist/Cargo.toml @@ -20,11 +20,3 @@ features = ["esdt-token-payment-legacy-decode",] [dependencies.elrond-wasm-modules] version = "=0.38.0" - -[dev-dependencies.elrond-wasm-debug] -version = "=0.38.0" - -[dev-dependencies] -num-bigint = "0.4.2" -num-traits = "0.2" -hex = "0.4" diff --git a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock index ee46616a4..a877f7eca 100644 --- a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock +++ b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock @@ -180,9 +180,9 @@ checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" [[package]] name = "libc" -version = "0.2.138" +version = "0.2.139" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "db6d7e329c562c5dfab7a46a2afabc8b987ab9a4834c9d1ca04dc54c1546cef8" +checksum = "201de327520df007757c1f0adce6e827fe8562fbc28bfd9c15571c66ca1f5f79" [[package]] name = "math" @@ -283,9 +283,9 @@ dependencies = [ [[package]] name = "syn" -version = "1.0.105" +version = "1.0.107" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "60b9b43d45702de4c839cb9b51d9f529c5dd26a4aff255b42b1ebc03e88ee908" +checksum = "1f4064b5b16e03ae50984a5a8ed5d4f8803e6bc1fd170a3cda91a1be4b18e3f5" dependencies = [ "proc-macro2", "quote", diff --git a/locked-asset/simple-lock/Cargo.toml b/locked-asset/simple-lock/Cargo.toml index e053af629..71f1b133d 100644 --- a/locked-asset/simple-lock/Cargo.toml +++ b/locked-asset/simple-lock/Cargo.toml @@ -17,11 +17,3 @@ version = "=0.38.0" [dependencies.common_structs] path = "../../common/common_structs" - -[dev-dependencies.elrond-wasm-debug] -version = "=0.38.0" - -[dev-dependencies] -num-bigint = "0.4.2" -num-traits = "0.2" -hex = "0.4" diff --git a/locked-asset/simple-lock/meta/Cargo.toml b/locked-asset/simple-lock/meta/Cargo.toml index e52ec1f97..ef3472c50 100644 --- a/locked-asset/simple-lock/meta/Cargo.toml +++ b/locked-asset/simple-lock/meta/Cargo.toml @@ -10,6 +10,3 @@ path = ".." [dependencies.elrond-wasm] version = "=0.38.0" - -[dependencies.elrond-wasm-debug] -version = "=0.38.0" From 68d61aac06467a4293d1780d8e76c5e4a393e38e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Andrei=20B=C4=83ncioiu?= Date: Fri, 29 Dec 2023 14:35:29 +0200 Subject: [PATCH 4/4] Fix cargo lock. --- Cargo.lock | 4 ++-- locked-asset/simple-lock-whitelist/wasm/Cargo.lock | 4 ++-- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 226a745b7..bbd3d0151 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -414,9 +414,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "opaque-debug" diff --git a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock index a877f7eca..7feca1634 100644 --- a/locked-asset/simple-lock-whitelist/wasm/Cargo.lock +++ b/locked-asset/simple-lock-whitelist/wasm/Cargo.lock @@ -221,9 +221,9 @@ dependencies = [ [[package]] name = "once_cell" -version = "1.16.0" +version = "1.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "86f0b0d4bf799edbc74508c1e8bf170ff5f41238e5f8225603ca7caaae2b7860" +checksum = "6f61fba1741ea2b3d6a1e3178721804bb716a68a6aeba1149b5d52e3d464ea66" [[package]] name = "proc-macro2"