@sentio/sdk 2.4.0-rc.1 → 2.5.0-rc.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 (167) hide show
  1. package/lib/aptos/aptos-processor.d.ts +1 -1
  2. package/lib/aptos/aptos-processor.js +1 -1
  3. package/lib/aptos/aptos-processor.js.map +1 -1
  4. package/lib/aptos/builtin/0x1.d.ts +16 -177
  5. package/lib/aptos/builtin/0x1.js +56 -538
  6. package/lib/aptos/builtin/0x1.js.map +1 -1
  7. package/lib/aptos/builtin/0x3.d.ts +2 -13
  8. package/lib/aptos/builtin/0x3.js +20 -48
  9. package/lib/aptos/builtin/0x3.js.map +1 -1
  10. package/lib/aptos/codegen/codegen.d.ts +0 -20
  11. package/lib/aptos/codegen/codegen.js +37 -357
  12. package/lib/aptos/codegen/codegen.js.map +1 -1
  13. package/lib/aptos/{types.test.d.ts → codegen/types.test.d.ts} +0 -0
  14. package/lib/aptos/codegen/types.test.js.map +1 -0
  15. package/lib/aptos/models.d.ts +0 -8
  16. package/lib/aptos/models.js.map +1 -1
  17. package/lib/aptos/move-coder.d.ts +4 -13
  18. package/lib/aptos/move-coder.js +13 -124
  19. package/lib/aptos/move-coder.js.map +1 -1
  20. package/lib/aptos/move-types.d.ts +6 -0
  21. package/lib/aptos/move-types.js +52 -1
  22. package/lib/aptos/move-types.js.map +1 -1
  23. package/lib/aptos/tests/souffl3.js +1 -1
  24. package/lib/aptos/tests/souffl3.js.map +1 -1
  25. package/lib/aptos/tests/types/reserved.d.ts +2 -8
  26. package/lib/aptos/tests/types/reserved.js +11 -24
  27. package/lib/aptos/tests/types/reserved.js.map +1 -1
  28. package/lib/aptos/tests/types/soffl3.d.ts +2 -14
  29. package/lib/aptos/tests/types/soffl3.js +15 -48
  30. package/lib/aptos/tests/types/soffl3.js.map +1 -1
  31. package/lib/aptos/tests/types/souffle.d.ts +2 -8
  32. package/lib/aptos/tests/types/souffle.js +11 -24
  33. package/lib/aptos/tests/types/souffle.js.map +1 -1
  34. package/lib/aptos/utils.d.ts +2 -7
  35. package/lib/aptos/utils.js +2 -15
  36. package/lib/aptos/utils.js.map +1 -1
  37. package/lib/eth/tests/codegen.test.js.map +1 -1
  38. package/lib/eth/tests/erc20.js +1 -1
  39. package/lib/eth/tests/erc20.js.map +1 -1
  40. package/lib/eth/tests/logger.test.js.map +1 -1
  41. package/lib/move/abstract-codegen.d.ts +44 -0
  42. package/lib/move/abstract-codegen.js +341 -0
  43. package/lib/move/abstract-codegen.js.map +1 -0
  44. package/lib/move/abstract-move-coder.d.ts +24 -0
  45. package/lib/move/abstract-move-coder.js +141 -0
  46. package/lib/move/abstract-move-coder.js.map +1 -0
  47. package/lib/move/account.d.ts +18 -0
  48. package/lib/{aptos/codegen/typegen.js → move/account.js} +20 -82
  49. package/lib/move/account.js.map +1 -0
  50. package/lib/move/filter.d.ts +25 -0
  51. package/lib/move/filter.js +11 -0
  52. package/lib/move/filter.js.map +1 -0
  53. package/lib/move/index.d.ts +5 -25
  54. package/lib/move/index.js +5 -10
  55. package/lib/move/index.js.map +1 -1
  56. package/lib/move/neutral-models.d.ts +34 -0
  57. package/lib/move/neutral-models.js +7 -0
  58. package/lib/move/neutral-models.js.map +1 -0
  59. package/lib/move/ts-type.d.ts +2 -0
  60. package/lib/move/ts-type.js +77 -0
  61. package/lib/move/ts-type.js.map +1 -0
  62. package/lib/{aptos/codegen/typegen.test.d.ts → move/ts-type.test.d.ts} +0 -0
  63. package/lib/move/ts-type.test.js.map +1 -0
  64. package/lib/{aptos → move}/types.d.ts +1 -0
  65. package/lib/{aptos → move}/types.js +26 -3
  66. package/lib/move/types.js.map +1 -0
  67. package/lib/move/utils.d.ts +9 -0
  68. package/lib/move/utils.js +20 -0
  69. package/lib/move/utils.js.map +1 -0
  70. package/lib/sui/builtin/0x1.d.ts +114 -0
  71. package/lib/sui/builtin/0x1.js +174 -0
  72. package/lib/sui/builtin/0x1.js.map +1 -0
  73. package/lib/sui/builtin/0x2.d.ts +1047 -0
  74. package/lib/sui/builtin/0x2.js +1295 -0
  75. package/lib/sui/builtin/0x2.js.map +1 -0
  76. package/lib/sui/builtin/index.d.ts +2 -0
  77. package/lib/sui/builtin/index.js +6 -0
  78. package/lib/sui/builtin/index.js.map +1 -0
  79. package/lib/sui/codegen/codegen.d.ts +1 -0
  80. package/lib/sui/codegen/codegen.js +61 -0
  81. package/lib/sui/codegen/codegen.js.map +1 -0
  82. package/lib/sui/codegen/index.d.ts +1 -0
  83. package/lib/sui/codegen/index.js +2 -0
  84. package/lib/sui/codegen/index.js.map +1 -0
  85. package/lib/sui/codegen/run.d.ts +1 -0
  86. package/lib/sui/codegen/run.js +12 -0
  87. package/lib/sui/codegen/run.js.map +1 -0
  88. package/lib/sui/index.d.ts +2 -0
  89. package/lib/sui/index.js +1 -0
  90. package/lib/sui/index.js.map +1 -1
  91. package/lib/sui/models.d.ts +7 -1
  92. package/lib/sui/models.js +0 -23
  93. package/lib/sui/models.js.map +1 -1
  94. package/lib/sui/move-coder.d.ts +11 -0
  95. package/lib/sui/move-coder.js +53 -0
  96. package/lib/sui/move-coder.js.map +1 -0
  97. package/lib/sui/move-types.d.ts +9 -0
  98. package/lib/sui/move-types.js +81 -0
  99. package/lib/sui/move-types.js.map +1 -0
  100. package/lib/sui/sui-processor.js +3 -3
  101. package/lib/sui/sui-processor.js.map +1 -1
  102. package/lib/sui/tests/sui.test.js.map +1 -1
  103. package/lib/sui/tests/types/index.d.ts +1 -0
  104. package/lib/sui/tests/types/index.js +5 -0
  105. package/lib/sui/tests/types/index.js.map +1 -0
  106. package/lib/sui/tests/types/testnet/index.d.ts +1 -0
  107. package/lib/sui/tests/types/testnet/index.js +5 -0
  108. package/lib/sui/tests/types/testnet/index.js.map +1 -0
  109. package/lib/sui/tests/types/testnet/swap.d.ts +249 -0
  110. package/lib/sui/tests/types/testnet/swap.js +310 -0
  111. package/lib/sui/tests/types/testnet/swap.js.map +1 -0
  112. package/lib/testing/aptos-facet.js +1 -1
  113. package/lib/testing/aptos-facet.js.map +1 -1
  114. package/lib/testing/sui-facet.js +3 -2
  115. package/lib/testing/sui-facet.js.map +1 -1
  116. package/package.json +8 -5
  117. package/src/aptos/aptos-processor.ts +1 -1
  118. package/src/aptos/builtin/0x1.ts +70 -652
  119. package/src/aptos/builtin/0x3.ts +24 -59
  120. package/src/aptos/codegen/codegen.ts +35 -421
  121. package/src/aptos/models.ts +0 -10
  122. package/src/aptos/move-coder.ts +16 -150
  123. package/src/aptos/move-types.ts +62 -0
  124. package/src/aptos/tests/souffl3.ts +1 -1
  125. package/src/aptos/tests/types/reserved.ts +15 -30
  126. package/src/aptos/tests/types/soffl3.ts +19 -58
  127. package/src/aptos/tests/types/souffle.ts +15 -30
  128. package/src/aptos/utils.ts +3 -21
  129. package/src/eth/tests/erc20.ts +1 -1
  130. package/src/move/abstract-codegen.ts +426 -0
  131. package/src/move/abstract-move-coder.ts +170 -0
  132. package/src/move/account.ts +96 -0
  133. package/src/move/filter.ts +33 -0
  134. package/src/move/index.ts +5 -33
  135. package/src/move/neutral-models.ts +45 -0
  136. package/src/move/ts-type.ts +86 -0
  137. package/src/{aptos → move}/types.ts +28 -3
  138. package/src/move/utils.ts +25 -0
  139. package/src/sui/abis/0x1.json +1729 -1733
  140. package/src/sui/abis/0x2.json +13279 -13283
  141. package/src/sui/builtin/0x1.ts +307 -0
  142. package/src/sui/builtin/0x2.ts +2578 -0
  143. package/src/sui/builtin/index.ts +5 -0
  144. package/src/sui/codegen/codegen.ts +71 -0
  145. package/src/sui/codegen/index.ts +1 -0
  146. package/src/sui/codegen/run.ts +13 -0
  147. package/src/sui/index.ts +4 -0
  148. package/src/sui/models.ts +7 -28
  149. package/src/sui/move-coder.ts +63 -0
  150. package/src/sui/move-types.ts +109 -0
  151. package/src/sui/sui-processor.ts +3 -3
  152. package/src/sui/tests/abis/testnet/swap.json +1752 -0
  153. package/src/sui/tests/types/index.ts +3 -0
  154. package/src/sui/tests/types/testnet/index.ts +4 -0
  155. package/src/sui/tests/types/testnet/swap.ts +698 -0
  156. package/src/testing/aptos-facet.ts +1 -1
  157. package/src/testing/sui-facet.ts +3 -2
  158. package/lib/aptos/codegen/typegen.d.ts +0 -18
  159. package/lib/aptos/codegen/typegen.js.map +0 -1
  160. package/lib/aptos/codegen/typegen.test.js.map +0 -1
  161. package/lib/aptos/types.js.map +0 -1
  162. package/lib/aptos/types.test.js.map +0 -1
  163. package/lib/jest.config.d.ts +0 -9
  164. package/lib/jest.config.js +0 -9
  165. package/lib/jest.config.js.map +0 -1
  166. package/src/aptos/codegen/typegen.ts +0 -165
  167. package/src/jest.config.ts +0 -8
@@ -1,137 +1,79 @@
1
1
  {
2
- "id": 1,
3
- "jsonrpc": "2.0",
4
- "result": {
5
- "address": {
6
- "file_format_version": 6,
7
- "address": "0x1",
8
- "name": "address",
9
- "friends": [],
10
- "structs": {},
11
- "exposed_functions": {
12
- "length": {
13
- "visibility": "Public",
14
- "is_entry": false,
15
- "type_parameters": [],
16
- "parameters": [],
17
- "return_": ["U64"]
18
- }
2
+ "address": {
3
+ "file_format_version": 6,
4
+ "address": "0x1",
5
+ "name": "address",
6
+ "friends": [],
7
+ "structs": {},
8
+ "exposed_functions": {
9
+ "length": {
10
+ "visibility": "Public",
11
+ "is_entry": false,
12
+ "type_parameters": [],
13
+ "parameters": [],
14
+ "return_": ["U64"]
19
15
  }
20
- },
21
- "ascii": {
22
- "file_format_version": 6,
23
- "address": "0x1",
24
- "name": "ascii",
25
- "friends": [],
26
- "structs": {
27
- "Char": {
28
- "abilities": {
29
- "abilities": ["Copy", "Drop", "Store"]
30
- },
31
- "type_parameters": [],
32
- "fields": [
33
- {
34
- "name": "byte",
35
- "type_": "U8"
36
- }
37
- ]
38
- },
39
- "String": {
40
- "abilities": {
41
- "abilities": ["Copy", "Drop", "Store"]
42
- },
43
- "type_parameters": [],
44
- "fields": [
45
- {
46
- "name": "bytes",
47
- "type_": {
48
- "Vector": "U8"
49
- }
50
- }
51
- ]
52
- }
53
- },
54
- "exposed_functions": {
55
- "all_characters_printable": {
56
- "visibility": "Public",
57
- "is_entry": false,
58
- "type_parameters": [],
59
- "parameters": [
60
- {
61
- "Reference": {
62
- "Struct": {
63
- "address": "0x1",
64
- "module": "ascii",
65
- "name": "String",
66
- "type_arguments": []
67
- }
68
- }
69
- }
70
- ],
71
- "return_": ["Bool"]
72
- },
73
- "as_bytes": {
74
- "visibility": "Public",
75
- "is_entry": false,
76
- "type_parameters": [],
77
- "parameters": [
78
- {
79
- "Reference": {
80
- "Struct": {
81
- "address": "0x1",
82
- "module": "ascii",
83
- "name": "String",
84
- "type_arguments": []
85
- }
86
- }
87
- }
88
- ],
89
- "return_": [
90
- {
91
- "Reference": {
92
- "Vector": "U8"
93
- }
94
- }
95
- ]
96
- },
97
- "byte": {
98
- "visibility": "Public",
99
- "is_entry": false,
100
- "type_parameters": [],
101
- "parameters": [
102
- {
103
- "Struct": {
104
- "address": "0x1",
105
- "module": "ascii",
106
- "name": "Char",
107
- "type_arguments": []
108
- }
16
+ }
17
+ },
18
+ "ascii": {
19
+ "file_format_version": 6,
20
+ "address": "0x1",
21
+ "name": "ascii",
22
+ "friends": [],
23
+ "structs": {
24
+ "Char": {
25
+ "abilities": {
26
+ "abilities": ["Copy", "Drop", "Store"]
27
+ },
28
+ "type_parameters": [],
29
+ "fields": [
30
+ {
31
+ "name": "byte",
32
+ "type_": "U8"
33
+ }
34
+ ]
35
+ },
36
+ "String": {
37
+ "abilities": {
38
+ "abilities": ["Copy", "Drop", "Store"]
39
+ },
40
+ "type_parameters": [],
41
+ "fields": [
42
+ {
43
+ "name": "bytes",
44
+ "type_": {
45
+ "Vector": "U8"
109
46
  }
110
- ],
111
- "return_": ["U8"]
112
- },
113
- "char": {
114
- "visibility": "Public",
115
- "is_entry": false,
116
- "type_parameters": [],
117
- "parameters": ["U8"],
118
- "return_": [
119
- {
47
+ }
48
+ ]
49
+ }
50
+ },
51
+ "exposed_functions": {
52
+ "all_characters_printable": {
53
+ "visibility": "Public",
54
+ "is_entry": false,
55
+ "type_parameters": [],
56
+ "parameters": [
57
+ {
58
+ "Reference": {
120
59
  "Struct": {
121
60
  "address": "0x1",
122
61
  "module": "ascii",
123
- "name": "Char",
62
+ "name": "String",
124
63
  "type_arguments": []
125
64
  }
126
65
  }
127
- ]
128
- },
129
- "into_bytes": {
130
- "visibility": "Public",
131
- "is_entry": false,
132
- "type_parameters": [],
133
- "parameters": [
134
- {
66
+ }
67
+ ],
68
+ "return_": ["Bool"]
69
+ },
70
+ "as_bytes": {
71
+ "visibility": "Public",
72
+ "is_entry": false,
73
+ "type_parameters": [],
74
+ "parameters": [
75
+ {
76
+ "Reference": {
135
77
  "Struct": {
136
78
  "address": "0x1",
137
79
  "module": "ascii",
@@ -139,109 +81,134 @@
139
81
  "type_arguments": []
140
82
  }
141
83
  }
142
- ],
143
- "return_": [
144
- {
84
+ }
85
+ ],
86
+ "return_": [
87
+ {
88
+ "Reference": {
145
89
  "Vector": "U8"
146
90
  }
147
- ]
148
- },
149
- "is_printable_char": {
150
- "visibility": "Public",
151
- "is_entry": false,
152
- "type_parameters": [],
153
- "parameters": ["U8"],
154
- "return_": ["Bool"]
155
- },
156
- "is_valid_char": {
157
- "visibility": "Public",
158
- "is_entry": false,
159
- "type_parameters": [],
160
- "parameters": ["U8"],
161
- "return_": ["Bool"]
162
- },
163
- "length": {
164
- "visibility": "Public",
165
- "is_entry": false,
166
- "type_parameters": [],
167
- "parameters": [
168
- {
169
- "Reference": {
170
- "Struct": {
171
- "address": "0x1",
172
- "module": "ascii",
173
- "name": "String",
174
- "type_arguments": []
175
- }
176
- }
177
- }
178
- ],
179
- "return_": ["U64"]
180
- },
181
- "pop_char": {
182
- "visibility": "Public",
183
- "is_entry": false,
184
- "type_parameters": [],
185
- "parameters": [
186
- {
187
- "MutableReference": {
188
- "Struct": {
189
- "address": "0x1",
190
- "module": "ascii",
191
- "name": "String",
192
- "type_arguments": []
193
- }
194
- }
195
- }
196
- ],
197
- "return_": [
198
- {
91
+ }
92
+ ]
93
+ },
94
+ "byte": {
95
+ "visibility": "Public",
96
+ "is_entry": false,
97
+ "type_parameters": [],
98
+ "parameters": [
99
+ {
100
+ "Struct": {
101
+ "address": "0x1",
102
+ "module": "ascii",
103
+ "name": "Char",
104
+ "type_arguments": []
105
+ }
106
+ }
107
+ ],
108
+ "return_": ["U8"]
109
+ },
110
+ "char": {
111
+ "visibility": "Public",
112
+ "is_entry": false,
113
+ "type_parameters": [],
114
+ "parameters": ["U8"],
115
+ "return_": [
116
+ {
117
+ "Struct": {
118
+ "address": "0x1",
119
+ "module": "ascii",
120
+ "name": "Char",
121
+ "type_arguments": []
122
+ }
123
+ }
124
+ ]
125
+ },
126
+ "into_bytes": {
127
+ "visibility": "Public",
128
+ "is_entry": false,
129
+ "type_parameters": [],
130
+ "parameters": [
131
+ {
132
+ "Struct": {
133
+ "address": "0x1",
134
+ "module": "ascii",
135
+ "name": "String",
136
+ "type_arguments": []
137
+ }
138
+ }
139
+ ],
140
+ "return_": [
141
+ {
142
+ "Vector": "U8"
143
+ }
144
+ ]
145
+ },
146
+ "is_printable_char": {
147
+ "visibility": "Public",
148
+ "is_entry": false,
149
+ "type_parameters": [],
150
+ "parameters": ["U8"],
151
+ "return_": ["Bool"]
152
+ },
153
+ "is_valid_char": {
154
+ "visibility": "Public",
155
+ "is_entry": false,
156
+ "type_parameters": [],
157
+ "parameters": ["U8"],
158
+ "return_": ["Bool"]
159
+ },
160
+ "length": {
161
+ "visibility": "Public",
162
+ "is_entry": false,
163
+ "type_parameters": [],
164
+ "parameters": [
165
+ {
166
+ "Reference": {
199
167
  "Struct": {
200
168
  "address": "0x1",
201
169
  "module": "ascii",
202
- "name": "Char",
170
+ "name": "String",
203
171
  "type_arguments": []
204
172
  }
205
173
  }
206
- ]
207
- },
208
- "push_char": {
209
- "visibility": "Public",
210
- "is_entry": false,
211
- "type_parameters": [],
212
- "parameters": [
213
- {
214
- "MutableReference": {
215
- "Struct": {
216
- "address": "0x1",
217
- "module": "ascii",
218
- "name": "String",
219
- "type_arguments": []
220
- }
221
- }
222
- },
223
- {
174
+ }
175
+ ],
176
+ "return_": ["U64"]
177
+ },
178
+ "pop_char": {
179
+ "visibility": "Public",
180
+ "is_entry": false,
181
+ "type_parameters": [],
182
+ "parameters": [
183
+ {
184
+ "MutableReference": {
224
185
  "Struct": {
225
186
  "address": "0x1",
226
187
  "module": "ascii",
227
- "name": "Char",
188
+ "name": "String",
228
189
  "type_arguments": []
229
190
  }
230
191
  }
231
- ],
232
- "return_": []
233
- },
234
- "string": {
235
- "visibility": "Public",
236
- "is_entry": false,
237
- "type_parameters": [],
238
- "parameters": [
239
- {
240
- "Vector": "U8"
192
+ }
193
+ ],
194
+ "return_": [
195
+ {
196
+ "Struct": {
197
+ "address": "0x1",
198
+ "module": "ascii",
199
+ "name": "Char",
200
+ "type_arguments": []
241
201
  }
242
- ],
243
- "return_": [
244
- {
202
+ }
203
+ ]
204
+ },
205
+ "push_char": {
206
+ "visibility": "Public",
207
+ "is_entry": false,
208
+ "type_parameters": [],
209
+ "parameters": [
210
+ {
211
+ "MutableReference": {
245
212
  "Struct": {
246
213
  "address": "0x1",
247
214
  "module": "ascii",
@@ -249,158 +216,132 @@
249
216
  "type_arguments": []
250
217
  }
251
218
  }
252
- ]
253
- },
254
- "try_string": {
255
- "visibility": "Public",
256
- "is_entry": false,
257
- "type_parameters": [],
258
- "parameters": [
259
- {
260
- "Vector": "U8"
261
- }
262
- ],
263
- "return_": [
264
- {
265
- "Struct": {
266
- "address": "0x1",
267
- "module": "option",
268
- "name": "Option",
269
- "type_arguments": [
270
- {
271
- "Struct": {
272
- "address": "0x1",
273
- "module": "ascii",
274
- "name": "String",
275
- "type_arguments": []
276
- }
219
+ },
220
+ {
221
+ "Struct": {
222
+ "address": "0x1",
223
+ "module": "ascii",
224
+ "name": "Char",
225
+ "type_arguments": []
226
+ }
227
+ }
228
+ ],
229
+ "return_": []
230
+ },
231
+ "string": {
232
+ "visibility": "Public",
233
+ "is_entry": false,
234
+ "type_parameters": [],
235
+ "parameters": [
236
+ {
237
+ "Vector": "U8"
238
+ }
239
+ ],
240
+ "return_": [
241
+ {
242
+ "Struct": {
243
+ "address": "0x1",
244
+ "module": "ascii",
245
+ "name": "String",
246
+ "type_arguments": []
247
+ }
248
+ }
249
+ ]
250
+ },
251
+ "try_string": {
252
+ "visibility": "Public",
253
+ "is_entry": false,
254
+ "type_parameters": [],
255
+ "parameters": [
256
+ {
257
+ "Vector": "U8"
258
+ }
259
+ ],
260
+ "return_": [
261
+ {
262
+ "Struct": {
263
+ "address": "0x1",
264
+ "module": "option",
265
+ "name": "Option",
266
+ "type_arguments": [
267
+ {
268
+ "Struct": {
269
+ "address": "0x1",
270
+ "module": "ascii",
271
+ "name": "String",
272
+ "type_arguments": []
277
273
  }
278
- ]
279
- }
274
+ }
275
+ ]
280
276
  }
281
- ]
282
- }
277
+ }
278
+ ]
283
279
  }
284
- },
285
- "bcs": {
286
- "file_format_version": 6,
287
- "address": "0x1",
288
- "name": "bcs",
289
- "friends": [],
290
- "structs": {},
291
- "exposed_functions": {
292
- "to_bytes": {
293
- "visibility": "Public",
294
- "is_entry": false,
295
- "type_parameters": [
296
- {
297
- "abilities": []
298
- }
299
- ],
300
- "parameters": [
301
- {
302
- "Reference": {
303
- "TypeParameter": 0
304
- }
305
- }
306
- ],
307
- "return_": [
308
- {
309
- "Vector": "U8"
280
+ }
281
+ },
282
+ "bcs": {
283
+ "file_format_version": 6,
284
+ "address": "0x1",
285
+ "name": "bcs",
286
+ "friends": [],
287
+ "structs": {},
288
+ "exposed_functions": {
289
+ "to_bytes": {
290
+ "visibility": "Public",
291
+ "is_entry": false,
292
+ "type_parameters": [
293
+ {
294
+ "abilities": []
295
+ }
296
+ ],
297
+ "parameters": [
298
+ {
299
+ "Reference": {
300
+ "TypeParameter": 0
310
301
  }
311
- ]
312
- }
302
+ }
303
+ ],
304
+ "return_": [
305
+ {
306
+ "Vector": "U8"
307
+ }
308
+ ]
313
309
  }
314
- },
315
- "bit_vector": {
316
- "file_format_version": 6,
317
- "address": "0x1",
318
- "name": "bit_vector",
319
- "friends": [],
320
- "structs": {
321
- "BitVector": {
322
- "abilities": {
323
- "abilities": ["Copy", "Drop", "Store"]
310
+ }
311
+ },
312
+ "bit_vector": {
313
+ "file_format_version": 6,
314
+ "address": "0x1",
315
+ "name": "bit_vector",
316
+ "friends": [],
317
+ "structs": {
318
+ "BitVector": {
319
+ "abilities": {
320
+ "abilities": ["Copy", "Drop", "Store"]
321
+ },
322
+ "type_parameters": [],
323
+ "fields": [
324
+ {
325
+ "name": "length",
326
+ "type_": "U64"
324
327
  },
325
- "type_parameters": [],
326
- "fields": [
327
- {
328
- "name": "length",
329
- "type_": "U64"
330
- },
331
- {
332
- "name": "bit_field",
333
- "type_": {
334
- "Vector": "Bool"
335
- }
328
+ {
329
+ "name": "bit_field",
330
+ "type_": {
331
+ "Vector": "Bool"
336
332
  }
337
- ]
338
- }
339
- },
340
- "exposed_functions": {
341
- "is_index_set": {
342
- "visibility": "Public",
343
- "is_entry": false,
344
- "type_parameters": [],
345
- "parameters": [
346
- {
347
- "Reference": {
348
- "Struct": {
349
- "address": "0x1",
350
- "module": "bit_vector",
351
- "name": "BitVector",
352
- "type_arguments": []
353
- }
354
- }
355
- },
356
- "U64"
357
- ],
358
- "return_": ["Bool"]
359
- },
360
- "length": {
361
- "visibility": "Public",
362
- "is_entry": false,
363
- "type_parameters": [],
364
- "parameters": [
365
- {
366
- "Reference": {
367
- "Struct": {
368
- "address": "0x1",
369
- "module": "bit_vector",
370
- "name": "BitVector",
371
- "type_arguments": []
372
- }
373
- }
374
- }
375
- ],
376
- "return_": ["U64"]
377
- },
378
- "longest_set_sequence_starting_at": {
379
- "visibility": "Public",
380
- "is_entry": false,
381
- "type_parameters": [],
382
- "parameters": [
383
- {
384
- "Reference": {
385
- "Struct": {
386
- "address": "0x1",
387
- "module": "bit_vector",
388
- "name": "BitVector",
389
- "type_arguments": []
390
- }
391
- }
392
- },
393
- "U64"
394
- ],
395
- "return_": ["U64"]
396
- },
397
- "new": {
398
- "visibility": "Public",
399
- "is_entry": false,
400
- "type_parameters": [],
401
- "parameters": ["U64"],
402
- "return_": [
403
- {
333
+ }
334
+ ]
335
+ }
336
+ },
337
+ "exposed_functions": {
338
+ "is_index_set": {
339
+ "visibility": "Public",
340
+ "is_entry": false,
341
+ "type_parameters": [],
342
+ "parameters": [
343
+ {
344
+ "Reference": {
404
345
  "Struct": {
405
346
  "address": "0x1",
406
347
  "module": "bit_vector",
@@ -408,432 +349,357 @@
408
349
  "type_arguments": []
409
350
  }
410
351
  }
411
- ]
412
- },
413
- "set": {
414
- "visibility": "Public",
415
- "is_entry": false,
416
- "type_parameters": [],
417
- "parameters": [
418
- {
419
- "MutableReference": {
420
- "Struct": {
421
- "address": "0x1",
422
- "module": "bit_vector",
423
- "name": "BitVector",
424
- "type_arguments": []
425
- }
426
- }
427
- },
428
- "U64"
429
- ],
430
- "return_": []
431
- },
432
- "shift_left": {
433
- "visibility": "Public",
434
- "is_entry": false,
435
- "type_parameters": [],
436
- "parameters": [
437
- {
438
- "MutableReference": {
439
- "Struct": {
440
- "address": "0x1",
441
- "module": "bit_vector",
442
- "name": "BitVector",
443
- "type_arguments": []
444
- }
445
- }
446
- },
447
- "U64"
448
- ],
449
- "return_": []
450
- },
451
- "unset": {
452
- "visibility": "Public",
453
- "is_entry": false,
454
- "type_parameters": [],
455
- "parameters": [
456
- {
457
- "MutableReference": {
458
- "Struct": {
459
- "address": "0x1",
460
- "module": "bit_vector",
461
- "name": "BitVector",
462
- "type_arguments": []
463
- }
464
- }
465
- },
466
- "U64"
467
- ],
468
- "return_": []
469
- }
470
- }
471
- },
472
- "debug": {
473
- "file_format_version": 6,
474
- "address": "0x1",
475
- "name": "debug",
476
- "friends": [],
477
- "structs": {},
478
- "exposed_functions": {
479
- "print": {
480
- "visibility": "Public",
481
- "is_entry": false,
482
- "type_parameters": [
483
- {
484
- "abilities": []
485
- }
486
- ],
487
- "parameters": [
488
- {
489
- "Reference": {
490
- "TypeParameter": 0
491
- }
492
- }
493
- ],
494
- "return_": []
495
- },
496
- "print_stack_trace": {
497
- "visibility": "Public",
498
- "is_entry": false,
499
- "type_parameters": [],
500
- "parameters": [],
501
- "return_": []
502
- }
503
- }
504
- },
505
- "fixed_point32": {
506
- "file_format_version": 6,
507
- "address": "0x1",
508
- "name": "fixed_point32",
509
- "friends": [],
510
- "structs": {
511
- "FixedPoint32": {
512
- "abilities": {
513
- "abilities": ["Copy", "Drop", "Store"]
514
352
  },
515
- "type_parameters": [],
516
- "fields": [
517
- {
518
- "name": "value",
519
- "type_": "U64"
520
- }
521
- ]
522
- }
523
- },
524
- "exposed_functions": {
525
- "create_from_rational": {
526
- "visibility": "Public",
527
- "is_entry": false,
528
- "type_parameters": [],
529
- "parameters": ["U64", "U64"],
530
- "return_": [
531
- {
532
- "Struct": {
533
- "address": "0x1",
534
- "module": "fixed_point32",
535
- "name": "FixedPoint32",
536
- "type_arguments": []
537
- }
538
- }
539
- ]
540
- },
541
- "create_from_raw_value": {
542
- "visibility": "Public",
543
- "is_entry": false,
544
- "type_parameters": [],
545
- "parameters": ["U64"],
546
- "return_": [
547
- {
353
+ "U64"
354
+ ],
355
+ "return_": ["Bool"]
356
+ },
357
+ "length": {
358
+ "visibility": "Public",
359
+ "is_entry": false,
360
+ "type_parameters": [],
361
+ "parameters": [
362
+ {
363
+ "Reference": {
548
364
  "Struct": {
549
365
  "address": "0x1",
550
- "module": "fixed_point32",
551
- "name": "FixedPoint32",
366
+ "module": "bit_vector",
367
+ "name": "BitVector",
552
368
  "type_arguments": []
553
369
  }
554
370
  }
555
- ]
556
- },
557
- "divide_u64": {
558
- "visibility": "Public",
559
- "is_entry": false,
560
- "type_parameters": [],
561
- "parameters": [
562
- "U64",
563
- {
371
+ }
372
+ ],
373
+ "return_": ["U64"]
374
+ },
375
+ "longest_set_sequence_starting_at": {
376
+ "visibility": "Public",
377
+ "is_entry": false,
378
+ "type_parameters": [],
379
+ "parameters": [
380
+ {
381
+ "Reference": {
564
382
  "Struct": {
565
383
  "address": "0x1",
566
- "module": "fixed_point32",
567
- "name": "FixedPoint32",
384
+ "module": "bit_vector",
385
+ "name": "BitVector",
568
386
  "type_arguments": []
569
387
  }
570
388
  }
571
- ],
572
- "return_": ["U64"]
573
- },
574
- "get_raw_value": {
575
- "visibility": "Public",
576
- "is_entry": false,
577
- "type_parameters": [],
578
- "parameters": [
579
- {
389
+ },
390
+ "U64"
391
+ ],
392
+ "return_": ["U64"]
393
+ },
394
+ "new": {
395
+ "visibility": "Public",
396
+ "is_entry": false,
397
+ "type_parameters": [],
398
+ "parameters": ["U64"],
399
+ "return_": [
400
+ {
401
+ "Struct": {
402
+ "address": "0x1",
403
+ "module": "bit_vector",
404
+ "name": "BitVector",
405
+ "type_arguments": []
406
+ }
407
+ }
408
+ ]
409
+ },
410
+ "set": {
411
+ "visibility": "Public",
412
+ "is_entry": false,
413
+ "type_parameters": [],
414
+ "parameters": [
415
+ {
416
+ "MutableReference": {
580
417
  "Struct": {
581
418
  "address": "0x1",
582
- "module": "fixed_point32",
583
- "name": "FixedPoint32",
419
+ "module": "bit_vector",
420
+ "name": "BitVector",
584
421
  "type_arguments": []
585
422
  }
586
423
  }
587
- ],
588
- "return_": ["U64"]
589
- },
590
- "is_zero": {
591
- "visibility": "Public",
592
- "is_entry": false,
593
- "type_parameters": [],
594
- "parameters": [
595
- {
424
+ },
425
+ "U64"
426
+ ],
427
+ "return_": []
428
+ },
429
+ "shift_left": {
430
+ "visibility": "Public",
431
+ "is_entry": false,
432
+ "type_parameters": [],
433
+ "parameters": [
434
+ {
435
+ "MutableReference": {
596
436
  "Struct": {
597
437
  "address": "0x1",
598
- "module": "fixed_point32",
599
- "name": "FixedPoint32",
438
+ "module": "bit_vector",
439
+ "name": "BitVector",
600
440
  "type_arguments": []
601
441
  }
602
442
  }
603
- ],
604
- "return_": ["Bool"]
605
- },
606
- "multiply_u64": {
607
- "visibility": "Public",
608
- "is_entry": false,
609
- "type_parameters": [],
610
- "parameters": [
611
- "U64",
612
- {
443
+ },
444
+ "U64"
445
+ ],
446
+ "return_": []
447
+ },
448
+ "unset": {
449
+ "visibility": "Public",
450
+ "is_entry": false,
451
+ "type_parameters": [],
452
+ "parameters": [
453
+ {
454
+ "MutableReference": {
613
455
  "Struct": {
614
456
  "address": "0x1",
615
- "module": "fixed_point32",
616
- "name": "FixedPoint32",
457
+ "module": "bit_vector",
458
+ "name": "BitVector",
617
459
  "type_arguments": []
618
460
  }
619
461
  }
620
- ],
621
- "return_": ["U64"]
622
- }
462
+ },
463
+ "U64"
464
+ ],
465
+ "return_": []
623
466
  }
624
- },
625
- "hash": {
626
- "file_format_version": 6,
627
- "address": "0x1",
628
- "name": "hash",
629
- "friends": [],
630
- "structs": {},
631
- "exposed_functions": {
632
- "sha2_256": {
633
- "visibility": "Public",
634
- "is_entry": false,
635
- "type_parameters": [],
636
- "parameters": [
637
- {
638
- "Vector": "U8"
639
- }
640
- ],
641
- "return_": [
642
- {
643
- "Vector": "U8"
644
- }
645
- ]
646
- },
647
- "sha3_256": {
648
- "visibility": "Public",
649
- "is_entry": false,
650
- "type_parameters": [],
651
- "parameters": [
652
- {
653
- "Vector": "U8"
654
- }
655
- ],
656
- "return_": [
657
- {
658
- "Vector": "U8"
467
+ }
468
+ },
469
+ "debug": {
470
+ "file_format_version": 6,
471
+ "address": "0x1",
472
+ "name": "debug",
473
+ "friends": [],
474
+ "structs": {},
475
+ "exposed_functions": {
476
+ "print": {
477
+ "visibility": "Public",
478
+ "is_entry": false,
479
+ "type_parameters": [
480
+ {
481
+ "abilities": []
482
+ }
483
+ ],
484
+ "parameters": [
485
+ {
486
+ "Reference": {
487
+ "TypeParameter": 0
659
488
  }
660
- ]
661
- }
489
+ }
490
+ ],
491
+ "return_": []
492
+ },
493
+ "print_stack_trace": {
494
+ "visibility": "Public",
495
+ "is_entry": false,
496
+ "type_parameters": [],
497
+ "parameters": [],
498
+ "return_": []
499
+ }
500
+ }
501
+ },
502
+ "fixed_point32": {
503
+ "file_format_version": 6,
504
+ "address": "0x1",
505
+ "name": "fixed_point32",
506
+ "friends": [],
507
+ "structs": {
508
+ "FixedPoint32": {
509
+ "abilities": {
510
+ "abilities": ["Copy", "Drop", "Store"]
511
+ },
512
+ "type_parameters": [],
513
+ "fields": [
514
+ {
515
+ "name": "value",
516
+ "type_": "U64"
517
+ }
518
+ ]
662
519
  }
663
520
  },
664
- "option": {
665
- "file_format_version": 6,
666
- "address": "0x1",
667
- "name": "option",
668
- "friends": [],
669
- "structs": {
670
- "Option": {
671
- "abilities": {
672
- "abilities": ["Copy", "Drop", "Store"]
673
- },
674
- "type_parameters": [
675
- {
676
- "constraints": {
677
- "abilities": []
678
- },
679
- "is_phantom": false
680
- }
681
- ],
682
- "fields": [
683
- {
684
- "name": "vec",
685
- "type_": {
686
- "Vector": {
687
- "TypeParameter": 0
688
- }
689
- }
690
- }
691
- ]
692
- }
521
+ "exposed_functions": {
522
+ "create_from_rational": {
523
+ "visibility": "Public",
524
+ "is_entry": false,
525
+ "type_parameters": [],
526
+ "parameters": ["U64", "U64"],
527
+ "return_": [
528
+ {
529
+ "Struct": {
530
+ "address": "0x1",
531
+ "module": "fixed_point32",
532
+ "name": "FixedPoint32",
533
+ "type_arguments": []
534
+ }
535
+ }
536
+ ]
693
537
  },
694
- "exposed_functions": {
695
- "borrow": {
696
- "visibility": "Public",
697
- "is_entry": false,
698
- "type_parameters": [
699
- {
700
- "abilities": []
701
- }
702
- ],
703
- "parameters": [
704
- {
705
- "Reference": {
706
- "Struct": {
707
- "address": "0x1",
708
- "module": "option",
709
- "name": "Option",
710
- "type_arguments": [
711
- {
712
- "TypeParameter": 0
713
- }
714
- ]
715
- }
716
- }
717
- }
718
- ],
719
- "return_": [
720
- {
721
- "Reference": {
722
- "TypeParameter": 0
723
- }
724
- }
725
- ]
726
- },
727
- "borrow_mut": {
728
- "visibility": "Public",
729
- "is_entry": false,
730
- "type_parameters": [
731
- {
732
- "abilities": []
733
- }
734
- ],
735
- "parameters": [
736
- {
737
- "MutableReference": {
738
- "Struct": {
739
- "address": "0x1",
740
- "module": "option",
741
- "name": "Option",
742
- "type_arguments": [
743
- {
744
- "TypeParameter": 0
745
- }
746
- ]
747
- }
748
- }
749
- }
750
- ],
751
- "return_": [
752
- {
753
- "MutableReference": {
754
- "TypeParameter": 0
755
- }
756
- }
757
- ]
758
- },
759
- "borrow_with_default": {
760
- "visibility": "Public",
761
- "is_entry": false,
762
- "type_parameters": [
763
- {
538
+ "create_from_raw_value": {
539
+ "visibility": "Public",
540
+ "is_entry": false,
541
+ "type_parameters": [],
542
+ "parameters": ["U64"],
543
+ "return_": [
544
+ {
545
+ "Struct": {
546
+ "address": "0x1",
547
+ "module": "fixed_point32",
548
+ "name": "FixedPoint32",
549
+ "type_arguments": []
550
+ }
551
+ }
552
+ ]
553
+ },
554
+ "divide_u64": {
555
+ "visibility": "Public",
556
+ "is_entry": false,
557
+ "type_parameters": [],
558
+ "parameters": [
559
+ "U64",
560
+ {
561
+ "Struct": {
562
+ "address": "0x1",
563
+ "module": "fixed_point32",
564
+ "name": "FixedPoint32",
565
+ "type_arguments": []
566
+ }
567
+ }
568
+ ],
569
+ "return_": ["U64"]
570
+ },
571
+ "get_raw_value": {
572
+ "visibility": "Public",
573
+ "is_entry": false,
574
+ "type_parameters": [],
575
+ "parameters": [
576
+ {
577
+ "Struct": {
578
+ "address": "0x1",
579
+ "module": "fixed_point32",
580
+ "name": "FixedPoint32",
581
+ "type_arguments": []
582
+ }
583
+ }
584
+ ],
585
+ "return_": ["U64"]
586
+ },
587
+ "is_zero": {
588
+ "visibility": "Public",
589
+ "is_entry": false,
590
+ "type_parameters": [],
591
+ "parameters": [
592
+ {
593
+ "Struct": {
594
+ "address": "0x1",
595
+ "module": "fixed_point32",
596
+ "name": "FixedPoint32",
597
+ "type_arguments": []
598
+ }
599
+ }
600
+ ],
601
+ "return_": ["Bool"]
602
+ },
603
+ "multiply_u64": {
604
+ "visibility": "Public",
605
+ "is_entry": false,
606
+ "type_parameters": [],
607
+ "parameters": [
608
+ "U64",
609
+ {
610
+ "Struct": {
611
+ "address": "0x1",
612
+ "module": "fixed_point32",
613
+ "name": "FixedPoint32",
614
+ "type_arguments": []
615
+ }
616
+ }
617
+ ],
618
+ "return_": ["U64"]
619
+ }
620
+ }
621
+ },
622
+ "hash": {
623
+ "file_format_version": 6,
624
+ "address": "0x1",
625
+ "name": "hash",
626
+ "friends": [],
627
+ "structs": {},
628
+ "exposed_functions": {
629
+ "sha2_256": {
630
+ "visibility": "Public",
631
+ "is_entry": false,
632
+ "type_parameters": [],
633
+ "parameters": [
634
+ {
635
+ "Vector": "U8"
636
+ }
637
+ ],
638
+ "return_": [
639
+ {
640
+ "Vector": "U8"
641
+ }
642
+ ]
643
+ },
644
+ "sha3_256": {
645
+ "visibility": "Public",
646
+ "is_entry": false,
647
+ "type_parameters": [],
648
+ "parameters": [
649
+ {
650
+ "Vector": "U8"
651
+ }
652
+ ],
653
+ "return_": [
654
+ {
655
+ "Vector": "U8"
656
+ }
657
+ ]
658
+ }
659
+ }
660
+ },
661
+ "option": {
662
+ "file_format_version": 6,
663
+ "address": "0x1",
664
+ "name": "option",
665
+ "friends": [],
666
+ "structs": {
667
+ "Option": {
668
+ "abilities": {
669
+ "abilities": ["Copy", "Drop", "Store"]
670
+ },
671
+ "type_parameters": [
672
+ {
673
+ "constraints": {
764
674
  "abilities": []
765
- }
766
- ],
767
- "parameters": [
768
- {
769
- "Reference": {
770
- "Struct": {
771
- "address": "0x1",
772
- "module": "option",
773
- "name": "Option",
774
- "type_arguments": [
775
- {
776
- "TypeParameter": 0
777
- }
778
- ]
779
- }
780
- }
781
675
  },
782
- {
783
- "Reference": {
784
- "TypeParameter": 0
785
- }
786
- }
787
- ],
788
- "return_": [
789
- {
790
- "Reference": {
791
- "TypeParameter": 0
792
- }
793
- }
794
- ]
795
- },
796
- "contains": {
797
- "visibility": "Public",
798
- "is_entry": false,
799
- "type_parameters": [
800
- {
801
- "abilities": []
802
- }
803
- ],
804
- "parameters": [
805
- {
806
- "Reference": {
807
- "Struct": {
808
- "address": "0x1",
809
- "module": "option",
810
- "name": "Option",
811
- "type_arguments": [
812
- {
813
- "TypeParameter": 0
814
- }
815
- ]
816
- }
817
- }
818
- },
819
- {
820
- "Reference": {
676
+ "is_phantom": false
677
+ }
678
+ ],
679
+ "fields": [
680
+ {
681
+ "name": "vec",
682
+ "type_": {
683
+ "Vector": {
821
684
  "TypeParameter": 0
822
685
  }
823
686
  }
824
- ],
825
- "return_": ["Bool"]
826
- },
827
- "destroy_none": {
828
- "visibility": "Public",
829
- "is_entry": false,
830
- "type_parameters": [
831
- {
832
- "abilities": []
833
- }
834
- ],
835
- "parameters": [
836
- {
687
+ }
688
+ ]
689
+ }
690
+ },
691
+ "exposed_functions": {
692
+ "borrow": {
693
+ "visibility": "Public",
694
+ "is_entry": false,
695
+ "type_parameters": [
696
+ {
697
+ "abilities": []
698
+ }
699
+ ],
700
+ "parameters": [
701
+ {
702
+ "Reference": {
837
703
  "Struct": {
838
704
  "address": "0x1",
839
705
  "module": "option",
@@ -845,19 +711,27 @@
845
711
  ]
846
712
  }
847
713
  }
848
- ],
849
- "return_": []
850
- },
851
- "destroy_some": {
852
- "visibility": "Public",
853
- "is_entry": false,
854
- "type_parameters": [
855
- {
856
- "abilities": []
714
+ }
715
+ ],
716
+ "return_": [
717
+ {
718
+ "Reference": {
719
+ "TypeParameter": 0
857
720
  }
858
- ],
859
- "parameters": [
860
- {
721
+ }
722
+ ]
723
+ },
724
+ "borrow_mut": {
725
+ "visibility": "Public",
726
+ "is_entry": false,
727
+ "type_parameters": [
728
+ {
729
+ "abilities": []
730
+ }
731
+ ],
732
+ "parameters": [
733
+ {
734
+ "MutableReference": {
861
735
  "Struct": {
862
736
  "address": "0x1",
863
737
  "module": "option",
@@ -869,23 +743,27 @@
869
743
  ]
870
744
  }
871
745
  }
872
- ],
873
- "return_": [
874
- {
746
+ }
747
+ ],
748
+ "return_": [
749
+ {
750
+ "MutableReference": {
875
751
  "TypeParameter": 0
876
752
  }
877
- ]
878
- },
879
- "destroy_with_default": {
880
- "visibility": "Public",
881
- "is_entry": false,
882
- "type_parameters": [
883
- {
884
- "abilities": ["Drop"]
885
- }
886
- ],
887
- "parameters": [
888
- {
753
+ }
754
+ ]
755
+ },
756
+ "borrow_with_default": {
757
+ "visibility": "Public",
758
+ "is_entry": false,
759
+ "type_parameters": [
760
+ {
761
+ "abilities": []
762
+ }
763
+ ],
764
+ "parameters": [
765
+ {
766
+ "Reference": {
889
767
  "Struct": {
890
768
  "address": "0x1",
891
769
  "module": "option",
@@ -896,172 +774,147 @@
896
774
  }
897
775
  ]
898
776
  }
899
- },
900
- {
901
- "TypeParameter": 0
902
777
  }
903
- ],
904
- "return_": [
905
- {
906
- "TypeParameter": 0
907
- }
908
- ]
909
- },
910
- "extract": {
911
- "visibility": "Public",
912
- "is_entry": false,
913
- "type_parameters": [
914
- {
915
- "abilities": []
916
- }
917
- ],
918
- "parameters": [
919
- {
920
- "MutableReference": {
921
- "Struct": {
922
- "address": "0x1",
923
- "module": "option",
924
- "name": "Option",
925
- "type_arguments": [
926
- {
927
- "TypeParameter": 0
928
- }
929
- ]
930
- }
931
- }
932
- }
933
- ],
934
- "return_": [
935
- {
778
+ },
779
+ {
780
+ "Reference": {
936
781
  "TypeParameter": 0
937
782
  }
938
- ]
939
- },
940
- "fill": {
941
- "visibility": "Public",
942
- "is_entry": false,
943
- "type_parameters": [
944
- {
945
- "abilities": []
946
- }
947
- ],
948
- "parameters": [
949
- {
950
- "MutableReference": {
951
- "Struct": {
952
- "address": "0x1",
953
- "module": "option",
954
- "name": "Option",
955
- "type_arguments": [
956
- {
957
- "TypeParameter": 0
958
- }
959
- ]
960
- }
961
- }
962
- },
963
- {
783
+ }
784
+ ],
785
+ "return_": [
786
+ {
787
+ "Reference": {
964
788
  "TypeParameter": 0
965
789
  }
966
- ],
967
- "return_": []
968
- },
969
- "get_with_default": {
970
- "visibility": "Public",
971
- "is_entry": false,
972
- "type_parameters": [
973
- {
974
- "abilities": ["Copy", "Drop"]
975
- }
976
- ],
977
- "parameters": [
978
- {
979
- "Reference": {
980
- "Struct": {
981
- "address": "0x1",
982
- "module": "option",
983
- "name": "Option",
984
- "type_arguments": [
985
- {
986
- "TypeParameter": 0
987
- }
988
- ]
989
- }
790
+ }
791
+ ]
792
+ },
793
+ "contains": {
794
+ "visibility": "Public",
795
+ "is_entry": false,
796
+ "type_parameters": [
797
+ {
798
+ "abilities": []
799
+ }
800
+ ],
801
+ "parameters": [
802
+ {
803
+ "Reference": {
804
+ "Struct": {
805
+ "address": "0x1",
806
+ "module": "option",
807
+ "name": "Option",
808
+ "type_arguments": [
809
+ {
810
+ "TypeParameter": 0
811
+ }
812
+ ]
990
813
  }
991
- },
992
- {
993
- "TypeParameter": 0
994
814
  }
995
- ],
996
- "return_": [
997
- {
815
+ },
816
+ {
817
+ "Reference": {
998
818
  "TypeParameter": 0
999
819
  }
1000
- ]
1001
- },
1002
- "is_none": {
1003
- "visibility": "Public",
1004
- "is_entry": false,
1005
- "type_parameters": [
1006
- {
1007
- "abilities": []
1008
- }
1009
- ],
1010
- "parameters": [
1011
- {
1012
- "Reference": {
1013
- "Struct": {
1014
- "address": "0x1",
1015
- "module": "option",
1016
- "name": "Option",
1017
- "type_arguments": [
1018
- {
1019
- "TypeParameter": 0
1020
- }
1021
- ]
820
+ }
821
+ ],
822
+ "return_": ["Bool"]
823
+ },
824
+ "destroy_none": {
825
+ "visibility": "Public",
826
+ "is_entry": false,
827
+ "type_parameters": [
828
+ {
829
+ "abilities": []
830
+ }
831
+ ],
832
+ "parameters": [
833
+ {
834
+ "Struct": {
835
+ "address": "0x1",
836
+ "module": "option",
837
+ "name": "Option",
838
+ "type_arguments": [
839
+ {
840
+ "TypeParameter": 0
1022
841
  }
1023
- }
1024
- }
1025
- ],
1026
- "return_": ["Bool"]
1027
- },
1028
- "is_some": {
1029
- "visibility": "Public",
1030
- "is_entry": false,
1031
- "type_parameters": [
1032
- {
1033
- "abilities": []
842
+ ]
1034
843
  }
1035
- ],
1036
- "parameters": [
1037
- {
1038
- "Reference": {
1039
- "Struct": {
1040
- "address": "0x1",
1041
- "module": "option",
1042
- "name": "Option",
1043
- "type_arguments": [
1044
- {
1045
- "TypeParameter": 0
1046
- }
1047
- ]
844
+ }
845
+ ],
846
+ "return_": []
847
+ },
848
+ "destroy_some": {
849
+ "visibility": "Public",
850
+ "is_entry": false,
851
+ "type_parameters": [
852
+ {
853
+ "abilities": []
854
+ }
855
+ ],
856
+ "parameters": [
857
+ {
858
+ "Struct": {
859
+ "address": "0x1",
860
+ "module": "option",
861
+ "name": "Option",
862
+ "type_arguments": [
863
+ {
864
+ "TypeParameter": 0
1048
865
  }
1049
- }
1050
- }
1051
- ],
1052
- "return_": ["Bool"]
1053
- },
1054
- "none": {
1055
- "visibility": "Public",
1056
- "is_entry": false,
1057
- "type_parameters": [
1058
- {
1059
- "abilities": []
866
+ ]
867
+ }
868
+ }
869
+ ],
870
+ "return_": [
871
+ {
872
+ "TypeParameter": 0
873
+ }
874
+ ]
875
+ },
876
+ "destroy_with_default": {
877
+ "visibility": "Public",
878
+ "is_entry": false,
879
+ "type_parameters": [
880
+ {
881
+ "abilities": ["Drop"]
882
+ }
883
+ ],
884
+ "parameters": [
885
+ {
886
+ "Struct": {
887
+ "address": "0x1",
888
+ "module": "option",
889
+ "name": "Option",
890
+ "type_arguments": [
891
+ {
892
+ "TypeParameter": 0
893
+ }
894
+ ]
1060
895
  }
1061
- ],
1062
- "parameters": [],
1063
- "return_": [
1064
- {
896
+ },
897
+ {
898
+ "TypeParameter": 0
899
+ }
900
+ ],
901
+ "return_": [
902
+ {
903
+ "TypeParameter": 0
904
+ }
905
+ ]
906
+ },
907
+ "extract": {
908
+ "visibility": "Public",
909
+ "is_entry": false,
910
+ "type_parameters": [
911
+ {
912
+ "abilities": []
913
+ }
914
+ ],
915
+ "parameters": [
916
+ {
917
+ "MutableReference": {
1065
918
  "Struct": {
1066
919
  "address": "0x1",
1067
920
  "module": "option",
@@ -1073,23 +926,25 @@
1073
926
  ]
1074
927
  }
1075
928
  }
1076
- ]
1077
- },
1078
- "some": {
1079
- "visibility": "Public",
1080
- "is_entry": false,
1081
- "type_parameters": [
1082
- {
1083
- "abilities": []
1084
- }
1085
- ],
1086
- "parameters": [
1087
- {
1088
- "TypeParameter": 0
1089
- }
1090
- ],
1091
- "return_": [
1092
- {
929
+ }
930
+ ],
931
+ "return_": [
932
+ {
933
+ "TypeParameter": 0
934
+ }
935
+ ]
936
+ },
937
+ "fill": {
938
+ "visibility": "Public",
939
+ "is_entry": false,
940
+ "type_parameters": [
941
+ {
942
+ "abilities": []
943
+ }
944
+ ],
945
+ "parameters": [
946
+ {
947
+ "MutableReference": {
1093
948
  "Struct": {
1094
949
  "address": "0x1",
1095
950
  "module": "option",
@@ -1101,70 +956,83 @@
1101
956
  ]
1102
957
  }
1103
958
  }
1104
- ]
1105
- },
1106
- "swap": {
1107
- "visibility": "Public",
1108
- "is_entry": false,
1109
- "type_parameters": [
1110
- {
1111
- "abilities": []
1112
- }
1113
- ],
1114
- "parameters": [
1115
- {
1116
- "MutableReference": {
1117
- "Struct": {
1118
- "address": "0x1",
1119
- "module": "option",
1120
- "name": "Option",
1121
- "type_arguments": [
1122
- {
1123
- "TypeParameter": 0
1124
- }
1125
- ]
1126
- }
959
+ },
960
+ {
961
+ "TypeParameter": 0
962
+ }
963
+ ],
964
+ "return_": []
965
+ },
966
+ "get_with_default": {
967
+ "visibility": "Public",
968
+ "is_entry": false,
969
+ "type_parameters": [
970
+ {
971
+ "abilities": ["Copy", "Drop"]
972
+ }
973
+ ],
974
+ "parameters": [
975
+ {
976
+ "Reference": {
977
+ "Struct": {
978
+ "address": "0x1",
979
+ "module": "option",
980
+ "name": "Option",
981
+ "type_arguments": [
982
+ {
983
+ "TypeParameter": 0
984
+ }
985
+ ]
1127
986
  }
1128
- },
1129
- {
1130
- "TypeParameter": 0
1131
- }
1132
- ],
1133
- "return_": [
1134
- {
1135
- "TypeParameter": 0
1136
987
  }
1137
- ]
1138
- },
1139
- "swap_or_fill": {
1140
- "visibility": "Public",
1141
- "is_entry": false,
1142
- "type_parameters": [
1143
- {
1144
- "abilities": []
1145
- }
1146
- ],
1147
- "parameters": [
1148
- {
1149
- "MutableReference": {
1150
- "Struct": {
1151
- "address": "0x1",
1152
- "module": "option",
1153
- "name": "Option",
1154
- "type_arguments": [
1155
- {
1156
- "TypeParameter": 0
1157
- }
1158
- ]
1159
- }
988
+ },
989
+ {
990
+ "TypeParameter": 0
991
+ }
992
+ ],
993
+ "return_": [
994
+ {
995
+ "TypeParameter": 0
996
+ }
997
+ ]
998
+ },
999
+ "is_none": {
1000
+ "visibility": "Public",
1001
+ "is_entry": false,
1002
+ "type_parameters": [
1003
+ {
1004
+ "abilities": []
1005
+ }
1006
+ ],
1007
+ "parameters": [
1008
+ {
1009
+ "Reference": {
1010
+ "Struct": {
1011
+ "address": "0x1",
1012
+ "module": "option",
1013
+ "name": "Option",
1014
+ "type_arguments": [
1015
+ {
1016
+ "TypeParameter": 0
1017
+ }
1018
+ ]
1160
1019
  }
1161
- },
1162
- {
1163
- "TypeParameter": 0
1164
1020
  }
1165
- ],
1166
- "return_": [
1167
- {
1021
+ }
1022
+ ],
1023
+ "return_": ["Bool"]
1024
+ },
1025
+ "is_some": {
1026
+ "visibility": "Public",
1027
+ "is_entry": false,
1028
+ "type_parameters": [
1029
+ {
1030
+ "abilities": []
1031
+ }
1032
+ ],
1033
+ "parameters": [
1034
+ {
1035
+ "Reference": {
1168
1036
  "Struct": {
1169
1037
  "address": "0x1",
1170
1038
  "module": "option",
@@ -1176,18 +1044,73 @@
1176
1044
  ]
1177
1045
  }
1178
1046
  }
1179
- ]
1180
- },
1181
- "to_vec": {
1182
- "visibility": "Public",
1183
- "is_entry": false,
1184
- "type_parameters": [
1185
- {
1186
- "abilities": []
1047
+ }
1048
+ ],
1049
+ "return_": ["Bool"]
1050
+ },
1051
+ "none": {
1052
+ "visibility": "Public",
1053
+ "is_entry": false,
1054
+ "type_parameters": [
1055
+ {
1056
+ "abilities": []
1057
+ }
1058
+ ],
1059
+ "parameters": [],
1060
+ "return_": [
1061
+ {
1062
+ "Struct": {
1063
+ "address": "0x1",
1064
+ "module": "option",
1065
+ "name": "Option",
1066
+ "type_arguments": [
1067
+ {
1068
+ "TypeParameter": 0
1069
+ }
1070
+ ]
1187
1071
  }
1188
- ],
1189
- "parameters": [
1190
- {
1072
+ }
1073
+ ]
1074
+ },
1075
+ "some": {
1076
+ "visibility": "Public",
1077
+ "is_entry": false,
1078
+ "type_parameters": [
1079
+ {
1080
+ "abilities": []
1081
+ }
1082
+ ],
1083
+ "parameters": [
1084
+ {
1085
+ "TypeParameter": 0
1086
+ }
1087
+ ],
1088
+ "return_": [
1089
+ {
1090
+ "Struct": {
1091
+ "address": "0x1",
1092
+ "module": "option",
1093
+ "name": "Option",
1094
+ "type_arguments": [
1095
+ {
1096
+ "TypeParameter": 0
1097
+ }
1098
+ ]
1099
+ }
1100
+ }
1101
+ ]
1102
+ },
1103
+ "swap": {
1104
+ "visibility": "Public",
1105
+ "is_entry": false,
1106
+ "type_parameters": [
1107
+ {
1108
+ "abilities": []
1109
+ }
1110
+ ],
1111
+ "parameters": [
1112
+ {
1113
+ "MutableReference": {
1191
1114
  "Struct": {
1192
1115
  "address": "0x1",
1193
1116
  "module": "option",
@@ -1199,126 +1122,146 @@
1199
1122
  ]
1200
1123
  }
1201
1124
  }
1202
- ],
1203
- "return_": [
1204
- {
1205
- "Vector": {
1206
- "TypeParameter": 0
1207
- }
1208
- }
1209
- ]
1210
- }
1211
- }
1212
- },
1213
- "string": {
1214
- "file_format_version": 6,
1215
- "address": "0x1",
1216
- "name": "string",
1217
- "friends": [],
1218
- "structs": {
1219
- "String": {
1220
- "abilities": {
1221
- "abilities": ["Copy", "Drop", "Store"]
1222
1125
  },
1223
- "type_parameters": [],
1224
- "fields": [
1225
- {
1226
- "name": "bytes",
1227
- "type_": {
1228
- "Vector": "U8"
1229
- }
1230
- }
1231
- ]
1232
- }
1233
- },
1234
- "exposed_functions": {
1235
- "append": {
1236
- "visibility": "Public",
1237
- "is_entry": false,
1238
- "type_parameters": [],
1239
- "parameters": [
1240
- {
1241
- "MutableReference": {
1242
- "Struct": {
1243
- "address": "0x1",
1244
- "module": "string",
1245
- "name": "String",
1246
- "type_arguments": []
1247
- }
1248
- }
1249
- },
1250
- {
1126
+ {
1127
+ "TypeParameter": 0
1128
+ }
1129
+ ],
1130
+ "return_": [
1131
+ {
1132
+ "TypeParameter": 0
1133
+ }
1134
+ ]
1135
+ },
1136
+ "swap_or_fill": {
1137
+ "visibility": "Public",
1138
+ "is_entry": false,
1139
+ "type_parameters": [
1140
+ {
1141
+ "abilities": []
1142
+ }
1143
+ ],
1144
+ "parameters": [
1145
+ {
1146
+ "MutableReference": {
1251
1147
  "Struct": {
1252
1148
  "address": "0x1",
1253
- "module": "string",
1254
- "name": "String",
1255
- "type_arguments": []
1149
+ "module": "option",
1150
+ "name": "Option",
1151
+ "type_arguments": [
1152
+ {
1153
+ "TypeParameter": 0
1154
+ }
1155
+ ]
1256
1156
  }
1257
1157
  }
1258
- ],
1259
- "return_": []
1260
- },
1261
- "append_utf8": {
1262
- "visibility": "Public",
1263
- "is_entry": false,
1264
- "type_parameters": [],
1265
- "parameters": [
1266
- {
1267
- "MutableReference": {
1268
- "Struct": {
1269
- "address": "0x1",
1270
- "module": "string",
1271
- "name": "String",
1272
- "type_arguments": []
1158
+ },
1159
+ {
1160
+ "TypeParameter": 0
1161
+ }
1162
+ ],
1163
+ "return_": [
1164
+ {
1165
+ "Struct": {
1166
+ "address": "0x1",
1167
+ "module": "option",
1168
+ "name": "Option",
1169
+ "type_arguments": [
1170
+ {
1171
+ "TypeParameter": 0
1273
1172
  }
1274
- }
1275
- },
1276
- {
1277
- "Vector": "U8"
1173
+ ]
1278
1174
  }
1279
- ],
1280
- "return_": []
1281
- },
1282
- "bytes": {
1283
- "visibility": "Public",
1284
- "is_entry": false,
1285
- "type_parameters": [],
1286
- "parameters": [
1287
- {
1288
- "Reference": {
1289
- "Struct": {
1290
- "address": "0x1",
1291
- "module": "string",
1292
- "name": "String",
1293
- "type_arguments": []
1175
+ }
1176
+ ]
1177
+ },
1178
+ "to_vec": {
1179
+ "visibility": "Public",
1180
+ "is_entry": false,
1181
+ "type_parameters": [
1182
+ {
1183
+ "abilities": []
1184
+ }
1185
+ ],
1186
+ "parameters": [
1187
+ {
1188
+ "Struct": {
1189
+ "address": "0x1",
1190
+ "module": "option",
1191
+ "name": "Option",
1192
+ "type_arguments": [
1193
+ {
1194
+ "TypeParameter": 0
1294
1195
  }
1295
- }
1196
+ ]
1296
1197
  }
1297
- ],
1298
- "return_": [
1299
- {
1300
- "Reference": {
1301
- "Vector": "U8"
1302
- }
1198
+ }
1199
+ ],
1200
+ "return_": [
1201
+ {
1202
+ "Vector": {
1203
+ "TypeParameter": 0
1303
1204
  }
1304
- ]
1305
- },
1306
- "from_ascii": {
1307
- "visibility": "Public",
1308
- "is_entry": false,
1309
- "type_parameters": [],
1310
- "parameters": [
1311
- {
1205
+ }
1206
+ ]
1207
+ }
1208
+ }
1209
+ },
1210
+ "string": {
1211
+ "file_format_version": 6,
1212
+ "address": "0x1",
1213
+ "name": "string",
1214
+ "friends": [],
1215
+ "structs": {
1216
+ "String": {
1217
+ "abilities": {
1218
+ "abilities": ["Copy", "Drop", "Store"]
1219
+ },
1220
+ "type_parameters": [],
1221
+ "fields": [
1222
+ {
1223
+ "name": "bytes",
1224
+ "type_": {
1225
+ "Vector": "U8"
1226
+ }
1227
+ }
1228
+ ]
1229
+ }
1230
+ },
1231
+ "exposed_functions": {
1232
+ "append": {
1233
+ "visibility": "Public",
1234
+ "is_entry": false,
1235
+ "type_parameters": [],
1236
+ "parameters": [
1237
+ {
1238
+ "MutableReference": {
1312
1239
  "Struct": {
1313
1240
  "address": "0x1",
1314
- "module": "ascii",
1241
+ "module": "string",
1315
1242
  "name": "String",
1316
1243
  "type_arguments": []
1317
1244
  }
1318
1245
  }
1319
- ],
1320
- "return_": [
1321
- {
1246
+ },
1247
+ {
1248
+ "Struct": {
1249
+ "address": "0x1",
1250
+ "module": "string",
1251
+ "name": "String",
1252
+ "type_arguments": []
1253
+ }
1254
+ }
1255
+ ],
1256
+ "return_": []
1257
+ },
1258
+ "append_utf8": {
1259
+ "visibility": "Public",
1260
+ "is_entry": false,
1261
+ "type_parameters": [],
1262
+ "parameters": [
1263
+ {
1264
+ "MutableReference": {
1322
1265
  "Struct": {
1323
1266
  "address": "0x1",
1324
1267
  "module": "string",
@@ -1326,53 +1269,20 @@
1326
1269
  "type_arguments": []
1327
1270
  }
1328
1271
  }
1329
- ]
1330
- },
1331
- "index_of": {
1332
- "visibility": "Public",
1333
- "is_entry": false,
1334
- "type_parameters": [],
1335
- "parameters": [
1336
- {
1337
- "Reference": {
1338
- "Struct": {
1339
- "address": "0x1",
1340
- "module": "string",
1341
- "name": "String",
1342
- "type_arguments": []
1343
- }
1344
- }
1345
- },
1346
- {
1347
- "Reference": {
1348
- "Struct": {
1349
- "address": "0x1",
1350
- "module": "string",
1351
- "name": "String",
1352
- "type_arguments": []
1353
- }
1354
- }
1355
- }
1356
- ],
1357
- "return_": ["U64"]
1358
- },
1359
- "insert": {
1360
- "visibility": "Public",
1361
- "is_entry": false,
1362
- "type_parameters": [],
1363
- "parameters": [
1364
- {
1365
- "MutableReference": {
1366
- "Struct": {
1367
- "address": "0x1",
1368
- "module": "string",
1369
- "name": "String",
1370
- "type_arguments": []
1371
- }
1372
- }
1373
- },
1374
- "U64",
1375
- {
1272
+ },
1273
+ {
1274
+ "Vector": "U8"
1275
+ }
1276
+ ],
1277
+ "return_": []
1278
+ },
1279
+ "bytes": {
1280
+ "visibility": "Public",
1281
+ "is_entry": false,
1282
+ "type_parameters": [],
1283
+ "parameters": [
1284
+ {
1285
+ "Reference": {
1376
1286
  "Struct": {
1377
1287
  "address": "0x1",
1378
1288
  "module": "string",
@@ -1380,65 +1290,48 @@
1380
1290
  "type_arguments": []
1381
1291
  }
1382
1292
  }
1383
- ],
1384
- "return_": []
1385
- },
1386
- "is_empty": {
1387
- "visibility": "Public",
1388
- "is_entry": false,
1389
- "type_parameters": [],
1390
- "parameters": [
1391
- {
1392
- "Reference": {
1393
- "Struct": {
1394
- "address": "0x1",
1395
- "module": "string",
1396
- "name": "String",
1397
- "type_arguments": []
1398
- }
1399
- }
1400
- }
1401
- ],
1402
- "return_": ["Bool"]
1403
- },
1404
- "length": {
1405
- "visibility": "Public",
1406
- "is_entry": false,
1407
- "type_parameters": [],
1408
- "parameters": [
1409
- {
1410
- "Reference": {
1411
- "Struct": {
1412
- "address": "0x1",
1413
- "module": "string",
1414
- "name": "String",
1415
- "type_arguments": []
1416
- }
1417
- }
1293
+ }
1294
+ ],
1295
+ "return_": [
1296
+ {
1297
+ "Reference": {
1298
+ "Vector": "U8"
1418
1299
  }
1419
- ],
1420
- "return_": ["U64"]
1421
- },
1422
- "sub_string": {
1423
- "visibility": "Public",
1424
- "is_entry": false,
1425
- "type_parameters": [],
1426
- "parameters": [
1427
- {
1428
- "Reference": {
1429
- "Struct": {
1430
- "address": "0x1",
1431
- "module": "string",
1432
- "name": "String",
1433
- "type_arguments": []
1434
- }
1435
- }
1436
- },
1437
- "U64",
1438
- "U64"
1439
- ],
1440
- "return_": [
1441
- {
1300
+ }
1301
+ ]
1302
+ },
1303
+ "from_ascii": {
1304
+ "visibility": "Public",
1305
+ "is_entry": false,
1306
+ "type_parameters": [],
1307
+ "parameters": [
1308
+ {
1309
+ "Struct": {
1310
+ "address": "0x1",
1311
+ "module": "ascii",
1312
+ "name": "String",
1313
+ "type_arguments": []
1314
+ }
1315
+ }
1316
+ ],
1317
+ "return_": [
1318
+ {
1319
+ "Struct": {
1320
+ "address": "0x1",
1321
+ "module": "string",
1322
+ "name": "String",
1323
+ "type_arguments": []
1324
+ }
1325
+ }
1326
+ ]
1327
+ },
1328
+ "index_of": {
1329
+ "visibility": "Public",
1330
+ "is_entry": false,
1331
+ "type_parameters": [],
1332
+ "parameters": [
1333
+ {
1334
+ "Reference": {
1442
1335
  "Struct": {
1443
1336
  "address": "0x1",
1444
1337
  "module": "string",
@@ -1446,14 +1339,9 @@
1446
1339
  "type_arguments": []
1447
1340
  }
1448
1341
  }
1449
- ]
1450
- },
1451
- "to_ascii": {
1452
- "visibility": "Public",
1453
- "is_entry": false,
1454
- "type_parameters": [],
1455
- "parameters": [
1456
- {
1342
+ },
1343
+ {
1344
+ "Reference": {
1457
1345
  "Struct": {
1458
1346
  "address": "0x1",
1459
1347
  "module": "string",
@@ -1461,58 +1349,62 @@
1461
1349
  "type_arguments": []
1462
1350
  }
1463
1351
  }
1464
- ],
1465
- "return_": [
1466
- {
1352
+ }
1353
+ ],
1354
+ "return_": ["U64"]
1355
+ },
1356
+ "insert": {
1357
+ "visibility": "Public",
1358
+ "is_entry": false,
1359
+ "type_parameters": [],
1360
+ "parameters": [
1361
+ {
1362
+ "MutableReference": {
1467
1363
  "Struct": {
1468
1364
  "address": "0x1",
1469
- "module": "ascii",
1365
+ "module": "string",
1470
1366
  "name": "String",
1471
1367
  "type_arguments": []
1472
1368
  }
1473
1369
  }
1474
- ]
1475
- },
1476
- "try_utf8": {
1477
- "visibility": "Public",
1478
- "is_entry": false,
1479
- "type_parameters": [],
1480
- "parameters": [
1481
- {
1482
- "Vector": "U8"
1483
- }
1484
- ],
1485
- "return_": [
1486
- {
1370
+ },
1371
+ "U64",
1372
+ {
1373
+ "Struct": {
1374
+ "address": "0x1",
1375
+ "module": "string",
1376
+ "name": "String",
1377
+ "type_arguments": []
1378
+ }
1379
+ }
1380
+ ],
1381
+ "return_": []
1382
+ },
1383
+ "is_empty": {
1384
+ "visibility": "Public",
1385
+ "is_entry": false,
1386
+ "type_parameters": [],
1387
+ "parameters": [
1388
+ {
1389
+ "Reference": {
1487
1390
  "Struct": {
1488
1391
  "address": "0x1",
1489
- "module": "option",
1490
- "name": "Option",
1491
- "type_arguments": [
1492
- {
1493
- "Struct": {
1494
- "address": "0x1",
1495
- "module": "string",
1496
- "name": "String",
1497
- "type_arguments": []
1498
- }
1499
- }
1500
- ]
1392
+ "module": "string",
1393
+ "name": "String",
1394
+ "type_arguments": []
1501
1395
  }
1502
1396
  }
1503
- ]
1504
- },
1505
- "utf8": {
1506
- "visibility": "Public",
1507
- "is_entry": false,
1508
- "type_parameters": [],
1509
- "parameters": [
1510
- {
1511
- "Vector": "U8"
1512
- }
1513
- ],
1514
- "return_": [
1515
- {
1397
+ }
1398
+ ],
1399
+ "return_": ["Bool"]
1400
+ },
1401
+ "length": {
1402
+ "visibility": "Public",
1403
+ "is_entry": false,
1404
+ "type_parameters": [],
1405
+ "parameters": [
1406
+ {
1407
+ "Reference": {
1516
1408
  "Struct": {
1517
1409
  "address": "0x1",
1518
1410
  "module": "string",
@@ -1520,104 +1412,130 @@
1520
1412
  "type_arguments": []
1521
1413
  }
1522
1414
  }
1523
- ]
1524
- }
1525
- }
1526
- },
1527
- "type_name": {
1528
- "file_format_version": 6,
1529
- "address": "0x1",
1530
- "name": "type_name",
1531
- "friends": [],
1532
- "structs": {
1533
- "TypeName": {
1534
- "abilities": {
1535
- "abilities": ["Copy", "Drop", "Store"]
1536
- },
1537
- "type_parameters": [],
1538
- "fields": [
1539
- {
1540
- "name": "name",
1541
- "type_": {
1542
- "Struct": {
1543
- "address": "0x1",
1544
- "module": "ascii",
1545
- "name": "String",
1546
- "type_arguments": []
1547
- }
1548
- }
1549
- }
1550
- ]
1551
- }
1552
- },
1553
- "exposed_functions": {
1554
- "borrow_string": {
1555
- "visibility": "Public",
1556
- "is_entry": false,
1557
- "type_parameters": [],
1558
- "parameters": [
1559
- {
1560
- "Reference": {
1561
- "Struct": {
1562
- "address": "0x1",
1563
- "module": "type_name",
1564
- "name": "TypeName",
1565
- "type_arguments": []
1566
- }
1567
- }
1568
- }
1569
- ],
1570
- "return_": [
1571
- {
1572
- "Reference": {
1573
- "Struct": {
1574
- "address": "0x1",
1575
- "module": "ascii",
1576
- "name": "String",
1577
- "type_arguments": []
1578
- }
1579
- }
1580
- }
1581
- ]
1582
- },
1583
- "get": {
1584
- "visibility": "Public",
1585
- "is_entry": false,
1586
- "type_parameters": [
1587
- {
1588
- "abilities": []
1589
- }
1590
- ],
1591
- "parameters": [],
1592
- "return_": [
1593
- {
1415
+ }
1416
+ ],
1417
+ "return_": ["U64"]
1418
+ },
1419
+ "sub_string": {
1420
+ "visibility": "Public",
1421
+ "is_entry": false,
1422
+ "type_parameters": [],
1423
+ "parameters": [
1424
+ {
1425
+ "Reference": {
1594
1426
  "Struct": {
1595
1427
  "address": "0x1",
1596
- "module": "type_name",
1597
- "name": "TypeName",
1428
+ "module": "string",
1429
+ "name": "String",
1598
1430
  "type_arguments": []
1599
1431
  }
1600
1432
  }
1601
- ]
1602
- },
1603
- "get_address": {
1604
- "visibility": "Public",
1605
- "is_entry": false,
1606
- "type_parameters": [],
1607
- "parameters": [
1608
- {
1609
- "Reference": {
1610
- "Struct": {
1611
- "address": "0x1",
1612
- "module": "type_name",
1613
- "name": "TypeName",
1614
- "type_arguments": []
1433
+ },
1434
+ "U64",
1435
+ "U64"
1436
+ ],
1437
+ "return_": [
1438
+ {
1439
+ "Struct": {
1440
+ "address": "0x1",
1441
+ "module": "string",
1442
+ "name": "String",
1443
+ "type_arguments": []
1444
+ }
1445
+ }
1446
+ ]
1447
+ },
1448
+ "to_ascii": {
1449
+ "visibility": "Public",
1450
+ "is_entry": false,
1451
+ "type_parameters": [],
1452
+ "parameters": [
1453
+ {
1454
+ "Struct": {
1455
+ "address": "0x1",
1456
+ "module": "string",
1457
+ "name": "String",
1458
+ "type_arguments": []
1459
+ }
1460
+ }
1461
+ ],
1462
+ "return_": [
1463
+ {
1464
+ "Struct": {
1465
+ "address": "0x1",
1466
+ "module": "ascii",
1467
+ "name": "String",
1468
+ "type_arguments": []
1469
+ }
1470
+ }
1471
+ ]
1472
+ },
1473
+ "try_utf8": {
1474
+ "visibility": "Public",
1475
+ "is_entry": false,
1476
+ "type_parameters": [],
1477
+ "parameters": [
1478
+ {
1479
+ "Vector": "U8"
1480
+ }
1481
+ ],
1482
+ "return_": [
1483
+ {
1484
+ "Struct": {
1485
+ "address": "0x1",
1486
+ "module": "option",
1487
+ "name": "Option",
1488
+ "type_arguments": [
1489
+ {
1490
+ "Struct": {
1491
+ "address": "0x1",
1492
+ "module": "string",
1493
+ "name": "String",
1494
+ "type_arguments": []
1495
+ }
1615
1496
  }
1616
- }
1497
+ ]
1617
1498
  }
1618
- ],
1619
- "return_": [
1620
- {
1499
+ }
1500
+ ]
1501
+ },
1502
+ "utf8": {
1503
+ "visibility": "Public",
1504
+ "is_entry": false,
1505
+ "type_parameters": [],
1506
+ "parameters": [
1507
+ {
1508
+ "Vector": "U8"
1509
+ }
1510
+ ],
1511
+ "return_": [
1512
+ {
1513
+ "Struct": {
1514
+ "address": "0x1",
1515
+ "module": "string",
1516
+ "name": "String",
1517
+ "type_arguments": []
1518
+ }
1519
+ }
1520
+ ]
1521
+ }
1522
+ }
1523
+ },
1524
+ "type_name": {
1525
+ "file_format_version": 6,
1526
+ "address": "0x1",
1527
+ "name": "type_name",
1528
+ "friends": [],
1529
+ "structs": {
1530
+ "TypeName": {
1531
+ "abilities": {
1532
+ "abilities": ["Copy", "Drop", "Store"]
1533
+ },
1534
+ "type_parameters": [],
1535
+ "fields": [
1536
+ {
1537
+ "name": "name",
1538
+ "type_": {
1621
1539
  "Struct": {
1622
1540
  "address": "0x1",
1623
1541
  "module": "ascii",
@@ -1625,26 +1543,30 @@
1625
1543
  "type_arguments": []
1626
1544
  }
1627
1545
  }
1628
- ]
1629
- },
1630
- "get_module": {
1631
- "visibility": "Public",
1632
- "is_entry": false,
1633
- "type_parameters": [],
1634
- "parameters": [
1635
- {
1636
- "Reference": {
1637
- "Struct": {
1638
- "address": "0x1",
1639
- "module": "type_name",
1640
- "name": "TypeName",
1641
- "type_arguments": []
1642
- }
1546
+ }
1547
+ ]
1548
+ }
1549
+ },
1550
+ "exposed_functions": {
1551
+ "borrow_string": {
1552
+ "visibility": "Public",
1553
+ "is_entry": false,
1554
+ "type_parameters": [],
1555
+ "parameters": [
1556
+ {
1557
+ "Reference": {
1558
+ "Struct": {
1559
+ "address": "0x1",
1560
+ "module": "type_name",
1561
+ "name": "TypeName",
1562
+ "type_arguments": []
1643
1563
  }
1644
1564
  }
1645
- ],
1646
- "return_": [
1647
- {
1565
+ }
1566
+ ],
1567
+ "return_": [
1568
+ {
1569
+ "Reference": {
1648
1570
  "Struct": {
1649
1571
  "address": "0x1",
1650
1572
  "module": "ascii",
@@ -1652,14 +1574,36 @@
1652
1574
  "type_arguments": []
1653
1575
  }
1654
1576
  }
1655
- ]
1656
- },
1657
- "into_string": {
1658
- "visibility": "Public",
1659
- "is_entry": false,
1660
- "type_parameters": [],
1661
- "parameters": [
1662
- {
1577
+ }
1578
+ ]
1579
+ },
1580
+ "get": {
1581
+ "visibility": "Public",
1582
+ "is_entry": false,
1583
+ "type_parameters": [
1584
+ {
1585
+ "abilities": []
1586
+ }
1587
+ ],
1588
+ "parameters": [],
1589
+ "return_": [
1590
+ {
1591
+ "Struct": {
1592
+ "address": "0x1",
1593
+ "module": "type_name",
1594
+ "name": "TypeName",
1595
+ "type_arguments": []
1596
+ }
1597
+ }
1598
+ ]
1599
+ },
1600
+ "get_address": {
1601
+ "visibility": "Public",
1602
+ "is_entry": false,
1603
+ "type_parameters": [],
1604
+ "parameters": [
1605
+ {
1606
+ "Reference": {
1663
1607
  "Struct": {
1664
1608
  "address": "0x1",
1665
1609
  "module": "type_name",
@@ -1667,400 +1611,452 @@
1667
1611
  "type_arguments": []
1668
1612
  }
1669
1613
  }
1670
- ],
1671
- "return_": [
1672
- {
1614
+ }
1615
+ ],
1616
+ "return_": [
1617
+ {
1618
+ "Struct": {
1619
+ "address": "0x1",
1620
+ "module": "ascii",
1621
+ "name": "String",
1622
+ "type_arguments": []
1623
+ }
1624
+ }
1625
+ ]
1626
+ },
1627
+ "get_module": {
1628
+ "visibility": "Public",
1629
+ "is_entry": false,
1630
+ "type_parameters": [],
1631
+ "parameters": [
1632
+ {
1633
+ "Reference": {
1673
1634
  "Struct": {
1674
1635
  "address": "0x1",
1675
- "module": "ascii",
1676
- "name": "String",
1636
+ "module": "type_name",
1637
+ "name": "TypeName",
1677
1638
  "type_arguments": []
1678
1639
  }
1679
1640
  }
1680
- ]
1681
- }
1682
- }
1683
- },
1684
- "vector": {
1685
- "file_format_version": 6,
1686
- "address": "0x1",
1687
- "name": "vector",
1688
- "friends": [],
1689
- "structs": {},
1690
- "exposed_functions": {
1691
- "append": {
1692
- "visibility": "Public",
1693
- "is_entry": false,
1694
- "type_parameters": [
1695
- {
1696
- "abilities": []
1641
+ }
1642
+ ],
1643
+ "return_": [
1644
+ {
1645
+ "Struct": {
1646
+ "address": "0x1",
1647
+ "module": "ascii",
1648
+ "name": "String",
1649
+ "type_arguments": []
1697
1650
  }
1698
- ],
1699
- "parameters": [
1700
- {
1701
- "MutableReference": {
1702
- "Vector": {
1703
- "TypeParameter": 0
1704
- }
1705
- }
1706
- },
1707
- {
1651
+ }
1652
+ ]
1653
+ },
1654
+ "into_string": {
1655
+ "visibility": "Public",
1656
+ "is_entry": false,
1657
+ "type_parameters": [],
1658
+ "parameters": [
1659
+ {
1660
+ "Struct": {
1661
+ "address": "0x1",
1662
+ "module": "type_name",
1663
+ "name": "TypeName",
1664
+ "type_arguments": []
1665
+ }
1666
+ }
1667
+ ],
1668
+ "return_": [
1669
+ {
1670
+ "Struct": {
1671
+ "address": "0x1",
1672
+ "module": "ascii",
1673
+ "name": "String",
1674
+ "type_arguments": []
1675
+ }
1676
+ }
1677
+ ]
1678
+ }
1679
+ }
1680
+ },
1681
+ "vector": {
1682
+ "file_format_version": 6,
1683
+ "address": "0x1",
1684
+ "name": "vector",
1685
+ "friends": [],
1686
+ "structs": {},
1687
+ "exposed_functions": {
1688
+ "append": {
1689
+ "visibility": "Public",
1690
+ "is_entry": false,
1691
+ "type_parameters": [
1692
+ {
1693
+ "abilities": []
1694
+ }
1695
+ ],
1696
+ "parameters": [
1697
+ {
1698
+ "MutableReference": {
1708
1699
  "Vector": {
1709
1700
  "TypeParameter": 0
1710
1701
  }
1711
1702
  }
1712
- ],
1713
- "return_": []
1714
- },
1715
- "borrow": {
1716
- "visibility": "Public",
1717
- "is_entry": false,
1718
- "type_parameters": [
1719
- {
1720
- "abilities": []
1703
+ },
1704
+ {
1705
+ "Vector": {
1706
+ "TypeParameter": 0
1721
1707
  }
1722
- ],
1723
- "parameters": [
1724
- {
1725
- "Reference": {
1726
- "Vector": {
1727
- "TypeParameter": 0
1728
- }
1729
- }
1730
- },
1731
- "U64"
1732
- ],
1733
- "return_": [
1734
- {
1735
- "Reference": {
1708
+ }
1709
+ ],
1710
+ "return_": []
1711
+ },
1712
+ "borrow": {
1713
+ "visibility": "Public",
1714
+ "is_entry": false,
1715
+ "type_parameters": [
1716
+ {
1717
+ "abilities": []
1718
+ }
1719
+ ],
1720
+ "parameters": [
1721
+ {
1722
+ "Reference": {
1723
+ "Vector": {
1736
1724
  "TypeParameter": 0
1737
1725
  }
1738
1726
  }
1739
- ]
1740
- },
1741
- "borrow_mut": {
1742
- "visibility": "Public",
1743
- "is_entry": false,
1744
- "type_parameters": [
1745
- {
1746
- "abilities": []
1727
+ },
1728
+ "U64"
1729
+ ],
1730
+ "return_": [
1731
+ {
1732
+ "Reference": {
1733
+ "TypeParameter": 0
1747
1734
  }
1748
- ],
1749
- "parameters": [
1750
- {
1751
- "MutableReference": {
1752
- "Vector": {
1753
- "TypeParameter": 0
1754
- }
1755
- }
1756
- },
1757
- "U64"
1758
- ],
1759
- "return_": [
1760
- {
1761
- "MutableReference": {
1735
+ }
1736
+ ]
1737
+ },
1738
+ "borrow_mut": {
1739
+ "visibility": "Public",
1740
+ "is_entry": false,
1741
+ "type_parameters": [
1742
+ {
1743
+ "abilities": []
1744
+ }
1745
+ ],
1746
+ "parameters": [
1747
+ {
1748
+ "MutableReference": {
1749
+ "Vector": {
1762
1750
  "TypeParameter": 0
1763
1751
  }
1764
1752
  }
1765
- ]
1766
- },
1767
- "contains": {
1768
- "visibility": "Public",
1769
- "is_entry": false,
1770
- "type_parameters": [
1771
- {
1772
- "abilities": []
1753
+ },
1754
+ "U64"
1755
+ ],
1756
+ "return_": [
1757
+ {
1758
+ "MutableReference": {
1759
+ "TypeParameter": 0
1773
1760
  }
1774
- ],
1775
- "parameters": [
1776
- {
1777
- "Reference": {
1778
- "Vector": {
1779
- "TypeParameter": 0
1780
- }
1781
- }
1782
- },
1783
- {
1784
- "Reference": {
1761
+ }
1762
+ ]
1763
+ },
1764
+ "contains": {
1765
+ "visibility": "Public",
1766
+ "is_entry": false,
1767
+ "type_parameters": [
1768
+ {
1769
+ "abilities": []
1770
+ }
1771
+ ],
1772
+ "parameters": [
1773
+ {
1774
+ "Reference": {
1775
+ "Vector": {
1785
1776
  "TypeParameter": 0
1786
1777
  }
1787
1778
  }
1788
- ],
1789
- "return_": ["Bool"]
1790
- },
1791
- "destroy_empty": {
1792
- "visibility": "Public",
1793
- "is_entry": false,
1794
- "type_parameters": [
1795
- {
1796
- "abilities": []
1779
+ },
1780
+ {
1781
+ "Reference": {
1782
+ "TypeParameter": 0
1797
1783
  }
1798
- ],
1799
- "parameters": [
1800
- {
1801
- "Vector": {
1802
- "TypeParameter": 0
1803
- }
1784
+ }
1785
+ ],
1786
+ "return_": ["Bool"]
1787
+ },
1788
+ "destroy_empty": {
1789
+ "visibility": "Public",
1790
+ "is_entry": false,
1791
+ "type_parameters": [
1792
+ {
1793
+ "abilities": []
1794
+ }
1795
+ ],
1796
+ "parameters": [
1797
+ {
1798
+ "Vector": {
1799
+ "TypeParameter": 0
1804
1800
  }
1805
- ],
1806
- "return_": []
1807
- },
1808
- "empty": {
1809
- "visibility": "Public",
1810
- "is_entry": false,
1811
- "type_parameters": [
1812
- {
1813
- "abilities": []
1801
+ }
1802
+ ],
1803
+ "return_": []
1804
+ },
1805
+ "empty": {
1806
+ "visibility": "Public",
1807
+ "is_entry": false,
1808
+ "type_parameters": [
1809
+ {
1810
+ "abilities": []
1811
+ }
1812
+ ],
1813
+ "parameters": [],
1814
+ "return_": [
1815
+ {
1816
+ "Vector": {
1817
+ "TypeParameter": 0
1814
1818
  }
1815
- ],
1816
- "parameters": [],
1817
- "return_": [
1818
- {
1819
+ }
1820
+ ]
1821
+ },
1822
+ "index_of": {
1823
+ "visibility": "Public",
1824
+ "is_entry": false,
1825
+ "type_parameters": [
1826
+ {
1827
+ "abilities": []
1828
+ }
1829
+ ],
1830
+ "parameters": [
1831
+ {
1832
+ "Reference": {
1819
1833
  "Vector": {
1820
1834
  "TypeParameter": 0
1821
1835
  }
1822
1836
  }
1823
- ]
1824
- },
1825
- "index_of": {
1826
- "visibility": "Public",
1827
- "is_entry": false,
1828
- "type_parameters": [
1829
- {
1830
- "abilities": []
1837
+ },
1838
+ {
1839
+ "Reference": {
1840
+ "TypeParameter": 0
1831
1841
  }
1832
- ],
1833
- "parameters": [
1834
- {
1835
- "Reference": {
1836
- "Vector": {
1837
- "TypeParameter": 0
1838
- }
1839
- }
1840
- },
1841
- {
1842
- "Reference": {
1842
+ }
1843
+ ],
1844
+ "return_": ["Bool", "U64"]
1845
+ },
1846
+ "insert": {
1847
+ "visibility": "Public",
1848
+ "is_entry": false,
1849
+ "type_parameters": [
1850
+ {
1851
+ "abilities": []
1852
+ }
1853
+ ],
1854
+ "parameters": [
1855
+ {
1856
+ "MutableReference": {
1857
+ "Vector": {
1843
1858
  "TypeParameter": 0
1844
1859
  }
1845
1860
  }
1846
- ],
1847
- "return_": ["Bool", "U64"]
1848
- },
1849
- "insert": {
1850
- "visibility": "Public",
1851
- "is_entry": false,
1852
- "type_parameters": [
1853
- {
1854
- "abilities": []
1855
- }
1856
- ],
1857
- "parameters": [
1858
- {
1859
- "MutableReference": {
1860
- "Vector": {
1861
- "TypeParameter": 0
1862
- }
1863
- }
1864
- },
1865
- {
1866
- "TypeParameter": 0
1867
- },
1868
- "U64"
1869
- ],
1870
- "return_": []
1871
- },
1872
- "is_empty": {
1873
- "visibility": "Public",
1874
- "is_entry": false,
1875
- "type_parameters": [
1876
- {
1877
- "abilities": []
1878
- }
1879
- ],
1880
- "parameters": [
1881
- {
1882
- "Reference": {
1883
- "Vector": {
1884
- "TypeParameter": 0
1885
- }
1861
+ },
1862
+ {
1863
+ "TypeParameter": 0
1864
+ },
1865
+ "U64"
1866
+ ],
1867
+ "return_": []
1868
+ },
1869
+ "is_empty": {
1870
+ "visibility": "Public",
1871
+ "is_entry": false,
1872
+ "type_parameters": [
1873
+ {
1874
+ "abilities": []
1875
+ }
1876
+ ],
1877
+ "parameters": [
1878
+ {
1879
+ "Reference": {
1880
+ "Vector": {
1881
+ "TypeParameter": 0
1886
1882
  }
1887
1883
  }
1888
- ],
1889
- "return_": ["Bool"]
1890
- },
1891
- "length": {
1892
- "visibility": "Public",
1893
- "is_entry": false,
1894
- "type_parameters": [
1895
- {
1896
- "abilities": []
1897
- }
1898
- ],
1899
- "parameters": [
1900
- {
1901
- "Reference": {
1902
- "Vector": {
1903
- "TypeParameter": 0
1904
- }
1884
+ }
1885
+ ],
1886
+ "return_": ["Bool"]
1887
+ },
1888
+ "length": {
1889
+ "visibility": "Public",
1890
+ "is_entry": false,
1891
+ "type_parameters": [
1892
+ {
1893
+ "abilities": []
1894
+ }
1895
+ ],
1896
+ "parameters": [
1897
+ {
1898
+ "Reference": {
1899
+ "Vector": {
1900
+ "TypeParameter": 0
1905
1901
  }
1906
1902
  }
1907
- ],
1908
- "return_": ["U64"]
1909
- },
1910
- "pop_back": {
1911
- "visibility": "Public",
1912
- "is_entry": false,
1913
- "type_parameters": [
1914
- {
1915
- "abilities": []
1916
- }
1917
- ],
1918
- "parameters": [
1919
- {
1920
- "MutableReference": {
1921
- "Vector": {
1922
- "TypeParameter": 0
1923
- }
1903
+ }
1904
+ ],
1905
+ "return_": ["U64"]
1906
+ },
1907
+ "pop_back": {
1908
+ "visibility": "Public",
1909
+ "is_entry": false,
1910
+ "type_parameters": [
1911
+ {
1912
+ "abilities": []
1913
+ }
1914
+ ],
1915
+ "parameters": [
1916
+ {
1917
+ "MutableReference": {
1918
+ "Vector": {
1919
+ "TypeParameter": 0
1924
1920
  }
1925
1921
  }
1926
- ],
1927
- "return_": [
1928
- {
1929
- "TypeParameter": 0
1930
- }
1931
- ]
1932
- },
1933
- "push_back": {
1934
- "visibility": "Public",
1935
- "is_entry": false,
1936
- "type_parameters": [
1937
- {
1938
- "abilities": []
1939
- }
1940
- ],
1941
- "parameters": [
1942
- {
1943
- "MutableReference": {
1944
- "Vector": {
1945
- "TypeParameter": 0
1946
- }
1922
+ }
1923
+ ],
1924
+ "return_": [
1925
+ {
1926
+ "TypeParameter": 0
1927
+ }
1928
+ ]
1929
+ },
1930
+ "push_back": {
1931
+ "visibility": "Public",
1932
+ "is_entry": false,
1933
+ "type_parameters": [
1934
+ {
1935
+ "abilities": []
1936
+ }
1937
+ ],
1938
+ "parameters": [
1939
+ {
1940
+ "MutableReference": {
1941
+ "Vector": {
1942
+ "TypeParameter": 0
1947
1943
  }
1948
- },
1949
- {
1950
- "TypeParameter": 0
1951
1944
  }
1952
- ],
1953
- "return_": []
1954
- },
1955
- "remove": {
1956
- "visibility": "Public",
1957
- "is_entry": false,
1958
- "type_parameters": [
1959
- {
1960
- "abilities": []
1961
- }
1962
- ],
1963
- "parameters": [
1964
- {
1965
- "MutableReference": {
1966
- "Vector": {
1967
- "TypeParameter": 0
1968
- }
1945
+ },
1946
+ {
1947
+ "TypeParameter": 0
1948
+ }
1949
+ ],
1950
+ "return_": []
1951
+ },
1952
+ "remove": {
1953
+ "visibility": "Public",
1954
+ "is_entry": false,
1955
+ "type_parameters": [
1956
+ {
1957
+ "abilities": []
1958
+ }
1959
+ ],
1960
+ "parameters": [
1961
+ {
1962
+ "MutableReference": {
1963
+ "Vector": {
1964
+ "TypeParameter": 0
1969
1965
  }
1970
- },
1971
- "U64"
1972
- ],
1973
- "return_": [
1974
- {
1975
- "TypeParameter": 0
1976
- }
1977
- ]
1978
- },
1979
- "reverse": {
1980
- "visibility": "Public",
1981
- "is_entry": false,
1982
- "type_parameters": [
1983
- {
1984
- "abilities": []
1985
1966
  }
1986
- ],
1987
- "parameters": [
1988
- {
1989
- "MutableReference": {
1990
- "Vector": {
1991
- "TypeParameter": 0
1992
- }
1967
+ },
1968
+ "U64"
1969
+ ],
1970
+ "return_": [
1971
+ {
1972
+ "TypeParameter": 0
1973
+ }
1974
+ ]
1975
+ },
1976
+ "reverse": {
1977
+ "visibility": "Public",
1978
+ "is_entry": false,
1979
+ "type_parameters": [
1980
+ {
1981
+ "abilities": []
1982
+ }
1983
+ ],
1984
+ "parameters": [
1985
+ {
1986
+ "MutableReference": {
1987
+ "Vector": {
1988
+ "TypeParameter": 0
1993
1989
  }
1994
1990
  }
1995
- ],
1996
- "return_": []
1997
- },
1998
- "singleton": {
1999
- "visibility": "Public",
2000
- "is_entry": false,
2001
- "type_parameters": [
2002
- {
2003
- "abilities": []
2004
- }
2005
- ],
2006
- "parameters": [
2007
- {
1991
+ }
1992
+ ],
1993
+ "return_": []
1994
+ },
1995
+ "singleton": {
1996
+ "visibility": "Public",
1997
+ "is_entry": false,
1998
+ "type_parameters": [
1999
+ {
2000
+ "abilities": []
2001
+ }
2002
+ ],
2003
+ "parameters": [
2004
+ {
2005
+ "TypeParameter": 0
2006
+ }
2007
+ ],
2008
+ "return_": [
2009
+ {
2010
+ "Vector": {
2008
2011
  "TypeParameter": 0
2009
2012
  }
2010
- ],
2011
- "return_": [
2012
- {
2013
+ }
2014
+ ]
2015
+ },
2016
+ "swap": {
2017
+ "visibility": "Public",
2018
+ "is_entry": false,
2019
+ "type_parameters": [
2020
+ {
2021
+ "abilities": []
2022
+ }
2023
+ ],
2024
+ "parameters": [
2025
+ {
2026
+ "MutableReference": {
2013
2027
  "Vector": {
2014
2028
  "TypeParameter": 0
2015
2029
  }
2016
2030
  }
2017
- ]
2018
- },
2019
- "swap": {
2020
- "visibility": "Public",
2021
- "is_entry": false,
2022
- "type_parameters": [
2023
- {
2024
- "abilities": []
2025
- }
2026
- ],
2027
- "parameters": [
2028
- {
2029
- "MutableReference": {
2030
- "Vector": {
2031
- "TypeParameter": 0
2032
- }
2033
- }
2034
- },
2035
- "U64",
2036
- "U64"
2037
- ],
2038
- "return_": []
2039
- },
2040
- "swap_remove": {
2041
- "visibility": "Public",
2042
- "is_entry": false,
2043
- "type_parameters": [
2044
- {
2045
- "abilities": []
2046
- }
2047
- ],
2048
- "parameters": [
2049
- {
2050
- "MutableReference": {
2051
- "Vector": {
2052
- "TypeParameter": 0
2053
- }
2031
+ },
2032
+ "U64",
2033
+ "U64"
2034
+ ],
2035
+ "return_": []
2036
+ },
2037
+ "swap_remove": {
2038
+ "visibility": "Public",
2039
+ "is_entry": false,
2040
+ "type_parameters": [
2041
+ {
2042
+ "abilities": []
2043
+ }
2044
+ ],
2045
+ "parameters": [
2046
+ {
2047
+ "MutableReference": {
2048
+ "Vector": {
2049
+ "TypeParameter": 0
2054
2050
  }
2055
- },
2056
- "U64"
2057
- ],
2058
- "return_": [
2059
- {
2060
- "TypeParameter": 0
2061
2051
  }
2062
- ]
2063
- }
2052
+ },
2053
+ "U64"
2054
+ ],
2055
+ "return_": [
2056
+ {
2057
+ "TypeParameter": 0
2058
+ }
2059
+ ]
2064
2060
  }
2065
2061
  }
2066
2062
  }