@pezkuwi/api-contract 16.5.5

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 (162) hide show
  1. package/README.md +3 -0
  2. package/build/Abi/index.d.ts +31 -0
  3. package/build/Abi/toLatestCompatible.d.ts +15 -0
  4. package/build/Abi/toV1.d.ts +3 -0
  5. package/build/Abi/toV2.d.ts +3 -0
  6. package/build/Abi/toV3.d.ts +3 -0
  7. package/build/Abi/toV4.d.ts +3 -0
  8. package/build/augment.d.ts +1 -0
  9. package/build/base/Base.d.ts +13 -0
  10. package/build/base/Blueprint.d.ts +24 -0
  11. package/build/base/Code.d.ts +22 -0
  12. package/build/base/Contract.d.ts +25 -0
  13. package/build/base/index.d.ts +3 -0
  14. package/build/base/mock.d.ts +3 -0
  15. package/build/base/types.d.ts +25 -0
  16. package/build/base/util.d.ts +16 -0
  17. package/build/bundle.d.ts +4 -0
  18. package/build/index.d.ts +2 -0
  19. package/build/packageDetect.d.ts +1 -0
  20. package/build/packageInfo.d.ts +6 -0
  21. package/build/promise/index.d.ts +13 -0
  22. package/build/promise/types.d.ts +3 -0
  23. package/build/rx/index.d.ts +13 -0
  24. package/build/rx/types.d.ts +3 -0
  25. package/build/types.d.ts +79 -0
  26. package/build/util.d.ts +5 -0
  27. package/package.json +39 -0
  28. package/src/Abi/Abi.spec.ts +235 -0
  29. package/src/Abi/index.ts +477 -0
  30. package/src/Abi/toLatestCompatible.spec.ts +219 -0
  31. package/src/Abi/toLatestCompatible.ts +52 -0
  32. package/src/Abi/toV1.ts +35 -0
  33. package/src/Abi/toV2.ts +58 -0
  34. package/src/Abi/toV3.ts +18 -0
  35. package/src/Abi/toV4.ts +21 -0
  36. package/src/augment.ts +4 -0
  37. package/src/base/Base.ts +52 -0
  38. package/src/base/Blueprint.ts +90 -0
  39. package/src/base/Code.spec.ts +47 -0
  40. package/src/base/Code.ts +142 -0
  41. package/src/base/Contract.ts +197 -0
  42. package/src/base/index.ts +6 -0
  43. package/src/base/mock.ts +48 -0
  44. package/src/base/types.ts +40 -0
  45. package/src/base/util.ts +56 -0
  46. package/src/bundle.ts +10 -0
  47. package/src/checkTypes.manual.ts +45 -0
  48. package/src/index.ts +6 -0
  49. package/src/mod.ts +4 -0
  50. package/src/packageDetect.ts +13 -0
  51. package/src/packageInfo.ts +6 -0
  52. package/src/promise/index.ts +28 -0
  53. package/src/promise/types.ts +7 -0
  54. package/src/rx/index.ts +28 -0
  55. package/src/rx/types.ts +7 -0
  56. package/src/test/compare/ink_v0_delegator.test.json +47 -0
  57. package/src/test/compare/ink_v0_dns.test.json +232 -0
  58. package/src/test/compare/ink_v0_erc20.test.json +253 -0
  59. package/src/test/compare/ink_v0_erc721.test.json +415 -0
  60. package/src/test/compare/ink_v0_flipper.test.json +9 -0
  61. package/src/test/compare/ink_v0_flipperBundle.test.json +9 -0
  62. package/src/test/compare/ink_v0_incrementer.test.json +9 -0
  63. package/src/test/compare/ink_v0_multisigPlain.test.json +562 -0
  64. package/src/test/compare/ink_v1_flipper.test.json +9 -0
  65. package/src/test/compare/ink_v1_psp22.test.json +531 -0
  66. package/src/test/compare/ink_v2_erc20.test.json +205 -0
  67. package/src/test/compare/ink_v2_flipper.test.json +9 -0
  68. package/src/test/compare/ink_v3_flipper.test.json +9 -0
  69. package/src/test/compare/ink_v3_traitErc20.test.json +205 -0
  70. package/src/test/compare/ink_v4_erc20Contract.test.json +253 -0
  71. package/src/test/compare/ink_v4_erc20Metadata.test.json +253 -0
  72. package/src/test/compare/ink_v4_flipperContract.test.json +155 -0
  73. package/src/test/compare/ink_v4_flipperMetadata.test.json +155 -0
  74. package/src/test/compare/ink_v5_erc20.test.json +370 -0
  75. package/src/test/compare/ink_v5_erc20AnonymousTransferMetadata.test.json +370 -0
  76. package/src/test/compare/ink_v5_erc20Contract.test.json +370 -0
  77. package/src/test/compare/ink_v5_erc20Metadata.test.json +370 -0
  78. package/src/test/compare/ink_v5_flipperContract.test.json +174 -0
  79. package/src/test/compare/ink_v5_flipperMetadata.test.json +174 -0
  80. package/src/test/compare/ink_v6_erc20Contract.test.json +418 -0
  81. package/src/test/compare/ink_v6_erc20Metadata.test.json +418 -0
  82. package/src/test/compare/solang_v0_ints256.test.json +9 -0
  83. package/src/test/compare/user_v0_assetTransfer.test.json +54 -0
  84. package/src/test/compare/user_v0_enumExample.test.json +303 -0
  85. package/src/test/compare/user_v0_recursive.test.json +27 -0
  86. package/src/test/compare/user_v0_withString.test.json +260 -0
  87. package/src/test/compare/user_v3_ask.test.json +71 -0
  88. package/src/test/compare/user_v4_events.test.json +1328 -0
  89. package/src/test/contracts/index.ts +20 -0
  90. package/src/test/contracts/ink/index.ts +13 -0
  91. package/src/test/contracts/ink/v0/accumulator.wasm +0 -0
  92. package/src/test/contracts/ink/v0/adder.wasm +0 -0
  93. package/src/test/contracts/ink/v0/delegator.json +252 -0
  94. package/src/test/contracts/ink/v0/delegator.wasm +0 -0
  95. package/src/test/contracts/ink/v0/dns.json +713 -0
  96. package/src/test/contracts/ink/v0/dns.wasm +0 -0
  97. package/src/test/contracts/ink/v0/erc20.json +704 -0
  98. package/src/test/contracts/ink/v0/erc20.wasm +0 -0
  99. package/src/test/contracts/ink/v0/erc721.json +1197 -0
  100. package/src/test/contracts/ink/v0/erc721.wasm +0 -0
  101. package/src/test/contracts/ink/v0/flipper.contract.json +107 -0
  102. package/src/test/contracts/ink/v0/flipper.json +106 -0
  103. package/src/test/contracts/ink/v0/flipper.wasm +0 -0
  104. package/src/test/contracts/ink/v0/incrementer.json +108 -0
  105. package/src/test/contracts/ink/v0/incrementer.wasm +0 -0
  106. package/src/test/contracts/ink/v0/index.ts +11 -0
  107. package/src/test/contracts/ink/v0/multisig_plain.json +1466 -0
  108. package/src/test/contracts/ink/v0/multisig_plain.wasm +0 -0
  109. package/src/test/contracts/ink/v0/subber.wasm +0 -0
  110. package/src/test/contracts/ink/v0/trait-flipper.json +103 -0
  111. package/src/test/contracts/ink/v0/trait-flipper.wasm +0 -0
  112. package/src/test/contracts/ink/v1/flipper.contract.json +111 -0
  113. package/src/test/contracts/ink/v1/index.ts +6 -0
  114. package/src/test/contracts/ink/v1/psp22_minter_pauser.contract.json +1722 -0
  115. package/src/test/contracts/ink/v2/erc20.contract.json +630 -0
  116. package/src/test/contracts/ink/v2/flipper.contract.json +103 -0
  117. package/src/test/contracts/ink/v2/index.ts +5 -0
  118. package/src/test/contracts/ink/v3/flipper.contract.json +105 -0
  119. package/src/test/contracts/ink/v3/index.ts +6 -0
  120. package/src/test/contracts/ink/v3/trait_erc20.contract.json +631 -0
  121. package/src/test/contracts/ink/v4/erc20.contract.json +1 -0
  122. package/src/test/contracts/ink/v4/erc20.json +821 -0
  123. package/src/test/contracts/ink/v4/erc20.wasm +0 -0
  124. package/src/test/contracts/ink/v4/flipper.contract.json +1 -0
  125. package/src/test/contracts/ink/v4/flipper.json +396 -0
  126. package/src/test/contracts/ink/v4/flipper.wasm +0 -0
  127. package/src/test/contracts/ink/v4/index.ts +7 -0
  128. package/src/test/contracts/ink/v5/erc20.contract.json +1 -0
  129. package/src/test/contracts/ink/v5/erc20.json +1025 -0
  130. package/src/test/contracts/ink/v5/erc20.wasm +0 -0
  131. package/src/test/contracts/ink/v5/erc20_anonymous_transfer.json +1025 -0
  132. package/src/test/contracts/ink/v5/flipper.contract.json +1 -0
  133. package/src/test/contracts/ink/v5/flipper.json +420 -0
  134. package/src/test/contracts/ink/v5/flipper.wasm +0 -0
  135. package/src/test/contracts/ink/v5/index.ts +8 -0
  136. package/src/test/contracts/ink/v6/erc20.contract.json +1 -0
  137. package/src/test/contracts/ink/v6/erc20.json +1081 -0
  138. package/src/test/contracts/ink/v6/erc20.polkavm +0 -0
  139. package/src/test/contracts/ink/v6/index.ts +5 -0
  140. package/src/test/contracts/solang/index.ts +7 -0
  141. package/src/test/contracts/solang/v0/index.ts +4 -0
  142. package/src/test/contracts/solang/v0/ints256.json +113 -0
  143. package/src/test/contracts/solang/v0/ints256.sol +13 -0
  144. package/src/test/contracts/solang/v0/ints256.wasm +0 -0
  145. package/src/test/contracts/user/index.ts +9 -0
  146. package/src/test/contracts/user/v0/assetTransfer.json +299 -0
  147. package/src/test/contracts/user/v0/assetTransfer.wasm +0 -0
  148. package/src/test/contracts/user/v0/enumExample.json +528 -0
  149. package/src/test/contracts/user/v0/enumExample.wasm +0 -0
  150. package/src/test/contracts/user/v0/index.ts +7 -0
  151. package/src/test/contracts/user/v0/recursive.contract.json +1 -0
  152. package/src/test/contracts/user/v0/withString.json +777 -0
  153. package/src/test/contracts/user/v3/ask.json +550 -0
  154. package/src/test/contracts/user/v3/index.ts +4 -0
  155. package/src/test/contracts/user/v4/events.contract.json +2990 -0
  156. package/src/test/contracts/user/v4/index.ts +4 -0
  157. package/src/test/contracts/util.ts +14 -0
  158. package/src/types.ts +98 -0
  159. package/src/util.ts +20 -0
  160. package/tsconfig.build.json +22 -0
  161. package/tsconfig.build.tsbuildinfo +1 -0
  162. package/tsconfig.spec.json +26 -0
@@ -0,0 +1,303 @@
1
+ [
2
+ {
3
+ "info": "Plain",
4
+ "lookupIndex": 1,
5
+ "type": "i32",
6
+ "docs": [],
7
+ "namespace": ""
8
+ },
9
+ {
10
+ "info": "Plain",
11
+ "lookupIndex": 2,
12
+ "type": "u32",
13
+ "docs": [],
14
+ "namespace": ""
15
+ },
16
+ {
17
+ "info": "Plain",
18
+ "lookupIndex": 3,
19
+ "type": "u8",
20
+ "docs": [],
21
+ "namespace": ""
22
+ },
23
+ {
24
+ "info": "Enum",
25
+ "lookupIndex": 4,
26
+ "lookupName": "EnumExampleVariant",
27
+ "type": "{\"_enum\":{\"None\":\"Null\",\"Weekday\":\"EnumExampleWeekday\",\"TupleMaybeSigned\":\"EnumExampleTupleMaybeSigned\",\"NamedMaybeSigned\":\"EnumExampleNamedMaybeSigned\",\"Color\":\"EnumExampleColor\"}}",
28
+ "docs": [],
29
+ "namespace": "enum_example::enum_example::Variant",
30
+ "sub": [
31
+ {
32
+ "info": "Null",
33
+ "type": "Null",
34
+ "index": 0,
35
+ "name": "None"
36
+ },
37
+ {
38
+ "docs": [],
39
+ "info": "Si",
40
+ "lookupIndex": 5,
41
+ "lookupName": "EnumExampleWeekday",
42
+ "type": "Lookup5",
43
+ "index": 1,
44
+ "name": "Weekday"
45
+ },
46
+ {
47
+ "docs": [],
48
+ "info": "Si",
49
+ "lookupIndex": 6,
50
+ "lookupName": "EnumExampleTupleMaybeSigned",
51
+ "type": "Lookup6",
52
+ "index": 2,
53
+ "name": "TupleMaybeSigned"
54
+ },
55
+ {
56
+ "docs": [],
57
+ "info": "Si",
58
+ "lookupIndex": 7,
59
+ "lookupName": "EnumExampleNamedMaybeSigned",
60
+ "type": "Lookup7",
61
+ "index": 3,
62
+ "name": "NamedMaybeSigned"
63
+ },
64
+ {
65
+ "docs": [],
66
+ "info": "Si",
67
+ "lookupIndex": 8,
68
+ "lookupName": "EnumExampleColor",
69
+ "type": "Lookup8",
70
+ "index": 4,
71
+ "name": "Color"
72
+ }
73
+ ]
74
+ },
75
+ {
76
+ "info": "Enum",
77
+ "lookupIndex": 5,
78
+ "lookupName": "EnumExampleWeekday",
79
+ "type": "{\"_enum\":[\"Monday\",\"Tuesday\",\"Wednesday\",\"Thursday\",\"Friday\",\"Saturday\",\"Sunday\"]}",
80
+ "docs": [],
81
+ "namespace": "enum_example::enum_example::Weekday",
82
+ "sub": [
83
+ {
84
+ "info": "Null",
85
+ "type": "Null",
86
+ "index": 0,
87
+ "name": "Monday"
88
+ },
89
+ {
90
+ "info": "Null",
91
+ "type": "Null",
92
+ "index": 1,
93
+ "name": "Tuesday"
94
+ },
95
+ {
96
+ "info": "Null",
97
+ "type": "Null",
98
+ "index": 2,
99
+ "name": "Wednesday"
100
+ },
101
+ {
102
+ "info": "Null",
103
+ "type": "Null",
104
+ "index": 3,
105
+ "name": "Thursday"
106
+ },
107
+ {
108
+ "info": "Null",
109
+ "type": "Null",
110
+ "index": 4,
111
+ "name": "Friday"
112
+ },
113
+ {
114
+ "info": "Null",
115
+ "type": "Null",
116
+ "index": 5,
117
+ "name": "Saturday"
118
+ },
119
+ {
120
+ "info": "Null",
121
+ "type": "Null",
122
+ "index": 6,
123
+ "name": "Sunday"
124
+ }
125
+ ]
126
+ },
127
+ {
128
+ "info": "Enum",
129
+ "lookupIndex": 6,
130
+ "lookupName": "EnumExampleTupleMaybeSigned",
131
+ "type": "{\"_enum\":{\"Signed\":\"i32\",\"Unsigned\":\"u32\"}}",
132
+ "docs": [],
133
+ "namespace": "enum_example::enum_example::TupleMaybeSigned",
134
+ "sub": [
135
+ {
136
+ "info": "Plain",
137
+ "lookupIndex": 1,
138
+ "type": "i32",
139
+ "docs": [],
140
+ "namespace": "",
141
+ "index": 0,
142
+ "name": "Signed"
143
+ },
144
+ {
145
+ "info": "Plain",
146
+ "lookupIndex": 2,
147
+ "type": "u32",
148
+ "docs": [],
149
+ "namespace": "",
150
+ "index": 1,
151
+ "name": "Unsigned"
152
+ }
153
+ ]
154
+ },
155
+ {
156
+ "info": "Enum",
157
+ "lookupIndex": 7,
158
+ "lookupName": "EnumExampleNamedMaybeSigned",
159
+ "type": "{\"_enum\":{\"Signed\":\"{\\\"value\\\":\\\"i32\\\"}\",\"Unsigned\":\"{\\\"value\\\":\\\"u32\\\"}\"}}",
160
+ "docs": [],
161
+ "namespace": "enum_example::enum_example::NamedMaybeSigned",
162
+ "sub": [
163
+ {
164
+ "info": "Struct",
165
+ "sub": [
166
+ {
167
+ "info": "Plain",
168
+ "lookupIndex": 1,
169
+ "type": "i32",
170
+ "docs": [],
171
+ "namespace": "",
172
+ "name": "value"
173
+ }
174
+ ],
175
+ "type": "{\"value\":\"i32\"}",
176
+ "index": 0,
177
+ "name": "Signed"
178
+ },
179
+ {
180
+ "info": "Struct",
181
+ "sub": [
182
+ {
183
+ "info": "Plain",
184
+ "lookupIndex": 2,
185
+ "type": "u32",
186
+ "docs": [],
187
+ "namespace": "",
188
+ "name": "value"
189
+ }
190
+ ],
191
+ "type": "{\"value\":\"u32\"}",
192
+ "index": 1,
193
+ "name": "Unsigned"
194
+ }
195
+ ]
196
+ },
197
+ {
198
+ "info": "Enum",
199
+ "lookupIndex": 8,
200
+ "lookupName": "EnumExampleColor",
201
+ "type": "{\"_enum\":{\"Red\":\"Null\",\"Blue\":\"Null\",\"Green\":\"Null\",\"Yellow\":\"Null\",\"Rgb\":\"{\\\"r\\\":\\\"u8\\\",\\\"g\\\":\\\"u8\\\",\\\"b\\\":\\\"u8\\\"}\",\"Rgba\":\"{\\\"r\\\":\\\"u8\\\",\\\"g\\\":\\\"u8\\\",\\\"b\\\":\\\"u8\\\",\\\"a\\\":\\\"u8\\\"}\"}}",
202
+ "docs": [],
203
+ "namespace": "enum_example::enum_example::Color",
204
+ "sub": [
205
+ {
206
+ "info": "Null",
207
+ "type": "Null",
208
+ "index": 0,
209
+ "name": "Red"
210
+ },
211
+ {
212
+ "info": "Null",
213
+ "type": "Null",
214
+ "index": 1,
215
+ "name": "Blue"
216
+ },
217
+ {
218
+ "info": "Null",
219
+ "type": "Null",
220
+ "index": 2,
221
+ "name": "Green"
222
+ },
223
+ {
224
+ "info": "Null",
225
+ "type": "Null",
226
+ "index": 3,
227
+ "name": "Yellow"
228
+ },
229
+ {
230
+ "info": "Struct",
231
+ "sub": [
232
+ {
233
+ "info": "Plain",
234
+ "lookupIndex": 3,
235
+ "type": "u8",
236
+ "docs": [],
237
+ "namespace": "",
238
+ "name": "r"
239
+ },
240
+ {
241
+ "info": "Plain",
242
+ "lookupIndex": 3,
243
+ "type": "u8",
244
+ "docs": [],
245
+ "namespace": "",
246
+ "name": "g"
247
+ },
248
+ {
249
+ "info": "Plain",
250
+ "lookupIndex": 3,
251
+ "type": "u8",
252
+ "docs": [],
253
+ "namespace": "",
254
+ "name": "b"
255
+ }
256
+ ],
257
+ "type": "{\"r\":\"u8\",\"g\":\"u8\",\"b\":\"u8\"}",
258
+ "index": 4,
259
+ "name": "Rgb"
260
+ },
261
+ {
262
+ "info": "Struct",
263
+ "sub": [
264
+ {
265
+ "info": "Plain",
266
+ "lookupIndex": 3,
267
+ "type": "u8",
268
+ "docs": [],
269
+ "namespace": "",
270
+ "name": "r"
271
+ },
272
+ {
273
+ "info": "Plain",
274
+ "lookupIndex": 3,
275
+ "type": "u8",
276
+ "docs": [],
277
+ "namespace": "",
278
+ "name": "g"
279
+ },
280
+ {
281
+ "info": "Plain",
282
+ "lookupIndex": 3,
283
+ "type": "u8",
284
+ "docs": [],
285
+ "namespace": "",
286
+ "name": "b"
287
+ },
288
+ {
289
+ "info": "Plain",
290
+ "lookupIndex": 3,
291
+ "type": "u8",
292
+ "docs": [],
293
+ "namespace": "",
294
+ "name": "a"
295
+ }
296
+ ],
297
+ "type": "{\"r\":\"u8\",\"g\":\"u8\",\"b\":\"u8\",\"a\":\"u8\"}",
298
+ "index": 5,
299
+ "name": "Rgba"
300
+ }
301
+ ]
302
+ }
303
+ ]
@@ -0,0 +1,27 @@
1
+ [
2
+ {
3
+ "info": "Enum",
4
+ "lookupIndex": 1,
5
+ "lookupName": "RecursiveMyEnum",
6
+ "type": "{\"_enum\":{\"A\":\"Null\",\"B\":\"RecursiveMyEnum\"}}",
7
+ "docs": [],
8
+ "namespace": "recursive::MyEnum",
9
+ "sub": [
10
+ {
11
+ "info": "Null",
12
+ "type": "Null",
13
+ "index": 0,
14
+ "name": "A"
15
+ },
16
+ {
17
+ "info": "Si",
18
+ "lookupIndex": 1,
19
+ "lookupName": "RecursiveMyEnum",
20
+ "type": "Lookup1",
21
+ "typeName": "MyEnum",
22
+ "index": 1,
23
+ "name": "B"
24
+ }
25
+ ]
26
+ }
27
+ ]
@@ -0,0 +1,260 @@
1
+ [
2
+ {
3
+ "info": "Plain",
4
+ "lookupIndex": 1,
5
+ "type": "u128",
6
+ "docs": [],
7
+ "namespace": ""
8
+ },
9
+ {
10
+ "info": "Struct",
11
+ "lookupIndex": 2,
12
+ "lookupName": "InkStorageCollectionsStashHeader",
13
+ "type": "{\"lastVacant\":\"u32\",\"len\":\"u32\",\"lenEntries\":\"u32\"}",
14
+ "docs": [],
15
+ "namespace": "ink_storage::collections::stash::Header",
16
+ "sub": [
17
+ {
18
+ "info": "Plain",
19
+ "lookupIndex": 3,
20
+ "type": "u32",
21
+ "docs": [],
22
+ "namespace": "",
23
+ "name": "lastVacant"
24
+ },
25
+ {
26
+ "info": "Plain",
27
+ "lookupIndex": 3,
28
+ "type": "u32",
29
+ "docs": [],
30
+ "namespace": "",
31
+ "name": "len"
32
+ },
33
+ {
34
+ "info": "Plain",
35
+ "lookupIndex": 3,
36
+ "type": "u32",
37
+ "docs": [],
38
+ "namespace": "",
39
+ "name": "lenEntries"
40
+ }
41
+ ]
42
+ },
43
+ {
44
+ "info": "Plain",
45
+ "lookupIndex": 3,
46
+ "type": "u32",
47
+ "docs": [],
48
+ "namespace": ""
49
+ },
50
+ {
51
+ "info": "Enum",
52
+ "lookupIndex": 4,
53
+ "type": "{\"_enum\":{\"Vacant\":\"InkStorageCollectionsStashVacantEntry\",\"Occupied\":\"AccountId\"}}",
54
+ "docs": [],
55
+ "namespace": "ink_storage::collections::stash::Entry",
56
+ "sub": [
57
+ {
58
+ "docs": [],
59
+ "info": "Si",
60
+ "lookupIndex": 8,
61
+ "lookupName": "InkStorageCollectionsStashVacantEntry",
62
+ "type": "Lookup8",
63
+ "index": 0,
64
+ "name": "Vacant"
65
+ },
66
+ {
67
+ "info": "Plain",
68
+ "lookupIndex": 5,
69
+ "type": "AccountId",
70
+ "docs": [],
71
+ "namespace": "ink_env::types::AccountId",
72
+ "lookupNameRoot": "InkEnvAccountId",
73
+ "index": 1,
74
+ "name": "Occupied"
75
+ }
76
+ ]
77
+ },
78
+ {
79
+ "info": "Plain",
80
+ "lookupIndex": 5,
81
+ "type": "AccountId",
82
+ "docs": [],
83
+ "namespace": "ink_env::types::AccountId",
84
+ "lookupNameRoot": "InkEnvAccountId"
85
+ },
86
+ {
87
+ "info": "VecFixed",
88
+ "lookupIndex": 6,
89
+ "type": "[u8;32]",
90
+ "docs": [],
91
+ "namespace": "",
92
+ "length": 32,
93
+ "sub": {
94
+ "info": "Plain",
95
+ "lookupIndex": 7,
96
+ "type": "u8",
97
+ "docs": [],
98
+ "namespace": ""
99
+ }
100
+ },
101
+ {
102
+ "info": "Plain",
103
+ "lookupIndex": 7,
104
+ "type": "u8",
105
+ "docs": [],
106
+ "namespace": ""
107
+ },
108
+ {
109
+ "info": "Struct",
110
+ "lookupIndex": 8,
111
+ "lookupName": "InkStorageCollectionsStashVacantEntry",
112
+ "type": "{\"next\":\"u32\",\"prev\":\"u32\"}",
113
+ "docs": [],
114
+ "namespace": "ink_storage::collections::stash::VacantEntry",
115
+ "sub": [
116
+ {
117
+ "info": "Plain",
118
+ "lookupIndex": 3,
119
+ "type": "u32",
120
+ "docs": [],
121
+ "namespace": "",
122
+ "name": "next"
123
+ },
124
+ {
125
+ "info": "Plain",
126
+ "lookupIndex": 3,
127
+ "type": "u32",
128
+ "docs": [],
129
+ "namespace": "",
130
+ "name": "prev"
131
+ }
132
+ ]
133
+ },
134
+ {
135
+ "info": "Struct",
136
+ "lookupIndex": 9,
137
+ "lookupName": "InkStorageCollectionsHashmapValueEntry",
138
+ "type": "{\"value\":\"u128\",\"keyIndex\":\"u32\"}",
139
+ "docs": [],
140
+ "namespace": "ink_storage::collections::hashmap::ValueEntry",
141
+ "sub": [
142
+ {
143
+ "info": "Plain",
144
+ "lookupIndex": 1,
145
+ "type": "u128",
146
+ "docs": [],
147
+ "namespace": "",
148
+ "name": "value"
149
+ },
150
+ {
151
+ "info": "Plain",
152
+ "lookupIndex": 3,
153
+ "type": "u32",
154
+ "docs": [],
155
+ "namespace": "",
156
+ "name": "keyIndex"
157
+ }
158
+ ]
159
+ },
160
+ {
161
+ "info": "Enum",
162
+ "lookupIndex": 10,
163
+ "lookupName": "InkStorageCollectionsStashEntry",
164
+ "type": "{\"_enum\":{\"Vacant\":\"InkStorageCollectionsStashVacantEntry\",\"Occupied\":\"(AccountId,AccountId)\"}}",
165
+ "docs": [],
166
+ "namespace": "ink_storage::collections::stash::Entry",
167
+ "sub": [
168
+ {
169
+ "docs": [],
170
+ "info": "Si",
171
+ "lookupIndex": 8,
172
+ "lookupName": "InkStorageCollectionsStashVacantEntry",
173
+ "type": "Lookup8",
174
+ "index": 0,
175
+ "name": "Vacant"
176
+ },
177
+ {
178
+ "info": "Tuple",
179
+ "lookupIndex": 11,
180
+ "type": "(AccountId,AccountId)",
181
+ "docs": [],
182
+ "namespace": "",
183
+ "sub": [
184
+ {
185
+ "info": "Plain",
186
+ "lookupIndex": 5,
187
+ "type": "AccountId",
188
+ "docs": [],
189
+ "namespace": "ink_env::types::AccountId",
190
+ "lookupNameRoot": "InkEnvAccountId"
191
+ },
192
+ {
193
+ "info": "Plain",
194
+ "lookupIndex": 5,
195
+ "type": "AccountId",
196
+ "docs": [],
197
+ "namespace": "ink_env::types::AccountId",
198
+ "lookupNameRoot": "InkEnvAccountId"
199
+ }
200
+ ],
201
+ "index": 1,
202
+ "name": "Occupied"
203
+ }
204
+ ]
205
+ },
206
+ {
207
+ "info": "Tuple",
208
+ "lookupIndex": 11,
209
+ "type": "(AccountId,AccountId)",
210
+ "docs": [],
211
+ "namespace": "",
212
+ "sub": [
213
+ {
214
+ "info": "Plain",
215
+ "lookupIndex": 5,
216
+ "type": "AccountId",
217
+ "docs": [],
218
+ "namespace": "ink_env::types::AccountId",
219
+ "lookupNameRoot": "InkEnvAccountId"
220
+ },
221
+ {
222
+ "info": "Plain",
223
+ "lookupIndex": 5,
224
+ "type": "AccountId",
225
+ "docs": [],
226
+ "namespace": "ink_env::types::AccountId",
227
+ "lookupNameRoot": "InkEnvAccountId"
228
+ }
229
+ ]
230
+ },
231
+ {
232
+ "info": "Plain",
233
+ "lookupIndex": 12,
234
+ "type": "Text",
235
+ "docs": [],
236
+ "namespace": ""
237
+ },
238
+ {
239
+ "info": "Plain",
240
+ "lookupIndex": 13,
241
+ "type": "bool",
242
+ "docs": [],
243
+ "namespace": ""
244
+ },
245
+ {
246
+ "info": "Option",
247
+ "lookupIndex": 14,
248
+ "type": "Option<AccountId>",
249
+ "docs": [],
250
+ "namespace": "Option",
251
+ "sub": {
252
+ "info": "Plain",
253
+ "lookupIndex": 5,
254
+ "type": "AccountId",
255
+ "docs": [],
256
+ "namespace": "ink_env::types::AccountId",
257
+ "lookupNameRoot": "InkEnvAccountId"
258
+ }
259
+ }
260
+ ]
@@ -0,0 +1,71 @@
1
+ [
2
+ {
3
+ "info": "Plain",
4
+ "lookupIndex": 0,
5
+ "type": "u8",
6
+ "docs": [],
7
+ "namespace": ""
8
+ },
9
+ {
10
+ "info": "Plain",
11
+ "lookupIndex": 1,
12
+ "type": "Text",
13
+ "docs": [],
14
+ "namespace": ""
15
+ },
16
+ {
17
+ "info": "VecFixed",
18
+ "lookupIndex": 2,
19
+ "type": "[u8;32]",
20
+ "docs": [],
21
+ "namespace": "",
22
+ "length": 32,
23
+ "sub": {
24
+ "info": "Plain",
25
+ "lookupIndex": 0,
26
+ "type": "u8",
27
+ "docs": [],
28
+ "namespace": ""
29
+ }
30
+ },
31
+ {
32
+ "info": "Struct",
33
+ "lookupIndex": 3,
34
+ "type": "{\"inner\":\"[u8;32]\"}",
35
+ "docs": [],
36
+ "namespace": "",
37
+ "sub": [
38
+ {
39
+ "docs": [],
40
+ "name": "inner",
41
+ "info": "VecFixed",
42
+ "lookupIndex": 2,
43
+ "type": "[u8;32]",
44
+ "namespace": "",
45
+ "length": 32,
46
+ "sub": {
47
+ "info": "Plain",
48
+ "lookupIndex": 0,
49
+ "type": "u8",
50
+ "docs": [],
51
+ "namespace": ""
52
+ },
53
+ "typeName": "FixedArray32"
54
+ }
55
+ ]
56
+ },
57
+ {
58
+ "info": "Plain",
59
+ "lookupIndex": 4,
60
+ "type": "u128",
61
+ "docs": [],
62
+ "namespace": ""
63
+ },
64
+ {
65
+ "info": "Plain",
66
+ "lookupIndex": 5,
67
+ "type": "bool",
68
+ "docs": [],
69
+ "namespace": ""
70
+ }
71
+ ]