@sentio/sdk 2.11.2-rc.2 → 2.11.3-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.
- package/lib/move/abstract-codegen.d.ts +1 -0
- package/lib/move/abstract-codegen.js +2 -1
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +74 -40
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +190 -104
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +1 -0
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/models.d.ts +1 -1
- package/lib/sui/models.js.map +1 -1
- package/package.json +7 -5
- package/src/move/abstract-codegen.ts +2 -1
- package/src/sui/builtin/0x2.ts +64 -40
- package/src/sui/builtin/0x3.ts +167 -102
- package/src/sui/codegen/codegen.ts +1 -0
- package/src/sui/models.ts +1 -1
package/lib/sui/builtin/0x3.d.ts
CHANGED
@@ -115,12 +115,12 @@ export declare namespace staking_pool {
|
|
115
115
|
pending_pool_token_withdraw: bigint;
|
116
116
|
extra_fields: _0x2.bag.Bag;
|
117
117
|
}
|
118
|
-
interface JoinStakedSuiPayload extends TypedFunctionPayload<[SuiAddress]> {
|
119
|
-
arguments_decoded: [SuiAddress];
|
118
|
+
interface JoinStakedSuiPayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
119
|
+
arguments_decoded: [SuiAddress | undefined];
|
120
120
|
type_arguments: [];
|
121
121
|
}
|
122
|
-
interface SplitStakedSuiPayload extends TypedFunctionPayload<[SuiAddress, bigint]> {
|
123
|
-
arguments_decoded: [SuiAddress, bigint];
|
122
|
+
interface SplitStakedSuiPayload extends TypedFunctionPayload<[SuiAddress | undefined, bigint | undefined]> {
|
123
|
+
arguments_decoded: [SuiAddress | undefined, bigint | undefined];
|
124
124
|
type_arguments: [];
|
125
125
|
}
|
126
126
|
}
|
@@ -174,178 +174,264 @@ export declare namespace sui_system {
|
|
174
174
|
id: _0x2.object_.UID;
|
175
175
|
version: bigint;
|
176
176
|
}
|
177
|
-
interface ReportValidatorPayload extends TypedFunctionPayload<[
|
178
|
-
|
177
|
+
interface ReportValidatorPayload extends TypedFunctionPayload<[
|
178
|
+
SuiAddress | undefined,
|
179
|
+
SuiAddress | undefined
|
180
|
+
]> {
|
181
|
+
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
179
182
|
type_arguments: [];
|
180
183
|
}
|
181
184
|
interface RequestAddStakePayload extends TypedFunctionPayload<[
|
182
|
-
SuiAddress,
|
183
|
-
_0x2.coin.Coin<_0x2.sui.SUI
|
184
|
-
SuiAddress
|
185
|
+
SuiAddress | undefined,
|
186
|
+
_0x2.coin.Coin<_0x2.sui.SUI> | undefined,
|
187
|
+
SuiAddress | undefined
|
185
188
|
]> {
|
186
|
-
arguments_decoded: [
|
189
|
+
arguments_decoded: [
|
190
|
+
SuiAddress | undefined,
|
191
|
+
_0x2.coin.Coin<_0x2.sui.SUI> | undefined,
|
192
|
+
SuiAddress | undefined
|
193
|
+
];
|
187
194
|
type_arguments: [];
|
188
195
|
}
|
189
196
|
interface RequestAddStakeMulCoinPayload extends TypedFunctionPayload<[
|
190
|
-
SuiAddress,
|
191
|
-
_0x2.coin.Coin<_0x2.sui.SUI>[],
|
192
|
-
_0x1.option.Option<bigint
|
193
|
-
SuiAddress
|
197
|
+
SuiAddress | undefined,
|
198
|
+
_0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
|
199
|
+
_0x1.option.Option<bigint> | undefined,
|
200
|
+
SuiAddress | undefined
|
194
201
|
]> {
|
195
202
|
arguments_decoded: [
|
196
|
-
SuiAddress,
|
197
|
-
_0x2.coin.Coin<_0x2.sui.SUI>[],
|
198
|
-
_0x1.option.Option<bigint
|
199
|
-
SuiAddress
|
203
|
+
SuiAddress | undefined,
|
204
|
+
_0x2.coin.Coin<_0x2.sui.SUI>[] | undefined,
|
205
|
+
_0x1.option.Option<bigint> | undefined,
|
206
|
+
SuiAddress | undefined
|
200
207
|
];
|
201
208
|
type_arguments: [];
|
202
209
|
}
|
203
|
-
interface RequestAddValidatorPayload extends TypedFunctionPayload<[SuiAddress]> {
|
204
|
-
arguments_decoded: [SuiAddress];
|
210
|
+
interface RequestAddValidatorPayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
211
|
+
arguments_decoded: [SuiAddress | undefined];
|
205
212
|
type_arguments: [];
|
206
213
|
}
|
207
214
|
interface RequestAddValidatorCandidatePayload extends TypedFunctionPayload<[
|
208
|
-
SuiAddress,
|
209
|
-
number[],
|
210
|
-
number[],
|
211
|
-
number[],
|
212
|
-
number[],
|
213
|
-
number[],
|
214
|
-
number[],
|
215
|
-
number[],
|
216
|
-
number[],
|
217
|
-
number[],
|
218
|
-
number[],
|
219
|
-
number[],
|
220
|
-
number[],
|
221
|
-
bigint,
|
222
|
-
bigint
|
215
|
+
SuiAddress | undefined,
|
216
|
+
number[] | undefined,
|
217
|
+
number[] | undefined,
|
218
|
+
number[] | undefined,
|
219
|
+
number[] | undefined,
|
220
|
+
number[] | undefined,
|
221
|
+
number[] | undefined,
|
222
|
+
number[] | undefined,
|
223
|
+
number[] | undefined,
|
224
|
+
number[] | undefined,
|
225
|
+
number[] | undefined,
|
226
|
+
number[] | undefined,
|
227
|
+
number[] | undefined,
|
228
|
+
bigint | undefined,
|
229
|
+
bigint | undefined
|
223
230
|
]> {
|
224
231
|
arguments_decoded: [
|
225
|
-
SuiAddress,
|
226
|
-
number[],
|
227
|
-
number[],
|
228
|
-
number[],
|
229
|
-
number[],
|
230
|
-
number[],
|
231
|
-
number[],
|
232
|
-
number[],
|
233
|
-
number[],
|
234
|
-
number[],
|
235
|
-
number[],
|
236
|
-
number[],
|
237
|
-
number[],
|
238
|
-
bigint,
|
239
|
-
bigint
|
232
|
+
SuiAddress | undefined,
|
233
|
+
number[] | undefined,
|
234
|
+
number[] | undefined,
|
235
|
+
number[] | undefined,
|
236
|
+
number[] | undefined,
|
237
|
+
number[] | undefined,
|
238
|
+
number[] | undefined,
|
239
|
+
number[] | undefined,
|
240
|
+
number[] | undefined,
|
241
|
+
number[] | undefined,
|
242
|
+
number[] | undefined,
|
243
|
+
number[] | undefined,
|
244
|
+
number[] | undefined,
|
245
|
+
bigint | undefined,
|
246
|
+
bigint | undefined
|
240
247
|
];
|
241
248
|
type_arguments: [];
|
242
249
|
}
|
243
|
-
interface RequestRemoveValidatorPayload extends TypedFunctionPayload<[SuiAddress]> {
|
244
|
-
arguments_decoded: [SuiAddress];
|
250
|
+
interface RequestRemoveValidatorPayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
251
|
+
arguments_decoded: [SuiAddress | undefined];
|
245
252
|
type_arguments: [];
|
246
253
|
}
|
247
|
-
interface RequestRemoveValidatorCandidatePayload extends TypedFunctionPayload<[SuiAddress]> {
|
248
|
-
arguments_decoded: [SuiAddress];
|
254
|
+
interface RequestRemoveValidatorCandidatePayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
255
|
+
arguments_decoded: [SuiAddress | undefined];
|
249
256
|
type_arguments: [];
|
250
257
|
}
|
251
|
-
interface RequestSetCommissionRatePayload extends TypedFunctionPayload<[SuiAddress, bigint]> {
|
252
|
-
arguments_decoded: [SuiAddress, bigint];
|
258
|
+
interface RequestSetCommissionRatePayload extends TypedFunctionPayload<[SuiAddress | undefined, bigint | undefined]> {
|
259
|
+
arguments_decoded: [SuiAddress | undefined, bigint | undefined];
|
253
260
|
type_arguments: [];
|
254
261
|
}
|
255
|
-
interface RequestSetGasPricePayload extends TypedFunctionPayload<[
|
256
|
-
|
262
|
+
interface RequestSetGasPricePayload extends TypedFunctionPayload<[
|
263
|
+
SuiAddress | undefined,
|
264
|
+
SuiAddress | undefined
|
265
|
+
]> {
|
266
|
+
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
257
267
|
type_arguments: [];
|
258
268
|
}
|
259
|
-
interface RequestWithdrawStakePayload extends TypedFunctionPayload<[
|
260
|
-
|
269
|
+
interface RequestWithdrawStakePayload extends TypedFunctionPayload<[
|
270
|
+
SuiAddress | undefined,
|
271
|
+
staking_pool.StakedSui | undefined
|
272
|
+
]> {
|
273
|
+
arguments_decoded: [
|
274
|
+
SuiAddress | undefined,
|
275
|
+
staking_pool.StakedSui | undefined
|
276
|
+
];
|
261
277
|
type_arguments: [];
|
262
278
|
}
|
263
|
-
interface RotateOperationCapPayload extends TypedFunctionPayload<[SuiAddress]> {
|
264
|
-
arguments_decoded: [SuiAddress];
|
279
|
+
interface RotateOperationCapPayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
280
|
+
arguments_decoded: [SuiAddress | undefined];
|
265
281
|
type_arguments: [];
|
266
282
|
}
|
267
|
-
interface SetCandidateValidatorCommissionRatePayload extends TypedFunctionPayload<[SuiAddress, bigint]> {
|
268
|
-
arguments_decoded: [SuiAddress, bigint];
|
283
|
+
interface SetCandidateValidatorCommissionRatePayload extends TypedFunctionPayload<[SuiAddress | undefined, bigint | undefined]> {
|
284
|
+
arguments_decoded: [SuiAddress | undefined, bigint | undefined];
|
269
285
|
type_arguments: [];
|
270
286
|
}
|
271
|
-
interface SetCandidateValidatorGasPricePayload extends TypedFunctionPayload<[
|
272
|
-
|
287
|
+
interface SetCandidateValidatorGasPricePayload extends TypedFunctionPayload<[
|
288
|
+
SuiAddress | undefined,
|
289
|
+
SuiAddress | undefined
|
290
|
+
]> {
|
291
|
+
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
273
292
|
type_arguments: [];
|
274
293
|
}
|
275
|
-
interface UndoReportValidatorPayload extends TypedFunctionPayload<[
|
276
|
-
|
294
|
+
interface UndoReportValidatorPayload extends TypedFunctionPayload<[
|
295
|
+
SuiAddress | undefined,
|
296
|
+
SuiAddress | undefined
|
297
|
+
]> {
|
298
|
+
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
277
299
|
type_arguments: [];
|
278
300
|
}
|
279
|
-
interface UpdateCandidateValidatorNetworkAddressPayload extends TypedFunctionPayload<[
|
280
|
-
|
301
|
+
interface UpdateCandidateValidatorNetworkAddressPayload extends TypedFunctionPayload<[
|
302
|
+
SuiAddress | undefined,
|
303
|
+
number[] | undefined
|
304
|
+
]> {
|
305
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
281
306
|
type_arguments: [];
|
282
307
|
}
|
283
|
-
interface UpdateCandidateValidatorNetworkPubkeyPayload extends TypedFunctionPayload<[
|
284
|
-
|
308
|
+
interface UpdateCandidateValidatorNetworkPubkeyPayload extends TypedFunctionPayload<[
|
309
|
+
SuiAddress | undefined,
|
310
|
+
number[] | undefined
|
311
|
+
]> {
|
312
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
285
313
|
type_arguments: [];
|
286
314
|
}
|
287
|
-
interface UpdateCandidateValidatorP2PAddressPayload extends TypedFunctionPayload<[
|
288
|
-
|
315
|
+
interface UpdateCandidateValidatorP2PAddressPayload extends TypedFunctionPayload<[
|
316
|
+
SuiAddress | undefined,
|
317
|
+
number[] | undefined
|
318
|
+
]> {
|
319
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
289
320
|
type_arguments: [];
|
290
321
|
}
|
291
|
-
interface UpdateCandidateValidatorPrimaryAddressPayload extends TypedFunctionPayload<[
|
292
|
-
|
322
|
+
interface UpdateCandidateValidatorPrimaryAddressPayload extends TypedFunctionPayload<[
|
323
|
+
SuiAddress | undefined,
|
324
|
+
number[] | undefined
|
325
|
+
]> {
|
326
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
293
327
|
type_arguments: [];
|
294
328
|
}
|
295
|
-
interface UpdateCandidateValidatorProtocolPubkeyPayload extends TypedFunctionPayload<[
|
296
|
-
|
329
|
+
interface UpdateCandidateValidatorProtocolPubkeyPayload extends TypedFunctionPayload<[
|
330
|
+
SuiAddress | undefined,
|
331
|
+
number[] | undefined,
|
332
|
+
number[] | undefined
|
333
|
+
]> {
|
334
|
+
arguments_decoded: [
|
335
|
+
SuiAddress | undefined,
|
336
|
+
number[] | undefined,
|
337
|
+
number[] | undefined
|
338
|
+
];
|
297
339
|
type_arguments: [];
|
298
340
|
}
|
299
|
-
interface UpdateCandidateValidatorWorkerAddressPayload extends TypedFunctionPayload<[
|
300
|
-
|
341
|
+
interface UpdateCandidateValidatorWorkerAddressPayload extends TypedFunctionPayload<[
|
342
|
+
SuiAddress | undefined,
|
343
|
+
number[] | undefined
|
344
|
+
]> {
|
345
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
301
346
|
type_arguments: [];
|
302
347
|
}
|
303
|
-
interface UpdateCandidateValidatorWorkerPubkeyPayload extends TypedFunctionPayload<[
|
304
|
-
|
348
|
+
interface UpdateCandidateValidatorWorkerPubkeyPayload extends TypedFunctionPayload<[
|
349
|
+
SuiAddress | undefined,
|
350
|
+
number[] | undefined
|
351
|
+
]> {
|
352
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
305
353
|
type_arguments: [];
|
306
354
|
}
|
307
|
-
interface UpdateValidatorDescriptionPayload extends TypedFunctionPayload<[
|
308
|
-
|
355
|
+
interface UpdateValidatorDescriptionPayload extends TypedFunctionPayload<[
|
356
|
+
SuiAddress | undefined,
|
357
|
+
number[] | undefined
|
358
|
+
]> {
|
359
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
309
360
|
type_arguments: [];
|
310
361
|
}
|
311
|
-
interface UpdateValidatorImageUrlPayload extends TypedFunctionPayload<[
|
312
|
-
|
362
|
+
interface UpdateValidatorImageUrlPayload extends TypedFunctionPayload<[
|
363
|
+
SuiAddress | undefined,
|
364
|
+
number[] | undefined
|
365
|
+
]> {
|
366
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
313
367
|
type_arguments: [];
|
314
368
|
}
|
315
|
-
interface UpdateValidatorNamePayload extends TypedFunctionPayload<[
|
316
|
-
|
369
|
+
interface UpdateValidatorNamePayload extends TypedFunctionPayload<[
|
370
|
+
SuiAddress | undefined,
|
371
|
+
number[] | undefined
|
372
|
+
]> {
|
373
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
317
374
|
type_arguments: [];
|
318
375
|
}
|
319
|
-
interface UpdateValidatorNextEpochNetworkAddressPayload extends TypedFunctionPayload<[
|
320
|
-
|
376
|
+
interface UpdateValidatorNextEpochNetworkAddressPayload extends TypedFunctionPayload<[
|
377
|
+
SuiAddress | undefined,
|
378
|
+
number[] | undefined
|
379
|
+
]> {
|
380
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
321
381
|
type_arguments: [];
|
322
382
|
}
|
323
|
-
interface UpdateValidatorNextEpochNetworkPubkeyPayload extends TypedFunctionPayload<[
|
324
|
-
|
383
|
+
interface UpdateValidatorNextEpochNetworkPubkeyPayload extends TypedFunctionPayload<[
|
384
|
+
SuiAddress | undefined,
|
385
|
+
number[] | undefined
|
386
|
+
]> {
|
387
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
325
388
|
type_arguments: [];
|
326
389
|
}
|
327
|
-
interface UpdateValidatorNextEpochP2PAddressPayload extends TypedFunctionPayload<[
|
328
|
-
|
390
|
+
interface UpdateValidatorNextEpochP2PAddressPayload extends TypedFunctionPayload<[
|
391
|
+
SuiAddress | undefined,
|
392
|
+
number[] | undefined
|
393
|
+
]> {
|
394
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
329
395
|
type_arguments: [];
|
330
396
|
}
|
331
|
-
interface UpdateValidatorNextEpochPrimaryAddressPayload extends TypedFunctionPayload<[
|
332
|
-
|
397
|
+
interface UpdateValidatorNextEpochPrimaryAddressPayload extends TypedFunctionPayload<[
|
398
|
+
SuiAddress | undefined,
|
399
|
+
number[] | undefined
|
400
|
+
]> {
|
401
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
333
402
|
type_arguments: [];
|
334
403
|
}
|
335
|
-
interface UpdateValidatorNextEpochProtocolPubkeyPayload extends TypedFunctionPayload<[
|
336
|
-
|
404
|
+
interface UpdateValidatorNextEpochProtocolPubkeyPayload extends TypedFunctionPayload<[
|
405
|
+
SuiAddress | undefined,
|
406
|
+
number[] | undefined,
|
407
|
+
number[] | undefined
|
408
|
+
]> {
|
409
|
+
arguments_decoded: [
|
410
|
+
SuiAddress | undefined,
|
411
|
+
number[] | undefined,
|
412
|
+
number[] | undefined
|
413
|
+
];
|
337
414
|
type_arguments: [];
|
338
415
|
}
|
339
|
-
interface UpdateValidatorNextEpochWorkerAddressPayload extends TypedFunctionPayload<[
|
340
|
-
|
416
|
+
interface UpdateValidatorNextEpochWorkerAddressPayload extends TypedFunctionPayload<[
|
417
|
+
SuiAddress | undefined,
|
418
|
+
number[] | undefined
|
419
|
+
]> {
|
420
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
341
421
|
type_arguments: [];
|
342
422
|
}
|
343
|
-
interface UpdateValidatorNextEpochWorkerPubkeyPayload extends TypedFunctionPayload<[
|
344
|
-
|
423
|
+
interface UpdateValidatorNextEpochWorkerPubkeyPayload extends TypedFunctionPayload<[
|
424
|
+
SuiAddress | undefined,
|
425
|
+
number[] | undefined
|
426
|
+
]> {
|
427
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
345
428
|
type_arguments: [];
|
346
429
|
}
|
347
|
-
interface UpdateValidatorProjectUrlPayload extends TypedFunctionPayload<[
|
348
|
-
|
430
|
+
interface UpdateValidatorProjectUrlPayload extends TypedFunctionPayload<[
|
431
|
+
SuiAddress | undefined,
|
432
|
+
number[] | undefined
|
433
|
+
]> {
|
434
|
+
arguments_decoded: [SuiAddress | undefined, number[] | undefined];
|
349
435
|
type_arguments: [];
|
350
436
|
}
|
351
437
|
}
|