@typemove/sui 1.6.11 → 1.6.12-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/cjs/builtin/0x1.d.ts +5 -5
- package/dist/cjs/builtin/0x1.js +17 -17
- package/dist/cjs/builtin/0x2.d.ts +165 -165
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +106 -106
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +35 -35
- package/dist/cjs/builtin/0x3.js +20 -20
- package/dist/esm/builtin/0x1.d.ts +5 -5
- package/dist/esm/builtin/0x1.js +16 -16
- package/dist/esm/builtin/0x2.d.ts +165 -165
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +105 -105
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +35 -35
- package/dist/esm/builtin/0x3.js +20 -20
- package/package.json +2 -2
- package/src/builtin/0x1.ts +7 -7
- package/src/builtin/0x2.ts +212 -212
- package/src/builtin/0x3.ts +45 -45
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +3 -3
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +3 -3
- package/src/tests/types/testnet/0x7f7a37c826c88bcfe9aecc042453395ddfa9df6f29cb7c97590bf86cf2b0a75e.ts +12 -12
- package/src/tests/types/testnet/0xdee9.ts +47 -47
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +21 -21
package/src/builtin/0x2.ts
CHANGED
|
@@ -314,7 +314,7 @@ export namespace authenticator_state {
|
|
|
314
314
|
}
|
|
315
315
|
|
|
316
316
|
export interface AuthenticatorState {
|
|
317
|
-
id:
|
|
317
|
+
id: object$.UID;
|
|
318
318
|
version: bigint;
|
|
319
319
|
}
|
|
320
320
|
|
|
@@ -396,7 +396,7 @@ export namespace authenticator_state {
|
|
|
396
396
|
|
|
397
397
|
export namespace bag {
|
|
398
398
|
export interface Bag {
|
|
399
|
-
id:
|
|
399
|
+
id: object$.UID;
|
|
400
400
|
size: bigint;
|
|
401
401
|
}
|
|
402
402
|
|
|
@@ -580,7 +580,7 @@ export namespace bag {
|
|
|
580
580
|
arguments: _args,
|
|
581
581
|
});
|
|
582
582
|
}
|
|
583
|
-
export function
|
|
583
|
+
export function new$(tx: Transaction, args: []): TransactionArgument & [] {
|
|
584
584
|
const _args: any[] = [];
|
|
585
585
|
|
|
586
586
|
// @ts-ignore
|
|
@@ -742,12 +742,12 @@ export namespace bag {
|
|
|
742
742
|
inspectRes,
|
|
743
743
|
);
|
|
744
744
|
}
|
|
745
|
-
export async function
|
|
745
|
+
export async function new$(
|
|
746
746
|
client: SuiClient,
|
|
747
747
|
args: [],
|
|
748
748
|
): Promise<TypedDevInspectResults<[bag.Bag]>> {
|
|
749
749
|
const tx = new Transaction();
|
|
750
|
-
builder.
|
|
750
|
+
builder.new$(tx, args);
|
|
751
751
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
752
752
|
transactionBlock: tx,
|
|
753
753
|
sender: ZERO_ADDRESS,
|
|
@@ -1246,7 +1246,7 @@ export namespace bcs {
|
|
|
1246
1246
|
arguments: _args,
|
|
1247
1247
|
});
|
|
1248
1248
|
}
|
|
1249
|
-
export function
|
|
1249
|
+
export function new$(
|
|
1250
1250
|
tx: Transaction,
|
|
1251
1251
|
args: [(string | TransactionObjectArgument)[] | TransactionArgument],
|
|
1252
1252
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -1633,12 +1633,12 @@ export namespace bcs {
|
|
|
1633
1633
|
inspectRes,
|
|
1634
1634
|
);
|
|
1635
1635
|
}
|
|
1636
|
-
export async function
|
|
1636
|
+
export async function new$(
|
|
1637
1637
|
client: SuiClient,
|
|
1638
1638
|
args: [string[]],
|
|
1639
1639
|
): Promise<TypedDevInspectResults<[bcs.BCS]>> {
|
|
1640
1640
|
const tx = new Transaction();
|
|
1641
|
-
builder.
|
|
1641
|
+
builder.new$(tx, args);
|
|
1642
1642
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1643
1643
|
transactionBlock: tx,
|
|
1644
1644
|
sender: ZERO_ADDRESS,
|
|
@@ -3325,7 +3325,7 @@ export namespace bls12381 {
|
|
|
3325
3325
|
export namespace borrow {
|
|
3326
3326
|
export interface Borrow {
|
|
3327
3327
|
ref: string;
|
|
3328
|
-
obj:
|
|
3328
|
+
obj: object$.ID;
|
|
3329
3329
|
}
|
|
3330
3330
|
|
|
3331
3331
|
export namespace Borrow {
|
|
@@ -3394,7 +3394,7 @@ export namespace borrow {
|
|
|
3394
3394
|
],
|
|
3395
3395
|
});
|
|
3396
3396
|
}
|
|
3397
|
-
export function
|
|
3397
|
+
export function new$<T0 = any>(
|
|
3398
3398
|
tx: Transaction,
|
|
3399
3399
|
args: [T0 | TransactionArgument],
|
|
3400
3400
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -3473,13 +3473,13 @@ export namespace borrow {
|
|
|
3473
3473
|
inspectRes,
|
|
3474
3474
|
);
|
|
3475
3475
|
}
|
|
3476
|
-
export async function
|
|
3476
|
+
export async function new$<T0 = any>(
|
|
3477
3477
|
client: SuiClient,
|
|
3478
3478
|
args: [T0],
|
|
3479
3479
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
3480
3480
|
): Promise<TypedDevInspectResults<[borrow.Referent<T0>]>> {
|
|
3481
3481
|
const tx = new Transaction();
|
|
3482
|
-
builder.
|
|
3482
|
+
builder.new$(tx, args, typeArguments);
|
|
3483
3483
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3484
3484
|
transactionBlock: tx,
|
|
3485
3485
|
sender: ZERO_ADDRESS,
|
|
@@ -3510,7 +3510,7 @@ export namespace borrow {
|
|
|
3510
3510
|
|
|
3511
3511
|
export namespace clock {
|
|
3512
3512
|
export interface Clock {
|
|
3513
|
-
id:
|
|
3513
|
+
id: object$.UID;
|
|
3514
3514
|
timestamp_ms: bigint;
|
|
3515
3515
|
}
|
|
3516
3516
|
|
|
@@ -3573,7 +3573,7 @@ export namespace coin {
|
|
|
3573
3573
|
}
|
|
3574
3574
|
|
|
3575
3575
|
export interface CoinMetadata<T0> {
|
|
3576
|
-
id:
|
|
3576
|
+
id: object$.UID;
|
|
3577
3577
|
decimals: number;
|
|
3578
3578
|
name: string;
|
|
3579
3579
|
symbol: _0x1.ascii.String;
|
|
@@ -3618,7 +3618,7 @@ export namespace coin {
|
|
|
3618
3618
|
}
|
|
3619
3619
|
|
|
3620
3620
|
export interface DenyCap<T0> {
|
|
3621
|
-
id:
|
|
3621
|
+
id: object$.UID;
|
|
3622
3622
|
}
|
|
3623
3623
|
|
|
3624
3624
|
export namespace DenyCap {
|
|
@@ -3634,7 +3634,7 @@ export namespace coin {
|
|
|
3634
3634
|
}
|
|
3635
3635
|
|
|
3636
3636
|
export interface DenyCapV2<T0> {
|
|
3637
|
-
id:
|
|
3637
|
+
id: object$.UID;
|
|
3638
3638
|
allow_global_pause: boolean;
|
|
3639
3639
|
}
|
|
3640
3640
|
|
|
@@ -3651,9 +3651,9 @@ export namespace coin {
|
|
|
3651
3651
|
}
|
|
3652
3652
|
|
|
3653
3653
|
export interface RegulatedCoinMetadata<T0> {
|
|
3654
|
-
id:
|
|
3655
|
-
coin_metadata_object:
|
|
3656
|
-
deny_cap_object:
|
|
3654
|
+
id: object$.UID;
|
|
3655
|
+
coin_metadata_object: object$.ID;
|
|
3656
|
+
deny_cap_object: object$.ID;
|
|
3657
3657
|
}
|
|
3658
3658
|
|
|
3659
3659
|
export namespace RegulatedCoinMetadata {
|
|
@@ -3671,7 +3671,7 @@ export namespace coin {
|
|
|
3671
3671
|
}
|
|
3672
3672
|
|
|
3673
3673
|
export interface TreasuryCap<T0> {
|
|
3674
|
-
id:
|
|
3674
|
+
id: object$.UID;
|
|
3675
3675
|
total_supply: balance.Supply<T0>;
|
|
3676
3676
|
}
|
|
3677
3677
|
|
|
@@ -5490,7 +5490,7 @@ export namespace coin {
|
|
|
5490
5490
|
|
|
5491
5491
|
export namespace config {
|
|
5492
5492
|
export interface Config<T0> {
|
|
5493
|
-
id:
|
|
5493
|
+
id: object$.UID;
|
|
5494
5494
|
}
|
|
5495
5495
|
|
|
5496
5496
|
export namespace Config {
|
|
@@ -5685,7 +5685,7 @@ export namespace config {
|
|
|
5685
5685
|
],
|
|
5686
5686
|
});
|
|
5687
5687
|
}
|
|
5688
|
-
export function
|
|
5688
|
+
export function new$<T0 = any>(
|
|
5689
5689
|
tx: Transaction,
|
|
5690
5690
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
5691
5691
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -5706,7 +5706,7 @@ export namespace config {
|
|
|
5706
5706
|
}
|
|
5707
5707
|
export function readSetting<T0 = any, T1 = any>(
|
|
5708
5708
|
tx: Transaction,
|
|
5709
|
-
args: [
|
|
5709
|
+
args: [object$.ID | TransactionArgument, T0 | TransactionArgument],
|
|
5710
5710
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
5711
5711
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
5712
5712
|
const _args: any[] = [];
|
|
@@ -5924,13 +5924,13 @@ export namespace config {
|
|
|
5924
5924
|
inspectRes,
|
|
5925
5925
|
);
|
|
5926
5926
|
}
|
|
5927
|
-
export async function
|
|
5927
|
+
export async function new$<T0 = any>(
|
|
5928
5928
|
client: SuiClient,
|
|
5929
5929
|
args: [string],
|
|
5930
5930
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
5931
5931
|
): Promise<TypedDevInspectResults<[config.Config<T0>]>> {
|
|
5932
5932
|
const tx = new Transaction();
|
|
5933
|
-
builder.
|
|
5933
|
+
builder.new$(tx, args, typeArguments);
|
|
5934
5934
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
5935
5935
|
transactionBlock: tx,
|
|
5936
5936
|
sender: ZERO_ADDRESS,
|
|
@@ -5942,7 +5942,7 @@ export namespace config {
|
|
|
5942
5942
|
}
|
|
5943
5943
|
export async function readSetting<T0 = any, T1 = any>(
|
|
5944
5944
|
client: SuiClient,
|
|
5945
|
-
args: [
|
|
5945
|
+
args: [object$.ID, T0],
|
|
5946
5946
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
5947
5947
|
): Promise<TypedDevInspectResults<[_0x1.option.Option<T1>]>> {
|
|
5948
5948
|
const tx = new Transaction();
|
|
@@ -6086,7 +6086,7 @@ export namespace deny_list {
|
|
|
6086
6086
|
}
|
|
6087
6087
|
|
|
6088
6088
|
export interface DenyList {
|
|
6089
|
-
id:
|
|
6089
|
+
id: object$.UID;
|
|
6090
6090
|
lists: bag.Bag;
|
|
6091
6091
|
}
|
|
6092
6092
|
|
|
@@ -6122,7 +6122,7 @@ export namespace deny_list {
|
|
|
6122
6122
|
|
|
6123
6123
|
export interface PerTypeConfigCreated {
|
|
6124
6124
|
key: deny_list.ConfigKey;
|
|
6125
|
-
config_id:
|
|
6125
|
+
config_id: object$.ID;
|
|
6126
6126
|
}
|
|
6127
6127
|
|
|
6128
6128
|
export namespace PerTypeConfigCreated {
|
|
@@ -6144,7 +6144,7 @@ export namespace deny_list {
|
|
|
6144
6144
|
}
|
|
6145
6145
|
|
|
6146
6146
|
export interface PerTypeList {
|
|
6147
|
-
id:
|
|
6147
|
+
id: object$.UID;
|
|
6148
6148
|
denied_count: table.Table<string, bigint>;
|
|
6149
6149
|
denied_addresses: table.Table<number[], vec_set.VecSet<string>>;
|
|
6150
6150
|
}
|
|
@@ -6636,7 +6636,7 @@ export namespace deny_list {
|
|
|
6636
6636
|
|
|
6637
6637
|
export namespace display {
|
|
6638
6638
|
export interface Display<T0> {
|
|
6639
|
-
id:
|
|
6639
|
+
id: object$.UID;
|
|
6640
6640
|
fields: vec_map.VecMap<string, string>;
|
|
6641
6641
|
version: number;
|
|
6642
6642
|
}
|
|
@@ -6654,7 +6654,7 @@ export namespace display {
|
|
|
6654
6654
|
}
|
|
6655
6655
|
|
|
6656
6656
|
export interface DisplayCreated<T0> {
|
|
6657
|
-
id:
|
|
6657
|
+
id: object$.ID;
|
|
6658
6658
|
}
|
|
6659
6659
|
|
|
6660
6660
|
export namespace DisplayCreated {
|
|
@@ -6678,7 +6678,7 @@ export namespace display {
|
|
|
6678
6678
|
}
|
|
6679
6679
|
|
|
6680
6680
|
export interface VersionUpdated<T0> {
|
|
6681
|
-
id:
|
|
6681
|
+
id: object$.ID;
|
|
6682
6682
|
version: number;
|
|
6683
6683
|
fields: vec_map.VecMap<string, string>;
|
|
6684
6684
|
}
|
|
@@ -6839,7 +6839,7 @@ export namespace display {
|
|
|
6839
6839
|
],
|
|
6840
6840
|
});
|
|
6841
6841
|
}
|
|
6842
|
-
export function
|
|
6842
|
+
export function new$<T0 = any>(
|
|
6843
6843
|
tx: Transaction,
|
|
6844
6844
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
6845
6845
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -7043,13 +7043,13 @@ export namespace display {
|
|
|
7043
7043
|
inspectRes,
|
|
7044
7044
|
);
|
|
7045
7045
|
}
|
|
7046
|
-
export async function
|
|
7046
|
+
export async function new$<T0 = any>(
|
|
7047
7047
|
client: SuiClient,
|
|
7048
7048
|
args: [string],
|
|
7049
7049
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
7050
7050
|
): Promise<TypedDevInspectResults<[display.Display<T0>]>> {
|
|
7051
7051
|
const tx = new Transaction();
|
|
7052
|
-
builder.
|
|
7052
|
+
builder.new$(tx, args, typeArguments);
|
|
7053
7053
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
7054
7054
|
transactionBlock: tx,
|
|
7055
7055
|
sender: ZERO_ADDRESS,
|
|
@@ -7128,7 +7128,7 @@ export namespace display {
|
|
|
7128
7128
|
|
|
7129
7129
|
export namespace dynamic_field {
|
|
7130
7130
|
export interface Field<T0, T1> {
|
|
7131
|
-
id:
|
|
7131
|
+
id: object$.UID;
|
|
7132
7132
|
name: T0;
|
|
7133
7133
|
value: T1;
|
|
7134
7134
|
}
|
|
@@ -8196,7 +8196,7 @@ export namespace dynamic_object_field {
|
|
|
8196
8196
|
client: SuiClient,
|
|
8197
8197
|
args: [string, T0],
|
|
8198
8198
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
8199
|
-
): Promise<TypedDevInspectResults<[_0x1.option.Option<
|
|
8199
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>> {
|
|
8200
8200
|
const tx = new Transaction();
|
|
8201
8201
|
builder.id(tx, args, typeArguments);
|
|
8202
8202
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -8205,7 +8205,7 @@ export namespace dynamic_object_field {
|
|
|
8205
8205
|
});
|
|
8206
8206
|
|
|
8207
8207
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
8208
|
-
[_0x1.option.Option<
|
|
8208
|
+
[_0x1.option.Option<object$.ID>]
|
|
8209
8209
|
>(inspectRes);
|
|
8210
8210
|
}
|
|
8211
8211
|
export async function internalAdd<T0 = any, T1 = any>(
|
|
@@ -9639,8 +9639,8 @@ export namespace hmac {
|
|
|
9639
9639
|
|
|
9640
9640
|
export namespace kiosk {
|
|
9641
9641
|
export interface Borrow {
|
|
9642
|
-
kiosk_id:
|
|
9643
|
-
item_id:
|
|
9642
|
+
kiosk_id: object$.ID;
|
|
9643
|
+
item_id: object$.ID;
|
|
9644
9644
|
}
|
|
9645
9645
|
|
|
9646
9646
|
export namespace Borrow {
|
|
@@ -9654,7 +9654,7 @@ export namespace kiosk {
|
|
|
9654
9654
|
}
|
|
9655
9655
|
|
|
9656
9656
|
export interface Item {
|
|
9657
|
-
id:
|
|
9657
|
+
id: object$.ID;
|
|
9658
9658
|
}
|
|
9659
9659
|
|
|
9660
9660
|
export namespace Item {
|
|
@@ -9673,8 +9673,8 @@ export namespace kiosk {
|
|
|
9673
9673
|
}
|
|
9674
9674
|
|
|
9675
9675
|
export interface ItemDelisted<T0> {
|
|
9676
|
-
kiosk:
|
|
9677
|
-
id:
|
|
9676
|
+
kiosk: object$.ID;
|
|
9677
|
+
id: object$.ID;
|
|
9678
9678
|
}
|
|
9679
9679
|
|
|
9680
9680
|
export namespace ItemDelisted {
|
|
@@ -9696,8 +9696,8 @@ export namespace kiosk {
|
|
|
9696
9696
|
}
|
|
9697
9697
|
|
|
9698
9698
|
export interface ItemListed<T0> {
|
|
9699
|
-
kiosk:
|
|
9700
|
-
id:
|
|
9699
|
+
kiosk: object$.ID;
|
|
9700
|
+
id: object$.ID;
|
|
9701
9701
|
price: bigint;
|
|
9702
9702
|
}
|
|
9703
9703
|
|
|
@@ -9720,8 +9720,8 @@ export namespace kiosk {
|
|
|
9720
9720
|
}
|
|
9721
9721
|
|
|
9722
9722
|
export interface ItemPurchased<T0> {
|
|
9723
|
-
kiosk:
|
|
9724
|
-
id:
|
|
9723
|
+
kiosk: object$.ID;
|
|
9724
|
+
id: object$.ID;
|
|
9725
9725
|
price: bigint;
|
|
9726
9726
|
}
|
|
9727
9727
|
|
|
@@ -9746,7 +9746,7 @@ export namespace kiosk {
|
|
|
9746
9746
|
}
|
|
9747
9747
|
|
|
9748
9748
|
export interface Kiosk {
|
|
9749
|
-
id:
|
|
9749
|
+
id: object$.UID;
|
|
9750
9750
|
profits: balance.Balance<sui.SUI>;
|
|
9751
9751
|
owner: string;
|
|
9752
9752
|
item_count: number;
|
|
@@ -9764,8 +9764,8 @@ export namespace kiosk {
|
|
|
9764
9764
|
}
|
|
9765
9765
|
|
|
9766
9766
|
export interface KioskOwnerCap {
|
|
9767
|
-
id:
|
|
9768
|
-
for:
|
|
9767
|
+
id: object$.UID;
|
|
9768
|
+
for: object$.ID;
|
|
9769
9769
|
}
|
|
9770
9770
|
|
|
9771
9771
|
export namespace KioskOwnerCap {
|
|
@@ -9779,7 +9779,7 @@ export namespace kiosk {
|
|
|
9779
9779
|
}
|
|
9780
9780
|
|
|
9781
9781
|
export interface Listing {
|
|
9782
|
-
id:
|
|
9782
|
+
id: object$.ID;
|
|
9783
9783
|
is_exclusive: boolean;
|
|
9784
9784
|
}
|
|
9785
9785
|
|
|
@@ -9799,7 +9799,7 @@ export namespace kiosk {
|
|
|
9799
9799
|
}
|
|
9800
9800
|
|
|
9801
9801
|
export interface Lock {
|
|
9802
|
-
id:
|
|
9802
|
+
id: object$.ID;
|
|
9803
9803
|
}
|
|
9804
9804
|
|
|
9805
9805
|
export namespace Lock {
|
|
@@ -9818,9 +9818,9 @@ export namespace kiosk {
|
|
|
9818
9818
|
}
|
|
9819
9819
|
|
|
9820
9820
|
export interface PurchaseCap<T0> {
|
|
9821
|
-
id:
|
|
9822
|
-
kiosk_id:
|
|
9823
|
-
item_id:
|
|
9821
|
+
id: object$.UID;
|
|
9822
|
+
kiosk_id: object$.ID;
|
|
9823
|
+
item_id: object$.ID;
|
|
9824
9824
|
min_price: bigint;
|
|
9825
9825
|
}
|
|
9826
9826
|
|
|
@@ -9842,7 +9842,7 @@ export namespace kiosk {
|
|
|
9842
9842
|
args: [
|
|
9843
9843
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9844
9844
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9845
|
-
|
|
9845
|
+
object$.ID | TransactionArgument,
|
|
9846
9846
|
],
|
|
9847
9847
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9848
9848
|
): TransactionArgument &
|
|
@@ -9868,7 +9868,7 @@ export namespace kiosk {
|
|
|
9868
9868
|
args: [
|
|
9869
9869
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9870
9870
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9871
|
-
|
|
9871
|
+
object$.ID | TransactionArgument,
|
|
9872
9872
|
],
|
|
9873
9873
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9874
9874
|
): TransactionArgument &
|
|
@@ -9894,7 +9894,7 @@ export namespace kiosk {
|
|
|
9894
9894
|
args: [
|
|
9895
9895
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9896
9896
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9897
|
-
|
|
9897
|
+
object$.ID | TransactionArgument,
|
|
9898
9898
|
],
|
|
9899
9899
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9900
9900
|
): TransactionArgument &
|
|
@@ -9932,7 +9932,7 @@ export namespace kiosk {
|
|
|
9932
9932
|
arguments: _args,
|
|
9933
9933
|
});
|
|
9934
9934
|
}
|
|
9935
|
-
export function
|
|
9935
|
+
export function default$(
|
|
9936
9936
|
tx: Transaction,
|
|
9937
9937
|
args: [],
|
|
9938
9938
|
): TransactionArgument & [] {
|
|
@@ -9949,7 +9949,7 @@ export namespace kiosk {
|
|
|
9949
9949
|
args: [
|
|
9950
9950
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9951
9951
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9952
|
-
|
|
9952
|
+
object$.ID | TransactionArgument,
|
|
9953
9953
|
],
|
|
9954
9954
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
9955
9955
|
): TransactionArgument &
|
|
@@ -9991,7 +9991,7 @@ export namespace kiosk {
|
|
|
9991
9991
|
tx: Transaction,
|
|
9992
9992
|
args: [
|
|
9993
9993
|
string | TransactionObjectArgument | TransactionArgument,
|
|
9994
|
-
|
|
9994
|
+
object$.ID | TransactionArgument,
|
|
9995
9995
|
],
|
|
9996
9996
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
9997
9997
|
const _args: any[] = [];
|
|
@@ -10008,7 +10008,7 @@ export namespace kiosk {
|
|
|
10008
10008
|
tx: Transaction,
|
|
10009
10009
|
args: [
|
|
10010
10010
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10011
|
-
|
|
10011
|
+
object$.ID | TransactionArgument,
|
|
10012
10012
|
],
|
|
10013
10013
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10014
10014
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
@@ -10031,7 +10031,7 @@ export namespace kiosk {
|
|
|
10031
10031
|
tx: Transaction,
|
|
10032
10032
|
args: [
|
|
10033
10033
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10034
|
-
|
|
10034
|
+
object$.ID | TransactionArgument,
|
|
10035
10035
|
],
|
|
10036
10036
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
10037
10037
|
const _args: any[] = [];
|
|
@@ -10048,7 +10048,7 @@ export namespace kiosk {
|
|
|
10048
10048
|
tx: Transaction,
|
|
10049
10049
|
args: [
|
|
10050
10050
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10051
|
-
|
|
10051
|
+
object$.ID | TransactionArgument,
|
|
10052
10052
|
],
|
|
10053
10053
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
10054
10054
|
const _args: any[] = [];
|
|
@@ -10065,7 +10065,7 @@ export namespace kiosk {
|
|
|
10065
10065
|
tx: Transaction,
|
|
10066
10066
|
args: [
|
|
10067
10067
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10068
|
-
|
|
10068
|
+
object$.ID | TransactionArgument,
|
|
10069
10069
|
],
|
|
10070
10070
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
10071
10071
|
const _args: any[] = [];
|
|
@@ -10109,7 +10109,7 @@ export namespace kiosk {
|
|
|
10109
10109
|
args: [
|
|
10110
10110
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10111
10111
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10112
|
-
|
|
10112
|
+
object$.ID | TransactionArgument,
|
|
10113
10113
|
bigint | TransactionArgument,
|
|
10114
10114
|
],
|
|
10115
10115
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -10142,7 +10142,7 @@ export namespace kiosk {
|
|
|
10142
10142
|
args: [
|
|
10143
10143
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10144
10144
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10145
|
-
|
|
10145
|
+
object$.ID | TransactionArgument,
|
|
10146
10146
|
bigint | TransactionArgument,
|
|
10147
10147
|
],
|
|
10148
10148
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -10226,7 +10226,7 @@ export namespace kiosk {
|
|
|
10226
10226
|
],
|
|
10227
10227
|
});
|
|
10228
10228
|
}
|
|
10229
|
-
export function
|
|
10229
|
+
export function new$(tx: Transaction, args: []): TransactionArgument & [] {
|
|
10230
10230
|
const _args: any[] = [];
|
|
10231
10231
|
|
|
10232
10232
|
// @ts-ignore
|
|
@@ -10364,7 +10364,7 @@ export namespace kiosk {
|
|
|
10364
10364
|
tx: Transaction,
|
|
10365
10365
|
args: [
|
|
10366
10366
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10367
|
-
|
|
10367
|
+
object$.ID | TransactionArgument,
|
|
10368
10368
|
coin.Coin<sui.SUI> | TransactionArgument,
|
|
10369
10369
|
],
|
|
10370
10370
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -10580,7 +10580,7 @@ export namespace kiosk {
|
|
|
10580
10580
|
args: [
|
|
10581
10581
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10582
10582
|
string | TransactionObjectArgument | TransactionArgument,
|
|
10583
|
-
|
|
10583
|
+
object$.ID | TransactionArgument,
|
|
10584
10584
|
],
|
|
10585
10585
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10586
10586
|
): TransactionArgument &
|
|
@@ -10681,7 +10681,7 @@ export namespace kiosk {
|
|
|
10681
10681
|
export namespace view {
|
|
10682
10682
|
export async function borrow<T0 = any>(
|
|
10683
10683
|
client: SuiClient,
|
|
10684
|
-
args: [string, string,
|
|
10684
|
+
args: [string, string, object$.ID],
|
|
10685
10685
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10686
10686
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10687
10687
|
const tx = new Transaction();
|
|
@@ -10697,7 +10697,7 @@ export namespace kiosk {
|
|
|
10697
10697
|
}
|
|
10698
10698
|
export async function borrowMut<T0 = any>(
|
|
10699
10699
|
client: SuiClient,
|
|
10700
|
-
args: [string, string,
|
|
10700
|
+
args: [string, string, object$.ID],
|
|
10701
10701
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10702
10702
|
): Promise<TypedDevInspectResults<[string]>> {
|
|
10703
10703
|
const tx = new Transaction();
|
|
@@ -10713,7 +10713,7 @@ export namespace kiosk {
|
|
|
10713
10713
|
}
|
|
10714
10714
|
export async function borrowVal<T0 = any>(
|
|
10715
10715
|
client: SuiClient,
|
|
10716
|
-
args: [string, string,
|
|
10716
|
+
args: [string, string, object$.ID],
|
|
10717
10717
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10718
10718
|
): Promise<TypedDevInspectResults<[T0, kiosk.Borrow]>> {
|
|
10719
10719
|
const tx = new Transaction();
|
|
@@ -10745,7 +10745,7 @@ export namespace kiosk {
|
|
|
10745
10745
|
|
|
10746
10746
|
export async function delist<T0 = any>(
|
|
10747
10747
|
client: SuiClient,
|
|
10748
|
-
args: [string, string,
|
|
10748
|
+
args: [string, string, object$.ID],
|
|
10749
10749
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10750
10750
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10751
10751
|
const tx = new Transaction();
|
|
@@ -10776,7 +10776,7 @@ export namespace kiosk {
|
|
|
10776
10776
|
}
|
|
10777
10777
|
export async function hasItem(
|
|
10778
10778
|
client: SuiClient,
|
|
10779
|
-
args: [string,
|
|
10779
|
+
args: [string, object$.ID],
|
|
10780
10780
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10781
10781
|
const tx = new Transaction();
|
|
10782
10782
|
builder.hasItem(tx, args);
|
|
@@ -10791,7 +10791,7 @@ export namespace kiosk {
|
|
|
10791
10791
|
}
|
|
10792
10792
|
export async function hasItemWithType<T0 = any>(
|
|
10793
10793
|
client: SuiClient,
|
|
10794
|
-
args: [string,
|
|
10794
|
+
args: [string, object$.ID],
|
|
10795
10795
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10796
10796
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10797
10797
|
const tx = new Transaction();
|
|
@@ -10807,7 +10807,7 @@ export namespace kiosk {
|
|
|
10807
10807
|
}
|
|
10808
10808
|
export async function isListed(
|
|
10809
10809
|
client: SuiClient,
|
|
10810
|
-
args: [string,
|
|
10810
|
+
args: [string, object$.ID],
|
|
10811
10811
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10812
10812
|
const tx = new Transaction();
|
|
10813
10813
|
builder.isListed(tx, args);
|
|
@@ -10822,7 +10822,7 @@ export namespace kiosk {
|
|
|
10822
10822
|
}
|
|
10823
10823
|
export async function isListedExclusively(
|
|
10824
10824
|
client: SuiClient,
|
|
10825
|
-
args: [string,
|
|
10825
|
+
args: [string, object$.ID],
|
|
10826
10826
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10827
10827
|
const tx = new Transaction();
|
|
10828
10828
|
builder.isListedExclusively(tx, args);
|
|
@@ -10837,7 +10837,7 @@ export namespace kiosk {
|
|
|
10837
10837
|
}
|
|
10838
10838
|
export async function isLocked(
|
|
10839
10839
|
client: SuiClient,
|
|
10840
|
-
args: [string,
|
|
10840
|
+
args: [string, object$.ID],
|
|
10841
10841
|
): Promise<TypedDevInspectResults<[boolean]>> {
|
|
10842
10842
|
const tx = new Transaction();
|
|
10843
10843
|
builder.isLocked(tx, args);
|
|
@@ -10868,7 +10868,7 @@ export namespace kiosk {
|
|
|
10868
10868
|
export async function kioskOwnerCapFor(
|
|
10869
10869
|
client: SuiClient,
|
|
10870
10870
|
args: [string],
|
|
10871
|
-
): Promise<TypedDevInspectResults<[
|
|
10871
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
10872
10872
|
const tx = new Transaction();
|
|
10873
10873
|
builder.kioskOwnerCapFor(tx, args);
|
|
10874
10874
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -10876,13 +10876,13 @@ export namespace kiosk {
|
|
|
10876
10876
|
sender: ZERO_ADDRESS,
|
|
10877
10877
|
});
|
|
10878
10878
|
|
|
10879
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
10879
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
10880
10880
|
inspectRes,
|
|
10881
10881
|
);
|
|
10882
10882
|
}
|
|
10883
10883
|
export async function list<T0 = any>(
|
|
10884
10884
|
client: SuiClient,
|
|
10885
|
-
args: [string, string,
|
|
10885
|
+
args: [string, string, object$.ID, bigint],
|
|
10886
10886
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10887
10887
|
): Promise<TypedDevInspectResults<[]>> {
|
|
10888
10888
|
const tx = new Transaction();
|
|
@@ -10898,7 +10898,7 @@ export namespace kiosk {
|
|
|
10898
10898
|
}
|
|
10899
10899
|
export async function listWithPurchaseCap<T0 = any>(
|
|
10900
10900
|
client: SuiClient,
|
|
10901
|
-
args: [string, string,
|
|
10901
|
+
args: [string, string, object$.ID, bigint],
|
|
10902
10902
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
10903
10903
|
): Promise<TypedDevInspectResults<[kiosk.PurchaseCap<T0>]>> {
|
|
10904
10904
|
const tx = new Transaction();
|
|
@@ -10944,12 +10944,12 @@ export namespace kiosk {
|
|
|
10944
10944
|
inspectRes,
|
|
10945
10945
|
);
|
|
10946
10946
|
}
|
|
10947
|
-
export async function
|
|
10947
|
+
export async function new$(
|
|
10948
10948
|
client: SuiClient,
|
|
10949
10949
|
args: [],
|
|
10950
10950
|
): Promise<TypedDevInspectResults<[kiosk.Kiosk, kiosk.KioskOwnerCap]>> {
|
|
10951
10951
|
const tx = new Transaction();
|
|
10952
|
-
builder.
|
|
10952
|
+
builder.new$(tx, args);
|
|
10953
10953
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
10954
10954
|
transactionBlock: tx,
|
|
10955
10955
|
sender: ZERO_ADDRESS,
|
|
@@ -11054,7 +11054,7 @@ export namespace kiosk {
|
|
|
11054
11054
|
}
|
|
11055
11055
|
export async function purchase<T0 = any>(
|
|
11056
11056
|
client: SuiClient,
|
|
11057
|
-
args: [string,
|
|
11057
|
+
args: [string, object$.ID, coin.Coin<sui.SUI>],
|
|
11058
11058
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
11059
11059
|
): Promise<
|
|
11060
11060
|
TypedDevInspectResults<[T0, transfer_policy.TransferRequest<T0>]>
|
|
@@ -11074,7 +11074,7 @@ export namespace kiosk {
|
|
|
11074
11074
|
client: SuiClient,
|
|
11075
11075
|
args: [string],
|
|
11076
11076
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
11077
|
-
): Promise<TypedDevInspectResults<[
|
|
11077
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
11078
11078
|
const tx = new Transaction();
|
|
11079
11079
|
builder.purchaseCapItem(tx, args, typeArguments);
|
|
11080
11080
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11082,7 +11082,7 @@ export namespace kiosk {
|
|
|
11082
11082
|
sender: ZERO_ADDRESS,
|
|
11083
11083
|
});
|
|
11084
11084
|
|
|
11085
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11085
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
11086
11086
|
inspectRes,
|
|
11087
11087
|
);
|
|
11088
11088
|
}
|
|
@@ -11090,7 +11090,7 @@ export namespace kiosk {
|
|
|
11090
11090
|
client: SuiClient,
|
|
11091
11091
|
args: [string],
|
|
11092
11092
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
11093
|
-
): Promise<TypedDevInspectResults<[
|
|
11093
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
11094
11094
|
const tx = new Transaction();
|
|
11095
11095
|
builder.purchaseCapKiosk(tx, args, typeArguments);
|
|
11096
11096
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -11098,7 +11098,7 @@ export namespace kiosk {
|
|
|
11098
11098
|
sender: ZERO_ADDRESS,
|
|
11099
11099
|
});
|
|
11100
11100
|
|
|
11101
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
11101
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
11102
11102
|
inspectRes,
|
|
11103
11103
|
);
|
|
11104
11104
|
}
|
|
@@ -11215,7 +11215,7 @@ export namespace kiosk {
|
|
|
11215
11215
|
}
|
|
11216
11216
|
export async function take<T0 = any>(
|
|
11217
11217
|
client: SuiClient,
|
|
11218
|
-
args: [string, string,
|
|
11218
|
+
args: [string, string, object$.ID],
|
|
11219
11219
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
11220
11220
|
): Promise<TypedDevInspectResults<[T0]>> {
|
|
11221
11221
|
const tx = new Transaction();
|
|
@@ -11842,7 +11842,7 @@ export namespace kiosk_extension {
|
|
|
11842
11842
|
|
|
11843
11843
|
export namespace linked_table {
|
|
11844
11844
|
export interface LinkedTable<T0, T1> {
|
|
11845
|
-
id:
|
|
11845
|
+
id: object$.UID;
|
|
11846
11846
|
size: bigint;
|
|
11847
11847
|
head: _0x1.option.Option<T0>;
|
|
11848
11848
|
tail: _0x1.option.Option<T0>;
|
|
@@ -12093,7 +12093,7 @@ export namespace linked_table {
|
|
|
12093
12093
|
],
|
|
12094
12094
|
});
|
|
12095
12095
|
}
|
|
12096
|
-
export function
|
|
12096
|
+
export function new$<T0 = any, T1 = any>(
|
|
12097
12097
|
tx: Transaction,
|
|
12098
12098
|
args: [],
|
|
12099
12099
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -12440,13 +12440,13 @@ export namespace linked_table {
|
|
|
12440
12440
|
inspectRes,
|
|
12441
12441
|
);
|
|
12442
12442
|
}
|
|
12443
|
-
export async function
|
|
12443
|
+
export async function new$<T0 = any, T1 = any>(
|
|
12444
12444
|
client: SuiClient,
|
|
12445
12445
|
args: [],
|
|
12446
12446
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
12447
12447
|
): Promise<TypedDevInspectResults<[linked_table.LinkedTable<T0, T1>]>> {
|
|
12448
12448
|
const tx = new Transaction();
|
|
12449
|
-
builder.
|
|
12449
|
+
builder.new$(tx, args, typeArguments);
|
|
12450
12450
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
12451
12451
|
transactionBlock: tx,
|
|
12452
12452
|
sender: ZERO_ADDRESS,
|
|
@@ -12779,7 +12779,7 @@ export namespace math {
|
|
|
12779
12779
|
}
|
|
12780
12780
|
}
|
|
12781
12781
|
|
|
12782
|
-
export namespace
|
|
12782
|
+
export namespace object$ {
|
|
12783
12783
|
export type ID = string;
|
|
12784
12784
|
export namespace ID {
|
|
12785
12785
|
export const TYPE_QNAME = "0x2::object::ID";
|
|
@@ -12792,7 +12792,7 @@ export namespace object_ {
|
|
|
12792
12792
|
}
|
|
12793
12793
|
|
|
12794
12794
|
export interface UID {
|
|
12795
|
-
id:
|
|
12795
|
+
id: object$.ID;
|
|
12796
12796
|
}
|
|
12797
12797
|
|
|
12798
12798
|
export namespace UID {
|
|
@@ -12846,9 +12846,9 @@ export namespace object_ {
|
|
|
12846
12846
|
arguments: _args,
|
|
12847
12847
|
});
|
|
12848
12848
|
}
|
|
12849
|
-
export function
|
|
12849
|
+
export function delete$(
|
|
12850
12850
|
tx: Transaction,
|
|
12851
|
-
args: [
|
|
12851
|
+
args: [object$.UID | TransactionArgument],
|
|
12852
12852
|
): TransactionArgument & [TransactionArgument] {
|
|
12853
12853
|
const _args: any[] = [];
|
|
12854
12854
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -12968,7 +12968,7 @@ export namespace object_ {
|
|
|
12968
12968
|
arguments: _args,
|
|
12969
12969
|
});
|
|
12970
12970
|
}
|
|
12971
|
-
export function
|
|
12971
|
+
export function new$(tx: Transaction, args: []): TransactionArgument & [] {
|
|
12972
12972
|
const _args: any[] = [];
|
|
12973
12973
|
|
|
12974
12974
|
// @ts-ignore
|
|
@@ -13071,7 +13071,7 @@ export namespace object_ {
|
|
|
13071
13071
|
export async function authenticatorState(
|
|
13072
13072
|
client: SuiClient,
|
|
13073
13073
|
args: [],
|
|
13074
|
-
): Promise<TypedDevInspectResults<[
|
|
13074
|
+
): Promise<TypedDevInspectResults<[object$.UID]>> {
|
|
13075
13075
|
const tx = new Transaction();
|
|
13076
13076
|
builder.authenticatorState(tx, args);
|
|
13077
13077
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13079,7 +13079,7 @@ export namespace object_ {
|
|
|
13079
13079
|
sender: ZERO_ADDRESS,
|
|
13080
13080
|
});
|
|
13081
13081
|
|
|
13082
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13082
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.UID]>(
|
|
13083
13083
|
inspectRes,
|
|
13084
13084
|
);
|
|
13085
13085
|
}
|
|
@@ -13102,7 +13102,7 @@ export namespace object_ {
|
|
|
13102
13102
|
export async function clock(
|
|
13103
13103
|
client: SuiClient,
|
|
13104
13104
|
args: [],
|
|
13105
|
-
): Promise<TypedDevInspectResults<[
|
|
13105
|
+
): Promise<TypedDevInspectResults<[object$.UID]>> {
|
|
13106
13106
|
const tx = new Transaction();
|
|
13107
13107
|
builder.clock(tx, args);
|
|
13108
13108
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13110,16 +13110,16 @@ export namespace object_ {
|
|
|
13110
13110
|
sender: ZERO_ADDRESS,
|
|
13111
13111
|
});
|
|
13112
13112
|
|
|
13113
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13113
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.UID]>(
|
|
13114
13114
|
inspectRes,
|
|
13115
13115
|
);
|
|
13116
13116
|
}
|
|
13117
|
-
export async function
|
|
13117
|
+
export async function delete$(
|
|
13118
13118
|
client: SuiClient,
|
|
13119
|
-
args: [
|
|
13119
|
+
args: [object$.UID],
|
|
13120
13120
|
): Promise<TypedDevInspectResults<[]>> {
|
|
13121
13121
|
const tx = new Transaction();
|
|
13122
|
-
builder.
|
|
13122
|
+
builder.delete$(tx, args);
|
|
13123
13123
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
13124
13124
|
transactionBlock: tx,
|
|
13125
13125
|
sender: ZERO_ADDRESS,
|
|
@@ -13133,7 +13133,7 @@ export namespace object_ {
|
|
|
13133
13133
|
client: SuiClient,
|
|
13134
13134
|
args: [string],
|
|
13135
13135
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
13136
|
-
): Promise<TypedDevInspectResults<[
|
|
13136
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
13137
13137
|
const tx = new Transaction();
|
|
13138
13138
|
builder.id(tx, args, typeArguments);
|
|
13139
13139
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13141,7 +13141,7 @@ export namespace object_ {
|
|
|
13141
13141
|
sender: ZERO_ADDRESS,
|
|
13142
13142
|
});
|
|
13143
13143
|
|
|
13144
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13144
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
13145
13145
|
inspectRes,
|
|
13146
13146
|
);
|
|
13147
13147
|
}
|
|
@@ -13180,7 +13180,7 @@ export namespace object_ {
|
|
|
13180
13180
|
export async function idFromAddress(
|
|
13181
13181
|
client: SuiClient,
|
|
13182
13182
|
args: [string],
|
|
13183
|
-
): Promise<TypedDevInspectResults<[
|
|
13183
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
13184
13184
|
const tx = new Transaction();
|
|
13185
13185
|
builder.idFromAddress(tx, args);
|
|
13186
13186
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13188,14 +13188,14 @@ export namespace object_ {
|
|
|
13188
13188
|
sender: ZERO_ADDRESS,
|
|
13189
13189
|
});
|
|
13190
13190
|
|
|
13191
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13191
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
13192
13192
|
inspectRes,
|
|
13193
13193
|
);
|
|
13194
13194
|
}
|
|
13195
13195
|
export async function idFromBytes(
|
|
13196
13196
|
client: SuiClient,
|
|
13197
13197
|
args: [string[]],
|
|
13198
|
-
): Promise<TypedDevInspectResults<[
|
|
13198
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
13199
13199
|
const tx = new Transaction();
|
|
13200
13200
|
builder.idFromBytes(tx, args);
|
|
13201
13201
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13203,7 +13203,7 @@ export namespace object_ {
|
|
|
13203
13203
|
sender: ZERO_ADDRESS,
|
|
13204
13204
|
});
|
|
13205
13205
|
|
|
13206
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13206
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
13207
13207
|
inspectRes,
|
|
13208
13208
|
);
|
|
13209
13209
|
}
|
|
@@ -13237,25 +13237,25 @@ export namespace object_ {
|
|
|
13237
13237
|
inspectRes,
|
|
13238
13238
|
);
|
|
13239
13239
|
}
|
|
13240
|
-
export async function
|
|
13240
|
+
export async function new$(
|
|
13241
13241
|
client: SuiClient,
|
|
13242
13242
|
args: [],
|
|
13243
|
-
): Promise<TypedDevInspectResults<[
|
|
13243
|
+
): Promise<TypedDevInspectResults<[object$.UID]>> {
|
|
13244
13244
|
const tx = new Transaction();
|
|
13245
|
-
builder.
|
|
13245
|
+
builder.new$(tx, args);
|
|
13246
13246
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
13247
13247
|
transactionBlock: tx,
|
|
13248
13248
|
sender: ZERO_ADDRESS,
|
|
13249
13249
|
});
|
|
13250
13250
|
|
|
13251
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13251
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.UID]>(
|
|
13252
13252
|
inspectRes,
|
|
13253
13253
|
);
|
|
13254
13254
|
}
|
|
13255
13255
|
export async function newUidFromHash(
|
|
13256
13256
|
client: SuiClient,
|
|
13257
13257
|
args: [string],
|
|
13258
|
-
): Promise<TypedDevInspectResults<[
|
|
13258
|
+
): Promise<TypedDevInspectResults<[object$.UID]>> {
|
|
13259
13259
|
const tx = new Transaction();
|
|
13260
13260
|
builder.newUidFromHash(tx, args);
|
|
13261
13261
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13263,14 +13263,14 @@ export namespace object_ {
|
|
|
13263
13263
|
sender: ZERO_ADDRESS,
|
|
13264
13264
|
});
|
|
13265
13265
|
|
|
13266
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13266
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.UID]>(
|
|
13267
13267
|
inspectRes,
|
|
13268
13268
|
);
|
|
13269
13269
|
}
|
|
13270
13270
|
export async function randomnessState(
|
|
13271
13271
|
client: SuiClient,
|
|
13272
13272
|
args: [],
|
|
13273
|
-
): Promise<TypedDevInspectResults<[
|
|
13273
|
+
): Promise<TypedDevInspectResults<[object$.UID]>> {
|
|
13274
13274
|
const tx = new Transaction();
|
|
13275
13275
|
builder.randomnessState(tx, args);
|
|
13276
13276
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13278,14 +13278,14 @@ export namespace object_ {
|
|
|
13278
13278
|
sender: ZERO_ADDRESS,
|
|
13279
13279
|
});
|
|
13280
13280
|
|
|
13281
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13281
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.UID]>(
|
|
13282
13282
|
inspectRes,
|
|
13283
13283
|
);
|
|
13284
13284
|
}
|
|
13285
13285
|
export async function suiDenyListObjectId(
|
|
13286
13286
|
client: SuiClient,
|
|
13287
13287
|
args: [],
|
|
13288
|
-
): Promise<TypedDevInspectResults<[
|
|
13288
|
+
): Promise<TypedDevInspectResults<[object$.UID]>> {
|
|
13289
13289
|
const tx = new Transaction();
|
|
13290
13290
|
builder.suiDenyListObjectId(tx, args);
|
|
13291
13291
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13293,7 +13293,7 @@ export namespace object_ {
|
|
|
13293
13293
|
sender: ZERO_ADDRESS,
|
|
13294
13294
|
});
|
|
13295
13295
|
|
|
13296
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13296
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.UID]>(
|
|
13297
13297
|
inspectRes,
|
|
13298
13298
|
);
|
|
13299
13299
|
}
|
|
@@ -13345,7 +13345,7 @@ export namespace object_ {
|
|
|
13345
13345
|
export async function uidToInner(
|
|
13346
13346
|
client: SuiClient,
|
|
13347
13347
|
args: [string],
|
|
13348
|
-
): Promise<TypedDevInspectResults<[
|
|
13348
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
13349
13349
|
const tx = new Transaction();
|
|
13350
13350
|
builder.uidToInner(tx, args);
|
|
13351
13351
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13353,7 +13353,7 @@ export namespace object_ {
|
|
|
13353
13353
|
sender: ZERO_ADDRESS,
|
|
13354
13354
|
});
|
|
13355
13355
|
|
|
13356
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
13356
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
13357
13357
|
inspectRes,
|
|
13358
13358
|
);
|
|
13359
13359
|
}
|
|
@@ -13362,7 +13362,7 @@ export namespace object_ {
|
|
|
13362
13362
|
|
|
13363
13363
|
export namespace object_bag {
|
|
13364
13364
|
export interface ObjectBag {
|
|
13365
|
-
id:
|
|
13365
|
+
id: object$.UID;
|
|
13366
13366
|
size: bigint;
|
|
13367
13367
|
}
|
|
13368
13368
|
|
|
@@ -13546,7 +13546,7 @@ export namespace object_bag {
|
|
|
13546
13546
|
arguments: _args,
|
|
13547
13547
|
});
|
|
13548
13548
|
}
|
|
13549
|
-
export function
|
|
13549
|
+
export function new$(tx: Transaction, args: []): TransactionArgument & [] {
|
|
13550
13550
|
const _args: any[] = [];
|
|
13551
13551
|
|
|
13552
13552
|
// @ts-ignore
|
|
@@ -13731,12 +13731,12 @@ export namespace object_bag {
|
|
|
13731
13731
|
inspectRes,
|
|
13732
13732
|
);
|
|
13733
13733
|
}
|
|
13734
|
-
export async function
|
|
13734
|
+
export async function new$(
|
|
13735
13735
|
client: SuiClient,
|
|
13736
13736
|
args: [],
|
|
13737
13737
|
): Promise<TypedDevInspectResults<[object_bag.ObjectBag]>> {
|
|
13738
13738
|
const tx = new Transaction();
|
|
13739
|
-
builder.
|
|
13739
|
+
builder.new$(tx, args);
|
|
13740
13740
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
13741
13741
|
transactionBlock: tx,
|
|
13742
13742
|
sender: ZERO_ADDRESS,
|
|
@@ -13766,7 +13766,7 @@ export namespace object_bag {
|
|
|
13766
13766
|
client: SuiClient,
|
|
13767
13767
|
args: [string, T0],
|
|
13768
13768
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
13769
|
-
): Promise<TypedDevInspectResults<[_0x1.option.Option<
|
|
13769
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>> {
|
|
13770
13770
|
const tx = new Transaction();
|
|
13771
13771
|
builder.valueId(tx, args, typeArguments);
|
|
13772
13772
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -13775,7 +13775,7 @@ export namespace object_bag {
|
|
|
13775
13775
|
});
|
|
13776
13776
|
|
|
13777
13777
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
13778
|
-
[_0x1.option.Option<
|
|
13778
|
+
[_0x1.option.Option<object$.ID>]
|
|
13779
13779
|
>(inspectRes);
|
|
13780
13780
|
}
|
|
13781
13781
|
}
|
|
@@ -13783,7 +13783,7 @@ export namespace object_bag {
|
|
|
13783
13783
|
|
|
13784
13784
|
export namespace object_table {
|
|
13785
13785
|
export interface ObjectTable<T0, T1> {
|
|
13786
|
-
id:
|
|
13786
|
+
id: object$.UID;
|
|
13787
13787
|
size: bigint;
|
|
13788
13788
|
}
|
|
13789
13789
|
|
|
@@ -13976,7 +13976,7 @@ export namespace object_table {
|
|
|
13976
13976
|
],
|
|
13977
13977
|
});
|
|
13978
13978
|
}
|
|
13979
|
-
export function
|
|
13979
|
+
export function new$<T0 = any, T1 = any>(
|
|
13980
13980
|
tx: Transaction,
|
|
13981
13981
|
args: [],
|
|
13982
13982
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -14163,13 +14163,13 @@ export namespace object_table {
|
|
|
14163
14163
|
inspectRes,
|
|
14164
14164
|
);
|
|
14165
14165
|
}
|
|
14166
|
-
export async function
|
|
14166
|
+
export async function new$<T0 = any, T1 = any>(
|
|
14167
14167
|
client: SuiClient,
|
|
14168
14168
|
args: [],
|
|
14169
14169
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
14170
14170
|
): Promise<TypedDevInspectResults<[object_table.ObjectTable<T0, T1>]>> {
|
|
14171
14171
|
const tx = new Transaction();
|
|
14172
|
-
builder.
|
|
14172
|
+
builder.new$(tx, args, typeArguments);
|
|
14173
14173
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
14174
14174
|
transactionBlock: tx,
|
|
14175
14175
|
sender: ZERO_ADDRESS,
|
|
@@ -14199,7 +14199,7 @@ export namespace object_table {
|
|
|
14199
14199
|
client: SuiClient,
|
|
14200
14200
|
args: [string, T0],
|
|
14201
14201
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
14202
|
-
): Promise<TypedDevInspectResults<[_0x1.option.Option<
|
|
14202
|
+
): Promise<TypedDevInspectResults<[_0x1.option.Option<object$.ID>]>> {
|
|
14203
14203
|
const tx = new Transaction();
|
|
14204
14204
|
builder.valueId(tx, args, typeArguments);
|
|
14205
14205
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14208,15 +14208,15 @@ export namespace object_table {
|
|
|
14208
14208
|
});
|
|
14209
14209
|
|
|
14210
14210
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
14211
|
-
[_0x1.option.Option<
|
|
14211
|
+
[_0x1.option.Option<object$.ID>]
|
|
14212
14212
|
>(inspectRes);
|
|
14213
14213
|
}
|
|
14214
14214
|
}
|
|
14215
14215
|
}
|
|
14216
14216
|
|
|
14217
|
-
export namespace
|
|
14217
|
+
export namespace package$ {
|
|
14218
14218
|
export interface Publisher {
|
|
14219
|
-
id:
|
|
14219
|
+
id: object$.UID;
|
|
14220
14220
|
package: _0x1.ascii.String;
|
|
14221
14221
|
module_name: _0x1.ascii.String;
|
|
14222
14222
|
}
|
|
@@ -14232,8 +14232,8 @@ export namespace package_ {
|
|
|
14232
14232
|
}
|
|
14233
14233
|
|
|
14234
14234
|
export interface UpgradeCap {
|
|
14235
|
-
id:
|
|
14236
|
-
package:
|
|
14235
|
+
id: object$.UID;
|
|
14236
|
+
package: object$.ID;
|
|
14237
14237
|
version: bigint;
|
|
14238
14238
|
policy: number;
|
|
14239
14239
|
}
|
|
@@ -14249,8 +14249,8 @@ export namespace package_ {
|
|
|
14249
14249
|
}
|
|
14250
14250
|
|
|
14251
14251
|
export interface UpgradeReceipt {
|
|
14252
|
-
cap:
|
|
14253
|
-
package:
|
|
14252
|
+
cap: object$.ID;
|
|
14253
|
+
package: object$.ID;
|
|
14254
14254
|
}
|
|
14255
14255
|
|
|
14256
14256
|
export namespace UpgradeReceipt {
|
|
@@ -14264,8 +14264,8 @@ export namespace package_ {
|
|
|
14264
14264
|
}
|
|
14265
14265
|
|
|
14266
14266
|
export interface UpgradeTicket {
|
|
14267
|
-
cap:
|
|
14268
|
-
package:
|
|
14267
|
+
cap: object$.ID;
|
|
14268
|
+
package: object$.ID;
|
|
14269
14269
|
policy: number;
|
|
14270
14270
|
digest: number[];
|
|
14271
14271
|
}
|
|
@@ -14315,7 +14315,7 @@ export namespace package_ {
|
|
|
14315
14315
|
}
|
|
14316
14316
|
export function burnPublisher(
|
|
14317
14317
|
tx: Transaction,
|
|
14318
|
-
args: [
|
|
14318
|
+
args: [package$.Publisher | TransactionArgument],
|
|
14319
14319
|
): TransactionArgument & [TransactionArgument] {
|
|
14320
14320
|
const _args: any[] = [];
|
|
14321
14321
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -14368,7 +14368,7 @@ export namespace package_ {
|
|
|
14368
14368
|
tx: Transaction,
|
|
14369
14369
|
args: [
|
|
14370
14370
|
string | TransactionObjectArgument | TransactionArgument,
|
|
14371
|
-
|
|
14371
|
+
package$.UpgradeReceipt | TransactionArgument,
|
|
14372
14372
|
],
|
|
14373
14373
|
): TransactionArgument & [TransactionArgument, TransactionArgument] {
|
|
14374
14374
|
const _args: any[] = [];
|
|
@@ -14445,7 +14445,7 @@ export namespace package_ {
|
|
|
14445
14445
|
}
|
|
14446
14446
|
export function makeImmutable(
|
|
14447
14447
|
tx: Transaction,
|
|
14448
|
-
args: [
|
|
14448
|
+
args: [package$.UpgradeCap | TransactionArgument],
|
|
14449
14449
|
): TransactionArgument & [TransactionArgument] {
|
|
14450
14450
|
const _args: any[] = [];
|
|
14451
14451
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -14632,7 +14632,7 @@ export namespace package_ {
|
|
|
14632
14632
|
export async function authorizeUpgrade(
|
|
14633
14633
|
client: SuiClient,
|
|
14634
14634
|
args: [string, number, string[]],
|
|
14635
|
-
): Promise<TypedDevInspectResults<[
|
|
14635
|
+
): Promise<TypedDevInspectResults<[package$.UpgradeTicket]>> {
|
|
14636
14636
|
const tx = new Transaction();
|
|
14637
14637
|
builder.authorizeUpgrade(tx, args);
|
|
14638
14638
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14641,12 +14641,12 @@ export namespace package_ {
|
|
|
14641
14641
|
});
|
|
14642
14642
|
|
|
14643
14643
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
14644
|
-
[
|
|
14644
|
+
[package$.UpgradeTicket]
|
|
14645
14645
|
>(inspectRes);
|
|
14646
14646
|
}
|
|
14647
14647
|
export async function burnPublisher(
|
|
14648
14648
|
client: SuiClient,
|
|
14649
|
-
args: [
|
|
14649
|
+
args: [package$.Publisher],
|
|
14650
14650
|
): Promise<TypedDevInspectResults<[]>> {
|
|
14651
14651
|
const tx = new Transaction();
|
|
14652
14652
|
builder.burnPublisher(tx, args);
|
|
@@ -14663,7 +14663,7 @@ export namespace package_ {
|
|
|
14663
14663
|
client: SuiClient,
|
|
14664
14664
|
args: [T0],
|
|
14665
14665
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
14666
|
-
): Promise<TypedDevInspectResults<[
|
|
14666
|
+
): Promise<TypedDevInspectResults<[package$.Publisher]>> {
|
|
14667
14667
|
const tx = new Transaction();
|
|
14668
14668
|
builder.claim(tx, args, typeArguments);
|
|
14669
14669
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14672,7 +14672,7 @@ export namespace package_ {
|
|
|
14672
14672
|
});
|
|
14673
14673
|
|
|
14674
14674
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
14675
|
-
[
|
|
14675
|
+
[package$.Publisher]
|
|
14676
14676
|
>(inspectRes);
|
|
14677
14677
|
}
|
|
14678
14678
|
export async function claimAndKeep<T0 = any>(
|
|
@@ -14693,7 +14693,7 @@ export namespace package_ {
|
|
|
14693
14693
|
}
|
|
14694
14694
|
export async function commitUpgrade(
|
|
14695
14695
|
client: SuiClient,
|
|
14696
|
-
args: [string,
|
|
14696
|
+
args: [string, package$.UpgradeReceipt],
|
|
14697
14697
|
): Promise<TypedDevInspectResults<[]>> {
|
|
14698
14698
|
const tx = new Transaction();
|
|
14699
14699
|
builder.commitUpgrade(tx, args);
|
|
@@ -14770,7 +14770,7 @@ export namespace package_ {
|
|
|
14770
14770
|
}
|
|
14771
14771
|
export async function makeImmutable(
|
|
14772
14772
|
client: SuiClient,
|
|
14773
|
-
args: [
|
|
14773
|
+
args: [package$.UpgradeCap],
|
|
14774
14774
|
): Promise<TypedDevInspectResults<[]>> {
|
|
14775
14775
|
const tx = new Transaction();
|
|
14776
14776
|
builder.makeImmutable(tx, args);
|
|
@@ -14846,7 +14846,7 @@ export namespace package_ {
|
|
|
14846
14846
|
export async function receiptCap(
|
|
14847
14847
|
client: SuiClient,
|
|
14848
14848
|
args: [string],
|
|
14849
|
-
): Promise<TypedDevInspectResults<[
|
|
14849
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
14850
14850
|
const tx = new Transaction();
|
|
14851
14851
|
builder.receiptCap(tx, args);
|
|
14852
14852
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14854,14 +14854,14 @@ export namespace package_ {
|
|
|
14854
14854
|
sender: ZERO_ADDRESS,
|
|
14855
14855
|
});
|
|
14856
14856
|
|
|
14857
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14857
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
14858
14858
|
inspectRes,
|
|
14859
14859
|
);
|
|
14860
14860
|
}
|
|
14861
14861
|
export async function receiptPackage(
|
|
14862
14862
|
client: SuiClient,
|
|
14863
14863
|
args: [string],
|
|
14864
|
-
): Promise<TypedDevInspectResults<[
|
|
14864
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
14865
14865
|
const tx = new Transaction();
|
|
14866
14866
|
builder.receiptPackage(tx, args);
|
|
14867
14867
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14869,7 +14869,7 @@ export namespace package_ {
|
|
|
14869
14869
|
sender: ZERO_ADDRESS,
|
|
14870
14870
|
});
|
|
14871
14871
|
|
|
14872
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14872
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
14873
14873
|
inspectRes,
|
|
14874
14874
|
);
|
|
14875
14875
|
}
|
|
@@ -14891,7 +14891,7 @@ export namespace package_ {
|
|
|
14891
14891
|
export async function ticketPackage(
|
|
14892
14892
|
client: SuiClient,
|
|
14893
14893
|
args: [string],
|
|
14894
|
-
): Promise<TypedDevInspectResults<[
|
|
14894
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
14895
14895
|
const tx = new Transaction();
|
|
14896
14896
|
builder.ticketPackage(tx, args);
|
|
14897
14897
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14899,7 +14899,7 @@ export namespace package_ {
|
|
|
14899
14899
|
sender: ZERO_ADDRESS,
|
|
14900
14900
|
});
|
|
14901
14901
|
|
|
14902
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14902
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
14903
14903
|
inspectRes,
|
|
14904
14904
|
);
|
|
14905
14905
|
}
|
|
@@ -14921,7 +14921,7 @@ export namespace package_ {
|
|
|
14921
14921
|
export async function upgradePackage(
|
|
14922
14922
|
client: SuiClient,
|
|
14923
14923
|
args: [string],
|
|
14924
|
-
): Promise<TypedDevInspectResults<[
|
|
14924
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
14925
14925
|
const tx = new Transaction();
|
|
14926
14926
|
builder.upgradePackage(tx, args);
|
|
14927
14927
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -14929,7 +14929,7 @@ export namespace package_ {
|
|
|
14929
14929
|
sender: ZERO_ADDRESS,
|
|
14930
14930
|
});
|
|
14931
14931
|
|
|
14932
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
14932
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
14933
14933
|
inspectRes,
|
|
14934
14934
|
);
|
|
14935
14935
|
}
|
|
@@ -15405,7 +15405,7 @@ export namespace priority_queue {
|
|
|
15405
15405
|
],
|
|
15406
15406
|
});
|
|
15407
15407
|
}
|
|
15408
|
-
export function
|
|
15408
|
+
export function new$<T0 = any>(
|
|
15409
15409
|
tx: Transaction,
|
|
15410
15410
|
args: [(string | TransactionObjectArgument)[] | TransactionArgument],
|
|
15411
15411
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -15516,13 +15516,13 @@ export namespace priority_queue {
|
|
|
15516
15516
|
inspectRes,
|
|
15517
15517
|
);
|
|
15518
15518
|
}
|
|
15519
|
-
export async function
|
|
15519
|
+
export async function new$<T0 = any>(
|
|
15520
15520
|
client: SuiClient,
|
|
15521
15521
|
args: [string[]],
|
|
15522
15522
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
15523
15523
|
): Promise<TypedDevInspectResults<[priority_queue.PriorityQueue<T0>]>> {
|
|
15524
15524
|
const tx = new Transaction();
|
|
15525
|
-
builder.
|
|
15525
|
+
builder.new$(tx, args, typeArguments);
|
|
15526
15526
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
15527
15527
|
transactionBlock: tx,
|
|
15528
15528
|
sender: ZERO_ADDRESS,
|
|
@@ -15590,7 +15590,7 @@ export namespace prover {
|
|
|
15590
15590
|
|
|
15591
15591
|
export namespace random {
|
|
15592
15592
|
export interface Random {
|
|
15593
|
-
id:
|
|
15593
|
+
id: object$.UID;
|
|
15594
15594
|
inner: versioned.Versioned;
|
|
15595
15595
|
}
|
|
15596
15596
|
|
|
@@ -16170,7 +16170,7 @@ export namespace sui {
|
|
|
16170
16170
|
|
|
16171
16171
|
export namespace table {
|
|
16172
16172
|
export interface Table<T0, T1> {
|
|
16173
|
-
id:
|
|
16173
|
+
id: object$.UID;
|
|
16174
16174
|
size: bigint;
|
|
16175
16175
|
}
|
|
16176
16176
|
|
|
@@ -16383,7 +16383,7 @@ export namespace table {
|
|
|
16383
16383
|
],
|
|
16384
16384
|
});
|
|
16385
16385
|
}
|
|
16386
|
-
export function
|
|
16386
|
+
export function new$<T0 = any, T1 = any>(
|
|
16387
16387
|
tx: Transaction,
|
|
16388
16388
|
args: [],
|
|
16389
16389
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
@@ -16560,13 +16560,13 @@ export namespace table {
|
|
|
16560
16560
|
inspectRes,
|
|
16561
16561
|
);
|
|
16562
16562
|
}
|
|
16563
|
-
export async function
|
|
16563
|
+
export async function new$<T0 = any, T1 = any>(
|
|
16564
16564
|
client: SuiClient,
|
|
16565
16565
|
args: [],
|
|
16566
16566
|
typeArguments: [TypeDescriptor<T0> | string, TypeDescriptor<T1> | string],
|
|
16567
16567
|
): Promise<TypedDevInspectResults<[table.Table<T0, T1>]>> {
|
|
16568
16568
|
const tx = new Transaction();
|
|
16569
|
-
builder.
|
|
16569
|
+
builder.new$(tx, args, typeArguments);
|
|
16570
16570
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
16571
16571
|
transactionBlock: tx,
|
|
16572
16572
|
sender: ZERO_ADDRESS,
|
|
@@ -17106,7 +17106,7 @@ export namespace token {
|
|
|
17106
17106
|
}
|
|
17107
17107
|
|
|
17108
17108
|
export interface Token<T0> {
|
|
17109
|
-
id:
|
|
17109
|
+
id: object$.UID;
|
|
17110
17110
|
balance: balance.Balance<T0>;
|
|
17111
17111
|
}
|
|
17112
17112
|
|
|
@@ -17123,7 +17123,7 @@ export namespace token {
|
|
|
17123
17123
|
}
|
|
17124
17124
|
|
|
17125
17125
|
export interface TokenPolicy<T0> {
|
|
17126
|
-
id:
|
|
17126
|
+
id: object$.UID;
|
|
17127
17127
|
spent_balance: balance.Balance<T0>;
|
|
17128
17128
|
rules: vec_map.VecMap<string, vec_set.VecSet<_0x1.type_name.TypeName>>;
|
|
17129
17129
|
}
|
|
@@ -17141,8 +17141,8 @@ export namespace token {
|
|
|
17141
17141
|
}
|
|
17142
17142
|
|
|
17143
17143
|
export interface TokenPolicyCap<T0> {
|
|
17144
|
-
id:
|
|
17145
|
-
for:
|
|
17144
|
+
id: object$.UID;
|
|
17145
|
+
for: object$.ID;
|
|
17146
17146
|
}
|
|
17147
17147
|
|
|
17148
17148
|
export namespace TokenPolicyCap {
|
|
@@ -17160,7 +17160,7 @@ export namespace token {
|
|
|
17160
17160
|
}
|
|
17161
17161
|
|
|
17162
17162
|
export interface TokenPolicyCreated<T0> {
|
|
17163
|
-
id:
|
|
17163
|
+
id: object$.ID;
|
|
17164
17164
|
is_mutable: boolean;
|
|
17165
17165
|
}
|
|
17166
17166
|
|
|
@@ -18935,7 +18935,7 @@ export namespace token {
|
|
|
18935
18935
|
|
|
18936
18936
|
export namespace transfer {
|
|
18937
18937
|
export interface Receiving<T0> {
|
|
18938
|
-
id:
|
|
18938
|
+
id: object$.ID;
|
|
18939
18939
|
version: bigint;
|
|
18940
18940
|
}
|
|
18941
18941
|
|
|
@@ -19309,7 +19309,7 @@ export namespace transfer {
|
|
|
19309
19309
|
client: SuiClient,
|
|
19310
19310
|
args: [string],
|
|
19311
19311
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
19312
|
-
): Promise<TypedDevInspectResults<[
|
|
19312
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
19313
19313
|
const tx = new Transaction();
|
|
19314
19314
|
builder.receivingObjectId(tx, args, typeArguments);
|
|
19315
19315
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -19317,7 +19317,7 @@ export namespace transfer {
|
|
|
19317
19317
|
sender: ZERO_ADDRESS,
|
|
19318
19318
|
});
|
|
19319
19319
|
|
|
19320
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
19320
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
19321
19321
|
inspectRes,
|
|
19322
19322
|
);
|
|
19323
19323
|
}
|
|
@@ -19411,7 +19411,7 @@ export namespace transfer_policy {
|
|
|
19411
19411
|
}
|
|
19412
19412
|
|
|
19413
19413
|
export interface TransferPolicy<T0> {
|
|
19414
|
-
id:
|
|
19414
|
+
id: object$.UID;
|
|
19415
19415
|
balance: balance.Balance<sui.SUI>;
|
|
19416
19416
|
rules: vec_set.VecSet<_0x1.type_name.TypeName>;
|
|
19417
19417
|
}
|
|
@@ -19431,8 +19431,8 @@ export namespace transfer_policy {
|
|
|
19431
19431
|
}
|
|
19432
19432
|
|
|
19433
19433
|
export interface TransferPolicyCap<T0> {
|
|
19434
|
-
id:
|
|
19435
|
-
policy_id:
|
|
19434
|
+
id: object$.UID;
|
|
19435
|
+
policy_id: object$.ID;
|
|
19436
19436
|
}
|
|
19437
19437
|
|
|
19438
19438
|
export namespace TransferPolicyCap {
|
|
@@ -19450,7 +19450,7 @@ export namespace transfer_policy {
|
|
|
19450
19450
|
}
|
|
19451
19451
|
|
|
19452
19452
|
export interface TransferPolicyCreated<T0> {
|
|
19453
|
-
id:
|
|
19453
|
+
id: object$.ID;
|
|
19454
19454
|
}
|
|
19455
19455
|
|
|
19456
19456
|
export namespace TransferPolicyCreated {
|
|
@@ -19474,7 +19474,7 @@ export namespace transfer_policy {
|
|
|
19474
19474
|
}
|
|
19475
19475
|
|
|
19476
19476
|
export interface TransferPolicyDestroyed<T0> {
|
|
19477
|
-
id:
|
|
19477
|
+
id: object$.ID;
|
|
19478
19478
|
}
|
|
19479
19479
|
|
|
19480
19480
|
export namespace TransferPolicyDestroyed {
|
|
@@ -19498,9 +19498,9 @@ export namespace transfer_policy {
|
|
|
19498
19498
|
}
|
|
19499
19499
|
|
|
19500
19500
|
export interface TransferRequest<T0> {
|
|
19501
|
-
item:
|
|
19501
|
+
item: object$.ID;
|
|
19502
19502
|
paid: bigint;
|
|
19503
|
-
from:
|
|
19503
|
+
from: object$.ID;
|
|
19504
19504
|
receipts: vec_set.VecSet<_0x1.type_name.TypeName>;
|
|
19505
19505
|
}
|
|
19506
19506
|
|
|
@@ -19640,7 +19640,7 @@ export namespace transfer_policy {
|
|
|
19640
19640
|
],
|
|
19641
19641
|
});
|
|
19642
19642
|
}
|
|
19643
|
-
export function
|
|
19643
|
+
export function default$<T0 = any>(
|
|
19644
19644
|
tx: Transaction,
|
|
19645
19645
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
19646
19646
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -19682,7 +19682,7 @@ export namespace transfer_policy {
|
|
|
19682
19682
|
],
|
|
19683
19683
|
});
|
|
19684
19684
|
}
|
|
19685
|
-
export function from
|
|
19685
|
+
export function from$<T0 = any>(
|
|
19686
19686
|
tx: Transaction,
|
|
19687
19687
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
19688
19688
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -19775,7 +19775,7 @@ export namespace transfer_policy {
|
|
|
19775
19775
|
],
|
|
19776
19776
|
});
|
|
19777
19777
|
}
|
|
19778
|
-
export function
|
|
19778
|
+
export function new$<T0 = any>(
|
|
19779
19779
|
tx: Transaction,
|
|
19780
19780
|
args: [string | TransactionObjectArgument | TransactionArgument],
|
|
19781
19781
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -19797,9 +19797,9 @@ export namespace transfer_policy {
|
|
|
19797
19797
|
export function newRequest<T0 = any>(
|
|
19798
19798
|
tx: Transaction,
|
|
19799
19799
|
args: [
|
|
19800
|
-
|
|
19800
|
+
object$.ID | TransactionArgument,
|
|
19801
19801
|
bigint | TransactionArgument,
|
|
19802
|
-
|
|
19802
|
+
object$.ID | TransactionArgument,
|
|
19803
19803
|
],
|
|
19804
19804
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
19805
19805
|
): TransactionArgument &
|
|
@@ -20017,7 +20017,7 @@ export namespace transfer_policy {
|
|
|
20017
20017
|
client: SuiClient,
|
|
20018
20018
|
args: [string, transfer_policy.TransferRequest<T0>],
|
|
20019
20019
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
20020
|
-
): Promise<TypedDevInspectResults<[
|
|
20020
|
+
): Promise<TypedDevInspectResults<[object$.ID, bigint, object$.ID]>> {
|
|
20021
20021
|
const tx = new Transaction();
|
|
20022
20022
|
builder.confirmRequest(tx, args, typeArguments);
|
|
20023
20023
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -20026,7 +20026,7 @@ export namespace transfer_policy {
|
|
|
20026
20026
|
});
|
|
20027
20027
|
|
|
20028
20028
|
return (await getMoveCoder(client)).decodeDevInspectResult<
|
|
20029
|
-
[
|
|
20029
|
+
[object$.ID, bigint, object$.ID]
|
|
20030
20030
|
>(inspectRes);
|
|
20031
20031
|
}
|
|
20032
20032
|
|
|
@@ -20049,19 +20049,19 @@ export namespace transfer_policy {
|
|
|
20049
20049
|
[coin.Coin<sui.SUI>]
|
|
20050
20050
|
>(inspectRes);
|
|
20051
20051
|
}
|
|
20052
|
-
export async function from
|
|
20052
|
+
export async function from$<T0 = any>(
|
|
20053
20053
|
client: SuiClient,
|
|
20054
20054
|
args: [string],
|
|
20055
20055
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
20056
|
-
): Promise<TypedDevInspectResults<[
|
|
20056
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
20057
20057
|
const tx = new Transaction();
|
|
20058
|
-
builder.from(tx, args, typeArguments);
|
|
20058
|
+
builder.from$(tx, args, typeArguments);
|
|
20059
20059
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
20060
20060
|
transactionBlock: tx,
|
|
20061
20061
|
sender: ZERO_ADDRESS,
|
|
20062
20062
|
});
|
|
20063
20063
|
|
|
20064
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
20064
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
20065
20065
|
inspectRes,
|
|
20066
20066
|
);
|
|
20067
20067
|
}
|
|
@@ -20105,7 +20105,7 @@ export namespace transfer_policy {
|
|
|
20105
20105
|
client: SuiClient,
|
|
20106
20106
|
args: [string],
|
|
20107
20107
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
20108
|
-
): Promise<TypedDevInspectResults<[
|
|
20108
|
+
): Promise<TypedDevInspectResults<[object$.ID]>> {
|
|
20109
20109
|
const tx = new Transaction();
|
|
20110
20110
|
builder.item(tx, args, typeArguments);
|
|
20111
20111
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
@@ -20113,11 +20113,11 @@ export namespace transfer_policy {
|
|
|
20113
20113
|
sender: ZERO_ADDRESS,
|
|
20114
20114
|
});
|
|
20115
20115
|
|
|
20116
|
-
return (await getMoveCoder(client)).decodeDevInspectResult<[
|
|
20116
|
+
return (await getMoveCoder(client)).decodeDevInspectResult<[object$.ID]>(
|
|
20117
20117
|
inspectRes,
|
|
20118
20118
|
);
|
|
20119
20119
|
}
|
|
20120
|
-
export async function
|
|
20120
|
+
export async function new$<T0 = any>(
|
|
20121
20121
|
client: SuiClient,
|
|
20122
20122
|
args: [string],
|
|
20123
20123
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
@@ -20130,7 +20130,7 @@ export namespace transfer_policy {
|
|
|
20130
20130
|
>
|
|
20131
20131
|
> {
|
|
20132
20132
|
const tx = new Transaction();
|
|
20133
|
-
builder.
|
|
20133
|
+
builder.new$(tx, args, typeArguments);
|
|
20134
20134
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
20135
20135
|
transactionBlock: tx,
|
|
20136
20136
|
sender: ZERO_ADDRESS,
|
|
@@ -20145,7 +20145,7 @@ export namespace transfer_policy {
|
|
|
20145
20145
|
}
|
|
20146
20146
|
export async function newRequest<T0 = any>(
|
|
20147
20147
|
client: SuiClient,
|
|
20148
|
-
args: [
|
|
20148
|
+
args: [object$.ID, bigint, object$.ID],
|
|
20149
20149
|
typeArguments: [TypeDescriptor<T0> | string],
|
|
20150
20150
|
): Promise<TypedDevInspectResults<[transfer_policy.TransferRequest<T0>]>> {
|
|
20151
20151
|
const tx = new Transaction();
|
|
@@ -21895,7 +21895,7 @@ export namespace vec_set {
|
|
|
21895
21895
|
|
|
21896
21896
|
export namespace versioned {
|
|
21897
21897
|
export interface VersionChangeCap {
|
|
21898
|
-
versioned_id:
|
|
21898
|
+
versioned_id: object$.ID;
|
|
21899
21899
|
old_version: bigint;
|
|
21900
21900
|
}
|
|
21901
21901
|
|
|
@@ -21912,7 +21912,7 @@ export namespace versioned {
|
|
|
21912
21912
|
}
|
|
21913
21913
|
|
|
21914
21914
|
export interface Versioned {
|
|
21915
|
-
id:
|
|
21915
|
+
id: object$.UID;
|
|
21916
21916
|
version: bigint;
|
|
21917
21917
|
}
|
|
21918
21918
|
|
|
@@ -22187,7 +22187,7 @@ export namespace versioned {
|
|
|
22187
22187
|
|
|
22188
22188
|
export namespace zklogin_verified_id {
|
|
22189
22189
|
export interface VerifiedID {
|
|
22190
|
-
id:
|
|
22190
|
+
id: object$.UID;
|
|
22191
22191
|
owner: string;
|
|
22192
22192
|
key_claim_name: string;
|
|
22193
22193
|
key_claim_value: string;
|
|
@@ -22252,7 +22252,7 @@ export namespace zklogin_verified_id {
|
|
|
22252
22252
|
arguments: _args,
|
|
22253
22253
|
});
|
|
22254
22254
|
}
|
|
22255
|
-
export function
|
|
22255
|
+
export function delete$(
|
|
22256
22256
|
tx: Transaction,
|
|
22257
22257
|
args: [zklogin_verified_id.VerifiedID | TransactionArgument],
|
|
22258
22258
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -22379,12 +22379,12 @@ export namespace zklogin_verified_id {
|
|
|
22379
22379
|
inspectRes,
|
|
22380
22380
|
);
|
|
22381
22381
|
}
|
|
22382
|
-
export async function
|
|
22382
|
+
export async function delete$(
|
|
22383
22383
|
client: SuiClient,
|
|
22384
22384
|
args: [zklogin_verified_id.VerifiedID],
|
|
22385
22385
|
): Promise<TypedDevInspectResults<[]>> {
|
|
22386
22386
|
const tx = new Transaction();
|
|
22387
|
-
builder.
|
|
22387
|
+
builder.delete$(tx, args);
|
|
22388
22388
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
22389
22389
|
transactionBlock: tx,
|
|
22390
22390
|
sender: ZERO_ADDRESS,
|
|
@@ -22474,7 +22474,7 @@ export namespace zklogin_verified_id {
|
|
|
22474
22474
|
|
|
22475
22475
|
export namespace zklogin_verified_issuer {
|
|
22476
22476
|
export interface VerifiedIssuer {
|
|
22477
|
-
id:
|
|
22477
|
+
id: object$.UID;
|
|
22478
22478
|
owner: string;
|
|
22479
22479
|
issuer: string;
|
|
22480
22480
|
}
|
|
@@ -22510,7 +22510,7 @@ export namespace zklogin_verified_issuer {
|
|
|
22510
22510
|
arguments: _args,
|
|
22511
22511
|
});
|
|
22512
22512
|
}
|
|
22513
|
-
export function
|
|
22513
|
+
export function delete$(
|
|
22514
22514
|
tx: Transaction,
|
|
22515
22515
|
args: [zklogin_verified_issuer.VerifiedIssuer | TransactionArgument],
|
|
22516
22516
|
): TransactionArgument & [TransactionArgument] {
|
|
@@ -22580,12 +22580,12 @@ export namespace zklogin_verified_issuer {
|
|
|
22580
22580
|
inspectRes,
|
|
22581
22581
|
);
|
|
22582
22582
|
}
|
|
22583
|
-
export async function
|
|
22583
|
+
export async function delete$(
|
|
22584
22584
|
client: SuiClient,
|
|
22585
22585
|
args: [zklogin_verified_issuer.VerifiedIssuer],
|
|
22586
22586
|
): Promise<TypedDevInspectResults<[]>> {
|
|
22587
22587
|
const tx = new Transaction();
|
|
22588
|
-
builder.
|
|
22588
|
+
builder.delete$(tx, args);
|
|
22589
22589
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
22590
22590
|
transactionBlock: tx,
|
|
22591
22591
|
sender: ZERO_ADDRESS,
|