@sentio/sdk 2.13.6-rc.1 → 2.13.6-rc.2
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/sui/builtin/0x2.d.ts +130 -43
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +216 -62
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/sui-chain-adapter.js +5 -4
- package/lib/sui/sui-chain-adapter.js.map +1 -1
- package/package.json +3 -3
- package/src/sui/builtin/0x2.ts +130 -46
- package/src/sui/builtin/0x3.ts +198 -64
- package/src/sui/sui-chain-adapter.ts +5 -4
package/lib/sui/builtin/0x2.d.ts
CHANGED
@@ -125,52 +125,80 @@ export declare namespace coin {
|
|
125
125
|
const TYPE_QNAME = "0x2::coin::TreasuryCap";
|
126
126
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TreasuryCap<T0>>;
|
127
127
|
}
|
128
|
-
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[
|
129
|
-
|
128
|
+
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[
|
129
|
+
SuiAddress | undefined,
|
130
|
+
coin.Coin<T0> | undefined
|
131
|
+
]> {
|
132
|
+
arguments_decoded: [SuiAddress | undefined, coin.Coin<T0> | undefined];
|
130
133
|
type_arguments: [string];
|
131
134
|
}
|
132
|
-
interface JoinPayload<T0 = any> extends TypedFunctionPayload<[
|
133
|
-
|
135
|
+
interface JoinPayload<T0 = any> extends TypedFunctionPayload<[
|
136
|
+
SuiAddress | undefined,
|
137
|
+
coin.Coin<T0> | undefined
|
138
|
+
]> {
|
139
|
+
arguments_decoded: [SuiAddress | undefined, coin.Coin<T0> | undefined];
|
134
140
|
type_arguments: [string];
|
135
141
|
}
|
136
142
|
interface MintAndTransferPayload<T0 = any> extends TypedFunctionPayload<[
|
137
143
|
SuiAddress | undefined,
|
138
144
|
bigint | undefined,
|
145
|
+
SuiAddress | undefined,
|
139
146
|
SuiAddress | undefined
|
140
147
|
]> {
|
141
148
|
arguments_decoded: [
|
142
149
|
SuiAddress | undefined,
|
143
150
|
bigint | undefined,
|
151
|
+
SuiAddress | undefined,
|
144
152
|
SuiAddress | undefined
|
145
153
|
];
|
146
154
|
type_arguments: [string];
|
147
155
|
}
|
148
156
|
interface UpdateDescriptionPayload<T0 = any> extends TypedFunctionPayload<[
|
149
157
|
SuiAddress | undefined,
|
150
|
-
SuiAddress | undefined
|
158
|
+
SuiAddress | undefined,
|
159
|
+
string | undefined
|
151
160
|
]> {
|
152
|
-
arguments_decoded: [
|
161
|
+
arguments_decoded: [
|
162
|
+
SuiAddress | undefined,
|
163
|
+
SuiAddress | undefined,
|
164
|
+
string | undefined
|
165
|
+
];
|
153
166
|
type_arguments: [string];
|
154
167
|
}
|
155
168
|
interface UpdateIconUrlPayload<T0 = any> extends TypedFunctionPayload<[
|
156
169
|
SuiAddress | undefined,
|
157
|
-
SuiAddress | undefined
|
170
|
+
SuiAddress | undefined,
|
171
|
+
_0x1.ascii.String | undefined
|
158
172
|
]> {
|
159
|
-
arguments_decoded: [
|
173
|
+
arguments_decoded: [
|
174
|
+
SuiAddress | undefined,
|
175
|
+
SuiAddress | undefined,
|
176
|
+
_0x1.ascii.String | undefined
|
177
|
+
];
|
160
178
|
type_arguments: [string];
|
161
179
|
}
|
162
180
|
interface UpdateNamePayload<T0 = any> extends TypedFunctionPayload<[
|
163
181
|
SuiAddress | undefined,
|
164
|
-
SuiAddress | undefined
|
182
|
+
SuiAddress | undefined,
|
183
|
+
string | undefined
|
165
184
|
]> {
|
166
|
-
arguments_decoded: [
|
185
|
+
arguments_decoded: [
|
186
|
+
SuiAddress | undefined,
|
187
|
+
SuiAddress | undefined,
|
188
|
+
string | undefined
|
189
|
+
];
|
167
190
|
type_arguments: [string];
|
168
191
|
}
|
169
192
|
interface UpdateSymbolPayload<T0 = any> extends TypedFunctionPayload<[
|
170
193
|
SuiAddress | undefined,
|
171
|
-
SuiAddress | undefined
|
194
|
+
SuiAddress | undefined,
|
195
|
+
_0x1.ascii.String | undefined
|
172
196
|
]> {
|
173
|
-
arguments_decoded: [
|
197
|
+
arguments_decoded: [
|
198
|
+
SuiAddress | undefined,
|
199
|
+
SuiAddress | undefined,
|
200
|
+
_0x1.ascii.String | undefined
|
201
|
+
];
|
174
202
|
type_arguments: [string];
|
175
203
|
}
|
176
204
|
}
|
@@ -221,31 +249,55 @@ export declare namespace display {
|
|
221
249
|
data_decoded: VersionUpdated<any>;
|
222
250
|
type_arguments: [string];
|
223
251
|
}
|
224
|
-
interface AddPayload<T0 = any> extends TypedFunctionPayload<[
|
225
|
-
|
252
|
+
interface AddPayload<T0 = any> extends TypedFunctionPayload<[
|
253
|
+
SuiAddress | undefined,
|
254
|
+
string | undefined,
|
255
|
+
string | undefined
|
256
|
+
]> {
|
257
|
+
arguments_decoded: [
|
258
|
+
SuiAddress | undefined,
|
259
|
+
string | undefined,
|
260
|
+
string | undefined
|
261
|
+
];
|
226
262
|
type_arguments: [string];
|
227
263
|
}
|
228
264
|
interface AddMultiplePayload<T0 = any> extends TypedFunctionPayload<[
|
229
265
|
SuiAddress | undefined,
|
266
|
+
string[] | undefined,
|
230
267
|
string[] | undefined
|
231
268
|
]> {
|
232
|
-
arguments_decoded: [
|
269
|
+
arguments_decoded: [
|
270
|
+
SuiAddress | undefined,
|
271
|
+
string[] | undefined,
|
272
|
+
string[] | undefined
|
273
|
+
];
|
233
274
|
type_arguments: [string];
|
234
275
|
}
|
235
|
-
interface CreateAndKeepPayload<T0 = any> extends TypedFunctionPayload<[
|
236
|
-
|
276
|
+
interface CreateAndKeepPayload<T0 = any> extends TypedFunctionPayload<[
|
277
|
+
SuiAddress | undefined,
|
278
|
+
SuiAddress | undefined
|
279
|
+
]> {
|
280
|
+
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
237
281
|
type_arguments: [string];
|
238
282
|
}
|
239
|
-
interface EditPayload<T0 = any> extends TypedFunctionPayload<[
|
240
|
-
|
283
|
+
interface EditPayload<T0 = any> extends TypedFunctionPayload<[
|
284
|
+
SuiAddress | undefined,
|
285
|
+
string | undefined,
|
286
|
+
string | undefined
|
287
|
+
]> {
|
288
|
+
arguments_decoded: [
|
289
|
+
SuiAddress | undefined,
|
290
|
+
string | undefined,
|
291
|
+
string | undefined
|
292
|
+
];
|
241
293
|
type_arguments: [string];
|
242
294
|
}
|
243
|
-
interface RemovePayload<T0 = any> extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
244
|
-
arguments_decoded: [SuiAddress | undefined];
|
295
|
+
interface RemovePayload<T0 = any> extends TypedFunctionPayload<[SuiAddress | undefined, string | undefined]> {
|
296
|
+
arguments_decoded: [SuiAddress | undefined, string | undefined];
|
245
297
|
type_arguments: [string];
|
246
298
|
}
|
247
|
-
interface UpdateVersionPayload<T0 = any> extends TypedFunctionPayload<[]> {
|
248
|
-
arguments_decoded: [];
|
299
|
+
interface UpdateVersionPayload<T0 = any> extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
300
|
+
arguments_decoded: [SuiAddress | undefined];
|
249
301
|
type_arguments: [string];
|
250
302
|
}
|
251
303
|
}
|
@@ -534,16 +586,16 @@ export declare namespace package_ {
|
|
534
586
|
const TYPE_QNAME = "0x2::package::UpgradeTicket";
|
535
587
|
function type(): TypeDescriptor<UpgradeTicket>;
|
536
588
|
}
|
537
|
-
interface MakeImmutablePayload extends TypedFunctionPayload<[]> {
|
538
|
-
arguments_decoded: [];
|
589
|
+
interface MakeImmutablePayload extends TypedFunctionPayload<[package_.UpgradeCap | undefined]> {
|
590
|
+
arguments_decoded: [package_.UpgradeCap | undefined];
|
539
591
|
type_arguments: [];
|
540
592
|
}
|
541
|
-
interface OnlyAdditiveUpgradesPayload extends TypedFunctionPayload<[]> {
|
542
|
-
arguments_decoded: [];
|
593
|
+
interface OnlyAdditiveUpgradesPayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
594
|
+
arguments_decoded: [SuiAddress | undefined];
|
543
595
|
type_arguments: [];
|
544
596
|
}
|
545
|
-
interface OnlyDepUpgradesPayload extends TypedFunctionPayload<[]> {
|
546
|
-
arguments_decoded: [];
|
597
|
+
interface OnlyDepUpgradesPayload extends TypedFunctionPayload<[SuiAddress | undefined]> {
|
598
|
+
arguments_decoded: [SuiAddress | undefined];
|
547
599
|
type_arguments: [];
|
548
600
|
}
|
549
601
|
}
|
@@ -560,43 +612,75 @@ export declare class pay extends SuiBaseProcessor {
|
|
560
612
|
onEntrySplitVec(func: (call: pay.SplitVecPayload, ctx: SuiContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): pay;
|
561
613
|
}
|
562
614
|
export declare namespace pay {
|
563
|
-
interface DivideAndKeepPayload<T0 = any> extends TypedFunctionPayload<[
|
564
|
-
|
615
|
+
interface DivideAndKeepPayload<T0 = any> extends TypedFunctionPayload<[
|
616
|
+
SuiAddress | undefined,
|
617
|
+
bigint | undefined,
|
618
|
+
SuiAddress | undefined
|
619
|
+
]> {
|
620
|
+
arguments_decoded: [
|
621
|
+
SuiAddress | undefined,
|
622
|
+
bigint | undefined,
|
623
|
+
SuiAddress | undefined
|
624
|
+
];
|
565
625
|
type_arguments: [string];
|
566
626
|
}
|
567
|
-
interface JoinPayload<T0 = any> extends TypedFunctionPayload<[
|
568
|
-
|
627
|
+
interface JoinPayload<T0 = any> extends TypedFunctionPayload<[
|
628
|
+
SuiAddress | undefined,
|
629
|
+
coin.Coin<T0> | undefined
|
630
|
+
]> {
|
631
|
+
arguments_decoded: [SuiAddress | undefined, coin.Coin<T0> | undefined];
|
569
632
|
type_arguments: [string];
|
570
633
|
}
|
571
|
-
interface JoinVecPayload<T0 = any> extends TypedFunctionPayload<[
|
572
|
-
|
634
|
+
interface JoinVecPayload<T0 = any> extends TypedFunctionPayload<[
|
635
|
+
SuiAddress | undefined,
|
636
|
+
coin.Coin<T0>[] | undefined
|
637
|
+
]> {
|
638
|
+
arguments_decoded: [SuiAddress | undefined, coin.Coin<T0>[] | undefined];
|
573
639
|
type_arguments: [string];
|
574
640
|
}
|
575
|
-
interface JoinVecAndTransferPayload<T0 = any> extends TypedFunctionPayload<[
|
576
|
-
|
641
|
+
interface JoinVecAndTransferPayload<T0 = any> extends TypedFunctionPayload<[
|
642
|
+
coin.Coin<T0>[] | undefined,
|
643
|
+
SuiAddress | undefined
|
644
|
+
]> {
|
645
|
+
arguments_decoded: [coin.Coin<T0>[] | undefined, SuiAddress | undefined];
|
577
646
|
type_arguments: [string];
|
578
647
|
}
|
579
|
-
interface SplitPayload<T0 = any> extends TypedFunctionPayload<[
|
580
|
-
|
648
|
+
interface SplitPayload<T0 = any> extends TypedFunctionPayload<[
|
649
|
+
SuiAddress | undefined,
|
650
|
+
bigint | undefined,
|
651
|
+
SuiAddress | undefined
|
652
|
+
]> {
|
653
|
+
arguments_decoded: [
|
654
|
+
SuiAddress | undefined,
|
655
|
+
bigint | undefined,
|
656
|
+
SuiAddress | undefined
|
657
|
+
];
|
581
658
|
type_arguments: [string];
|
582
659
|
}
|
583
660
|
interface SplitAndTransferPayload<T0 = any> extends TypedFunctionPayload<[
|
584
661
|
SuiAddress | undefined,
|
585
662
|
bigint | undefined,
|
663
|
+
SuiAddress | undefined,
|
586
664
|
SuiAddress | undefined
|
587
665
|
]> {
|
588
666
|
arguments_decoded: [
|
589
667
|
SuiAddress | undefined,
|
590
668
|
bigint | undefined,
|
669
|
+
SuiAddress | undefined,
|
591
670
|
SuiAddress | undefined
|
592
671
|
];
|
593
672
|
type_arguments: [string];
|
594
673
|
}
|
595
674
|
interface SplitVecPayload<T0 = any> extends TypedFunctionPayload<[
|
596
675
|
SuiAddress | undefined,
|
597
|
-
bigint[] | undefined
|
676
|
+
bigint[] | undefined,
|
677
|
+
SuiAddress | undefined
|
598
678
|
]> {
|
599
|
-
arguments_decoded: [
|
679
|
+
arguments_decoded: [
|
680
|
+
SuiAddress | undefined,
|
681
|
+
bigint[] | undefined,
|
682
|
+
SuiAddress | undefined
|
683
|
+
];
|
600
684
|
type_arguments: [string];
|
601
685
|
}
|
602
686
|
}
|
@@ -632,8 +716,11 @@ export declare namespace sui {
|
|
632
716
|
const TYPE_QNAME = "0x2::sui::SUI";
|
633
717
|
function type(): TypeDescriptor<SUI>;
|
634
718
|
}
|
635
|
-
interface TransferPayload extends TypedFunctionPayload<[
|
636
|
-
|
719
|
+
interface TransferPayload extends TypedFunctionPayload<[
|
720
|
+
coin.Coin<sui.SUI> | undefined,
|
721
|
+
SuiAddress | undefined
|
722
|
+
]> {
|
723
|
+
arguments_decoded: [coin.Coin<sui.SUI> | undefined, SuiAddress | undefined];
|
637
724
|
type_arguments: [];
|
638
725
|
}
|
639
726
|
}
|