@typemove/sui 1.13.3 → 1.13.4-rc.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/esm/builtin/0x1.d.ts +157 -0
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +1599 -67
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +483 -10
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +2028 -71
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +34 -0
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +81 -1
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/move-coder.test.js.map +1 -1
- package/package.json +10 -31
- package/src/abis/0x1.json +1643 -220
- package/src/abis/0x2.json +3768 -372
- package/src/abis/0x3.json +114 -0
- package/src/builtin/0x1.ts +2265 -150
- package/src/builtin/0x2.ts +3737 -792
- package/src/builtin/0x3.ts +139 -1
- package/builtin/0x1/package.json +0 -5
- package/builtin/0x2/package.json +0 -5
- package/builtin/0x3/package.json +0 -5
- package/builtin/package.json +0 -5
- package/codegen/package.json +0 -5
- package/dist/cjs/builtin/0x1.d.ts +0 -761
- package/dist/cjs/builtin/0x1.d.ts.map +0 -1
- package/dist/cjs/builtin/0x1.js +0 -4505
- package/dist/cjs/builtin/0x1.js.map +0 -1
- package/dist/cjs/builtin/0x2.d.ts +0 -4029
- package/dist/cjs/builtin/0x2.d.ts.map +0 -1
- package/dist/cjs/builtin/0x2.js +0 -16458
- package/dist/cjs/builtin/0x2.js.map +0 -1
- package/dist/cjs/builtin/0x3.d.ts +0 -1930
- package/dist/cjs/builtin/0x3.d.ts.map +0 -1
- package/dist/cjs/builtin/0x3.js +0 -6071
- package/dist/cjs/builtin/0x3.js.map +0 -1
- package/dist/cjs/builtin/index.d.ts +0 -4
- package/dist/cjs/builtin/index.d.ts.map +0 -1
- package/dist/cjs/builtin/index.js +0 -11
- package/dist/cjs/builtin/index.js.map +0 -1
- package/dist/cjs/codegen/codegen.d.ts +0 -20
- package/dist/cjs/codegen/codegen.d.ts.map +0 -1
- package/dist/cjs/codegen/codegen.js +0 -251
- package/dist/cjs/codegen/codegen.js.map +0 -1
- package/dist/cjs/codegen/index.d.ts +0 -2
- package/dist/cjs/codegen/index.d.ts.map +0 -1
- package/dist/cjs/codegen/index.js +0 -5
- package/dist/cjs/codegen/index.js.map +0 -1
- package/dist/cjs/index.d.ts +0 -4
- package/dist/cjs/index.d.ts.map +0 -1
- package/dist/cjs/index.js +0 -11
- package/dist/cjs/index.js.map +0 -1
- package/dist/cjs/models.d.ts +0 -18
- package/dist/cjs/models.d.ts.map +0 -1
- package/dist/cjs/models.js +0 -5
- package/dist/cjs/models.js.map +0 -1
- package/dist/cjs/move-coder.d.ts +0 -26
- package/dist/cjs/move-coder.d.ts.map +0 -1
- package/dist/cjs/move-coder.js +0 -272
- package/dist/cjs/move-coder.js.map +0 -1
- package/dist/cjs/move-coder.test.d.ts +0 -2
- package/dist/cjs/move-coder.test.d.ts.map +0 -1
- package/dist/cjs/move-coder.test.js.map +0 -1
- package/dist/cjs/package.json +0 -3
- package/dist/cjs/sui-chain-adapter.d.ts +0 -15
- package/dist/cjs/sui-chain-adapter.d.ts.map +0 -1
- package/dist/cjs/sui-chain-adapter.js +0 -88
- package/dist/cjs/sui-chain-adapter.js.map +0 -1
- package/dist/cjs/to-internal.d.ts +0 -4
- package/dist/cjs/to-internal.d.ts.map +0 -1
- package/dist/cjs/to-internal.js +0 -99
- package/dist/cjs/to-internal.js.map +0 -1
- package/dist/cjs/transaction.d.ts +0 -15
- package/dist/cjs/transaction.d.ts.map +0 -1
- package/dist/cjs/transaction.js +0 -98
- package/dist/cjs/transaction.js.map +0 -1
|
@@ -33,6 +33,8 @@ export declare namespace accumulator {
|
|
|
33
33
|
namespace builder {
|
|
34
34
|
function accumulatorAddress<T0 = any>(tx: Transaction, args: [string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
35
35
|
function accumulatorKey<T0 = any>(tx: Transaction, args: [string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
36
|
+
function accumulatorU128Exists<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
37
|
+
function accumulatorU128Read<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
36
38
|
function createU128(tx: Transaction, args: [bigint | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
37
39
|
function destroyU128(tx: Transaction, args: [accumulator.U128 | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
38
40
|
function emitDepositEvent<T0 = any>(tx: Transaction, args: [
|
|
@@ -63,6 +65,10 @@ export declare namespace accumulator {
|
|
|
63
65
|
TransactionArgument,
|
|
64
66
|
TransactionArgument
|
|
65
67
|
];
|
|
68
|
+
function rootBorrowAccumulator<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
69
|
+
string | TransactionObjectArgument,
|
|
70
|
+
accumulator.Key<T0> | TransactionArgument
|
|
71
|
+
], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
66
72
|
function rootBorrowAccumulatorMut<T0 = any, T1 = any>(tx: Transaction, args: [
|
|
67
73
|
string | TransactionObjectArgument,
|
|
68
74
|
accumulator.Key<T0> | TransactionArgument
|
|
@@ -90,12 +96,15 @@ export declare namespace accumulator {
|
|
|
90
96
|
namespace view {
|
|
91
97
|
function accumulatorAddress<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
92
98
|
function accumulatorKey<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[accumulator.Key<T0>]>>;
|
|
99
|
+
function accumulatorU128Exists<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
100
|
+
function accumulatorU128Read<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
93
101
|
function createU128(client: SuiClient, args: [bigint]): Promise<TypedDevInspectResults<[accumulator.U128]>>;
|
|
94
102
|
function destroyU128(client: SuiClient, args: [accumulator.U128]): Promise<TypedDevInspectResults<[]>>;
|
|
95
103
|
function emitDepositEvent<T0 = any>(client: SuiClient, args: [string, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
96
104
|
function emitWithdrawEvent<T0 = any>(client: SuiClient, args: [string, string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
97
105
|
function isZeroU128(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
98
106
|
function rootAddAccumulator<T0 = any, T1 = any>(client: SuiClient, args: [string, accumulator.Key<T0>, T1], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
107
|
+
function rootBorrowAccumulator<T0 = any, T1 = any>(client: SuiClient, args: [string, accumulator.Key<T0>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
99
108
|
function rootBorrowAccumulatorMut<T0 = any, T1 = any>(client: SuiClient, args: [string, accumulator.Key<T0>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
100
109
|
function rootHasAccumulator<T0 = any, T1 = any>(client: SuiClient, args: [string, accumulator.Key<T0>], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
101
110
|
function rootId(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
@@ -105,6 +114,17 @@ export declare namespace accumulator {
|
|
|
105
114
|
}
|
|
106
115
|
}
|
|
107
116
|
export declare namespace accumulator_metadata {
|
|
117
|
+
interface AccumulatorObjectCountKey {
|
|
118
|
+
dummy_field: boolean;
|
|
119
|
+
}
|
|
120
|
+
namespace AccumulatorObjectCountKey {
|
|
121
|
+
const TYPE_QNAME = "0x2::accumulator_metadata::AccumulatorObjectCountKey";
|
|
122
|
+
function type(): TypeDescriptor<AccumulatorObjectCountKey>;
|
|
123
|
+
}
|
|
124
|
+
type AccumulatorObjectCountKeyInstance = TypedEventInstance<AccumulatorObjectCountKey> & {
|
|
125
|
+
data_decoded: AccumulatorObjectCountKey;
|
|
126
|
+
type_arguments: [];
|
|
127
|
+
};
|
|
108
128
|
interface Metadata<T0> {
|
|
109
129
|
fields: bag.Bag;
|
|
110
130
|
}
|
|
@@ -142,16 +162,19 @@ export declare namespace accumulator_metadata {
|
|
|
142
162
|
data_decoded: OwnerKey;
|
|
143
163
|
type_arguments: [];
|
|
144
164
|
};
|
|
145
|
-
namespace builder {
|
|
146
|
-
|
|
147
|
-
function removeAccumulatorMetadata<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
148
|
-
}
|
|
149
|
-
namespace view {
|
|
150
|
-
function createAccumulatorMetadata<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
151
|
-
function removeAccumulatorMetadata<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
152
|
-
}
|
|
165
|
+
namespace builder { }
|
|
166
|
+
namespace view { }
|
|
153
167
|
}
|
|
154
168
|
export declare namespace accumulator_settlement {
|
|
169
|
+
interface EventStreamHead {
|
|
170
|
+
mmr: bigint[];
|
|
171
|
+
checkpoint_seq: bigint;
|
|
172
|
+
num_events: bigint;
|
|
173
|
+
}
|
|
174
|
+
namespace EventStreamHead {
|
|
175
|
+
const TYPE_QNAME = "0x2::accumulator_settlement::EventStreamHead";
|
|
176
|
+
function type(): TypeDescriptor<EventStreamHead>;
|
|
177
|
+
}
|
|
155
178
|
namespace builder { }
|
|
156
179
|
namespace view { }
|
|
157
180
|
}
|
|
@@ -179,6 +202,45 @@ export declare namespace address {
|
|
|
179
202
|
function toU256(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
180
203
|
}
|
|
181
204
|
}
|
|
205
|
+
export declare namespace address_alias {
|
|
206
|
+
interface AddressAliasState {
|
|
207
|
+
id: object$.UID;
|
|
208
|
+
version: bigint;
|
|
209
|
+
}
|
|
210
|
+
namespace AddressAliasState {
|
|
211
|
+
const TYPE_QNAME = "0x2::address_alias::AddressAliasState";
|
|
212
|
+
function type(): TypeDescriptor<AddressAliasState>;
|
|
213
|
+
}
|
|
214
|
+
interface AddressAliases {
|
|
215
|
+
id: object$.UID;
|
|
216
|
+
aliases: vec_set.VecSet<string>;
|
|
217
|
+
}
|
|
218
|
+
namespace AddressAliases {
|
|
219
|
+
const TYPE_QNAME = "0x2::address_alias::AddressAliases";
|
|
220
|
+
function type(): TypeDescriptor<AddressAliases>;
|
|
221
|
+
}
|
|
222
|
+
interface AliasKey {
|
|
223
|
+
pos0: string;
|
|
224
|
+
}
|
|
225
|
+
namespace AliasKey {
|
|
226
|
+
const TYPE_QNAME = "0x2::address_alias::AliasKey";
|
|
227
|
+
function type(): TypeDescriptor<AliasKey>;
|
|
228
|
+
}
|
|
229
|
+
type AliasKeyInstance = TypedEventInstance<AliasKey> & {
|
|
230
|
+
data_decoded: AliasKey;
|
|
231
|
+
type_arguments: [];
|
|
232
|
+
};
|
|
233
|
+
namespace builder {
|
|
234
|
+
function add(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
235
|
+
function enable(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
236
|
+
function remove(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
237
|
+
function replaceAll(tx: Transaction, args: [
|
|
238
|
+
string | TransactionObjectArgument,
|
|
239
|
+
(string | TransactionObjectArgument)[] | TransactionArgument
|
|
240
|
+
]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
241
|
+
}
|
|
242
|
+
namespace view { }
|
|
243
|
+
}
|
|
182
244
|
export declare namespace authenticator_state {
|
|
183
245
|
interface ActiveJwk {
|
|
184
246
|
jwk_id: authenticator_state.JwkId;
|
|
@@ -295,6 +357,7 @@ export declare namespace balance {
|
|
|
295
357
|
}
|
|
296
358
|
namespace builder {
|
|
297
359
|
function createSupply<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
360
|
+
function createSupplyInternal<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
298
361
|
function decreaseSupply<T0 = any>(tx: Transaction, args: [
|
|
299
362
|
string | TransactionObjectArgument,
|
|
300
363
|
balance.Balance<T0> | TransactionArgument
|
|
@@ -306,23 +369,39 @@ export declare namespace balance {
|
|
|
306
369
|
string | TransactionObjectArgument,
|
|
307
370
|
balance.Balance<T0> | TransactionArgument
|
|
308
371
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
372
|
+
function redeemFunds<T0 = any>(tx: Transaction, args: [
|
|
373
|
+
funds_accumulator.Withdrawal<balance.Balance<T0>> | TransactionArgument
|
|
374
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
375
|
+
function sendFunds<T0 = any>(tx: Transaction, args: [
|
|
376
|
+
balance.Balance<T0> | TransactionArgument,
|
|
377
|
+
string | TransactionArgument
|
|
378
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
379
|
+
function settledFundsValue<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
309
380
|
function split<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
310
381
|
function supplyValue<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
311
382
|
function value<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
312
383
|
function withdrawAll<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
384
|
+
function withdrawFundsFromObject<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
313
385
|
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
314
386
|
}
|
|
315
387
|
namespace view {
|
|
316
388
|
function createSupply<T0 = any>(client: SuiClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
|
389
|
+
function createSupplyInternal<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
|
317
390
|
function decreaseSupply<T0 = any>(client: SuiClient, args: [string, balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
318
391
|
function destroySupply<T0 = any>(client: SuiClient, args: [balance.Supply<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
319
392
|
function destroyZero<T0 = any>(client: SuiClient, args: [balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
320
393
|
function increaseSupply<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
321
394
|
function join<T0 = any>(client: SuiClient, args: [string, balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
395
|
+
function redeemFunds<T0 = any>(client: SuiClient, args: [funds_accumulator.Withdrawal<balance.Balance<T0>>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
396
|
+
function sendFunds<T0 = any>(client: SuiClient, args: [balance.Balance<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
397
|
+
function settledFundsValue<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
322
398
|
function split<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
323
399
|
function supplyValue<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
324
400
|
function value<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
325
401
|
function withdrawAll<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
402
|
+
function withdrawFundsFromObject<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
403
|
+
funds_accumulator.Withdrawal<balance.Balance<T0>>
|
|
404
|
+
]>>;
|
|
326
405
|
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
327
406
|
}
|
|
328
407
|
}
|
|
@@ -719,6 +798,7 @@ export declare namespace coin {
|
|
|
719
798
|
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<TreasuryCap<T0>>;
|
|
720
799
|
}
|
|
721
800
|
namespace builder {
|
|
801
|
+
function allowGlobalPause<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
722
802
|
function balance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
723
803
|
function balanceMut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
724
804
|
function burn<T0 = any>(tx: Transaction, args: [
|
|
@@ -772,6 +852,7 @@ export declare namespace coin {
|
|
|
772
852
|
TransactionArgument,
|
|
773
853
|
TransactionArgument
|
|
774
854
|
];
|
|
855
|
+
function denyCapId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
775
856
|
function denyListAdd<T0 = any>(tx: Transaction, args: [
|
|
776
857
|
string | TransactionObjectArgument,
|
|
777
858
|
string | TransactionObjectArgument,
|
|
@@ -821,6 +902,7 @@ export declare namespace coin {
|
|
|
821
902
|
TransactionArgument,
|
|
822
903
|
TransactionArgument
|
|
823
904
|
];
|
|
905
|
+
function destroyMetadata<T0 = any>(tx: Transaction, args: [coin.CoinMetadata<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
824
906
|
function destroyZero<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
825
907
|
function divideIntoN<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
826
908
|
function fromBalance<T0 = any>(tx: Transaction, args: [balance.Balance<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
@@ -854,10 +936,29 @@ export declare namespace coin {
|
|
|
854
936
|
TransactionArgument
|
|
855
937
|
];
|
|
856
938
|
function mintBalance<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
939
|
+
function newCoinMetadata<T0 = any>(tx: Transaction, args: [
|
|
940
|
+
number | TransactionArgument,
|
|
941
|
+
string | TransactionArgument,
|
|
942
|
+
_0x1.ascii.String | TransactionArgument,
|
|
943
|
+
string | TransactionArgument,
|
|
944
|
+
_0x1.ascii.String | TransactionArgument
|
|
945
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
946
|
+
TransactionArgument,
|
|
947
|
+
TransactionArgument,
|
|
948
|
+
TransactionArgument,
|
|
949
|
+
TransactionArgument,
|
|
950
|
+
TransactionArgument
|
|
951
|
+
];
|
|
952
|
+
function newDenyCapV2<T0 = any>(tx: Transaction, args: [boolean | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
953
|
+
function newTreasuryCap<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
857
954
|
function put<T0 = any>(tx: Transaction, args: [
|
|
858
955
|
string | TransactionObjectArgument,
|
|
859
956
|
coin.Coin<T0> | TransactionArgument
|
|
860
957
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
958
|
+
function redeemFunds<T0 = any>(tx: Transaction, args: [
|
|
959
|
+
funds_accumulator.Withdrawal<balance.Balance<T0>> | TransactionArgument
|
|
960
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
961
|
+
function sendFunds<T0 = any>(tx: Transaction, args: [coin.Coin<T0> | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
861
962
|
function split<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
862
963
|
function supply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
863
964
|
function supplyImmut<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
@@ -865,6 +966,19 @@ export declare namespace coin {
|
|
|
865
966
|
function take<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
866
967
|
function totalSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
867
968
|
function treasuryIntoSupply<T0 = any>(tx: Transaction, args: [coin.TreasuryCap<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
969
|
+
function updateCoinMetadata<T0 = any>(tx: Transaction, args: [
|
|
970
|
+
string | TransactionObjectArgument,
|
|
971
|
+
string | TransactionArgument,
|
|
972
|
+
_0x1.ascii.String | TransactionArgument,
|
|
973
|
+
string | TransactionArgument,
|
|
974
|
+
_0x1.ascii.String | TransactionArgument
|
|
975
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
976
|
+
TransactionArgument,
|
|
977
|
+
TransactionArgument,
|
|
978
|
+
TransactionArgument,
|
|
979
|
+
TransactionArgument,
|
|
980
|
+
TransactionArgument
|
|
981
|
+
];
|
|
868
982
|
function updateDescription<T0 = any>(tx: Transaction, args: [
|
|
869
983
|
string | TransactionObjectArgument,
|
|
870
984
|
string | TransactionObjectArgument,
|
|
@@ -905,6 +1019,7 @@ export declare namespace coin {
|
|
|
905
1019
|
function zero<T0 = any>(tx: Transaction, args: [], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [];
|
|
906
1020
|
}
|
|
907
1021
|
namespace view {
|
|
1022
|
+
function allowGlobalPause<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
908
1023
|
function balance<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
909
1024
|
function balanceMut<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
910
1025
|
function burn<T0 = any>(client: SuiClient, args: [string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
@@ -941,6 +1056,7 @@ export declare namespace coin {
|
|
|
941
1056
|
coin.DenyCapV2<T0>,
|
|
942
1057
|
coin.CoinMetadata<T0>
|
|
943
1058
|
]>>;
|
|
1059
|
+
function denyCapId<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[object$.ID]>>;
|
|
944
1060
|
function denyListAdd<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
945
1061
|
function denyListContains<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
946
1062
|
function denyListRemove<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
@@ -952,6 +1068,7 @@ export declare namespace coin {
|
|
|
952
1068
|
function denyListV2IsGlobalPauseEnabledCurrentEpoch<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
953
1069
|
function denyListV2IsGlobalPauseEnabledNextEpoch<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
954
1070
|
function denyListV2Remove<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1071
|
+
function destroyMetadata<T0 = any>(client: SuiClient, args: [coin.CoinMetadata<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
955
1072
|
function destroyZero<T0 = any>(client: SuiClient, args: [coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
956
1073
|
function divideIntoN<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>[]]>>;
|
|
957
1074
|
function fromBalance<T0 = any>(client: SuiClient, args: [balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
@@ -966,7 +1083,12 @@ export declare namespace coin {
|
|
|
966
1083
|
function mint<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
967
1084
|
function mintAndTransfer<T0 = any>(client: SuiClient, args: [string, bigint, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
968
1085
|
function mintBalance<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Balance<T0>]>>;
|
|
1086
|
+
function newCoinMetadata<T0 = any>(client: SuiClient, args: [number, string, _0x1.ascii.String, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.CoinMetadata<T0>]>>;
|
|
1087
|
+
function newDenyCapV2<T0 = any>(client: SuiClient, args: [boolean], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.DenyCapV2<T0>]>>;
|
|
1088
|
+
function newTreasuryCap<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.TreasuryCap<T0>]>>;
|
|
969
1089
|
function put<T0 = any>(client: SuiClient, args: [string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1090
|
+
function redeemFunds<T0 = any>(client: SuiClient, args: [funds_accumulator.Withdrawal<balance.Balance<T0>>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
1091
|
+
function sendFunds<T0 = any>(client: SuiClient, args: [coin.Coin<T0>, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
970
1092
|
function split<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
971
1093
|
function supply<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
972
1094
|
function supplyImmut<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
@@ -974,6 +1096,7 @@ export declare namespace coin {
|
|
|
974
1096
|
function take<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
975
1097
|
function totalSupply<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
976
1098
|
function treasuryIntoSupply<T0 = any>(client: SuiClient, args: [coin.TreasuryCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[balance.Supply<T0>]>>;
|
|
1099
|
+
function updateCoinMetadata<T0 = any>(client: SuiClient, args: [string, string, _0x1.ascii.String, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
977
1100
|
function updateDescription<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
978
1101
|
function updateIconUrl<T0 = any>(client: SuiClient, args: [string, string, _0x1.ascii.String], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
979
1102
|
function updateName<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
@@ -982,6 +1105,304 @@ export declare namespace coin {
|
|
|
982
1105
|
function zero<T0 = any>(client: SuiClient, args: [], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.Coin<T0>]>>;
|
|
983
1106
|
}
|
|
984
1107
|
}
|
|
1108
|
+
export declare namespace coin_registry {
|
|
1109
|
+
interface MetadataCapState {
|
|
1110
|
+
fields: {};
|
|
1111
|
+
variant: "Claimed" | "Deleted" | "Unclaimed";
|
|
1112
|
+
}
|
|
1113
|
+
namespace MetadataCapState {
|
|
1114
|
+
const TYPE_QNAME = "0x2::coin_registry::MetadataCapState";
|
|
1115
|
+
function type(): TypeDescriptor<MetadataCapState>;
|
|
1116
|
+
}
|
|
1117
|
+
interface RegulatedState {
|
|
1118
|
+
fields: {};
|
|
1119
|
+
variant: "Regulated" | "Unknown" | "Unregulated";
|
|
1120
|
+
}
|
|
1121
|
+
namespace RegulatedState {
|
|
1122
|
+
const TYPE_QNAME = "0x2::coin_registry::RegulatedState";
|
|
1123
|
+
function type(): TypeDescriptor<RegulatedState>;
|
|
1124
|
+
}
|
|
1125
|
+
interface SupplyState<T0> {
|
|
1126
|
+
fields: {};
|
|
1127
|
+
variant: "BurnOnly" | "Fixed" | "Unknown";
|
|
1128
|
+
}
|
|
1129
|
+
namespace SupplyState {
|
|
1130
|
+
const TYPE_QNAME = "0x2::coin_registry::SupplyState";
|
|
1131
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<SupplyState<T0>>;
|
|
1132
|
+
}
|
|
1133
|
+
interface Borrow<T0> {
|
|
1134
|
+
dummy_field: boolean;
|
|
1135
|
+
}
|
|
1136
|
+
namespace Borrow {
|
|
1137
|
+
const TYPE_QNAME = "0x2::coin_registry::Borrow";
|
|
1138
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Borrow<T0>>;
|
|
1139
|
+
}
|
|
1140
|
+
interface CoinRegistry {
|
|
1141
|
+
id: object$.UID;
|
|
1142
|
+
}
|
|
1143
|
+
namespace CoinRegistry {
|
|
1144
|
+
const TYPE_QNAME = "0x2::coin_registry::CoinRegistry";
|
|
1145
|
+
function type(): TypeDescriptor<CoinRegistry>;
|
|
1146
|
+
}
|
|
1147
|
+
interface Currency<T0> {
|
|
1148
|
+
id: object$.UID;
|
|
1149
|
+
decimals: number;
|
|
1150
|
+
name: string;
|
|
1151
|
+
symbol: string;
|
|
1152
|
+
description: string;
|
|
1153
|
+
icon_url: string;
|
|
1154
|
+
supply: _0x1.option.Option<coin_registry.SupplyState<T0>>;
|
|
1155
|
+
regulated: coin_registry.RegulatedState;
|
|
1156
|
+
treasury_cap_id: _0x1.option.Option<object$.ID>;
|
|
1157
|
+
metadata_cap_id: coin_registry.MetadataCapState;
|
|
1158
|
+
extra_fields: vec_map.VecMap<string, coin_registry.ExtraField>;
|
|
1159
|
+
}
|
|
1160
|
+
namespace Currency {
|
|
1161
|
+
const TYPE_QNAME = "0x2::coin_registry::Currency";
|
|
1162
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Currency<T0>>;
|
|
1163
|
+
}
|
|
1164
|
+
interface CurrencyInitializer<T0> {
|
|
1165
|
+
currency: coin_registry.Currency<T0>;
|
|
1166
|
+
extra_fields: bag.Bag;
|
|
1167
|
+
is_otw: boolean;
|
|
1168
|
+
}
|
|
1169
|
+
namespace CurrencyInitializer {
|
|
1170
|
+
const TYPE_QNAME = "0x2::coin_registry::CurrencyInitializer";
|
|
1171
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CurrencyInitializer<T0>>;
|
|
1172
|
+
}
|
|
1173
|
+
interface CurrencyKey<T0> {
|
|
1174
|
+
dummy_field: boolean;
|
|
1175
|
+
}
|
|
1176
|
+
namespace CurrencyKey {
|
|
1177
|
+
const TYPE_QNAME = "0x2::coin_registry::CurrencyKey";
|
|
1178
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<CurrencyKey<T0>>;
|
|
1179
|
+
}
|
|
1180
|
+
type CurrencyKeyInstance = TypedEventInstance<CurrencyKey<any>> & {
|
|
1181
|
+
data_decoded: CurrencyKey<any>;
|
|
1182
|
+
type_arguments: [string];
|
|
1183
|
+
};
|
|
1184
|
+
interface ExtraField {
|
|
1185
|
+
pos0: _0x1.type_name.TypeName;
|
|
1186
|
+
pos1: number[];
|
|
1187
|
+
}
|
|
1188
|
+
namespace ExtraField {
|
|
1189
|
+
const TYPE_QNAME = "0x2::coin_registry::ExtraField";
|
|
1190
|
+
function type(): TypeDescriptor<ExtraField>;
|
|
1191
|
+
}
|
|
1192
|
+
interface LegacyMetadataKey {
|
|
1193
|
+
dummy_field: boolean;
|
|
1194
|
+
}
|
|
1195
|
+
namespace LegacyMetadataKey {
|
|
1196
|
+
const TYPE_QNAME = "0x2::coin_registry::LegacyMetadataKey";
|
|
1197
|
+
function type(): TypeDescriptor<LegacyMetadataKey>;
|
|
1198
|
+
}
|
|
1199
|
+
type LegacyMetadataKeyInstance = TypedEventInstance<LegacyMetadataKey> & {
|
|
1200
|
+
data_decoded: LegacyMetadataKey;
|
|
1201
|
+
type_arguments: [];
|
|
1202
|
+
};
|
|
1203
|
+
interface MetadataCap<T0> {
|
|
1204
|
+
id: object$.UID;
|
|
1205
|
+
}
|
|
1206
|
+
namespace MetadataCap {
|
|
1207
|
+
const TYPE_QNAME = "0x2::coin_registry::MetadataCap";
|
|
1208
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<MetadataCap<T0>>;
|
|
1209
|
+
}
|
|
1210
|
+
namespace builder {
|
|
1211
|
+
function borrowLegacyMetadata<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1212
|
+
function burn<T0 = any>(tx: Transaction, args: [
|
|
1213
|
+
string | TransactionObjectArgument,
|
|
1214
|
+
coin.Coin<T0> | TransactionArgument
|
|
1215
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1216
|
+
function burnBalance<T0 = any>(tx: Transaction, args: [
|
|
1217
|
+
string | TransactionObjectArgument,
|
|
1218
|
+
balance.Balance<T0> | TransactionArgument
|
|
1219
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1220
|
+
function claimMetadataCap<T0 = any>(tx: Transaction, args: [
|
|
1221
|
+
string | TransactionObjectArgument,
|
|
1222
|
+
string | TransactionObjectArgument
|
|
1223
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1224
|
+
function decimals<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1225
|
+
function deleteMetadataCap<T0 = any>(tx: Transaction, args: [
|
|
1226
|
+
string | TransactionObjectArgument,
|
|
1227
|
+
coin_registry.MetadataCap<T0> | TransactionArgument
|
|
1228
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1229
|
+
function deleteMigratedLegacyMetadata<T0 = any>(tx: Transaction, args: [
|
|
1230
|
+
string | TransactionObjectArgument,
|
|
1231
|
+
coin.CoinMetadata<T0> | TransactionArgument
|
|
1232
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1233
|
+
function denyCapId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1234
|
+
function description<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1235
|
+
function exists<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1236
|
+
function finalize<T0 = any>(tx: Transaction, args: [coin_registry.CurrencyInitializer<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1237
|
+
function finalizeAndDeleteMetadataCap<T0 = any>(tx: Transaction, args: [coin_registry.CurrencyInitializer<T0> | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1238
|
+
function finalizeRegistration<T0 = any>(tx: Transaction, args: [
|
|
1239
|
+
string | TransactionObjectArgument,
|
|
1240
|
+
transfer.Receiving<coin_registry.Currency<T0>> | TransactionArgument
|
|
1241
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1242
|
+
function iconUrl<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1243
|
+
function isMetadataCapClaimed<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1244
|
+
function isMetadataCapDeleted<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1245
|
+
function isRegulated<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1246
|
+
function isSupplyBurnOnly<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1247
|
+
function isSupplyFixed<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1248
|
+
function makeRegulated<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, boolean | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1249
|
+
function makeSupplyBurnOnly<T0 = any>(tx: Transaction, args: [
|
|
1250
|
+
string | TransactionObjectArgument,
|
|
1251
|
+
coin.TreasuryCap<T0> | TransactionArgument
|
|
1252
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1253
|
+
function makeSupplyBurnOnlyInit<T0 = any>(tx: Transaction, args: [
|
|
1254
|
+
string | TransactionObjectArgument,
|
|
1255
|
+
coin.TreasuryCap<T0> | TransactionArgument
|
|
1256
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1257
|
+
function makeSupplyFixed<T0 = any>(tx: Transaction, args: [
|
|
1258
|
+
string | TransactionObjectArgument,
|
|
1259
|
+
coin.TreasuryCap<T0> | TransactionArgument
|
|
1260
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1261
|
+
function makeSupplyFixedInit<T0 = any>(tx: Transaction, args: [
|
|
1262
|
+
string | TransactionObjectArgument,
|
|
1263
|
+
coin.TreasuryCap<T0> | TransactionArgument
|
|
1264
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1265
|
+
function metadataCapId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1266
|
+
function migrateLegacyMetadata<T0 = any>(tx: Transaction, args: [
|
|
1267
|
+
string | TransactionObjectArgument,
|
|
1268
|
+
string | TransactionObjectArgument
|
|
1269
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1270
|
+
function migrateRegulatedStateByCap<T0 = any>(tx: Transaction, args: [
|
|
1271
|
+
string | TransactionObjectArgument,
|
|
1272
|
+
string | TransactionObjectArgument
|
|
1273
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1274
|
+
function migrateRegulatedStateByMetadata<T0 = any>(tx: Transaction, args: [
|
|
1275
|
+
string | TransactionObjectArgument,
|
|
1276
|
+
string | TransactionObjectArgument
|
|
1277
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1278
|
+
function name<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1279
|
+
function newCurrency<T0 = any>(tx: Transaction, args: [
|
|
1280
|
+
string | TransactionObjectArgument,
|
|
1281
|
+
number | TransactionArgument,
|
|
1282
|
+
string | TransactionArgument,
|
|
1283
|
+
string | TransactionArgument,
|
|
1284
|
+
string | TransactionArgument,
|
|
1285
|
+
string | TransactionArgument
|
|
1286
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1287
|
+
TransactionArgument,
|
|
1288
|
+
TransactionArgument,
|
|
1289
|
+
TransactionArgument,
|
|
1290
|
+
TransactionArgument,
|
|
1291
|
+
TransactionArgument,
|
|
1292
|
+
TransactionArgument
|
|
1293
|
+
];
|
|
1294
|
+
function newCurrencyWithOtw<T0 = any>(tx: Transaction, args: [
|
|
1295
|
+
T0 | TransactionArgument,
|
|
1296
|
+
number | TransactionArgument,
|
|
1297
|
+
string | TransactionArgument,
|
|
1298
|
+
string | TransactionArgument,
|
|
1299
|
+
string | TransactionArgument,
|
|
1300
|
+
string | TransactionArgument
|
|
1301
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1302
|
+
TransactionArgument,
|
|
1303
|
+
TransactionArgument,
|
|
1304
|
+
TransactionArgument,
|
|
1305
|
+
TransactionArgument,
|
|
1306
|
+
TransactionArgument,
|
|
1307
|
+
TransactionArgument
|
|
1308
|
+
];
|
|
1309
|
+
function returnBorrowedLegacyMetadata<T0 = any>(tx: Transaction, args: [
|
|
1310
|
+
string | TransactionObjectArgument,
|
|
1311
|
+
coin.CoinMetadata<T0> | TransactionArgument,
|
|
1312
|
+
coin_registry.Borrow<T0> | TransactionArgument
|
|
1313
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1314
|
+
TransactionArgument,
|
|
1315
|
+
TransactionArgument,
|
|
1316
|
+
TransactionArgument
|
|
1317
|
+
];
|
|
1318
|
+
function setDescription<T0 = any>(tx: Transaction, args: [
|
|
1319
|
+
string | TransactionObjectArgument,
|
|
1320
|
+
string | TransactionObjectArgument,
|
|
1321
|
+
string | TransactionArgument
|
|
1322
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1323
|
+
TransactionArgument,
|
|
1324
|
+
TransactionArgument,
|
|
1325
|
+
TransactionArgument
|
|
1326
|
+
];
|
|
1327
|
+
function setIconUrl<T0 = any>(tx: Transaction, args: [
|
|
1328
|
+
string | TransactionObjectArgument,
|
|
1329
|
+
string | TransactionObjectArgument,
|
|
1330
|
+
string | TransactionArgument
|
|
1331
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1332
|
+
TransactionArgument,
|
|
1333
|
+
TransactionArgument,
|
|
1334
|
+
TransactionArgument
|
|
1335
|
+
];
|
|
1336
|
+
function setName<T0 = any>(tx: Transaction, args: [
|
|
1337
|
+
string | TransactionObjectArgument,
|
|
1338
|
+
string | TransactionObjectArgument,
|
|
1339
|
+
string | TransactionArgument
|
|
1340
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1341
|
+
TransactionArgument,
|
|
1342
|
+
TransactionArgument,
|
|
1343
|
+
TransactionArgument
|
|
1344
|
+
];
|
|
1345
|
+
function setTreasuryCapId<T0 = any>(tx: Transaction, args: [
|
|
1346
|
+
string | TransactionObjectArgument,
|
|
1347
|
+
string | TransactionObjectArgument
|
|
1348
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1349
|
+
function symbol$<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1350
|
+
function totalSupply<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1351
|
+
function treasuryCapId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1352
|
+
function updateFromLegacyMetadata<T0 = any>(tx: Transaction, args: [
|
|
1353
|
+
string | TransactionObjectArgument,
|
|
1354
|
+
string | TransactionObjectArgument
|
|
1355
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1356
|
+
}
|
|
1357
|
+
namespace view {
|
|
1358
|
+
function borrowLegacyMetadata<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.CoinMetadata<T0>, coin_registry.Borrow<T0>]>>;
|
|
1359
|
+
function burn<T0 = any>(client: SuiClient, args: [string, coin.Coin<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1360
|
+
function burnBalance<T0 = any>(client: SuiClient, args: [string, balance.Balance<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1361
|
+
function claimMetadataCap<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin_registry.MetadataCap<T0>]>>;
|
|
1362
|
+
function decimals<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[number]>>;
|
|
1363
|
+
function deleteMetadataCap<T0 = any>(client: SuiClient, args: [string, coin_registry.MetadataCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1364
|
+
function deleteMigratedLegacyMetadata<T0 = any>(client: SuiClient, args: [string, coin.CoinMetadata<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1365
|
+
function denyCapId<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
|
1366
|
+
function description<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1367
|
+
function exists<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1368
|
+
function finalize<T0 = any>(client: SuiClient, args: [coin_registry.CurrencyInitializer<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin_registry.MetadataCap<T0>]>>;
|
|
1369
|
+
function finalizeAndDeleteMetadataCap<T0 = any>(client: SuiClient, args: [coin_registry.CurrencyInitializer<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1370
|
+
function finalizeRegistration<T0 = any>(client: SuiClient, args: [string, transfer.Receiving<coin_registry.Currency<T0>>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1371
|
+
function iconUrl<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1372
|
+
function isMetadataCapClaimed<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1373
|
+
function isMetadataCapDeleted<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1374
|
+
function isRegulated<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1375
|
+
function isSupplyBurnOnly<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1376
|
+
function isSupplyFixed<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1377
|
+
function makeRegulated<T0 = any>(client: SuiClient, args: [string, boolean], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[coin.DenyCapV2<T0>]>>;
|
|
1378
|
+
function makeSupplyBurnOnly<T0 = any>(client: SuiClient, args: [string, coin.TreasuryCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1379
|
+
function makeSupplyBurnOnlyInit<T0 = any>(client: SuiClient, args: [string, coin.TreasuryCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1380
|
+
function makeSupplyFixed<T0 = any>(client: SuiClient, args: [string, coin.TreasuryCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1381
|
+
function makeSupplyFixedInit<T0 = any>(client: SuiClient, args: [string, coin.TreasuryCap<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1382
|
+
function metadataCapId<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
|
1383
|
+
function migrateLegacyMetadata<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1384
|
+
function migrateRegulatedStateByCap<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1385
|
+
function migrateRegulatedStateByMetadata<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1386
|
+
function name<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1387
|
+
function newCurrency<T0 = any>(client: SuiClient, args: [string, number, string, string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
1388
|
+
coin_registry.CurrencyInitializer<T0>,
|
|
1389
|
+
coin.TreasuryCap<T0>
|
|
1390
|
+
]>>;
|
|
1391
|
+
function newCurrencyWithOtw<T0 = any>(client: SuiClient, args: [T0, number, string, string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[
|
|
1392
|
+
coin_registry.CurrencyInitializer<T0>,
|
|
1393
|
+
coin.TreasuryCap<T0>
|
|
1394
|
+
]>>;
|
|
1395
|
+
function returnBorrowedLegacyMetadata<T0 = any>(client: SuiClient, args: [string, coin.CoinMetadata<T0>, coin_registry.Borrow<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1396
|
+
function setDescription<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1397
|
+
function setIconUrl<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1398
|
+
function setName<T0 = any>(client: SuiClient, args: [string, string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1399
|
+
function setTreasuryCapId<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1400
|
+
function symbol$<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
1401
|
+
function totalSupply<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<bigint>]>>;
|
|
1402
|
+
function treasuryCapId<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>>;
|
|
1403
|
+
function updateFromLegacyMetadata<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
1404
|
+
}
|
|
1405
|
+
}
|
|
985
1406
|
export declare namespace config {
|
|
986
1407
|
interface Config<T0> {
|
|
987
1408
|
id: object$.UID;
|
|
@@ -1660,9 +2081,47 @@ export declare namespace ed25519 {
|
|
|
1660
2081
|
export declare namespace event {
|
|
1661
2082
|
namespace builder {
|
|
1662
2083
|
function emit<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2084
|
+
function emitAuthenticated<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
1663
2085
|
}
|
|
1664
2086
|
namespace view {
|
|
1665
2087
|
function emit<T0 = any>(client: SuiClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2088
|
+
function emitAuthenticated<T0 = any>(client: SuiClient, args: [T0], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2089
|
+
}
|
|
2090
|
+
}
|
|
2091
|
+
export declare namespace funds_accumulator {
|
|
2092
|
+
interface Withdrawal<T0> {
|
|
2093
|
+
owner: string;
|
|
2094
|
+
limit: bigint;
|
|
2095
|
+
}
|
|
2096
|
+
namespace Withdrawal {
|
|
2097
|
+
const TYPE_QNAME = "0x2::funds_accumulator::Withdrawal";
|
|
2098
|
+
function type<T0>(arg0?: TypeDescriptor<T0>): TypeDescriptor<Withdrawal<T0>>;
|
|
2099
|
+
}
|
|
2100
|
+
namespace builder {
|
|
2101
|
+
function addImpl<T0 = any>(tx: Transaction, args: [T0 | TransactionArgument, string | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2102
|
+
function createWithdrawal<T0 = any>(tx: Transaction, args: [string | TransactionArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2103
|
+
function redeem<T0 = any>(tx: Transaction, args: [
|
|
2104
|
+
funds_accumulator.Withdrawal<T0> | TransactionArgument,
|
|
2105
|
+
_0x1.internal.Permit<T0> | TransactionArgument
|
|
2106
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2107
|
+
function withdrawFromObject<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2108
|
+
function withdrawalJoin<T0 = any>(tx: Transaction, args: [
|
|
2109
|
+
string | TransactionObjectArgument,
|
|
2110
|
+
funds_accumulator.Withdrawal<T0> | TransactionArgument
|
|
2111
|
+
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2112
|
+
function withdrawalLimit<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2113
|
+
function withdrawalOwner<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2114
|
+
function withdrawalSplit<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument, bigint | TransactionArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
2115
|
+
}
|
|
2116
|
+
namespace view {
|
|
2117
|
+
function addImpl<T0 = any>(client: SuiClient, args: [T0, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2118
|
+
function createWithdrawal<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[funds_accumulator.Withdrawal<T0>]>>;
|
|
2119
|
+
function redeem<T0 = any>(client: SuiClient, args: [funds_accumulator.Withdrawal<T0>, _0x1.internal.Permit<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[T0]>>;
|
|
2120
|
+
function withdrawFromObject<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[funds_accumulator.Withdrawal<T0>]>>;
|
|
2121
|
+
function withdrawalJoin<T0 = any>(client: SuiClient, args: [string, funds_accumulator.Withdrawal<T0>], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[]>>;
|
|
2122
|
+
function withdrawalLimit<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint]>>;
|
|
2123
|
+
function withdrawalOwner<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2124
|
+
function withdrawalSplit<T0 = any>(client: SuiClient, args: [string, bigint], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[funds_accumulator.Withdrawal<T0>]>>;
|
|
1666
2125
|
}
|
|
1667
2126
|
}
|
|
1668
2127
|
export declare namespace groth16 {
|
|
@@ -1804,7 +2263,7 @@ export declare namespace group_ops {
|
|
|
1804
2263
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument, TransactionArgument];
|
|
1805
2264
|
function fromBytes<T0 = any>(tx: Transaction, args: [
|
|
1806
2265
|
number | TransactionArgument,
|
|
1807
|
-
string | TransactionObjectArgument,
|
|
2266
|
+
(string | TransactionObjectArgument)[] | TransactionArgument,
|
|
1808
2267
|
boolean | TransactionArgument
|
|
1809
2268
|
], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [
|
|
1810
2269
|
TransactionArgument,
|
|
@@ -1869,7 +2328,7 @@ export declare namespace group_ops {
|
|
|
1869
2328
|
function convert<T0 = any, T1 = any>(client: SuiClient, args: [number, number, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
1870
2329
|
function div<T0 = any, T1 = any>(client: SuiClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
1871
2330
|
function equal<T0 = any>(client: SuiClient, args: [string, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
1872
|
-
function fromBytes<T0 = any>(client: SuiClient, args: [number, string, boolean], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
2331
|
+
function fromBytes<T0 = any>(client: SuiClient, args: [number, string[], boolean], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
1873
2332
|
function hashTo<T0 = any>(client: SuiClient, args: [number, string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T0>]>>;
|
|
1874
2333
|
function mul<T0 = any, T1 = any>(client: SuiClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
1875
2334
|
function multiScalarMultiplication<T0 = any, T1 = any>(client: SuiClient, args: [number, string, string], typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string]): Promise<TypedDevInspectResults<[group_ops.Element<T1>]>>;
|
|
@@ -2526,6 +2985,7 @@ export declare namespace object$ {
|
|
|
2526
2985
|
function type(): TypeDescriptor<UID>;
|
|
2527
2986
|
}
|
|
2528
2987
|
namespace builder {
|
|
2988
|
+
function addressAliasState(tx: Transaction, args: []): TransactionArgument & [];
|
|
2529
2989
|
function authenticatorState(tx: Transaction, args: []): TransactionArgument & [];
|
|
2530
2990
|
function borrowId<T0 = any>(tx: Transaction, args: [string | TransactionObjectArgument], typeArguments: [TypeDescriptor<T0> | string]): TransactionArgument & [TransactionArgument];
|
|
2531
2991
|
function clock(tx: Transaction, args: []): TransactionArgument & [];
|
|
@@ -2542,6 +3002,8 @@ export declare namespace object$ {
|
|
|
2542
3002
|
function randomnessState(tx: Transaction, args: []): TransactionArgument & [];
|
|
2543
3003
|
function suiAccumulatorRootAddress(tx: Transaction, args: []): TransactionArgument & [];
|
|
2544
3004
|
function suiAccumulatorRootObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
3005
|
+
function suiCoinRegistryAddress(tx: Transaction, args: []): TransactionArgument & [];
|
|
3006
|
+
function suiCoinRegistryObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
2545
3007
|
function suiDenyListObjectId(tx: Transaction, args: []): TransactionArgument & [];
|
|
2546
3008
|
function uidAsInner(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2547
3009
|
function uidToAddress(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
@@ -2549,6 +3011,7 @@ export declare namespace object$ {
|
|
|
2549
3011
|
function uidToInner(tx: Transaction, args: [string | TransactionObjectArgument]): TransactionArgument & [TransactionArgument];
|
|
2550
3012
|
}
|
|
2551
3013
|
namespace view {
|
|
3014
|
+
function addressAliasState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2552
3015
|
function authenticatorState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2553
3016
|
function borrowId<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2554
3017
|
function clock(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
@@ -2565,6 +3028,8 @@ export declare namespace object$ {
|
|
|
2565
3028
|
function randomnessState(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2566
3029
|
function suiAccumulatorRootAddress(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
|
2567
3030
|
function suiAccumulatorRootObjectId(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
3031
|
+
function suiCoinRegistryAddress(client: SuiClient, args: []): Promise<TypedDevInspectResults<[string]>>;
|
|
3032
|
+
function suiCoinRegistryObjectId(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2568
3033
|
function suiDenyListObjectId(client: SuiClient, args: []): Promise<TypedDevInspectResults<[object$.UID]>>;
|
|
2569
3034
|
function uidAsInner(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
2570
3035
|
function uidToAddress(client: SuiClient, args: [string]): Promise<TypedDevInspectResults<[string]>>;
|
|
@@ -2887,6 +3352,14 @@ export declare namespace priority_queue {
|
|
|
2887
3352
|
function priorities<T0 = any>(client: SuiClient, args: [string], typeArguments: [TypeDescriptor<T0> | string]): Promise<TypedDevInspectResults<[bigint[]]>>;
|
|
2888
3353
|
}
|
|
2889
3354
|
}
|
|
3355
|
+
export declare namespace protocol_config {
|
|
3356
|
+
namespace builder {
|
|
3357
|
+
function isFeatureEnabled(tx: Transaction, args: [(string | TransactionObjectArgument)[] | TransactionArgument]): TransactionArgument & [TransactionArgument];
|
|
3358
|
+
}
|
|
3359
|
+
namespace view {
|
|
3360
|
+
function isFeatureEnabled(client: SuiClient, args: [string[]]): Promise<TypedDevInspectResults<[boolean]>>;
|
|
3361
|
+
}
|
|
3362
|
+
}
|
|
2890
3363
|
export declare namespace prover {
|
|
2891
3364
|
namespace builder { }
|
|
2892
3365
|
namespace view { }
|