@typemove/sui 1.2.0-rc.2 → 1.2.0-rc.4
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/Readme.md +33 -24
- package/dist/cjs/builtin/0x1.d.ts +83 -82
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +164 -164
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +353 -349
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +698 -698
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +101 -100
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +200 -200
- 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 +11 -8
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models.d.ts +7 -1
- package/dist/cjs/models.d.ts.map +1 -1
- package/dist/cjs/models.js +0 -3
- package/dist/cjs/models.js.map +1 -1
- package/dist/cjs/move-coder.d.ts +6 -3
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +50 -5
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/sui-chain-adapter.d.ts +4 -1
- package/dist/cjs/sui-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/sui-chain-adapter.js +10 -4
- package/dist/cjs/sui-chain-adapter.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +83 -82
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +165 -165
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +353 -349
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +699 -699
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +101 -100
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +201 -201
- 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 +12 -9
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models.d.ts +7 -1
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js +0 -3
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/move-coder.d.ts +6 -3
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +48 -4
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/sui-chain-adapter.d.ts +4 -1
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -1
- package/dist/esm/sui-chain-adapter.js +10 -4
- package/dist/esm/sui-chain-adapter.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +503 -247
- package/src/builtin/0x2.ts +2137 -1049
- package/src/builtin/0x3.ts +611 -301
- package/src/codegen/codegen.ts +14 -10
- package/src/index.ts +1 -1
- package/src/models.ts +7 -4
- package/src/move-coder.ts +57 -6
- package/src/sui-chain-adapter.ts +11 -4
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +29 -13
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +319 -145
- package/src/tests/types/testnet/0xdee9.ts +303 -142
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +990 -466
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { TypeDescriptor } from "@typemove/move";
|
|
2
2
|
import { MoveCoder, TypedEventInstance } from "@typemove/sui";
|
|
3
|
+
import { TypedDevInspectResults } from "@typemove/sui";
|
|
3
4
|
import { TransactionBlock } from "@mysten/sui.js/transactions";
|
|
4
5
|
import { ObjectCallArg, TransactionArgument } from "@mysten/sui.js";
|
|
5
6
|
import { SuiClient } from "@mysten/sui.js/client";
|
|
@@ -16,14 +17,14 @@ export declare namespace address {
|
|
|
16
17
|
function toU256(tx: TransactionBlock, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
17
18
|
}
|
|
18
19
|
namespace view {
|
|
19
|
-
function fromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
20
|
-
function fromU256(client: SuiClient, args: [bigint | TransactionArgument]): Promise<
|
|
21
|
-
function length(client: SuiClient, args: []): Promise<
|
|
22
|
-
function max(client: SuiClient, args: []): Promise<
|
|
23
|
-
function toAsciiString(client: SuiClient, args: [string | TransactionArgument]): Promise<
|
|
24
|
-
function toBytes(client: SuiClient, args: [string | TransactionArgument]): Promise<
|
|
25
|
-
function toString(client: SuiClient, args: [string | TransactionArgument]): Promise<
|
|
26
|
-
function toU256(client: SuiClient, args: [string | TransactionArgument]): Promise<
|
|
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]>>;
|
|
27
28
|
}
|
|
28
29
|
}
|
|
29
30
|
export declare namespace bag {
|
|
@@ -75,31 +76,31 @@ export declare namespace bag {
|
|
|
75
76
|
string | ObjectCallArg | TransactionArgument,
|
|
76
77
|
T0 | TransactionArgument,
|
|
77
78
|
T1 | TransactionArgument
|
|
78
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
79
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
79
80
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
80
81
|
string | ObjectCallArg | TransactionArgument,
|
|
81
82
|
T0 | TransactionArgument
|
|
82
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
83
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
83
84
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
84
85
|
string | ObjectCallArg | TransactionArgument,
|
|
85
86
|
T0 | TransactionArgument
|
|
86
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
87
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
87
88
|
function contains<T0 = any>(client: SuiClient, args: [
|
|
88
89
|
string | ObjectCallArg | TransactionArgument,
|
|
89
90
|
T0 | TransactionArgument
|
|
90
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
91
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
91
92
|
function containsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
92
93
|
string | ObjectCallArg | TransactionArgument,
|
|
93
94
|
T0 | TransactionArgument
|
|
94
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
95
|
-
function destroyEmpty(client: SuiClient, args: [bag.Bag | TransactionArgument]): Promise<
|
|
96
|
-
function isEmpty(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
97
|
-
function length(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
98
|
-
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
99
100
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
100
101
|
string | ObjectCallArg | TransactionArgument,
|
|
101
102
|
T0 | TransactionArgument
|
|
102
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
103
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
103
104
|
}
|
|
104
105
|
}
|
|
105
106
|
export declare namespace balance {
|
|
@@ -140,28 +141,28 @@ export declare namespace balance {
|
|
|
140
141
|
function zero<T0 = any>(tx: TransactionBlock, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
141
142
|
}
|
|
142
143
|
namespace view {
|
|
143
|
-
function createSupply<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
144
|
+
function createSupply<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
|
144
145
|
function decreaseSupply<T0 = any>(client: SuiClient, args: [
|
|
145
146
|
string | ObjectCallArg | TransactionArgument,
|
|
146
147
|
balance.Balance<T0> | TransactionArgument
|
|
147
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
148
|
-
function destroyZero<T0 = any>(client: SuiClient, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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<[]>>;
|
|
149
150
|
function increaseSupply<T0 = any>(client: SuiClient, args: [
|
|
150
151
|
string | ObjectCallArg | TransactionArgument,
|
|
151
152
|
bigint | TransactionArgument
|
|
152
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
153
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
153
154
|
function join<T0 = any>(client: SuiClient, args: [
|
|
154
155
|
string | ObjectCallArg | TransactionArgument,
|
|
155
156
|
balance.Balance<T0> | TransactionArgument
|
|
156
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
157
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
157
158
|
function split<T0 = any>(client: SuiClient, args: [
|
|
158
159
|
string | ObjectCallArg | TransactionArgument,
|
|
159
160
|
bigint | TransactionArgument
|
|
160
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
161
|
-
function supplyValue<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
162
|
-
function value<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
163
|
-
function withdrawAll<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
164
|
-
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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>]>>;
|
|
165
166
|
}
|
|
166
167
|
}
|
|
167
168
|
export declare namespace bcs {
|
|
@@ -199,26 +200,26 @@ export declare namespace bcs {
|
|
|
199
200
|
function toBytes<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
200
201
|
}
|
|
201
202
|
namespace view {
|
|
202
|
-
function intoRemainderBytes(client: SuiClient, args: [bcs.BCS | TransactionArgument]): Promise<
|
|
203
|
-
function new_(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
204
|
-
function peelAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
205
|
-
function peelBool(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
206
|
-
function peelOptionAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
207
|
-
function peelOptionBool(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
208
|
-
function peelOptionU128(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
209
|
-
function peelOptionU64(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
210
|
-
function peelOptionU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
211
|
-
function peelU128(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
212
|
-
function peelU64(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
213
|
-
function peelU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
214
|
-
function peelVecAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
215
|
-
function peelVecBool(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
216
|
-
function peelVecLength(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
217
|
-
function peelVecU128(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
218
|
-
function peelVecU64(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
219
|
-
function peelVecU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
220
|
-
function peelVecVecU8(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
221
|
-
function toBytes<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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[]]>>;
|
|
222
223
|
}
|
|
223
224
|
}
|
|
224
225
|
export declare namespace bls12381 {
|
|
@@ -247,12 +248,12 @@ export declare namespace bls12381 {
|
|
|
247
248
|
string | ObjectCallArg | TransactionArgument,
|
|
248
249
|
string | ObjectCallArg | TransactionArgument,
|
|
249
250
|
string | ObjectCallArg | TransactionArgument
|
|
250
|
-
]): Promise<
|
|
251
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
251
252
|
function bls12381MinSigVerify(client: SuiClient, args: [
|
|
252
253
|
string | ObjectCallArg | TransactionArgument,
|
|
253
254
|
string | ObjectCallArg | TransactionArgument,
|
|
254
255
|
string | ObjectCallArg | TransactionArgument
|
|
255
|
-
]): Promise<
|
|
256
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
256
257
|
}
|
|
257
258
|
}
|
|
258
259
|
export declare namespace borrow {
|
|
@@ -290,17 +291,17 @@ export declare namespace borrow {
|
|
|
290
291
|
];
|
|
291
292
|
}
|
|
292
293
|
namespace view {
|
|
293
|
-
function borrow<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
294
|
-
function destroy<T0 = any>(client: SuiClient, args: [borrow.Referent<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
295
296
|
function new_<T0 = any>(client: SuiClient, args: [
|
|
296
297
|
T0 | TransactionArgument,
|
|
297
298
|
string | ObjectCallArg | TransactionArgument
|
|
298
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
299
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[borrow.Referent<T0>]>>;
|
|
299
300
|
function putBack<T0 = any>(client: SuiClient, args: [
|
|
300
301
|
string | ObjectCallArg | TransactionArgument,
|
|
301
302
|
T0 | TransactionArgument,
|
|
302
303
|
borrow.Borrow | TransactionArgument
|
|
303
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
304
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
304
305
|
}
|
|
305
306
|
}
|
|
306
307
|
export declare namespace clock {
|
|
@@ -316,7 +317,7 @@ export declare namespace clock {
|
|
|
316
317
|
function timestampMs(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
317
318
|
}
|
|
318
319
|
namespace view {
|
|
319
|
-
function timestampMs(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
320
|
+
function timestampMs(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
320
321
|
}
|
|
321
322
|
}
|
|
322
323
|
export declare namespace coin {
|
|
@@ -495,12 +496,12 @@ export declare namespace coin {
|
|
|
495
496
|
function zero<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
496
497
|
}
|
|
497
498
|
namespace view {
|
|
498
|
-
function balance<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
499
|
-
function balanceMut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
500
501
|
function burn<T0 = any>(client: SuiClient, args: [
|
|
501
502
|
string | ObjectCallArg | TransactionArgument,
|
|
502
503
|
coin.Coin<T0> | TransactionArgument
|
|
503
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
504
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
504
505
|
function createCurrency<T0 = any>(client: SuiClient, args: [
|
|
505
506
|
T0 | TransactionArgument,
|
|
506
507
|
number | TransactionArgument,
|
|
@@ -509,83 +510,83 @@ export declare namespace coin {
|
|
|
509
510
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
510
511
|
_0x1.option.Option<url.Url> | TransactionArgument,
|
|
511
512
|
string | ObjectCallArg | TransactionArgument
|
|
512
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
513
|
-
function destroyZero<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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<[]>>;
|
|
514
515
|
function divideIntoN<T0 = any>(client: SuiClient, args: [
|
|
515
516
|
string | ObjectCallArg | TransactionArgument,
|
|
516
517
|
bigint | TransactionArgument,
|
|
517
518
|
string | ObjectCallArg | TransactionArgument
|
|
518
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
519
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>[]]>>;
|
|
519
520
|
function fromBalance<T0 = any>(client: SuiClient, args: [
|
|
520
521
|
balance.Balance<T0> | TransactionArgument,
|
|
521
522
|
string | ObjectCallArg | TransactionArgument
|
|
522
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
523
|
-
function getDecimals<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
524
|
-
function getDescription<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
525
|
-
function getIconUrl<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
526
|
-
function getName<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
527
|
-
function getSymbol<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
528
|
-
function intoBalance<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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>]>>;
|
|
529
530
|
function join<T0 = any>(client: SuiClient, args: [
|
|
530
531
|
string | ObjectCallArg | TransactionArgument,
|
|
531
532
|
coin.Coin<T0> | TransactionArgument
|
|
532
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
533
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
533
534
|
function mint<T0 = any>(client: SuiClient, args: [
|
|
534
535
|
string | ObjectCallArg | TransactionArgument,
|
|
535
536
|
bigint | TransactionArgument,
|
|
536
537
|
string | ObjectCallArg | TransactionArgument
|
|
537
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
538
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
538
539
|
function mintAndTransfer<T0 = any>(client: SuiClient, args: [
|
|
539
540
|
string | ObjectCallArg | TransactionArgument,
|
|
540
541
|
bigint | TransactionArgument,
|
|
541
542
|
string | TransactionArgument,
|
|
542
543
|
string | ObjectCallArg | TransactionArgument
|
|
543
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
544
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
544
545
|
function mintBalance<T0 = any>(client: SuiClient, args: [
|
|
545
546
|
string | ObjectCallArg | TransactionArgument,
|
|
546
547
|
bigint | TransactionArgument
|
|
547
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
548
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
548
549
|
function put<T0 = any>(client: SuiClient, args: [
|
|
549
550
|
string | ObjectCallArg | TransactionArgument,
|
|
550
551
|
coin.Coin<T0> | TransactionArgument
|
|
551
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
552
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
552
553
|
function split<T0 = any>(client: SuiClient, args: [
|
|
553
554
|
string | ObjectCallArg | TransactionArgument,
|
|
554
555
|
bigint | TransactionArgument,
|
|
555
556
|
string | ObjectCallArg | TransactionArgument
|
|
556
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
557
|
-
function supply<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
558
|
-
function supplyImmut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
559
|
-
function supplyMut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
560
561
|
function take<T0 = any>(client: SuiClient, args: [
|
|
561
562
|
string | ObjectCallArg | TransactionArgument,
|
|
562
563
|
bigint | TransactionArgument,
|
|
563
564
|
string | ObjectCallArg | TransactionArgument
|
|
564
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
565
|
-
function totalSupply<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
566
|
-
function treasuryIntoSupply<T0 = any>(client: SuiClient, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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>]>>;
|
|
567
568
|
function updateDescription<T0 = any>(client: SuiClient, args: [
|
|
568
569
|
string | ObjectCallArg | TransactionArgument,
|
|
569
570
|
string | ObjectCallArg | TransactionArgument,
|
|
570
571
|
string | TransactionArgument
|
|
571
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
572
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
572
573
|
function updateIconUrl<T0 = any>(client: SuiClient, args: [
|
|
573
574
|
string | ObjectCallArg | TransactionArgument,
|
|
574
575
|
string | ObjectCallArg | TransactionArgument,
|
|
575
576
|
_0x1.ascii.String | TransactionArgument
|
|
576
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
577
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
577
578
|
function updateName<T0 = any>(client: SuiClient, args: [
|
|
578
579
|
string | ObjectCallArg | TransactionArgument,
|
|
579
580
|
string | ObjectCallArg | TransactionArgument,
|
|
580
581
|
string | TransactionArgument
|
|
581
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
582
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
582
583
|
function updateSymbol<T0 = any>(client: SuiClient, args: [
|
|
583
584
|
string | ObjectCallArg | TransactionArgument,
|
|
584
585
|
string | ObjectCallArg | TransactionArgument,
|
|
585
586
|
_0x1.ascii.String | TransactionArgument
|
|
586
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
587
|
-
function value<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
588
|
-
function zero<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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>]>>;
|
|
589
590
|
}
|
|
590
591
|
}
|
|
591
592
|
export declare namespace display {
|
|
@@ -683,39 +684,39 @@ export declare namespace display {
|
|
|
683
684
|
string | ObjectCallArg | TransactionArgument,
|
|
684
685
|
string | TransactionArgument,
|
|
685
686
|
string | TransactionArgument
|
|
686
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
687
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
687
688
|
function addMultiple<T0 = any>(client: SuiClient, args: [
|
|
688
689
|
string | ObjectCallArg | TransactionArgument,
|
|
689
690
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
690
691
|
(string | ObjectCallArg)[] | TransactionArgument
|
|
691
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
692
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
692
693
|
function createAndKeep<T0 = any>(client: SuiClient, args: [
|
|
693
694
|
string | ObjectCallArg | TransactionArgument,
|
|
694
695
|
string | ObjectCallArg | TransactionArgument
|
|
695
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
696
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
696
697
|
function edit<T0 = any>(client: SuiClient, args: [
|
|
697
698
|
string | ObjectCallArg | TransactionArgument,
|
|
698
699
|
string | TransactionArgument,
|
|
699
700
|
string | TransactionArgument
|
|
700
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
701
|
-
function fields<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
702
|
-
function isAuthorized<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
703
704
|
function new_<T0 = any>(client: SuiClient, args: [
|
|
704
705
|
string | ObjectCallArg | TransactionArgument,
|
|
705
706
|
string | ObjectCallArg | TransactionArgument
|
|
706
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
707
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
|
707
708
|
function newWithFields<T0 = any>(client: SuiClient, args: [
|
|
708
709
|
string | ObjectCallArg | TransactionArgument,
|
|
709
710
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
710
711
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
711
712
|
string | ObjectCallArg | TransactionArgument
|
|
712
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
713
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
|
713
714
|
function remove<T0 = any>(client: SuiClient, args: [
|
|
714
715
|
string | ObjectCallArg | TransactionArgument,
|
|
715
716
|
string | TransactionArgument
|
|
716
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
717
|
-
function updateVersion<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
718
|
-
function version<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
719
720
|
}
|
|
720
721
|
}
|
|
721
722
|
export declare namespace dynamic_field {
|
|
@@ -768,31 +769,31 @@ export declare namespace dynamic_field {
|
|
|
768
769
|
string | ObjectCallArg | TransactionArgument,
|
|
769
770
|
T0 | TransactionArgument,
|
|
770
771
|
T1 | TransactionArgument
|
|
771
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
772
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
772
773
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
773
774
|
string | ObjectCallArg | TransactionArgument,
|
|
774
775
|
T0 | TransactionArgument
|
|
775
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
776
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
776
777
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
777
778
|
string | ObjectCallArg | TransactionArgument,
|
|
778
779
|
T0 | TransactionArgument
|
|
779
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
780
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
780
781
|
function exists_<T0 = any>(client: SuiClient, args: [
|
|
781
782
|
string | ObjectCallArg | TransactionArgument,
|
|
782
783
|
T0 | TransactionArgument
|
|
783
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
784
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
784
785
|
function existsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
785
786
|
string | ObjectCallArg | TransactionArgument,
|
|
786
787
|
T0 | TransactionArgument
|
|
787
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
788
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
788
789
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
789
790
|
string | ObjectCallArg | TransactionArgument,
|
|
790
791
|
T0 | TransactionArgument
|
|
791
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
792
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
792
793
|
function removeIfExists<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
793
794
|
string | ObjectCallArg | TransactionArgument,
|
|
794
795
|
T0 | TransactionArgument
|
|
795
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
796
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
796
797
|
}
|
|
797
798
|
}
|
|
798
799
|
export declare namespace dynamic_object_field {
|
|
@@ -847,31 +848,31 @@ export declare namespace dynamic_object_field {
|
|
|
847
848
|
string | ObjectCallArg | TransactionArgument,
|
|
848
849
|
T0 | TransactionArgument,
|
|
849
850
|
T1 | TransactionArgument
|
|
850
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
851
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
851
852
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
852
853
|
string | ObjectCallArg | TransactionArgument,
|
|
853
854
|
T0 | TransactionArgument
|
|
854
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
855
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
855
856
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
856
857
|
string | ObjectCallArg | TransactionArgument,
|
|
857
858
|
T0 | TransactionArgument
|
|
858
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
859
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
859
860
|
function exists_<T0 = any>(client: SuiClient, args: [
|
|
860
861
|
string | ObjectCallArg | TransactionArgument,
|
|
861
862
|
T0 | TransactionArgument
|
|
862
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
863
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
863
864
|
function existsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
864
865
|
string | ObjectCallArg | TransactionArgument,
|
|
865
866
|
T0 | TransactionArgument
|
|
866
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
867
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
867
868
|
function id<T0 = any>(client: SuiClient, args: [
|
|
868
869
|
string | ObjectCallArg | TransactionArgument,
|
|
869
870
|
T0 | TransactionArgument
|
|
870
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
871
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
871
872
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
872
873
|
string | ObjectCallArg | TransactionArgument,
|
|
873
874
|
T0 | TransactionArgument
|
|
874
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
875
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
875
876
|
}
|
|
876
877
|
}
|
|
877
878
|
export declare namespace ecdsa_k1 {
|
|
@@ -899,18 +900,18 @@ export declare namespace ecdsa_k1 {
|
|
|
899
900
|
];
|
|
900
901
|
}
|
|
901
902
|
namespace view {
|
|
902
|
-
function decompressPubkey(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
903
|
+
function decompressPubkey(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
903
904
|
function secp256k1Ecrecover(client: SuiClient, args: [
|
|
904
905
|
string | ObjectCallArg | TransactionArgument,
|
|
905
906
|
string | ObjectCallArg | TransactionArgument,
|
|
906
907
|
number | TransactionArgument
|
|
907
|
-
]): Promise<
|
|
908
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
908
909
|
function secp256k1Verify(client: SuiClient, args: [
|
|
909
910
|
string | ObjectCallArg | TransactionArgument,
|
|
910
911
|
string | ObjectCallArg | TransactionArgument,
|
|
911
912
|
string | ObjectCallArg | TransactionArgument,
|
|
912
913
|
number | TransactionArgument
|
|
913
|
-
]): Promise<
|
|
914
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
914
915
|
}
|
|
915
916
|
}
|
|
916
917
|
export declare namespace ecdsa_r1 {
|
|
@@ -941,13 +942,13 @@ export declare namespace ecdsa_r1 {
|
|
|
941
942
|
string | ObjectCallArg | TransactionArgument,
|
|
942
943
|
string | ObjectCallArg | TransactionArgument,
|
|
943
944
|
number | TransactionArgument
|
|
944
|
-
]): Promise<
|
|
945
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
945
946
|
function secp256r1Verify(client: SuiClient, args: [
|
|
946
947
|
string | ObjectCallArg | TransactionArgument,
|
|
947
948
|
string | ObjectCallArg | TransactionArgument,
|
|
948
949
|
string | ObjectCallArg | TransactionArgument,
|
|
949
950
|
number | TransactionArgument
|
|
950
|
-
]): Promise<
|
|
951
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
951
952
|
}
|
|
952
953
|
}
|
|
953
954
|
export declare namespace ecvrf {
|
|
@@ -970,7 +971,7 @@ export declare namespace ecvrf {
|
|
|
970
971
|
string | ObjectCallArg | TransactionArgument,
|
|
971
972
|
string | ObjectCallArg | TransactionArgument,
|
|
972
973
|
string | ObjectCallArg | TransactionArgument
|
|
973
|
-
]): Promise<
|
|
974
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
974
975
|
}
|
|
975
976
|
}
|
|
976
977
|
export declare namespace ed25519 {
|
|
@@ -990,7 +991,7 @@ export declare namespace ed25519 {
|
|
|
990
991
|
string | ObjectCallArg | TransactionArgument,
|
|
991
992
|
string | ObjectCallArg | TransactionArgument,
|
|
992
993
|
string | ObjectCallArg | TransactionArgument
|
|
993
|
-
]): Promise<
|
|
994
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
994
995
|
}
|
|
995
996
|
}
|
|
996
997
|
export declare namespace event {
|
|
@@ -998,7 +999,7 @@ export declare namespace event {
|
|
|
998
999
|
function emit<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
999
1000
|
}
|
|
1000
1001
|
namespace view {
|
|
1001
|
-
function emit<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1002
|
+
function emit<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1002
1003
|
}
|
|
1003
1004
|
}
|
|
1004
1005
|
export declare namespace groth16 {
|
|
@@ -1083,27 +1084,27 @@ export declare namespace groth16 {
|
|
|
1083
1084
|
];
|
|
1084
1085
|
}
|
|
1085
1086
|
namespace view {
|
|
1086
|
-
function bls12381(client: SuiClient, args: []): Promise<
|
|
1087
|
-
function bn254(client: SuiClient, args: []): Promise<
|
|
1087
|
+
function bls12381(client: SuiClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
|
1088
|
+
function bn254(client: SuiClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
|
1088
1089
|
function prepareVerifyingKey(client: SuiClient, args: [
|
|
1089
1090
|
string | ObjectCallArg | TransactionArgument,
|
|
1090
1091
|
string | ObjectCallArg | TransactionArgument
|
|
1091
|
-
]): Promise<
|
|
1092
|
-
function proofPointsFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
1093
|
-
function publicProofInputsFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
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]>>;
|
|
1094
1095
|
function pvkFromBytes(client: SuiClient, args: [
|
|
1095
1096
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1096
1097
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1097
1098
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
1098
1099
|
(string | ObjectCallArg)[] | TransactionArgument
|
|
1099
|
-
]): Promise<
|
|
1100
|
-
function pvkToBytes(client: SuiClient, args: [groth16.PreparedVerifyingKey | TransactionArgument]): Promise<
|
|
1100
|
+
]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
|
1101
|
+
function pvkToBytes(client: SuiClient, args: [groth16.PreparedVerifyingKey | TransactionArgument]): Promise<TypedDevInspectResults<[number[][]]>>;
|
|
1101
1102
|
function verifyGroth16Proof(client: SuiClient, args: [
|
|
1102
1103
|
string | ObjectCallArg | TransactionArgument,
|
|
1103
1104
|
string | ObjectCallArg | TransactionArgument,
|
|
1104
1105
|
string | ObjectCallArg | TransactionArgument,
|
|
1105
1106
|
string | ObjectCallArg | TransactionArgument
|
|
1106
|
-
]): Promise<
|
|
1107
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1107
1108
|
}
|
|
1108
1109
|
}
|
|
1109
1110
|
export declare namespace hash {
|
|
@@ -1112,8 +1113,8 @@ export declare namespace hash {
|
|
|
1112
1113
|
function keccak256(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1113
1114
|
}
|
|
1114
1115
|
namespace view {
|
|
1115
|
-
function blake2b256(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1116
|
-
function keccak256(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1116
|
+
function blake2b256(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1117
|
+
function keccak256(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1117
1118
|
}
|
|
1118
1119
|
}
|
|
1119
1120
|
export declare namespace hex {
|
|
@@ -1122,8 +1123,8 @@ export declare namespace hex {
|
|
|
1122
1123
|
function encode(tx: TransactionBlock, args: [(string | ObjectCallArg)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1123
1124
|
}
|
|
1124
1125
|
namespace view {
|
|
1125
|
-
function decode(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
1126
|
-
function encode(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
1126
|
+
function decode(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1127
|
+
function encode(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1127
1128
|
}
|
|
1128
1129
|
}
|
|
1129
1130
|
export declare namespace hmac {
|
|
@@ -1137,7 +1138,7 @@ export declare namespace hmac {
|
|
|
1137
1138
|
function hmacSha3256(client: SuiClient, args: [
|
|
1138
1139
|
string | ObjectCallArg | TransactionArgument,
|
|
1139
1140
|
string | ObjectCallArg | TransactionArgument
|
|
1140
|
-
]): Promise<
|
|
1141
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
|
1141
1142
|
}
|
|
1142
1143
|
}
|
|
1143
1144
|
export declare namespace kiosk {
|
|
@@ -1476,143 +1477,143 @@ export declare namespace kiosk {
|
|
|
1476
1477
|
string | ObjectCallArg | TransactionArgument,
|
|
1477
1478
|
string | ObjectCallArg | TransactionArgument,
|
|
1478
1479
|
object_.ID | TransactionArgument
|
|
1479
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1480
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1480
1481
|
function borrowMut<T0 = any>(client: SuiClient, args: [
|
|
1481
1482
|
string | ObjectCallArg | TransactionArgument,
|
|
1482
1483
|
string | ObjectCallArg | TransactionArgument,
|
|
1483
1484
|
object_.ID | TransactionArgument
|
|
1484
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1485
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1485
1486
|
function borrowVal<T0 = any>(client: SuiClient, args: [
|
|
1486
1487
|
string | ObjectCallArg | TransactionArgument,
|
|
1487
1488
|
string | ObjectCallArg | TransactionArgument,
|
|
1488
1489
|
object_.ID | TransactionArgument
|
|
1489
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1490
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, kiosk.Borrow]>>;
|
|
1490
1491
|
function closeAndWithdraw(client: SuiClient, args: [
|
|
1491
1492
|
kiosk.Kiosk | TransactionArgument,
|
|
1492
1493
|
kiosk.KioskOwnerCap | TransactionArgument,
|
|
1493
1494
|
string | ObjectCallArg | TransactionArgument
|
|
1494
|
-
]): Promise<
|
|
1495
|
+
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
1495
1496
|
function delist<T0 = any>(client: SuiClient, args: [
|
|
1496
1497
|
string | ObjectCallArg | TransactionArgument,
|
|
1497
1498
|
string | ObjectCallArg | TransactionArgument,
|
|
1498
1499
|
object_.ID | TransactionArgument
|
|
1499
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1500
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1500
1501
|
function hasAccess(client: SuiClient, args: [
|
|
1501
1502
|
string | ObjectCallArg | TransactionArgument,
|
|
1502
1503
|
string | ObjectCallArg | TransactionArgument
|
|
1503
|
-
]): Promise<
|
|
1504
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1504
1505
|
function hasItem(client: SuiClient, args: [
|
|
1505
1506
|
string | ObjectCallArg | TransactionArgument,
|
|
1506
1507
|
object_.ID | TransactionArgument
|
|
1507
|
-
]): Promise<
|
|
1508
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1508
1509
|
function hasItemWithType<T0 = any>(client: SuiClient, args: [
|
|
1509
1510
|
string | ObjectCallArg | TransactionArgument,
|
|
1510
1511
|
object_.ID | TransactionArgument
|
|
1511
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1512
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1512
1513
|
function isListed(client: SuiClient, args: [
|
|
1513
1514
|
string | ObjectCallArg | TransactionArgument,
|
|
1514
1515
|
object_.ID | TransactionArgument
|
|
1515
|
-
]): Promise<
|
|
1516
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1516
1517
|
function isListedExclusively(client: SuiClient, args: [
|
|
1517
1518
|
string | ObjectCallArg | TransactionArgument,
|
|
1518
1519
|
object_.ID | TransactionArgument
|
|
1519
|
-
]): Promise<
|
|
1520
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1520
1521
|
function isLocked(client: SuiClient, args: [
|
|
1521
1522
|
string | ObjectCallArg | TransactionArgument,
|
|
1522
1523
|
object_.ID | TransactionArgument
|
|
1523
|
-
]): Promise<
|
|
1524
|
-
function itemCount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1524
|
+
]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1525
|
+
function itemCount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
|
1525
1526
|
function list<T0 = any>(client: SuiClient, args: [
|
|
1526
1527
|
string | ObjectCallArg | TransactionArgument,
|
|
1527
1528
|
string | ObjectCallArg | TransactionArgument,
|
|
1528
1529
|
object_.ID | TransactionArgument,
|
|
1529
1530
|
bigint | TransactionArgument
|
|
1530
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1531
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1531
1532
|
function listWithPurchaseCap<T0 = any>(client: SuiClient, args: [
|
|
1532
1533
|
string | ObjectCallArg | TransactionArgument,
|
|
1533
1534
|
string | ObjectCallArg | TransactionArgument,
|
|
1534
1535
|
object_.ID | TransactionArgument,
|
|
1535
1536
|
bigint | TransactionArgument,
|
|
1536
1537
|
string | ObjectCallArg | TransactionArgument
|
|
1537
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1538
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[kiosk.PurchaseCap<T0>]>>;
|
|
1538
1539
|
function lock<T0 = any>(client: SuiClient, args: [
|
|
1539
1540
|
string | ObjectCallArg | TransactionArgument,
|
|
1540
1541
|
string | ObjectCallArg | TransactionArgument,
|
|
1541
1542
|
string | ObjectCallArg | TransactionArgument,
|
|
1542
1543
|
T0 | TransactionArgument
|
|
1543
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1544
|
-
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1545
|
-
function owner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
1546
1547
|
function place<T0 = any>(client: SuiClient, args: [
|
|
1547
1548
|
string | ObjectCallArg | TransactionArgument,
|
|
1548
1549
|
string | ObjectCallArg | TransactionArgument,
|
|
1549
1550
|
T0 | TransactionArgument
|
|
1550
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1551
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1551
1552
|
function placeAndList<T0 = any>(client: SuiClient, args: [
|
|
1552
1553
|
string | ObjectCallArg | TransactionArgument,
|
|
1553
1554
|
string | ObjectCallArg | TransactionArgument,
|
|
1554
1555
|
T0 | TransactionArgument,
|
|
1555
1556
|
bigint | TransactionArgument
|
|
1556
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1557
|
-
function profitsAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1557
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1558
|
+
function profitsAmount(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
1558
1559
|
function profitsMut(client: SuiClient, args: [
|
|
1559
1560
|
string | ObjectCallArg | TransactionArgument,
|
|
1560
1561
|
string | ObjectCallArg | TransactionArgument
|
|
1561
|
-
]): Promise<
|
|
1562
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
|
1562
1563
|
function purchase<T0 = any>(client: SuiClient, args: [
|
|
1563
1564
|
string | ObjectCallArg | TransactionArgument,
|
|
1564
1565
|
object_.ID | TransactionArgument,
|
|
1565
1566
|
coin.Coin<sui.SUI> | TransactionArgument
|
|
1566
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1567
|
-
function purchaseCapItem<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1568
|
-
function purchaseCapKiosk<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1569
|
-
function purchaseCapMinPrice<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
1570
1571
|
function purchaseWithCap<T0 = any>(client: SuiClient, args: [
|
|
1571
1572
|
string | ObjectCallArg | TransactionArgument,
|
|
1572
1573
|
kiosk.PurchaseCap<T0> | TransactionArgument,
|
|
1573
1574
|
coin.Coin<sui.SUI> | TransactionArgument
|
|
1574
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1575
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
|
1575
1576
|
function returnPurchaseCap<T0 = any>(client: SuiClient, args: [
|
|
1576
1577
|
string | ObjectCallArg | TransactionArgument,
|
|
1577
1578
|
kiosk.PurchaseCap<T0> | TransactionArgument
|
|
1578
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1579
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1579
1580
|
function returnVal<T0 = any>(client: SuiClient, args: [
|
|
1580
1581
|
string | ObjectCallArg | TransactionArgument,
|
|
1581
1582
|
T0 | TransactionArgument,
|
|
1582
1583
|
kiosk.Borrow | TransactionArgument
|
|
1583
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1584
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1584
1585
|
function setAllowExtensions(client: SuiClient, args: [
|
|
1585
1586
|
string | ObjectCallArg | TransactionArgument,
|
|
1586
1587
|
string | ObjectCallArg | TransactionArgument,
|
|
1587
1588
|
Boolean | TransactionArgument
|
|
1588
|
-
]): Promise<
|
|
1589
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1589
1590
|
function setOwner(client: SuiClient, args: [
|
|
1590
1591
|
string | ObjectCallArg | TransactionArgument,
|
|
1591
1592
|
string | ObjectCallArg | TransactionArgument,
|
|
1592
1593
|
string | ObjectCallArg | TransactionArgument
|
|
1593
|
-
]): Promise<
|
|
1594
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1594
1595
|
function setOwnerCustom(client: SuiClient, args: [
|
|
1595
1596
|
string | ObjectCallArg | TransactionArgument,
|
|
1596
1597
|
string | ObjectCallArg | TransactionArgument,
|
|
1597
1598
|
string | TransactionArgument
|
|
1598
|
-
]): Promise<
|
|
1599
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
1599
1600
|
function take<T0 = any>(client: SuiClient, args: [
|
|
1600
1601
|
string | ObjectCallArg | TransactionArgument,
|
|
1601
1602
|
string | ObjectCallArg | TransactionArgument,
|
|
1602
1603
|
object_.ID | TransactionArgument
|
|
1603
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1604
|
-
function uid(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1605
|
-
function uidMut(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
1606
1607
|
function uidMutAsOwner(client: SuiClient, args: [
|
|
1607
1608
|
string | ObjectCallArg | TransactionArgument,
|
|
1608
1609
|
string | ObjectCallArg | TransactionArgument
|
|
1609
|
-
]): Promise<
|
|
1610
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
|
1610
1611
|
function withdraw(client: SuiClient, args: [
|
|
1611
1612
|
string | ObjectCallArg | TransactionArgument,
|
|
1612
1613
|
string | ObjectCallArg | TransactionArgument,
|
|
1613
1614
|
_0x1.option.Option<bigint> | TransactionArgument,
|
|
1614
1615
|
string | ObjectCallArg | TransactionArgument
|
|
1615
|
-
]): Promise<
|
|
1616
|
+
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
1616
1617
|
}
|
|
1617
1618
|
}
|
|
1618
1619
|
export declare namespace linked_table {
|
|
@@ -1689,49 +1690,49 @@ export declare namespace linked_table {
|
|
|
1689
1690
|
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1690
1691
|
}
|
|
1691
1692
|
namespace view {
|
|
1692
|
-
function back<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1693
|
+
function back<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1693
1694
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1694
1695
|
string | ObjectCallArg | TransactionArgument,
|
|
1695
1696
|
T0 | TransactionArgument
|
|
1696
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1697
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1697
1698
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1698
1699
|
string | ObjectCallArg | TransactionArgument,
|
|
1699
1700
|
T0 | TransactionArgument
|
|
1700
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1701
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1701
1702
|
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1702
1703
|
string | ObjectCallArg | TransactionArgument,
|
|
1703
1704
|
T0 | TransactionArgument
|
|
1704
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1705
|
-
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1706
|
-
function drop<T0 = any, T1 = any>(client: SuiClient, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1707
|
-
function front<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1708
|
-
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1709
|
-
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1710
|
-
function new_<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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>]>>;
|
|
1711
1712
|
function next<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1712
1713
|
string | ObjectCallArg | TransactionArgument,
|
|
1713
1714
|
T0 | TransactionArgument
|
|
1714
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1715
|
-
function popBack<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1716
|
-
function popFront<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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]>>;
|
|
1717
1718
|
function prev<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1718
1719
|
string | ObjectCallArg | TransactionArgument,
|
|
1719
1720
|
T0 | TransactionArgument
|
|
1720
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1721
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1721
1722
|
function pushBack<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1722
1723
|
string | ObjectCallArg | TransactionArgument,
|
|
1723
1724
|
T0 | TransactionArgument,
|
|
1724
1725
|
T1 | TransactionArgument
|
|
1725
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1726
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1726
1727
|
function pushFront<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1727
1728
|
string | ObjectCallArg | TransactionArgument,
|
|
1728
1729
|
T0 | TransactionArgument,
|
|
1729
1730
|
T1 | TransactionArgument
|
|
1730
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1731
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1731
1732
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1732
1733
|
string | ObjectCallArg | TransactionArgument,
|
|
1733
1734
|
T0 | TransactionArgument
|
|
1734
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1735
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1735
1736
|
}
|
|
1736
1737
|
}
|
|
1737
1738
|
export declare namespace math {
|
|
@@ -1745,13 +1746,13 @@ export declare namespace math {
|
|
|
1745
1746
|
function sqrtU128(tx: TransactionBlock, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1746
1747
|
}
|
|
1747
1748
|
namespace view {
|
|
1748
|
-
function diff(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<
|
|
1749
|
-
function divideAndRoundUp(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<
|
|
1750
|
-
function max(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<
|
|
1751
|
-
function min(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<
|
|
1752
|
-
function pow(client: SuiClient, args: [bigint | TransactionArgument, number | TransactionArgument]): Promise<
|
|
1753
|
-
function sqrt(client: SuiClient, args: [bigint | TransactionArgument]): Promise<
|
|
1754
|
-
function sqrtU128(client: SuiClient, args: [bigint | TransactionArgument]): Promise<
|
|
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]>>;
|
|
1755
1756
|
}
|
|
1756
1757
|
}
|
|
1757
1758
|
export declare namespace object_ {
|
|
@@ -1784,20 +1785,20 @@ export declare namespace object_ {
|
|
|
1784
1785
|
function uidToInner(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
1785
1786
|
}
|
|
1786
1787
|
namespace view {
|
|
1787
|
-
function borrowId<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1788
|
-
function delete_(client: SuiClient, args: [object_.UID | TransactionArgument]): Promise<
|
|
1789
|
-
function id<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1790
|
-
function idAddress<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1791
|
-
function idBytes<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1792
|
-
function idFromAddress(client: SuiClient, args: [string | TransactionArgument]): Promise<
|
|
1793
|
-
function idFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
1794
|
-
function idToAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1795
|
-
function idToBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1796
|
-
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1797
|
-
function uidAsInner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1798
|
-
function uidToAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1799
|
-
function uidToBytes(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1800
|
-
function uidToInner(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
1801
1802
|
}
|
|
1802
1803
|
}
|
|
1803
1804
|
export declare namespace object_bag {
|
|
@@ -1853,35 +1854,35 @@ export declare namespace object_bag {
|
|
|
1853
1854
|
string | ObjectCallArg | TransactionArgument,
|
|
1854
1855
|
T0 | TransactionArgument,
|
|
1855
1856
|
T1 | TransactionArgument
|
|
1856
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1857
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1857
1858
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1858
1859
|
string | ObjectCallArg | TransactionArgument,
|
|
1859
1860
|
T0 | TransactionArgument
|
|
1860
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1861
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1861
1862
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1862
1863
|
string | ObjectCallArg | TransactionArgument,
|
|
1863
1864
|
T0 | TransactionArgument
|
|
1864
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1865
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1865
1866
|
function contains<T0 = any>(client: SuiClient, args: [
|
|
1866
1867
|
string | ObjectCallArg | TransactionArgument,
|
|
1867
1868
|
T0 | TransactionArgument
|
|
1868
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1869
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
1869
1870
|
function containsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1870
1871
|
string | ObjectCallArg | TransactionArgument,
|
|
1871
1872
|
T0 | TransactionArgument
|
|
1872
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1873
|
-
function destroyEmpty(client: SuiClient, args: [object_bag.ObjectBag | TransactionArgument]): Promise<
|
|
1874
|
-
function isEmpty(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1875
|
-
function length(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
1876
|
-
function new_(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
1877
1878
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1878
1879
|
string | ObjectCallArg | TransactionArgument,
|
|
1879
1880
|
T0 | TransactionArgument
|
|
1880
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1881
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1881
1882
|
function valueId<T0 = any>(client: SuiClient, args: [
|
|
1882
1883
|
string | ObjectCallArg | TransactionArgument,
|
|
1883
1884
|
T0 | TransactionArgument
|
|
1884
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
1885
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
1885
1886
|
}
|
|
1886
1887
|
}
|
|
1887
1888
|
export declare namespace object_table {
|
|
@@ -1933,31 +1934,31 @@ export declare namespace object_table {
|
|
|
1933
1934
|
string | ObjectCallArg | TransactionArgument,
|
|
1934
1935
|
T0 | TransactionArgument,
|
|
1935
1936
|
T1 | TransactionArgument
|
|
1936
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1937
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1937
1938
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1938
1939
|
string | ObjectCallArg | TransactionArgument,
|
|
1939
1940
|
T0 | TransactionArgument
|
|
1940
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1941
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1941
1942
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1942
1943
|
string | ObjectCallArg | TransactionArgument,
|
|
1943
1944
|
T0 | TransactionArgument
|
|
1944
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1945
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1945
1946
|
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1946
1947
|
string | ObjectCallArg | TransactionArgument,
|
|
1947
1948
|
T0 | TransactionArgument
|
|
1948
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1949
|
-
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [object_table.ObjectTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1950
|
-
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1951
|
-
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1952
|
-
function new_<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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>]>>;
|
|
1953
1954
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1954
1955
|
string | ObjectCallArg | TransactionArgument,
|
|
1955
1956
|
T0 | TransactionArgument
|
|
1956
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1957
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
1957
1958
|
function valueId<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
1958
1959
|
string | ObjectCallArg | TransactionArgument,
|
|
1959
1960
|
T0 | TransactionArgument
|
|
1960
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
1961
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
|
1961
1962
|
}
|
|
1962
1963
|
}
|
|
1963
1964
|
export declare namespace package_ {
|
|
@@ -2041,42 +2042,42 @@ export declare namespace package_ {
|
|
|
2041
2042
|
function version(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2042
2043
|
}
|
|
2043
2044
|
namespace view {
|
|
2044
|
-
function additivePolicy(client: SuiClient, args: []): Promise<
|
|
2045
|
+
function additivePolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
|
2045
2046
|
function authorizeUpgrade(client: SuiClient, args: [
|
|
2046
2047
|
string | ObjectCallArg | TransactionArgument,
|
|
2047
2048
|
number | TransactionArgument,
|
|
2048
2049
|
(string | ObjectCallArg)[] | TransactionArgument
|
|
2049
|
-
]): Promise<
|
|
2050
|
-
function burnPublisher(client: SuiClient, args: [package_.Publisher | TransactionArgument]): Promise<
|
|
2050
|
+
]): Promise<TypedDevInspectResults<[package_.UpgradeTicket]>>;
|
|
2051
|
+
function burnPublisher(client: SuiClient, args: [package_.Publisher | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
|
2051
2052
|
function claim<T0 = any>(client: SuiClient, args: [
|
|
2052
2053
|
T0 | TransactionArgument,
|
|
2053
2054
|
string | ObjectCallArg | TransactionArgument
|
|
2054
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2055
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[package_.Publisher]>>;
|
|
2055
2056
|
function claimAndKeep<T0 = any>(client: SuiClient, args: [
|
|
2056
2057
|
T0 | TransactionArgument,
|
|
2057
2058
|
string | ObjectCallArg | TransactionArgument
|
|
2058
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2059
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2059
2060
|
function commitUpgrade(client: SuiClient, args: [
|
|
2060
2061
|
string | ObjectCallArg | TransactionArgument,
|
|
2061
2062
|
package_.UpgradeReceipt | TransactionArgument
|
|
2062
|
-
]): Promise<
|
|
2063
|
-
function compatiblePolicy(client: SuiClient, args: []): Promise<
|
|
2064
|
-
function depOnlyPolicy(client: SuiClient, args: []): Promise<
|
|
2065
|
-
function fromModule<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2066
|
-
function fromPackage<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2067
|
-
function makeImmutable(client: SuiClient, args: [package_.UpgradeCap | TransactionArgument]): Promise<
|
|
2068
|
-
function onlyAdditiveUpgrades(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2069
|
-
function onlyDepUpgrades(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2070
|
-
function publishedModule(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2071
|
-
function publishedPackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2072
|
-
function receiptCap(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2073
|
-
function receiptPackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2074
|
-
function ticketDigest(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2075
|
-
function ticketPackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2076
|
-
function ticketPolicy(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2077
|
-
function upgradePackage(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2078
|
-
function upgradePolicy(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2079
|
-
function version(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
2080
2081
|
}
|
|
2081
2082
|
}
|
|
2082
2083
|
export declare namespace pay {
|
|
@@ -2141,39 +2142,39 @@ export declare namespace pay {
|
|
|
2141
2142
|
string | ObjectCallArg | TransactionArgument,
|
|
2142
2143
|
bigint | TransactionArgument,
|
|
2143
2144
|
string | ObjectCallArg | TransactionArgument
|
|
2144
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2145
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2145
2146
|
function join<T0 = any>(client: SuiClient, args: [
|
|
2146
2147
|
string | ObjectCallArg | TransactionArgument,
|
|
2147
2148
|
coin.Coin<T0> | TransactionArgument
|
|
2148
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2149
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2149
2150
|
function joinVec<T0 = any>(client: SuiClient, args: [
|
|
2150
2151
|
string | ObjectCallArg | TransactionArgument,
|
|
2151
2152
|
(string | ObjectCallArg)[] | TransactionArgument
|
|
2152
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2153
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2153
2154
|
function joinVecAndTransfer<T0 = any>(client: SuiClient, args: [
|
|
2154
2155
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2155
2156
|
string | TransactionArgument
|
|
2156
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2157
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2157
2158
|
function keep<T0 = any>(client: SuiClient, args: [
|
|
2158
2159
|
coin.Coin<T0> | TransactionArgument,
|
|
2159
2160
|
string | ObjectCallArg | TransactionArgument
|
|
2160
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2161
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2161
2162
|
function split<T0 = any>(client: SuiClient, args: [
|
|
2162
2163
|
string | ObjectCallArg | TransactionArgument,
|
|
2163
2164
|
bigint | TransactionArgument,
|
|
2164
2165
|
string | ObjectCallArg | TransactionArgument
|
|
2165
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2166
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2166
2167
|
function splitAndTransfer<T0 = any>(client: SuiClient, args: [
|
|
2167
2168
|
string | ObjectCallArg | TransactionArgument,
|
|
2168
2169
|
bigint | TransactionArgument,
|
|
2169
2170
|
string | TransactionArgument,
|
|
2170
2171
|
string | ObjectCallArg | TransactionArgument
|
|
2171
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2172
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2172
2173
|
function splitVec<T0 = any>(client: SuiClient, args: [
|
|
2173
2174
|
string | ObjectCallArg | TransactionArgument,
|
|
2174
2175
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2175
2176
|
string | ObjectCallArg | TransactionArgument
|
|
2176
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2177
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2177
2178
|
}
|
|
2178
2179
|
}
|
|
2179
2180
|
export declare namespace priority_queue {
|
|
@@ -2215,16 +2216,16 @@ export declare namespace priority_queue {
|
|
|
2215
2216
|
function createEntries<T0 = any>(client: SuiClient, args: [
|
|
2216
2217
|
(string | ObjectCallArg)[] | TransactionArgument,
|
|
2217
2218
|
(string | ObjectCallArg)[] | TransactionArgument
|
|
2218
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2219
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>[]]>>;
|
|
2219
2220
|
function insert<T0 = any>(client: SuiClient, args: [
|
|
2220
2221
|
string | ObjectCallArg | TransactionArgument,
|
|
2221
2222
|
bigint | TransactionArgument,
|
|
2222
2223
|
T0 | TransactionArgument
|
|
2223
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2224
|
-
function new_<T0 = any>(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2225
|
-
function newEntry<T0 = any>(client: SuiClient, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2226
|
-
function popMax<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2227
|
-
function priorities<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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[]]>>;
|
|
2228
2229
|
}
|
|
2229
2230
|
}
|
|
2230
2231
|
export declare namespace prover {
|
|
@@ -2249,7 +2250,7 @@ export declare namespace sui {
|
|
|
2249
2250
|
function transfer(client: SuiClient, args: [
|
|
2250
2251
|
coin.Coin<sui.SUI> | TransactionArgument,
|
|
2251
2252
|
string | TransactionArgument
|
|
2252
|
-
]): Promise<
|
|
2253
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2253
2254
|
}
|
|
2254
2255
|
}
|
|
2255
2256
|
export declare namespace table {
|
|
@@ -2298,28 +2299,28 @@ export declare namespace table {
|
|
|
2298
2299
|
string | ObjectCallArg | TransactionArgument,
|
|
2299
2300
|
T0 | TransactionArgument,
|
|
2300
2301
|
T1 | TransactionArgument
|
|
2301
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2302
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2302
2303
|
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2303
2304
|
string | ObjectCallArg | TransactionArgument,
|
|
2304
2305
|
T0 | TransactionArgument
|
|
2305
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2306
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2306
2307
|
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2307
2308
|
string | ObjectCallArg | TransactionArgument,
|
|
2308
2309
|
T0 | TransactionArgument
|
|
2309
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2310
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2310
2311
|
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2311
2312
|
string | ObjectCallArg | TransactionArgument,
|
|
2312
2313
|
T0 | TransactionArgument
|
|
2313
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2314
|
-
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2315
|
-
function drop<T0 = any, T1 = any>(client: SuiClient, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2316
|
-
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2317
|
-
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2318
|
-
function new_<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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>]>>;
|
|
2319
2320
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2320
2321
|
string | ObjectCallArg | TransactionArgument,
|
|
2321
2322
|
T0 | TransactionArgument
|
|
2322
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2323
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
|
2323
2324
|
}
|
|
2324
2325
|
}
|
|
2325
2326
|
export declare namespace table_vec {
|
|
@@ -2357,24 +2358,24 @@ export declare namespace table_vec {
|
|
|
2357
2358
|
function borrow<T0 = any>(client: SuiClient, args: [
|
|
2358
2359
|
string | ObjectCallArg | TransactionArgument,
|
|
2359
2360
|
bigint | TransactionArgument
|
|
2360
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2361
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2361
2362
|
function borrowMut<T0 = any>(client: SuiClient, args: [
|
|
2362
2363
|
string | ObjectCallArg | TransactionArgument,
|
|
2363
2364
|
bigint | TransactionArgument
|
|
2364
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2365
|
-
function destroyEmpty<T0 = any>(client: SuiClient, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2366
|
-
function empty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2367
|
-
function isEmpty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2368
|
-
function length<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2369
|
-
function popBack<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2370
2371
|
function pushBack<T0 = any>(client: SuiClient, args: [
|
|
2371
2372
|
string | ObjectCallArg | TransactionArgument,
|
|
2372
2373
|
T0 | TransactionArgument
|
|
2373
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2374
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2374
2375
|
function singleton<T0 = any>(client: SuiClient, args: [
|
|
2375
2376
|
T0 | TransactionArgument,
|
|
2376
2377
|
string | ObjectCallArg | TransactionArgument
|
|
2377
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2378
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
|
2378
2379
|
}
|
|
2379
2380
|
}
|
|
2380
2381
|
export declare namespace transfer {
|
|
@@ -2387,12 +2388,12 @@ export declare namespace transfer {
|
|
|
2387
2388
|
function transfer<T0 = any>(tx: TransactionBlock, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2388
2389
|
}
|
|
2389
2390
|
namespace view {
|
|
2390
|
-
function freezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2391
|
-
function publicFreezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2392
|
-
function publicShareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2393
|
-
function publicTransfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2394
|
-
function shareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2395
|
-
function transfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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<[]>>;
|
|
2396
2397
|
}
|
|
2397
2398
|
}
|
|
2398
2399
|
export declare namespace transfer_policy {
|
|
@@ -2542,7 +2543,7 @@ export declare namespace transfer_policy {
|
|
|
2542
2543
|
function addReceipt<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2543
2544
|
T1 | TransactionArgument,
|
|
2544
2545
|
string | ObjectCallArg | TransactionArgument
|
|
2545
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2546
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2546
2547
|
function addRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
2547
2548
|
T1 | TransactionArgument,
|
|
2548
2549
|
string | ObjectCallArg | TransactionArgument,
|
|
@@ -2552,22 +2553,22 @@ export declare namespace transfer_policy {
|
|
|
2552
2553
|
TypeDescriptor<T0> | string,
|
|
2553
2554
|
TypeDescriptor<T1> | string,
|
|
2554
2555
|
TypeDescriptor<T2> | string
|
|
2555
|
-
]): Promise<
|
|
2556
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2556
2557
|
function addToBalance<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2557
2558
|
T1 | TransactionArgument,
|
|
2558
2559
|
string | ObjectCallArg | TransactionArgument,
|
|
2559
2560
|
coin.Coin<sui.SUI> | TransactionArgument
|
|
2560
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2561
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2561
2562
|
function confirmRequest<T0 = any>(client: SuiClient, args: [
|
|
2562
2563
|
string | ObjectCallArg | TransactionArgument,
|
|
2563
2564
|
transfer_policy.TransferRequest<T0> | TransactionArgument
|
|
2564
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2565
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID, bigint, object_.ID]>>;
|
|
2565
2566
|
function destroyAndWithdraw<T0 = any>(client: SuiClient, args: [
|
|
2566
2567
|
transfer_policy.TransferPolicy<T0> | TransactionArgument,
|
|
2567
2568
|
transfer_policy.TransferPolicyCap<T0> | TransactionArgument,
|
|
2568
2569
|
string | ObjectCallArg | TransactionArgument
|
|
2569
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2570
|
-
function from<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2571
2572
|
function getRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
2572
2573
|
T1 | TransactionArgument,
|
|
2573
2574
|
string | ObjectCallArg | TransactionArgument
|
|
@@ -2575,19 +2576,22 @@ export declare namespace transfer_policy {
|
|
|
2575
2576
|
TypeDescriptor<T0> | string,
|
|
2576
2577
|
TypeDescriptor<T1> | string,
|
|
2577
2578
|
TypeDescriptor<T2> | string
|
|
2578
|
-
]): Promise<
|
|
2579
|
-
function hasRule<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2580
|
-
function item<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2581
2582
|
function new_<T0 = any>(client: SuiClient, args: [
|
|
2582
2583
|
string | ObjectCallArg | TransactionArgument,
|
|
2583
2584
|
string | ObjectCallArg | TransactionArgument
|
|
2584
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2585
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
2586
|
+
transfer_policy.TransferPolicy<T0>,
|
|
2587
|
+
transfer_policy.TransferPolicyCap<T0>
|
|
2588
|
+
]>>;
|
|
2585
2589
|
function newRequest<T0 = any>(client: SuiClient, args: [
|
|
2586
2590
|
object_.ID | TransactionArgument,
|
|
2587
2591
|
bigint | TransactionArgument,
|
|
2588
2592
|
object_.ID | TransactionArgument
|
|
2589
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2590
|
-
function paid<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2591
2595
|
function removeRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
|
2592
2596
|
string | ObjectCallArg | TransactionArgument,
|
|
2593
2597
|
string | ObjectCallArg | TransactionArgument
|
|
@@ -2595,19 +2599,19 @@ export declare namespace transfer_policy {
|
|
|
2595
2599
|
TypeDescriptor<T0> | string,
|
|
2596
2600
|
TypeDescriptor<T1> | string,
|
|
2597
2601
|
TypeDescriptor<T2> | string
|
|
2598
|
-
]): Promise<
|
|
2599
|
-
function rules<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2600
|
-
function uid<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2601
2605
|
function uidMutAsOwner<T0 = any>(client: SuiClient, args: [
|
|
2602
2606
|
string | ObjectCallArg | TransactionArgument,
|
|
2603
2607
|
string | ObjectCallArg | TransactionArgument
|
|
2604
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2608
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2605
2609
|
function withdraw<T0 = any>(client: SuiClient, args: [
|
|
2606
2610
|
string | ObjectCallArg | TransactionArgument,
|
|
2607
2611
|
string | ObjectCallArg | TransactionArgument,
|
|
2608
2612
|
_0x1.option.Option<bigint> | TransactionArgument,
|
|
2609
2613
|
string | ObjectCallArg | TransactionArgument
|
|
2610
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2614
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
|
2611
2615
|
}
|
|
2612
2616
|
}
|
|
2613
2617
|
export declare namespace tx_context {
|
|
@@ -2629,10 +2633,10 @@ export declare namespace tx_context {
|
|
|
2629
2633
|
function sender(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
2630
2634
|
}
|
|
2631
2635
|
namespace view {
|
|
2632
|
-
function epoch(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2633
|
-
function epochTimestampMs(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2634
|
-
function freshObjectAddress(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2635
|
-
function sender(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
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]>>;
|
|
2636
2640
|
}
|
|
2637
2641
|
}
|
|
2638
2642
|
export declare namespace types {
|
|
@@ -2640,7 +2644,7 @@ export declare namespace types {
|
|
|
2640
2644
|
function isOneTimeWitness<T0 = any>(tx: TransactionBlock, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2641
2645
|
}
|
|
2642
2646
|
namespace view {
|
|
2643
|
-
function isOneTimeWitness<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2647
|
+
function isOneTimeWitness<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[Boolean]>>;
|
|
2644
2648
|
}
|
|
2645
2649
|
}
|
|
2646
2650
|
export declare namespace url {
|
|
@@ -2665,13 +2669,13 @@ export declare namespace url {
|
|
|
2665
2669
|
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2666
2670
|
}
|
|
2667
2671
|
namespace view {
|
|
2668
|
-
function innerUrl(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2669
|
-
function newUnsafe(client: SuiClient, args: [_0x1.ascii.String | TransactionArgument]): Promise<
|
|
2670
|
-
function newUnsafeFromBytes(client: SuiClient, args: [(string | ObjectCallArg)[] | TransactionArgument]): Promise<
|
|
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]>>;
|
|
2671
2675
|
function update(client: SuiClient, args: [
|
|
2672
2676
|
string | ObjectCallArg | TransactionArgument,
|
|
2673
2677
|
_0x1.ascii.String | TransactionArgument
|
|
2674
|
-
]): Promise<
|
|
2678
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
|
2675
2679
|
}
|
|
2676
2680
|
}
|
|
2677
2681
|
export declare namespace vec_map {
|
|
@@ -2760,55 +2764,55 @@ export declare namespace vec_map {
|
|
|
2760
2764
|
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2761
2765
|
string | ObjectCallArg | TransactionArgument,
|
|
2762
2766
|
string | ObjectCallArg | TransactionArgument
|
|
2763
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2764
|
-
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2765
|
-
function empty<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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>]>>;
|
|
2766
2770
|
function get<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2767
2771
|
string | ObjectCallArg | TransactionArgument,
|
|
2768
2772
|
string | ObjectCallArg | TransactionArgument
|
|
2769
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2773
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2770
2774
|
function getEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2771
2775
|
string | ObjectCallArg | TransactionArgument,
|
|
2772
2776
|
bigint | TransactionArgument
|
|
2773
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2777
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
2774
2778
|
function getEntryByIdxMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2775
2779
|
string | ObjectCallArg | TransactionArgument,
|
|
2776
2780
|
bigint | TransactionArgument
|
|
2777
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2781
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
|
2778
2782
|
function getIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2779
2783
|
string | ObjectCallArg | TransactionArgument,
|
|
2780
2784
|
string | ObjectCallArg | TransactionArgument
|
|
2781
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2785
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2782
2786
|
function getIdxOpt<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2783
2787
|
string | ObjectCallArg | TransactionArgument,
|
|
2784
2788
|
string | ObjectCallArg | TransactionArgument
|
|
2785
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2789
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
2786
2790
|
function getMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2787
2791
|
string | ObjectCallArg | TransactionArgument,
|
|
2788
2792
|
string | ObjectCallArg | TransactionArgument
|
|
2789
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2793
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2790
2794
|
function insert<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2791
2795
|
string | ObjectCallArg | TransactionArgument,
|
|
2792
2796
|
T0 | TransactionArgument,
|
|
2793
2797
|
T1 | TransactionArgument
|
|
2794
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2795
|
-
function intoKeysValues<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2796
|
-
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2797
|
-
function keys<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2798
|
-
function pop<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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]>>;
|
|
2799
2803
|
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2800
2804
|
string | ObjectCallArg | TransactionArgument,
|
|
2801
2805
|
string | ObjectCallArg | TransactionArgument
|
|
2802
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2806
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
|
2803
2807
|
function removeEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2804
2808
|
string | ObjectCallArg | TransactionArgument,
|
|
2805
2809
|
bigint | TransactionArgument
|
|
2806
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2807
|
-
function size<T0 = any, T1 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
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]>>;
|
|
2808
2812
|
function tryGet<T0 = any, T1 = any>(client: SuiClient, args: [
|
|
2809
2813
|
string | ObjectCallArg | TransactionArgument,
|
|
2810
2814
|
string | ObjectCallArg | TransactionArgument
|
|
2811
|
-
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<
|
|
2815
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
|
2812
2816
|
}
|
|
2813
2817
|
}
|
|
2814
2818
|
export declare namespace vec_set {
|
|
@@ -2846,20 +2850,20 @@ export declare namespace vec_set {
|
|
|
2846
2850
|
function contains<T0 = any>(client: SuiClient, args: [
|
|
2847
2851
|
string | ObjectCallArg | TransactionArgument,
|
|
2848
2852
|
string | ObjectCallArg | TransactionArgument
|
|
2849
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2850
|
-
function empty<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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>]>>;
|
|
2851
2855
|
function insert<T0 = any>(client: SuiClient, args: [
|
|
2852
2856
|
string | ObjectCallArg | TransactionArgument,
|
|
2853
2857
|
T0 | TransactionArgument
|
|
2854
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2855
|
-
function intoKeys<T0 = any>(client: SuiClient, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2856
|
-
function isEmpty<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2857
2861
|
function remove<T0 = any>(client: SuiClient, args: [
|
|
2858
2862
|
string | ObjectCallArg | TransactionArgument,
|
|
2859
2863
|
string | ObjectCallArg | TransactionArgument
|
|
2860
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2861
|
-
function singleton<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2862
|
-
function size<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2863
2867
|
}
|
|
2864
2868
|
}
|
|
2865
2869
|
export declare namespace versioned {
|
|
@@ -2911,18 +2915,18 @@ export declare namespace versioned {
|
|
|
2911
2915
|
bigint | TransactionArgument,
|
|
2912
2916
|
T0 | TransactionArgument,
|
|
2913
2917
|
string | ObjectCallArg | TransactionArgument
|
|
2914
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2915
|
-
function destroy<T0 = any>(client: SuiClient, args: [versioned.Versioned | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2916
|
-
function loadValue<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2917
|
-
function loadValueMut<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2918
|
-
function removeValueForUpgrade<T0 = any>(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
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]>>;
|
|
2919
2923
|
function upgrade<T0 = any>(client: SuiClient, args: [
|
|
2920
2924
|
string | ObjectCallArg | TransactionArgument,
|
|
2921
2925
|
bigint | TransactionArgument,
|
|
2922
2926
|
T0 | TransactionArgument,
|
|
2923
2927
|
versioned.VersionChangeCap | TransactionArgument
|
|
2924
|
-
], typeArguments: [TypeDescriptor<T0> | string]): Promise<
|
|
2925
|
-
function version(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<
|
|
2928
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2929
|
+
function version(client: SuiClient, args: [string | ObjectCallArg | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2926
2930
|
}
|
|
2927
2931
|
}
|
|
2928
2932
|
export declare function loadAllTypes(coder: MoveCoder): void;
|