@pezkuwi/api-contract 16.5.5 → 16.5.6

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