@sentio/sdk 1.37.0-rc.2 → 1.37.0-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.
Files changed (132) hide show
  1. package/lib/builtin/index.d.ts +0 -2
  2. package/lib/builtin/index.js +1 -3
  3. package/lib/builtin/index.js.map +1 -1
  4. package/lib/core/eth-plugin.js +12 -15
  5. package/lib/core/eth-plugin.js.map +1 -1
  6. package/lib/core/index.d.ts +0 -4
  7. package/lib/core/index.js +1 -9
  8. package/lib/core/index.js.map +1 -1
  9. package/lib/core/sui-plugin.js +1 -1
  10. package/lib/core/sui-plugin.js.map +1 -1
  11. package/lib/index.d.ts +1 -1
  12. package/lib/index.js +3 -14
  13. package/lib/index.js.map +1 -1
  14. package/lib/service.d.ts +0 -4
  15. package/lib/service.js +40 -71
  16. package/lib/service.js.map +1 -1
  17. package/package.json +10 -20
  18. package/src/builtin/index.ts +1 -4
  19. package/src/core/eth-plugin.ts +5 -8
  20. package/src/core/index.ts +0 -5
  21. package/src/core/sui-plugin.ts +2 -2
  22. package/src/index.ts +3 -1
  23. package/src/service.ts +13 -71
  24. package/lib/aptos/api.d.ts +0 -2
  25. package/lib/aptos/api.js +0 -14
  26. package/lib/aptos/api.js.map +0 -1
  27. package/lib/aptos/aptos-plugin.d.ts +0 -14
  28. package/lib/aptos/aptos-plugin.js +0 -185
  29. package/lib/aptos/aptos-plugin.js.map +0 -1
  30. package/lib/aptos/aptos-processor.d.ts +0 -75
  31. package/lib/aptos/aptos-processor.js +0 -193
  32. package/lib/aptos/aptos-processor.js.map +0 -1
  33. package/lib/aptos/context.d.ts +0 -22
  34. package/lib/aptos/context.js +0 -65
  35. package/lib/aptos/context.js.map +0 -1
  36. package/lib/aptos/index.d.ts +0 -9
  37. package/lib/aptos/index.js +0 -34
  38. package/lib/aptos/index.js.map +0 -1
  39. package/lib/aptos/models.d.ts +0 -23
  40. package/lib/aptos/models.js +0 -3
  41. package/lib/aptos/models.js.map +0 -1
  42. package/lib/aptos/network.d.ts +0 -14
  43. package/lib/aptos/network.js +0 -46
  44. package/lib/aptos/network.js.map +0 -1
  45. package/lib/aptos/runtime.d.ts +0 -2
  46. package/lib/aptos/runtime.js +0 -16
  47. package/lib/aptos/runtime.js.map +0 -1
  48. package/lib/aptos/type-registry.d.ts +0 -21
  49. package/lib/aptos/type-registry.js +0 -156
  50. package/lib/aptos/type-registry.js.map +0 -1
  51. package/lib/aptos/types.d.ts +0 -9
  52. package/lib/aptos/types.js +0 -135
  53. package/lib/aptos/types.js.map +0 -1
  54. package/lib/aptos/types.test.d.ts +0 -1
  55. package/lib/aptos/types.test.js.map +0 -1
  56. package/lib/aptos/utils.d.ts +0 -7
  57. package/lib/aptos/utils.js +0 -27
  58. package/lib/aptos/utils.js.map +0 -1
  59. package/lib/aptos-codegen/codegen.d.ts +0 -23
  60. package/lib/aptos-codegen/codegen.js +0 -364
  61. package/lib/aptos-codegen/codegen.js.map +0 -1
  62. package/lib/aptos-codegen/typegen.d.ts +0 -17
  63. package/lib/aptos-codegen/typegen.js +0 -142
  64. package/lib/aptos-codegen/typegen.js.map +0 -1
  65. package/lib/builtin/aptos/0x1.d.ts +0 -1913
  66. package/lib/builtin/aptos/0x1.js +0 -2748
  67. package/lib/builtin/aptos/0x1.js.map +0 -1
  68. package/lib/builtin/aptos/0x3.d.ts +0 -482
  69. package/lib/builtin/aptos/0x3.js +0 -526
  70. package/lib/builtin/aptos/0x3.js.map +0 -1
  71. package/lib/builtin/aptos/index.d.ts +0 -2
  72. package/lib/builtin/aptos/index.js +0 -29
  73. package/lib/builtin/aptos/index.js.map +0 -1
  74. package/lib/builtin/solana/index.d.ts +0 -2
  75. package/lib/builtin/solana/index.js +0 -19
  76. package/lib/builtin/solana/index.js.map +0 -1
  77. package/lib/builtin/solana/spl-token-processor.d.ts +0 -39
  78. package/lib/builtin/solana/spl-token-processor.js +0 -258
  79. package/lib/builtin/solana/spl-token-processor.js.map +0 -1
  80. package/lib/builtin/solana/types.d.ts +0 -427
  81. package/lib/builtin/solana/types.js +0 -203
  82. package/lib/builtin/solana/types.js.map +0 -1
  83. package/lib/builtin/solana/wormhole-processor.d.ts +0 -12
  84. package/lib/builtin/solana/wormhole-processor.js +0 -268
  85. package/lib/builtin/solana/wormhole-processor.js.map +0 -1
  86. package/lib/core/solana-context.d.ts +0 -11
  87. package/lib/core/solana-context.js +0 -34
  88. package/lib/core/solana-context.js.map +0 -1
  89. package/lib/core/solana-options.d.ts +0 -8
  90. package/lib/core/solana-options.js +0 -13
  91. package/lib/core/solana-options.js.map +0 -1
  92. package/lib/core/solana-plugin.d.ts +0 -9
  93. package/lib/core/solana-plugin.js +0 -79
  94. package/lib/core/solana-plugin.js.map +0 -1
  95. package/lib/core/solana-processor.d.ts +0 -40
  96. package/lib/core/solana-processor.js +0 -80
  97. package/lib/core/solana-processor.js.map +0 -1
  98. package/lib/solana-codegen/codegen.d.ts +0 -1
  99. package/lib/solana-codegen/codegen.js +0 -124
  100. package/lib/solana-codegen/codegen.js.map +0 -1
  101. package/lib/test-abi-code-gen.d.ts +0 -2
  102. package/lib/test-abi-code-gen.js +0 -20
  103. package/lib/test-abi-code-gen.js.map +0 -1
  104. package/src/abis/aptos/0x1.json +0 -9205
  105. package/src/abis/aptos/0x3.json +0 -1515
  106. package/src/aptos/api.ts +0 -11
  107. package/src/aptos/aptos-plugin.ts +0 -216
  108. package/src/aptos/aptos-processor.ts +0 -305
  109. package/src/aptos/context.ts +0 -74
  110. package/src/aptos/index.ts +0 -10
  111. package/src/aptos/models.ts +0 -34
  112. package/src/aptos/network.ts +0 -42
  113. package/src/aptos/runtime.ts +0 -13
  114. package/src/aptos/type-registry.ts +0 -187
  115. package/src/aptos/types.ts +0 -149
  116. package/src/aptos/utils.ts +0 -26
  117. package/src/aptos-codegen/codegen.ts +0 -428
  118. package/src/aptos-codegen/tsconfig.json +0 -9
  119. package/src/aptos-codegen/typegen.ts +0 -153
  120. package/src/builtin/aptos/0x1.ts +0 -4210
  121. package/src/builtin/aptos/0x3.ts +0 -888
  122. package/src/builtin/aptos/index.ts +0 -2
  123. package/src/builtin/solana/index.ts +0 -2
  124. package/src/builtin/solana/spl-token-processor.ts +0 -298
  125. package/src/builtin/solana/types.ts +0 -279
  126. package/src/builtin/solana/wormhole-processor.ts +0 -269
  127. package/src/core/solana-context.ts +0 -34
  128. package/src/core/solana-options.ts +0 -8
  129. package/src/core/solana-plugin.ts +0 -97
  130. package/src/core/solana-processor.ts +0 -102
  131. package/src/solana-codegen/codegen.ts +0 -129
  132. package/src/test-abi-code-gen.ts +0 -16
@@ -1,1515 +0,0 @@
1
- [
2
- {
3
- "bytecode": "0xa11ceb0b050000000c0100140214640378b30304ab044405ef04840707f30bea1108dd1d40069d1e890310a621cc0f0af230ae020ca03388210da8544c0000010101020103010401050106010701080009000a0600000b0400000c0700000d0800000e0600000f060000100600001106000012060000130700001404000015040000160700001707000018070000190800001a0600001b0600061d070004330701000009350700075f040203010001036204010601001c000100001e020300001f020300002004050000210605000022070300002308090000240703000025060a0000260b0c0000270d0c000028080e0000290f0300002a100a00002b111200002c130300002d140300002e150300002f16030000301603000031170300003218030000340419000036001a0000370c1b0000381c010000391c0100003a1c1d00003b1e0100003c1f0600003d1e0c00003e200d00003f2119000040210100004121220000421d0500004323030000442403000045240300004625030000472603000048270c000049280300004a290c00004b2a0300004c2b0300004d2c0300004e2d0300004f2e2f0000501e2000005130030000523103000053322f000054122f000055332f00078201360502030007830136370203000284010101000285010101000786013a3b0203000687013c22000988013d0500028901010100098a013d0500058b01241d00038c013f030106078d013a40020300068e01460100078f010347020304019001244901060291010101000792014c03020300098f014f1a000493015354010004940103540100099501031a000996016103000297010101000898010301003735383537393b39413e42393b4142413741444144394548454a454b474141484739414a415147353b35384149014a01383944354551455a453e455b414b415b415a42350205080d010306060c050812081203030002050812010103050812081206060c081208120812030a0101060a0101080201080c02080c0301080d0405081208120301080e0e060c081208120812030308120503030a010a08120a0a020a08120d060c081208120812030812050303080e0a08120a0a020a081204060c080d030301081002060c080a01080101080b0205080a04060c060c080d0307060c060c05081208120303010b1301030108140108090106080901050106080a0106080c0106080d0205080c01081202060c080d01060c0207080a080a05060c05081208120303060c080c0304060c05080c0306060c05080d0a08120a0a020a08120a060c05050812081203030a08120a0a020a081205060c080c0a08120a0a020a081203060c080c081202060c010207080a0301080a04060c080d05030505080d0a08120a0a020a081203060c080d030305080d03020306080f02080d080a02060b1502090009010900010609010d0812060814081206081401030708010708030507080b07080b080d07080f02080c080b02070b150209000901090001070901010a020206081406081201080002070b16010900090001090102081208010d081206081408120608140103070801070803050507080b080d07080f01060b15020812080102060b1502080c080b080c07070b1502081208010812050801070b150208120801070803080201060812010b150209000901010804010b1601090001080501080703070b1502090009010900090102080e080c0c030305081203030305070801070803080b080c030a08120a0a020a08120207080a07080f010806030b130103060801060b150208120801010900010b13010900050814060b1502080c080b0506080b060b1502080d080a04060b1502080c080b0506080b080c030b130103060b1502080c080b06080b01060b1502080c080b02060b1502080c080b06080b01081101080806070b1502080c080b080c070b1502080c080b0507080b080d07070b1502080c080b080c070b1502080c080b050107080b080d0f070b1502080c080b080c08120608140812060814080d070b1502080c080b0503080a080d080a07080b010203080d05070b1502080c080b080c070b1502080c080b0507080b040708140a08120a0a020a0812020507010201080a04070b1502080d080a080d070b1502080d080a07081406070b1502080d080a080d080a070307080f070b1502080d080a05746f6b656e076163636f756e74056572726f72056576656e74066f7074696f6e067369676e657206737472696e67057461626c650974696d657374616d700c70726f70657274795f6d61700e4275726e546f6b656e4576656e740e436f6c6c656374696f6e446174611a436f6c6c656374696f6e4d75746162696c697479436f6e6669670b436f6c6c656374696f6e7315437265617465436f6c6c656374696f6e4576656e7414437265617465546f6b656e446174614576656e740c4465706f7369744576656e740e4d696e74546f6b656e4576656e741b4d7574617465546f6b656e50726f70657274794d61704576656e7407526f79616c747905546f6b656e09546f6b656e446174610b546f6b656e44617461496407546f6b656e496415546f6b656e4d75746162696c697479436f6e6669670a546f6b656e53746f72651257697468647261774361706162696c6974790d57697468647261774576656e740a62616c616e63655f6f6606537472696e67046275726e0f6275726e5f62795f63726561746f7217636865636b5f636f6c6c656374696f6e5f65786973747316636865636b5f746f6b656e646174615f657869737473116372656174655f636f6c6c656374696f6e236372656174655f636f6c6c656374696f6e5f6d75746162696c6974795f636f6e666967186372656174655f636f6c6c656374696f6e5f736372697074146372656174655f746f6b656e5f646174615f69640f6372656174655f746f6b656e5f6964136372656174655f746f6b656e5f69645f7261771e6372656174655f746f6b656e5f6d75746162696c6974795f636f6e666967136372656174655f746f6b656e5f736372697074106372656174655f746f6b656e646174611a6372656174655f77697468647261775f6361706162696c6974790d6465706f7369745f746f6b656e1764657374726f795f636f6c6c656374696f6e5f646174611264657374726f795f746f6b656e5f646174610e6469726563745f6465706f7369741a6469726563745f6465706f7369745f776974685f6f70745f696e0f6469726563745f7472616e73666572166469726563745f7472616e736665725f736372697074064f7074696f6e156765745f636f6c6c656374696f6e5f737570706c790b50726f70657274794d6170106765745f70726f70657274795f6d61700b6765745f726f79616c7479176765745f726f79616c74795f64656e6f6d696e61746f72156765745f726f79616c74795f6e756d657261746f72116765745f726f79616c74795f7061796565106765745f746f6b656e5f616d6f756e74186765745f746f6b656e5f646174615f69645f6669656c64730c6765745f746f6b656e5f6964136765745f746f6b656e5f69645f6669656c6473106765745f746f6b656e5f737570706c79266765745f746f6b656e646174615f6c6172676573745f70726f70657274795f76657273696f6e116765745f746f6b656e646174615f7572690f6861735f746f6b656e5f73746f726510696e697469616c697a655f746f6b656e17696e697469616c697a655f746f6b656e5f73637269707416696e697469616c697a655f746f6b656e5f73746f7265056d657267650b6d696e745f7363726970740a6d696e745f746f6b656e0d6d696e745f746f6b656e5f746f106d75746174655f6f6e655f746f6b656e176d75746174655f746f6b656e5f70726f70657274696573196d75746174655f746f6b656e646174615f70726f7065727479146d75746174655f746f6b656e646174615f757269166f70745f696e5f6469726563745f7472616e736665720573706c697408746f6b656e5f6964087472616e736665721e7570646174655f746f6b656e5f70726f70657274795f696e7465726e616c0e77697468647261775f746f6b656e1877697468647261775f776974685f6361706162696c6974791c77697468647261775f776974685f6576656e745f696e7465726e616c02696406616d6f756e740b6465736372697074696f6e046e616d650375726906737570706c79076d6178696d756d116d75746162696c6974795f636f6e6669670f636f6c6c656374696f6e5f64617461055461626c650a746f6b656e5f64617461186372656174655f636f6c6c656374696f6e5f6576656e74730b4576656e7448616e646c65186372656174655f746f6b656e5f646174615f6576656e7473116d696e745f746f6b656e5f6576656e74730763726561746f720f636f6c6c656374696f6e5f6e616d6515726f79616c74795f70617965655f616464726573731a726f79616c74795f706f696e74735f64656e6f6d696e61746f7218726f79616c74795f706f696e74735f6e756d657261746f720d70726f70657274795f6b6579730f70726f70657274795f76616c7565730e70726f70657274795f7479706573066f6c645f6964066e65775f6964046b6579730676616c7565730574797065730d70617965655f6164647265737310746f6b656e5f70726f70657274696573186c6172676573745f70726f70657274795f76657273696f6e07726f79616c74791264656661756c745f70726f706572746965730a636f6c6c656374696f6e0d746f6b656e5f646174615f69641070726f70657274795f76657273696f6e0a70726f7065727469657306746f6b656e730e6465706f7369745f6576656e74730f77697468647261775f6576656e74730b6275726e5f6576656e74731c6d75746174655f746f6b656e5f70726f70657274795f6576656e74730b746f6b656e5f6f776e65720e65787069726174696f6e5f73656308636f6e7461696e7306626f72726f7710696e76616c69645f617267756d656e74096e6f745f666f756e640a626f72726f775f6d757404757466380c636f6e7461696e735f6b6579117065726d697373696f6e5f64656e69656409726561645f626f6f6c0a616464726573735f6f660a656d69745f6576656e740672656d6f7665066c656e677468036e6577106e65775f6576656e745f68616e646c650e616c72656164795f6578697374730361646404736f6d65046e6f6e6505656d707479137570646174655f70726f70657274795f6d61700d696e76616c69645f73746174650b6e6f775f7365636f6e6473000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010a021a19544f4b454e5f4255524e41424c455f42595f43524541544f520a021817544f4b454e5f4255524e41424c455f42595f4f574e45520308000000000000000003080200000000000000030801000000000000000308200000000000000003080300000000000000030819000000000000000308040000000000000003081f0000000000000003080d0000000000000003080500000000000000030806000000000000000308070000000000000003081a00000000000000030812000000000000000308080000000000000003081d0000000000000003081c000000000000000308130000000000000003080e0000000000000003080f0000000000000003081e00000000000000030821000000000000000308090000000000000003080a0000000000000003080c0000000000000003080b0000000000000003081b00000000000000030810000000000000000308110000000000000003088000000000000000030800020000000000000a021817544f4b454e5f50524f50455254595f4d55544154424c45126170746f733a3a6d657461646174615f7630b70f1d00000000000000001445414c52454144595f4841535f42414c414e43452f54686520746f6b656e206861732062616c616e636520616e642063616e6e6f7420626520696e697469616c697a656401000000000000001a45434f4c4c454354494f4e535f4e4f545f5055424c49534845442d54686572652069736e277420616e7920636f6c6c656374696f6e20756e6465722074686973206163636f756e7402000000000000001945434f4c4c454354494f4e5f4e4f545f5055424c49534845442b43616e6e6f742066696e6420636f6c6c656374696f6e20696e2063726561746f722773206163636f756e7403000000000000001a45434f4c4c454354494f4e5f414c52454144595f4558495354531d54686520636f6c6c656374696f6e20616c726561647920657869737473040000000000000027454352454154455f574f554c445f4558434545445f434f4c4c454354494f4e5f4d4158494d554d35457863656564732074686520636f6c6c656374696f6e2773206d6178696d616c206e756d626572206f6620746f6b656e5f6461746105000000000000001545494e53554646494349454e545f42414c414e43451a496e73756666696369656e7420746f6b656e2062616c616e636506000000000000001445494e56414c49445f544f4b454e5f4d455247453343616e6e6f74206d65726765207468652074776f20746f6b656e73207769746820646966666572656e7420746f6b656e206964070000000000000020454d494e545f574f554c445f4558434545445f544f4b454e5f4d4158494d554d254578636565642074686520746f6b656e2064617461206d6178696d616c20616c6c6f776564080000000000000013454e4f5f4255524e5f4341504142494c495459124e6f206275726e206361706162696c69747909000000000000001a45544f4b454e5f444154415f414c52454144595f45584953545318546f6b656e4461746120616c7265616479206578697374730a000000000000001945544f4b454e5f444154415f4e4f545f5055424c495348454417546f6b656e44617461206e6f74207075626c69736865640b000000000000001a45544f4b454e5f53544f52455f4e4f545f5055424c495348454418546f6b656e53746f726520646f65736e27742065786973740c000000000000003345544f4b454e5f53504c49545f414d4f554e545f4c41524745525f4f525f455155414c5f544f5f544f4b454e5f414d4f554e543643616e6e6f742073706c697420746f6b656e20746f20616e20616d6f756e74206c6172676572207468616e2069747320616d6f756e740d0000000000000012454649454c445f4e4f545f4d555441424c4518546865206669656c64206973206e6f74206d757461626c650e0000000000000015454e4f5f4d55544154455f4341504142494c495459184e6f7420617574686f72697a656420746f206d75746174650f0000000000000018454e4f5f544f4b454e5f494e5f544f4b454e5f53544f52451c546f6b656e206e6f7420696e2074686520746f6b656e2073746f726510000000000000002045555345525f4e4f545f4f50545f494e5f4449524543545f5452414e534645522255736572206469646e2774206f70742d696e20646972656374207472616e7366657211000000000000000e4557495448445241575f5a45524f1743616e6e6f74207769746864726177203020746f6b656e120000000000000012454e46545f4e4f545f53504c495441424c452b43616e6e6f742073706c6974206120746f6b656e2074686174206f6e6c7920686173203120616d6f756e74130000000000000013454e4f5f4d494e545f4341504142494c495459124e6f206d696e74206361706162696c69747919000000000000001945434f4c4c454354494f4e5f4e414d455f544f4f5f4c4f4e471f54686520636f6c6c656374696f6e206e616d6520697320746f6f206c6f6e671a0000000000000012454e46545f4e414d455f544f4f5f4c4f4e4718546865204e4654206e616d6520697320746f6f206c6f6e671b000000000000000d455552495f544f4f5f4c4f4e47135468652055524920697320746f6f206c6f6e671c0000000000000022454e4f5f4445504f5349545f544f4b454e5f574954485f5a45524f5f414d4f554e542443616e6e6f74206465706f736974206120546f6b656e2077697468203020616d6f756e741d00000000000000174557495448445241575f50524f4f465f455850495245531657697468647261772070726f6f6620657870697265731e0000000000000018454f574e45525f43414e4e4f545f4255524e5f544f4b454e1e546f6b656e206973206e6f74206275726e61626c65206279206f776e65721f000000000000001a4543524541544f525f43414e4e4f545f4255524e5f544f4b454e20546f6b656e206973206e6f74206275726e61626c652062792063726561746f722000000000000000204543414e4e4f545f5550444154455f52455345525645445f50524f50455254593d5265736572766564206669656c647320666f7220746f6b656e20636f6e74726163740a2043616e6e6f742062652075706461746564206279207573657221000000000000001e45544f4b454e5f43414e4e4f545f484156455f5a45524f5f414d4f554e5422544f4b454e2077697468203020616d6f756e74206973206e6f7420616c6c6f77656400020256080d57030102065808125908125a08125b035c035d080202020358015a015c010302055e0b150208120801600b1502080c080b610b16010804630b16010805640b1601080704020565056608125a08125808125c0305020c56080c5808125c035a08126705680369035908125d080e6a0a08126b0a0a026c0a081206020256080d570307020256080c57030802056d080d6e080d6f0a0812700a0a02710a08120902036903680372050a020356080d57037308140b02095c0374035b035a08127508095908125808127608145d080e0c020365057708125908120d020278080c79030e02055c015a01750158017a010f02067b0b1502080d080a31017c0b160108067d0b160108117e0b160108007f0b1601080810020480010550080d570381010311020256080d5703000100010f341e0a00290f2003050507060000000000000000020b002b0f0c030a0310000a013800031005180b0310000b0138011001140c02051c0b03010600000000000000000c020b020201010402030f38bc010a050600000000000000002403090b000107111139270b010b020b030b04110a0c110e1110021003140c0e0a0e2903031c0b00010704113a270b0e2a030c0d0a0d10040e111002143802032d0b00010b0d010719113a270a0d0f040e1110021438030c0f0a0f10050c070701113c0c060b070e06113d03470b0f010b00010b0d010716113e270b0f10050c090701113c0c080b090e08113f0c0a0b0a035a0b00010b0d010716113e270a000a110b051134130a010c0b010b0011402a0f0c120b120f060a110a0b120038040a0d0f040e1110021438030c100a1010071406000000000000000024037a05b7010a101008140b0b170a100f08150b101008140600000000000000002103890105b4010a0d0f040e11100214380511110a0d0f090e111002100a1438060c0c0a0c100b14060100000000000000170a0c0f0b150a0c100b140600000000000000002103a70105af010b0d0f090b0c100c143807111005b3010b0d010b0c0105b6010b0d0105bb010b10010b0d010202010402030f42af010b0011400c0f0a0506000000000000000024030a07111139270a0f0b020b030b04110a0c110e1110021003140c0e0b0e2903031b0704113a270b0f2a030c0d0a0d10040e111002143802032a0b0d010719113a270a0d0f040e1110021438030c100a1010050c070700113c0c060b070e06113d03420b10010b0d010709113e270a1010050c090700113c0c080b090e08113f0c0a0b0a03550b10010b0d010709113e270a010a110b051136130a010c0b010b012a0f0c120b120f060a110a0b120038040a1010071406000000000000000024036d05aa010a101008140b0b170a100f08150b1010081406000000000000000021037c05a7010a0d0f040e11100214380511110a0d0f090e111002100a1438060c0c0a0c100b14060100000000000000170a0c0f0b150a0c100b1406000000000000000021039a0105a2010b0d0f090b0c100c143807111005a6010b0d010b0c0105a9010b0d0105ae010b10010b0d01020301000103430e0a00290303060704113a270b002b0310090c020b020b01380802040100010344130a00290303060704113a270a002b0310040c030b000b010b0211080c040b030b043802020501000103455b0e011143071f25030a0b000107071139270e03114307202503140b0001071c1139270a0011400c080a08290320031c05280a003809380a0a00380b0a00380c0b00380d12032d03052a0b00010a082a030f090c0a0a0a0a010c070c060b062e0b07380820033d0b0a0107061146270e0511060c0c0a020e01140a030600000000000000000a040b0c12010c090b0a0a010b09380e0a082a030c0b0b0b0f0d0b080e01140b030b020b041204380f0206010000030e0a0007024205140a0007044205140b000703420514120202070104010303080b000b010b020b030b040b051105020801000003150e011143071f25030807071139270e021143071f250310070e1139270b000b010b02120c020901000003040b000b01120d020a01000003070b000b010b0211080b03120d020b01000003160a0007024205140a0007044205140a0007064205140a0007034205140b000708420514120e020c010402030f4d180e0a110b0c0e0a000b010b020b030b050b060b070b080b090b0e0b0b0b0c0b0d110d0c0f0b000b0f0b04112901020d010001034e9e010e021143071f25030a0b0001070e1139270e011143071f2503140b000107071139270e051143072025031e0b0001071c1139270b0011400c140a14290303270704113a270a142a030c160b140b010a0211080c180a1610090e18100a143808033b0b16010703113a270a1610040a1838022003460b160107181146270a160f090e18100a1438060c150a15100e14060000000000000000240354056a0a15100b14060100000000000000160a150f0b150a15100e140b15100b142603690b16010708113927056c0b15010a040c130a050c100a070c0d0a080c0e0a060c0f0b130600000000000000000600000000000000000b100b0e0b0d0b0f12090a020a030a0a0a0b0a0c11480a09120b0c170a160f040a180b1738100b160f0f0a180b030b040b050b060b070b080b020b090b0a0b0b0b0c120538110b18020e01000003070b0011400b010b020b031210020f0100010f1d090a0011400c020b0011260b020b011112021000000003090b0013010101010101010211000000030c0b00130b01010101010101010102120000010f503a0e0110011406000000000000000024030907171139270a002a0f0c030a030f100e011011140e01100114120638120b00290f031e0b0301071b113a270a0310000e011011143800200327052f0b030f000e011011140b01381305390b030f000e0110111438140c020b020b01112702130100010f050e0a002b0f1012140c020b02030a071d113e270b000b01111202140100010f2f090b000b020b0311340c040b010b04110f02150104010f0c0c0b020b030b040b05110a0c070b000b010b070b061114021601000103522a0a00290303060704113a270b002b0310090c040a040a01380803130b04010703113a270b040b0138150c030a03100e1406000000000000000024031e05240b03100b1438160c0205280b030138170c020b020217010002030f553b0a000a011100060000000000000000240309070b113a270e01101314060000000000000000210310052f0e0110021003140c040b042b0310040c030a030e01100214380203240b03010719113a270b030e0110021438180c050b051005140c0205390b002b0f10000c060b060b0138011014140c020b0202180100010356230e001002140c040e041003140c020a022903030e0704113a270b022b0310040c010a010a043802031b0b01010719113a270b010b0438180c030b03101514021901000003040b00101614021a01000003040b00101714021b01000003040b00101814021c01000003040b00100114021d010000030a0a001003140a00100a140b00101914021e01000003040b00101114021f01000003100a0010021003140a001002100a140a0010021019140b00101314022001000103572a0a00290303060704113a270b002b0310040c030a030a01380203130b03010719113a270b030b0138180c040a0410071406000000000000000024031e05240b0410081438160c0205280b040138170c020b0202210100010358190a00290303060704113a270b002b0310040c020a020a01380203130b02010719113a270b020b013818101a14022201000103591b0a00290303060704113a270b002b0310040c020a020a01380203130b02010719113a270b020b0138180c030b03101b14022301000003030b00290f0224010000030206000000000000000027250104000302060000000000000000272601000003170a001140290f20030605140a003819090a00381a0a00381b0a00381c0b00381d120f2d0f05160b00010227010000031b0a0010110e01101121030b0b0001070c1139270a001001140e01100114160b000f01150b01130a0101010228010402030f0a170b010b020b0311080c050e051003140a0011402103110b00010713113e270b000b050b041129010229010002030f5c5e0e011003140a00114021030c0b00010713113e270e011003140c060a062a030f040c050a050a010c040c030b032e0b04380203240b05010b00010719113a270b050a0138030c070a0710071406000000000000000024032f05490a071008140a02160a071007142503400b07010b0001070d1139270a071008140a02160b070f0815054b0b07010a0106000000000000000011090c080b000a080a02114b120a110f0b062a030f1c0b010b021207381e0b08022a010002030f5d6b0a01290f03080b0001071b113a270a012b0f1012140c080b0803140b0001071d113e270e021003140b00114021031e0713113e270e021003140c070a072a030f040c060a060a020c050c040b042e0b05380203340b06010719113a270b060a0238030c090a0910071406000000000000000024033f05570a091008140a03160a0910071425034e0b0901070d1139270a091008140a03160b090f081505590b09010a0206000000000000000011090c0a0b010b0a0a03114b120a11120b072a030f1c0b020b031207381e022b010002030f5ea6010e0210021003140c0e0b0011400a0e21030c0714270a0e290303110704270b0e2a030f040c0d0a0d0e021002140c070c060b062e0b07380203250b0d010719113a270b0d0e0210021438030c130a13101d101e1420033205520a1310050c090721113c0c080b090e08113d03410b1301070a113e270a1310050c0b0721113c0c0a0b0b0e0a113f0c140b1403520b1301070a113e270e021013140600000000000000002103590590010a010a0206010000000000000011360c120a13101a14060100000000000000160c0f0e021002140a0f11090c110a110601000000000000000a13100514120a0c100a010b1011120a010a110a030a040a0511330b012a0f0f1f0b020a110b030b040b051208381f0b0f0b130f1a150b12130a0101010b110c0c05a4010b13010a010a020a030a040a0511330b012a0f0f1f0a020a020b030b040b051208381f0b020c0c0b0c022c010402030f5f270a0011400a0221030a0b00010714113a270600000000000000000c0a0b020b030b040b05110a0c0b0a0a0a0623031705240a000a010a0b0a070a080a09112b010b0a060100000000000000160c0a05120b0001022d0100010360370e011003140c080b0011400a0821030b0714270a08290303100704270b082a030f040c070a070a010c060c050b052e0b06380203220b07010719113a270b070b0138030c090a09101d101e1403300b0901070a113e270b090f050b020b030b04114c022e01000103603f0e021143072025030a0b0001071c1139270e011003140c060b0011400a062103150714270a062903031a0704270b062a030f040c050a050a010c040c030b032e0b043802032c0b05010719113a270b050b0138030c070a07101d102014033a0b0701070a113e270b020b070f1b15022f0104010f620d0a0011400c020b0011260b022a0f0f120c030b010b03150230010000032f0a00101110131406000000000000000021030c0b0001070f114d270a001001140a012403170b0001071a1139270a010600000000000000002403200b000107171139270a001001140a01170a000f01150b001011140b01114b120a023101000003030b00101102320100010f63150a022b0f1012140c040b04030c0b0001071d113e270b000b010b0311340c050b020b05111202330000010f641d0b002a0f0f000c070a070a010c060c050b052e0b06380003120b07010715113a270b070b0138140f140c080b080b020b030b04114c02340100010f1d080b0011400c030b030b010b02113602350100010f0314114e0e0010211425030907111139270e001022140e001023140e00102414113602360000010f65520a02060000000000000000240307071e1139270a000a0111000a02260310070b1139270a00290f0316071b113a270a002a0f0c070b070f250a010a02121138200b002a0f0f000c080a080a010c040c030b032e0b04380003310b08010715113a270a080a0138140f010c060a06140a0224033c054a0b08010a06140a02170b06150b010b02114b120a0c0505500b06010b080b0138210c050b05020f000a010d000c0003010b070f040b000b0203000c01010301010302010403030f020a000f010d010a020b040901090009020c020b010b0303040b080e040f050e0110031000100110020f0300",
4
- "abi": {
5
- "address": "0x3",
6
- "name": "token",
7
- "friends": [],
8
- "exposed_functions": [
9
- {
10
- "name": "balance_of",
11
- "visibility": "public",
12
- "is_entry": false,
13
- "generic_type_params": [],
14
- "params": ["address", "0x3::token::TokenId"],
15
- "return": ["u64"]
16
- },
17
- {
18
- "name": "burn",
19
- "visibility": "public",
20
- "is_entry": true,
21
- "generic_type_params": [],
22
- "params": ["&signer", "address", "0x1::string::String", "0x1::string::String", "u64", "u64"],
23
- "return": []
24
- },
25
- {
26
- "name": "burn_by_creator",
27
- "visibility": "public",
28
- "is_entry": true,
29
- "generic_type_params": [],
30
- "params": ["&signer", "address", "0x1::string::String", "0x1::string::String", "u64", "u64"],
31
- "return": []
32
- },
33
- {
34
- "name": "check_collection_exists",
35
- "visibility": "public",
36
- "is_entry": false,
37
- "generic_type_params": [],
38
- "params": ["address", "0x1::string::String"],
39
- "return": ["bool"]
40
- },
41
- {
42
- "name": "check_tokendata_exists",
43
- "visibility": "public",
44
- "is_entry": false,
45
- "generic_type_params": [],
46
- "params": ["address", "0x1::string::String", "0x1::string::String"],
47
- "return": ["bool"]
48
- },
49
- {
50
- "name": "create_collection",
51
- "visibility": "public",
52
- "is_entry": false,
53
- "generic_type_params": [],
54
- "params": [
55
- "&signer",
56
- "0x1::string::String",
57
- "0x1::string::String",
58
- "0x1::string::String",
59
- "u64",
60
- "vector<bool>"
61
- ],
62
- "return": []
63
- },
64
- {
65
- "name": "create_collection_mutability_config",
66
- "visibility": "public",
67
- "is_entry": false,
68
- "generic_type_params": [],
69
- "params": ["&vector<bool>"],
70
- "return": ["0x3::token::CollectionMutabilityConfig"]
71
- },
72
- {
73
- "name": "create_collection_script",
74
- "visibility": "public",
75
- "is_entry": true,
76
- "generic_type_params": [],
77
- "params": [
78
- "&signer",
79
- "0x1::string::String",
80
- "0x1::string::String",
81
- "0x1::string::String",
82
- "u64",
83
- "vector<bool>"
84
- ],
85
- "return": []
86
- },
87
- {
88
- "name": "create_token_data_id",
89
- "visibility": "public",
90
- "is_entry": false,
91
- "generic_type_params": [],
92
- "params": ["address", "0x1::string::String", "0x1::string::String"],
93
- "return": ["0x3::token::TokenDataId"]
94
- },
95
- {
96
- "name": "create_token_id",
97
- "visibility": "public",
98
- "is_entry": false,
99
- "generic_type_params": [],
100
- "params": ["0x3::token::TokenDataId", "u64"],
101
- "return": ["0x3::token::TokenId"]
102
- },
103
- {
104
- "name": "create_token_id_raw",
105
- "visibility": "public",
106
- "is_entry": false,
107
- "generic_type_params": [],
108
- "params": ["address", "0x1::string::String", "0x1::string::String", "u64"],
109
- "return": ["0x3::token::TokenId"]
110
- },
111
- {
112
- "name": "create_token_mutability_config",
113
- "visibility": "public",
114
- "is_entry": false,
115
- "generic_type_params": [],
116
- "params": ["&vector<bool>"],
117
- "return": ["0x3::token::TokenMutabilityConfig"]
118
- },
119
- {
120
- "name": "create_token_script",
121
- "visibility": "public",
122
- "is_entry": true,
123
- "generic_type_params": [],
124
- "params": [
125
- "&signer",
126
- "0x1::string::String",
127
- "0x1::string::String",
128
- "0x1::string::String",
129
- "u64",
130
- "u64",
131
- "0x1::string::String",
132
- "address",
133
- "u64",
134
- "u64",
135
- "vector<bool>",
136
- "vector<0x1::string::String>",
137
- "vector<vector<u8>>",
138
- "vector<0x1::string::String>"
139
- ],
140
- "return": []
141
- },
142
- {
143
- "name": "create_tokendata",
144
- "visibility": "public",
145
- "is_entry": false,
146
- "generic_type_params": [],
147
- "params": [
148
- "&signer",
149
- "0x1::string::String",
150
- "0x1::string::String",
151
- "0x1::string::String",
152
- "u64",
153
- "0x1::string::String",
154
- "address",
155
- "u64",
156
- "u64",
157
- "0x3::token::TokenMutabilityConfig",
158
- "vector<0x1::string::String>",
159
- "vector<vector<u8>>",
160
- "vector<0x1::string::String>"
161
- ],
162
- "return": ["0x3::token::TokenDataId"]
163
- },
164
- {
165
- "name": "create_withdraw_capability",
166
- "visibility": "public",
167
- "is_entry": false,
168
- "generic_type_params": [],
169
- "params": ["&signer", "0x3::token::TokenId", "u64", "u64"],
170
- "return": ["0x3::token::WithdrawCapability"]
171
- },
172
- {
173
- "name": "deposit_token",
174
- "visibility": "public",
175
- "is_entry": false,
176
- "generic_type_params": [],
177
- "params": ["&signer", "0x3::token::Token"],
178
- "return": []
179
- },
180
- {
181
- "name": "direct_deposit_with_opt_in",
182
- "visibility": "public",
183
- "is_entry": false,
184
- "generic_type_params": [],
185
- "params": ["address", "0x3::token::Token"],
186
- "return": []
187
- },
188
- {
189
- "name": "direct_transfer",
190
- "visibility": "public",
191
- "is_entry": false,
192
- "generic_type_params": [],
193
- "params": ["&signer", "&signer", "0x3::token::TokenId", "u64"],
194
- "return": []
195
- },
196
- {
197
- "name": "direct_transfer_script",
198
- "visibility": "public",
199
- "is_entry": true,
200
- "generic_type_params": [],
201
- "params": ["&signer", "&signer", "address", "0x1::string::String", "0x1::string::String", "u64", "u64"],
202
- "return": []
203
- },
204
- {
205
- "name": "get_collection_supply",
206
- "visibility": "public",
207
- "is_entry": false,
208
- "generic_type_params": [],
209
- "params": ["address", "0x1::string::String"],
210
- "return": ["0x1::option::Option<u64>"]
211
- },
212
- {
213
- "name": "get_property_map",
214
- "visibility": "public",
215
- "is_entry": false,
216
- "generic_type_params": [],
217
- "params": ["address", "0x3::token::TokenId"],
218
- "return": ["0x3::property_map::PropertyMap"]
219
- },
220
- {
221
- "name": "get_royalty",
222
- "visibility": "public",
223
- "is_entry": false,
224
- "generic_type_params": [],
225
- "params": ["0x3::token::TokenId"],
226
- "return": ["0x3::token::Royalty"]
227
- },
228
- {
229
- "name": "get_royalty_denominator",
230
- "visibility": "public",
231
- "is_entry": false,
232
- "generic_type_params": [],
233
- "params": ["&0x3::token::Royalty"],
234
- "return": ["u64"]
235
- },
236
- {
237
- "name": "get_royalty_numerator",
238
- "visibility": "public",
239
- "is_entry": false,
240
- "generic_type_params": [],
241
- "params": ["&0x3::token::Royalty"],
242
- "return": ["u64"]
243
- },
244
- {
245
- "name": "get_royalty_payee",
246
- "visibility": "public",
247
- "is_entry": false,
248
- "generic_type_params": [],
249
- "params": ["&0x3::token::Royalty"],
250
- "return": ["address"]
251
- },
252
- {
253
- "name": "get_token_amount",
254
- "visibility": "public",
255
- "is_entry": false,
256
- "generic_type_params": [],
257
- "params": ["&0x3::token::Token"],
258
- "return": ["u64"]
259
- },
260
- {
261
- "name": "get_token_data_id_fields",
262
- "visibility": "public",
263
- "is_entry": false,
264
- "generic_type_params": [],
265
- "params": ["&0x3::token::TokenDataId"],
266
- "return": ["address", "0x1::string::String", "0x1::string::String"]
267
- },
268
- {
269
- "name": "get_token_id",
270
- "visibility": "public",
271
- "is_entry": false,
272
- "generic_type_params": [],
273
- "params": ["&0x3::token::Token"],
274
- "return": ["0x3::token::TokenId"]
275
- },
276
- {
277
- "name": "get_token_id_fields",
278
- "visibility": "public",
279
- "is_entry": false,
280
- "generic_type_params": [],
281
- "params": ["&0x3::token::TokenId"],
282
- "return": ["address", "0x1::string::String", "0x1::string::String", "u64"]
283
- },
284
- {
285
- "name": "get_token_supply",
286
- "visibility": "public",
287
- "is_entry": false,
288
- "generic_type_params": [],
289
- "params": ["address", "0x3::token::TokenDataId"],
290
- "return": ["0x1::option::Option<u64>"]
291
- },
292
- {
293
- "name": "get_tokendata_largest_property_version",
294
- "visibility": "public",
295
- "is_entry": false,
296
- "generic_type_params": [],
297
- "params": ["address", "0x3::token::TokenDataId"],
298
- "return": ["u64"]
299
- },
300
- {
301
- "name": "get_tokendata_uri",
302
- "visibility": "public",
303
- "is_entry": false,
304
- "generic_type_params": [],
305
- "params": ["address", "0x3::token::TokenDataId"],
306
- "return": ["0x1::string::String"]
307
- },
308
- {
309
- "name": "has_token_store",
310
- "visibility": "public",
311
- "is_entry": false,
312
- "generic_type_params": [],
313
- "params": ["address"],
314
- "return": ["bool"]
315
- },
316
- {
317
- "name": "initialize_token",
318
- "visibility": "public",
319
- "is_entry": false,
320
- "generic_type_params": [],
321
- "params": ["&signer", "0x3::token::TokenId"],
322
- "return": []
323
- },
324
- {
325
- "name": "initialize_token_script",
326
- "visibility": "public",
327
- "is_entry": true,
328
- "generic_type_params": [],
329
- "params": ["&signer"],
330
- "return": []
331
- },
332
- {
333
- "name": "initialize_token_store",
334
- "visibility": "public",
335
- "is_entry": false,
336
- "generic_type_params": [],
337
- "params": ["&signer"],
338
- "return": []
339
- },
340
- {
341
- "name": "merge",
342
- "visibility": "public",
343
- "is_entry": false,
344
- "generic_type_params": [],
345
- "params": ["&mut 0x3::token::Token", "0x3::token::Token"],
346
- "return": []
347
- },
348
- {
349
- "name": "mint_script",
350
- "visibility": "public",
351
- "is_entry": true,
352
- "generic_type_params": [],
353
- "params": ["&signer", "address", "0x1::string::String", "0x1::string::String", "u64"],
354
- "return": []
355
- },
356
- {
357
- "name": "mint_token",
358
- "visibility": "public",
359
- "is_entry": false,
360
- "generic_type_params": [],
361
- "params": ["&signer", "0x3::token::TokenDataId", "u64"],
362
- "return": ["0x3::token::TokenId"]
363
- },
364
- {
365
- "name": "mint_token_to",
366
- "visibility": "public",
367
- "is_entry": false,
368
- "generic_type_params": [],
369
- "params": ["&signer", "address", "0x3::token::TokenDataId", "u64"],
370
- "return": []
371
- },
372
- {
373
- "name": "mutate_one_token",
374
- "visibility": "public",
375
- "is_entry": false,
376
- "generic_type_params": [],
377
- "params": [
378
- "&signer",
379
- "address",
380
- "0x3::token::TokenId",
381
- "vector<0x1::string::String>",
382
- "vector<vector<u8>>",
383
- "vector<0x1::string::String>"
384
- ],
385
- "return": ["0x3::token::TokenId"]
386
- },
387
- {
388
- "name": "mutate_token_properties",
389
- "visibility": "public",
390
- "is_entry": true,
391
- "generic_type_params": [],
392
- "params": [
393
- "&signer",
394
- "address",
395
- "address",
396
- "0x1::string::String",
397
- "0x1::string::String",
398
- "u64",
399
- "u64",
400
- "vector<0x1::string::String>",
401
- "vector<vector<u8>>",
402
- "vector<0x1::string::String>"
403
- ],
404
- "return": []
405
- },
406
- {
407
- "name": "mutate_tokendata_property",
408
- "visibility": "public",
409
- "is_entry": false,
410
- "generic_type_params": [],
411
- "params": [
412
- "&signer",
413
- "0x3::token::TokenDataId",
414
- "vector<0x1::string::String>",
415
- "vector<vector<u8>>",
416
- "vector<0x1::string::String>"
417
- ],
418
- "return": []
419
- },
420
- {
421
- "name": "mutate_tokendata_uri",
422
- "visibility": "public",
423
- "is_entry": false,
424
- "generic_type_params": [],
425
- "params": ["&signer", "0x3::token::TokenDataId", "0x1::string::String"],
426
- "return": []
427
- },
428
- {
429
- "name": "opt_in_direct_transfer",
430
- "visibility": "public",
431
- "is_entry": true,
432
- "generic_type_params": [],
433
- "params": ["&signer", "bool"],
434
- "return": []
435
- },
436
- {
437
- "name": "split",
438
- "visibility": "public",
439
- "is_entry": false,
440
- "generic_type_params": [],
441
- "params": ["&mut 0x3::token::Token", "u64"],
442
- "return": ["0x3::token::Token"]
443
- },
444
- {
445
- "name": "token_id",
446
- "visibility": "public",
447
- "is_entry": false,
448
- "generic_type_params": [],
449
- "params": ["&0x3::token::Token"],
450
- "return": ["&0x3::token::TokenId"]
451
- },
452
- {
453
- "name": "transfer",
454
- "visibility": "public",
455
- "is_entry": false,
456
- "generic_type_params": [],
457
- "params": ["&signer", "0x3::token::TokenId", "address", "u64"],
458
- "return": []
459
- },
460
- {
461
- "name": "withdraw_token",
462
- "visibility": "public",
463
- "is_entry": false,
464
- "generic_type_params": [],
465
- "params": ["&signer", "0x3::token::TokenId", "u64"],
466
- "return": ["0x3::token::Token"]
467
- },
468
- {
469
- "name": "withdraw_with_capability",
470
- "visibility": "public",
471
- "is_entry": false,
472
- "generic_type_params": [],
473
- "params": ["0x3::token::WithdrawCapability"],
474
- "return": ["0x3::token::Token"]
475
- }
476
- ],
477
- "structs": [
478
- {
479
- "name": "BurnTokenEvent",
480
- "is_native": false,
481
- "abilities": ["drop", "store"],
482
- "generic_type_params": [],
483
- "fields": [
484
- {
485
- "name": "id",
486
- "type": "0x3::token::TokenId"
487
- },
488
- {
489
- "name": "amount",
490
- "type": "u64"
491
- }
492
- ]
493
- },
494
- {
495
- "name": "CollectionData",
496
- "is_native": false,
497
- "abilities": ["store"],
498
- "generic_type_params": [],
499
- "fields": [
500
- {
501
- "name": "description",
502
- "type": "0x1::string::String"
503
- },
504
- {
505
- "name": "name",
506
- "type": "0x1::string::String"
507
- },
508
- {
509
- "name": "uri",
510
- "type": "0x1::string::String"
511
- },
512
- {
513
- "name": "supply",
514
- "type": "u64"
515
- },
516
- {
517
- "name": "maximum",
518
- "type": "u64"
519
- },
520
- {
521
- "name": "mutability_config",
522
- "type": "0x3::token::CollectionMutabilityConfig"
523
- }
524
- ]
525
- },
526
- {
527
- "name": "CollectionMutabilityConfig",
528
- "is_native": false,
529
- "abilities": ["copy", "drop", "store"],
530
- "generic_type_params": [],
531
- "fields": [
532
- {
533
- "name": "description",
534
- "type": "bool"
535
- },
536
- {
537
- "name": "uri",
538
- "type": "bool"
539
- },
540
- {
541
- "name": "maximum",
542
- "type": "bool"
543
- }
544
- ]
545
- },
546
- {
547
- "name": "Collections",
548
- "is_native": false,
549
- "abilities": ["key"],
550
- "generic_type_params": [],
551
- "fields": [
552
- {
553
- "name": "collection_data",
554
- "type": "0x1::table::Table<0x1::string::String, 0x3::token::CollectionData>"
555
- },
556
- {
557
- "name": "token_data",
558
- "type": "0x1::table::Table<0x3::token::TokenDataId, 0x3::token::TokenData>"
559
- },
560
- {
561
- "name": "create_collection_events",
562
- "type": "0x1::event::EventHandle<0x3::token::CreateCollectionEvent>"
563
- },
564
- {
565
- "name": "create_token_data_events",
566
- "type": "0x1::event::EventHandle<0x3::token::CreateTokenDataEvent>"
567
- },
568
- {
569
- "name": "mint_token_events",
570
- "type": "0x1::event::EventHandle<0x3::token::MintTokenEvent>"
571
- }
572
- ]
573
- },
574
- {
575
- "name": "CreateCollectionEvent",
576
- "is_native": false,
577
- "abilities": ["drop", "store"],
578
- "generic_type_params": [],
579
- "fields": [
580
- {
581
- "name": "creator",
582
- "type": "address"
583
- },
584
- {
585
- "name": "collection_name",
586
- "type": "0x1::string::String"
587
- },
588
- {
589
- "name": "uri",
590
- "type": "0x1::string::String"
591
- },
592
- {
593
- "name": "description",
594
- "type": "0x1::string::String"
595
- },
596
- {
597
- "name": "maximum",
598
- "type": "u64"
599
- }
600
- ]
601
- },
602
- {
603
- "name": "CreateTokenDataEvent",
604
- "is_native": false,
605
- "abilities": ["drop", "store"],
606
- "generic_type_params": [],
607
- "fields": [
608
- {
609
- "name": "id",
610
- "type": "0x3::token::TokenDataId"
611
- },
612
- {
613
- "name": "description",
614
- "type": "0x1::string::String"
615
- },
616
- {
617
- "name": "maximum",
618
- "type": "u64"
619
- },
620
- {
621
- "name": "uri",
622
- "type": "0x1::string::String"
623
- },
624
- {
625
- "name": "royalty_payee_address",
626
- "type": "address"
627
- },
628
- {
629
- "name": "royalty_points_denominator",
630
- "type": "u64"
631
- },
632
- {
633
- "name": "royalty_points_numerator",
634
- "type": "u64"
635
- },
636
- {
637
- "name": "name",
638
- "type": "0x1::string::String"
639
- },
640
- {
641
- "name": "mutability_config",
642
- "type": "0x3::token::TokenMutabilityConfig"
643
- },
644
- {
645
- "name": "property_keys",
646
- "type": "vector<0x1::string::String>"
647
- },
648
- {
649
- "name": "property_values",
650
- "type": "vector<vector<u8>>"
651
- },
652
- {
653
- "name": "property_types",
654
- "type": "vector<0x1::string::String>"
655
- }
656
- ]
657
- },
658
- {
659
- "name": "DepositEvent",
660
- "is_native": false,
661
- "abilities": ["drop", "store"],
662
- "generic_type_params": [],
663
- "fields": [
664
- {
665
- "name": "id",
666
- "type": "0x3::token::TokenId"
667
- },
668
- {
669
- "name": "amount",
670
- "type": "u64"
671
- }
672
- ]
673
- },
674
- {
675
- "name": "MintTokenEvent",
676
- "is_native": false,
677
- "abilities": ["drop", "store"],
678
- "generic_type_params": [],
679
- "fields": [
680
- {
681
- "name": "id",
682
- "type": "0x3::token::TokenDataId"
683
- },
684
- {
685
- "name": "amount",
686
- "type": "u64"
687
- }
688
- ]
689
- },
690
- {
691
- "name": "MutateTokenPropertyMapEvent",
692
- "is_native": false,
693
- "abilities": ["drop", "store"],
694
- "generic_type_params": [],
695
- "fields": [
696
- {
697
- "name": "old_id",
698
- "type": "0x3::token::TokenId"
699
- },
700
- {
701
- "name": "new_id",
702
- "type": "0x3::token::TokenId"
703
- },
704
- {
705
- "name": "keys",
706
- "type": "vector<0x1::string::String>"
707
- },
708
- {
709
- "name": "values",
710
- "type": "vector<vector<u8>>"
711
- },
712
- {
713
- "name": "types",
714
- "type": "vector<0x1::string::String>"
715
- }
716
- ]
717
- },
718
- {
719
- "name": "Royalty",
720
- "is_native": false,
721
- "abilities": ["copy", "drop", "store"],
722
- "generic_type_params": [],
723
- "fields": [
724
- {
725
- "name": "royalty_points_numerator",
726
- "type": "u64"
727
- },
728
- {
729
- "name": "royalty_points_denominator",
730
- "type": "u64"
731
- },
732
- {
733
- "name": "payee_address",
734
- "type": "address"
735
- }
736
- ]
737
- },
738
- {
739
- "name": "Token",
740
- "is_native": false,
741
- "abilities": ["store"],
742
- "generic_type_params": [],
743
- "fields": [
744
- {
745
- "name": "id",
746
- "type": "0x3::token::TokenId"
747
- },
748
- {
749
- "name": "amount",
750
- "type": "u64"
751
- },
752
- {
753
- "name": "token_properties",
754
- "type": "0x3::property_map::PropertyMap"
755
- }
756
- ]
757
- },
758
- {
759
- "name": "TokenData",
760
- "is_native": false,
761
- "abilities": ["store"],
762
- "generic_type_params": [],
763
- "fields": [
764
- {
765
- "name": "maximum",
766
- "type": "u64"
767
- },
768
- {
769
- "name": "largest_property_version",
770
- "type": "u64"
771
- },
772
- {
773
- "name": "supply",
774
- "type": "u64"
775
- },
776
- {
777
- "name": "uri",
778
- "type": "0x1::string::String"
779
- },
780
- {
781
- "name": "royalty",
782
- "type": "0x3::token::Royalty"
783
- },
784
- {
785
- "name": "name",
786
- "type": "0x1::string::String"
787
- },
788
- {
789
- "name": "description",
790
- "type": "0x1::string::String"
791
- },
792
- {
793
- "name": "default_properties",
794
- "type": "0x3::property_map::PropertyMap"
795
- },
796
- {
797
- "name": "mutability_config",
798
- "type": "0x3::token::TokenMutabilityConfig"
799
- }
800
- ]
801
- },
802
- {
803
- "name": "TokenDataId",
804
- "is_native": false,
805
- "abilities": ["copy", "drop", "store"],
806
- "generic_type_params": [],
807
- "fields": [
808
- {
809
- "name": "creator",
810
- "type": "address"
811
- },
812
- {
813
- "name": "collection",
814
- "type": "0x1::string::String"
815
- },
816
- {
817
- "name": "name",
818
- "type": "0x1::string::String"
819
- }
820
- ]
821
- },
822
- {
823
- "name": "TokenId",
824
- "is_native": false,
825
- "abilities": ["copy", "drop", "store"],
826
- "generic_type_params": [],
827
- "fields": [
828
- {
829
- "name": "token_data_id",
830
- "type": "0x3::token::TokenDataId"
831
- },
832
- {
833
- "name": "property_version",
834
- "type": "u64"
835
- }
836
- ]
837
- },
838
- {
839
- "name": "TokenMutabilityConfig",
840
- "is_native": false,
841
- "abilities": ["copy", "drop", "store"],
842
- "generic_type_params": [],
843
- "fields": [
844
- {
845
- "name": "maximum",
846
- "type": "bool"
847
- },
848
- {
849
- "name": "uri",
850
- "type": "bool"
851
- },
852
- {
853
- "name": "royalty",
854
- "type": "bool"
855
- },
856
- {
857
- "name": "description",
858
- "type": "bool"
859
- },
860
- {
861
- "name": "properties",
862
- "type": "bool"
863
- }
864
- ]
865
- },
866
- {
867
- "name": "TokenStore",
868
- "is_native": false,
869
- "abilities": ["key"],
870
- "generic_type_params": [],
871
- "fields": [
872
- {
873
- "name": "tokens",
874
- "type": "0x1::table::Table<0x3::token::TokenId, 0x3::token::Token>"
875
- },
876
- {
877
- "name": "direct_transfer",
878
- "type": "bool"
879
- },
880
- {
881
- "name": "deposit_events",
882
- "type": "0x1::event::EventHandle<0x3::token::DepositEvent>"
883
- },
884
- {
885
- "name": "withdraw_events",
886
- "type": "0x1::event::EventHandle<0x3::token::WithdrawEvent>"
887
- },
888
- {
889
- "name": "burn_events",
890
- "type": "0x1::event::EventHandle<0x3::token::BurnTokenEvent>"
891
- },
892
- {
893
- "name": "mutate_token_property_events",
894
- "type": "0x1::event::EventHandle<0x3::token::MutateTokenPropertyMapEvent>"
895
- }
896
- ]
897
- },
898
- {
899
- "name": "WithdrawCapability",
900
- "is_native": false,
901
- "abilities": ["drop", "store"],
902
- "generic_type_params": [],
903
- "fields": [
904
- {
905
- "name": "token_owner",
906
- "type": "address"
907
- },
908
- {
909
- "name": "token_id",
910
- "type": "0x3::token::TokenId"
911
- },
912
- {
913
- "name": "amount",
914
- "type": "u64"
915
- },
916
- {
917
- "name": "expiration_sec",
918
- "type": "u64"
919
- }
920
- ]
921
- },
922
- {
923
- "name": "WithdrawEvent",
924
- "is_native": false,
925
- "abilities": ["drop", "store"],
926
- "generic_type_params": [],
927
- "fields": [
928
- {
929
- "name": "id",
930
- "type": "0x3::token::TokenId"
931
- },
932
- {
933
- "name": "amount",
934
- "type": "u64"
935
- }
936
- ]
937
- }
938
- ]
939
- }
940
- },
941
- {
942
- "bytecode": "0xa11ceb0b050000000c01000e020e140322d90104fb0112058d02e10107ee03eb0308d90740069908a70110c0098b040acb0d140cdf0ddb070dba15060000010101020103010401050106000707000008070005090700041e070200000000000a000100000b020300000c030400000d030500000e020600000f0708010100100908000011010a0000120b0c0000130d0a000014020e00001502060000160204000017020f000018020c000019021000001a111200001b130100001c1401000512150c0002210c0c00040e160602040402220c0c000412170c02040402230c0c00040a1801020404040b161902040406240104010005250504000126070501000427011c0204040328050e000329050600032a050400032b050f00032c050c00032d051000022e0c0c00041a1f20020404042f1f230204041512171219121a121b1b1d1b1e12261227120307080008020801000206080006080201060801010802010a02010101060900010801020a020802010800010608000103030a08020a0a020a0802010501040102020708000608020208020801040708000a08020a0a020a08020307080006080208010106080202060b03020900090106090001060b03020900090103070b030209000901090009010106090107010101010108010802010900010b03020900090104030802030800030708000608020102070b0302090009010609000209000901080708000608020306080203080103030407080006080201070801010709010c70726f70657274795f6d617003626373056572726f720866726f6d5f6263730a73696d706c655f6d617006737472696e6709747970655f696e666f0b50726f70657274794d61700d50726f706572747956616c756506537472696e670361646406626f72726f770b626f72726f775f747970650c626f72726f775f76616c75650c636f6e7461696e735f6b6579156372656174655f70726f70657274795f76616c7565196372656174655f70726f70657274795f76616c75655f72617705656d707479066c656e677468036e65770c726561645f6164647265737309726561645f626f6f6c0b726561645f737472696e6709726561645f7531323808726561645f75363407726561645f75380672656d6f7665137570646174655f70726f70657274795f6d6170157570646174655f70726f70657274795f76616c7565036d61700953696d706c654d61700576616c7565047479706510696e76616c69645f617267756d656e740e616c72656164795f6578697374730d696e76616c69645f737461746509747970655f6e616d65047574663808746f5f6279746573066372656174650a746f5f6164647265737307746f5f626f6f6c09746f5f737472696e6707746f5f7531323806746f5f75363405746f5f7538096e6f745f666f756e640a626f72726f775f6d757400000000000000000000000000000000000000000000000000000000000000030000000000000000000000000000000000000000000000000000000000000001030801000000000000000308050000000000000003080400000000000000030807000000000000000308030000000000000003080200000000000000030806000000000000000308e803000000000000030880000000000000000a020504626f6f6c0a02030275380a0204037536340a020504753132380a020807616464726573730a0214133078313a3a737472696e673a3a537472696e670a020b0a766563746f723c75383e126170746f733a3a6d657461646174615f7630f60307010000000000000021454b45595f4152454144595f45584953545f494e5f50524f50455254595f4d41501f5468652070726f7065727479206b657920616c72656164792065786973747302000000000000001d4550524f50455254595f4e554d4245525f4558434545445f4c494d495428546865206e756d626572206f662070726f7065727479206578636565647320746865206c696d69740300000000000000134550524f50455254595f4e4f545f45584953541a5468652070726f706572747920646f65736e2774206578697374040000000000000020454b45595f434f554e545f4e4f545f4d415443485f56414c55455f434f554e542850726f7065727479206b657920616e642076616c756520636f756e7420646f6e2774206d6174636805000000000000001f454b45595f434f554e545f4e4f545f4d415443485f545950455f434f554e542750726f7065727479206b657920616e64207479706520636f756e7420646f6e2774206d6174636806000000000000000f45545950455f4e4f545f4d415443481b50726f7065727479207479706520646f65736e2774206d6174636807000000000000001b4550524f50455254595f4d41505f4e414d455f544f4f5f4c4f4e472a546865206e616d6520286b657929206f66207468652070726f706572747920697320746f6f206c6f6e670002011d0b0302080208010102021f0a022008020001000001260e011113070825030a0b000107031114270a0010000e0138002003150b000107001116270a001000380107072303200b000107051118270b000f000b010b023802020101000006110a000a0111040c020b02030c0b00010b01010704270b0010000b013803020201000001040b00100114020301000001040b00100214020401000001050b0010000b01380002050100001a4d38040c070a070709111c210308050b080c0105100a07070a111c210c010b0103130516080c02051b0a07070b111c210c020b02031e0521080c0305260a07070c111c210c030b030329052c080c0405310a07070d111c210c040b0403340537080c05053c0a07070e111c210c050b05033f05450b0038050b0711060c06054b0b003805070f111c11060c060b06020601000001040b000b0112010207010000010338061200020801000001040b001000380102090100001d440e0041040c050a05070725030a07051114270a050e01410521031207021114270a050e02410421031a070111142711070c060600000000000000000c030a030a0523032305420e000a034204140c040e041113070825033007031114270d060f000b040e010a034205140e020a03420414120138020b03060100000000000000160c03051e0b06020a01000003150b000b0111010c020a02100114070d111c2103100b020107061118270b02100214111f020b01000003150b000b0111010c020a021001140709111c2103100b020107061118270b021002141120020c01000003150b000b0111010c020a02100114070e111c2103100b020107061118270b021002141121020d01000003150b000b0111010c020a02100114070c111c2103100b020107061118270b021002141122020e01000003150b000b0111010c020a02100114070b111c2103100b020107061118270b021002141123020f01000003150b000b0111010c020a02100114070a111c2103100b020107061118270b02100214112402100100001e170a000a010c030c020b022e0b0311040c040b0403120b00010b010107041125270b000f000b0138070211010000214d0e0141040c080e0241050c0b0e0341040c0a0a080b0b2103120b000107021118270b080b0a21031b0b000107011118270600000000000000000c060a060e014104230323054a0e010a0642040c070e020a064205140e030a0642041412010c090a000a070c050c040b042e0b051104033b05400a000b070b09111205450a000b07140b0911000b06060100000000000000160c06051d0b00010212010000221b0a000a010c040c030b032e0b0411040c050b0503120b00010b010107041125270b000f000b0138080c060b020b06150200000101010000",
943
- "abi": {
944
- "address": "0x3",
945
- "name": "property_map",
946
- "friends": [],
947
- "exposed_functions": [
948
- {
949
- "name": "add",
950
- "visibility": "public",
951
- "is_entry": false,
952
- "generic_type_params": [],
953
- "params": ["&mut 0x3::property_map::PropertyMap", "0x1::string::String", "0x3::property_map::PropertyValue"],
954
- "return": []
955
- },
956
- {
957
- "name": "borrow",
958
- "visibility": "public",
959
- "is_entry": false,
960
- "generic_type_params": [],
961
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
962
- "return": ["&0x3::property_map::PropertyValue"]
963
- },
964
- {
965
- "name": "borrow_type",
966
- "visibility": "public",
967
- "is_entry": false,
968
- "generic_type_params": [],
969
- "params": ["&0x3::property_map::PropertyValue"],
970
- "return": ["0x1::string::String"]
971
- },
972
- {
973
- "name": "borrow_value",
974
- "visibility": "public",
975
- "is_entry": false,
976
- "generic_type_params": [],
977
- "params": ["&0x3::property_map::PropertyValue"],
978
- "return": ["vector<u8>"]
979
- },
980
- {
981
- "name": "contains_key",
982
- "visibility": "public",
983
- "is_entry": false,
984
- "generic_type_params": [],
985
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
986
- "return": ["bool"]
987
- },
988
- {
989
- "name": "create_property_value",
990
- "visibility": "public",
991
- "is_entry": false,
992
- "generic_type_params": [
993
- {
994
- "constraints": ["copy"]
995
- }
996
- ],
997
- "params": ["&T0"],
998
- "return": ["0x3::property_map::PropertyValue"]
999
- },
1000
- {
1001
- "name": "create_property_value_raw",
1002
- "visibility": "public",
1003
- "is_entry": false,
1004
- "generic_type_params": [],
1005
- "params": ["vector<u8>", "0x1::string::String"],
1006
- "return": ["0x3::property_map::PropertyValue"]
1007
- },
1008
- {
1009
- "name": "empty",
1010
- "visibility": "public",
1011
- "is_entry": false,
1012
- "generic_type_params": [],
1013
- "params": [],
1014
- "return": ["0x3::property_map::PropertyMap"]
1015
- },
1016
- {
1017
- "name": "length",
1018
- "visibility": "public",
1019
- "is_entry": false,
1020
- "generic_type_params": [],
1021
- "params": ["&0x3::property_map::PropertyMap"],
1022
- "return": ["u64"]
1023
- },
1024
- {
1025
- "name": "new",
1026
- "visibility": "public",
1027
- "is_entry": false,
1028
- "generic_type_params": [],
1029
- "params": ["vector<0x1::string::String>", "vector<vector<u8>>", "vector<0x1::string::String>"],
1030
- "return": ["0x3::property_map::PropertyMap"]
1031
- },
1032
- {
1033
- "name": "read_address",
1034
- "visibility": "public",
1035
- "is_entry": false,
1036
- "generic_type_params": [],
1037
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
1038
- "return": ["address"]
1039
- },
1040
- {
1041
- "name": "read_bool",
1042
- "visibility": "public",
1043
- "is_entry": false,
1044
- "generic_type_params": [],
1045
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
1046
- "return": ["bool"]
1047
- },
1048
- {
1049
- "name": "read_string",
1050
- "visibility": "public",
1051
- "is_entry": false,
1052
- "generic_type_params": [],
1053
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
1054
- "return": ["0x1::string::String"]
1055
- },
1056
- {
1057
- "name": "read_u128",
1058
- "visibility": "public",
1059
- "is_entry": false,
1060
- "generic_type_params": [],
1061
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
1062
- "return": ["u128"]
1063
- },
1064
- {
1065
- "name": "read_u64",
1066
- "visibility": "public",
1067
- "is_entry": false,
1068
- "generic_type_params": [],
1069
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
1070
- "return": ["u64"]
1071
- },
1072
- {
1073
- "name": "read_u8",
1074
- "visibility": "public",
1075
- "is_entry": false,
1076
- "generic_type_params": [],
1077
- "params": ["&0x3::property_map::PropertyMap", "&0x1::string::String"],
1078
- "return": ["u8"]
1079
- },
1080
- {
1081
- "name": "remove",
1082
- "visibility": "public",
1083
- "is_entry": false,
1084
- "generic_type_params": [],
1085
- "params": ["&mut 0x3::property_map::PropertyMap", "&0x1::string::String"],
1086
- "return": ["0x1::string::String", "0x3::property_map::PropertyValue"]
1087
- },
1088
- {
1089
- "name": "update_property_map",
1090
- "visibility": "public",
1091
- "is_entry": false,
1092
- "generic_type_params": [],
1093
- "params": [
1094
- "&mut 0x3::property_map::PropertyMap",
1095
- "vector<0x1::string::String>",
1096
- "vector<vector<u8>>",
1097
- "vector<0x1::string::String>"
1098
- ],
1099
- "return": []
1100
- },
1101
- {
1102
- "name": "update_property_value",
1103
- "visibility": "public",
1104
- "is_entry": false,
1105
- "generic_type_params": [],
1106
- "params": ["&mut 0x3::property_map::PropertyMap", "&0x1::string::String", "0x3::property_map::PropertyValue"],
1107
- "return": []
1108
- }
1109
- ],
1110
- "structs": [
1111
- {
1112
- "name": "PropertyMap",
1113
- "is_native": false,
1114
- "abilities": ["copy", "drop", "store"],
1115
- "generic_type_params": [],
1116
- "fields": [
1117
- {
1118
- "name": "map",
1119
- "type": "0x1::simple_map::SimpleMap<0x1::string::String, 0x3::property_map::PropertyValue>"
1120
- }
1121
- ]
1122
- },
1123
- {
1124
- "name": "PropertyValue",
1125
- "is_native": false,
1126
- "abilities": ["copy", "drop", "store"],
1127
- "generic_type_params": [],
1128
- "fields": [
1129
- {
1130
- "name": "value",
1131
- "type": "vector<u8>"
1132
- },
1133
- {
1134
- "name": "type",
1135
- "type": "0x1::string::String"
1136
- }
1137
- ]
1138
- }
1139
- ]
1140
- }
1141
- },
1142
- {
1143
- "bytecode": "0xa11ceb0b050000000a01000e020e3a034837057f3a07b901dc040895064006d5065010a507b4040ad90b520cab0c6300000101010201030104010500060007060100010008040000090600000a08010001000b0800000c0600060d0700060f040003120700052007000422040203010001022404010601000e00010100001002010000110304010000130501010000140601010000150601000016070101000017000800001809080001290a0a0003060c0806030004060c080608070302050806010108060c03050508080808030301060c08060c050808080803030303010807030508060301030f746f6b656e5f636f696e5f73776170056572726f72056576656e7406737472696e67057461626c6509747970655f696e666f05746f6b656e0d546f6b656e436f696e537761700b546f6b656e457363726f7711546f6b656e4c697374696e674576656e740d546f6b656e4c697374696e677310546f6b656e53746f7265457363726f770e546f6b656e537761704576656e7407546f6b656e49641463616e63656c5f746f6b656e5f6c697374696e6705546f6b656e176465706f7369745f746f6b656e5f746f5f657363726f7712646f65735f6c697374696e675f657869737406537472696e671765786368616e67655f636f696e5f666f725f746f6b656e18696e697469616c697a655f746f6b656e5f6c697374696e671d696e697469616c697a655f746f6b656e5f73746f72655f657363726f77136c6973745f746f6b656e5f666f725f737761701a77697468647261775f746f6b656e5f66726f6d5f657363726f772377697468647261775f746f6b656e5f66726f6d5f657363726f775f696e7465726e616c0c746f6b656e5f616d6f756e74136d696e5f70726963655f7065725f746f6b656e116c6f636b65645f756e74696c5f7365637308746f6b656e5f696406616d6f756e74096d696e5f70726963650e636f696e5f747970655f696e666f0854797065496e666f086c697374696e6773055461626c650e6c697374696e675f6576656e74730b4576656e7448616e646c650b737761705f6576656e74730d746f6b656e5f657363726f77730b746f6b656e5f62757965720b636f696e5f616d6f756e7410696e76616c69645f617267756d656e74000000000000000000000000000000000000000000000000000000000000000300000000000000000000000000000000000000000000000000000000000000010308080000000000000003080700000000000000030801000000000000000308060000000000000003080400000000000000030802000000000000000308050000000000000003080300000000000000126170746f733a3a6d657461646174615f76309f040801000000000000001545544f4b454e5f414c52454144595f4c495354454414546f6b656e20616c7265616479206c697374656402000000000000001845544f4b454e5f4c495354494e475f4e4f545f45584953541e546f6b656e206c697374696e67206e6f206c6f6e6765722065786973747303000000000000001445544f4b454e5f4e4f545f494e5f455343524f5716546f6b656e206973206e6f7420696e20657363726f7704000000000000003345544f4b454e5f43414e4e4f545f4d4f56455f4f55545f4f465f455343524f575f4245464f52455f4c4f434b55505f54494d453a546f6b656e2063616e6e6f74206265206d6f766564206f7574206f6620657363726f77206265666f726520746865206c6f636b75702074696d6505000000000000001a45544f4b454e5f4d494e5f50524943455f4e4f545f4d415443482b546f6b656e2062757920707269636520646f65736e2774206d61746368206c697374696e6720707269636506000000000000001745544f4b454e5f414d4f554e545f4e4f545f4d415443482d546f6b656e2062757920616d6f756e7420646f65736e2774206d61746368206c697374696e6720616d6f756e74070000000000000010454e4f545f454e4f5547485f434f494e1c4e6f7420656e6f75676820636f696e20746f2062757920746f6b656e08000000000000001245444550524543415445445f4d4f44554c451144657072656361746564206d6f64756c6500020219031a030102020608071b030202051c08061d031e031b031f0809030203210b0a0208060b00010900230b0b010802250b0b010805040201260b0a02080608010502051c08062705190328031f080900010000010307001109270101000001030700110927020100000103070011092703010000010307001109270400000001030700110927050000000103070011092706010400010307001109270701000001030700110927080000000103070011092700",
1144
- "abi": {
1145
- "address": "0x3",
1146
- "name": "token_coin_swap",
1147
- "friends": [],
1148
- "exposed_functions": [
1149
- {
1150
- "name": "cancel_token_listing",
1151
- "visibility": "public",
1152
- "is_entry": false,
1153
- "generic_type_params": [
1154
- {
1155
- "constraints": []
1156
- }
1157
- ],
1158
- "params": ["&signer", "0x3::token::TokenId", "u64"],
1159
- "return": []
1160
- },
1161
- {
1162
- "name": "deposit_token_to_escrow",
1163
- "visibility": "public",
1164
- "is_entry": false,
1165
- "generic_type_params": [],
1166
- "params": ["&signer", "0x3::token::TokenId", "0x3::token::Token", "u64"],
1167
- "return": []
1168
- },
1169
- {
1170
- "name": "does_listing_exist",
1171
- "visibility": "public",
1172
- "is_entry": false,
1173
- "generic_type_params": [
1174
- {
1175
- "constraints": []
1176
- }
1177
- ],
1178
- "params": ["address", "0x3::token::TokenId"],
1179
- "return": ["bool"]
1180
- },
1181
- {
1182
- "name": "exchange_coin_for_token",
1183
- "visibility": "public",
1184
- "is_entry": false,
1185
- "generic_type_params": [
1186
- {
1187
- "constraints": []
1188
- }
1189
- ],
1190
- "params": [
1191
- "&signer",
1192
- "u64",
1193
- "address",
1194
- "address",
1195
- "0x1::string::String",
1196
- "0x1::string::String",
1197
- "u64",
1198
- "u64"
1199
- ],
1200
- "return": []
1201
- },
1202
- {
1203
- "name": "list_token_for_swap",
1204
- "visibility": "public",
1205
- "is_entry": true,
1206
- "generic_type_params": [
1207
- {
1208
- "constraints": []
1209
- }
1210
- ],
1211
- "params": ["&signer", "address", "0x1::string::String", "0x1::string::String", "u64", "u64", "u64", "u64"],
1212
- "return": []
1213
- },
1214
- {
1215
- "name": "withdraw_token_from_escrow",
1216
- "visibility": "public",
1217
- "is_entry": false,
1218
- "generic_type_params": [],
1219
- "params": ["&signer", "0x3::token::TokenId", "u64"],
1220
- "return": ["0x3::token::Token"]
1221
- }
1222
- ],
1223
- "structs": [
1224
- {
1225
- "name": "TokenCoinSwap",
1226
- "is_native": false,
1227
- "abilities": ["drop", "store"],
1228
- "generic_type_params": [
1229
- {
1230
- "constraints": []
1231
- }
1232
- ],
1233
- "fields": [
1234
- {
1235
- "name": "token_amount",
1236
- "type": "u64"
1237
- },
1238
- {
1239
- "name": "min_price_per_token",
1240
- "type": "u64"
1241
- }
1242
- ]
1243
- },
1244
- {
1245
- "name": "TokenEscrow",
1246
- "is_native": false,
1247
- "abilities": ["store"],
1248
- "generic_type_params": [],
1249
- "fields": [
1250
- {
1251
- "name": "token",
1252
- "type": "0x3::token::Token"
1253
- },
1254
- {
1255
- "name": "locked_until_secs",
1256
- "type": "u64"
1257
- }
1258
- ]
1259
- },
1260
- {
1261
- "name": "TokenListingEvent",
1262
- "is_native": false,
1263
- "abilities": ["drop", "store"],
1264
- "generic_type_params": [],
1265
- "fields": [
1266
- {
1267
- "name": "token_id",
1268
- "type": "0x3::token::TokenId"
1269
- },
1270
- {
1271
- "name": "amount",
1272
- "type": "u64"
1273
- },
1274
- {
1275
- "name": "min_price",
1276
- "type": "u64"
1277
- },
1278
- {
1279
- "name": "locked_until_secs",
1280
- "type": "u64"
1281
- },
1282
- {
1283
- "name": "coin_type_info",
1284
- "type": "0x1::type_info::TypeInfo"
1285
- }
1286
- ]
1287
- },
1288
- {
1289
- "name": "TokenListings",
1290
- "is_native": false,
1291
- "abilities": ["key"],
1292
- "generic_type_params": [
1293
- {
1294
- "constraints": []
1295
- }
1296
- ],
1297
- "fields": [
1298
- {
1299
- "name": "listings",
1300
- "type": "0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenCoinSwap<T0>>"
1301
- },
1302
- {
1303
- "name": "listing_events",
1304
- "type": "0x1::event::EventHandle<0x3::token_coin_swap::TokenListingEvent>"
1305
- },
1306
- {
1307
- "name": "swap_events",
1308
- "type": "0x1::event::EventHandle<0x3::token_coin_swap::TokenSwapEvent>"
1309
- }
1310
- ]
1311
- },
1312
- {
1313
- "name": "TokenStoreEscrow",
1314
- "is_native": false,
1315
- "abilities": ["key"],
1316
- "generic_type_params": [],
1317
- "fields": [
1318
- {
1319
- "name": "token_escrows",
1320
- "type": "0x1::table::Table<0x3::token::TokenId, 0x3::token_coin_swap::TokenEscrow>"
1321
- }
1322
- ]
1323
- },
1324
- {
1325
- "name": "TokenSwapEvent",
1326
- "is_native": false,
1327
- "abilities": ["drop", "store"],
1328
- "generic_type_params": [],
1329
- "fields": [
1330
- {
1331
- "name": "token_id",
1332
- "type": "0x3::token::TokenId"
1333
- },
1334
- {
1335
- "name": "token_buyer",
1336
- "type": "address"
1337
- },
1338
- {
1339
- "name": "token_amount",
1340
- "type": "u64"
1341
- },
1342
- {
1343
- "name": "coin_amount",
1344
- "type": "u64"
1345
- },
1346
- {
1347
- "name": "coin_type_info",
1348
- "type": "0x1::type_info::TypeInfo"
1349
- }
1350
- ]
1351
- }
1352
- ]
1353
- }
1354
- },
1355
- {
1356
- "bytecode": "0xa11ceb0b050000000c01001002102e033e7a04b8011605ce01e40107b203aa0408dc0740069c080a10a6084e0af408430cb7098d030dc40c08000001010102010301040105010600070008080000090600000a0600000b0600000c0700070d0700050f0700061804020301000107190400031b04010601000e0001000010020100001100010000120201000013030400001405010000150601000016070100042205090006230b0c02030007240d0e0007250f010003261101010607271312000628151602030002290e0e00062a0118020304012b051a0106072c1c1d00062d1e01020300062e0b1f020300072f200100090a0c100e0a0c17100a111911101117130a140a0c1903060c05080500060c050508060806030205080501080401060c04060c05080503070c05050806080603030503070b07020804080805080808040105020804080802070b070209000901090001090101060808010302060c080801080102070b0901090009000108050405080608060306070b070208040808080403070b0702080408080804080802060b07020900090109000101010802010b070209000901010803010b0901090007070b0702080408080804070808070b070208040808050808080403060c08050301080803070b07020900090109000901010709010207080808080f746f6b656e5f7472616e7366657273076163636f756e74056572726f72056576656e74067369676e657206737472696e67057461626c6505746f6b656e0d50656e64696e67436c61696d7315546f6b656e43616e63656c4f666665724576656e740f546f6b656e436c61696d4576656e740f546f6b656e4f666665724576656e740c546f6b656e4f66666572496407546f6b656e49640c63616e63656c5f6f6666657206537472696e671363616e63656c5f6f666665725f73637269707405636c61696d0c636c61696d5f736372697074156372656174655f746f6b656e5f6f666665725f69641a696e697469616c697a655f746f6b656e5f7472616e7366657273056f666665720c6f666665725f7363726970740e70656e64696e675f636c61696d73055461626c6505546f6b656e0c6f666665725f6576656e74730b4576656e7448616e646c651363616e63656c5f6f666665725f6576656e74730c636c61696d5f6576656e74730a746f5f6164647265737308746f6b656e5f696406616d6f756e7407746f5f616464720a616464726573735f6f660672656d6f7665106765745f746f6b656e5f616d6f756e740d6465706f7369745f746f6b656e0a656d69745f6576656e74136372656174655f746f6b656e5f69645f72617708636f6e7461696e73096e6f745f666f756e64036e6577106e65775f6576656e745f68616e646c650e77697468647261775f746f6b656e036164640a626f72726f775f6d7574056d657267650000000000000000000000000000000000000000000000000000000000000003000000000000000000000000000000000000000000000000000000000000000103080100000000000000126170746f733a3a6d657461646174615f76303a0101000000000000001645544f4b454e5f4f464645525f4e4f545f455849535419546f6b656e206f6666657220646f65736e2774206578697374000204170b0702080408081a0b090108031c0b090108011d0b090108020102031e051f080520030202031e051f080520030302031e051f0805200304020221051f08050001000100081e0a0011080c050a010a0211040c070a052a000f000c040b040b0738000c060e06110a0c030b000b06110b0b052a000f010b010b020b0312013801020101040100120b0b020b030b040b05110d0c060e000b010b061100020201000100142d0a012a000f000c060a0011080a0211040c070a060a070c040c030b032e0b04380203190b00010b06010700110f270b060b0738000c080e08110a0c050a000b08110b0b012a000f020b0011080b020b0512023803020301040100120b0b020b030b040b05110d0c060e000b010b061102020400000001040b000b0112040205000000010b0a0038040a0038050a0038060b00380712002d000206010001001b370a0011080c080a082900200308050a0a0011050a082a000f000c070a010a0211040c0a0b000a020a0311120c090a070a0a0c050c040b042e0b05380220032205270b070b0a0b093808052e0b070b0a38090c060b060b0911150b082a000f030b010b020b031203380a020701040100120c0b020b030b040b05110d0c070e000b010b070b06110602000000020003000100",
1357
- "abi": {
1358
- "address": "0x3",
1359
- "name": "token_transfers",
1360
- "friends": [],
1361
- "exposed_functions": [
1362
- {
1363
- "name": "cancel_offer",
1364
- "visibility": "public",
1365
- "is_entry": false,
1366
- "generic_type_params": [],
1367
- "params": ["&signer", "address", "0x3::token::TokenId"],
1368
- "return": []
1369
- },
1370
- {
1371
- "name": "cancel_offer_script",
1372
- "visibility": "public",
1373
- "is_entry": true,
1374
- "generic_type_params": [],
1375
- "params": ["signer", "address", "address", "0x1::string::String", "0x1::string::String", "u64"],
1376
- "return": []
1377
- },
1378
- {
1379
- "name": "claim",
1380
- "visibility": "public",
1381
- "is_entry": false,
1382
- "generic_type_params": [],
1383
- "params": ["&signer", "address", "0x3::token::TokenId"],
1384
- "return": []
1385
- },
1386
- {
1387
- "name": "claim_script",
1388
- "visibility": "public",
1389
- "is_entry": true,
1390
- "generic_type_params": [],
1391
- "params": ["signer", "address", "address", "0x1::string::String", "0x1::string::String", "u64"],
1392
- "return": []
1393
- },
1394
- {
1395
- "name": "offer",
1396
- "visibility": "public",
1397
- "is_entry": false,
1398
- "generic_type_params": [],
1399
- "params": ["&signer", "address", "0x3::token::TokenId", "u64"],
1400
- "return": []
1401
- },
1402
- {
1403
- "name": "offer_script",
1404
- "visibility": "public",
1405
- "is_entry": true,
1406
- "generic_type_params": [],
1407
- "params": ["signer", "address", "address", "0x1::string::String", "0x1::string::String", "u64", "u64"],
1408
- "return": []
1409
- }
1410
- ],
1411
- "structs": [
1412
- {
1413
- "name": "PendingClaims",
1414
- "is_native": false,
1415
- "abilities": ["key"],
1416
- "generic_type_params": [],
1417
- "fields": [
1418
- {
1419
- "name": "pending_claims",
1420
- "type": "0x1::table::Table<0x3::token_transfers::TokenOfferId, 0x3::token::Token>"
1421
- },
1422
- {
1423
- "name": "offer_events",
1424
- "type": "0x1::event::EventHandle<0x3::token_transfers::TokenOfferEvent>"
1425
- },
1426
- {
1427
- "name": "cancel_offer_events",
1428
- "type": "0x1::event::EventHandle<0x3::token_transfers::TokenCancelOfferEvent>"
1429
- },
1430
- {
1431
- "name": "claim_events",
1432
- "type": "0x1::event::EventHandle<0x3::token_transfers::TokenClaimEvent>"
1433
- }
1434
- ]
1435
- },
1436
- {
1437
- "name": "TokenCancelOfferEvent",
1438
- "is_native": false,
1439
- "abilities": ["drop", "store"],
1440
- "generic_type_params": [],
1441
- "fields": [
1442
- {
1443
- "name": "to_address",
1444
- "type": "address"
1445
- },
1446
- {
1447
- "name": "token_id",
1448
- "type": "0x3::token::TokenId"
1449
- },
1450
- {
1451
- "name": "amount",
1452
- "type": "u64"
1453
- }
1454
- ]
1455
- },
1456
- {
1457
- "name": "TokenClaimEvent",
1458
- "is_native": false,
1459
- "abilities": ["drop", "store"],
1460
- "generic_type_params": [],
1461
- "fields": [
1462
- {
1463
- "name": "to_address",
1464
- "type": "address"
1465
- },
1466
- {
1467
- "name": "token_id",
1468
- "type": "0x3::token::TokenId"
1469
- },
1470
- {
1471
- "name": "amount",
1472
- "type": "u64"
1473
- }
1474
- ]
1475
- },
1476
- {
1477
- "name": "TokenOfferEvent",
1478
- "is_native": false,
1479
- "abilities": ["drop", "store"],
1480
- "generic_type_params": [],
1481
- "fields": [
1482
- {
1483
- "name": "to_address",
1484
- "type": "address"
1485
- },
1486
- {
1487
- "name": "token_id",
1488
- "type": "0x3::token::TokenId"
1489
- },
1490
- {
1491
- "name": "amount",
1492
- "type": "u64"
1493
- }
1494
- ]
1495
- },
1496
- {
1497
- "name": "TokenOfferId",
1498
- "is_native": false,
1499
- "abilities": ["copy", "drop", "store"],
1500
- "generic_type_params": [],
1501
- "fields": [
1502
- {
1503
- "name": "to_addr",
1504
- "type": "address"
1505
- },
1506
- {
1507
- "name": "token_id",
1508
- "type": "0x3::token::TokenId"
1509
- }
1510
- ]
1511
- }
1512
- ]
1513
- }
1514
- }
1515
- ]