@opcat-labs/cat-sdk 2.1.0 → 2.1.1

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 (123) hide show
  1. package/artifacts/cat20/cat20.json +34 -34
  2. package/artifacts/cat20/cat20.scrypt +18 -18
  3. package/artifacts/cat20/cat20Admin.json +34 -34
  4. package/artifacts/cat20/cat20Admin.scrypt +30 -30
  5. package/artifacts/cat20/cat20GuardStateLib.json +21 -21
  6. package/artifacts/cat20/cat20GuardStateLib.scrypt +5 -5
  7. package/artifacts/cat20/cat20Guard_12_12_2.json +30 -30
  8. package/artifacts/cat20/cat20Guard_12_12_2.scrypt +21 -21
  9. package/artifacts/cat20/cat20Guard_12_12_4.json +30 -30
  10. package/artifacts/cat20/cat20Guard_12_12_4.scrypt +21 -21
  11. package/artifacts/cat20/cat20Guard_6_6_2.json +30 -30
  12. package/artifacts/cat20/cat20Guard_6_6_2.scrypt +21 -21
  13. package/artifacts/cat20/cat20Guard_6_6_4.json +30 -30
  14. package/artifacts/cat20/cat20Guard_6_6_4.scrypt +21 -21
  15. package/artifacts/cat20/cat20StateLib.json +22 -22
  16. package/artifacts/cat20/cat20StateLib.scrypt +5 -5
  17. package/artifacts/cat20/minters/cat20ClosedMinter.json +32 -32
  18. package/artifacts/cat20/minters/cat20ClosedMinter.scrypt +22 -22
  19. package/artifacts/cat20/minters/cat20OpenMinter.json +32 -32
  20. package/artifacts/cat20/minters/cat20OpenMinter.scrypt +18 -18
  21. package/artifacts/cat20/types.json +5 -5
  22. package/artifacts/cat20/types.scrypt +5 -5
  23. package/artifacts/cat721/cat721.json +34 -34
  24. package/artifacts/cat721/cat721.scrypt +18 -18
  25. package/artifacts/cat721/cat721GuardStateLib.json +21 -21
  26. package/artifacts/cat721/cat721GuardStateLib.scrypt +5 -5
  27. package/artifacts/cat721/cat721Guard_12_12_2.json +29 -29
  28. package/artifacts/cat721/cat721Guard_12_12_2.scrypt +18 -18
  29. package/artifacts/cat721/cat721Guard_12_12_4.json +29 -29
  30. package/artifacts/cat721/cat721Guard_12_12_4.scrypt +18 -18
  31. package/artifacts/cat721/cat721Guard_6_6_2.json +29 -29
  32. package/artifacts/cat721/cat721Guard_6_6_2.scrypt +18 -18
  33. package/artifacts/cat721/cat721Guard_6_6_4.json +29 -29
  34. package/artifacts/cat721/cat721Guard_6_6_4.scrypt +18 -18
  35. package/artifacts/cat721/cat721StateLib.json +22 -22
  36. package/artifacts/cat721/cat721StateLib.scrypt +5 -5
  37. package/artifacts/cat721/minters/cat721ClosedMinter.json +32 -32
  38. package/artifacts/cat721/minters/cat721ClosedMinter.scrypt +18 -18
  39. package/artifacts/cat721/minters/cat721OpenMintInfo.json +5 -5
  40. package/artifacts/cat721/minters/cat721OpenMintInfo.scrypt +4 -4
  41. package/artifacts/cat721/minters/cat721OpenMinter.json +37 -37
  42. package/artifacts/cat721/minters/cat721OpenMinter.scrypt +22 -22
  43. package/artifacts/cat721/minters/cat721OpenMinterMerkleTree.json +19 -19
  44. package/artifacts/cat721/minters/cat721OpenMinterMerkleTree.scrypt +6 -6
  45. package/artifacts/cat721/types.json +5 -5
  46. package/artifacts/cat721/types.scrypt +5 -5
  47. package/artifacts/constants.json +2 -2
  48. package/artifacts/constants.scrypt +1 -1
  49. package/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/backtrace.scrypt +13 -13
  50. package/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/contextUtils.scrypt +16 -16
  51. package/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/stateUtils.scrypt +1 -1
  52. package/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/stdUtils.scrypt +12 -12
  53. package/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/txHashPreimageUtils.scrypt +7 -7
  54. package/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/txUtils.scrypt +12 -12
  55. package/artifacts/scrypt-ts-opcat/assets/smart-contract/types/structs.scrypt +8 -8
  56. package/artifacts/types.json +2 -2
  57. package/artifacts/types.scrypt +2 -2
  58. package/artifacts/utils/ownerUtils.json +14 -14
  59. package/artifacts/utils/ownerUtils.scrypt +3 -3
  60. package/artifacts/utils/safeMath.json +14 -14
  61. package/artifacts/utils/safeMath.scrypt +1 -1
  62. package/dist/artifacts/cat20/cat20.json +34 -34
  63. package/dist/artifacts/cat20/cat20.scrypt +18 -18
  64. package/dist/artifacts/cat20/cat20Admin.json +34 -34
  65. package/dist/artifacts/cat20/cat20Admin.scrypt +30 -30
  66. package/dist/artifacts/cat20/cat20GuardStateLib.json +21 -21
  67. package/dist/artifacts/cat20/cat20GuardStateLib.scrypt +5 -5
  68. package/dist/artifacts/cat20/cat20Guard_12_12_2.json +30 -30
  69. package/dist/artifacts/cat20/cat20Guard_12_12_2.scrypt +21 -21
  70. package/dist/artifacts/cat20/cat20Guard_12_12_4.json +30 -30
  71. package/dist/artifacts/cat20/cat20Guard_12_12_4.scrypt +21 -21
  72. package/dist/artifacts/cat20/cat20Guard_6_6_2.json +30 -30
  73. package/dist/artifacts/cat20/cat20Guard_6_6_2.scrypt +21 -21
  74. package/dist/artifacts/cat20/cat20Guard_6_6_4.json +30 -30
  75. package/dist/artifacts/cat20/cat20Guard_6_6_4.scrypt +21 -21
  76. package/dist/artifacts/cat20/cat20StateLib.json +22 -22
  77. package/dist/artifacts/cat20/cat20StateLib.scrypt +5 -5
  78. package/dist/artifacts/cat20/minters/cat20ClosedMinter.json +32 -32
  79. package/dist/artifacts/cat20/minters/cat20ClosedMinter.scrypt +22 -22
  80. package/dist/artifacts/cat20/minters/cat20OpenMinter.json +32 -32
  81. package/dist/artifacts/cat20/minters/cat20OpenMinter.scrypt +18 -18
  82. package/dist/artifacts/cat20/types.json +5 -5
  83. package/dist/artifacts/cat20/types.scrypt +5 -5
  84. package/dist/artifacts/cat721/cat721.json +34 -34
  85. package/dist/artifacts/cat721/cat721.scrypt +18 -18
  86. package/dist/artifacts/cat721/cat721GuardStateLib.json +21 -21
  87. package/dist/artifacts/cat721/cat721GuardStateLib.scrypt +5 -5
  88. package/dist/artifacts/cat721/cat721Guard_12_12_2.json +29 -29
  89. package/dist/artifacts/cat721/cat721Guard_12_12_2.scrypt +18 -18
  90. package/dist/artifacts/cat721/cat721Guard_12_12_4.json +29 -29
  91. package/dist/artifacts/cat721/cat721Guard_12_12_4.scrypt +18 -18
  92. package/dist/artifacts/cat721/cat721Guard_6_6_2.json +29 -29
  93. package/dist/artifacts/cat721/cat721Guard_6_6_2.scrypt +18 -18
  94. package/dist/artifacts/cat721/cat721Guard_6_6_4.json +29 -29
  95. package/dist/artifacts/cat721/cat721Guard_6_6_4.scrypt +18 -18
  96. package/dist/artifacts/cat721/cat721StateLib.json +22 -22
  97. package/dist/artifacts/cat721/cat721StateLib.scrypt +5 -5
  98. package/dist/artifacts/cat721/minters/cat721ClosedMinter.json +32 -32
  99. package/dist/artifacts/cat721/minters/cat721ClosedMinter.scrypt +18 -18
  100. package/dist/artifacts/cat721/minters/cat721OpenMintInfo.json +5 -5
  101. package/dist/artifacts/cat721/minters/cat721OpenMintInfo.scrypt +4 -4
  102. package/dist/artifacts/cat721/minters/cat721OpenMinter.json +37 -37
  103. package/dist/artifacts/cat721/minters/cat721OpenMinter.scrypt +22 -22
  104. package/dist/artifacts/cat721/minters/cat721OpenMinterMerkleTree.json +19 -19
  105. package/dist/artifacts/cat721/minters/cat721OpenMinterMerkleTree.scrypt +6 -6
  106. package/dist/artifacts/cat721/types.json +5 -5
  107. package/dist/artifacts/cat721/types.scrypt +5 -5
  108. package/dist/artifacts/constants.json +2 -2
  109. package/dist/artifacts/constants.scrypt +1 -1
  110. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/backtrace.scrypt +13 -13
  111. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/contextUtils.scrypt +16 -16
  112. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/stateUtils.scrypt +1 -1
  113. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/stdUtils.scrypt +12 -12
  114. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/txHashPreimageUtils.scrypt +7 -7
  115. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/builtin-libs/txUtils.scrypt +12 -12
  116. package/dist/artifacts/scrypt-ts-opcat/assets/smart-contract/types/structs.scrypt +8 -8
  117. package/dist/artifacts/types.json +2 -2
  118. package/dist/artifacts/types.scrypt +2 -2
  119. package/dist/artifacts/utils/ownerUtils.json +14 -14
  120. package/dist/artifacts/utils/ownerUtils.scrypt +3 -3
  121. package/dist/artifacts/utils/safeMath.json +14 -14
  122. package/dist/artifacts/utils/safeMath.scrypt +1 -1
  123. package/package.json +4 -4
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "version": 10,
3
3
  "compilerVersion": "1.21.0+commit.2ada378",
4
- "contract": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20",
4
+ "contract": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20",
5
5
  "md5": "d1a217cc3546a930185fdaad1b126182",
6
6
  "structs": [
7
7
  {
8
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardConstState",
8
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardConstState",
9
9
  "params": [
10
10
  {
11
11
  "name": "tokenScriptHashes",
@@ -27,7 +27,7 @@
27
27
  "genericTypes": []
28
28
  },
29
29
  {
30
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20State",
30
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20State",
31
31
  "params": [
32
32
  {
33
33
  "name": "ownerAddr",
@@ -41,7 +41,7 @@
41
41
  "genericTypes": []
42
42
  },
43
43
  {
44
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20ClosedMinterState",
44
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20ClosedMinterState",
45
45
  "params": [
46
46
  {
47
47
  "name": "tokenScriptHash",
@@ -51,7 +51,7 @@
51
51
  "genericTypes": []
52
52
  },
53
53
  {
54
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20OpenMinterState",
54
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20OpenMinterState",
55
55
  "params": [
56
56
  {
57
57
  "name": "tokenScriptHash",
@@ -69,7 +69,7 @@
69
69
  "genericTypes": []
70
70
  },
71
71
  {
72
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20AdminState",
72
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20AdminState",
73
73
  "params": [
74
74
  {
75
75
  "name": "tag",
@@ -83,7 +83,7 @@
83
83
  "genericTypes": []
84
84
  },
85
85
  {
86
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxOut",
86
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxOut",
87
87
  "params": [
88
88
  {
89
89
  "name": "scriptHash",
@@ -101,7 +101,7 @@
101
101
  "genericTypes": []
102
102
  },
103
103
  {
104
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxIn",
104
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxIn",
105
105
  "params": [
106
106
  {
107
107
  "name": "prevTxHash",
@@ -123,7 +123,7 @@
123
123
  "genericTypes": []
124
124
  },
125
125
  {
126
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage",
126
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage",
127
127
  "params": [
128
128
  {
129
129
  "name": "version",
@@ -145,11 +145,11 @@
145
145
  "genericTypes": []
146
146
  },
147
147
  {
148
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__BacktraceInfo",
148
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__BacktraceInfo",
149
149
  "params": [
150
150
  {
151
151
  "name": "prevTxInput",
152
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxIn"
152
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxIn"
153
153
  },
154
154
  {
155
155
  "name": "prevTxInputIndex",
@@ -157,13 +157,13 @@
157
157
  },
158
158
  {
159
159
  "name": "prevPrevTxPreimage",
160
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage"
160
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage"
161
161
  }
162
162
  ],
163
163
  "genericTypes": []
164
164
  },
165
165
  {
166
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__SHPreimage",
166
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__SHPreimage",
167
167
  "params": [
168
168
  {
169
169
  "name": "nVersion",
@@ -225,7 +225,7 @@
225
225
  "genericTypes": []
226
226
  },
227
227
  {
228
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__Outpoint",
228
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__Outpoint",
229
229
  "params": [
230
230
  {
231
231
  "name": "txHash",
@@ -239,7 +239,7 @@
239
239
  "genericTypes": []
240
240
  },
241
241
  {
242
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ChainTxVerifyResponse",
242
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ChainTxVerifyResponse",
243
243
  "params": [
244
244
  {
245
245
  "name": "prevPrevScript",
@@ -253,7 +253,7 @@
253
253
  "genericTypes": []
254
254
  },
255
255
  {
256
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20ContractUnlockArgs",
256
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20ContractUnlockArgs",
257
257
  "params": [
258
258
  {
259
259
  "name": "spendType",
@@ -275,7 +275,7 @@
275
275
  "genericTypes": []
276
276
  },
277
277
  {
278
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT721ContractUnlockArgs",
278
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT721ContractUnlockArgs",
279
279
  "params": [
280
280
  {
281
281
  "name": "userPubKey",
@@ -293,7 +293,7 @@
293
293
  "genericTypes": []
294
294
  },
295
295
  {
296
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ReadVarintResult",
296
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ReadVarintResult",
297
297
  "params": [
298
298
  {
299
299
  "name": "data",
@@ -309,50 +309,50 @@
309
309
  ],
310
310
  "library": [
311
311
  {
312
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__OwnerUtils",
312
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__OwnerUtils",
313
313
  "params": [],
314
314
  "properties": [],
315
315
  "genericTypes": []
316
316
  },
317
317
  {
318
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxUtils",
318
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxUtils",
319
319
  "params": [],
320
320
  "properties": [],
321
321
  "genericTypes": []
322
322
  },
323
323
  {
324
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__StateUtils",
324
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__StateUtils",
325
325
  "params": [],
326
326
  "properties": [],
327
327
  "genericTypes": []
328
328
  },
329
329
  {
330
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimageUtils",
330
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimageUtils",
331
331
  "params": [],
332
332
  "properties": [],
333
333
  "genericTypes": []
334
334
  },
335
335
  {
336
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardStateLib",
336
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardStateLib",
337
337
  "params": [],
338
338
  "properties": [],
339
339
  "genericTypes": [],
340
- "stateType": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardConstState"
340
+ "stateType": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardConstState"
341
341
  },
342
342
  {
343
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__Backtrace",
343
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__Backtrace",
344
344
  "params": [],
345
345
  "properties": [],
346
346
  "genericTypes": []
347
347
  },
348
348
  {
349
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils",
349
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils",
350
350
  "params": [],
351
351
  "properties": [],
352
352
  "genericTypes": []
353
353
  },
354
354
  {
355
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__StdUtils",
355
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__StdUtils",
356
356
  "params": [],
357
357
  "properties": [],
358
358
  "genericTypes": []
@@ -367,11 +367,11 @@
367
367
  "params": [
368
368
  {
369
369
  "name": "unlockArgs",
370
- "type": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20ContractUnlockArgs"
370
+ "type": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20ContractUnlockArgs"
371
371
  },
372
372
  {
373
373
  "name": "guardState",
374
- "type": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardConstState"
374
+ "type": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardConstState"
375
375
  },
376
376
  {
377
377
  "name": "guardInputIndex",
@@ -379,15 +379,15 @@
379
379
  },
380
380
  {
381
381
  "name": "backtraceInfo",
382
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__BacktraceInfo"
382
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__BacktraceInfo"
383
383
  },
384
384
  {
385
385
  "name": "__scrypt_ts_shPreimage",
386
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__SHPreimage"
386
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__SHPreimage"
387
387
  },
388
388
  {
389
389
  "name": "__scrypt_ts_curState",
390
- "type": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20State"
390
+ "type": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20State"
391
391
  },
392
392
  {
393
393
  "name": "__scrypt_ts_prevouts",
@@ -407,7 +407,7 @@
407
407
  },
408
408
  {
409
409
  "name": "__scrypt_ts_prevTxHashPreimage",
410
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage"
410
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage"
411
411
  }
412
412
  ]
413
413
  },
@@ -434,7 +434,7 @@
434
434
  }
435
435
  ],
436
436
  "stateProps": [],
437
- "stateType": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20State",
437
+ "stateType": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20State",
438
438
  "buildType": "release",
439
439
  "file": "../cat20.scrypt",
440
440
  "hex": "512097dfd76851bf465e8f715593b217714858bbe9570ff3bd5e33840a34e20ff0262102ba79df5f8ae7604a9830f03c7933028186aede0675a16f025dc4f8be8eec0382201008ce7480da41702918d1ec8e6849ba32b4d65b1e40dc669c31a1e6306b266c00000000000000<minterScriptHash><guardVariantScriptHashes[0]><guardVariantScriptHashes[1]><guardVariantScriptHashes[2]><guardVariantScriptHashes[3]><hasAdmin><adminScriptHash>56795e7a755d7a5d7a5d7a5d7a5d7a5d7a5d7a5d7a5d7a5d7a5d7a5d7a5d7a5579557955795579607a607a607a607a6d6d5c7a5c7a5c7a5c7a5c7a5c7a5c7a5c7a5c7a78597a75587a587a587a587a587a587a587a587a76587a75577a577a577a577a577a577a577a6d6d6d750122790122790122790122790122790122790122790122790122790122790122790122790122790122795d798277549d5c79827701209d5b79827701209d5a79827701209d597900a26958798277549d5779827701209d5679827701209d5579827701209d5479827701209d5379827701209d527900a2697800a26976519c6476529c6751686476539c67516864760281009c67516864760282009c67516864760283009c675168695d795d797e5c797e5b797e5a79767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c7e59797e58797e57797e56797e55797e54797e5379546e8b806e7c7f75007f6b6d6d6c7e5279546e8b806e7c7f75007f6b6d6d6c7e7854807e6b6d6d6d6d6d6d6d6c5b79785c795c79210ac407f0e4bd44bfc207355a778b046225a7068fc59ee7eda43ad905aadbffc800206c266b30e6a1319c66dc401e5bd6b432ba49688eecd118297041da8074ce08105e7956795679aa7676517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e01007e817757795679567956795679537956795479577995939521414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff006e6e9776009f636e936776687777777b757c6e5296a0636e7c947b757c6853798277527982775379012080517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e01205279947f77545379935279930130787e527e54797e58797e527e53797e52797e57797e6b6d6d6d6d6d6d6c765779ac6b6d6d6d6d6d6c7769011179011d7978aa7888785878827d77527997009d6e7c966b6d6d6c77011379012379011a7970aa5379886e9f69765479012478827d77527997009d6e7c967777779d537952798b0124957f7552790124957f7d7701207f75007f777801247f7501207f77768277549d767601007e817777726d726d7b75011279011f7954795279aa527988765379012078827d77527997009d6e7c967777779d6d75011379011e7954795279aa527988765379012078827d77527997009d6e7c967777779d6d75011779011779011c79011a79011a79788277528052797e78827752807e787e5279a95279a97ea97ea877770117797653798b0120957f7553790120957f775279886d75011379011379011379011379011b79012179557955795579557953798277549d5279014878827d77527997009d6e7c967777775279014878827d77527997009d6e7c96777777557952790000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e55797e780000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e54797e53797eaa6b6d6d6d6c76700124950120937f7553790124957f77886d6d6d75013079013079013079013079013079013079013079013079013079011479011e790127798b0120957f750127790120957f77011d795b795b795b795b795b795b795b795b795b7959797656798b0148957f7556790148957f775a795a795a795a795379827701209d76827701209d707600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e787e52797600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e6b6d6d6c88597976567956795679567953798277549d5279014878827d77527997009d6e7c967777775279014878827d77527997009d6e7c96777777557952790000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e55797e780000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e54797e53797eaa6b6d6d6d6c8853795a7901489558930120937f755a7901489558937f77785b797600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e787c726d726d726d726d726d726d785579876478547987675168696d6d6d6d6d6d6d013e79013e79013e79013e79013e79013e79013e79013e79013e79013e79013e79013e79013e79013279012a790140790124790126797853796e8b0120957f75780120957f77777776011e79011e79011e79011e7953766b796c756b6d6d6c876476011e79011e79011e79011e7952766b796c756b6d6d6c876751686476011e79011e79011e79011e7951766b796c756b6d6d6c876751686476011e79011e79011e79011e7900766b796c756b6d6d6c87675168697854796e8b0120957f75780120957f7777770113790113790113790113790113790113790113790113790113790113790113790113790113795c795c795c795c7953766b796c756b6d6d6c827752805d795d795d795d7953766b796c756b6d6d6c7e5d795d795d795d7952766b796c756b6d6d6c827752807e5d795d795d795d7952766b796c756b6d6d6c7e5d795d795d795d7951766b796c756b6d6d6c827752807e5d795d795d795d7951766b796c756b6d6d6c7e5d795d795d795d7900766b796c756b6d6d6c827752807e5d795d795d795d7900766b796c756b6d6d6c7e597959795979597953766b796c756b6d6d6c827752807e597959795979597953766b796c756b6d6d6c7e597959795979597952766b796c756b6d6d6c827752807e597959795979597952766b796c756b6d6d6c7e597959795979597951766b796c756b6d6d6c827752807e597959795979597951766b796c756b6d6d6c7e597959795979597900766b796c756b6d6d6c827752807e597959795979597900766b796c756b6d6d6c7e557955795579557953766b796c756b6d6d6c827752807e557955795579557953766b796c756b6d6d6c7e557955795579557952766b796c756b6d6d6c827752807e557955795579557952766b796c756b6d6d6c7e557955795579557951766b796c756b6d6d6c827752807e557955795579557951766b796c756b6d6d6c7e557955795579557900766b796c756b6d6d6c827752807e557955795579557900766b796c756b6d6d6c7e78827752807e787e5d795d795d795d7953766b796c756b6d6d6ca95e795e795e795e7952766b796c756b6d6d6ca97e5e795e795e795e7951766b796c756b6d6d6ca97e5e795e795e795e7900766b796c756b6d6d6ca97e5a795a795a795a7953766b796c756b6d6d6ca97e5a795a795a795a7952766b796c756b6d6d6ca97e5a795a795a795a7951766b796c756b6d6d6ca97e5a795a795a795a7900766b796c756b6d6d6ca97e567956795679567953766b796c756b6d6d6ca97e567956795679567952766b796c756b6d6d6ca97e567956795679567951766b796c756b6d6d6ca97e567956795679567900766b796c756b6d6d6ca97e5279a97ea97ea86b6d6d6d6d6d6d6c7788567955798b7f7555797f77810113790113790113790113795455797600a26976549f69948c766b796c756b6d6d6c5779886d6d6d6d6d6d6d6d6d6d01427900a26301427952a1670068690001407900a26301407956799f690115790141796e8b0120957f75780120957f6b6d6d6c68014379009c630142795379787676827701219d750376a91478a97e0288ac7e7778886d014179014379ad67014379519c6352797888675779697657798868686d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d51"
@@ -12,7 +12,7 @@ import "../scrypt-ts-opcat/assets/smart-contract/builtin-libs/stateUtils.scrypt"
12
12
 
13
13
 
14
14
 
15
- contract _opcat_labs_cat_sdk_2_1_0__rs__CAT20 {
15
+ contract _opcat_labs_cat_sdk_2_1_1__rs__CAT20 {
16
16
  bytes minterScriptHash;
17
17
  Sha256[4] guardVariantScriptHashes;
18
18
  bool hasAdmin;
@@ -23,33 +23,33 @@ contract _opcat_labs_cat_sdk_2_1_0__rs__CAT20 {
23
23
  this.hasAdmin = hasAdmin;
24
24
  this.adminScriptHash = adminScriptHash;
25
25
  }
26
- public function unlock(_opcat_labs_cat_sdk_2_1_0__rs__CAT20ContractUnlockArgs unlockArgs, _opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardConstState guardState, int guardInputIndex, _opcat_labs_scrypt_ts_opcat_2_1_0__rs__BacktraceInfo backtraceInfo, _opcat_labs_scrypt_ts_opcat_2_1_0__rs__SHPreimage __scrypt_ts_shPreimage, _opcat_labs_cat_sdk_2_1_0__rs__CAT20State __scrypt_ts_curState, bytes __scrypt_ts_prevouts, bytes __scrypt_ts_spentAmounts, bytes __scrypt_ts_spentDataHashes, bytes __scrypt_ts_spentScriptHashes, _opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage __scrypt_ts_prevTxHashPreimage) {
27
- require(Tx.checkPreimageSigHashType(_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.serializeSHPreimage(__scrypt_ts_shPreimage), SigHash.ALL));
26
+ public function unlock(_opcat_labs_cat_sdk_2_1_1__rs__CAT20ContractUnlockArgs unlockArgs, _opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardConstState guardState, int guardInputIndex, _opcat_labs_scrypt_ts_opcat_2_1_1__rs__BacktraceInfo backtraceInfo, _opcat_labs_scrypt_ts_opcat_2_1_1__rs__SHPreimage __scrypt_ts_shPreimage, _opcat_labs_cat_sdk_2_1_1__rs__CAT20State __scrypt_ts_curState, bytes __scrypt_ts_prevouts, bytes __scrypt_ts_spentAmounts, bytes __scrypt_ts_spentDataHashes, bytes __scrypt_ts_spentScriptHashes, _opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage __scrypt_ts_prevTxHashPreimage) {
27
+ require(Tx.checkPreimageSigHashType(_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.serializeSHPreimage(__scrypt_ts_shPreimage), SigHash.ALL));
28
28
 
29
- int __scrypt_ts_inputCount = _opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.checkSpentAmounts(__scrypt_ts_spentAmounts, __scrypt_ts_shPreimage.hashSpentAmounts);
29
+ int __scrypt_ts_inputCount = _opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.checkSpentAmounts(__scrypt_ts_spentAmounts, __scrypt_ts_shPreimage.hashSpentAmounts);
30
30
 
31
- _opcat_labs_scrypt_ts_opcat_2_1_0__rs__Outpoint __scrypt_ts_prevout = _opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.checkPrevouts(__scrypt_ts_prevouts, __scrypt_ts_shPreimage.hashPrevouts, __scrypt_ts_shPreimage.inputIndex, __scrypt_ts_inputCount);
31
+ _opcat_labs_scrypt_ts_opcat_2_1_1__rs__Outpoint __scrypt_ts_prevout = _opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.checkPrevouts(__scrypt_ts_prevouts, __scrypt_ts_shPreimage.hashPrevouts, __scrypt_ts_shPreimage.inputIndex, __scrypt_ts_inputCount);
32
32
 
33
- _opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.checkSpentScripts(__scrypt_ts_spentScriptHashes, __scrypt_ts_shPreimage.hashSpentScriptHashes, __scrypt_ts_inputCount);
33
+ _opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.checkSpentScripts(__scrypt_ts_spentScriptHashes, __scrypt_ts_shPreimage.hashSpentScriptHashes, __scrypt_ts_inputCount);
34
34
 
35
- _opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.checkSpentDataHashes(__scrypt_ts_spentDataHashes, __scrypt_ts_shPreimage.hashSpentDataHashes, __scrypt_ts_inputCount);
35
+ _opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.checkSpentDataHashes(__scrypt_ts_spentDataHashes, __scrypt_ts_shPreimage.hashSpentDataHashes, __scrypt_ts_inputCount);
36
36
 
37
- _opcat_labs_cat_sdk_2_1_0__rs__CAT20State __scrypt_ts_nextState = __scrypt_ts_curState;
37
+ _opcat_labs_cat_sdk_2_1_1__rs__CAT20State __scrypt_ts_nextState = __scrypt_ts_curState;
38
38
 
39
- _opcat_labs_scrypt_ts_opcat_2_1_0__rs__StateUtils.checkInputState(__scrypt_ts_shPreimage.inputIndex, _opcat_labs_cat_sdk_2_1_0__rs__CAT20.stateHash(__scrypt_ts_curState), __scrypt_ts_spentDataHashes);
39
+ _opcat_labs_scrypt_ts_opcat_2_1_1__rs__StateUtils.checkInputState(__scrypt_ts_shPreimage.inputIndex, _opcat_labs_cat_sdk_2_1_1__rs__CAT20.stateHash(__scrypt_ts_curState), __scrypt_ts_spentDataHashes);
40
40
 
41
- _opcat_labs_scrypt_ts_opcat_2_1_0__rs__Backtrace.checkPrevTxHashPreimage(__scrypt_ts_prevTxHashPreimage, __scrypt_ts_prevouts, __scrypt_ts_shPreimage.inputIndex);
41
+ _opcat_labs_scrypt_ts_opcat_2_1_1__rs__Backtrace.checkPrevTxHashPreimage(__scrypt_ts_prevTxHashPreimage, __scrypt_ts_prevouts, __scrypt_ts_shPreimage.inputIndex);
42
42
 
43
- _opcat_labs_scrypt_ts_opcat_2_1_0__rs__Backtrace.verifyFromScript(backtraceInfo, this.minterScriptHash, __scrypt_ts_spentScriptHashes[__scrypt_ts_shPreimage.inputIndex * 32 : (__scrypt_ts_shPreimage.inputIndex + 1) * 32], __scrypt_ts_prevTxHashPreimage.inputList);
43
+ _opcat_labs_scrypt_ts_opcat_2_1_1__rs__Backtrace.verifyFromScript(backtraceInfo, this.minterScriptHash, __scrypt_ts_spentScriptHashes[__scrypt_ts_shPreimage.inputIndex * 32 : (__scrypt_ts_shPreimage.inputIndex + 1) * 32], __scrypt_ts_prevTxHashPreimage.inputList);
44
44
  this.checkGuard(guardState, __scrypt_ts_shPreimage.spentScriptHash, __scrypt_ts_shPreimage.inputIndex, guardInputIndex, __scrypt_ts_spentScriptHashes, __scrypt_ts_spentDataHashes);
45
45
  require(unlockArgs.spendType >= 0 && unlockArgs.spendType <= 2);
46
46
  bytes spentScriptHash = b'';
47
47
  if(unlockArgs.spendScriptInputIndex >= 0) {
48
48
  require(unlockArgs.spendScriptInputIndex < __scrypt_ts_inputCount);
49
- spentScriptHash = _opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.getSpentScriptHash(__scrypt_ts_spentScriptHashes, unlockArgs.spendScriptInputIndex);
49
+ spentScriptHash = _opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.getSpentScriptHash(__scrypt_ts_spentScriptHashes, unlockArgs.spendScriptInputIndex);
50
50
  }
51
51
  if(unlockArgs.spendType == 0) {
52
- _opcat_labs_cat_sdk_2_1_0__rs__OwnerUtils.checkUserOwner(unlockArgs.userPubKey, __scrypt_ts_nextState.ownerAddr);
52
+ _opcat_labs_cat_sdk_2_1_1__rs__OwnerUtils.checkUserOwner(unlockArgs.userPubKey, __scrypt_ts_nextState.ownerAddr);
53
53
  require(checkSig(unlockArgs.userSig, unlockArgs.userPubKey));
54
54
  } else if(unlockArgs.spendType == 1) {
55
55
  require(__scrypt_ts_nextState.ownerAddr == spentScriptHash);
@@ -59,18 +59,18 @@ contract _opcat_labs_cat_sdk_2_1_0__rs__CAT20 {
59
59
  }
60
60
  require(true);
61
61
  }
62
- function checkGuard(_opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardConstState guardState, bytes t_cat20ScriptHash, int t_cat20InputIndexVal, int guardInputIndexVal, bytes t_spentScriptsCtx, bytes t_spentDataHashesCtx) : bool {
63
- bytes guardScriptHash = _opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.getSpentScriptHash(t_spentScriptsCtx, guardInputIndexVal);
62
+ function checkGuard(_opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardConstState guardState, bytes t_cat20ScriptHash, int t_cat20InputIndexVal, int guardInputIndexVal, bytes t_spentScriptsCtx, bytes t_spentDataHashesCtx) : bool {
63
+ bytes guardScriptHash = _opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.getSpentScriptHash(t_spentScriptsCtx, guardInputIndexVal);
64
64
  require(guardScriptHash == this.guardVariantScriptHashes[0] || guardScriptHash == this.guardVariantScriptHashes[1] || guardScriptHash == this.guardVariantScriptHashes[2] || guardScriptHash == this.guardVariantScriptHashes[3]);
65
- require(_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils.getSpentDataHash(t_spentDataHashesCtx, guardInputIndexVal) == _opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardStateLib.stateHash(guardState));
65
+ require(_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils.getSpentDataHash(t_spentDataHashesCtx, guardInputIndexVal) == _opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardStateLib.stateHash(guardState));
66
66
  int tokenScriptIndex = unpack(guardState.tokenScriptIndexes[t_cat20InputIndexVal : t_cat20InputIndexVal + 1]);
67
67
  require(guardState.tokenScriptHashes[(tokenScriptIndex)] == t_cat20ScriptHash);
68
68
  return true;
69
69
  }
70
- static function serializeState(_opcat_labs_cat_sdk_2_1_0__rs__CAT20State __scrypt_ts_curState): bytes {
70
+ static function serializeState(_opcat_labs_cat_sdk_2_1_1__rs__CAT20State __scrypt_ts_curState): bytes {
71
71
  return num2bin(len(__scrypt_ts_curState.ownerAddr), 2) + __scrypt_ts_curState.ownerAddr + num2bin(len(pack(__scrypt_ts_curState.amount)), 2) + pack(__scrypt_ts_curState.amount) + hash160(hash160(__scrypt_ts_curState.ownerAddr) + hash160(pack(__scrypt_ts_curState.amount)));
72
72
  }
73
- static function stateHash(_opcat_labs_cat_sdk_2_1_0__rs__CAT20State __scrypt_ts_curState): bytes {
73
+ static function stateHash(_opcat_labs_cat_sdk_2_1_1__rs__CAT20State __scrypt_ts_curState): bytes {
74
74
  return sha256(num2bin(len(__scrypt_ts_curState.ownerAddr), 2) + __scrypt_ts_curState.ownerAddr + num2bin(len(pack(__scrypt_ts_curState.amount)), 2) + pack(__scrypt_ts_curState.amount) + hash160(hash160(__scrypt_ts_curState.ownerAddr) + hash160(pack(__scrypt_ts_curState.amount))));
75
75
  }
76
76
  }
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "version": 10,
3
3
  "compilerVersion": "1.21.0+commit.2ada378",
4
- "contract": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20Admin",
4
+ "contract": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20Admin",
5
5
  "md5": "95ff92787e8661bfef836999acd40a73",
6
6
  "structs": [
7
7
  {
8
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20GuardConstState",
8
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20GuardConstState",
9
9
  "params": [
10
10
  {
11
11
  "name": "tokenScriptHashes",
@@ -27,7 +27,7 @@
27
27
  "genericTypes": []
28
28
  },
29
29
  {
30
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20State",
30
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20State",
31
31
  "params": [
32
32
  {
33
33
  "name": "ownerAddr",
@@ -41,7 +41,7 @@
41
41
  "genericTypes": []
42
42
  },
43
43
  {
44
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20ClosedMinterState",
44
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20ClosedMinterState",
45
45
  "params": [
46
46
  {
47
47
  "name": "tokenScriptHash",
@@ -51,7 +51,7 @@
51
51
  "genericTypes": []
52
52
  },
53
53
  {
54
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20OpenMinterState",
54
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20OpenMinterState",
55
55
  "params": [
56
56
  {
57
57
  "name": "tokenScriptHash",
@@ -69,7 +69,7 @@
69
69
  "genericTypes": []
70
70
  },
71
71
  {
72
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20AdminState",
72
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20AdminState",
73
73
  "params": [
74
74
  {
75
75
  "name": "tag",
@@ -83,7 +83,7 @@
83
83
  "genericTypes": []
84
84
  },
85
85
  {
86
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxOut",
86
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxOut",
87
87
  "params": [
88
88
  {
89
89
  "name": "scriptHash",
@@ -101,7 +101,7 @@
101
101
  "genericTypes": []
102
102
  },
103
103
  {
104
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxIn",
104
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxIn",
105
105
  "params": [
106
106
  {
107
107
  "name": "prevTxHash",
@@ -123,7 +123,7 @@
123
123
  "genericTypes": []
124
124
  },
125
125
  {
126
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage",
126
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage",
127
127
  "params": [
128
128
  {
129
129
  "name": "version",
@@ -145,11 +145,11 @@
145
145
  "genericTypes": []
146
146
  },
147
147
  {
148
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__BacktraceInfo",
148
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__BacktraceInfo",
149
149
  "params": [
150
150
  {
151
151
  "name": "prevTxInput",
152
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxIn"
152
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxIn"
153
153
  },
154
154
  {
155
155
  "name": "prevTxInputIndex",
@@ -157,13 +157,13 @@
157
157
  },
158
158
  {
159
159
  "name": "prevPrevTxPreimage",
160
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage"
160
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage"
161
161
  }
162
162
  ],
163
163
  "genericTypes": []
164
164
  },
165
165
  {
166
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__SHPreimage",
166
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__SHPreimage",
167
167
  "params": [
168
168
  {
169
169
  "name": "nVersion",
@@ -225,7 +225,7 @@
225
225
  "genericTypes": []
226
226
  },
227
227
  {
228
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__Outpoint",
228
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__Outpoint",
229
229
  "params": [
230
230
  {
231
231
  "name": "txHash",
@@ -239,7 +239,7 @@
239
239
  "genericTypes": []
240
240
  },
241
241
  {
242
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ChainTxVerifyResponse",
242
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ChainTxVerifyResponse",
243
243
  "params": [
244
244
  {
245
245
  "name": "prevPrevScript",
@@ -253,7 +253,7 @@
253
253
  "genericTypes": []
254
254
  },
255
255
  {
256
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ReadVarintResult",
256
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ReadVarintResult",
257
257
  "params": [
258
258
  {
259
259
  "name": "data",
@@ -269,43 +269,43 @@
269
269
  ],
270
270
  "library": [
271
271
  {
272
- "name": "_opcat_labs_cat_sdk_2_1_0__rs__OwnerUtils",
272
+ "name": "_opcat_labs_cat_sdk_2_1_1__rs__OwnerUtils",
273
273
  "params": [],
274
274
  "properties": [],
275
275
  "genericTypes": []
276
276
  },
277
277
  {
278
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxUtils",
278
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxUtils",
279
279
  "params": [],
280
280
  "properties": [],
281
281
  "genericTypes": []
282
282
  },
283
283
  {
284
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__StateUtils",
284
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__StateUtils",
285
285
  "params": [],
286
286
  "properties": [],
287
287
  "genericTypes": []
288
288
  },
289
289
  {
290
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__ContextUtils",
290
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__ContextUtils",
291
291
  "params": [],
292
292
  "properties": [],
293
293
  "genericTypes": []
294
294
  },
295
295
  {
296
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimageUtils",
296
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimageUtils",
297
297
  "params": [],
298
298
  "properties": [],
299
299
  "genericTypes": []
300
300
  },
301
301
  {
302
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__Backtrace",
302
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__Backtrace",
303
303
  "params": [],
304
304
  "properties": [],
305
305
  "genericTypes": []
306
306
  },
307
307
  {
308
- "name": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__StdUtils",
308
+ "name": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__StdUtils",
309
309
  "params": [],
310
310
  "properties": [],
311
311
  "genericTypes": []
@@ -328,19 +328,19 @@
328
328
  },
329
329
  {
330
330
  "name": "backtraceInfo",
331
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__BacktraceInfo"
331
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__BacktraceInfo"
332
332
  },
333
333
  {
334
334
  "name": "__scrypt_ts_shPreimage",
335
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__SHPreimage"
335
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__SHPreimage"
336
336
  },
337
337
  {
338
338
  "name": "__scrypt_ts_changeInfo",
339
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxOut"
339
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxOut"
340
340
  },
341
341
  {
342
342
  "name": "__scrypt_ts_curState",
343
- "type": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20AdminState"
343
+ "type": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20AdminState"
344
344
  },
345
345
  {
346
346
  "name": "__scrypt_ts_prevouts",
@@ -360,7 +360,7 @@
360
360
  },
361
361
  {
362
362
  "name": "__scrypt_ts_prevTxHashPreimage",
363
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage"
363
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage"
364
364
  }
365
365
  ]
366
366
  },
@@ -383,19 +383,19 @@
383
383
  },
384
384
  {
385
385
  "name": "backtraceInfo",
386
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__BacktraceInfo"
386
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__BacktraceInfo"
387
387
  },
388
388
  {
389
389
  "name": "__scrypt_ts_shPreimage",
390
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__SHPreimage"
390
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__SHPreimage"
391
391
  },
392
392
  {
393
393
  "name": "__scrypt_ts_changeInfo",
394
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxOut"
394
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxOut"
395
395
  },
396
396
  {
397
397
  "name": "__scrypt_ts_curState",
398
- "type": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20AdminState"
398
+ "type": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20AdminState"
399
399
  },
400
400
  {
401
401
  "name": "__scrypt_ts_prevouts",
@@ -415,7 +415,7 @@
415
415
  },
416
416
  {
417
417
  "name": "__scrypt_ts_prevTxHashPreimage",
418
- "type": "_opcat_labs_scrypt_ts_opcat_2_1_0__rs__TxHashPreimage"
418
+ "type": "_opcat_labs_scrypt_ts_opcat_2_1_1__rs__TxHashPreimage"
419
419
  }
420
420
  ]
421
421
  },
@@ -430,7 +430,7 @@
430
430
  }
431
431
  ],
432
432
  "stateProps": [],
433
- "stateType": "_opcat_labs_cat_sdk_2_1_0__rs__CAT20AdminState",
433
+ "stateType": "_opcat_labs_cat_sdk_2_1_1__rs__CAT20AdminState",
434
434
  "buildType": "release",
435
435
  "file": "../cat20Admin.scrypt",
436
436
  "hex": "512097dfd76851bf465e8f715593b217714858bbe9570ff3bd5e33840a34e20ff0262102ba79df5f8ae7604a9830f03c7933028186aede0675a16f025dc4f8be8eec0382201008ce7480da41702918d1ec8e6849ba32b4d65b1e40dc669c31a1e6306b266c208f6157664f8f7cd43e6bba7f3209bb803d4d0fb2fb6e59fdc548989ed3901f1500<genesisOutpoint>7756790087630121790121790121790121790121790121790121790121790121790121790121790121790121790121795d798277549d5c79827701209d5b79827701209d5a79827701209d597900a26958798277549d5779827701209d5679827701209d5579827701209d5479827701209d5379827701209d527900a2697800a26976519c6476529c6751686476539c67516864760281009c67516864760282009c67516864760283009c675168695d795d797e5c797e5b797e5a79767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c7e59797e58797e57797e56797e55797e54797e5379546e8b806e7c7f75007f6b6d6d6c7e5279546e8b806e7c7f75007f6b6d6d6c7e7854807e6b6d6d6d6d6d6d6d6c56797857795779210ac407f0e4bd44bfc207355a778b046225a7068fc59ee7eda43ad905aadbffc800206c266b30e6a1319c66dc401e5bd6b432ba49688eecd118297041da8074ce0810597956795679aa7676517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e01007e817757795679567956795679537956795479577995939521414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff006e6e9776009f636e936776687777777b757c6e5296a0636e7c947b757c6853798277527982775379012080517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e01205279947f77545379935279930130787e527e54797e58797e527e53797e52797e57797e6b6d6d6d6d6d6d6c765779ac6b6d6d6d6d6d6c77695d79011c7978aa7888785878827d77527997009d6e7c966b6d6d6c775f7901227901197970aa5379886e9f69765479012478827d77527997009d6e7c967777779d537952798b0124957f7552790124957f7d7701207f75007f777801247f7501207f77768277549d767601007e817777726d726d7b755e79011e7954795279aa527988765379012078827d77527997009d6e7c967777779d6d755f79011d7954795279aa527988765379012078827d77527997009d6e7c967777779d6d75011379011379011b79011679011679788277528052797e78827752807e787e5279a95279a97ea97ea877770113797653798b0120957f7553790120957f775279886d755f795f795f795f79011779012079557955795579557953798277549d5279014878827d77527997009d6e7c967777775279014878827d77527997009d6e7c96777777557952790000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e55797e780000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e54797e53797eaa6b6d6d6d6c76700124950120937f7553790124957f77886d6d6d750124790130790130790130790130790130790130790130790130790130795f79011b790127798b0120957f750127790120957f77011a795b795b795b795b795b795b795b795b795b7959797656798b0148957f7556790148957f775a795a795a795a795379827701209d76827701209d707600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e787e52797600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e6b6d6d6c88597976567956795679567953798277549d5279014878827d77527997009d6e7c967777775279014878827d77527997009d6e7c96777777557952790000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e55797e780000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e54797e53797eaa6b6d6d6d6c8853795a7901489558930120937f755a7901489558937f77785b797600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e787c726d726d726d726d726d726d7655798763780116798868765579876478547987675168696d6d6d6d6d6d6d0132795279787676827701219d750376a91478a97e0288ac7e7778886d013179013379ad76012479012679527982777882777801209d7601209d537900a2695379767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c55797e53797e6b6d6d6c777601197900a063011b79011a796e00a8527982777882777801209d7601209d537900a2695379767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c55797e53797e6b6d6d6d6c776700687eaa011f79876b6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6c6756795187630121790121790121790121790121790121790121790121790121790121790121790121790121790121795d798277549d5c79827701209d5b79827701209d5a79827701209d597900a26958798277549d5779827701209d5679827701209d5579827701209d5479827701209d5379827701209d527900a2697800a26976519c6476529c6751686476539c67516864760281009c67516864760282009c67516864760283009c675168695d795d797e5c797e5b797e5a79767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c7e59797e58797e57797e56797e55797e54797e5379546e8b806e7c7f75007f6b6d6d6c7e5279546e8b806e7c7f75007f6b6d6d6c7e7854807e6b6d6d6d6d6d6d6d6c56797857795779210ac407f0e4bd44bfc207355a778b046225a7068fc59ee7eda43ad905aadbffc800206c266b30e6a1319c66dc401e5bd6b432ba49688eecd118297041da8074ce0810597956795679aa7676517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e01007e817757795679567956795679537956795479577995939521414136d08c5ed2bf3ba048afe6dcaebafeffffffffffffffffffffffffffffff006e6e9776009f636e936776687777777b757c6e5296a0636e7c947b757c6853798277527982775379012080517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f517f7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e7c7e01205279947f77545379935279930130787e527e54797e58797e527e53797e52797e57797e6b6d6d6d6d6d6d6c765779ac6b6d6d6d6d6d6c77695d79011c7978aa7888785878827d77527997009d6e7c966b6d6d6c775f7901227901197970aa5379886e9f69765479012478827d77527997009d6e7c967777779d537952798b0124957f7552790124957f7d7701207f75007f777801247f7501207f77768277549d767601007e817777726d726d7b755e79011e7954795279aa527988765379012078827d77527997009d6e7c967777779d6d755f79011d7954795279aa527988765379012078827d77527997009d6e7c967777779d6d75011379011379011b79011679011679788277528052797e78827752807e787e5279a95279a97ea97ea877770113797653798b0120957f7553790120957f775279886d755f795f795f795f79011779012079557955795579557953798277549d5279014878827d77527997009d6e7c967777775279014878827d77527997009d6e7c96777777557952790000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e55797e780000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e54797e53797eaa6b6d6d6d6c76700124950120937f7553790124957f77886d6d6d750124790130790130790130790130790130790130790130790130790130795f79011b790127798b0120957f750127790120957f77011a795b795b795b795b795b795b795b795b795b7959797656798b0148957f7556790148957f775a795a795a795a795379827701209d76827701209d707600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e787e52797600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e6b6d6d6c88597976567956795679567953798277549d5279014878827d77527997009d6e7c967777775279014878827d77527997009d6e7c96777777557952790000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e55797e780000527902fd009f637551675279030000019f6301fd7b757c52776752790500000000019f6301fe7b757c54776701ff7b757c587768686878537952796e8b806e7c7f75007f6b6d6d6c7e7777777e54797e53797eaa6b6d6d6d6c8853795a7901489558930120937f755a7901489558937f77785b797600a2637605ffffffff00a16700686976546e8b806e7c7f75007f6b6d6d6c777e787c726d726d726d726d726d726d7655798763780116798868765579876478547987675168696d6d6d6d6d6d6d0133795279787676827701219d750376a91478a97e0288ac7e7778886d013279013479ad01317976827701149d0376a914787e0288ac7e777b757c7601247954795479788277528052797e78827752807e787e5279a95279a97ea97ea87777527982777882777801209d7601209d537900a2695379767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c55797e53797e6b6d6d6c777601197900a063011b79011a796e00a8527982777882777801209d7601209d537900a2695379767600a2637609ffffffffffffffff00a16700686976586e8b806e7c7f75007f6b6d6d6d6c55797e53797e6b6d6d6d6c776700687eaa011f79876b6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6d6c7767006868"