@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
@@ -0,0 +1,2578 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+
5
+ /* Generated modules for account 0x2 */
6
+
7
+ import { CallFilter } from "@sentio/sdk/move";
8
+ import {
9
+ MoveCoder,
10
+ defaultMoveCoder,
11
+ SuiBindOptions,
12
+ SuiBaseProcessor,
13
+ TypedEventInstance,
14
+ SuiNetwork,
15
+ TypedEntryFunctionPayload,
16
+ SuiContext,
17
+ } from "@sentio/sdk/sui";
18
+ import { MoveFetchConfig } from "@sentio/protos";
19
+ import { SuiAddress } from "@sentio/sdk/sui";
20
+
21
+ import * as _0x1 from "./0x1.js";
22
+
23
+ export namespace address {}
24
+
25
+ export namespace bag {
26
+ export class Bag {
27
+ static TYPE_QNAME = "0x2::bag::Bag";
28
+ id: object_.UID;
29
+ size: bigint;
30
+ }
31
+ }
32
+
33
+ export namespace balance {
34
+ export class Balance<T0> {
35
+ static TYPE_QNAME = "0x2::balance::Balance";
36
+ value: bigint;
37
+ }
38
+
39
+ export class Supply<T0> {
40
+ static TYPE_QNAME = "0x2::balance::Supply";
41
+ value: bigint;
42
+ }
43
+ }
44
+
45
+ export class bcs extends SuiBaseProcessor {
46
+ constructor(options: SuiBindOptions) {
47
+ super("bcs", options);
48
+ }
49
+ static DEFAULT_OPTIONS: SuiBindOptions = {
50
+ address: "0x2",
51
+ network: SuiNetwork.MAIN_NET,
52
+ };
53
+
54
+ static bind(options: Partial<SuiBindOptions> = {}): bcs {
55
+ return new bcs({ ...bcs.DEFAULT_OPTIONS, ...options });
56
+ }
57
+
58
+ onEventBCS(
59
+ func: (event: bcs.BCSInstance, ctx: SuiContext) => void,
60
+ fetchConfig?: MoveFetchConfig
61
+ ): bcs {
62
+ this.onMoveEvent(
63
+ func,
64
+ {
65
+ type: "bcs::BCS",
66
+ },
67
+ fetchConfig
68
+ );
69
+ return this;
70
+ }
71
+ }
72
+
73
+ export namespace bcs {
74
+ export class BCS {
75
+ static TYPE_QNAME = "0x2::bcs::BCS";
76
+ bytes: string;
77
+ }
78
+
79
+ export interface BCSInstance extends TypedEventInstance<BCS> {
80
+ fields_decoded: BCS;
81
+ type_arguments: [];
82
+ }
83
+ }
84
+
85
+ export namespace bls12381 {}
86
+
87
+ export namespace bulletproofs {}
88
+
89
+ export class coin extends SuiBaseProcessor {
90
+ constructor(options: SuiBindOptions) {
91
+ super("coin", options);
92
+ }
93
+ static DEFAULT_OPTIONS: SuiBindOptions = {
94
+ address: "0x2",
95
+ network: SuiNetwork.MAIN_NET,
96
+ };
97
+
98
+ static bind(options: Partial<SuiBindOptions> = {}): coin {
99
+ return new coin({ ...coin.DEFAULT_OPTIONS, ...options });
100
+ }
101
+
102
+ onEntryBurn(
103
+ func: (call: coin.BurnPayload, ctx: SuiContext) => void,
104
+ filter?: CallFilter,
105
+ fetchConfig?: MoveFetchConfig
106
+ ): coin {
107
+ this.onEntryFunctionCall(
108
+ func,
109
+ {
110
+ ...filter,
111
+ function: "coin::burn_",
112
+ },
113
+ fetchConfig
114
+ );
115
+ return this;
116
+ }
117
+
118
+ onEntryJoin(
119
+ func: (call: coin.JoinPayload, ctx: SuiContext) => void,
120
+ filter?: CallFilter,
121
+ fetchConfig?: MoveFetchConfig
122
+ ): coin {
123
+ this.onEntryFunctionCall(
124
+ func,
125
+ {
126
+ ...filter,
127
+ function: "coin::join",
128
+ },
129
+ fetchConfig
130
+ );
131
+ return this;
132
+ }
133
+
134
+ onEntryMintAndTransfer(
135
+ func: (call: coin.MintAndTransferPayload, ctx: SuiContext) => void,
136
+ filter?: CallFilter,
137
+ fetchConfig?: MoveFetchConfig
138
+ ): coin {
139
+ this.onEntryFunctionCall(
140
+ func,
141
+ {
142
+ ...filter,
143
+ function: "coin::mint_and_transfer",
144
+ },
145
+ fetchConfig
146
+ );
147
+ return this;
148
+ }
149
+
150
+ onEntryUpdateDescription(
151
+ func: (call: coin.UpdateDescriptionPayload, ctx: SuiContext) => void,
152
+ filter?: CallFilter,
153
+ fetchConfig?: MoveFetchConfig
154
+ ): coin {
155
+ this.onEntryFunctionCall(
156
+ func,
157
+ {
158
+ ...filter,
159
+ function: "coin::update_description",
160
+ },
161
+ fetchConfig
162
+ );
163
+ return this;
164
+ }
165
+
166
+ onEntryUpdateIconUrl(
167
+ func: (call: coin.UpdateIconUrlPayload, ctx: SuiContext) => void,
168
+ filter?: CallFilter,
169
+ fetchConfig?: MoveFetchConfig
170
+ ): coin {
171
+ this.onEntryFunctionCall(
172
+ func,
173
+ {
174
+ ...filter,
175
+ function: "coin::update_icon_url",
176
+ },
177
+ fetchConfig
178
+ );
179
+ return this;
180
+ }
181
+
182
+ onEntryUpdateName(
183
+ func: (call: coin.UpdateNamePayload, ctx: SuiContext) => void,
184
+ filter?: CallFilter,
185
+ fetchConfig?: MoveFetchConfig
186
+ ): coin {
187
+ this.onEntryFunctionCall(
188
+ func,
189
+ {
190
+ ...filter,
191
+ function: "coin::update_name",
192
+ },
193
+ fetchConfig
194
+ );
195
+ return this;
196
+ }
197
+
198
+ onEntryUpdateSymbol(
199
+ func: (call: coin.UpdateSymbolPayload, ctx: SuiContext) => void,
200
+ filter?: CallFilter,
201
+ fetchConfig?: MoveFetchConfig
202
+ ): coin {
203
+ this.onEntryFunctionCall(
204
+ func,
205
+ {
206
+ ...filter,
207
+ function: "coin::update_symbol",
208
+ },
209
+ fetchConfig
210
+ );
211
+ return this;
212
+ }
213
+
214
+ onEventCurrencyCreated(
215
+ func: (event: coin.CurrencyCreatedInstance, ctx: SuiContext) => void,
216
+ fetchConfig?: MoveFetchConfig
217
+ ): coin {
218
+ this.onMoveEvent(
219
+ func,
220
+ {
221
+ type: "coin::CurrencyCreated",
222
+ },
223
+ fetchConfig
224
+ );
225
+ return this;
226
+ }
227
+ }
228
+
229
+ export namespace coin {
230
+ export class Coin<T0> {
231
+ static TYPE_QNAME = "0x2::coin::Coin";
232
+ id: object_.UID;
233
+ balance: balance.Balance<T0>;
234
+ }
235
+
236
+ export class CoinMetadata<T0> {
237
+ static TYPE_QNAME = "0x2::coin::CoinMetadata";
238
+ id: object_.UID;
239
+ decimals: number;
240
+ name: string;
241
+ symbol: _0x1.ascii.String;
242
+ description: string;
243
+ icon_url: _0x1.option.Option<url.Url>;
244
+ }
245
+
246
+ export class CurrencyCreated<T0> {
247
+ static TYPE_QNAME = "0x2::coin::CurrencyCreated";
248
+ decimals: number;
249
+ }
250
+
251
+ export interface CurrencyCreatedInstance
252
+ extends TypedEventInstance<CurrencyCreated<any>> {
253
+ fields_decoded: CurrencyCreated<any>;
254
+ type_arguments: [string];
255
+ }
256
+
257
+ export class TreasuryCap<T0> {
258
+ static TYPE_QNAME = "0x2::coin::TreasuryCap";
259
+ id: object_.UID;
260
+ total_supply: balance.Supply<T0>;
261
+ }
262
+
263
+ export interface BurnPayload<T0 = any>
264
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
265
+ arguments_decoded: [SuiAddress];
266
+ type_arguments: [string];
267
+ }
268
+
269
+ export interface JoinPayload<T0 = any>
270
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
271
+ arguments_decoded: [SuiAddress];
272
+ type_arguments: [string];
273
+ }
274
+
275
+ export interface MintAndTransferPayload<T0 = any>
276
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint, SuiAddress]> {
277
+ arguments_decoded: [SuiAddress, bigint, SuiAddress];
278
+ type_arguments: [string];
279
+ }
280
+
281
+ export interface UpdateDescriptionPayload<T0 = any>
282
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
283
+ arguments_decoded: [SuiAddress, SuiAddress];
284
+ type_arguments: [string];
285
+ }
286
+
287
+ export interface UpdateIconUrlPayload<T0 = any>
288
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
289
+ arguments_decoded: [SuiAddress, SuiAddress];
290
+ type_arguments: [string];
291
+ }
292
+
293
+ export interface UpdateNamePayload<T0 = any>
294
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
295
+ arguments_decoded: [SuiAddress, SuiAddress];
296
+ type_arguments: [string];
297
+ }
298
+
299
+ export interface UpdateSymbolPayload<T0 = any>
300
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
301
+ arguments_decoded: [SuiAddress, SuiAddress];
302
+ type_arguments: [string];
303
+ }
304
+ }
305
+
306
+ export class devnet_nft extends SuiBaseProcessor {
307
+ constructor(options: SuiBindOptions) {
308
+ super("devnet_nft", options);
309
+ }
310
+ static DEFAULT_OPTIONS: SuiBindOptions = {
311
+ address: "0x2",
312
+ network: SuiNetwork.MAIN_NET,
313
+ };
314
+
315
+ static bind(options: Partial<SuiBindOptions> = {}): devnet_nft {
316
+ return new devnet_nft({ ...devnet_nft.DEFAULT_OPTIONS, ...options });
317
+ }
318
+
319
+ onEntryBurn(
320
+ func: (call: devnet_nft.BurnPayload, ctx: SuiContext) => void,
321
+ filter?: CallFilter,
322
+ fetchConfig?: MoveFetchConfig
323
+ ): devnet_nft {
324
+ this.onEntryFunctionCall(
325
+ func,
326
+ {
327
+ ...filter,
328
+ function: "devnet_nft::burn",
329
+ },
330
+ fetchConfig
331
+ );
332
+ return this;
333
+ }
334
+
335
+ onEntryMint(
336
+ func: (call: devnet_nft.MintPayload, ctx: SuiContext) => void,
337
+ filter?: CallFilter,
338
+ fetchConfig?: MoveFetchConfig
339
+ ): devnet_nft {
340
+ this.onEntryFunctionCall(
341
+ func,
342
+ {
343
+ ...filter,
344
+ function: "devnet_nft::mint",
345
+ },
346
+ fetchConfig
347
+ );
348
+ return this;
349
+ }
350
+
351
+ onEntryUpdateDescription(
352
+ func: (call: devnet_nft.UpdateDescriptionPayload, ctx: SuiContext) => void,
353
+ filter?: CallFilter,
354
+ fetchConfig?: MoveFetchConfig
355
+ ): devnet_nft {
356
+ this.onEntryFunctionCall(
357
+ func,
358
+ {
359
+ ...filter,
360
+ function: "devnet_nft::update_description",
361
+ },
362
+ fetchConfig
363
+ );
364
+ return this;
365
+ }
366
+
367
+ onEventMintNFTEvent(
368
+ func: (event: devnet_nft.MintNFTEventInstance, ctx: SuiContext) => void,
369
+ fetchConfig?: MoveFetchConfig
370
+ ): devnet_nft {
371
+ this.onMoveEvent(
372
+ func,
373
+ {
374
+ type: "devnet_nft::MintNFTEvent",
375
+ },
376
+ fetchConfig
377
+ );
378
+ return this;
379
+ }
380
+ }
381
+
382
+ export namespace devnet_nft {
383
+ export class DevNetNFT {
384
+ static TYPE_QNAME = "0x2::devnet_nft::DevNetNFT";
385
+ id: object_.UID;
386
+ name: string;
387
+ description: string;
388
+ url: url.Url;
389
+ }
390
+
391
+ export class MintNFTEvent {
392
+ static TYPE_QNAME = "0x2::devnet_nft::MintNFTEvent";
393
+ object_id: string;
394
+ creator: SuiAddress;
395
+ name: string;
396
+ }
397
+
398
+ export interface MintNFTEventInstance
399
+ extends TypedEventInstance<MintNFTEvent> {
400
+ fields_decoded: MintNFTEvent;
401
+ type_arguments: [];
402
+ }
403
+
404
+ export interface BurnPayload extends TypedEntryFunctionPayload<[]> {
405
+ arguments_decoded: [];
406
+ type_arguments: [];
407
+ }
408
+
409
+ export interface MintPayload
410
+ extends TypedEntryFunctionPayload<[string, string, string]> {
411
+ arguments_decoded: [string, string, string];
412
+ type_arguments: [];
413
+ }
414
+
415
+ export interface UpdateDescriptionPayload
416
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
417
+ arguments_decoded: [SuiAddress];
418
+ type_arguments: [];
419
+ }
420
+ }
421
+
422
+ export class digest extends SuiBaseProcessor {
423
+ constructor(options: SuiBindOptions) {
424
+ super("digest", options);
425
+ }
426
+ static DEFAULT_OPTIONS: SuiBindOptions = {
427
+ address: "0x2",
428
+ network: SuiNetwork.MAIN_NET,
429
+ };
430
+
431
+ static bind(options: Partial<SuiBindOptions> = {}): digest {
432
+ return new digest({ ...digest.DEFAULT_OPTIONS, ...options });
433
+ }
434
+
435
+ onEventSha3256Digest(
436
+ func: (event: digest.Sha3256DigestInstance, ctx: SuiContext) => void,
437
+ fetchConfig?: MoveFetchConfig
438
+ ): digest {
439
+ this.onMoveEvent(
440
+ func,
441
+ {
442
+ type: "digest::Sha3256Digest",
443
+ },
444
+ fetchConfig
445
+ );
446
+ return this;
447
+ }
448
+ }
449
+
450
+ export namespace digest {
451
+ export class Sha3256Digest {
452
+ static TYPE_QNAME = "0x2::digest::Sha3256Digest";
453
+ digest: string;
454
+ }
455
+
456
+ export interface Sha3256DigestInstance
457
+ extends TypedEventInstance<Sha3256Digest> {
458
+ fields_decoded: Sha3256Digest;
459
+ type_arguments: [];
460
+ }
461
+ }
462
+
463
+ export namespace dynamic_field {
464
+ export class Field<T0, T1> {
465
+ static TYPE_QNAME = "0x2::dynamic_field::Field";
466
+ id: object_.UID;
467
+ name: T0;
468
+ value: T1;
469
+ }
470
+ }
471
+
472
+ export class dynamic_object_field extends SuiBaseProcessor {
473
+ constructor(options: SuiBindOptions) {
474
+ super("dynamic_object_field", options);
475
+ }
476
+ static DEFAULT_OPTIONS: SuiBindOptions = {
477
+ address: "0x2",
478
+ network: SuiNetwork.MAIN_NET,
479
+ };
480
+
481
+ static bind(options: Partial<SuiBindOptions> = {}): dynamic_object_field {
482
+ return new dynamic_object_field({
483
+ ...dynamic_object_field.DEFAULT_OPTIONS,
484
+ ...options,
485
+ });
486
+ }
487
+
488
+ onEventWrapper(
489
+ func: (
490
+ event: dynamic_object_field.WrapperInstance,
491
+ ctx: SuiContext
492
+ ) => void,
493
+ fetchConfig?: MoveFetchConfig
494
+ ): dynamic_object_field {
495
+ this.onMoveEvent(
496
+ func,
497
+ {
498
+ type: "dynamic_object_field::Wrapper",
499
+ },
500
+ fetchConfig
501
+ );
502
+ return this;
503
+ }
504
+ }
505
+
506
+ export namespace dynamic_object_field {
507
+ export class Wrapper<T0> {
508
+ static TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
509
+ name: T0;
510
+ }
511
+
512
+ export interface WrapperInstance extends TypedEventInstance<Wrapper<any>> {
513
+ fields_decoded: Wrapper<any>;
514
+ type_arguments: [string];
515
+ }
516
+ }
517
+
518
+ export namespace ecdsa_k1 {}
519
+
520
+ export namespace ed25519 {}
521
+
522
+ export class elliptic_curve extends SuiBaseProcessor {
523
+ constructor(options: SuiBindOptions) {
524
+ super("elliptic_curve", options);
525
+ }
526
+ static DEFAULT_OPTIONS: SuiBindOptions = {
527
+ address: "0x2",
528
+ network: SuiNetwork.MAIN_NET,
529
+ };
530
+
531
+ static bind(options: Partial<SuiBindOptions> = {}): elliptic_curve {
532
+ return new elliptic_curve({
533
+ ...elliptic_curve.DEFAULT_OPTIONS,
534
+ ...options,
535
+ });
536
+ }
537
+
538
+ onEventRistrettoPoint(
539
+ func: (
540
+ event: elliptic_curve.RistrettoPointInstance,
541
+ ctx: SuiContext
542
+ ) => void,
543
+ fetchConfig?: MoveFetchConfig
544
+ ): elliptic_curve {
545
+ this.onMoveEvent(
546
+ func,
547
+ {
548
+ type: "elliptic_curve::RistrettoPoint",
549
+ },
550
+ fetchConfig
551
+ );
552
+ return this;
553
+ }
554
+
555
+ onEventScalar(
556
+ func: (event: elliptic_curve.ScalarInstance, ctx: SuiContext) => void,
557
+ fetchConfig?: MoveFetchConfig
558
+ ): elliptic_curve {
559
+ this.onMoveEvent(
560
+ func,
561
+ {
562
+ type: "elliptic_curve::Scalar",
563
+ },
564
+ fetchConfig
565
+ );
566
+ return this;
567
+ }
568
+ }
569
+
570
+ export namespace elliptic_curve {
571
+ export class RistrettoPoint {
572
+ static TYPE_QNAME = "0x2::elliptic_curve::RistrettoPoint";
573
+ value: string;
574
+ }
575
+
576
+ export interface RistrettoPointInstance
577
+ extends TypedEventInstance<RistrettoPoint> {
578
+ fields_decoded: RistrettoPoint;
579
+ type_arguments: [];
580
+ }
581
+
582
+ export class Scalar {
583
+ static TYPE_QNAME = "0x2::elliptic_curve::Scalar";
584
+ value: string;
585
+ }
586
+
587
+ export interface ScalarInstance extends TypedEventInstance<Scalar> {
588
+ fields_decoded: Scalar;
589
+ type_arguments: [];
590
+ }
591
+ }
592
+
593
+ export namespace epoch_time_lock {
594
+ export class EpochTimeLock {
595
+ static TYPE_QNAME = "0x2::epoch_time_lock::EpochTimeLock";
596
+ epoch: bigint;
597
+ }
598
+ }
599
+
600
+ export namespace erc721_metadata {
601
+ export class ERC721Metadata {
602
+ static TYPE_QNAME = "0x2::erc721_metadata::ERC721Metadata";
603
+ token_id: erc721_metadata.TokenID;
604
+ name: string;
605
+ token_uri: url.Url;
606
+ }
607
+
608
+ export class TokenID {
609
+ static TYPE_QNAME = "0x2::erc721_metadata::TokenID";
610
+ id: bigint;
611
+ }
612
+ }
613
+
614
+ export namespace event {}
615
+
616
+ export namespace genesis {}
617
+
618
+ export class groth16 extends SuiBaseProcessor {
619
+ constructor(options: SuiBindOptions) {
620
+ super("groth16", options);
621
+ }
622
+ static DEFAULT_OPTIONS: SuiBindOptions = {
623
+ address: "0x2",
624
+ network: SuiNetwork.MAIN_NET,
625
+ };
626
+
627
+ static bind(options: Partial<SuiBindOptions> = {}): groth16 {
628
+ return new groth16({ ...groth16.DEFAULT_OPTIONS, ...options });
629
+ }
630
+
631
+ onEventPreparedVerifyingKey(
632
+ func: (
633
+ event: groth16.PreparedVerifyingKeyInstance,
634
+ ctx: SuiContext
635
+ ) => void,
636
+ fetchConfig?: MoveFetchConfig
637
+ ): groth16 {
638
+ this.onMoveEvent(
639
+ func,
640
+ {
641
+ type: "groth16::PreparedVerifyingKey",
642
+ },
643
+ fetchConfig
644
+ );
645
+ return this;
646
+ }
647
+
648
+ onEventProofPoints(
649
+ func: (event: groth16.ProofPointsInstance, ctx: SuiContext) => void,
650
+ fetchConfig?: MoveFetchConfig
651
+ ): groth16 {
652
+ this.onMoveEvent(
653
+ func,
654
+ {
655
+ type: "groth16::ProofPoints",
656
+ },
657
+ fetchConfig
658
+ );
659
+ return this;
660
+ }
661
+
662
+ onEventPublicProofInputs(
663
+ func: (event: groth16.PublicProofInputsInstance, ctx: SuiContext) => void,
664
+ fetchConfig?: MoveFetchConfig
665
+ ): groth16 {
666
+ this.onMoveEvent(
667
+ func,
668
+ {
669
+ type: "groth16::PublicProofInputs",
670
+ },
671
+ fetchConfig
672
+ );
673
+ return this;
674
+ }
675
+ }
676
+
677
+ export namespace groth16 {
678
+ export class PreparedVerifyingKey {
679
+ static TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
680
+ vk_gamma_abc_g1_bytes: string;
681
+ alpha_g1_beta_g2_bytes: string;
682
+ gamma_g2_neg_pc_bytes: string;
683
+ delta_g2_neg_pc_bytes: string;
684
+ }
685
+
686
+ export interface PreparedVerifyingKeyInstance
687
+ extends TypedEventInstance<PreparedVerifyingKey> {
688
+ fields_decoded: PreparedVerifyingKey;
689
+ type_arguments: [];
690
+ }
691
+
692
+ export class ProofPoints {
693
+ static TYPE_QNAME = "0x2::groth16::ProofPoints";
694
+ bytes: string;
695
+ }
696
+
697
+ export interface ProofPointsInstance extends TypedEventInstance<ProofPoints> {
698
+ fields_decoded: ProofPoints;
699
+ type_arguments: [];
700
+ }
701
+
702
+ export class PublicProofInputs {
703
+ static TYPE_QNAME = "0x2::groth16::PublicProofInputs";
704
+ bytes: string;
705
+ }
706
+
707
+ export interface PublicProofInputsInstance
708
+ extends TypedEventInstance<PublicProofInputs> {
709
+ fields_decoded: PublicProofInputs;
710
+ type_arguments: [];
711
+ }
712
+ }
713
+
714
+ export namespace hex {}
715
+
716
+ export namespace hmac {}
717
+
718
+ export class immutable_external_resource extends SuiBaseProcessor {
719
+ constructor(options: SuiBindOptions) {
720
+ super("immutable_external_resource", options);
721
+ }
722
+ static DEFAULT_OPTIONS: SuiBindOptions = {
723
+ address: "0x2",
724
+ network: SuiNetwork.MAIN_NET,
725
+ };
726
+
727
+ static bind(
728
+ options: Partial<SuiBindOptions> = {}
729
+ ): immutable_external_resource {
730
+ return new immutable_external_resource({
731
+ ...immutable_external_resource.DEFAULT_OPTIONS,
732
+ ...options,
733
+ });
734
+ }
735
+
736
+ onEventImmutableExternalResource(
737
+ func: (
738
+ event: immutable_external_resource.ImmutableExternalResourceInstance,
739
+ ctx: SuiContext
740
+ ) => void,
741
+ fetchConfig?: MoveFetchConfig
742
+ ): immutable_external_resource {
743
+ this.onMoveEvent(
744
+ func,
745
+ {
746
+ type: "immutable_external_resource::ImmutableExternalResource",
747
+ },
748
+ fetchConfig
749
+ );
750
+ return this;
751
+ }
752
+ }
753
+
754
+ export namespace immutable_external_resource {
755
+ export class ImmutableExternalResource {
756
+ static TYPE_QNAME =
757
+ "0x2::immutable_external_resource::ImmutableExternalResource";
758
+ url: url.Url;
759
+ digest: digest.Sha3256Digest;
760
+ }
761
+
762
+ export interface ImmutableExternalResourceInstance
763
+ extends TypedEventInstance<ImmutableExternalResource> {
764
+ fields_decoded: ImmutableExternalResource;
765
+ type_arguments: [];
766
+ }
767
+ }
768
+
769
+ export namespace linked_table {
770
+ export class LinkedTable<T0, T1> {
771
+ static TYPE_QNAME = "0x2::linked_table::LinkedTable";
772
+ id: object_.UID;
773
+ size: bigint;
774
+ head: _0x1.option.Option<T0>;
775
+ tail: _0x1.option.Option<T0>;
776
+ }
777
+
778
+ export class Node<T0, T1> {
779
+ static TYPE_QNAME = "0x2::linked_table::Node";
780
+ prev: _0x1.option.Option<T0>;
781
+ next: _0x1.option.Option<T0>;
782
+ value: T1;
783
+ }
784
+ }
785
+
786
+ export class locked_coin extends SuiBaseProcessor {
787
+ constructor(options: SuiBindOptions) {
788
+ super("locked_coin", options);
789
+ }
790
+ static DEFAULT_OPTIONS: SuiBindOptions = {
791
+ address: "0x2",
792
+ network: SuiNetwork.MAIN_NET,
793
+ };
794
+
795
+ static bind(options: Partial<SuiBindOptions> = {}): locked_coin {
796
+ return new locked_coin({ ...locked_coin.DEFAULT_OPTIONS, ...options });
797
+ }
798
+
799
+ onEntryLockCoin(
800
+ func: (call: locked_coin.LockCoinPayload, ctx: SuiContext) => void,
801
+ filter?: CallFilter,
802
+ fetchConfig?: MoveFetchConfig
803
+ ): locked_coin {
804
+ this.onEntryFunctionCall(
805
+ func,
806
+ {
807
+ ...filter,
808
+ function: "locked_coin::lock_coin",
809
+ },
810
+ fetchConfig
811
+ );
812
+ return this;
813
+ }
814
+
815
+ onEntryUnlockCoin(
816
+ func: (call: locked_coin.UnlockCoinPayload, ctx: SuiContext) => void,
817
+ filter?: CallFilter,
818
+ fetchConfig?: MoveFetchConfig
819
+ ): locked_coin {
820
+ this.onEntryFunctionCall(
821
+ func,
822
+ {
823
+ ...filter,
824
+ function: "locked_coin::unlock_coin",
825
+ },
826
+ fetchConfig
827
+ );
828
+ return this;
829
+ }
830
+ }
831
+
832
+ export namespace locked_coin {
833
+ export class LockedCoin<T0> {
834
+ static TYPE_QNAME = "0x2::locked_coin::LockedCoin";
835
+ id: object_.UID;
836
+ balance: balance.Balance<T0>;
837
+ locked_until_epoch: epoch_time_lock.EpochTimeLock;
838
+ }
839
+
840
+ export interface LockCoinPayload<T0 = any>
841
+ extends TypedEntryFunctionPayload<[string, SuiAddress, bigint]> {
842
+ arguments_decoded: [string, SuiAddress, bigint];
843
+ type_arguments: [string];
844
+ }
845
+
846
+ export interface UnlockCoinPayload<T0 = any>
847
+ extends TypedEntryFunctionPayload<[locked_coin.LockedCoin<T0>]> {
848
+ arguments_decoded: [locked_coin.LockedCoin<T0>];
849
+ type_arguments: [string];
850
+ }
851
+ }
852
+
853
+ export namespace math {}
854
+
855
+ export class object_ extends SuiBaseProcessor {
856
+ constructor(options: SuiBindOptions) {
857
+ super("object", options);
858
+ }
859
+ static DEFAULT_OPTIONS: SuiBindOptions = {
860
+ address: "0x2",
861
+ network: SuiNetwork.MAIN_NET,
862
+ };
863
+
864
+ static bind(options: Partial<SuiBindOptions> = {}): object_ {
865
+ return new object_({ ...object_.DEFAULT_OPTIONS, ...options });
866
+ }
867
+
868
+ onEventID(
869
+ func: (event: object_.IDInstance, ctx: SuiContext) => void,
870
+ fetchConfig?: MoveFetchConfig
871
+ ): object_ {
872
+ this.onMoveEvent(
873
+ func,
874
+ {
875
+ type: "object::ID",
876
+ },
877
+ fetchConfig
878
+ );
879
+ return this;
880
+ }
881
+ }
882
+
883
+ export namespace object_ {
884
+ export class ID {
885
+ static TYPE_QNAME = "0x2::object::ID";
886
+ bytes: SuiAddress;
887
+ }
888
+
889
+ export interface IDInstance extends TypedEventInstance<ID> {
890
+ fields_decoded: ID;
891
+ type_arguments: [];
892
+ }
893
+
894
+ export class UID {
895
+ static TYPE_QNAME = "0x2::object::UID";
896
+ id: string;
897
+ }
898
+ }
899
+
900
+ export namespace object_bag {
901
+ export class ObjectBag {
902
+ static TYPE_QNAME = "0x2::object_bag::ObjectBag";
903
+ id: object_.UID;
904
+ size: bigint;
905
+ }
906
+ }
907
+
908
+ export namespace object_table {
909
+ export class ObjectTable<T0, T1> {
910
+ static TYPE_QNAME = "0x2::object_table::ObjectTable";
911
+ id: object_.UID;
912
+ size: bigint;
913
+ }
914
+ }
915
+
916
+ export class pay extends SuiBaseProcessor {
917
+ constructor(options: SuiBindOptions) {
918
+ super("pay", options);
919
+ }
920
+ static DEFAULT_OPTIONS: SuiBindOptions = {
921
+ address: "0x2",
922
+ network: SuiNetwork.MAIN_NET,
923
+ };
924
+
925
+ static bind(options: Partial<SuiBindOptions> = {}): pay {
926
+ return new pay({ ...pay.DEFAULT_OPTIONS, ...options });
927
+ }
928
+
929
+ onEntryDivideAndKeep(
930
+ func: (call: pay.DivideAndKeepPayload, ctx: SuiContext) => void,
931
+ filter?: CallFilter,
932
+ fetchConfig?: MoveFetchConfig
933
+ ): pay {
934
+ this.onEntryFunctionCall(
935
+ func,
936
+ {
937
+ ...filter,
938
+ function: "pay::divide_and_keep",
939
+ },
940
+ fetchConfig
941
+ );
942
+ return this;
943
+ }
944
+
945
+ onEntryJoin(
946
+ func: (call: pay.JoinPayload, ctx: SuiContext) => void,
947
+ filter?: CallFilter,
948
+ fetchConfig?: MoveFetchConfig
949
+ ): pay {
950
+ this.onEntryFunctionCall(
951
+ func,
952
+ {
953
+ ...filter,
954
+ function: "pay::join",
955
+ },
956
+ fetchConfig
957
+ );
958
+ return this;
959
+ }
960
+
961
+ onEntryJoinVec(
962
+ func: (call: pay.JoinVecPayload, ctx: SuiContext) => void,
963
+ filter?: CallFilter,
964
+ fetchConfig?: MoveFetchConfig
965
+ ): pay {
966
+ this.onEntryFunctionCall(
967
+ func,
968
+ {
969
+ ...filter,
970
+ function: "pay::join_vec",
971
+ },
972
+ fetchConfig
973
+ );
974
+ return this;
975
+ }
976
+
977
+ onEntryJoinVecAndTransfer(
978
+ func: (call: pay.JoinVecAndTransferPayload, ctx: SuiContext) => void,
979
+ filter?: CallFilter,
980
+ fetchConfig?: MoveFetchConfig
981
+ ): pay {
982
+ this.onEntryFunctionCall(
983
+ func,
984
+ {
985
+ ...filter,
986
+ function: "pay::join_vec_and_transfer",
987
+ },
988
+ fetchConfig
989
+ );
990
+ return this;
991
+ }
992
+
993
+ onEntrySplit(
994
+ func: (call: pay.SplitPayload, ctx: SuiContext) => void,
995
+ filter?: CallFilter,
996
+ fetchConfig?: MoveFetchConfig
997
+ ): pay {
998
+ this.onEntryFunctionCall(
999
+ func,
1000
+ {
1001
+ ...filter,
1002
+ function: "pay::split",
1003
+ },
1004
+ fetchConfig
1005
+ );
1006
+ return this;
1007
+ }
1008
+
1009
+ onEntrySplitAndTransfer(
1010
+ func: (call: pay.SplitAndTransferPayload, ctx: SuiContext) => void,
1011
+ filter?: CallFilter,
1012
+ fetchConfig?: MoveFetchConfig
1013
+ ): pay {
1014
+ this.onEntryFunctionCall(
1015
+ func,
1016
+ {
1017
+ ...filter,
1018
+ function: "pay::split_and_transfer",
1019
+ },
1020
+ fetchConfig
1021
+ );
1022
+ return this;
1023
+ }
1024
+
1025
+ onEntrySplitVec(
1026
+ func: (call: pay.SplitVecPayload, ctx: SuiContext) => void,
1027
+ filter?: CallFilter,
1028
+ fetchConfig?: MoveFetchConfig
1029
+ ): pay {
1030
+ this.onEntryFunctionCall(
1031
+ func,
1032
+ {
1033
+ ...filter,
1034
+ function: "pay::split_vec",
1035
+ },
1036
+ fetchConfig
1037
+ );
1038
+ return this;
1039
+ }
1040
+ }
1041
+
1042
+ export namespace pay {
1043
+ export interface DivideAndKeepPayload<T0 = any>
1044
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint]> {
1045
+ arguments_decoded: [SuiAddress, bigint];
1046
+ type_arguments: [string];
1047
+ }
1048
+
1049
+ export interface JoinPayload<T0 = any>
1050
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
1051
+ arguments_decoded: [SuiAddress];
1052
+ type_arguments: [string];
1053
+ }
1054
+
1055
+ export interface JoinVecPayload<T0 = any>
1056
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
1057
+ arguments_decoded: [SuiAddress];
1058
+ type_arguments: [string];
1059
+ }
1060
+
1061
+ export interface JoinVecAndTransferPayload<T0 = any>
1062
+ extends TypedEntryFunctionPayload<[string[]]> {
1063
+ arguments_decoded: [string[]];
1064
+ type_arguments: [string];
1065
+ }
1066
+
1067
+ export interface SplitPayload<T0 = any>
1068
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint]> {
1069
+ arguments_decoded: [SuiAddress, bigint];
1070
+ type_arguments: [string];
1071
+ }
1072
+
1073
+ export interface SplitAndTransferPayload<T0 = any>
1074
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint, SuiAddress]> {
1075
+ arguments_decoded: [SuiAddress, bigint, SuiAddress];
1076
+ type_arguments: [string];
1077
+ }
1078
+
1079
+ export interface SplitVecPayload<T0 = any>
1080
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint[]]> {
1081
+ arguments_decoded: [SuiAddress, bigint[]];
1082
+ type_arguments: [string];
1083
+ }
1084
+ }
1085
+
1086
+ export namespace priority_queue {
1087
+ export class Entry<T0> {
1088
+ static TYPE_QNAME = "0x2::priority_queue::Entry";
1089
+ priority: bigint;
1090
+ value: T0;
1091
+ }
1092
+
1093
+ export class PriorityQueue<T0> {
1094
+ static TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
1095
+ entries: priority_queue.Entry<T0>[];
1096
+ }
1097
+ }
1098
+
1099
+ export namespace publisher {
1100
+ export class Publisher {
1101
+ static TYPE_QNAME = "0x2::publisher::Publisher";
1102
+ id: object_.UID;
1103
+ package: _0x1.ascii.String;
1104
+ module_name: _0x1.ascii.String;
1105
+ }
1106
+ }
1107
+
1108
+ export class safe extends SuiBaseProcessor {
1109
+ constructor(options: SuiBindOptions) {
1110
+ super("safe", options);
1111
+ }
1112
+ static DEFAULT_OPTIONS: SuiBindOptions = {
1113
+ address: "0x2",
1114
+ network: SuiNetwork.MAIN_NET,
1115
+ };
1116
+
1117
+ static bind(options: Partial<SuiBindOptions> = {}): safe {
1118
+ return new safe({ ...safe.DEFAULT_OPTIONS, ...options });
1119
+ }
1120
+
1121
+ onEntryCreate(
1122
+ func: (call: safe.CreatePayload, ctx: SuiContext) => void,
1123
+ filter?: CallFilter,
1124
+ fetchConfig?: MoveFetchConfig
1125
+ ): safe {
1126
+ this.onEntryFunctionCall(
1127
+ func,
1128
+ {
1129
+ ...filter,
1130
+ function: "safe::create",
1131
+ },
1132
+ fetchConfig
1133
+ );
1134
+ return this;
1135
+ }
1136
+
1137
+ onEntryCreateEmpty(
1138
+ func: (call: safe.CreateEmptyPayload, ctx: SuiContext) => void,
1139
+ filter?: CallFilter,
1140
+ fetchConfig?: MoveFetchConfig
1141
+ ): safe {
1142
+ this.onEntryFunctionCall(
1143
+ func,
1144
+ {
1145
+ ...filter,
1146
+ function: "safe::create_empty",
1147
+ },
1148
+ fetchConfig
1149
+ );
1150
+ return this;
1151
+ }
1152
+
1153
+ onEntryDeposit(
1154
+ func: (call: safe.DepositPayload, ctx: SuiContext) => void,
1155
+ filter?: CallFilter,
1156
+ fetchConfig?: MoveFetchConfig
1157
+ ): safe {
1158
+ this.onEntryFunctionCall(
1159
+ func,
1160
+ {
1161
+ ...filter,
1162
+ function: "safe::deposit",
1163
+ },
1164
+ fetchConfig
1165
+ );
1166
+ return this;
1167
+ }
1168
+
1169
+ onEntryRevokeTransferCapability(
1170
+ func: (call: safe.RevokeTransferCapabilityPayload, ctx: SuiContext) => void,
1171
+ filter?: CallFilter,
1172
+ fetchConfig?: MoveFetchConfig
1173
+ ): safe {
1174
+ this.onEntryFunctionCall(
1175
+ func,
1176
+ {
1177
+ ...filter,
1178
+ function: "safe::revoke_transfer_capability",
1179
+ },
1180
+ fetchConfig
1181
+ );
1182
+ return this;
1183
+ }
1184
+
1185
+ onEntrySelfRevokeTransferCapability(
1186
+ func: (
1187
+ call: safe.SelfRevokeTransferCapabilityPayload,
1188
+ ctx: SuiContext
1189
+ ) => void,
1190
+ filter?: CallFilter,
1191
+ fetchConfig?: MoveFetchConfig
1192
+ ): safe {
1193
+ this.onEntryFunctionCall(
1194
+ func,
1195
+ {
1196
+ ...filter,
1197
+ function: "safe::self_revoke_transfer_capability",
1198
+ },
1199
+ fetchConfig
1200
+ );
1201
+ return this;
1202
+ }
1203
+
1204
+ onEntryWithdraw(
1205
+ func: (call: safe.WithdrawPayload, ctx: SuiContext) => void,
1206
+ filter?: CallFilter,
1207
+ fetchConfig?: MoveFetchConfig
1208
+ ): safe {
1209
+ this.onEntryFunctionCall(
1210
+ func,
1211
+ {
1212
+ ...filter,
1213
+ function: "safe::withdraw",
1214
+ },
1215
+ fetchConfig
1216
+ );
1217
+ return this;
1218
+ }
1219
+ }
1220
+
1221
+ export namespace safe {
1222
+ export class OwnerCapability<T0> {
1223
+ static TYPE_QNAME = "0x2::safe::OwnerCapability";
1224
+ id: object_.UID;
1225
+ safe_id: string;
1226
+ }
1227
+
1228
+ export class Safe<T0> {
1229
+ static TYPE_QNAME = "0x2::safe::Safe";
1230
+ id: object_.UID;
1231
+ balance: balance.Balance<T0>;
1232
+ allowed_safes: vec_set.VecSet<string>;
1233
+ }
1234
+
1235
+ export class TransferCapability<T0> {
1236
+ static TYPE_QNAME = "0x2::safe::TransferCapability";
1237
+ id: object_.UID;
1238
+ safe_id: string;
1239
+ amount: bigint;
1240
+ }
1241
+
1242
+ export interface CreatePayload<T0 = any>
1243
+ extends TypedEntryFunctionPayload<[string]> {
1244
+ arguments_decoded: [string];
1245
+ type_arguments: [string];
1246
+ }
1247
+
1248
+ export interface CreateEmptyPayload<T0 = any>
1249
+ extends TypedEntryFunctionPayload<[]> {
1250
+ arguments_decoded: [];
1251
+ type_arguments: [string];
1252
+ }
1253
+
1254
+ export interface DepositPayload<T0 = any>
1255
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
1256
+ arguments_decoded: [SuiAddress];
1257
+ type_arguments: [string];
1258
+ }
1259
+
1260
+ export interface RevokeTransferCapabilityPayload<T0 = any>
1261
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
1262
+ arguments_decoded: [SuiAddress, SuiAddress];
1263
+ type_arguments: [string];
1264
+ }
1265
+
1266
+ export interface SelfRevokeTransferCapabilityPayload<T0 = any>
1267
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
1268
+ arguments_decoded: [SuiAddress];
1269
+ type_arguments: [string];
1270
+ }
1271
+
1272
+ export interface WithdrawPayload<T0 = any>
1273
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress, bigint]> {
1274
+ arguments_decoded: [SuiAddress, SuiAddress, bigint];
1275
+ type_arguments: [string];
1276
+ }
1277
+ }
1278
+
1279
+ export class stake extends SuiBaseProcessor {
1280
+ constructor(options: SuiBindOptions) {
1281
+ super("stake", options);
1282
+ }
1283
+ static DEFAULT_OPTIONS: SuiBindOptions = {
1284
+ address: "0x2",
1285
+ network: SuiNetwork.MAIN_NET,
1286
+ };
1287
+
1288
+ static bind(options: Partial<SuiBindOptions> = {}): stake {
1289
+ return new stake({ ...stake.DEFAULT_OPTIONS, ...options });
1290
+ }
1291
+
1292
+ onEntryBurn(
1293
+ func: (call: stake.BurnPayload, ctx: SuiContext) => void,
1294
+ filter?: CallFilter,
1295
+ fetchConfig?: MoveFetchConfig
1296
+ ): stake {
1297
+ this.onEntryFunctionCall(
1298
+ func,
1299
+ {
1300
+ ...filter,
1301
+ function: "stake::burn",
1302
+ },
1303
+ fetchConfig
1304
+ );
1305
+ return this;
1306
+ }
1307
+ }
1308
+
1309
+ export namespace stake {
1310
+ export class Stake {
1311
+ static TYPE_QNAME = "0x2::stake::Stake";
1312
+ id: object_.UID;
1313
+ balance: balance.Balance<sui.SUI>;
1314
+ locked_until_epoch: _0x1.option.Option<epoch_time_lock.EpochTimeLock>;
1315
+ }
1316
+
1317
+ export interface BurnPayload
1318
+ extends TypedEntryFunctionPayload<[stake.Stake]> {
1319
+ arguments_decoded: [stake.Stake];
1320
+ type_arguments: [];
1321
+ }
1322
+ }
1323
+
1324
+ export namespace stake_subsidy {
1325
+ export class StakeSubsidy {
1326
+ static TYPE_QNAME = "0x2::stake_subsidy::StakeSubsidy";
1327
+ epoch_counter: bigint;
1328
+ balance: balance.Balance<sui.SUI>;
1329
+ current_epoch_amount: bigint;
1330
+ }
1331
+ }
1332
+
1333
+ export class staking_pool extends SuiBaseProcessor {
1334
+ constructor(options: SuiBindOptions) {
1335
+ super("staking_pool", options);
1336
+ }
1337
+ static DEFAULT_OPTIONS: SuiBindOptions = {
1338
+ address: "0x2",
1339
+ network: SuiNetwork.MAIN_NET,
1340
+ };
1341
+
1342
+ static bind(options: Partial<SuiBindOptions> = {}): staking_pool {
1343
+ return new staking_pool({ ...staking_pool.DEFAULT_OPTIONS, ...options });
1344
+ }
1345
+
1346
+ onEntryDestroyEmptyDelegation(
1347
+ func: (
1348
+ call: staking_pool.DestroyEmptyDelegationPayload,
1349
+ ctx: SuiContext
1350
+ ) => void,
1351
+ filter?: CallFilter,
1352
+ fetchConfig?: MoveFetchConfig
1353
+ ): staking_pool {
1354
+ this.onEntryFunctionCall(
1355
+ func,
1356
+ {
1357
+ ...filter,
1358
+ function: "staking_pool::destroy_empty_delegation",
1359
+ },
1360
+ fetchConfig
1361
+ );
1362
+ return this;
1363
+ }
1364
+
1365
+ onEntryDestroyEmptyStakedSui(
1366
+ func: (
1367
+ call: staking_pool.DestroyEmptyStakedSuiPayload,
1368
+ ctx: SuiContext
1369
+ ) => void,
1370
+ filter?: CallFilter,
1371
+ fetchConfig?: MoveFetchConfig
1372
+ ): staking_pool {
1373
+ this.onEntryFunctionCall(
1374
+ func,
1375
+ {
1376
+ ...filter,
1377
+ function: "staking_pool::destroy_empty_staked_sui",
1378
+ },
1379
+ fetchConfig
1380
+ );
1381
+ return this;
1382
+ }
1383
+
1384
+ onEntryWithdrawFromInactivePool(
1385
+ func: (
1386
+ call: staking_pool.WithdrawFromInactivePoolPayload,
1387
+ ctx: SuiContext
1388
+ ) => void,
1389
+ filter?: CallFilter,
1390
+ fetchConfig?: MoveFetchConfig
1391
+ ): staking_pool {
1392
+ this.onEntryFunctionCall(
1393
+ func,
1394
+ {
1395
+ ...filter,
1396
+ function: "staking_pool::withdraw_from_inactive_pool",
1397
+ },
1398
+ fetchConfig
1399
+ );
1400
+ return this;
1401
+ }
1402
+
1403
+ onEventPoolTokenExchangeRate(
1404
+ func: (
1405
+ event: staking_pool.PoolTokenExchangeRateInstance,
1406
+ ctx: SuiContext
1407
+ ) => void,
1408
+ fetchConfig?: MoveFetchConfig
1409
+ ): staking_pool {
1410
+ this.onMoveEvent(
1411
+ func,
1412
+ {
1413
+ type: "staking_pool::PoolTokenExchangeRate",
1414
+ },
1415
+ fetchConfig
1416
+ );
1417
+ return this;
1418
+ }
1419
+ }
1420
+
1421
+ export namespace staking_pool {
1422
+ export class Delegation {
1423
+ static TYPE_QNAME = "0x2::staking_pool::Delegation";
1424
+ id: object_.UID;
1425
+ staked_sui_id: string;
1426
+ pool_tokens: balance.Balance<staking_pool.DelegationToken>;
1427
+ principal_sui_amount: bigint;
1428
+ }
1429
+
1430
+ export class DelegationToken {
1431
+ static TYPE_QNAME = "0x2::staking_pool::DelegationToken";
1432
+ dummy_field: Boolean;
1433
+ }
1434
+
1435
+ export class InactiveStakingPool {
1436
+ static TYPE_QNAME = "0x2::staking_pool::InactiveStakingPool";
1437
+ id: object_.UID;
1438
+ pool: staking_pool.StakingPool;
1439
+ }
1440
+
1441
+ export class PendingDelegationEntry {
1442
+ static TYPE_QNAME = "0x2::staking_pool::PendingDelegationEntry";
1443
+ delegator: SuiAddress;
1444
+ sui_amount: bigint;
1445
+ }
1446
+
1447
+ export class PendingWithdrawEntry {
1448
+ static TYPE_QNAME = "0x2::staking_pool::PendingWithdrawEntry";
1449
+ delegator: SuiAddress;
1450
+ principal_withdraw_amount: bigint;
1451
+ withdrawn_pool_tokens: balance.Balance<staking_pool.DelegationToken>;
1452
+ }
1453
+
1454
+ export class PoolTokenExchangeRate {
1455
+ static TYPE_QNAME = "0x2::staking_pool::PoolTokenExchangeRate";
1456
+ sui_amount: bigint;
1457
+ pool_token_amount: bigint;
1458
+ }
1459
+
1460
+ export interface PoolTokenExchangeRateInstance
1461
+ extends TypedEventInstance<PoolTokenExchangeRate> {
1462
+ fields_decoded: PoolTokenExchangeRate;
1463
+ type_arguments: [];
1464
+ }
1465
+
1466
+ export class StakedSui {
1467
+ static TYPE_QNAME = "0x2::staking_pool::StakedSui";
1468
+ id: object_.UID;
1469
+ validator_address: SuiAddress;
1470
+ pool_starting_epoch: bigint;
1471
+ delegation_request_epoch: bigint;
1472
+ principal: balance.Balance<sui.SUI>;
1473
+ sui_token_lock: _0x1.option.Option<epoch_time_lock.EpochTimeLock>;
1474
+ }
1475
+
1476
+ export class StakingPool {
1477
+ static TYPE_QNAME = "0x2::staking_pool::StakingPool";
1478
+ validator_address: SuiAddress;
1479
+ starting_epoch: bigint;
1480
+ sui_balance: bigint;
1481
+ rewards_pool: balance.Balance<sui.SUI>;
1482
+ delegation_token_supply: balance.Supply<staking_pool.DelegationToken>;
1483
+ pending_delegations: linked_table.LinkedTable<
1484
+ string,
1485
+ staking_pool.PendingDelegationEntry
1486
+ >;
1487
+ pending_withdraws: table_vec.TableVec<staking_pool.PendingWithdrawEntry>;
1488
+ }
1489
+
1490
+ export interface DestroyEmptyDelegationPayload
1491
+ extends TypedEntryFunctionPayload<[]> {
1492
+ arguments_decoded: [];
1493
+ type_arguments: [];
1494
+ }
1495
+
1496
+ export interface DestroyEmptyStakedSuiPayload
1497
+ extends TypedEntryFunctionPayload<[]> {
1498
+ arguments_decoded: [];
1499
+ type_arguments: [];
1500
+ }
1501
+
1502
+ export interface WithdrawFromInactivePoolPayload
1503
+ extends TypedEntryFunctionPayload<
1504
+ [SuiAddress, staking_pool.StakedSui, staking_pool.Delegation]
1505
+ > {
1506
+ arguments_decoded: [
1507
+ SuiAddress,
1508
+ staking_pool.StakedSui,
1509
+ staking_pool.Delegation
1510
+ ];
1511
+ type_arguments: [];
1512
+ }
1513
+ }
1514
+
1515
+ export class sui extends SuiBaseProcessor {
1516
+ constructor(options: SuiBindOptions) {
1517
+ super("sui", options);
1518
+ }
1519
+ static DEFAULT_OPTIONS: SuiBindOptions = {
1520
+ address: "0x2",
1521
+ network: SuiNetwork.MAIN_NET,
1522
+ };
1523
+
1524
+ static bind(options: Partial<SuiBindOptions> = {}): sui {
1525
+ return new sui({ ...sui.DEFAULT_OPTIONS, ...options });
1526
+ }
1527
+
1528
+ onEntryTransfer(
1529
+ func: (call: sui.TransferPayload, ctx: SuiContext) => void,
1530
+ filter?: CallFilter,
1531
+ fetchConfig?: MoveFetchConfig
1532
+ ): sui {
1533
+ this.onEntryFunctionCall(
1534
+ func,
1535
+ {
1536
+ ...filter,
1537
+ function: "sui::transfer",
1538
+ },
1539
+ fetchConfig
1540
+ );
1541
+ return this;
1542
+ }
1543
+ }
1544
+
1545
+ export namespace sui {
1546
+ export class SUI {
1547
+ static TYPE_QNAME = "0x2::sui::SUI";
1548
+ dummy_field: Boolean;
1549
+ }
1550
+
1551
+ export interface TransferPayload extends TypedEntryFunctionPayload<[string]> {
1552
+ arguments_decoded: [string];
1553
+ type_arguments: [];
1554
+ }
1555
+ }
1556
+
1557
+ export class sui_system extends SuiBaseProcessor {
1558
+ constructor(options: SuiBindOptions) {
1559
+ super("sui_system", options);
1560
+ }
1561
+ static DEFAULT_OPTIONS: SuiBindOptions = {
1562
+ address: "0x2",
1563
+ network: SuiNetwork.MAIN_NET,
1564
+ };
1565
+
1566
+ static bind(options: Partial<SuiBindOptions> = {}): sui_system {
1567
+ return new sui_system({ ...sui_system.DEFAULT_OPTIONS, ...options });
1568
+ }
1569
+
1570
+ onEntryAdvanceEpoch(
1571
+ func: (call: sui_system.AdvanceEpochPayload, ctx: SuiContext) => void,
1572
+ filter?: CallFilter,
1573
+ fetchConfig?: MoveFetchConfig
1574
+ ): sui_system {
1575
+ this.onEntryFunctionCall(
1576
+ func,
1577
+ {
1578
+ ...filter,
1579
+ function: "sui_system::advance_epoch",
1580
+ },
1581
+ fetchConfig
1582
+ );
1583
+ return this;
1584
+ }
1585
+
1586
+ onEntryAdvanceEpochSafeMode(
1587
+ func: (
1588
+ call: sui_system.AdvanceEpochSafeModePayload,
1589
+ ctx: SuiContext
1590
+ ) => void,
1591
+ filter?: CallFilter,
1592
+ fetchConfig?: MoveFetchConfig
1593
+ ): sui_system {
1594
+ this.onEntryFunctionCall(
1595
+ func,
1596
+ {
1597
+ ...filter,
1598
+ function: "sui_system::advance_epoch_safe_mode",
1599
+ },
1600
+ fetchConfig
1601
+ );
1602
+ return this;
1603
+ }
1604
+
1605
+ onEntryCancelDelegationRequest(
1606
+ func: (
1607
+ call: sui_system.CancelDelegationRequestPayload,
1608
+ ctx: SuiContext
1609
+ ) => void,
1610
+ filter?: CallFilter,
1611
+ fetchConfig?: MoveFetchConfig
1612
+ ): sui_system {
1613
+ this.onEntryFunctionCall(
1614
+ func,
1615
+ {
1616
+ ...filter,
1617
+ function: "sui_system::cancel_delegation_request",
1618
+ },
1619
+ fetchConfig
1620
+ );
1621
+ return this;
1622
+ }
1623
+
1624
+ onEntryReportValidator(
1625
+ func: (call: sui_system.ReportValidatorPayload, ctx: SuiContext) => void,
1626
+ filter?: CallFilter,
1627
+ fetchConfig?: MoveFetchConfig
1628
+ ): sui_system {
1629
+ this.onEntryFunctionCall(
1630
+ func,
1631
+ {
1632
+ ...filter,
1633
+ function: "sui_system::report_validator",
1634
+ },
1635
+ fetchConfig
1636
+ );
1637
+ return this;
1638
+ }
1639
+
1640
+ onEntryRequestAddDelegation(
1641
+ func: (
1642
+ call: sui_system.RequestAddDelegationPayload,
1643
+ ctx: SuiContext
1644
+ ) => void,
1645
+ filter?: CallFilter,
1646
+ fetchConfig?: MoveFetchConfig
1647
+ ): sui_system {
1648
+ this.onEntryFunctionCall(
1649
+ func,
1650
+ {
1651
+ ...filter,
1652
+ function: "sui_system::request_add_delegation",
1653
+ },
1654
+ fetchConfig
1655
+ );
1656
+ return this;
1657
+ }
1658
+
1659
+ onEntryRequestAddDelegationMulCoin(
1660
+ func: (
1661
+ call: sui_system.RequestAddDelegationMulCoinPayload,
1662
+ ctx: SuiContext
1663
+ ) => void,
1664
+ filter?: CallFilter,
1665
+ fetchConfig?: MoveFetchConfig
1666
+ ): sui_system {
1667
+ this.onEntryFunctionCall(
1668
+ func,
1669
+ {
1670
+ ...filter,
1671
+ function: "sui_system::request_add_delegation_mul_coin",
1672
+ },
1673
+ fetchConfig
1674
+ );
1675
+ return this;
1676
+ }
1677
+
1678
+ onEntryRequestAddDelegationMulLockedCoin(
1679
+ func: (
1680
+ call: sui_system.RequestAddDelegationMulLockedCoinPayload,
1681
+ ctx: SuiContext
1682
+ ) => void,
1683
+ filter?: CallFilter,
1684
+ fetchConfig?: MoveFetchConfig
1685
+ ): sui_system {
1686
+ this.onEntryFunctionCall(
1687
+ func,
1688
+ {
1689
+ ...filter,
1690
+ function: "sui_system::request_add_delegation_mul_locked_coin",
1691
+ },
1692
+ fetchConfig
1693
+ );
1694
+ return this;
1695
+ }
1696
+
1697
+ onEntryRequestAddDelegationWithLockedCoin(
1698
+ func: (
1699
+ call: sui_system.RequestAddDelegationWithLockedCoinPayload,
1700
+ ctx: SuiContext
1701
+ ) => void,
1702
+ filter?: CallFilter,
1703
+ fetchConfig?: MoveFetchConfig
1704
+ ): sui_system {
1705
+ this.onEntryFunctionCall(
1706
+ func,
1707
+ {
1708
+ ...filter,
1709
+ function: "sui_system::request_add_delegation_with_locked_coin",
1710
+ },
1711
+ fetchConfig
1712
+ );
1713
+ return this;
1714
+ }
1715
+
1716
+ onEntryRequestAddStake(
1717
+ func: (call: sui_system.RequestAddStakePayload, ctx: SuiContext) => void,
1718
+ filter?: CallFilter,
1719
+ fetchConfig?: MoveFetchConfig
1720
+ ): sui_system {
1721
+ this.onEntryFunctionCall(
1722
+ func,
1723
+ {
1724
+ ...filter,
1725
+ function: "sui_system::request_add_stake",
1726
+ },
1727
+ fetchConfig
1728
+ );
1729
+ return this;
1730
+ }
1731
+
1732
+ onEntryRequestAddStakeWithLockedCoin(
1733
+ func: (
1734
+ call: sui_system.RequestAddStakeWithLockedCoinPayload,
1735
+ ctx: SuiContext
1736
+ ) => void,
1737
+ filter?: CallFilter,
1738
+ fetchConfig?: MoveFetchConfig
1739
+ ): sui_system {
1740
+ this.onEntryFunctionCall(
1741
+ func,
1742
+ {
1743
+ ...filter,
1744
+ function: "sui_system::request_add_stake_with_locked_coin",
1745
+ },
1746
+ fetchConfig
1747
+ );
1748
+ return this;
1749
+ }
1750
+
1751
+ onEntryRequestAddValidator(
1752
+ func: (
1753
+ call: sui_system.RequestAddValidatorPayload,
1754
+ ctx: SuiContext
1755
+ ) => void,
1756
+ filter?: CallFilter,
1757
+ fetchConfig?: MoveFetchConfig
1758
+ ): sui_system {
1759
+ this.onEntryFunctionCall(
1760
+ func,
1761
+ {
1762
+ ...filter,
1763
+ function: "sui_system::request_add_validator",
1764
+ },
1765
+ fetchConfig
1766
+ );
1767
+ return this;
1768
+ }
1769
+
1770
+ onEntryRequestRemoveValidator(
1771
+ func: (
1772
+ call: sui_system.RequestRemoveValidatorPayload,
1773
+ ctx: SuiContext
1774
+ ) => void,
1775
+ filter?: CallFilter,
1776
+ fetchConfig?: MoveFetchConfig
1777
+ ): sui_system {
1778
+ this.onEntryFunctionCall(
1779
+ func,
1780
+ {
1781
+ ...filter,
1782
+ function: "sui_system::request_remove_validator",
1783
+ },
1784
+ fetchConfig
1785
+ );
1786
+ return this;
1787
+ }
1788
+
1789
+ onEntryRequestSetCommissionRate(
1790
+ func: (
1791
+ call: sui_system.RequestSetCommissionRatePayload,
1792
+ ctx: SuiContext
1793
+ ) => void,
1794
+ filter?: CallFilter,
1795
+ fetchConfig?: MoveFetchConfig
1796
+ ): sui_system {
1797
+ this.onEntryFunctionCall(
1798
+ func,
1799
+ {
1800
+ ...filter,
1801
+ function: "sui_system::request_set_commission_rate",
1802
+ },
1803
+ fetchConfig
1804
+ );
1805
+ return this;
1806
+ }
1807
+
1808
+ onEntryRequestSetGasPrice(
1809
+ func: (call: sui_system.RequestSetGasPricePayload, ctx: SuiContext) => void,
1810
+ filter?: CallFilter,
1811
+ fetchConfig?: MoveFetchConfig
1812
+ ): sui_system {
1813
+ this.onEntryFunctionCall(
1814
+ func,
1815
+ {
1816
+ ...filter,
1817
+ function: "sui_system::request_set_gas_price",
1818
+ },
1819
+ fetchConfig
1820
+ );
1821
+ return this;
1822
+ }
1823
+
1824
+ onEntryRequestSwitchDelegation(
1825
+ func: (
1826
+ call: sui_system.RequestSwitchDelegationPayload,
1827
+ ctx: SuiContext
1828
+ ) => void,
1829
+ filter?: CallFilter,
1830
+ fetchConfig?: MoveFetchConfig
1831
+ ): sui_system {
1832
+ this.onEntryFunctionCall(
1833
+ func,
1834
+ {
1835
+ ...filter,
1836
+ function: "sui_system::request_switch_delegation",
1837
+ },
1838
+ fetchConfig
1839
+ );
1840
+ return this;
1841
+ }
1842
+
1843
+ onEntryRequestWithdrawDelegation(
1844
+ func: (
1845
+ call: sui_system.RequestWithdrawDelegationPayload,
1846
+ ctx: SuiContext
1847
+ ) => void,
1848
+ filter?: CallFilter,
1849
+ fetchConfig?: MoveFetchConfig
1850
+ ): sui_system {
1851
+ this.onEntryFunctionCall(
1852
+ func,
1853
+ {
1854
+ ...filter,
1855
+ function: "sui_system::request_withdraw_delegation",
1856
+ },
1857
+ fetchConfig
1858
+ );
1859
+ return this;
1860
+ }
1861
+
1862
+ onEntryRequestWithdrawStake(
1863
+ func: (
1864
+ call: sui_system.RequestWithdrawStakePayload,
1865
+ ctx: SuiContext
1866
+ ) => void,
1867
+ filter?: CallFilter,
1868
+ fetchConfig?: MoveFetchConfig
1869
+ ): sui_system {
1870
+ this.onEntryFunctionCall(
1871
+ func,
1872
+ {
1873
+ ...filter,
1874
+ function: "sui_system::request_withdraw_stake",
1875
+ },
1876
+ fetchConfig
1877
+ );
1878
+ return this;
1879
+ }
1880
+
1881
+ onEntryUndoReportValidator(
1882
+ func: (
1883
+ call: sui_system.UndoReportValidatorPayload,
1884
+ ctx: SuiContext
1885
+ ) => void,
1886
+ filter?: CallFilter,
1887
+ fetchConfig?: MoveFetchConfig
1888
+ ): sui_system {
1889
+ this.onEntryFunctionCall(
1890
+ func,
1891
+ {
1892
+ ...filter,
1893
+ function: "sui_system::undo_report_validator",
1894
+ },
1895
+ fetchConfig
1896
+ );
1897
+ return this;
1898
+ }
1899
+
1900
+ onEventSystemEpochInfo(
1901
+ func: (event: sui_system.SystemEpochInfoInstance, ctx: SuiContext) => void,
1902
+ fetchConfig?: MoveFetchConfig
1903
+ ): sui_system {
1904
+ this.onMoveEvent(
1905
+ func,
1906
+ {
1907
+ type: "sui_system::SystemEpochInfo",
1908
+ },
1909
+ fetchConfig
1910
+ );
1911
+ return this;
1912
+ }
1913
+ }
1914
+
1915
+ export namespace sui_system {
1916
+ export class SuiSystemState {
1917
+ static TYPE_QNAME = "0x2::sui_system::SuiSystemState";
1918
+ id: object_.UID;
1919
+ epoch: bigint;
1920
+ validators: validator_set.ValidatorSet;
1921
+ sui_supply: balance.Supply<sui.SUI>;
1922
+ storage_fund: balance.Balance<sui.SUI>;
1923
+ parameters: sui_system.SystemParameters;
1924
+ reference_gas_price: bigint;
1925
+ validator_report_records: vec_map.VecMap<
1926
+ SuiAddress,
1927
+ vec_set.VecSet<SuiAddress>
1928
+ >;
1929
+ stake_subsidy: stake_subsidy.StakeSubsidy;
1930
+ safe_mode: Boolean;
1931
+ }
1932
+
1933
+ export class SystemEpochInfo {
1934
+ static TYPE_QNAME = "0x2::sui_system::SystemEpochInfo";
1935
+ epoch: bigint;
1936
+ reference_gas_price: bigint;
1937
+ total_stake: bigint;
1938
+ storage_fund_inflows: bigint;
1939
+ storage_fund_outflows: bigint;
1940
+ storage_fund_balance: bigint;
1941
+ stake_subsidy_amount: bigint;
1942
+ total_gas_fees: bigint;
1943
+ total_stake_rewards: bigint;
1944
+ }
1945
+
1946
+ export interface SystemEpochInfoInstance
1947
+ extends TypedEventInstance<SystemEpochInfo> {
1948
+ fields_decoded: SystemEpochInfo;
1949
+ type_arguments: [];
1950
+ }
1951
+
1952
+ export class SystemParameters {
1953
+ static TYPE_QNAME = "0x2::sui_system::SystemParameters";
1954
+ min_validator_stake: bigint;
1955
+ max_validator_candidate_count: bigint;
1956
+ storage_gas_price: bigint;
1957
+ }
1958
+
1959
+ export interface AdvanceEpochPayload
1960
+ extends TypedEntryFunctionPayload<
1961
+ [SuiAddress, bigint, bigint, bigint, bigint, bigint, bigint, bigint]
1962
+ > {
1963
+ arguments_decoded: [
1964
+ SuiAddress,
1965
+ bigint,
1966
+ bigint,
1967
+ bigint,
1968
+ bigint,
1969
+ bigint,
1970
+ bigint,
1971
+ bigint
1972
+ ];
1973
+ type_arguments: [];
1974
+ }
1975
+
1976
+ export interface AdvanceEpochSafeModePayload
1977
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint]> {
1978
+ arguments_decoded: [SuiAddress, bigint];
1979
+ type_arguments: [];
1980
+ }
1981
+
1982
+ export interface CancelDelegationRequestPayload
1983
+ extends TypedEntryFunctionPayload<[SuiAddress, staking_pool.StakedSui]> {
1984
+ arguments_decoded: [SuiAddress, staking_pool.StakedSui];
1985
+ type_arguments: [];
1986
+ }
1987
+
1988
+ export interface ReportValidatorPayload
1989
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
1990
+ arguments_decoded: [SuiAddress, SuiAddress];
1991
+ type_arguments: [];
1992
+ }
1993
+
1994
+ export interface RequestAddDelegationPayload
1995
+ extends TypedEntryFunctionPayload<[SuiAddress, string, SuiAddress]> {
1996
+ arguments_decoded: [SuiAddress, string, SuiAddress];
1997
+ type_arguments: [];
1998
+ }
1999
+
2000
+ export interface RequestAddDelegationMulCoinPayload
2001
+ extends TypedEntryFunctionPayload<
2002
+ [SuiAddress, string[], _0x1.option.Option<bigint>, SuiAddress]
2003
+ > {
2004
+ arguments_decoded: [
2005
+ SuiAddress,
2006
+ string[],
2007
+ _0x1.option.Option<bigint>,
2008
+ SuiAddress
2009
+ ];
2010
+ type_arguments: [];
2011
+ }
2012
+
2013
+ export interface RequestAddDelegationMulLockedCoinPayload
2014
+ extends TypedEntryFunctionPayload<
2015
+ [
2016
+ SuiAddress,
2017
+ locked_coin.LockedCoin<sui.SUI>[],
2018
+ _0x1.option.Option<bigint>,
2019
+ SuiAddress
2020
+ ]
2021
+ > {
2022
+ arguments_decoded: [
2023
+ SuiAddress,
2024
+ locked_coin.LockedCoin<sui.SUI>[],
2025
+ _0x1.option.Option<bigint>,
2026
+ SuiAddress
2027
+ ];
2028
+ type_arguments: [];
2029
+ }
2030
+
2031
+ export interface RequestAddDelegationWithLockedCoinPayload
2032
+ extends TypedEntryFunctionPayload<
2033
+ [SuiAddress, locked_coin.LockedCoin<sui.SUI>, SuiAddress]
2034
+ > {
2035
+ arguments_decoded: [
2036
+ SuiAddress,
2037
+ locked_coin.LockedCoin<sui.SUI>,
2038
+ SuiAddress
2039
+ ];
2040
+ type_arguments: [];
2041
+ }
2042
+
2043
+ export interface RequestAddStakePayload
2044
+ extends TypedEntryFunctionPayload<[SuiAddress, string]> {
2045
+ arguments_decoded: [SuiAddress, string];
2046
+ type_arguments: [];
2047
+ }
2048
+
2049
+ export interface RequestAddStakeWithLockedCoinPayload
2050
+ extends TypedEntryFunctionPayload<
2051
+ [SuiAddress, locked_coin.LockedCoin<sui.SUI>]
2052
+ > {
2053
+ arguments_decoded: [SuiAddress, locked_coin.LockedCoin<sui.SUI>];
2054
+ type_arguments: [];
2055
+ }
2056
+
2057
+ export interface RequestAddValidatorPayload
2058
+ extends TypedEntryFunctionPayload<
2059
+ [
2060
+ SuiAddress,
2061
+ string,
2062
+ string,
2063
+ string,
2064
+ string,
2065
+ string,
2066
+ string,
2067
+ string,
2068
+ string,
2069
+ string,
2070
+ string,
2071
+ string,
2072
+ string,
2073
+ bigint,
2074
+ bigint
2075
+ ]
2076
+ > {
2077
+ arguments_decoded: [
2078
+ SuiAddress,
2079
+ string,
2080
+ string,
2081
+ string,
2082
+ string,
2083
+ string,
2084
+ string,
2085
+ string,
2086
+ string,
2087
+ string,
2088
+ string,
2089
+ string,
2090
+ string,
2091
+ bigint,
2092
+ bigint
2093
+ ];
2094
+ type_arguments: [];
2095
+ }
2096
+
2097
+ export interface RequestRemoveValidatorPayload
2098
+ extends TypedEntryFunctionPayload<[SuiAddress]> {
2099
+ arguments_decoded: [SuiAddress];
2100
+ type_arguments: [];
2101
+ }
2102
+
2103
+ export interface RequestSetCommissionRatePayload
2104
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint]> {
2105
+ arguments_decoded: [SuiAddress, bigint];
2106
+ type_arguments: [];
2107
+ }
2108
+
2109
+ export interface RequestSetGasPricePayload
2110
+ extends TypedEntryFunctionPayload<[SuiAddress, bigint]> {
2111
+ arguments_decoded: [SuiAddress, bigint];
2112
+ type_arguments: [];
2113
+ }
2114
+
2115
+ export interface RequestSwitchDelegationPayload
2116
+ extends TypedEntryFunctionPayload<
2117
+ [SuiAddress, staking_pool.Delegation, staking_pool.StakedSui, SuiAddress]
2118
+ > {
2119
+ arguments_decoded: [
2120
+ SuiAddress,
2121
+ staking_pool.Delegation,
2122
+ staking_pool.StakedSui,
2123
+ SuiAddress
2124
+ ];
2125
+ type_arguments: [];
2126
+ }
2127
+
2128
+ export interface RequestWithdrawDelegationPayload
2129
+ extends TypedEntryFunctionPayload<
2130
+ [SuiAddress, staking_pool.Delegation, staking_pool.StakedSui]
2131
+ > {
2132
+ arguments_decoded: [
2133
+ SuiAddress,
2134
+ staking_pool.Delegation,
2135
+ staking_pool.StakedSui
2136
+ ];
2137
+ type_arguments: [];
2138
+ }
2139
+
2140
+ export interface RequestWithdrawStakePayload
2141
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress, bigint]> {
2142
+ arguments_decoded: [SuiAddress, SuiAddress, bigint];
2143
+ type_arguments: [];
2144
+ }
2145
+
2146
+ export interface UndoReportValidatorPayload
2147
+ extends TypedEntryFunctionPayload<[SuiAddress, SuiAddress]> {
2148
+ arguments_decoded: [SuiAddress, SuiAddress];
2149
+ type_arguments: [];
2150
+ }
2151
+ }
2152
+
2153
+ export namespace table {
2154
+ export class Table<T0, T1> {
2155
+ static TYPE_QNAME = "0x2::table::Table";
2156
+ id: object_.UID;
2157
+ size: bigint;
2158
+ }
2159
+ }
2160
+
2161
+ export namespace table_vec {
2162
+ export class TableVec<T0> {
2163
+ static TYPE_QNAME = "0x2::table_vec::TableVec";
2164
+ contents: table.Table<bigint, T0>;
2165
+ }
2166
+ }
2167
+
2168
+ export namespace transfer {}
2169
+
2170
+ export namespace tx_context {
2171
+ export class TxContext {
2172
+ static TYPE_QNAME = "0x2::tx_context::TxContext";
2173
+ sender: SuiAddress;
2174
+ tx_hash: string;
2175
+ epoch: bigint;
2176
+ ids_created: bigint;
2177
+ }
2178
+ }
2179
+
2180
+ export class typed_id extends SuiBaseProcessor {
2181
+ constructor(options: SuiBindOptions) {
2182
+ super("typed_id", options);
2183
+ }
2184
+ static DEFAULT_OPTIONS: SuiBindOptions = {
2185
+ address: "0x2",
2186
+ network: SuiNetwork.MAIN_NET,
2187
+ };
2188
+
2189
+ static bind(options: Partial<SuiBindOptions> = {}): typed_id {
2190
+ return new typed_id({ ...typed_id.DEFAULT_OPTIONS, ...options });
2191
+ }
2192
+
2193
+ onEventTypedID(
2194
+ func: (event: typed_id.TypedIDInstance, ctx: SuiContext) => void,
2195
+ fetchConfig?: MoveFetchConfig
2196
+ ): typed_id {
2197
+ this.onMoveEvent(
2198
+ func,
2199
+ {
2200
+ type: "typed_id::TypedID",
2201
+ },
2202
+ fetchConfig
2203
+ );
2204
+ return this;
2205
+ }
2206
+ }
2207
+
2208
+ export namespace typed_id {
2209
+ export class TypedID<T0> {
2210
+ static TYPE_QNAME = "0x2::typed_id::TypedID";
2211
+ id: string;
2212
+ }
2213
+
2214
+ export interface TypedIDInstance extends TypedEventInstance<TypedID<any>> {
2215
+ fields_decoded: TypedID<any>;
2216
+ type_arguments: [string];
2217
+ }
2218
+ }
2219
+
2220
+ export namespace types {}
2221
+
2222
+ export class url extends SuiBaseProcessor {
2223
+ constructor(options: SuiBindOptions) {
2224
+ super("url", options);
2225
+ }
2226
+ static DEFAULT_OPTIONS: SuiBindOptions = {
2227
+ address: "0x2",
2228
+ network: SuiNetwork.MAIN_NET,
2229
+ };
2230
+
2231
+ static bind(options: Partial<SuiBindOptions> = {}): url {
2232
+ return new url({ ...url.DEFAULT_OPTIONS, ...options });
2233
+ }
2234
+
2235
+ onEventUrl(
2236
+ func: (event: url.UrlInstance, ctx: SuiContext) => void,
2237
+ fetchConfig?: MoveFetchConfig
2238
+ ): url {
2239
+ this.onMoveEvent(
2240
+ func,
2241
+ {
2242
+ type: "url::Url",
2243
+ },
2244
+ fetchConfig
2245
+ );
2246
+ return this;
2247
+ }
2248
+ }
2249
+
2250
+ export namespace url {
2251
+ export class Url {
2252
+ static TYPE_QNAME = "0x2::url::Url";
2253
+ url: _0x1.ascii.String;
2254
+ }
2255
+
2256
+ export interface UrlInstance extends TypedEventInstance<Url> {
2257
+ fields_decoded: Url;
2258
+ type_arguments: [];
2259
+ }
2260
+ }
2261
+
2262
+ export class validator extends SuiBaseProcessor {
2263
+ constructor(options: SuiBindOptions) {
2264
+ super("validator", options);
2265
+ }
2266
+ static DEFAULT_OPTIONS: SuiBindOptions = {
2267
+ address: "0x2",
2268
+ network: SuiNetwork.MAIN_NET,
2269
+ };
2270
+
2271
+ static bind(options: Partial<SuiBindOptions> = {}): validator {
2272
+ return new validator({ ...validator.DEFAULT_OPTIONS, ...options });
2273
+ }
2274
+
2275
+ onEventValidatorMetadata(
2276
+ func: (event: validator.ValidatorMetadataInstance, ctx: SuiContext) => void,
2277
+ fetchConfig?: MoveFetchConfig
2278
+ ): validator {
2279
+ this.onMoveEvent(
2280
+ func,
2281
+ {
2282
+ type: "validator::ValidatorMetadata",
2283
+ },
2284
+ fetchConfig
2285
+ );
2286
+ return this;
2287
+ }
2288
+ }
2289
+
2290
+ export namespace validator {
2291
+ export class Validator {
2292
+ static TYPE_QNAME = "0x2::validator::Validator";
2293
+ metadata: validator.ValidatorMetadata;
2294
+ voting_power: bigint;
2295
+ stake_amount: bigint;
2296
+ pending_stake: bigint;
2297
+ pending_withdraw: bigint;
2298
+ gas_price: bigint;
2299
+ delegation_staking_pool: staking_pool.StakingPool;
2300
+ commission_rate: bigint;
2301
+ }
2302
+
2303
+ export class ValidatorMetadata {
2304
+ static TYPE_QNAME = "0x2::validator::ValidatorMetadata";
2305
+ sui_address: SuiAddress;
2306
+ pubkey_bytes: string;
2307
+ network_pubkey_bytes: string;
2308
+ worker_pubkey_bytes: string;
2309
+ proof_of_possession: string;
2310
+ name: string;
2311
+ description: string;
2312
+ image_url: url.Url;
2313
+ project_url: url.Url;
2314
+ net_address: string;
2315
+ consensus_address: string;
2316
+ worker_address: string;
2317
+ next_epoch_stake: bigint;
2318
+ next_epoch_delegation: bigint;
2319
+ next_epoch_gas_price: bigint;
2320
+ next_epoch_commission_rate: bigint;
2321
+ }
2322
+
2323
+ export interface ValidatorMetadataInstance
2324
+ extends TypedEventInstance<ValidatorMetadata> {
2325
+ fields_decoded: ValidatorMetadata;
2326
+ type_arguments: [];
2327
+ }
2328
+ }
2329
+
2330
+ export class validator_set extends SuiBaseProcessor {
2331
+ constructor(options: SuiBindOptions) {
2332
+ super("validator_set", options);
2333
+ }
2334
+ static DEFAULT_OPTIONS: SuiBindOptions = {
2335
+ address: "0x2",
2336
+ network: SuiNetwork.MAIN_NET,
2337
+ };
2338
+
2339
+ static bind(options: Partial<SuiBindOptions> = {}): validator_set {
2340
+ return new validator_set({ ...validator_set.DEFAULT_OPTIONS, ...options });
2341
+ }
2342
+
2343
+ onEventDelegationRequestEvent(
2344
+ func: (
2345
+ event: validator_set.DelegationRequestEventInstance,
2346
+ ctx: SuiContext
2347
+ ) => void,
2348
+ fetchConfig?: MoveFetchConfig
2349
+ ): validator_set {
2350
+ this.onMoveEvent(
2351
+ func,
2352
+ {
2353
+ type: "validator_set::DelegationRequestEvent",
2354
+ },
2355
+ fetchConfig
2356
+ );
2357
+ return this;
2358
+ }
2359
+
2360
+ onEventValidatorEpochInfo(
2361
+ func: (
2362
+ event: validator_set.ValidatorEpochInfoInstance,
2363
+ ctx: SuiContext
2364
+ ) => void,
2365
+ fetchConfig?: MoveFetchConfig
2366
+ ): validator_set {
2367
+ this.onMoveEvent(
2368
+ func,
2369
+ {
2370
+ type: "validator_set::ValidatorEpochInfo",
2371
+ },
2372
+ fetchConfig
2373
+ );
2374
+ return this;
2375
+ }
2376
+
2377
+ onEventValidatorPair(
2378
+ func: (event: validator_set.ValidatorPairInstance, ctx: SuiContext) => void,
2379
+ fetchConfig?: MoveFetchConfig
2380
+ ): validator_set {
2381
+ this.onMoveEvent(
2382
+ func,
2383
+ {
2384
+ type: "validator_set::ValidatorPair",
2385
+ },
2386
+ fetchConfig
2387
+ );
2388
+ return this;
2389
+ }
2390
+ }
2391
+
2392
+ export namespace validator_set {
2393
+ export class DelegationRequestEvent {
2394
+ static TYPE_QNAME = "0x2::validator_set::DelegationRequestEvent";
2395
+ validator_address: SuiAddress;
2396
+ delegator_address: SuiAddress;
2397
+ epoch: bigint;
2398
+ amount: bigint;
2399
+ }
2400
+
2401
+ export interface DelegationRequestEventInstance
2402
+ extends TypedEventInstance<DelegationRequestEvent> {
2403
+ fields_decoded: DelegationRequestEvent;
2404
+ type_arguments: [];
2405
+ }
2406
+
2407
+ export class ValidatorEpochInfo {
2408
+ static TYPE_QNAME = "0x2::validator_set::ValidatorEpochInfo";
2409
+ epoch: bigint;
2410
+ validator_address: SuiAddress;
2411
+ reference_gas_survey_quote: bigint;
2412
+ validator_stake: bigint;
2413
+ delegated_stake: bigint;
2414
+ commission_rate: bigint;
2415
+ stake_rewards: bigint;
2416
+ pool_token_exchange_rate: staking_pool.PoolTokenExchangeRate;
2417
+ tallying_rule_reporters: SuiAddress[];
2418
+ tallying_rule_global_score: bigint;
2419
+ }
2420
+
2421
+ export interface ValidatorEpochInfoInstance
2422
+ extends TypedEventInstance<ValidatorEpochInfo> {
2423
+ fields_decoded: ValidatorEpochInfo;
2424
+ type_arguments: [];
2425
+ }
2426
+
2427
+ export class ValidatorPair {
2428
+ static TYPE_QNAME = "0x2::validator_set::ValidatorPair";
2429
+ from: SuiAddress;
2430
+ to: SuiAddress;
2431
+ }
2432
+
2433
+ export interface ValidatorPairInstance
2434
+ extends TypedEventInstance<ValidatorPair> {
2435
+ fields_decoded: ValidatorPair;
2436
+ type_arguments: [];
2437
+ }
2438
+
2439
+ export class ValidatorSet {
2440
+ static TYPE_QNAME = "0x2::validator_set::ValidatorSet";
2441
+ total_validator_stake: bigint;
2442
+ total_delegation_stake: bigint;
2443
+ active_validators: validator.Validator[];
2444
+ pending_validators: validator.Validator[];
2445
+ pending_removals: bigint[];
2446
+ next_epoch_validators: validator.ValidatorMetadata[];
2447
+ pending_delegation_switches: vec_map.VecMap<
2448
+ validator_set.ValidatorPair,
2449
+ table_vec.TableVec<staking_pool.PendingWithdrawEntry>
2450
+ >;
2451
+ }
2452
+ }
2453
+
2454
+ export class vec_map extends SuiBaseProcessor {
2455
+ constructor(options: SuiBindOptions) {
2456
+ super("vec_map", options);
2457
+ }
2458
+ static DEFAULT_OPTIONS: SuiBindOptions = {
2459
+ address: "0x2",
2460
+ network: SuiNetwork.MAIN_NET,
2461
+ };
2462
+
2463
+ static bind(options: Partial<SuiBindOptions> = {}): vec_map {
2464
+ return new vec_map({ ...vec_map.DEFAULT_OPTIONS, ...options });
2465
+ }
2466
+
2467
+ onEventEntry(
2468
+ func: (event: vec_map.EntryInstance, ctx: SuiContext) => void,
2469
+ fetchConfig?: MoveFetchConfig
2470
+ ): vec_map {
2471
+ this.onMoveEvent(
2472
+ func,
2473
+ {
2474
+ type: "vec_map::Entry",
2475
+ },
2476
+ fetchConfig
2477
+ );
2478
+ return this;
2479
+ }
2480
+
2481
+ onEventVecMap(
2482
+ func: (event: vec_map.VecMapInstance, ctx: SuiContext) => void,
2483
+ fetchConfig?: MoveFetchConfig
2484
+ ): vec_map {
2485
+ this.onMoveEvent(
2486
+ func,
2487
+ {
2488
+ type: "vec_map::VecMap",
2489
+ },
2490
+ fetchConfig
2491
+ );
2492
+ return this;
2493
+ }
2494
+ }
2495
+
2496
+ export namespace vec_map {
2497
+ export class Entry<T0, T1> {
2498
+ static TYPE_QNAME = "0x2::vec_map::Entry";
2499
+ key: T0;
2500
+ value: T1;
2501
+ }
2502
+
2503
+ export interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
2504
+ fields_decoded: Entry<any, any>;
2505
+ type_arguments: [string, string];
2506
+ }
2507
+
2508
+ export class VecMap<T0, T1> {
2509
+ static TYPE_QNAME = "0x2::vec_map::VecMap";
2510
+ contents: vec_map.Entry<T0, T1>[];
2511
+ }
2512
+
2513
+ export interface VecMapInstance extends TypedEventInstance<VecMap<any, any>> {
2514
+ fields_decoded: VecMap<any, any>;
2515
+ type_arguments: [string, string];
2516
+ }
2517
+ }
2518
+
2519
+ export class vec_set extends SuiBaseProcessor {
2520
+ constructor(options: SuiBindOptions) {
2521
+ super("vec_set", options);
2522
+ }
2523
+ static DEFAULT_OPTIONS: SuiBindOptions = {
2524
+ address: "0x2",
2525
+ network: SuiNetwork.MAIN_NET,
2526
+ };
2527
+
2528
+ static bind(options: Partial<SuiBindOptions> = {}): vec_set {
2529
+ return new vec_set({ ...vec_set.DEFAULT_OPTIONS, ...options });
2530
+ }
2531
+
2532
+ onEventVecSet(
2533
+ func: (event: vec_set.VecSetInstance, ctx: SuiContext) => void,
2534
+ fetchConfig?: MoveFetchConfig
2535
+ ): vec_set {
2536
+ this.onMoveEvent(
2537
+ func,
2538
+ {
2539
+ type: "vec_set::VecSet",
2540
+ },
2541
+ fetchConfig
2542
+ );
2543
+ return this;
2544
+ }
2545
+ }
2546
+
2547
+ export namespace vec_set {
2548
+ export class VecSet<T0> {
2549
+ static TYPE_QNAME = "0x2::vec_set::VecSet";
2550
+ contents: T0[] | string;
2551
+ }
2552
+
2553
+ export interface VecSetInstance extends TypedEventInstance<VecSet<any>> {
2554
+ fields_decoded: VecSet<any>;
2555
+ type_arguments: [string];
2556
+ }
2557
+ }
2558
+
2559
+ export namespace voting_power {
2560
+ export class VotingPowerInfo {
2561
+ static TYPE_QNAME = "0x2::voting_power::VotingPowerInfo";
2562
+ validator_index: bigint;
2563
+ voting_power: bigint;
2564
+ }
2565
+ }
2566
+
2567
+ const MODULES = JSON.parse(
2568
+ '{"address":{"file_format_version":6,"address":"0x2","name":"address","friends":[],"structs":{},"exposed_functions":{"from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":["Address"]},"from_u256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U256"],"return_":["Address"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U64"]},"max":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U256"]},"to_ascii_string":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}]},"to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Vector":"U8"}]},"to_string":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}]},"to_u256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":["U256"]}}},"bag":{"file_format_version":6,"address":"0x2","name":"bag","friends":[],"structs":{"Bag":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"contains_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bag","name":"Bag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"balance":{"file_format_version":6,"address":"0x2","name":"balance","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"Balance":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"value","type_":"U64"}]},"Supply":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"value","type_":"U64"}]}},"exposed_functions":{"create_staking_rewards":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"create_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}]},"decrease_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":["U64"]},"destroy_storage_rebates":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"destroy_zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"increase_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":["U64"]},"split":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"supply_value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]}}},"bcs":{"file_format_version":6,"address":"0x2","name":"bcs","friends":[],"structs":{"BCS":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":{"Vector":"U8"}}]}},"exposed_functions":{"into_remainder_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}],"return_":[{"Vector":"U8"}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}]},"peel_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["Address"]},"peel_bool":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["Bool"]},"peel_option_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["Address"]}}]},"peel_option_bool":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["Bool"]}}]},"peel_option_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U128"]}}]},"peel_option_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}}]},"peel_option_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U8"]}}]},"peel_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U128"]},"peel_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U64"]},"peel_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U8"]},"peel_vec_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"Address"}]},"peel_vec_bool":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"Bool"}]},"peel_vec_length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":["U64"]},"peel_vec_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"U128"}]},"peel_vec_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"U64"}]},"peel_vec_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"peel_vec_vec_u8":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"bcs","name":"BCS","type_arguments":[]}}}],"return_":[{"Vector":{"Vector":"U8"}}]},"to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Vector":"U8"}]}}},"bls12381":{"file_format_version":6,"address":"0x2","name":"bls12381","friends":[{"address":"0x2","name":"validator"}],"structs":{},"exposed_functions":{"bls12381_min_pk_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]},"bls12381_min_sig_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]},"bls12381_min_sig_verify_with_domain":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Vector":"U8"},{"Vector":"U8"}],"return_":["Bool"]}}},"bulletproofs":{"file_format_version":6,"address":"0x2","name":"bulletproofs","friends":[],"structs":{},"exposed_functions":{"verify_full_range_proof":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}},"U64"],"return_":["Bool"]}}},"coin":{"file_format_version":6,"address":"0x2","name":"coin","friends":[],"structs":{"Coin":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"CoinMetadata":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"decimals","type_":"U8"},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"symbol","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}},{"name":"description","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"icon_url","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}}}]},"CurrencyCreated":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"decimals","type_":"U8"}]},"TreasuryCap":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"total_supply","type_":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}]}},"exposed_functions":{"balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"balance_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"burn":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":["U64"]},"burn_":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"create_currency":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},"U8",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}]},"destroy_zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"divide_into_n":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}]},"from_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"get_decimals":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U8"]},"get_description":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}]},"get_icon_url":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}}]},"get_name":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}]},"get_symbol":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}]},"into_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"join":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"mint":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"mint_and_transfer":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"mint_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"put":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"split":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}]},"supply_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}}]},"take":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]},"total_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"treasury_into_supply":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"TypeParameter":0}]}}]},"update_description":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}],"return_":[]},"update_icon_url":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[]},"update_name":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}],"return_":[]},"update_symbol":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"TreasuryCap","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"CoinMetadata","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"zero":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}]}}},"devnet_nft":{"file_format_version":6,"address":"0x2","name":"devnet_nft","friends":[],"structs":{"DevNetNFT":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"description","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]},"MintNFTEvent":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"object_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}},{"name":"creator","type_":"Address"},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]}},"exposed_functions":{"burn":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}],"return_":[]},"description":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]},"mint":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"name":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]},"update_description":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}},{"Vector":"U8"}],"return_":[]},"url":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"devnet_nft","name":"DevNetNFT","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]}}},"digest":{"file_format_version":6,"address":"0x2","name":"digest","friends":[],"structs":{"Sha3256Digest":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"digest","type_":{"Vector":"U8"}}]}},"exposed_functions":{"sha3_256_digest_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}]},"sha3_256_digest_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]}}},"dynamic_field":{"file_format_version":6,"address":"0x2","name":"dynamic_field","friends":[{"address":"0x2","name":"dynamic_object_field"}],"structs":{"Field":{"abilities":{"abilities":["Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":false},{"constraints":{"abilities":["Store"]},"is_phantom":false}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"name","type_":{"TypeParameter":0}},{"name":"value","type_":{"TypeParameter":1}}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"add_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":["Address",{"TypeParameter":0}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"],"return_":[{"Reference":{"TypeParameter":0}}]},"borrow_child_object_mut":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"],"return_":[{"MutableReference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"exists_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"field_info":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"]},"field_info_mut":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},"Address"]},"has_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address","Address"],"return_":["Bool"]},"has_child_object_with_ty":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return_":["Bool"]},"hash_type_and_key":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":["Address",{"TypeParameter":0}],"return_":["Address"]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]},"remove_child_object":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":["Address","Address"],"return_":[{"TypeParameter":0}]}}},"dynamic_object_field":{"file_format_version":6,"address":"0x2","name":"dynamic_object_field","friends":[],"structs":{"Wrapper":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":false}],"fields":[{"name":"name","type_":{"TypeParameter":0}}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"exists_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"exists_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"ecdsa_k1":{"file_format_version":6,"address":"0x2","name":"ecdsa_k1","friends":[],"structs":{},"exposed_functions":{"decompress_pubkey":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return_":[{"Vector":"U8"}]},"ecrecover":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":[{"Vector":"U8"}]},"keccak256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return_":[{"Vector":"U8"}]},"secp256k1_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]}}},"ed25519":{"file_format_version":6,"address":"0x2","name":"ed25519","friends":[{"address":"0x2","name":"validator"}],"structs":{},"exposed_functions":{"ed25519_verify":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]},"ed25519_verify_with_domain":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Vector":"U8"},{"Vector":"U8"}],"return_":["Bool"]}}},"elliptic_curve":{"file_format_version":6,"address":"0x2","name":"elliptic_curve","friends":[],"structs":{"RistrettoPoint":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"value","type_":{"Vector":"U8"}}]},"Scalar":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"value","type_":{"Vector":"U8"}}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]},"bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"create_pedersen_commitment":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}},{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]},"new_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]},"new_scalar_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}]},"new_scalar_from_u64":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}]},"scalar_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"Scalar","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"subtract":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"elliptic_curve","name":"RistrettoPoint","type_arguments":[]}}]}}},"epoch_time_lock":{"file_format_version":6,"address":"0x2","name":"epoch_time_lock","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"EpochTimeLock":{"abilities":{"abilities":["Copy","Store"]},"type_parameters":[],"fields":[{"name":"epoch","type_":"U64"}]}},"exposed_functions":{"destroy":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"destroy_unchecked":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}],"return_":[]},"epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}},"erc721_metadata":{"file_format_version":6,"address":"0x2","name":"erc721_metadata","friends":[],"structs":{"ERC721Metadata":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"token_id","type_":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}}},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"token_uri","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]},"TokenID":{"abilities":{"abilities":["Copy","Store"]},"type_parameters":[],"fields":[{"name":"id","type_":"U64"}]}},"exposed_functions":{"name":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}},{"Vector":"U8"},{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}]},"new_token_id":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}}]},"token_id":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"TokenID","type_arguments":[]}}}]},"token_uri":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"erc721_metadata","name":"ERC721Metadata","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}]}}},"event":{"file_format_version":6,"address":"0x2","name":"event","friends":[],"structs":{},"exposed_functions":{"emit":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return_":[]}}},"genesis":{"file_format_version":6,"address":"0x2","name":"genesis","friends":[],"structs":{},"exposed_functions":{}},"groth16":{"file_format_version":6,"address":"0x2","name":"groth16","friends":[],"structs":{"PreparedVerifyingKey":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"vk_gamma_abc_g1_bytes","type_":{"Vector":"U8"}},{"name":"alpha_g1_beta_g2_bytes","type_":{"Vector":"U8"}},{"name":"gamma_g2_neg_pc_bytes","type_":{"Vector":"U8"}},{"name":"delta_g2_neg_pc_bytes","type_":{"Vector":"U8"}}]},"ProofPoints":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":{"Vector":"U8"}}]},"PublicProofInputs":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":{"Vector":"U8"}}]}},"exposed_functions":{"prepare_verifying_key":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}]},"proof_points_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","type_arguments":[]}}]},"public_proof_inputs_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","type_arguments":[]}}]},"pvk_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}]},"pvk_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}],"return_":[{"Vector":{"Vector":"U8"}}]},"verify_groth16_proof":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PreparedVerifyingKey","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"PublicProofInputs","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"groth16","name":"ProofPoints","type_arguments":[]}}}],"return_":["Bool"]},"verify_groth16_proof_internal":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":["Bool"]}}},"hex":{"file_format_version":6,"address":"0x2","name":"hex","friends":[],"structs":{},"exposed_functions":{"decode":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Vector":"U8"}]},"encode":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Vector":"U8"}]}}},"hmac":{"file_format_version":6,"address":"0x2","name":"hmac","friends":[],"structs":{},"exposed_functions":{"hmac_sha3_256":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":"U8"}},{"Reference":{"Vector":"U8"}}],"return_":[{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}]}}},"immutable_external_resource":{"file_format_version":6,"address":"0x2","name":"immutable_external_resource","friends":[],"structs":{"ImmutableExternalResource":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"name":"digest","type_":{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}}]}},"exposed_functions":{"digest":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}},{"Struct":{"address":"0x2","module":"digest","name":"Sha3256Digest","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}]},"update":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}],"return_":[]},"url":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"immutable_external_resource","name":"ImmutableExternalResource","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]}}},"linked_table":{"file_format_version":6,"address":"0x2","name":"linked_table","friends":[],"structs":{"LinkedTable":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":false},{"constraints":{"abilities":["Store"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"},{"name":"head","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}},{"name":"tail","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"Node":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":false},{"constraints":{"abilities":["Store"]},"is_phantom":false}],"fields":[{"name":"prev","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}},{"name":"next","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}},{"name":"value","type_":{"TypeParameter":1}}]}},"exposed_functions":{"back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"drop":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"front":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"next":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"pop_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"pop_front":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"prev":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"TypeParameter":0}]}}}]},"push_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"push_front":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"locked_coin":{"file_format_version":6,"address":"0x2","name":"locked_coin","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"LockedCoin":{"abilities":{"abilities":["Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"name":"locked_until_epoch","type_":{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}}]}},"exposed_functions":{"into_balance":{"visibility":"Friend","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]},"lock_coin":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}},"Address","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"new_from_balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"unlock_coin":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]}}},"math":{"file_format_version":6,"address":"0x2","name":"math","friends":[],"structs":{},"exposed_functions":{"diff":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"divide_and_round_up":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"max":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"min":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U64"],"return_":["U64"]},"pow":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64","U8"],"return_":["U64"]},"sqrt":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":["U64"]},"sqrt_u128":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["U128"],"return_":["U128"]}}},"object":{"file_format_version":6,"address":"0x2","name":"object","friends":[{"address":"0x2","name":"dynamic_field"},{"address":"0x2","name":"dynamic_object_field"},{"address":"0x2","name":"sui_system"},{"address":"0x2","name":"transfer"}],"structs":{"ID":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"bytes","type_":"Address"}]},"UID":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]}},"exposed_functions":{"borrow_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"delete":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}],"return_":[]},"id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]},"id_address":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":["Address"]},"id_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Vector":"U8"}]},"id_from_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]},"id_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]},"id_to_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}],"return_":["Address"]},"id_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}]},"new_uid_from_hash":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address"],"return_":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}]},"sui_system_state":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}]},"uid_as_inner":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"uid_to_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":["Address"]},"uid_to_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":[{"Vector":"U8"}]},"uid_to_inner":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}},"object_bag":{"file_format_version":6,"address":"0x2","name":"object_bag","friends":[],"structs":{"ObjectBag":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"contains_with_type":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_bag","name":"ObjectBag","type_arguments":[]}}},{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}]}}},"object_table":{"file_format_version":6,"address":"0x2","name":"object_table","friends":[],"structs":{"ObjectTable":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":true},{"constraints":{"abilities":["Store","Key"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]},"value_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store","Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"object_table","name":"ObjectTable","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}]}}},"pay":{"file_format_version":6,"address":"0x2","name":"pay","friends":[],"structs":{},"exposed_functions":{"divide_and_keep":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"join":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"join_vec":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}}],"return_":[]},"join_vec_and_transfer":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"Address"],"return_":[]},"keep":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"split":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"split_and_transfer":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},"U64","Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"split_vec":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}},{"Vector":"U64"},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]}}},"priority_queue":{"file_format_version":6,"address":"0x2","name":"priority_queue","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Drop"]},"is_phantom":false}],"fields":[{"name":"priority","type_":"U64"},{"name":"value","type_":{"TypeParameter":0}}]},"PriorityQueue":{"abilities":{"abilities":["Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Drop"]},"is_phantom":false}],"fields":[{"name":"entries","type_":{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}}}]}},"exposed_functions":{"create_entries":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":"U64"},{"Vector":{"TypeParameter":0}}],"return_":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}}]},"insert":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","type_arguments":[{"TypeParameter":0}]}}},"U64",{"TypeParameter":0}],"return_":[]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","type_arguments":[{"TypeParameter":0}]}}]},"new_entry":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":["U64",{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x2","module":"priority_queue","name":"Entry","type_arguments":[{"TypeParameter":0}]}}]},"pop_max":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"priority_queue","name":"PriorityQueue","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64",{"TypeParameter":0}]}}},"publisher":{"file_format_version":6,"address":"0x2","name":"publisher","friends":[],"structs":{"Publisher":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"package","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}},{"name":"module_name","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]}},"exposed_functions":{"burn":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}],"return_":[]},"claim":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}]},"claim_and_keep":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"is_module":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":["Bool"]},"is_package":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":["Bool"]},"module_name":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]},"package":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"publisher","name":"Publisher","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]}}},"safe":{"file_format_version":6,"address":"0x2","name":"safe","friends":[],"structs":{"OwnerCapability":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"safe_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"Safe":{"abilities":{"abilities":["Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}},{"name":"allowed_safes","type_":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}}]},"TransferCapability":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":[]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"safe_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}},{"name":"amount","type_":"U64"}]}},"exposed_functions":{"balance":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}}]},"create":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}]},"create_empty":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create_transfer_capability":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"safe","name":"TransferCapability","type_arguments":[{"TypeParameter":0}]}}]},"debit":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"TransferCapability","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]},"deposit":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"deposit_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"revoke_transfer_capability":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}],"return_":[]},"self_revoke_transfer_capability":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"TransferCapability","type_arguments":[{"TypeParameter":0}]}}}],"return_":[]},"withdraw":{"visibility":"Public","is_entry":true,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"withdraw_":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"safe","name":"Safe","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"Struct":{"address":"0x2","module":"safe","name":"OwnerCapability","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"TypeParameter":0}]}}]}}},"stake":{"file_format_version":6,"address":"0x2","name":"stake","friends":[{"address":"0x2","name":"sui_system"},{"address":"0x2","name":"validator"}],"structs":{"Stake":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"locked_until_epoch","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}}]}},"exposed_functions":{"burn":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address",{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"value":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}}],"return_":["U64"]},"withdraw_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]}}},"stake_subsidy":{"file_format_version":6,"address":"0x2","name":"stake_subsidy","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"StakeSubsidy":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"epoch_counter","type_":"U64"},{"name":"balance","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"current_epoch_amount","type_":"U64"}]}},"exposed_functions":{"advance_epoch":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}}],"return_":[]},"create":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["U64"],"return_":[{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}]},"current_epoch_subsidy_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}}],"return_":["U64"]},"mint_stake_subsidy_proportional_to_total_stake_testnet":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},"U64","U64"],"return_":[]},"withdraw_all":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}]}}},"staking_pool":{"file_format_version":6,"address":"0x2","name":"staking_pool","friends":[{"address":"0x2","name":"validator"},{"address":"0x2","name":"validator_set"}],"structs":{"Delegation":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"staked_sui_id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}},{"name":"pool_tokens","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}},{"name":"principal_sui_amount","type_":"U64"}]},"DelegationToken":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"dummy_field","type_":"Bool"}]},"InactiveStakingPool":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"pool","type_":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}]},"PendingDelegationEntry":{"abilities":{"abilities":["Drop","Store"]},"type_parameters":[],"fields":[{"name":"delegator","type_":"Address"},{"name":"sui_amount","type_":"U64"}]},"PendingWithdrawEntry":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"delegator","type_":"Address"},{"name":"principal_withdraw_amount","type_":"U64"},{"name":"withdrawn_pool_tokens","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}}]},"PoolTokenExchangeRate":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"sui_amount","type_":"U64"},{"name":"pool_token_amount","type_":"U64"}]},"StakedSui":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"validator_address","type_":"Address"},{"name":"pool_starting_epoch","type_":"U64"},{"name":"delegation_request_epoch","type_":"U64"},{"name":"principal","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"sui_token_lock","type_":{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}}]},"StakingPool":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"validator_address","type_":"Address"},{"name":"starting_epoch","type_":"U64"},{"name":"sui_balance","type_":"U64"},{"name":"rewards_pool","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"delegation_token_supply","type_":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}},{"name":"pending_delegations","type_":{"Struct":{"address":"0x2","module":"linked_table","name":"LinkedTable","type_arguments":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingDelegationEntry","type_arguments":[]}}]}}},{"name":"pending_withdraws","type_":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]}}}]}},"exposed_functions":{"batch_withdraw_rewards_and_burn_pool_tokens":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]}}],"return_":[{"Vector":"Address"},{"Vector":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},"U64"]},"cancel_delegation_request":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"deactivate_staking_pool":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"delegation_request_epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}}],"return_":["U64"]},"delegation_token_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}}}],"return_":["U64"]},"deposit_rewards":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}],"return_":[]},"destroy_empty_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}}],"return_":[]},"destroy_empty_staked_sui":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}],"return_":[]},"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}]},"new_pending_withdraw_entry":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address","U64",{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]},"pool_token_exchange_rate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PoolTokenExchangeRate","type_arguments":[]}}]},"process_pending_delegation_withdraws":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["U64"]},"process_pending_delegations":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["U64"]},"staked_sui_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}}],"return_":["U64"]},"sui_balance":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}],"return_":["U64"]},"validator_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}}],"return_":["Address"]},"withdraw_from_inactive_pool":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"InactiveStakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"withdraw_from_principal":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"DelegationToken","type_arguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}}]}}},"sui":{"file_format_version":6,"address":"0x2","name":"sui","friends":[{"address":"0x2","name":"genesis"}],"structs":{"SUI":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"dummy_field","type_":"Bool"}]}},"exposed_functions":{"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}]},"transfer":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address"],"return_":[]}}},"sui_system":{"file_format_version":6,"address":"0x2","name":"sui_system","friends":[{"address":"0x2","name":"genesis"}],"structs":{"SuiSystemState":{"abilities":{"abilities":["Key"]},"type_parameters":[],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"epoch","type_":"U64"},{"name":"validators","type_":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"name":"sui_supply","type_":{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"storage_fund","type_":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"name":"parameters","type_":{"Struct":{"address":"0x2","module":"sui_system","name":"SystemParameters","type_arguments":[]}}},{"name":"reference_gas_price","type_":"U64"},{"name":"validator_report_records","type_":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":["Address"]}}]}}},{"name":"stake_subsidy","type_":{"Struct":{"address":"0x2","module":"stake_subsidy","name":"StakeSubsidy","type_arguments":[]}}},{"name":"safe_mode","type_":"Bool"}]},"SystemEpochInfo":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"epoch","type_":"U64"},{"name":"reference_gas_price","type_":"U64"},{"name":"total_stake","type_":"U64"},{"name":"storage_fund_inflows","type_":"U64"},{"name":"storage_fund_outflows","type_":"U64"},{"name":"storage_fund_balance","type_":"U64"},{"name":"stake_subsidy_amount","type_":"U64"},{"name":"total_gas_fees","type_":"U64"},{"name":"total_stake_rewards","type_":"U64"}]},"SystemParameters":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"min_validator_stake","type_":"U64"},{"name":"max_validator_candidate_count","type_":"U64"},{"name":"storage_gas_price","type_":"U64"}]}},"exposed_functions":{"advance_epoch":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64","U64","U64","U64","U64","U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"advance_epoch_safe_mode":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"cancel_delegation_request":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"create":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Supply","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"U64","U64","U64","U64"],"return_":[]},"epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}}],"return_":["U64"]},"get_reporters_of":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address"],"return_":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":["Address"]}}]},"report_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation_mul_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation_mul_locked_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Vector":{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation_with_locked_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake_with_locked_coin":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"locked_coin","name":"LockedCoin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x2","module":"coin","name":"Coin","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_remove_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_commission_rate":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_gas_price":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_switch_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_delegation":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_stake":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"undo_report_validator":{"visibility":"Public","is_entry":true,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"validator_delegate_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address"],"return_":["U64"]},"validator_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}},"Address"],"return_":["U64"]},"validators":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"sui_system","name":"SuiSystemState","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}]}}},"table":{"file_format_version":6,"address":"0x2","name":"table","friends":[],"structs":{"Table":{"abilities":{"abilities":["Store","Key"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop","Store"]},"is_phantom":true},{"constraints":{"abilities":["Store"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"UID","type_arguments":[]}}},{"name":"size","type_":"U64"}]}},"exposed_functions":{"add":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"Reference":{"TypeParameter":1}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"drop":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Drop","Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop","Store"]},{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0}],"return_":[{"TypeParameter":1}]}}},"table_vec":{"file_format_version":6,"address":"0x2","name":"table_vec","friends":[],"structs":{"TableVec":{"abilities":{"abilities":["Store"]},"type_parameters":[{"constraints":{"abilities":["Store"]},"is_phantom":true}],"fields":[{"name":"contents","type_":{"Struct":{"address":"0x2","module":"table","name":"Table","type_arguments":["U64",{"TypeParameter":0}]}}}]}},"exposed_functions":{"borrow":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"Reference":{"TypeParameter":0}}]},"borrow_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}},"U64"],"return_":[{"MutableReference":{"TypeParameter":0}}]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}],"return_":[]},"empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}}],"return_":["Bool"]},"length":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]},"pop_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"TypeParameter":0}]},"push_back":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return_":[]},"singleton":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Store"]}],"parameters":[{"TypeParameter":0},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"TypeParameter":0}]}}]}}},"transfer":{"file_format_version":6,"address":"0x2","name":"transfer","friends":[],"structs":{},"exposed_functions":{"freeze_object":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return_":[]},"share_object":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0}],"return_":[]},"transfer":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"TypeParameter":0},"Address"],"return_":[]}}},"tx_context":{"file_format_version":6,"address":"0x2","name":"tx_context","friends":[{"address":"0x2","name":"object"}],"structs":{"TxContext":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"sender","type_":"Address"},{"name":"tx_hash","type_":{"Vector":"U8"}},{"name":"epoch","type_":"U64"},{"name":"ids_created","type_":"U64"}]}},"exposed_functions":{"epoch":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["U64"]},"new_object":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["Address"]},"sender":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":["Address"]}}},"typed_id":{"file_format_version":6,"address":"0x2","name":"typed_id","friends":[],"structs":{"TypedID":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Key"]},"is_phantom":true}],"fields":[{"name":"id","type_":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]}},"exposed_functions":{"as_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}}]},"equals_object":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return_":["Bool"]},"new":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":[{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}]},"to_id":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Key"]}],"parameters":[{"Struct":{"address":"0x2","module":"typed_id","name":"TypedID","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Struct":{"address":"0x2","module":"object","name":"ID","type_arguments":[]}}]}}},"types":{"file_format_version":6,"address":"0x2","name":"types","friends":[],"structs":{},"exposed_functions":{"is_one_time_witness":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Drop"]}],"parameters":[{"Reference":{"TypeParameter":0}}],"return_":["Bool"]}}},"url":{"file_format_version":6,"address":"0x2","name":"url","friends":[],"structs":{"Url":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"url","type_":{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}}]}},"exposed_functions":{"inner_url":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}]},"new_unsafe":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]},"new_unsafe_from_bytes":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Vector":"U8"}],"return_":[{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}]},"update":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"Struct":{"address":"0x1","module":"ascii","name":"String","type_arguments":[]}}],"return_":[]}}},"validator":{"file_format_version":6,"address":"0x2","name":"validator","friends":[{"address":"0x2","name":"genesis"},{"address":"0x2","name":"sui_system"},{"address":"0x2","name":"validator_set"},{"address":"0x2","name":"voting_power"}],"structs":{"Validator":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"metadata","type_":{"Struct":{"address":"0x2","module":"validator","name":"ValidatorMetadata","type_arguments":[]}}},{"name":"voting_power","type_":"U64"},{"name":"stake_amount","type_":"U64"},{"name":"pending_stake","type_":"U64"},{"name":"pending_withdraw","type_":"U64"},{"name":"gas_price","type_":"U64"},{"name":"delegation_staking_pool","type_":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}},{"name":"commission_rate","type_":"U64"}]},"ValidatorMetadata":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"sui_address","type_":"Address"},{"name":"pubkey_bytes","type_":{"Vector":"U8"}},{"name":"network_pubkey_bytes","type_":{"Vector":"U8"}},{"name":"worker_pubkey_bytes","type_":{"Vector":"U8"}},{"name":"proof_of_possession","type_":{"Vector":"U8"}},{"name":"name","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"description","type_":{"Struct":{"address":"0x1","module":"string","name":"String","type_arguments":[]}}},{"name":"image_url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"name":"project_url","type_":{"Struct":{"address":"0x2","module":"url","name":"Url","type_arguments":[]}}},{"name":"net_address","type_":{"Vector":"U8"}},{"name":"consensus_address","type_":{"Vector":"U8"}},{"name":"worker_address","type_":{"Vector":"U8"}},{"name":"next_epoch_stake","type_":"U64"},{"name":"next_epoch_delegation","type_":"U64"},{"name":"next_epoch_gas_price","type_":"U64"},{"name":"next_epoch_commission_rate","type_":"U64"}]}},"exposed_functions":{"adjust_stake_and_gas_price":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[]},"cancel_delegation_request":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"commission_rate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"decrease_next_epoch_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"delegate_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"deposit_delegation_rewards":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}],"return_":[]},"destroy":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"gas_price":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"get_staking_pool_mut_ref":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"MutableReference":{"Struct":{"address":"0x2","module":"staking_pool","name":"StakingPool","type_arguments":[]}}}]},"is_duplicate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["Bool"]},"metadata":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"ValidatorMetadata","type_arguments":[]}}}]},"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["Address",{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Vector":"U8"},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}]},"pending_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"pending_withdraw":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"pool_token_exchange_rate":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PoolTokenExchangeRate","type_arguments":[]}}]},"process_pending_delegations_and_withdraws":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_commission_rate":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"request_set_gas_price":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"request_withdraw_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"set_voting_power":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}},"U64"],"return_":[]},"stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"sui_address":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["Address"]},"total_stake":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"total_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]},"voting_power":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":["U64"]}}},"validator_set":{"file_format_version":6,"address":"0x2","name":"validator_set","friends":[{"address":"0x2","name":"sui_system"}],"structs":{"DelegationRequestEvent":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"validator_address","type_":"Address"},{"name":"delegator_address","type_":"Address"},{"name":"epoch","type_":"U64"},{"name":"amount","type_":"U64"}]},"ValidatorEpochInfo":{"abilities":{"abilities":["Copy","Drop"]},"type_parameters":[],"fields":[{"name":"epoch","type_":"U64"},{"name":"validator_address","type_":"Address"},{"name":"reference_gas_survey_quote","type_":"U64"},{"name":"validator_stake","type_":"U64"},{"name":"delegated_stake","type_":"U64"},{"name":"commission_rate","type_":"U64"},{"name":"stake_rewards","type_":"U64"},{"name":"pool_token_exchange_rate","type_":{"Struct":{"address":"0x2","module":"staking_pool","name":"PoolTokenExchangeRate","type_arguments":[]}}},{"name":"tallying_rule_reporters","type_":{"Vector":"Address"}},{"name":"tallying_rule_global_score","type_":"U64"}]},"ValidatorPair":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[],"fields":[{"name":"from","type_":"Address"},{"name":"to","type_":"Address"}]},"ValidatorSet":{"abilities":{"abilities":["Store"]},"type_parameters":[],"fields":[{"name":"total_validator_stake","type_":"U64"},{"name":"total_delegation_stake","type_":"U64"},{"name":"active_validators","type_":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}},{"name":"pending_validators","type_":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}},{"name":"pending_removals","type_":{"Vector":"U64"}},{"name":"next_epoch_validators","type_":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"ValidatorMetadata","type_arguments":[]}}}},{"name":"pending_delegation_switches","type_":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorPair","type_arguments":[]}},{"Struct":{"address":"0x2","module":"table_vec","name":"TableVec","type_arguments":[{"Struct":{"address":"0x2","module":"staking_pool","name":"PendingWithdrawEntry","type_arguments":[]}}]}}]}}}]}},"exposed_functions":{"active_validators":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}}]},"advance_epoch":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":["U64",{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}}},{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":["Address",{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":["Address"]}}]}},"U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"cancel_delegation_request":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"derive_reference_gas_price":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"is_active_validator":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["Bool"]},"new":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}],"return_":[{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}]},"next_epoch_validator_count":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"request_add_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address",{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"balance","name":"Balance","type_arguments":[{"Struct":{"address":"0x2","module":"sui","name":"SUI","type_arguments":[]}}]}},{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":[{"Struct":{"address":"0x2","module":"epoch_time_lock","name":"EpochTimeLock","type_arguments":[]}}]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_add_validator":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}],"return_":[]},"request_remove_validator":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_commission_rate":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_set_gas_price":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"U64",{"Reference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_switch_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},"Address",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_delegation":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"Struct":{"address":"0x2","module":"staking_pool","name":"Delegation","type_arguments":[]}},{"Struct":{"address":"0x2","module":"staking_pool","name":"StakedSui","type_arguments":[]}},{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"request_withdraw_stake":{"visibility":"Friend","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},{"MutableReference":{"Struct":{"address":"0x2","module":"stake","name":"Stake","type_arguments":[]}}},"U64","U64",{"MutableReference":{"Struct":{"address":"0x2","module":"tx_context","name":"TxContext","type_arguments":[]}}}],"return_":[]},"sum_voting_power_by_addresses":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}},{"Reference":{"Vector":"Address"}}],"return_":["U64"]},"total_delegation_stake":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"total_validator_stake":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}}],"return_":["U64"]},"validator_delegate_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["U64"]},"validator_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["U64"]},"validator_total_stake_amount":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"validator_set","name":"ValidatorSet","type_arguments":[]}}},"Address"],"return_":["U64"]}}},"vec_map":{"file_format_version":6,"address":"0x2","name":"vec_map","friends":[],"structs":{"Entry":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Copy"]},"is_phantom":false},{"constraints":{"abilities":[]},"is_phantom":false}],"fields":[{"name":"key","type_":{"TypeParameter":0}},{"name":"value","type_":{"TypeParameter":1}}]},"VecMap":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Copy"]},"is_phantom":false},{"constraints":{"abilities":[]},"is_phantom":false}],"fields":[{"name":"contents","type_":{"Vector":{"Struct":{"address":"0x2","module":"vec_map","name":"Entry","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}}]}},"exposed_functions":{"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":["Bool"]},"destroy_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[]},"empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}]},"get":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return_":[{"Reference":{"TypeParameter":0}},{"Reference":{"TypeParameter":1}}]},"get_entry_by_idx_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return_":[{"Reference":{"TypeParameter":0}},{"MutableReference":{"TypeParameter":1}}]},"get_idx":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":["U64"]},"get_idx_opt":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"Struct":{"address":"0x1","module":"option","name":"Option","type_arguments":["U64"]}}]},"get_mut":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"MutableReference":{"TypeParameter":1}}]},"insert":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"TypeParameter":0},{"TypeParameter":1}],"return_":[]},"into_keys_values":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}],"return_":[{"Vector":{"TypeParameter":0}},{"Vector":{"TypeParameter":1}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["Bool"]},"keys":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"Vector":{"TypeParameter":0}}]},"pop":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},{"Reference":{"TypeParameter":0}}],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"remove_entry_by_idx":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}},"U64"],"return_":[{"TypeParameter":0},{"TypeParameter":1}]},"size":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy"]},{"abilities":[]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_map","name":"VecMap","type_arguments":[{"TypeParameter":0},{"TypeParameter":1}]}}}],"return_":["U64"]}}},"vec_set":{"file_format_version":6,"address":"0x2","name":"vec_set","friends":[],"structs":{"VecSet":{"abilities":{"abilities":["Copy","Drop","Store"]},"type_parameters":[{"constraints":{"abilities":["Copy","Drop"]},"is_phantom":false}],"fields":[{"name":"contents","type_":{"Vector":{"TypeParameter":0}}}]}},"exposed_functions":{"contains":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return_":["Bool"]},"empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[],"return_":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}]},"insert":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}},{"TypeParameter":0}],"return_":[]},"into_keys":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}],"return_":[{"Vector":{"TypeParameter":0}}]},"is_empty":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}}],"return_":["Bool"]},"remove":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"MutableReference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}},{"Reference":{"TypeParameter":0}}],"return_":[]},"singleton":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"TypeParameter":0}],"return_":[{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}]},"size":{"visibility":"Public","is_entry":false,"type_parameters":[{"abilities":["Copy","Drop"]}],"parameters":[{"Reference":{"Struct":{"address":"0x2","module":"vec_set","name":"VecSet","type_arguments":[{"TypeParameter":0}]}}}],"return_":["U64"]}}},"voting_power":{"file_format_version":6,"address":"0x2","name":"voting_power","friends":[],"structs":{"VotingPowerInfo":{"abilities":{"abilities":["Drop"]},"type_parameters":[],"fields":[{"name":"validator_index","type_":"U64"},{"name":"voting_power","type_":"U64"}]}},"exposed_functions":{"quorum_threshold":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U64"]},"set_voting_power":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[{"MutableReference":{"Vector":{"Struct":{"address":"0x2","module":"validator","name":"Validator","type_arguments":[]}}}}],"return_":[]},"total_voting_power":{"visibility":"Public","is_entry":false,"type_parameters":[],"parameters":[],"return_":["U64"]}}}}'
2569
+ );
2570
+
2571
+ export function loadAllTypes(coder: MoveCoder) {
2572
+ _0x1.loadAllTypes(coder);
2573
+ for (const m of Object.values(MODULES)) {
2574
+ coder.load(m as any);
2575
+ }
2576
+ }
2577
+
2578
+ loadAllTypes(defaultMoveCoder());