@sentio/sdk 2.22.3-rc.1 → 2.22.3-rc.3
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/aptos/builtin/0x1.d.ts +337 -338
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +52 -69
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +0 -1
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/move/abstract-codegen.d.ts.map +1 -1
- package/lib/move/abstract-codegen.js +2 -2
- package/lib/move/abstract-codegen.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +72 -76
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +155 -171
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +0 -2
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/lib/sui/index.d.ts +0 -1
- package/lib/sui/index.d.ts.map +1 -1
- package/lib/sui/index.js.map +1 -1
- package/lib/sui/move-types.d.ts +0 -1
- package/lib/sui/move-types.d.ts.map +1 -1
- package/lib/sui/move-types.js.map +1 -1
- package/lib/sui/sui-processor.js +3 -3
- package/lib/sui/sui-processor.js.map +1 -1
- package/package.json +4 -4
- package/src/aptos/builtin/0x1.ts +337 -341
- package/src/aptos/builtin/0x3.ts +45 -61
- package/src/aptos/codegen/codegen.ts +0 -1
- package/src/move/abstract-codegen.ts +2 -2
- package/src/sui/builtin/0x1.ts +1 -1
- package/src/sui/builtin/0x2.ts +66 -76
- package/src/sui/builtin/0x3.ts +133 -144
- package/src/sui/codegen/codegen.ts +0 -2
- package/src/sui/index.ts +0 -1
- package/src/sui/move-types.ts +0 -2
- package/src/sui/sui-processor.ts +3 -3
package/src/sui/builtin/0x2.ts
CHANGED
@@ -20,7 +20,7 @@ import {
|
|
20
20
|
TypedFunctionPayload,
|
21
21
|
SuiContext,
|
22
22
|
} from "@sentio/sdk/sui";
|
23
|
-
import {
|
23
|
+
import { ModuleClient } from "@sentio/sdk/sui";
|
24
24
|
|
25
25
|
import * as _0x1 from "./0x1.js";
|
26
26
|
|
@@ -127,7 +127,7 @@ export namespace bls12381 {}
|
|
127
127
|
|
128
128
|
export namespace borrow {
|
129
129
|
export interface Borrow {
|
130
|
-
ref:
|
130
|
+
ref: string;
|
131
131
|
obj: object_.ID;
|
132
132
|
}
|
133
133
|
|
@@ -142,7 +142,7 @@ export namespace borrow {
|
|
142
142
|
}
|
143
143
|
|
144
144
|
export interface Referent<T0> {
|
145
|
-
id:
|
145
|
+
id: string;
|
146
146
|
value: _0x1.option.Option<T0>;
|
147
147
|
}
|
148
148
|
|
@@ -394,45 +394,45 @@ export namespace coin {
|
|
394
394
|
|
395
395
|
export interface BurnPayload<T0 = any>
|
396
396
|
extends TypedFunctionPayload<
|
397
|
-
[
|
397
|
+
[string | undefined, coin.Coin<T0> | undefined]
|
398
398
|
> {
|
399
|
-
arguments_decoded: [
|
399
|
+
arguments_decoded: [string | undefined, coin.Coin<T0> | undefined];
|
400
400
|
type_arguments: [string];
|
401
401
|
}
|
402
402
|
|
403
403
|
export interface JoinPayload<T0 = any>
|
404
404
|
extends TypedFunctionPayload<
|
405
|
-
[
|
405
|
+
[string | undefined, coin.Coin<T0> | undefined]
|
406
406
|
> {
|
407
|
-
arguments_decoded: [
|
407
|
+
arguments_decoded: [string | undefined, coin.Coin<T0> | undefined];
|
408
408
|
type_arguments: [string];
|
409
409
|
}
|
410
410
|
|
411
411
|
export interface MintAndTransferPayload<T0 = any>
|
412
412
|
extends TypedFunctionPayload<
|
413
413
|
[
|
414
|
-
|
414
|
+
string | undefined,
|
415
415
|
bigint | undefined,
|
416
|
-
|
417
|
-
|
416
|
+
string | undefined,
|
417
|
+
string | undefined
|
418
418
|
]
|
419
419
|
> {
|
420
420
|
arguments_decoded: [
|
421
|
-
|
421
|
+
string | undefined,
|
422
422
|
bigint | undefined,
|
423
|
-
|
424
|
-
|
423
|
+
string | undefined,
|
424
|
+
string | undefined
|
425
425
|
];
|
426
426
|
type_arguments: [string];
|
427
427
|
}
|
428
428
|
|
429
429
|
export interface UpdateDescriptionPayload<T0 = any>
|
430
430
|
extends TypedFunctionPayload<
|
431
|
-
[
|
431
|
+
[string | undefined, string | undefined, string | undefined]
|
432
432
|
> {
|
433
433
|
arguments_decoded: [
|
434
|
-
|
435
|
-
|
434
|
+
string | undefined,
|
435
|
+
string | undefined,
|
436
436
|
string | undefined
|
437
437
|
];
|
438
438
|
type_arguments: [string];
|
@@ -440,15 +440,11 @@ export namespace coin {
|
|
440
440
|
|
441
441
|
export interface UpdateIconUrlPayload<T0 = any>
|
442
442
|
extends TypedFunctionPayload<
|
443
|
-
[
|
444
|
-
SuiAddress | undefined,
|
445
|
-
SuiAddress | undefined,
|
446
|
-
_0x1.ascii.String | undefined
|
447
|
-
]
|
443
|
+
[string | undefined, string | undefined, _0x1.ascii.String | undefined]
|
448
444
|
> {
|
449
445
|
arguments_decoded: [
|
450
|
-
|
451
|
-
|
446
|
+
string | undefined,
|
447
|
+
string | undefined,
|
452
448
|
_0x1.ascii.String | undefined
|
453
449
|
];
|
454
450
|
type_arguments: [string];
|
@@ -456,11 +452,11 @@ export namespace coin {
|
|
456
452
|
|
457
453
|
export interface UpdateNamePayload<T0 = any>
|
458
454
|
extends TypedFunctionPayload<
|
459
|
-
[
|
455
|
+
[string | undefined, string | undefined, string | undefined]
|
460
456
|
> {
|
461
457
|
arguments_decoded: [
|
462
|
-
|
463
|
-
|
458
|
+
string | undefined,
|
459
|
+
string | undefined,
|
464
460
|
string | undefined
|
465
461
|
];
|
466
462
|
type_arguments: [string];
|
@@ -468,15 +464,11 @@ export namespace coin {
|
|
468
464
|
|
469
465
|
export interface UpdateSymbolPayload<T0 = any>
|
470
466
|
extends TypedFunctionPayload<
|
471
|
-
[
|
472
|
-
SuiAddress | undefined,
|
473
|
-
SuiAddress | undefined,
|
474
|
-
_0x1.ascii.String | undefined
|
475
|
-
]
|
467
|
+
[string | undefined, string | undefined, _0x1.ascii.String | undefined]
|
476
468
|
> {
|
477
469
|
arguments_decoded: [
|
478
|
-
|
479
|
-
|
470
|
+
string | undefined,
|
471
|
+
string | undefined,
|
480
472
|
_0x1.ascii.String | undefined
|
481
473
|
];
|
482
474
|
type_arguments: [string];
|
@@ -692,10 +684,10 @@ export namespace display {
|
|
692
684
|
|
693
685
|
export interface AddPayload<T0 = any>
|
694
686
|
extends TypedFunctionPayload<
|
695
|
-
[
|
687
|
+
[string | undefined, string | undefined, string | undefined]
|
696
688
|
> {
|
697
689
|
arguments_decoded: [
|
698
|
-
|
690
|
+
string | undefined,
|
699
691
|
string | undefined,
|
700
692
|
string | undefined
|
701
693
|
];
|
@@ -704,10 +696,10 @@ export namespace display {
|
|
704
696
|
|
705
697
|
export interface AddMultiplePayload<T0 = any>
|
706
698
|
extends TypedFunctionPayload<
|
707
|
-
[
|
699
|
+
[string | undefined, string[] | undefined, string[] | undefined]
|
708
700
|
> {
|
709
701
|
arguments_decoded: [
|
710
|
-
|
702
|
+
string | undefined,
|
711
703
|
string[] | undefined,
|
712
704
|
string[] | undefined
|
713
705
|
];
|
@@ -715,19 +707,17 @@ export namespace display {
|
|
715
707
|
}
|
716
708
|
|
717
709
|
export interface CreateAndKeepPayload<T0 = any>
|
718
|
-
extends TypedFunctionPayload<
|
719
|
-
|
720
|
-
> {
|
721
|
-
arguments_decoded: [SuiAddress | undefined, SuiAddress | undefined];
|
710
|
+
extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
711
|
+
arguments_decoded: [string | undefined, string | undefined];
|
722
712
|
type_arguments: [string];
|
723
713
|
}
|
724
714
|
|
725
715
|
export interface EditPayload<T0 = any>
|
726
716
|
extends TypedFunctionPayload<
|
727
|
-
[
|
717
|
+
[string | undefined, string | undefined, string | undefined]
|
728
718
|
> {
|
729
719
|
arguments_decoded: [
|
730
|
-
|
720
|
+
string | undefined,
|
731
721
|
string | undefined,
|
732
722
|
string | undefined
|
733
723
|
];
|
@@ -735,14 +725,14 @@ export namespace display {
|
|
735
725
|
}
|
736
726
|
|
737
727
|
export interface RemovePayload<T0 = any>
|
738
|
-
extends TypedFunctionPayload<[
|
739
|
-
arguments_decoded: [
|
728
|
+
extends TypedFunctionPayload<[string | undefined, string | undefined]> {
|
729
|
+
arguments_decoded: [string | undefined, string | undefined];
|
740
730
|
type_arguments: [string];
|
741
731
|
}
|
742
732
|
|
743
733
|
export interface UpdateVersionPayload<T0 = any>
|
744
|
-
extends TypedFunctionPayload<[
|
745
|
-
arguments_decoded: [
|
734
|
+
extends TypedFunctionPayload<[string | undefined]> {
|
735
|
+
arguments_decoded: [string | undefined];
|
746
736
|
type_arguments: [string];
|
747
737
|
}
|
748
738
|
}
|
@@ -1210,7 +1200,7 @@ export namespace kiosk {
|
|
1210
1200
|
export interface Kiosk {
|
1211
1201
|
id: object_.UID;
|
1212
1202
|
profits: balance.Balance<sui.SUI>;
|
1213
|
-
owner:
|
1203
|
+
owner: string;
|
1214
1204
|
item_count: number;
|
1215
1205
|
allow_extensions: Boolean;
|
1216
1206
|
}
|
@@ -1545,14 +1535,14 @@ export namespace package_ {
|
|
1545
1535
|
}
|
1546
1536
|
|
1547
1537
|
export interface OnlyAdditiveUpgradesPayload
|
1548
|
-
extends TypedFunctionPayload<[
|
1549
|
-
arguments_decoded: [
|
1538
|
+
extends TypedFunctionPayload<[string | undefined]> {
|
1539
|
+
arguments_decoded: [string | undefined];
|
1550
1540
|
type_arguments: [];
|
1551
1541
|
}
|
1552
1542
|
|
1553
1543
|
export interface OnlyDepUpgradesPayload
|
1554
|
-
extends TypedFunctionPayload<[
|
1555
|
-
arguments_decoded: [
|
1544
|
+
extends TypedFunctionPayload<[string | undefined]> {
|
1545
|
+
arguments_decoded: [string | undefined];
|
1556
1546
|
type_arguments: [];
|
1557
1547
|
}
|
1558
1548
|
}
|
@@ -1686,48 +1676,48 @@ export class pay extends SuiBaseProcessor {
|
|
1686
1676
|
export namespace pay {
|
1687
1677
|
export interface DivideAndKeepPayload<T0 = any>
|
1688
1678
|
extends TypedFunctionPayload<
|
1689
|
-
[
|
1679
|
+
[string | undefined, bigint | undefined, string | undefined]
|
1690
1680
|
> {
|
1691
1681
|
arguments_decoded: [
|
1692
|
-
|
1682
|
+
string | undefined,
|
1693
1683
|
bigint | undefined,
|
1694
|
-
|
1684
|
+
string | undefined
|
1695
1685
|
];
|
1696
1686
|
type_arguments: [string];
|
1697
1687
|
}
|
1698
1688
|
|
1699
1689
|
export interface JoinPayload<T0 = any>
|
1700
1690
|
extends TypedFunctionPayload<
|
1701
|
-
[
|
1691
|
+
[string | undefined, coin.Coin<T0> | undefined]
|
1702
1692
|
> {
|
1703
|
-
arguments_decoded: [
|
1693
|
+
arguments_decoded: [string | undefined, coin.Coin<T0> | undefined];
|
1704
1694
|
type_arguments: [string];
|
1705
1695
|
}
|
1706
1696
|
|
1707
1697
|
export interface JoinVecPayload<T0 = any>
|
1708
1698
|
extends TypedFunctionPayload<
|
1709
|
-
[
|
1699
|
+
[string | undefined, coin.Coin<T0>[] | undefined]
|
1710
1700
|
> {
|
1711
|
-
arguments_decoded: [
|
1701
|
+
arguments_decoded: [string | undefined, coin.Coin<T0>[] | undefined];
|
1712
1702
|
type_arguments: [string];
|
1713
1703
|
}
|
1714
1704
|
|
1715
1705
|
export interface JoinVecAndTransferPayload<T0 = any>
|
1716
1706
|
extends TypedFunctionPayload<
|
1717
|
-
[coin.Coin<T0>[] | undefined,
|
1707
|
+
[coin.Coin<T0>[] | undefined, string | undefined]
|
1718
1708
|
> {
|
1719
|
-
arguments_decoded: [coin.Coin<T0>[] | undefined,
|
1709
|
+
arguments_decoded: [coin.Coin<T0>[] | undefined, string | undefined];
|
1720
1710
|
type_arguments: [string];
|
1721
1711
|
}
|
1722
1712
|
|
1723
1713
|
export interface SplitPayload<T0 = any>
|
1724
1714
|
extends TypedFunctionPayload<
|
1725
|
-
[
|
1715
|
+
[string | undefined, bigint | undefined, string | undefined]
|
1726
1716
|
> {
|
1727
1717
|
arguments_decoded: [
|
1728
|
-
|
1718
|
+
string | undefined,
|
1729
1719
|
bigint | undefined,
|
1730
|
-
|
1720
|
+
string | undefined
|
1731
1721
|
];
|
1732
1722
|
type_arguments: [string];
|
1733
1723
|
}
|
@@ -1735,29 +1725,29 @@ export namespace pay {
|
|
1735
1725
|
export interface SplitAndTransferPayload<T0 = any>
|
1736
1726
|
extends TypedFunctionPayload<
|
1737
1727
|
[
|
1738
|
-
|
1728
|
+
string | undefined,
|
1739
1729
|
bigint | undefined,
|
1740
|
-
|
1741
|
-
|
1730
|
+
string | undefined,
|
1731
|
+
string | undefined
|
1742
1732
|
]
|
1743
1733
|
> {
|
1744
1734
|
arguments_decoded: [
|
1745
|
-
|
1735
|
+
string | undefined,
|
1746
1736
|
bigint | undefined,
|
1747
|
-
|
1748
|
-
|
1737
|
+
string | undefined,
|
1738
|
+
string | undefined
|
1749
1739
|
];
|
1750
1740
|
type_arguments: [string];
|
1751
1741
|
}
|
1752
1742
|
|
1753
1743
|
export interface SplitVecPayload<T0 = any>
|
1754
1744
|
extends TypedFunctionPayload<
|
1755
|
-
[
|
1745
|
+
[string | undefined, bigint[] | undefined, string | undefined]
|
1756
1746
|
> {
|
1757
1747
|
arguments_decoded: [
|
1758
|
-
|
1748
|
+
string | undefined,
|
1759
1749
|
bigint[] | undefined,
|
1760
|
-
|
1750
|
+
string | undefined
|
1761
1751
|
];
|
1762
1752
|
type_arguments: [string];
|
1763
1753
|
}
|
@@ -1849,9 +1839,9 @@ export namespace sui {
|
|
1849
1839
|
|
1850
1840
|
export interface TransferPayload
|
1851
1841
|
extends TypedFunctionPayload<
|
1852
|
-
[coin.Coin<sui.SUI> | undefined,
|
1842
|
+
[coin.Coin<sui.SUI> | undefined, string | undefined]
|
1853
1843
|
> {
|
1854
|
-
arguments_decoded: [coin.Coin<sui.SUI> | undefined,
|
1844
|
+
arguments_decoded: [coin.Coin<sui.SUI> | undefined, string | undefined];
|
1855
1845
|
type_arguments: [];
|
1856
1846
|
}
|
1857
1847
|
}
|
@@ -2053,7 +2043,7 @@ export namespace transfer_policy {
|
|
2053
2043
|
|
2054
2044
|
export namespace tx_context {
|
2055
2045
|
export interface TxContext {
|
2056
|
-
sender:
|
2046
|
+
sender: string;
|
2057
2047
|
tx_hash: number[];
|
2058
2048
|
epoch: bigint;
|
2059
2049
|
epoch_timestamp_ms: bigint;
|