@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/dist/esm/builtin/0x2.js
CHANGED
|
@@ -379,7 +379,7 @@ export var bag;
|
|
|
379
379
|
});
|
|
380
380
|
}
|
|
381
381
|
builder.length = length;
|
|
382
|
-
function
|
|
382
|
+
function new$(tx, args) {
|
|
383
383
|
const _args = [];
|
|
384
384
|
// @ts-ignore
|
|
385
385
|
return tx.moveCall({
|
|
@@ -387,7 +387,7 @@ export var bag;
|
|
|
387
387
|
arguments: _args,
|
|
388
388
|
});
|
|
389
389
|
}
|
|
390
|
-
builder.
|
|
390
|
+
builder.new$ = new$;
|
|
391
391
|
function remove(tx, args, typeArguments) {
|
|
392
392
|
const _args = [];
|
|
393
393
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -490,16 +490,16 @@ export var bag;
|
|
|
490
490
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
491
491
|
}
|
|
492
492
|
view.length = length;
|
|
493
|
-
async function
|
|
493
|
+
async function new$(client, args) {
|
|
494
494
|
const tx = new Transaction();
|
|
495
|
-
builder.
|
|
495
|
+
builder.new$(tx, args);
|
|
496
496
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
497
497
|
transactionBlock: tx,
|
|
498
498
|
sender: ZERO_ADDRESS,
|
|
499
499
|
});
|
|
500
500
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
501
501
|
}
|
|
502
|
-
view.
|
|
502
|
+
view.new$ = new$;
|
|
503
503
|
async function remove(client, args, typeArguments) {
|
|
504
504
|
const tx = new Transaction();
|
|
505
505
|
builder.remove(tx, args, typeArguments);
|
|
@@ -840,7 +840,7 @@ export var bcs;
|
|
|
840
840
|
});
|
|
841
841
|
}
|
|
842
842
|
builder.intoRemainderBytes = intoRemainderBytes;
|
|
843
|
-
function
|
|
843
|
+
function new$(tx, args) {
|
|
844
844
|
const _args = [];
|
|
845
845
|
_args.push(transactionArgumentOrVec(args[0], tx));
|
|
846
846
|
// @ts-ignore
|
|
@@ -849,7 +849,7 @@ export var bcs;
|
|
|
849
849
|
arguments: _args,
|
|
850
850
|
});
|
|
851
851
|
}
|
|
852
|
-
builder.
|
|
852
|
+
builder.new$ = new$;
|
|
853
853
|
function peelAddress(tx, args) {
|
|
854
854
|
const _args = [];
|
|
855
855
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -1138,16 +1138,16 @@ export var bcs;
|
|
|
1138
1138
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1139
1139
|
}
|
|
1140
1140
|
view.intoRemainderBytes = intoRemainderBytes;
|
|
1141
|
-
async function
|
|
1141
|
+
async function new$(client, args) {
|
|
1142
1142
|
const tx = new Transaction();
|
|
1143
|
-
builder.
|
|
1143
|
+
builder.new$(tx, args);
|
|
1144
1144
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
1145
1145
|
transactionBlock: tx,
|
|
1146
1146
|
sender: ZERO_ADDRESS,
|
|
1147
1147
|
});
|
|
1148
1148
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
1149
1149
|
}
|
|
1150
|
-
view.
|
|
1150
|
+
view.new$ = new$;
|
|
1151
1151
|
async function peelAddress(client, args) {
|
|
1152
1152
|
const tx = new Transaction();
|
|
1153
1153
|
builder.peelAddress(tx, args);
|
|
@@ -2332,7 +2332,7 @@ export var borrow;
|
|
|
2332
2332
|
});
|
|
2333
2333
|
}
|
|
2334
2334
|
builder.destroy = destroy;
|
|
2335
|
-
function
|
|
2335
|
+
function new$(tx, args, typeArguments) {
|
|
2336
2336
|
const _args = [];
|
|
2337
2337
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
2338
2338
|
// @ts-ignore
|
|
@@ -2346,7 +2346,7 @@ export var borrow;
|
|
|
2346
2346
|
],
|
|
2347
2347
|
});
|
|
2348
2348
|
}
|
|
2349
|
-
builder.
|
|
2349
|
+
builder.new$ = new$;
|
|
2350
2350
|
function putBack(tx, args, typeArguments) {
|
|
2351
2351
|
const _args = [];
|
|
2352
2352
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -2387,16 +2387,16 @@ export var borrow;
|
|
|
2387
2387
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2388
2388
|
}
|
|
2389
2389
|
view.destroy = destroy;
|
|
2390
|
-
async function
|
|
2390
|
+
async function new$(client, args, typeArguments) {
|
|
2391
2391
|
const tx = new Transaction();
|
|
2392
|
-
builder.
|
|
2392
|
+
builder.new$(tx, args, typeArguments);
|
|
2393
2393
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
2394
2394
|
transactionBlock: tx,
|
|
2395
2395
|
sender: ZERO_ADDRESS,
|
|
2396
2396
|
});
|
|
2397
2397
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
2398
2398
|
}
|
|
2399
|
-
view.
|
|
2399
|
+
view.new$ = new$;
|
|
2400
2400
|
async function putBack(client, args, typeArguments) {
|
|
2401
2401
|
const tx = new Transaction();
|
|
2402
2402
|
builder.putBack(tx, args, typeArguments);
|
|
@@ -3814,7 +3814,7 @@ export var config;
|
|
|
3814
3814
|
});
|
|
3815
3815
|
}
|
|
3816
3816
|
builder.existsWithTypeForNextEpoch = existsWithTypeForNextEpoch;
|
|
3817
|
-
function
|
|
3817
|
+
function new$(tx, args, typeArguments) {
|
|
3818
3818
|
const _args = [];
|
|
3819
3819
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
3820
3820
|
// @ts-ignore
|
|
@@ -3828,7 +3828,7 @@ export var config;
|
|
|
3828
3828
|
],
|
|
3829
3829
|
});
|
|
3830
3830
|
}
|
|
3831
|
-
builder.
|
|
3831
|
+
builder.new$ = new$;
|
|
3832
3832
|
function readSetting(tx, args, typeArguments) {
|
|
3833
3833
|
const _args = [];
|
|
3834
3834
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -3967,16 +3967,16 @@ export var config;
|
|
|
3967
3967
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
3968
3968
|
}
|
|
3969
3969
|
view.existsWithTypeForNextEpoch = existsWithTypeForNextEpoch;
|
|
3970
|
-
async function
|
|
3970
|
+
async function new$(client, args, typeArguments) {
|
|
3971
3971
|
const tx = new Transaction();
|
|
3972
|
-
builder.
|
|
3972
|
+
builder.new$(tx, args, typeArguments);
|
|
3973
3973
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
3974
3974
|
transactionBlock: tx,
|
|
3975
3975
|
sender: ZERO_ADDRESS,
|
|
3976
3976
|
});
|
|
3977
3977
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
3978
3978
|
}
|
|
3979
|
-
view.
|
|
3979
|
+
view.new$ = new$;
|
|
3980
3980
|
async function readSetting(client, args, typeArguments) {
|
|
3981
3981
|
const tx = new Transaction();
|
|
3982
3982
|
builder.readSetting(tx, args, typeArguments);
|
|
@@ -4499,7 +4499,7 @@ export var display;
|
|
|
4499
4499
|
});
|
|
4500
4500
|
}
|
|
4501
4501
|
builder.isAuthorized = isAuthorized;
|
|
4502
|
-
function
|
|
4502
|
+
function new$(tx, args, typeArguments) {
|
|
4503
4503
|
const _args = [];
|
|
4504
4504
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
4505
4505
|
// @ts-ignore
|
|
@@ -4513,7 +4513,7 @@ export var display;
|
|
|
4513
4513
|
],
|
|
4514
4514
|
});
|
|
4515
4515
|
}
|
|
4516
|
-
builder.
|
|
4516
|
+
builder.new$ = new$;
|
|
4517
4517
|
function newWithFields(tx, args, typeArguments) {
|
|
4518
4518
|
const _args = [];
|
|
4519
4519
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -4640,16 +4640,16 @@ export var display;
|
|
|
4640
4640
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
4641
4641
|
}
|
|
4642
4642
|
view.isAuthorized = isAuthorized;
|
|
4643
|
-
async function
|
|
4643
|
+
async function new$(client, args, typeArguments) {
|
|
4644
4644
|
const tx = new Transaction();
|
|
4645
|
-
builder.
|
|
4645
|
+
builder.new$(tx, args, typeArguments);
|
|
4646
4646
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
4647
4647
|
transactionBlock: tx,
|
|
4648
4648
|
sender: ZERO_ADDRESS,
|
|
4649
4649
|
});
|
|
4650
4650
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
4651
4651
|
}
|
|
4652
|
-
view.
|
|
4652
|
+
view.new$ = new$;
|
|
4653
4653
|
async function newWithFields(client, args, typeArguments) {
|
|
4654
4654
|
const tx = new Transaction();
|
|
4655
4655
|
builder.newWithFields(tx, args, typeArguments);
|
|
@@ -6542,7 +6542,7 @@ export var kiosk;
|
|
|
6542
6542
|
});
|
|
6543
6543
|
}
|
|
6544
6544
|
builder.closeAndWithdraw = closeAndWithdraw;
|
|
6545
|
-
function
|
|
6545
|
+
function default$(tx, args) {
|
|
6546
6546
|
const _args = [];
|
|
6547
6547
|
// @ts-ignore
|
|
6548
6548
|
return tx.moveCall({
|
|
@@ -6550,7 +6550,7 @@ export var kiosk;
|
|
|
6550
6550
|
arguments: _args,
|
|
6551
6551
|
});
|
|
6552
6552
|
}
|
|
6553
|
-
builder.
|
|
6553
|
+
builder.default$ = default$;
|
|
6554
6554
|
function delist(tx, args, typeArguments) {
|
|
6555
6555
|
const _args = [];
|
|
6556
6556
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -6729,7 +6729,7 @@ export var kiosk;
|
|
|
6729
6729
|
});
|
|
6730
6730
|
}
|
|
6731
6731
|
builder.lockInternal = lockInternal;
|
|
6732
|
-
function
|
|
6732
|
+
function new$(tx, args) {
|
|
6733
6733
|
const _args = [];
|
|
6734
6734
|
// @ts-ignore
|
|
6735
6735
|
return tx.moveCall({
|
|
@@ -6737,7 +6737,7 @@ export var kiosk;
|
|
|
6737
6737
|
arguments: _args,
|
|
6738
6738
|
});
|
|
6739
6739
|
}
|
|
6740
|
-
builder.
|
|
6740
|
+
builder.new$ = new$;
|
|
6741
6741
|
function owner(tx, args) {
|
|
6742
6742
|
const _args = [];
|
|
6743
6743
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -7210,16 +7210,16 @@ export var kiosk;
|
|
|
7210
7210
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
7211
7211
|
}
|
|
7212
7212
|
view.lockInternal = lockInternal;
|
|
7213
|
-
async function
|
|
7213
|
+
async function new$(client, args) {
|
|
7214
7214
|
const tx = new Transaction();
|
|
7215
|
-
builder.
|
|
7215
|
+
builder.new$(tx, args);
|
|
7216
7216
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
7217
7217
|
transactionBlock: tx,
|
|
7218
7218
|
sender: ZERO_ADDRESS,
|
|
7219
7219
|
});
|
|
7220
7220
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
7221
7221
|
}
|
|
7222
|
-
view.
|
|
7222
|
+
view.new$ = new$;
|
|
7223
7223
|
async function owner(client, args) {
|
|
7224
7224
|
const tx = new Transaction();
|
|
7225
7225
|
builder.owner(tx, args);
|
|
@@ -7976,7 +7976,7 @@ export var linked_table;
|
|
|
7976
7976
|
});
|
|
7977
7977
|
}
|
|
7978
7978
|
builder.length = length;
|
|
7979
|
-
function
|
|
7979
|
+
function new$(tx, args, typeArguments) {
|
|
7980
7980
|
const _args = [];
|
|
7981
7981
|
// @ts-ignore
|
|
7982
7982
|
return tx.moveCall({
|
|
@@ -7992,7 +7992,7 @@ export var linked_table;
|
|
|
7992
7992
|
],
|
|
7993
7993
|
});
|
|
7994
7994
|
}
|
|
7995
|
-
builder.
|
|
7995
|
+
builder.new$ = new$;
|
|
7996
7996
|
function next(tx, args, typeArguments) {
|
|
7997
7997
|
const _args = [];
|
|
7998
7998
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -8219,16 +8219,16 @@ export var linked_table;
|
|
|
8219
8219
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8220
8220
|
}
|
|
8221
8221
|
view.length = length;
|
|
8222
|
-
async function
|
|
8222
|
+
async function new$(client, args, typeArguments) {
|
|
8223
8223
|
const tx = new Transaction();
|
|
8224
|
-
builder.
|
|
8224
|
+
builder.new$(tx, args, typeArguments);
|
|
8225
8225
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
8226
8226
|
transactionBlock: tx,
|
|
8227
8227
|
sender: ZERO_ADDRESS,
|
|
8228
8228
|
});
|
|
8229
8229
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8230
8230
|
}
|
|
8231
|
-
view.
|
|
8231
|
+
view.new$ = new$;
|
|
8232
8232
|
async function next(client, args, typeArguments) {
|
|
8233
8233
|
const tx = new Transaction();
|
|
8234
8234
|
builder.next(tx, args, typeArguments);
|
|
@@ -8455,8 +8455,8 @@ export var math;
|
|
|
8455
8455
|
view.sqrtU128 = sqrtU128;
|
|
8456
8456
|
})(view = math.view || (math.view = {}));
|
|
8457
8457
|
})(math || (math = {}));
|
|
8458
|
-
export var
|
|
8459
|
-
(function (
|
|
8458
|
+
export var object$;
|
|
8459
|
+
(function (object$) {
|
|
8460
8460
|
let ID;
|
|
8461
8461
|
(function (ID) {
|
|
8462
8462
|
ID.TYPE_QNAME = "0x2::object::ID";
|
|
@@ -8465,7 +8465,7 @@ export var object_;
|
|
|
8465
8465
|
return TYPE.apply();
|
|
8466
8466
|
}
|
|
8467
8467
|
ID.type = type;
|
|
8468
|
-
})(ID =
|
|
8468
|
+
})(ID = object$.ID || (object$.ID = {}));
|
|
8469
8469
|
let UID;
|
|
8470
8470
|
(function (UID) {
|
|
8471
8471
|
UID.TYPE_QNAME = "0x2::object::UID";
|
|
@@ -8474,7 +8474,7 @@ export var object_;
|
|
|
8474
8474
|
return TYPE.apply();
|
|
8475
8475
|
}
|
|
8476
8476
|
UID.type = type;
|
|
8477
|
-
})(UID =
|
|
8477
|
+
})(UID = object$.UID || (object$.UID = {}));
|
|
8478
8478
|
let builder;
|
|
8479
8479
|
(function (builder) {
|
|
8480
8480
|
function authenticatorState(tx, args) {
|
|
@@ -8510,7 +8510,7 @@ export var object_;
|
|
|
8510
8510
|
});
|
|
8511
8511
|
}
|
|
8512
8512
|
builder.clock = clock;
|
|
8513
|
-
function
|
|
8513
|
+
function delete$(tx, args) {
|
|
8514
8514
|
const _args = [];
|
|
8515
8515
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
8516
8516
|
// @ts-ignore
|
|
@@ -8519,7 +8519,7 @@ export var object_;
|
|
|
8519
8519
|
arguments: _args,
|
|
8520
8520
|
});
|
|
8521
8521
|
}
|
|
8522
|
-
builder.
|
|
8522
|
+
builder.delete$ = delete$;
|
|
8523
8523
|
function id(tx, args, typeArguments) {
|
|
8524
8524
|
const _args = [];
|
|
8525
8525
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -8605,7 +8605,7 @@ export var object_;
|
|
|
8605
8605
|
});
|
|
8606
8606
|
}
|
|
8607
8607
|
builder.idToBytes = idToBytes;
|
|
8608
|
-
function
|
|
8608
|
+
function new$(tx, args) {
|
|
8609
8609
|
const _args = [];
|
|
8610
8610
|
// @ts-ignore
|
|
8611
8611
|
return tx.moveCall({
|
|
@@ -8613,7 +8613,7 @@ export var object_;
|
|
|
8613
8613
|
arguments: _args,
|
|
8614
8614
|
});
|
|
8615
8615
|
}
|
|
8616
|
-
builder.
|
|
8616
|
+
builder.new$ = new$;
|
|
8617
8617
|
function newUidFromHash(tx, args) {
|
|
8618
8618
|
const _args = [];
|
|
8619
8619
|
_args.push(transactionArgumentOrPureAddress(args[0], tx));
|
|
@@ -8682,7 +8682,7 @@ export var object_;
|
|
|
8682
8682
|
});
|
|
8683
8683
|
}
|
|
8684
8684
|
builder.uidToInner = uidToInner;
|
|
8685
|
-
})(builder =
|
|
8685
|
+
})(builder = object$.builder || (object$.builder = {}));
|
|
8686
8686
|
let view;
|
|
8687
8687
|
(function (view) {
|
|
8688
8688
|
async function authenticatorState(client, args) {
|
|
@@ -8715,16 +8715,16 @@ export var object_;
|
|
|
8715
8715
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8716
8716
|
}
|
|
8717
8717
|
view.clock = clock;
|
|
8718
|
-
async function
|
|
8718
|
+
async function delete$(client, args) {
|
|
8719
8719
|
const tx = new Transaction();
|
|
8720
|
-
builder.
|
|
8720
|
+
builder.delete$(tx, args);
|
|
8721
8721
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
8722
8722
|
transactionBlock: tx,
|
|
8723
8723
|
sender: ZERO_ADDRESS,
|
|
8724
8724
|
});
|
|
8725
8725
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8726
8726
|
}
|
|
8727
|
-
view.
|
|
8727
|
+
view.delete$ = delete$;
|
|
8728
8728
|
async function id(client, args, typeArguments) {
|
|
8729
8729
|
const tx = new Transaction();
|
|
8730
8730
|
builder.id(tx, args, typeArguments);
|
|
@@ -8795,16 +8795,16 @@ export var object_;
|
|
|
8795
8795
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8796
8796
|
}
|
|
8797
8797
|
view.idToBytes = idToBytes;
|
|
8798
|
-
async function
|
|
8798
|
+
async function new$(client, args) {
|
|
8799
8799
|
const tx = new Transaction();
|
|
8800
|
-
builder.
|
|
8800
|
+
builder.new$(tx, args);
|
|
8801
8801
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
8802
8802
|
transactionBlock: tx,
|
|
8803
8803
|
sender: ZERO_ADDRESS,
|
|
8804
8804
|
});
|
|
8805
8805
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8806
8806
|
}
|
|
8807
|
-
view.
|
|
8807
|
+
view.new$ = new$;
|
|
8808
8808
|
async function newUidFromHash(client, args) {
|
|
8809
8809
|
const tx = new Transaction();
|
|
8810
8810
|
builder.newUidFromHash(tx, args);
|
|
@@ -8875,8 +8875,8 @@ export var object_;
|
|
|
8875
8875
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
8876
8876
|
}
|
|
8877
8877
|
view.uidToInner = uidToInner;
|
|
8878
|
-
})(view =
|
|
8879
|
-
})(
|
|
8878
|
+
})(view = object$.view || (object$.view = {}));
|
|
8879
|
+
})(object$ || (object$ = {}));
|
|
8880
8880
|
export var object_bag;
|
|
8881
8881
|
(function (object_bag) {
|
|
8882
8882
|
let ObjectBag;
|
|
@@ -9013,7 +9013,7 @@ export var object_bag;
|
|
|
9013
9013
|
});
|
|
9014
9014
|
}
|
|
9015
9015
|
builder.length = length;
|
|
9016
|
-
function
|
|
9016
|
+
function new$(tx, args) {
|
|
9017
9017
|
const _args = [];
|
|
9018
9018
|
// @ts-ignore
|
|
9019
9019
|
return tx.moveCall({
|
|
@@ -9021,7 +9021,7 @@ export var object_bag;
|
|
|
9021
9021
|
arguments: _args,
|
|
9022
9022
|
});
|
|
9023
9023
|
}
|
|
9024
|
-
builder.
|
|
9024
|
+
builder.new$ = new$;
|
|
9025
9025
|
function remove(tx, args, typeArguments) {
|
|
9026
9026
|
const _args = [];
|
|
9027
9027
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -9140,16 +9140,16 @@ export var object_bag;
|
|
|
9140
9140
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
9141
9141
|
}
|
|
9142
9142
|
view.length = length;
|
|
9143
|
-
async function
|
|
9143
|
+
async function new$(client, args) {
|
|
9144
9144
|
const tx = new Transaction();
|
|
9145
|
-
builder.
|
|
9145
|
+
builder.new$(tx, args);
|
|
9146
9146
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
9147
9147
|
transactionBlock: tx,
|
|
9148
9148
|
sender: ZERO_ADDRESS,
|
|
9149
9149
|
});
|
|
9150
9150
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
9151
9151
|
}
|
|
9152
|
-
view.
|
|
9152
|
+
view.new$ = new$;
|
|
9153
9153
|
async function remove(client, args, typeArguments) {
|
|
9154
9154
|
const tx = new Transaction();
|
|
9155
9155
|
builder.remove(tx, args, typeArguments);
|
|
@@ -9316,7 +9316,7 @@ export var object_table;
|
|
|
9316
9316
|
});
|
|
9317
9317
|
}
|
|
9318
9318
|
builder.length = length;
|
|
9319
|
-
function
|
|
9319
|
+
function new$(tx, args, typeArguments) {
|
|
9320
9320
|
const _args = [];
|
|
9321
9321
|
// @ts-ignore
|
|
9322
9322
|
return tx.moveCall({
|
|
@@ -9332,7 +9332,7 @@ export var object_table;
|
|
|
9332
9332
|
],
|
|
9333
9333
|
});
|
|
9334
9334
|
}
|
|
9335
|
-
builder.
|
|
9335
|
+
builder.new$ = new$;
|
|
9336
9336
|
function remove(tx, args, typeArguments) {
|
|
9337
9337
|
const _args = [];
|
|
9338
9338
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -9444,16 +9444,16 @@ export var object_table;
|
|
|
9444
9444
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
9445
9445
|
}
|
|
9446
9446
|
view.length = length;
|
|
9447
|
-
async function
|
|
9447
|
+
async function new$(client, args, typeArguments) {
|
|
9448
9448
|
const tx = new Transaction();
|
|
9449
|
-
builder.
|
|
9449
|
+
builder.new$(tx, args, typeArguments);
|
|
9450
9450
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
9451
9451
|
transactionBlock: tx,
|
|
9452
9452
|
sender: ZERO_ADDRESS,
|
|
9453
9453
|
});
|
|
9454
9454
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
9455
9455
|
}
|
|
9456
|
-
view.
|
|
9456
|
+
view.new$ = new$;
|
|
9457
9457
|
async function remove(client, args, typeArguments) {
|
|
9458
9458
|
const tx = new Transaction();
|
|
9459
9459
|
builder.remove(tx, args, typeArguments);
|
|
@@ -9476,8 +9476,8 @@ export var object_table;
|
|
|
9476
9476
|
view.valueId = valueId;
|
|
9477
9477
|
})(view = object_table.view || (object_table.view = {}));
|
|
9478
9478
|
})(object_table || (object_table = {}));
|
|
9479
|
-
export var
|
|
9480
|
-
(function (
|
|
9479
|
+
export var package$;
|
|
9480
|
+
(function (package$) {
|
|
9481
9481
|
let Publisher;
|
|
9482
9482
|
(function (Publisher) {
|
|
9483
9483
|
Publisher.TYPE_QNAME = "0x2::package::Publisher";
|
|
@@ -9486,7 +9486,7 @@ export var package_;
|
|
|
9486
9486
|
return TYPE.apply();
|
|
9487
9487
|
}
|
|
9488
9488
|
Publisher.type = type;
|
|
9489
|
-
})(Publisher =
|
|
9489
|
+
})(Publisher = package$.Publisher || (package$.Publisher = {}));
|
|
9490
9490
|
let UpgradeCap;
|
|
9491
9491
|
(function (UpgradeCap) {
|
|
9492
9492
|
UpgradeCap.TYPE_QNAME = "0x2::package::UpgradeCap";
|
|
@@ -9495,7 +9495,7 @@ export var package_;
|
|
|
9495
9495
|
return TYPE.apply();
|
|
9496
9496
|
}
|
|
9497
9497
|
UpgradeCap.type = type;
|
|
9498
|
-
})(UpgradeCap =
|
|
9498
|
+
})(UpgradeCap = package$.UpgradeCap || (package$.UpgradeCap = {}));
|
|
9499
9499
|
let UpgradeReceipt;
|
|
9500
9500
|
(function (UpgradeReceipt) {
|
|
9501
9501
|
UpgradeReceipt.TYPE_QNAME = "0x2::package::UpgradeReceipt";
|
|
@@ -9504,7 +9504,7 @@ export var package_;
|
|
|
9504
9504
|
return TYPE.apply();
|
|
9505
9505
|
}
|
|
9506
9506
|
UpgradeReceipt.type = type;
|
|
9507
|
-
})(UpgradeReceipt =
|
|
9507
|
+
})(UpgradeReceipt = package$.UpgradeReceipt || (package$.UpgradeReceipt = {}));
|
|
9508
9508
|
let UpgradeTicket;
|
|
9509
9509
|
(function (UpgradeTicket) {
|
|
9510
9510
|
UpgradeTicket.TYPE_QNAME = "0x2::package::UpgradeTicket";
|
|
@@ -9513,7 +9513,7 @@ export var package_;
|
|
|
9513
9513
|
return TYPE.apply();
|
|
9514
9514
|
}
|
|
9515
9515
|
UpgradeTicket.type = type;
|
|
9516
|
-
})(UpgradeTicket =
|
|
9516
|
+
})(UpgradeTicket = package$.UpgradeTicket || (package$.UpgradeTicket = {}));
|
|
9517
9517
|
let builder;
|
|
9518
9518
|
(function (builder) {
|
|
9519
9519
|
function additivePolicy(tx, args) {
|
|
@@ -9766,7 +9766,7 @@ export var package_;
|
|
|
9766
9766
|
});
|
|
9767
9767
|
}
|
|
9768
9768
|
builder.version = version;
|
|
9769
|
-
})(builder =
|
|
9769
|
+
})(builder = package$.builder || (package$.builder = {}));
|
|
9770
9770
|
let view;
|
|
9771
9771
|
(function (view) {
|
|
9772
9772
|
async function additivePolicy(client, args) {
|
|
@@ -9999,8 +9999,8 @@ export var package_;
|
|
|
9999
9999
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
10000
10000
|
}
|
|
10001
10001
|
view.version = version;
|
|
10002
|
-
})(view =
|
|
10003
|
-
})(
|
|
10002
|
+
})(view = package$.view || (package$.view = {}));
|
|
10003
|
+
})(package$ || (package$ = {}));
|
|
10004
10004
|
export var pay;
|
|
10005
10005
|
(function (pay) {
|
|
10006
10006
|
let builder;
|
|
@@ -10302,7 +10302,7 @@ export var priority_queue;
|
|
|
10302
10302
|
});
|
|
10303
10303
|
}
|
|
10304
10304
|
builder.insert = insert;
|
|
10305
|
-
function
|
|
10305
|
+
function new$(tx, args, typeArguments) {
|
|
10306
10306
|
const _args = [];
|
|
10307
10307
|
_args.push(transactionArgumentOrVec(args[0], tx));
|
|
10308
10308
|
// @ts-ignore
|
|
@@ -10316,7 +10316,7 @@ export var priority_queue;
|
|
|
10316
10316
|
],
|
|
10317
10317
|
});
|
|
10318
10318
|
}
|
|
10319
|
-
builder.
|
|
10319
|
+
builder.new$ = new$;
|
|
10320
10320
|
function newEntry(tx, args, typeArguments) {
|
|
10321
10321
|
const _args = [];
|
|
10322
10322
|
_args.push(transactionArgumentOrPureU64(args[0], tx));
|
|
@@ -10386,16 +10386,16 @@ export var priority_queue;
|
|
|
10386
10386
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
10387
10387
|
}
|
|
10388
10388
|
view.insert = insert;
|
|
10389
|
-
async function
|
|
10389
|
+
async function new$(client, args, typeArguments) {
|
|
10390
10390
|
const tx = new Transaction();
|
|
10391
|
-
builder.
|
|
10391
|
+
builder.new$(tx, args, typeArguments);
|
|
10392
10392
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
10393
10393
|
transactionBlock: tx,
|
|
10394
10394
|
sender: ZERO_ADDRESS,
|
|
10395
10395
|
});
|
|
10396
10396
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
10397
10397
|
}
|
|
10398
|
-
view.
|
|
10398
|
+
view.new$ = new$;
|
|
10399
10399
|
async function newEntry(client, args, typeArguments) {
|
|
10400
10400
|
const tx = new Transaction();
|
|
10401
10401
|
builder.newEntry(tx, args, typeArguments);
|
|
@@ -10982,7 +10982,7 @@ export var table;
|
|
|
10982
10982
|
});
|
|
10983
10983
|
}
|
|
10984
10984
|
builder.length = length;
|
|
10985
|
-
function
|
|
10985
|
+
function new$(tx, args, typeArguments) {
|
|
10986
10986
|
const _args = [];
|
|
10987
10987
|
// @ts-ignore
|
|
10988
10988
|
return tx.moveCall({
|
|
@@ -10998,7 +10998,7 @@ export var table;
|
|
|
10998
10998
|
],
|
|
10999
10999
|
});
|
|
11000
11000
|
}
|
|
11001
|
-
builder.
|
|
11001
|
+
builder.new$ = new$;
|
|
11002
11002
|
function remove(tx, args, typeArguments) {
|
|
11003
11003
|
const _args = [];
|
|
11004
11004
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -11101,16 +11101,16 @@ export var table;
|
|
|
11101
11101
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
11102
11102
|
}
|
|
11103
11103
|
view.length = length;
|
|
11104
|
-
async function
|
|
11104
|
+
async function new$(client, args, typeArguments) {
|
|
11105
11105
|
const tx = new Transaction();
|
|
11106
|
-
builder.
|
|
11106
|
+
builder.new$(tx, args, typeArguments);
|
|
11107
11107
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
11108
11108
|
transactionBlock: tx,
|
|
11109
11109
|
sender: ZERO_ADDRESS,
|
|
11110
11110
|
});
|
|
11111
11111
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
11112
11112
|
}
|
|
11113
|
-
view.
|
|
11113
|
+
view.new$ = new$;
|
|
11114
11114
|
async function remove(client, args, typeArguments) {
|
|
11115
11115
|
const tx = new Transaction();
|
|
11116
11116
|
builder.remove(tx, args, typeArguments);
|
|
@@ -13117,7 +13117,7 @@ export var transfer_policy;
|
|
|
13117
13117
|
});
|
|
13118
13118
|
}
|
|
13119
13119
|
builder.confirmRequest = confirmRequest;
|
|
13120
|
-
function
|
|
13120
|
+
function default$(tx, args, typeArguments) {
|
|
13121
13121
|
const _args = [];
|
|
13122
13122
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
13123
13123
|
// @ts-ignore
|
|
@@ -13131,7 +13131,7 @@ export var transfer_policy;
|
|
|
13131
13131
|
],
|
|
13132
13132
|
});
|
|
13133
13133
|
}
|
|
13134
|
-
builder.
|
|
13134
|
+
builder.default$ = default$;
|
|
13135
13135
|
function destroyAndWithdraw(tx, args, typeArguments) {
|
|
13136
13136
|
const _args = [];
|
|
13137
13137
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -13148,7 +13148,7 @@ export var transfer_policy;
|
|
|
13148
13148
|
});
|
|
13149
13149
|
}
|
|
13150
13150
|
builder.destroyAndWithdraw = destroyAndWithdraw;
|
|
13151
|
-
function from(tx, args, typeArguments) {
|
|
13151
|
+
function from$(tx, args, typeArguments) {
|
|
13152
13152
|
const _args = [];
|
|
13153
13153
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
13154
13154
|
// @ts-ignore
|
|
@@ -13162,7 +13162,7 @@ export var transfer_policy;
|
|
|
13162
13162
|
],
|
|
13163
13163
|
});
|
|
13164
13164
|
}
|
|
13165
|
-
builder.from = from
|
|
13165
|
+
builder.from$ = from$;
|
|
13166
13166
|
function getRule(tx, args, typeArguments) {
|
|
13167
13167
|
const _args = [];
|
|
13168
13168
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -13218,7 +13218,7 @@ export var transfer_policy;
|
|
|
13218
13218
|
});
|
|
13219
13219
|
}
|
|
13220
13220
|
builder.item = item;
|
|
13221
|
-
function
|
|
13221
|
+
function new$(tx, args, typeArguments) {
|
|
13222
13222
|
const _args = [];
|
|
13223
13223
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
13224
13224
|
// @ts-ignore
|
|
@@ -13232,7 +13232,7 @@ export var transfer_policy;
|
|
|
13232
13232
|
],
|
|
13233
13233
|
});
|
|
13234
13234
|
}
|
|
13235
|
-
builder.
|
|
13235
|
+
builder.new$ = new$;
|
|
13236
13236
|
function newRequest(tx, args, typeArguments) {
|
|
13237
13237
|
const _args = [];
|
|
13238
13238
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
@@ -13403,16 +13403,16 @@ export var transfer_policy;
|
|
|
13403
13403
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
13404
13404
|
}
|
|
13405
13405
|
view.destroyAndWithdraw = destroyAndWithdraw;
|
|
13406
|
-
async function from(client, args, typeArguments) {
|
|
13406
|
+
async function from$(client, args, typeArguments) {
|
|
13407
13407
|
const tx = new Transaction();
|
|
13408
|
-
builder.from(tx, args, typeArguments);
|
|
13408
|
+
builder.from$(tx, args, typeArguments);
|
|
13409
13409
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
13410
13410
|
transactionBlock: tx,
|
|
13411
13411
|
sender: ZERO_ADDRESS,
|
|
13412
13412
|
});
|
|
13413
13413
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
13414
13414
|
}
|
|
13415
|
-
view.from = from
|
|
13415
|
+
view.from$ = from$;
|
|
13416
13416
|
async function getRule(client, args, typeArguments) {
|
|
13417
13417
|
const tx = new Transaction();
|
|
13418
13418
|
builder.getRule(tx, args, typeArguments);
|
|
@@ -13443,16 +13443,16 @@ export var transfer_policy;
|
|
|
13443
13443
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
13444
13444
|
}
|
|
13445
13445
|
view.item = item;
|
|
13446
|
-
async function
|
|
13446
|
+
async function new$(client, args, typeArguments) {
|
|
13447
13447
|
const tx = new Transaction();
|
|
13448
|
-
builder.
|
|
13448
|
+
builder.new$(tx, args, typeArguments);
|
|
13449
13449
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
13450
13450
|
transactionBlock: tx,
|
|
13451
13451
|
sender: ZERO_ADDRESS,
|
|
13452
13452
|
});
|
|
13453
13453
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
13454
13454
|
}
|
|
13455
|
-
view.
|
|
13455
|
+
view.new$ = new$;
|
|
13456
13456
|
async function newRequest(client, args, typeArguments) {
|
|
13457
13457
|
const tx = new Transaction();
|
|
13458
13458
|
builder.newRequest(tx, args, typeArguments);
|
|
@@ -14903,7 +14903,7 @@ export var zklogin_verified_id;
|
|
|
14903
14903
|
});
|
|
14904
14904
|
}
|
|
14905
14905
|
builder.checkZkloginId = checkZkloginId;
|
|
14906
|
-
function
|
|
14906
|
+
function delete$(tx, args) {
|
|
14907
14907
|
const _args = [];
|
|
14908
14908
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
14909
14909
|
// @ts-ignore
|
|
@@ -14912,7 +14912,7 @@ export var zklogin_verified_id;
|
|
|
14912
14912
|
arguments: _args,
|
|
14913
14913
|
});
|
|
14914
14914
|
}
|
|
14915
|
-
builder.
|
|
14915
|
+
builder.delete$ = delete$;
|
|
14916
14916
|
function issuer(tx, args) {
|
|
14917
14917
|
const _args = [];
|
|
14918
14918
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -14990,16 +14990,16 @@ export var zklogin_verified_id;
|
|
|
14990
14990
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
14991
14991
|
}
|
|
14992
14992
|
view.checkZkloginId = checkZkloginId;
|
|
14993
|
-
async function
|
|
14993
|
+
async function delete$(client, args) {
|
|
14994
14994
|
const tx = new Transaction();
|
|
14995
|
-
builder.
|
|
14995
|
+
builder.delete$(tx, args);
|
|
14996
14996
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
14997
14997
|
transactionBlock: tx,
|
|
14998
14998
|
sender: ZERO_ADDRESS,
|
|
14999
14999
|
});
|
|
15000
15000
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
15001
15001
|
}
|
|
15002
|
-
view.
|
|
15002
|
+
view.delete$ = delete$;
|
|
15003
15003
|
async function issuer(client, args) {
|
|
15004
15004
|
const tx = new Transaction();
|
|
15005
15005
|
builder.issuer(tx, args);
|
|
@@ -15077,7 +15077,7 @@ export var zklogin_verified_issuer;
|
|
|
15077
15077
|
});
|
|
15078
15078
|
}
|
|
15079
15079
|
builder.checkZkloginIssuer = checkZkloginIssuer;
|
|
15080
|
-
function
|
|
15080
|
+
function delete$(tx, args) {
|
|
15081
15081
|
const _args = [];
|
|
15082
15082
|
_args.push(transactionArgumentOrPure(args[0], tx));
|
|
15083
15083
|
// @ts-ignore
|
|
@@ -15086,7 +15086,7 @@ export var zklogin_verified_issuer;
|
|
|
15086
15086
|
arguments: _args,
|
|
15087
15087
|
});
|
|
15088
15088
|
}
|
|
15089
|
-
builder.
|
|
15089
|
+
builder.delete$ = delete$;
|
|
15090
15090
|
function issuer(tx, args) {
|
|
15091
15091
|
const _args = [];
|
|
15092
15092
|
_args.push(transactionArgumentOrObject(args[0], tx));
|
|
@@ -15131,16 +15131,16 @@ export var zklogin_verified_issuer;
|
|
|
15131
15131
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
15132
15132
|
}
|
|
15133
15133
|
view.checkZkloginIssuer = checkZkloginIssuer;
|
|
15134
|
-
async function
|
|
15134
|
+
async function delete$(client, args) {
|
|
15135
15135
|
const tx = new Transaction();
|
|
15136
|
-
builder.
|
|
15136
|
+
builder.delete$(tx, args);
|
|
15137
15137
|
const inspectRes = await client.devInspectTransactionBlock({
|
|
15138
15138
|
transactionBlock: tx,
|
|
15139
15139
|
sender: ZERO_ADDRESS,
|
|
15140
15140
|
});
|
|
15141
15141
|
return (await getMoveCoder(client)).decodeDevInspectResult(inspectRes);
|
|
15142
15142
|
}
|
|
15143
|
-
view.
|
|
15143
|
+
view.delete$ = delete$;
|
|
15144
15144
|
async function issuer(client, args) {
|
|
15145
15145
|
const tx = new Transaction();
|
|
15146
15146
|
builder.issuer(tx, args);
|