@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,1295 @@
1
+ /* Autogenerated file. Do not edit manually. */
2
+ /* tslint:disable */
3
+ /* eslint-disable */
4
+ import { defaultMoveCoder, SuiBaseProcessor, SuiNetwork, } from "@sentio/sdk/sui";
5
+ import * as _0x1 from "./0x1.js";
6
+ export var bag;
7
+ (function (bag) {
8
+ class Bag {
9
+ static TYPE_QNAME = "0x2::bag::Bag";
10
+ id;
11
+ size;
12
+ }
13
+ bag.Bag = Bag;
14
+ })(bag || (bag = {}));
15
+ export var balance;
16
+ (function (balance) {
17
+ class Balance {
18
+ static TYPE_QNAME = "0x2::balance::Balance";
19
+ value;
20
+ }
21
+ balance.Balance = Balance;
22
+ class Supply {
23
+ static TYPE_QNAME = "0x2::balance::Supply";
24
+ value;
25
+ }
26
+ balance.Supply = Supply;
27
+ })(balance || (balance = {}));
28
+ export class bcs extends SuiBaseProcessor {
29
+ constructor(options) {
30
+ super("bcs", options);
31
+ }
32
+ static DEFAULT_OPTIONS = {
33
+ address: "0x2",
34
+ network: SuiNetwork.MAIN_NET,
35
+ };
36
+ static bind(options = {}) {
37
+ return new bcs({ ...bcs.DEFAULT_OPTIONS, ...options });
38
+ }
39
+ onEventBCS(func, fetchConfig) {
40
+ this.onMoveEvent(func, {
41
+ type: "bcs::BCS",
42
+ }, fetchConfig);
43
+ return this;
44
+ }
45
+ }
46
+ (function (bcs) {
47
+ class BCS {
48
+ static TYPE_QNAME = "0x2::bcs::BCS";
49
+ bytes;
50
+ }
51
+ bcs.BCS = BCS;
52
+ })(bcs || (bcs = {}));
53
+ export class coin extends SuiBaseProcessor {
54
+ constructor(options) {
55
+ super("coin", options);
56
+ }
57
+ static DEFAULT_OPTIONS = {
58
+ address: "0x2",
59
+ network: SuiNetwork.MAIN_NET,
60
+ };
61
+ static bind(options = {}) {
62
+ return new coin({ ...coin.DEFAULT_OPTIONS, ...options });
63
+ }
64
+ onEntryBurn(func, filter, fetchConfig) {
65
+ this.onEntryFunctionCall(func, {
66
+ ...filter,
67
+ function: "coin::burn_",
68
+ }, fetchConfig);
69
+ return this;
70
+ }
71
+ onEntryJoin(func, filter, fetchConfig) {
72
+ this.onEntryFunctionCall(func, {
73
+ ...filter,
74
+ function: "coin::join",
75
+ }, fetchConfig);
76
+ return this;
77
+ }
78
+ onEntryMintAndTransfer(func, filter, fetchConfig) {
79
+ this.onEntryFunctionCall(func, {
80
+ ...filter,
81
+ function: "coin::mint_and_transfer",
82
+ }, fetchConfig);
83
+ return this;
84
+ }
85
+ onEntryUpdateDescription(func, filter, fetchConfig) {
86
+ this.onEntryFunctionCall(func, {
87
+ ...filter,
88
+ function: "coin::update_description",
89
+ }, fetchConfig);
90
+ return this;
91
+ }
92
+ onEntryUpdateIconUrl(func, filter, fetchConfig) {
93
+ this.onEntryFunctionCall(func, {
94
+ ...filter,
95
+ function: "coin::update_icon_url",
96
+ }, fetchConfig);
97
+ return this;
98
+ }
99
+ onEntryUpdateName(func, filter, fetchConfig) {
100
+ this.onEntryFunctionCall(func, {
101
+ ...filter,
102
+ function: "coin::update_name",
103
+ }, fetchConfig);
104
+ return this;
105
+ }
106
+ onEntryUpdateSymbol(func, filter, fetchConfig) {
107
+ this.onEntryFunctionCall(func, {
108
+ ...filter,
109
+ function: "coin::update_symbol",
110
+ }, fetchConfig);
111
+ return this;
112
+ }
113
+ onEventCurrencyCreated(func, fetchConfig) {
114
+ this.onMoveEvent(func, {
115
+ type: "coin::CurrencyCreated",
116
+ }, fetchConfig);
117
+ return this;
118
+ }
119
+ }
120
+ (function (coin) {
121
+ class Coin {
122
+ static TYPE_QNAME = "0x2::coin::Coin";
123
+ id;
124
+ balance;
125
+ }
126
+ coin.Coin = Coin;
127
+ class CoinMetadata {
128
+ static TYPE_QNAME = "0x2::coin::CoinMetadata";
129
+ id;
130
+ decimals;
131
+ name;
132
+ symbol;
133
+ description;
134
+ icon_url;
135
+ }
136
+ coin.CoinMetadata = CoinMetadata;
137
+ class CurrencyCreated {
138
+ static TYPE_QNAME = "0x2::coin::CurrencyCreated";
139
+ decimals;
140
+ }
141
+ coin.CurrencyCreated = CurrencyCreated;
142
+ class TreasuryCap {
143
+ static TYPE_QNAME = "0x2::coin::TreasuryCap";
144
+ id;
145
+ total_supply;
146
+ }
147
+ coin.TreasuryCap = TreasuryCap;
148
+ })(coin || (coin = {}));
149
+ export class devnet_nft extends SuiBaseProcessor {
150
+ constructor(options) {
151
+ super("devnet_nft", options);
152
+ }
153
+ static DEFAULT_OPTIONS = {
154
+ address: "0x2",
155
+ network: SuiNetwork.MAIN_NET,
156
+ };
157
+ static bind(options = {}) {
158
+ return new devnet_nft({ ...devnet_nft.DEFAULT_OPTIONS, ...options });
159
+ }
160
+ onEntryBurn(func, filter, fetchConfig) {
161
+ this.onEntryFunctionCall(func, {
162
+ ...filter,
163
+ function: "devnet_nft::burn",
164
+ }, fetchConfig);
165
+ return this;
166
+ }
167
+ onEntryMint(func, filter, fetchConfig) {
168
+ this.onEntryFunctionCall(func, {
169
+ ...filter,
170
+ function: "devnet_nft::mint",
171
+ }, fetchConfig);
172
+ return this;
173
+ }
174
+ onEntryUpdateDescription(func, filter, fetchConfig) {
175
+ this.onEntryFunctionCall(func, {
176
+ ...filter,
177
+ function: "devnet_nft::update_description",
178
+ }, fetchConfig);
179
+ return this;
180
+ }
181
+ onEventMintNFTEvent(func, fetchConfig) {
182
+ this.onMoveEvent(func, {
183
+ type: "devnet_nft::MintNFTEvent",
184
+ }, fetchConfig);
185
+ return this;
186
+ }
187
+ }
188
+ (function (devnet_nft) {
189
+ class DevNetNFT {
190
+ static TYPE_QNAME = "0x2::devnet_nft::DevNetNFT";
191
+ id;
192
+ name;
193
+ description;
194
+ url;
195
+ }
196
+ devnet_nft.DevNetNFT = DevNetNFT;
197
+ class MintNFTEvent {
198
+ static TYPE_QNAME = "0x2::devnet_nft::MintNFTEvent";
199
+ object_id;
200
+ creator;
201
+ name;
202
+ }
203
+ devnet_nft.MintNFTEvent = MintNFTEvent;
204
+ })(devnet_nft || (devnet_nft = {}));
205
+ export class digest extends SuiBaseProcessor {
206
+ constructor(options) {
207
+ super("digest", options);
208
+ }
209
+ static DEFAULT_OPTIONS = {
210
+ address: "0x2",
211
+ network: SuiNetwork.MAIN_NET,
212
+ };
213
+ static bind(options = {}) {
214
+ return new digest({ ...digest.DEFAULT_OPTIONS, ...options });
215
+ }
216
+ onEventSha3256Digest(func, fetchConfig) {
217
+ this.onMoveEvent(func, {
218
+ type: "digest::Sha3256Digest",
219
+ }, fetchConfig);
220
+ return this;
221
+ }
222
+ }
223
+ (function (digest) {
224
+ class Sha3256Digest {
225
+ static TYPE_QNAME = "0x2::digest::Sha3256Digest";
226
+ digest;
227
+ }
228
+ digest.Sha3256Digest = Sha3256Digest;
229
+ })(digest || (digest = {}));
230
+ export var dynamic_field;
231
+ (function (dynamic_field) {
232
+ class Field {
233
+ static TYPE_QNAME = "0x2::dynamic_field::Field";
234
+ id;
235
+ name;
236
+ value;
237
+ }
238
+ dynamic_field.Field = Field;
239
+ })(dynamic_field || (dynamic_field = {}));
240
+ export class dynamic_object_field extends SuiBaseProcessor {
241
+ constructor(options) {
242
+ super("dynamic_object_field", options);
243
+ }
244
+ static DEFAULT_OPTIONS = {
245
+ address: "0x2",
246
+ network: SuiNetwork.MAIN_NET,
247
+ };
248
+ static bind(options = {}) {
249
+ return new dynamic_object_field({
250
+ ...dynamic_object_field.DEFAULT_OPTIONS,
251
+ ...options,
252
+ });
253
+ }
254
+ onEventWrapper(func, fetchConfig) {
255
+ this.onMoveEvent(func, {
256
+ type: "dynamic_object_field::Wrapper",
257
+ }, fetchConfig);
258
+ return this;
259
+ }
260
+ }
261
+ (function (dynamic_object_field) {
262
+ class Wrapper {
263
+ static TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
264
+ name;
265
+ }
266
+ dynamic_object_field.Wrapper = Wrapper;
267
+ })(dynamic_object_field || (dynamic_object_field = {}));
268
+ export class elliptic_curve extends SuiBaseProcessor {
269
+ constructor(options) {
270
+ super("elliptic_curve", options);
271
+ }
272
+ static DEFAULT_OPTIONS = {
273
+ address: "0x2",
274
+ network: SuiNetwork.MAIN_NET,
275
+ };
276
+ static bind(options = {}) {
277
+ return new elliptic_curve({
278
+ ...elliptic_curve.DEFAULT_OPTIONS,
279
+ ...options,
280
+ });
281
+ }
282
+ onEventRistrettoPoint(func, fetchConfig) {
283
+ this.onMoveEvent(func, {
284
+ type: "elliptic_curve::RistrettoPoint",
285
+ }, fetchConfig);
286
+ return this;
287
+ }
288
+ onEventScalar(func, fetchConfig) {
289
+ this.onMoveEvent(func, {
290
+ type: "elliptic_curve::Scalar",
291
+ }, fetchConfig);
292
+ return this;
293
+ }
294
+ }
295
+ (function (elliptic_curve) {
296
+ class RistrettoPoint {
297
+ static TYPE_QNAME = "0x2::elliptic_curve::RistrettoPoint";
298
+ value;
299
+ }
300
+ elliptic_curve.RistrettoPoint = RistrettoPoint;
301
+ class Scalar {
302
+ static TYPE_QNAME = "0x2::elliptic_curve::Scalar";
303
+ value;
304
+ }
305
+ elliptic_curve.Scalar = Scalar;
306
+ })(elliptic_curve || (elliptic_curve = {}));
307
+ export var epoch_time_lock;
308
+ (function (epoch_time_lock) {
309
+ class EpochTimeLock {
310
+ static TYPE_QNAME = "0x2::epoch_time_lock::EpochTimeLock";
311
+ epoch;
312
+ }
313
+ epoch_time_lock.EpochTimeLock = EpochTimeLock;
314
+ })(epoch_time_lock || (epoch_time_lock = {}));
315
+ export var erc721_metadata;
316
+ (function (erc721_metadata) {
317
+ class ERC721Metadata {
318
+ static TYPE_QNAME = "0x2::erc721_metadata::ERC721Metadata";
319
+ token_id;
320
+ name;
321
+ token_uri;
322
+ }
323
+ erc721_metadata.ERC721Metadata = ERC721Metadata;
324
+ class TokenID {
325
+ static TYPE_QNAME = "0x2::erc721_metadata::TokenID";
326
+ id;
327
+ }
328
+ erc721_metadata.TokenID = TokenID;
329
+ })(erc721_metadata || (erc721_metadata = {}));
330
+ export class groth16 extends SuiBaseProcessor {
331
+ constructor(options) {
332
+ super("groth16", options);
333
+ }
334
+ static DEFAULT_OPTIONS = {
335
+ address: "0x2",
336
+ network: SuiNetwork.MAIN_NET,
337
+ };
338
+ static bind(options = {}) {
339
+ return new groth16({ ...groth16.DEFAULT_OPTIONS, ...options });
340
+ }
341
+ onEventPreparedVerifyingKey(func, fetchConfig) {
342
+ this.onMoveEvent(func, {
343
+ type: "groth16::PreparedVerifyingKey",
344
+ }, fetchConfig);
345
+ return this;
346
+ }
347
+ onEventProofPoints(func, fetchConfig) {
348
+ this.onMoveEvent(func, {
349
+ type: "groth16::ProofPoints",
350
+ }, fetchConfig);
351
+ return this;
352
+ }
353
+ onEventPublicProofInputs(func, fetchConfig) {
354
+ this.onMoveEvent(func, {
355
+ type: "groth16::PublicProofInputs",
356
+ }, fetchConfig);
357
+ return this;
358
+ }
359
+ }
360
+ (function (groth16) {
361
+ class PreparedVerifyingKey {
362
+ static TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
363
+ vk_gamma_abc_g1_bytes;
364
+ alpha_g1_beta_g2_bytes;
365
+ gamma_g2_neg_pc_bytes;
366
+ delta_g2_neg_pc_bytes;
367
+ }
368
+ groth16.PreparedVerifyingKey = PreparedVerifyingKey;
369
+ class ProofPoints {
370
+ static TYPE_QNAME = "0x2::groth16::ProofPoints";
371
+ bytes;
372
+ }
373
+ groth16.ProofPoints = ProofPoints;
374
+ class PublicProofInputs {
375
+ static TYPE_QNAME = "0x2::groth16::PublicProofInputs";
376
+ bytes;
377
+ }
378
+ groth16.PublicProofInputs = PublicProofInputs;
379
+ })(groth16 || (groth16 = {}));
380
+ export class immutable_external_resource extends SuiBaseProcessor {
381
+ constructor(options) {
382
+ super("immutable_external_resource", options);
383
+ }
384
+ static DEFAULT_OPTIONS = {
385
+ address: "0x2",
386
+ network: SuiNetwork.MAIN_NET,
387
+ };
388
+ static bind(options = {}) {
389
+ return new immutable_external_resource({
390
+ ...immutable_external_resource.DEFAULT_OPTIONS,
391
+ ...options,
392
+ });
393
+ }
394
+ onEventImmutableExternalResource(func, fetchConfig) {
395
+ this.onMoveEvent(func, {
396
+ type: "immutable_external_resource::ImmutableExternalResource",
397
+ }, fetchConfig);
398
+ return this;
399
+ }
400
+ }
401
+ (function (immutable_external_resource) {
402
+ class ImmutableExternalResource {
403
+ static TYPE_QNAME = "0x2::immutable_external_resource::ImmutableExternalResource";
404
+ url;
405
+ digest;
406
+ }
407
+ immutable_external_resource.ImmutableExternalResource = ImmutableExternalResource;
408
+ })(immutable_external_resource || (immutable_external_resource = {}));
409
+ export var linked_table;
410
+ (function (linked_table) {
411
+ class LinkedTable {
412
+ static TYPE_QNAME = "0x2::linked_table::LinkedTable";
413
+ id;
414
+ size;
415
+ head;
416
+ tail;
417
+ }
418
+ linked_table.LinkedTable = LinkedTable;
419
+ class Node {
420
+ static TYPE_QNAME = "0x2::linked_table::Node";
421
+ prev;
422
+ next;
423
+ value;
424
+ }
425
+ linked_table.Node = Node;
426
+ })(linked_table || (linked_table = {}));
427
+ export class locked_coin extends SuiBaseProcessor {
428
+ constructor(options) {
429
+ super("locked_coin", options);
430
+ }
431
+ static DEFAULT_OPTIONS = {
432
+ address: "0x2",
433
+ network: SuiNetwork.MAIN_NET,
434
+ };
435
+ static bind(options = {}) {
436
+ return new locked_coin({ ...locked_coin.DEFAULT_OPTIONS, ...options });
437
+ }
438
+ onEntryLockCoin(func, filter, fetchConfig) {
439
+ this.onEntryFunctionCall(func, {
440
+ ...filter,
441
+ function: "locked_coin::lock_coin",
442
+ }, fetchConfig);
443
+ return this;
444
+ }
445
+ onEntryUnlockCoin(func, filter, fetchConfig) {
446
+ this.onEntryFunctionCall(func, {
447
+ ...filter,
448
+ function: "locked_coin::unlock_coin",
449
+ }, fetchConfig);
450
+ return this;
451
+ }
452
+ }
453
+ (function (locked_coin) {
454
+ class LockedCoin {
455
+ static TYPE_QNAME = "0x2::locked_coin::LockedCoin";
456
+ id;
457
+ balance;
458
+ locked_until_epoch;
459
+ }
460
+ locked_coin.LockedCoin = LockedCoin;
461
+ })(locked_coin || (locked_coin = {}));
462
+ export class object_ extends SuiBaseProcessor {
463
+ constructor(options) {
464
+ super("object", options);
465
+ }
466
+ static DEFAULT_OPTIONS = {
467
+ address: "0x2",
468
+ network: SuiNetwork.MAIN_NET,
469
+ };
470
+ static bind(options = {}) {
471
+ return new object_({ ...object_.DEFAULT_OPTIONS, ...options });
472
+ }
473
+ onEventID(func, fetchConfig) {
474
+ this.onMoveEvent(func, {
475
+ type: "object::ID",
476
+ }, fetchConfig);
477
+ return this;
478
+ }
479
+ }
480
+ (function (object_) {
481
+ class ID {
482
+ static TYPE_QNAME = "0x2::object::ID";
483
+ bytes;
484
+ }
485
+ object_.ID = ID;
486
+ class UID {
487
+ static TYPE_QNAME = "0x2::object::UID";
488
+ id;
489
+ }
490
+ object_.UID = UID;
491
+ })(object_ || (object_ = {}));
492
+ export var object_bag;
493
+ (function (object_bag) {
494
+ class ObjectBag {
495
+ static TYPE_QNAME = "0x2::object_bag::ObjectBag";
496
+ id;
497
+ size;
498
+ }
499
+ object_bag.ObjectBag = ObjectBag;
500
+ })(object_bag || (object_bag = {}));
501
+ export var object_table;
502
+ (function (object_table) {
503
+ class ObjectTable {
504
+ static TYPE_QNAME = "0x2::object_table::ObjectTable";
505
+ id;
506
+ size;
507
+ }
508
+ object_table.ObjectTable = ObjectTable;
509
+ })(object_table || (object_table = {}));
510
+ export class pay extends SuiBaseProcessor {
511
+ constructor(options) {
512
+ super("pay", options);
513
+ }
514
+ static DEFAULT_OPTIONS = {
515
+ address: "0x2",
516
+ network: SuiNetwork.MAIN_NET,
517
+ };
518
+ static bind(options = {}) {
519
+ return new pay({ ...pay.DEFAULT_OPTIONS, ...options });
520
+ }
521
+ onEntryDivideAndKeep(func, filter, fetchConfig) {
522
+ this.onEntryFunctionCall(func, {
523
+ ...filter,
524
+ function: "pay::divide_and_keep",
525
+ }, fetchConfig);
526
+ return this;
527
+ }
528
+ onEntryJoin(func, filter, fetchConfig) {
529
+ this.onEntryFunctionCall(func, {
530
+ ...filter,
531
+ function: "pay::join",
532
+ }, fetchConfig);
533
+ return this;
534
+ }
535
+ onEntryJoinVec(func, filter, fetchConfig) {
536
+ this.onEntryFunctionCall(func, {
537
+ ...filter,
538
+ function: "pay::join_vec",
539
+ }, fetchConfig);
540
+ return this;
541
+ }
542
+ onEntryJoinVecAndTransfer(func, filter, fetchConfig) {
543
+ this.onEntryFunctionCall(func, {
544
+ ...filter,
545
+ function: "pay::join_vec_and_transfer",
546
+ }, fetchConfig);
547
+ return this;
548
+ }
549
+ onEntrySplit(func, filter, fetchConfig) {
550
+ this.onEntryFunctionCall(func, {
551
+ ...filter,
552
+ function: "pay::split",
553
+ }, fetchConfig);
554
+ return this;
555
+ }
556
+ onEntrySplitAndTransfer(func, filter, fetchConfig) {
557
+ this.onEntryFunctionCall(func, {
558
+ ...filter,
559
+ function: "pay::split_and_transfer",
560
+ }, fetchConfig);
561
+ return this;
562
+ }
563
+ onEntrySplitVec(func, filter, fetchConfig) {
564
+ this.onEntryFunctionCall(func, {
565
+ ...filter,
566
+ function: "pay::split_vec",
567
+ }, fetchConfig);
568
+ return this;
569
+ }
570
+ }
571
+ export var priority_queue;
572
+ (function (priority_queue) {
573
+ class Entry {
574
+ static TYPE_QNAME = "0x2::priority_queue::Entry";
575
+ priority;
576
+ value;
577
+ }
578
+ priority_queue.Entry = Entry;
579
+ class PriorityQueue {
580
+ static TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
581
+ entries;
582
+ }
583
+ priority_queue.PriorityQueue = PriorityQueue;
584
+ })(priority_queue || (priority_queue = {}));
585
+ export var publisher;
586
+ (function (publisher) {
587
+ class Publisher {
588
+ static TYPE_QNAME = "0x2::publisher::Publisher";
589
+ id;
590
+ package;
591
+ module_name;
592
+ }
593
+ publisher.Publisher = Publisher;
594
+ })(publisher || (publisher = {}));
595
+ export class safe extends SuiBaseProcessor {
596
+ constructor(options) {
597
+ super("safe", options);
598
+ }
599
+ static DEFAULT_OPTIONS = {
600
+ address: "0x2",
601
+ network: SuiNetwork.MAIN_NET,
602
+ };
603
+ static bind(options = {}) {
604
+ return new safe({ ...safe.DEFAULT_OPTIONS, ...options });
605
+ }
606
+ onEntryCreate(func, filter, fetchConfig) {
607
+ this.onEntryFunctionCall(func, {
608
+ ...filter,
609
+ function: "safe::create",
610
+ }, fetchConfig);
611
+ return this;
612
+ }
613
+ onEntryCreateEmpty(func, filter, fetchConfig) {
614
+ this.onEntryFunctionCall(func, {
615
+ ...filter,
616
+ function: "safe::create_empty",
617
+ }, fetchConfig);
618
+ return this;
619
+ }
620
+ onEntryDeposit(func, filter, fetchConfig) {
621
+ this.onEntryFunctionCall(func, {
622
+ ...filter,
623
+ function: "safe::deposit",
624
+ }, fetchConfig);
625
+ return this;
626
+ }
627
+ onEntryRevokeTransferCapability(func, filter, fetchConfig) {
628
+ this.onEntryFunctionCall(func, {
629
+ ...filter,
630
+ function: "safe::revoke_transfer_capability",
631
+ }, fetchConfig);
632
+ return this;
633
+ }
634
+ onEntrySelfRevokeTransferCapability(func, filter, fetchConfig) {
635
+ this.onEntryFunctionCall(func, {
636
+ ...filter,
637
+ function: "safe::self_revoke_transfer_capability",
638
+ }, fetchConfig);
639
+ return this;
640
+ }
641
+ onEntryWithdraw(func, filter, fetchConfig) {
642
+ this.onEntryFunctionCall(func, {
643
+ ...filter,
644
+ function: "safe::withdraw",
645
+ }, fetchConfig);
646
+ return this;
647
+ }
648
+ }
649
+ (function (safe) {
650
+ class OwnerCapability {
651
+ static TYPE_QNAME = "0x2::safe::OwnerCapability";
652
+ id;
653
+ safe_id;
654
+ }
655
+ safe.OwnerCapability = OwnerCapability;
656
+ class Safe {
657
+ static TYPE_QNAME = "0x2::safe::Safe";
658
+ id;
659
+ balance;
660
+ allowed_safes;
661
+ }
662
+ safe.Safe = Safe;
663
+ class TransferCapability {
664
+ static TYPE_QNAME = "0x2::safe::TransferCapability";
665
+ id;
666
+ safe_id;
667
+ amount;
668
+ }
669
+ safe.TransferCapability = TransferCapability;
670
+ })(safe || (safe = {}));
671
+ export class stake extends SuiBaseProcessor {
672
+ constructor(options) {
673
+ super("stake", options);
674
+ }
675
+ static DEFAULT_OPTIONS = {
676
+ address: "0x2",
677
+ network: SuiNetwork.MAIN_NET,
678
+ };
679
+ static bind(options = {}) {
680
+ return new stake({ ...stake.DEFAULT_OPTIONS, ...options });
681
+ }
682
+ onEntryBurn(func, filter, fetchConfig) {
683
+ this.onEntryFunctionCall(func, {
684
+ ...filter,
685
+ function: "stake::burn",
686
+ }, fetchConfig);
687
+ return this;
688
+ }
689
+ }
690
+ (function (stake) {
691
+ class Stake {
692
+ static TYPE_QNAME = "0x2::stake::Stake";
693
+ id;
694
+ balance;
695
+ locked_until_epoch;
696
+ }
697
+ stake.Stake = Stake;
698
+ })(stake || (stake = {}));
699
+ export var stake_subsidy;
700
+ (function (stake_subsidy) {
701
+ class StakeSubsidy {
702
+ static TYPE_QNAME = "0x2::stake_subsidy::StakeSubsidy";
703
+ epoch_counter;
704
+ balance;
705
+ current_epoch_amount;
706
+ }
707
+ stake_subsidy.StakeSubsidy = StakeSubsidy;
708
+ })(stake_subsidy || (stake_subsidy = {}));
709
+ export class staking_pool extends SuiBaseProcessor {
710
+ constructor(options) {
711
+ super("staking_pool", options);
712
+ }
713
+ static DEFAULT_OPTIONS = {
714
+ address: "0x2",
715
+ network: SuiNetwork.MAIN_NET,
716
+ };
717
+ static bind(options = {}) {
718
+ return new staking_pool({ ...staking_pool.DEFAULT_OPTIONS, ...options });
719
+ }
720
+ onEntryDestroyEmptyDelegation(func, filter, fetchConfig) {
721
+ this.onEntryFunctionCall(func, {
722
+ ...filter,
723
+ function: "staking_pool::destroy_empty_delegation",
724
+ }, fetchConfig);
725
+ return this;
726
+ }
727
+ onEntryDestroyEmptyStakedSui(func, filter, fetchConfig) {
728
+ this.onEntryFunctionCall(func, {
729
+ ...filter,
730
+ function: "staking_pool::destroy_empty_staked_sui",
731
+ }, fetchConfig);
732
+ return this;
733
+ }
734
+ onEntryWithdrawFromInactivePool(func, filter, fetchConfig) {
735
+ this.onEntryFunctionCall(func, {
736
+ ...filter,
737
+ function: "staking_pool::withdraw_from_inactive_pool",
738
+ }, fetchConfig);
739
+ return this;
740
+ }
741
+ onEventPoolTokenExchangeRate(func, fetchConfig) {
742
+ this.onMoveEvent(func, {
743
+ type: "staking_pool::PoolTokenExchangeRate",
744
+ }, fetchConfig);
745
+ return this;
746
+ }
747
+ }
748
+ (function (staking_pool) {
749
+ class Delegation {
750
+ static TYPE_QNAME = "0x2::staking_pool::Delegation";
751
+ id;
752
+ staked_sui_id;
753
+ pool_tokens;
754
+ principal_sui_amount;
755
+ }
756
+ staking_pool.Delegation = Delegation;
757
+ class DelegationToken {
758
+ static TYPE_QNAME = "0x2::staking_pool::DelegationToken";
759
+ dummy_field;
760
+ }
761
+ staking_pool.DelegationToken = DelegationToken;
762
+ class InactiveStakingPool {
763
+ static TYPE_QNAME = "0x2::staking_pool::InactiveStakingPool";
764
+ id;
765
+ pool;
766
+ }
767
+ staking_pool.InactiveStakingPool = InactiveStakingPool;
768
+ class PendingDelegationEntry {
769
+ static TYPE_QNAME = "0x2::staking_pool::PendingDelegationEntry";
770
+ delegator;
771
+ sui_amount;
772
+ }
773
+ staking_pool.PendingDelegationEntry = PendingDelegationEntry;
774
+ class PendingWithdrawEntry {
775
+ static TYPE_QNAME = "0x2::staking_pool::PendingWithdrawEntry";
776
+ delegator;
777
+ principal_withdraw_amount;
778
+ withdrawn_pool_tokens;
779
+ }
780
+ staking_pool.PendingWithdrawEntry = PendingWithdrawEntry;
781
+ class PoolTokenExchangeRate {
782
+ static TYPE_QNAME = "0x2::staking_pool::PoolTokenExchangeRate";
783
+ sui_amount;
784
+ pool_token_amount;
785
+ }
786
+ staking_pool.PoolTokenExchangeRate = PoolTokenExchangeRate;
787
+ class StakedSui {
788
+ static TYPE_QNAME = "0x2::staking_pool::StakedSui";
789
+ id;
790
+ validator_address;
791
+ pool_starting_epoch;
792
+ delegation_request_epoch;
793
+ principal;
794
+ sui_token_lock;
795
+ }
796
+ staking_pool.StakedSui = StakedSui;
797
+ class StakingPool {
798
+ static TYPE_QNAME = "0x2::staking_pool::StakingPool";
799
+ validator_address;
800
+ starting_epoch;
801
+ sui_balance;
802
+ rewards_pool;
803
+ delegation_token_supply;
804
+ pending_delegations;
805
+ pending_withdraws;
806
+ }
807
+ staking_pool.StakingPool = StakingPool;
808
+ })(staking_pool || (staking_pool = {}));
809
+ export class sui extends SuiBaseProcessor {
810
+ constructor(options) {
811
+ super("sui", options);
812
+ }
813
+ static DEFAULT_OPTIONS = {
814
+ address: "0x2",
815
+ network: SuiNetwork.MAIN_NET,
816
+ };
817
+ static bind(options = {}) {
818
+ return new sui({ ...sui.DEFAULT_OPTIONS, ...options });
819
+ }
820
+ onEntryTransfer(func, filter, fetchConfig) {
821
+ this.onEntryFunctionCall(func, {
822
+ ...filter,
823
+ function: "sui::transfer",
824
+ }, fetchConfig);
825
+ return this;
826
+ }
827
+ }
828
+ (function (sui) {
829
+ class SUI {
830
+ static TYPE_QNAME = "0x2::sui::SUI";
831
+ dummy_field;
832
+ }
833
+ sui.SUI = SUI;
834
+ })(sui || (sui = {}));
835
+ export class sui_system extends SuiBaseProcessor {
836
+ constructor(options) {
837
+ super("sui_system", options);
838
+ }
839
+ static DEFAULT_OPTIONS = {
840
+ address: "0x2",
841
+ network: SuiNetwork.MAIN_NET,
842
+ };
843
+ static bind(options = {}) {
844
+ return new sui_system({ ...sui_system.DEFAULT_OPTIONS, ...options });
845
+ }
846
+ onEntryAdvanceEpoch(func, filter, fetchConfig) {
847
+ this.onEntryFunctionCall(func, {
848
+ ...filter,
849
+ function: "sui_system::advance_epoch",
850
+ }, fetchConfig);
851
+ return this;
852
+ }
853
+ onEntryAdvanceEpochSafeMode(func, filter, fetchConfig) {
854
+ this.onEntryFunctionCall(func, {
855
+ ...filter,
856
+ function: "sui_system::advance_epoch_safe_mode",
857
+ }, fetchConfig);
858
+ return this;
859
+ }
860
+ onEntryCancelDelegationRequest(func, filter, fetchConfig) {
861
+ this.onEntryFunctionCall(func, {
862
+ ...filter,
863
+ function: "sui_system::cancel_delegation_request",
864
+ }, fetchConfig);
865
+ return this;
866
+ }
867
+ onEntryReportValidator(func, filter, fetchConfig) {
868
+ this.onEntryFunctionCall(func, {
869
+ ...filter,
870
+ function: "sui_system::report_validator",
871
+ }, fetchConfig);
872
+ return this;
873
+ }
874
+ onEntryRequestAddDelegation(func, filter, fetchConfig) {
875
+ this.onEntryFunctionCall(func, {
876
+ ...filter,
877
+ function: "sui_system::request_add_delegation",
878
+ }, fetchConfig);
879
+ return this;
880
+ }
881
+ onEntryRequestAddDelegationMulCoin(func, filter, fetchConfig) {
882
+ this.onEntryFunctionCall(func, {
883
+ ...filter,
884
+ function: "sui_system::request_add_delegation_mul_coin",
885
+ }, fetchConfig);
886
+ return this;
887
+ }
888
+ onEntryRequestAddDelegationMulLockedCoin(func, filter, fetchConfig) {
889
+ this.onEntryFunctionCall(func, {
890
+ ...filter,
891
+ function: "sui_system::request_add_delegation_mul_locked_coin",
892
+ }, fetchConfig);
893
+ return this;
894
+ }
895
+ onEntryRequestAddDelegationWithLockedCoin(func, filter, fetchConfig) {
896
+ this.onEntryFunctionCall(func, {
897
+ ...filter,
898
+ function: "sui_system::request_add_delegation_with_locked_coin",
899
+ }, fetchConfig);
900
+ return this;
901
+ }
902
+ onEntryRequestAddStake(func, filter, fetchConfig) {
903
+ this.onEntryFunctionCall(func, {
904
+ ...filter,
905
+ function: "sui_system::request_add_stake",
906
+ }, fetchConfig);
907
+ return this;
908
+ }
909
+ onEntryRequestAddStakeWithLockedCoin(func, filter, fetchConfig) {
910
+ this.onEntryFunctionCall(func, {
911
+ ...filter,
912
+ function: "sui_system::request_add_stake_with_locked_coin",
913
+ }, fetchConfig);
914
+ return this;
915
+ }
916
+ onEntryRequestAddValidator(func, filter, fetchConfig) {
917
+ this.onEntryFunctionCall(func, {
918
+ ...filter,
919
+ function: "sui_system::request_add_validator",
920
+ }, fetchConfig);
921
+ return this;
922
+ }
923
+ onEntryRequestRemoveValidator(func, filter, fetchConfig) {
924
+ this.onEntryFunctionCall(func, {
925
+ ...filter,
926
+ function: "sui_system::request_remove_validator",
927
+ }, fetchConfig);
928
+ return this;
929
+ }
930
+ onEntryRequestSetCommissionRate(func, filter, fetchConfig) {
931
+ this.onEntryFunctionCall(func, {
932
+ ...filter,
933
+ function: "sui_system::request_set_commission_rate",
934
+ }, fetchConfig);
935
+ return this;
936
+ }
937
+ onEntryRequestSetGasPrice(func, filter, fetchConfig) {
938
+ this.onEntryFunctionCall(func, {
939
+ ...filter,
940
+ function: "sui_system::request_set_gas_price",
941
+ }, fetchConfig);
942
+ return this;
943
+ }
944
+ onEntryRequestSwitchDelegation(func, filter, fetchConfig) {
945
+ this.onEntryFunctionCall(func, {
946
+ ...filter,
947
+ function: "sui_system::request_switch_delegation",
948
+ }, fetchConfig);
949
+ return this;
950
+ }
951
+ onEntryRequestWithdrawDelegation(func, filter, fetchConfig) {
952
+ this.onEntryFunctionCall(func, {
953
+ ...filter,
954
+ function: "sui_system::request_withdraw_delegation",
955
+ }, fetchConfig);
956
+ return this;
957
+ }
958
+ onEntryRequestWithdrawStake(func, filter, fetchConfig) {
959
+ this.onEntryFunctionCall(func, {
960
+ ...filter,
961
+ function: "sui_system::request_withdraw_stake",
962
+ }, fetchConfig);
963
+ return this;
964
+ }
965
+ onEntryUndoReportValidator(func, filter, fetchConfig) {
966
+ this.onEntryFunctionCall(func, {
967
+ ...filter,
968
+ function: "sui_system::undo_report_validator",
969
+ }, fetchConfig);
970
+ return this;
971
+ }
972
+ onEventSystemEpochInfo(func, fetchConfig) {
973
+ this.onMoveEvent(func, {
974
+ type: "sui_system::SystemEpochInfo",
975
+ }, fetchConfig);
976
+ return this;
977
+ }
978
+ }
979
+ (function (sui_system) {
980
+ class SuiSystemState {
981
+ static TYPE_QNAME = "0x2::sui_system::SuiSystemState";
982
+ id;
983
+ epoch;
984
+ validators;
985
+ sui_supply;
986
+ storage_fund;
987
+ parameters;
988
+ reference_gas_price;
989
+ validator_report_records;
990
+ stake_subsidy;
991
+ safe_mode;
992
+ }
993
+ sui_system.SuiSystemState = SuiSystemState;
994
+ class SystemEpochInfo {
995
+ static TYPE_QNAME = "0x2::sui_system::SystemEpochInfo";
996
+ epoch;
997
+ reference_gas_price;
998
+ total_stake;
999
+ storage_fund_inflows;
1000
+ storage_fund_outflows;
1001
+ storage_fund_balance;
1002
+ stake_subsidy_amount;
1003
+ total_gas_fees;
1004
+ total_stake_rewards;
1005
+ }
1006
+ sui_system.SystemEpochInfo = SystemEpochInfo;
1007
+ class SystemParameters {
1008
+ static TYPE_QNAME = "0x2::sui_system::SystemParameters";
1009
+ min_validator_stake;
1010
+ max_validator_candidate_count;
1011
+ storage_gas_price;
1012
+ }
1013
+ sui_system.SystemParameters = SystemParameters;
1014
+ })(sui_system || (sui_system = {}));
1015
+ export var table;
1016
+ (function (table) {
1017
+ class Table {
1018
+ static TYPE_QNAME = "0x2::table::Table";
1019
+ id;
1020
+ size;
1021
+ }
1022
+ table.Table = Table;
1023
+ })(table || (table = {}));
1024
+ export var table_vec;
1025
+ (function (table_vec) {
1026
+ class TableVec {
1027
+ static TYPE_QNAME = "0x2::table_vec::TableVec";
1028
+ contents;
1029
+ }
1030
+ table_vec.TableVec = TableVec;
1031
+ })(table_vec || (table_vec = {}));
1032
+ export var tx_context;
1033
+ (function (tx_context) {
1034
+ class TxContext {
1035
+ static TYPE_QNAME = "0x2::tx_context::TxContext";
1036
+ sender;
1037
+ tx_hash;
1038
+ epoch;
1039
+ ids_created;
1040
+ }
1041
+ tx_context.TxContext = TxContext;
1042
+ })(tx_context || (tx_context = {}));
1043
+ export class typed_id extends SuiBaseProcessor {
1044
+ constructor(options) {
1045
+ super("typed_id", options);
1046
+ }
1047
+ static DEFAULT_OPTIONS = {
1048
+ address: "0x2",
1049
+ network: SuiNetwork.MAIN_NET,
1050
+ };
1051
+ static bind(options = {}) {
1052
+ return new typed_id({ ...typed_id.DEFAULT_OPTIONS, ...options });
1053
+ }
1054
+ onEventTypedID(func, fetchConfig) {
1055
+ this.onMoveEvent(func, {
1056
+ type: "typed_id::TypedID",
1057
+ }, fetchConfig);
1058
+ return this;
1059
+ }
1060
+ }
1061
+ (function (typed_id) {
1062
+ class TypedID {
1063
+ static TYPE_QNAME = "0x2::typed_id::TypedID";
1064
+ id;
1065
+ }
1066
+ typed_id.TypedID = TypedID;
1067
+ })(typed_id || (typed_id = {}));
1068
+ export class url extends SuiBaseProcessor {
1069
+ constructor(options) {
1070
+ super("url", options);
1071
+ }
1072
+ static DEFAULT_OPTIONS = {
1073
+ address: "0x2",
1074
+ network: SuiNetwork.MAIN_NET,
1075
+ };
1076
+ static bind(options = {}) {
1077
+ return new url({ ...url.DEFAULT_OPTIONS, ...options });
1078
+ }
1079
+ onEventUrl(func, fetchConfig) {
1080
+ this.onMoveEvent(func, {
1081
+ type: "url::Url",
1082
+ }, fetchConfig);
1083
+ return this;
1084
+ }
1085
+ }
1086
+ (function (url) {
1087
+ class Url {
1088
+ static TYPE_QNAME = "0x2::url::Url";
1089
+ url;
1090
+ }
1091
+ url.Url = Url;
1092
+ })(url || (url = {}));
1093
+ export class validator extends SuiBaseProcessor {
1094
+ constructor(options) {
1095
+ super("validator", options);
1096
+ }
1097
+ static DEFAULT_OPTIONS = {
1098
+ address: "0x2",
1099
+ network: SuiNetwork.MAIN_NET,
1100
+ };
1101
+ static bind(options = {}) {
1102
+ return new validator({ ...validator.DEFAULT_OPTIONS, ...options });
1103
+ }
1104
+ onEventValidatorMetadata(func, fetchConfig) {
1105
+ this.onMoveEvent(func, {
1106
+ type: "validator::ValidatorMetadata",
1107
+ }, fetchConfig);
1108
+ return this;
1109
+ }
1110
+ }
1111
+ (function (validator) {
1112
+ class Validator {
1113
+ static TYPE_QNAME = "0x2::validator::Validator";
1114
+ metadata;
1115
+ voting_power;
1116
+ stake_amount;
1117
+ pending_stake;
1118
+ pending_withdraw;
1119
+ gas_price;
1120
+ delegation_staking_pool;
1121
+ commission_rate;
1122
+ }
1123
+ validator.Validator = Validator;
1124
+ class ValidatorMetadata {
1125
+ static TYPE_QNAME = "0x2::validator::ValidatorMetadata";
1126
+ sui_address;
1127
+ pubkey_bytes;
1128
+ network_pubkey_bytes;
1129
+ worker_pubkey_bytes;
1130
+ proof_of_possession;
1131
+ name;
1132
+ description;
1133
+ image_url;
1134
+ project_url;
1135
+ net_address;
1136
+ consensus_address;
1137
+ worker_address;
1138
+ next_epoch_stake;
1139
+ next_epoch_delegation;
1140
+ next_epoch_gas_price;
1141
+ next_epoch_commission_rate;
1142
+ }
1143
+ validator.ValidatorMetadata = ValidatorMetadata;
1144
+ })(validator || (validator = {}));
1145
+ export class validator_set extends SuiBaseProcessor {
1146
+ constructor(options) {
1147
+ super("validator_set", options);
1148
+ }
1149
+ static DEFAULT_OPTIONS = {
1150
+ address: "0x2",
1151
+ network: SuiNetwork.MAIN_NET,
1152
+ };
1153
+ static bind(options = {}) {
1154
+ return new validator_set({ ...validator_set.DEFAULT_OPTIONS, ...options });
1155
+ }
1156
+ onEventDelegationRequestEvent(func, fetchConfig) {
1157
+ this.onMoveEvent(func, {
1158
+ type: "validator_set::DelegationRequestEvent",
1159
+ }, fetchConfig);
1160
+ return this;
1161
+ }
1162
+ onEventValidatorEpochInfo(func, fetchConfig) {
1163
+ this.onMoveEvent(func, {
1164
+ type: "validator_set::ValidatorEpochInfo",
1165
+ }, fetchConfig);
1166
+ return this;
1167
+ }
1168
+ onEventValidatorPair(func, fetchConfig) {
1169
+ this.onMoveEvent(func, {
1170
+ type: "validator_set::ValidatorPair",
1171
+ }, fetchConfig);
1172
+ return this;
1173
+ }
1174
+ }
1175
+ (function (validator_set) {
1176
+ class DelegationRequestEvent {
1177
+ static TYPE_QNAME = "0x2::validator_set::DelegationRequestEvent";
1178
+ validator_address;
1179
+ delegator_address;
1180
+ epoch;
1181
+ amount;
1182
+ }
1183
+ validator_set.DelegationRequestEvent = DelegationRequestEvent;
1184
+ class ValidatorEpochInfo {
1185
+ static TYPE_QNAME = "0x2::validator_set::ValidatorEpochInfo";
1186
+ epoch;
1187
+ validator_address;
1188
+ reference_gas_survey_quote;
1189
+ validator_stake;
1190
+ delegated_stake;
1191
+ commission_rate;
1192
+ stake_rewards;
1193
+ pool_token_exchange_rate;
1194
+ tallying_rule_reporters;
1195
+ tallying_rule_global_score;
1196
+ }
1197
+ validator_set.ValidatorEpochInfo = ValidatorEpochInfo;
1198
+ class ValidatorPair {
1199
+ static TYPE_QNAME = "0x2::validator_set::ValidatorPair";
1200
+ from;
1201
+ to;
1202
+ }
1203
+ validator_set.ValidatorPair = ValidatorPair;
1204
+ class ValidatorSet {
1205
+ static TYPE_QNAME = "0x2::validator_set::ValidatorSet";
1206
+ total_validator_stake;
1207
+ total_delegation_stake;
1208
+ active_validators;
1209
+ pending_validators;
1210
+ pending_removals;
1211
+ next_epoch_validators;
1212
+ pending_delegation_switches;
1213
+ }
1214
+ validator_set.ValidatorSet = ValidatorSet;
1215
+ })(validator_set || (validator_set = {}));
1216
+ export class vec_map extends SuiBaseProcessor {
1217
+ constructor(options) {
1218
+ super("vec_map", options);
1219
+ }
1220
+ static DEFAULT_OPTIONS = {
1221
+ address: "0x2",
1222
+ network: SuiNetwork.MAIN_NET,
1223
+ };
1224
+ static bind(options = {}) {
1225
+ return new vec_map({ ...vec_map.DEFAULT_OPTIONS, ...options });
1226
+ }
1227
+ onEventEntry(func, fetchConfig) {
1228
+ this.onMoveEvent(func, {
1229
+ type: "vec_map::Entry",
1230
+ }, fetchConfig);
1231
+ return this;
1232
+ }
1233
+ onEventVecMap(func, fetchConfig) {
1234
+ this.onMoveEvent(func, {
1235
+ type: "vec_map::VecMap",
1236
+ }, fetchConfig);
1237
+ return this;
1238
+ }
1239
+ }
1240
+ (function (vec_map) {
1241
+ class Entry {
1242
+ static TYPE_QNAME = "0x2::vec_map::Entry";
1243
+ key;
1244
+ value;
1245
+ }
1246
+ vec_map.Entry = Entry;
1247
+ class VecMap {
1248
+ static TYPE_QNAME = "0x2::vec_map::VecMap";
1249
+ contents;
1250
+ }
1251
+ vec_map.VecMap = VecMap;
1252
+ })(vec_map || (vec_map = {}));
1253
+ export class vec_set extends SuiBaseProcessor {
1254
+ constructor(options) {
1255
+ super("vec_set", options);
1256
+ }
1257
+ static DEFAULT_OPTIONS = {
1258
+ address: "0x2",
1259
+ network: SuiNetwork.MAIN_NET,
1260
+ };
1261
+ static bind(options = {}) {
1262
+ return new vec_set({ ...vec_set.DEFAULT_OPTIONS, ...options });
1263
+ }
1264
+ onEventVecSet(func, fetchConfig) {
1265
+ this.onMoveEvent(func, {
1266
+ type: "vec_set::VecSet",
1267
+ }, fetchConfig);
1268
+ return this;
1269
+ }
1270
+ }
1271
+ (function (vec_set) {
1272
+ class VecSet {
1273
+ static TYPE_QNAME = "0x2::vec_set::VecSet";
1274
+ contents;
1275
+ }
1276
+ vec_set.VecSet = VecSet;
1277
+ })(vec_set || (vec_set = {}));
1278
+ export var voting_power;
1279
+ (function (voting_power) {
1280
+ class VotingPowerInfo {
1281
+ static TYPE_QNAME = "0x2::voting_power::VotingPowerInfo";
1282
+ validator_index;
1283
+ voting_power;
1284
+ }
1285
+ voting_power.VotingPowerInfo = VotingPowerInfo;
1286
+ })(voting_power || (voting_power = {}));
1287
+ const MODULES = JSON.parse('{"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"]}}}}');
1288
+ export function loadAllTypes(coder) {
1289
+ _0x1.loadAllTypes(coder);
1290
+ for (const m of Object.values(MODULES)) {
1291
+ coder.load(m);
1292
+ }
1293
+ }
1294
+ loadAllTypes(defaultMoveCoder());
1295
+ //# sourceMappingURL=0x2.js.map