@typemove/sui 1.2.7-rc.1 → 1.2.7-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/dist/cjs/builtin/0x1.d.ts +2 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +25 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +354 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +1044 -200
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +45 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +127 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +2 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +25 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +354 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +1043 -199
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +45 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +127 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/package.json +5 -4
- package/src/abis/0x1.json +152 -39
- package/src/abis/0x2.json +3765 -1057
- package/src/abis/0x3.json +806 -121
- package/src/builtin/0x1.ts +35 -1
- package/src/builtin/0x2.ts +5452 -4066
- package/src/builtin/0x3.ts +210 -1
|
@@ -27,6 +27,65 @@ export declare namespace address {
|
|
|
27
27
|
function toU256(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
|
+
export declare namespace authenticator_state {
|
|
31
|
+
interface ActiveJwk {
|
|
32
|
+
jwk_id: authenticator_state.JwkId;
|
|
33
|
+
jwk: authenticator_state.JWK;
|
|
34
|
+
epoch: bigint;
|
|
35
|
+
}
|
|
36
|
+
namespace ActiveJwk {
|
|
37
|
+
const TYPE_QNAME = "0x2::authenticator_state::ActiveJwk";
|
|
38
|
+
function type(): TypeDescriptor<ActiveJwk>;
|
|
39
|
+
}
|
|
40
|
+
interface ActiveJwkInstance extends TypedEventInstance<ActiveJwk> {
|
|
41
|
+
data_decoded: ActiveJwk;
|
|
42
|
+
type_arguments: [];
|
|
43
|
+
}
|
|
44
|
+
interface AuthenticatorState {
|
|
45
|
+
id: object_.UID;
|
|
46
|
+
version: bigint;
|
|
47
|
+
}
|
|
48
|
+
namespace AuthenticatorState {
|
|
49
|
+
const TYPE_QNAME = "0x2::authenticator_state::AuthenticatorState";
|
|
50
|
+
function type(): TypeDescriptor<AuthenticatorState>;
|
|
51
|
+
}
|
|
52
|
+
interface AuthenticatorStateInner {
|
|
53
|
+
version: bigint;
|
|
54
|
+
active_jwks: authenticator_state.ActiveJwk[];
|
|
55
|
+
}
|
|
56
|
+
namespace AuthenticatorStateInner {
|
|
57
|
+
const TYPE_QNAME = "0x2::authenticator_state::AuthenticatorStateInner";
|
|
58
|
+
function type(): TypeDescriptor<AuthenticatorStateInner>;
|
|
59
|
+
}
|
|
60
|
+
interface JWK {
|
|
61
|
+
kty: string;
|
|
62
|
+
e: string;
|
|
63
|
+
n: string;
|
|
64
|
+
alg: string;
|
|
65
|
+
}
|
|
66
|
+
namespace JWK {
|
|
67
|
+
const TYPE_QNAME = "0x2::authenticator_state::JWK";
|
|
68
|
+
function type(): TypeDescriptor<JWK>;
|
|
69
|
+
}
|
|
70
|
+
interface JWKInstance extends TypedEventInstance<JWK> {
|
|
71
|
+
data_decoded: JWK;
|
|
72
|
+
type_arguments: [];
|
|
73
|
+
}
|
|
74
|
+
interface JwkId {
|
|
75
|
+
iss: string;
|
|
76
|
+
kid: string;
|
|
77
|
+
}
|
|
78
|
+
namespace JwkId {
|
|
79
|
+
const TYPE_QNAME = "0x2::authenticator_state::JwkId";
|
|
80
|
+
function type(): TypeDescriptor<JwkId>;
|
|
81
|
+
}
|
|
82
|
+
interface JwkIdInstance extends TypedEventInstance<JwkId> {
|
|
83
|
+
data_decoded: JwkId;
|
|
84
|
+
type_arguments: [];
|
|
85
|
+
}
|
|
86
|
+
namespace builder { }
|
|
87
|
+
namespace view { }
|
|
88
|
+
}
|
|
30
89
|
export declare namespace bag {
|
|
31
90
|
interface Bag {
|
|
32
91
|
id: object_.UID;
|
|
@@ -1322,6 +1381,7 @@ export declare namespace kiosk {
|
|
|
1322
1381
|
object_.ID | TransactionArgument
|
|
1323
1382
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1324
1383
|
function itemCount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1384
|
+
function kioskOwnerCapFor(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1325
1385
|
function list<T0 = any>(tx: TransactionBlock, args: [
|
|
1326
1386
|
string | ObjectCallArg | TransactionArgument,
|
|
1327
1387
|
string | ObjectCallArg | TransactionArgument,
|
|
@@ -1523,6 +1583,7 @@ export declare namespace kiosk {
|
|
|
1523
1583
|
object_.ID | TransactionArgument
|
|
1524
1584
|
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1525
1585
|
function itemCount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
1586
|
+
function kioskOwnerCapFor(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1526
1587
|
function list<T0 = any>(client: SuiClient, args: [
|
|
1527
1588
|
string | ObjectCallArg | TransactionArgument,
|
|
1528
1589
|
string | ObjectCallArg | TransactionArgument,
|
|
@@ -1616,6 +1677,134 @@ export declare namespace kiosk {
|
|
|
1616
1677
|
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
1617
1678
|
}
|
|
1618
1679
|
}
|
|
1680
|
+
export declare namespace kiosk_extension {
|
|
1681
|
+
interface Extension {
|
|
1682
|
+
storage: bag.Bag;
|
|
1683
|
+
permissions: bigint;
|
|
1684
|
+
is_enabled: Boolean;
|
|
1685
|
+
}
|
|
1686
|
+
namespace Extension {
|
|
1687
|
+
const TYPE_QNAME = "0x2::kiosk_extension::Extension";
|
|
1688
|
+
function type(): TypeDescriptor<Extension>;
|
|
1689
|
+
}
|
|
1690
|
+
interface ExtensionKey<T0> {
|
|
1691
|
+
dummy_field: Boolean;
|
|
1692
|
+
}
|
|
1693
|
+
namespace ExtensionKey {
|
|
1694
|
+
const TYPE_QNAME = "0x2::kiosk_extension::ExtensionKey";
|
|
1695
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ExtensionKey<T0>>;
|
|
1696
|
+
}
|
|
1697
|
+
interface ExtensionKeyInstance extends TypedEventInstance<ExtensionKey<any>> {
|
|
1698
|
+
data_decoded: ExtensionKey<any>;
|
|
1699
|
+
type_arguments: [string];
|
|
1700
|
+
}
|
|
1701
|
+
namespace builder {
|
|
1702
|
+
function add<T0 = any>(tx: TransactionBlock, args: [
|
|
1703
|
+
T0 | TransactionArgument,
|
|
1704
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1705
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1706
|
+
bigint | TransactionArgument,
|
|
1707
|
+
string | ObjectCallArg | TransactionArgument
|
|
1708
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1709
|
+
TransactionArgument,
|
|
1710
|
+
TransactionArgument,
|
|
1711
|
+
TransactionArgument,
|
|
1712
|
+
TransactionArgument,
|
|
1713
|
+
TransactionArgument
|
|
1714
|
+
];
|
|
1715
|
+
function canLock<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1716
|
+
function canPlace<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1717
|
+
function disable<T0 = any>(tx: TransactionBlock, args: [
|
|
1718
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1719
|
+
string | ObjectCallArg | TransactionArgument
|
|
1720
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1721
|
+
function enable<T0 = any>(tx: TransactionBlock, args: [
|
|
1722
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1723
|
+
string | ObjectCallArg | TransactionArgument
|
|
1724
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1725
|
+
function isEnabled<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1726
|
+
function isInstalled<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1727
|
+
function lock<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1728
|
+
T0 | TransactionArgument,
|
|
1729
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1730
|
+
T1 | TransactionArgument,
|
|
1731
|
+
string | ObjectCallArg | TransactionArgument
|
|
1732
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1733
|
+
TransactionArgument,
|
|
1734
|
+
TransactionArgument,
|
|
1735
|
+
TransactionArgument,
|
|
1736
|
+
TransactionArgument
|
|
1737
|
+
];
|
|
1738
|
+
function place<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1739
|
+
T0 | TransactionArgument,
|
|
1740
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1741
|
+
T1 | TransactionArgument,
|
|
1742
|
+
string | ObjectCallArg | TransactionArgument
|
|
1743
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1744
|
+
TransactionArgument,
|
|
1745
|
+
TransactionArgument,
|
|
1746
|
+
TransactionArgument,
|
|
1747
|
+
TransactionArgument
|
|
1748
|
+
];
|
|
1749
|
+
function remove<T0 = any>(tx: TransactionBlock, args: [
|
|
1750
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1751
|
+
string | ObjectCallArg | TransactionArgument
|
|
1752
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1753
|
+
function storage<T0 = any>(tx: TransactionBlock, args: [
|
|
1754
|
+
T0 | TransactionArgument,
|
|
1755
|
+
string | ObjectCallArg | TransactionArgument
|
|
1756
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1757
|
+
function storageMut<T0 = any>(tx: TransactionBlock, args: [
|
|
1758
|
+
T0 | TransactionArgument,
|
|
1759
|
+
string | ObjectCallArg | TransactionArgument
|
|
1760
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1761
|
+
}
|
|
1762
|
+
namespace view {
|
|
1763
|
+
function add<T0 = any>(client: SuiClient, args: [
|
|
1764
|
+
T0 | TransactionArgument,
|
|
1765
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1766
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1767
|
+
bigint | TransactionArgument,
|
|
1768
|
+
string | ObjectCallArg | TransactionArgument
|
|
1769
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1770
|
+
function canLock<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1771
|
+
function canPlace<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1772
|
+
function disable<T0 = any>(client: SuiClient, args: [
|
|
1773
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1774
|
+
string | ObjectCallArg | TransactionArgument
|
|
1775
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1776
|
+
function enable<T0 = any>(client: SuiClient, args: [
|
|
1777
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1778
|
+
string | ObjectCallArg | TransactionArgument
|
|
1779
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1780
|
+
function isEnabled<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1781
|
+
function isInstalled<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1782
|
+
function lock<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1783
|
+
T0 | TransactionArgument,
|
|
1784
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1785
|
+
T1 | TransactionArgument,
|
|
1786
|
+
string | ObjectCallArg | TransactionArgument
|
|
1787
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1788
|
+
function place<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1789
|
+
T0 | TransactionArgument,
|
|
1790
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1791
|
+
T1 | TransactionArgument,
|
|
1792
|
+
string | ObjectCallArg | TransactionArgument
|
|
1793
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1794
|
+
function remove<T0 = any>(client: SuiClient, args: [
|
|
1795
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1796
|
+
string | ObjectCallArg | TransactionArgument
|
|
1797
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1798
|
+
function storage<T0 = any>(client: SuiClient, args: [
|
|
1799
|
+
T0 | TransactionArgument,
|
|
1800
|
+
string | ObjectCallArg | TransactionArgument
|
|
1801
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1802
|
+
function storageMut<T0 = any>(client: SuiClient, args: [
|
|
1803
|
+
T0 | TransactionArgument,
|
|
1804
|
+
string | ObjectCallArg | TransactionArgument
|
|
1805
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1806
|
+
}
|
|
1807
|
+
}
|
|
1619
1808
|
export declare namespace linked_table {
|
|
1620
1809
|
interface LinkedTable<T0, T1> {
|
|
1621
1810
|
id: object_.UID;
|
|
@@ -2341,6 +2530,7 @@ export declare namespace table_vec {
|
|
|
2341
2530
|
bigint | TransactionArgument
|
|
2342
2531
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2343
2532
|
function destroyEmpty<T0 = any>(tx: TransactionBlock, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2533
|
+
function drop<T0 = any>(tx: TransactionBlock, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2344
2534
|
function empty<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2345
2535
|
function isEmpty<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2346
2536
|
function length<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
@@ -2353,6 +2543,19 @@ export declare namespace table_vec {
|
|
|
2353
2543
|
T0 | TransactionArgument,
|
|
2354
2544
|
string | ObjectCallArg | TransactionArgument
|
|
2355
2545
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2546
|
+
function swap<T0 = any>(tx: TransactionBlock, args: [
|
|
2547
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2548
|
+
bigint | TransactionArgument,
|
|
2549
|
+
bigint | TransactionArgument
|
|
2550
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2551
|
+
TransactionArgument,
|
|
2552
|
+
TransactionArgument,
|
|
2553
|
+
TransactionArgument
|
|
2554
|
+
];
|
|
2555
|
+
function swapRemove<T0 = any>(tx: TransactionBlock, args: [
|
|
2556
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2557
|
+
bigint | TransactionArgument
|
|
2558
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2356
2559
|
}
|
|
2357
2560
|
namespace view {
|
|
2358
2561
|
function borrow<T0 = any>(client: SuiClient, args: [
|
|
@@ -2364,6 +2567,7 @@ export declare namespace table_vec {
|
|
|
2364
2567
|
bigint | TransactionArgument
|
|
2365
2568
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2366
2569
|
function destroyEmpty<T0 = any>(client: SuiClient, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2570
|
+
function drop<T0 = any>(client: SuiClient, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2367
2571
|
function empty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
|
2368
2572
|
function isEmpty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2369
2573
|
function length<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
@@ -2376,14 +2580,35 @@ export declare namespace table_vec {
|
|
|
2376
2580
|
T0 | TransactionArgument,
|
|
2377
2581
|
string | ObjectCallArg | TransactionArgument
|
|
2378
2582
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
|
2583
|
+
function swap<T0 = any>(client: SuiClient, args: [
|
|
2584
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2585
|
+
bigint | TransactionArgument,
|
|
2586
|
+
bigint | TransactionArgument
|
|
2587
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2588
|
+
function swapRemove<T0 = any>(client: SuiClient, args: [
|
|
2589
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2590
|
+
bigint | TransactionArgument
|
|
2591
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
2379
2592
|
}
|
|
2380
2593
|
}
|
|
2381
2594
|
export declare namespace transfer {
|
|
2595
|
+
interface Receiving<T0> {
|
|
2596
|
+
id: object_.ID;
|
|
2597
|
+
version: bigint;
|
|
2598
|
+
}
|
|
2599
|
+
namespace Receiving {
|
|
2600
|
+
const TYPE_QNAME = "0x2::transfer::Receiving";
|
|
2601
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Receiving<T0>>;
|
|
2602
|
+
}
|
|
2382
2603
|
namespace builder {
|
|
2383
2604
|
function freezeObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2384
2605
|
function publicFreezeObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2385
2606
|
function publicShareObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2386
2607
|
function publicTransfer<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2608
|
+
function receive<T0 = any>(tx: TransactionBlock, args: [
|
|
2609
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2610
|
+
transfer.Receiving<T0> | TransactionArgument
|
|
2611
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2387
2612
|
function shareObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2388
2613
|
function transfer<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2389
2614
|
}
|
|
@@ -2392,6 +2617,10 @@ export declare namespace transfer {
|
|
|
2392
2617
|
function publicFreezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2393
2618
|
function publicShareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2394
2619
|
function publicTransfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2620
|
+
function receive<T0 = any>(client: SuiClient, args: [
|
|
2621
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2622
|
+
transfer.Receiving<T0> | TransactionArgument
|
|
2623
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
2395
2624
|
function shareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2396
2625
|
function transfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2397
2626
|
}
|
|
@@ -2627,12 +2856,14 @@ export declare namespace tx_context {
|
|
|
2627
2856
|
function type(): TypeDescriptor<TxContext>;
|
|
2628
2857
|
}
|
|
2629
2858
|
namespace builder {
|
|
2859
|
+
function digest(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2630
2860
|
function epoch(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2631
2861
|
function epochTimestampMs(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2632
2862
|
function freshObjectAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2633
2863
|
function sender(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2634
2864
|
}
|
|
2635
2865
|
namespace view {
|
|
2866
|
+
function digest(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2636
2867
|
function epoch(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2637
2868
|
function epochTimestampMs(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2638
2869
|
function freshObjectAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
@@ -2839,6 +3070,7 @@ export declare namespace vec_set {
|
|
|
2839
3070
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2840
3071
|
function intoKeys<T0 = any>(tx: TransactionBlock, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2841
3072
|
function isEmpty<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
3073
|
+
function keys<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2842
3074
|
function remove<T0 = any>(tx: TransactionBlock, args: [
|
|
2843
3075
|
string | ObjectCallArg | TransactionArgument,
|
|
2844
3076
|
string | ObjectCallArg | TransactionArgument
|
|
@@ -2858,6 +3090,7 @@ export declare namespace vec_set {
|
|
|
2858
3090
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2859
3091
|
function intoKeys<T0 = any>(client: SuiClient, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
|
2860
3092
|
function isEmpty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
3093
|
+
function keys<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2861
3094
|
function remove<T0 = any>(client: SuiClient, args: [
|
|
2862
3095
|
string | ObjectCallArg | TransactionArgument,
|
|
2863
3096
|
string | ObjectCallArg | TransactionArgument
|
|
@@ -2929,5 +3162,126 @@ export declare namespace versioned {
|
|
|
2929
3162
|
function version(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2930
3163
|
}
|
|
2931
3164
|
}
|
|
3165
|
+
export declare namespace zklogin_verified_id {
|
|
3166
|
+
interface VerifiedID {
|
|
3167
|
+
id: object_.UID;
|
|
3168
|
+
owner: string;
|
|
3169
|
+
key_claim_name: string;
|
|
3170
|
+
key_claim_value: string;
|
|
3171
|
+
issuer: string;
|
|
3172
|
+
audience: string;
|
|
3173
|
+
}
|
|
3174
|
+
namespace VerifiedID {
|
|
3175
|
+
const TYPE_QNAME = "0x2::zklogin_verified_id::VerifiedID";
|
|
3176
|
+
function type(): TypeDescriptor<VerifiedID>;
|
|
3177
|
+
}
|
|
3178
|
+
namespace builder {
|
|
3179
|
+
function audience(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3180
|
+
function checkZkloginId(tx: TransactionBlock, args: [
|
|
3181
|
+
string | TransactionArgument,
|
|
3182
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3183
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3184
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3185
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3186
|
+
bigint | TransactionArgument
|
|
3187
|
+
]): TransactionArgument & [
|
|
3188
|
+
TransactionArgument,
|
|
3189
|
+
TransactionArgument,
|
|
3190
|
+
TransactionArgument,
|
|
3191
|
+
TransactionArgument,
|
|
3192
|
+
TransactionArgument,
|
|
3193
|
+
TransactionArgument
|
|
3194
|
+
];
|
|
3195
|
+
function issuer(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3196
|
+
function keyClaimName(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3197
|
+
function keyClaimValue(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3198
|
+
function owner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3199
|
+
function verifyZkloginId(tx: TransactionBlock, args: [
|
|
3200
|
+
string | TransactionArgument,
|
|
3201
|
+
string | TransactionArgument,
|
|
3202
|
+
string | TransactionArgument,
|
|
3203
|
+
string | TransactionArgument,
|
|
3204
|
+
bigint | TransactionArgument,
|
|
3205
|
+
string | ObjectCallArg | TransactionArgument
|
|
3206
|
+
]): TransactionArgument & [
|
|
3207
|
+
TransactionArgument,
|
|
3208
|
+
TransactionArgument,
|
|
3209
|
+
TransactionArgument,
|
|
3210
|
+
TransactionArgument,
|
|
3211
|
+
TransactionArgument,
|
|
3212
|
+
TransactionArgument
|
|
3213
|
+
];
|
|
3214
|
+
}
|
|
3215
|
+
namespace view {
|
|
3216
|
+
function audience(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3217
|
+
function checkZkloginId(client: SuiClient, args: [
|
|
3218
|
+
string | TransactionArgument,
|
|
3219
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3220
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3221
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3222
|
+
string | ObjectCallArg | TransactionArgument,
|
|
3223
|
+
bigint | TransactionArgument
|
|
3224
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
3225
|
+
function issuer(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3226
|
+
function keyClaimName(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3227
|
+
function keyClaimValue(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3228
|
+
function owner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3229
|
+
function verifyZkloginId(client: SuiClient, args: [
|
|
3230
|
+
string | TransactionArgument,
|
|
3231
|
+
string | TransactionArgument,
|
|
3232
|
+
string | TransactionArgument,
|
|
3233
|
+
string | TransactionArgument,
|
|
3234
|
+
bigint | TransactionArgument,
|
|
3235
|
+
string | ObjectCallArg | TransactionArgument
|
|
3236
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
3237
|
+
}
|
|
3238
|
+
}
|
|
3239
|
+
export declare namespace zklogin_verified_issuer {
|
|
3240
|
+
interface VerifiedIssuer {
|
|
3241
|
+
id: object_.UID;
|
|
3242
|
+
owner: string;
|
|
3243
|
+
issuer: string;
|
|
3244
|
+
}
|
|
3245
|
+
namespace VerifiedIssuer {
|
|
3246
|
+
const TYPE_QNAME = "0x2::zklogin_verified_issuer::VerifiedIssuer";
|
|
3247
|
+
function type(): TypeDescriptor<VerifiedIssuer>;
|
|
3248
|
+
}
|
|
3249
|
+
namespace builder {
|
|
3250
|
+
function checkZkloginIssuer(tx: TransactionBlock, args: [
|
|
3251
|
+
string | TransactionArgument,
|
|
3252
|
+
bigint | TransactionArgument,
|
|
3253
|
+
string | ObjectCallArg | TransactionArgument
|
|
3254
|
+
]): TransactionArgument & [
|
|
3255
|
+
TransactionArgument,
|
|
3256
|
+
TransactionArgument,
|
|
3257
|
+
TransactionArgument
|
|
3258
|
+
];
|
|
3259
|
+
function issuer(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3260
|
+
function owner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3261
|
+
function verifyZkloginIssuer(tx: TransactionBlock, args: [
|
|
3262
|
+
bigint | TransactionArgument,
|
|
3263
|
+
string | TransactionArgument,
|
|
3264
|
+
string | ObjectCallArg | TransactionArgument
|
|
3265
|
+
]): TransactionArgument & [
|
|
3266
|
+
TransactionArgument,
|
|
3267
|
+
TransactionArgument,
|
|
3268
|
+
TransactionArgument
|
|
3269
|
+
];
|
|
3270
|
+
}
|
|
3271
|
+
namespace view {
|
|
3272
|
+
function checkZkloginIssuer(client: SuiClient, args: [
|
|
3273
|
+
string | TransactionArgument,
|
|
3274
|
+
bigint | TransactionArgument,
|
|
3275
|
+
string | ObjectCallArg | TransactionArgument
|
|
3276
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
3277
|
+
function issuer(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3278
|
+
function owner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
3279
|
+
function verifyZkloginIssuer(client: SuiClient, args: [
|
|
3280
|
+
bigint | TransactionArgument,
|
|
3281
|
+
string | TransactionArgument,
|
|
3282
|
+
string | ObjectCallArg | TransactionArgument
|
|
3283
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
3284
|
+
}
|
|
3285
|
+
}
|
|
2932
3286
|
export declare function loadAllTypes(coder: MoveCoder): void;
|
|
2933
3287
|
//# sourceMappingURL=0x2.d.ts.map
|