@typemove/sui 1.5.4 → 1.5.5-rc.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/cjs/builtin/0x1.d.ts +129 -130
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +956 -957
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +291 -292
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +3 -4
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +129 -130
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +956 -957
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +291 -292
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +3 -4
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/package.json +4 -4
- package/src/builtin/0x1.ts +129 -129
- package/src/builtin/0x2.ts +956 -956
- package/src/builtin/0x3.ts +291 -291
- package/src/codegen/codegen.ts +3 -4
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +9 -9
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +127 -127
- package/src/tests/types/testnet/0xdee9.ts +161 -161
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +537 -537
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { TypeDescriptor } from "@typemove/move";
|
|
2
2
|
import { MoveCoder, TypedEventInstance } from "@typemove/sui";
|
|
3
3
|
import { TypedDevInspectResults } from "@typemove/sui";
|
|
4
|
-
import { TransactionBlock, TransactionArgument } from "@mysten/sui.js/transactions";
|
|
4
|
+
import { TransactionBlock, TransactionArgument, TransactionObjectArgument } from "@mysten/sui.js/transactions";
|
|
5
5
|
import { SuiClient } from "@mysten/sui.js/client";
|
|
6
|
-
import { type ObjectCallArg } from "@mysten/sui.js/dist/esm/builder/Inputs.js";
|
|
7
6
|
export declare namespace address {
|
|
8
7
|
namespace builder {
|
|
9
8
|
function length(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
@@ -24,46 +23,46 @@ export declare namespace ascii {
|
|
|
24
23
|
function type(): TypeDescriptor<String>;
|
|
25
24
|
}
|
|
26
25
|
namespace builder {
|
|
27
|
-
function allCharactersPrintable(tx: TransactionBlock, args: [string |
|
|
28
|
-
function asBytes(tx: TransactionBlock, args: [string |
|
|
26
|
+
function allCharactersPrintable(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
27
|
+
function asBytes(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
29
28
|
function byte(tx: TransactionBlock, args: [ascii.Char | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
30
29
|
function char(tx: TransactionBlock, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
31
30
|
function intoBytes(tx: TransactionBlock, args: [ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
32
31
|
function isPrintableChar(tx: TransactionBlock, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
33
32
|
function isValidChar(tx: TransactionBlock, args: [number | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
34
|
-
function length(tx: TransactionBlock, args: [string |
|
|
35
|
-
function popChar(tx: TransactionBlock, args: [string |
|
|
33
|
+
function length(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
34
|
+
function popChar(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
36
35
|
function pushChar(tx: TransactionBlock, args: [
|
|
37
|
-
string |
|
|
36
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
38
37
|
ascii.Char | TransactionArgument
|
|
39
38
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
40
|
-
function string_(tx: TransactionBlock, args: [(string |
|
|
41
|
-
function tryString(tx: TransactionBlock, args: [(string |
|
|
39
|
+
function string_(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
40
|
+
function tryString(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
42
41
|
}
|
|
43
42
|
namespace view {
|
|
44
|
-
function allCharactersPrintable(client: SuiClient, args: [string |
|
|
45
|
-
function asBytes(client: SuiClient, args: [string |
|
|
43
|
+
function allCharactersPrintable(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
44
|
+
function asBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
46
45
|
function byte(client: SuiClient, args: [ascii.Char | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
47
46
|
function char(client: SuiClient, args: [number | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.Char]>>;
|
|
48
47
|
function intoBytes(client: SuiClient, args: [ascii.String | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
49
48
|
function isPrintableChar(client: SuiClient, args: [number | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
50
49
|
function isValidChar(client: SuiClient, args: [number | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
51
|
-
function length(client: SuiClient, args: [string |
|
|
52
|
-
function popChar(client: SuiClient, args: [string |
|
|
50
|
+
function length(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
51
|
+
function popChar(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.Char]>>;
|
|
53
52
|
function pushChar(client: SuiClient, args: [
|
|
54
|
-
string |
|
|
53
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
55
54
|
ascii.Char | TransactionArgument
|
|
56
55
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
57
|
-
function string_(client: SuiClient, args: [(string |
|
|
58
|
-
function tryString(client: SuiClient, args: [(string |
|
|
56
|
+
function string_(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
|
57
|
+
function tryString(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[option.Option<ascii.String>]>>;
|
|
59
58
|
}
|
|
60
59
|
}
|
|
61
60
|
export declare namespace bcs {
|
|
62
61
|
namespace builder {
|
|
63
|
-
function toBytes<T0 = any>(tx: TransactionBlock, args: [string |
|
|
62
|
+
function toBytes<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
64
63
|
}
|
|
65
64
|
namespace view {
|
|
66
|
-
function toBytes<T0 = any>(client: SuiClient, args: [string |
|
|
65
|
+
function toBytes<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
67
66
|
}
|
|
68
67
|
}
|
|
69
68
|
export declare namespace bit_vector {
|
|
@@ -81,60 +80,60 @@ export declare namespace bit_vector {
|
|
|
81
80
|
}
|
|
82
81
|
namespace builder {
|
|
83
82
|
function isIndexSet(tx: TransactionBlock, args: [
|
|
84
|
-
string |
|
|
83
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
85
84
|
bigint | TransactionArgument
|
|
86
85
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
87
|
-
function length(tx: TransactionBlock, args: [string |
|
|
86
|
+
function length(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
88
87
|
function longestSetSequenceStartingAt(tx: TransactionBlock, args: [
|
|
89
|
-
string |
|
|
88
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
90
89
|
bigint | TransactionArgument
|
|
91
90
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
92
91
|
function new_(tx: TransactionBlock, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
93
92
|
function set(tx: TransactionBlock, args: [
|
|
94
|
-
string |
|
|
93
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
95
94
|
bigint | TransactionArgument
|
|
96
95
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
97
96
|
function shiftLeft(tx: TransactionBlock, args: [
|
|
98
|
-
string |
|
|
97
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
99
98
|
bigint | TransactionArgument
|
|
100
99
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
101
100
|
function unset(tx: TransactionBlock, args: [
|
|
102
|
-
string |
|
|
101
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
103
102
|
bigint | TransactionArgument
|
|
104
103
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
105
104
|
}
|
|
106
105
|
namespace view {
|
|
107
106
|
function isIndexSet(client: SuiClient, args: [
|
|
108
|
-
string |
|
|
107
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
109
108
|
bigint | TransactionArgument
|
|
110
109
|
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
111
|
-
function length(client: SuiClient, args: [string |
|
|
110
|
+
function length(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
112
111
|
function longestSetSequenceStartingAt(client: SuiClient, args: [
|
|
113
|
-
string |
|
|
112
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
114
113
|
bigint | TransactionArgument
|
|
115
114
|
]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
116
115
|
function new_(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bit_vector.BitVector]>>;
|
|
117
116
|
function set(client: SuiClient, args: [
|
|
118
|
-
string |
|
|
117
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
119
118
|
bigint | TransactionArgument
|
|
120
119
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
121
120
|
function shiftLeft(client: SuiClient, args: [
|
|
122
|
-
string |
|
|
121
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
123
122
|
bigint | TransactionArgument
|
|
124
123
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
125
124
|
function unset(client: SuiClient, args: [
|
|
126
|
-
string |
|
|
125
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
127
126
|
bigint | TransactionArgument
|
|
128
127
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
129
128
|
}
|
|
130
129
|
}
|
|
131
130
|
export declare namespace debug {
|
|
132
131
|
namespace builder {
|
|
133
|
-
function print<T0 = any>(tx: TransactionBlock, args: [string |
|
|
132
|
+
function print<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
134
133
|
function printStackTrace(tx: TransactionBlock, args: []): TransactionArgument & [];
|
|
135
134
|
}
|
|
136
135
|
namespace view {
|
|
137
|
-
function print<T0 = any>(client: SuiClient, args: [string |
|
|
136
|
+
function print<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
138
137
|
function printStackTrace(client: SuiClient, args: []): Promise<TypedDevInspectResults<[]>>;
|
|
139
138
|
}
|
|
140
139
|
}
|
|
@@ -181,12 +180,12 @@ export declare namespace fixed_point32 {
|
|
|
181
180
|
}
|
|
182
181
|
export declare namespace hash {
|
|
183
182
|
namespace builder {
|
|
184
|
-
function sha2256(tx: TransactionBlock, args: [(string |
|
|
185
|
-
function sha3256(tx: TransactionBlock, args: [(string |
|
|
183
|
+
function sha2256(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
184
|
+
function sha3256(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
186
185
|
}
|
|
187
186
|
namespace view {
|
|
188
|
-
function sha2256(client: SuiClient, args: [(string |
|
|
189
|
-
function sha3256(client: SuiClient, args: [(string |
|
|
187
|
+
function sha2256(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
188
|
+
function sha3256(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
190
189
|
}
|
|
191
190
|
}
|
|
192
191
|
export declare namespace option {
|
|
@@ -196,75 +195,75 @@ export declare namespace option {
|
|
|
196
195
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Option<T0>>;
|
|
197
196
|
}
|
|
198
197
|
namespace builder {
|
|
199
|
-
function borrow<T0 = any>(tx: TransactionBlock, args: [string |
|
|
200
|
-
function borrowMut<T0 = any>(tx: TransactionBlock, args: [string |
|
|
198
|
+
function borrow<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
199
|
+
function borrowMut<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
201
200
|
function borrowWithDefault<T0 = any>(tx: TransactionBlock, args: [
|
|
202
|
-
string |
|
|
203
|
-
string |
|
|
201
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
202
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
204
203
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
205
204
|
function contains<T0 = any>(tx: TransactionBlock, args: [
|
|
206
|
-
string |
|
|
207
|
-
string |
|
|
205
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
206
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
208
207
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
209
208
|
function destroyNone<T0 = any>(tx: TransactionBlock, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
210
209
|
function destroySome<T0 = any>(tx: TransactionBlock, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
211
210
|
function destroyWithDefault<T0 = any>(tx: TransactionBlock, args: [option.Option<T0> | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
212
|
-
function extract<T0 = any>(tx: TransactionBlock, args: [string |
|
|
211
|
+
function extract<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
213
212
|
function fill<T0 = any>(tx: TransactionBlock, args: [
|
|
214
|
-
string |
|
|
213
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
215
214
|
T0 | TransactionArgument
|
|
216
215
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
217
216
|
function getWithDefault<T0 = any>(tx: TransactionBlock, args: [
|
|
218
|
-
string |
|
|
217
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
219
218
|
T0 | TransactionArgument
|
|
220
219
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
221
|
-
function isNone<T0 = any>(tx: TransactionBlock, args: [string |
|
|
222
|
-
function isSome<T0 = any>(tx: TransactionBlock, args: [string |
|
|
220
|
+
function isNone<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
221
|
+
function isSome<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
223
222
|
function none<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
224
223
|
function some<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
225
224
|
function swap<T0 = any>(tx: TransactionBlock, args: [
|
|
226
|
-
string |
|
|
225
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
227
226
|
T0 | TransactionArgument
|
|
228
227
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
229
228
|
function swapOrFill<T0 = any>(tx: TransactionBlock, args: [
|
|
230
|
-
string |
|
|
229
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
231
230
|
T0 | TransactionArgument
|
|
232
231
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
233
232
|
function toVec<T0 = any>(tx: TransactionBlock, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
234
233
|
}
|
|
235
234
|
namespace view {
|
|
236
|
-
function borrow<T0 = any>(client: SuiClient, args: [string |
|
|
237
|
-
function borrowMut<T0 = any>(client: SuiClient, args: [string |
|
|
235
|
+
function borrow<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
236
|
+
function borrowMut<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
238
237
|
function borrowWithDefault<T0 = any>(client: SuiClient, args: [
|
|
239
|
-
string |
|
|
240
|
-
string |
|
|
238
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
239
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
241
240
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
242
241
|
function contains<T0 = any>(client: SuiClient, args: [
|
|
243
|
-
string |
|
|
244
|
-
string |
|
|
242
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
243
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
245
244
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
246
245
|
function destroyNone<T0 = any>(client: SuiClient, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
247
246
|
function destroySome<T0 = any>(client: SuiClient, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
248
247
|
function destroyWithDefault<T0 = any>(client: SuiClient, args: [option.Option<T0> | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
249
|
-
function extract<T0 = any>(client: SuiClient, args: [string |
|
|
248
|
+
function extract<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
250
249
|
function fill<T0 = any>(client: SuiClient, args: [
|
|
251
|
-
string |
|
|
250
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
252
251
|
T0 | TransactionArgument
|
|
253
252
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
254
253
|
function getWithDefault<T0 = any>(client: SuiClient, args: [
|
|
255
|
-
string |
|
|
254
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
256
255
|
T0 | TransactionArgument
|
|
257
256
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
258
|
-
function isNone<T0 = any>(client: SuiClient, args: [string |
|
|
259
|
-
function isSome<T0 = any>(client: SuiClient, args: [string |
|
|
257
|
+
function isNone<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
258
|
+
function isSome<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
260
259
|
function none<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[option.Option<T0>]>>;
|
|
261
260
|
function some<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[option.Option<T0>]>>;
|
|
262
261
|
function swap<T0 = any>(client: SuiClient, args: [
|
|
263
|
-
string |
|
|
262
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
264
263
|
T0 | TransactionArgument
|
|
265
264
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
266
265
|
function swapOrFill<T0 = any>(client: SuiClient, args: [
|
|
267
|
-
string |
|
|
266
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
268
267
|
T0 | TransactionArgument
|
|
269
268
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[option.Option<T0>]>>;
|
|
270
269
|
function toVec<T0 = any>(client: SuiClient, args: [option.Option<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
|
@@ -284,21 +283,21 @@ export declare namespace string_ {
|
|
|
284
283
|
}
|
|
285
284
|
namespace builder {
|
|
286
285
|
function append(tx: TransactionBlock, args: [
|
|
287
|
-
string |
|
|
286
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
288
287
|
string | TransactionArgument
|
|
289
288
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
290
289
|
function appendUtf8(tx: TransactionBlock, args: [
|
|
291
|
-
string |
|
|
292
|
-
(string |
|
|
290
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
291
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
293
292
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
294
|
-
function bytes(tx: TransactionBlock, args: [string |
|
|
293
|
+
function bytes(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
295
294
|
function fromAscii(tx: TransactionBlock, args: [ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
296
295
|
function indexOf(tx: TransactionBlock, args: [
|
|
297
|
-
string |
|
|
298
|
-
string |
|
|
296
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
297
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
299
298
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
300
299
|
function insert(tx: TransactionBlock, args: [
|
|
301
|
-
string |
|
|
300
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
302
301
|
bigint | TransactionArgument,
|
|
303
302
|
string | TransactionArgument
|
|
304
303
|
]): TransactionArgument & [
|
|
@@ -306,10 +305,10 @@ export declare namespace string_ {
|
|
|
306
305
|
TransactionArgument,
|
|
307
306
|
TransactionArgument
|
|
308
307
|
];
|
|
309
|
-
function isEmpty(tx: TransactionBlock, args: [string |
|
|
310
|
-
function length(tx: TransactionBlock, args: [string |
|
|
308
|
+
function isEmpty(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
309
|
+
function length(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
311
310
|
function subString(tx: TransactionBlock, args: [
|
|
312
|
-
string |
|
|
311
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
313
312
|
bigint | TransactionArgument,
|
|
314
313
|
bigint | TransactionArgument
|
|
315
314
|
]): TransactionArgument & [
|
|
@@ -318,39 +317,39 @@ export declare namespace string_ {
|
|
|
318
317
|
TransactionArgument
|
|
319
318
|
];
|
|
320
319
|
function toAscii(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
321
|
-
function tryUtf8(tx: TransactionBlock, args: [(string |
|
|
322
|
-
function utf8(tx: TransactionBlock, args: [(string |
|
|
320
|
+
function tryUtf8(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
321
|
+
function utf8(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
323
322
|
}
|
|
324
323
|
namespace view {
|
|
325
324
|
function append(client: SuiClient, args: [
|
|
326
|
-
string |
|
|
325
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
327
326
|
string | TransactionArgument
|
|
328
327
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
329
328
|
function appendUtf8(client: SuiClient, args: [
|
|
330
|
-
string |
|
|
331
|
-
(string |
|
|
329
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
330
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
332
331
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
333
|
-
function bytes(client: SuiClient, args: [string |
|
|
332
|
+
function bytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
334
333
|
function fromAscii(client: SuiClient, args: [ascii.String | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
335
334
|
function indexOf(client: SuiClient, args: [
|
|
336
|
-
string |
|
|
337
|
-
string |
|
|
335
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
336
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
338
337
|
]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
339
338
|
function insert(client: SuiClient, args: [
|
|
340
|
-
string |
|
|
339
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
341
340
|
bigint | TransactionArgument,
|
|
342
341
|
string | TransactionArgument
|
|
343
342
|
]): Promise<TypedDevInspectResults<[]>>;
|
|
344
|
-
function isEmpty(client: SuiClient, args: [string |
|
|
345
|
-
function length(client: SuiClient, args: [string |
|
|
343
|
+
function isEmpty(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
344
|
+
function length(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
346
345
|
function subString(client: SuiClient, args: [
|
|
347
|
-
string |
|
|
346
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
348
347
|
bigint | TransactionArgument,
|
|
349
348
|
bigint | TransactionArgument
|
|
350
349
|
]): Promise<TypedDevInspectResults<[string]>>;
|
|
351
350
|
function toAscii(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
|
352
|
-
function tryUtf8(client: SuiClient, args: [(string |
|
|
353
|
-
function utf8(client: SuiClient, args: [(string |
|
|
351
|
+
function tryUtf8(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[option.Option<string>]>>;
|
|
352
|
+
function utf8(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
354
353
|
}
|
|
355
354
|
}
|
|
356
355
|
export declare namespace type_name {
|
|
@@ -366,50 +365,50 @@ export declare namespace type_name {
|
|
|
366
365
|
type_arguments: [];
|
|
367
366
|
}
|
|
368
367
|
namespace builder {
|
|
369
|
-
function borrowString(tx: TransactionBlock, args: [string |
|
|
368
|
+
function borrowString(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
370
369
|
function get<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
371
|
-
function getAddress(tx: TransactionBlock, args: [string |
|
|
372
|
-
function getModule(tx: TransactionBlock, args: [string |
|
|
370
|
+
function getAddress(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
371
|
+
function getModule(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
373
372
|
function getWithOriginalIds<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
374
373
|
function intoString(tx: TransactionBlock, args: [type_name.TypeName | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
375
|
-
function isPrimitive(tx: TransactionBlock, args: [string |
|
|
374
|
+
function isPrimitive(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
376
375
|
}
|
|
377
376
|
namespace view {
|
|
378
|
-
function borrowString(client: SuiClient, args: [string |
|
|
377
|
+
function borrowString(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
|
379
378
|
function get<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[type_name.TypeName]>>;
|
|
380
|
-
function getAddress(client: SuiClient, args: [string |
|
|
381
|
-
function getModule(client: SuiClient, args: [string |
|
|
379
|
+
function getAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
|
380
|
+
function getModule(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
|
382
381
|
function getWithOriginalIds<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[type_name.TypeName]>>;
|
|
383
382
|
function intoString(client: SuiClient, args: [type_name.TypeName | TransactionArgument]): Promise<TypedDevInspectResults<[ascii.String]>>;
|
|
384
|
-
function isPrimitive(client: SuiClient, args: [string |
|
|
383
|
+
function isPrimitive(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
385
384
|
}
|
|
386
385
|
}
|
|
387
386
|
export declare namespace vector {
|
|
388
387
|
namespace builder {
|
|
389
388
|
function append<T0 = any>(tx: TransactionBlock, args: [
|
|
390
|
-
string |
|
|
391
|
-
(string |
|
|
389
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
390
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
392
391
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
393
392
|
function borrow<T0 = any>(tx: TransactionBlock, args: [
|
|
394
|
-
string |
|
|
393
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
395
394
|
bigint | TransactionArgument
|
|
396
395
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
397
396
|
function borrowMut<T0 = any>(tx: TransactionBlock, args: [
|
|
398
|
-
string |
|
|
397
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
399
398
|
bigint | TransactionArgument
|
|
400
399
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
401
400
|
function contains<T0 = any>(tx: TransactionBlock, args: [
|
|
402
|
-
string |
|
|
403
|
-
string |
|
|
401
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
402
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
404
403
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
405
|
-
function destroyEmpty<T0 = any>(tx: TransactionBlock, args: [(string |
|
|
404
|
+
function destroyEmpty<T0 = any>(tx: TransactionBlock, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
406
405
|
function empty<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
407
406
|
function indexOf<T0 = any>(tx: TransactionBlock, args: [
|
|
408
|
-
string |
|
|
409
|
-
string |
|
|
407
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
408
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
410
409
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
411
410
|
function insert<T0 = any>(tx: TransactionBlock, args: [
|
|
412
|
-
string |
|
|
411
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
413
412
|
T0 | TransactionArgument,
|
|
414
413
|
bigint | TransactionArgument
|
|
415
414
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
@@ -417,21 +416,21 @@ export declare namespace vector {
|
|
|
417
416
|
TransactionArgument,
|
|
418
417
|
TransactionArgument
|
|
419
418
|
];
|
|
420
|
-
function isEmpty<T0 = any>(tx: TransactionBlock, args: [string |
|
|
421
|
-
function length<T0 = any>(tx: TransactionBlock, args: [string |
|
|
422
|
-
function popBack<T0 = any>(tx: TransactionBlock, args: [string |
|
|
419
|
+
function isEmpty<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
420
|
+
function length<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
421
|
+
function popBack<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
423
422
|
function pushBack<T0 = any>(tx: TransactionBlock, args: [
|
|
424
|
-
string |
|
|
423
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
425
424
|
T0 | TransactionArgument
|
|
426
425
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
427
426
|
function remove<T0 = any>(tx: TransactionBlock, args: [
|
|
428
|
-
string |
|
|
427
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
429
428
|
bigint | TransactionArgument
|
|
430
429
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
431
|
-
function reverse<T0 = any>(tx: TransactionBlock, args: [string |
|
|
430
|
+
function reverse<T0 = any>(tx: TransactionBlock, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
432
431
|
function singleton<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
433
432
|
function swap<T0 = any>(tx: TransactionBlock, args: [
|
|
434
|
-
string |
|
|
433
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
435
434
|
bigint | TransactionArgument,
|
|
436
435
|
bigint | TransactionArgument
|
|
437
436
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
@@ -440,58 +439,58 @@ export declare namespace vector {
|
|
|
440
439
|
TransactionArgument
|
|
441
440
|
];
|
|
442
441
|
function swapRemove<T0 = any>(tx: TransactionBlock, args: [
|
|
443
|
-
string |
|
|
442
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
444
443
|
bigint | TransactionArgument
|
|
445
444
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
446
445
|
}
|
|
447
446
|
namespace view {
|
|
448
447
|
function append<T0 = any>(client: SuiClient, args: [
|
|
449
|
-
string |
|
|
450
|
-
(string |
|
|
448
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
449
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
451
450
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
452
451
|
function borrow<T0 = any>(client: SuiClient, args: [
|
|
453
|
-
string |
|
|
452
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
454
453
|
bigint | TransactionArgument
|
|
455
454
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
456
455
|
function borrowMut<T0 = any>(client: SuiClient, args: [
|
|
457
|
-
string |
|
|
456
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
458
457
|
bigint | TransactionArgument
|
|
459
458
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
460
459
|
function contains<T0 = any>(client: SuiClient, args: [
|
|
461
|
-
string |
|
|
462
|
-
string |
|
|
460
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
461
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
463
462
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
464
|
-
function destroyEmpty<T0 = any>(client: SuiClient, args: [(string |
|
|
463
|
+
function destroyEmpty<T0 = any>(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
465
464
|
function empty<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
|
466
465
|
function indexOf<T0 = any>(client: SuiClient, args: [
|
|
467
|
-
string |
|
|
468
|
-
string |
|
|
466
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
467
|
+
string | TransactionObjectArgument | TransactionArgument
|
|
469
468
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean, bigint]>>;
|
|
470
469
|
function insert<T0 = any>(client: SuiClient, args: [
|
|
471
|
-
string |
|
|
470
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
472
471
|
T0 | TransactionArgument,
|
|
473
472
|
bigint | TransactionArgument
|
|
474
473
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
475
|
-
function isEmpty<T0 = any>(client: SuiClient, args: [string |
|
|
476
|
-
function length<T0 = any>(client: SuiClient, args: [string |
|
|
477
|
-
function popBack<T0 = any>(client: SuiClient, args: [string |
|
|
474
|
+
function isEmpty<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
475
|
+
function length<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
476
|
+
function popBack<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
478
477
|
function pushBack<T0 = any>(client: SuiClient, args: [
|
|
479
|
-
string |
|
|
478
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
480
479
|
T0 | TransactionArgument
|
|
481
480
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
482
481
|
function remove<T0 = any>(client: SuiClient, args: [
|
|
483
|
-
string |
|
|
482
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
484
483
|
bigint | TransactionArgument
|
|
485
484
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
486
|
-
function reverse<T0 = any>(client: SuiClient, args: [string |
|
|
485
|
+
function reverse<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
487
486
|
function singleton<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
|
488
487
|
function swap<T0 = any>(client: SuiClient, args: [
|
|
489
|
-
string |
|
|
488
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
490
489
|
bigint | TransactionArgument,
|
|
491
490
|
bigint | TransactionArgument
|
|
492
491
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
493
492
|
function swapRemove<T0 = any>(client: SuiClient, args: [
|
|
494
|
-
string |
|
|
493
|
+
string | TransactionObjectArgument | TransactionArgument,
|
|
495
494
|
bigint | TransactionArgument
|
|
496
495
|
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
497
496
|
}
|