@sentio/sdk-bundle 4.0.1-rc.2 → 4.0.1-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/assets/chainlink-oracles-sepolia.json +21 -0
- package/assets/chainlink-oracles.json +219 -0
- package/dist/{0x1-B_N1Dd6d.js → 0x1-CWhLCIJf.js} +30 -22
- package/dist/0x1-CWhLCIJf.js.map +1 -0
- package/dist/{AbstractKeylessAccount-dvYSW9Go.js → AbstractKeylessAccount-DE1e2Glg.js} +3 -2
- package/dist/{AbstractKeylessAccount-dvYSW9Go.js.map → AbstractKeylessAccount-DE1e2Glg.js.map} +1 -1
- package/dist/_md-CZAi2AzY.js +644 -0
- package/dist/_md-CZAi2AzY.js.map +1 -0
- package/dist/aptos/builtin/0x1.js +2 -2
- package/dist/aptos/builtin/0x3.js +3 -3
- package/dist/aptos/builtin/0x3.js.map +1 -1
- package/dist/aptos/builtin/0x4.js +3 -3
- package/dist/aptos/builtin/0x4.js.map +1 -1
- package/dist/aptos/builtin/index.js +1 -1
- package/dist/aptos/ext/index.js +2 -2
- package/dist/aptos/index.js +2 -2
- package/dist/{aptos-DPeebJ9j.js → aptos-Cgfa8IQj.js} +257 -47
- package/dist/{aptos-DPeebJ9j.js.map → aptos-Cgfa8IQj.js.map} +1 -1
- package/dist/{coin-DREiK-Br.js → coin-CBrx3CpG.js} +1514 -105
- package/dist/coin-CBrx3CpG.js.map +1 -0
- package/dist/{coin-CWRVUEBa.js → coin-Mht4Jgvj.js} +803 -4
- package/dist/coin-Mht4Jgvj.js.map +1 -0
- package/dist/eth/builtin/eacaggregatorproxy.js +1 -1
- package/dist/eth/builtin/erc1155.js +1 -1
- package/dist/eth/builtin/erc20.js +1 -1
- package/dist/eth/builtin/erc721.js +1 -1
- package/dist/eth/builtin/index.js +1 -1
- package/dist/eth/builtin/weth9.js +1 -1
- package/dist/eth/index.js +1 -1
- package/dist/iota/builtin/0x1.js +3 -3
- package/dist/iota/builtin/0x2.js +168 -5
- package/dist/iota/builtin/0x2.js.map +1 -1
- package/dist/iota/builtin/0x3.js +3 -3
- package/dist/iota/ext/index.js +1 -1
- package/dist/iota/index.js +3 -3
- package/dist/{keyless-B3QnUmtL.js → keyless-nGiRkJjM.js} +1278 -976
- package/dist/keyless-nGiRkJjM.js.map +1 -0
- package/dist/move/index.js +1 -1
- package/dist/{move-Dr-DL5zT.js → move-BVvdKH2Q.js} +7 -7
- package/dist/{move-Dr-DL5zT.js.map → move-BVvdKH2Q.js.map} +1 -1
- package/dist/sui/builtin/0x1.js +1 -1
- package/dist/sui/builtin/0x2.js +4 -4
- package/dist/sui/builtin/0x3.js +4 -4
- package/dist/sui/builtin/index.js +1 -1
- package/dist/sui/ext/index.js +1 -1
- package/dist/sui/index.js +3 -3
- package/dist/{sui-BbKeYXM3.js → sui-BcHp8IsJ.js} +17 -17
- package/dist/{sui-BbKeYXM3.js.map → sui-BcHp8IsJ.js.map} +1 -1
- package/dist/testing/index.js +6 -6
- package/dist/utils/index.js +1 -1
- package/dist/{utils-Jndk-n_F.js → utils-BQ0dnllb.js} +11 -903
- package/dist/utils-BQ0dnllb.js.map +1 -0
- package/package.json +2 -2
- package/assets/chainlink-oracles-sepolia.csv +0 -19
- package/assets/chainlink-oracles.csv +0 -217
- package/dist/0x1-B_N1Dd6d.js.map +0 -1
- package/dist/base-BvfRCgEy.js +0 -959
- package/dist/base-BvfRCgEy.js.map +0 -1
- package/dist/coin-CWRVUEBa.js.map +0 -1
- package/dist/coin-DREiK-Br.js.map +0 -1
- package/dist/dist-CA96PSzE.js +0 -824
- package/dist/dist-CA96PSzE.js.map +0 -1
- package/dist/keyless-B3QnUmtL.js.map +0 -1
- package/dist/utils-Jndk-n_F.js.map +0 -1
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"_md-CZAi2AzY.js","names":[],"sources":["../../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/utils.js","../../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/_u64.js","../../../node_modules/.pnpm/@noble+hashes@2.2.0/node_modules/@noble/hashes/_md.js"],"sourcesContent":["/**\n * Checks if something is Uint8Array. Be careful: nodejs Buffer will return true.\n * @param a - value to test\n * @returns `true` when the value is a Uint8Array-compatible view.\n * @example\n * Check whether a value is a Uint8Array-compatible view.\n * ```ts\n * isBytes(new Uint8Array([1, 2, 3]));\n * ```\n */\nexport function isBytes(a) {\n // Plain `instanceof Uint8Array` is too strict for some Buffer / proxy / cross-realm cases.\n // The fallback still requires a real ArrayBuffer view, so plain\n // JSON-deserialized `{ constructor: ... }` spoofing is rejected, and\n // `BYTES_PER_ELEMENT === 1` keeps the fallback on byte-oriented views.\n return (a instanceof Uint8Array ||\n (ArrayBuffer.isView(a) &&\n a.constructor.name === 'Uint8Array' &&\n 'BYTES_PER_ELEMENT' in a &&\n a.BYTES_PER_ELEMENT === 1));\n}\n/**\n * Asserts something is a non-negative integer.\n * @param n - number to validate\n * @param title - label included in thrown errors\n * @throws On wrong argument types. {@link TypeError}\n * @throws On wrong argument ranges or values. {@link RangeError}\n * @example\n * Validate a non-negative integer option.\n * ```ts\n * anumber(32, 'length');\n * ```\n */\nexport function anumber(n, title = '') {\n if (typeof n !== 'number') {\n const prefix = title && `\"${title}\" `;\n throw new TypeError(`${prefix}expected number, got ${typeof n}`);\n }\n if (!Number.isSafeInteger(n) || n < 0) {\n const prefix = title && `\"${title}\" `;\n throw new RangeError(`${prefix}expected integer >= 0, got ${n}`);\n }\n}\n/**\n * Asserts something is Uint8Array.\n * @param value - value to validate\n * @param length - optional exact length constraint\n * @param title - label included in thrown errors\n * @returns The validated byte array.\n * @throws On wrong argument types. {@link TypeError}\n * @throws On wrong argument ranges or values. {@link RangeError}\n * @example\n * Validate that a value is a byte array.\n * ```ts\n * abytes(new Uint8Array([1, 2, 3]));\n * ```\n */\nexport function abytes(value, length, title = '') {\n const bytes = isBytes(value);\n const len = value?.length;\n const needsLen = length !== undefined;\n if (!bytes || (needsLen && len !== length)) {\n const prefix = title && `\"${title}\" `;\n const ofLen = needsLen ? ` of length ${length}` : '';\n const got = bytes ? `length=${len}` : `type=${typeof value}`;\n const message = prefix + 'expected Uint8Array' + ofLen + ', got ' + got;\n if (!bytes)\n throw new TypeError(message);\n throw new RangeError(message);\n }\n return value;\n}\n/**\n * Copies bytes into a fresh Uint8Array.\n * Buffer-style slices can alias the same backing store, so callers that need ownership should copy.\n * @param bytes - source bytes to clone\n * @returns Freshly allocated copy of `bytes`.\n * @throws On wrong argument types. {@link TypeError}\n * @example\n * Clone a byte array before mutating it.\n * ```ts\n * const copy = copyBytes(new Uint8Array([1, 2, 3]));\n * ```\n */\nexport function copyBytes(bytes) {\n // `Uint8Array.from(...)` would also accept arrays / other typed arrays. Keep this helper strict\n // because callers use it at byte-validation boundaries before mutating the detached copy.\n return Uint8Array.from(abytes(bytes));\n}\n/**\n * Asserts something is a wrapped hash constructor.\n * @param h - hash constructor to validate\n * @throws On wrong argument types or invalid hash wrapper shape. {@link TypeError}\n * @throws On invalid hash metadata ranges or values. {@link RangeError}\n * @throws If the hash metadata allows empty outputs or block sizes. {@link Error}\n * @example\n * Validate a callable hash wrapper.\n * ```ts\n * import { ahash } from '@noble/hashes/utils.js';\n * import { sha256 } from '@noble/hashes/sha2.js';\n * ahash(sha256);\n * ```\n */\nexport function ahash(h) {\n if (typeof h !== 'function' || typeof h.create !== 'function')\n throw new TypeError('Hash must wrapped by utils.createHasher');\n anumber(h.outputLen);\n anumber(h.blockLen);\n // HMAC and KDF callers treat these as real byte lengths; allowing zero lets fake wrappers pass\n // validation and can produce empty outputs instead of failing fast.\n if (h.outputLen < 1)\n throw new Error('\"outputLen\" must be >= 1');\n if (h.blockLen < 1)\n throw new Error('\"blockLen\" must be >= 1');\n}\n/**\n * Asserts a hash instance has not been destroyed or finished.\n * @param instance - hash instance to validate\n * @param checkFinished - whether to reject finalized instances\n * @throws If the hash instance has already been destroyed or finalized. {@link Error}\n * @example\n * Validate that a hash instance is still usable.\n * ```ts\n * import { aexists } from '@noble/hashes/utils.js';\n * import { sha256 } from '@noble/hashes/sha2.js';\n * const hash = sha256.create();\n * aexists(hash);\n * ```\n */\nexport function aexists(instance, checkFinished = true) {\n if (instance.destroyed)\n throw new Error('Hash instance has been destroyed');\n if (checkFinished && instance.finished)\n throw new Error('Hash#digest() has already been called');\n}\n/**\n * Asserts output is a sufficiently-sized byte array.\n * @param out - destination buffer\n * @param instance - hash instance providing output length\n * Oversized buffers are allowed; downstream code only promises to fill the first `outputLen` bytes.\n * @throws On wrong argument types. {@link TypeError}\n * @throws On wrong argument ranges or values. {@link RangeError}\n * @example\n * Validate a caller-provided digest buffer.\n * ```ts\n * import { aoutput } from '@noble/hashes/utils.js';\n * import { sha256 } from '@noble/hashes/sha2.js';\n * const hash = sha256.create();\n * aoutput(new Uint8Array(hash.outputLen), hash);\n * ```\n */\nexport function aoutput(out, instance) {\n abytes(out, undefined, 'digestInto() output');\n const min = instance.outputLen;\n if (out.length < min) {\n throw new RangeError('\"digestInto() output\" expected to be of length >=' + min);\n }\n}\n/**\n * Casts a typed array view to Uint8Array.\n * @param arr - source typed array\n * @returns Uint8Array view over the same buffer.\n * @example\n * Reinterpret a typed array as bytes.\n * ```ts\n * u8(new Uint32Array([1, 2]));\n * ```\n */\nexport function u8(arr) {\n return new Uint8Array(arr.buffer, arr.byteOffset, arr.byteLength);\n}\n/**\n * Casts a typed array view to Uint32Array.\n * `arr.byteOffset` must already be 4-byte aligned or the platform\n * Uint32Array constructor will throw.\n * @param arr - source typed array\n * @returns Uint32Array view over the same buffer.\n * @example\n * Reinterpret a byte array as 32-bit words.\n * ```ts\n * u32(new Uint8Array(8));\n * ```\n */\nexport function u32(arr) {\n return new Uint32Array(arr.buffer, arr.byteOffset, Math.floor(arr.byteLength / 4));\n}\n/**\n * Zeroizes typed arrays in place. Warning: JS provides no guarantees.\n * @param arrays - arrays to overwrite with zeros\n * @example\n * Zeroize sensitive buffers in place.\n * ```ts\n * clean(new Uint8Array([1, 2, 3]));\n * ```\n */\nexport function clean(...arrays) {\n for (let i = 0; i < arrays.length; i++) {\n arrays[i].fill(0);\n }\n}\n/**\n * Creates a DataView for byte-level manipulation.\n * @param arr - source typed array\n * @returns DataView over the same buffer region.\n * @example\n * Create a DataView over an existing buffer.\n * ```ts\n * createView(new Uint8Array(4));\n * ```\n */\nexport function createView(arr) {\n return new DataView(arr.buffer, arr.byteOffset, arr.byteLength);\n}\n/**\n * Rotate-right operation for uint32 values.\n * @param word - source word\n * @param shift - shift amount in bits\n * @returns Rotated word.\n * @example\n * Rotate a 32-bit word to the right.\n * ```ts\n * rotr(0x12345678, 8);\n * ```\n */\nexport function rotr(word, shift) {\n return (word << (32 - shift)) | (word >>> shift);\n}\n/**\n * Rotate-left operation for uint32 values.\n * @param word - source word\n * @param shift - shift amount in bits\n * @returns Rotated word.\n * @example\n * Rotate a 32-bit word to the left.\n * ```ts\n * rotl(0x12345678, 8);\n * ```\n */\nexport function rotl(word, shift) {\n return (word << shift) | ((word >>> (32 - shift)) >>> 0);\n}\n/** Whether the current platform is little-endian. */\nexport const isLE = /* @__PURE__ */ (() => new Uint8Array(new Uint32Array([0x11223344]).buffer)[0] === 0x44)();\n/**\n * Byte-swap operation for uint32 values.\n * @param word - source word\n * @returns Word with reversed byte order.\n * @example\n * Reverse the byte order of a 32-bit word.\n * ```ts\n * byteSwap(0x11223344);\n * ```\n */\nexport function byteSwap(word) {\n return (((word << 24) & 0xff000000) |\n ((word << 8) & 0xff0000) |\n ((word >>> 8) & 0xff00) |\n ((word >>> 24) & 0xff));\n}\n/**\n * Conditionally byte-swaps one 32-bit word on big-endian platforms.\n * @param n - source word\n * @returns Original or byte-swapped word depending on platform endianness.\n * @example\n * Normalize a 32-bit word for host endianness.\n * ```ts\n * swap8IfBE(0x11223344);\n * ```\n */\nexport const swap8IfBE = isLE\n ? (n) => n\n : (n) => byteSwap(n) >>> 0;\n/**\n * Byte-swaps every word of a Uint32Array in place.\n * @param arr - array to mutate\n * @returns The same array after mutation; callers pass live state arrays here.\n * @example\n * Reverse the byte order of every word in place.\n * ```ts\n * byteSwap32(new Uint32Array([0x11223344]));\n * ```\n */\nexport function byteSwap32(arr) {\n for (let i = 0; i < arr.length; i++) {\n arr[i] = byteSwap(arr[i]);\n }\n return arr;\n}\n/**\n * Conditionally byte-swaps a Uint32Array on big-endian platforms.\n * @param u - array to normalize for host endianness\n * @returns Original or byte-swapped array depending on platform endianness.\n * On big-endian runtimes this mutates `u` in place via `byteSwap32(...)`.\n * @example\n * Normalize a word array for host endianness.\n * ```ts\n * swap32IfBE(new Uint32Array([0x11223344]));\n * ```\n */\nexport const swap32IfBE = isLE\n ? (u) => u\n : byteSwap32;\n// Built-in hex conversion https://caniuse.com/mdn-javascript_builtins_uint8array_fromhex\nconst hasHexBuiltin = /* @__PURE__ */ (() => \n// @ts-ignore\ntypeof Uint8Array.from([]).toHex === 'function' && typeof Uint8Array.fromHex === 'function')();\n// Array where index 0xf0 (240) is mapped to string 'f0'\nconst hexes = /* @__PURE__ */ Array.from({ length: 256 }, (_, i) => i.toString(16).padStart(2, '0'));\n/**\n * Convert byte array to hex string.\n * Uses the built-in function when available and assumes it matches the tested\n * fallback semantics.\n * @param bytes - bytes to encode\n * @returns Lowercase hexadecimal string.\n * @throws On wrong argument types. {@link TypeError}\n * @example\n * Convert bytes to lowercase hexadecimal.\n * ```ts\n * bytesToHex(Uint8Array.from([0xca, 0xfe, 0x01, 0x23])); // 'cafe0123'\n * ```\n */\nexport function bytesToHex(bytes) {\n abytes(bytes);\n // @ts-ignore\n if (hasHexBuiltin)\n return bytes.toHex();\n // pre-caching improves the speed 6x\n let hex = '';\n for (let i = 0; i < bytes.length; i++) {\n hex += hexes[bytes[i]];\n }\n return hex;\n}\n// We use optimized technique to convert hex string to byte array\nconst asciis = { _0: 48, _9: 57, A: 65, F: 70, a: 97, f: 102 };\nfunction asciiToBase16(ch) {\n if (ch >= asciis._0 && ch <= asciis._9)\n return ch - asciis._0; // '2' => 50-48\n if (ch >= asciis.A && ch <= asciis.F)\n return ch - (asciis.A - 10); // 'B' => 66-(65-10)\n if (ch >= asciis.a && ch <= asciis.f)\n return ch - (asciis.a - 10); // 'b' => 98-(97-10)\n return;\n}\n/**\n * Convert hex string to byte array. Uses built-in function, when available.\n * @param hex - hexadecimal string to decode\n * @returns Decoded bytes.\n * @throws On wrong argument types. {@link TypeError}\n * @throws On wrong argument ranges or values. {@link RangeError}\n * @example\n * Decode lowercase hexadecimal into bytes.\n * ```ts\n * hexToBytes('cafe0123'); // Uint8Array.from([0xca, 0xfe, 0x01, 0x23])\n * ```\n */\nexport function hexToBytes(hex) {\n if (typeof hex !== 'string')\n throw new TypeError('hex string expected, got ' + typeof hex);\n if (hasHexBuiltin) {\n try {\n return Uint8Array.fromHex(hex);\n }\n catch (error) {\n if (error instanceof SyntaxError)\n throw new RangeError(error.message);\n throw error;\n }\n }\n const hl = hex.length;\n const al = hl / 2;\n if (hl % 2)\n throw new RangeError('hex string expected, got unpadded hex of length ' + hl);\n const array = new Uint8Array(al);\n for (let ai = 0, hi = 0; ai < al; ai++, hi += 2) {\n const n1 = asciiToBase16(hex.charCodeAt(hi));\n const n2 = asciiToBase16(hex.charCodeAt(hi + 1));\n if (n1 === undefined || n2 === undefined) {\n const char = hex[hi] + hex[hi + 1];\n throw new RangeError('hex string expected, got non-hex character \"' + char + '\" at index ' + hi);\n }\n array[ai] = n1 * 16 + n2; // multiply first octet, e.g. 'a3' => 10*16+3 => 160 + 3 => 163\n }\n return array;\n}\n/**\n * There is no setImmediate in browser and setTimeout is slow.\n * This yields to the Promise/microtask scheduler queue, not to timers or the\n * full macrotask event loop.\n * @example\n * Yield to the next scheduler tick.\n * ```ts\n * await nextTick();\n * ```\n */\nexport const nextTick = async () => { };\n/**\n * Returns control to the Promise/microtask scheduler every `tick`\n * milliseconds to avoid blocking long loops.\n * @param iters - number of loop iterations to run\n * @param tick - maximum time slice in milliseconds\n * @param cb - callback executed on each iteration\n * @example\n * Run a loop that periodically yields back to the event loop.\n * ```ts\n * await asyncLoop(2, 0, () => {});\n * ```\n */\nexport async function asyncLoop(iters, tick, cb) {\n let ts = Date.now();\n for (let i = 0; i < iters; i++) {\n cb(i);\n // Date.now() is not monotonic, so in case if clock goes backwards we return return control too\n const diff = Date.now() - ts;\n if (diff >= 0 && diff < tick)\n continue;\n await nextTick();\n ts += diff;\n }\n}\n/**\n * Converts string to bytes using UTF8 encoding.\n * Built-in doesn't validate input to be string: we do the check.\n * Non-ASCII details are delegated to the platform `TextEncoder`.\n * @param str - string to encode\n * @returns UTF-8 encoded bytes.\n * @throws On wrong argument types. {@link TypeError}\n * @example\n * Encode a string as UTF-8 bytes.\n * ```ts\n * utf8ToBytes('abc'); // Uint8Array.from([97, 98, 99])\n * ```\n */\nexport function utf8ToBytes(str) {\n if (typeof str !== 'string')\n throw new TypeError('string expected');\n return new Uint8Array(new TextEncoder().encode(str)); // https://bugzil.la/1681809\n}\n/**\n * Helper for KDFs: consumes Uint8Array or string.\n * String inputs are UTF-8 encoded; byte-array inputs stay aliased to the caller buffer.\n * @param data - user-provided KDF input\n * @param errorTitle - label included in thrown errors\n * @returns Byte representation of the input.\n * @throws On wrong argument types. {@link TypeError}\n * @example\n * Normalize KDF input to bytes.\n * ```ts\n * kdfInputToBytes('password');\n * ```\n */\nexport function kdfInputToBytes(data, errorTitle = '') {\n if (typeof data === 'string')\n return utf8ToBytes(data);\n return abytes(data, undefined, errorTitle);\n}\n/**\n * Copies several Uint8Arrays into one.\n * @param arrays - arrays to concatenate\n * @returns Concatenated byte array.\n * @throws On wrong argument types. {@link TypeError}\n * @example\n * Concatenate multiple byte arrays.\n * ```ts\n * concatBytes(new Uint8Array([1]), new Uint8Array([2]));\n * ```\n */\nexport function concatBytes(...arrays) {\n let sum = 0;\n for (let i = 0; i < arrays.length; i++) {\n const a = arrays[i];\n abytes(a);\n sum += a.length;\n }\n const res = new Uint8Array(sum);\n for (let i = 0, pad = 0; i < arrays.length; i++) {\n const a = arrays[i];\n res.set(a, pad);\n pad += a.length;\n }\n return res;\n}\n/**\n * Merges default options and passed options.\n * @param defaults - base option object\n * @param opts - user overrides\n * @returns Merged option object. The merge mutates `defaults` in place.\n * @throws On wrong argument types. {@link TypeError}\n * @example\n * Merge user overrides onto default options.\n * ```ts\n * checkOpts({ dkLen: 32 }, { asyncTick: 10 });\n * ```\n */\nexport function checkOpts(defaults, opts) {\n if (opts !== undefined && {}.toString.call(opts) !== '[object Object]')\n throw new TypeError('options must be object or undefined');\n const merged = Object.assign(defaults, opts);\n return merged;\n}\n/**\n * Creates a callable hash function from a stateful class constructor.\n * @param hashCons - hash constructor or factory\n * @param info - optional metadata such as DER OID\n * @returns Frozen callable hash wrapper with `.create()`.\n * Wrapper construction eagerly calls `hashCons(undefined)` once to read\n * `outputLen` / `blockLen`, so constructor side effects happen at module\n * init time.\n * @example\n * Wrap a stateful hash constructor into a callable helper.\n * ```ts\n * import { createHasher } from '@noble/hashes/utils.js';\n * import { sha256 } from '@noble/hashes/sha2.js';\n * const wrapped = createHasher(sha256.create, { oid: sha256.oid });\n * wrapped(new Uint8Array([1]));\n * ```\n */\nexport function createHasher(hashCons, info = {}) {\n const hashC = (msg, opts) => hashCons(opts)\n .update(msg)\n .digest();\n const tmp = hashCons(undefined);\n hashC.outputLen = tmp.outputLen;\n hashC.blockLen = tmp.blockLen;\n hashC.canXOF = tmp.canXOF;\n hashC.create = (opts) => hashCons(opts);\n Object.assign(hashC, info);\n return Object.freeze(hashC);\n}\n/**\n * Cryptographically secure PRNG backed by `crypto.getRandomValues`.\n * @param bytesLength - number of random bytes to generate\n * @returns Random bytes.\n * The platform `getRandomValues()` implementation still defines any\n * single-call length cap, and this helper rejects oversize requests\n * with a stable library `RangeError` instead of host-specific errors.\n * @throws On wrong argument types. {@link TypeError}\n * @throws On wrong argument ranges or values. {@link RangeError}\n * @throws If the current runtime does not provide `crypto.getRandomValues`. {@link Error}\n * @example\n * Generate a fresh random key or nonce.\n * ```ts\n * const key = randomBytes(16);\n * ```\n */\nexport function randomBytes(bytesLength = 32) {\n // Match the repo's other length-taking helpers instead of relying on Uint8Array coercion.\n anumber(bytesLength, 'bytesLength');\n const cr = typeof globalThis === 'object' ? globalThis.crypto : null;\n if (typeof cr?.getRandomValues !== 'function')\n throw new Error('crypto.getRandomValues must be defined');\n // Web Cryptography API Level 2 §10.1.1:\n // if `byteLength > 65536`, throw `QuotaExceededError`.\n // Keep the guard explicit so callers can see the quota in code\n // instead of discovering it by reading the spec or host errors.\n // This wrapper surfaces the same quota as a stable library RangeError.\n if (bytesLength > 65536)\n throw new RangeError(`\"bytesLength\" expected <= 65536, got ${bytesLength}`);\n return cr.getRandomValues(new Uint8Array(bytesLength));\n}\n/**\n * Creates OID metadata for NIST hashes with prefix `06 09 60 86 48 01 65 03 04 02`.\n * @param suffix - final OID byte for the selected hash.\n * The helper accepts any byte even though only the documented NIST hash\n * suffixes are meaningful downstream.\n * @returns Object containing the DER-encoded OID.\n * @example\n * Build OID metadata for a NIST hash.\n * ```ts\n * oidNist(0x01);\n * ```\n */\nexport const oidNist = (suffix) => ({\n // Current NIST hashAlgs suffixes used here fit in one DER subidentifier octet.\n // Larger suffix values would need base-128 OID encoding and a different length byte.\n oid: Uint8Array.from([0x06, 0x09, 0x60, 0x86, 0x48, 0x01, 0x65, 0x03, 0x04, 0x02, suffix]),\n});\n//# sourceMappingURL=utils.js.map","const U32_MASK64 = /* @__PURE__ */ BigInt(2 ** 32 - 1);\nconst _32n = /* @__PURE__ */ BigInt(32);\n// Split bigint into two 32-bit halves. With `le=true`, returned fields become `{ h: low, l: high\n// }` to match little-endian word order rather than the property names.\nfunction fromBig(n, le = false) {\n if (le)\n return { h: Number(n & U32_MASK64), l: Number((n >> _32n) & U32_MASK64) };\n return { h: Number((n >> _32n) & U32_MASK64) | 0, l: Number(n & U32_MASK64) | 0 };\n}\n// Split bigint list into `[highWords, lowWords]` when `le=false`; with `le=true`, the first array\n// holds the low halves because `fromBig(...)` swaps the semantic meaning of `h` and `l`.\nfunction split(lst, le = false) {\n const len = lst.length;\n let Ah = new Uint32Array(len);\n let Al = new Uint32Array(len);\n for (let i = 0; i < len; i++) {\n const { h, l } = fromBig(lst[i], le);\n [Ah[i], Al[i]] = [h, l];\n }\n return [Ah, Al];\n}\n// Combine explicit `(high, low)` 32-bit halves into a bigint; `>>> 0` normalizes signed JS\n// bitwise results back to uint32 first, and little-endian callers must swap.\nconst toBig = (h, l) => (BigInt(h >>> 0) << _32n) | BigInt(l >>> 0);\n// High 32-bit half of a 64-bit logical right shift for `s` in `0..31`.\nconst shrSH = (h, _l, s) => h >>> s;\n// Low 32-bit half of a 64-bit logical right shift, valid for `s` in `1..31`.\nconst shrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// High 32-bit half of a 64-bit right rotate, valid for `s` in `1..31`.\nconst rotrSH = (h, l, s) => (h >>> s) | (l << (32 - s));\n// Low 32-bit half of a 64-bit right rotate, valid for `s` in `1..31`.\nconst rotrSL = (h, l, s) => (h << (32 - s)) | (l >>> s);\n// High 32-bit half of a 64-bit right rotate, valid for `s` in `33..63`; `32` uses `rotr32*`.\nconst rotrBH = (h, l, s) => (h << (64 - s)) | (l >>> (s - 32));\n// Low 32-bit half of a 64-bit right rotate, valid for `s` in `33..63`; `32` uses `rotr32*`.\nconst rotrBL = (h, l, s) => (h >>> (s - 32)) | (l << (64 - s));\n// High 32-bit half of a 64-bit right rotate for `s === 32`; this is just the swapped low half.\nconst rotr32H = (_h, l) => l;\n// Low 32-bit half of a 64-bit right rotate for `s === 32`; this is just the swapped high half.\nconst rotr32L = (h, _l) => h;\n// High 32-bit half of a 64-bit left rotate, valid for `s` in `1..31`.\nconst rotlSH = (h, l, s) => (h << s) | (l >>> (32 - s));\n// Low 32-bit half of a 64-bit left rotate, valid for `s` in `1..31`.\nconst rotlSL = (h, l, s) => (l << s) | (h >>> (32 - s));\n// High 32-bit half of a 64-bit left rotate, valid for `s` in `33..63`; `32` uses `rotr32*`.\nconst rotlBH = (h, l, s) => (l << (s - 32)) | (h >>> (64 - s));\n// Low 32-bit half of a 64-bit left rotate, valid for `s` in `33..63`; `32` uses `rotr32*`.\nconst rotlBL = (h, l, s) => (h << (s - 32)) | (l >>> (64 - s));\n// Add two split 64-bit words and return the split `{ h, l }` sum.\n// JS uses 32-bit signed integers for bitwise operations, so we cannot simply shift the carry out\n// of the low sum and instead use division.\nfunction add(Ah, Al, Bh, Bl) {\n const l = (Al >>> 0) + (Bl >>> 0);\n return { h: (Ah + Bh + ((l / 2 ** 32) | 0)) | 0, l: l | 0 };\n}\n// Addition with more than 2 elements\n// Unmasked low-word accumulator for 3-way addition; pass the raw result into `add3H(...)`.\nconst add3L = (Al, Bl, Cl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0);\n// High-word finalize step for 3-way addition; `low` must be the untruncated output of `add3L(...)`.\nconst add3H = (low, Ah, Bh, Ch) => (Ah + Bh + Ch + ((low / 2 ** 32) | 0)) | 0;\n// Unmasked low-word accumulator for 4-way addition; pass the raw result into `add4H(...)`.\nconst add4L = (Al, Bl, Cl, Dl) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0);\n// High-word finalize step for 4-way addition; `low` must be the untruncated output of `add4L(...)`.\nconst add4H = (low, Ah, Bh, Ch, Dh) => (Ah + Bh + Ch + Dh + ((low / 2 ** 32) | 0)) | 0;\n// Unmasked low-word accumulator for 5-way addition; pass the raw result into `add5H(...)`.\nconst add5L = (Al, Bl, Cl, Dl, El) => (Al >>> 0) + (Bl >>> 0) + (Cl >>> 0) + (Dl >>> 0) + (El >>> 0);\n// High-word finalize step for 5-way addition; `low` must be the untruncated output of `add5L(...)`.\nconst add5H = (low, Ah, Bh, Ch, Dh, Eh) => (Ah + Bh + Ch + Dh + Eh + ((low / 2 ** 32) | 0)) | 0;\n// prettier-ignore\nexport { add, add3H, add3L, add4H, add4L, add5H, add5L, fromBig, rotlBH, rotlBL, rotlSH, rotlSL, rotr32H, rotr32L, rotrBH, rotrBL, rotrSH, rotrSL, shrSH, shrSL, split, toBig };\n// Canonical grouped namespace for callers that prefer one object.\n// Named exports stay for direct imports.\n// prettier-ignore\nconst u64 = {\n fromBig, split, toBig,\n shrSH, shrSL,\n rotrSH, rotrSL, rotrBH, rotrBL,\n rotr32H, rotr32L,\n rotlSH, rotlSL, rotlBH, rotlBL,\n add, add3L, add3H, add4L, add4H, add5H, add5L,\n};\n// Default export mirrors named `u64` for compatibility with object-style imports.\nexport default u64;\n//# sourceMappingURL=_u64.js.map","/**\n * Internal Merkle-Damgard hash utils.\n * @module\n */\nimport { abytes, aexists, aoutput, clean, createView, } from \"./utils.js\";\n/**\n * Shared 32-bit conditional boolean primitive reused by SHA-256, SHA-1, and MD5 `F`.\n * Returns bits from `b` when `a` is set, otherwise from `c`.\n * The XOR form is equivalent to MD5's `F(X,Y,Z) = XY v not(X)Z` because the masked terms never\n * set the same bit.\n * @param a - selector word\n * @param b - word chosen when selector bit is set\n * @param c - word chosen when selector bit is clear\n * @returns Mixed 32-bit word.\n * @example\n * Combine three words with the shared 32-bit choice primitive.\n * ```ts\n * Chi(0xffffffff, 0x12345678, 0x87654321);\n * ```\n */\nexport function Chi(a, b, c) {\n return (a & b) ^ (~a & c);\n}\n/**\n * Shared 32-bit majority primitive reused by SHA-256 and SHA-1.\n * Returns bits shared by at least two inputs.\n * @param a - first input word\n * @param b - second input word\n * @param c - third input word\n * @returns Mixed 32-bit word.\n * @example\n * Combine three words with the shared 32-bit majority primitive.\n * ```ts\n * Maj(0xffffffff, 0x12345678, 0x87654321);\n * ```\n */\nexport function Maj(a, b, c) {\n return (a & b) ^ (a & c) ^ (b & c);\n}\n/**\n * Merkle-Damgard hash construction base class.\n * Could be used to create MD5, RIPEMD, SHA1, SHA2.\n * Accepts only byte-aligned `Uint8Array` input, even when the underlying spec describes bit\n * strings with partial-byte tails.\n * @param blockLen - internal block size in bytes\n * @param outputLen - digest size in bytes\n * @param padOffset - trailing length field size in bytes\n * @param isLE - whether length and state words are encoded in little-endian\n * @example\n * Use a concrete subclass to get the shared Merkle-Damgard update/digest flow.\n * ```ts\n * import { _SHA1 } from '@noble/hashes/legacy.js';\n * const hash = new _SHA1();\n * hash.update(new Uint8Array([97, 98, 99]));\n * hash.digest();\n * ```\n */\nexport class HashMD {\n blockLen;\n outputLen;\n canXOF = false;\n padOffset;\n isLE;\n // For partial updates less than block size\n buffer;\n view;\n finished = false;\n length = 0;\n pos = 0;\n destroyed = false;\n constructor(blockLen, outputLen, padOffset, isLE) {\n this.blockLen = blockLen;\n this.outputLen = outputLen;\n this.padOffset = padOffset;\n this.isLE = isLE;\n this.buffer = new Uint8Array(blockLen);\n this.view = createView(this.buffer);\n }\n update(data) {\n aexists(this);\n abytes(data);\n const { view, buffer, blockLen } = this;\n const len = data.length;\n for (let pos = 0; pos < len;) {\n const take = Math.min(blockLen - this.pos, len - pos);\n // Fast path only when there is no buffered partial block: `take === blockLen` implies\n // `this.pos === 0`, so we can process full blocks directly from the input view.\n if (take === blockLen) {\n const dataView = createView(data);\n for (; blockLen <= len - pos; pos += blockLen)\n this.process(dataView, pos);\n continue;\n }\n buffer.set(data.subarray(pos, pos + take), this.pos);\n this.pos += take;\n pos += take;\n if (this.pos === blockLen) {\n this.process(view, 0);\n this.pos = 0;\n }\n }\n this.length += data.length;\n this.roundClean();\n return this;\n }\n digestInto(out) {\n aexists(this);\n aoutput(out, this);\n this.finished = true;\n // Padding\n // We can avoid allocation of buffer for padding completely if it\n // was previously not allocated here. But it won't change performance.\n const { buffer, view, blockLen, isLE } = this;\n let { pos } = this;\n // append the bit '1' to the message\n buffer[pos++] = 0b10000000;\n clean(this.buffer.subarray(pos));\n // we have less than padOffset left in buffer, so we cannot put length in\n // current block, need process it and pad again\n if (this.padOffset > blockLen - pos) {\n this.process(view, 0);\n pos = 0;\n }\n // Pad until full block byte with zeros\n for (let i = pos; i < blockLen; i++)\n buffer[i] = 0;\n // `padOffset` reserves the whole length field. For SHA-384/512 the high 64 bits stay zero from\n // the padding fill above, and JS will overflow before user input can make that half non-zero.\n // So we only need to write the low 64 bits here.\n view.setBigUint64(blockLen - 8, BigInt(this.length * 8), isLE);\n this.process(view, 0);\n const oview = createView(out);\n const len = this.outputLen;\n // NOTE: we do division by 4 later, which must be fused in single op with modulo by JIT\n if (len % 4)\n throw new Error('_sha2: outputLen must be aligned to 32bit');\n const outLen = len / 4;\n const state = this.get();\n if (outLen > state.length)\n throw new Error('_sha2: outputLen bigger than state');\n for (let i = 0; i < outLen; i++)\n oview.setUint32(4 * i, state[i], isLE);\n }\n digest() {\n const { buffer, outputLen } = this;\n this.digestInto(buffer);\n // Copy before destroy(): subclasses wipe `buffer` during cleanup, but `digest()` must return\n // fresh bytes to the caller.\n const res = buffer.slice(0, outputLen);\n this.destroy();\n return res;\n }\n _cloneInto(to) {\n to ||= new this.constructor();\n to.set(...this.get());\n const { blockLen, buffer, length, finished, destroyed, pos } = this;\n to.destroyed = destroyed;\n to.finished = finished;\n to.length = length;\n to.pos = pos;\n // Only partial-block bytes need copying: when `length % blockLen === 0`, `pos === 0` and\n // later `update()` / `digestInto()` overwrite `to.buffer` from the start before reading it.\n if (length % blockLen)\n to.buffer.set(buffer);\n return to;\n }\n clone() {\n return this._cloneInto();\n }\n}\n/**\n * Initial SHA-2 state: fractional parts of square roots of first 16 primes 2..53.\n * Check out `test/misc/sha2-gen-iv.js` for recomputation guide.\n */\n/** Initial SHA256 state from RFC 6234 §6.1: the first 32 bits of the fractional parts of the\n * square roots of the first eight prime numbers. Exported as a shared table; callers must treat\n * it as read-only because constructors copy words from it by index. */\nexport const SHA256_IV = /* @__PURE__ */ Uint32Array.from([\n 0x6a09e667, 0xbb67ae85, 0x3c6ef372, 0xa54ff53a, 0x510e527f, 0x9b05688c, 0x1f83d9ab, 0x5be0cd19,\n]);\n/** Initial SHA224 state `H(0)` from RFC 6234 §6.1. Exported as a shared table; callers must\n * treat it as read-only because constructors copy words from it by index. */\nexport const SHA224_IV = /* @__PURE__ */ Uint32Array.from([\n 0xc1059ed8, 0x367cd507, 0x3070dd17, 0xf70e5939, 0xffc00b31, 0x68581511, 0x64f98fa7, 0xbefa4fa4,\n]);\n/** Initial SHA384 state from RFC 6234 §6.3: eight RFC 64-bit `H(0)` words stored as sixteen\n * big-endian 32-bit halves. Derived from the fractional parts of the square roots of the ninth\n * through sixteenth prime numbers. Exported as a shared table; callers must treat it as read-only\n * because constructors copy halves from it by index. */\nexport const SHA384_IV = /* @__PURE__ */ Uint32Array.from([\n 0xcbbb9d5d, 0xc1059ed8, 0x629a292a, 0x367cd507, 0x9159015a, 0x3070dd17, 0x152fecd8, 0xf70e5939,\n 0x67332667, 0xffc00b31, 0x8eb44a87, 0x68581511, 0xdb0c2e0d, 0x64f98fa7, 0x47b5481d, 0xbefa4fa4,\n]);\n/** Initial SHA512 state from RFC 6234 §6.3: eight RFC 64-bit `H(0)` words stored as sixteen\n * big-endian 32-bit halves. Derived from the fractional parts of the square roots of the first\n * eight prime numbers. Exported as a shared table; callers must treat it as read-only because\n * constructors copy halves from it by index. */\nexport const SHA512_IV = /* @__PURE__ */ Uint32Array.from([\n 0x6a09e667, 0xf3bcc908, 0xbb67ae85, 0x84caa73b, 0x3c6ef372, 0xfe94f82b, 0xa54ff53a, 0x5f1d36f1,\n 0x510e527f, 0xade682d1, 0x9b05688c, 0x2b3e6c1f, 0x1f83d9ab, 0xfb41bd6b, 0x5be0cd19, 0x137e2179,\n]);\n//# sourceMappingURL=_md.js.map"],"x_google_ignoreList":[0,1,2],"mappings":"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"}
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { $ as
|
|
1
|
+
import { $ as event, $t as sigma_protocol_representation, A as chain_status, An as type_info, At as primary_fungible_store, B as confidential_balance, Bt as resource_account, C as bit_vector, Cn as table, Ct as option, D as bn254_algebra, Dn as transaction_fee, Dt as permissioned_signer, E as bls12381_algebra, En as transaction_context, Et as permissioned_delegation, F as code, Ft as rate_limiter, G as crypto_algebra, Gt as ristretto255_pedersen, H as config_buffer, Ht as ristretto255, I as coin, It as reconfiguration, J as dispatchable_fungible_asset, Jt as sigma_protocol_fiat_shamir, K as decryption, Kt as secp256k1, L as comparator, Lt as reconfiguration_state, M as chunky_dkg_config, Mn as version, Mt as randomness_api_v0_config, N as chunky_dkg_config_seqnum, Nn as vesting, Nt as randomness_config, O as capability, On as transaction_limits, Ot as pool_u64, P as cmp, Pn as voting, Pt as randomness_config_seqnum, Q as ethereum_derivable_account, Qt as sigma_protocol_registration, R as confidential_amount, Rt as reconfiguration_with_dkg, S as big_vector, Sn as sui_derivable_account, St as object_code_deployment, T as bls12381, Tn as timestamp, Tt as ordered_map, U as consensus_config, Ut as ristretto255_bulletproofs, V as confidential_range_proofs, Vt as result, W as copyable_any, Wt as ristretto255_elgamal, X as ed25519, Xt as sigma_protocol_key_rotation, Y as dkg, Yt as sigma_protocol_homomorphism, Z as epoch_timeout_config, Zt as sigma_protocol_proof, _ as aptos_coin, _n as storage_slot, _t as multi_ed25519, an as sigma_protocol_witness, at as function_info, b as bcs_stream, bn as string$, bt as nonce_validation, cn as smart_table, ct as genesis, d as acl, dn as stake, dt as jwk_consensus_config, en as sigma_protocol_representation_vec, et as execution_config, f as aggregator, fn as staking_config, ft as jwks, g as aptos_account, gn as storage_gas, gt as managed_coin, h as any$, hn as state_storage, ht as loadAllTypes, in as sigma_protocol_withdraw, it as fixed_point64, j as chunky_dkg, jn as validator_consensus_info, jt as randomness, k as chain_id, kn as transaction_validation, kt as pool_u64_unbound, l as account, ln as smart_vector, lt as governance_proposal, m as aggregator_v2, mn as staking_proxy, mt as keyless_account, nn as sigma_protocol_statement_builder, nt as federated_keyless, on as simple_map, ot as fungible_asset, p as aggregator_factory, pn as staking_contract, pt as keyless, q as delegation_pool, qt as secp256r1, rn as sigma_protocol_transfer, rt as fixed_point32, sn as single_key, st as gas_schedule, tn as sigma_protocol_statement, tt as features, u as account_abstraction, un as solana_derivable_account, ut as guid, v as aptos_governance, vn as storage_slot_or_inline, vt as multi_key, w as block, wn as table_with_length, wt as optional_aggregator, x as big_ordered_map, xn as string_utils, xt as object$, y as auth_data, yn as storage_slots_allocator, yt as multisig_account, z as confidential_asset, zt as reflect } from "../../aptos-Cgfa8IQj.js";
|
|
2
2
|
|
|
3
|
-
export { account, account_abstraction, acl, aggregator, aggregator_factory, aggregator_v2, any$, aptos_account, aptos_coin, aptos_governance, auth_data, bcs_stream, big_ordered_map, big_vector, bit_vector, block, bls12381, bls12381_algebra, bn254_algebra, capability, chain_id, chain_status, chunky_dkg, chunky_dkg_config, cmp, code, coin, comparator, confidential_amount, confidential_asset, confidential_balance, confidential_range_proofs, config_buffer, consensus_config, copyable_any, crypto_algebra, decryption, delegation_pool, dispatchable_fungible_asset, dkg, ed25519, ethereum_derivable_account, event, execution_config, features, federated_keyless, fixed_point32, fixed_point64, function_info, fungible_asset, gas_schedule, genesis, governance_proposal, guid, jwk_consensus_config, jwks, keyless, keyless_account, loadAllTypes, managed_coin, multi_ed25519, multi_key, multisig_account, nonce_validation, object$, object_code_deployment, option, optional_aggregator, ordered_map, permissioned_delegation, permissioned_signer, pool_u64, pool_u64_unbound, primary_fungible_store, randomness, randomness_api_v0_config, randomness_config, randomness_config_seqnum, rate_limiter, reconfiguration, reconfiguration_state, reflect, resource_account, result, ristretto255, ristretto255_bulletproofs, ristretto255_elgamal, ristretto255_pedersen, secp256k1, secp256r1, sigma_protocol_fiat_shamir, sigma_protocol_homomorphism, sigma_protocol_key_rotation, sigma_protocol_proof, sigma_protocol_registration, sigma_protocol_representation, sigma_protocol_representation_vec, sigma_protocol_statement, sigma_protocol_statement_builder, sigma_protocol_transfer, sigma_protocol_withdraw, sigma_protocol_witness, simple_map, single_key, smart_table, smart_vector, solana_derivable_account, stake, staking_config, staking_contract, staking_proxy, state_storage, storage_gas, storage_slots_allocator, string$, string_utils, sui_derivable_account, table, table_with_length, timestamp, transaction_context, transaction_fee, transaction_validation, type_info, validator_consensus_info, version, vesting, voting };
|
|
3
|
+
export { account, account_abstraction, acl, aggregator, aggregator_factory, aggregator_v2, any$, aptos_account, aptos_coin, aptos_governance, auth_data, bcs_stream, big_ordered_map, big_vector, bit_vector, block, bls12381, bls12381_algebra, bn254_algebra, capability, chain_id, chain_status, chunky_dkg, chunky_dkg_config, chunky_dkg_config_seqnum, cmp, code, coin, comparator, confidential_amount, confidential_asset, confidential_balance, confidential_range_proofs, config_buffer, consensus_config, copyable_any, crypto_algebra, decryption, delegation_pool, dispatchable_fungible_asset, dkg, ed25519, epoch_timeout_config, ethereum_derivable_account, event, execution_config, features, federated_keyless, fixed_point32, fixed_point64, function_info, fungible_asset, gas_schedule, genesis, governance_proposal, guid, jwk_consensus_config, jwks, keyless, keyless_account, loadAllTypes, managed_coin, multi_ed25519, multi_key, multisig_account, nonce_validation, object$, object_code_deployment, option, optional_aggregator, ordered_map, permissioned_delegation, permissioned_signer, pool_u64, pool_u64_unbound, primary_fungible_store, randomness, randomness_api_v0_config, randomness_config, randomness_config_seqnum, rate_limiter, reconfiguration, reconfiguration_state, reconfiguration_with_dkg, reflect, resource_account, result, ristretto255, ristretto255_bulletproofs, ristretto255_elgamal, ristretto255_pedersen, secp256k1, secp256r1, sigma_protocol_fiat_shamir, sigma_protocol_homomorphism, sigma_protocol_key_rotation, sigma_protocol_proof, sigma_protocol_registration, sigma_protocol_representation, sigma_protocol_representation_vec, sigma_protocol_statement, sigma_protocol_statement_builder, sigma_protocol_transfer, sigma_protocol_withdraw, sigma_protocol_witness, simple_map, single_key, smart_table, smart_vector, solana_derivable_account, stake, staking_config, staking_contract, staking_proxy, state_storage, storage_gas, storage_slot, storage_slot_or_inline, storage_slots_allocator, string$, string_utils, sui_derivable_account, table, table_with_length, timestamp, transaction_context, transaction_fee, transaction_limits, transaction_validation, type_info, validator_consensus_info, version, vesting, voting };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as __name, i as __exportAll } from "../../bignumber-DddanwOv.js";
|
|
2
|
-
import {
|
|
3
|
-
import { g as TypeDescriptor, m as ANY_TYPE } from "../../move-
|
|
2
|
+
import { In as AptosBaseProcessor, Wn as AptosNetwork, Xn as defaultMoveCoderForClient, Yn as defaultMoveCoder, ht as loadAllTypes$1 } from "../../aptos-Cgfa8IQj.js";
|
|
3
|
+
import { g as TypeDescriptor, m as ANY_TYPE } from "../../move-BVvdKH2Q.js";
|
|
4
4
|
|
|
5
5
|
//#region src/aptos/builtin/0x3.ts
|
|
6
6
|
var _0x3_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1446,7 +1446,7 @@ var token_event_store = class token_event_store extends AptosBaseProcessor {
|
|
|
1446
1446
|
_UriMutationEvent.type = type;
|
|
1447
1447
|
})(UriMutationEvent || (UriMutationEvent = _token_event_store.UriMutationEvent || (_token_event_store.UriMutationEvent = {})));
|
|
1448
1448
|
})(token_event_store || (token_event_store = {}));
|
|
1449
|
-
const MODULES = JSON.parse("[{\"abi\":{\"address\":\"0x3\",\"name\":\"token\",\"friends\":[],\"exposed_functions\":[{\"name\":\"merge\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::token::Token\",\"0x3::token::Token\"],\"return\":[]},{\"name\":\"burn\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"transfer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"address\",\"u64\"],\"return\":[]},{\"name\":\"balance_of\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenId\"],\"return\":[\"u64\"]},{\"name\":\"burn_by_creator\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"check_collection_exists\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"check_tokendata_exists\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"create_collection\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"vector<bool>\"],\"return\":[]},{\"name\":\"create_collection_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&vector<bool>\"],\"return\":[\"0x3::token::CollectionMutabilityConfig\"]},{\"name\":\"create_collection_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"vector<bool>\"],\"return\":[]},{\"name\":\"create_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"u64\",\"u64\",\"address\"],\"return\":[\"0x3::token::Royalty\"]},{\"name\":\"create_token_data_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[\"0x3::token::TokenDataId\"]},{\"name\":\"create_token_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\",\"u64\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"create_token_id_raw\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"create_token_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&vector<bool>\"],\"return\":[\"0x3::token::TokenMutabilityConfig\"]},{\"name\":\"create_token_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"0x1::string::String\",\"address\",\"u64\",\"u64\",\"vector<bool>\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"create_tokendata\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"0x1::string::String\",\"address\",\"u64\",\"u64\",\"0x3::token::TokenMutabilityConfig\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[\"0x3::token::TokenDataId\"]},{\"name\":\"create_withdraw_capability\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\",\"u64\"],\"return\":[\"0x3::token::WithdrawCapability\"]},{\"name\":\"token_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Token\"],\"return\":[\"&0x3::token::TokenId\"]},{\"name\":\"deposit_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::Token\"],\"return\":[]},{\"name\":\"direct_deposit_with_opt_in\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::Token\"],\"return\":[]},{\"name\":\"direct_transfer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[]},{\"name\":\"direct_transfer_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"get_collection_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"get_collection_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"u64\"]},{\"name\":\"get_collection_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":true,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x3::token::CollectionMutabilityConfig\"]},{\"name\":\"get_collection_mutability_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::CollectionMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_collection_mutability_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::CollectionMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_collection_mutability_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::CollectionMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_collection_supply\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x1::option::Option<u64>\"]},{\"name\":\"get_collection_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"get_direct_transfer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\"],\"return\":[\"bool\"]},{\"name\":\"get_property_map\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenId\"],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"get_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenId\"],\"return\":[\"0x3::token::Royalty\"]},{\"name\":\"get_royalty_denominator\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Royalty\"],\"return\":[\"u64\"]},{\"name\":\"get_royalty_numerator\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Royalty\"],\"return\":[\"u64\"]},{\"name\":\"get_royalty_payee\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Royalty\"],\"return\":[\"address\"]},{\"name\":\"get_token_amount\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Token\"],\"return\":[\"u64\"]},{\"name\":\"get_token_data_id_fields\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenDataId\"],\"return\":[\"address\",\"0x1::string::String\",\"0x1::string::String\"]},{\"name\":\"get_token_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Token\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"get_token_id_fields\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenId\"],\"return\":[\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"]},{\"name\":\"get_token_mutability_default_properties\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_supply\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenDataId\"],\"return\":[\"0x1::option::Option<u64>\"]},{\"name\":\"get_tokendata_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"get_tokendata_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenId\"],\"return\":[\"0x3::token::TokenDataId\"]},{\"name\":\"get_tokendata_largest_property_version\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenDataId\"],\"return\":[\"u64\"]},{\"name\":\"get_tokendata_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"u64\"]},{\"name\":\"get_tokendata_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"0x3::token::TokenMutabilityConfig\"]},{\"name\":\"get_tokendata_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"0x3::token::Royalty\"]},{\"name\":\"get_tokendata_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenDataId\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"has_token_store\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\"],\"return\":[\"bool\"]},{\"name\":\"initialize_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\"],\"return\":[]},{\"name\":\"initialize_token_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\"],\"return\":[]},{\"name\":\"initialize_token_store\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\"],\"return\":[]},{\"name\":\"mint_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"mint_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"u64\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"mint_token_to\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenDataId\",\"u64\"],\"return\":[]},{\"name\":\"mutate_collection_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"mutate_collection_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"mutate_collection_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"mutate_one_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"mutate_token_properties\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"mutate_tokendata_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"mutate_tokendata_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"u64\"],\"return\":[]},{\"name\":\"mutate_tokendata_property\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"mutate_tokendata_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"0x3::token::Royalty\"],\"return\":[]},{\"name\":\"mutate_tokendata_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"opt_in_direct_transfer\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"bool\"],\"return\":[]},{\"name\":\"partial_withdraw_with_capability\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::WithdrawCapability\",\"u64\"],\"return\":[\"0x3::token::Token\",\"0x1::option::Option<0x3::token::WithdrawCapability>\"]},{\"name\":\"split\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::token::Token\",\"u64\"],\"return\":[\"0x3::token::Token\"]},{\"name\":\"transfer_with_opt_in\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"address\",\"u64\"],\"return\":[]},{\"name\":\"withdraw_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[\"0x3::token::Token\"]},{\"name\":\"withdraw_with_capability\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::WithdrawCapability\"],\"return\":[\"0x3::token::Token\"]}],\"structs\":[{\"name\":\"Deposit\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"DepositEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Withdraw\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"WithdrawEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Burn\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"BurnToken\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"BurnTokenEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionData\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"supply\",\"type\":\"u64\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::CollectionMutabilityConfig\"}],\"variants\":[]},{\"name\":\"CollectionMutabilityConfig\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"description\",\"type\":\"bool\"},{\"name\":\"uri\",\"type\":\"bool\"},{\"name\":\"maximum\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"Collections\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"collection_data\",\"type\":\"0x1::table::Table<0x1::string::String, 0x3::token::CollectionData>\"},{\"name\":\"token_data\",\"type\":\"0x1::table::Table<0x3::token::TokenDataId, 0x3::token::TokenData>\"},{\"name\":\"create_collection_events\",\"type\":\"0x1::event::EventHandle<0x3::token::CreateCollectionEvent>\"},{\"name\":\"create_token_data_events\",\"type\":\"0x1::event::EventHandle<0x3::token::CreateTokenDataEvent>\"},{\"name\":\"mint_token_events\",\"type\":\"0x1::event::EventHandle<0x3::token::MintTokenEvent>\"}],\"variants\":[]},{\"name\":\"CreateCollection\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CreateCollectionEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CreateTokenData\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty_payee_address\",\"type\":\"address\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"},{\"name\":\"property_keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"property_values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"property_types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"CreateTokenDataEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty_payee_address\",\"type\":\"address\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"},{\"name\":\"property_keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"property_values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"property_types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"Mint\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MintToken\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MintTokenEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MutatePropertyMap\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"old_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"new_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"MutateTokenPropertyMap\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"old_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"new_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"MutateTokenPropertyMapEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"old_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"new_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"Royalty\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"payee_address\",\"type\":\"address\"}],\"variants\":[]},{\"name\":\"Token\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"},{\"name\":\"token_properties\",\"type\":\"0x3::property_map::PropertyMap\"}],\"variants\":[]},{\"name\":\"TokenData\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"largest_property_version\",\"type\":\"u64\"},{\"name\":\"supply\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty\",\"type\":\"0x3::token::Royalty\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"default_properties\",\"type\":\"0x3::property_map::PropertyMap\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"}],\"variants\":[]},{\"name\":\"TokenDataCreation\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty_payee_address\",\"type\":\"address\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"},{\"name\":\"property_keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"property_values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"property_types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"TokenDataId\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"TokenDeposit\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenId\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_data_id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"property_version\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenMutabilityConfig\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"maximum\",\"type\":\"bool\"},{\"name\":\"uri\",\"type\":\"bool\"},{\"name\":\"royalty\",\"type\":\"bool\"},{\"name\":\"description\",\"type\":\"bool\"},{\"name\":\"properties\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"TokenStore\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"tokens\",\"type\":\"0x1::table::Table<0x3::token::TokenId, 0x3::token::Token>\"},{\"name\":\"direct_transfer\",\"type\":\"bool\"},{\"name\":\"deposit_events\",\"type\":\"0x1::event::EventHandle<0x3::token::DepositEvent>\"},{\"name\":\"withdraw_events\",\"type\":\"0x1::event::EventHandle<0x3::token::WithdrawEvent>\"},{\"name\":\"burn_events\",\"type\":\"0x1::event::EventHandle<0x3::token::BurnTokenEvent>\"},{\"name\":\"mutate_token_property_events\",\"type\":\"0x1::event::EventHandle<0x3::token::MutateTokenPropertyMapEvent>\"}],\"variants\":[]},{\"name\":\"TokenWithdraw\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"WithdrawCapability\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_owner\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"},{\"name\":\"expiration_sec\",\"type\":\"u64\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"property_map\",\"friends\":[],\"exposed_functions\":[{\"name\":\"new\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"borrow\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"&0x3::property_map::PropertyValue\"]},{\"name\":\"empty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"length\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"u64\"]},{\"name\":\"remove\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"0x1::string::String\",\"0x3::property_map::PropertyValue\"]},{\"name\":\"add\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"0x1::string::String\",\"0x3::property_map::PropertyValue\"],\"return\":[]},{\"name\":\"keys\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"vector<0x1::string::String>\"]},{\"name\":\"values\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"vector<vector<u8>>\"]},{\"name\":\"contains_key\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"borrow_type\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyValue\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"borrow_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyValue\"],\"return\":[\"vector<u8>\"]},{\"name\":\"create_property_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[\"copy\"]}],\"params\":[\"&T0\"],\"return\":[\"0x3::property_map::PropertyValue\"]},{\"name\":\"create_property_value_raw\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"vector<u8>\",\"0x1::string::String\"],\"return\":[\"0x3::property_map::PropertyValue\"]},{\"name\":\"types\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"vector<0x1::string::String>\"]},{\"name\":\"new_with_key_and_property_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"vector<0x1::string::String>\",\"vector<0x3::property_map::PropertyValue>\"],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"read_address\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"address\"]},{\"name\":\"read_bool\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"read_string\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"read_u128\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"u128\"]},{\"name\":\"read_u64\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"u64\"]},{\"name\":\"read_u8\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"u8\"]},{\"name\":\"update_property_map\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"update_property_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"&0x1::string::String\",\"0x3::property_map::PropertyValue\"],\"return\":[]}],\"structs\":[{\"name\":\"PropertyMap\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"map\",\"type\":\"0x1::simple_map::SimpleMap<0x1::string::String, 0x3::property_map::PropertyValue>\"}],\"variants\":[]},{\"name\":\"PropertyValue\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"value\",\"type\":\"vector<u8>\"},{\"name\":\"type\",\"type\":\"0x1::string::String\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"token_coin_swap\",\"friends\":[],\"exposed_functions\":[{\"name\":\"cancel_token_listing\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[]},{\"name\":\"deposit_token_to_escrow\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"0x3::token::Token\",\"u64\"],\"return\":[]},{\"name\":\"does_listing_exist\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"address\",\"0x3::token::TokenId\"],\"return\":[\"bool\"]},{\"name\":\"exchange_coin_for_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"&signer\",\"u64\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"list_token_for_swap\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"withdraw_token_from_escrow\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[\"0x3::token::Token\"]}],\"structs\":[{\"name\":\"TokenCoinSwap\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[{\"constraints\":[]}],\"fields\":[{\"name\":\"token_amount\",\"type\":\"u64\"},{\"name\":\"min_price_per_token\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenEscrow\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token\",\"type\":\"0x3::token::Token\"},{\"name\":\"locked_until_secs\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenListingEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"},{\"name\":\"min_price\",\"type\":\"u64\"},{\"name\":\"locked_until_secs\",\"type\":\"u64\"},{\"name\":\"coin_type_info\",\"type\":\"0x1::type_info::TypeInfo\"}],\"variants\":[]},{\"name\":\"TokenListings\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[{\"constraints\":[]}],\"fields\":[{\"name\":\"listings\",\"type\":\"0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenCoinSwap<T0>>\"},{\"name\":\"listing_events\",\"type\":\"0x1::event::EventHandle<0x3::token_coin_swap::TokenListingEvent>\"},{\"name\":\"swap_events\",\"type\":\"0x1::event::EventHandle<0x3::token_coin_swap::TokenSwapEvent>\"}],\"variants\":[]},{\"name\":\"TokenStoreEscrow\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_escrows\",\"type\":\"0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenEscrow>\"}],\"variants\":[]},{\"name\":\"TokenSwapEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"token_buyer\",\"type\":\"address\"},{\"name\":\"token_amount\",\"type\":\"u64\"},{\"name\":\"coin_amount\",\"type\":\"u64\"},{\"name\":\"coin_type_info\",\"type\":\"0x1::type_info::TypeInfo\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"token_transfers\",\"friends\":[],\"exposed_functions\":[{\"name\":\"cancel_offer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\"],\"return\":[]},{\"name\":\"cancel_offer_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"claim\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\"],\"return\":[]},{\"name\":\"claim_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"offer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\",\"u64\"],\"return\":[]},{\"name\":\"offer_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]}],\"structs\":[{\"name\":\"CancelOffer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Claim\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Offer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"PendingClaims\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"pending_claims\",\"type\":\"0x1::table::Table<0x3::token_transfers::TokenOfferId, 0x3::token::Token>\"},{\"name\":\"offer_events\",\"type\":\"0x1::event::EventHandle<0x3::token_transfers::TokenOfferEvent>\"},{\"name\":\"cancel_offer_events\",\"type\":\"0x1::event::EventHandle<0x3::token_transfers::TokenCancelOfferEvent>\"},{\"name\":\"claim_events\",\"type\":\"0x1::event::EventHandle<0x3::token_transfers::TokenClaimEvent>\"}],\"variants\":[]},{\"name\":\"TokenCancelOffer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenCancelOfferEvent\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenClaim\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenClaimEvent\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenOffer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenOfferEvent\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenOfferId\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_addr\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"token_event_store\",\"friends\":[\"0x3::token\"],\"exposed_functions\":[{\"name\":\"emit_collection_description_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"emit_collection_maximum_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"emit_collection_uri_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"emit_default_property_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"vector<0x1::string::String>\",\"vector<0x1::option::Option<0x3::property_map::PropertyValue>>\",\"vector<0x3::property_map::PropertyValue>\"],\"return\":[]},{\"name\":\"emit_token_descrition_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"emit_token_maximum_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"emit_token_opt_in_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"bool\"],\"return\":[]},{\"name\":\"emit_token_royalty_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"address\",\"u64\",\"u64\",\"address\"],\"return\":[]},{\"name\":\"emit_token_uri_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]}],\"structs\":[{\"name\":\"CollectionDescriptionMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"CollectionDescriptionMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"CollectionMaximumMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionMaxiumMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionMaxiumMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionUriMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"CollectionUriMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"DefaultPropertyMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"old_values\",\"type\":\"vector<0x1::option::Option<0x3::property_map::PropertyValue>>\"},{\"name\":\"new_values\",\"type\":\"vector<0x3::property_map::PropertyValue>\"}],\"variants\":[]},{\"name\":\"DefaultPropertyMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"old_values\",\"type\":\"vector<0x1::option::Option<0x3::property_map::PropertyValue>>\"},{\"name\":\"new_values\",\"type\":\"vector<0x3::property_map::PropertyValue>\"}],\"variants\":[]},{\"name\":\"DescriptionMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"DescriptionMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"MaximumMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MaxiumMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"OptInTransfer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account_address\",\"type\":\"address\"},{\"name\":\"opt_in\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"OptInTransferEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"opt_in\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"RoyaltyMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"old_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"old_royalty_payee_addr\",\"type\":\"address\"},{\"name\":\"new_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"new_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"new_royalty_payee_addr\",\"type\":\"address\"}],\"variants\":[]},{\"name\":\"RoyaltyMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"old_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"old_royalty_payee_addr\",\"type\":\"address\"},{\"name\":\"new_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"new_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"new_royalty_payee_addr\",\"type\":\"address\"}],\"variants\":[]},{\"name\":\"TokenEventStoreV1\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"collection_uri_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::CollectionUriMutateEvent>\"},{\"name\":\"collection_maximum_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::CollectionMaxiumMutateEvent>\"},{\"name\":\"collection_description_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::CollectionDescriptionMutateEvent>\"},{\"name\":\"opt_in_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::OptInTransferEvent>\"},{\"name\":\"uri_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::UriMutationEvent>\"},{\"name\":\"default_property_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::DefaultPropertyMutateEvent>\"},{\"name\":\"description_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::DescriptionMutateEvent>\"},{\"name\":\"royalty_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::RoyaltyMutateEvent>\"},{\"name\":\"maximum_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::MaxiumMutateEvent>\"},{\"name\":\"extension\",\"type\":\"0x1::option::Option<0x1::any::Any>\"}],\"variants\":[]},{\"name\":\"UriMutation\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"UriMutationEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]}]}}]");
|
|
1449
|
+
const MODULES = JSON.parse("[{\"abi\":{\"address\":\"0x3\",\"name\":\"token\",\"friends\":[],\"exposed_functions\":[{\"name\":\"merge\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::token::Token\",\"0x3::token::Token\"],\"return\":[]},{\"name\":\"burn\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"transfer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"address\",\"u64\"],\"return\":[]},{\"name\":\"balance_of\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenId\"],\"return\":[\"u64\"]},{\"name\":\"burn_by_creator\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"check_collection_exists\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"check_tokendata_exists\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"create_collection\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"vector<bool>\"],\"return\":[]},{\"name\":\"create_collection_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&vector<bool>\"],\"return\":[\"0x3::token::CollectionMutabilityConfig\"]},{\"name\":\"create_collection_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"vector<bool>\"],\"return\":[]},{\"name\":\"create_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"u64\",\"u64\",\"address\"],\"return\":[\"0x3::token::Royalty\"]},{\"name\":\"create_token_data_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[\"0x3::token::TokenDataId\"]},{\"name\":\"create_token_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\",\"u64\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"create_token_id_raw\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"create_token_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&vector<bool>\"],\"return\":[\"0x3::token::TokenMutabilityConfig\"]},{\"name\":\"create_token_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"0x1::string::String\",\"address\",\"u64\",\"u64\",\"vector<bool>\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"create_tokendata\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"0x1::string::String\",\"address\",\"u64\",\"u64\",\"0x3::token::TokenMutabilityConfig\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[\"0x3::token::TokenDataId\"]},{\"name\":\"create_withdraw_capability\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\",\"u64\"],\"return\":[\"0x3::token::WithdrawCapability\"]},{\"name\":\"token_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Token\"],\"return\":[\"&0x3::token::TokenId\"]},{\"name\":\"deposit_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::Token\"],\"return\":[]},{\"name\":\"direct_deposit_with_opt_in\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::Token\"],\"return\":[]},{\"name\":\"direct_transfer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[]},{\"name\":\"direct_transfer_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"get_collection_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"get_collection_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"u64\"]},{\"name\":\"get_collection_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":true,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x3::token::CollectionMutabilityConfig\"]},{\"name\":\"get_collection_mutability_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::CollectionMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_collection_mutability_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::CollectionMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_collection_mutability_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::CollectionMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_collection_supply\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x1::option::Option<u64>\"]},{\"name\":\"get_collection_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x1::string::String\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"get_direct_transfer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\"],\"return\":[\"bool\"]},{\"name\":\"get_property_map\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenId\"],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"get_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenId\"],\"return\":[\"0x3::token::Royalty\"]},{\"name\":\"get_royalty_denominator\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Royalty\"],\"return\":[\"u64\"]},{\"name\":\"get_royalty_numerator\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Royalty\"],\"return\":[\"u64\"]},{\"name\":\"get_royalty_payee\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Royalty\"],\"return\":[\"address\"]},{\"name\":\"get_token_amount\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Token\"],\"return\":[\"u64\"]},{\"name\":\"get_token_data_id_fields\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenDataId\"],\"return\":[\"address\",\"0x1::string::String\",\"0x1::string::String\"]},{\"name\":\"get_token_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::Token\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"get_token_id_fields\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenId\"],\"return\":[\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"]},{\"name\":\"get_token_mutability_default_properties\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_mutability_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::token::TokenMutabilityConfig\"],\"return\":[\"bool\"]},{\"name\":\"get_token_supply\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenDataId\"],\"return\":[\"0x1::option::Option<u64>\"]},{\"name\":\"get_tokendata_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"get_tokendata_id\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenId\"],\"return\":[\"0x3::token::TokenDataId\"]},{\"name\":\"get_tokendata_largest_property_version\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenDataId\"],\"return\":[\"u64\"]},{\"name\":\"get_tokendata_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"u64\"]},{\"name\":\"get_tokendata_mutability_config\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"0x3::token::TokenMutabilityConfig\"]},{\"name\":\"get_tokendata_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::TokenDataId\"],\"return\":[\"0x3::token::Royalty\"]},{\"name\":\"get_tokendata_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\",\"0x3::token::TokenDataId\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"has_token_store\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"address\"],\"return\":[\"bool\"]},{\"name\":\"initialize_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\"],\"return\":[]},{\"name\":\"initialize_token_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\"],\"return\":[]},{\"name\":\"initialize_token_store\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\"],\"return\":[]},{\"name\":\"mint_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"mint_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"u64\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"mint_token_to\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenDataId\",\"u64\"],\"return\":[]},{\"name\":\"mutate_collection_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"mutate_collection_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"mutate_collection_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"mutate_one_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[\"0x3::token::TokenId\"]},{\"name\":\"mutate_token_properties\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"mutate_tokendata_description\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"mutate_tokendata_maximum\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"u64\"],\"return\":[]},{\"name\":\"mutate_tokendata_property\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"mutate_tokendata_royalty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"0x3::token::Royalty\"],\"return\":[]},{\"name\":\"mutate_tokendata_uri\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenDataId\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"opt_in_direct_transfer\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"bool\"],\"return\":[]},{\"name\":\"partial_withdraw_with_capability\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::WithdrawCapability\",\"u64\"],\"return\":[\"0x3::token::Token\",\"0x1::option::Option<0x3::token::WithdrawCapability>\"]},{\"name\":\"split\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::token::Token\",\"u64\"],\"return\":[\"0x3::token::Token\"]},{\"name\":\"transfer_with_opt_in\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"address\",\"u64\"],\"return\":[]},{\"name\":\"withdraw_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[\"0x3::token::Token\"]},{\"name\":\"withdraw_with_capability\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"0x3::token::WithdrawCapability\"],\"return\":[\"0x3::token::Token\"]}],\"structs\":[{\"name\":\"Deposit\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"DepositEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Withdraw\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"WithdrawEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Burn\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"BurnToken\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"BurnTokenEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionData\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"supply\",\"type\":\"u64\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::CollectionMutabilityConfig\"}],\"variants\":[]},{\"name\":\"CollectionMutabilityConfig\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"description\",\"type\":\"bool\"},{\"name\":\"uri\",\"type\":\"bool\"},{\"name\":\"maximum\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"Collections\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"collection_data\",\"type\":\"0x1::table::Table<0x1::string::String, 0x3::token::CollectionData>\"},{\"name\":\"token_data\",\"type\":\"0x1::table::Table<0x3::token::TokenDataId, 0x3::token::TokenData>\"},{\"name\":\"create_collection_events\",\"type\":\"0x1::event::EventHandle<0x3::token::CreateCollectionEvent>\"},{\"name\":\"create_token_data_events\",\"type\":\"0x1::event::EventHandle<0x3::token::CreateTokenDataEvent>\"},{\"name\":\"mint_token_events\",\"type\":\"0x1::event::EventHandle<0x3::token::MintTokenEvent>\"}],\"variants\":[]},{\"name\":\"CreateCollection\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CreateCollectionEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CreateTokenData\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty_payee_address\",\"type\":\"address\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"},{\"name\":\"property_keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"property_values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"property_types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"CreateTokenDataEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty_payee_address\",\"type\":\"address\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"},{\"name\":\"property_keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"property_values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"property_types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"Mint\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MintToken\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MintTokenEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MutatePropertyMap\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"old_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"new_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"MutateTokenPropertyMap\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"old_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"new_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"MutateTokenPropertyMapEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"old_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"new_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"Royalty\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"payee_address\",\"type\":\"address\"}],\"variants\":[]},{\"name\":\"Token\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"},{\"name\":\"token_properties\",\"type\":\"0x3::property_map::PropertyMap\"}],\"variants\":[]},{\"name\":\"TokenData\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"largest_property_version\",\"type\":\"u64\"},{\"name\":\"supply\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty\",\"type\":\"0x3::token::Royalty\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"default_properties\",\"type\":\"0x3::property_map::PropertyMap\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"}],\"variants\":[]},{\"name\":\"TokenDataCreation\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"description\",\"type\":\"0x1::string::String\"},{\"name\":\"maximum\",\"type\":\"u64\"},{\"name\":\"uri\",\"type\":\"0x1::string::String\"},{\"name\":\"royalty_payee_address\",\"type\":\"address\"},{\"name\":\"royalty_points_denominator\",\"type\":\"u64\"},{\"name\":\"royalty_points_numerator\",\"type\":\"u64\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"},{\"name\":\"mutability_config\",\"type\":\"0x3::token::TokenMutabilityConfig\"},{\"name\":\"property_keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"property_values\",\"type\":\"vector<vector<u8>>\"},{\"name\":\"property_types\",\"type\":\"vector<0x1::string::String>\"}],\"variants\":[]},{\"name\":\"TokenDataId\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"name\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"TokenDeposit\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenId\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_data_id\",\"type\":\"0x3::token::TokenDataId\"},{\"name\":\"property_version\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenMutabilityConfig\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"maximum\",\"type\":\"bool\"},{\"name\":\"uri\",\"type\":\"bool\"},{\"name\":\"royalty\",\"type\":\"bool\"},{\"name\":\"description\",\"type\":\"bool\"},{\"name\":\"properties\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"TokenStore\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"tokens\",\"type\":\"0x1::table::Table<0x3::token::TokenId, 0x3::token::Token>\"},{\"name\":\"direct_transfer\",\"type\":\"bool\"},{\"name\":\"deposit_events\",\"type\":\"0x1::event::EventHandle<0x3::token::DepositEvent>\"},{\"name\":\"withdraw_events\",\"type\":\"0x1::event::EventHandle<0x3::token::WithdrawEvent>\"},{\"name\":\"burn_events\",\"type\":\"0x1::event::EventHandle<0x3::token::BurnTokenEvent>\"},{\"name\":\"mutate_token_property_events\",\"type\":\"0x1::event::EventHandle<0x3::token::MutateTokenPropertyMapEvent>\"}],\"variants\":[]},{\"name\":\"TokenWithdraw\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"WithdrawCapability\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_owner\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"},{\"name\":\"expiration_sec\",\"type\":\"u64\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"property_map\",\"friends\":[],\"exposed_functions\":[{\"name\":\"remove\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"0x1::string::String\",\"0x3::property_map::PropertyValue\"]},{\"name\":\"new\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"borrow\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"&0x3::property_map::PropertyValue\"]},{\"name\":\"empty\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"length\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"u64\"]},{\"name\":\"add\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"0x1::string::String\",\"0x3::property_map::PropertyValue\"],\"return\":[]},{\"name\":\"keys\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"vector<0x1::string::String>\"]},{\"name\":\"values\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"vector<vector<u8>>\"]},{\"name\":\"contains_key\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"borrow_type\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyValue\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"borrow_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyValue\"],\"return\":[\"vector<u8>\"]},{\"name\":\"create_property_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[\"copy\"]}],\"params\":[\"&T0\"],\"return\":[\"0x3::property_map::PropertyValue\"]},{\"name\":\"create_property_value_raw\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"vector<u8>\",\"0x1::string::String\"],\"return\":[\"0x3::property_map::PropertyValue\"]},{\"name\":\"types\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\"],\"return\":[\"vector<0x1::string::String>\"]},{\"name\":\"new_with_key_and_property_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"vector<0x1::string::String>\",\"vector<0x3::property_map::PropertyValue>\"],\"return\":[\"0x3::property_map::PropertyMap\"]},{\"name\":\"read_address\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"address\"]},{\"name\":\"read_bool\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"bool\"]},{\"name\":\"read_string\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"0x1::string::String\"]},{\"name\":\"read_u128\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"u128\"]},{\"name\":\"read_u64\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"u64\"]},{\"name\":\"read_u8\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&0x3::property_map::PropertyMap\",\"&0x1::string::String\"],\"return\":[\"u8\"]},{\"name\":\"update_property_map\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"vector<0x1::string::String>\",\"vector<vector<u8>>\",\"vector<0x1::string::String>\"],\"return\":[]},{\"name\":\"update_property_value\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&mut 0x3::property_map::PropertyMap\",\"&0x1::string::String\",\"0x3::property_map::PropertyValue\"],\"return\":[]}],\"structs\":[{\"name\":\"PropertyMap\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"map\",\"type\":\"0x1::simple_map::SimpleMap<0x1::string::String, 0x3::property_map::PropertyValue>\"}],\"variants\":[]},{\"name\":\"PropertyValue\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"value\",\"type\":\"vector<u8>\"},{\"name\":\"type\",\"type\":\"0x1::string::String\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"token_coin_swap\",\"friends\":[],\"exposed_functions\":[{\"name\":\"cancel_token_listing\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[]},{\"name\":\"deposit_token_to_escrow\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"0x3::token::Token\",\"u64\"],\"return\":[]},{\"name\":\"does_listing_exist\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"address\",\"0x3::token::TokenId\"],\"return\":[\"bool\"]},{\"name\":\"exchange_coin_for_token\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"&signer\",\"u64\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"list_token_for_swap\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[{\"constraints\":[]}],\"params\":[\"&signer\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"withdraw_token_from_escrow\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x3::token::TokenId\",\"u64\"],\"return\":[\"0x3::token::Token\"]}],\"structs\":[{\"name\":\"TokenCoinSwap\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[{\"constraints\":[]}],\"fields\":[{\"name\":\"token_amount\",\"type\":\"u64\"},{\"name\":\"min_price_per_token\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenEscrow\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token\",\"type\":\"0x3::token::Token\"},{\"name\":\"locked_until_secs\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenListingEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"},{\"name\":\"min_price\",\"type\":\"u64\"},{\"name\":\"locked_until_secs\",\"type\":\"u64\"},{\"name\":\"coin_type_info\",\"type\":\"0x1::type_info::TypeInfo\"}],\"variants\":[]},{\"name\":\"TokenListings\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[{\"constraints\":[]}],\"fields\":[{\"name\":\"listings\",\"type\":\"0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenCoinSwap<T0>>\"},{\"name\":\"listing_events\",\"type\":\"0x1::event::EventHandle<0x3::token_coin_swap::TokenListingEvent>\"},{\"name\":\"swap_events\",\"type\":\"0x1::event::EventHandle<0x3::token_coin_swap::TokenSwapEvent>\"}],\"variants\":[]},{\"name\":\"TokenStoreEscrow\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_escrows\",\"type\":\"0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenEscrow>\"}],\"variants\":[]},{\"name\":\"TokenSwapEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"token_buyer\",\"type\":\"address\"},{\"name\":\"token_amount\",\"type\":\"u64\"},{\"name\":\"coin_amount\",\"type\":\"u64\"},{\"name\":\"coin_type_info\",\"type\":\"0x1::type_info::TypeInfo\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"token_transfers\",\"friends\":[],\"exposed_functions\":[{\"name\":\"cancel_offer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\"],\"return\":[]},{\"name\":\"cancel_offer_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"claim\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\"],\"return\":[]},{\"name\":\"claim_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\"],\"return\":[]},{\"name\":\"offer\",\"visibility\":\"public\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"address\",\"0x3::token::TokenId\",\"u64\"],\"return\":[]},{\"name\":\"offer_script\",\"visibility\":\"public\",\"is_entry\":true,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"signer\",\"address\",\"address\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]}],\"structs\":[{\"name\":\"CancelOffer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Claim\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"Offer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account\",\"type\":\"address\"},{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"PendingClaims\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"pending_claims\",\"type\":\"0x1::table::Table<0x3::token_transfers::TokenOfferId, 0x3::token::Token>\"},{\"name\":\"offer_events\",\"type\":\"0x1::event::EventHandle<0x3::token_transfers::TokenOfferEvent>\"},{\"name\":\"cancel_offer_events\",\"type\":\"0x1::event::EventHandle<0x3::token_transfers::TokenCancelOfferEvent>\"},{\"name\":\"claim_events\",\"type\":\"0x1::event::EventHandle<0x3::token_transfers::TokenClaimEvent>\"}],\"variants\":[]},{\"name\":\"TokenCancelOffer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenCancelOfferEvent\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenClaim\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenClaimEvent\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenOffer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenOfferEvent\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_address\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"},{\"name\":\"amount\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"TokenOfferId\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"copy\",\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"to_addr\",\"type\":\"address\"},{\"name\":\"token_id\",\"type\":\"0x3::token::TokenId\"}],\"variants\":[]}]}},{\"abi\":{\"address\":\"0x3\",\"name\":\"token_event_store\",\"friends\":[\"0x3::token\"],\"exposed_functions\":[{\"name\":\"emit_collection_description_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"emit_collection_maximum_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"emit_collection_uri_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"emit_default_property_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"vector<0x1::string::String>\",\"vector<0x1::option::Option<0x3::property_map::PropertyValue>>\",\"vector<0x3::property_map::PropertyValue>\"],\"return\":[]},{\"name\":\"emit_token_descrition_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]},{\"name\":\"emit_token_maximum_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\"],\"return\":[]},{\"name\":\"emit_token_opt_in_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"bool\"],\"return\":[]},{\"name\":\"emit_token_royalty_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"u64\",\"u64\",\"address\",\"u64\",\"u64\",\"address\"],\"return\":[]},{\"name\":\"emit_token_uri_mutate_event\",\"visibility\":\"friend\",\"is_entry\":false,\"is_view\":false,\"generic_type_params\":[],\"params\":[\"&signer\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\",\"0x1::string::String\"],\"return\":[]}],\"structs\":[{\"name\":\"CollectionDescriptionMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"CollectionDescriptionMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"CollectionMaximumMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionMaxiumMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionMaxiumMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"CollectionUriMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"CollectionUriMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator_addr\",\"type\":\"address\"},{\"name\":\"collection_name\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"DefaultPropertyMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"old_values\",\"type\":\"vector<0x1::option::Option<0x3::property_map::PropertyValue>>\"},{\"name\":\"new_values\",\"type\":\"vector<0x3::property_map::PropertyValue>\"}],\"variants\":[]},{\"name\":\"DefaultPropertyMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"keys\",\"type\":\"vector<0x1::string::String>\"},{\"name\":\"old_values\",\"type\":\"vector<0x1::option::Option<0x3::property_map::PropertyValue>>\"},{\"name\":\"new_values\",\"type\":\"vector<0x3::property_map::PropertyValue>\"}],\"variants\":[]},{\"name\":\"DescriptionMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"DescriptionMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_description\",\"type\":\"0x1::string::String\"},{\"name\":\"new_description\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"MaximumMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"MaxiumMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_maximum\",\"type\":\"u64\"},{\"name\":\"new_maximum\",\"type\":\"u64\"}],\"variants\":[]},{\"name\":\"OptInTransfer\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"account_address\",\"type\":\"address\"},{\"name\":\"opt_in\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"OptInTransferEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"opt_in\",\"type\":\"bool\"}],\"variants\":[]},{\"name\":\"RoyaltyMutate\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"old_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"old_royalty_payee_addr\",\"type\":\"address\"},{\"name\":\"new_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"new_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"new_royalty_payee_addr\",\"type\":\"address\"}],\"variants\":[]},{\"name\":\"RoyaltyMutateEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"old_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"old_royalty_payee_addr\",\"type\":\"address\"},{\"name\":\"new_royalty_numerator\",\"type\":\"u64\"},{\"name\":\"new_royalty_denominator\",\"type\":\"u64\"},{\"name\":\"new_royalty_payee_addr\",\"type\":\"address\"}],\"variants\":[]},{\"name\":\"TokenEventStoreV1\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"key\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"collection_uri_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::CollectionUriMutateEvent>\"},{\"name\":\"collection_maximum_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::CollectionMaxiumMutateEvent>\"},{\"name\":\"collection_description_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::CollectionDescriptionMutateEvent>\"},{\"name\":\"opt_in_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::OptInTransferEvent>\"},{\"name\":\"uri_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::UriMutationEvent>\"},{\"name\":\"default_property_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::DefaultPropertyMutateEvent>\"},{\"name\":\"description_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::DescriptionMutateEvent>\"},{\"name\":\"royalty_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::RoyaltyMutateEvent>\"},{\"name\":\"maximum_mutate_events\",\"type\":\"0x1::event::EventHandle<0x3::token_event_store::MaxiumMutateEvent>\"},{\"name\":\"extension\",\"type\":\"0x1::option::Option<0x1::any::Any>\"}],\"variants\":[]},{\"name\":\"UriMutation\",\"is_native\":false,\"is_event\":true,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]},{\"name\":\"UriMutationEvent\",\"is_native\":false,\"is_event\":false,\"is_enum\":false,\"abilities\":[\"drop\",\"store\"],\"generic_type_params\":[],\"fields\":[{\"name\":\"creator\",\"type\":\"address\"},{\"name\":\"collection\",\"type\":\"0x1::string::String\"},{\"name\":\"token\",\"type\":\"0x1::string::String\"},{\"name\":\"old_uri\",\"type\":\"0x1::string::String\"},{\"name\":\"new_uri\",\"type\":\"0x1::string::String\"}],\"variants\":[]}]}}]");
|
|
1450
1450
|
function loadAllTypes(coder) {
|
|
1451
1451
|
loadAllTypes$1(coder);
|
|
1452
1452
|
for (const m of Object.values(MODULES)) coder.load(m, "0x3");
|