@thalalabs/surf 0.0.6 → 0.0.8

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 (70) hide show
  1. package/CHANGELOG.md +12 -0
  2. package/build/cjs/abi/aptos_coin.js +158 -0
  3. package/build/cjs/abi/aptos_coin.js.map +1 -0
  4. package/build/cjs/abi/coin.js +783 -0
  5. package/build/cjs/abi/coin.js.map +1 -0
  6. package/build/cjs/abi/event.js +138 -0
  7. package/build/cjs/abi/event.js.map +1 -0
  8. package/build/cjs/abi/fixed_point64.js +380 -0
  9. package/build/cjs/abi/fixed_point64.js.map +1 -0
  10. package/build/cjs/abi/guid.js +158 -0
  11. package/build/cjs/abi/guid.js.map +1 -0
  12. package/build/cjs/abi/table.js +299 -0
  13. package/build/cjs/abi/table.js.map +1 -0
  14. package/build/cjs/core/Client.js.map +1 -1
  15. package/build/cjs/types/{globalABI.js → defaultABITable.js} +1 -1
  16. package/build/cjs/types/defaultABITable.js.map +1 -0
  17. package/build/esm/abi/aptos_coin.js +155 -0
  18. package/build/esm/abi/aptos_coin.js.map +1 -0
  19. package/build/esm/abi/coin.js +780 -0
  20. package/build/esm/abi/coin.js.map +1 -0
  21. package/build/esm/abi/event.js +135 -0
  22. package/build/esm/abi/event.js.map +1 -0
  23. package/build/esm/abi/fixed_point64.js +377 -0
  24. package/build/esm/abi/fixed_point64.js.map +1 -0
  25. package/build/esm/abi/guid.js +155 -0
  26. package/build/esm/abi/guid.js.map +1 -0
  27. package/build/esm/abi/table.js +296 -0
  28. package/build/esm/abi/table.js.map +1 -0
  29. package/build/esm/core/Client.js.map +1 -1
  30. package/build/esm/types/defaultABITable.js +2 -0
  31. package/build/esm/types/defaultABITable.js.map +1 -0
  32. package/build/types/abi/aptos_coin.d.ts +100 -0
  33. package/build/types/abi/aptos_coin.d.ts.map +1 -0
  34. package/build/types/abi/coin.d.ts +476 -0
  35. package/build/types/abi/coin.d.ts.map +1 -0
  36. package/build/types/abi/event.d.ts +72 -0
  37. package/build/types/abi/event.d.ts.map +1 -0
  38. package/build/types/abi/fixed_point64.d.ts +225 -0
  39. package/build/types/abi/fixed_point64.d.ts.map +1 -0
  40. package/build/types/abi/guid.d.ts +93 -0
  41. package/build/types/abi/guid.d.ts.map +1 -0
  42. package/build/types/abi/table.d.ts +152 -0
  43. package/build/types/abi/table.d.ts.map +1 -0
  44. package/build/types/core/Client.d.ts +6 -5
  45. package/build/types/core/Client.d.ts.map +1 -1
  46. package/build/types/types/abiClient.d.ts +3 -3
  47. package/build/types/types/abiClient.d.ts.map +1 -1
  48. package/build/types/types/{globalABI.d.ts → defaultABITable.d.ts} +2 -4
  49. package/build/types/types/defaultABITable.d.ts.map +1 -0
  50. package/build/types/types/index.d.ts +1 -0
  51. package/build/types/types/index.d.ts.map +1 -1
  52. package/build/types/types/struct.d.ts +6 -4
  53. package/build/types/types/struct.d.ts.map +1 -1
  54. package/package.json +1 -1
  55. package/src/abi/aptos_coin.ts +154 -0
  56. package/src/abi/coin.ts +779 -0
  57. package/src/abi/event.ts +134 -0
  58. package/src/abi/fixed_point64.ts +376 -0
  59. package/src/abi/guid.ts +154 -0
  60. package/src/abi/table.ts +295 -0
  61. package/src/core/Client.ts +8 -6
  62. package/src/core/__tests__/accountResource.test.ts +53 -3
  63. package/src/types/abiClient.ts +3 -3
  64. package/src/types/{globalABI.ts → defaultABITable.ts} +1 -3
  65. package/src/types/index.ts +2 -1
  66. package/src/types/struct.ts +10 -6
  67. package/build/cjs/types/globalABI.js.map +0 -1
  68. package/build/esm/types/globalABI.js +0 -2
  69. package/build/esm/types/globalABI.js.map +0 -1
  70. package/build/types/types/globalABI.d.ts.map +0 -1
@@ -0,0 +1,134 @@
1
+ export const EVENT_ABI = {
2
+ "address": "0x1",
3
+ "name": "event",
4
+ "friends": [
5
+ "0x1::account",
6
+ "0x1::object"
7
+ ],
8
+ "exposed_functions": [
9
+ {
10
+ "name": "counter",
11
+ "visibility": "public",
12
+ "is_entry": false,
13
+ "is_view": false,
14
+ "generic_type_params": [
15
+ {
16
+ "constraints": [
17
+ "drop",
18
+ "store"
19
+ ]
20
+ }
21
+ ],
22
+ "params": [
23
+ "&0x1::event::EventHandle<T0>"
24
+ ],
25
+ "return": [
26
+ "u64"
27
+ ]
28
+ },
29
+ {
30
+ "name": "destroy_handle",
31
+ "visibility": "public",
32
+ "is_entry": false,
33
+ "is_view": false,
34
+ "generic_type_params": [
35
+ {
36
+ "constraints": [
37
+ "drop",
38
+ "store"
39
+ ]
40
+ }
41
+ ],
42
+ "params": [
43
+ "0x1::event::EventHandle<T0>"
44
+ ],
45
+ "return": []
46
+ },
47
+ {
48
+ "name": "emit_event",
49
+ "visibility": "public",
50
+ "is_entry": false,
51
+ "is_view": false,
52
+ "generic_type_params": [
53
+ {
54
+ "constraints": [
55
+ "drop",
56
+ "store"
57
+ ]
58
+ }
59
+ ],
60
+ "params": [
61
+ "&mut 0x1::event::EventHandle<T0>",
62
+ "T0"
63
+ ],
64
+ "return": []
65
+ },
66
+ {
67
+ "name": "guid",
68
+ "visibility": "public",
69
+ "is_entry": false,
70
+ "is_view": false,
71
+ "generic_type_params": [
72
+ {
73
+ "constraints": [
74
+ "drop",
75
+ "store"
76
+ ]
77
+ }
78
+ ],
79
+ "params": [
80
+ "&0x1::event::EventHandle<T0>"
81
+ ],
82
+ "return": [
83
+ "&0x1::guid::GUID"
84
+ ]
85
+ },
86
+ {
87
+ "name": "new_event_handle",
88
+ "visibility": "friend",
89
+ "is_entry": false,
90
+ "is_view": false,
91
+ "generic_type_params": [
92
+ {
93
+ "constraints": [
94
+ "drop",
95
+ "store"
96
+ ]
97
+ }
98
+ ],
99
+ "params": [
100
+ "0x1::guid::GUID"
101
+ ],
102
+ "return": [
103
+ "0x1::event::EventHandle<T0>"
104
+ ]
105
+ }
106
+ ],
107
+ "structs": [
108
+ {
109
+ "name": "EventHandle",
110
+ "is_native": false,
111
+ "abilities": [
112
+ "store"
113
+ ],
114
+ "generic_type_params": [
115
+ {
116
+ "constraints": [
117
+ "drop",
118
+ "store"
119
+ ]
120
+ }
121
+ ],
122
+ "fields": [
123
+ {
124
+ "name": "counter",
125
+ "type": "u64"
126
+ },
127
+ {
128
+ "name": "guid",
129
+ "type": "0x1::guid::GUID"
130
+ }
131
+ ]
132
+ }
133
+ ]
134
+ } as const;
@@ -0,0 +1,376 @@
1
+ export const FIXED_POINT64_ABI = {
2
+ "address": "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9",
3
+ "name": "fixed_point64",
4
+ "friends": [],
5
+ "exposed_functions": [
6
+ {
7
+ "name": "add",
8
+ "visibility": "public",
9
+ "is_entry": false,
10
+ "is_view": false,
11
+ "generic_type_params": [],
12
+ "params": [
13
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
14
+ "u64"
15
+ ],
16
+ "return": [
17
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
18
+ ]
19
+ },
20
+ {
21
+ "name": "add_fp",
22
+ "visibility": "public",
23
+ "is_entry": false,
24
+ "is_view": false,
25
+ "generic_type_params": [],
26
+ "params": [
27
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
28
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
29
+ ],
30
+ "return": [
31
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
32
+ ]
33
+ },
34
+ {
35
+ "name": "compare",
36
+ "visibility": "public",
37
+ "is_entry": false,
38
+ "is_view": false,
39
+ "generic_type_params": [],
40
+ "params": [
41
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
42
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
43
+ ],
44
+ "return": [
45
+ "u8"
46
+ ]
47
+ },
48
+ {
49
+ "name": "decode",
50
+ "visibility": "public",
51
+ "is_entry": false,
52
+ "is_view": false,
53
+ "generic_type_params": [],
54
+ "params": [
55
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
56
+ ],
57
+ "return": [
58
+ "u64"
59
+ ]
60
+ },
61
+ {
62
+ "name": "decode_round_down",
63
+ "visibility": "public",
64
+ "is_entry": false,
65
+ "is_view": false,
66
+ "generic_type_params": [],
67
+ "params": [
68
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
69
+ ],
70
+ "return": [
71
+ "u64"
72
+ ]
73
+ },
74
+ {
75
+ "name": "decode_round_up",
76
+ "visibility": "public",
77
+ "is_entry": false,
78
+ "is_view": false,
79
+ "generic_type_params": [],
80
+ "params": [
81
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
82
+ ],
83
+ "return": [
84
+ "u64"
85
+ ]
86
+ },
87
+ {
88
+ "name": "div",
89
+ "visibility": "public",
90
+ "is_entry": false,
91
+ "is_view": false,
92
+ "generic_type_params": [],
93
+ "params": [
94
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
95
+ "u64"
96
+ ],
97
+ "return": [
98
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
99
+ ]
100
+ },
101
+ {
102
+ "name": "div_fp",
103
+ "visibility": "public",
104
+ "is_entry": false,
105
+ "is_view": false,
106
+ "generic_type_params": [],
107
+ "params": [
108
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
109
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
110
+ ],
111
+ "return": [
112
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
113
+ ]
114
+ },
115
+ {
116
+ "name": "encode",
117
+ "visibility": "public",
118
+ "is_entry": false,
119
+ "is_view": false,
120
+ "generic_type_params": [],
121
+ "params": [
122
+ "u64"
123
+ ],
124
+ "return": [
125
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
126
+ ]
127
+ },
128
+ {
129
+ "name": "eq",
130
+ "visibility": "public",
131
+ "is_entry": false,
132
+ "is_view": false,
133
+ "generic_type_params": [],
134
+ "params": [
135
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
136
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
137
+ ],
138
+ "return": [
139
+ "bool"
140
+ ]
141
+ },
142
+ {
143
+ "name": "fraction",
144
+ "visibility": "public",
145
+ "is_entry": false,
146
+ "is_view": false,
147
+ "generic_type_params": [],
148
+ "params": [
149
+ "u64",
150
+ "u64"
151
+ ],
152
+ "return": [
153
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
154
+ ]
155
+ },
156
+ {
157
+ "name": "from_u128",
158
+ "visibility": "public",
159
+ "is_entry": false,
160
+ "is_view": false,
161
+ "generic_type_params": [],
162
+ "params": [
163
+ "u128"
164
+ ],
165
+ "return": [
166
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
167
+ ]
168
+ },
169
+ {
170
+ "name": "gt",
171
+ "visibility": "public",
172
+ "is_entry": false,
173
+ "is_view": false,
174
+ "generic_type_params": [],
175
+ "params": [
176
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
177
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
178
+ ],
179
+ "return": [
180
+ "bool"
181
+ ]
182
+ },
183
+ {
184
+ "name": "gte",
185
+ "visibility": "public",
186
+ "is_entry": false,
187
+ "is_view": false,
188
+ "generic_type_params": [],
189
+ "params": [
190
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
191
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
192
+ ],
193
+ "return": [
194
+ "bool"
195
+ ]
196
+ },
197
+ {
198
+ "name": "is_zero",
199
+ "visibility": "public",
200
+ "is_entry": false,
201
+ "is_view": false,
202
+ "generic_type_params": [],
203
+ "params": [
204
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
205
+ ],
206
+ "return": [
207
+ "bool"
208
+ ]
209
+ },
210
+ {
211
+ "name": "lt",
212
+ "visibility": "public",
213
+ "is_entry": false,
214
+ "is_view": false,
215
+ "generic_type_params": [],
216
+ "params": [
217
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
218
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
219
+ ],
220
+ "return": [
221
+ "bool"
222
+ ]
223
+ },
224
+ {
225
+ "name": "lte",
226
+ "visibility": "public",
227
+ "is_entry": false,
228
+ "is_view": false,
229
+ "generic_type_params": [],
230
+ "params": [
231
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
232
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
233
+ ],
234
+ "return": [
235
+ "bool"
236
+ ]
237
+ },
238
+ {
239
+ "name": "max",
240
+ "visibility": "public",
241
+ "is_entry": false,
242
+ "is_view": false,
243
+ "generic_type_params": [],
244
+ "params": [
245
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
246
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
247
+ ],
248
+ "return": [
249
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
250
+ ]
251
+ },
252
+ {
253
+ "name": "min",
254
+ "visibility": "public",
255
+ "is_entry": false,
256
+ "is_view": false,
257
+ "generic_type_params": [],
258
+ "params": [
259
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
260
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
261
+ ],
262
+ "return": [
263
+ "&0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
264
+ ]
265
+ },
266
+ {
267
+ "name": "mul",
268
+ "visibility": "public",
269
+ "is_entry": false,
270
+ "is_view": false,
271
+ "generic_type_params": [],
272
+ "params": [
273
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
274
+ "u64"
275
+ ],
276
+ "return": [
277
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
278
+ ]
279
+ },
280
+ {
281
+ "name": "mul_fp",
282
+ "visibility": "public",
283
+ "is_entry": false,
284
+ "is_view": false,
285
+ "generic_type_params": [],
286
+ "params": [
287
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
288
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
289
+ ],
290
+ "return": [
291
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
292
+ ]
293
+ },
294
+ {
295
+ "name": "one",
296
+ "visibility": "public",
297
+ "is_entry": false,
298
+ "is_view": false,
299
+ "generic_type_params": [],
300
+ "params": [],
301
+ "return": [
302
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
303
+ ]
304
+ },
305
+ {
306
+ "name": "sub",
307
+ "visibility": "public",
308
+ "is_entry": false,
309
+ "is_view": false,
310
+ "generic_type_params": [],
311
+ "params": [
312
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
313
+ "u64"
314
+ ],
315
+ "return": [
316
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
317
+ ]
318
+ },
319
+ {
320
+ "name": "sub_fp",
321
+ "visibility": "public",
322
+ "is_entry": false,
323
+ "is_view": false,
324
+ "generic_type_params": [],
325
+ "params": [
326
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64",
327
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
328
+ ],
329
+ "return": [
330
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
331
+ ]
332
+ },
333
+ {
334
+ "name": "to_u128",
335
+ "visibility": "public",
336
+ "is_entry": false,
337
+ "is_view": false,
338
+ "generic_type_params": [],
339
+ "params": [
340
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
341
+ ],
342
+ "return": [
343
+ "u128"
344
+ ]
345
+ },
346
+ {
347
+ "name": "zero",
348
+ "visibility": "public",
349
+ "is_entry": false,
350
+ "is_view": false,
351
+ "generic_type_params": [],
352
+ "params": [],
353
+ "return": [
354
+ "0x4dcae85fc5559071906cd5c76b7420fcbb4b0a92f00ab40ffc394aadbbff5ee9::fixed_point64::FixedPoint64"
355
+ ]
356
+ }
357
+ ],
358
+ "structs": [
359
+ {
360
+ "name": "FixedPoint64",
361
+ "is_native": false,
362
+ "abilities": [
363
+ "copy",
364
+ "drop",
365
+ "store"
366
+ ],
367
+ "generic_type_params": [],
368
+ "fields": [
369
+ {
370
+ "name": "v",
371
+ "type": "u128"
372
+ }
373
+ ]
374
+ }
375
+ ]
376
+ } as const;
@@ -0,0 +1,154 @@
1
+ export const GUID_ABI = {
2
+ "address": "0x1",
3
+ "name": "guid",
4
+ "friends": [
5
+ "0x1::account",
6
+ "0x1::object"
7
+ ],
8
+ "exposed_functions": [
9
+ {
10
+ "name": "create",
11
+ "visibility": "friend",
12
+ "is_entry": false,
13
+ "is_view": false,
14
+ "generic_type_params": [],
15
+ "params": [
16
+ "address",
17
+ "&mut u64"
18
+ ],
19
+ "return": [
20
+ "0x1::guid::GUID"
21
+ ]
22
+ },
23
+ {
24
+ "name": "create_id",
25
+ "visibility": "public",
26
+ "is_entry": false,
27
+ "is_view": false,
28
+ "generic_type_params": [],
29
+ "params": [
30
+ "address",
31
+ "u64"
32
+ ],
33
+ "return": [
34
+ "0x1::guid::ID"
35
+ ]
36
+ },
37
+ {
38
+ "name": "creation_num",
39
+ "visibility": "public",
40
+ "is_entry": false,
41
+ "is_view": false,
42
+ "generic_type_params": [],
43
+ "params": [
44
+ "&0x1::guid::GUID"
45
+ ],
46
+ "return": [
47
+ "u64"
48
+ ]
49
+ },
50
+ {
51
+ "name": "creator_address",
52
+ "visibility": "public",
53
+ "is_entry": false,
54
+ "is_view": false,
55
+ "generic_type_params": [],
56
+ "params": [
57
+ "&0x1::guid::GUID"
58
+ ],
59
+ "return": [
60
+ "address"
61
+ ]
62
+ },
63
+ {
64
+ "name": "eq_id",
65
+ "visibility": "public",
66
+ "is_entry": false,
67
+ "is_view": false,
68
+ "generic_type_params": [],
69
+ "params": [
70
+ "&0x1::guid::GUID",
71
+ "&0x1::guid::ID"
72
+ ],
73
+ "return": [
74
+ "bool"
75
+ ]
76
+ },
77
+ {
78
+ "name": "id",
79
+ "visibility": "public",
80
+ "is_entry": false,
81
+ "is_view": false,
82
+ "generic_type_params": [],
83
+ "params": [
84
+ "&0x1::guid::GUID"
85
+ ],
86
+ "return": [
87
+ "0x1::guid::ID"
88
+ ]
89
+ },
90
+ {
91
+ "name": "id_creation_num",
92
+ "visibility": "public",
93
+ "is_entry": false,
94
+ "is_view": false,
95
+ "generic_type_params": [],
96
+ "params": [
97
+ "&0x1::guid::ID"
98
+ ],
99
+ "return": [
100
+ "u64"
101
+ ]
102
+ },
103
+ {
104
+ "name": "id_creator_address",
105
+ "visibility": "public",
106
+ "is_entry": false,
107
+ "is_view": false,
108
+ "generic_type_params": [],
109
+ "params": [
110
+ "&0x1::guid::ID"
111
+ ],
112
+ "return": [
113
+ "address"
114
+ ]
115
+ }
116
+ ],
117
+ "structs": [
118
+ {
119
+ "name": "GUID",
120
+ "is_native": false,
121
+ "abilities": [
122
+ "drop",
123
+ "store"
124
+ ],
125
+ "generic_type_params": [],
126
+ "fields": [
127
+ {
128
+ "name": "id",
129
+ "type": "0x1::guid::ID"
130
+ }
131
+ ]
132
+ },
133
+ {
134
+ "name": "ID",
135
+ "is_native": false,
136
+ "abilities": [
137
+ "copy",
138
+ "drop",
139
+ "store"
140
+ ],
141
+ "generic_type_params": [],
142
+ "fields": [
143
+ {
144
+ "name": "creation_num",
145
+ "type": "u64"
146
+ },
147
+ {
148
+ "name": "addr",
149
+ "type": "address"
150
+ }
151
+ ]
152
+ }
153
+ ]
154
+ } as const;