diff --git a/package-lock.json b/package-lock.json
index 1b5902c..971d6ae 100644
--- a/package-lock.json
+++ b/package-lock.json
@@ -1,26 +1,26 @@
{
"name": "@itheum/sdk-mx-data-nft",
- "version": "2.4.0",
+ "version": "2.4.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "@itheum/sdk-mx-data-nft",
- "version": "2.4.0",
+ "version": "2.4.1",
"license": "GPL-3.0-only",
"dependencies": {
- "@multiversx/sdk-core": "12.11.0",
- "@multiversx/sdk-network-providers": "2.0.0",
+ "@multiversx/sdk-core": "12.17.0",
+ "@multiversx/sdk-network-providers": "2.2.0",
"bignumber.js": "9.1.2",
"nft.storage": "7.1.1"
},
"devDependencies": {
- "@types/jest": "29.5.4",
+ "@types/jest": "29.5.11",
"jest": "29.7.0",
"ts-jest": "29.1.1",
"tslint": "6.1.3",
- "typedoc": "0.25.1",
- "typescript": "5.2.2"
+ "typedoc": "0.25.4",
+ "typescript": "5.3.3"
}
},
"node_modules/@ampproject/remapping": {
@@ -1042,9 +1042,9 @@
}
},
"node_modules/@multiversx/sdk-core": {
- "version": "12.11.0",
- "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-12.11.0.tgz",
- "integrity": "sha512-rQRvjx6f1AE8TK5LObxthP7hCUCf6bc9QBAmiOJJ1Na5VS1iPhm5jDqnlCa7oieMb1HYdHQAEkoWNSsPKe/8vA==",
+ "version": "12.17.0",
+ "resolved": "https://registry.npmjs.org/@multiversx/sdk-core/-/sdk-core-12.17.0.tgz",
+ "integrity": "sha512-SdIdUMT4hVgcmNF2uNOZusrxwEJXFtllJ9YOQMJ4V0f1Ajq4fYGWv88OfNGGNaH/I0BAvMZKFsfVL4zgtVekmQ==",
"dependencies": {
"@multiversx/sdk-transaction-decoder": "1.0.2",
"bech32": "1.1.4",
@@ -1093,25 +1093,17 @@
}
},
"node_modules/@multiversx/sdk-network-providers": {
- "version": "2.0.0",
- "resolved": "https://registry.npmjs.org/@multiversx/sdk-network-providers/-/sdk-network-providers-2.0.0.tgz",
- "integrity": "sha512-87QlwC2kaNtywDv2IVX/cavRfR4D5N7XgqOvsZTyMXRVbfWOUlDocrRr5BdvmC1gDdSOQH++nFEDHiMfnKmRng==",
+ "version": "2.2.0",
+ "resolved": "https://registry.npmjs.org/@multiversx/sdk-network-providers/-/sdk-network-providers-2.2.0.tgz",
+ "integrity": "sha512-2n/+7Ap6S9rJGTiX38GCZ2TmY9zQ1U7o1DwnWpHNRJRxArSN/xzLrbcSKy8InMyc+4A+VHf5pV0Pk8NdPV6++w==",
"dependencies": {
- "axios": "0.24.0",
+ "axios": "1.6.1",
"bech32": "1.1.4",
"bignumber.js": "9.0.1",
"buffer": "6.0.3",
"json-bigint": "1.0.0"
}
},
- "node_modules/@multiversx/sdk-network-providers/node_modules/axios": {
- "version": "0.24.0",
- "resolved": "https://registry.npmjs.org/axios/-/axios-0.24.0.tgz",
- "integrity": "sha512-Q6cWsys88HoPgAaFAVUb0WpPk0O8iTeisR9IMqy9G8AbO4NlpVknrnQS03zzF9PGAWgO3cgletO3VjV/P7VztA==",
- "dependencies": {
- "follow-redirects": "^1.14.4"
- }
- },
"node_modules/@multiversx/sdk-network-providers/node_modules/bignumber.js": {
"version": "9.0.1",
"resolved": "https://registry.npmjs.org/bignumber.js/-/bignumber.js-9.0.1.tgz",
@@ -1286,9 +1278,9 @@
}
},
"node_modules/@types/jest": {
- "version": "29.5.4",
- "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.4.tgz",
- "integrity": "sha512-PhglGmhWeD46FYOVLt3X7TiWjzwuVGW9wG/4qocPevXMjCmrIc5b6db9WjeGE4QYVpUAWMDv3v0IiBwObY289A==",
+ "version": "29.5.11",
+ "resolved": "https://registry.npmjs.org/@types/jest/-/jest-29.5.11.tgz",
+ "integrity": "sha512-S2mHmYIVe13vrm6q4kN6fLYYAka15ALQki/vgDC3mIukEOx8WJlv0kQPM+d4w8Gp6u0uSdKND04IlTXBv0rwnQ==",
"dev": true,
"dependencies": {
"expect": "^29.0.0",
@@ -1509,6 +1501,11 @@
"node": ">=0.10.0"
}
},
+ "node_modules/asynckit": {
+ "version": "0.4.0",
+ "resolved": "https://registry.npmjs.org/asynckit/-/asynckit-0.4.0.tgz",
+ "integrity": "sha512-Oei9OH4tRh0YqU3GxhX79dM/mwVgvbZJaSNaRk+bshkj0S5cfHcgYakreBjrHwatXKbz+IoIdYLxrKim2MjW0Q=="
+ },
"node_modules/available-typed-arrays": {
"version": "1.0.5",
"resolved": "https://registry.npmjs.org/available-typed-arrays/-/available-typed-arrays-1.0.5.tgz",
@@ -1520,6 +1517,16 @@
"url": "https://github.com/sponsors/ljharb"
}
},
+ "node_modules/axios": {
+ "version": "1.6.1",
+ "resolved": "https://registry.npmjs.org/axios/-/axios-1.6.1.tgz",
+ "integrity": "sha512-vfBmhDpKafglh0EldBEbVuoe7DyAavGSLWhuSm5ZSEKQnHhBf0xAAwybbNH1IkrJNGnS/VG4I5yxig1pCEXE4g==",
+ "dependencies": {
+ "follow-redirects": "^1.15.0",
+ "form-data": "^4.0.0",
+ "proxy-from-env": "^1.1.0"
+ }
+ },
"node_modules/babel-jest": {
"version": "29.7.0",
"resolved": "https://registry.npmjs.org/babel-jest/-/babel-jest-29.7.0.tgz",
@@ -1994,6 +2001,17 @@
"integrity": "sha512-dOy+3AuW3a2wNbZHIuMZpTcgjGuLU/uBL/ubcZF9OXbDo8ff4O8yVp5Bf0efS8uEoYo5q4Fx7dY9OgQGXgAsQA==",
"dev": true
},
+ "node_modules/combined-stream": {
+ "version": "1.0.8",
+ "resolved": "https://registry.npmjs.org/combined-stream/-/combined-stream-1.0.8.tgz",
+ "integrity": "sha512-FQN4MRfuJeHf7cBbBMJFXhKSDq+2kAArBlmRBvcvFE5BB1HZKXtSFASDhdlz9zOYwxh8lDdnvmMOe/+5cdoEdg==",
+ "dependencies": {
+ "delayed-stream": "~1.0.0"
+ },
+ "engines": {
+ "node": ">= 0.8"
+ }
+ },
"node_modules/commander": {
"version": "2.20.3",
"resolved": "https://registry.npmjs.org/commander/-/commander-2.20.3.tgz",
@@ -2124,6 +2142,14 @@
"node": ">=0.10.0"
}
},
+ "node_modules/delayed-stream": {
+ "version": "1.0.0",
+ "resolved": "https://registry.npmjs.org/delayed-stream/-/delayed-stream-1.0.0.tgz",
+ "integrity": "sha512-ZySD7Nf91aLB0RxL4KGrKHBXl7Eds1DAmEdcoVawXnLD7SDhpNgtuII2aAkg7a7QS41jxPSZ17p4VdGnMHk3MQ==",
+ "engines": {
+ "node": ">=0.4.0"
+ }
+ },
"node_modules/detect-newline": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/detect-newline/-/detect-newline-3.1.0.tgz",
@@ -2349,9 +2375,9 @@
}
},
"node_modules/follow-redirects": {
- "version": "1.15.2",
- "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.2.tgz",
- "integrity": "sha512-VQLG33o04KaQ8uYi2tVNbdrWp1QWxNNea+nmIB4EVM28v0hmP17z7aG1+wAkNzVq4KeXTq3221ye5qTJP91JwA==",
+ "version": "1.15.3",
+ "resolved": "https://registry.npmjs.org/follow-redirects/-/follow-redirects-1.15.3.tgz",
+ "integrity": "sha512-1VzOtuEM8pC9SFU1E+8KfTjZyMztRsgEfwQl44z8A25uy13jSzTj6dyK2Df52iV0vgHCfBwLhDWevLn95w5v6Q==",
"funding": [
{
"type": "individual",
@@ -2375,6 +2401,19 @@
"is-callable": "^1.1.3"
}
},
+ "node_modules/form-data": {
+ "version": "4.0.0",
+ "resolved": "https://registry.npmjs.org/form-data/-/form-data-4.0.0.tgz",
+ "integrity": "sha512-ETEklSGi5t0QMZuiXoA/Q6vcnxcLQP5vdugSpuAyi6SVGi2clPPp+xgEhuMaHC+zGgn31Kd235W35f7Hykkaww==",
+ "dependencies": {
+ "asynckit": "^0.4.0",
+ "combined-stream": "^1.0.8",
+ "mime-types": "^2.1.12"
+ },
+ "engines": {
+ "node": ">= 6"
+ }
+ },
"node_modules/fs.realpath": {
"version": "1.0.0",
"resolved": "https://registry.npmjs.org/fs.realpath/-/fs.realpath-1.0.0.tgz",
@@ -4090,6 +4129,25 @@
"node": ">=8.6"
}
},
+ "node_modules/mime-db": {
+ "version": "1.52.0",
+ "resolved": "https://registry.npmjs.org/mime-db/-/mime-db-1.52.0.tgz",
+ "integrity": "sha512-sPU4uV7dYlvtWJxwwxHD0PuihVNiE7TyAbQ5SWxDCB9mUYvOgroQOwYQQOKPJ8CIbE+1ETVlOoK1UC2nU3gYvg==",
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
+ "node_modules/mime-types": {
+ "version": "2.1.35",
+ "resolved": "https://registry.npmjs.org/mime-types/-/mime-types-2.1.35.tgz",
+ "integrity": "sha512-ZDY+bPm5zTTF+YpCrAU9nK0UgICYPT0QtT1NZWFv4s++TNkcgVaT0g6+4R2uI4MjQjzysHB1zxuWL50hzaeXiw==",
+ "dependencies": {
+ "mime-db": "1.52.0"
+ },
+ "engines": {
+ "node": ">= 0.6"
+ }
+ },
"node_modules/mimic-fn": {
"version": "2.1.0",
"resolved": "https://registry.npmjs.org/mimic-fn/-/mimic-fn-2.1.0.tgz",
@@ -4654,6 +4712,11 @@
"pbts": "bin/pbts"
}
},
+ "node_modules/proxy-from-env": {
+ "version": "1.1.0",
+ "resolved": "https://registry.npmjs.org/proxy-from-env/-/proxy-from-env-1.1.0.tgz",
+ "integrity": "sha512-D+zkORCbA9f1tdWRK0RaCR3GPv50cMxcrz4X8k5LTSUD1Dkw47mKJEZQNunItRTkWwgtaUSo1RVFRIG9ZXiFYg=="
+ },
"node_modules/pure-rand": {
"version": "6.0.3",
"resolved": "https://registry.npmjs.org/pure-rand/-/pure-rand-6.0.3.tgz",
@@ -5472,9 +5535,9 @@
}
},
"node_modules/typedoc": {
- "version": "0.25.1",
- "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.1.tgz",
- "integrity": "sha512-c2ye3YUtGIadxN2O6YwPEXgrZcvhlZ6HlhWZ8jQRNzwLPn2ylhdGqdR8HbyDRyALP8J6lmSANILCkkIdNPFxqA==",
+ "version": "0.25.4",
+ "resolved": "https://registry.npmjs.org/typedoc/-/typedoc-0.25.4.tgz",
+ "integrity": "sha512-Du9ImmpBCw54bX275yJrxPVnjdIyJO/84co0/L9mwe0R3G4FSR6rQ09AlXVRvZEGMUg09+z/usc8mgygQ1aidA==",
"dev": true,
"dependencies": {
"lunr": "^2.3.9",
@@ -5489,7 +5552,7 @@
"node": ">= 16"
},
"peerDependencies": {
- "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x"
+ "typescript": "4.6.x || 4.7.x || 4.8.x || 4.9.x || 5.0.x || 5.1.x || 5.2.x || 5.3.x"
}
},
"node_modules/typedoc/node_modules/brace-expansion": {
@@ -5517,9 +5580,9 @@
}
},
"node_modules/typescript": {
- "version": "5.2.2",
- "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.2.2.tgz",
- "integrity": "sha512-mI4WrpHsbCIcwT9cF4FZvr80QUeKvsUsUvKDoR+X/7XHQH98xYD8YHZg7ANtz2GtZt/CBq2QJ0thkGJMHfqc1w==",
+ "version": "5.3.3",
+ "resolved": "https://registry.npmjs.org/typescript/-/typescript-5.3.3.tgz",
+ "integrity": "sha512-pXWcraxM0uxAS+tN0AG/BF2TyqmHO014Z070UsJ+pFvYuRSq8KH8DmWpnbXe0pEPDHXZV3FcAbJkijJ5oNEnWw==",
"dev": true,
"bin": {
"tsc": "bin/tsc",
diff --git a/package.json b/package.json
index 8e126bc..6c33b91 100644
--- a/package.json
+++ b/package.json
@@ -1,6 +1,6 @@
{
"name": "@itheum/sdk-mx-data-nft",
- "version": "2.4.0",
+ "version": "2.4.1",
"description": "SDK for Itheum's Data NFT Technology on MultiversX Blockchain",
"main": "out/index.js",
"types": "out/index.d.js",
@@ -16,18 +16,18 @@
"author": "Itheum Protocol",
"license": "GPL-3.0-only",
"dependencies": {
- "@multiversx/sdk-core": "12.11.0",
- "@multiversx/sdk-network-providers": "2.0.0",
+ "@multiversx/sdk-core": "12.17.0",
+ "@multiversx/sdk-network-providers": "2.2.0",
"bignumber.js": "9.1.2",
"nft.storage": "7.1.1"
},
"devDependencies": {
- "@types/jest": "29.5.4",
+ "@types/jest": "29.5.11",
"jest": "29.7.0",
"ts-jest": "29.1.1",
"tslint": "6.1.3",
- "typedoc": "0.25.1",
- "typescript": "5.2.2"
+ "typedoc": "0.25.4",
+ "typescript": "5.3.3"
},
"repository": {
"type": "git",
diff --git a/src/abis/datanftmint.abi.json b/src/abis/datanftmint.abi.json
index 53d00ee..1851511 100644
--- a/src/abis/datanftmint.abi.json
+++ b/src/abis/datanftmint.abi.json
@@ -1,949 +1,1015 @@
{
- "buildInfo": {
- "rustc": {
- "version": "1.70.0-nightly",
- "commitHash": "db0cbc48d4aaa300713a95d9b317a365a474490c",
- "commitDate": "2023-03-26",
- "channel": "Nightly",
- "short": "rustc 1.70.0-nightly (db0cbc48d 2023-03-26)"
- },
- "contractCrate": {
- "name": "datanftmint",
- "version": "0.0.0"
- },
- "framework": {
- "name": "multiversx-sc",
- "version": "0.39.7"
- }
- },
- "name": "DataNftMint",
- "constructor": {
- "inputs": [],
- "outputs": []
- },
- "endpoints": [
- {
- "name": "initializeContract",
- "onlyOwner": true,
- "mutability": "mutable",
- "payableInTokens": [
- "EGLD"
- ],
- "inputs": [
- {
- "name": "collection_name",
- "type": "bytes"
- },
- {
- "name": "token_ticker",
- "type": "bytes"
- },
- {
- "name": "anti_spam_tax_token",
- "type": "EgldOrEsdtTokenIdentifier"
- },
- {
- "name": "anti_spam_tax_value",
- "type": "BigUint"
- },
- {
- "name": "mint_time_limit",
- "type": "u64"
- },
- {
- "name": "treasury_address",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "setLocalRoles",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [],
- "outputs": []
- },
- {
- "name": "mint",
- "mutability": "mutable",
- "payableInTokens": [
- "*"
- ],
- "inputs": [
- {
- "name": "name",
- "type": "bytes"
- },
- {
- "name": "media",
- "type": "bytes"
- },
- {
- "name": "metadata",
- "type": "bytes"
- },
- {
- "name": "data_marshal",
- "type": "bytes"
- },
- {
- "name": "data_stream",
- "type": "bytes"
- },
- {
- "name": "data_preview",
- "type": "bytes"
- },
- {
- "name": "royalties",
- "type": "BigUint"
- },
- {
- "name": "supply",
- "type": "BigUint"
- },
- {
- "name": "title",
- "type": "bytes"
- },
- {
- "name": "description",
- "type": "bytes"
- }
- ],
- "outputs": [
- {
- "type": "DataNftAttributes"
- }
- ]
- },
- {
- "name": "burn",
- "mutability": "mutable",
- "payableInTokens": [
- "*"
- ],
- "inputs": [],
- "outputs": []
- },
- {
- "name": "setTreasuryAddress",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "setIsPaused",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "is_paused",
- "type": "bool"
- }
- ],
- "outputs": []
- },
- {
- "name": "setAntiSpamTax",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "token_id",
- "type": "EgldOrEsdtTokenIdentifier"
- },
- {
- "name": "tax",
- "type": "BigUint"
- }
- ],
- "outputs": []
- },
- {
- "name": "setWhiteListEnabled",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "is_enabled",
- "type": "bool"
- }
- ],
- "outputs": []
- },
- {
- "name": "setWhiteListSpots",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "whitelist",
- "type": "variadic
",
- "multi_arg": true
- }
- ],
- "outputs": []
- },
- {
- "name": "removeWhiteListSpots",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "whitelist",
- "type": "variadic",
- "multi_arg": true
- }
- ],
- "outputs": []
- },
- {
- "name": "setMintTimeLimit",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [
- {
- "name": "mint_time_limit",
- "type": "u64"
- }
- ],
- "outputs": []
- },
- {
- "name": "setRoyaltiesLimits",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "min_royalties",
- "type": "BigUint"
- },
- {
- "name": "max_royalties",
- "type": "BigUint"
- }
- ],
- "outputs": []
- },
- {
- "name": "setMaxSupply",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "max_supply",
- "type": "BigUint"
- }
- ],
- "outputs": []
- },
- {
- "name": "setAdministrator",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [
- {
- "name": "administrator",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "getTokenId",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "TokenIdentifier"
- }
- ]
- },
- {
- "name": "getTreasuryAddress",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "Address"
- }
- ]
- },
- {
- "name": "getMintedTokens",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "BigUint"
- }
- ]
- },
- {
- "name": "getAntiSpamTax",
- "mutability": "readonly",
- "inputs": [
- {
- "name": "token",
- "type": "EgldOrEsdtTokenIdentifier"
- }
- ],
- "outputs": [
- {
- "type": "BigUint"
- }
- ]
- },
- {
- "name": "getIsPaused",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "bool"
- }
- ]
- },
- {
- "name": "getMaxRoyalties",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "BigUint"
- }
- ]
- },
- {
- "name": "getMinRoyalties",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "BigUint"
- }
- ]
- },
- {
- "name": "getMaxSupply",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "BigUint"
- }
- ]
- },
- {
- "name": "getMintedPerAddress",
- "mutability": "readonly",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": [
- {
- "type": "BigUint"
- }
- ]
- },
- {
- "name": "mintTimeLimit",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "u64"
- }
- ]
- },
- {
- "name": "lastMintTime",
- "mutability": "readonly",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": [
- {
- "type": "u64"
- }
- ]
- },
- {
- "name": "getWhiteList",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "variadic",
- "multi_result": true
- }
- ]
- },
- {
- "name": "getCollectionFrozenList",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "variadic",
- "multi_result": true
- }
- ]
- },
- {
- "name": "getSftsFrozenForAddress",
- "mutability": "readonly",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": [
- {
- "type": "variadic",
- "multi_result": true
- }
- ]
- },
- {
- "name": "getFrozenCount",
- "mutability": "readonly",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": [
- {
- "type": "u32"
- }
- ]
- },
- {
- "name": "isWhiteListEnabled",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "bool"
- }
- ]
- },
- {
- "name": "rolesAreSet",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "bool"
- }
- ]
- },
- {
- "name": "getAdministrator",
- "mutability": "readonly",
- "inputs": [],
- "outputs": [
- {
- "type": "Address"
- }
- ]
- },
- {
- "name": "getUserDataOut",
- "mutability": "readonly",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- },
- {
- "name": "tax_token",
- "type": "EgldOrEsdtTokenIdentifier"
- }
- ],
- "outputs": [
- {
- "type": "UserDataOut"
- }
- ]
- },
- {
- "name": "pause",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [],
- "outputs": []
- },
- {
- "name": "unpause",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [],
- "outputs": []
- },
- {
- "name": "freeze",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "unfreeze",
- "onlyOwner": true,
- "mutability": "mutable",
- "inputs": [
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "freezeSingleNFT",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "nonce",
- "type": "u64"
- },
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "unFreezeSingleNFT",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "nonce",
- "type": "u64"
- },
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": []
- },
- {
- "name": "wipeSingleNFT",
- "mutability": "mutable",
- "inputs": [
- {
- "name": "nonce",
- "type": "u64"
- },
- {
- "name": "address",
- "type": "Address"
- }
- ],
- "outputs": []
- }
- ],
- "events": [
- {
- "identifier": "mintPauseToggle",
- "inputs": [
- {
- "name": "pause_value",
- "type": "bool",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "setTreasuryAddress",
- "inputs": [
- {
- "name": "treasury_address",
- "type": "Address",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "whitelistEnableToggle",
- "inputs": [
- {
- "name": "enable_value",
- "type": "bool",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "whitelistSpotSet",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "collectionFreezeListSpotSet",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "frozenSftsPerAddress",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "nonce",
- "type": "u64",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "unfrozenSftsPerAddress",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "nonce",
- "type": "u64",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "collectionFreezeListRemoved",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "whitelistSpotRemoved",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "setRoyaltiesLimits",
- "inputs": [
- {
- "name": "min_royalties",
- "type": "BigUint",
- "indexed": true
- },
- {
- "name": "max_royalties",
- "type": "BigUint",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "setMaxSupply",
- "inputs": [
- {
- "name": "max_supply",
- "type": "BigUint",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "antiSpamTaxSet",
- "inputs": [
- {
- "name": "token",
- "type": "EgldOrEsdtTokenIdentifier",
- "indexed": true
- },
- {
- "name": "amount",
- "type": "BigUint",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "mintTimeLimitSet",
- "inputs": [
- {
- "name": "mint_time_limit",
- "type": "u64",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "setAdministrator",
- "inputs": [
- {
- "name": "administrator",
- "type": "Address",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "pauseCollection",
- "inputs": [
- {
- "name": "token_identifier",
- "type": "TokenIdentifier",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "unpauseCollection",
- "inputs": [
- {
- "name": "token_identifier",
- "type": "TokenIdentifier",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "freeze",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "token_identifier",
- "type": "TokenIdentifier",
- "indexed": true
- },
- {
- "name": "nonce",
- "type": "u64",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "unfreeze",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "token_identifier",
- "type": "TokenIdentifier",
- "indexed": true
- },
- {
- "name": "nonce",
- "type": "u64",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "wipe",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "token_identifier",
- "type": "TokenIdentifier",
- "indexed": true
- },
- {
- "name": "nonce",
- "type": "u64",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "burn",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "token_identifier",
- "type": "TokenIdentifier",
- "indexed": true
- },
- {
- "name": "nonce",
- "type": "u64",
- "indexed": true
- },
- {
- "name": "amount",
- "type": "BigUint",
- "indexed": true
- }
- ]
- },
- {
- "identifier": "mint",
- "inputs": [
- {
- "name": "address",
- "type": "Address",
- "indexed": true
- },
- {
- "name": "amount",
- "type": "BigUint",
- "indexed": true
- },
- {
- "name": "token",
- "type": "EgldOrEsdtTokenIdentifier",
- "indexed": true
- },
- {
- "name": "price",
- "type": "BigUint",
- "indexed": true
- }
- ]
- }
- ],
- "hasCallback": true,
- "types": {
- "DataNftAttributes": {
- "type": "struct",
- "fields": [
- {
- "name": "data_stream_url",
- "type": "bytes"
- },
- {
- "name": "data_preview_url",
- "type": "bytes"
- },
- {
- "name": "data_marshal_url",
- "type": "bytes"
- },
- {
- "name": "creator",
- "type": "Address"
- },
- {
- "name": "creation_time",
- "type": "u64"
- },
- {
- "name": "title",
- "type": "bytes"
- },
- {
- "name": "description",
- "type": "bytes"
- }
- ]
- },
- "UserDataOut": {
- "type": "struct",
- "fields": [
- {
- "name": "anti_spam_tax_value",
- "type": "BigUint"
- },
- {
- "name": "is_paused",
- "type": "bool"
- },
- {
- "name": "max_royalties",
- "type": "BigUint"
- },
- {
- "name": "min_royalties",
- "type": "BigUint"
- },
- {
- "name": "max_supply",
- "type": "BigUint"
- },
- {
- "name": "mint_time_limit",
- "type": "u64"
- },
- {
- "name": "last_mint_time",
- "type": "u64"
- },
- {
- "name": "whitelist_enabled",
- "type": "bool"
- },
- {
- "name": "is_whitelisted",
- "type": "bool"
- },
- {
- "name": "minted_per_user",
- "type": "BigUint"
- },
- {
- "name": "total_minted",
- "type": "BigUint"
- },
- {
- "name": "frozen",
- "type": "bool"
- },
- {
- "name": "frozen_nonces",
- "type": "List"
- }
- ]
+ "buildInfo": {
+ "rustc": {
+ "version": "1.71.0-nightly",
+ "commitHash": "a2b1646c597329d0a25efa3889b66650f65de1de",
+ "commitDate": "2023-05-25",
+ "channel": "Nightly",
+ "short": "rustc 1.71.0-nightly (a2b1646c5 2023-05-25)"
+ },
+ "contractCrate": {
+ "name": "datanftmint",
+ "version": "2.0.0"
+ },
+ "framework": {
+ "name": "multiversx-sc",
+ "version": "0.45.1"
+ }
+ },
+ "name": "DataNftMint",
+ "constructor": {
+ "inputs": [],
+ "outputs": []
+ },
+ "endpoints": [
+ {
+ "name": "initializeContract",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "payableInTokens": ["EGLD"],
+ "inputs": [
+ {
+ "name": "collection_name",
+ "type": "bytes"
+ },
+ {
+ "name": "token_ticker",
+ "type": "bytes"
+ },
+ {
+ "name": "anti_spam_tax_token",
+ "type": "EgldOrEsdtTokenIdentifier"
+ },
+ {
+ "name": "anti_spam_tax_value",
+ "type": "BigUint"
+ },
+ {
+ "name": "mint_time_limit",
+ "type": "u64"
+ },
+ {
+ "name": "treasury_address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setLocalRoles",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [],
+ "outputs": []
+ },
+ {
+ "name": "mint",
+ "mutability": "mutable",
+ "payableInTokens": ["*"],
+ "inputs": [
+ {
+ "name": "name",
+ "type": "bytes"
+ },
+ {
+ "name": "media",
+ "type": "bytes"
+ },
+ {
+ "name": "metadata",
+ "type": "bytes"
+ },
+ {
+ "name": "data_marshal",
+ "type": "bytes"
+ },
+ {
+ "name": "data_stream",
+ "type": "bytes"
+ },
+ {
+ "name": "data_preview",
+ "type": "bytes"
+ },
+ {
+ "name": "royalties",
+ "type": "BigUint"
+ },
+ {
+ "name": "supply",
+ "type": "BigUint"
+ },
+ {
+ "name": "title",
+ "type": "bytes"
+ },
+ {
+ "name": "description",
+ "type": "bytes"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "DataNftAttributes"
+ }
+ ]
+ },
+ {
+ "name": "burn",
+ "mutability": "mutable",
+ "payableInTokens": ["*"],
+ "inputs": [],
+ "outputs": []
+ },
+ {
+ "name": "setTreasuryAddress",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setIsPaused",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "is_paused",
+ "type": "bool"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setAntiSpamTax",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "token_id",
+ "type": "EgldOrEsdtTokenIdentifier"
+ },
+ {
+ "name": "tax",
+ "type": "BigUint"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setWhiteListEnabled",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "is_enabled",
+ "type": "bool"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setWhiteListSpots",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "whitelist",
+ "type": "variadic",
+ "multi_arg": true
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "removeWhiteListSpots",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "whitelist",
+ "type": "variadic",
+ "multi_arg": true
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setMintTimeLimit",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "mint_time_limit",
+ "type": "u64"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setRoyaltiesLimits",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "min_royalties",
+ "type": "BigUint"
+ },
+ {
+ "name": "max_royalties",
+ "type": "BigUint"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setMaxSupply",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "max_supply",
+ "type": "BigUint"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setAdministrator",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "administrator",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "setWithdrawalAddress",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "withdrawal_address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "withdraw",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "token_identifier",
+ "type": "EgldOrEsdtTokenIdentifier"
+ },
+ {
+ "name": "nonce",
+ "type": "u64"
+ },
+ {
+ "name": "amount",
+ "type": "BigUint"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "getTokenId",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "TokenIdentifier"
+ }
+ ]
+ },
+ {
+ "name": "getTreasuryAddress",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "Address"
+ }
+ ]
+ },
+ {
+ "name": "getWithdrawalAddress",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "Address"
+ }
+ ]
+ },
+ {
+ "name": "getMintedTokens",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "BigUint"
+ }
+ ]
+ },
+ {
+ "name": "getAntiSpamTax",
+ "mutability": "readonly",
+ "inputs": [
+ {
+ "name": "token",
+ "type": "EgldOrEsdtTokenIdentifier"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "BigUint"
+ }
+ ]
+ },
+ {
+ "name": "getIsPaused",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "getMaxRoyalties",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "BigUint"
+ }
+ ]
+ },
+ {
+ "name": "getMinRoyalties",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "BigUint"
+ }
+ ]
+ },
+ {
+ "name": "getMaxSupply",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "BigUint"
+ }
+ ]
+ },
+ {
+ "name": "getMintedPerAddress",
+ "mutability": "readonly",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "BigUint"
+ }
+ ]
+ },
+ {
+ "name": "mintTimeLimit",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "u64"
+ }
+ ]
+ },
+ {
+ "name": "lastMintTime",
+ "mutability": "readonly",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "u64"
+ }
+ ]
+ },
+ {
+ "name": "getWhiteList",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "variadic",
+ "multi_result": true
+ }
+ ]
+ },
+ {
+ "name": "getCollectionFrozenList",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "variadic",
+ "multi_result": true
+ }
+ ]
+ },
+ {
+ "name": "getSftsFrozenForAddress",
+ "mutability": "readonly",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "variadic",
+ "multi_result": true
+ }
+ ]
+ },
+ {
+ "name": "getFrozenCount",
+ "mutability": "readonly",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "u32"
+ }
+ ]
+ },
+ {
+ "name": "isWhiteListEnabled",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "rolesAreSet",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "bool"
+ }
+ ]
+ },
+ {
+ "name": "getAdministrator",
+ "mutability": "readonly",
+ "inputs": [],
+ "outputs": [
+ {
+ "type": "Address"
+ }
+ ]
+ },
+ {
+ "name": "getUserDataOut",
+ "mutability": "readonly",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ },
+ {
+ "name": "tax_token",
+ "type": "EgldOrEsdtTokenIdentifier"
+ }
+ ],
+ "outputs": [
+ {
+ "type": "UserDataOut"
+ }
+ ]
+ },
+ {
+ "name": "pause",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [],
+ "outputs": []
+ },
+ {
+ "name": "unpause",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [],
+ "outputs": []
+ },
+ {
+ "name": "freeze",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "unfreeze",
+ "onlyOwner": true,
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "freezeSingleNFT",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "nonce",
+ "type": "u64"
+ },
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "unFreezeSingleNFT",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "nonce",
+ "type": "u64"
+ },
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ },
+ {
+ "name": "wipeSingleNFT",
+ "mutability": "mutable",
+ "inputs": [
+ {
+ "name": "nonce",
+ "type": "u64"
+ },
+ {
+ "name": "address",
+ "type": "Address"
+ }
+ ],
+ "outputs": []
+ }
+ ],
+ "events": [
+ {
+ "identifier": "mintPauseToggle",
+ "inputs": [
+ {
+ "name": "pause_value",
+ "type": "bool",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "setTreasuryAddress",
+ "inputs": [
+ {
+ "name": "treasury_address",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "whitelistEnableToggle",
+ "inputs": [
+ {
+ "name": "enable_value",
+ "type": "bool",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "whitelistSpotSet",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "collectionFreezeListSpotSet",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "frozenSftsPerAddress",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "nonce",
+ "type": "u64",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "unfrozenSftsPerAddress",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "nonce",
+ "type": "u64",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "collectionFreezeListRemoved",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "whitelistSpotRemoved",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "setRoyaltiesLimits",
+ "inputs": [
+ {
+ "name": "min_royalties",
+ "type": "BigUint",
+ "indexed": true
+ },
+ {
+ "name": "max_royalties",
+ "type": "BigUint",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "setMaxSupply",
+ "inputs": [
+ {
+ "name": "max_supply",
+ "type": "BigUint",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "antiSpamTaxSet",
+ "inputs": [
+ {
+ "name": "token",
+ "type": "EgldOrEsdtTokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "amount",
+ "type": "BigUint",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "mintTimeLimitSet",
+ "inputs": [
+ {
+ "name": "mint_time_limit",
+ "type": "u64",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "setAdministrator",
+ "inputs": [
+ {
+ "name": "administrator",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "pauseCollection",
+ "inputs": [
+ {
+ "name": "token_identifier",
+ "type": "TokenIdentifier",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "unpauseCollection",
+ "inputs": [
+ {
+ "name": "token_identifier",
+ "type": "TokenIdentifier",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "freeze",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "token_identifier",
+ "type": "TokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "nonce",
+ "type": "u64",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "unfreeze",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "token_identifier",
+ "type": "TokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "nonce",
+ "type": "u64",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "wipe",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "token_identifier",
+ "type": "TokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "nonce",
+ "type": "u64",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "burn",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "token_identifier",
+ "type": "TokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "nonce",
+ "type": "u64",
+ "indexed": true
+ },
+ {
+ "name": "amount",
+ "type": "BigUint",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "mint",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "amount",
+ "type": "BigUint",
+ "indexed": true
+ },
+ {
+ "name": "token",
+ "type": "EgldOrEsdtTokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "price",
+ "type": "BigUint",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "setWithdrawalAddress",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ }
+ ]
+ },
+ {
+ "identifier": "withdrawTokens",
+ "inputs": [
+ {
+ "name": "address",
+ "type": "Address",
+ "indexed": true
+ },
+ {
+ "name": "token",
+ "type": "EgldOrEsdtTokenIdentifier",
+ "indexed": true
+ },
+ {
+ "name": "amount",
+ "type": "BigUint",
+ "indexed": true
+ }
+ ]
+ }
+ ],
+ "esdtAttributes": [],
+ "hasCallback": true,
+ "types": {
+ "DataNftAttributes": {
+ "type": "struct",
+ "fields": [
+ {
+ "name": "data_stream_url",
+ "type": "bytes"
+ },
+ {
+ "name": "data_preview_url",
+ "type": "bytes"
+ },
+ {
+ "name": "data_marshal_url",
+ "type": "bytes"
+ },
+ {
+ "name": "creator",
+ "type": "Address"
+ },
+ {
+ "name": "creation_time",
+ "type": "u64"
+ },
+ {
+ "name": "title",
+ "type": "bytes"
+ },
+ {
+ "name": "description",
+ "type": "bytes"
+ }
+ ]
+ },
+ "UserDataOut": {
+ "type": "struct",
+ "fields": [
+ {
+ "name": "anti_spam_tax_value",
+ "type": "BigUint"
+ },
+ {
+ "name": "is_paused",
+ "type": "bool"
+ },
+ {
+ "name": "max_royalties",
+ "type": "BigUint"
+ },
+ {
+ "name": "min_royalties",
+ "type": "BigUint"
+ },
+ {
+ "name": "max_supply",
+ "type": "BigUint"
+ },
+ {
+ "name": "mint_time_limit",
+ "type": "u64"
+ },
+ {
+ "name": "last_mint_time",
+ "type": "u64"
+ },
+ {
+ "name": "whitelist_enabled",
+ "type": "bool"
+ },
+ {
+ "name": "is_whitelisted",
+ "type": "bool"
+ },
+ {
+ "name": "minted_per_user",
+ "type": "BigUint"
+ },
+ {
+ "name": "total_minted",
+ "type": "BigUint"
+ },
+ {
+ "name": "frozen",
+ "type": "bool"
+ },
+ {
+ "name": "frozen_nonces",
+ "type": "List"
}
+ ]
}
+ }
}