@sentio/sdk 2.45.2 → 2.45.3-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/aptos/builtin/0x1.d.ts +2 -2
- package/lib/aptos/builtin/0x1.d.ts.map +1 -1
- package/lib/aptos/builtin/0x1.js +1 -2
- package/lib/aptos/builtin/0x1.js.map +1 -1
- package/lib/aptos/builtin/0x3.d.ts +2 -2
- package/lib/aptos/builtin/0x3.d.ts.map +1 -1
- package/lib/aptos/builtin/0x3.js +1 -2
- package/lib/aptos/builtin/0x3.js.map +1 -1
- package/lib/aptos/builtin/0x4.d.ts +2 -2
- package/lib/aptos/builtin/0x4.d.ts.map +1 -1
- package/lib/aptos/builtin/0x4.js +1 -2
- package/lib/aptos/builtin/0x4.js.map +1 -1
- package/lib/aptos/codegen/codegen.js +7 -1
- package/lib/aptos/codegen/codegen.js.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts +23 -23
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js +93 -659
- package/lib/eth/builtin/internal/eacaggregatorproxy-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.d.ts +8 -8
- package/lib/eth/builtin/internal/erc1155-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc1155-processor.js +33 -264
- package/lib/eth/builtin/internal/erc1155-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.d.ts +18 -18
- package/lib/eth/builtin/internal/erc20-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20-processor.js +75 -538
- package/lib/eth/builtin/internal/erc20-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts +9 -9
- package/lib/eth/builtin/internal/erc20bytes-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc20bytes-processor.js +37 -268
- package/lib/eth/builtin/internal/erc20bytes-processor.js.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.d.ts +14 -14
- package/lib/eth/builtin/internal/erc721-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/erc721-processor.js +57 -430
- package/lib/eth/builtin/internal/erc721-processor.js.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.d.ts +11 -11
- package/lib/eth/builtin/internal/weth9-processor.d.ts.map +1 -1
- package/lib/eth/builtin/internal/weth9-processor.js +45 -321
- package/lib/eth/builtin/internal/weth9-processor.js.map +1 -1
- package/lib/eth/codegen/file.d.ts.map +1 -1
- package/lib/eth/codegen/file.js +3 -6
- package/lib/eth/codegen/file.js.map +1 -1
- package/lib/eth/codegen/function-calls.d.ts.map +1 -1
- package/lib/eth/codegen/function-calls.js +5 -27
- package/lib/eth/codegen/function-calls.js.map +1 -1
- package/lib/eth/context.d.ts +4 -2
- package/lib/eth/context.d.ts.map +1 -1
- package/lib/eth/context.js +15 -0
- package/lib/eth/context.js.map +1 -1
- package/lib/eth/eth.d.ts +2 -0
- package/lib/eth/eth.d.ts.map +1 -1
- package/lib/eth/eth.js +15 -1
- package/lib/eth/eth.js.map +1 -1
- package/lib/move/shared-network-codegen.d.ts.map +1 -1
- package/lib/move/shared-network-codegen.js +2 -3
- package/lib/move/shared-network-codegen.js.map +1 -1
- package/lib/sui/builtin/0x1.d.ts +751 -12
- package/lib/sui/builtin/0x1.d.ts.map +1 -1
- package/lib/sui/builtin/0x1.js +3857 -0
- package/lib/sui/builtin/0x1.js.map +1 -1
- package/lib/sui/builtin/0x2.d.ts +3876 -14
- package/lib/sui/builtin/0x2.d.ts.map +1 -1
- package/lib/sui/builtin/0x2.js +14389 -188
- package/lib/sui/builtin/0x2.js.map +1 -1
- package/lib/sui/builtin/0x3.d.ts +1923 -0
- package/lib/sui/builtin/0x3.d.ts.map +1 -1
- package/lib/sui/builtin/0x3.js +5425 -0
- package/lib/sui/builtin/0x3.js.map +1 -1
- package/lib/sui/codegen/codegen.js +5 -1
- package/lib/sui/codegen/codegen.js.map +1 -1
- package/package.json +6 -6
- package/src/aptos/builtin/0x1.ts +5 -5
- package/src/aptos/builtin/0x3.ts +5 -5
- package/src/aptos/builtin/0x4.ts +5 -5
- package/src/aptos/codegen/codegen.ts +7 -1
- package/src/eth/builtin/internal/eacaggregatorproxy-processor.ts +189 -662
- package/src/eth/builtin/internal/erc1155-processor.ts +69 -261
- package/src/eth/builtin/internal/erc20-processor.ts +136 -535
- package/src/eth/builtin/internal/erc20bytes-processor.ts +68 -265
- package/src/eth/builtin/internal/erc721-processor.ts +118 -433
- package/src/eth/builtin/internal/weth9-processor.ts +81 -318
- package/src/eth/codegen/file.ts +2 -6
- package/src/eth/codegen/function-calls.ts +7 -29
- package/src/eth/context.ts +19 -2
- package/src/eth/eth.ts +21 -1
- package/src/move/shared-network-codegen.ts +1 -4
- package/src/sui/builtin/0x1.ts +5590 -19
- package/src/sui/builtin/0x2.ts +21779 -92
- package/src/sui/builtin/0x3.ts +8825 -15
- package/src/sui/codegen/codegen.ts +6 -1
package/lib/sui/builtin/0x2.d.ts
CHANGED
@@ -1,9 +1,35 @@
|
|
1
1
|
import { TypeDescriptor } from "@typemove/move";
|
2
2
|
import { MoveCoder, TypedEventInstance } from "@typemove/sui";
|
3
|
+
import { TypedDevInspectResults } from "@typemove/sui";
|
4
|
+
import { Transaction, TransactionArgument, TransactionObjectArgument } from "@mysten/sui/transactions";
|
5
|
+
import { SuiClient } from "@mysten/sui/client";
|
3
6
|
import { CallFilter, MoveFetchConfig } from "@sentio/sdk/move";
|
4
7
|
import { SuiBindOptions, SuiBaseProcessor, TypedFunctionPayload, SuiContext } from "@sentio/sdk/sui";
|
5
8
|
import * as _0x1 from "./0x1.js";
|
6
|
-
export declare namespace address {
|
9
|
+
export declare namespace address {
|
10
|
+
namespace builder {
|
11
|
+
function fromAsciiBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
12
|
+
function fromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
13
|
+
function fromU256(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
14
|
+
function length(tx: Transaction, args: []): TransactionArgument & [];
|
15
|
+
function max(tx: Transaction, args: []): TransactionArgument & [];
|
16
|
+
function toAsciiString(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
17
|
+
function toBytes(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
18
|
+
function toString(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
19
|
+
function toU256(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
20
|
+
}
|
21
|
+
namespace view {
|
22
|
+
function fromAsciiBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
23
|
+
function fromBytes(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
24
|
+
function fromU256(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
25
|
+
function length(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
26
|
+
function max(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
27
|
+
function toAsciiString(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
28
|
+
function toBytes(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
29
|
+
function toString(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
30
|
+
function toU256(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
31
|
+
}
|
32
|
+
}
|
7
33
|
export declare class authenticator_state extends SuiBaseProcessor {
|
8
34
|
constructor(options: SuiBindOptions);
|
9
35
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
@@ -68,6 +94,8 @@ export declare namespace authenticator_state {
|
|
68
94
|
data_decoded: JwkId;
|
69
95
|
type_arguments: [];
|
70
96
|
}
|
97
|
+
namespace builder { }
|
98
|
+
namespace view { }
|
71
99
|
}
|
72
100
|
export declare namespace bag {
|
73
101
|
interface Bag {
|
@@ -78,6 +106,72 @@ export declare namespace bag {
|
|
78
106
|
const TYPE_QNAME = "0x2::bag::Bag";
|
79
107
|
function type(): TypeDescriptor<Bag>;
|
80
108
|
}
|
109
|
+
namespace builder {
|
110
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
111
|
+
string | TransactionObjectArgument | TransactionArgument,
|
112
|
+
T0 | TransactionArgument,
|
113
|
+
T1 | TransactionArgument
|
114
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
115
|
+
TransactionArgument,
|
116
|
+
TransactionArgument,
|
117
|
+
TransactionArgument
|
118
|
+
];
|
119
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
120
|
+
string | TransactionObjectArgument | TransactionArgument,
|
121
|
+
T0 | TransactionArgument
|
122
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
123
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
124
|
+
string | TransactionObjectArgument | TransactionArgument,
|
125
|
+
T0 | TransactionArgument
|
126
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
127
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
128
|
+
string | TransactionObjectArgument | TransactionArgument,
|
129
|
+
T0 | TransactionArgument
|
130
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
131
|
+
function containsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
132
|
+
string | TransactionObjectArgument | TransactionArgument,
|
133
|
+
T0 | TransactionArgument
|
134
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
135
|
+
function destroyEmpty(tx: Transaction, args: [bag.Bag | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
136
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
137
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
138
|
+
function new_(tx: Transaction, args: []): TransactionArgument & [];
|
139
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
140
|
+
string | TransactionObjectArgument | TransactionArgument,
|
141
|
+
T0 | TransactionArgument
|
142
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
143
|
+
}
|
144
|
+
namespace view {
|
145
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
146
|
+
string | TransactionObjectArgument | TransactionArgument,
|
147
|
+
T0 | TransactionArgument,
|
148
|
+
T1 | TransactionArgument
|
149
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
150
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
151
|
+
string | TransactionObjectArgument | TransactionArgument,
|
152
|
+
T0 | TransactionArgument
|
153
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
154
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
155
|
+
string | TransactionObjectArgument | TransactionArgument,
|
156
|
+
T0 | TransactionArgument
|
157
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
158
|
+
function contains<T0 = any>(client: SuiClient, args: [
|
159
|
+
string | TransactionObjectArgument | TransactionArgument,
|
160
|
+
T0 | TransactionArgument
|
161
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
162
|
+
function containsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
163
|
+
string | TransactionObjectArgument | TransactionArgument,
|
164
|
+
T0 | TransactionArgument
|
165
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
166
|
+
function destroyEmpty(client: SuiClient, args: [bag.Bag | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
167
|
+
function isEmpty(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[boolean]>>;
|
168
|
+
function length(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
169
|
+
function new_(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bag.Bag]>>;
|
170
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
171
|
+
string | TransactionObjectArgument | TransactionArgument,
|
172
|
+
T0 | TransactionArgument
|
173
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
174
|
+
}
|
81
175
|
}
|
82
176
|
export declare namespace balance {
|
83
177
|
type Balance<T> = bigint;
|
@@ -92,6 +186,56 @@ export declare namespace balance {
|
|
92
186
|
const TYPE_QNAME = "0x2::balance::Supply";
|
93
187
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Supply<T0>>;
|
94
188
|
}
|
189
|
+
namespace builder {
|
190
|
+
function createSupply<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
191
|
+
function decreaseSupply<T0 = any>(tx: Transaction, args: [
|
192
|
+
string | TransactionObjectArgument | TransactionArgument,
|
193
|
+
balance.Balance<T0> | TransactionArgument
|
194
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
195
|
+
function destroySupply<T0 = any>(tx: Transaction, args: [balance.Supply<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
196
|
+
function destroyZero<T0 = any>(tx: Transaction, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
197
|
+
function increaseSupply<T0 = any>(tx: Transaction, args: [
|
198
|
+
string | TransactionObjectArgument | TransactionArgument,
|
199
|
+
bigint | TransactionArgument
|
200
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
201
|
+
function join<T0 = any>(tx: Transaction, args: [
|
202
|
+
string | TransactionObjectArgument | TransactionArgument,
|
203
|
+
balance.Balance<T0> | TransactionArgument
|
204
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
205
|
+
function split<T0 = any>(tx: Transaction, args: [
|
206
|
+
string | TransactionObjectArgument | TransactionArgument,
|
207
|
+
bigint | TransactionArgument
|
208
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
209
|
+
function supplyValue<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
210
|
+
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
211
|
+
function withdrawAll<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
212
|
+
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
213
|
+
}
|
214
|
+
namespace view {
|
215
|
+
function createSupply<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
216
|
+
function decreaseSupply<T0 = any>(client: SuiClient, args: [
|
217
|
+
string | TransactionObjectArgument | TransactionArgument,
|
218
|
+
balance.Balance<T0> | TransactionArgument
|
219
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
220
|
+
function destroySupply<T0 = any>(client: SuiClient, args: [balance.Supply<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
221
|
+
function destroyZero<T0 = any>(client: SuiClient, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
222
|
+
function increaseSupply<T0 = any>(client: SuiClient, args: [
|
223
|
+
string | TransactionObjectArgument | TransactionArgument,
|
224
|
+
bigint | TransactionArgument
|
225
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
226
|
+
function join<T0 = any>(client: SuiClient, args: [
|
227
|
+
string | TransactionObjectArgument | TransactionArgument,
|
228
|
+
balance.Balance<T0> | TransactionArgument
|
229
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
230
|
+
function split<T0 = any>(client: SuiClient, args: [
|
231
|
+
string | TransactionObjectArgument | TransactionArgument,
|
232
|
+
bigint | TransactionArgument
|
233
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
234
|
+
function supplyValue<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
235
|
+
function value<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
236
|
+
function withdrawAll<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
237
|
+
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
238
|
+
}
|
95
239
|
}
|
96
240
|
export declare class bcs extends SuiBaseProcessor {
|
97
241
|
constructor(options: SuiBindOptions);
|
@@ -111,6 +255,68 @@ export declare namespace bcs {
|
|
111
255
|
data_decoded: BCS;
|
112
256
|
type_arguments: [];
|
113
257
|
}
|
258
|
+
namespace builder {
|
259
|
+
function intoRemainderBytes(tx: Transaction, args: [bcs.BCS | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
260
|
+
function new_(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
261
|
+
function peelAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
262
|
+
function peelBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
263
|
+
function peelOptionAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
264
|
+
function peelOptionBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
265
|
+
function peelOptionU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
266
|
+
function peelOptionU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
267
|
+
function peelOptionU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
268
|
+
function peelOptionU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
269
|
+
function peelOptionU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
270
|
+
function peelOptionU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
271
|
+
function peelU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
272
|
+
function peelU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
273
|
+
function peelU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
274
|
+
function peelU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
275
|
+
function peelU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
276
|
+
function peelU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
277
|
+
function peelVecAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
278
|
+
function peelVecBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
279
|
+
function peelVecLength(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
280
|
+
function peelVecU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
281
|
+
function peelVecU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
282
|
+
function peelVecU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
283
|
+
function peelVecU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
284
|
+
function peelVecU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
285
|
+
function peelVecU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
286
|
+
function peelVecVecU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
287
|
+
function toBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
288
|
+
}
|
289
|
+
namespace view {
|
290
|
+
function intoRemainderBytes(client: SuiClient, args: [bcs.BCS | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
291
|
+
function new_(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[bcs.BCS]>>;
|
292
|
+
function peelAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
293
|
+
function peelBool(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[boolean]>>;
|
294
|
+
function peelOptionAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
295
|
+
function peelOptionBool(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<boolean>]>>;
|
296
|
+
function peelOptionU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
297
|
+
function peelOptionU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
298
|
+
function peelOptionU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
299
|
+
function peelOptionU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
300
|
+
function peelOptionU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
301
|
+
function peelOptionU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.option.Option<number>]>>;
|
302
|
+
function peelU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
303
|
+
function peelU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
304
|
+
function peelU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
305
|
+
function peelU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
306
|
+
function peelU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
307
|
+
function peelU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
308
|
+
function peelVecAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string[]]>>;
|
309
|
+
function peelVecBool(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[boolean[]]>>;
|
310
|
+
function peelVecLength(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
311
|
+
function peelVecU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
312
|
+
function peelVecU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
313
|
+
function peelVecU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
314
|
+
function peelVecU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
315
|
+
function peelVecU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
316
|
+
function peelVecU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
317
|
+
function peelVecVecU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[][]]>>;
|
318
|
+
function toBytes<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
319
|
+
}
|
114
320
|
}
|
115
321
|
export declare namespace bls12381 {
|
116
322
|
interface G1 {
|
@@ -141,6 +347,228 @@ export declare namespace bls12381 {
|
|
141
347
|
const TYPE_QNAME = "0x2::bls12381::Scalar";
|
142
348
|
function type(): TypeDescriptor<Scalar>;
|
143
349
|
}
|
350
|
+
namespace builder {
|
351
|
+
function bls12381MinPkVerify(tx: Transaction, args: [
|
352
|
+
string | TransactionObjectArgument | TransactionArgument,
|
353
|
+
string | TransactionObjectArgument | TransactionArgument,
|
354
|
+
string | TransactionObjectArgument | TransactionArgument
|
355
|
+
]): TransactionArgument & [
|
356
|
+
TransactionArgument,
|
357
|
+
TransactionArgument,
|
358
|
+
TransactionArgument
|
359
|
+
];
|
360
|
+
function bls12381MinSigVerify(tx: Transaction, args: [
|
361
|
+
string | TransactionObjectArgument | TransactionArgument,
|
362
|
+
string | TransactionObjectArgument | TransactionArgument,
|
363
|
+
string | TransactionObjectArgument | TransactionArgument
|
364
|
+
]): TransactionArgument & [
|
365
|
+
TransactionArgument,
|
366
|
+
TransactionArgument,
|
367
|
+
TransactionArgument
|
368
|
+
];
|
369
|
+
function g1Add(tx: Transaction, args: [
|
370
|
+
string | TransactionObjectArgument | TransactionArgument,
|
371
|
+
string | TransactionObjectArgument | TransactionArgument
|
372
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
373
|
+
function g1Div(tx: Transaction, args: [
|
374
|
+
string | TransactionObjectArgument | TransactionArgument,
|
375
|
+
string | TransactionObjectArgument | TransactionArgument
|
376
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
377
|
+
function g1FromBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
378
|
+
function g1Generator(tx: Transaction, args: []): TransactionArgument & [];
|
379
|
+
function g1Identity(tx: Transaction, args: []): TransactionArgument & [];
|
380
|
+
function g1Mul(tx: Transaction, args: [
|
381
|
+
string | TransactionObjectArgument | TransactionArgument,
|
382
|
+
string | TransactionObjectArgument | TransactionArgument
|
383
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
384
|
+
function g1MultiScalarMultiplication(tx: Transaction, args: [
|
385
|
+
string | TransactionObjectArgument | TransactionArgument,
|
386
|
+
string | TransactionObjectArgument | TransactionArgument
|
387
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
388
|
+
function g1Neg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
389
|
+
function g1Sub(tx: Transaction, args: [
|
390
|
+
string | TransactionObjectArgument | TransactionArgument,
|
391
|
+
string | TransactionObjectArgument | TransactionArgument
|
392
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
393
|
+
function g2Add(tx: Transaction, args: [
|
394
|
+
string | TransactionObjectArgument | TransactionArgument,
|
395
|
+
string | TransactionObjectArgument | TransactionArgument
|
396
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
397
|
+
function g2Div(tx: Transaction, args: [
|
398
|
+
string | TransactionObjectArgument | TransactionArgument,
|
399
|
+
string | TransactionObjectArgument | TransactionArgument
|
400
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
401
|
+
function g2FromBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
402
|
+
function g2Generator(tx: Transaction, args: []): TransactionArgument & [];
|
403
|
+
function g2Identity(tx: Transaction, args: []): TransactionArgument & [];
|
404
|
+
function g2Mul(tx: Transaction, args: [
|
405
|
+
string | TransactionObjectArgument | TransactionArgument,
|
406
|
+
string | TransactionObjectArgument | TransactionArgument
|
407
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
408
|
+
function g2MultiScalarMultiplication(tx: Transaction, args: [
|
409
|
+
string | TransactionObjectArgument | TransactionArgument,
|
410
|
+
string | TransactionObjectArgument | TransactionArgument
|
411
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
412
|
+
function g2Neg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
413
|
+
function g2Sub(tx: Transaction, args: [
|
414
|
+
string | TransactionObjectArgument | TransactionArgument,
|
415
|
+
string | TransactionObjectArgument | TransactionArgument
|
416
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
417
|
+
function gtAdd(tx: Transaction, args: [
|
418
|
+
string | TransactionObjectArgument | TransactionArgument,
|
419
|
+
string | TransactionObjectArgument | TransactionArgument
|
420
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
421
|
+
function gtDiv(tx: Transaction, args: [
|
422
|
+
string | TransactionObjectArgument | TransactionArgument,
|
423
|
+
string | TransactionObjectArgument | TransactionArgument
|
424
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
425
|
+
function gtGenerator(tx: Transaction, args: []): TransactionArgument & [];
|
426
|
+
function gtIdentity(tx: Transaction, args: []): TransactionArgument & [];
|
427
|
+
function gtMul(tx: Transaction, args: [
|
428
|
+
string | TransactionObjectArgument | TransactionArgument,
|
429
|
+
string | TransactionObjectArgument | TransactionArgument
|
430
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
431
|
+
function gtNeg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
432
|
+
function gtSub(tx: Transaction, args: [
|
433
|
+
string | TransactionObjectArgument | TransactionArgument,
|
434
|
+
string | TransactionObjectArgument | TransactionArgument
|
435
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
436
|
+
function hashToG1(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
437
|
+
function hashToG2(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
438
|
+
function pairing(tx: Transaction, args: [
|
439
|
+
string | TransactionObjectArgument | TransactionArgument,
|
440
|
+
string | TransactionObjectArgument | TransactionArgument
|
441
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
442
|
+
function scalarAdd(tx: Transaction, args: [
|
443
|
+
string | TransactionObjectArgument | TransactionArgument,
|
444
|
+
string | TransactionObjectArgument | TransactionArgument
|
445
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
446
|
+
function scalarDiv(tx: Transaction, args: [
|
447
|
+
string | TransactionObjectArgument | TransactionArgument,
|
448
|
+
string | TransactionObjectArgument | TransactionArgument
|
449
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
450
|
+
function scalarFromBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
451
|
+
function scalarFromU64(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
452
|
+
function scalarInv(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
453
|
+
function scalarMul(tx: Transaction, args: [
|
454
|
+
string | TransactionObjectArgument | TransactionArgument,
|
455
|
+
string | TransactionObjectArgument | TransactionArgument
|
456
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
457
|
+
function scalarNeg(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
458
|
+
function scalarOne(tx: Transaction, args: []): TransactionArgument & [];
|
459
|
+
function scalarSub(tx: Transaction, args: [
|
460
|
+
string | TransactionObjectArgument | TransactionArgument,
|
461
|
+
string | TransactionObjectArgument | TransactionArgument
|
462
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
463
|
+
function scalarZero(tx: Transaction, args: []): TransactionArgument & [];
|
464
|
+
}
|
465
|
+
namespace view {
|
466
|
+
function bls12381MinPkVerify(client: SuiClient, args: [
|
467
|
+
string | TransactionObjectArgument | TransactionArgument,
|
468
|
+
string | TransactionObjectArgument | TransactionArgument,
|
469
|
+
string | TransactionObjectArgument | TransactionArgument
|
470
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
471
|
+
function bls12381MinSigVerify(client: SuiClient, args: [
|
472
|
+
string | TransactionObjectArgument | TransactionArgument,
|
473
|
+
string | TransactionObjectArgument | TransactionArgument,
|
474
|
+
string | TransactionObjectArgument | TransactionArgument
|
475
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
476
|
+
function g1Add(client: SuiClient, args: [
|
477
|
+
string | TransactionObjectArgument | TransactionArgument,
|
478
|
+
string | TransactionObjectArgument | TransactionArgument
|
479
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
480
|
+
function g1Div(client: SuiClient, args: [
|
481
|
+
string | TransactionObjectArgument | TransactionArgument,
|
482
|
+
string | TransactionObjectArgument | TransactionArgument
|
483
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
484
|
+
function g1FromBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
485
|
+
function g1Generator(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
486
|
+
function g1Identity(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
487
|
+
function g1Mul(client: SuiClient, args: [
|
488
|
+
string | TransactionObjectArgument | TransactionArgument,
|
489
|
+
string | TransactionObjectArgument | TransactionArgument
|
490
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
491
|
+
function g1MultiScalarMultiplication(client: SuiClient, args: [
|
492
|
+
string | TransactionObjectArgument | TransactionArgument,
|
493
|
+
string | TransactionObjectArgument | TransactionArgument
|
494
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
495
|
+
function g1Neg(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
496
|
+
function g1Sub(client: SuiClient, args: [
|
497
|
+
string | TransactionObjectArgument | TransactionArgument,
|
498
|
+
string | TransactionObjectArgument | TransactionArgument
|
499
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
500
|
+
function g2Add(client: SuiClient, args: [
|
501
|
+
string | TransactionObjectArgument | TransactionArgument,
|
502
|
+
string | TransactionObjectArgument | TransactionArgument
|
503
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
504
|
+
function g2Div(client: SuiClient, args: [
|
505
|
+
string | TransactionObjectArgument | TransactionArgument,
|
506
|
+
string | TransactionObjectArgument | TransactionArgument
|
507
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
508
|
+
function g2FromBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
509
|
+
function g2Generator(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
510
|
+
function g2Identity(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
511
|
+
function g2Mul(client: SuiClient, args: [
|
512
|
+
string | TransactionObjectArgument | TransactionArgument,
|
513
|
+
string | TransactionObjectArgument | TransactionArgument
|
514
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
515
|
+
function g2MultiScalarMultiplication(client: SuiClient, args: [
|
516
|
+
string | TransactionObjectArgument | TransactionArgument,
|
517
|
+
string | TransactionObjectArgument | TransactionArgument
|
518
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
519
|
+
function g2Neg(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
520
|
+
function g2Sub(client: SuiClient, args: [
|
521
|
+
string | TransactionObjectArgument | TransactionArgument,
|
522
|
+
string | TransactionObjectArgument | TransactionArgument
|
523
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
524
|
+
function gtAdd(client: SuiClient, args: [
|
525
|
+
string | TransactionObjectArgument | TransactionArgument,
|
526
|
+
string | TransactionObjectArgument | TransactionArgument
|
527
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
528
|
+
function gtDiv(client: SuiClient, args: [
|
529
|
+
string | TransactionObjectArgument | TransactionArgument,
|
530
|
+
string | TransactionObjectArgument | TransactionArgument
|
531
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
532
|
+
function gtGenerator(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
533
|
+
function gtIdentity(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
534
|
+
function gtMul(client: SuiClient, args: [
|
535
|
+
string | TransactionObjectArgument | TransactionArgument,
|
536
|
+
string | TransactionObjectArgument | TransactionArgument
|
537
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
538
|
+
function gtNeg(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
539
|
+
function gtSub(client: SuiClient, args: [
|
540
|
+
string | TransactionObjectArgument | TransactionArgument,
|
541
|
+
string | TransactionObjectArgument | TransactionArgument
|
542
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
543
|
+
function hashToG1(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G1>]>>;
|
544
|
+
function hashToG2(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.G2>]>>;
|
545
|
+
function pairing(client: SuiClient, args: [
|
546
|
+
string | TransactionObjectArgument | TransactionArgument,
|
547
|
+
string | TransactionObjectArgument | TransactionArgument
|
548
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.GT>]>>;
|
549
|
+
function scalarAdd(client: SuiClient, args: [
|
550
|
+
string | TransactionObjectArgument | TransactionArgument,
|
551
|
+
string | TransactionObjectArgument | TransactionArgument
|
552
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
553
|
+
function scalarDiv(client: SuiClient, args: [
|
554
|
+
string | TransactionObjectArgument | TransactionArgument,
|
555
|
+
string | TransactionObjectArgument | TransactionArgument
|
556
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
557
|
+
function scalarFromBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
558
|
+
function scalarFromU64(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
559
|
+
function scalarInv(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
560
|
+
function scalarMul(client: SuiClient, args: [
|
561
|
+
string | TransactionObjectArgument | TransactionArgument,
|
562
|
+
string | TransactionObjectArgument | TransactionArgument
|
563
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
564
|
+
function scalarNeg(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
565
|
+
function scalarOne(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
566
|
+
function scalarSub(client: SuiClient, args: [
|
567
|
+
string | TransactionObjectArgument | TransactionArgument,
|
568
|
+
string | TransactionObjectArgument | TransactionArgument
|
569
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
570
|
+
function scalarZero(client: SuiClient, args: []): Promise<TypedDevInspectResults<[group_ops.Element<bls12381.Scalar>]>>;
|
571
|
+
}
|
144
572
|
}
|
145
573
|
export declare namespace borrow {
|
146
574
|
interface Borrow {
|
@@ -159,6 +587,30 @@ export declare namespace borrow {
|
|
159
587
|
const TYPE_QNAME = "0x2::borrow::Referent";
|
160
588
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Referent<T0>>;
|
161
589
|
}
|
590
|
+
namespace builder {
|
591
|
+
function borrow<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
592
|
+
function destroy<T0 = any>(tx: Transaction, args: [borrow.Referent<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
593
|
+
function new_<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
594
|
+
function putBack<T0 = any>(tx: Transaction, args: [
|
595
|
+
string | TransactionObjectArgument | TransactionArgument,
|
596
|
+
T0 | TransactionArgument,
|
597
|
+
borrow.Borrow | TransactionArgument
|
598
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
599
|
+
TransactionArgument,
|
600
|
+
TransactionArgument,
|
601
|
+
TransactionArgument
|
602
|
+
];
|
603
|
+
}
|
604
|
+
namespace view {
|
605
|
+
function borrow<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, borrow.Borrow]>>;
|
606
|
+
function destroy<T0 = any>(client: SuiClient, args: [borrow.Referent<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
607
|
+
function new_<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[borrow.Referent<T0>]>>;
|
608
|
+
function putBack<T0 = any>(client: SuiClient, args: [
|
609
|
+
string | TransactionObjectArgument | TransactionArgument,
|
610
|
+
T0 | TransactionArgument,
|
611
|
+
borrow.Borrow | TransactionArgument
|
612
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
613
|
+
}
|
162
614
|
}
|
163
615
|
export declare namespace clock {
|
164
616
|
interface Clock {
|
@@ -169,6 +621,12 @@ export declare namespace clock {
|
|
169
621
|
const TYPE_QNAME = "0x2::clock::Clock";
|
170
622
|
function type(): TypeDescriptor<Clock>;
|
171
623
|
}
|
624
|
+
namespace builder {
|
625
|
+
function timestampMs(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
626
|
+
}
|
627
|
+
namespace view {
|
628
|
+
function timestampMs(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
629
|
+
}
|
172
630
|
}
|
173
631
|
export declare class coin extends SuiBaseProcessor {
|
174
632
|
constructor(options: SuiBindOptions);
|
@@ -244,6 +702,372 @@ export declare namespace coin {
|
|
244
702
|
const TYPE_QNAME = "0x2::coin::TreasuryCap";
|
245
703
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TreasuryCap<T0>>;
|
246
704
|
}
|
705
|
+
namespace builder {
|
706
|
+
function balance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
707
|
+
function balanceMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
708
|
+
function burn<T0 = any>(tx: Transaction, args: [
|
709
|
+
string | TransactionObjectArgument | TransactionArgument,
|
710
|
+
coin.Coin<T0> | TransactionArgument
|
711
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
712
|
+
function createCurrency<T0 = any>(tx: Transaction, args: [
|
713
|
+
T0 | TransactionArgument,
|
714
|
+
number | TransactionArgument,
|
715
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
716
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
717
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
718
|
+
_0x1.option.Option<url.Url> | TransactionArgument
|
719
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
720
|
+
TransactionArgument,
|
721
|
+
TransactionArgument,
|
722
|
+
TransactionArgument,
|
723
|
+
TransactionArgument,
|
724
|
+
TransactionArgument,
|
725
|
+
TransactionArgument
|
726
|
+
];
|
727
|
+
function createRegulatedCurrency<T0 = any>(tx: Transaction, args: [
|
728
|
+
T0 | TransactionArgument,
|
729
|
+
number | TransactionArgument,
|
730
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
731
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
732
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
733
|
+
_0x1.option.Option<url.Url> | TransactionArgument
|
734
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
735
|
+
TransactionArgument,
|
736
|
+
TransactionArgument,
|
737
|
+
TransactionArgument,
|
738
|
+
TransactionArgument,
|
739
|
+
TransactionArgument,
|
740
|
+
TransactionArgument
|
741
|
+
];
|
742
|
+
function createRegulatedCurrencyV2<T0 = any>(tx: Transaction, args: [
|
743
|
+
T0 | TransactionArgument,
|
744
|
+
number | TransactionArgument,
|
745
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
746
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
747
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
748
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
749
|
+
boolean | TransactionArgument
|
750
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
751
|
+
TransactionArgument,
|
752
|
+
TransactionArgument,
|
753
|
+
TransactionArgument,
|
754
|
+
TransactionArgument,
|
755
|
+
TransactionArgument,
|
756
|
+
TransactionArgument,
|
757
|
+
TransactionArgument
|
758
|
+
];
|
759
|
+
function denyListAdd<T0 = any>(tx: Transaction, args: [
|
760
|
+
string | TransactionObjectArgument | TransactionArgument,
|
761
|
+
string | TransactionObjectArgument | TransactionArgument,
|
762
|
+
string | TransactionArgument
|
763
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
764
|
+
TransactionArgument,
|
765
|
+
TransactionArgument,
|
766
|
+
TransactionArgument
|
767
|
+
];
|
768
|
+
function denyListContains<T0 = any>(tx: Transaction, args: [
|
769
|
+
string | TransactionObjectArgument | TransactionArgument,
|
770
|
+
string | TransactionArgument
|
771
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
772
|
+
function denyListRemove<T0 = any>(tx: Transaction, args: [
|
773
|
+
string | TransactionObjectArgument | TransactionArgument,
|
774
|
+
string | TransactionObjectArgument | TransactionArgument,
|
775
|
+
string | TransactionArgument
|
776
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
777
|
+
TransactionArgument,
|
778
|
+
TransactionArgument,
|
779
|
+
TransactionArgument
|
780
|
+
];
|
781
|
+
function denyListV2Add<T0 = any>(tx: Transaction, args: [
|
782
|
+
string | TransactionObjectArgument | TransactionArgument,
|
783
|
+
string | TransactionObjectArgument | TransactionArgument,
|
784
|
+
string | TransactionArgument
|
785
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
786
|
+
TransactionArgument,
|
787
|
+
TransactionArgument,
|
788
|
+
TransactionArgument
|
789
|
+
];
|
790
|
+
function denyListV2ContainsCurrentEpoch<T0 = any>(tx: Transaction, args: [
|
791
|
+
string | TransactionObjectArgument | TransactionArgument,
|
792
|
+
string | TransactionArgument
|
793
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
794
|
+
function denyListV2ContainsNextEpoch<T0 = any>(tx: Transaction, args: [
|
795
|
+
string | TransactionObjectArgument | TransactionArgument,
|
796
|
+
string | TransactionArgument
|
797
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
798
|
+
function denyListV2DisableGlobalPause<T0 = any>(tx: Transaction, args: [
|
799
|
+
string | TransactionObjectArgument | TransactionArgument,
|
800
|
+
string | TransactionObjectArgument | TransactionArgument
|
801
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
802
|
+
function denyListV2EnableGlobalPause<T0 = any>(tx: Transaction, args: [
|
803
|
+
string | TransactionObjectArgument | TransactionArgument,
|
804
|
+
string | TransactionObjectArgument | TransactionArgument
|
805
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
806
|
+
function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
807
|
+
function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
808
|
+
function denyListV2Remove<T0 = any>(tx: Transaction, args: [
|
809
|
+
string | TransactionObjectArgument | TransactionArgument,
|
810
|
+
string | TransactionObjectArgument | TransactionArgument,
|
811
|
+
string | TransactionArgument
|
812
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
813
|
+
TransactionArgument,
|
814
|
+
TransactionArgument,
|
815
|
+
TransactionArgument
|
816
|
+
];
|
817
|
+
function destroyZero<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
818
|
+
function divideIntoN<T0 = any>(tx: Transaction, args: [
|
819
|
+
string | TransactionObjectArgument | TransactionArgument,
|
820
|
+
bigint | TransactionArgument
|
821
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
822
|
+
function fromBalance<T0 = any>(tx: Transaction, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
823
|
+
function getDecimals<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
824
|
+
function getDescription<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
825
|
+
function getIconUrl<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
826
|
+
function getName<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
827
|
+
function getSymbol<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
828
|
+
function intoBalance<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
829
|
+
function join<T0 = any>(tx: Transaction, args: [
|
830
|
+
string | TransactionObjectArgument | TransactionArgument,
|
831
|
+
coin.Coin<T0> | TransactionArgument
|
832
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
833
|
+
function migrateRegulatedCurrencyToV2<T0 = any>(tx: Transaction, args: [
|
834
|
+
string | TransactionObjectArgument | TransactionArgument,
|
835
|
+
coin.DenyCap<T0> | TransactionArgument,
|
836
|
+
boolean | TransactionArgument
|
837
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
838
|
+
TransactionArgument,
|
839
|
+
TransactionArgument,
|
840
|
+
TransactionArgument
|
841
|
+
];
|
842
|
+
function mint<T0 = any>(tx: Transaction, args: [
|
843
|
+
string | TransactionObjectArgument | TransactionArgument,
|
844
|
+
bigint | TransactionArgument
|
845
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
846
|
+
function mintAndTransfer<T0 = any>(tx: Transaction, args: [
|
847
|
+
string | TransactionObjectArgument | TransactionArgument,
|
848
|
+
bigint | TransactionArgument,
|
849
|
+
string | TransactionArgument
|
850
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
851
|
+
TransactionArgument,
|
852
|
+
TransactionArgument,
|
853
|
+
TransactionArgument
|
854
|
+
];
|
855
|
+
function mintBalance<T0 = any>(tx: Transaction, args: [
|
856
|
+
string | TransactionObjectArgument | TransactionArgument,
|
857
|
+
bigint | TransactionArgument
|
858
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
859
|
+
function put<T0 = any>(tx: Transaction, args: [
|
860
|
+
string | TransactionObjectArgument | TransactionArgument,
|
861
|
+
coin.Coin<T0> | TransactionArgument
|
862
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
863
|
+
function split<T0 = any>(tx: Transaction, args: [
|
864
|
+
string | TransactionObjectArgument | TransactionArgument,
|
865
|
+
bigint | TransactionArgument
|
866
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
867
|
+
function supply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
868
|
+
function supplyImmut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
869
|
+
function supplyMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
870
|
+
function take<T0 = any>(tx: Transaction, args: [
|
871
|
+
string | TransactionObjectArgument | TransactionArgument,
|
872
|
+
bigint | TransactionArgument
|
873
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
874
|
+
function totalSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
875
|
+
function treasuryIntoSupply<T0 = any>(tx: Transaction, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
876
|
+
function updateDescription<T0 = any>(tx: Transaction, args: [
|
877
|
+
string | TransactionObjectArgument | TransactionArgument,
|
878
|
+
string | TransactionObjectArgument | TransactionArgument,
|
879
|
+
string | TransactionArgument
|
880
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
881
|
+
TransactionArgument,
|
882
|
+
TransactionArgument,
|
883
|
+
TransactionArgument
|
884
|
+
];
|
885
|
+
function updateIconUrl<T0 = any>(tx: Transaction, args: [
|
886
|
+
string | TransactionObjectArgument | TransactionArgument,
|
887
|
+
string | TransactionObjectArgument | TransactionArgument,
|
888
|
+
_0x1.ascii.String | TransactionArgument
|
889
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
890
|
+
TransactionArgument,
|
891
|
+
TransactionArgument,
|
892
|
+
TransactionArgument
|
893
|
+
];
|
894
|
+
function updateName<T0 = any>(tx: Transaction, args: [
|
895
|
+
string | TransactionObjectArgument | TransactionArgument,
|
896
|
+
string | TransactionObjectArgument | TransactionArgument,
|
897
|
+
string | TransactionArgument
|
898
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
899
|
+
TransactionArgument,
|
900
|
+
TransactionArgument,
|
901
|
+
TransactionArgument
|
902
|
+
];
|
903
|
+
function updateSymbol<T0 = any>(tx: Transaction, args: [
|
904
|
+
string | TransactionObjectArgument | TransactionArgument,
|
905
|
+
string | TransactionObjectArgument | TransactionArgument,
|
906
|
+
_0x1.ascii.String | TransactionArgument
|
907
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
908
|
+
TransactionArgument,
|
909
|
+
TransactionArgument,
|
910
|
+
TransactionArgument
|
911
|
+
];
|
912
|
+
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
913
|
+
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
914
|
+
}
|
915
|
+
namespace view {
|
916
|
+
function balance<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
917
|
+
function balanceMut<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
918
|
+
function burn<T0 = any>(client: SuiClient, args: [
|
919
|
+
string | TransactionObjectArgument | TransactionArgument,
|
920
|
+
coin.Coin<T0> | TransactionArgument
|
921
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
922
|
+
function createCurrency<T0 = any>(client: SuiClient, args: [
|
923
|
+
T0 | TransactionArgument,
|
924
|
+
number | TransactionArgument,
|
925
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
926
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
927
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
928
|
+
_0x1.option.Option<url.Url> | TransactionArgument
|
929
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.TreasuryCap<T0>, coin.CoinMetadata<T0>]>>;
|
930
|
+
function createRegulatedCurrency<T0 = any>(client: SuiClient, args: [
|
931
|
+
T0 | TransactionArgument,
|
932
|
+
number | TransactionArgument,
|
933
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
934
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
935
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
936
|
+
_0x1.option.Option<url.Url> | TransactionArgument
|
937
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
938
|
+
coin.TreasuryCap<T0>,
|
939
|
+
coin.DenyCap<T0>,
|
940
|
+
coin.CoinMetadata<T0>
|
941
|
+
]>>;
|
942
|
+
function createRegulatedCurrencyV2<T0 = any>(client: SuiClient, args: [
|
943
|
+
T0 | TransactionArgument,
|
944
|
+
number | TransactionArgument,
|
945
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
946
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
947
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
948
|
+
_0x1.option.Option<url.Url> | TransactionArgument,
|
949
|
+
boolean | TransactionArgument
|
950
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
951
|
+
coin.TreasuryCap<T0>,
|
952
|
+
coin.DenyCapV2<T0>,
|
953
|
+
coin.CoinMetadata<T0>
|
954
|
+
]>>;
|
955
|
+
function denyListAdd<T0 = any>(client: SuiClient, args: [
|
956
|
+
string | TransactionObjectArgument | TransactionArgument,
|
957
|
+
string | TransactionObjectArgument | TransactionArgument,
|
958
|
+
string | TransactionArgument
|
959
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
960
|
+
function denyListContains<T0 = any>(client: SuiClient, args: [
|
961
|
+
string | TransactionObjectArgument | TransactionArgument,
|
962
|
+
string | TransactionArgument
|
963
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
964
|
+
function denyListRemove<T0 = any>(client: SuiClient, args: [
|
965
|
+
string | TransactionObjectArgument | TransactionArgument,
|
966
|
+
string | TransactionObjectArgument | TransactionArgument,
|
967
|
+
string | TransactionArgument
|
968
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
969
|
+
function denyListV2Add<T0 = any>(client: SuiClient, args: [
|
970
|
+
string | TransactionObjectArgument | TransactionArgument,
|
971
|
+
string | TransactionObjectArgument | TransactionArgument,
|
972
|
+
string | TransactionArgument
|
973
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
974
|
+
function denyListV2ContainsCurrentEpoch<T0 = any>(client: SuiClient, args: [
|
975
|
+
string | TransactionObjectArgument | TransactionArgument,
|
976
|
+
string | TransactionArgument
|
977
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
978
|
+
function denyListV2ContainsNextEpoch<T0 = any>(client: SuiClient, args: [
|
979
|
+
string | TransactionObjectArgument | TransactionArgument,
|
980
|
+
string | TransactionArgument
|
981
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
982
|
+
function denyListV2DisableGlobalPause<T0 = any>(client: SuiClient, args: [
|
983
|
+
string | TransactionObjectArgument | TransactionArgument,
|
984
|
+
string | TransactionObjectArgument | TransactionArgument
|
985
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
986
|
+
function denyListV2EnableGlobalPause<T0 = any>(client: SuiClient, args: [
|
987
|
+
string | TransactionObjectArgument | TransactionArgument,
|
988
|
+
string | TransactionObjectArgument | TransactionArgument
|
989
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
990
|
+
function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
991
|
+
function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
992
|
+
function denyListV2Remove<T0 = any>(client: SuiClient, args: [
|
993
|
+
string | TransactionObjectArgument | TransactionArgument,
|
994
|
+
string | TransactionObjectArgument | TransactionArgument,
|
995
|
+
string | TransactionArgument
|
996
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
997
|
+
function destroyZero<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
998
|
+
function divideIntoN<T0 = any>(client: SuiClient, args: [
|
999
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1000
|
+
bigint | TransactionArgument
|
1001
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>[]]>>;
|
1002
|
+
function fromBalance<T0 = any>(client: SuiClient, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
1003
|
+
function getDecimals<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
1004
|
+
function getDescription<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1005
|
+
function getIconUrl<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<url.Url>]>>;
|
1006
|
+
function getName<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1007
|
+
function getSymbol<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
1008
|
+
function intoBalance<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
1009
|
+
function join<T0 = any>(client: SuiClient, args: [
|
1010
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1011
|
+
coin.Coin<T0> | TransactionArgument
|
1012
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1013
|
+
function migrateRegulatedCurrencyToV2<T0 = any>(client: SuiClient, args: [
|
1014
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1015
|
+
coin.DenyCap<T0> | TransactionArgument,
|
1016
|
+
boolean | TransactionArgument
|
1017
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.DenyCapV2<T0>]>>;
|
1018
|
+
function mint<T0 = any>(client: SuiClient, args: [
|
1019
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1020
|
+
bigint | TransactionArgument
|
1021
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
1022
|
+
function mintAndTransfer<T0 = any>(client: SuiClient, args: [
|
1023
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1024
|
+
bigint | TransactionArgument,
|
1025
|
+
string | TransactionArgument
|
1026
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1027
|
+
function mintBalance<T0 = any>(client: SuiClient, args: [
|
1028
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1029
|
+
bigint | TransactionArgument
|
1030
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
1031
|
+
function put<T0 = any>(client: SuiClient, args: [
|
1032
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1033
|
+
coin.Coin<T0> | TransactionArgument
|
1034
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1035
|
+
function split<T0 = any>(client: SuiClient, args: [
|
1036
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1037
|
+
bigint | TransactionArgument
|
1038
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
1039
|
+
function supply<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1040
|
+
function supplyImmut<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1041
|
+
function supplyMut<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1042
|
+
function take<T0 = any>(client: SuiClient, args: [
|
1043
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1044
|
+
bigint | TransactionArgument
|
1045
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
1046
|
+
function totalSupply<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
1047
|
+
function treasuryIntoSupply<T0 = any>(client: SuiClient, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
1048
|
+
function updateDescription<T0 = any>(client: SuiClient, args: [
|
1049
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1050
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1051
|
+
string | TransactionArgument
|
1052
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1053
|
+
function updateIconUrl<T0 = any>(client: SuiClient, args: [
|
1054
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1055
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1056
|
+
_0x1.ascii.String | TransactionArgument
|
1057
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1058
|
+
function updateName<T0 = any>(client: SuiClient, args: [
|
1059
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1060
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1061
|
+
string | TransactionArgument
|
1062
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1063
|
+
function updateSymbol<T0 = any>(client: SuiClient, args: [
|
1064
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1065
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1066
|
+
_0x1.ascii.String | TransactionArgument
|
1067
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1068
|
+
function value<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
1069
|
+
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
1070
|
+
}
|
247
1071
|
interface BurnPayload<T0 = any> extends TypedFunctionPayload<[string, coin.Coin<T0>]> {
|
248
1072
|
arguments_decoded: [string, coin.Coin<T0>];
|
249
1073
|
type_arguments: [string];
|
@@ -297,6 +1121,141 @@ export declare namespace config {
|
|
297
1121
|
const TYPE_QNAME = "0x2::config::SettingData";
|
298
1122
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SettingData<T0>>;
|
299
1123
|
}
|
1124
|
+
namespace builder {
|
1125
|
+
function addForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1126
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1127
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1128
|
+
T1 | TransactionArgument,
|
1129
|
+
T2 | TransactionArgument
|
1130
|
+
], typeArguments: [
|
1131
|
+
TypeDescriptor<T0> | string,
|
1132
|
+
TypeDescriptor<T1> | string,
|
1133
|
+
TypeDescriptor<T2> | string
|
1134
|
+
]): TransactionArgument & [
|
1135
|
+
TransactionArgument,
|
1136
|
+
TransactionArgument,
|
1137
|
+
TransactionArgument,
|
1138
|
+
TransactionArgument
|
1139
|
+
];
|
1140
|
+
function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1141
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1142
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1143
|
+
T1 | TransactionArgument
|
1144
|
+
], typeArguments: [
|
1145
|
+
TypeDescriptor<T0> | string,
|
1146
|
+
TypeDescriptor<T1> | string,
|
1147
|
+
TypeDescriptor<T2> | string
|
1148
|
+
]): TransactionArgument & [
|
1149
|
+
TransactionArgument,
|
1150
|
+
TransactionArgument,
|
1151
|
+
TransactionArgument
|
1152
|
+
];
|
1153
|
+
function existsWithType<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1154
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1155
|
+
T1 | TransactionArgument
|
1156
|
+
], typeArguments: [
|
1157
|
+
TypeDescriptor<T0> | string,
|
1158
|
+
TypeDescriptor<T1> | string,
|
1159
|
+
TypeDescriptor<T2> | string
|
1160
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1161
|
+
function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1162
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1163
|
+
T1 | TransactionArgument
|
1164
|
+
], typeArguments: [
|
1165
|
+
TypeDescriptor<T0> | string,
|
1166
|
+
TypeDescriptor<T1> | string,
|
1167
|
+
TypeDescriptor<T2> | string
|
1168
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1169
|
+
function new_<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1170
|
+
function readSetting<T0 = any, T1 = any>(tx: Transaction, args: [object_.ID | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1171
|
+
function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1172
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1173
|
+
T1 | TransactionArgument
|
1174
|
+
], typeArguments: [
|
1175
|
+
TypeDescriptor<T0> | string,
|
1176
|
+
TypeDescriptor<T1> | string,
|
1177
|
+
TypeDescriptor<T2> | string
|
1178
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1179
|
+
function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
1180
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1181
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1182
|
+
T1 | TransactionArgument
|
1183
|
+
], typeArguments: [
|
1184
|
+
TypeDescriptor<T0> | string,
|
1185
|
+
TypeDescriptor<T1> | string,
|
1186
|
+
TypeDescriptor<T2> | string
|
1187
|
+
]): TransactionArgument & [
|
1188
|
+
TransactionArgument,
|
1189
|
+
TransactionArgument,
|
1190
|
+
TransactionArgument
|
1191
|
+
];
|
1192
|
+
function share<T0 = any>(tx: Transaction, args: [config.Config<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1193
|
+
function transfer<T0 = any>(tx: Transaction, args: [
|
1194
|
+
config.Config<T0> | TransactionArgument,
|
1195
|
+
string | TransactionArgument
|
1196
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1197
|
+
}
|
1198
|
+
namespace view {
|
1199
|
+
function addForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
1200
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1201
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1202
|
+
T1 | TransactionArgument,
|
1203
|
+
T2 | TransactionArgument
|
1204
|
+
], typeArguments: [
|
1205
|
+
TypeDescriptor<T0> | string,
|
1206
|
+
TypeDescriptor<T1> | string,
|
1207
|
+
TypeDescriptor<T2> | string
|
1208
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
1209
|
+
function borrowForNextEpochMut<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
1210
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1211
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1212
|
+
T1 | TransactionArgument
|
1213
|
+
], typeArguments: [
|
1214
|
+
TypeDescriptor<T0> | string,
|
1215
|
+
TypeDescriptor<T1> | string,
|
1216
|
+
TypeDescriptor<T2> | string
|
1217
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
1218
|
+
function existsWithType<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
1219
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1220
|
+
T1 | TransactionArgument
|
1221
|
+
], typeArguments: [
|
1222
|
+
TypeDescriptor<T0> | string,
|
1223
|
+
TypeDescriptor<T1> | string,
|
1224
|
+
TypeDescriptor<T2> | string
|
1225
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1226
|
+
function existsWithTypeForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
1227
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1228
|
+
T1 | TransactionArgument
|
1229
|
+
], typeArguments: [
|
1230
|
+
TypeDescriptor<T0> | string,
|
1231
|
+
TypeDescriptor<T1> | string,
|
1232
|
+
TypeDescriptor<T2> | string
|
1233
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1234
|
+
function new_<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[config.Config<T0>]>>;
|
1235
|
+
function readSetting<T0 = any, T1 = any>(client: SuiClient, args: [object_.ID | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
1236
|
+
function readSettingForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
1237
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1238
|
+
T1 | TransactionArgument
|
1239
|
+
], typeArguments: [
|
1240
|
+
TypeDescriptor<T0> | string,
|
1241
|
+
TypeDescriptor<T1> | string,
|
1242
|
+
TypeDescriptor<T2> | string
|
1243
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
1244
|
+
function removeForNextEpoch<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
1245
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1246
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1247
|
+
T1 | TransactionArgument
|
1248
|
+
], typeArguments: [
|
1249
|
+
TypeDescriptor<T0> | string,
|
1250
|
+
TypeDescriptor<T1> | string,
|
1251
|
+
TypeDescriptor<T2> | string
|
1252
|
+
]): Promise<TypedDevInspectResults<[_0x1.option.Option<T2>]>>;
|
1253
|
+
function share<T0 = any>(client: SuiClient, args: [config.Config<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1254
|
+
function transfer<T0 = any>(client: SuiClient, args: [
|
1255
|
+
config.Config<T0> | TransactionArgument,
|
1256
|
+
string | TransactionArgument
|
1257
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1258
|
+
}
|
300
1259
|
}
|
301
1260
|
export declare class deny_list extends SuiBaseProcessor {
|
302
1261
|
constructor(options: SuiBindOptions);
|
@@ -378,6 +1337,199 @@ export declare namespace deny_list {
|
|
378
1337
|
const TYPE_QNAME = "0x2::deny_list::PerTypeList";
|
379
1338
|
function type(): TypeDescriptor<PerTypeList>;
|
380
1339
|
}
|
1340
|
+
namespace builder {
|
1341
|
+
function migrateV1ToV2(tx: Transaction, args: [
|
1342
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1343
|
+
bigint | TransactionArgument,
|
1344
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1345
|
+
]): TransactionArgument & [
|
1346
|
+
TransactionArgument,
|
1347
|
+
TransactionArgument,
|
1348
|
+
TransactionArgument
|
1349
|
+
];
|
1350
|
+
function v1Add(tx: Transaction, args: [
|
1351
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1352
|
+
bigint | TransactionArgument,
|
1353
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1354
|
+
string | TransactionArgument
|
1355
|
+
]): TransactionArgument & [
|
1356
|
+
TransactionArgument,
|
1357
|
+
TransactionArgument,
|
1358
|
+
TransactionArgument,
|
1359
|
+
TransactionArgument
|
1360
|
+
];
|
1361
|
+
function v1Contains(tx: Transaction, args: [
|
1362
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1363
|
+
bigint | TransactionArgument,
|
1364
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1365
|
+
string | TransactionArgument
|
1366
|
+
]): TransactionArgument & [
|
1367
|
+
TransactionArgument,
|
1368
|
+
TransactionArgument,
|
1369
|
+
TransactionArgument,
|
1370
|
+
TransactionArgument
|
1371
|
+
];
|
1372
|
+
function v1Remove(tx: Transaction, args: [
|
1373
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1374
|
+
bigint | TransactionArgument,
|
1375
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1376
|
+
string | TransactionArgument
|
1377
|
+
]): TransactionArgument & [
|
1378
|
+
TransactionArgument,
|
1379
|
+
TransactionArgument,
|
1380
|
+
TransactionArgument,
|
1381
|
+
TransactionArgument
|
1382
|
+
];
|
1383
|
+
function v2Add(tx: Transaction, args: [
|
1384
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1385
|
+
bigint | TransactionArgument,
|
1386
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1387
|
+
string | TransactionArgument
|
1388
|
+
]): TransactionArgument & [
|
1389
|
+
TransactionArgument,
|
1390
|
+
TransactionArgument,
|
1391
|
+
TransactionArgument,
|
1392
|
+
TransactionArgument
|
1393
|
+
];
|
1394
|
+
function v2ContainsCurrentEpoch(tx: Transaction, args: [
|
1395
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1396
|
+
bigint | TransactionArgument,
|
1397
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1398
|
+
string | TransactionArgument
|
1399
|
+
]): TransactionArgument & [
|
1400
|
+
TransactionArgument,
|
1401
|
+
TransactionArgument,
|
1402
|
+
TransactionArgument,
|
1403
|
+
TransactionArgument
|
1404
|
+
];
|
1405
|
+
function v2ContainsNextEpoch(tx: Transaction, args: [
|
1406
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1407
|
+
bigint | TransactionArgument,
|
1408
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1409
|
+
string | TransactionArgument
|
1410
|
+
]): TransactionArgument & [
|
1411
|
+
TransactionArgument,
|
1412
|
+
TransactionArgument,
|
1413
|
+
TransactionArgument,
|
1414
|
+
TransactionArgument
|
1415
|
+
];
|
1416
|
+
function v2DisableGlobalPause(tx: Transaction, args: [
|
1417
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1418
|
+
bigint | TransactionArgument,
|
1419
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1420
|
+
]): TransactionArgument & [
|
1421
|
+
TransactionArgument,
|
1422
|
+
TransactionArgument,
|
1423
|
+
TransactionArgument
|
1424
|
+
];
|
1425
|
+
function v2EnableGlobalPause(tx: Transaction, args: [
|
1426
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1427
|
+
bigint | TransactionArgument,
|
1428
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1429
|
+
]): TransactionArgument & [
|
1430
|
+
TransactionArgument,
|
1431
|
+
TransactionArgument,
|
1432
|
+
TransactionArgument
|
1433
|
+
];
|
1434
|
+
function v2IsGlobalPauseEnabledCurrentEpoch(tx: Transaction, args: [
|
1435
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1436
|
+
bigint | TransactionArgument,
|
1437
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1438
|
+
]): TransactionArgument & [
|
1439
|
+
TransactionArgument,
|
1440
|
+
TransactionArgument,
|
1441
|
+
TransactionArgument
|
1442
|
+
];
|
1443
|
+
function v2IsGlobalPauseEnabledNextEpoch(tx: Transaction, args: [
|
1444
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1445
|
+
bigint | TransactionArgument,
|
1446
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1447
|
+
]): TransactionArgument & [
|
1448
|
+
TransactionArgument,
|
1449
|
+
TransactionArgument,
|
1450
|
+
TransactionArgument
|
1451
|
+
];
|
1452
|
+
function v2Remove(tx: Transaction, args: [
|
1453
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1454
|
+
bigint | TransactionArgument,
|
1455
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1456
|
+
string | TransactionArgument
|
1457
|
+
]): TransactionArgument & [
|
1458
|
+
TransactionArgument,
|
1459
|
+
TransactionArgument,
|
1460
|
+
TransactionArgument,
|
1461
|
+
TransactionArgument
|
1462
|
+
];
|
1463
|
+
}
|
1464
|
+
namespace view {
|
1465
|
+
function migrateV1ToV2(client: SuiClient, args: [
|
1466
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1467
|
+
bigint | TransactionArgument,
|
1468
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1469
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1470
|
+
function v1Add(client: SuiClient, args: [
|
1471
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1472
|
+
bigint | TransactionArgument,
|
1473
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1474
|
+
string | TransactionArgument
|
1475
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1476
|
+
function v1Contains(client: SuiClient, args: [
|
1477
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1478
|
+
bigint | TransactionArgument,
|
1479
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1480
|
+
string | TransactionArgument
|
1481
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1482
|
+
function v1Remove(client: SuiClient, args: [
|
1483
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1484
|
+
bigint | TransactionArgument,
|
1485
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1486
|
+
string | TransactionArgument
|
1487
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1488
|
+
function v2Add(client: SuiClient, args: [
|
1489
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1490
|
+
bigint | TransactionArgument,
|
1491
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1492
|
+
string | TransactionArgument
|
1493
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1494
|
+
function v2ContainsCurrentEpoch(client: SuiClient, args: [
|
1495
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1496
|
+
bigint | TransactionArgument,
|
1497
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1498
|
+
string | TransactionArgument
|
1499
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1500
|
+
function v2ContainsNextEpoch(client: SuiClient, args: [
|
1501
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1502
|
+
bigint | TransactionArgument,
|
1503
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1504
|
+
string | TransactionArgument
|
1505
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1506
|
+
function v2DisableGlobalPause(client: SuiClient, args: [
|
1507
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1508
|
+
bigint | TransactionArgument,
|
1509
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1510
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1511
|
+
function v2EnableGlobalPause(client: SuiClient, args: [
|
1512
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1513
|
+
bigint | TransactionArgument,
|
1514
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1515
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1516
|
+
function v2IsGlobalPauseEnabledCurrentEpoch(client: SuiClient, args: [
|
1517
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1518
|
+
bigint | TransactionArgument,
|
1519
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1520
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1521
|
+
function v2IsGlobalPauseEnabledNextEpoch(client: SuiClient, args: [
|
1522
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1523
|
+
bigint | TransactionArgument,
|
1524
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1525
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1526
|
+
function v2Remove(client: SuiClient, args: [
|
1527
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1528
|
+
bigint | TransactionArgument,
|
1529
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1530
|
+
string | TransactionArgument
|
1531
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
1532
|
+
}
|
381
1533
|
}
|
382
1534
|
export declare class display extends SuiBaseProcessor {
|
383
1535
|
constructor(options: SuiBindOptions);
|
@@ -426,6 +1578,86 @@ export declare namespace display {
|
|
426
1578
|
data_decoded: VersionUpdated<any>;
|
427
1579
|
type_arguments: [string];
|
428
1580
|
}
|
1581
|
+
namespace builder {
|
1582
|
+
function add<T0 = any>(tx: Transaction, args: [
|
1583
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1584
|
+
string | TransactionArgument,
|
1585
|
+
string | TransactionArgument
|
1586
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1587
|
+
TransactionArgument,
|
1588
|
+
TransactionArgument,
|
1589
|
+
TransactionArgument
|
1590
|
+
];
|
1591
|
+
function addMultiple<T0 = any>(tx: Transaction, args: [
|
1592
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1593
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1594
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1595
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1596
|
+
TransactionArgument,
|
1597
|
+
TransactionArgument,
|
1598
|
+
TransactionArgument
|
1599
|
+
];
|
1600
|
+
function createAndKeep<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1601
|
+
function edit<T0 = any>(tx: Transaction, args: [
|
1602
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1603
|
+
string | TransactionArgument,
|
1604
|
+
string | TransactionArgument
|
1605
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1606
|
+
TransactionArgument,
|
1607
|
+
TransactionArgument,
|
1608
|
+
TransactionArgument
|
1609
|
+
];
|
1610
|
+
function fields<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1611
|
+
function isAuthorized<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1612
|
+
function new_<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1613
|
+
function newWithFields<T0 = any>(tx: Transaction, args: [
|
1614
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1615
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1616
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1617
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
1618
|
+
TransactionArgument,
|
1619
|
+
TransactionArgument,
|
1620
|
+
TransactionArgument
|
1621
|
+
];
|
1622
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
1623
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1624
|
+
string | TransactionArgument
|
1625
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1626
|
+
function updateVersion<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1627
|
+
function version<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
1628
|
+
}
|
1629
|
+
namespace view {
|
1630
|
+
function add<T0 = any>(client: SuiClient, args: [
|
1631
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1632
|
+
string | TransactionArgument,
|
1633
|
+
string | TransactionArgument
|
1634
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1635
|
+
function addMultiple<T0 = any>(client: SuiClient, args: [
|
1636
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1637
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1638
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1639
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1640
|
+
function createAndKeep<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1641
|
+
function edit<T0 = any>(client: SuiClient, args: [
|
1642
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1643
|
+
string | TransactionArgument,
|
1644
|
+
string | TransactionArgument
|
1645
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1646
|
+
function fields<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1647
|
+
function isAuthorized<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1648
|
+
function new_<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
1649
|
+
function newWithFields<T0 = any>(client: SuiClient, args: [
|
1650
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1651
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
1652
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
1653
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[display.Display<T0>]>>;
|
1654
|
+
function remove<T0 = any>(client: SuiClient, args: [
|
1655
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1656
|
+
string | TransactionArgument
|
1657
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1658
|
+
function updateVersion<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1659
|
+
function version<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
1660
|
+
}
|
429
1661
|
interface AddPayload<T0 = any> extends TypedFunctionPayload<[string, string, string]> {
|
430
1662
|
arguments_decoded: [string, string, string];
|
431
1663
|
type_arguments: [string];
|
@@ -461,6 +1693,114 @@ export declare namespace dynamic_field {
|
|
461
1693
|
const TYPE_QNAME = "0x2::dynamic_field::Field";
|
462
1694
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Field<T0, T1>>;
|
463
1695
|
}
|
1696
|
+
namespace builder {
|
1697
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
1698
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1699
|
+
T0 | TransactionArgument,
|
1700
|
+
T1 | TransactionArgument
|
1701
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1702
|
+
TransactionArgument,
|
1703
|
+
TransactionArgument,
|
1704
|
+
TransactionArgument
|
1705
|
+
];
|
1706
|
+
function addChildObject<T0 = any>(tx: Transaction, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1707
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
1708
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1709
|
+
T0 | TransactionArgument
|
1710
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1711
|
+
function borrowChildObject<T0 = any>(tx: Transaction, args: [
|
1712
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1713
|
+
string | TransactionArgument
|
1714
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1715
|
+
function borrowChildObjectMut<T0 = any>(tx: Transaction, args: [
|
1716
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1717
|
+
string | TransactionArgument
|
1718
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1719
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
1720
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1721
|
+
T0 | TransactionArgument
|
1722
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1723
|
+
function exists_<T0 = any>(tx: Transaction, args: [
|
1724
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1725
|
+
T0 | TransactionArgument
|
1726
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1727
|
+
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
1728
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1729
|
+
T0 | TransactionArgument
|
1730
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1731
|
+
function fieldInfo<T0 = any>(tx: Transaction, args: [
|
1732
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1733
|
+
T0 | TransactionArgument
|
1734
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1735
|
+
function fieldInfoMut<T0 = any>(tx: Transaction, args: [
|
1736
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1737
|
+
T0 | TransactionArgument
|
1738
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1739
|
+
function hasChildObject(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1740
|
+
function hasChildObjectWithTy<T0 = any>(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1741
|
+
function hashTypeAndKey<T0 = any>(tx: Transaction, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1742
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
1743
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1744
|
+
T0 | TransactionArgument
|
1745
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1746
|
+
function removeChildObject<T0 = any>(tx: Transaction, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1747
|
+
function removeIfExists<T0 = any, T1 = any>(tx: Transaction, args: [
|
1748
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1749
|
+
T0 | TransactionArgument
|
1750
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1751
|
+
}
|
1752
|
+
namespace view {
|
1753
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
1754
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1755
|
+
T0 | TransactionArgument,
|
1756
|
+
T1 | TransactionArgument
|
1757
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1758
|
+
function addChildObject<T0 = any>(client: SuiClient, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
1759
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
1760
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1761
|
+
T0 | TransactionArgument
|
1762
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1763
|
+
function borrowChildObject<T0 = any>(client: SuiClient, args: [
|
1764
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1765
|
+
string | TransactionArgument
|
1766
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1767
|
+
function borrowChildObjectMut<T0 = any>(client: SuiClient, args: [
|
1768
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1769
|
+
string | TransactionArgument
|
1770
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1771
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
1772
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1773
|
+
T0 | TransactionArgument
|
1774
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1775
|
+
function exists_<T0 = any>(client: SuiClient, args: [
|
1776
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1777
|
+
T0 | TransactionArgument
|
1778
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1779
|
+
function existsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
1780
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1781
|
+
T0 | TransactionArgument
|
1782
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1783
|
+
function fieldInfo<T0 = any>(client: SuiClient, args: [
|
1784
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1785
|
+
T0 | TransactionArgument
|
1786
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
1787
|
+
function fieldInfoMut<T0 = any>(client: SuiClient, args: [
|
1788
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1789
|
+
T0 | TransactionArgument
|
1790
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
1791
|
+
function hasChildObject(client: SuiClient, args: [string | TransactionArgument, string | TransactionArgument]): Promise<TypedDevInspectResults<[boolean]>>;
|
1792
|
+
function hasChildObjectWithTy<T0 = any>(client: SuiClient, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1793
|
+
function hashTypeAndKey<T0 = any>(client: SuiClient, args: [string | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1794
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
1795
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1796
|
+
T0 | TransactionArgument
|
1797
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
1798
|
+
function removeChildObject<T0 = any>(client: SuiClient, args: [string | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
1799
|
+
function removeIfExists<T0 = any, T1 = any>(client: SuiClient, args: [
|
1800
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1801
|
+
T0 | TransactionArgument
|
1802
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
1803
|
+
}
|
464
1804
|
}
|
465
1805
|
export declare class dynamic_object_field extends SuiBaseProcessor {
|
466
1806
|
constructor(options: SuiBindOptions);
|
@@ -480,12 +1820,246 @@ export declare namespace dynamic_object_field {
|
|
480
1820
|
data_decoded: Wrapper<any>;
|
481
1821
|
type_arguments: [string];
|
482
1822
|
}
|
1823
|
+
namespace builder {
|
1824
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
1825
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1826
|
+
T0 | TransactionArgument,
|
1827
|
+
T1 | TransactionArgument
|
1828
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1829
|
+
TransactionArgument,
|
1830
|
+
TransactionArgument,
|
1831
|
+
TransactionArgument
|
1832
|
+
];
|
1833
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
1834
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1835
|
+
T0 | TransactionArgument
|
1836
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1837
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
1838
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1839
|
+
T0 | TransactionArgument
|
1840
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1841
|
+
function exists_<T0 = any>(tx: Transaction, args: [
|
1842
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1843
|
+
T0 | TransactionArgument
|
1844
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1845
|
+
function existsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
1846
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1847
|
+
T0 | TransactionArgument
|
1848
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1849
|
+
function id<T0 = any>(tx: Transaction, args: [
|
1850
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1851
|
+
T0 | TransactionArgument
|
1852
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1853
|
+
function internalAdd<T0 = any, T1 = any>(tx: Transaction, args: [
|
1854
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1855
|
+
T0 | TransactionArgument,
|
1856
|
+
T1 | TransactionArgument
|
1857
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
1858
|
+
TransactionArgument,
|
1859
|
+
TransactionArgument,
|
1860
|
+
TransactionArgument
|
1861
|
+
];
|
1862
|
+
function internalBorrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
1863
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1864
|
+
T0 | TransactionArgument
|
1865
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1866
|
+
function internalBorrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
1867
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1868
|
+
T0 | TransactionArgument
|
1869
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1870
|
+
function internalExistsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
1871
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1872
|
+
T0 | TransactionArgument
|
1873
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1874
|
+
function internalRemove<T0 = any, T1 = any>(tx: Transaction, args: [
|
1875
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1876
|
+
T0 | TransactionArgument
|
1877
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1878
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
1879
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1880
|
+
T0 | TransactionArgument
|
1881
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
1882
|
+
}
|
1883
|
+
namespace view {
|
1884
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
1885
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1886
|
+
T0 | TransactionArgument,
|
1887
|
+
T1 | TransactionArgument
|
1888
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1889
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
1890
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1891
|
+
T0 | TransactionArgument
|
1892
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1893
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
1894
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1895
|
+
T0 | TransactionArgument
|
1896
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1897
|
+
function exists_<T0 = any>(client: SuiClient, args: [
|
1898
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1899
|
+
T0 | TransactionArgument
|
1900
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1901
|
+
function existsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
1902
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1903
|
+
T0 | TransactionArgument
|
1904
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1905
|
+
function id<T0 = any>(client: SuiClient, args: [
|
1906
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1907
|
+
T0 | TransactionArgument
|
1908
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
1909
|
+
function internalAdd<T0 = any, T1 = any>(client: SuiClient, args: [
|
1910
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1911
|
+
T0 | TransactionArgument,
|
1912
|
+
T1 | TransactionArgument
|
1913
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
1914
|
+
function internalBorrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
1915
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1916
|
+
T0 | TransactionArgument
|
1917
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1918
|
+
function internalBorrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
1919
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1920
|
+
T0 | TransactionArgument
|
1921
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
1922
|
+
function internalExistsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
1923
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1924
|
+
T0 | TransactionArgument
|
1925
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
1926
|
+
function internalRemove<T0 = any, T1 = any>(client: SuiClient, args: [
|
1927
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1928
|
+
T0 | TransactionArgument
|
1929
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
1930
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
1931
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1932
|
+
T0 | TransactionArgument
|
1933
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
1934
|
+
}
|
1935
|
+
}
|
1936
|
+
export declare namespace ecdsa_k1 {
|
1937
|
+
namespace builder {
|
1938
|
+
function decompressPubkey(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
1939
|
+
function secp256k1Ecrecover(tx: Transaction, args: [
|
1940
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1941
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1942
|
+
number | TransactionArgument
|
1943
|
+
]): TransactionArgument & [
|
1944
|
+
TransactionArgument,
|
1945
|
+
TransactionArgument,
|
1946
|
+
TransactionArgument
|
1947
|
+
];
|
1948
|
+
function secp256k1Verify(tx: Transaction, args: [
|
1949
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1950
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1951
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1952
|
+
number | TransactionArgument
|
1953
|
+
]): TransactionArgument & [
|
1954
|
+
TransactionArgument,
|
1955
|
+
TransactionArgument,
|
1956
|
+
TransactionArgument,
|
1957
|
+
TransactionArgument
|
1958
|
+
];
|
1959
|
+
}
|
1960
|
+
namespace view {
|
1961
|
+
function decompressPubkey(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
1962
|
+
function secp256k1Ecrecover(client: SuiClient, args: [
|
1963
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1964
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1965
|
+
number | TransactionArgument
|
1966
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
1967
|
+
function secp256k1Verify(client: SuiClient, args: [
|
1968
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1969
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1970
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1971
|
+
number | TransactionArgument
|
1972
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
1973
|
+
}
|
1974
|
+
}
|
1975
|
+
export declare namespace ecdsa_r1 {
|
1976
|
+
namespace builder {
|
1977
|
+
function secp256r1Ecrecover(tx: Transaction, args: [
|
1978
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1979
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1980
|
+
number | TransactionArgument
|
1981
|
+
]): TransactionArgument & [
|
1982
|
+
TransactionArgument,
|
1983
|
+
TransactionArgument,
|
1984
|
+
TransactionArgument
|
1985
|
+
];
|
1986
|
+
function secp256r1Verify(tx: Transaction, args: [
|
1987
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1988
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1989
|
+
string | TransactionObjectArgument | TransactionArgument,
|
1990
|
+
number | TransactionArgument
|
1991
|
+
]): TransactionArgument & [
|
1992
|
+
TransactionArgument,
|
1993
|
+
TransactionArgument,
|
1994
|
+
TransactionArgument,
|
1995
|
+
TransactionArgument
|
1996
|
+
];
|
1997
|
+
}
|
1998
|
+
namespace view {
|
1999
|
+
function secp256r1Ecrecover(client: SuiClient, args: [
|
2000
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2001
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2002
|
+
number | TransactionArgument
|
2003
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
2004
|
+
function secp256r1Verify(client: SuiClient, args: [
|
2005
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2006
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2007
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2008
|
+
number | TransactionArgument
|
2009
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2010
|
+
}
|
2011
|
+
}
|
2012
|
+
export declare namespace ecvrf {
|
2013
|
+
namespace builder {
|
2014
|
+
function ecvrfVerify(tx: Transaction, args: [
|
2015
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2016
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2017
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2018
|
+
string | TransactionObjectArgument | TransactionArgument
|
2019
|
+
]): TransactionArgument & [
|
2020
|
+
TransactionArgument,
|
2021
|
+
TransactionArgument,
|
2022
|
+
TransactionArgument,
|
2023
|
+
TransactionArgument
|
2024
|
+
];
|
2025
|
+
}
|
2026
|
+
namespace view {
|
2027
|
+
function ecvrfVerify(client: SuiClient, args: [
|
2028
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2029
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2030
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2031
|
+
string | TransactionObjectArgument | TransactionArgument
|
2032
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2033
|
+
}
|
2034
|
+
}
|
2035
|
+
export declare namespace ed25519 {
|
2036
|
+
namespace builder {
|
2037
|
+
function ed25519Verify(tx: Transaction, args: [
|
2038
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2039
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2040
|
+
string | TransactionObjectArgument | TransactionArgument
|
2041
|
+
]): TransactionArgument & [
|
2042
|
+
TransactionArgument,
|
2043
|
+
TransactionArgument,
|
2044
|
+
TransactionArgument
|
2045
|
+
];
|
2046
|
+
}
|
2047
|
+
namespace view {
|
2048
|
+
function ed25519Verify(client: SuiClient, args: [
|
2049
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2050
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2051
|
+
string | TransactionObjectArgument | TransactionArgument
|
2052
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2053
|
+
}
|
2054
|
+
}
|
2055
|
+
export declare namespace event {
|
2056
|
+
namespace builder {
|
2057
|
+
function emit<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2058
|
+
}
|
2059
|
+
namespace view {
|
2060
|
+
function emit<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2061
|
+
}
|
483
2062
|
}
|
484
|
-
export declare namespace ecdsa_k1 { }
|
485
|
-
export declare namespace ecdsa_r1 { }
|
486
|
-
export declare namespace ecvrf { }
|
487
|
-
export declare namespace ed25519 { }
|
488
|
-
export declare namespace event { }
|
489
2063
|
export declare class groth16 extends SuiBaseProcessor {
|
490
2064
|
constructor(options: SuiBindOptions);
|
491
2065
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
@@ -543,6 +2117,62 @@ export declare namespace groth16 {
|
|
543
2117
|
data_decoded: PublicProofInputs;
|
544
2118
|
type_arguments: [];
|
545
2119
|
}
|
2120
|
+
namespace builder {
|
2121
|
+
function bls12381(tx: Transaction, args: []): TransactionArgument & [];
|
2122
|
+
function bn254(tx: Transaction, args: []): TransactionArgument & [];
|
2123
|
+
function prepareVerifyingKey(tx: Transaction, args: [
|
2124
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2125
|
+
string | TransactionObjectArgument | TransactionArgument
|
2126
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2127
|
+
function proofPointsFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2128
|
+
function publicProofInputsFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2129
|
+
function pvkFromBytes(tx: Transaction, args: [
|
2130
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2131
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2132
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2133
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
2134
|
+
]): TransactionArgument & [
|
2135
|
+
TransactionArgument,
|
2136
|
+
TransactionArgument,
|
2137
|
+
TransactionArgument,
|
2138
|
+
TransactionArgument
|
2139
|
+
];
|
2140
|
+
function pvkToBytes(tx: Transaction, args: [groth16.PreparedVerifyingKey | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2141
|
+
function verifyGroth16Proof(tx: Transaction, args: [
|
2142
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2143
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2144
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2145
|
+
string | TransactionObjectArgument | TransactionArgument
|
2146
|
+
]): TransactionArgument & [
|
2147
|
+
TransactionArgument,
|
2148
|
+
TransactionArgument,
|
2149
|
+
TransactionArgument,
|
2150
|
+
TransactionArgument
|
2151
|
+
];
|
2152
|
+
}
|
2153
|
+
namespace view {
|
2154
|
+
function bls12381(client: SuiClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
2155
|
+
function bn254(client: SuiClient, args: []): Promise<TypedDevInspectResults<[groth16.Curve]>>;
|
2156
|
+
function prepareVerifyingKey(client: SuiClient, args: [
|
2157
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2158
|
+
string | TransactionObjectArgument | TransactionArgument
|
2159
|
+
]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
2160
|
+
function proofPointsFromBytes(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[groth16.ProofPoints]>>;
|
2161
|
+
function publicProofInputsFromBytes(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[groth16.PublicProofInputs]>>;
|
2162
|
+
function pvkFromBytes(client: SuiClient, args: [
|
2163
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2164
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2165
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
2166
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
2167
|
+
]): Promise<TypedDevInspectResults<[groth16.PreparedVerifyingKey]>>;
|
2168
|
+
function pvkToBytes(client: SuiClient, args: [groth16.PreparedVerifyingKey | TransactionArgument]): Promise<TypedDevInspectResults<[number[][]]>>;
|
2169
|
+
function verifyGroth16Proof(client: SuiClient, args: [
|
2170
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2171
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2172
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2173
|
+
string | TransactionObjectArgument | TransactionArgument
|
2174
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2175
|
+
}
|
546
2176
|
}
|
547
2177
|
export declare class group_ops extends SuiBaseProcessor {
|
548
2178
|
constructor(options: SuiBindOptions);
|
@@ -562,10 +2192,183 @@ export declare namespace group_ops {
|
|
562
2192
|
data_decoded: Element<any>;
|
563
2193
|
type_arguments: [string];
|
564
2194
|
}
|
2195
|
+
namespace builder {
|
2196
|
+
function add<T0 = any>(tx: Transaction, args: [
|
2197
|
+
number | TransactionArgument,
|
2198
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2199
|
+
string | TransactionObjectArgument | TransactionArgument
|
2200
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2201
|
+
TransactionArgument,
|
2202
|
+
TransactionArgument,
|
2203
|
+
TransactionArgument
|
2204
|
+
];
|
2205
|
+
function bytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2206
|
+
function div<T0 = any, T1 = any>(tx: Transaction, args: [
|
2207
|
+
number | TransactionArgument,
|
2208
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2209
|
+
string | TransactionObjectArgument | TransactionArgument
|
2210
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2211
|
+
TransactionArgument,
|
2212
|
+
TransactionArgument,
|
2213
|
+
TransactionArgument
|
2214
|
+
];
|
2215
|
+
function equal<T0 = any>(tx: Transaction, args: [
|
2216
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2217
|
+
string | TransactionObjectArgument | TransactionArgument
|
2218
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2219
|
+
function fromBytes<T0 = any>(tx: Transaction, args: [
|
2220
|
+
number | TransactionArgument,
|
2221
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2222
|
+
boolean | TransactionArgument
|
2223
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2224
|
+
TransactionArgument,
|
2225
|
+
TransactionArgument,
|
2226
|
+
TransactionArgument
|
2227
|
+
];
|
2228
|
+
function hashTo<T0 = any>(tx: Transaction, args: [
|
2229
|
+
number | TransactionArgument,
|
2230
|
+
string | TransactionObjectArgument | TransactionArgument
|
2231
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2232
|
+
function mul<T0 = any, T1 = any>(tx: Transaction, args: [
|
2233
|
+
number | TransactionArgument,
|
2234
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2235
|
+
string | TransactionObjectArgument | TransactionArgument
|
2236
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2237
|
+
TransactionArgument,
|
2238
|
+
TransactionArgument,
|
2239
|
+
TransactionArgument
|
2240
|
+
];
|
2241
|
+
function multiScalarMultiplication<T0 = any, T1 = any>(tx: Transaction, args: [
|
2242
|
+
number | TransactionArgument,
|
2243
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2244
|
+
string | TransactionObjectArgument | TransactionArgument
|
2245
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2246
|
+
TransactionArgument,
|
2247
|
+
TransactionArgument,
|
2248
|
+
TransactionArgument
|
2249
|
+
];
|
2250
|
+
function pairing<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
2251
|
+
number | TransactionArgument,
|
2252
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2253
|
+
string | TransactionObjectArgument | TransactionArgument
|
2254
|
+
], typeArguments: [
|
2255
|
+
TypeDescriptor<T0> | string,
|
2256
|
+
TypeDescriptor<T1> | string,
|
2257
|
+
TypeDescriptor<T2> | string
|
2258
|
+
]): TransactionArgument & [
|
2259
|
+
TransactionArgument,
|
2260
|
+
TransactionArgument,
|
2261
|
+
TransactionArgument
|
2262
|
+
];
|
2263
|
+
function setAsPrefix(tx: Transaction, args: [
|
2264
|
+
bigint | TransactionArgument,
|
2265
|
+
boolean | TransactionArgument,
|
2266
|
+
string | TransactionObjectArgument | TransactionArgument
|
2267
|
+
]): TransactionArgument & [
|
2268
|
+
TransactionArgument,
|
2269
|
+
TransactionArgument,
|
2270
|
+
TransactionArgument
|
2271
|
+
];
|
2272
|
+
function sub<T0 = any>(tx: Transaction, args: [
|
2273
|
+
number | TransactionArgument,
|
2274
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2275
|
+
string | TransactionObjectArgument | TransactionArgument
|
2276
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2277
|
+
TransactionArgument,
|
2278
|
+
TransactionArgument,
|
2279
|
+
TransactionArgument
|
2280
|
+
];
|
2281
|
+
}
|
2282
|
+
namespace view {
|
2283
|
+
function add<T0 = any>(client: SuiClient, args: [
|
2284
|
+
number | TransactionArgument,
|
2285
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2286
|
+
string | TransactionObjectArgument | TransactionArgument
|
2287
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2288
|
+
function bytes<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2289
|
+
function div<T0 = any, T1 = any>(client: SuiClient, args: [
|
2290
|
+
number | TransactionArgument,
|
2291
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2292
|
+
string | TransactionObjectArgument | TransactionArgument
|
2293
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2294
|
+
function equal<T0 = any>(client: SuiClient, args: [
|
2295
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2296
|
+
string | TransactionObjectArgument | TransactionArgument
|
2297
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2298
|
+
function fromBytes<T0 = any>(client: SuiClient, args: [
|
2299
|
+
number | TransactionArgument,
|
2300
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2301
|
+
boolean | TransactionArgument
|
2302
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2303
|
+
function hashTo<T0 = any>(client: SuiClient, args: [
|
2304
|
+
number | TransactionArgument,
|
2305
|
+
string | TransactionObjectArgument | TransactionArgument
|
2306
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2307
|
+
function mul<T0 = any, T1 = any>(client: SuiClient, args: [
|
2308
|
+
number | TransactionArgument,
|
2309
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2310
|
+
string | TransactionObjectArgument | TransactionArgument
|
2311
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2312
|
+
function multiScalarMultiplication<T0 = any, T1 = any>(client: SuiClient, args: [
|
2313
|
+
number | TransactionArgument,
|
2314
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2315
|
+
string | TransactionObjectArgument | TransactionArgument
|
2316
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
2317
|
+
function pairing<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
2318
|
+
number | TransactionArgument,
|
2319
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2320
|
+
string | TransactionObjectArgument | TransactionArgument
|
2321
|
+
], typeArguments: [
|
2322
|
+
TypeDescriptor<T0> | string,
|
2323
|
+
TypeDescriptor<T1> | string,
|
2324
|
+
TypeDescriptor<T2> | string
|
2325
|
+
]): Promise<TypedDevInspectResults<[group_ops.Element<T2>]>>;
|
2326
|
+
function setAsPrefix(client: SuiClient, args: [
|
2327
|
+
bigint | TransactionArgument,
|
2328
|
+
boolean | TransactionArgument,
|
2329
|
+
string | TransactionObjectArgument | TransactionArgument
|
2330
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
2331
|
+
function sub<T0 = any>(client: SuiClient, args: [
|
2332
|
+
number | TransactionArgument,
|
2333
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2334
|
+
string | TransactionObjectArgument | TransactionArgument
|
2335
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
2336
|
+
}
|
2337
|
+
}
|
2338
|
+
export declare namespace hash {
|
2339
|
+
namespace builder {
|
2340
|
+
function blake2b256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2341
|
+
function keccak256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2342
|
+
}
|
2343
|
+
namespace view {
|
2344
|
+
function blake2b256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
2345
|
+
function keccak256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
2346
|
+
}
|
2347
|
+
}
|
2348
|
+
export declare namespace hex {
|
2349
|
+
namespace builder {
|
2350
|
+
function decode(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2351
|
+
function encode(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2352
|
+
}
|
2353
|
+
namespace view {
|
2354
|
+
function decode(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
2355
|
+
function encode(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
2356
|
+
}
|
2357
|
+
}
|
2358
|
+
export declare namespace hmac {
|
2359
|
+
namespace builder {
|
2360
|
+
function hmacSha3256(tx: Transaction, args: [
|
2361
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2362
|
+
string | TransactionObjectArgument | TransactionArgument
|
2363
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2364
|
+
}
|
2365
|
+
namespace view {
|
2366
|
+
function hmacSha3256(client: SuiClient, args: [
|
2367
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2368
|
+
string | TransactionObjectArgument | TransactionArgument
|
2369
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
2370
|
+
}
|
565
2371
|
}
|
566
|
-
export declare namespace hash { }
|
567
|
-
export declare namespace hex { }
|
568
|
-
export declare namespace hmac { }
|
569
2372
|
export declare class kiosk extends SuiBaseProcessor {
|
570
2373
|
constructor(options: SuiBindOptions);
|
571
2374
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
@@ -688,6 +2491,373 @@ export declare namespace kiosk {
|
|
688
2491
|
const TYPE_QNAME = "0x2::kiosk::PurchaseCap";
|
689
2492
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<PurchaseCap<T0>>;
|
690
2493
|
}
|
2494
|
+
namespace builder {
|
2495
|
+
function borrow<T0 = any>(tx: Transaction, args: [
|
2496
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2497
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2498
|
+
object_.ID | TransactionArgument
|
2499
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2500
|
+
TransactionArgument,
|
2501
|
+
TransactionArgument,
|
2502
|
+
TransactionArgument
|
2503
|
+
];
|
2504
|
+
function borrowMut<T0 = any>(tx: Transaction, args: [
|
2505
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2506
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2507
|
+
object_.ID | TransactionArgument
|
2508
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2509
|
+
TransactionArgument,
|
2510
|
+
TransactionArgument,
|
2511
|
+
TransactionArgument
|
2512
|
+
];
|
2513
|
+
function borrowVal<T0 = any>(tx: Transaction, args: [
|
2514
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2515
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2516
|
+
object_.ID | TransactionArgument
|
2517
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2518
|
+
TransactionArgument,
|
2519
|
+
TransactionArgument,
|
2520
|
+
TransactionArgument
|
2521
|
+
];
|
2522
|
+
function closeAndWithdraw(tx: Transaction, args: [
|
2523
|
+
kiosk.Kiosk | TransactionArgument,
|
2524
|
+
kiosk.KioskOwnerCap | TransactionArgument
|
2525
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2526
|
+
function default_(tx: Transaction, args: []): TransactionArgument & [];
|
2527
|
+
function delist<T0 = any>(tx: Transaction, args: [
|
2528
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2529
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2530
|
+
object_.ID | TransactionArgument
|
2531
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2532
|
+
TransactionArgument,
|
2533
|
+
TransactionArgument,
|
2534
|
+
TransactionArgument
|
2535
|
+
];
|
2536
|
+
function hasAccess(tx: Transaction, args: [
|
2537
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2538
|
+
string | TransactionObjectArgument | TransactionArgument
|
2539
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2540
|
+
function hasItem(tx: Transaction, args: [
|
2541
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2542
|
+
object_.ID | TransactionArgument
|
2543
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2544
|
+
function hasItemWithType<T0 = any>(tx: Transaction, args: [
|
2545
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2546
|
+
object_.ID | TransactionArgument
|
2547
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2548
|
+
function isListed(tx: Transaction, args: [
|
2549
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2550
|
+
object_.ID | TransactionArgument
|
2551
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2552
|
+
function isListedExclusively(tx: Transaction, args: [
|
2553
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2554
|
+
object_.ID | TransactionArgument
|
2555
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2556
|
+
function isLocked(tx: Transaction, args: [
|
2557
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2558
|
+
object_.ID | TransactionArgument
|
2559
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2560
|
+
function itemCount(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2561
|
+
function kioskOwnerCapFor(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2562
|
+
function list<T0 = any>(tx: Transaction, args: [
|
2563
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2564
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2565
|
+
object_.ID | TransactionArgument,
|
2566
|
+
bigint | TransactionArgument
|
2567
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2568
|
+
TransactionArgument,
|
2569
|
+
TransactionArgument,
|
2570
|
+
TransactionArgument,
|
2571
|
+
TransactionArgument
|
2572
|
+
];
|
2573
|
+
function listWithPurchaseCap<T0 = any>(tx: Transaction, args: [
|
2574
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2575
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2576
|
+
object_.ID | TransactionArgument,
|
2577
|
+
bigint | TransactionArgument
|
2578
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2579
|
+
TransactionArgument,
|
2580
|
+
TransactionArgument,
|
2581
|
+
TransactionArgument,
|
2582
|
+
TransactionArgument
|
2583
|
+
];
|
2584
|
+
function lock<T0 = any>(tx: Transaction, args: [
|
2585
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2586
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2587
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2588
|
+
T0 | TransactionArgument
|
2589
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2590
|
+
TransactionArgument,
|
2591
|
+
TransactionArgument,
|
2592
|
+
TransactionArgument,
|
2593
|
+
TransactionArgument
|
2594
|
+
];
|
2595
|
+
function lockInternal<T0 = any>(tx: Transaction, args: [
|
2596
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2597
|
+
T0 | TransactionArgument
|
2598
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2599
|
+
function new_(tx: Transaction, args: []): TransactionArgument & [];
|
2600
|
+
function owner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2601
|
+
function place<T0 = any>(tx: Transaction, args: [
|
2602
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2603
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2604
|
+
T0 | TransactionArgument
|
2605
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2606
|
+
TransactionArgument,
|
2607
|
+
TransactionArgument,
|
2608
|
+
TransactionArgument
|
2609
|
+
];
|
2610
|
+
function placeAndList<T0 = any>(tx: Transaction, args: [
|
2611
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2612
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2613
|
+
T0 | TransactionArgument,
|
2614
|
+
bigint | TransactionArgument
|
2615
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2616
|
+
TransactionArgument,
|
2617
|
+
TransactionArgument,
|
2618
|
+
TransactionArgument,
|
2619
|
+
TransactionArgument
|
2620
|
+
];
|
2621
|
+
function placeInternal<T0 = any>(tx: Transaction, args: [
|
2622
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2623
|
+
T0 | TransactionArgument
|
2624
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2625
|
+
function profitsAmount(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2626
|
+
function profitsMut(tx: Transaction, args: [
|
2627
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2628
|
+
string | TransactionObjectArgument | TransactionArgument
|
2629
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2630
|
+
function purchase<T0 = any>(tx: Transaction, args: [
|
2631
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2632
|
+
object_.ID | TransactionArgument,
|
2633
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
2634
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2635
|
+
TransactionArgument,
|
2636
|
+
TransactionArgument,
|
2637
|
+
TransactionArgument
|
2638
|
+
];
|
2639
|
+
function purchaseCapItem<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2640
|
+
function purchaseCapKiosk<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2641
|
+
function purchaseCapMinPrice<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2642
|
+
function purchaseWithCap<T0 = any>(tx: Transaction, args: [
|
2643
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2644
|
+
kiosk.PurchaseCap<T0> | TransactionArgument,
|
2645
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
2646
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2647
|
+
TransactionArgument,
|
2648
|
+
TransactionArgument,
|
2649
|
+
TransactionArgument
|
2650
|
+
];
|
2651
|
+
function returnPurchaseCap<T0 = any>(tx: Transaction, args: [
|
2652
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2653
|
+
kiosk.PurchaseCap<T0> | TransactionArgument
|
2654
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2655
|
+
function returnVal<T0 = any>(tx: Transaction, args: [
|
2656
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2657
|
+
T0 | TransactionArgument,
|
2658
|
+
kiosk.Borrow | TransactionArgument
|
2659
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2660
|
+
TransactionArgument,
|
2661
|
+
TransactionArgument,
|
2662
|
+
TransactionArgument
|
2663
|
+
];
|
2664
|
+
function setAllowExtensions(tx: Transaction, args: [
|
2665
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2666
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2667
|
+
boolean | TransactionArgument
|
2668
|
+
]): TransactionArgument & [
|
2669
|
+
TransactionArgument,
|
2670
|
+
TransactionArgument,
|
2671
|
+
TransactionArgument
|
2672
|
+
];
|
2673
|
+
function setOwner(tx: Transaction, args: [
|
2674
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2675
|
+
string | TransactionObjectArgument | TransactionArgument
|
2676
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2677
|
+
function setOwnerCustom(tx: Transaction, args: [
|
2678
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2679
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2680
|
+
string | TransactionArgument
|
2681
|
+
]): TransactionArgument & [
|
2682
|
+
TransactionArgument,
|
2683
|
+
TransactionArgument,
|
2684
|
+
TransactionArgument
|
2685
|
+
];
|
2686
|
+
function take<T0 = any>(tx: Transaction, args: [
|
2687
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2688
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2689
|
+
object_.ID | TransactionArgument
|
2690
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2691
|
+
TransactionArgument,
|
2692
|
+
TransactionArgument,
|
2693
|
+
TransactionArgument
|
2694
|
+
];
|
2695
|
+
function uid(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2696
|
+
function uidMut(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2697
|
+
function uidMutAsOwner(tx: Transaction, args: [
|
2698
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2699
|
+
string | TransactionObjectArgument | TransactionArgument
|
2700
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2701
|
+
function uidMutInternal(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
2702
|
+
function withdraw(tx: Transaction, args: [
|
2703
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2704
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2705
|
+
_0x1.option.Option<bigint> | TransactionArgument
|
2706
|
+
]): TransactionArgument & [
|
2707
|
+
TransactionArgument,
|
2708
|
+
TransactionArgument,
|
2709
|
+
TransactionArgument
|
2710
|
+
];
|
2711
|
+
}
|
2712
|
+
namespace view {
|
2713
|
+
function borrow<T0 = any>(client: SuiClient, args: [
|
2714
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2715
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2716
|
+
object_.ID | TransactionArgument
|
2717
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2718
|
+
function borrowMut<T0 = any>(client: SuiClient, args: [
|
2719
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2720
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2721
|
+
object_.ID | TransactionArgument
|
2722
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2723
|
+
function borrowVal<T0 = any>(client: SuiClient, args: [
|
2724
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2725
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2726
|
+
object_.ID | TransactionArgument
|
2727
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, kiosk.Borrow]>>;
|
2728
|
+
function closeAndWithdraw(client: SuiClient, args: [
|
2729
|
+
kiosk.Kiosk | TransactionArgument,
|
2730
|
+
kiosk.KioskOwnerCap | TransactionArgument
|
2731
|
+
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
2732
|
+
function delist<T0 = any>(client: SuiClient, args: [
|
2733
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2734
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2735
|
+
object_.ID | TransactionArgument
|
2736
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2737
|
+
function hasAccess(client: SuiClient, args: [
|
2738
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2739
|
+
string | TransactionObjectArgument | TransactionArgument
|
2740
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2741
|
+
function hasItem(client: SuiClient, args: [
|
2742
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2743
|
+
object_.ID | TransactionArgument
|
2744
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2745
|
+
function hasItemWithType<T0 = any>(client: SuiClient, args: [
|
2746
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2747
|
+
object_.ID | TransactionArgument
|
2748
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2749
|
+
function isListed(client: SuiClient, args: [
|
2750
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2751
|
+
object_.ID | TransactionArgument
|
2752
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2753
|
+
function isListedExclusively(client: SuiClient, args: [
|
2754
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2755
|
+
object_.ID | TransactionArgument
|
2756
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2757
|
+
function isLocked(client: SuiClient, args: [
|
2758
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2759
|
+
object_.ID | TransactionArgument
|
2760
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
2761
|
+
function itemCount(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
2762
|
+
function kioskOwnerCapFor(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
2763
|
+
function list<T0 = any>(client: SuiClient, args: [
|
2764
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2765
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2766
|
+
object_.ID | TransactionArgument,
|
2767
|
+
bigint | TransactionArgument
|
2768
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2769
|
+
function listWithPurchaseCap<T0 = any>(client: SuiClient, args: [
|
2770
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2771
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2772
|
+
object_.ID | TransactionArgument,
|
2773
|
+
bigint | TransactionArgument
|
2774
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[kiosk.PurchaseCap<T0>]>>;
|
2775
|
+
function lock<T0 = any>(client: SuiClient, args: [
|
2776
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2777
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2778
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2779
|
+
T0 | TransactionArgument
|
2780
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2781
|
+
function lockInternal<T0 = any>(client: SuiClient, args: [
|
2782
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2783
|
+
T0 | TransactionArgument
|
2784
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2785
|
+
function new_(client: SuiClient, args: []): Promise<TypedDevInspectResults<[kiosk.Kiosk, kiosk.KioskOwnerCap]>>;
|
2786
|
+
function owner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
2787
|
+
function place<T0 = any>(client: SuiClient, args: [
|
2788
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2789
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2790
|
+
T0 | TransactionArgument
|
2791
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2792
|
+
function placeAndList<T0 = any>(client: SuiClient, args: [
|
2793
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2794
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2795
|
+
T0 | TransactionArgument,
|
2796
|
+
bigint | TransactionArgument
|
2797
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2798
|
+
function placeInternal<T0 = any>(client: SuiClient, args: [
|
2799
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2800
|
+
T0 | TransactionArgument
|
2801
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2802
|
+
function profitsAmount(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
2803
|
+
function profitsMut(client: SuiClient, args: [
|
2804
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2805
|
+
string | TransactionObjectArgument | TransactionArgument
|
2806
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
2807
|
+
function purchase<T0 = any>(client: SuiClient, args: [
|
2808
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2809
|
+
object_.ID | TransactionArgument,
|
2810
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
2811
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
2812
|
+
function purchaseCapItem<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
2813
|
+
function purchaseCapKiosk<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
2814
|
+
function purchaseCapMinPrice<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
2815
|
+
function purchaseWithCap<T0 = any>(client: SuiClient, args: [
|
2816
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2817
|
+
kiosk.PurchaseCap<T0> | TransactionArgument,
|
2818
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
2819
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>>;
|
2820
|
+
function returnPurchaseCap<T0 = any>(client: SuiClient, args: [
|
2821
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2822
|
+
kiosk.PurchaseCap<T0> | TransactionArgument
|
2823
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2824
|
+
function returnVal<T0 = any>(client: SuiClient, args: [
|
2825
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2826
|
+
T0 | TransactionArgument,
|
2827
|
+
kiosk.Borrow | TransactionArgument
|
2828
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2829
|
+
function setAllowExtensions(client: SuiClient, args: [
|
2830
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2831
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2832
|
+
boolean | TransactionArgument
|
2833
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
2834
|
+
function setOwner(client: SuiClient, args: [
|
2835
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2836
|
+
string | TransactionObjectArgument | TransactionArgument
|
2837
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
2838
|
+
function setOwnerCustom(client: SuiClient, args: [
|
2839
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2840
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2841
|
+
string | TransactionArgument
|
2842
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
2843
|
+
function take<T0 = any>(client: SuiClient, args: [
|
2844
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2845
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2846
|
+
object_.ID | TransactionArgument
|
2847
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
2848
|
+
function uid(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
2849
|
+
function uidMut(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
2850
|
+
function uidMutAsOwner(client: SuiClient, args: [
|
2851
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2852
|
+
string | TransactionObjectArgument | TransactionArgument
|
2853
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
2854
|
+
function uidMutInternal(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
2855
|
+
function withdraw(client: SuiClient, args: [
|
2856
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2857
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2858
|
+
_0x1.option.Option<bigint> | TransactionArgument
|
2859
|
+
]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
2860
|
+
}
|
691
2861
|
interface DefaultPayload extends TypedFunctionPayload<[string]> {
|
692
2862
|
arguments_decoded: [string];
|
693
2863
|
type_arguments: [];
|
@@ -720,6 +2890,109 @@ export declare namespace kiosk_extension {
|
|
720
2890
|
data_decoded: ExtensionKey<any>;
|
721
2891
|
type_arguments: [string];
|
722
2892
|
}
|
2893
|
+
namespace builder {
|
2894
|
+
function add<T0 = any>(tx: Transaction, args: [
|
2895
|
+
T0 | TransactionArgument,
|
2896
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2897
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2898
|
+
bigint | TransactionArgument
|
2899
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
2900
|
+
TransactionArgument,
|
2901
|
+
TransactionArgument,
|
2902
|
+
TransactionArgument,
|
2903
|
+
TransactionArgument
|
2904
|
+
];
|
2905
|
+
function canLock<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2906
|
+
function canPlace<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2907
|
+
function disable<T0 = any>(tx: Transaction, args: [
|
2908
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2909
|
+
string | TransactionObjectArgument | TransactionArgument
|
2910
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2911
|
+
function enable<T0 = any>(tx: Transaction, args: [
|
2912
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2913
|
+
string | TransactionObjectArgument | TransactionArgument
|
2914
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2915
|
+
function isEnabled<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2916
|
+
function isInstalled<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
2917
|
+
function lock<T0 = any, T1 = any>(tx: Transaction, args: [
|
2918
|
+
T0 | TransactionArgument,
|
2919
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2920
|
+
T1 | TransactionArgument,
|
2921
|
+
string | TransactionObjectArgument | TransactionArgument
|
2922
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2923
|
+
TransactionArgument,
|
2924
|
+
TransactionArgument,
|
2925
|
+
TransactionArgument,
|
2926
|
+
TransactionArgument
|
2927
|
+
];
|
2928
|
+
function place<T0 = any, T1 = any>(tx: Transaction, args: [
|
2929
|
+
T0 | TransactionArgument,
|
2930
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2931
|
+
T1 | TransactionArgument,
|
2932
|
+
string | TransactionObjectArgument | TransactionArgument
|
2933
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
2934
|
+
TransactionArgument,
|
2935
|
+
TransactionArgument,
|
2936
|
+
TransactionArgument,
|
2937
|
+
TransactionArgument
|
2938
|
+
];
|
2939
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
2940
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2941
|
+
string | TransactionObjectArgument | TransactionArgument
|
2942
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2943
|
+
function storage<T0 = any>(tx: Transaction, args: [
|
2944
|
+
T0 | TransactionArgument,
|
2945
|
+
string | TransactionObjectArgument | TransactionArgument
|
2946
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2947
|
+
function storageMut<T0 = any>(tx: Transaction, args: [
|
2948
|
+
T0 | TransactionArgument,
|
2949
|
+
string | TransactionObjectArgument | TransactionArgument
|
2950
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
2951
|
+
}
|
2952
|
+
namespace view {
|
2953
|
+
function add<T0 = any>(client: SuiClient, args: [
|
2954
|
+
T0 | TransactionArgument,
|
2955
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2956
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2957
|
+
bigint | TransactionArgument
|
2958
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2959
|
+
function canLock<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2960
|
+
function canPlace<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2961
|
+
function disable<T0 = any>(client: SuiClient, args: [
|
2962
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2963
|
+
string | TransactionObjectArgument | TransactionArgument
|
2964
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2965
|
+
function enable<T0 = any>(client: SuiClient, args: [
|
2966
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2967
|
+
string | TransactionObjectArgument | TransactionArgument
|
2968
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2969
|
+
function isEnabled<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2970
|
+
function isInstalled<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
2971
|
+
function lock<T0 = any, T1 = any>(client: SuiClient, args: [
|
2972
|
+
T0 | TransactionArgument,
|
2973
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2974
|
+
T1 | TransactionArgument,
|
2975
|
+
string | TransactionObjectArgument | TransactionArgument
|
2976
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2977
|
+
function place<T0 = any, T1 = any>(client: SuiClient, args: [
|
2978
|
+
T0 | TransactionArgument,
|
2979
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2980
|
+
T1 | TransactionArgument,
|
2981
|
+
string | TransactionObjectArgument | TransactionArgument
|
2982
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
2983
|
+
function remove<T0 = any>(client: SuiClient, args: [
|
2984
|
+
string | TransactionObjectArgument | TransactionArgument,
|
2985
|
+
string | TransactionObjectArgument | TransactionArgument
|
2986
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
2987
|
+
function storage<T0 = any>(client: SuiClient, args: [
|
2988
|
+
T0 | TransactionArgument,
|
2989
|
+
string | TransactionObjectArgument | TransactionArgument
|
2990
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2991
|
+
function storageMut<T0 = any>(client: SuiClient, args: [
|
2992
|
+
T0 | TransactionArgument,
|
2993
|
+
string | TransactionObjectArgument | TransactionArgument
|
2994
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
2995
|
+
}
|
723
2996
|
}
|
724
2997
|
export declare namespace linked_table {
|
725
2998
|
interface LinkedTable<T0, T1> {
|
@@ -741,8 +3014,125 @@ export declare namespace linked_table {
|
|
741
3014
|
const TYPE_QNAME = "0x2::linked_table::Node";
|
742
3015
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Node<T0, T1>>;
|
743
3016
|
}
|
3017
|
+
namespace builder {
|
3018
|
+
function back<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3019
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
3020
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3021
|
+
T0 | TransactionArgument
|
3022
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3023
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
3024
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3025
|
+
T0 | TransactionArgument
|
3026
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3027
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
3028
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3029
|
+
T0 | TransactionArgument
|
3030
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3031
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3032
|
+
function drop<T0 = any, T1 = any>(tx: Transaction, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3033
|
+
function front<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3034
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3035
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3036
|
+
function new_<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
3037
|
+
function next<T0 = any, T1 = any>(tx: Transaction, args: [
|
3038
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3039
|
+
T0 | TransactionArgument
|
3040
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3041
|
+
function popBack<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3042
|
+
function popFront<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3043
|
+
function prev<T0 = any, T1 = any>(tx: Transaction, args: [
|
3044
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3045
|
+
T0 | TransactionArgument
|
3046
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3047
|
+
function pushBack<T0 = any, T1 = any>(tx: Transaction, args: [
|
3048
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3049
|
+
T0 | TransactionArgument,
|
3050
|
+
T1 | TransactionArgument
|
3051
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3052
|
+
TransactionArgument,
|
3053
|
+
TransactionArgument,
|
3054
|
+
TransactionArgument
|
3055
|
+
];
|
3056
|
+
function pushFront<T0 = any, T1 = any>(tx: Transaction, args: [
|
3057
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3058
|
+
T0 | TransactionArgument,
|
3059
|
+
T1 | TransactionArgument
|
3060
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3061
|
+
TransactionArgument,
|
3062
|
+
TransactionArgument,
|
3063
|
+
TransactionArgument
|
3064
|
+
];
|
3065
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
3066
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3067
|
+
T0 | TransactionArgument
|
3068
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3069
|
+
}
|
3070
|
+
namespace view {
|
3071
|
+
function back<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3072
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
3073
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3074
|
+
T0 | TransactionArgument
|
3075
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3076
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
3077
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3078
|
+
T0 | TransactionArgument
|
3079
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3080
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
3081
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3082
|
+
T0 | TransactionArgument
|
3083
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3084
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3085
|
+
function drop<T0 = any, T1 = any>(client: SuiClient, args: [linked_table.LinkedTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3086
|
+
function front<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3087
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3088
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3089
|
+
function new_<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[linked_table.LinkedTable<T0, T1>]>>;
|
3090
|
+
function next<T0 = any, T1 = any>(client: SuiClient, args: [
|
3091
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3092
|
+
T0 | TransactionArgument
|
3093
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3094
|
+
function popBack<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
3095
|
+
function popFront<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
3096
|
+
function prev<T0 = any, T1 = any>(client: SuiClient, args: [
|
3097
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3098
|
+
T0 | TransactionArgument
|
3099
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3100
|
+
function pushBack<T0 = any, T1 = any>(client: SuiClient, args: [
|
3101
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3102
|
+
T0 | TransactionArgument,
|
3103
|
+
T1 | TransactionArgument
|
3104
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3105
|
+
function pushFront<T0 = any, T1 = any>(client: SuiClient, args: [
|
3106
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3107
|
+
T0 | TransactionArgument,
|
3108
|
+
T1 | TransactionArgument
|
3109
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3110
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
3111
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3112
|
+
T0 | TransactionArgument
|
3113
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
3114
|
+
}
|
3115
|
+
}
|
3116
|
+
export declare namespace math {
|
3117
|
+
namespace builder {
|
3118
|
+
function diff(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3119
|
+
function divideAndRoundUp(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3120
|
+
function max(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3121
|
+
function min(tx: Transaction, args: [bigint | TransactionArgument, bigint | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3122
|
+
function pow(tx: Transaction, args: [bigint | TransactionArgument, number | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3123
|
+
function sqrt(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3124
|
+
function sqrtU128(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3125
|
+
}
|
3126
|
+
namespace view {
|
3127
|
+
function diff(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3128
|
+
function divideAndRoundUp(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3129
|
+
function max(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3130
|
+
function min(client: SuiClient, args: [bigint | TransactionArgument, bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3131
|
+
function pow(client: SuiClient, args: [bigint | TransactionArgument, number | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3132
|
+
function sqrt(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3133
|
+
function sqrtU128(client: SuiClient, args: [bigint | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3134
|
+
}
|
744
3135
|
}
|
745
|
-
export declare namespace math { }
|
746
3136
|
export declare namespace object_ {
|
747
3137
|
type ID = string;
|
748
3138
|
namespace ID {
|
@@ -756,6 +3146,48 @@ export declare namespace object_ {
|
|
756
3146
|
const TYPE_QNAME = "0x2::object::UID";
|
757
3147
|
function type(): TypeDescriptor<UID>;
|
758
3148
|
}
|
3149
|
+
namespace builder {
|
3150
|
+
function authenticatorState(tx: Transaction, args: []): TransactionArgument & [];
|
3151
|
+
function borrowId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3152
|
+
function clock(tx: Transaction, args: []): TransactionArgument & [];
|
3153
|
+
function delete_(tx: Transaction, args: [object_.UID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3154
|
+
function id<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3155
|
+
function idAddress<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3156
|
+
function idBytes<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3157
|
+
function idFromAddress(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3158
|
+
function idFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3159
|
+
function idToAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3160
|
+
function idToBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3161
|
+
function new_(tx: Transaction, args: []): TransactionArgument & [];
|
3162
|
+
function newUidFromHash(tx: Transaction, args: [string | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3163
|
+
function randomnessState(tx: Transaction, args: []): TransactionArgument & [];
|
3164
|
+
function suiDenyListObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
3165
|
+
function uidAsInner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3166
|
+
function uidToAddress(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3167
|
+
function uidToBytes(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3168
|
+
function uidToInner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3169
|
+
}
|
3170
|
+
namespace view {
|
3171
|
+
function authenticatorState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
3172
|
+
function borrowId<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3173
|
+
function clock(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
3174
|
+
function delete_(client: SuiClient, args: [object_.UID | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
3175
|
+
function id<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3176
|
+
function idAddress<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3177
|
+
function idBytes<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number[]]>>;
|
3178
|
+
function idFromAddress(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3179
|
+
function idFromBytes(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3180
|
+
function idToAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
3181
|
+
function idToBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
3182
|
+
function new_(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
3183
|
+
function newUidFromHash(client: SuiClient, args: [string | TransactionArgument]): Promise<TypedDevInspectResults<[object_.UID]>>;
|
3184
|
+
function randomnessState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
3185
|
+
function suiDenyListObjectId(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_.UID]>>;
|
3186
|
+
function uidAsInner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
3187
|
+
function uidToAddress(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
3188
|
+
function uidToBytes(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
3189
|
+
function uidToInner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3190
|
+
}
|
759
3191
|
}
|
760
3192
|
export declare namespace object_bag {
|
761
3193
|
interface ObjectBag {
|
@@ -766,6 +3198,80 @@ export declare namespace object_bag {
|
|
766
3198
|
const TYPE_QNAME = "0x2::object_bag::ObjectBag";
|
767
3199
|
function type(): TypeDescriptor<ObjectBag>;
|
768
3200
|
}
|
3201
|
+
namespace builder {
|
3202
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
3203
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3204
|
+
T0 | TransactionArgument,
|
3205
|
+
T1 | TransactionArgument
|
3206
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3207
|
+
TransactionArgument,
|
3208
|
+
TransactionArgument,
|
3209
|
+
TransactionArgument
|
3210
|
+
];
|
3211
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
3212
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3213
|
+
T0 | TransactionArgument
|
3214
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3215
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
3216
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3217
|
+
T0 | TransactionArgument
|
3218
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3219
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
3220
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3221
|
+
T0 | TransactionArgument
|
3222
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3223
|
+
function containsWithType<T0 = any, T1 = any>(tx: Transaction, args: [
|
3224
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3225
|
+
T0 | TransactionArgument
|
3226
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3227
|
+
function destroyEmpty(tx: Transaction, args: [object_bag.ObjectBag | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3228
|
+
function isEmpty(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3229
|
+
function length(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3230
|
+
function new_(tx: Transaction, args: []): TransactionArgument & [];
|
3231
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
3232
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3233
|
+
T0 | TransactionArgument
|
3234
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3235
|
+
function valueId<T0 = any>(tx: Transaction, args: [
|
3236
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3237
|
+
T0 | TransactionArgument
|
3238
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3239
|
+
}
|
3240
|
+
namespace view {
|
3241
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
3242
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3243
|
+
T0 | TransactionArgument,
|
3244
|
+
T1 | TransactionArgument
|
3245
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3246
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
3247
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3248
|
+
T0 | TransactionArgument
|
3249
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3250
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
3251
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3252
|
+
T0 | TransactionArgument
|
3253
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3254
|
+
function contains<T0 = any>(client: SuiClient, args: [
|
3255
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3256
|
+
T0 | TransactionArgument
|
3257
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3258
|
+
function containsWithType<T0 = any, T1 = any>(client: SuiClient, args: [
|
3259
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3260
|
+
T0 | TransactionArgument
|
3261
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3262
|
+
function destroyEmpty(client: SuiClient, args: [object_bag.ObjectBag | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
3263
|
+
function isEmpty(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[boolean]>>;
|
3264
|
+
function length(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3265
|
+
function new_(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object_bag.ObjectBag]>>;
|
3266
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
3267
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3268
|
+
T0 | TransactionArgument
|
3269
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
3270
|
+
function valueId<T0 = any>(client: SuiClient, args: [
|
3271
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3272
|
+
T0 | TransactionArgument
|
3273
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
3274
|
+
}
|
769
3275
|
}
|
770
3276
|
export declare namespace object_table {
|
771
3277
|
interface ObjectTable<T0, T1> {
|
@@ -776,6 +3282,72 @@ export declare namespace object_table {
|
|
776
3282
|
const TYPE_QNAME = "0x2::object_table::ObjectTable";
|
777
3283
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<ObjectTable<T0, T1>>;
|
778
3284
|
}
|
3285
|
+
namespace builder {
|
3286
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
3287
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3288
|
+
T0 | TransactionArgument,
|
3289
|
+
T1 | TransactionArgument
|
3290
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3291
|
+
TransactionArgument,
|
3292
|
+
TransactionArgument,
|
3293
|
+
TransactionArgument
|
3294
|
+
];
|
3295
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
3296
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3297
|
+
T0 | TransactionArgument
|
3298
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3299
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
3300
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3301
|
+
T0 | TransactionArgument
|
3302
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3303
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
3304
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3305
|
+
T0 | TransactionArgument
|
3306
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3307
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [object_table.ObjectTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3308
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3309
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3310
|
+
function new_<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
3311
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
3312
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3313
|
+
T0 | TransactionArgument
|
3314
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3315
|
+
function valueId<T0 = any, T1 = any>(tx: Transaction, args: [
|
3316
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3317
|
+
T0 | TransactionArgument
|
3318
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3319
|
+
}
|
3320
|
+
namespace view {
|
3321
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
3322
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3323
|
+
T0 | TransactionArgument,
|
3324
|
+
T1 | TransactionArgument
|
3325
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3326
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
3327
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3328
|
+
T0 | TransactionArgument
|
3329
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3330
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
3331
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3332
|
+
T0 | TransactionArgument
|
3333
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3334
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
3335
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3336
|
+
T0 | TransactionArgument
|
3337
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3338
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [object_table.ObjectTable<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3339
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3340
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3341
|
+
function new_<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[object_table.ObjectTable<T0, T1>]>>;
|
3342
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
3343
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3344
|
+
T0 | TransactionArgument
|
3345
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
3346
|
+
function valueId<T0 = any, T1 = any>(client: SuiClient, args: [
|
3347
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3348
|
+
T0 | TransactionArgument
|
3349
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object_.ID>]>>;
|
3350
|
+
}
|
779
3351
|
}
|
780
3352
|
export declare class package_ extends SuiBaseProcessor {
|
781
3353
|
constructor(options: SuiBindOptions);
|
@@ -823,6 +3395,74 @@ export declare namespace package_ {
|
|
823
3395
|
const TYPE_QNAME = "0x2::package::UpgradeTicket";
|
824
3396
|
function type(): TypeDescriptor<UpgradeTicket>;
|
825
3397
|
}
|
3398
|
+
namespace builder {
|
3399
|
+
function additivePolicy(tx: Transaction, args: []): TransactionArgument & [];
|
3400
|
+
function authorizeUpgrade(tx: Transaction, args: [
|
3401
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3402
|
+
number | TransactionArgument,
|
3403
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3404
|
+
]): TransactionArgument & [
|
3405
|
+
TransactionArgument,
|
3406
|
+
TransactionArgument,
|
3407
|
+
TransactionArgument
|
3408
|
+
];
|
3409
|
+
function burnPublisher(tx: Transaction, args: [package_.Publisher | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3410
|
+
function claim<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3411
|
+
function claimAndKeep<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3412
|
+
function commitUpgrade(tx: Transaction, args: [
|
3413
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3414
|
+
package_.UpgradeReceipt | TransactionArgument
|
3415
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3416
|
+
function compatiblePolicy(tx: Transaction, args: []): TransactionArgument & [];
|
3417
|
+
function depOnlyPolicy(tx: Transaction, args: []): TransactionArgument & [];
|
3418
|
+
function fromModule<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3419
|
+
function fromPackage<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3420
|
+
function makeImmutable(tx: Transaction, args: [package_.UpgradeCap | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3421
|
+
function onlyAdditiveUpgrades(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3422
|
+
function onlyDepUpgrades(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3423
|
+
function publishedModule(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3424
|
+
function publishedPackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3425
|
+
function receiptCap(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3426
|
+
function receiptPackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3427
|
+
function ticketDigest(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3428
|
+
function ticketPackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3429
|
+
function ticketPolicy(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3430
|
+
function upgradePackage(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3431
|
+
function upgradePolicy(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3432
|
+
function version(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3433
|
+
}
|
3434
|
+
namespace view {
|
3435
|
+
function additivePolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
3436
|
+
function authorizeUpgrade(client: SuiClient, args: [
|
3437
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3438
|
+
number | TransactionArgument,
|
3439
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3440
|
+
]): Promise<TypedDevInspectResults<[package_.UpgradeTicket]>>;
|
3441
|
+
function burnPublisher(client: SuiClient, args: [package_.Publisher | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
3442
|
+
function claim<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[package_.Publisher]>>;
|
3443
|
+
function claimAndKeep<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3444
|
+
function commitUpgrade(client: SuiClient, args: [
|
3445
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3446
|
+
package_.UpgradeReceipt | TransactionArgument
|
3447
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
3448
|
+
function compatiblePolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
3449
|
+
function depOnlyPolicy(client: SuiClient, args: []): Promise<TypedDevInspectResults<[number]>>;
|
3450
|
+
function fromModule<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3451
|
+
function fromPackage<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3452
|
+
function makeImmutable(client: SuiClient, args: [package_.UpgradeCap | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
3453
|
+
function onlyAdditiveUpgrades(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
3454
|
+
function onlyDepUpgrades(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
3455
|
+
function publishedModule(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
3456
|
+
function publishedPackage(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
3457
|
+
function receiptCap(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3458
|
+
function receiptPackage(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3459
|
+
function ticketDigest(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
3460
|
+
function ticketPackage(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3461
|
+
function ticketPolicy(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
3462
|
+
function upgradePackage(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
3463
|
+
function upgradePolicy(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
3464
|
+
function version(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3465
|
+
}
|
826
3466
|
interface MakeImmutablePayload extends TypedFunctionPayload<[package_.UpgradeCap]> {
|
827
3467
|
arguments_decoded: [package_.UpgradeCap];
|
828
3468
|
type_arguments: [];
|
@@ -849,6 +3489,74 @@ export declare class pay extends SuiBaseProcessor {
|
|
849
3489
|
onEntrySplitVec(func: (call: pay.SplitVecPayload, ctx: SuiContext) => void, filter?: CallFilter, fetchConfig?: Partial<MoveFetchConfig>): pay;
|
850
3490
|
}
|
851
3491
|
export declare namespace pay {
|
3492
|
+
namespace builder {
|
3493
|
+
function divideAndKeep<T0 = any>(tx: Transaction, args: [
|
3494
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3495
|
+
bigint | TransactionArgument
|
3496
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3497
|
+
function join<T0 = any>(tx: Transaction, args: [
|
3498
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3499
|
+
coin.Coin<T0> | TransactionArgument
|
3500
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3501
|
+
function joinVec<T0 = any>(tx: Transaction, args: [
|
3502
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3503
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3504
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3505
|
+
function joinVecAndTransfer<T0 = any>(tx: Transaction, args: [
|
3506
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3507
|
+
string | TransactionArgument
|
3508
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3509
|
+
function keep<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3510
|
+
function split<T0 = any>(tx: Transaction, args: [
|
3511
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3512
|
+
bigint | TransactionArgument
|
3513
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3514
|
+
function splitAndTransfer<T0 = any>(tx: Transaction, args: [
|
3515
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3516
|
+
bigint | TransactionArgument,
|
3517
|
+
string | TransactionArgument
|
3518
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3519
|
+
TransactionArgument,
|
3520
|
+
TransactionArgument,
|
3521
|
+
TransactionArgument
|
3522
|
+
];
|
3523
|
+
function splitVec<T0 = any>(tx: Transaction, args: [
|
3524
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3525
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3526
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3527
|
+
}
|
3528
|
+
namespace view {
|
3529
|
+
function divideAndKeep<T0 = any>(client: SuiClient, args: [
|
3530
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3531
|
+
bigint | TransactionArgument
|
3532
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3533
|
+
function join<T0 = any>(client: SuiClient, args: [
|
3534
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3535
|
+
coin.Coin<T0> | TransactionArgument
|
3536
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3537
|
+
function joinVec<T0 = any>(client: SuiClient, args: [
|
3538
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3539
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3540
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3541
|
+
function joinVecAndTransfer<T0 = any>(client: SuiClient, args: [
|
3542
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3543
|
+
string | TransactionArgument
|
3544
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3545
|
+
function keep<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3546
|
+
function split<T0 = any>(client: SuiClient, args: [
|
3547
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3548
|
+
bigint | TransactionArgument
|
3549
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3550
|
+
function splitAndTransfer<T0 = any>(client: SuiClient, args: [
|
3551
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3552
|
+
bigint | TransactionArgument,
|
3553
|
+
string | TransactionArgument
|
3554
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3555
|
+
function splitVec<T0 = any>(client: SuiClient, args: [
|
3556
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3557
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3558
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3559
|
+
}
|
852
3560
|
interface DivideAndKeepPayload<T0 = any> extends TypedFunctionPayload<[string, bigint, string]> {
|
853
3561
|
arguments_decoded: [string, bigint, string];
|
854
3562
|
type_arguments: [string];
|
@@ -878,7 +3586,14 @@ export declare namespace pay {
|
|
878
3586
|
type_arguments: [string];
|
879
3587
|
}
|
880
3588
|
}
|
881
|
-
export declare namespace poseidon {
|
3589
|
+
export declare namespace poseidon {
|
3590
|
+
namespace builder {
|
3591
|
+
function poseidonBn254(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3592
|
+
}
|
3593
|
+
namespace view {
|
3594
|
+
function poseidonBn254(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3595
|
+
}
|
3596
|
+
}
|
882
3597
|
export declare namespace priority_queue {
|
883
3598
|
interface Entry<T0> {
|
884
3599
|
priority: bigint;
|
@@ -895,8 +3610,45 @@ export declare namespace priority_queue {
|
|
895
3610
|
const TYPE_QNAME = "0x2::priority_queue::PriorityQueue";
|
896
3611
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<PriorityQueue<T0>>;
|
897
3612
|
}
|
3613
|
+
namespace builder {
|
3614
|
+
function createEntries<T0 = any>(tx: Transaction, args: [
|
3615
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3616
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3617
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3618
|
+
function insert<T0 = any>(tx: Transaction, args: [
|
3619
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3620
|
+
bigint | TransactionArgument,
|
3621
|
+
T0 | TransactionArgument
|
3622
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3623
|
+
TransactionArgument,
|
3624
|
+
TransactionArgument,
|
3625
|
+
TransactionArgument
|
3626
|
+
];
|
3627
|
+
function new_<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3628
|
+
function newEntry<T0 = any>(tx: Transaction, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3629
|
+
function popMax<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3630
|
+
function priorities<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3631
|
+
}
|
3632
|
+
namespace view {
|
3633
|
+
function createEntries<T0 = any>(client: SuiClient, args: [
|
3634
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
3635
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
3636
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>[]]>>;
|
3637
|
+
function insert<T0 = any>(client: SuiClient, args: [
|
3638
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3639
|
+
bigint | TransactionArgument,
|
3640
|
+
T0 | TransactionArgument
|
3641
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3642
|
+
function new_<T0 = any>(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.PriorityQueue<T0>]>>;
|
3643
|
+
function newEntry<T0 = any>(client: SuiClient, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[priority_queue.Entry<T0>]>>;
|
3644
|
+
function popMax<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint, T0]>>;
|
3645
|
+
function priorities<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
3646
|
+
}
|
3647
|
+
}
|
3648
|
+
export declare namespace prover {
|
3649
|
+
namespace builder { }
|
3650
|
+
namespace view { }
|
898
3651
|
}
|
899
|
-
export declare namespace prover { }
|
900
3652
|
export declare namespace random {
|
901
3653
|
interface Random {
|
902
3654
|
id: object_.UID;
|
@@ -925,6 +3677,112 @@ export declare namespace random {
|
|
925
3677
|
const TYPE_QNAME = "0x2::random::RandomInner";
|
926
3678
|
function type(): TypeDescriptor<RandomInner>;
|
927
3679
|
}
|
3680
|
+
namespace builder {
|
3681
|
+
function generateBool(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3682
|
+
function generateBytes(tx: Transaction, args: [
|
3683
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3684
|
+
number | TransactionArgument
|
3685
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3686
|
+
function generateU128(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3687
|
+
function generateU128InRange(tx: Transaction, args: [
|
3688
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3689
|
+
bigint | TransactionArgument,
|
3690
|
+
bigint | TransactionArgument
|
3691
|
+
]): TransactionArgument & [
|
3692
|
+
TransactionArgument,
|
3693
|
+
TransactionArgument,
|
3694
|
+
TransactionArgument
|
3695
|
+
];
|
3696
|
+
function generateU16(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3697
|
+
function generateU16InRange(tx: Transaction, args: [
|
3698
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3699
|
+
number | TransactionArgument,
|
3700
|
+
number | TransactionArgument
|
3701
|
+
]): TransactionArgument & [
|
3702
|
+
TransactionArgument,
|
3703
|
+
TransactionArgument,
|
3704
|
+
TransactionArgument
|
3705
|
+
];
|
3706
|
+
function generateU256(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3707
|
+
function generateU32(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3708
|
+
function generateU32InRange(tx: Transaction, args: [
|
3709
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3710
|
+
number | TransactionArgument,
|
3711
|
+
number | TransactionArgument
|
3712
|
+
]): TransactionArgument & [
|
3713
|
+
TransactionArgument,
|
3714
|
+
TransactionArgument,
|
3715
|
+
TransactionArgument
|
3716
|
+
];
|
3717
|
+
function generateU64(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3718
|
+
function generateU64InRange(tx: Transaction, args: [
|
3719
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3720
|
+
bigint | TransactionArgument,
|
3721
|
+
bigint | TransactionArgument
|
3722
|
+
]): TransactionArgument & [
|
3723
|
+
TransactionArgument,
|
3724
|
+
TransactionArgument,
|
3725
|
+
TransactionArgument
|
3726
|
+
];
|
3727
|
+
function generateU8(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3728
|
+
function generateU8InRange(tx: Transaction, args: [
|
3729
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3730
|
+
number | TransactionArgument,
|
3731
|
+
number | TransactionArgument
|
3732
|
+
]): TransactionArgument & [
|
3733
|
+
TransactionArgument,
|
3734
|
+
TransactionArgument,
|
3735
|
+
TransactionArgument
|
3736
|
+
];
|
3737
|
+
function newGenerator(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
3738
|
+
function shuffle<T0 = any>(tx: Transaction, args: [
|
3739
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3740
|
+
string | TransactionObjectArgument | TransactionArgument
|
3741
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3742
|
+
}
|
3743
|
+
namespace view {
|
3744
|
+
function generateBool(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[boolean]>>;
|
3745
|
+
function generateBytes(client: SuiClient, args: [
|
3746
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3747
|
+
number | TransactionArgument
|
3748
|
+
]): Promise<TypedDevInspectResults<[number[]]>>;
|
3749
|
+
function generateU128(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3750
|
+
function generateU128InRange(client: SuiClient, args: [
|
3751
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3752
|
+
bigint | TransactionArgument,
|
3753
|
+
bigint | TransactionArgument
|
3754
|
+
]): Promise<TypedDevInspectResults<[bigint]>>;
|
3755
|
+
function generateU16(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
3756
|
+
function generateU16InRange(client: SuiClient, args: [
|
3757
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3758
|
+
number | TransactionArgument,
|
3759
|
+
number | TransactionArgument
|
3760
|
+
]): Promise<TypedDevInspectResults<[number]>>;
|
3761
|
+
function generateU256(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3762
|
+
function generateU32(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
3763
|
+
function generateU32InRange(client: SuiClient, args: [
|
3764
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3765
|
+
number | TransactionArgument,
|
3766
|
+
number | TransactionArgument
|
3767
|
+
]): Promise<TypedDevInspectResults<[number]>>;
|
3768
|
+
function generateU64(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
3769
|
+
function generateU64InRange(client: SuiClient, args: [
|
3770
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3771
|
+
bigint | TransactionArgument,
|
3772
|
+
bigint | TransactionArgument
|
3773
|
+
]): Promise<TypedDevInspectResults<[bigint]>>;
|
3774
|
+
function generateU8(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number]>>;
|
3775
|
+
function generateU8InRange(client: SuiClient, args: [
|
3776
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3777
|
+
number | TransactionArgument,
|
3778
|
+
number | TransactionArgument
|
3779
|
+
]): Promise<TypedDevInspectResults<[number]>>;
|
3780
|
+
function newGenerator(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[random.RandomGenerator]>>;
|
3781
|
+
function shuffle<T0 = any>(client: SuiClient, args: [
|
3782
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3783
|
+
string | TransactionObjectArgument | TransactionArgument
|
3784
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3785
|
+
}
|
928
3786
|
}
|
929
3787
|
export declare class sui extends SuiBaseProcessor {
|
930
3788
|
constructor(options: SuiBindOptions);
|
@@ -940,6 +3798,18 @@ export declare namespace sui {
|
|
940
3798
|
const TYPE_QNAME = "0x2::sui::SUI";
|
941
3799
|
function type(): TypeDescriptor<SUI>;
|
942
3800
|
}
|
3801
|
+
namespace builder {
|
3802
|
+
function transfer(tx: Transaction, args: [
|
3803
|
+
coin.Coin<sui.SUI> | TransactionArgument,
|
3804
|
+
string | TransactionArgument
|
3805
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3806
|
+
}
|
3807
|
+
namespace view {
|
3808
|
+
function transfer(client: SuiClient, args: [
|
3809
|
+
coin.Coin<sui.SUI> | TransactionArgument,
|
3810
|
+
string | TransactionArgument
|
3811
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
3812
|
+
}
|
943
3813
|
interface TransferPayload extends TypedFunctionPayload<[coin.Coin<sui.SUI>, string]> {
|
944
3814
|
arguments_decoded: [coin.Coin<sui.SUI>, string];
|
945
3815
|
type_arguments: [];
|
@@ -954,6 +3824,66 @@ export declare namespace table {
|
|
954
3824
|
const TYPE_QNAME = "0x2::table::Table";
|
955
3825
|
function type<T0, T1>(arg0?: TypeDescriptor<T0>, arg1?: TypeDescriptor<T1>): TypeDescriptor<Table<T0, T1>>;
|
956
3826
|
}
|
3827
|
+
namespace builder {
|
3828
|
+
function add<T0 = any, T1 = any>(tx: Transaction, args: [
|
3829
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3830
|
+
T0 | TransactionArgument,
|
3831
|
+
T1 | TransactionArgument
|
3832
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
3833
|
+
TransactionArgument,
|
3834
|
+
TransactionArgument,
|
3835
|
+
TransactionArgument
|
3836
|
+
];
|
3837
|
+
function borrow<T0 = any, T1 = any>(tx: Transaction, args: [
|
3838
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3839
|
+
T0 | TransactionArgument
|
3840
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3841
|
+
function borrowMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
3842
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3843
|
+
T0 | TransactionArgument
|
3844
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3845
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
3846
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3847
|
+
T0 | TransactionArgument
|
3848
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3849
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3850
|
+
function drop<T0 = any, T1 = any>(tx: Transaction, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3851
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3852
|
+
function length<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
3853
|
+
function new_<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
3854
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
3855
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3856
|
+
T0 | TransactionArgument
|
3857
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3858
|
+
}
|
3859
|
+
namespace view {
|
3860
|
+
function add<T0 = any, T1 = any>(client: SuiClient, args: [
|
3861
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3862
|
+
T0 | TransactionArgument,
|
3863
|
+
T1 | TransactionArgument
|
3864
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3865
|
+
function borrow<T0 = any, T1 = any>(client: SuiClient, args: [
|
3866
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3867
|
+
T0 | TransactionArgument
|
3868
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3869
|
+
function borrowMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
3870
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3871
|
+
T0 | TransactionArgument
|
3872
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3873
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
3874
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3875
|
+
T0 | TransactionArgument
|
3876
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3877
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3878
|
+
function drop<T0 = any, T1 = any>(client: SuiClient, args: [table.Table<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
3879
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3880
|
+
function length<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3881
|
+
function new_<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[table.Table<T0, T1>]>>;
|
3882
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
3883
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3884
|
+
T0 | TransactionArgument
|
3885
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T1]>>;
|
3886
|
+
}
|
957
3887
|
}
|
958
3888
|
export declare namespace table_vec {
|
959
3889
|
interface TableVec<T0> {
|
@@ -963,6 +3893,70 @@ export declare namespace table_vec {
|
|
963
3893
|
const TYPE_QNAME = "0x2::table_vec::TableVec";
|
964
3894
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TableVec<T0>>;
|
965
3895
|
}
|
3896
|
+
namespace builder {
|
3897
|
+
function borrow<T0 = any>(tx: Transaction, args: [
|
3898
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3899
|
+
bigint | TransactionArgument
|
3900
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3901
|
+
function borrowMut<T0 = any>(tx: Transaction, args: [
|
3902
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3903
|
+
bigint | TransactionArgument
|
3904
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3905
|
+
function destroyEmpty<T0 = any>(tx: Transaction, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3906
|
+
function drop<T0 = any>(tx: Transaction, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3907
|
+
function empty<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
3908
|
+
function isEmpty<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3909
|
+
function length<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3910
|
+
function popBack<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3911
|
+
function pushBack<T0 = any>(tx: Transaction, args: [
|
3912
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3913
|
+
T0 | TransactionArgument
|
3914
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3915
|
+
function singleton<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
3916
|
+
function swap<T0 = any>(tx: Transaction, args: [
|
3917
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3918
|
+
bigint | TransactionArgument,
|
3919
|
+
bigint | TransactionArgument
|
3920
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
3921
|
+
TransactionArgument,
|
3922
|
+
TransactionArgument,
|
3923
|
+
TransactionArgument
|
3924
|
+
];
|
3925
|
+
function swapRemove<T0 = any>(tx: Transaction, args: [
|
3926
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3927
|
+
bigint | TransactionArgument
|
3928
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
3929
|
+
}
|
3930
|
+
namespace view {
|
3931
|
+
function borrow<T0 = any>(client: SuiClient, args: [
|
3932
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3933
|
+
bigint | TransactionArgument
|
3934
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3935
|
+
function borrowMut<T0 = any>(client: SuiClient, args: [
|
3936
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3937
|
+
bigint | TransactionArgument
|
3938
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
3939
|
+
function destroyEmpty<T0 = any>(client: SuiClient, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3940
|
+
function drop<T0 = any>(client: SuiClient, args: [table_vec.TableVec<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3941
|
+
function empty<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
3942
|
+
function isEmpty<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
3943
|
+
function length<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
3944
|
+
function popBack<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3945
|
+
function pushBack<T0 = any>(client: SuiClient, args: [
|
3946
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3947
|
+
T0 | TransactionArgument
|
3948
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3949
|
+
function singleton<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[table_vec.TableVec<T0>]>>;
|
3950
|
+
function swap<T0 = any>(client: SuiClient, args: [
|
3951
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3952
|
+
bigint | TransactionArgument,
|
3953
|
+
bigint | TransactionArgument
|
3954
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
3955
|
+
function swapRemove<T0 = any>(client: SuiClient, args: [
|
3956
|
+
string | TransactionObjectArgument | TransactionArgument,
|
3957
|
+
bigint | TransactionArgument
|
3958
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
3959
|
+
}
|
966
3960
|
}
|
967
3961
|
export declare class token extends SuiBaseProcessor {
|
968
3962
|
constructor(options: SuiBindOptions);
|
@@ -1032,6 +4026,338 @@ export declare namespace token {
|
|
1032
4026
|
data_decoded: TokenPolicyCreated<any>;
|
1033
4027
|
type_arguments: [string];
|
1034
4028
|
}
|
4029
|
+
namespace builder {
|
4030
|
+
function action<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4031
|
+
function addApproval<T0 = any, T1 = any>(tx: Transaction, args: [
|
4032
|
+
T1 | TransactionArgument,
|
4033
|
+
string | TransactionObjectArgument | TransactionArgument
|
4034
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4035
|
+
function addRuleConfig<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4036
|
+
T1 | TransactionArgument,
|
4037
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4038
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4039
|
+
T2 | TransactionArgument
|
4040
|
+
], typeArguments: [
|
4041
|
+
TypeDescriptor<T0> | string,
|
4042
|
+
TypeDescriptor<T1> | string,
|
4043
|
+
TypeDescriptor<T2> | string
|
4044
|
+
]): TransactionArgument & [
|
4045
|
+
TransactionArgument,
|
4046
|
+
TransactionArgument,
|
4047
|
+
TransactionArgument,
|
4048
|
+
TransactionArgument
|
4049
|
+
];
|
4050
|
+
function addRuleForAction<T0 = any, T1 = any>(tx: Transaction, args: [
|
4051
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4052
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4053
|
+
string | TransactionArgument
|
4054
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
4055
|
+
TransactionArgument,
|
4056
|
+
TransactionArgument,
|
4057
|
+
TransactionArgument
|
4058
|
+
];
|
4059
|
+
function allow<T0 = any>(tx: Transaction, args: [
|
4060
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4061
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4062
|
+
string | TransactionArgument
|
4063
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4064
|
+
TransactionArgument,
|
4065
|
+
TransactionArgument,
|
4066
|
+
TransactionArgument
|
4067
|
+
];
|
4068
|
+
function amount<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4069
|
+
function approvals<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4070
|
+
function burn<T0 = any>(tx: Transaction, args: [
|
4071
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4072
|
+
token.Token<T0> | TransactionArgument
|
4073
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4074
|
+
function confirmRequest<T0 = any>(tx: Transaction, args: [
|
4075
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4076
|
+
token.ActionRequest<T0> | TransactionArgument
|
4077
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4078
|
+
function confirmRequestMut<T0 = any>(tx: Transaction, args: [
|
4079
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4080
|
+
token.ActionRequest<T0> | TransactionArgument
|
4081
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4082
|
+
function confirmWithPolicyCap<T0 = any>(tx: Transaction, args: [
|
4083
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4084
|
+
token.ActionRequest<T0> | TransactionArgument
|
4085
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4086
|
+
function confirmWithTreasuryCap<T0 = any>(tx: Transaction, args: [
|
4087
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4088
|
+
token.ActionRequest<T0> | TransactionArgument
|
4089
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4090
|
+
function destroyZero<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4091
|
+
function disallow<T0 = any>(tx: Transaction, args: [
|
4092
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4093
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4094
|
+
string | TransactionArgument
|
4095
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4096
|
+
TransactionArgument,
|
4097
|
+
TransactionArgument,
|
4098
|
+
TransactionArgument
|
4099
|
+
];
|
4100
|
+
function flush<T0 = any>(tx: Transaction, args: [
|
4101
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4102
|
+
string | TransactionObjectArgument | TransactionArgument
|
4103
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4104
|
+
function fromCoin<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4105
|
+
function fromCoinAction(tx: Transaction, args: []): TransactionArgument & [];
|
4106
|
+
function hasRuleConfig<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4107
|
+
function hasRuleConfigWithType<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [
|
4108
|
+
TypeDescriptor<T0> | string,
|
4109
|
+
TypeDescriptor<T1> | string,
|
4110
|
+
TypeDescriptor<T2> | string
|
4111
|
+
]): TransactionArgument & [TransactionArgument];
|
4112
|
+
function isAllowed<T0 = any>(tx: Transaction, args: [
|
4113
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4114
|
+
string | TransactionObjectArgument | TransactionArgument
|
4115
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4116
|
+
function join<T0 = any>(tx: Transaction, args: [
|
4117
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4118
|
+
token.Token<T0> | TransactionArgument
|
4119
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4120
|
+
function keep<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4121
|
+
function mint<T0 = any>(tx: Transaction, args: [
|
4122
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4123
|
+
bigint | TransactionArgument
|
4124
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4125
|
+
function newPolicy<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4126
|
+
function newRequest<T0 = any>(tx: Transaction, args: [
|
4127
|
+
string | TransactionArgument,
|
4128
|
+
bigint | TransactionArgument,
|
4129
|
+
_0x1.option.Option<string> | TransactionArgument,
|
4130
|
+
_0x1.option.Option<balance.Balance<T0>> | TransactionArgument
|
4131
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4132
|
+
TransactionArgument,
|
4133
|
+
TransactionArgument,
|
4134
|
+
TransactionArgument,
|
4135
|
+
TransactionArgument
|
4136
|
+
];
|
4137
|
+
function recipient<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4138
|
+
function removeRuleConfig<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4139
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4140
|
+
string | TransactionObjectArgument | TransactionArgument
|
4141
|
+
], typeArguments: [
|
4142
|
+
TypeDescriptor<T0> | string,
|
4143
|
+
TypeDescriptor<T1> | string,
|
4144
|
+
TypeDescriptor<T2> | string
|
4145
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4146
|
+
function removeRuleForAction<T0 = any, T1 = any>(tx: Transaction, args: [
|
4147
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4148
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4149
|
+
string | TransactionArgument
|
4150
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
4151
|
+
TransactionArgument,
|
4152
|
+
TransactionArgument,
|
4153
|
+
TransactionArgument
|
4154
|
+
];
|
4155
|
+
function ruleConfig<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4156
|
+
T1 | TransactionArgument,
|
4157
|
+
string | TransactionObjectArgument | TransactionArgument
|
4158
|
+
], typeArguments: [
|
4159
|
+
TypeDescriptor<T0> | string,
|
4160
|
+
TypeDescriptor<T1> | string,
|
4161
|
+
TypeDescriptor<T2> | string
|
4162
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4163
|
+
function ruleConfigMut<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4164
|
+
T1 | TransactionArgument,
|
4165
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4166
|
+
string | TransactionObjectArgument | TransactionArgument
|
4167
|
+
], typeArguments: [
|
4168
|
+
TypeDescriptor<T0> | string,
|
4169
|
+
TypeDescriptor<T1> | string,
|
4170
|
+
TypeDescriptor<T2> | string
|
4171
|
+
]): TransactionArgument & [
|
4172
|
+
TransactionArgument,
|
4173
|
+
TransactionArgument,
|
4174
|
+
TransactionArgument
|
4175
|
+
];
|
4176
|
+
function rules<T0 = any>(tx: Transaction, args: [
|
4177
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4178
|
+
string | TransactionObjectArgument | TransactionArgument
|
4179
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4180
|
+
function sender<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4181
|
+
function sharePolicy<T0 = any>(tx: Transaction, args: [token.TokenPolicy<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4182
|
+
function spend<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4183
|
+
function spendAction(tx: Transaction, args: []): TransactionArgument & [];
|
4184
|
+
function spent<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4185
|
+
function spentBalance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4186
|
+
function split<T0 = any>(tx: Transaction, args: [
|
4187
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4188
|
+
bigint | TransactionArgument
|
4189
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4190
|
+
function toCoin<T0 = any>(tx: Transaction, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4191
|
+
function toCoinAction(tx: Transaction, args: []): TransactionArgument & [];
|
4192
|
+
function transfer<T0 = any>(tx: Transaction, args: [
|
4193
|
+
token.Token<T0> | TransactionArgument,
|
4194
|
+
string | TransactionArgument
|
4195
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4196
|
+
function transferAction(tx: Transaction, args: []): TransactionArgument & [];
|
4197
|
+
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4198
|
+
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
4199
|
+
}
|
4200
|
+
namespace view {
|
4201
|
+
function action<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4202
|
+
function addApproval<T0 = any, T1 = any>(client: SuiClient, args: [
|
4203
|
+
T1 | TransactionArgument,
|
4204
|
+
string | TransactionObjectArgument | TransactionArgument
|
4205
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4206
|
+
function addRuleConfig<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4207
|
+
T1 | TransactionArgument,
|
4208
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4209
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4210
|
+
T2 | TransactionArgument
|
4211
|
+
], typeArguments: [
|
4212
|
+
TypeDescriptor<T0> | string,
|
4213
|
+
TypeDescriptor<T1> | string,
|
4214
|
+
TypeDescriptor<T2> | string
|
4215
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
4216
|
+
function addRuleForAction<T0 = any, T1 = any>(client: SuiClient, args: [
|
4217
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4218
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4219
|
+
string | TransactionArgument
|
4220
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4221
|
+
function allow<T0 = any>(client: SuiClient, args: [
|
4222
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4223
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4224
|
+
string | TransactionArgument
|
4225
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4226
|
+
function amount<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4227
|
+
function approvals<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<_0x1.type_name.TypeName>]>>;
|
4228
|
+
function burn<T0 = any>(client: SuiClient, args: [
|
4229
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4230
|
+
token.Token<T0> | TransactionArgument
|
4231
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4232
|
+
function confirmRequest<T0 = any>(client: SuiClient, args: [
|
4233
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4234
|
+
token.ActionRequest<T0> | TransactionArgument
|
4235
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
4236
|
+
string,
|
4237
|
+
bigint,
|
4238
|
+
string,
|
4239
|
+
_0x1.option.Option<string>
|
4240
|
+
]>>;
|
4241
|
+
function confirmRequestMut<T0 = any>(client: SuiClient, args: [
|
4242
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4243
|
+
token.ActionRequest<T0> | TransactionArgument
|
4244
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
4245
|
+
string,
|
4246
|
+
bigint,
|
4247
|
+
string,
|
4248
|
+
_0x1.option.Option<string>
|
4249
|
+
]>>;
|
4250
|
+
function confirmWithPolicyCap<T0 = any>(client: SuiClient, args: [
|
4251
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4252
|
+
token.ActionRequest<T0> | TransactionArgument
|
4253
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
4254
|
+
string,
|
4255
|
+
bigint,
|
4256
|
+
string,
|
4257
|
+
_0x1.option.Option<string>
|
4258
|
+
]>>;
|
4259
|
+
function confirmWithTreasuryCap<T0 = any>(client: SuiClient, args: [
|
4260
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4261
|
+
token.ActionRequest<T0> | TransactionArgument
|
4262
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
4263
|
+
string,
|
4264
|
+
bigint,
|
4265
|
+
string,
|
4266
|
+
_0x1.option.Option<string>
|
4267
|
+
]>>;
|
4268
|
+
function destroyZero<T0 = any>(client: SuiClient, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4269
|
+
function disallow<T0 = any>(client: SuiClient, args: [
|
4270
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4271
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4272
|
+
string | TransactionArgument
|
4273
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4274
|
+
function flush<T0 = any>(client: SuiClient, args: [
|
4275
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4276
|
+
string | TransactionObjectArgument | TransactionArgument
|
4277
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4278
|
+
function fromCoin<T0 = any>(client: SuiClient, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>, token.ActionRequest<T0>]>>;
|
4279
|
+
function fromCoinAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4280
|
+
function hasRuleConfig<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4281
|
+
function hasRuleConfigWithType<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [
|
4282
|
+
TypeDescriptor<T0> | string,
|
4283
|
+
TypeDescriptor<T1> | string,
|
4284
|
+
TypeDescriptor<T2> | string
|
4285
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
4286
|
+
function isAllowed<T0 = any>(client: SuiClient, args: [
|
4287
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4288
|
+
string | TransactionObjectArgument | TransactionArgument
|
4289
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4290
|
+
function join<T0 = any>(client: SuiClient, args: [
|
4291
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4292
|
+
token.Token<T0> | TransactionArgument
|
4293
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4294
|
+
function keep<T0 = any>(client: SuiClient, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4295
|
+
function mint<T0 = any>(client: SuiClient, args: [
|
4296
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4297
|
+
bigint | TransactionArgument
|
4298
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
4299
|
+
function newPolicy<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.TokenPolicy<T0>, token.TokenPolicyCap<T0>]>>;
|
4300
|
+
function newRequest<T0 = any>(client: SuiClient, args: [
|
4301
|
+
string | TransactionArgument,
|
4302
|
+
bigint | TransactionArgument,
|
4303
|
+
_0x1.option.Option<string> | TransactionArgument,
|
4304
|
+
_0x1.option.Option<balance.Balance<T0>> | TransactionArgument
|
4305
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
|
4306
|
+
function recipient<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<string>]>>;
|
4307
|
+
function removeRuleConfig<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4308
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4309
|
+
string | TransactionObjectArgument | TransactionArgument
|
4310
|
+
], typeArguments: [
|
4311
|
+
TypeDescriptor<T0> | string,
|
4312
|
+
TypeDescriptor<T1> | string,
|
4313
|
+
TypeDescriptor<T2> | string
|
4314
|
+
]): Promise<TypedDevInspectResults<[T2]>>;
|
4315
|
+
function removeRuleForAction<T0 = any, T1 = any>(client: SuiClient, args: [
|
4316
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4317
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4318
|
+
string | TransactionArgument
|
4319
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4320
|
+
function ruleConfig<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4321
|
+
T1 | TransactionArgument,
|
4322
|
+
string | TransactionObjectArgument | TransactionArgument
|
4323
|
+
], typeArguments: [
|
4324
|
+
TypeDescriptor<T0> | string,
|
4325
|
+
TypeDescriptor<T1> | string,
|
4326
|
+
TypeDescriptor<T2> | string
|
4327
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
4328
|
+
function ruleConfigMut<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4329
|
+
T1 | TransactionArgument,
|
4330
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4331
|
+
string | TransactionObjectArgument | TransactionArgument
|
4332
|
+
], typeArguments: [
|
4333
|
+
TypeDescriptor<T0> | string,
|
4334
|
+
TypeDescriptor<T1> | string,
|
4335
|
+
TypeDescriptor<T2> | string
|
4336
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
4337
|
+
function rules<T0 = any>(client: SuiClient, args: [
|
4338
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4339
|
+
string | TransactionObjectArgument | TransactionArgument
|
4340
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<_0x1.type_name.TypeName>]>>;
|
4341
|
+
function sender<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4342
|
+
function sharePolicy<T0 = any>(client: SuiClient, args: [token.TokenPolicy<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4343
|
+
function spend<T0 = any>(client: SuiClient, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
|
4344
|
+
function spendAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4345
|
+
function spent<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
4346
|
+
function spentBalance<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4347
|
+
function split<T0 = any>(client: SuiClient, args: [
|
4348
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4349
|
+
bigint | TransactionArgument
|
4350
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
4351
|
+
function toCoin<T0 = any>(client: SuiClient, args: [token.Token<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>, token.ActionRequest<T0>]>>;
|
4352
|
+
function toCoinAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4353
|
+
function transfer<T0 = any>(client: SuiClient, args: [
|
4354
|
+
token.Token<T0> | TransactionArgument,
|
4355
|
+
string | TransactionArgument
|
4356
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.ActionRequest<T0>]>>;
|
4357
|
+
function transferAction(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4358
|
+
function value<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4359
|
+
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[token.Token<T0>]>>;
|
4360
|
+
}
|
1035
4361
|
}
|
1036
4362
|
export declare namespace transfer {
|
1037
4363
|
interface Receiving<T0> {
|
@@ -1042,6 +4368,46 @@ export declare namespace transfer {
|
|
1042
4368
|
const TYPE_QNAME = "0x2::transfer::Receiving";
|
1043
4369
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Receiving<T0>>;
|
1044
4370
|
}
|
4371
|
+
namespace builder {
|
4372
|
+
function freezeObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4373
|
+
function freezeObjectImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4374
|
+
function publicFreezeObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4375
|
+
function publicReceive<T0 = any>(tx: Transaction, args: [
|
4376
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4377
|
+
transfer.Receiving<T0> | TransactionArgument
|
4378
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4379
|
+
function publicShareObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4380
|
+
function publicTransfer<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4381
|
+
function receive<T0 = any>(tx: Transaction, args: [
|
4382
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4383
|
+
transfer.Receiving<T0> | TransactionArgument
|
4384
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4385
|
+
function receivingObjectId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4386
|
+
function shareObject<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4387
|
+
function shareObjectImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4388
|
+
function transfer<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4389
|
+
function transferImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4390
|
+
}
|
4391
|
+
namespace view {
|
4392
|
+
function freezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4393
|
+
function freezeObjectImpl<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4394
|
+
function publicFreezeObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4395
|
+
function publicReceive<T0 = any>(client: SuiClient, args: [
|
4396
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4397
|
+
transfer.Receiving<T0> | TransactionArgument
|
4398
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
4399
|
+
function publicShareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4400
|
+
function publicTransfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4401
|
+
function receive<T0 = any>(client: SuiClient, args: [
|
4402
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4403
|
+
transfer.Receiving<T0> | TransactionArgument
|
4404
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
4405
|
+
function receivingObjectId<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
4406
|
+
function shareObject<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4407
|
+
function shareObjectImpl<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4408
|
+
function transfer<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4409
|
+
function transferImpl<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4410
|
+
}
|
1045
4411
|
}
|
1046
4412
|
export declare class transfer_policy extends SuiBaseProcessor {
|
1047
4413
|
constructor(options: SuiBindOptions);
|
@@ -1113,6 +4479,159 @@ export declare namespace transfer_policy {
|
|
1113
4479
|
const TYPE_QNAME = "0x2::transfer_policy::TransferRequest";
|
1114
4480
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TransferRequest<T0>>;
|
1115
4481
|
}
|
4482
|
+
namespace builder {
|
4483
|
+
function addReceipt<T0 = any, T1 = any>(tx: Transaction, args: [
|
4484
|
+
T1 | TransactionArgument,
|
4485
|
+
string | TransactionObjectArgument | TransactionArgument
|
4486
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4487
|
+
function addRule<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4488
|
+
T1 | TransactionArgument,
|
4489
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4490
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4491
|
+
T2 | TransactionArgument
|
4492
|
+
], typeArguments: [
|
4493
|
+
TypeDescriptor<T0> | string,
|
4494
|
+
TypeDescriptor<T1> | string,
|
4495
|
+
TypeDescriptor<T2> | string
|
4496
|
+
]): TransactionArgument & [
|
4497
|
+
TransactionArgument,
|
4498
|
+
TransactionArgument,
|
4499
|
+
TransactionArgument,
|
4500
|
+
TransactionArgument
|
4501
|
+
];
|
4502
|
+
function addToBalance<T0 = any, T1 = any>(tx: Transaction, args: [
|
4503
|
+
T1 | TransactionArgument,
|
4504
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4505
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
4506
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
4507
|
+
TransactionArgument,
|
4508
|
+
TransactionArgument,
|
4509
|
+
TransactionArgument
|
4510
|
+
];
|
4511
|
+
function confirmRequest<T0 = any>(tx: Transaction, args: [
|
4512
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4513
|
+
transfer_policy.TransferRequest<T0> | TransactionArgument
|
4514
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4515
|
+
function default_<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4516
|
+
function destroyAndWithdraw<T0 = any>(tx: Transaction, args: [
|
4517
|
+
transfer_policy.TransferPolicy<T0> | TransactionArgument,
|
4518
|
+
transfer_policy.TransferPolicyCap<T0> | TransactionArgument
|
4519
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4520
|
+
function from<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4521
|
+
function getRule<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4522
|
+
T1 | TransactionArgument,
|
4523
|
+
string | TransactionObjectArgument | TransactionArgument
|
4524
|
+
], typeArguments: [
|
4525
|
+
TypeDescriptor<T0> | string,
|
4526
|
+
TypeDescriptor<T1> | string,
|
4527
|
+
TypeDescriptor<T2> | string
|
4528
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4529
|
+
function hasRule<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4530
|
+
function item<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4531
|
+
function new_<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4532
|
+
function newRequest<T0 = any>(tx: Transaction, args: [
|
4533
|
+
object_.ID | TransactionArgument,
|
4534
|
+
bigint | TransactionArgument,
|
4535
|
+
object_.ID | TransactionArgument
|
4536
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4537
|
+
TransactionArgument,
|
4538
|
+
TransactionArgument,
|
4539
|
+
TransactionArgument
|
4540
|
+
];
|
4541
|
+
function paid<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4542
|
+
function removeRule<T0 = any, T1 = any, T2 = any>(tx: Transaction, args: [
|
4543
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4544
|
+
string | TransactionObjectArgument | TransactionArgument
|
4545
|
+
], typeArguments: [
|
4546
|
+
TypeDescriptor<T0> | string,
|
4547
|
+
TypeDescriptor<T1> | string,
|
4548
|
+
TypeDescriptor<T2> | string
|
4549
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4550
|
+
function rules<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4551
|
+
function uid<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4552
|
+
function uidMutAsOwner<T0 = any>(tx: Transaction, args: [
|
4553
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4554
|
+
string | TransactionObjectArgument | TransactionArgument
|
4555
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4556
|
+
function withdraw<T0 = any>(tx: Transaction, args: [
|
4557
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4558
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4559
|
+
_0x1.option.Option<bigint> | TransactionArgument
|
4560
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4561
|
+
TransactionArgument,
|
4562
|
+
TransactionArgument,
|
4563
|
+
TransactionArgument
|
4564
|
+
];
|
4565
|
+
}
|
4566
|
+
namespace view {
|
4567
|
+
function addReceipt<T0 = any, T1 = any>(client: SuiClient, args: [
|
4568
|
+
T1 | TransactionArgument,
|
4569
|
+
string | TransactionObjectArgument | TransactionArgument
|
4570
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4571
|
+
function addRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4572
|
+
T1 | TransactionArgument,
|
4573
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4574
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4575
|
+
T2 | TransactionArgument
|
4576
|
+
], typeArguments: [
|
4577
|
+
TypeDescriptor<T0> | string,
|
4578
|
+
TypeDescriptor<T1> | string,
|
4579
|
+
TypeDescriptor<T2> | string
|
4580
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
4581
|
+
function addToBalance<T0 = any, T1 = any>(client: SuiClient, args: [
|
4582
|
+
T1 | TransactionArgument,
|
4583
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4584
|
+
coin.Coin<sui.SUI> | TransactionArgument
|
4585
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4586
|
+
function confirmRequest<T0 = any>(client: SuiClient, args: [
|
4587
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4588
|
+
transfer_policy.TransferRequest<T0> | TransactionArgument
|
4589
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID, bigint, object_.ID]>>;
|
4590
|
+
function destroyAndWithdraw<T0 = any>(client: SuiClient, args: [
|
4591
|
+
transfer_policy.TransferPolicy<T0> | TransactionArgument,
|
4592
|
+
transfer_policy.TransferPolicyCap<T0> | TransactionArgument
|
4593
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
4594
|
+
function from<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
4595
|
+
function getRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4596
|
+
T1 | TransactionArgument,
|
4597
|
+
string | TransactionObjectArgument | TransactionArgument
|
4598
|
+
], typeArguments: [
|
4599
|
+
TypeDescriptor<T0> | string,
|
4600
|
+
TypeDescriptor<T1> | string,
|
4601
|
+
TypeDescriptor<T2> | string
|
4602
|
+
]): Promise<TypedDevInspectResults<[string]>>;
|
4603
|
+
function hasRule<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4604
|
+
function item<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object_.ID]>>;
|
4605
|
+
function new_<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
4606
|
+
transfer_policy.TransferPolicy<T0>,
|
4607
|
+
transfer_policy.TransferPolicyCap<T0>
|
4608
|
+
]>>;
|
4609
|
+
function newRequest<T0 = any>(client: SuiClient, args: [
|
4610
|
+
object_.ID | TransactionArgument,
|
4611
|
+
bigint | TransactionArgument,
|
4612
|
+
object_.ID | TransactionArgument
|
4613
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[transfer_policy.TransferRequest<T0>]>>;
|
4614
|
+
function paid<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4615
|
+
function removeRule<T0 = any, T1 = any, T2 = any>(client: SuiClient, args: [
|
4616
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4617
|
+
string | TransactionObjectArgument | TransactionArgument
|
4618
|
+
], typeArguments: [
|
4619
|
+
TypeDescriptor<T0> | string,
|
4620
|
+
TypeDescriptor<T1> | string,
|
4621
|
+
TypeDescriptor<T2> | string
|
4622
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
4623
|
+
function rules<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4624
|
+
function uid<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4625
|
+
function uidMutAsOwner<T0 = any>(client: SuiClient, args: [
|
4626
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4627
|
+
string | TransactionObjectArgument | TransactionArgument
|
4628
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4629
|
+
function withdraw<T0 = any>(client: SuiClient, args: [
|
4630
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4631
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4632
|
+
_0x1.option.Option<bigint> | TransactionArgument
|
4633
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<sui.SUI>]>>;
|
4634
|
+
}
|
1116
4635
|
interface DefaultPayload<T0 = any> extends TypedFunctionPayload<[string, string]> {
|
1117
4636
|
arguments_decoded: [string, string];
|
1118
4637
|
type_arguments: [string];
|
@@ -1130,8 +4649,29 @@ export declare namespace tx_context {
|
|
1130
4649
|
const TYPE_QNAME = "0x2::tx_context::TxContext";
|
1131
4650
|
function type(): TypeDescriptor<TxContext>;
|
1132
4651
|
}
|
4652
|
+
namespace builder {
|
4653
|
+
function digest(tx: Transaction, args: []): TransactionArgument & [];
|
4654
|
+
function epoch(tx: Transaction, args: []): TransactionArgument & [];
|
4655
|
+
function epochTimestampMs(tx: Transaction, args: []): TransactionArgument & [];
|
4656
|
+
function freshObjectAddress(tx: Transaction, args: []): TransactionArgument & [];
|
4657
|
+
function sender(tx: Transaction, args: []): TransactionArgument & [];
|
4658
|
+
}
|
4659
|
+
namespace view {
|
4660
|
+
function digest(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4661
|
+
function epoch(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
4662
|
+
function epochTimestampMs(client: SuiClient, args: []): Promise<TypedDevInspectResults<[bigint]>>;
|
4663
|
+
function freshObjectAddress(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4664
|
+
function sender(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
4665
|
+
}
|
4666
|
+
}
|
4667
|
+
export declare namespace types {
|
4668
|
+
namespace builder {
|
4669
|
+
function isOneTimeWitness<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4670
|
+
}
|
4671
|
+
namespace view {
|
4672
|
+
function isOneTimeWitness<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4673
|
+
}
|
1133
4674
|
}
|
1134
|
-
export declare namespace types { }
|
1135
4675
|
export declare class url extends SuiBaseProcessor {
|
1136
4676
|
constructor(options: SuiBindOptions);
|
1137
4677
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
@@ -1150,8 +4690,50 @@ export declare namespace url {
|
|
1150
4690
|
data_decoded: Url;
|
1151
4691
|
type_arguments: [];
|
1152
4692
|
}
|
4693
|
+
namespace builder {
|
4694
|
+
function innerUrl(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4695
|
+
function newUnsafe(tx: Transaction, args: [_0x1.ascii.String | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4696
|
+
function newUnsafeFromBytes(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4697
|
+
function update(tx: Transaction, args: [
|
4698
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4699
|
+
_0x1.ascii.String | TransactionArgument
|
4700
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4701
|
+
}
|
4702
|
+
namespace view {
|
4703
|
+
function innerUrl(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[_0x1.ascii.String]>>;
|
4704
|
+
function newUnsafe(client: SuiClient, args: [_0x1.ascii.String | TransactionArgument]): Promise<TypedDevInspectResults<[url.Url]>>;
|
4705
|
+
function newUnsafeFromBytes(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): Promise<TypedDevInspectResults<[url.Url]>>;
|
4706
|
+
function update(client: SuiClient, args: [
|
4707
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4708
|
+
_0x1.ascii.String | TransactionArgument
|
4709
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
4710
|
+
}
|
4711
|
+
}
|
4712
|
+
export declare namespace vdf {
|
4713
|
+
namespace builder {
|
4714
|
+
function hashToInput(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4715
|
+
function vdfVerify(tx: Transaction, args: [
|
4716
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4717
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4718
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4719
|
+
bigint | TransactionArgument
|
4720
|
+
]): TransactionArgument & [
|
4721
|
+
TransactionArgument,
|
4722
|
+
TransactionArgument,
|
4723
|
+
TransactionArgument,
|
4724
|
+
TransactionArgument
|
4725
|
+
];
|
4726
|
+
}
|
4727
|
+
namespace view {
|
4728
|
+
function hashToInput(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[number[]]>>;
|
4729
|
+
function vdfVerify(client: SuiClient, args: [
|
4730
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4731
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4732
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4733
|
+
bigint | TransactionArgument
|
4734
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
4735
|
+
}
|
1153
4736
|
}
|
1154
|
-
export declare namespace vdf { }
|
1155
4737
|
export declare class vec_map extends SuiBaseProcessor {
|
1156
4738
|
constructor(options: SuiBindOptions);
|
1157
4739
|
static DEFAULT_OPTIONS: SuiBindOptions;
|
@@ -1183,6 +4765,126 @@ export declare namespace vec_map {
|
|
1183
4765
|
data_decoded: VecMap<any, any>;
|
1184
4766
|
type_arguments: [string, string];
|
1185
4767
|
}
|
4768
|
+
namespace builder {
|
4769
|
+
function contains<T0 = any, T1 = any>(tx: Transaction, args: [
|
4770
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4771
|
+
string | TransactionObjectArgument | TransactionArgument
|
4772
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4773
|
+
function destroyEmpty<T0 = any, T1 = any>(tx: Transaction, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4774
|
+
function empty<T0 = any, T1 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [];
|
4775
|
+
function fromKeysValues<T0 = any, T1 = any>(tx: Transaction, args: [
|
4776
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
4777
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
4778
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4779
|
+
function get<T0 = any, T1 = any>(tx: Transaction, args: [
|
4780
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4781
|
+
string | TransactionObjectArgument | TransactionArgument
|
4782
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4783
|
+
function getEntryByIdx<T0 = any, T1 = any>(tx: Transaction, args: [
|
4784
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4785
|
+
bigint | TransactionArgument
|
4786
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4787
|
+
function getEntryByIdxMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
4788
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4789
|
+
bigint | TransactionArgument
|
4790
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4791
|
+
function getIdx<T0 = any, T1 = any>(tx: Transaction, args: [
|
4792
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4793
|
+
string | TransactionObjectArgument | TransactionArgument
|
4794
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4795
|
+
function getIdxOpt<T0 = any, T1 = any>(tx: Transaction, args: [
|
4796
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4797
|
+
string | TransactionObjectArgument | TransactionArgument
|
4798
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4799
|
+
function getMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
4800
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4801
|
+
string | TransactionObjectArgument | TransactionArgument
|
4802
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4803
|
+
function insert<T0 = any, T1 = any>(tx: Transaction, args: [
|
4804
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4805
|
+
T0 | TransactionArgument,
|
4806
|
+
T1 | TransactionArgument
|
4807
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [
|
4808
|
+
TransactionArgument,
|
4809
|
+
TransactionArgument,
|
4810
|
+
TransactionArgument
|
4811
|
+
];
|
4812
|
+
function intoKeysValues<T0 = any, T1 = any>(tx: Transaction, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4813
|
+
function isEmpty<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4814
|
+
function keys<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4815
|
+
function pop<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4816
|
+
function remove<T0 = any, T1 = any>(tx: Transaction, args: [
|
4817
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4818
|
+
string | TransactionObjectArgument | TransactionArgument
|
4819
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4820
|
+
function removeEntryByIdx<T0 = any, T1 = any>(tx: Transaction, args: [
|
4821
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4822
|
+
bigint | TransactionArgument
|
4823
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4824
|
+
function size<T0 = any, T1 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument];
|
4825
|
+
function tryGet<T0 = any, T1 = any>(tx: Transaction, args: [
|
4826
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4827
|
+
string | TransactionObjectArgument | TransactionArgument
|
4828
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4829
|
+
}
|
4830
|
+
namespace view {
|
4831
|
+
function contains<T0 = any, T1 = any>(client: SuiClient, args: [
|
4832
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4833
|
+
string | TransactionObjectArgument | TransactionArgument
|
4834
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4835
|
+
function destroyEmpty<T0 = any, T1 = any>(client: SuiClient, args: [vec_map.VecMap<T0, T1> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4836
|
+
function empty<T0 = any, T1 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
4837
|
+
function fromKeysValues<T0 = any, T1 = any>(client: SuiClient, args: [
|
4838
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
4839
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
4840
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[vec_map.VecMap<T0, T1>]>>;
|
4841
|
+
function get<T0 = any, T1 = any>(client: SuiClient, args: [
|
4842
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4843
|
+
string | TransactionObjectArgument | TransactionArgument
|
4844
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4845
|
+
function getEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
4846
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4847
|
+
bigint | TransactionArgument
|
4848
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
4849
|
+
function getEntryByIdxMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
4850
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4851
|
+
bigint | TransactionArgument
|
4852
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string, string]>>;
|
4853
|
+
function getIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
4854
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4855
|
+
string | TransactionObjectArgument | TransactionArgument
|
4856
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4857
|
+
function getIdxOpt<T0 = any, T1 = any>(client: SuiClient, args: [
|
4858
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4859
|
+
string | TransactionObjectArgument | TransactionArgument
|
4860
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
4861
|
+
function getMut<T0 = any, T1 = any>(client: SuiClient, args: [
|
4862
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4863
|
+
string | TransactionObjectArgument | TransactionArgument
|
4864
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4865
|
+
function insert<T0 = any, T1 = any>(client: SuiClient, args: [
|
4866
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4867
|
+
T0 | TransactionArgument,
|
4868
|
+
T1 | TransactionArgument
|
4869
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
4870
|
+
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]>>;
|
4871
|
+
function isEmpty<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4872
|
+
function keys<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
4873
|
+
function pop<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
4874
|
+
function remove<T0 = any, T1 = any>(client: SuiClient, args: [
|
4875
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4876
|
+
string | TransactionObjectArgument | TransactionArgument
|
4877
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
4878
|
+
function removeEntryByIdx<T0 = any, T1 = any>(client: SuiClient, args: [
|
4879
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4880
|
+
bigint | TransactionArgument
|
4881
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[T0, T1]>>;
|
4882
|
+
function size<T0 = any, T1 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4883
|
+
function tryGet<T0 = any, T1 = any>(client: SuiClient, args: [
|
4884
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4885
|
+
string | TransactionObjectArgument | TransactionArgument
|
4886
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>>;
|
4887
|
+
}
|
1186
4888
|
}
|
1187
4889
|
export declare class vec_set extends SuiBaseProcessor {
|
1188
4890
|
constructor(options: SuiBindOptions);
|
@@ -1202,6 +4904,48 @@ export declare namespace vec_set {
|
|
1202
4904
|
data_decoded: VecSet<any>;
|
1203
4905
|
type_arguments: [string];
|
1204
4906
|
}
|
4907
|
+
namespace builder {
|
4908
|
+
function contains<T0 = any>(tx: Transaction, args: [
|
4909
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4910
|
+
string | TransactionObjectArgument | TransactionArgument
|
4911
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4912
|
+
function empty<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
4913
|
+
function fromKeys<T0 = any>(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4914
|
+
function insert<T0 = any>(tx: Transaction, args: [
|
4915
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4916
|
+
T0 | TransactionArgument
|
4917
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4918
|
+
function intoKeys<T0 = any>(tx: Transaction, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4919
|
+
function isEmpty<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4920
|
+
function keys<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4921
|
+
function remove<T0 = any>(tx: Transaction, args: [
|
4922
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4923
|
+
string | TransactionObjectArgument | TransactionArgument
|
4924
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4925
|
+
function singleton<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4926
|
+
function size<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4927
|
+
}
|
4928
|
+
namespace view {
|
4929
|
+
function contains<T0 = any>(client: SuiClient, args: [
|
4930
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4931
|
+
string | TransactionObjectArgument | TransactionArgument
|
4932
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4933
|
+
function empty<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
4934
|
+
function fromKeys<T0 = any>(client: SuiClient, args: [(string | TransactionObjectArgument)[] | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
4935
|
+
function insert<T0 = any>(client: SuiClient, args: [
|
4936
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4937
|
+
T0 | TransactionArgument
|
4938
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4939
|
+
function intoKeys<T0 = any>(client: SuiClient, args: [vec_set.VecSet<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0[] | string]>>;
|
4940
|
+
function isEmpty<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
4941
|
+
function keys<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4942
|
+
function remove<T0 = any>(client: SuiClient, args: [
|
4943
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4944
|
+
string | TransactionObjectArgument | TransactionArgument
|
4945
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4946
|
+
function singleton<T0 = any>(client: SuiClient, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[vec_set.VecSet<T0>]>>;
|
4947
|
+
function size<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
4948
|
+
}
|
1205
4949
|
}
|
1206
4950
|
export declare namespace versioned {
|
1207
4951
|
interface VersionChangeCap {
|
@@ -1220,6 +4964,39 @@ export declare namespace versioned {
|
|
1220
4964
|
const TYPE_QNAME = "0x2::versioned::Versioned";
|
1221
4965
|
function type(): TypeDescriptor<Versioned>;
|
1222
4966
|
}
|
4967
|
+
namespace builder {
|
4968
|
+
function create<T0 = any>(tx: Transaction, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
4969
|
+
function destroy<T0 = any>(tx: Transaction, args: [versioned.Versioned | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4970
|
+
function loadValue<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4971
|
+
function loadValueMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4972
|
+
function removeValueForUpgrade<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
4973
|
+
function upgrade<T0 = any>(tx: Transaction, args: [
|
4974
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4975
|
+
bigint | TransactionArgument,
|
4976
|
+
T0 | TransactionArgument,
|
4977
|
+
versioned.VersionChangeCap | TransactionArgument
|
4978
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
4979
|
+
TransactionArgument,
|
4980
|
+
TransactionArgument,
|
4981
|
+
TransactionArgument,
|
4982
|
+
TransactionArgument
|
4983
|
+
];
|
4984
|
+
function version(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
4985
|
+
}
|
4986
|
+
namespace view {
|
4987
|
+
function create<T0 = any>(client: SuiClient, args: [bigint | TransactionArgument, T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[versioned.Versioned]>>;
|
4988
|
+
function destroy<T0 = any>(client: SuiClient, args: [versioned.Versioned | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
4989
|
+
function loadValue<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4990
|
+
function loadValueMut<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
4991
|
+
function removeValueForUpgrade<T0 = any>(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0, versioned.VersionChangeCap]>>;
|
4992
|
+
function upgrade<T0 = any>(client: SuiClient, args: [
|
4993
|
+
string | TransactionObjectArgument | TransactionArgument,
|
4994
|
+
bigint | TransactionArgument,
|
4995
|
+
T0 | TransactionArgument,
|
4996
|
+
versioned.VersionChangeCap | TransactionArgument
|
4997
|
+
], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
4998
|
+
function version(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[bigint]>>;
|
4999
|
+
}
|
1223
5000
|
}
|
1224
5001
|
export declare namespace zklogin_verified_id {
|
1225
5002
|
interface VerifiedID {
|
@@ -1234,6 +5011,65 @@ export declare namespace zklogin_verified_id {
|
|
1234
5011
|
const TYPE_QNAME = "0x2::zklogin_verified_id::VerifiedID";
|
1235
5012
|
function type(): TypeDescriptor<VerifiedID>;
|
1236
5013
|
}
|
5014
|
+
namespace builder {
|
5015
|
+
function audience(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5016
|
+
function checkZkloginId(tx: Transaction, args: [
|
5017
|
+
string | TransactionArgument,
|
5018
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5019
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5020
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5021
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5022
|
+
bigint | TransactionArgument
|
5023
|
+
]): TransactionArgument & [
|
5024
|
+
TransactionArgument,
|
5025
|
+
TransactionArgument,
|
5026
|
+
TransactionArgument,
|
5027
|
+
TransactionArgument,
|
5028
|
+
TransactionArgument,
|
5029
|
+
TransactionArgument
|
5030
|
+
];
|
5031
|
+
function delete_(tx: Transaction, args: [zklogin_verified_id.VerifiedID | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5032
|
+
function issuer(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5033
|
+
function keyClaimName(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5034
|
+
function keyClaimValue(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5035
|
+
function owner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5036
|
+
function verifyZkloginId(tx: Transaction, args: [
|
5037
|
+
string | TransactionArgument,
|
5038
|
+
string | TransactionArgument,
|
5039
|
+
string | TransactionArgument,
|
5040
|
+
string | TransactionArgument,
|
5041
|
+
bigint | TransactionArgument
|
5042
|
+
]): TransactionArgument & [
|
5043
|
+
TransactionArgument,
|
5044
|
+
TransactionArgument,
|
5045
|
+
TransactionArgument,
|
5046
|
+
TransactionArgument,
|
5047
|
+
TransactionArgument
|
5048
|
+
];
|
5049
|
+
}
|
5050
|
+
namespace view {
|
5051
|
+
function audience(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5052
|
+
function checkZkloginId(client: SuiClient, args: [
|
5053
|
+
string | TransactionArgument,
|
5054
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5055
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5056
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5057
|
+
string | TransactionObjectArgument | TransactionArgument,
|
5058
|
+
bigint | TransactionArgument
|
5059
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
5060
|
+
function delete_(client: SuiClient, args: [zklogin_verified_id.VerifiedID | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
5061
|
+
function issuer(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5062
|
+
function keyClaimName(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5063
|
+
function keyClaimValue(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5064
|
+
function owner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5065
|
+
function verifyZkloginId(client: SuiClient, args: [
|
5066
|
+
string | TransactionArgument,
|
5067
|
+
string | TransactionArgument,
|
5068
|
+
string | TransactionArgument,
|
5069
|
+
string | TransactionArgument,
|
5070
|
+
bigint | TransactionArgument
|
5071
|
+
]): Promise<TypedDevInspectResults<[]>>;
|
5072
|
+
}
|
1237
5073
|
}
|
1238
5074
|
export declare namespace zklogin_verified_issuer {
|
1239
5075
|
interface VerifiedIssuer {
|
@@ -1245,6 +5081,32 @@ export declare namespace zklogin_verified_issuer {
|
|
1245
5081
|
const TYPE_QNAME = "0x2::zklogin_verified_issuer::VerifiedIssuer";
|
1246
5082
|
function type(): TypeDescriptor<VerifiedIssuer>;
|
1247
5083
|
}
|
5084
|
+
namespace builder {
|
5085
|
+
function checkZkloginIssuer(tx: Transaction, args: [
|
5086
|
+
string | TransactionArgument,
|
5087
|
+
bigint | TransactionArgument,
|
5088
|
+
string | TransactionObjectArgument | TransactionArgument
|
5089
|
+
]): TransactionArgument & [
|
5090
|
+
TransactionArgument,
|
5091
|
+
TransactionArgument,
|
5092
|
+
TransactionArgument
|
5093
|
+
];
|
5094
|
+
function delete_(tx: Transaction, args: [zklogin_verified_issuer.VerifiedIssuer | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5095
|
+
function issuer(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5096
|
+
function owner(tx: Transaction, args: [string | TransactionObjectArgument | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
5097
|
+
function verifyZkloginIssuer(tx: Transaction, args: [bigint | TransactionArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
5098
|
+
}
|
5099
|
+
namespace view {
|
5100
|
+
function checkZkloginIssuer(client: SuiClient, args: [
|
5101
|
+
string | TransactionArgument,
|
5102
|
+
bigint | TransactionArgument,
|
5103
|
+
string | TransactionObjectArgument | TransactionArgument
|
5104
|
+
]): Promise<TypedDevInspectResults<[boolean]>>;
|
5105
|
+
function delete_(client: SuiClient, args: [zklogin_verified_issuer.VerifiedIssuer | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
5106
|
+
function issuer(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5107
|
+
function owner(client: SuiClient, args: [string | TransactionObjectArgument | TransactionArgument]): Promise<TypedDevInspectResults<[string]>>;
|
5108
|
+
function verifyZkloginIssuer(client: SuiClient, args: [bigint | TransactionArgument, string | TransactionArgument]): Promise<TypedDevInspectResults<[]>>;
|
5109
|
+
}
|
1248
5110
|
}
|
1249
5111
|
export declare function loadAllTypes(coder: MoveCoder): void;
|
1250
5112
|
//# sourceMappingURL=0x2.d.ts.map
|