@typemove/sui 1.2.4 → 1.2.5
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 +496 -0
- package/dist/cjs/builtin/0x1.d.ts.map +1 -0
- package/dist/cjs/builtin/0x1.js +2038 -0
- package/dist/cjs/builtin/0x1.js.map +1 -0
- package/dist/cjs/builtin/0x2.d.ts +2933 -0
- package/dist/cjs/builtin/0x2.d.ts.map +1 -0
- package/dist/cjs/builtin/0x2.js +9511 -0
- package/dist/cjs/builtin/0x2.js.map +1 -0
- package/dist/cjs/builtin/0x3.d.ts +1208 -0
- package/dist/cjs/builtin/0x3.d.ts.map +1 -0
- package/dist/cjs/builtin/0x3.js +2455 -0
- package/dist/cjs/builtin/0x3.js.map +1 -0
- package/dist/cjs/builtin/index.d.ts +4 -0
- package/dist/cjs/builtin/index.d.ts.map +1 -0
- package/dist/cjs/builtin/index.js +11 -0
- package/dist/cjs/builtin/index.js.map +1 -0
- package/dist/cjs/codegen/codegen.d.ts +19 -0
- package/dist/cjs/codegen/codegen.d.ts.map +1 -0
- package/dist/cjs/codegen/codegen.js +178 -0
- package/dist/cjs/codegen/codegen.js.map +1 -0
- package/dist/cjs/codegen/index.d.ts +2 -0
- package/dist/cjs/codegen/index.d.ts.map +1 -0
- package/dist/cjs/codegen/index.js +5 -0
- package/dist/cjs/codegen/index.js.map +1 -0
- package/dist/cjs/index.d.ts +4 -0
- package/dist/cjs/index.d.ts.map +1 -0
- package/dist/cjs/index.js +11 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/models.d.ts +18 -0
- package/dist/cjs/models.d.ts.map +1 -0
- package/dist/cjs/models.js +5 -0
- package/dist/cjs/models.js.map +1 -0
- package/dist/cjs/move-coder.d.ts +25 -0
- package/dist/cjs/move-coder.d.ts.map +1 -0
- package/dist/cjs/move-coder.js +229 -0
- package/dist/cjs/move-coder.js.map +1 -0
- package/dist/cjs/move-coder.test.d.ts +2 -0
- package/dist/cjs/move-coder.test.d.ts.map +1 -0
- package/dist/cjs/move-coder.test.js.map +1 -0
- package/dist/cjs/sui-chain-adapter.d.ts +15 -0
- package/dist/cjs/sui-chain-adapter.d.ts.map +1 -0
- package/dist/cjs/sui-chain-adapter.js +95 -0
- package/dist/cjs/sui-chain-adapter.js.map +1 -0
- package/dist/cjs/to-internal.d.ts +4 -0
- package/dist/cjs/to-internal.d.ts.map +1 -0
- package/dist/cjs/to-internal.js +85 -0
- package/dist/cjs/to-internal.js.map +1 -0
- package/dist/cjs/transaction.d.ts +6 -0
- package/dist/cjs/transaction.d.ts.map +1 -0
- package/dist/cjs/transaction.js +35 -0
- package/dist/cjs/transaction.js.map +1 -0
- package/dist/esm/builtin/0x1.d.ts +496 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -0
- package/dist/esm/builtin/0x1.js +2034 -0
- package/dist/esm/builtin/0x1.js.map +1 -0
- package/dist/esm/builtin/0x2.d.ts +2933 -0
- package/dist/esm/builtin/0x2.d.ts.map +1 -0
- package/dist/esm/builtin/0x2.js +9506 -0
- package/dist/esm/builtin/0x2.js.map +1 -0
- package/dist/esm/builtin/0x3.d.ts +1208 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -0
- package/dist/esm/builtin/0x3.js +2450 -0
- package/dist/esm/builtin/0x3.js.map +1 -0
- package/dist/esm/builtin/index.d.ts +4 -0
- package/dist/esm/builtin/index.d.ts.map +1 -0
- package/dist/esm/builtin/index.js +7 -0
- package/dist/esm/builtin/index.js.map +1 -0
- package/dist/esm/codegen/codegen.d.ts +19 -0
- package/dist/esm/codegen/codegen.d.ts.map +1 -0
- package/dist/esm/codegen/codegen.js +172 -0
- package/dist/esm/codegen/codegen.js.map +1 -0
- package/dist/esm/codegen/index.d.ts +2 -0
- package/dist/esm/codegen/index.d.ts.map +1 -0
- package/dist/esm/codegen/index.js +2 -0
- package/dist/esm/codegen/index.js.map +1 -0
- package/dist/esm/codegen/run.d.ts +2 -0
- package/dist/esm/codegen/run.d.ts.map +1 -0
- package/dist/esm/codegen/run.js.map +1 -0
- package/dist/esm/index.d.ts +4 -0
- package/dist/esm/index.d.ts.map +1 -0
- package/dist/esm/index.js +4 -0
- package/dist/esm/index.js.map +1 -0
- package/dist/esm/models.d.ts +18 -0
- package/dist/esm/models.d.ts.map +1 -0
- package/dist/esm/models.js +2 -0
- package/dist/esm/models.js.map +1 -0
- package/dist/esm/move-coder.d.ts +25 -0
- package/dist/esm/move-coder.d.ts.map +1 -0
- package/dist/esm/move-coder.js +223 -0
- package/dist/esm/move-coder.js.map +1 -0
- package/dist/esm/move-coder.test.d.ts +2 -0
- package/dist/esm/move-coder.test.d.ts.map +1 -0
- package/dist/esm/move-coder.test.js.map +1 -0
- package/dist/esm/sui-chain-adapter.d.ts +15 -0
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -0
- package/dist/esm/sui-chain-adapter.js +91 -0
- package/dist/esm/sui-chain-adapter.js.map +1 -0
- package/dist/esm/to-internal.d.ts +4 -0
- package/dist/esm/to-internal.d.ts.map +1 -0
- package/dist/esm/to-internal.js +81 -0
- package/dist/esm/to-internal.js.map +1 -0
- package/dist/esm/transaction.d.ts +6 -0
- package/dist/esm/transaction.d.ts.map +1 -0
- package/dist/esm/transaction.js +28 -0
- package/dist/esm/transaction.js.map +1 -0
- package/package.json +2 -2
- package/src/abis/0x1.json +2063 -0
- package/src/abis/0x2.json +13410 -0
- package/src/abis/0x3.json +8645 -0
- package/src/builtin/0x1.ts +3000 -0
- package/src/builtin/0x2.ts +14596 -0
- package/src/builtin/0x3.ts +4188 -0
- package/src/builtin/index.ts +6 -0
- package/src/codegen/codegen.ts +211 -0
- package/src/codegen/index.ts +1 -0
- package/src/codegen/run.ts +20 -0
- package/src/index.ts +4 -0
- package/src/models.ts +21 -0
- package/src/move-coder.ts +276 -0
- package/src/sui-chain-adapter.ts +121 -0
- package/src/tests/abis/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.json +265 -0
- package/src/tests/abis/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.json +2429 -0
- package/src/tests/abis/testnet/0xdee9.json +5523 -0
- package/src/tests/abis/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.json +10060 -0
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +303 -0
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +2697 -0
- package/src/tests/types/testnet/0xdee9.ts +3099 -0
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +10215 -0
- package/src/tests/types/testnet/index.ts +7 -0
- package/src/to-internal.ts +109 -0
- package/src/transaction.ts +31 -0
|
@@ -0,0 +1,2933 @@
|
|
|
1
|
+
import { TypeDescriptor } from "@typemove/move";
|
|
2
|
+
import { MoveCoder, TypedEventInstance } from "@typemove/sui";
|
|
3
|
+
import { TypedDevInspectResults } from "@typemove/sui";
|
|
4
|
+
import { TransactionBlock, TransactionArgument } from "@mysten/sui.js/transactions";
|
|
5
|
+
import { SuiClient } from "@mysten/sui.js/client";
|
|
6
|
+
import { type ObjectCallArg } from "@mysten/sui.js/dist/esm/builder/Inputs.js";
|
|
7
|
+
import * as _0x1 from "./0x1.js";
|
|
8
|
+
export declare namespace address {
|
|
9
|
+
namespace builder {
|
|
10
|
+
function fromBytes(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
11
|
+
function fromU256(tx: TransactionBlock, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
12
|
+
function length(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
13
|
+
function max(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
14
|
+
function toAsciiString(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
15
|
+
function toBytes(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
16
|
+
function toString(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
17
|
+
function toU256(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
18
|
+
}
|
|
19
|
+
namespace view {
|
|
20
|
+
function fromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
21
|
+
function fromU256(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
22
|
+
function length(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
|
23
|
+
function max(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
|
24
|
+
function toAsciiString(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
|
25
|
+
function toBytes(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
26
|
+
function toString(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
27
|
+
function toU256(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
export declare namespace bag {
|
|
31
|
+
interface Bag {
|
|
32
|
+
id: object_.UID;
|
|
33
|
+
size: bigint;
|
|
34
|
+
}
|
|
35
|
+
namespace Bag {
|
|
36
|
+
const TYPE_QNAME = "0x2::bag::Bag";
|
|
37
|
+
function type(): TypeDescriptor<Bag>;
|
|
38
|
+
}
|
|
39
|
+
namespace builder {
|
|
40
|
+
function add<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
41
|
+
string | ObjectCallArg | TransactionArgument,
|
|
42
|
+
T0 | TransactionArgument,
|
|
43
|
+
T1 | TransactionArgument
|
|
44
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
45
|
+
TransactionArgument,
|
|
46
|
+
TransactionArgument,
|
|
47
|
+
TransactionArgument
|
|
48
|
+
];
|
|
49
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
50
|
+
string | ObjectCallArg | TransactionArgument,
|
|
51
|
+
T0 | TransactionArgument
|
|
52
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
53
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
54
|
+
string | ObjectCallArg | TransactionArgument,
|
|
55
|
+
T0 | TransactionArgument
|
|
56
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
57
|
+
function contains<T0 = any>(tx: TransactionBlock, args: [
|
|
58
|
+
string | ObjectCallArg | TransactionArgument,
|
|
59
|
+
T0 | TransactionArgument
|
|
60
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
61
|
+
function containsWithType<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
62
|
+
string | ObjectCallArg | TransactionArgument,
|
|
63
|
+
T0 | TransactionArgument
|
|
64
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
65
|
+
function destroyEmpty(tx: TransactionBlock, args: [bag.Bag | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
66
|
+
function isEmpty(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
67
|
+
function length(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
68
|
+
function new_(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
69
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
70
|
+
string | ObjectCallArg | TransactionArgument,
|
|
71
|
+
T0 | TransactionArgument
|
|
72
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
73
|
+
}
|
|
74
|
+
namespace view {
|
|
75
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
76
|
+
string | ObjectCallArg | TransactionArgument,
|
|
77
|
+
T0 | TransactionArgument,
|
|
78
|
+
T1 | TransactionArgument
|
|
79
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
80
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
81
|
+
string | ObjectCallArg | TransactionArgument,
|
|
82
|
+
T0 | TransactionArgument
|
|
83
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
84
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
85
|
+
string | ObjectCallArg | TransactionArgument,
|
|
86
|
+
T0 | TransactionArgument
|
|
87
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
88
|
+
function contains<T0 = any>(client: SuiClient, args: [
|
|
89
|
+
string | ObjectCallArg | TransactionArgument,
|
|
90
|
+
T0 | TransactionArgument
|
|
91
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
92
|
+
function containsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
93
|
+
string | ObjectCallArg | TransactionArgument,
|
|
94
|
+
T0 | TransactionArgument
|
|
95
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
96
|
+
function destroyEmpty(client: SuiClient, args: [bag.Bag | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
97
|
+
function isEmpty(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
98
|
+
function length(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
99
|
+
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bag.Bag]>>;
|
|
100
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
101
|
+
string | ObjectCallArg | TransactionArgument,
|
|
102
|
+
T0 | TransactionArgument
|
|
103
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
104
|
+
}
|
|
105
|
+
}
|
|
106
|
+
export declare namespace balance {
|
|
107
|
+
type Balance<T> = bigint;
|
|
108
|
+
namespace Balance {
|
|
109
|
+
const TYPE_QNAME = "0x2::balance::Balance";
|
|
110
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Balance<T0>>;
|
|
111
|
+
}
|
|
112
|
+
interface Supply<T0> {
|
|
113
|
+
value: bigint;
|
|
114
|
+
}
|
|
115
|
+
namespace Supply {
|
|
116
|
+
const TYPE_QNAME = "0x2::balance::Supply";
|
|
117
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Supply<T0>>;
|
|
118
|
+
}
|
|
119
|
+
namespace builder {
|
|
120
|
+
function createSupply<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
121
|
+
function decreaseSupply<T0 = any>(tx: TransactionBlock, args: [
|
|
122
|
+
string | ObjectCallArg | TransactionArgument,
|
|
123
|
+
balance.Balance<T0> | TransactionArgument
|
|
124
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
125
|
+
function destroyZero<T0 = any>(tx: TransactionBlock, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
126
|
+
function increaseSupply<T0 = any>(tx: TransactionBlock, args: [
|
|
127
|
+
string | ObjectCallArg | TransactionArgument,
|
|
128
|
+
bigint | TransactionArgument
|
|
129
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
130
|
+
function join<T0 = any>(tx: TransactionBlock, args: [
|
|
131
|
+
string | ObjectCallArg | TransactionArgument,
|
|
132
|
+
balance.Balance<T0> | TransactionArgument
|
|
133
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
134
|
+
function split<T0 = any>(tx: TransactionBlock, args: [
|
|
135
|
+
string | ObjectCallArg | TransactionArgument,
|
|
136
|
+
bigint | TransactionArgument
|
|
137
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
138
|
+
function supplyValue<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
139
|
+
function value<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
140
|
+
function withdrawAll<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
141
|
+
function zero<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
142
|
+
}
|
|
143
|
+
namespace view {
|
|
144
|
+
function createSupply<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
|
145
|
+
function decreaseSupply<T0 = any>(client: SuiClient, args: [
|
|
146
|
+
string | ObjectCallArg | TransactionArgument,
|
|
147
|
+
balance.Balance<T0> | TransactionArgument
|
|
148
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
149
|
+
function destroyZero<T0 = any>(client: SuiClient, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
150
|
+
function increaseSupply<T0 = any>(client: SuiClient, args: [
|
|
151
|
+
string | ObjectCallArg | TransactionArgument,
|
|
152
|
+
bigint | TransactionArgument
|
|
153
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
154
|
+
function join<T0 = any>(client: SuiClient, args: [
|
|
155
|
+
string | ObjectCallArg | TransactionArgument,
|
|
156
|
+
balance.Balance<T0> | TransactionArgument
|
|
157
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
158
|
+
function split<T0 = any>(client: SuiClient, args: [
|
|
159
|
+
string | ObjectCallArg | TransactionArgument,
|
|
160
|
+
bigint | TransactionArgument
|
|
161
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
162
|
+
function supplyValue<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
163
|
+
function value<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
164
|
+
function withdrawAll<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
165
|
+
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
166
|
+
}
|
|
167
|
+
}
|
|
168
|
+
export declare namespace bcs {
|
|
169
|
+
interface BCS {
|
|
170
|
+
bytes: number[];
|
|
171
|
+
}
|
|
172
|
+
namespace BCS {
|
|
173
|
+
const TYPE_QNAME = "0x2::bcs::BCS";
|
|
174
|
+
function type(): TypeDescriptor<BCS>;
|
|
175
|
+
}
|
|
176
|
+
interface BCSInstance extends TypedEventInstance<BCS> {
|
|
177
|
+
data_decoded: BCS;
|
|
178
|
+
type_arguments: [];
|
|
179
|
+
}
|
|
180
|
+
namespace builder {
|
|
181
|
+
function intoRemainderBytes(tx: TransactionBlock, args: [bcs.BCS | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
182
|
+
function new_(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
183
|
+
function peelAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
184
|
+
function peelBool(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
185
|
+
function peelOptionAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
186
|
+
function peelOptionBool(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
187
|
+
function peelOptionU128(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
188
|
+
function peelOptionU64(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
189
|
+
function peelOptionU8(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
190
|
+
function peelU128(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
191
|
+
function peelU64(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
192
|
+
function peelU8(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
193
|
+
function peelVecAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
194
|
+
function peelVecBool(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
195
|
+
function peelVecLength(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
196
|
+
function peelVecU128(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
197
|
+
function peelVecU64(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
198
|
+
function peelVecU8(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
199
|
+
function peelVecVecU8(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
200
|
+
function toBytes<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
201
|
+
}
|
|
202
|
+
namespace view {
|
|
203
|
+
function intoRemainderBytes(client: SuiClient, args: [bcs.BCS | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
204
|
+
function new_(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[bcs.BCS]>>;
|
|
205
|
+
function peelAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
206
|
+
function peelBool(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
207
|
+
function peelOptionAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
|
208
|
+
function peelOptionBool(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<Boolean>]>>;
|
|
209
|
+
function peelOptionU128(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
210
|
+
function peelOptionU64(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
211
|
+
function peelOptionU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
|
212
|
+
function peelU128(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
213
|
+
function peelU64(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
214
|
+
function peelU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
215
|
+
function peelVecAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string[]]>>;
|
|
216
|
+
function peelVecBool(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean[]]>>;
|
|
217
|
+
function peelVecLength(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
218
|
+
function peelVecU128(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
219
|
+
function peelVecU64(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
220
|
+
function peelVecU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
221
|
+
function peelVecVecU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[][]]>>;
|
|
222
|
+
function toBytes<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
223
|
+
}
|
|
224
|
+
}
|
|
225
|
+
export declare namespace bls12381 {
|
|
226
|
+
namespace builder {
|
|
227
|
+
function bls12381MinPkVerify(tx: TransactionBlock, args: [
|
|
228
|
+
string | ObjectCallArg | TransactionArgument,
|
|
229
|
+
string | ObjectCallArg | TransactionArgument,
|
|
230
|
+
string | ObjectCallArg | TransactionArgument
|
|
231
|
+
]): TransactionArgument & [
|
|
232
|
+
TransactionArgument,
|
|
233
|
+
TransactionArgument,
|
|
234
|
+
TransactionArgument
|
|
235
|
+
];
|
|
236
|
+
function bls12381MinSigVerify(tx: TransactionBlock, args: [
|
|
237
|
+
string | ObjectCallArg | TransactionArgument,
|
|
238
|
+
string | ObjectCallArg | TransactionArgument,
|
|
239
|
+
string | ObjectCallArg | TransactionArgument
|
|
240
|
+
]): TransactionArgument & [
|
|
241
|
+
TransactionArgument,
|
|
242
|
+
TransactionArgument,
|
|
243
|
+
TransactionArgument
|
|
244
|
+
];
|
|
245
|
+
}
|
|
246
|
+
namespace view {
|
|
247
|
+
function bls12381MinPkVerify(client: SuiClient, args: [
|
|
248
|
+
string | ObjectCallArg | TransactionArgument,
|
|
249
|
+
string | ObjectCallArg | TransactionArgument,
|
|
250
|
+
string | ObjectCallArg | TransactionArgument
|
|
251
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
252
|
+
function bls12381MinSigVerify(client: SuiClient, args: [
|
|
253
|
+
string | ObjectCallArg | TransactionArgument,
|
|
254
|
+
string | ObjectCallArg | TransactionArgument,
|
|
255
|
+
string | ObjectCallArg | TransactionArgument
|
|
256
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
257
|
+
}
|
|
258
|
+
}
|
|
259
|
+
export declare namespace borrow {
|
|
260
|
+
interface Borrow {
|
|
261
|
+
ref: string;
|
|
262
|
+
obj: object_.ID;
|
|
263
|
+
}
|
|
264
|
+
namespace Borrow {
|
|
265
|
+
const TYPE_QNAME = "0x2::borrow::Borrow";
|
|
266
|
+
function type(): TypeDescriptor<Borrow>;
|
|
267
|
+
}
|
|
268
|
+
interface Referent<T0> {
|
|
269
|
+
id: string;
|
|
270
|
+
value: _0x1.option.Option<T0>;
|
|
271
|
+
}
|
|
272
|
+
namespace Referent {
|
|
273
|
+
const TYPE_QNAME = "0x2::borrow::Referent";
|
|
274
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Referent<T0>>;
|
|
275
|
+
}
|
|
276
|
+
namespace builder {
|
|
277
|
+
function borrow<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
278
|
+
function destroy<T0 = any>(tx: TransactionBlock, args: [borrow.Referent<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
279
|
+
function new_<T0 = any>(tx: TransactionBlock, args: [
|
|
280
|
+
T0 | TransactionArgument,
|
|
281
|
+
string | ObjectCallArg | TransactionArgument
|
|
282
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
283
|
+
function putBack<T0 = any>(tx: TransactionBlock, args: [
|
|
284
|
+
string | ObjectCallArg | TransactionArgument,
|
|
285
|
+
T0 | TransactionArgument,
|
|
286
|
+
borrow.Borrow | TransactionArgument
|
|
287
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
288
|
+
TransactionArgument,
|
|
289
|
+
TransactionArgument,
|
|
290
|
+
TransactionArgument
|
|
291
|
+
];
|
|
292
|
+
}
|
|
293
|
+
namespace view {
|
|
294
|
+
function borrow<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, borrow.Borrow]>>;
|
|
295
|
+
function destroy<T0 = any>(client: SuiClient, args: [borrow.Referent<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
296
|
+
function new_<T0 = any>(client: SuiClient, args: [
|
|
297
|
+
T0 | TransactionArgument,
|
|
298
|
+
string | ObjectCallArg | TransactionArgument
|
|
299
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[borrow.Referent<T0>]>>;
|
|
300
|
+
function putBack<T0 = any>(client: SuiClient, args: [
|
|
301
|
+
string | ObjectCallArg | TransactionArgument,
|
|
302
|
+
T0 | TransactionArgument,
|
|
303
|
+
borrow.Borrow | TransactionArgument
|
|
304
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
305
|
+
}
|
|
306
|
+
}
|
|
307
|
+
export declare namespace clock {
|
|
308
|
+
interface Clock {
|
|
309
|
+
id: object_.UID;
|
|
310
|
+
timestamp_ms: bigint;
|
|
311
|
+
}
|
|
312
|
+
namespace Clock {
|
|
313
|
+
const TYPE_QNAME = "0x2::clock::Clock";
|
|
314
|
+
function type(): TypeDescriptor<Clock>;
|
|
315
|
+
}
|
|
316
|
+
namespace builder {
|
|
317
|
+
function timestampMs(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
318
|
+
}
|
|
319
|
+
namespace view {
|
|
320
|
+
function timestampMs(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
321
|
+
}
|
|
322
|
+
}
|
|
323
|
+
export declare namespace coin {
|
|
324
|
+
type Coin<T> = string;
|
|
325
|
+
namespace Coin {
|
|
326
|
+
const TYPE_QNAME = "0x2::coin::Coin";
|
|
327
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Coin<T0>>;
|
|
328
|
+
}
|
|
329
|
+
interface CoinMetadata<T0> {
|
|
330
|
+
id: object_.UID;
|
|
331
|
+
decimals: number;
|
|
332
|
+
name: string;
|
|
333
|
+
symbol: _0x1.ascii.String;
|
|
334
|
+
description: string;
|
|
335
|
+
icon_url: _0x1.option.Option<url.Url>;
|
|
336
|
+
}
|
|
337
|
+
namespace CoinMetadata {
|
|
338
|
+
const TYPE_QNAME = "0x2::coin::CoinMetadata";
|
|
339
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CoinMetadata<T0>>;
|
|
340
|
+
}
|
|
341
|
+
interface CurrencyCreated<T0> {
|
|
342
|
+
decimals: number;
|
|
343
|
+
}
|
|
344
|
+
namespace CurrencyCreated {
|
|
345
|
+
const TYPE_QNAME = "0x2::coin::CurrencyCreated";
|
|
346
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CurrencyCreated<T0>>;
|
|
347
|
+
}
|
|
348
|
+
interface CurrencyCreatedInstance extends TypedEventInstance<CurrencyCreated<any>> {
|
|
349
|
+
data_decoded: CurrencyCreated<any>;
|
|
350
|
+
type_arguments: [string];
|
|
351
|
+
}
|
|
352
|
+
interface TreasuryCap<T0> {
|
|
353
|
+
id: object_.UID;
|
|
354
|
+
total_supply: balance.Supply<T0>;
|
|
355
|
+
}
|
|
356
|
+
namespace TreasuryCap {
|
|
357
|
+
const TYPE_QNAME = "0x2::coin::TreasuryCap";
|
|
358
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TreasuryCap<T0>>;
|
|
359
|
+
}
|
|
360
|
+
namespace builder {
|
|
361
|
+
function balance<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
362
|
+
function balanceMut<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
363
|
+
function burn<T0 = any>(tx: TransactionBlock, args: [
|
|
364
|
+
string | ObjectCallArg | TransactionArgument,
|
|
365
|
+
coin.Coin<T0> | TransactionArgument
|
|
366
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
367
|
+
function createCurrency<T0 = any>(tx: TransactionBlock, args: [
|
|
368
|
+
T0 | TransactionArgument,
|
|
369
|
+
number | TransactionArgument,
|
|
370
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
371
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
372
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
373
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
374
|
+
string | ObjectCallArg | TransactionArgument
|
|
375
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
376
|
+
TransactionArgument,
|
|
377
|
+
TransactionArgument,
|
|
378
|
+
TransactionArgument,
|
|
379
|
+
TransactionArgument,
|
|
380
|
+
TransactionArgument,
|
|
381
|
+
TransactionArgument,
|
|
382
|
+
TransactionArgument
|
|
383
|
+
];
|
|
384
|
+
function destroyZero<T0 = any>(tx: TransactionBlock, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
385
|
+
function divideIntoN<T0 = any>(tx: TransactionBlock, args: [
|
|
386
|
+
string | ObjectCallArg | TransactionArgument,
|
|
387
|
+
bigint | TransactionArgument,
|
|
388
|
+
string | ObjectCallArg | TransactionArgument
|
|
389
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
390
|
+
TransactionArgument,
|
|
391
|
+
TransactionArgument,
|
|
392
|
+
TransactionArgument
|
|
393
|
+
];
|
|
394
|
+
function fromBalance<T0 = any>(tx: TransactionBlock, args: [
|
|
395
|
+
balance.Balance<T0> | TransactionArgument,
|
|
396
|
+
string | ObjectCallArg | TransactionArgument
|
|
397
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
398
|
+
function getDecimals<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
399
|
+
function getDescription<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
400
|
+
function getIconUrl<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
401
|
+
function getName<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
402
|
+
function getSymbol<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
403
|
+
function intoBalance<T0 = any>(tx: TransactionBlock, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
404
|
+
function join<T0 = any>(tx: TransactionBlock, args: [
|
|
405
|
+
string | ObjectCallArg | TransactionArgument,
|
|
406
|
+
coin.Coin<T0> | TransactionArgument
|
|
407
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
408
|
+
function mint<T0 = any>(tx: TransactionBlock, args: [
|
|
409
|
+
string | ObjectCallArg | TransactionArgument,
|
|
410
|
+
bigint | TransactionArgument,
|
|
411
|
+
string | ObjectCallArg | TransactionArgument
|
|
412
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
413
|
+
TransactionArgument,
|
|
414
|
+
TransactionArgument,
|
|
415
|
+
TransactionArgument
|
|
416
|
+
];
|
|
417
|
+
function mintAndTransfer<T0 = any>(tx: TransactionBlock, args: [
|
|
418
|
+
string | ObjectCallArg | TransactionArgument,
|
|
419
|
+
bigint | TransactionArgument,
|
|
420
|
+
string | TransactionArgument,
|
|
421
|
+
string | ObjectCallArg | TransactionArgument
|
|
422
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
423
|
+
TransactionArgument,
|
|
424
|
+
TransactionArgument,
|
|
425
|
+
TransactionArgument,
|
|
426
|
+
TransactionArgument
|
|
427
|
+
];
|
|
428
|
+
function mintBalance<T0 = any>(tx: TransactionBlock, args: [
|
|
429
|
+
string | ObjectCallArg | TransactionArgument,
|
|
430
|
+
bigint | TransactionArgument
|
|
431
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
432
|
+
function put<T0 = any>(tx: TransactionBlock, args: [
|
|
433
|
+
string | ObjectCallArg | TransactionArgument,
|
|
434
|
+
coin.Coin<T0> | TransactionArgument
|
|
435
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
436
|
+
function split<T0 = any>(tx: TransactionBlock, args: [
|
|
437
|
+
string | ObjectCallArg | TransactionArgument,
|
|
438
|
+
bigint | TransactionArgument,
|
|
439
|
+
string | ObjectCallArg | TransactionArgument
|
|
440
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
441
|
+
TransactionArgument,
|
|
442
|
+
TransactionArgument,
|
|
443
|
+
TransactionArgument
|
|
444
|
+
];
|
|
445
|
+
function supply<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
446
|
+
function supplyImmut<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
447
|
+
function supplyMut<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
448
|
+
function take<T0 = any>(tx: TransactionBlock, args: [
|
|
449
|
+
string | ObjectCallArg | TransactionArgument,
|
|
450
|
+
bigint | TransactionArgument,
|
|
451
|
+
string | ObjectCallArg | TransactionArgument
|
|
452
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
453
|
+
TransactionArgument,
|
|
454
|
+
TransactionArgument,
|
|
455
|
+
TransactionArgument
|
|
456
|
+
];
|
|
457
|
+
function totalSupply<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
458
|
+
function treasuryIntoSupply<T0 = any>(tx: TransactionBlock, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
459
|
+
function updateDescription<T0 = any>(tx: TransactionBlock, args: [
|
|
460
|
+
string | ObjectCallArg | TransactionArgument,
|
|
461
|
+
string | ObjectCallArg | TransactionArgument,
|
|
462
|
+
string | TransactionArgument
|
|
463
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
464
|
+
TransactionArgument,
|
|
465
|
+
TransactionArgument,
|
|
466
|
+
TransactionArgument
|
|
467
|
+
];
|
|
468
|
+
function updateIconUrl<T0 = any>(tx: TransactionBlock, args: [
|
|
469
|
+
string | ObjectCallArg | TransactionArgument,
|
|
470
|
+
string | ObjectCallArg | TransactionArgument,
|
|
471
|
+
_0x1.ascii.String | TransactionArgument
|
|
472
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
473
|
+
TransactionArgument,
|
|
474
|
+
TransactionArgument,
|
|
475
|
+
TransactionArgument
|
|
476
|
+
];
|
|
477
|
+
function updateName<T0 = any>(tx: TransactionBlock, args: [
|
|
478
|
+
string | ObjectCallArg | TransactionArgument,
|
|
479
|
+
string | ObjectCallArg | TransactionArgument,
|
|
480
|
+
string | TransactionArgument
|
|
481
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
482
|
+
TransactionArgument,
|
|
483
|
+
TransactionArgument,
|
|
484
|
+
TransactionArgument
|
|
485
|
+
];
|
|
486
|
+
function updateSymbol<T0 = any>(tx: TransactionBlock, args: [
|
|
487
|
+
string | ObjectCallArg | TransactionArgument,
|
|
488
|
+
string | ObjectCallArg | TransactionArgument,
|
|
489
|
+
_0x1.ascii.String | TransactionArgument
|
|
490
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
491
|
+
TransactionArgument,
|
|
492
|
+
TransactionArgument,
|
|
493
|
+
TransactionArgument
|
|
494
|
+
];
|
|
495
|
+
function value<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
496
|
+
function zero<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
497
|
+
}
|
|
498
|
+
namespace view {
|
|
499
|
+
function balance<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
500
|
+
function balanceMut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
501
|
+
function burn<T0 = any>(client: SuiClient, args: [
|
|
502
|
+
string | ObjectCallArg | TransactionArgument,
|
|
503
|
+
coin.Coin<T0> | TransactionArgument
|
|
504
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
505
|
+
function createCurrency<T0 = any>(client: SuiClient, args: [
|
|
506
|
+
T0 | TransactionArgument,
|
|
507
|
+
number | TransactionArgument,
|
|
508
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
509
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
510
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
511
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
512
|
+
string | ObjectCallArg | TransactionArgument
|
|
513
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.TreasuryCap<T0>, coin.CoinMetadata<T0>]>>;
|
|
514
|
+
function destroyZero<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
515
|
+
function divideIntoN<T0 = any>(client: SuiClient, args: [
|
|
516
|
+
string | ObjectCallArg | TransactionArgument,
|
|
517
|
+
bigint | TransactionArgument,
|
|
518
|
+
string | ObjectCallArg | TransactionArgument
|
|
519
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>[]]>>;
|
|
520
|
+
function fromBalance<T0 = any>(client: SuiClient, args: [
|
|
521
|
+
balance.Balance<T0> | TransactionArgument,
|
|
522
|
+
string | ObjectCallArg | TransactionArgument
|
|
523
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
524
|
+
function getDecimals<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
|
525
|
+
function getDescription<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
526
|
+
function getIconUrl<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<url.Url>]>>;
|
|
527
|
+
function getName<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
528
|
+
function getSymbol<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
|
529
|
+
function intoBalance<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
530
|
+
function join<T0 = any>(client: SuiClient, args: [
|
|
531
|
+
string | ObjectCallArg | TransactionArgument,
|
|
532
|
+
coin.Coin<T0> | TransactionArgument
|
|
533
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
534
|
+
function mint<T0 = any>(client: SuiClient, args: [
|
|
535
|
+
string | ObjectCallArg | TransactionArgument,
|
|
536
|
+
bigint | TransactionArgument,
|
|
537
|
+
string | ObjectCallArg | TransactionArgument
|
|
538
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
539
|
+
function mintAndTransfer<T0 = any>(client: SuiClient, args: [
|
|
540
|
+
string | ObjectCallArg | TransactionArgument,
|
|
541
|
+
bigint | TransactionArgument,
|
|
542
|
+
string | TransactionArgument,
|
|
543
|
+
string | ObjectCallArg | TransactionArgument
|
|
544
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
545
|
+
function mintBalance<T0 = any>(client: SuiClient, args: [
|
|
546
|
+
string | ObjectCallArg | TransactionArgument,
|
|
547
|
+
bigint | TransactionArgument
|
|
548
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
549
|
+
function put<T0 = any>(client: SuiClient, args: [
|
|
550
|
+
string | ObjectCallArg | TransactionArgument,
|
|
551
|
+
coin.Coin<T0> | TransactionArgument
|
|
552
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
553
|
+
function split<T0 = any>(client: SuiClient, args: [
|
|
554
|
+
string | ObjectCallArg | TransactionArgument,
|
|
555
|
+
bigint | TransactionArgument,
|
|
556
|
+
string | ObjectCallArg | TransactionArgument
|
|
557
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
558
|
+
function supply<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
559
|
+
function supplyImmut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
560
|
+
function supplyMut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
561
|
+
function take<T0 = any>(client: SuiClient, args: [
|
|
562
|
+
string | ObjectCallArg | TransactionArgument,
|
|
563
|
+
bigint | TransactionArgument,
|
|
564
|
+
string | ObjectCallArg | TransactionArgument
|
|
565
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
566
|
+
function totalSupply<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
567
|
+
function treasuryIntoSupply<T0 = any>(client: SuiClient, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
|
568
|
+
function updateDescription<T0 = any>(client: SuiClient, args: [
|
|
569
|
+
string | ObjectCallArg | TransactionArgument,
|
|
570
|
+
string | ObjectCallArg | TransactionArgument,
|
|
571
|
+
string | TransactionArgument
|
|
572
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
573
|
+
function updateIconUrl<T0 = any>(client: SuiClient, args: [
|
|
574
|
+
string | ObjectCallArg | TransactionArgument,
|
|
575
|
+
string | ObjectCallArg | TransactionArgument,
|
|
576
|
+
_0x1.ascii.String | TransactionArgument
|
|
577
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
578
|
+
function updateName<T0 = any>(client: SuiClient, args: [
|
|
579
|
+
string | ObjectCallArg | TransactionArgument,
|
|
580
|
+
string | ObjectCallArg | TransactionArgument,
|
|
581
|
+
string | TransactionArgument
|
|
582
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
583
|
+
function updateSymbol<T0 = any>(client: SuiClient, args: [
|
|
584
|
+
string | ObjectCallArg | TransactionArgument,
|
|
585
|
+
string | ObjectCallArg | TransactionArgument,
|
|
586
|
+
_0x1.ascii.String | TransactionArgument
|
|
587
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
588
|
+
function value<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
589
|
+
function zero<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
590
|
+
}
|
|
591
|
+
}
|
|
592
|
+
export declare namespace display {
|
|
593
|
+
interface Display<T0> {
|
|
594
|
+
id: object_.UID;
|
|
595
|
+
fields: vec_map.VecMap<string, string>;
|
|
596
|
+
version: number;
|
|
597
|
+
}
|
|
598
|
+
namespace Display {
|
|
599
|
+
const TYPE_QNAME = "0x2::display::Display";
|
|
600
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Display<T0>>;
|
|
601
|
+
}
|
|
602
|
+
interface DisplayCreated<T0> {
|
|
603
|
+
id: object_.ID;
|
|
604
|
+
}
|
|
605
|
+
namespace DisplayCreated {
|
|
606
|
+
const TYPE_QNAME = "0x2::display::DisplayCreated";
|
|
607
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<DisplayCreated<T0>>;
|
|
608
|
+
}
|
|
609
|
+
interface DisplayCreatedInstance extends TypedEventInstance<DisplayCreated<any>> {
|
|
610
|
+
data_decoded: DisplayCreated<any>;
|
|
611
|
+
type_arguments: [string];
|
|
612
|
+
}
|
|
613
|
+
interface VersionUpdated<T0> {
|
|
614
|
+
id: object_.ID;
|
|
615
|
+
version: number;
|
|
616
|
+
fields: vec_map.VecMap<string, string>;
|
|
617
|
+
}
|
|
618
|
+
namespace VersionUpdated {
|
|
619
|
+
const TYPE_QNAME = "0x2::display::VersionUpdated";
|
|
620
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VersionUpdated<T0>>;
|
|
621
|
+
}
|
|
622
|
+
interface VersionUpdatedInstance extends TypedEventInstance<VersionUpdated<any>> {
|
|
623
|
+
data_decoded: VersionUpdated<any>;
|
|
624
|
+
type_arguments: [string];
|
|
625
|
+
}
|
|
626
|
+
namespace builder {
|
|
627
|
+
function add<T0 = any>(tx: TransactionBlock, args: [
|
|
628
|
+
string | ObjectCallArg | TransactionArgument,
|
|
629
|
+
string | TransactionArgument,
|
|
630
|
+
string | TransactionArgument
|
|
631
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
632
|
+
TransactionArgument,
|
|
633
|
+
TransactionArgument,
|
|
634
|
+
TransactionArgument
|
|
635
|
+
];
|
|
636
|
+
function addMultiple<T0 = any>(tx: TransactionBlock, args: [
|
|
637
|
+
string | ObjectCallArg | TransactionArgument,
|
|
638
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
639
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
640
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
641
|
+
TransactionArgument,
|
|
642
|
+
TransactionArgument,
|
|
643
|
+
TransactionArgument
|
|
644
|
+
];
|
|
645
|
+
function createAndKeep<T0 = any>(tx: TransactionBlock, args: [
|
|
646
|
+
string | ObjectCallArg | TransactionArgument,
|
|
647
|
+
string | ObjectCallArg | TransactionArgument
|
|
648
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
649
|
+
function edit<T0 = any>(tx: TransactionBlock, args: [
|
|
650
|
+
string | ObjectCallArg | TransactionArgument,
|
|
651
|
+
string | TransactionArgument,
|
|
652
|
+
string | TransactionArgument
|
|
653
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
654
|
+
TransactionArgument,
|
|
655
|
+
TransactionArgument,
|
|
656
|
+
TransactionArgument
|
|
657
|
+
];
|
|
658
|
+
function fields<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
659
|
+
function isAuthorized<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
660
|
+
function new_<T0 = any>(tx: TransactionBlock, args: [
|
|
661
|
+
string | ObjectCallArg | TransactionArgument,
|
|
662
|
+
string | ObjectCallArg | TransactionArgument
|
|
663
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
664
|
+
function newWithFields<T0 = any>(tx: TransactionBlock, args: [
|
|
665
|
+
string | ObjectCallArg | TransactionArgument,
|
|
666
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
667
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
668
|
+
string | ObjectCallArg | TransactionArgument
|
|
669
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
670
|
+
TransactionArgument,
|
|
671
|
+
TransactionArgument,
|
|
672
|
+
TransactionArgument,
|
|
673
|
+
TransactionArgument
|
|
674
|
+
];
|
|
675
|
+
function remove<T0 = any>(tx: TransactionBlock, args: [
|
|
676
|
+
string | ObjectCallArg | TransactionArgument,
|
|
677
|
+
string | TransactionArgument
|
|
678
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
679
|
+
function updateVersion<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
680
|
+
function version<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
681
|
+
}
|
|
682
|
+
namespace view {
|
|
683
|
+
function add<T0 = any>(client: SuiClient, args: [
|
|
684
|
+
string | ObjectCallArg | TransactionArgument,
|
|
685
|
+
string | TransactionArgument,
|
|
686
|
+
string | TransactionArgument
|
|
687
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
688
|
+
function addMultiple<T0 = any>(client: SuiClient, args: [
|
|
689
|
+
string | ObjectCallArg | TransactionArgument,
|
|
690
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
691
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
692
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
693
|
+
function createAndKeep<T0 = any>(client: SuiClient, args: [
|
|
694
|
+
string | ObjectCallArg | TransactionArgument,
|
|
695
|
+
string | ObjectCallArg | TransactionArgument
|
|
696
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
697
|
+
function edit<T0 = any>(client: SuiClient, args: [
|
|
698
|
+
string | ObjectCallArg | TransactionArgument,
|
|
699
|
+
string | TransactionArgument,
|
|
700
|
+
string | TransactionArgument
|
|
701
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
702
|
+
function fields<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
703
|
+
function isAuthorized<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
704
|
+
function new_<T0 = any>(client: SuiClient, args: [
|
|
705
|
+
string | ObjectCallArg | TransactionArgument,
|
|
706
|
+
string | ObjectCallArg | TransactionArgument
|
|
707
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
|
708
|
+
function newWithFields<T0 = any>(client: SuiClient, args: [
|
|
709
|
+
string | ObjectCallArg | TransactionArgument,
|
|
710
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
711
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
712
|
+
string | ObjectCallArg | TransactionArgument
|
|
713
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
|
714
|
+
function remove<T0 = any>(client: SuiClient, args: [
|
|
715
|
+
string | ObjectCallArg | TransactionArgument,
|
|
716
|
+
string | TransactionArgument
|
|
717
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
718
|
+
function updateVersion<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
719
|
+
function version<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
|
720
|
+
}
|
|
721
|
+
}
|
|
722
|
+
export declare namespace dynamic_field {
|
|
723
|
+
interface Field<T0, T1> {
|
|
724
|
+
id: object_.UID;
|
|
725
|
+
name: T0;
|
|
726
|
+
value: T1;
|
|
727
|
+
}
|
|
728
|
+
namespace Field {
|
|
729
|
+
const TYPE_QNAME = "0x2::dynamic_field::Field";
|
|
730
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Field<T0, T1>>;
|
|
731
|
+
}
|
|
732
|
+
namespace builder {
|
|
733
|
+
function add<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
734
|
+
string | ObjectCallArg | TransactionArgument,
|
|
735
|
+
T0 | TransactionArgument,
|
|
736
|
+
T1 | TransactionArgument
|
|
737
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
738
|
+
TransactionArgument,
|
|
739
|
+
TransactionArgument,
|
|
740
|
+
TransactionArgument
|
|
741
|
+
];
|
|
742
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
743
|
+
string | ObjectCallArg | TransactionArgument,
|
|
744
|
+
T0 | TransactionArgument
|
|
745
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
746
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
747
|
+
string | ObjectCallArg | TransactionArgument,
|
|
748
|
+
T0 | TransactionArgument
|
|
749
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
750
|
+
function exists_<T0 = any>(tx: TransactionBlock, args: [
|
|
751
|
+
string | ObjectCallArg | TransactionArgument,
|
|
752
|
+
T0 | TransactionArgument
|
|
753
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
754
|
+
function existsWithType<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
755
|
+
string | ObjectCallArg | TransactionArgument,
|
|
756
|
+
T0 | TransactionArgument
|
|
757
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
758
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
759
|
+
string | ObjectCallArg | TransactionArgument,
|
|
760
|
+
T0 | TransactionArgument
|
|
761
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
762
|
+
function removeIfExists<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
763
|
+
string | ObjectCallArg | TransactionArgument,
|
|
764
|
+
T0 | TransactionArgument
|
|
765
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
766
|
+
}
|
|
767
|
+
namespace view {
|
|
768
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
769
|
+
string | ObjectCallArg | TransactionArgument,
|
|
770
|
+
T0 | TransactionArgument,
|
|
771
|
+
T1 | TransactionArgument
|
|
772
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
773
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
774
|
+
string | ObjectCallArg | TransactionArgument,
|
|
775
|
+
T0 | TransactionArgument
|
|
776
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
777
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
778
|
+
string | ObjectCallArg | TransactionArgument,
|
|
779
|
+
T0 | TransactionArgument
|
|
780
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
781
|
+
function exists_<T0 = any>(client: SuiClient, args: [
|
|
782
|
+
string | ObjectCallArg | TransactionArgument,
|
|
783
|
+
T0 | TransactionArgument
|
|
784
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
785
|
+
function existsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
786
|
+
string | ObjectCallArg | TransactionArgument,
|
|
787
|
+
T0 | TransactionArgument
|
|
788
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
789
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
790
|
+
string | ObjectCallArg | TransactionArgument,
|
|
791
|
+
T0 | TransactionArgument
|
|
792
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
793
|
+
function removeIfExists<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
794
|
+
string | ObjectCallArg | TransactionArgument,
|
|
795
|
+
T0 | TransactionArgument
|
|
796
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
797
|
+
}
|
|
798
|
+
}
|
|
799
|
+
export declare namespace dynamic_object_field {
|
|
800
|
+
interface Wrapper<T0> {
|
|
801
|
+
name: T0;
|
|
802
|
+
}
|
|
803
|
+
namespace Wrapper {
|
|
804
|
+
const TYPE_QNAME = "0x2::dynamic_object_field::Wrapper";
|
|
805
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Wrapper<T0>>;
|
|
806
|
+
}
|
|
807
|
+
interface WrapperInstance extends TypedEventInstance<Wrapper<any>> {
|
|
808
|
+
data_decoded: Wrapper<any>;
|
|
809
|
+
type_arguments: [string];
|
|
810
|
+
}
|
|
811
|
+
namespace builder {
|
|
812
|
+
function add<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
813
|
+
string | ObjectCallArg | TransactionArgument,
|
|
814
|
+
T0 | TransactionArgument,
|
|
815
|
+
T1 | TransactionArgument
|
|
816
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
817
|
+
TransactionArgument,
|
|
818
|
+
TransactionArgument,
|
|
819
|
+
TransactionArgument
|
|
820
|
+
];
|
|
821
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
822
|
+
string | ObjectCallArg | TransactionArgument,
|
|
823
|
+
T0 | TransactionArgument
|
|
824
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
825
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
826
|
+
string | ObjectCallArg | TransactionArgument,
|
|
827
|
+
T0 | TransactionArgument
|
|
828
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
829
|
+
function exists_<T0 = any>(tx: TransactionBlock, args: [
|
|
830
|
+
string | ObjectCallArg | TransactionArgument,
|
|
831
|
+
T0 | TransactionArgument
|
|
832
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
833
|
+
function existsWithType<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
834
|
+
string | ObjectCallArg | TransactionArgument,
|
|
835
|
+
T0 | TransactionArgument
|
|
836
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
837
|
+
function id<T0 = any>(tx: TransactionBlock, args: [
|
|
838
|
+
string | ObjectCallArg | TransactionArgument,
|
|
839
|
+
T0 | TransactionArgument
|
|
840
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
841
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
842
|
+
string | ObjectCallArg | TransactionArgument,
|
|
843
|
+
T0 | TransactionArgument
|
|
844
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
845
|
+
}
|
|
846
|
+
namespace view {
|
|
847
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
848
|
+
string | ObjectCallArg | TransactionArgument,
|
|
849
|
+
T0 | TransactionArgument,
|
|
850
|
+
T1 | TransactionArgument
|
|
851
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
852
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
853
|
+
string | ObjectCallArg | TransactionArgument,
|
|
854
|
+
T0 | TransactionArgument
|
|
855
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
856
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
857
|
+
string | ObjectCallArg | TransactionArgument,
|
|
858
|
+
T0 | TransactionArgument
|
|
859
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
860
|
+
function exists_<T0 = any>(client: SuiClient, args: [
|
|
861
|
+
string | ObjectCallArg | TransactionArgument,
|
|
862
|
+
T0 | TransactionArgument
|
|
863
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
864
|
+
function existsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
865
|
+
string | ObjectCallArg | TransactionArgument,
|
|
866
|
+
T0 | TransactionArgument
|
|
867
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
868
|
+
function id<T0 = any>(client: SuiClient, args: [
|
|
869
|
+
string | ObjectCallArg | TransactionArgument,
|
|
870
|
+
T0 | TransactionArgument
|
|
871
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
872
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
873
|
+
string | ObjectCallArg | TransactionArgument,
|
|
874
|
+
T0 | TransactionArgument
|
|
875
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
876
|
+
}
|
|
877
|
+
}
|
|
878
|
+
export declare namespace ecdsa_k1 {
|
|
879
|
+
namespace builder {
|
|
880
|
+
function decompressPubkey(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
881
|
+
function secp256k1Ecrecover(tx: TransactionBlock, args: [
|
|
882
|
+
string | ObjectCallArg | TransactionArgument,
|
|
883
|
+
string | ObjectCallArg | TransactionArgument,
|
|
884
|
+
number | TransactionArgument
|
|
885
|
+
]): TransactionArgument & [
|
|
886
|
+
TransactionArgument,
|
|
887
|
+
TransactionArgument,
|
|
888
|
+
TransactionArgument
|
|
889
|
+
];
|
|
890
|
+
function secp256k1Verify(tx: TransactionBlock, args: [
|
|
891
|
+
string | ObjectCallArg | TransactionArgument,
|
|
892
|
+
string | ObjectCallArg | TransactionArgument,
|
|
893
|
+
string | ObjectCallArg | TransactionArgument,
|
|
894
|
+
number | TransactionArgument
|
|
895
|
+
]): TransactionArgument & [
|
|
896
|
+
TransactionArgument,
|
|
897
|
+
TransactionArgument,
|
|
898
|
+
TransactionArgument,
|
|
899
|
+
TransactionArgument
|
|
900
|
+
];
|
|
901
|
+
}
|
|
902
|
+
namespace view {
|
|
903
|
+
function decompressPubkey(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
904
|
+
function secp256k1Ecrecover(client: SuiClient, args: [
|
|
905
|
+
string | ObjectCallArg | TransactionArgument,
|
|
906
|
+
string | ObjectCallArg | TransactionArgument,
|
|
907
|
+
number | TransactionArgument
|
|
908
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
909
|
+
function secp256k1Verify(client: SuiClient, args: [
|
|
910
|
+
string | ObjectCallArg | TransactionArgument,
|
|
911
|
+
string | ObjectCallArg | TransactionArgument,
|
|
912
|
+
string | ObjectCallArg | TransactionArgument,
|
|
913
|
+
number | TransactionArgument
|
|
914
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
915
|
+
}
|
|
916
|
+
}
|
|
917
|
+
export declare namespace ecdsa_r1 {
|
|
918
|
+
namespace builder {
|
|
919
|
+
function secp256r1Ecrecover(tx: TransactionBlock, args: [
|
|
920
|
+
string | ObjectCallArg | TransactionArgument,
|
|
921
|
+
string | ObjectCallArg | TransactionArgument,
|
|
922
|
+
number | TransactionArgument
|
|
923
|
+
]): TransactionArgument & [
|
|
924
|
+
TransactionArgument,
|
|
925
|
+
TransactionArgument,
|
|
926
|
+
TransactionArgument
|
|
927
|
+
];
|
|
928
|
+
function secp256r1Verify(tx: TransactionBlock, args: [
|
|
929
|
+
string | ObjectCallArg | TransactionArgument,
|
|
930
|
+
string | ObjectCallArg | TransactionArgument,
|
|
931
|
+
string | ObjectCallArg | TransactionArgument,
|
|
932
|
+
number | TransactionArgument
|
|
933
|
+
]): TransactionArgument & [
|
|
934
|
+
TransactionArgument,
|
|
935
|
+
TransactionArgument,
|
|
936
|
+
TransactionArgument,
|
|
937
|
+
TransactionArgument
|
|
938
|
+
];
|
|
939
|
+
}
|
|
940
|
+
namespace view {
|
|
941
|
+
function secp256r1Ecrecover(client: SuiClient, args: [
|
|
942
|
+
string | ObjectCallArg | TransactionArgument,
|
|
943
|
+
string | ObjectCallArg | TransactionArgument,
|
|
944
|
+
number | TransactionArgument
|
|
945
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
946
|
+
function secp256r1Verify(client: SuiClient, args: [
|
|
947
|
+
string | ObjectCallArg | TransactionArgument,
|
|
948
|
+
string | ObjectCallArg | TransactionArgument,
|
|
949
|
+
string | ObjectCallArg | TransactionArgument,
|
|
950
|
+
number | TransactionArgument
|
|
951
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
952
|
+
}
|
|
953
|
+
}
|
|
954
|
+
export declare namespace ecvrf {
|
|
955
|
+
namespace builder {
|
|
956
|
+
function ecvrfVerify(tx: TransactionBlock, args: [
|
|
957
|
+
string | ObjectCallArg | TransactionArgument,
|
|
958
|
+
string | ObjectCallArg | TransactionArgument,
|
|
959
|
+
string | ObjectCallArg | TransactionArgument,
|
|
960
|
+
string | ObjectCallArg | TransactionArgument
|
|
961
|
+
]): TransactionArgument & [
|
|
962
|
+
TransactionArgument,
|
|
963
|
+
TransactionArgument,
|
|
964
|
+
TransactionArgument,
|
|
965
|
+
TransactionArgument
|
|
966
|
+
];
|
|
967
|
+
}
|
|
968
|
+
namespace view {
|
|
969
|
+
function ecvrfVerify(client: SuiClient, args: [
|
|
970
|
+
string | ObjectCallArg | TransactionArgument,
|
|
971
|
+
string | ObjectCallArg | TransactionArgument,
|
|
972
|
+
string | ObjectCallArg | TransactionArgument,
|
|
973
|
+
string | ObjectCallArg | TransactionArgument
|
|
974
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
975
|
+
}
|
|
976
|
+
}
|
|
977
|
+
export declare namespace ed25519 {
|
|
978
|
+
namespace builder {
|
|
979
|
+
function ed25519Verify(tx: TransactionBlock, args: [
|
|
980
|
+
string | ObjectCallArg | TransactionArgument,
|
|
981
|
+
string | ObjectCallArg | TransactionArgument,
|
|
982
|
+
string | ObjectCallArg | TransactionArgument
|
|
983
|
+
]): TransactionArgument & [
|
|
984
|
+
TransactionArgument,
|
|
985
|
+
TransactionArgument,
|
|
986
|
+
TransactionArgument
|
|
987
|
+
];
|
|
988
|
+
}
|
|
989
|
+
namespace view {
|
|
990
|
+
function ed25519Verify(client: SuiClient, args: [
|
|
991
|
+
string | ObjectCallArg | TransactionArgument,
|
|
992
|
+
string | ObjectCallArg | TransactionArgument,
|
|
993
|
+
string | ObjectCallArg | TransactionArgument
|
|
994
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
995
|
+
}
|
|
996
|
+
}
|
|
997
|
+
export declare namespace event {
|
|
998
|
+
namespace builder {
|
|
999
|
+
function emit<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1000
|
+
}
|
|
1001
|
+
namespace view {
|
|
1002
|
+
function emit<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1003
|
+
}
|
|
1004
|
+
}
|
|
1005
|
+
export declare namespace groth16 {
|
|
1006
|
+
interface Curve {
|
|
1007
|
+
id: number;
|
|
1008
|
+
}
|
|
1009
|
+
namespace Curve {
|
|
1010
|
+
const TYPE_QNAME = "0x2::groth16::Curve";
|
|
1011
|
+
function type(): TypeDescriptor<Curve>;
|
|
1012
|
+
}
|
|
1013
|
+
interface CurveInstance extends TypedEventInstance<Curve> {
|
|
1014
|
+
data_decoded: Curve;
|
|
1015
|
+
type_arguments: [];
|
|
1016
|
+
}
|
|
1017
|
+
interface PreparedVerifyingKey {
|
|
1018
|
+
vk_gamma_abc_g1_bytes: number[];
|
|
1019
|
+
alpha_g1_beta_g2_bytes: number[];
|
|
1020
|
+
gamma_g2_neg_pc_bytes: number[];
|
|
1021
|
+
delta_g2_neg_pc_bytes: number[];
|
|
1022
|
+
}
|
|
1023
|
+
namespace PreparedVerifyingKey {
|
|
1024
|
+
const TYPE_QNAME = "0x2::groth16::PreparedVerifyingKey";
|
|
1025
|
+
function type(): TypeDescriptor<PreparedVerifyingKey>;
|
|
1026
|
+
}
|
|
1027
|
+
interface PreparedVerifyingKeyInstance extends TypedEventInstance<PreparedVerifyingKey> {
|
|
1028
|
+
data_decoded: PreparedVerifyingKey;
|
|
1029
|
+
type_arguments: [];
|
|
1030
|
+
}
|
|
1031
|
+
interface ProofPoints {
|
|
1032
|
+
bytes: number[];
|
|
1033
|
+
}
|
|
1034
|
+
namespace ProofPoints {
|
|
1035
|
+
const TYPE_QNAME = "0x2::groth16::ProofPoints";
|
|
1036
|
+
function type(): TypeDescriptor<ProofPoints>;
|
|
1037
|
+
}
|
|
1038
|
+
interface ProofPointsInstance extends TypedEventInstance<ProofPoints> {
|
|
1039
|
+
data_decoded: ProofPoints;
|
|
1040
|
+
type_arguments: [];
|
|
1041
|
+
}
|
|
1042
|
+
interface PublicProofInputs {
|
|
1043
|
+
bytes: number[];
|
|
1044
|
+
}
|
|
1045
|
+
namespace PublicProofInputs {
|
|
1046
|
+
const TYPE_QNAME = "0x2::groth16::PublicProofInputs";
|
|
1047
|
+
function type(): TypeDescriptor<PublicProofInputs>;
|
|
1048
|
+
}
|
|
1049
|
+
interface PublicProofInputsInstance extends TypedEventInstance<PublicProofInputs> {
|
|
1050
|
+
data_decoded: PublicProofInputs;
|
|
1051
|
+
type_arguments: [];
|
|
1052
|
+
}
|
|
1053
|
+
namespace builder {
|
|
1054
|
+
function bls12381(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
1055
|
+
function bn254(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
1056
|
+
function prepareVerifyingKey(tx: TransactionBlock, args: [
|
|
1057
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1058
|
+
string | ObjectCallArg | TransactionArgument
|
|
1059
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1060
|
+
function proofPointsFromBytes(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1061
|
+
function publicProofInputsFromBytes(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1062
|
+
function pvkFromBytes(tx: TransactionBlock, args: [
|
|
1063
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1064
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1065
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1066
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
1067
|
+
]): TransactionArgument & [
|
|
1068
|
+
TransactionArgument,
|
|
1069
|
+
TransactionArgument,
|
|
1070
|
+
TransactionArgument,
|
|
1071
|
+
TransactionArgument
|
|
1072
|
+
];
|
|
1073
|
+
function pvkToBytes(tx: TransactionBlock, args: [groth16.PreparedVerifyingKey | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1074
|
+
function verifyGroth16Proof(tx: TransactionBlock, args: [
|
|
1075
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1076
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1077
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1078
|
+
string | ObjectCallArg | TransactionArgument
|
|
1079
|
+
]): TransactionArgument & [
|
|
1080
|
+
TransactionArgument,
|
|
1081
|
+
TransactionArgument,
|
|
1082
|
+
TransactionArgument,
|
|
1083
|
+
TransactionArgument
|
|
1084
|
+
];
|
|
1085
|
+
}
|
|
1086
|
+
namespace view {
|
|
1087
|
+
function bls12381(client: SuiClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
|
1088
|
+
function bn254(client: SuiClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
|
1089
|
+
function prepareVerifyingKey(client: SuiClient, args: [
|
|
1090
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1091
|
+
string | ObjectCallArg | TransactionArgument
|
|
1092
|
+
]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
|
1093
|
+
function proofPointsFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[groth16.ProofPoints]>>;
|
|
1094
|
+
function publicProofInputsFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[groth16.PublicProofInputs]>>;
|
|
1095
|
+
function pvkFromBytes(client: SuiClient, args: [
|
|
1096
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1097
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1098
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1099
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
1100
|
+
]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
|
1101
|
+
function pvkToBytes(client: SuiClient, args: [groth16.PreparedVerifyingKey | TransactionArgument]): Promise<TypedDevInspectResults<[number[][]]>>;
|
|
1102
|
+
function verifyGroth16Proof(client: SuiClient, args: [
|
|
1103
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1104
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1105
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1106
|
+
string | ObjectCallArg | TransactionArgument
|
|
1107
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1108
|
+
}
|
|
1109
|
+
}
|
|
1110
|
+
export declare namespace hash {
|
|
1111
|
+
namespace builder {
|
|
1112
|
+
function blake2b256(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1113
|
+
function keccak256(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1114
|
+
}
|
|
1115
|
+
namespace view {
|
|
1116
|
+
function blake2b256(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1117
|
+
function keccak256(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1118
|
+
}
|
|
1119
|
+
}
|
|
1120
|
+
export declare namespace hex {
|
|
1121
|
+
namespace builder {
|
|
1122
|
+
function decode(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1123
|
+
function encode(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1124
|
+
}
|
|
1125
|
+
namespace view {
|
|
1126
|
+
function decode(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1127
|
+
function encode(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1128
|
+
}
|
|
1129
|
+
}
|
|
1130
|
+
export declare namespace hmac {
|
|
1131
|
+
namespace builder {
|
|
1132
|
+
function hmacSha3256(tx: TransactionBlock, args: [
|
|
1133
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1134
|
+
string | ObjectCallArg | TransactionArgument
|
|
1135
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1136
|
+
}
|
|
1137
|
+
namespace view {
|
|
1138
|
+
function hmacSha3256(client: SuiClient, args: [
|
|
1139
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1140
|
+
string | ObjectCallArg | TransactionArgument
|
|
1141
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1142
|
+
}
|
|
1143
|
+
}
|
|
1144
|
+
export declare namespace kiosk {
|
|
1145
|
+
interface Borrow {
|
|
1146
|
+
kiosk_id: object_.ID;
|
|
1147
|
+
item_id: object_.ID;
|
|
1148
|
+
}
|
|
1149
|
+
namespace Borrow {
|
|
1150
|
+
const TYPE_QNAME = "0x2::kiosk::Borrow";
|
|
1151
|
+
function type(): TypeDescriptor<Borrow>;
|
|
1152
|
+
}
|
|
1153
|
+
interface Item {
|
|
1154
|
+
id: object_.ID;
|
|
1155
|
+
}
|
|
1156
|
+
namespace Item {
|
|
1157
|
+
const TYPE_QNAME = "0x2::kiosk::Item";
|
|
1158
|
+
function type(): TypeDescriptor<Item>;
|
|
1159
|
+
}
|
|
1160
|
+
interface ItemInstance extends TypedEventInstance<Item> {
|
|
1161
|
+
data_decoded: Item;
|
|
1162
|
+
type_arguments: [];
|
|
1163
|
+
}
|
|
1164
|
+
interface ItemDelisted<T0> {
|
|
1165
|
+
kiosk: object_.ID;
|
|
1166
|
+
id: object_.ID;
|
|
1167
|
+
}
|
|
1168
|
+
namespace ItemDelisted {
|
|
1169
|
+
const TYPE_QNAME = "0x2::kiosk::ItemDelisted";
|
|
1170
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemDelisted<T0>>;
|
|
1171
|
+
}
|
|
1172
|
+
interface ItemDelistedInstance extends TypedEventInstance<ItemDelisted<any>> {
|
|
1173
|
+
data_decoded: ItemDelisted<any>;
|
|
1174
|
+
type_arguments: [string];
|
|
1175
|
+
}
|
|
1176
|
+
interface ItemListed<T0> {
|
|
1177
|
+
kiosk: object_.ID;
|
|
1178
|
+
id: object_.ID;
|
|
1179
|
+
price: bigint;
|
|
1180
|
+
}
|
|
1181
|
+
namespace ItemListed {
|
|
1182
|
+
const TYPE_QNAME = "0x2::kiosk::ItemListed";
|
|
1183
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemListed<T0>>;
|
|
1184
|
+
}
|
|
1185
|
+
interface ItemListedInstance extends TypedEventInstance<ItemListed<any>> {
|
|
1186
|
+
data_decoded: ItemListed<any>;
|
|
1187
|
+
type_arguments: [string];
|
|
1188
|
+
}
|
|
1189
|
+
interface ItemPurchased<T0> {
|
|
1190
|
+
kiosk: object_.ID;
|
|
1191
|
+
id: object_.ID;
|
|
1192
|
+
price: bigint;
|
|
1193
|
+
}
|
|
1194
|
+
namespace ItemPurchased {
|
|
1195
|
+
const TYPE_QNAME = "0x2::kiosk::ItemPurchased";
|
|
1196
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<ItemPurchased<T0>>;
|
|
1197
|
+
}
|
|
1198
|
+
interface ItemPurchasedInstance extends TypedEventInstance<ItemPurchased<any>> {
|
|
1199
|
+
data_decoded: ItemPurchased<any>;
|
|
1200
|
+
type_arguments: [string];
|
|
1201
|
+
}
|
|
1202
|
+
interface Kiosk {
|
|
1203
|
+
id: object_.UID;
|
|
1204
|
+
profits: balance.Balance<sui.SUI>;
|
|
1205
|
+
owner: string;
|
|
1206
|
+
item_count: number;
|
|
1207
|
+
allow_extensions: Boolean;
|
|
1208
|
+
}
|
|
1209
|
+
namespace Kiosk {
|
|
1210
|
+
const TYPE_QNAME = "0x2::kiosk::Kiosk";
|
|
1211
|
+
function type(): TypeDescriptor<Kiosk>;
|
|
1212
|
+
}
|
|
1213
|
+
interface KioskOwnerCap {
|
|
1214
|
+
id: object_.UID;
|
|
1215
|
+
for: object_.ID;
|
|
1216
|
+
}
|
|
1217
|
+
namespace KioskOwnerCap {
|
|
1218
|
+
const TYPE_QNAME = "0x2::kiosk::KioskOwnerCap";
|
|
1219
|
+
function type(): TypeDescriptor<KioskOwnerCap>;
|
|
1220
|
+
}
|
|
1221
|
+
interface Listing {
|
|
1222
|
+
id: object_.ID;
|
|
1223
|
+
is_exclusive: Boolean;
|
|
1224
|
+
}
|
|
1225
|
+
namespace Listing {
|
|
1226
|
+
const TYPE_QNAME = "0x2::kiosk::Listing";
|
|
1227
|
+
function type(): TypeDescriptor<Listing>;
|
|
1228
|
+
}
|
|
1229
|
+
interface ListingInstance extends TypedEventInstance<Listing> {
|
|
1230
|
+
data_decoded: Listing;
|
|
1231
|
+
type_arguments: [];
|
|
1232
|
+
}
|
|
1233
|
+
interface Lock {
|
|
1234
|
+
id: object_.ID;
|
|
1235
|
+
}
|
|
1236
|
+
namespace Lock {
|
|
1237
|
+
const TYPE_QNAME = "0x2::kiosk::Lock";
|
|
1238
|
+
function type(): TypeDescriptor<Lock>;
|
|
1239
|
+
}
|
|
1240
|
+
interface LockInstance extends TypedEventInstance<Lock> {
|
|
1241
|
+
data_decoded: Lock;
|
|
1242
|
+
type_arguments: [];
|
|
1243
|
+
}
|
|
1244
|
+
interface PurchaseCap<T0> {
|
|
1245
|
+
id: object_.UID;
|
|
1246
|
+
kiosk_id: object_.ID;
|
|
1247
|
+
item_id: object_.ID;
|
|
1248
|
+
min_price: bigint;
|
|
1249
|
+
}
|
|
1250
|
+
namespace PurchaseCap {
|
|
1251
|
+
const TYPE_QNAME = "0x2::kiosk::PurchaseCap";
|
|
1252
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<PurchaseCap<T0>>;
|
|
1253
|
+
}
|
|
1254
|
+
namespace builder {
|
|
1255
|
+
function borrow<T0 = any>(tx: TransactionBlock, args: [
|
|
1256
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1257
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1258
|
+
object_.ID | TransactionArgument
|
|
1259
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1260
|
+
TransactionArgument,
|
|
1261
|
+
TransactionArgument,
|
|
1262
|
+
TransactionArgument
|
|
1263
|
+
];
|
|
1264
|
+
function borrowMut<T0 = any>(tx: TransactionBlock, args: [
|
|
1265
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1266
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1267
|
+
object_.ID | TransactionArgument
|
|
1268
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1269
|
+
TransactionArgument,
|
|
1270
|
+
TransactionArgument,
|
|
1271
|
+
TransactionArgument
|
|
1272
|
+
];
|
|
1273
|
+
function borrowVal<T0 = any>(tx: TransactionBlock, args: [
|
|
1274
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1275
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1276
|
+
object_.ID | TransactionArgument
|
|
1277
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1278
|
+
TransactionArgument,
|
|
1279
|
+
TransactionArgument,
|
|
1280
|
+
TransactionArgument
|
|
1281
|
+
];
|
|
1282
|
+
function closeAndWithdraw(tx: TransactionBlock, args: [
|
|
1283
|
+
kiosk.Kiosk | TransactionArgument,
|
|
1284
|
+
kiosk.KioskOwnerCap | TransactionArgument,
|
|
1285
|
+
string | ObjectCallArg | TransactionArgument
|
|
1286
|
+
]): TransactionArgument & [
|
|
1287
|
+
TransactionArgument,
|
|
1288
|
+
TransactionArgument,
|
|
1289
|
+
TransactionArgument
|
|
1290
|
+
];
|
|
1291
|
+
function delist<T0 = any>(tx: TransactionBlock, args: [
|
|
1292
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1293
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1294
|
+
object_.ID | TransactionArgument
|
|
1295
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1296
|
+
TransactionArgument,
|
|
1297
|
+
TransactionArgument,
|
|
1298
|
+
TransactionArgument
|
|
1299
|
+
];
|
|
1300
|
+
function hasAccess(tx: TransactionBlock, args: [
|
|
1301
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1302
|
+
string | ObjectCallArg | TransactionArgument
|
|
1303
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1304
|
+
function hasItem(tx: TransactionBlock, args: [
|
|
1305
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1306
|
+
object_.ID | TransactionArgument
|
|
1307
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1308
|
+
function hasItemWithType<T0 = any>(tx: TransactionBlock, args: [
|
|
1309
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1310
|
+
object_.ID | TransactionArgument
|
|
1311
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1312
|
+
function isListed(tx: TransactionBlock, args: [
|
|
1313
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1314
|
+
object_.ID | TransactionArgument
|
|
1315
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1316
|
+
function isListedExclusively(tx: TransactionBlock, args: [
|
|
1317
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1318
|
+
object_.ID | TransactionArgument
|
|
1319
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1320
|
+
function isLocked(tx: TransactionBlock, args: [
|
|
1321
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1322
|
+
object_.ID | TransactionArgument
|
|
1323
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1324
|
+
function itemCount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1325
|
+
function list<T0 = any>(tx: TransactionBlock, args: [
|
|
1326
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1327
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1328
|
+
object_.ID | TransactionArgument,
|
|
1329
|
+
bigint | TransactionArgument
|
|
1330
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1331
|
+
TransactionArgument,
|
|
1332
|
+
TransactionArgument,
|
|
1333
|
+
TransactionArgument,
|
|
1334
|
+
TransactionArgument
|
|
1335
|
+
];
|
|
1336
|
+
function listWithPurchaseCap<T0 = any>(tx: TransactionBlock, args: [
|
|
1337
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1338
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1339
|
+
object_.ID | TransactionArgument,
|
|
1340
|
+
bigint | TransactionArgument,
|
|
1341
|
+
string | ObjectCallArg | TransactionArgument
|
|
1342
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1343
|
+
TransactionArgument,
|
|
1344
|
+
TransactionArgument,
|
|
1345
|
+
TransactionArgument,
|
|
1346
|
+
TransactionArgument,
|
|
1347
|
+
TransactionArgument
|
|
1348
|
+
];
|
|
1349
|
+
function lock<T0 = any>(tx: TransactionBlock, args: [
|
|
1350
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1351
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1352
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1353
|
+
T0 | TransactionArgument
|
|
1354
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1355
|
+
TransactionArgument,
|
|
1356
|
+
TransactionArgument,
|
|
1357
|
+
TransactionArgument,
|
|
1358
|
+
TransactionArgument
|
|
1359
|
+
];
|
|
1360
|
+
function new_(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1361
|
+
function owner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1362
|
+
function place<T0 = any>(tx: TransactionBlock, args: [
|
|
1363
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1364
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1365
|
+
T0 | TransactionArgument
|
|
1366
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1367
|
+
TransactionArgument,
|
|
1368
|
+
TransactionArgument,
|
|
1369
|
+
TransactionArgument
|
|
1370
|
+
];
|
|
1371
|
+
function placeAndList<T0 = any>(tx: TransactionBlock, args: [
|
|
1372
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1373
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1374
|
+
T0 | TransactionArgument,
|
|
1375
|
+
bigint | TransactionArgument
|
|
1376
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1377
|
+
TransactionArgument,
|
|
1378
|
+
TransactionArgument,
|
|
1379
|
+
TransactionArgument,
|
|
1380
|
+
TransactionArgument
|
|
1381
|
+
];
|
|
1382
|
+
function profitsAmount(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1383
|
+
function profitsMut(tx: TransactionBlock, args: [
|
|
1384
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1385
|
+
string | ObjectCallArg | TransactionArgument
|
|
1386
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1387
|
+
function purchase<T0 = any>(tx: TransactionBlock, args: [
|
|
1388
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1389
|
+
object_.ID | TransactionArgument,
|
|
1390
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
|
1391
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1392
|
+
TransactionArgument,
|
|
1393
|
+
TransactionArgument,
|
|
1394
|
+
TransactionArgument
|
|
1395
|
+
];
|
|
1396
|
+
function purchaseCapItem<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1397
|
+
function purchaseCapKiosk<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1398
|
+
function purchaseCapMinPrice<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1399
|
+
function purchaseWithCap<T0 = any>(tx: TransactionBlock, args: [
|
|
1400
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1401
|
+
kiosk.PurchaseCap<T0> | TransactionArgument,
|
|
1402
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
|
1403
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1404
|
+
TransactionArgument,
|
|
1405
|
+
TransactionArgument,
|
|
1406
|
+
TransactionArgument
|
|
1407
|
+
];
|
|
1408
|
+
function returnPurchaseCap<T0 = any>(tx: TransactionBlock, args: [
|
|
1409
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1410
|
+
kiosk.PurchaseCap<T0> | TransactionArgument
|
|
1411
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1412
|
+
function returnVal<T0 = any>(tx: TransactionBlock, args: [
|
|
1413
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1414
|
+
T0 | TransactionArgument,
|
|
1415
|
+
kiosk.Borrow | TransactionArgument
|
|
1416
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1417
|
+
TransactionArgument,
|
|
1418
|
+
TransactionArgument,
|
|
1419
|
+
TransactionArgument
|
|
1420
|
+
];
|
|
1421
|
+
function setAllowExtensions(tx: TransactionBlock, args: [
|
|
1422
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1423
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1424
|
+
Boolean | TransactionArgument
|
|
1425
|
+
]): TransactionArgument & [
|
|
1426
|
+
TransactionArgument,
|
|
1427
|
+
TransactionArgument,
|
|
1428
|
+
TransactionArgument
|
|
1429
|
+
];
|
|
1430
|
+
function setOwner(tx: TransactionBlock, args: [
|
|
1431
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1432
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1433
|
+
string | ObjectCallArg | TransactionArgument
|
|
1434
|
+
]): TransactionArgument & [
|
|
1435
|
+
TransactionArgument,
|
|
1436
|
+
TransactionArgument,
|
|
1437
|
+
TransactionArgument
|
|
1438
|
+
];
|
|
1439
|
+
function setOwnerCustom(tx: TransactionBlock, args: [
|
|
1440
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1441
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1442
|
+
string | TransactionArgument
|
|
1443
|
+
]): TransactionArgument & [
|
|
1444
|
+
TransactionArgument,
|
|
1445
|
+
TransactionArgument,
|
|
1446
|
+
TransactionArgument
|
|
1447
|
+
];
|
|
1448
|
+
function take<T0 = any>(tx: TransactionBlock, args: [
|
|
1449
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1450
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1451
|
+
object_.ID | TransactionArgument
|
|
1452
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1453
|
+
TransactionArgument,
|
|
1454
|
+
TransactionArgument,
|
|
1455
|
+
TransactionArgument
|
|
1456
|
+
];
|
|
1457
|
+
function uid(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1458
|
+
function uidMut(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1459
|
+
function uidMutAsOwner(tx: TransactionBlock, args: [
|
|
1460
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1461
|
+
string | ObjectCallArg | TransactionArgument
|
|
1462
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1463
|
+
function withdraw(tx: TransactionBlock, args: [
|
|
1464
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1465
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1466
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
1467
|
+
string | ObjectCallArg | TransactionArgument
|
|
1468
|
+
]): TransactionArgument & [
|
|
1469
|
+
TransactionArgument,
|
|
1470
|
+
TransactionArgument,
|
|
1471
|
+
TransactionArgument,
|
|
1472
|
+
TransactionArgument
|
|
1473
|
+
];
|
|
1474
|
+
}
|
|
1475
|
+
namespace view {
|
|
1476
|
+
function borrow<T0 = any>(client: SuiClient, args: [
|
|
1477
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1478
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1479
|
+
object_.ID | TransactionArgument
|
|
1480
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1481
|
+
function borrowMut<T0 = any>(client: SuiClient, args: [
|
|
1482
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1483
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1484
|
+
object_.ID | TransactionArgument
|
|
1485
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1486
|
+
function borrowVal<T0 = any>(client: SuiClient, args: [
|
|
1487
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1488
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1489
|
+
object_.ID | TransactionArgument
|
|
1490
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, kiosk.Borrow]>>;
|
|
1491
|
+
function closeAndWithdraw(client: SuiClient, args: [
|
|
1492
|
+
kiosk.Kiosk | TransactionArgument,
|
|
1493
|
+
kiosk.KioskOwnerCap | TransactionArgument,
|
|
1494
|
+
string | ObjectCallArg | TransactionArgument
|
|
1495
|
+
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
1496
|
+
function delist<T0 = any>(client: SuiClient, args: [
|
|
1497
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1498
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1499
|
+
object_.ID | TransactionArgument
|
|
1500
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1501
|
+
function hasAccess(client: SuiClient, args: [
|
|
1502
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1503
|
+
string | ObjectCallArg | TransactionArgument
|
|
1504
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1505
|
+
function hasItem(client: SuiClient, args: [
|
|
1506
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1507
|
+
object_.ID | TransactionArgument
|
|
1508
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1509
|
+
function hasItemWithType<T0 = any>(client: SuiClient, args: [
|
|
1510
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1511
|
+
object_.ID | TransactionArgument
|
|
1512
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1513
|
+
function isListed(client: SuiClient, args: [
|
|
1514
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1515
|
+
object_.ID | TransactionArgument
|
|
1516
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1517
|
+
function isListedExclusively(client: SuiClient, args: [
|
|
1518
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1519
|
+
object_.ID | TransactionArgument
|
|
1520
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1521
|
+
function isLocked(client: SuiClient, args: [
|
|
1522
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1523
|
+
object_.ID | TransactionArgument
|
|
1524
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1525
|
+
function itemCount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
1526
|
+
function list<T0 = any>(client: SuiClient, args: [
|
|
1527
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1528
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1529
|
+
object_.ID | TransactionArgument,
|
|
1530
|
+
bigint | TransactionArgument
|
|
1531
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1532
|
+
function listWithPurchaseCap<T0 = any>(client: SuiClient, args: [
|
|
1533
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1534
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1535
|
+
object_.ID | TransactionArgument,
|
|
1536
|
+
bigint | TransactionArgument,
|
|
1537
|
+
string | ObjectCallArg | TransactionArgument
|
|
1538
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[kiosk.PurchaseCap<T0>]>>;
|
|
1539
|
+
function lock<T0 = any>(client: SuiClient, args: [
|
|
1540
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1541
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1542
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1543
|
+
T0 | TransactionArgument
|
|
1544
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1545
|
+
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[kiosk.Kiosk, kiosk.KioskOwnerCap]>>;
|
|
1546
|
+
function owner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1547
|
+
function place<T0 = any>(client: SuiClient, args: [
|
|
1548
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1549
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1550
|
+
T0 | TransactionArgument
|
|
1551
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1552
|
+
function placeAndList<T0 = any>(client: SuiClient, args: [
|
|
1553
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1554
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1555
|
+
T0 | TransactionArgument,
|
|
1556
|
+
bigint | TransactionArgument
|
|
1557
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1558
|
+
function profitsAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1559
|
+
function profitsMut(client: SuiClient, args: [
|
|
1560
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1561
|
+
string | ObjectCallArg | TransactionArgument
|
|
1562
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
|
1563
|
+
function purchase<T0 = any>(client: SuiClient, args: [
|
|
1564
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1565
|
+
object_.ID | TransactionArgument,
|
|
1566
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
|
1567
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
|
1568
|
+
function purchaseCapItem<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1569
|
+
function purchaseCapKiosk<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1570
|
+
function purchaseCapMinPrice<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1571
|
+
function purchaseWithCap<T0 = any>(client: SuiClient, args: [
|
|
1572
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1573
|
+
kiosk.PurchaseCap<T0> | TransactionArgument,
|
|
1574
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
|
1575
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
|
1576
|
+
function returnPurchaseCap<T0 = any>(client: SuiClient, args: [
|
|
1577
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1578
|
+
kiosk.PurchaseCap<T0> | TransactionArgument
|
|
1579
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1580
|
+
function returnVal<T0 = any>(client: SuiClient, args: [
|
|
1581
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1582
|
+
T0 | TransactionArgument,
|
|
1583
|
+
kiosk.Borrow | TransactionArgument
|
|
1584
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1585
|
+
function setAllowExtensions(client: SuiClient, args: [
|
|
1586
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1587
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1588
|
+
Boolean | TransactionArgument
|
|
1589
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1590
|
+
function setOwner(client: SuiClient, args: [
|
|
1591
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1592
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1593
|
+
string | ObjectCallArg | TransactionArgument
|
|
1594
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1595
|
+
function setOwnerCustom(client: SuiClient, args: [
|
|
1596
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1597
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1598
|
+
string | TransactionArgument
|
|
1599
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1600
|
+
function take<T0 = any>(client: SuiClient, args: [
|
|
1601
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1602
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1603
|
+
object_.ID | TransactionArgument
|
|
1604
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
1605
|
+
function uid(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1606
|
+
function uidMut(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1607
|
+
function uidMutAsOwner(client: SuiClient, args: [
|
|
1608
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1609
|
+
string | ObjectCallArg | TransactionArgument
|
|
1610
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
|
1611
|
+
function withdraw(client: SuiClient, args: [
|
|
1612
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1613
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1614
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
1615
|
+
string | ObjectCallArg | TransactionArgument
|
|
1616
|
+
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
1617
|
+
}
|
|
1618
|
+
}
|
|
1619
|
+
export declare namespace linked_table {
|
|
1620
|
+
interface LinkedTable<T0, T1> {
|
|
1621
|
+
id: object_.UID;
|
|
1622
|
+
size: bigint;
|
|
1623
|
+
head: _0x1.option.Option<T0>;
|
|
1624
|
+
tail: _0x1.option.Option<T0>;
|
|
1625
|
+
}
|
|
1626
|
+
namespace LinkedTable {
|
|
1627
|
+
const TYPE_QNAME = "0x2::linked_table::LinkedTable";
|
|
1628
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<LinkedTable<T0, T1>>;
|
|
1629
|
+
}
|
|
1630
|
+
interface Node<T0, T1> {
|
|
1631
|
+
prev: _0x1.option.Option<T0>;
|
|
1632
|
+
next: _0x1.option.Option<T0>;
|
|
1633
|
+
value: T1;
|
|
1634
|
+
}
|
|
1635
|
+
namespace Node {
|
|
1636
|
+
const TYPE_QNAME = "0x2::linked_table::Node";
|
|
1637
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Node<T0, T1>>;
|
|
1638
|
+
}
|
|
1639
|
+
namespace builder {
|
|
1640
|
+
function back<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1641
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1642
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1643
|
+
T0 | TransactionArgument
|
|
1644
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1645
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1646
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1647
|
+
T0 | TransactionArgument
|
|
1648
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1649
|
+
function contains<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1650
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1651
|
+
T0 | TransactionArgument
|
|
1652
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1653
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1654
|
+
function drop<T0 = any, T1 = any>(tx: TransactionBlock, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1655
|
+
function front<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1656
|
+
function isEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1657
|
+
function length<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1658
|
+
function new_<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1659
|
+
function next<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1660
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1661
|
+
T0 | TransactionArgument
|
|
1662
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1663
|
+
function popBack<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1664
|
+
function popFront<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1665
|
+
function prev<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1666
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1667
|
+
T0 | TransactionArgument
|
|
1668
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1669
|
+
function pushBack<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1670
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1671
|
+
T0 | TransactionArgument,
|
|
1672
|
+
T1 | TransactionArgument
|
|
1673
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1674
|
+
TransactionArgument,
|
|
1675
|
+
TransactionArgument,
|
|
1676
|
+
TransactionArgument
|
|
1677
|
+
];
|
|
1678
|
+
function pushFront<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1679
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1680
|
+
T0 | TransactionArgument,
|
|
1681
|
+
T1 | TransactionArgument
|
|
1682
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1683
|
+
TransactionArgument,
|
|
1684
|
+
TransactionArgument,
|
|
1685
|
+
TransactionArgument
|
|
1686
|
+
];
|
|
1687
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1688
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1689
|
+
T0 | TransactionArgument
|
|
1690
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1691
|
+
}
|
|
1692
|
+
namespace view {
|
|
1693
|
+
function back<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1694
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1695
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1696
|
+
T0 | TransactionArgument
|
|
1697
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1698
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1699
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1700
|
+
T0 | TransactionArgument
|
|
1701
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1702
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1703
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1704
|
+
T0 | TransactionArgument
|
|
1705
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1706
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1707
|
+
function drop<T0 = any, T1 = any>(client: SuiClient, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1708
|
+
function front<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1709
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1710
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1711
|
+
function new_<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[linked_table.LinkedTable<T0, T1>]>>;
|
|
1712
|
+
function next<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1713
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1714
|
+
T0 | TransactionArgument
|
|
1715
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1716
|
+
function popBack<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
1717
|
+
function popFront<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
1718
|
+
function prev<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1719
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1720
|
+
T0 | TransactionArgument
|
|
1721
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1722
|
+
function pushBack<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1723
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1724
|
+
T0 | TransactionArgument,
|
|
1725
|
+
T1 | TransactionArgument
|
|
1726
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1727
|
+
function pushFront<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1728
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1729
|
+
T0 | TransactionArgument,
|
|
1730
|
+
T1 | TransactionArgument
|
|
1731
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1732
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1733
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1734
|
+
T0 | TransactionArgument
|
|
1735
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1736
|
+
}
|
|
1737
|
+
}
|
|
1738
|
+
export declare namespace math {
|
|
1739
|
+
namespace builder {
|
|
1740
|
+
function diff(tx: TransactionBlock, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1741
|
+
function divideAndRoundUp(tx: TransactionBlock, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1742
|
+
function max(tx: TransactionBlock, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1743
|
+
function min(tx: TransactionBlock, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1744
|
+
function pow(tx: TransactionBlock, args: [bigint | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1745
|
+
function sqrt(tx: TransactionBlock, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1746
|
+
function sqrtU128(tx: TransactionBlock, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1747
|
+
}
|
|
1748
|
+
namespace view {
|
|
1749
|
+
function diff(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1750
|
+
function divideAndRoundUp(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1751
|
+
function max(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1752
|
+
function min(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1753
|
+
function pow(client: SuiClient, args: [bigint | TransactionArgument, number | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1754
|
+
function sqrt(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1755
|
+
function sqrtU128(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1756
|
+
}
|
|
1757
|
+
}
|
|
1758
|
+
export declare namespace object_ {
|
|
1759
|
+
type ID = string;
|
|
1760
|
+
namespace ID {
|
|
1761
|
+
const TYPE_QNAME = "0x2::object::ID";
|
|
1762
|
+
function type(): TypeDescriptor<ID>;
|
|
1763
|
+
}
|
|
1764
|
+
interface UID {
|
|
1765
|
+
id: object_.ID;
|
|
1766
|
+
}
|
|
1767
|
+
namespace UID {
|
|
1768
|
+
const TYPE_QNAME = "0x2::object::UID";
|
|
1769
|
+
function type(): TypeDescriptor<UID>;
|
|
1770
|
+
}
|
|
1771
|
+
namespace builder {
|
|
1772
|
+
function borrowId<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1773
|
+
function delete_(tx: TransactionBlock, args: [object_.UID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1774
|
+
function id<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1775
|
+
function idAddress<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1776
|
+
function idBytes<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1777
|
+
function idFromAddress(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1778
|
+
function idFromBytes(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1779
|
+
function idToAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1780
|
+
function idToBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1781
|
+
function new_(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1782
|
+
function uidAsInner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1783
|
+
function uidToAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1784
|
+
function uidToBytes(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1785
|
+
function uidToInner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1786
|
+
}
|
|
1787
|
+
namespace view {
|
|
1788
|
+
function borrowId<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1789
|
+
function delete_(client: SuiClient, args: [object_.UID | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
1790
|
+
function id<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1791
|
+
function idAddress<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1792
|
+
function idBytes<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1793
|
+
function idFromAddress(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1794
|
+
function idFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1795
|
+
function idToAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1796
|
+
function idToBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1797
|
+
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.UID]>>;
|
|
1798
|
+
function uidAsInner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1799
|
+
function uidToAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
1800
|
+
function uidToBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1801
|
+
function uidToInner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
1802
|
+
}
|
|
1803
|
+
}
|
|
1804
|
+
export declare namespace object_bag {
|
|
1805
|
+
interface ObjectBag {
|
|
1806
|
+
id: object_.UID;
|
|
1807
|
+
size: bigint;
|
|
1808
|
+
}
|
|
1809
|
+
namespace ObjectBag {
|
|
1810
|
+
const TYPE_QNAME = "0x2::object_bag::ObjectBag";
|
|
1811
|
+
function type(): TypeDescriptor<ObjectBag>;
|
|
1812
|
+
}
|
|
1813
|
+
namespace builder {
|
|
1814
|
+
function add<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1815
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1816
|
+
T0 | TransactionArgument,
|
|
1817
|
+
T1 | TransactionArgument
|
|
1818
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1819
|
+
TransactionArgument,
|
|
1820
|
+
TransactionArgument,
|
|
1821
|
+
TransactionArgument
|
|
1822
|
+
];
|
|
1823
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1824
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1825
|
+
T0 | TransactionArgument
|
|
1826
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1827
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1828
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1829
|
+
T0 | TransactionArgument
|
|
1830
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1831
|
+
function contains<T0 = any>(tx: TransactionBlock, args: [
|
|
1832
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1833
|
+
T0 | TransactionArgument
|
|
1834
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1835
|
+
function containsWithType<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1836
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1837
|
+
T0 | TransactionArgument
|
|
1838
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1839
|
+
function destroyEmpty(tx: TransactionBlock, args: [object_bag.ObjectBag | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1840
|
+
function isEmpty(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1841
|
+
function length(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1842
|
+
function new_(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1843
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1844
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1845
|
+
T0 | TransactionArgument
|
|
1846
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1847
|
+
function valueId<T0 = any>(tx: TransactionBlock, args: [
|
|
1848
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1849
|
+
T0 | TransactionArgument
|
|
1850
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1851
|
+
}
|
|
1852
|
+
namespace view {
|
|
1853
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1854
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1855
|
+
T0 | TransactionArgument,
|
|
1856
|
+
T1 | TransactionArgument
|
|
1857
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1858
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1859
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1860
|
+
T0 | TransactionArgument
|
|
1861
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1862
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1863
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1864
|
+
T0 | TransactionArgument
|
|
1865
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1866
|
+
function contains<T0 = any>(client: SuiClient, args: [
|
|
1867
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1868
|
+
T0 | TransactionArgument
|
|
1869
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1870
|
+
function containsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1871
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1872
|
+
T0 | TransactionArgument
|
|
1873
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1874
|
+
function destroyEmpty(client: SuiClient, args: [object_bag.ObjectBag | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
1875
|
+
function isEmpty(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1876
|
+
function length(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1877
|
+
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_bag.ObjectBag]>>;
|
|
1878
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1879
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1880
|
+
T0 | TransactionArgument
|
|
1881
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1882
|
+
function valueId<T0 = any>(client: SuiClient, args: [
|
|
1883
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1884
|
+
T0 | TransactionArgument
|
|
1885
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
1886
|
+
}
|
|
1887
|
+
}
|
|
1888
|
+
export declare namespace object_table {
|
|
1889
|
+
interface ObjectTable<T0, T1> {
|
|
1890
|
+
id: object_.UID;
|
|
1891
|
+
size: bigint;
|
|
1892
|
+
}
|
|
1893
|
+
namespace ObjectTable {
|
|
1894
|
+
const TYPE_QNAME = "0x2::object_table::ObjectTable";
|
|
1895
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<ObjectTable<T0, T1>>;
|
|
1896
|
+
}
|
|
1897
|
+
namespace builder {
|
|
1898
|
+
function add<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1899
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1900
|
+
T0 | TransactionArgument,
|
|
1901
|
+
T1 | TransactionArgument
|
|
1902
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
1903
|
+
TransactionArgument,
|
|
1904
|
+
TransactionArgument,
|
|
1905
|
+
TransactionArgument
|
|
1906
|
+
];
|
|
1907
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1908
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1909
|
+
T0 | TransactionArgument
|
|
1910
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1911
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1912
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1913
|
+
T0 | TransactionArgument
|
|
1914
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1915
|
+
function contains<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1916
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1917
|
+
T0 | TransactionArgument
|
|
1918
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1919
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [object_table.ObjectTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1920
|
+
function isEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1921
|
+
function length<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1922
|
+
function new_<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
1923
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1924
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1925
|
+
T0 | TransactionArgument
|
|
1926
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1927
|
+
function valueId<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
1928
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1929
|
+
T0 | TransactionArgument
|
|
1930
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1931
|
+
}
|
|
1932
|
+
namespace view {
|
|
1933
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1934
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1935
|
+
T0 | TransactionArgument,
|
|
1936
|
+
T1 | TransactionArgument
|
|
1937
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1938
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1939
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1940
|
+
T0 | TransactionArgument
|
|
1941
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1942
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1943
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1944
|
+
T0 | TransactionArgument
|
|
1945
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1946
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1947
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1948
|
+
T0 | TransactionArgument
|
|
1949
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1950
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [object_table.ObjectTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1951
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1952
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1953
|
+
function new_<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[object_table.ObjectTable<T0, T1>]>>;
|
|
1954
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1955
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1956
|
+
T0 | TransactionArgument
|
|
1957
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1958
|
+
function valueId<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1959
|
+
string | ObjectCallArg | TransactionArgument,
|
|
1960
|
+
T0 | TransactionArgument
|
|
1961
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
1962
|
+
}
|
|
1963
|
+
}
|
|
1964
|
+
export declare namespace package_ {
|
|
1965
|
+
interface Publisher {
|
|
1966
|
+
id: object_.UID;
|
|
1967
|
+
package: _0x1.ascii.String;
|
|
1968
|
+
module_name: _0x1.ascii.String;
|
|
1969
|
+
}
|
|
1970
|
+
namespace Publisher {
|
|
1971
|
+
const TYPE_QNAME = "0x2::package::Publisher";
|
|
1972
|
+
function type(): TypeDescriptor<Publisher>;
|
|
1973
|
+
}
|
|
1974
|
+
interface UpgradeCap {
|
|
1975
|
+
id: object_.UID;
|
|
1976
|
+
package: object_.ID;
|
|
1977
|
+
version: bigint;
|
|
1978
|
+
policy: number;
|
|
1979
|
+
}
|
|
1980
|
+
namespace UpgradeCap {
|
|
1981
|
+
const TYPE_QNAME = "0x2::package::UpgradeCap";
|
|
1982
|
+
function type(): TypeDescriptor<UpgradeCap>;
|
|
1983
|
+
}
|
|
1984
|
+
interface UpgradeReceipt {
|
|
1985
|
+
cap: object_.ID;
|
|
1986
|
+
package: object_.ID;
|
|
1987
|
+
}
|
|
1988
|
+
namespace UpgradeReceipt {
|
|
1989
|
+
const TYPE_QNAME = "0x2::package::UpgradeReceipt";
|
|
1990
|
+
function type(): TypeDescriptor<UpgradeReceipt>;
|
|
1991
|
+
}
|
|
1992
|
+
interface UpgradeTicket {
|
|
1993
|
+
cap: object_.ID;
|
|
1994
|
+
package: object_.ID;
|
|
1995
|
+
policy: number;
|
|
1996
|
+
digest: number[];
|
|
1997
|
+
}
|
|
1998
|
+
namespace UpgradeTicket {
|
|
1999
|
+
const TYPE_QNAME = "0x2::package::UpgradeTicket";
|
|
2000
|
+
function type(): TypeDescriptor<UpgradeTicket>;
|
|
2001
|
+
}
|
|
2002
|
+
namespace builder {
|
|
2003
|
+
function additivePolicy(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2004
|
+
function authorizeUpgrade(tx: TransactionBlock, args: [
|
|
2005
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2006
|
+
number | TransactionArgument,
|
|
2007
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
2008
|
+
]): TransactionArgument & [
|
|
2009
|
+
TransactionArgument,
|
|
2010
|
+
TransactionArgument,
|
|
2011
|
+
TransactionArgument
|
|
2012
|
+
];
|
|
2013
|
+
function burnPublisher(tx: TransactionBlock, args: [package_.Publisher | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2014
|
+
function claim<T0 = any>(tx: TransactionBlock, args: [
|
|
2015
|
+
T0 | TransactionArgument,
|
|
2016
|
+
string | ObjectCallArg | TransactionArgument
|
|
2017
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2018
|
+
function claimAndKeep<T0 = any>(tx: TransactionBlock, args: [
|
|
2019
|
+
T0 | TransactionArgument,
|
|
2020
|
+
string | ObjectCallArg | TransactionArgument
|
|
2021
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2022
|
+
function commitUpgrade(tx: TransactionBlock, args: [
|
|
2023
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2024
|
+
package_.UpgradeReceipt | TransactionArgument
|
|
2025
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2026
|
+
function compatiblePolicy(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2027
|
+
function depOnlyPolicy(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
2028
|
+
function fromModule<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2029
|
+
function fromPackage<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2030
|
+
function makeImmutable(tx: TransactionBlock, args: [package_.UpgradeCap | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2031
|
+
function onlyAdditiveUpgrades(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2032
|
+
function onlyDepUpgrades(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2033
|
+
function publishedModule(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2034
|
+
function publishedPackage(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2035
|
+
function receiptCap(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2036
|
+
function receiptPackage(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2037
|
+
function ticketDigest(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2038
|
+
function ticketPackage(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2039
|
+
function ticketPolicy(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2040
|
+
function upgradePackage(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2041
|
+
function upgradePolicy(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2042
|
+
function version(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2043
|
+
}
|
|
2044
|
+
namespace view {
|
|
2045
|
+
function additivePolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
|
2046
|
+
function authorizeUpgrade(client: SuiClient, args: [
|
|
2047
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2048
|
+
number | TransactionArgument,
|
|
2049
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
2050
|
+
]): Promise<TypedDevInspectResults<[package_.UpgradeTicket]>>;
|
|
2051
|
+
function burnPublisher(client: SuiClient, args: [package_.Publisher | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
2052
|
+
function claim<T0 = any>(client: SuiClient, args: [
|
|
2053
|
+
T0 | TransactionArgument,
|
|
2054
|
+
string | ObjectCallArg | TransactionArgument
|
|
2055
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[package_.Publisher]>>;
|
|
2056
|
+
function claimAndKeep<T0 = any>(client: SuiClient, args: [
|
|
2057
|
+
T0 | TransactionArgument,
|
|
2058
|
+
string | ObjectCallArg | TransactionArgument
|
|
2059
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2060
|
+
function commitUpgrade(client: SuiClient, args: [
|
|
2061
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2062
|
+
package_.UpgradeReceipt | TransactionArgument
|
|
2063
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2064
|
+
function compatiblePolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
|
2065
|
+
function depOnlyPolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
|
2066
|
+
function fromModule<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2067
|
+
function fromPackage<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2068
|
+
function makeImmutable(client: SuiClient, args: [package_.UpgradeCap | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
2069
|
+
function onlyAdditiveUpgrades(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
2070
|
+
function onlyDepUpgrades(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
2071
|
+
function publishedModule(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2072
|
+
function publishedPackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2073
|
+
function receiptCap(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2074
|
+
function receiptPackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2075
|
+
function ticketDigest(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2076
|
+
function ticketPackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2077
|
+
function ticketPolicy(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
2078
|
+
function upgradePackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2079
|
+
function upgradePolicy(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
2080
|
+
function version(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2081
|
+
}
|
|
2082
|
+
}
|
|
2083
|
+
export declare namespace pay {
|
|
2084
|
+
namespace builder {
|
|
2085
|
+
function divideAndKeep<T0 = any>(tx: TransactionBlock, args: [
|
|
2086
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2087
|
+
bigint | TransactionArgument,
|
|
2088
|
+
string | ObjectCallArg | TransactionArgument
|
|
2089
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2090
|
+
TransactionArgument,
|
|
2091
|
+
TransactionArgument,
|
|
2092
|
+
TransactionArgument
|
|
2093
|
+
];
|
|
2094
|
+
function join<T0 = any>(tx: TransactionBlock, args: [
|
|
2095
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2096
|
+
coin.Coin<T0> | TransactionArgument
|
|
2097
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2098
|
+
function joinVec<T0 = any>(tx: TransactionBlock, args: [
|
|
2099
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2100
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
2101
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2102
|
+
function joinVecAndTransfer<T0 = any>(tx: TransactionBlock, args: [
|
|
2103
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2104
|
+
string | TransactionArgument
|
|
2105
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2106
|
+
function keep<T0 = any>(tx: TransactionBlock, args: [
|
|
2107
|
+
coin.Coin<T0> | TransactionArgument,
|
|
2108
|
+
string | ObjectCallArg | TransactionArgument
|
|
2109
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2110
|
+
function split<T0 = any>(tx: TransactionBlock, args: [
|
|
2111
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2112
|
+
bigint | TransactionArgument,
|
|
2113
|
+
string | ObjectCallArg | TransactionArgument
|
|
2114
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2115
|
+
TransactionArgument,
|
|
2116
|
+
TransactionArgument,
|
|
2117
|
+
TransactionArgument
|
|
2118
|
+
];
|
|
2119
|
+
function splitAndTransfer<T0 = any>(tx: TransactionBlock, args: [
|
|
2120
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2121
|
+
bigint | TransactionArgument,
|
|
2122
|
+
string | TransactionArgument,
|
|
2123
|
+
string | ObjectCallArg | TransactionArgument
|
|
2124
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2125
|
+
TransactionArgument,
|
|
2126
|
+
TransactionArgument,
|
|
2127
|
+
TransactionArgument,
|
|
2128
|
+
TransactionArgument
|
|
2129
|
+
];
|
|
2130
|
+
function splitVec<T0 = any>(tx: TransactionBlock, args: [
|
|
2131
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2132
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2133
|
+
string | ObjectCallArg | TransactionArgument
|
|
2134
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2135
|
+
TransactionArgument,
|
|
2136
|
+
TransactionArgument,
|
|
2137
|
+
TransactionArgument
|
|
2138
|
+
];
|
|
2139
|
+
}
|
|
2140
|
+
namespace view {
|
|
2141
|
+
function divideAndKeep<T0 = any>(client: SuiClient, args: [
|
|
2142
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2143
|
+
bigint | TransactionArgument,
|
|
2144
|
+
string | ObjectCallArg | TransactionArgument
|
|
2145
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2146
|
+
function join<T0 = any>(client: SuiClient, args: [
|
|
2147
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2148
|
+
coin.Coin<T0> | TransactionArgument
|
|
2149
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2150
|
+
function joinVec<T0 = any>(client: SuiClient, args: [
|
|
2151
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2152
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
2153
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2154
|
+
function joinVecAndTransfer<T0 = any>(client: SuiClient, args: [
|
|
2155
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2156
|
+
string | TransactionArgument
|
|
2157
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2158
|
+
function keep<T0 = any>(client: SuiClient, args: [
|
|
2159
|
+
coin.Coin<T0> | TransactionArgument,
|
|
2160
|
+
string | ObjectCallArg | TransactionArgument
|
|
2161
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2162
|
+
function split<T0 = any>(client: SuiClient, args: [
|
|
2163
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2164
|
+
bigint | TransactionArgument,
|
|
2165
|
+
string | ObjectCallArg | TransactionArgument
|
|
2166
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2167
|
+
function splitAndTransfer<T0 = any>(client: SuiClient, args: [
|
|
2168
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2169
|
+
bigint | TransactionArgument,
|
|
2170
|
+
string | TransactionArgument,
|
|
2171
|
+
string | ObjectCallArg | TransactionArgument
|
|
2172
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2173
|
+
function splitVec<T0 = any>(client: SuiClient, args: [
|
|
2174
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2175
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2176
|
+
string | ObjectCallArg | TransactionArgument
|
|
2177
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2178
|
+
}
|
|
2179
|
+
}
|
|
2180
|
+
export declare namespace priority_queue {
|
|
2181
|
+
interface Entry<T0> {
|
|
2182
|
+
priority: bigint;
|
|
2183
|
+
value: T0;
|
|
2184
|
+
}
|
|
2185
|
+
namespace Entry {
|
|
2186
|
+
const TYPE_QNAME = "0x2::priority_queue::Entry";
|
|
2187
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Entry<T0>>;
|
|
2188
|
+
}
|
|
2189
|
+
interface PriorityQueue<T0> {
|
|
2190
|
+
entries: priority_queue.Entry<T0>[];
|
|
2191
|
+
}
|
|
2192
|
+
namespace PriorityQueue {
|
|
2193
|
+
const TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
|
|
2194
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<PriorityQueue<T0>>;
|
|
2195
|
+
}
|
|
2196
|
+
namespace builder {
|
|
2197
|
+
function createEntries<T0 = any>(tx: TransactionBlock, args: [
|
|
2198
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2199
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
2200
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2201
|
+
function insert<T0 = any>(tx: TransactionBlock, args: [
|
|
2202
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2203
|
+
bigint | TransactionArgument,
|
|
2204
|
+
T0 | TransactionArgument
|
|
2205
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2206
|
+
TransactionArgument,
|
|
2207
|
+
TransactionArgument,
|
|
2208
|
+
TransactionArgument
|
|
2209
|
+
];
|
|
2210
|
+
function new_<T0 = any>(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2211
|
+
function newEntry<T0 = any>(tx: TransactionBlock, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2212
|
+
function popMax<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2213
|
+
function priorities<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2214
|
+
}
|
|
2215
|
+
namespace view {
|
|
2216
|
+
function createEntries<T0 = any>(client: SuiClient, args: [
|
|
2217
|
+
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2218
|
+
(string | ObjectCallArg)[] | TransactionArgument
|
|
2219
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>[]]>>;
|
|
2220
|
+
function insert<T0 = any>(client: SuiClient, args: [
|
|
2221
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2222
|
+
bigint | TransactionArgument,
|
|
2223
|
+
T0 | TransactionArgument
|
|
2224
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2225
|
+
function new_<T0 = any>(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.PriorityQueue<T0>]>>;
|
|
2226
|
+
function newEntry<T0 = any>(client: SuiClient, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>]>>;
|
|
2227
|
+
function popMax<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint, T0]>>;
|
|
2228
|
+
function priorities<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
2229
|
+
}
|
|
2230
|
+
}
|
|
2231
|
+
export declare namespace prover {
|
|
2232
|
+
namespace builder { }
|
|
2233
|
+
namespace view { }
|
|
2234
|
+
}
|
|
2235
|
+
export declare namespace sui {
|
|
2236
|
+
interface SUI {
|
|
2237
|
+
dummy_field: Boolean;
|
|
2238
|
+
}
|
|
2239
|
+
namespace SUI {
|
|
2240
|
+
const TYPE_QNAME = "0x2::sui::SUI";
|
|
2241
|
+
function type(): TypeDescriptor<SUI>;
|
|
2242
|
+
}
|
|
2243
|
+
namespace builder {
|
|
2244
|
+
function transfer(tx: TransactionBlock, args: [
|
|
2245
|
+
coin.Coin<sui.SUI> | TransactionArgument,
|
|
2246
|
+
string | TransactionArgument
|
|
2247
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2248
|
+
}
|
|
2249
|
+
namespace view {
|
|
2250
|
+
function transfer(client: SuiClient, args: [
|
|
2251
|
+
coin.Coin<sui.SUI> | TransactionArgument,
|
|
2252
|
+
string | TransactionArgument
|
|
2253
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2254
|
+
}
|
|
2255
|
+
}
|
|
2256
|
+
export declare namespace table {
|
|
2257
|
+
interface Table<T0, T1> {
|
|
2258
|
+
id: object_.UID;
|
|
2259
|
+
size: bigint;
|
|
2260
|
+
}
|
|
2261
|
+
namespace Table {
|
|
2262
|
+
const TYPE_QNAME = "0x2::table::Table";
|
|
2263
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Table<T0, T1>>;
|
|
2264
|
+
}
|
|
2265
|
+
namespace builder {
|
|
2266
|
+
function add<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2267
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2268
|
+
T0 | TransactionArgument,
|
|
2269
|
+
T1 | TransactionArgument
|
|
2270
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
2271
|
+
TransactionArgument,
|
|
2272
|
+
TransactionArgument,
|
|
2273
|
+
TransactionArgument
|
|
2274
|
+
];
|
|
2275
|
+
function borrow<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2276
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2277
|
+
T0 | TransactionArgument
|
|
2278
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2279
|
+
function borrowMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2280
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2281
|
+
T0 | TransactionArgument
|
|
2282
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2283
|
+
function contains<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2284
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2285
|
+
T0 | TransactionArgument
|
|
2286
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2287
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2288
|
+
function drop<T0 = any, T1 = any>(tx: TransactionBlock, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2289
|
+
function isEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2290
|
+
function length<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2291
|
+
function new_<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2292
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2293
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2294
|
+
T0 | TransactionArgument
|
|
2295
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2296
|
+
}
|
|
2297
|
+
namespace view {
|
|
2298
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2299
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2300
|
+
T0 | TransactionArgument,
|
|
2301
|
+
T1 | TransactionArgument
|
|
2302
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2303
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2304
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2305
|
+
T0 | TransactionArgument
|
|
2306
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2307
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2308
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2309
|
+
T0 | TransactionArgument
|
|
2310
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2311
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2312
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2313
|
+
T0 | TransactionArgument
|
|
2314
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2315
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2316
|
+
function drop<T0 = any, T1 = any>(client: SuiClient, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2317
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2318
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2319
|
+
function new_<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[table.Table<T0, T1>]>>;
|
|
2320
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2321
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2322
|
+
T0 | TransactionArgument
|
|
2323
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
2324
|
+
}
|
|
2325
|
+
}
|
|
2326
|
+
export declare namespace table_vec {
|
|
2327
|
+
interface TableVec<T0> {
|
|
2328
|
+
contents: table.Table<bigint, T0>;
|
|
2329
|
+
}
|
|
2330
|
+
namespace TableVec {
|
|
2331
|
+
const TYPE_QNAME = "0x2::table_vec::TableVec";
|
|
2332
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TableVec<T0>>;
|
|
2333
|
+
}
|
|
2334
|
+
namespace builder {
|
|
2335
|
+
function borrow<T0 = any>(tx: TransactionBlock, args: [
|
|
2336
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2337
|
+
bigint | TransactionArgument
|
|
2338
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2339
|
+
function borrowMut<T0 = any>(tx: TransactionBlock, args: [
|
|
2340
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2341
|
+
bigint | TransactionArgument
|
|
2342
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2343
|
+
function destroyEmpty<T0 = any>(tx: TransactionBlock, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2344
|
+
function empty<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2345
|
+
function isEmpty<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2346
|
+
function length<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2347
|
+
function popBack<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2348
|
+
function pushBack<T0 = any>(tx: TransactionBlock, args: [
|
|
2349
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2350
|
+
T0 | TransactionArgument
|
|
2351
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2352
|
+
function singleton<T0 = any>(tx: TransactionBlock, args: [
|
|
2353
|
+
T0 | TransactionArgument,
|
|
2354
|
+
string | ObjectCallArg | TransactionArgument
|
|
2355
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2356
|
+
}
|
|
2357
|
+
namespace view {
|
|
2358
|
+
function borrow<T0 = any>(client: SuiClient, args: [
|
|
2359
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2360
|
+
bigint | TransactionArgument
|
|
2361
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2362
|
+
function borrowMut<T0 = any>(client: SuiClient, args: [
|
|
2363
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2364
|
+
bigint | TransactionArgument
|
|
2365
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2366
|
+
function destroyEmpty<T0 = any>(client: SuiClient, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2367
|
+
function empty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
|
2368
|
+
function isEmpty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2369
|
+
function length<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2370
|
+
function popBack<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
2371
|
+
function pushBack<T0 = any>(client: SuiClient, args: [
|
|
2372
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2373
|
+
T0 | TransactionArgument
|
|
2374
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2375
|
+
function singleton<T0 = any>(client: SuiClient, args: [
|
|
2376
|
+
T0 | TransactionArgument,
|
|
2377
|
+
string | ObjectCallArg | TransactionArgument
|
|
2378
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
|
2379
|
+
}
|
|
2380
|
+
}
|
|
2381
|
+
export declare namespace transfer {
|
|
2382
|
+
namespace builder {
|
|
2383
|
+
function freezeObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2384
|
+
function publicFreezeObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2385
|
+
function publicShareObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2386
|
+
function publicTransfer<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2387
|
+
function shareObject<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2388
|
+
function transfer<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2389
|
+
}
|
|
2390
|
+
namespace view {
|
|
2391
|
+
function freezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2392
|
+
function publicFreezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2393
|
+
function publicShareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2394
|
+
function publicTransfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2395
|
+
function shareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2396
|
+
function transfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2397
|
+
}
|
|
2398
|
+
}
|
|
2399
|
+
export declare namespace transfer_policy {
|
|
2400
|
+
interface RuleKey<T0> {
|
|
2401
|
+
dummy_field: Boolean;
|
|
2402
|
+
}
|
|
2403
|
+
namespace RuleKey {
|
|
2404
|
+
const TYPE_QNAME = "0x2::transfer_policy::RuleKey";
|
|
2405
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<RuleKey<T0>>;
|
|
2406
|
+
}
|
|
2407
|
+
interface RuleKeyInstance extends TypedEventInstance<RuleKey<any>> {
|
|
2408
|
+
data_decoded: RuleKey<any>;
|
|
2409
|
+
type_arguments: [string];
|
|
2410
|
+
}
|
|
2411
|
+
interface TransferPolicy<T0> {
|
|
2412
|
+
id: object_.UID;
|
|
2413
|
+
balance: balance.Balance<sui.SUI>;
|
|
2414
|
+
rules: vec_set.VecSet<_0x1.type_name.TypeName>;
|
|
2415
|
+
}
|
|
2416
|
+
namespace TransferPolicy {
|
|
2417
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicy";
|
|
2418
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicy<T0>>;
|
|
2419
|
+
}
|
|
2420
|
+
interface TransferPolicyCap<T0> {
|
|
2421
|
+
id: object_.UID;
|
|
2422
|
+
policy_id: object_.ID;
|
|
2423
|
+
}
|
|
2424
|
+
namespace TransferPolicyCap {
|
|
2425
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCap";
|
|
2426
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyCap<T0>>;
|
|
2427
|
+
}
|
|
2428
|
+
interface TransferPolicyCreated<T0> {
|
|
2429
|
+
id: object_.ID;
|
|
2430
|
+
}
|
|
2431
|
+
namespace TransferPolicyCreated {
|
|
2432
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferPolicyCreated";
|
|
2433
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferPolicyCreated<T0>>;
|
|
2434
|
+
}
|
|
2435
|
+
interface TransferPolicyCreatedInstance extends TypedEventInstance<TransferPolicyCreated<any>> {
|
|
2436
|
+
data_decoded: TransferPolicyCreated<any>;
|
|
2437
|
+
type_arguments: [string];
|
|
2438
|
+
}
|
|
2439
|
+
interface TransferRequest<T0> {
|
|
2440
|
+
item: object_.ID;
|
|
2441
|
+
paid: bigint;
|
|
2442
|
+
from: object_.ID;
|
|
2443
|
+
receipts: vec_set.VecSet<_0x1.type_name.TypeName>;
|
|
2444
|
+
}
|
|
2445
|
+
namespace TransferRequest {
|
|
2446
|
+
const TYPE_QNAME = "0x2::transfer_policy::TransferRequest";
|
|
2447
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferRequest<T0>>;
|
|
2448
|
+
}
|
|
2449
|
+
namespace builder {
|
|
2450
|
+
function addReceipt<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2451
|
+
T1 | TransactionArgument,
|
|
2452
|
+
string | ObjectCallArg | TransactionArgument
|
|
2453
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2454
|
+
function addRule<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
2455
|
+
T1 | TransactionArgument,
|
|
2456
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2457
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2458
|
+
T2 | TransactionArgument
|
|
2459
|
+
], typeArguments: [
|
|
2460
|
+
TypeDescriptor<T0> | string,
|
|
2461
|
+
TypeDescriptor<T1> | string,
|
|
2462
|
+
TypeDescriptor<T2> | string
|
|
2463
|
+
]): TransactionArgument & [
|
|
2464
|
+
TransactionArgument,
|
|
2465
|
+
TransactionArgument,
|
|
2466
|
+
TransactionArgument,
|
|
2467
|
+
TransactionArgument
|
|
2468
|
+
];
|
|
2469
|
+
function addToBalance<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2470
|
+
T1 | TransactionArgument,
|
|
2471
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2472
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
|
2473
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
2474
|
+
TransactionArgument,
|
|
2475
|
+
TransactionArgument,
|
|
2476
|
+
TransactionArgument
|
|
2477
|
+
];
|
|
2478
|
+
function confirmRequest<T0 = any>(tx: TransactionBlock, args: [
|
|
2479
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2480
|
+
transfer_policy.TransferRequest<T0> | TransactionArgument
|
|
2481
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2482
|
+
function destroyAndWithdraw<T0 = any>(tx: TransactionBlock, args: [
|
|
2483
|
+
transfer_policy.TransferPolicy<T0> | TransactionArgument,
|
|
2484
|
+
transfer_policy.TransferPolicyCap<T0> | TransactionArgument,
|
|
2485
|
+
string | ObjectCallArg | TransactionArgument
|
|
2486
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2487
|
+
TransactionArgument,
|
|
2488
|
+
TransactionArgument,
|
|
2489
|
+
TransactionArgument
|
|
2490
|
+
];
|
|
2491
|
+
function from<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2492
|
+
function getRule<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
2493
|
+
T1 | TransactionArgument,
|
|
2494
|
+
string | ObjectCallArg | TransactionArgument
|
|
2495
|
+
], typeArguments: [
|
|
2496
|
+
TypeDescriptor<T0> | string,
|
|
2497
|
+
TypeDescriptor<T1> | string,
|
|
2498
|
+
TypeDescriptor<T2> | string
|
|
2499
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2500
|
+
function hasRule<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2501
|
+
function item<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2502
|
+
function new_<T0 = any>(tx: TransactionBlock, args: [
|
|
2503
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2504
|
+
string | ObjectCallArg | TransactionArgument
|
|
2505
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2506
|
+
function newRequest<T0 = any>(tx: TransactionBlock, args: [
|
|
2507
|
+
object_.ID | TransactionArgument,
|
|
2508
|
+
bigint | TransactionArgument,
|
|
2509
|
+
object_.ID | TransactionArgument
|
|
2510
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2511
|
+
TransactionArgument,
|
|
2512
|
+
TransactionArgument,
|
|
2513
|
+
TransactionArgument
|
|
2514
|
+
];
|
|
2515
|
+
function paid<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2516
|
+
function removeRule<T0 = any, T1 = any, T2 = any>(tx: TransactionBlock, args: [
|
|
2517
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2518
|
+
string | ObjectCallArg | TransactionArgument
|
|
2519
|
+
], typeArguments: [
|
|
2520
|
+
TypeDescriptor<T0> | string,
|
|
2521
|
+
TypeDescriptor<T1> | string,
|
|
2522
|
+
TypeDescriptor<T2> | string
|
|
2523
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2524
|
+
function rules<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2525
|
+
function uid<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2526
|
+
function uidMutAsOwner<T0 = any>(tx: TransactionBlock, args: [
|
|
2527
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2528
|
+
string | ObjectCallArg | TransactionArgument
|
|
2529
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2530
|
+
function withdraw<T0 = any>(tx: TransactionBlock, args: [
|
|
2531
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2532
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2533
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
2534
|
+
string | ObjectCallArg | TransactionArgument
|
|
2535
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2536
|
+
TransactionArgument,
|
|
2537
|
+
TransactionArgument,
|
|
2538
|
+
TransactionArgument,
|
|
2539
|
+
TransactionArgument
|
|
2540
|
+
];
|
|
2541
|
+
}
|
|
2542
|
+
namespace view {
|
|
2543
|
+
function addReceipt<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2544
|
+
T1 | TransactionArgument,
|
|
2545
|
+
string | ObjectCallArg | TransactionArgument
|
|
2546
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2547
|
+
function addRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
2548
|
+
T1 | TransactionArgument,
|
|
2549
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2550
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2551
|
+
T2 | TransactionArgument
|
|
2552
|
+
], typeArguments: [
|
|
2553
|
+
TypeDescriptor<T0> | string,
|
|
2554
|
+
TypeDescriptor<T1> | string,
|
|
2555
|
+
TypeDescriptor<T2> | string
|
|
2556
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2557
|
+
function addToBalance<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2558
|
+
T1 | TransactionArgument,
|
|
2559
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2560
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
|
2561
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2562
|
+
function confirmRequest<T0 = any>(client: SuiClient, args: [
|
|
2563
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2564
|
+
transfer_policy.TransferRequest<T0> | TransactionArgument
|
|
2565
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID, bigint, object_.ID]>>;
|
|
2566
|
+
function destroyAndWithdraw<T0 = any>(client: SuiClient, args: [
|
|
2567
|
+
transfer_policy.TransferPolicy<T0> | TransactionArgument,
|
|
2568
|
+
transfer_policy.TransferPolicyCap<T0> | TransactionArgument,
|
|
2569
|
+
string | ObjectCallArg | TransactionArgument
|
|
2570
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
2571
|
+
function from<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2572
|
+
function getRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
2573
|
+
T1 | TransactionArgument,
|
|
2574
|
+
string | ObjectCallArg | TransactionArgument
|
|
2575
|
+
], typeArguments: [
|
|
2576
|
+
TypeDescriptor<T0> | string,
|
|
2577
|
+
TypeDescriptor<T1> | string,
|
|
2578
|
+
TypeDescriptor<T2> | string
|
|
2579
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
|
2580
|
+
function hasRule<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2581
|
+
function item<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
|
2582
|
+
function new_<T0 = any>(client: SuiClient, args: [
|
|
2583
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2584
|
+
string | ObjectCallArg | TransactionArgument
|
|
2585
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
2586
|
+
transfer_policy.TransferPolicy<T0>,
|
|
2587
|
+
transfer_policy.TransferPolicyCap<T0>
|
|
2588
|
+
]>>;
|
|
2589
|
+
function newRequest<T0 = any>(client: SuiClient, args: [
|
|
2590
|
+
object_.ID | TransactionArgument,
|
|
2591
|
+
bigint | TransactionArgument,
|
|
2592
|
+
object_.ID | TransactionArgument
|
|
2593
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[transfer_policy.TransferRequest<T0>]>>;
|
|
2594
|
+
function paid<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2595
|
+
function removeRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
2596
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2597
|
+
string | ObjectCallArg | TransactionArgument
|
|
2598
|
+
], typeArguments: [
|
|
2599
|
+
TypeDescriptor<T0> | string,
|
|
2600
|
+
TypeDescriptor<T1> | string,
|
|
2601
|
+
TypeDescriptor<T2> | string
|
|
2602
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2603
|
+
function rules<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2604
|
+
function uid<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2605
|
+
function uidMutAsOwner<T0 = any>(client: SuiClient, args: [
|
|
2606
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2607
|
+
string | ObjectCallArg | TransactionArgument
|
|
2608
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2609
|
+
function withdraw<T0 = any>(client: SuiClient, args: [
|
|
2610
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2611
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2612
|
+
_0x1.option.Option<bigint> | TransactionArgument,
|
|
2613
|
+
string | ObjectCallArg | TransactionArgument
|
|
2614
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
2615
|
+
}
|
|
2616
|
+
}
|
|
2617
|
+
export declare namespace tx_context {
|
|
2618
|
+
interface TxContext {
|
|
2619
|
+
sender: string;
|
|
2620
|
+
tx_hash: number[];
|
|
2621
|
+
epoch: bigint;
|
|
2622
|
+
epoch_timestamp_ms: bigint;
|
|
2623
|
+
ids_created: bigint;
|
|
2624
|
+
}
|
|
2625
|
+
namespace TxContext {
|
|
2626
|
+
const TYPE_QNAME = "0x2::tx_context::TxContext";
|
|
2627
|
+
function type(): TypeDescriptor<TxContext>;
|
|
2628
|
+
}
|
|
2629
|
+
namespace builder {
|
|
2630
|
+
function epoch(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2631
|
+
function epochTimestampMs(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2632
|
+
function freshObjectAddress(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2633
|
+
function sender(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2634
|
+
}
|
|
2635
|
+
namespace view {
|
|
2636
|
+
function epoch(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2637
|
+
function epochTimestampMs(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2638
|
+
function freshObjectAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2639
|
+
function sender(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
2640
|
+
}
|
|
2641
|
+
}
|
|
2642
|
+
export declare namespace types {
|
|
2643
|
+
namespace builder {
|
|
2644
|
+
function isOneTimeWitness<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2645
|
+
}
|
|
2646
|
+
namespace view {
|
|
2647
|
+
function isOneTimeWitness<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2648
|
+
}
|
|
2649
|
+
}
|
|
2650
|
+
export declare namespace url {
|
|
2651
|
+
interface Url {
|
|
2652
|
+
url: _0x1.ascii.String;
|
|
2653
|
+
}
|
|
2654
|
+
namespace Url {
|
|
2655
|
+
const TYPE_QNAME = "0x2::url::Url";
|
|
2656
|
+
function type(): TypeDescriptor<Url>;
|
|
2657
|
+
}
|
|
2658
|
+
interface UrlInstance extends TypedEventInstance<Url> {
|
|
2659
|
+
data_decoded: Url;
|
|
2660
|
+
type_arguments: [];
|
|
2661
|
+
}
|
|
2662
|
+
namespace builder {
|
|
2663
|
+
function innerUrl(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2664
|
+
function newUnsafe(tx: TransactionBlock, args: [_0x1.ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2665
|
+
function newUnsafeFromBytes(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2666
|
+
function update(tx: TransactionBlock, args: [
|
|
2667
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2668
|
+
_0x1.ascii.String | TransactionArgument
|
|
2669
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2670
|
+
}
|
|
2671
|
+
namespace view {
|
|
2672
|
+
function innerUrl(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
|
2673
|
+
function newUnsafe(client: SuiClient, args: [_0x1.ascii.String | TransactionArgument]): Promise<TypedDevInspectResults<[url.Url]>>;
|
|
2674
|
+
function newUnsafeFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[url.Url]>>;
|
|
2675
|
+
function update(client: SuiClient, args: [
|
|
2676
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2677
|
+
_0x1.ascii.String | TransactionArgument
|
|
2678
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2679
|
+
}
|
|
2680
|
+
}
|
|
2681
|
+
export declare namespace vec_map {
|
|
2682
|
+
interface Entry<T0, T1> {
|
|
2683
|
+
key: T0;
|
|
2684
|
+
value: T1;
|
|
2685
|
+
}
|
|
2686
|
+
namespace Entry {
|
|
2687
|
+
const TYPE_QNAME = "0x2::vec_map::Entry";
|
|
2688
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Entry<T0, T1>>;
|
|
2689
|
+
}
|
|
2690
|
+
interface EntryInstance extends TypedEventInstance<Entry<any, any>> {
|
|
2691
|
+
data_decoded: Entry<any, any>;
|
|
2692
|
+
type_arguments: [string, string];
|
|
2693
|
+
}
|
|
2694
|
+
interface VecMap<T0, T1> {
|
|
2695
|
+
contents: vec_map.Entry<T0, T1>[];
|
|
2696
|
+
}
|
|
2697
|
+
namespace VecMap {
|
|
2698
|
+
const TYPE_QNAME = "0x2::vec_map::VecMap";
|
|
2699
|
+
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<VecMap<T0, T1>>;
|
|
2700
|
+
}
|
|
2701
|
+
interface VecMapInstance extends TypedEventInstance<VecMap<any, any>> {
|
|
2702
|
+
data_decoded: VecMap<any, any>;
|
|
2703
|
+
type_arguments: [string, string];
|
|
2704
|
+
}
|
|
2705
|
+
namespace builder {
|
|
2706
|
+
function contains<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2707
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2708
|
+
string | ObjectCallArg | TransactionArgument
|
|
2709
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2710
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2711
|
+
function empty<T0 = any, T1 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
|
2712
|
+
function get<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2713
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2714
|
+
string | ObjectCallArg | TransactionArgument
|
|
2715
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2716
|
+
function getEntryByIdx<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2717
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2718
|
+
bigint | TransactionArgument
|
|
2719
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2720
|
+
function getEntryByIdxMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2721
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2722
|
+
bigint | TransactionArgument
|
|
2723
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2724
|
+
function getIdx<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2725
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2726
|
+
string | ObjectCallArg | TransactionArgument
|
|
2727
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2728
|
+
function getIdxOpt<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2729
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2730
|
+
string | ObjectCallArg | TransactionArgument
|
|
2731
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2732
|
+
function getMut<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2733
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2734
|
+
string | ObjectCallArg | TransactionArgument
|
|
2735
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2736
|
+
function insert<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2737
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2738
|
+
T0 | TransactionArgument,
|
|
2739
|
+
T1 | TransactionArgument
|
|
2740
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
|
2741
|
+
TransactionArgument,
|
|
2742
|
+
TransactionArgument,
|
|
2743
|
+
TransactionArgument
|
|
2744
|
+
];
|
|
2745
|
+
function intoKeysValues<T0 = any, T1 = any>(tx: TransactionBlock, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2746
|
+
function isEmpty<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2747
|
+
function keys<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2748
|
+
function pop<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2749
|
+
function remove<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2750
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2751
|
+
string | ObjectCallArg | TransactionArgument
|
|
2752
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2753
|
+
function removeEntryByIdx<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2754
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2755
|
+
bigint | TransactionArgument
|
|
2756
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2757
|
+
function size<T0 = any, T1 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
|
2758
|
+
function tryGet<T0 = any, T1 = any>(tx: TransactionBlock, args: [
|
|
2759
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2760
|
+
string | ObjectCallArg | TransactionArgument
|
|
2761
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2762
|
+
}
|
|
2763
|
+
namespace view {
|
|
2764
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2765
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2766
|
+
string | ObjectCallArg | TransactionArgument
|
|
2767
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2768
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2769
|
+
function empty<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
|
2770
|
+
function get<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2771
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2772
|
+
string | ObjectCallArg | TransactionArgument
|
|
2773
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2774
|
+
function getEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2775
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2776
|
+
bigint | TransactionArgument
|
|
2777
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
2778
|
+
function getEntryByIdxMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2779
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2780
|
+
bigint | TransactionArgument
|
|
2781
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
2782
|
+
function getIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2783
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2784
|
+
string | ObjectCallArg | TransactionArgument
|
|
2785
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2786
|
+
function getIdxOpt<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2787
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2788
|
+
string | ObjectCallArg | TransactionArgument
|
|
2789
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
2790
|
+
function getMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2791
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2792
|
+
string | ObjectCallArg | TransactionArgument
|
|
2793
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2794
|
+
function insert<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2795
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2796
|
+
T0 | TransactionArgument,
|
|
2797
|
+
T1 | TransactionArgument
|
|
2798
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2799
|
+
function intoKeysValues<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[] | string, T1[] | string]>>;
|
|
2800
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2801
|
+
function keys<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
|
2802
|
+
function pop<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
2803
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2804
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2805
|
+
string | ObjectCallArg | TransactionArgument
|
|
2806
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
2807
|
+
function removeEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2808
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2809
|
+
bigint | TransactionArgument
|
|
2810
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
2811
|
+
function size<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2812
|
+
function tryGet<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2813
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2814
|
+
string | ObjectCallArg | TransactionArgument
|
|
2815
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
2816
|
+
}
|
|
2817
|
+
}
|
|
2818
|
+
export declare namespace vec_set {
|
|
2819
|
+
interface VecSet<T0> {
|
|
2820
|
+
contents: T0[] | string;
|
|
2821
|
+
}
|
|
2822
|
+
namespace VecSet {
|
|
2823
|
+
const TYPE_QNAME = "0x2::vec_set::VecSet";
|
|
2824
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<VecSet<T0>>;
|
|
2825
|
+
}
|
|
2826
|
+
interface VecSetInstance extends TypedEventInstance<VecSet<any>> {
|
|
2827
|
+
data_decoded: VecSet<any>;
|
|
2828
|
+
type_arguments: [string];
|
|
2829
|
+
}
|
|
2830
|
+
namespace builder {
|
|
2831
|
+
function contains<T0 = any>(tx: TransactionBlock, args: [
|
|
2832
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2833
|
+
string | ObjectCallArg | TransactionArgument
|
|
2834
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2835
|
+
function empty<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
2836
|
+
function insert<T0 = any>(tx: TransactionBlock, args: [
|
|
2837
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2838
|
+
T0 | TransactionArgument
|
|
2839
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2840
|
+
function intoKeys<T0 = any>(tx: TransactionBlock, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2841
|
+
function isEmpty<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2842
|
+
function remove<T0 = any>(tx: TransactionBlock, args: [
|
|
2843
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2844
|
+
string | ObjectCallArg | TransactionArgument
|
|
2845
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2846
|
+
function singleton<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2847
|
+
function size<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2848
|
+
}
|
|
2849
|
+
namespace view {
|
|
2850
|
+
function contains<T0 = any>(client: SuiClient, args: [
|
|
2851
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2852
|
+
string | ObjectCallArg | TransactionArgument
|
|
2853
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2854
|
+
function empty<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
|
2855
|
+
function insert<T0 = any>(client: SuiClient, args: [
|
|
2856
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2857
|
+
T0 | TransactionArgument
|
|
2858
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2859
|
+
function intoKeys<T0 = any>(client: SuiClient, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
|
2860
|
+
function isEmpty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2861
|
+
function remove<T0 = any>(client: SuiClient, args: [
|
|
2862
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2863
|
+
string | ObjectCallArg | TransactionArgument
|
|
2864
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2865
|
+
function singleton<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
|
2866
|
+
function size<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2867
|
+
}
|
|
2868
|
+
}
|
|
2869
|
+
export declare namespace versioned {
|
|
2870
|
+
interface VersionChangeCap {
|
|
2871
|
+
versioned_id: object_.ID;
|
|
2872
|
+
old_version: bigint;
|
|
2873
|
+
}
|
|
2874
|
+
namespace VersionChangeCap {
|
|
2875
|
+
const TYPE_QNAME = "0x2::versioned::VersionChangeCap";
|
|
2876
|
+
function type(): TypeDescriptor<VersionChangeCap>;
|
|
2877
|
+
}
|
|
2878
|
+
interface Versioned {
|
|
2879
|
+
id: object_.UID;
|
|
2880
|
+
version: bigint;
|
|
2881
|
+
}
|
|
2882
|
+
namespace Versioned {
|
|
2883
|
+
const TYPE_QNAME = "0x2::versioned::Versioned";
|
|
2884
|
+
function type(): TypeDescriptor<Versioned>;
|
|
2885
|
+
}
|
|
2886
|
+
namespace builder {
|
|
2887
|
+
function create<T0 = any>(tx: TransactionBlock, args: [
|
|
2888
|
+
bigint | TransactionArgument,
|
|
2889
|
+
T0 | TransactionArgument,
|
|
2890
|
+
string | ObjectCallArg | TransactionArgument
|
|
2891
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2892
|
+
TransactionArgument,
|
|
2893
|
+
TransactionArgument,
|
|
2894
|
+
TransactionArgument
|
|
2895
|
+
];
|
|
2896
|
+
function destroy<T0 = any>(tx: TransactionBlock, args: [versioned.Versioned | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2897
|
+
function loadValue<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2898
|
+
function loadValueMut<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2899
|
+
function removeValueForUpgrade<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2900
|
+
function upgrade<T0 = any>(tx: TransactionBlock, args: [
|
|
2901
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2902
|
+
bigint | TransactionArgument,
|
|
2903
|
+
T0 | TransactionArgument,
|
|
2904
|
+
versioned.VersionChangeCap | TransactionArgument
|
|
2905
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
2906
|
+
TransactionArgument,
|
|
2907
|
+
TransactionArgument,
|
|
2908
|
+
TransactionArgument,
|
|
2909
|
+
TransactionArgument
|
|
2910
|
+
];
|
|
2911
|
+
function version(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2912
|
+
}
|
|
2913
|
+
namespace view {
|
|
2914
|
+
function create<T0 = any>(client: SuiClient, args: [
|
|
2915
|
+
bigint | TransactionArgument,
|
|
2916
|
+
T0 | TransactionArgument,
|
|
2917
|
+
string | ObjectCallArg | TransactionArgument
|
|
2918
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[versioned.Versioned]>>;
|
|
2919
|
+
function destroy<T0 = any>(client: SuiClient, args: [versioned.Versioned | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
2920
|
+
function loadValue<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2921
|
+
function loadValueMut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2922
|
+
function removeValueForUpgrade<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, versioned.VersionChangeCap]>>;
|
|
2923
|
+
function upgrade<T0 = any>(client: SuiClient, args: [
|
|
2924
|
+
string | ObjectCallArg | TransactionArgument,
|
|
2925
|
+
bigint | TransactionArgument,
|
|
2926
|
+
T0 | TransactionArgument,
|
|
2927
|
+
versioned.VersionChangeCap | TransactionArgument
|
|
2928
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2929
|
+
function version(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2930
|
+
}
|
|
2931
|
+
}
|
|
2932
|
+
export declare function loadAllTypes(coder: MoveCoder): void;
|
|
2933
|
+
//# sourceMappingURL=0x2.d.ts.map
|