From 273543e7407ba74639b7baadcc1bab762bbd7e58 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Julian=20=C4=86wirko?= Date: Sun, 26 Nov 2023 22:25:02 +0100 Subject: [PATCH] add sft collection properties setup --- CHANGELOG.md | 4 + Cargo.lock | 531 +++++++-------------- Cargo.toml | 6 +- README.md | 2 +- meta/Cargo.lock | 512 ++++++-------------- meta/Cargo.toml | 6 +- output/elven-tools-sft-minter.abi.json | 47 +- output/elven-tools-sft-minter.imports.json | 48 ++ output/elven-tools-sft-minter.mxsc.json | 51 +- output/elven-tools-sft-minter.wasm | Bin 11850 -> 12556 bytes src/setup.rs | 55 ++- wasm/Cargo.lock | 79 ++- wasm/Cargo.toml | 13 +- wasm/src/lib.rs | 2 +- 14 files changed, 576 insertions(+), 780 deletions(-) create mode 100644 output/elven-tools-sft-minter.imports.json diff --git a/CHANGELOG.md b/CHANGELOG.md index 9fe0aa0..7d7b1ed 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -1,3 +1,7 @@ +### [0.5.0](https://github.com/ElvenTools/elven-tools-sft-smart-contract/releases/tag/v0.4.0) (2023-11-26) +- add possibility to define collection token properties +- update `multiversx-sc` libraries + ### [0.4.0](https://github.com/ElvenTools/elven-tools-sft-smart-contract/releases/tag/v0.4.0) (2023-09-16) - add burn and mint endpoints - update `multiversx-sc` libraries diff --git a/Cargo.lock b/Cargo.lock index 2968f2c..f8aced2 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -27,26 +27,16 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "aes" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - [[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", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -58,18 +48,23 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "anstream" -version = "0.3.2" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] @@ -99,9 +94,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" dependencies = [ "anstyle", "windows-sys", @@ -259,35 +254,11 @@ version = "1.4.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "89b2fd2a0dcf38d7971e2194b6b6eebab45ae01067456a7fd93d5547a61b70be" -[[package]] -name = "bzip2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - [[package]] name = "cc" version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" -dependencies = [ - "jobserver", -] [[package]] name = "cfg-if" @@ -295,57 +266,45 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - [[package]] name = "clap" -version = "4.3.19" +version = "4.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" +checksum = "2275f18819641850fa26c89acc84d465c1bf91ce57bc2748b28c420473352f64" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.19" +version = "4.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" +checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc" dependencies = [ "anstream", "anstyle", "clap_lex", - "once_cell", "strsim", ] [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "colorchoice" @@ -376,12 +335,6 @@ version = "0.9.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "28c122c3980598d243d63d9a704629a2d748d101f278052ff068be5a4423ab6f" -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - [[package]] name = "convert_case" version = "0.6.0" @@ -488,41 +441,7 @@ checksum = "83fdaf97f4804dcebfa5862639bc9ce4121e82140bec2a987ac5140294865b5b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", -] - -[[package]] -name = "darling" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0209d94da627ab5605dcccf08bb18afa5009cfbef48d8a8b7d7bdbc79be25c5e" -dependencies = [ - "darling_core", - "darling_macro", -] - -[[package]] -name = "darling_core" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "177e3443818124b357d8e76f53be906d60937f0d3a90773a664fa63fa253e621" -dependencies = [ - "fnv", - "ident_case", - "proc-macro2", - "quote", - "syn 2.0.28", -] - -[[package]] -name = "darling_macro" -version = "0.20.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "836a9bbc7ad63342d6d6e7b815ccab164bc77a2d95d84bc3117a8c0d5c98e2d5" -dependencies = [ - "darling_core", - "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] @@ -535,12 +454,6 @@ dependencies = [ "zeroize", ] -[[package]] -name = "deranged" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" - [[package]] name = "digest" version = "0.9.0" @@ -558,7 +471,6 @@ checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" dependencies = [ "block-buffer 0.10.4", "crypto-common", - "subtle", ] [[package]] @@ -601,7 +513,7 @@ checksum = "a26ae43d7bcc3b814de94796a5e736d4029efb0ee900c12e2d54c993ad1a1e07" [[package]] name = "elven-tools-sft-minter" -version = "0.4.0" +version = "0.5.0" dependencies = [ "multiversx-sc", "multiversx-sc-scenario", @@ -622,40 +534,6 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" -[[package]] -name = "enumset" -version = "1.1.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e875f1719c16de097dee81ed675e2d9bb63096823ed3f0ca827b7dea3028bbbb" -dependencies = [ - "enumset_derive", -] - -[[package]] -name = "enumset_derive" -version = "0.8.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e08b6c6ab82d70f08844964ba10c7babb716de2ecaeab9be5717918a5177d3af" -dependencies = [ - "darling", - "proc-macro2", - "quote", - "syn 2.0.28", -] - -[[package]] -name = "env_logger" -version = "0.8.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a19187fea3ac7e84da7dacf48de0c45d63c6a76f9490dae389aead16c243fce3" -dependencies = [ - "atty", - "humantime", - "log", - "regex", - "termcolor", -] - [[package]] name = "equivalent" version = "1.0.1" @@ -850,19 +728,14 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[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]] -name = "hashbrown" -version = "0.14.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2c6201b9ff9fd90a5a3bac2e56a830d0caa509576f0e503818ee82c181b3437a" - [[package]] name = "heck" version = "0.4.1" @@ -892,9 +765,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" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "hmac" @@ -906,15 +779,6 @@ dependencies = [ "digest 0.9.0", ] -[[package]] -name = "hmac" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest 0.10.7", -] - [[package]] name = "http" version = "0.2.9" @@ -949,12 +813,6 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c4a1e36c821dbe04574f602848a19f742f4fb3c98d40449f11bcad18d6b17421" -[[package]] -name = "humantime" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a3a5bfb195931eeb336b2a7b4d761daec841b97f947d34394601737a7bba5e4" - [[package]] name = "hyper" version = "0.14.27" @@ -992,12 +850,6 @@ dependencies = [ "tokio-native-tls", ] -[[package]] -name = "ident_case" -version = "1.0.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b9e0384b61958566e926dc50660321d12159025e767c18e043daf26b70104c39" - [[package]] name = "idna" version = "0.4.0" @@ -1042,16 +894,7 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "d5477fe2230a79769d8dc68e0eabf5437907c0457a5614a9e8dddb67f65eb65d" dependencies = [ "equivalent", - "hashbrown 0.14.0", -] - -[[package]] -name = "inout" -version = "0.1.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" -dependencies = [ - "generic-array", + "hashbrown 0.14.3", ] [[package]] @@ -1073,9 +916,9 @@ dependencies = [ [[package]] name = "itertools" -version = "0.10.5" +version = "0.11.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b0fd2260e829bddf4cb6ea802289de2f86d6a7a690192fbe91b3f46e0f2c8473" +checksum = "b1c173a5686ce8bfa551b3563d0c2170bf24ca44da99c7ca4bfdab5418c3fe57" dependencies = [ "either", ] @@ -1086,15 +929,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" -[[package]] -name = "jobserver" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" -dependencies = [ - "libc", -] - [[package]] name = "js-sys" version = "0.3.64" @@ -1181,9 +1015,9 @@ dependencies = [ [[package]] name = "multiversx-chain-scenario-format" -version = "0.20.0" +version = "0.21.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cc5bd3e4bf86e4d8c53f915be3110261432fac45b1defe42c8eebe07c82ab983" +checksum = "c57b56954b133e76bfe77e1f20a903983f25fd24d53b28fe9cc9c9e54f374d2f" dependencies = [ "bech32", "hex", @@ -1196,9 +1030,9 @@ dependencies = [ [[package]] name = "multiversx-chain-vm" -version = "0.5.2" +version = "0.7.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1a17902391e7bb99a225a374464698c0d2b0829d8732e925451cce66c12efecf" +checksum = "6d3c6d36157be3a413daef246de14c8c9465bea53b985941593aa741423722ce" dependencies = [ "bitflags 1.3.2", "ed25519-dalek", @@ -1216,29 +1050,18 @@ dependencies = [ [[package]] name = "multiversx-chain-vm-executor" -version = "0.1.0" +version = "0.2.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e14f14947682eb69459676336dd8b678e2317aa9844724220ce73411bc947c3" -dependencies = [ - "anyhow", - "cfg-if", - "enumset", - "env_logger", - "lazy_static", - "libc", - "log", - "paste", - "thiserror", -] +checksum = "b59072fa0624b55ae5ae3fa6bfa91515bbeb4ac440214bc4a509e2c8806d6e9f" [[package]] name = "multiversx-sc" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5889db6e6f6814b221cf4c1cd2937aa047b419e2a80b08695d85b4a9f537bdfd" +checksum = "f11b51d6a2ab0218585ed58e100c5ac2218de09490fbfc4243b5ecd0ca7f5cbc" dependencies = [ "bitflags 1.3.2", - "hashbrown 0.13.2", + "hashbrown 0.14.3", "hex-literal", "multiversx-sc-codec", "multiversx-sc-derive", @@ -1247,9 +1070,9 @@ dependencies = [ [[package]] name = "multiversx-sc-codec" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1e15b46c17b87c0c7cdd79b041a4abd7f3a2b45f3c993f6ce38c0f233e82b6" +checksum = "327b0ad1c3477cab0d7c84391439ba302238f738ef3c6e1fcd18e247fba84875" dependencies = [ "arrayvec", "multiversx-sc-codec-derive", @@ -1258,9 +1081,9 @@ dependencies = [ [[package]] name = "multiversx-sc-codec-derive" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a7bc0762cd6d88f8bc54805bc652b042a61cd7fbc2d0a325010f088b78fb2ac" +checksum = "f444038e0043b8eda816b26952479c2aca3c4a643580f4337f71fb362a586db5" dependencies = [ "hex", "proc-macro2", @@ -1270,9 +1093,9 @@ dependencies = [ [[package]] name = "multiversx-sc-derive" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fead13b29d79f702e021926402588e9a7822ed9dfadfdfe71c436dce100e4f" +checksum = "784f0fc505806102fe6f808b368e12fcb13096dd73c5678f09c5663230724d6f" dependencies = [ "hex", "proc-macro2", @@ -1283,11 +1106,10 @@ dependencies = [ [[package]] name = "multiversx-sc-meta" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f19d1c0302123232c95305ffbdebda67eaca9699f2b4ab47dd8974c001d97b88" +checksum = "9b3fad2491d11c6edf3fe131696be31743dc568457c013b2c256e56376da294b" dependencies = [ - "anyhow", "clap", "colored", "common-path", @@ -1302,17 +1124,17 @@ dependencies = [ "rustc_version", "serde", "serde_json", - "tempfile", - "tokio", "toml", + "wasmparser 0.116.1", + "wasmprinter", "zip", ] [[package]] name = "multiversx-sc-scenario" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b179cedb5cbc43173c513c70bab840fe66718a39db5a7b83c23980a17bf9f5ae" +checksum = "285a6021a379c069cce06f5b6ba6b562ea63fb1c1fd252b031993e5f32e9e440" dependencies = [ "base64 0.13.1", "bech32", @@ -1338,9 +1160,9 @@ dependencies = [ [[package]] name = "multiversx-sdk" -version = "0.2.0" +version = "0.3.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7fb48ac185858a4ac825c300643df43344baeafe434fb4f9d9077fb81318f987" +checksum = "5baedd8e9f73ddee5a21964cde188397363c50bd43f1c12ee3dde20d15307cff" dependencies = [ "anyhow", "base64 0.13.1", @@ -1348,9 +1170,9 @@ dependencies = [ "bip39", "ed25519 1.5.3", "hex", - "hmac 0.11.0", + "hmac", "itertools", - "pbkdf2 0.9.0", + "pbkdf2", "pem", "rand", "reqwest", @@ -1474,7 +1296,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] @@ -1518,23 +1340,6 @@ dependencies = [ "windows-targets", ] -[[package]] -name = "password-hash" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" -dependencies = [ - "base64ct", - "rand_core", - "subtle", -] - -[[package]] -name = "paste" -version = "1.0.14" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "de3145af08024dea9fa9914f381a17b8fc6034dfb00f3a84013f7ff43f29ed4c" - [[package]] name = "pathdiff" version = "0.2.1" @@ -1550,18 +1355,6 @@ dependencies = [ "crypto-mac", ] -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest 0.10.7", - "hmac 0.12.1", - "password-hash", - "sha2 0.10.7", -] - [[package]] name = "pem" version = "1.1.1" @@ -1878,7 +1671,7 @@ checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] @@ -1901,7 +1694,16 @@ checksum = "8725e1dfadb3a50f7e5ce0b1a540466f6ed3fe7a0fca2ac2b8b831d31316bd00" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", +] + +[[package]] +name = "serde_spanned" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" +dependencies = [ + "serde", ] [[package]] @@ -1916,17 +1718,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha1" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest 0.10.7", -] - [[package]] name = "sha2" version = "0.9.9" @@ -2054,9 +1845,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.28" +version = "2.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" +checksum = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2" dependencies = [ "proc-macro2", "quote", @@ -2076,35 +1867,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "termcolor" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "be55cf8942feac5c765c2c993422806843c9a9a45d4d5c407ad6dd2ea95eb9b6" -dependencies = [ - "winapi-util", -] - -[[package]] -name = "thiserror" -version = "1.0.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "611040a08a0439f8248d1990b111c95baa9c704c805fa1f62104b39655fd7f90" -dependencies = [ - "thiserror-impl", -] - -[[package]] -name = "thiserror-impl" -version = "1.0.44" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "090198534930841fab3a5d1bb637cde49e339654e606195f8d9c76eeb081dc96" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "thread_local" version = "1.1.7" @@ -2115,23 +1877,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "time" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" -dependencies = [ - "deranged", - "serde", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" - [[package]] name = "tinyvec" version = "1.6.0" @@ -2175,7 +1920,7 @@ checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] @@ -2204,12 +1949,37 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.11" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" dependencies = [ - "indexmap 1.9.3", + "indexmap 2.0.0", "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.0.0", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", ] [[package]] @@ -2352,7 +2122,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", "wasm-bindgen-shared", ] @@ -2386,7 +2156,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -2397,6 +2167,36 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +[[package]] +name = "wasmparser" +version = "0.116.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a58e28b80dd8340cb07b8242ae654756161f6fc8d0038123d679b7b99964fa50" +dependencies = [ + "indexmap 2.0.0", + "semver", +] + +[[package]] +name = "wasmparser" +version = "0.118.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebbb91574de0011ded32b14db12777e7dd5e9ea2f9d7317a1ab51a9495c75924" +dependencies = [ + "indexmap 2.0.0", + "semver", +] + +[[package]] +name = "wasmprinter" +version = "0.2.74" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61a7a046e6636d25c06a5df00bdc34e02f9e6e0e8a356d738299b961a6126114" +dependencies = [ + "anyhow", + "wasmparser 0.118.0", +] + [[package]] name = "web-sys" version = "0.3.64" @@ -2504,6 +2304,15 @@ version = "0.48.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" +[[package]] +name = "winnow" +version = "0.5.19" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" +dependencies = [ + "memchr", +] + [[package]] name = "winreg" version = "0.10.1" @@ -2514,57 +2323,39 @@ dependencies = [ ] [[package]] -name = "zeroize" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" - -[[package]] -name = "zip" -version = "0.6.6" +name = "zerocopy" +version = "0.7.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +checksum = "e97e415490559a91254a2979b4829267a57d2fcd741a98eee8b722fb57289aa0" dependencies = [ - "aes", - "byteorder", - "bzip2", - "constant_time_eq", - "crc32fast", - "crossbeam-utils", - "flate2", - "hmac 0.12.1", - "pbkdf2 0.11.0", - "sha1", - "time", - "zstd", + "zerocopy-derive", ] [[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" +name = "zerocopy-derive" +version = "0.7.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +checksum = "dd7e48ccf166952882ca8bd778a43502c64f33bf94c12ebe2a7f08e5a0f6689f" dependencies = [ - "zstd-safe", + "proc-macro2", + "quote", + "syn 2.0.32", ] [[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +name = "zeroize" +version = "1.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" -dependencies = [ - "libc", - "zstd-sys", -] +checksum = "2a0956f1ba7c7909bfb66c2e9e4124ab6f6482560f6628b5aaeba39207c9aad9" [[package]] -name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" +name = "zip" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" dependencies = [ - "cc", - "libc", - "pkg-config", + "byteorder", + "crc32fast", + "crossbeam-utils", + "flate2", ] diff --git a/Cargo.toml b/Cargo.toml index f6809c7..d76a0a1 100644 --- a/Cargo.toml +++ b/Cargo.toml @@ -1,6 +1,6 @@ [package] name = "elven-tools-sft-minter" -version = "0.4.0" +version = "0.5.0" authors = ["Julian Ćwirko "] edition = "2021" publish = false @@ -9,7 +9,7 @@ publish = false path = "src/lib.rs" [dependencies.multiversx-sc] -version = "0.43.3" +version = "0.45.1" [dev-dependencies.multiversx-sc-scenario] -version = "0.43.3" +version = "0.45.1" diff --git a/README.md b/README.md index 0b258a7..00e565a 100644 --- a/README.md +++ b/README.md @@ -59,4 +59,4 @@ cargo test --test elven_tools_sft_minter_sc_rust_test - [Elven Tools](https://www.elven.tools) - SFTs and NFTs tools on the MultiversX blockchain - smart contracts, cli and dapp template - [useElven](https://www.useelven.com) - React hooks to be used with Next.js or standalone React - [elven.js](https://www.elvenjs.com) - The browser only lite MultiversX SDK, no build steps required. Works with static websites. -- [Buildo Begins](https://github.com/xdevguild/buildo-begins) - All things MultiversX CLI tool. +- [Buildo.dev](https://www.buildo.dev) - All things MultiversX CLI tool. diff --git a/meta/Cargo.lock b/meta/Cargo.lock index 00c0df1..d0a7d30 100644 --- a/meta/Cargo.lock +++ b/meta/Cargo.lock @@ -27,26 +27,16 @@ version = "1.0.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" -[[package]] -name = "aes" -version = "0.8.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ac1f845298e95f983ff1944b728ae08b8cebab80d684f0a832ed0fc74dfa27e2" -dependencies = [ - "cfg-if", - "cipher", - "cpufeatures", -] - [[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", "once_cell", "version_check", + "zerocopy", ] [[package]] @@ -58,18 +48,23 @@ dependencies = [ "memchr", ] +[[package]] +name = "allocator-api2" +version = "0.2.16" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "0942ffc6dcaadf03badf6e6a2d0228460359d5e34b57ccdc720b7382dfbd5ec5" + [[package]] name = "anstream" -version = "0.3.2" +version = "0.6.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0ca84f3628370c59db74ee214b3263d58f9aadd9b4fe7e711fd87dc452b7f163" +checksum = "2ab91ebe16eb252986481c5b62f6098f3b698a45e34b5b98200cf20dd2484a44" dependencies = [ "anstyle", "anstyle-parse", "anstyle-query", "anstyle-wincon", "colorchoice", - "is-terminal", "utf8parse", ] @@ -99,9 +94,9 @@ dependencies = [ [[package]] name = "anstyle-wincon" -version = "1.0.1" +version = "3.0.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "180abfa45703aebe0093f79badacc01b8fd4ea2e35118747e5811127f926e188" +checksum = "f0699d10d2f4d628a98ee7b57b289abbc98ff3bad977cb3152709d4bf2330628" dependencies = [ "anstyle", "windows-sys", @@ -157,12 +152,6 @@ version = "0.21.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "9ba43ea6f343b788c8764558649e08df62f86c6ef251fdaeb1ffd010a9ae50a2" -[[package]] -name = "base64ct" -version = "1.6.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8c3c1a368f70d6cf7302d78f8f7093da241fb8e8807c05cc9e51a125895a6d5b" - [[package]] name = "bitflags" version = "1.3.2" @@ -175,15 +164,6 @@ version = "2.3.3" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "630be753d4e58660abd17930c71b647fe46c27ea6b63cc59e1e3851406972e42" -[[package]] -name = "block-buffer" -version = "0.10.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3078c7629b62d3f0439517fa394996acacc5cbc91c5a20d8c658e77abd503a71" -dependencies = [ - "generic-array", -] - [[package]] name = "bstr" version = "1.6.0" @@ -212,35 +192,11 @@ version = "1.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "a2bd12c1caf447e69cd4528f47f94d203fd2582878ecb9e9465484c4148a8223" -[[package]] -name = "bzip2" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bdb116a6ef3f6c3698828873ad02c3014b3c85cadb88496095628e3ef1e347f8" -dependencies = [ - "bzip2-sys", - "libc", -] - -[[package]] -name = "bzip2-sys" -version = "0.1.11+1.0.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "736a955f3fa7875102d57c82b8cac37ec45224a07fd32d58f9f7a186b6cd4cdc" -dependencies = [ - "cc", - "libc", - "pkg-config", -] - [[package]] name = "cc" version = "1.0.79" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "50d30906286121d95be3d479533b458f87493b30a4b5f79a607db8f5d11aa91f" -dependencies = [ - "jobserver", -] [[package]] name = "cfg-if" @@ -248,57 +204,45 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" -[[package]] -name = "cipher" -version = "0.4.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "773f3b9af64447d2ce9850330c473515014aa235e6a783b02db81ff39e4a3dad" -dependencies = [ - "crypto-common", - "inout", -] - [[package]] name = "clap" -version = "4.3.19" +version = "4.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5fd304a20bff958a57f04c4e96a2e7594cc4490a0e809cbd48bb6437edaa452d" +checksum = "2275f18819641850fa26c89acc84d465c1bf91ce57bc2748b28c420473352f64" dependencies = [ "clap_builder", "clap_derive", - "once_cell", ] [[package]] name = "clap_builder" -version = "4.3.19" +version = "4.4.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "01c6a3f08f1fe5662a35cfe393aec09c4df95f60ee93b7556505260f75eee9e1" +checksum = "07cdf1b148b25c1e1f7a42225e30a0d99a615cd4637eae7365548dd4529b95bc" dependencies = [ "anstream", "anstyle", "clap_lex", - "once_cell", "strsim", ] [[package]] name = "clap_derive" -version = "4.3.12" +version = "4.4.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "54a9bb5758fc5dfe728d1019941681eccaf0cf8a4189b692a0ee2f2ecf90a050" +checksum = "cf9804afaaf59a91e75b022a30fb7229a7901f60c755489cc61c9b423b836442" dependencies = [ "heck", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] name = "clap_lex" -version = "0.5.0" +version = "0.6.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2da6da31387c7e4ef160ffab6d5e7f00c42626fe39aea70a7b0f1773f7dd6c1b" +checksum = "702fc72eb24e5a1e48ce58027a675bc24edd52096d5397d4aea7c6dd9eca0bd1" [[package]] name = "colorchoice" @@ -323,12 +267,6 @@ version = "1.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "2382f75942f4b3be3690fe4f86365e9c853c1587d6ee58212cebf6e2a9ccd101" -[[package]] -name = "constant_time_eq" -version = "0.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "245097e9a4535ee1e3e3931fcfcd55a796a44c643e8596ff6566d68f09b87bbc" - [[package]] name = "convert_case" version = "0.6.0" @@ -363,15 +301,6 @@ version = "0.8.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e496a50fda8aacccc86d7529e2c1e0892dbd0f898a6b5645b5561b89c3210efa" -[[package]] -name = "cpufeatures" -version = "0.2.9" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a17b76ff3a4162b0b27f354a0c87015ddad39d35f9c0c36607a3bdd175dde1f1" -dependencies = [ - "libc", -] - [[package]] name = "crc32fast" version = "1.3.2" @@ -390,43 +319,16 @@ dependencies = [ "cfg-if", ] -[[package]] -name = "crypto-common" -version = "0.1.6" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1bfb12502f3fc46cca1bb51ac28df9d618d813cdc3d2f25b9fe775a34af26bb3" -dependencies = [ - "generic-array", - "typenum", -] - -[[package]] -name = "deranged" -version = "0.3.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f2696e8a945f658fd14dc3b87242e6b80cd0f36ff04ea560fa39082368847946" - -[[package]] -name = "digest" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9ed9a281f7bc9b7576e61468ba615a66a5c8cfdff42420a70aa82701a3b1e292" -dependencies = [ - "block-buffer", - "crypto-common", - "subtle", -] - [[package]] name = "elven-tools-sft-minter" -version = "0.4.0" +version = "0.5.0" dependencies = [ "multiversx-sc", ] [[package]] name = "elven-tools-sft-minter-meta" -version = "0.4.0" +version = "0.5.0" dependencies = [ "elven-tools-sft-minter", "multiversx-sc-meta", @@ -447,6 +349,12 @@ version = "0.1.2" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" +[[package]] +name = "equivalent" +version = "1.0.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "5443807d6dff69373d433ab9ef5378ad8df50ca6298caf15de6e52e24aaf54d5" + [[package]] name = "errno" version = "0.3.2" @@ -562,16 +470,6 @@ dependencies = [ "slab", ] -[[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 = "gimli" version = "0.28.0" @@ -603,7 +501,7 @@ dependencies = [ "futures-sink", "futures-util", "http", - "indexmap", + "indexmap 1.9.3", "slab", "tokio", "tokio-util", @@ -618,11 +516,12 @@ checksum = "8a9ee70c43aaf417c914396645a0fa852624801b24ebb7ae78fe8272889ac888" [[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]] @@ -654,18 +553,9 @@ checksum = "7f24254aa9a54b5c858eaee2f5bccdb46aaf0e486a595ed5fd8f86ba55232a70" [[package]] name = "hex-literal" -version = "0.3.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7ebdb29d2ea9ed0083cd8cece49bbd968021bd99b0849edb4a9a7ee0fdf6a4e0" - -[[package]] -name = "hmac" -version = "0.12.1" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6c49c37c09c17a53d937dfbb742eb3a961d65a994e6bcdcf37e7399d0cc8ab5e" -dependencies = [ - "digest", -] +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "http" @@ -776,12 +666,13 @@ dependencies = [ ] [[package]] -name = "inout" -version = "0.1.3" +name = "indexmap" +version = "2.1.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a0c10553d664a4d0bcff9f4215d0aac67a639cc68ef660840afe309b807bc9f5" +checksum = "d530e1a18b1cb4c484e6e34556a0d948706958449fca0cab753d649f2bce3d1f" dependencies = [ - "generic-array", + "equivalent", + "hashbrown 0.14.3", ] [[package]] @@ -807,15 +698,6 @@ version = "1.0.9" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "af150ab688ff2122fcef229be89cb50dd66af9e01a4ff320cc137eecc9bacc38" -[[package]] -name = "jobserver" -version = "0.1.26" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "936cfd212a0155903bcbc060e316fb6cc7cbf2e1907329391ebadc1fe0ce77c2" -dependencies = [ - "libc", -] - [[package]] name = "js-sys" version = "0.3.64" @@ -843,16 +725,6 @@ version = "0.4.5" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "57bcfdad1b858c2db7c38303a6d2ad4dfaf5eb53dfeb0910128b2c26d6158503" -[[package]] -name = "lock_api" -version = "0.4.10" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c1cc9717a20b1bb222f333e6a92fd32f7d8a18ddc5a3191a11af45dcbf4dcd16" -dependencies = [ - "autocfg", - "scopeguard", -] - [[package]] name = "log" version = "0.4.19" @@ -893,12 +765,12 @@ dependencies = [ [[package]] name = "multiversx-sc" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5889db6e6f6814b221cf4c1cd2937aa047b419e2a80b08695d85b4a9f537bdfd" +checksum = "f11b51d6a2ab0218585ed58e100c5ac2218de09490fbfc4243b5ecd0ca7f5cbc" dependencies = [ "bitflags 1.3.2", - "hashbrown 0.13.2", + "hashbrown 0.14.3", "hex-literal", "multiversx-sc-codec", "multiversx-sc-derive", @@ -907,9 +779,9 @@ dependencies = [ [[package]] name = "multiversx-sc-codec" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1e15b46c17b87c0c7cdd79b041a4abd7f3a2b45f3c993f6ce38c0f233e82b6" +checksum = "327b0ad1c3477cab0d7c84391439ba302238f738ef3c6e1fcd18e247fba84875" dependencies = [ "arrayvec", "multiversx-sc-codec-derive", @@ -918,9 +790,9 @@ dependencies = [ [[package]] name = "multiversx-sc-codec-derive" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a7bc0762cd6d88f8bc54805bc652b042a61cd7fbc2d0a325010f088b78fb2ac" +checksum = "f444038e0043b8eda816b26952479c2aca3c4a643580f4337f71fb362a586db5" dependencies = [ "hex", "proc-macro2", @@ -930,9 +802,9 @@ dependencies = [ [[package]] name = "multiversx-sc-derive" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fead13b29d79f702e021926402588e9a7822ed9dfadfdfe71c436dce100e4f" +checksum = "784f0fc505806102fe6f808b368e12fcb13096dd73c5678f09c5663230724d6f" dependencies = [ "hex", "proc-macro2", @@ -943,11 +815,10 @@ dependencies = [ [[package]] name = "multiversx-sc-meta" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f19d1c0302123232c95305ffbdebda67eaca9699f2b4ab47dd8974c001d97b88" +checksum = "9b3fad2491d11c6edf3fe131696be31743dc568457c013b2c256e56376da294b" dependencies = [ - "anyhow", "clap", "colored", "common-path", @@ -962,9 +833,9 @@ dependencies = [ "rustc_version", "serde", "serde_json", - "tempfile", - "tokio", "toml", + "wasmparser 0.116.1", + "wasmprinter", "zip", ] @@ -1073,7 +944,7 @@ checksum = "a948666b637a0f465e8564c73e89d4dde00d72d4d473cc972f390fc3dcee7d9c" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] @@ -1094,58 +965,12 @@ dependencies = [ "vcpkg", ] -[[package]] -name = "parking_lot" -version = "0.12.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3742b2c103b9f06bc9fff0a37ff4912935851bee6d36f3c02bcc755bcfec228f" -dependencies = [ - "lock_api", - "parking_lot_core", -] - -[[package]] -name = "parking_lot_core" -version = "0.9.8" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93f00c865fe7cabf650081affecd3871070f26767e7b2070a3ffae14c654b447" -dependencies = [ - "cfg-if", - "libc", - "redox_syscall", - "smallvec", - "windows-targets", -] - -[[package]] -name = "password-hash" -version = "0.4.2" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7676374caaee8a325c9e7a2ae557f216c5563a171d6997b0ef8a65af35147700" -dependencies = [ - "base64ct", - "rand_core", - "subtle", -] - [[package]] name = "pathdiff" version = "0.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "8835116a5c179084a830efb3adc117ab007512b535bc1a21c991d3b32a6b44dd" -[[package]] -name = "pbkdf2" -version = "0.11.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "83a0692ec44e4cf1ef28ca317f14f8f07da2d95ec3fa01f86e4467b725e60917" -dependencies = [ - "digest", - "hmac", - "password-hash", - "sha2", -] - [[package]] name = "percent-encoding" version = "2.3.0" @@ -1198,12 +1023,6 @@ dependencies = [ "nibble_vec", ] -[[package]] -name = "rand_core" -version = "0.6.4" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ec0be4795e2f6a28069bec0b5ff3e2ac9bafc99e6a9a7dc3547996c5c816922c" - [[package]] name = "redox_syscall" version = "0.3.5" @@ -1346,12 +1165,6 @@ dependencies = [ "windows-sys", ] -[[package]] -name = "scopeguard" -version = "1.2.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94143f37725109f92c262ed2cf5e59bce7498c01bcc1502d7b9afe439a4e9f49" - [[package]] name = "security-framework" version = "2.9.2" @@ -1398,7 +1211,7 @@ checksum = "4eca7ac642d82aa35b60049a6eccb4be6be75e599bd2e9adb5f875a737654af2" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", ] [[package]] @@ -1412,6 +1225,15 @@ dependencies = [ "serde", ] +[[package]] +name = "serde_spanned" +version = "0.6.4" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "12022b835073e5b11e90a14f86838ceb1c8fb0325b72416845c487ac0fa95e80" +dependencies = [ + "serde", +] + [[package]] name = "serde_urlencoded" version = "0.7.1" @@ -1424,37 +1246,6 @@ dependencies = [ "serde", ] -[[package]] -name = "sha1" -version = "0.10.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f04293dc80c3993519f2d7f6f511707ee7094fe0c6d3406feb330cdb3540eba3" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "sha2" -version = "0.10.7" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "479fb9d862239e610720565ca91403019f2f00410f1864c5aa7479b950a76ed8" -dependencies = [ - "cfg-if", - "cpufeatures", - "digest", -] - -[[package]] -name = "signal-hook-registry" -version = "1.4.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8229b473baa5980ac72ef434c4415e70c4b5e71b423043adb4ba059f89c99a1" -dependencies = [ - "libc", -] - [[package]] name = "slab" version = "0.4.9" @@ -1496,12 +1287,6 @@ version = "0.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "73473c0e59e6d5812c5dfe2a064a6444949f089e20eec9a2e5506596494e4623" -[[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" @@ -1515,9 +1300,9 @@ dependencies = [ [[package]] name = "syn" -version = "2.0.28" +version = "2.0.32" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "04361975b3f5e348b2189d8dc55bc942f278b2d482a6a0365de5bdd62d351567" +checksum = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2" dependencies = [ "proc-macro2", "quote", @@ -1547,23 +1332,6 @@ dependencies = [ "once_cell", ] -[[package]] -name = "time" -version = "0.3.28" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "17f6bb557fd245c28e6411aa56b6403c689ad95061f50e4be16c274e70a17e48" -dependencies = [ - "deranged", - "serde", - "time-core", -] - -[[package]] -name = "time-core" -version = "0.1.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7300fbefb4dadc1af235a9cef3737cea692a9d97e1b9cbcd4ebdae6f8868e6fb" - [[package]] name = "tinyvec" version = "1.6.0" @@ -1590,25 +1358,11 @@ dependencies = [ "libc", "mio", "num_cpus", - "parking_lot", "pin-project-lite", - "signal-hook-registry", "socket2 0.5.4", - "tokio-macros", "windows-sys", ] -[[package]] -name = "tokio-macros" -version = "2.1.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "630bdcf245f78637c13ec01ffae6187cca34625e8c63150d424b59e55af2675e" -dependencies = [ - "proc-macro2", - "quote", - "syn 2.0.28", -] - [[package]] name = "tokio-native-tls" version = "0.3.1" @@ -1635,12 +1389,37 @@ dependencies = [ [[package]] name = "toml" -version = "0.5.11" +version = "0.8.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f4f7f0dd8d50a853a531c426359045b1998f04219d88799810762cd4ad314234" +checksum = "a1a195ec8c9da26928f773888e0742ca3ca1040c6cd859c919c9f59c1954ab35" dependencies = [ - "indexmap", + "indexmap 2.1.0", "serde", + "serde_spanned", + "toml_datetime", + "toml_edit", +] + +[[package]] +name = "toml_datetime" +version = "0.6.5" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "3550f4e9685620ac18a50ed434eb3aec30db8ba93b0287467bca5826ea25baf1" +dependencies = [ + "serde", +] + +[[package]] +name = "toml_edit" +version = "0.21.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "d34d383cd00a163b4a5b85053df514d45bc330f6de7737edfe0a93311d1eaa03" +dependencies = [ + "indexmap 2.1.0", + "serde", + "serde_spanned", + "toml_datetime", + "winnow", ] [[package]] @@ -1675,12 +1454,6 @@ version = "0.2.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "3528ecfd12c466c6f163363caf2d02a71161dd5e1cc6ae7b34207ea2d42d81ed" -[[package]] -name = "typenum" -version = "1.17.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "42ff0bf0c66b8238c6f3b578df37d0b7848e55df8577b3f74f92a69acceeb825" - [[package]] name = "unicode-bidi" version = "0.3.13" @@ -1783,7 +1556,7 @@ dependencies = [ "once_cell", "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", "wasm-bindgen-shared", ] @@ -1817,7 +1590,7 @@ checksum = "54681b18a46765f095758388f2d0cf16eb8d4169b639ab575a8f5693af210c7b" dependencies = [ "proc-macro2", "quote", - "syn 2.0.28", + "syn 2.0.32", "wasm-bindgen-backend", "wasm-bindgen-shared", ] @@ -1828,6 +1601,36 @@ version = "0.2.87" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "ca6ad05a4870b2bf5fe995117d3728437bd27d7cd5f06f13c17443ef369775a1" +[[package]] +name = "wasmparser" +version = "0.116.1" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "a58e28b80dd8340cb07b8242ae654756161f6fc8d0038123d679b7b99964fa50" +dependencies = [ + "indexmap 2.1.0", + "semver", +] + +[[package]] +name = "wasmparser" +version = "0.118.0" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "ebbb91574de0011ded32b14db12777e7dd5e9ea2f9d7317a1ab51a9495c75924" +dependencies = [ + "indexmap 2.1.0", + "semver", +] + +[[package]] +name = "wasmprinter" +version = "0.2.74" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "61a7a046e6636d25c06a5df00bdc34e02f9e6e0e8a356d738299b961a6126114" +dependencies = [ + "anyhow", + "wasmparser 0.118.0", +] + [[package]] name = "web-sys" version = "0.3.64" @@ -1936,61 +1739,52 @@ source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "1a515f5799fe4961cb532f983ce2b23082366b898e52ffbce459c86f67c8378a" [[package]] -name = "winreg" -version = "0.50.0" +name = "winnow" +version = "0.5.19" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" +checksum = "829846f3e3db426d4cee4510841b71a8e58aa2a76b1132579487ae430ccd9c7b" dependencies = [ - "cfg-if", - "windows-sys", + "memchr", ] [[package]] -name = "zip" -version = "0.6.6" +name = "winreg" +version = "0.50.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" +checksum = "524e57b2c537c0f9b1e69f1965311ec12182b4122e45035b1508cd24d2adadb1" dependencies = [ - "aes", - "byteorder", - "bzip2", - "constant_time_eq", - "crc32fast", - "crossbeam-utils", - "flate2", - "hmac", - "pbkdf2", - "sha1", - "time", - "zstd", + "cfg-if", + "windows-sys", ] [[package]] -name = "zstd" -version = "0.11.2+zstd.1.5.2" +name = "zerocopy" +version = "0.7.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "20cc960326ece64f010d2d2107537f26dc589a6573a316bd5b1dba685fa5fde4" +checksum = "e97e415490559a91254a2979b4829267a57d2fcd741a98eee8b722fb57289aa0" dependencies = [ - "zstd-safe", + "zerocopy-derive", ] [[package]] -name = "zstd-safe" -version = "5.0.2+zstd.1.5.2" +name = "zerocopy-derive" +version = "0.7.26" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "1d2a5585e04f9eea4b2a3d1eca508c4dee9592a89ef6f450c11719da0726f4db" +checksum = "dd7e48ccf166952882ca8bd778a43502c64f33bf94c12ebe2a7f08e5a0f6689f" dependencies = [ - "libc", - "zstd-sys", + "proc-macro2", + "quote", + "syn 2.0.32", ] [[package]] -name = "zstd-sys" -version = "2.0.8+zstd.1.5.5" +name = "zip" +version = "0.6.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5556e6ee25d32df2586c098bbfa278803692a20d0ab9565e049480d52707ec8c" +checksum = "760394e246e4c28189f19d488c058bf16f564016aefac5d32bb1f3b51d5e9261" dependencies = [ - "cc", - "libc", - "pkg-config", + "byteorder", + "crc32fast", + "crossbeam-utils", + "flate2", ] diff --git a/meta/Cargo.toml b/meta/Cargo.toml index 64a30c0..987f12c 100644 --- a/meta/Cargo.toml +++ b/meta/Cargo.toml @@ -1,7 +1,7 @@ [package] name = "elven-tools-sft-minter-meta" -version = "0.4.0" -authors = ["Julian Ćwirko "] +version = "0.5.0" +authors = ["Julian Ćwirko "] edition = "2021" publish = false @@ -9,4 +9,4 @@ publish = false path = ".." [dependencies.multiversx-sc-meta] -version = "0.43.3" +version = "0.45.1" diff --git a/output/elven-tools-sft-minter.abi.json b/output/elven-tools-sft-minter.abi.json index 6ddedc8..6d00c1c 100644 --- a/output/elven-tools-sft-minter.abi.json +++ b/output/elven-tools-sft-minter.abi.json @@ -9,11 +9,11 @@ }, "contractCrate": { "name": "elven-tools-sft-minter", - "version": "0.4.0" + "version": "0.5.0" }, "framework": { "name": "multiversx-sc", - "version": "0.43.3" + "version": "0.45.1" } }, "name": "ElvenToolsSftMinter", @@ -91,6 +91,11 @@ { "name": "collection_token_ticker", "type": "bytes" + }, + { + "name": "token_properties", + "type": "optional>", + "multi_arg": true } ], "outputs": [] @@ -306,7 +311,41 @@ ] } ], - "events": [], + "esdtAttributes": [], "hasCallback": true, - "types": {} + "types": { + "SFTProperties": { + "type": "enum", + "variants": [ + { + "name": "CanFreeze", + "discriminant": 0 + }, + { + "name": "CanWipe", + "discriminant": 1 + }, + { + "name": "CanPause", + "discriminant": 2 + }, + { + "name": "CanTransferCreateRole", + "discriminant": 3 + }, + { + "name": "CanChangeOwner", + "discriminant": 4 + }, + { + "name": "CanUpgrade", + "discriminant": 5 + }, + { + "name": "CanAddSpecialRoles", + "discriminant": 6 + } + ] + } + } } diff --git a/output/elven-tools-sft-minter.imports.json b/output/elven-tools-sft-minter.imports.json new file mode 100644 index 0000000..a9f98e1 --- /dev/null +++ b/output/elven-tools-sft-minter.imports.json @@ -0,0 +1,48 @@ +[ + "bigIntSetInt64", + "bigIntAdd", + "signalError", + "mBufferNew", + "mBufferAppend", + "managedSCAddress", + "bigIntNew", + "managedExecuteOnDestContext", + "cleanReturnData", + "mBufferAppendBytes", + "managedMultiTransferESDTNFTExecute", + "managedCaller", + "managedOwnerAddress", + "mBufferEq", + "bigIntGetCallValue", + "mBufferGetArgument", + "managedSignalError", + "getNumESDTTransfers", + "mBufferGetLength", + "bigIntGetUnsignedArgument", + "smallIntGetUnsignedArgument", + "getNumArguments", + "managedGetOriginalTxHash", + "mBufferSetBytes", + "mBufferFromBigIntUnsigned", + "mBufferToBigIntUnsigned", + "mBufferCopyByteSlice", + "mBufferStorageLoad", + "mBufferStorageStore", + "bigIntCmp", + "checkNoPayment", + "mBufferFinish", + "smallIntFinishSigned", + "bigIntFinishUnsigned", + "managedSha256", + "getGasLeft", + "isSmartContract", + "bigIntSub", + "bigIntTDiv", + "bigIntGetExternalBalance", + "managedGetMultiESDTCallValue", + "mBufferGetBytes", + "bigIntSign", + "mBufferGetByteSlice", + "managedTransferValueExecute", + "managedAsyncCall" +] \ No newline at end of file diff --git a/output/elven-tools-sft-minter.mxsc.json b/output/elven-tools-sft-minter.mxsc.json index f4456db..cc1a629 100644 --- a/output/elven-tools-sft-minter.mxsc.json +++ b/output/elven-tools-sft-minter.mxsc.json @@ -9,11 +9,11 @@ }, "contractCrate": { "name": "elven-tools-sft-minter", - "version": "0.4.0" + "version": "0.5.0" }, "framework": { "name": "multiversx-sc", - "version": "0.43.3" + "version": "0.45.1" } }, "abi": { @@ -92,6 +92,11 @@ { "name": "collection_token_ticker", "type": "bytes" + }, + { + "name": "token_properties", + "type": "optional>", + "multi_arg": true } ], "outputs": [] @@ -307,10 +312,44 @@ ] } ], - "events": [], + "esdtAttributes": [], "hasCallback": true, - "types": {} + "types": { + "SFTProperties": { + "type": "enum", + "variants": [ + { + "name": "CanFreeze", + "discriminant": 0 + }, + { + "name": "CanWipe", + "discriminant": 1 + }, + { + "name": "CanPause", + "discriminant": 2 + }, + { + "name": "CanTransferCreateRole", + "discriminant": 3 + }, + { + "name": "CanChangeOwner", + "discriminant": 4 + }, + { + "name": "CanUpgrade", + "discriminant": 5 + }, + { + "name": "CanAddSpecialRoles", + "discriminant": 6 + } + ] + } + } }, - "size": 11850, - "code": "0061736d010000000191011860000060017f017f60027f7f0060017f0060027f7f017f6000017f60037f7f7f0060047f7f7f7f0060047f7f7f7f017f60037f7f7f017f60027f7e0060017e017f60057f7f7e7f7f017f60067e7f7f7f7f7f017f60017f017e60017e006000017e60057f7f7f7f7f0060047f7f7e7f0060037e7f7f017f60047f7e7f7f0060027f7f017e60027f7e017f60027e7f017f02d8082e03656e760e626967496e74536574496e743634000a03656e7609626967496e74416464000603656e760b7369676e616c4572726f72000203656e760a6d4275666665724e6577000503656e760d6d427566666572417070656e64000403656e76106d616e61676564534341646472657373000303656e7609626967496e744e6577000b03656e761b6d616e61676564457865637574654f6e44657374436f6e74657874000d03656e760f636c65616e52657475726e44617461000003656e76126d427566666572417070656e644279746573000903656e76226d616e616765644d756c74695472616e73666572455344544e465445786563757465000c03656e760d6d616e6167656443616c6c6572000303656e76136d616e616765644f776e657241646472657373000303656e76096d4275666665724571000403656e7612626967496e7447657443616c6c56616c7565000303656e76126d427566666572476574417267756d656e74000403656e76126d616e616765645369676e616c4572726f72000303656e76136765744e756d455344545472616e7366657273000503656e76106d4275666665724765744c656e677468000103656e7619626967496e74476574556e7369676e6564417267756d656e74000203656e761b736d616c6c496e74476574556e7369676e6564417267756d656e74000e03656e760f6765744e756d417267756d656e7473000503656e76186d616e616765644765744f726967696e616c547848617368000303656e760f6d4275666665725365744279746573000903656e76196d42756666657246726f6d426967496e74556e7369676e6564000403656e76176d427566666572546f426967496e74556e7369676e6564000403656e76146d427566666572436f707942797465536c696365000803656e76126d42756666657253746f726167654c6f6164000403656e76136d42756666657253746f7261676553746f7265000403656e7609626967496e74436d70000403656e760e636865636b4e6f5061796d656e74000003656e760d6d42756666657246696e697368000103656e7614736d616c6c496e7446696e6973685369676e6564000f03656e7614626967496e7446696e697368556e7369676e6564000303656e760d6d616e61676564536861323536000403656e760a6765744761734c656674001003656e760f6973536d617274436f6e7472616374000103656e7609626967496e74537562000603656e760a626967496e7454446976000603656e7618626967496e7447657445787465726e616c42616c616e6365000203656e761c6d616e616765644765744d756c74694553445443616c6c56616c7565000303656e760f6d4275666665724765744279746573000403656e760a626967496e745369676e000103656e76136d42756666657247657442797465536c696365000803656e761b6d616e616765645472616e7366657256616c756545786563757465000c03656e76106d616e616765644173796e6343616c6c0007037877010511000101010102010202120513060705050500050107040009090808090201030303000706050705020305030206010206020708020a1406150702021601040404020102080206070301010a030201020301010102060404010505170b0b000000000000000000000003000000000000000000000605030100030616037f01418080080b7f0041bcdb080b7f0041c0db080b07f30217066d656d6f7279020004696e6974008e0114676574436f6c6c656374696f6e546f6b656e4964008f0116676574436f6c6c656374696f6e546f6b656e4e616d6500900108697350617573656400910118676574416d6f756e7450657241646472657373546f74616c0092010a6973737565546f6b656e0093010d7365744c6f63616c526f6c65730094010b637265617465546f6b656e009501046d696e74009601046275726e009701036275790098010c636c61696d536346756e6473009a010b7365744e65775072696365009b011b7365744e6577416d6f756e744c696d697450657241646472657373009c010c706175736553656c6c696e67009d010c737461727453656c6c696e67009e01086765745072696365009f0113676574546f6b656e446973706c61794e616d6500a001166765744d6178416d6f756e745065724164647265737300a1010863616c6c4261636b00a2010a5f5f646174615f656e6403010b5f5f686561705f6261736503020abe41771601017f102f220142001000200120012000100120010b1901017f41f48c0841f48c0828020041016b220036020020000b2e000240200120024d0440200220044d0d011031000b1031000b2000200220016b3602042000200120036a3602000b060010a301000b0f01017f10032201200010041a20010b08002000103410350b6401047f230041106b220124002001410036020c20002001410c6a2202410410672001200028020820002802002203200241041068a7220210692001280200410147044041db8308410f106a000b20012802042000200220036a360200200141106a24000b0d002000102f220010191a20000b0a0020001037200110380b0f01017f102f2201200010181a20010bb00101037f230041106b22022400200220001012220341187420034180fe03714108747220034108764180fe03712003411876727236020c20012002410c6a4104105d0240024020012d000404402000101222044190ce004190db0828020022036b4b0d0120022003200320046a2201108501200041002002280200200228020410631a4190db0820013602000c020b2001280200200010710c010b200110782001280200200010710b200241106a24000b0900200020011002000be60101047f103b2106103b2107230041106b22042400103b21052001103221012003102e21032004200242388620024280fe0383422886842002428080fc0783421886200242808080f80f834208868484200242088842808080f80f832002421888428080fc07838420024228884280fe038320024238888484843702042004200141187420014180fe03714108747220014108764180fe0371200141187672723602002004200341187420034180fe03714108747220034108764180fe03712003411876727236020c20052004411010091a20002005420020062007100a1a200441106a24000b1301017f102f220041b08a08410010171a20000b1d0041671005200041674200100620012002102f220110071a100820010b2300200141feffffff074704402000200142002002103a0f0b20002002103b103b103e0b0f0020002001420020022003102c1a0b0c01017f102f2200100b20000b0c01017f102f2200100520000b0c01017f102f2200100c20000b18001041103f100d41004a04400f0b41b08a0841241002000b2901017f41f88c08280200220041ffffffff0746047f41f88c0841753602004175100e41750520000b0b0d002000102f2200100f1a20000b2e01017f418d81084117104622042000200110091a200441a48108410310091a20042002200310091a20041010000b1101017f102f22022000200110171a20020b120010114504400f0b41a7810841251002000b2f01017f200028020022034198db082802004e04402001200241cc810841111045000b2000200341016a36020020030b2501017e20001014220342ffffffff0f5804402003a70f0b2001200241808008410e1045000b0f002000200120032002102b4100470b5301027f2001200346047f4100210302402001450d00034020002d0000220420022d00002205460440200041016a2100200241016a2102200141016b22010d010c020b0b200420056b21030b20030541010b450b0c00200020012002104810440b4601017f230041106b220224002002200141187420014180fe03714108747220014108764180fe03712001411876727236020c20002002410c6a410410091a200241106a24000b0c002000102f2200101320000b190020004198db082802004e04400f0b41dd810841121002000b1400101520004604400f0b41ef810841191002000b190020004198db082802004c04400f0b41cc810841111002000b0b004198db0810153602000b20002000200120021054200041858b0841808b0820031b4104410520031b10540b0c002000200120021046104d0b0a0041a08308412010460b260020022003104621022000103b3602102000200236020c200020013602082000427f3703000b0e01017f102f22004200100020000b0d00103b1a200020011032104d0bc00101057f230041306b22012400200028021022020440105a200141106a105b200120012d00143a001c20012001280210360218200041146a2802002203200141186a2204105c200420022003105d200041186a22022802002203105e2004105c20012003101236022820014100360224200120023602200340200141086a200141206a105f20012802080440200128020c200141186a10380c010b0b200128021820012d001c10600b200028020020002802042000280208200028020c102d000b1b01027f102f2200101641d18308410a10462201200010041a20010b6c01027f230041106b220124002000027f4194db082d000022024504404194db0841013a00004190db084100360200200141086a410010752001280208200128020c41b08a0841001077103b0c010b41b08a08410010460b360200200020024101733a0004200141106a24000b4501017f230041106b220224002002200041187420004180fe03714108747220004108764180fe03712000411876727236020c20012002410c6a4104105d200241106a24000b7f01027f230041106b220324000240024020002d000404404190ce004190db0828020022046b2002490d01200341086a2004200220046a22001085012003280208200328020c2001200210774190db0820003602000c020b20002802002001200210091a0c010b2000107820002802002001200210091a0b200341106a24000b0900200010124102760b8a0101047f230041106b220324002001280204220241046a220420012802084b047f41000520012802002003410036020c28020020022003410c6a410410631a200328020c210220012004360204200241187420024180fe03714108747220024108764180fe037120024118767272210241010b21012000200236020420002001360200200341106a24000b5101017f230041106b22032400200320023a000c20032001360208200341086a10782003280208210120032d000c04404190db0841003602004194db0841003a00000b20002001101c1a200341106a24000b9c0101057f230041306b22022400200241286a22034200370300200241206a22044200370300200241186a2205420037030020024200370310200241086a200241106a41202001101222061062200141002002280208200228020c10631a20002006360220200041186a2003290300370000200041106a2004290300370000200041086a200529030037000020002002290310370000200241306a24000b3b01017f230041106b22042400200441086a41002003200120021030200428020c21012000200428020836020020002001360204200441106a24000b0c002000200120022003104a0b0d00103b1a200020011037104d0b4101027f230041106b22022400103b210320024200370308200220014100200241086a106620032002280200200228020410171a20002003104d200241106a24000bf30102047f017e2003200142388620014280fe0383422886842001428080fc0783421886200142808080f80f834208868484200142088842808080f80f832001421888428080fc07838420014228884280fe03832001423888848484220837000002402002452001427f527245044041012104410721020c010b41002008a741077620027122056b41ff0171210602400340200441084704402006200320046a2d000022074704402004200741077620054720027122056b220241094f0d034108200420056b6b21040c0405200441016a21040c020b000b0b10a301000b10a301000b200020043602042000200220036a3602000b2b00200041086a2000280200200120021074044041db8308410f106a000b2000200028020020026a3602000b3401017e02402001450d0003402001450d01200141016b210120003100002002420886842102200041016a21000c000b000b20020b1f0020012002200310032201101a21022000200136020420002002453602000b1a01017f419884084116104622022000200110091a20021010000b3301017f200110122102200041106a41003a00002000410c6a20023602002000200136020820002002360204200041003602000b1c0020015004402000106d41016b0f0b41722001100020004172106e0b1500410241012000102a22001b4100200041004e1b0b1500417f20002001101d220041004720004100481b0b090020002001ac106c0b090020002001ad106c0b09002000200110041a0b0a0041722000107341720b090020002001ad10000bb20101037f230041106b22042400027f024020002d000845044020002802002205101222064190ce004b0d014194db082d00000d014190db0820063602004194db0841013a0000200441086a20061075200541002004280208200428020c10631a200041013a00080b4101200120036a22004190db082802004b0d011a20042001200010762002200320042802002004280204107741000c010b200041003a0008200520012002200310630b200441106a24000b3d01017f230041106b22022400200241086a41808d084190ce0020011062200228020c21012000200228020836020020002001360204200241106a24000b32000240200120024d044020024190ce004d0d011031000b1031000b2000200220016b3602042000200141808d086a3602000bb50201067f2001200346044020012203410f4b04402000410020006b41037122046a210520040440200221010340200020012d00003a0000200141016a2101200041016a22002005490d000b0b2005200320046b2203417c7122066a21000240200220046a22044103710440200641004c0d012004410374220141187121072004417c71220841046a2102410020016b4118712109200828020021010340200520012007762002280200220120097472360200200241046a2102200541046a22052000490d000b0c010b200641004c0d0020042102034020052002280200360200200241046a2102200541046a22052000490d000b0b20034103712103200420066a21020b20030440200020036a21010340200020022d00003a0000200241016a2102200041016a22002001490d000b0b0f0b1031000b5701027f230041106b2201240020002d0004200041003a00040440200141086a41004190db08280200107620002802002001280208200128020c10091a4190db0841003602004194db0841003a00000b200141106a24000b0d0020004167101b1a416710120b0d002000102f2200101b1a20000b7801017f230041106b220224002002200142388620014280fe0383422886842001428080fc0783421886200142808080f80f834208868484200142088842808080f80f832001421888428080fc07838420014228884280fe038320014238888484843703082000200241086a410810091a200241106a24000b1400416c41b08a08410010171a2000416c101c1a0b9d0102037f017e230041206b2202240020022001107a106b200210342101200242003703182002200241186a220341081067200341081068210520021033210320021033210420022802042002280200460440200241106a2d000004404190db0841003602004194db0841003a00000b200020043602102000200336020c2000200136020820002005370300200241206a24000f0b41808008410e106a000b08002000107a10350bc70102027f017e230041206b22022400200241086a105b200220022d000c3a0014200220022802083602102001280208200241106a2203103820022001290300220442388620044280fe0383422886842004428080fc0783421886200442808080f80f834208868484200442088842808080f80f832004421888428080fc07838420044228884280fe038320044238888484843703182003200241186a4108105d200128020c200310362001280210200310362000200228021020022d00141060200241206a24000b3901017f230041106b2201240020014200370308200142014101200141086a10662000200128020020012802041046101c1a200141106a24000b070020001079450b5401047f230041106b2201240020001083012102200141086a200028020820002802002203200210692001280208410147044041db8308410f108401000b200128020c2000200220036a360200200141106a24000b5402017f017e230041106b220124002001410036020c200041086a20002802002001410c6a41041074044041db8308410f108401000b2000200028020041046a3602002001410c6a41041068200141106a2400a70b1a01017f418e80084119104622022000200110091a20021010000b3f01017f230041106b22032400200341086a2001200241808d084190ce001030200328020c21012000200328020836020020002001360204200341106a24000b0f0020002001106f41ff01714102490b0f0020002001107041ff01714102490b0f0020004100106f41ff01714101460b0a0041e78908411110460b0a0041f88908411310460b1a01017f418b8a084115104622022000107b20022001107120020b1401017f41a08a084106104622012000107b20010b1401017f41a68a084108104622012000107b20010b0800101e410010500b1000101e41001050108901107a101f1a0b1000101e41001050108a01107a101f1a0b850102037f017e230041106b22002400101e4101105041001014108c0121012000420037030802402001107a22011012220241094904402000200041086a410820021062200141002000280200220120002802042202104a1a200120021068220342025a0d0120031020200041106a24000f0b41808008410e106a000b41be84084112106a000b3401017f101e41021050410010144101104422001012412047044041e08908410741ae840841101045000b2000108b01107e10210bac03020e7f017e230041306b220124001047104241021050410010442103410110442105104321001089011081010440108a012003101c1a2000102e2104200141003b012c20014100360228200141013a002e230041206b2202240010571a200141286a22002d0006210620002d0005210720002d0004210820002d0003210920002d0002210a20002d0001210b20002d0000210c2002105541c0830841111056200241186a220d2004360200200241106a2204280200220020031058200020051058200041b882084109200c1053200041c182084107200b1053200041c882084108200a1053200041d08208411820091053200041e88208410e20081053200041f68208410a20071053200041808308411220061053200141086a220041186a200d290300370300200041106a2004290300370300200041086a200241086a29030037030020002002290300370300200241206a240020012802102102200128022021032001290214210e200141206a103b3602002001411c6a410e360200200141dd88083602182001200e3703102001200336020c2001200236020820001059000b41f5880841151039000b960201067f230041406a22012400101e104241001050108901108101450440200141286a21041040108901107a230041206b22032400200341086a105541928308410e1056103b1a10322102200328021822052002104d103b1a41dd8908210210322100034020052000104d02400340200241e08908460d0120022d00002100200241016a21022000450d000b2000410274220041d08c086a280200200041ac8c086a280200104621000c010b0b20042003290308370300200441106a200341186a290300370300200441086a200341106a290300370300200341206a240010572103200141003602182001200336020c2001200129023437031020012001280230360208200141086a1059000b419c850841111039000be705020f7f017e230041306b22012400101e10421052410810514100104421064101104e21074102104421034103104421044104104e21084105104e210a4106104e210941071044210b20014108360218200141186a2100103b2102034020002802004198db082802004804402002200041eb88084104104c104d0c010b0b200221052001280218104f02400240024020094190ce00107041016a41ff017141014d044020084101108601450d0120074100108601450d021089011081010d03418a89084109104621024193890841051046210c4198890841011046210d4199890841011046210e103b2200200c10041a2000200b10041a2000200d10041a2000200210041a2000200310041a2000200e10041a2000200410041a2000102f220310221a108901107a210420012005360214103b22022004105820022008106420022006105820022009106420022003105820022000105802402005101204402001200510123602202001410036021c2001200141146a3602180340200141086a200141186a105f2001280208450d02200128020c2100103b1a200220001032104d0c000b000b103b220041b08a08410010171a20022000104d0b102341de8008410d10462002103c210020014100360218024020004100200141186a4104104a0d002001280218220041187420004180fe03714108747220004108764180fe03712000411876727222021012220041084b0d002001420037031820024100200120006b41206a2000104a0d002001290318220f423886200f4280fe038342288684200f428080fc0783421886200f42808080f80f834208868484200f42088842808080f80f83200f421888428080fc078384200f4228884280fe0383200f423888848484210f0b200f108d012001200a360228200120073602242001200f37031820012006360220200141186a107f200f108c01108001200141306a24000f0b41c08908411d1039000b419a890841261039000b41d0840841251039000b419c850841111039000b0f0041cc8008411241bf800810a4010b0f0041b48008410b41a7800810a4010b9f0302067f017e230041306b2203240010474167100b41671099010240024002400240024002400240419cdb08102441004c0440410210504100419788084110104921022003410110142206108d01107d1089011081010d012006108c0110790d022006108d011081010d032002450d04200328021022002002108701450d05024020002006103f108b01107e2201106e41ff017141ff0147044020002000200110252000106d41ff01710d014188820841301002000b105721000b2000108801450d0620002002108701450d0610432201102e22002000200210721026200341186a2006108d01107d20002003280224106e41ff01710d07108901107a2104103f2100102f2205200210732000200420062005103a104141feffffff072001103d20062000108b01107e210120062000108b012001200120021072100120011037101c1a200341306a24000f0b41d48a08412c1002000b41fb8708411c1039000b41ce8708412d1039000b41f5840841271039000b419b870841331039000b41d2860841c9001039000b4189860841c9001039000b41ad850841dc001039000b0b002000419cdb0810291a0b3201037f101e104241001050103f1040102f2100109901419cdb0820001027416741b08a08410010171a2000103b4167103e0b900102027f017e230041306b22002400101e1042410210504100101421024101104e210102402002108d0110810145044020014100108601450d0120002002108d01107d200020013602242000200028020836022020002000290300370318200020002802103602282002108d01200041186a107f200041306a24000f0b41f5840841271039000b41d0840841251039000b5a02027f017e230041306b22002400101e1042410210504100101421024101104e210120002002108d01107d2000200136022820002000290300370318200020002903083703202002108d01200041186a107f200041306a24000b1400101e10424101105041001014108c011080010b2701017e101e104241011050410010141089011081010440419c850841111039000b108c01107c0b2f01017f230041206b22002400101e41011050200041086a41001014108d01107d20002802141021200041206a24000b3001017f230041206b22002400101e41011050200041086a41001014108d01107d2000280210101f1a200041206a24000b2f01017f230041206b22002400101e41011050200041086a41001014108d01107d20002802181021200041206a24000b9f0601067f230041e0006b2201240002400240024002400240105a2205107a22021012450d00200141386a220020021032106b2000108201210220001083012100103b21030340200004402003200141386a108201104d200041016b21000c010b0b200128023c2001280238470d01200141c8006a2d000004404190db0841003602004194db0841003a00000b2005107c2001200210612001280220450d00200141386a2002106120012802582200450d0002402000410e470d00200141386a410e41dd8808410e104b450d0010524100105120014100360224200141286a2105230041106b220024000240027f0240200141246a220241ef88084106104841ef880841061049220445200441ebde01467245044020022802004198db08280200480d01103b0c020b41042104200241ef8808410610481044220210124104460440200041003602002002410020004104104a1a41feffffff07200220004104419484084104104b1b21020b200041003602000c020b200241ef88084106104c0b21022000200436020420004101360200410821040b200020046a200236020020052000290300370200200541086a200041086a280200360200200041106a24002001280224104f2001280228200128022c21002003105e1052044041dd810841121002000b450440108901200041feffffff07460d042000101c1a0c020b1041027f41fc8c08280200220041ffffffff0746044041fc8c08416b360200416b1028416b21000b024002400240200010124104760e020102000b41eb800841221002000b41feffffff0721021043102e0c010b200141306a42003703002001420037032820004100200141286a4110104a0d052001280228220041fffeff77470d02200041187420004180fe03714108747220004108764180fe03712000411876727221022001280234220041187420004180fe03714108747220004108764180fe0371200041187672720b2200108801450d0120022000103d0c010b200141386a2002106120012802580d040b200141e0006a24000f0b41808008410e108401000b41878408410d1002000b41ea8308411d1002000b41a7880841361002000b0b00419d8c08410e1002000b5b02047f017e101e1042410210504100101421074101104e2105108901107a2103103b220420031058027f2007500440410d210320020c010b2004200710652001210320000b210620042005106410232006200310462004103c1a0b0b820d0400418080080ba003696e70757420746f6f206c6f6e6773657269616c697a6572206465636f6465206572726f723a20455344544c6f63616c4275726e455344544e46544275726e455344544c6f63616c4d696e74455344544e46544164645175616e74697479455344544e4654437265617465696e636f7272656374206e756d626572206f662045534454207472616e7366657273617267756d656e74206465636f6465206572726f722028293a2066756e6374696f6e20646f6573206e6f74206163636570742045534454207061796d656e74746f6f2066657720617267756d656e7473746f6f206d616e7920617267756d656e747377726f6e67206e756d626572206f6620617267756d656e747363616e6e6f74207375627472616374206265636175736520726573756c7420776f756c64206265206e6567617469766563616e467265657a6563616e5769706563616e506175736563616e5472616e736665724e4654437265617465526f6c6563616e4368616e67654f776e657263616e5570677261646563616e4164645370656369616c526f6c65737365745370656369616c526f6c650041a983080b01010041bd83080bb60902ffff697373756553656d6946756e6769626c6543425f434c4f53555245696e70757420746f6f2073686f72744d616e6167656456656320696e646578206f7574206f662072616e67654553445420657870656374656445474c4473746f72616765206465636f6465206572726f723a20626164206172726179206c656e677468696e707574206f7574206f662072616e676553656c6c696e672070726963652063616e206e6f74206265206c657373207468616e20302153465420746f6b656e20776974682073756368206e6f6e636520646f65736e2774206578697374546f6b656e206e6f742069737375656421496e76616c696420616d6f756e74206173207061796d656e742e20436865636b207061796d656e7420706572206f6e6520746f6b656e20616e6420616d6f756e74206f6620746f6b656e7320796f752077616e7420746f206275792e596f752063616e277420627579207375636820616e20616d6f756e74206f6620746f6b656e732e20436865636b20746865206c696d69747320706572206f6e65206164647265737321546865206e756d626572206f6620746f6b656e732068617320746f206265206c657373207468616e206f7220657175616c20746865206d6178696d756d207065722061646472657373546865206e756d626572206f6620746f6b656e732070726f76696465642063616e2774206265206c657373207468616e203121546865206d696e74696e6720697320706175736564206f7220686176656e277420737461727465642079657421436f6c6c656374696f6e20746f6b656e206e6f742069737375656421616d6f756e745f6f665f746f6b656e736e6f2063616c6c6261636b2066756e6374696f6e20776974682074686174206e616d652065786973747320696e20636f6e747261637469737375655f63616c6c6261636b75726973726573756c74546f6b656e20616c726561647920697373756564216d657461646174613a746167733a3b2f416d6f756e74206f6620746f6b656e732073686f756c64206265206174206c65617374203121526f79616c746965732063616e6e6f742065786365656420313030252103040561646472657373636f6c6c656374696f6e546f6b656e4964636f6c6c656374696f6e546f6b656e4e616d65616d6f756e7450657241646472657373546f74616c706175736564746f6b656e5461670000456e64706f696e742063616e206f6e6c792062652063616c6c6564206279206f776e6572456e64706f696e742063616e206f6e6c792062652063616c6c65642062792075736572206163636f756e747366616c73657472756545534454526f6c654c6f63616c4d696e7445534454526f6c654c6f63616c4275726e45534454526f6c654e465443726561746545534454526f6c654e46544164645175616e7469747945534454526f6c654e46544275726e45534454526f6c654e465441646455524945534454526f6c654e465455706461746541747472696275746573455344545472616e73666572526f6c6570616e6963206f636375727265640000000000110000001100000011000000160000000f000000110000001b0000001000000030050200890502009a050200ab050200bc050200d2050200e1050200f20502000d06020041f48c080b0c9cffffffffffff7fffffff7f" + "size": 12556, + "code": "0061736d010000000191011860000060017f017f60027f7f0060017f0060027f7f017f6000017f60037f7f7f0060047f7f7f7f0060047f7f7f7f017f60037f7f7f017f60027f7e0060017e017f60057f7f7e7f7f017f60067e7f7f7f7f7f017f60017f017e60017e006000017e60057f7f7f7f7f0060047f7f7e7f0060037e7f7f017f60047f7e7f7f0060027f7f017e60027f7e017f60027e7f017f02d8082e03656e760e626967496e74536574496e743634000a03656e7609626967496e74416464000603656e760b7369676e616c4572726f72000203656e760a6d4275666665724e6577000503656e760d6d427566666572417070656e64000403656e76106d616e61676564534341646472657373000303656e7609626967496e744e6577000b03656e761b6d616e61676564457865637574654f6e44657374436f6e74657874000d03656e760f636c65616e52657475726e44617461000003656e76126d427566666572417070656e644279746573000903656e76226d616e616765644d756c74695472616e73666572455344544e465445786563757465000c03656e760d6d616e6167656443616c6c6572000303656e76136d616e616765644f776e657241646472657373000303656e76096d4275666665724571000403656e7612626967496e7447657443616c6c56616c7565000303656e76126d427566666572476574417267756d656e74000403656e76126d616e616765645369676e616c4572726f72000303656e76136765744e756d455344545472616e7366657273000503656e76106d4275666665724765744c656e677468000103656e7619626967496e74476574556e7369676e6564417267756d656e74000203656e761b736d616c6c496e74476574556e7369676e6564417267756d656e74000e03656e760f6765744e756d417267756d656e7473000503656e76186d616e616765644765744f726967696e616c547848617368000303656e760f6d4275666665725365744279746573000903656e76196d42756666657246726f6d426967496e74556e7369676e6564000403656e76176d427566666572546f426967496e74556e7369676e6564000403656e76146d427566666572436f707942797465536c696365000803656e76126d42756666657253746f726167654c6f6164000403656e76136d42756666657253746f7261676553746f7265000403656e7609626967496e74436d70000403656e760e636865636b4e6f5061796d656e74000003656e760d6d42756666657246696e697368000103656e7614736d616c6c496e7446696e6973685369676e6564000f03656e7614626967496e7446696e697368556e7369676e6564000303656e760d6d616e61676564536861323536000403656e760a6765744761734c656674001003656e760f6973536d617274436f6e7472616374000103656e7609626967496e74537562000603656e760a626967496e7454446976000603656e7618626967496e7447657445787465726e616c42616c616e6365000203656e761c6d616e616765644765744d756c74694553445443616c6c56616c7565000303656e760f6d4275666665724765744279746573000403656e760a626967496e745369676e000103656e76136d42756666657247657442797465536c696365000803656e761b6d616e616765645472616e7366657256616c756545786563757465000c03656e76106d616e616765644173796e6343616c6c0007037b7a010511000101010102010202120513060705050500050107040009020909080801030303000201070605070502030503020602060207080a14020615070202160104040402010206080206070301010a03010203020101010206040401060505170b0b000000000000000000000003000000000000000000000605030100030616037f01418080080b7f0041e0db080b7f0041e0db080b07f30217066d656d6f7279020004696e697400910114676574436f6c6c656374696f6e546f6b656e496400920116676574436f6c6c656374696f6e546f6b656e4e616d6500930108697350617573656400940118676574416d6f756e7450657241646472657373546f74616c0095010a6973737565546f6b656e0096010d7365744c6f63616c526f6c65730097010b637265617465546f6b656e009801046d696e74009901046275726e009a0103627579009b010c636c61696d536346756e6473009d010b7365744e65775072696365009e011b7365744e6577416d6f756e744c696d697450657241646472657373009f010c706175736553656c6c696e6700a0010c737461727453656c6c696e6700a10108676574507269636500a20113676574546f6b656e446973706c61794e616d6500a301166765744d6178416d6f756e745065724164647265737300a4010863616c6c4261636b00a5010a5f5f646174615f656e6403010b5f5f686561705f6261736503020ad9467a1601017f102f220142001000200120012000100120010b1901017f41988d0841988d0828020041016b220036020020000b2e000240200120024d0440200220044d0d011031000b1031000b2000200220016b3602042000200120036a3602000b060010a601000b0f01017f10032201200010041a20010b08002000103410350b6401047f230041106b220124002001410036020c20002001410c6a2202410410682001200028020820002802002203200241041069a72202106a2001280200410147044041e88308410f106b000b20012802042000200220036a360200200141106a24000b0d002000102f220010191a20000b0a0020001037200110380b0f01017f102f2201200010181a20010bb00101037f230041106b22022400200220001012220341187420034180fe03714108747220034108764180fe03712003411876727236020c20012002410c6a4104105f0240024020012d000404402000101222044190ce0041b4db0828020022036b4b0d0120022003200320046a2201108701200041002002280200200228020410641a41b4db0820013602000c020b2001280200200010720c010b2001107a2001280200200010720b200241106a24000b0900200020011002000be60101047f103b2106103b2107230041106b22042400103b21052001103221012003102e21032004200242388620024280fe0383422886842002428080fc0783421886200242808080f80f834208868484200242088842808080f80f832002421888428080fc07838420024228884280fe038320024238888484843702042004200141187420014180fe03714108747220014108764180fe0371200141187672723602002004200341187420034180fe03714108747220034108764180fe03712003411876727236020c20052004411010091a20002005420020062007100a1a200441106a24000b1301017f102f220041d48a08410010171a20000b1d0041671005200041674200100620012002102f220110071a100820010b2300200141feffffff074704402000200142002002103a0f0b20002002103b103b103e0b0f0020002001420020022003102c1a0b0c01017f102f2200100b20000b0c01017f102f2200100520000b0c01017f102f2200100c20000b18001041103f100d41004a04400f0b41d48a0841241002000b2901017f419c8d08280200220041ffffffff0746047f419c8d0841753602004175100e41750520000b0b0d002000102f2200100f1a20000b2e01017f419a81084117104622042000200110091a200441b18108410310091a20042002200310091a20041010000b1101017f102f22022000200110171a20020b120010114504400f0b41b4810841251002000b0c00200020012002104a10440b4601017f230041106b220224002002200141187420014180fe03714108747220014108764180fe03712001411876727236020c20002002410c6a410410091a200241106a24000b2f01017f2000280200220341bcdb082802004e04402001200241d9810841111045000b2000200341016a36020020030b2501017e20001014220342ffffffff0f5804402003a70f0b20012002418d8008410e1045000b0f002000200120032002102b4100470b5301027f2001200346047f4100210302402001450d00034020002d0000220420022d00002205460440200041016a2100200241016a2102200141016b22010d010c020b0b200420056b21030b20030541010b450b0c002000102f2200101320000b1900200041bcdb082802004e04400f0b41ea810841121002000b1400101520004604400f0b41fc810841191002000b1900200041bcdb082802004c04400f0b41d9810841111002000b0b0041bcdb0810153602000b1f01017f2001105421022000410036020820002002360204200020013602000b0900200010124102760b20002000200120021056200041a98b0841a48b0820031b4104410520031b10560b0c00200020012002104610490b0a0041ad8308412010460b2a002002200310462102103b21032000427f3703082000200336020420002002360200200020013602100b0e01017f102f22004200100020000b0d00103b1a20002001103210490bc00101057f230041306b22012400200028021022020440105c200141106a105d200120012d00143a001c20012001280210360218200041146a2802002203200141186a2204105e200420022003105f200041186a2202280200220310542004105e20012003101236022820014100360224200120023602200340200141086a200141206a106020012802080440200128020c200141186a10380c010b0b200128021820012d001c10610b2000280208200028020c20002802002000280204102d000b1b01027f102f2200101641de8308410a10462201200010041a20010b6c01027f230041106b220124002000027f41b8db082d0000220245044041b8db0841013a000041b4db084100360200200141086a410010772001280208200128020c41d48a0841001079103b0c010b41d48a08410010460b360200200020024101733a0004200141106a24000b4501017f230041106b220224002002200041187420004180fe03714108747220004108764180fe03712000411876727236020c20012002410c6a4104105f200241106a24000b7f01027f230041106b220324000240024020002d000404404190ce0041b4db0828020022046b2002490d01200341086a2004200220046a22001087012003280208200328020c20012002107941b4db0820003602000c020b20002802002001200210091a0c010b2000107a20002802002001200210091a0b200341106a24000b8a0101047f230041106b220324002001280204220241046a220420012802084b047f41000520012802002003410036020c28020020022003410c6a410410641a200328020c210220012004360204200241187420024180fe03714108747220024108764180fe037120024118767272210241010b21012000200236020420002001360200200341106a24000b5101017f230041106b22032400200320023a000c20032001360208200341086a107a2003280208210120032d000c044041b4db08410036020041b8db0841003a00000b20002001101c1a200341106a24000b9c0101057f230041306b22022400200241286a22034200370300200241206a22044200370300200241186a2205420037030020024200370310200241086a200241106a41202001101222061063200141002002280208200228020c10641a20002006360220200041186a2003290300370000200041106a2004290300370000200041086a200529030037000020002002290310370000200241306a24000b3b01017f230041106b22042400200441086a41002003200120021030200428020c21012000200428020836020020002001360204200441106a24000b0c002000200120022003104c0b4101027f230041106b22022400103b210320024200370308200220014100200241086a106620032002280200200228020410171a200020031049200241106a24000bf30102047f017e2003200142388620014280fe0383422886842001428080fc0783421886200142808080f80f834208868484200142088842808080f80f832001421888428080fc07838420014228884280fe03832001423888848484220837000002402002452001427f527245044041012104410721020c010b41002008a741077620027122056b41ff0171210602400340200441084704402006200320046a2d000022074704402004200741077620054720027122056b220241094f0d034108200420056b6b21040c0405200441016a21040c020b000b0b10a601000b10a601000b200020043602042000200220036a3602000b0d00103b1a20002001103710490b2b00200041086a2000280200200120021076044041e88308410f106b000b2000200028020020026a3602000b3401017e02402001450d0003402001450d01200141016b210120003100002002420886842102200041016a21000c000b000b20020b1f0020012002200310032201101a21022000200136020420002002453602000b1a01017f41a584084116104622022000200110091a20021010000b3301017f200110122102200041106a41003a00002000410c6a20023602002000200136020820002002360204200041003602000b1c0020015004402000106e41016b0f0b41722001100020004172106f0b1500410241012000102a22001b4100200041004e1b0b1500417f20002001101d220041004720004100481b0b090020002001ac106d0b090020002001ad106d0b09002000200110041a0b0a0041722000107441720b090020002001ad10000b6401017f230041106b220324002003410036020c200120024102742003410c6a410410642102200328020c2101200020024101733602002000200141187420014180fe03714108747220014108764180fe037120014118767272360204200341106a24000bb20101037f230041106b22042400027f024020002d000845044020002802002205101222064190ce004b0d0141b8db082d00000d0141b4db08200636020041b8db0841013a0000200441086a20061077200541002004280208200428020c10641a200041013a00080b4101200120036a220041b4db082802004b0d011a20042001200010782002200320042802002004280204107941000c010b200041003a0008200520012002200310640b200441106a24000b3d01017f230041106b22022400200241086a41a48d084190ce0020011063200228020c21012000200228020836020020002001360204200241106a24000b32000240200120024d044020024190ce004d0d011031000b1031000b2000200220016b3602042000200141a48d086a3602000bb50201067f2001200346044020012203410f4b04402000410020006b41037122046a210520040440200221010340200020012d00003a0000200141016a2101200041016a22002005490d000b0b2005200320046b2203417c7122066a21000240200220046a22044103710440200641004c0d012004410374220141187121072004417c71220841046a2102410020016b4118712109200828020021010340200520012007762002280200220120097472360200200241046a2102200541046a22052000490d000b0c010b200641004c0d0020042102034020052002280200360200200241046a2102200541046a22052000490d000b0b20034103712103200420066a21020b20030440200020036a21010340200020022d00003a0000200241016a2102200041016a22002001490d000b0b0f0b1031000b5701027f230041106b2201240020002d0004200041003a00040440200141086a410041b4db08280200107820002802002001280208200128020c10091a41b4db08410036020041b8db0841003a00000b200141106a24000b0d0020004167101b1a416710120b0d002000102f2200101b1a20000b7801017f230041106b220224002002200142388620014280fe0383422886842001428080fc0783421886200142808080f80f834208868484200142088842808080f80f832001421888428080fc07838420014228884280fe038320014238888484843703082000200241086a410810091a200241106a24000b1400416c41d48a08410010171a2000416c101c1a0b08002000107c10350b9d0102037f017e230041206b2202240020022001107c106c200210342101200242003703182002200241186a220341081068200341081069210520021033210320021033210420022802042002280200460440200241106a2d0000044041b4db08410036020041b8db0841003a00000b200020043602102000200336020c2000200136020820002005370300200241206a24000f0b418d8008410e106b000b3901017f230041106b2201240020014200370308200142014101200141086a10662000200128020020012802041046101c1a200141106a24000bc70102027f017e230041206b22022400200241086a105d200220022d000c3a0014200220022802083602102001280208200241106a2203103820022001290300220442388620044280fe0383422886842004428080fc0783421886200442808080f80f834208868484200442088842808080f80f832004421888428080fc07838420044228884280fe038320044238888484843703182003200241186a4108105f200128020c200310362001280210200310362000200228021020022d00141061200241206a24000b07002000107b450b5401047f230041106b2201240020001085012102200141086a2000280208200028020022032002106a2001280208410147044041e88308410f108601000b200128020c2000200220036a360200200141106a24000b5402017f017e230041106b220124002001410036020c200041086a20002802002001410c6a41041076044041e88308410f108601000b2000200028020041046a3602002001410c6a41041069200141106a2400a70b1a01017f419b80084119104622022000200110091a20021010000b3f01017f230041106b22032400200341086a2001200241a48d084190ce001030200328020c21012000200328020836020020002001360204200341106a24000b0f0020002001107041ff01714102490b0f0020002001107141ff01714102490b0f0020004100107041ff01714101460b3901017f230041106b22032400200341086a2001410820021063200328020c21012000200328020836020020002001360204200341106a24000b0a00418c8a08411110460b0a00419d8a08411310460b1a01017f41b08a084115104622022000107d20022001107220020b1401017f41c58a084106104622012000107d20010b1401017f41cb8a084108104622012000107d20010b0800101e410010500b1000101e41001050108c01107c101f1a0b1000101e41001050108d01107c101f1a0b840102037f017e230041106b22002400101e4101105041001014108f0121012000420037030802402001107c22011012220241094904402000200041086a2002108b01200141002000280200220120002802042202104c1a200120021069220342025a0d0120031020200041106a24000f0b418d8008410e106b000b41d384084112106b000b3401017f101e41021050410010144101104422001012412047044041858a08410741bb840841101045000b2000108e01107f10210bfc0602107f017e230041406a220024001047104210524102105141001044210c41011044210d20004102360218200041106a21020240200041186a2205280200220641bcdb082802004e0440410121040c010b103b21010340200641bcdb082802004e0d012001200541808908411010481049200528020021060c000b000b200220013602042002200436020020002802142101200028021021022000280218104f104321050240108c011083010440108d01200c101c1a024020020d00200041186a2001105320002802202202200028021c220120012002491b2106200028021821084100210103402001210320022006460d01200041086a200820021075024002402000280208410146044041012101200028020c103222041012450d022000420037033820041012220741094f0d062000200041386a2007108b01200441002000280200220420002802042207104c1a20042007106922104280025a0d062010a741ff0171220441074f0d01024002400240024002400240200441016b0e06000102030405080b410121090c040b4101210a0c030b4101210b0c020b4101210e0c010b4101210f0b200321010c020b41cb8408410841d9810841111045000b41cb8408410841808008410d1045000b200241016a21020c000b000b2005102e2102200041013a003e2000200f3a003d2000200e3a003c2000200b3a003b2000200a3a003a200020093a0039200020033a0038230041206b2203240010591a200041386a22012d0006210420012d0005210520012d0004210620012d0003210820012d0002210720012d0001210920012d0000210a2003105741cd830841111058200341186a220b200236020020032802042201200c105a2001200d105a200141c582084109200a1055200141ce8208410720091055200141d58208410820071055200141dd8208411820081055200141f58208410e20061055200141838308410a200510552001418d8308411220041055200041186a220141186a200b290300370300200141106a200341106a290300370300200141086a200341086a29030037030020012003290300370300200341206a2400200029031821102000280228210320002802302102200041306a103b3602002000412c6a410e3602002000200236022420002003360220200041f28808360228200020103703182001105b000b419a890841151039000b41cb84084108418d8008410e1045000bb10201077f230041406a22022400101e104241001050108c01108301450440200241286a21041040108c01107c230041306b22002400200041186a1057419f8308410e1058103b1a10322103200028021c220520031049200041106a200041286a2903003703002000200029032037030820002802182106103b1a41828a08210310322101034020052001104902400340200341858a08460d0120032d00002101200341016a21032001450d000b2001410274220141f48c086a280200200141d08c086a280200104621010c010b0b200420053602042004200636020020042000290308370308200441106a200041106a290300370300200041306a240020021059360214200241003602182002200228023836021020022002290328370308200241086a105b000b41b1850841111039000bbf05020f7f017e230041306b22002400101e10421052410810514100104421064101104e21074102104421034103104421044104104e21084105104e210a4106104e210941071044210b20004108360218200041186a2101103b21020340200128020041bcdb0828020048044020022001419089084104104810490c010b0b200221052000280218104f02400240024020094190ce00107141016a41ff017141014d044020084101108801450d0120074100108801450d02108c011083010d0341af890841091046210241b8890841051046210c41bd890841011046210d41be890841011046210e103b2201200c10041a2001200b10041a2001200d10041a2001200210041a2001200310041a2001200e10041a2001200410041a2001102f220310221a108c01107c210420002005360214103b22022004105a20022008106720022006105a20022009106720022003105a20022001105a02402005101204402000200510123602202000410036021c2000200041146a3602180340200041086a200041186a10602000280208450d02200028020c2101103b1a20022001103210490c000b000b103b220141d48a08410010171a2002200110490b2000102341eb8008410d10462002103c41001075024020002802004101470d00200028020422021012220141084b0d002000420037031820024100200020016b41206a2001104c0d002000290318220f423886200f4280fe038342288684200f428080fc0783421886200f42808080f80f834208868484200f42088842808080f80f83200f421888428080fc078384200f4228884280fe0383200f423888848484210f0b200f1090012000200a360228200020073602242000200f37031820002006360220200041186a108201200f108f01108101200041306a24000f0b41e58908411d1039000b41bf890841261039000b41e5840841251039000b41b1850841111039000b0f0041d98008411241cc800810a7010b0f0041c18008410b41b4800810a7010ba10302067f017e230041306b2203240010474167100b4167109c01024002400240024002400240024041c0db08102441004c044041021050410041ac88084110104b21022003410110142206109001108001108c011083010d012006108f01107b0d0220061090011083010d032002450d04200328021022002002108901450d05024020002006103f108e01107f2201106f41ff017141ff0147044020002000200110252000106e41ff01710d014195820841301002000b105921000b2000108a01450d0620002002108901450d0610432201102e22002000200210731026200341186a200610900110800120002003280224106f41ff01710d07108c01107c2104103f2100102f2205200210742000200420062005103a104141feffffff072001103d20062000108e01107f210120062000108e012001200120021073100120011037101c1a200341306a24000f0b41f88a08412c1002000b41908808411c1039000b41e38708412d1039000b418a850841271039000b41b0870841331039000b41e7860841c9001039000b419e860841c9001039000b41c2850841dc001039000b0b00200041c0db0810291a0b3201037f101e104241001050103f1040102f2100109c0141c0db0820001027416741d48a08410010171a2000103b4167103e0b920102027f017e230041306b22002400101e1042410210504100101421024101104e21010240200210900110830145044020014100108801450d0120002002109001108001200020013602242000200028020836022020002000290300370318200020002802103602282002109001200041186a108201200041306a24000f0b418a850841271039000b41e5840841251039000b5c02027f017e230041306b22002400101e1042410210504100101421024101104e2101200020021090011080012000200136022820002000290300370318200020002903083703202002109001200041186a108201200041306a24000b1400101e10424101105041001014108f011081010b2701017e101e10424101105041001014108c01108301044041b1850841111039000b108f01107e0b3001017f230041206b22002400101e41011050200041086a4100101410900110800120002802141021200041206a24000b3101017f230041206b22002400101e41011050200041086a410010141090011080012000280210101f1a200041206a24000b3001017f230041206b22002400101e41011050200041086a4100101410900110800120002802181021200041206a24000bac0601067f230041e0006b2201240002400240024002400240105c2203107c22021012450d00200141386a220020021032106c2000108401210220001085012100103b21050340200004402005200141386a1084011049200041016b21000c010b0b200128023c2001280238470d01200141c8006a2d0000044041b4db08410036020041b8db0841003a00000b2003107e2001200210622001280220450d00200141386a2002106220012802582200450d0002402000410e470d00200141386a410e41f28808410e104d450d0010524100105120014100360224200141286a2103230041106b220024000240027f0240200141246a2202419489084106104a419489084106104b220445200441ebde014672450440200228020041bcdb08280200480d01103b0c020b410421042002419489084106104a1044220210124104460440200041003602002002410020004104104c1a41feffffff0720022000410441a184084104104d1b21020b200041003602000c020b200241948908410610480b21022000200436020420004101360200410821040b200020046a200236020020032000290300370200200341086a200041086a280200360200200041106a24002001280224104f2001280228200128022c21002003200510531052200128022c20012802304b044041ea810841121002000b450440108c01200041feffffff07460d042000101c1a0c020b1041027f41a08d08280200220041ffffffff0746044041a08d08416b360200416b1028416b21000b024002400240200010124104760e020102000b41f8800841221002000b41feffffff0721021043102e0c010b200141306a42003703002001420037032820004100200141286a4110104c0d052001280228220041fffeff77470d02200041187420004180fe03714108747220004108764180fe03712000411876727221022001280234220041187420004180fe03714108747220004108764180fe0371200041187672720b2200108a01450d0120022000103d0c010b200141386a2002106220012802580d040b200141e0006a24000f0b418d8008410e108601000b41948408410d1002000b41f78308411d1002000b41bc880841361002000b0b0041c18c08410e1002000b5b02047f017e101e1042410210504100101421074101104e2105108c01107c2103103b22042003105a027f2007500440410d210320020c010b2004200710652001210320000b210620042005106710232006200310462004103c1a0b0ba60d0400418080080bad03696e76616c69642076616c7565696e70757420746f6f206c6f6e6773657269616c697a6572206465636f6465206572726f723a20455344544c6f63616c4275726e455344544e46544275726e455344544c6f63616c4d696e74455344544e46544164645175616e74697479455344544e4654437265617465696e636f7272656374206e756d626572206f662045534454207472616e7366657273617267756d656e74206465636f6465206572726f722028293a2066756e6374696f6e20646f6573206e6f74206163636570742045534454207061796d656e74746f6f2066657720617267756d656e7473746f6f206d616e7920617267756d656e747377726f6e67206e756d626572206f6620617267756d656e747363616e6e6f74207375627472616374206265636175736520726573756c7420776f756c64206265206e6567617469766563616e467265657a6563616e5769706563616e506175736563616e5472616e736665724e4654437265617465526f6c6563616e4368616e67654f776e657263616e5570677261646563616e4164645370656369616c526f6c65737365745370656369616c526f6c650041b683080b01010041ca83080bcd0902ffff697373756553656d6946756e6769626c6543425f434c4f53555245696e70757420746f6f2073686f72744d616e6167656456656320696e646578206f7574206f662072616e67654553445420657870656374656445474c4473746f72616765206465636f6465206572726f723a20626164206172726179206c656e6774687661722061726773696e707574206f7574206f662072616e676553656c6c696e672070726963652063616e206e6f74206265206c657373207468616e20302153465420746f6b656e20776974682073756368206e6f6e636520646f65736e2774206578697374546f6b656e206e6f742069737375656421496e76616c696420616d6f756e74206173207061796d656e742e20436865636b207061796d656e7420706572206f6e6520746f6b656e20616e6420616d6f756e74206f6620746f6b656e7320796f752077616e7420746f206275792e596f752063616e277420627579207375636820616e20616d6f756e74206f6620746f6b656e732e20436865636b20746865206c696d69747320706572206f6e65206164647265737321546865206e756d626572206f6620746f6b656e732068617320746f206265206c657373207468616e206f7220657175616c20746865206d6178696d756d207065722061646472657373546865206e756d626572206f6620746f6b656e732070726f76696465642063616e2774206265206c657373207468616e203121546865206d696e74696e6720697320706175736564206f7220686176656e277420737461727465642079657421436f6c6c656374696f6e20746f6b656e206e6f742069737375656421616d6f756e745f6f665f746f6b656e736e6f2063616c6c6261636b2066756e6374696f6e20776974682074686174206e616d652065786973747320696e20636f6e747261637469737375655f63616c6c6261636b746f6b656e5f70726f7065727469657375726973726573756c74546f6b656e20616c726561647920697373756564216d657461646174613a746167733a3b2f416d6f756e74206f6620746f6b656e732073686f756c64206265206174206c65617374203121526f79616c746965732063616e6e6f742065786365656420313030252103040561646472657373636f6c6c656374696f6e546f6b656e4964636f6c6c656374696f6e546f6b656e4e616d65616d6f756e7450657241646472657373546f74616c706175736564746f6b656e54616700456e64706f696e742063616e206f6e6c792062652063616c6c6564206279206f776e6572456e64706f696e742063616e206f6e6c792062652063616c6c65642062792075736572206163636f756e747366616c73657472756545534454526f6c654c6f63616c4d696e7445534454526f6c654c6f63616c4275726e45534454526f6c654e465443726561746545534454526f6c654e46544164645175616e7469747945534454526f6c654e46544275726e45534454526f6c654e465441646455524945534454526f6c654e465455706461746541747472696275746573455344545472616e73666572526f6c6570616e6963206f636375727265640000000000110000001100000011000000160000000f000000110000001b0000001000000054050200ad050200be050200cf050200e0050200f605020005060200160602003106020041988d080b0c9cffffffffffff7fffffff7f" } diff --git a/output/elven-tools-sft-minter.wasm b/output/elven-tools-sft-minter.wasm index 07b9303dcf97467b6fa2e0aa68cf89f93f974fe2..71da0a3fa4d736afd1a9dc04a70a6f71e00715ac 100755 GIT binary patch delta 5557 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 delta 4911 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 diff --git a/src/setup.rs b/src/setup.rs index d9344c0..d8a1b9e 100644 --- a/src/setup.rs +++ b/src/setup.rs @@ -10,6 +10,17 @@ const ATTR_SEPARATOR: &[u8] = ";".as_bytes(); const URI_SLASH: &[u8] = "/".as_bytes(); const TAGS_KEY_NAME: &[u8] = "tags:".as_bytes(); +#[derive(TypeAbi, TopEncode, TopDecode)] +pub enum SFTProperties { + CanFreeze, + CanWipe, + CanPause, + CanTransferCreateRole, + CanChangeOwner, + CanUpgrade, + CanAddSpecialRoles, +} + #[multiversx_sc::module] pub trait Setup: storage::Storage { // Issue main collection token/handler @@ -20,6 +31,7 @@ pub trait Setup: storage::Storage { &self, collection_token_name: ManagedBuffer, collection_token_ticker: ManagedBuffer, + token_properties: OptionalValue>, ) { let issue_cost = self.call_value().egld_value(); require!( @@ -29,21 +41,46 @@ pub trait Setup: storage::Storage { self.collection_token_name().set(&collection_token_name); + let mut properties = SemiFungibleTokenProperties { + can_freeze: false, + can_wipe: false, + can_pause: false, + can_transfer_create_role: false, + can_change_owner: false, + can_upgrade: false, + can_add_special_roles: true, // to proceed it is required anyway, so there is no sense to leave it false + }; + + let properties_option = token_properties.into_option(); + + match properties_option { + Some(value) => { + for token_propery in value.into_iter() { + match token_propery { + SFTProperties::CanFreeze => properties.can_freeze = true, + SFTProperties::CanWipe => properties.can_wipe = true, + SFTProperties::CanPause => properties.can_pause = true, + SFTProperties::CanTransferCreateRole => { + properties.can_transfer_create_role = true + } + SFTProperties::CanChangeOwner => properties.can_change_owner = true, + SFTProperties::CanUpgrade => properties.can_upgrade = true, + SFTProperties::CanAddSpecialRoles => { + properties.can_add_special_roles = true + } + }; + } + } + None => {} + } + self.send() .esdt_system_sc_proxy() .issue_semi_fungible( issue_cost.clone_value(), &collection_token_name, &collection_token_ticker, - SemiFungibleTokenProperties { - can_freeze: false, - can_wipe: false, - can_pause: false, - can_transfer_create_role: false, - can_change_owner: false, - can_upgrade: false, - can_add_special_roles: true, - }, + properties, ) .async_call() .with_callback(self.callbacks().issue_callback()) diff --git a/wasm/Cargo.lock b/wasm/Cargo.lock index 72d3b56..1a54a5e 100644 --- a/wasm/Cargo.lock +++ b/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", "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" @@ -39,14 +46,14 @@ checksum = "baf1de4339761588bc0619e3cbc0120ee582ebb74b53b4efbf79117bd2da40fd" [[package]] name = "elven-tools-sft-minter" -version = "0.4.0" +version = "0.5.0" dependencies = [ "multiversx-sc", ] [[package]] name = "elven-tools-sft-minter-wasm" -version = "0.4.0" +version = "0.0.0" dependencies = [ "elven-tools-sft-minter", "multiversx-sc-wasm-adapter", @@ -60,11 +67,12 @@ checksum = "c34f04666d835ff5d62e058c3995147c06f42fe86ff053337632bca83e42702d" [[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]] @@ -75,15 +83,15 @@ 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" +checksum = "6fe2267d4ed49bc07b63801559be28c718ea06c4738b7a03c94df7386d2cde46" [[package]] name = "multiversx-sc" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5889db6e6f6814b221cf4c1cd2937aa047b419e2a80b08695d85b4a9f537bdfd" +checksum = "f11b51d6a2ab0218585ed58e100c5ac2218de09490fbfc4243b5ecd0ca7f5cbc" dependencies = [ "bitflags", "hashbrown", @@ -95,9 +103,9 @@ dependencies = [ [[package]] name = "multiversx-sc-codec" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f1e15b46c17b87c0c7cdd79b041a4abd7f3a2b45f3c993f6ce38c0f233e82b6" +checksum = "327b0ad1c3477cab0d7c84391439ba302238f738ef3c6e1fcd18e247fba84875" dependencies = [ "arrayvec", "multiversx-sc-codec-derive", @@ -105,34 +113,34 @@ dependencies = [ [[package]] name = "multiversx-sc-codec-derive" -version = "0.18.1" +version = "0.18.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9a7bc0762cd6d88f8bc54805bc652b042a61cd7fbc2d0a325010f088b78fb2ac" +checksum = "f444038e0043b8eda816b26952479c2aca3c4a643580f4337f71fb362a586db5" dependencies = [ "hex", "proc-macro2", "quote", - "syn", + "syn 1.0.109", ] [[package]] name = "multiversx-sc-derive" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "23fead13b29d79f702e021926402588e9a7822ed9dfadfdfe71c436dce100e4f" +checksum = "784f0fc505806102fe6f808b368e12fcb13096dd73c5678f09c5663230724d6f" dependencies = [ "hex", "proc-macro2", "quote", "radix_trie", - "syn", + "syn 1.0.109", ] [[package]] name = "multiversx-sc-wasm-adapter" -version = "0.43.3" +version = "0.45.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9f6fce7b968fec7ea27f6fef909d4149e515e31aa2486a93dcd7c72a8a01e571" +checksum = "5afb8b8cc380eabd82dc8f9b02afbab3dce16fc2b5de1dbc601fcfcf261278ba" dependencies = [ "multiversx-sc", ] @@ -206,6 +214,17 @@ dependencies = [ "unicode-ident", ] +[[package]] +name = "syn" +version = "2.0.32" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "239814284fd6f1a4ffe4ca893952cdd93c224b6a1571c9a9eadd670295c0c9e2" +dependencies = [ + "proc-macro2", + "quote", + "unicode-ident", +] + [[package]] name = "unicode-ident" version = "1.0.11" @@ -217,3 +236,23 @@ name = "version_check" version = "0.9.4" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "49874b5167b65d7193b8aba1567f5c7d93d001cafc34600cee003eda787e483f" + +[[package]] +name = "zerocopy" +version = "0.7.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "e97e415490559a91254a2979b4829267a57d2fcd741a98eee8b722fb57289aa0" +dependencies = [ + "zerocopy-derive", +] + +[[package]] +name = "zerocopy-derive" +version = "0.7.26" +source = "registry+https://github.com/rust-lang/crates.io-index" +checksum = "dd7e48ccf166952882ca8bd778a43502c64f33bf94c12ebe2a7f08e5a0f6689f" +dependencies = [ + "proc-macro2", + "quote", + "syn 2.0.32", +] diff --git a/wasm/Cargo.toml b/wasm/Cargo.toml index 3f61287..e959d12 100644 --- a/wasm/Cargo.toml +++ b/wasm/Cargo.toml @@ -1,12 +1,17 @@ +# Code generated by the multiversx-sc build system. DO NOT EDIT. + +# ########################################## +# ############## AUTO-GENERATED ############# +# ########################################## + [package] name = "elven-tools-sft-minter-wasm" -version = "0.4.0" -authors = ["Julian Ćwirko "] +version = "0.0.0" edition = "2021" publish = false [lib] -crate-type = [ "cdylib",] +crate-type = ["cdylib"] [profile.release] codegen-units = 1 @@ -19,7 +24,7 @@ panic = "abort" path = ".." [dependencies.multiversx-sc-wasm-adapter] -version = "0.43.3" +version = "0.45.1" [workspace] members = ["."] diff --git a/wasm/src/lib.rs b/wasm/src/lib.rs index 5cbee2b..bbd3676 100644 --- a/wasm/src/lib.rs +++ b/wasm/src/lib.rs @@ -1,4 +1,4 @@ -// 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 //////////////////