@typemove/sui 1.2.0-rc.2 → 1.2.0-rc.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/Readme.md +33 -24
- package/dist/cjs/builtin/0x1.d.ts +83 -82
- package/dist/cjs/builtin/0x1.d.ts.map +1 -1
- package/dist/cjs/builtin/0x1.js +164 -164
- package/dist/cjs/builtin/0x1.js.map +1 -1
- package/dist/cjs/builtin/0x2.d.ts +353 -349
- package/dist/cjs/builtin/0x2.d.ts.map +1 -1
- package/dist/cjs/builtin/0x2.js +698 -698
- package/dist/cjs/builtin/0x2.js.map +1 -1
- package/dist/cjs/builtin/0x3.d.ts +101 -100
- package/dist/cjs/builtin/0x3.d.ts.map +1 -1
- package/dist/cjs/builtin/0x3.js +200 -200
- package/dist/cjs/builtin/0x3.js.map +1 -1
- package/dist/cjs/codegen/codegen.d.ts.map +1 -1
- package/dist/cjs/codegen/codegen.js +11 -8
- package/dist/cjs/codegen/codegen.js.map +1 -1
- package/dist/cjs/index.d.ts +1 -1
- package/dist/cjs/index.d.ts.map +1 -1
- package/dist/cjs/index.js +2 -1
- package/dist/cjs/index.js.map +1 -1
- package/dist/cjs/models.d.ts +7 -1
- package/dist/cjs/models.d.ts.map +1 -1
- package/dist/cjs/models.js +0 -3
- package/dist/cjs/models.js.map +1 -1
- package/dist/cjs/move-coder.d.ts +6 -3
- package/dist/cjs/move-coder.d.ts.map +1 -1
- package/dist/cjs/move-coder.js +50 -5
- package/dist/cjs/move-coder.js.map +1 -1
- package/dist/cjs/sui-chain-adapter.d.ts +4 -1
- package/dist/cjs/sui-chain-adapter.d.ts.map +1 -1
- package/dist/cjs/sui-chain-adapter.js +10 -4
- package/dist/cjs/sui-chain-adapter.js.map +1 -1
- package/dist/esm/builtin/0x1.d.ts +83 -82
- package/dist/esm/builtin/0x1.d.ts.map +1 -1
- package/dist/esm/builtin/0x1.js +165 -165
- package/dist/esm/builtin/0x1.js.map +1 -1
- package/dist/esm/builtin/0x2.d.ts +353 -349
- package/dist/esm/builtin/0x2.d.ts.map +1 -1
- package/dist/esm/builtin/0x2.js +699 -699
- package/dist/esm/builtin/0x2.js.map +1 -1
- package/dist/esm/builtin/0x3.d.ts +101 -100
- package/dist/esm/builtin/0x3.d.ts.map +1 -1
- package/dist/esm/builtin/0x3.js +201 -201
- package/dist/esm/builtin/0x3.js.map +1 -1
- package/dist/esm/codegen/codegen.d.ts.map +1 -1
- package/dist/esm/codegen/codegen.js +12 -9
- package/dist/esm/codegen/codegen.js.map +1 -1
- package/dist/esm/index.d.ts +1 -1
- package/dist/esm/index.d.ts.map +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/esm/models.d.ts +7 -1
- package/dist/esm/models.d.ts.map +1 -1
- package/dist/esm/models.js +0 -3
- package/dist/esm/models.js.map +1 -1
- package/dist/esm/move-coder.d.ts +6 -3
- package/dist/esm/move-coder.d.ts.map +1 -1
- package/dist/esm/move-coder.js +48 -4
- package/dist/esm/move-coder.js.map +1 -1
- package/dist/esm/sui-chain-adapter.d.ts +4 -1
- package/dist/esm/sui-chain-adapter.d.ts.map +1 -1
- package/dist/esm/sui-chain-adapter.js +10 -4
- package/dist/esm/sui-chain-adapter.js.map +1 -1
- package/package.json +2 -2
- package/src/builtin/0x1.ts +503 -247
- package/src/builtin/0x2.ts +2137 -1049
- package/src/builtin/0x3.ts +611 -301
- package/src/codegen/codegen.ts +14 -10
- package/src/index.ts +1 -1
- package/src/models.ts +7 -4
- package/src/move-coder.ts +57 -6
- package/src/sui-chain-adapter.ts +11 -4
- package/src/tests/types/testnet/0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.ts +29 -13
- package/src/tests/types/testnet/0x6c4a21e3e7e6b6d51c4604021633e1d97e24e37a696f8c082cd48f37503e602a.ts +319 -145
- package/src/tests/types/testnet/0xdee9.ts +303 -142
- package/src/tests/types/testnet/0xebaa2ad3eacc230f309cd933958cc52684df0a41ae7ac214d186b80f830867d2.ts +990 -466
package/dist/esm/builtin/0x2.js
CHANGED
|
@@ -4,7 +4,7 @@
|
|
|
4
4
|
/* Generated modules for account 0x2 */
|
|
5
5
|
import { TypeDescriptor, ANY_TYPE } from "@typemove/move";
|
|
6
6
|
import { defaultMoveCoder } from "@typemove/sui";
|
|
7
|
-
import { ZERO_ADDRESS } from "@typemove/sui";
|
|
7
|
+
import { ZERO_ADDRESS, getMoveCoder, } from "@typemove/sui";
|
|
8
8
|
import { TransactionBlock } from "@mysten/sui.js/transactions";
|
|
9
9
|
import { TransactionArgument } from "@mysten/sui.js";
|
|
10
10
|
import * as _0x1 from "./0x1.js";
|
|
@@ -101,81 +101,81 @@ export var address;
|
|
|
101
101
|
async function fromBytes(client, args) {
|
|
102
102
|
const tx = new TransactionBlock();
|
|
103
103
|
builder.fromBytes(tx, args);
|
|
104
|
-
const
|
|
104
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
105
105
|
transactionBlock: tx,
|
|
106
106
|
sender: ZERO_ADDRESS,
|
|
107
107
|
});
|
|
108
|
-
return
|
|
108
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
109
109
|
}
|
|
110
110
|
view.fromBytes = fromBytes;
|
|
111
111
|
async function fromU256(client, args) {
|
|
112
112
|
const tx = new TransactionBlock();
|
|
113
113
|
builder.fromU256(tx, args);
|
|
114
|
-
const
|
|
114
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
115
115
|
transactionBlock: tx,
|
|
116
116
|
sender: ZERO_ADDRESS,
|
|
117
117
|
});
|
|
118
|
-
return
|
|
118
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
119
119
|
}
|
|
120
120
|
view.fromU256 = fromU256;
|
|
121
121
|
async function length(client, args) {
|
|
122
122
|
const tx = new TransactionBlock();
|
|
123
123
|
builder.length(tx, args);
|
|
124
|
-
const
|
|
124
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
125
125
|
transactionBlock: tx,
|
|
126
126
|
sender: ZERO_ADDRESS,
|
|
127
127
|
});
|
|
128
|
-
return
|
|
128
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
129
129
|
}
|
|
130
130
|
view.length = length;
|
|
131
131
|
async function max(client, args) {
|
|
132
132
|
const tx = new TransactionBlock();
|
|
133
133
|
builder.max(tx, args);
|
|
134
|
-
const
|
|
134
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
135
135
|
transactionBlock: tx,
|
|
136
136
|
sender: ZERO_ADDRESS,
|
|
137
137
|
});
|
|
138
|
-
return
|
|
138
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
139
139
|
}
|
|
140
140
|
view.max = max;
|
|
141
141
|
async function toAsciiString(client, args) {
|
|
142
142
|
const tx = new TransactionBlock();
|
|
143
143
|
builder.toAsciiString(tx, args);
|
|
144
|
-
const
|
|
144
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
145
145
|
transactionBlock: tx,
|
|
146
146
|
sender: ZERO_ADDRESS,
|
|
147
147
|
});
|
|
148
|
-
return
|
|
148
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
149
149
|
}
|
|
150
150
|
view.toAsciiString = toAsciiString;
|
|
151
151
|
async function toBytes(client, args) {
|
|
152
152
|
const tx = new TransactionBlock();
|
|
153
153
|
builder.toBytes(tx, args);
|
|
154
|
-
const
|
|
154
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
155
155
|
transactionBlock: tx,
|
|
156
156
|
sender: ZERO_ADDRESS,
|
|
157
157
|
});
|
|
158
|
-
return
|
|
158
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
159
159
|
}
|
|
160
160
|
view.toBytes = toBytes;
|
|
161
161
|
async function toString(client, args) {
|
|
162
162
|
const tx = new TransactionBlock();
|
|
163
163
|
builder.toString(tx, args);
|
|
164
|
-
const
|
|
164
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
165
165
|
transactionBlock: tx,
|
|
166
166
|
sender: ZERO_ADDRESS,
|
|
167
167
|
});
|
|
168
|
-
return
|
|
168
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
169
169
|
}
|
|
170
170
|
view.toString = toString;
|
|
171
171
|
async function toU256(client, args) {
|
|
172
172
|
const tx = new TransactionBlock();
|
|
173
173
|
builder.toU256(tx, args);
|
|
174
|
-
const
|
|
174
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
175
175
|
transactionBlock: tx,
|
|
176
176
|
sender: ZERO_ADDRESS,
|
|
177
177
|
});
|
|
178
|
-
return
|
|
178
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
179
179
|
}
|
|
180
180
|
view.toU256 = toU256;
|
|
181
181
|
})(view = address.view || (address.view = {}));
|
|
@@ -351,101 +351,101 @@ export var bag;
|
|
|
351
351
|
async function add(client, args, typeArguments) {
|
|
352
352
|
const tx = new TransactionBlock();
|
|
353
353
|
builder.add(tx, args, typeArguments);
|
|
354
|
-
const
|
|
354
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
355
355
|
transactionBlock: tx,
|
|
356
356
|
sender: ZERO_ADDRESS,
|
|
357
357
|
});
|
|
358
|
-
return
|
|
358
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
359
359
|
}
|
|
360
360
|
view.add = add;
|
|
361
361
|
async function borrow(client, args, typeArguments) {
|
|
362
362
|
const tx = new TransactionBlock();
|
|
363
363
|
builder.borrow(tx, args, typeArguments);
|
|
364
|
-
const
|
|
364
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
365
365
|
transactionBlock: tx,
|
|
366
366
|
sender: ZERO_ADDRESS,
|
|
367
367
|
});
|
|
368
|
-
return
|
|
368
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
369
369
|
}
|
|
370
370
|
view.borrow = borrow;
|
|
371
371
|
async function borrowMut(client, args, typeArguments) {
|
|
372
372
|
const tx = new TransactionBlock();
|
|
373
373
|
builder.borrowMut(tx, args, typeArguments);
|
|
374
|
-
const
|
|
374
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
375
375
|
transactionBlock: tx,
|
|
376
376
|
sender: ZERO_ADDRESS,
|
|
377
377
|
});
|
|
378
|
-
return
|
|
378
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
379
379
|
}
|
|
380
380
|
view.borrowMut = borrowMut;
|
|
381
381
|
async function contains(client, args, typeArguments) {
|
|
382
382
|
const tx = new TransactionBlock();
|
|
383
383
|
builder.contains(tx, args, typeArguments);
|
|
384
|
-
const
|
|
384
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
385
385
|
transactionBlock: tx,
|
|
386
386
|
sender: ZERO_ADDRESS,
|
|
387
387
|
});
|
|
388
|
-
return
|
|
388
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
389
389
|
}
|
|
390
390
|
view.contains = contains;
|
|
391
391
|
async function containsWithType(client, args, typeArguments) {
|
|
392
392
|
const tx = new TransactionBlock();
|
|
393
393
|
builder.containsWithType(tx, args, typeArguments);
|
|
394
|
-
const
|
|
394
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
395
395
|
transactionBlock: tx,
|
|
396
396
|
sender: ZERO_ADDRESS,
|
|
397
397
|
});
|
|
398
|
-
return
|
|
398
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
399
399
|
}
|
|
400
400
|
view.containsWithType = containsWithType;
|
|
401
401
|
async function destroyEmpty(client, args) {
|
|
402
402
|
const tx = new TransactionBlock();
|
|
403
403
|
builder.destroyEmpty(tx, args);
|
|
404
|
-
const
|
|
404
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
405
405
|
transactionBlock: tx,
|
|
406
406
|
sender: ZERO_ADDRESS,
|
|
407
407
|
});
|
|
408
|
-
return
|
|
408
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
409
409
|
}
|
|
410
410
|
view.destroyEmpty = destroyEmpty;
|
|
411
411
|
async function isEmpty(client, args) {
|
|
412
412
|
const tx = new TransactionBlock();
|
|
413
413
|
builder.isEmpty(tx, args);
|
|
414
|
-
const
|
|
414
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
415
415
|
transactionBlock: tx,
|
|
416
416
|
sender: ZERO_ADDRESS,
|
|
417
417
|
});
|
|
418
|
-
return
|
|
418
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
419
419
|
}
|
|
420
420
|
view.isEmpty = isEmpty;
|
|
421
421
|
async function length(client, args) {
|
|
422
422
|
const tx = new TransactionBlock();
|
|
423
423
|
builder.length(tx, args);
|
|
424
|
-
const
|
|
424
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
425
425
|
transactionBlock: tx,
|
|
426
426
|
sender: ZERO_ADDRESS,
|
|
427
427
|
});
|
|
428
|
-
return
|
|
428
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
429
429
|
}
|
|
430
430
|
view.length = length;
|
|
431
431
|
async function new_(client, args) {
|
|
432
432
|
const tx = new TransactionBlock();
|
|
433
433
|
builder.new_(tx, args);
|
|
434
|
-
const
|
|
434
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
435
435
|
transactionBlock: tx,
|
|
436
436
|
sender: ZERO_ADDRESS,
|
|
437
437
|
});
|
|
438
|
-
return
|
|
438
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
439
439
|
}
|
|
440
440
|
view.new_ = new_;
|
|
441
441
|
async function remove(client, args, typeArguments) {
|
|
442
442
|
const tx = new TransactionBlock();
|
|
443
443
|
builder.remove(tx, args, typeArguments);
|
|
444
|
-
const
|
|
444
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
445
445
|
transactionBlock: tx,
|
|
446
446
|
sender: ZERO_ADDRESS,
|
|
447
447
|
});
|
|
448
|
-
return
|
|
448
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
449
449
|
}
|
|
450
450
|
view.remove = remove;
|
|
451
451
|
})(view = bag.view || (bag.view = {}));
|
|
@@ -631,101 +631,101 @@ export var balance;
|
|
|
631
631
|
async function createSupply(client, args, typeArguments) {
|
|
632
632
|
const tx = new TransactionBlock();
|
|
633
633
|
builder.createSupply(tx, args, typeArguments);
|
|
634
|
-
const
|
|
634
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
635
635
|
transactionBlock: tx,
|
|
636
636
|
sender: ZERO_ADDRESS,
|
|
637
637
|
});
|
|
638
|
-
return
|
|
638
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
639
639
|
}
|
|
640
640
|
view.createSupply = createSupply;
|
|
641
641
|
async function decreaseSupply(client, args, typeArguments) {
|
|
642
642
|
const tx = new TransactionBlock();
|
|
643
643
|
builder.decreaseSupply(tx, args, typeArguments);
|
|
644
|
-
const
|
|
644
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
645
645
|
transactionBlock: tx,
|
|
646
646
|
sender: ZERO_ADDRESS,
|
|
647
647
|
});
|
|
648
|
-
return
|
|
648
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
649
649
|
}
|
|
650
650
|
view.decreaseSupply = decreaseSupply;
|
|
651
651
|
async function destroyZero(client, args, typeArguments) {
|
|
652
652
|
const tx = new TransactionBlock();
|
|
653
653
|
builder.destroyZero(tx, args, typeArguments);
|
|
654
|
-
const
|
|
654
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
655
655
|
transactionBlock: tx,
|
|
656
656
|
sender: ZERO_ADDRESS,
|
|
657
657
|
});
|
|
658
|
-
return
|
|
658
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
659
659
|
}
|
|
660
660
|
view.destroyZero = destroyZero;
|
|
661
661
|
async function increaseSupply(client, args, typeArguments) {
|
|
662
662
|
const tx = new TransactionBlock();
|
|
663
663
|
builder.increaseSupply(tx, args, typeArguments);
|
|
664
|
-
const
|
|
664
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
665
665
|
transactionBlock: tx,
|
|
666
666
|
sender: ZERO_ADDRESS,
|
|
667
667
|
});
|
|
668
|
-
return
|
|
668
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
669
669
|
}
|
|
670
670
|
view.increaseSupply = increaseSupply;
|
|
671
671
|
async function join(client, args, typeArguments) {
|
|
672
672
|
const tx = new TransactionBlock();
|
|
673
673
|
builder.join(tx, args, typeArguments);
|
|
674
|
-
const
|
|
674
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
675
675
|
transactionBlock: tx,
|
|
676
676
|
sender: ZERO_ADDRESS,
|
|
677
677
|
});
|
|
678
|
-
return
|
|
678
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
679
679
|
}
|
|
680
680
|
view.join = join;
|
|
681
681
|
async function split(client, args, typeArguments) {
|
|
682
682
|
const tx = new TransactionBlock();
|
|
683
683
|
builder.split(tx, args, typeArguments);
|
|
684
|
-
const
|
|
684
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
685
685
|
transactionBlock: tx,
|
|
686
686
|
sender: ZERO_ADDRESS,
|
|
687
687
|
});
|
|
688
|
-
return
|
|
688
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
689
689
|
}
|
|
690
690
|
view.split = split;
|
|
691
691
|
async function supplyValue(client, args, typeArguments) {
|
|
692
692
|
const tx = new TransactionBlock();
|
|
693
693
|
builder.supplyValue(tx, args, typeArguments);
|
|
694
|
-
const
|
|
694
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
695
695
|
transactionBlock: tx,
|
|
696
696
|
sender: ZERO_ADDRESS,
|
|
697
697
|
});
|
|
698
|
-
return
|
|
698
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
699
699
|
}
|
|
700
700
|
view.supplyValue = supplyValue;
|
|
701
701
|
async function value(client, args, typeArguments) {
|
|
702
702
|
const tx = new TransactionBlock();
|
|
703
703
|
builder.value(tx, args, typeArguments);
|
|
704
|
-
const
|
|
704
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
705
705
|
transactionBlock: tx,
|
|
706
706
|
sender: ZERO_ADDRESS,
|
|
707
707
|
});
|
|
708
|
-
return
|
|
708
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
709
709
|
}
|
|
710
710
|
view.value = value;
|
|
711
711
|
async function withdrawAll(client, args, typeArguments) {
|
|
712
712
|
const tx = new TransactionBlock();
|
|
713
713
|
builder.withdrawAll(tx, args, typeArguments);
|
|
714
|
-
const
|
|
714
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
715
715
|
transactionBlock: tx,
|
|
716
716
|
sender: ZERO_ADDRESS,
|
|
717
717
|
});
|
|
718
|
-
return
|
|
718
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
719
719
|
}
|
|
720
720
|
view.withdrawAll = withdrawAll;
|
|
721
721
|
async function zero(client, args, typeArguments) {
|
|
722
722
|
const tx = new TransactionBlock();
|
|
723
723
|
builder.zero(tx, args, typeArguments);
|
|
724
|
-
const
|
|
724
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
725
725
|
transactionBlock: tx,
|
|
726
726
|
sender: ZERO_ADDRESS,
|
|
727
727
|
});
|
|
728
|
-
return
|
|
728
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
729
729
|
}
|
|
730
730
|
view.zero = zero;
|
|
731
731
|
})(view = balance.view || (balance.view = {}));
|
|
@@ -959,201 +959,201 @@ export var bcs;
|
|
|
959
959
|
async function intoRemainderBytes(client, args) {
|
|
960
960
|
const tx = new TransactionBlock();
|
|
961
961
|
builder.intoRemainderBytes(tx, args);
|
|
962
|
-
const
|
|
962
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
963
963
|
transactionBlock: tx,
|
|
964
964
|
sender: ZERO_ADDRESS,
|
|
965
965
|
});
|
|
966
|
-
return
|
|
966
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
967
967
|
}
|
|
968
968
|
view.intoRemainderBytes = intoRemainderBytes;
|
|
969
969
|
async function new_(client, args) {
|
|
970
970
|
const tx = new TransactionBlock();
|
|
971
971
|
builder.new_(tx, args);
|
|
972
|
-
const
|
|
972
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
973
973
|
transactionBlock: tx,
|
|
974
974
|
sender: ZERO_ADDRESS,
|
|
975
975
|
});
|
|
976
|
-
return
|
|
976
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
977
977
|
}
|
|
978
978
|
view.new_ = new_;
|
|
979
979
|
async function peelAddress(client, args) {
|
|
980
980
|
const tx = new TransactionBlock();
|
|
981
981
|
builder.peelAddress(tx, args);
|
|
982
|
-
const
|
|
982
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
983
983
|
transactionBlock: tx,
|
|
984
984
|
sender: ZERO_ADDRESS,
|
|
985
985
|
});
|
|
986
|
-
return
|
|
986
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
987
987
|
}
|
|
988
988
|
view.peelAddress = peelAddress;
|
|
989
989
|
async function peelBool(client, args) {
|
|
990
990
|
const tx = new TransactionBlock();
|
|
991
991
|
builder.peelBool(tx, args);
|
|
992
|
-
const
|
|
992
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
993
993
|
transactionBlock: tx,
|
|
994
994
|
sender: ZERO_ADDRESS,
|
|
995
995
|
});
|
|
996
|
-
return
|
|
996
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
997
997
|
}
|
|
998
998
|
view.peelBool = peelBool;
|
|
999
999
|
async function peelOptionAddress(client, args) {
|
|
1000
1000
|
const tx = new TransactionBlock();
|
|
1001
1001
|
builder.peelOptionAddress(tx, args);
|
|
1002
|
-
const
|
|
1002
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1003
1003
|
transactionBlock: tx,
|
|
1004
1004
|
sender: ZERO_ADDRESS,
|
|
1005
1005
|
});
|
|
1006
|
-
return
|
|
1006
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1007
1007
|
}
|
|
1008
1008
|
view.peelOptionAddress = peelOptionAddress;
|
|
1009
1009
|
async function peelOptionBool(client, args) {
|
|
1010
1010
|
const tx = new TransactionBlock();
|
|
1011
1011
|
builder.peelOptionBool(tx, args);
|
|
1012
|
-
const
|
|
1012
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1013
1013
|
transactionBlock: tx,
|
|
1014
1014
|
sender: ZERO_ADDRESS,
|
|
1015
1015
|
});
|
|
1016
|
-
return
|
|
1016
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1017
1017
|
}
|
|
1018
1018
|
view.peelOptionBool = peelOptionBool;
|
|
1019
1019
|
async function peelOptionU128(client, args) {
|
|
1020
1020
|
const tx = new TransactionBlock();
|
|
1021
1021
|
builder.peelOptionU128(tx, args);
|
|
1022
|
-
const
|
|
1022
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1023
1023
|
transactionBlock: tx,
|
|
1024
1024
|
sender: ZERO_ADDRESS,
|
|
1025
1025
|
});
|
|
1026
|
-
return
|
|
1026
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1027
1027
|
}
|
|
1028
1028
|
view.peelOptionU128 = peelOptionU128;
|
|
1029
1029
|
async function peelOptionU64(client, args) {
|
|
1030
1030
|
const tx = new TransactionBlock();
|
|
1031
1031
|
builder.peelOptionU64(tx, args);
|
|
1032
|
-
const
|
|
1032
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1033
1033
|
transactionBlock: tx,
|
|
1034
1034
|
sender: ZERO_ADDRESS,
|
|
1035
1035
|
});
|
|
1036
|
-
return
|
|
1036
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1037
1037
|
}
|
|
1038
1038
|
view.peelOptionU64 = peelOptionU64;
|
|
1039
1039
|
async function peelOptionU8(client, args) {
|
|
1040
1040
|
const tx = new TransactionBlock();
|
|
1041
1041
|
builder.peelOptionU8(tx, args);
|
|
1042
|
-
const
|
|
1042
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1043
1043
|
transactionBlock: tx,
|
|
1044
1044
|
sender: ZERO_ADDRESS,
|
|
1045
1045
|
});
|
|
1046
|
-
return
|
|
1046
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1047
1047
|
}
|
|
1048
1048
|
view.peelOptionU8 = peelOptionU8;
|
|
1049
1049
|
async function peelU128(client, args) {
|
|
1050
1050
|
const tx = new TransactionBlock();
|
|
1051
1051
|
builder.peelU128(tx, args);
|
|
1052
|
-
const
|
|
1052
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1053
1053
|
transactionBlock: tx,
|
|
1054
1054
|
sender: ZERO_ADDRESS,
|
|
1055
1055
|
});
|
|
1056
|
-
return
|
|
1056
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1057
1057
|
}
|
|
1058
1058
|
view.peelU128 = peelU128;
|
|
1059
1059
|
async function peelU64(client, args) {
|
|
1060
1060
|
const tx = new TransactionBlock();
|
|
1061
1061
|
builder.peelU64(tx, args);
|
|
1062
|
-
const
|
|
1062
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1063
1063
|
transactionBlock: tx,
|
|
1064
1064
|
sender: ZERO_ADDRESS,
|
|
1065
1065
|
});
|
|
1066
|
-
return
|
|
1066
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1067
1067
|
}
|
|
1068
1068
|
view.peelU64 = peelU64;
|
|
1069
1069
|
async function peelU8(client, args) {
|
|
1070
1070
|
const tx = new TransactionBlock();
|
|
1071
1071
|
builder.peelU8(tx, args);
|
|
1072
|
-
const
|
|
1072
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1073
1073
|
transactionBlock: tx,
|
|
1074
1074
|
sender: ZERO_ADDRESS,
|
|
1075
1075
|
});
|
|
1076
|
-
return
|
|
1076
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1077
1077
|
}
|
|
1078
1078
|
view.peelU8 = peelU8;
|
|
1079
1079
|
async function peelVecAddress(client, args) {
|
|
1080
1080
|
const tx = new TransactionBlock();
|
|
1081
1081
|
builder.peelVecAddress(tx, args);
|
|
1082
|
-
const
|
|
1082
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1083
1083
|
transactionBlock: tx,
|
|
1084
1084
|
sender: ZERO_ADDRESS,
|
|
1085
1085
|
});
|
|
1086
|
-
return
|
|
1086
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1087
1087
|
}
|
|
1088
1088
|
view.peelVecAddress = peelVecAddress;
|
|
1089
1089
|
async function peelVecBool(client, args) {
|
|
1090
1090
|
const tx = new TransactionBlock();
|
|
1091
1091
|
builder.peelVecBool(tx, args);
|
|
1092
|
-
const
|
|
1092
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1093
1093
|
transactionBlock: tx,
|
|
1094
1094
|
sender: ZERO_ADDRESS,
|
|
1095
1095
|
});
|
|
1096
|
-
return
|
|
1096
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1097
1097
|
}
|
|
1098
1098
|
view.peelVecBool = peelVecBool;
|
|
1099
1099
|
async function peelVecLength(client, args) {
|
|
1100
1100
|
const tx = new TransactionBlock();
|
|
1101
1101
|
builder.peelVecLength(tx, args);
|
|
1102
|
-
const
|
|
1102
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1103
1103
|
transactionBlock: tx,
|
|
1104
1104
|
sender: ZERO_ADDRESS,
|
|
1105
1105
|
});
|
|
1106
|
-
return
|
|
1106
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1107
1107
|
}
|
|
1108
1108
|
view.peelVecLength = peelVecLength;
|
|
1109
1109
|
async function peelVecU128(client, args) {
|
|
1110
1110
|
const tx = new TransactionBlock();
|
|
1111
1111
|
builder.peelVecU128(tx, args);
|
|
1112
|
-
const
|
|
1112
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1113
1113
|
transactionBlock: tx,
|
|
1114
1114
|
sender: ZERO_ADDRESS,
|
|
1115
1115
|
});
|
|
1116
|
-
return
|
|
1116
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1117
1117
|
}
|
|
1118
1118
|
view.peelVecU128 = peelVecU128;
|
|
1119
1119
|
async function peelVecU64(client, args) {
|
|
1120
1120
|
const tx = new TransactionBlock();
|
|
1121
1121
|
builder.peelVecU64(tx, args);
|
|
1122
|
-
const
|
|
1122
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1123
1123
|
transactionBlock: tx,
|
|
1124
1124
|
sender: ZERO_ADDRESS,
|
|
1125
1125
|
});
|
|
1126
|
-
return
|
|
1126
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1127
1127
|
}
|
|
1128
1128
|
view.peelVecU64 = peelVecU64;
|
|
1129
1129
|
async function peelVecU8(client, args) {
|
|
1130
1130
|
const tx = new TransactionBlock();
|
|
1131
1131
|
builder.peelVecU8(tx, args);
|
|
1132
|
-
const
|
|
1132
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1133
1133
|
transactionBlock: tx,
|
|
1134
1134
|
sender: ZERO_ADDRESS,
|
|
1135
1135
|
});
|
|
1136
|
-
return
|
|
1136
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1137
1137
|
}
|
|
1138
1138
|
view.peelVecU8 = peelVecU8;
|
|
1139
1139
|
async function peelVecVecU8(client, args) {
|
|
1140
1140
|
const tx = new TransactionBlock();
|
|
1141
1141
|
builder.peelVecVecU8(tx, args);
|
|
1142
|
-
const
|
|
1142
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1143
1143
|
transactionBlock: tx,
|
|
1144
1144
|
sender: ZERO_ADDRESS,
|
|
1145
1145
|
});
|
|
1146
|
-
return
|
|
1146
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1147
1147
|
}
|
|
1148
1148
|
view.peelVecVecU8 = peelVecVecU8;
|
|
1149
1149
|
async function toBytes(client, args, typeArguments) {
|
|
1150
1150
|
const tx = new TransactionBlock();
|
|
1151
1151
|
builder.toBytes(tx, args, typeArguments);
|
|
1152
|
-
const
|
|
1152
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1153
1153
|
transactionBlock: tx,
|
|
1154
1154
|
sender: ZERO_ADDRESS,
|
|
1155
1155
|
});
|
|
1156
|
-
return
|
|
1156
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1157
1157
|
}
|
|
1158
1158
|
view.toBytes = toBytes;
|
|
1159
1159
|
})(view = bcs.view || (bcs.view = {}));
|
|
@@ -1192,21 +1192,21 @@ export var bls12381;
|
|
|
1192
1192
|
async function bls12381MinPkVerify(client, args) {
|
|
1193
1193
|
const tx = new TransactionBlock();
|
|
1194
1194
|
builder.bls12381MinPkVerify(tx, args);
|
|
1195
|
-
const
|
|
1195
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1196
1196
|
transactionBlock: tx,
|
|
1197
1197
|
sender: ZERO_ADDRESS,
|
|
1198
1198
|
});
|
|
1199
|
-
return
|
|
1199
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1200
1200
|
}
|
|
1201
1201
|
view.bls12381MinPkVerify = bls12381MinPkVerify;
|
|
1202
1202
|
async function bls12381MinSigVerify(client, args) {
|
|
1203
1203
|
const tx = new TransactionBlock();
|
|
1204
1204
|
builder.bls12381MinSigVerify(tx, args);
|
|
1205
|
-
const
|
|
1205
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1206
1206
|
transactionBlock: tx,
|
|
1207
1207
|
sender: ZERO_ADDRESS,
|
|
1208
1208
|
});
|
|
1209
|
-
return
|
|
1209
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1210
1210
|
}
|
|
1211
1211
|
view.bls12381MinSigVerify = bls12381MinSigVerify;
|
|
1212
1212
|
})(view = bls12381.view || (bls12381.view = {}));
|
|
@@ -1302,41 +1302,41 @@ export var borrow;
|
|
|
1302
1302
|
async function borrow(client, args, typeArguments) {
|
|
1303
1303
|
const tx = new TransactionBlock();
|
|
1304
1304
|
builder.borrow(tx, args, typeArguments);
|
|
1305
|
-
const
|
|
1305
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1306
1306
|
transactionBlock: tx,
|
|
1307
1307
|
sender: ZERO_ADDRESS,
|
|
1308
1308
|
});
|
|
1309
|
-
return
|
|
1309
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1310
1310
|
}
|
|
1311
1311
|
view.borrow = borrow;
|
|
1312
1312
|
async function destroy(client, args, typeArguments) {
|
|
1313
1313
|
const tx = new TransactionBlock();
|
|
1314
1314
|
builder.destroy(tx, args, typeArguments);
|
|
1315
|
-
const
|
|
1315
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1316
1316
|
transactionBlock: tx,
|
|
1317
1317
|
sender: ZERO_ADDRESS,
|
|
1318
1318
|
});
|
|
1319
|
-
return
|
|
1319
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1320
1320
|
}
|
|
1321
1321
|
view.destroy = destroy;
|
|
1322
1322
|
async function new_(client, args, typeArguments) {
|
|
1323
1323
|
const tx = new TransactionBlock();
|
|
1324
1324
|
builder.new_(tx, args, typeArguments);
|
|
1325
|
-
const
|
|
1325
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1326
1326
|
transactionBlock: tx,
|
|
1327
1327
|
sender: ZERO_ADDRESS,
|
|
1328
1328
|
});
|
|
1329
|
-
return
|
|
1329
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1330
1330
|
}
|
|
1331
1331
|
view.new_ = new_;
|
|
1332
1332
|
async function putBack(client, args, typeArguments) {
|
|
1333
1333
|
const tx = new TransactionBlock();
|
|
1334
1334
|
builder.putBack(tx, args, typeArguments);
|
|
1335
|
-
const
|
|
1335
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1336
1336
|
transactionBlock: tx,
|
|
1337
1337
|
sender: ZERO_ADDRESS,
|
|
1338
1338
|
});
|
|
1339
|
-
return
|
|
1339
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1340
1340
|
}
|
|
1341
1341
|
view.putBack = putBack;
|
|
1342
1342
|
})(view = borrow_1.view || (borrow_1.view = {}));
|
|
@@ -1370,11 +1370,11 @@ export var clock;
|
|
|
1370
1370
|
async function timestampMs(client, args) {
|
|
1371
1371
|
const tx = new TransactionBlock();
|
|
1372
1372
|
builder.timestampMs(tx, args);
|
|
1373
|
-
const
|
|
1373
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1374
1374
|
transactionBlock: tx,
|
|
1375
1375
|
sender: ZERO_ADDRESS,
|
|
1376
1376
|
});
|
|
1377
|
-
return
|
|
1377
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1378
1378
|
}
|
|
1379
1379
|
view.timestampMs = timestampMs;
|
|
1380
1380
|
})(view = clock.view || (clock.view = {}));
|
|
@@ -1935,311 +1935,311 @@ export var coin;
|
|
|
1935
1935
|
async function balance(client, args, typeArguments) {
|
|
1936
1936
|
const tx = new TransactionBlock();
|
|
1937
1937
|
builder.balance(tx, args, typeArguments);
|
|
1938
|
-
const
|
|
1938
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1939
1939
|
transactionBlock: tx,
|
|
1940
1940
|
sender: ZERO_ADDRESS,
|
|
1941
1941
|
});
|
|
1942
|
-
return
|
|
1942
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1943
1943
|
}
|
|
1944
1944
|
view.balance = balance;
|
|
1945
1945
|
async function balanceMut(client, args, typeArguments) {
|
|
1946
1946
|
const tx = new TransactionBlock();
|
|
1947
1947
|
builder.balanceMut(tx, args, typeArguments);
|
|
1948
|
-
const
|
|
1948
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1949
1949
|
transactionBlock: tx,
|
|
1950
1950
|
sender: ZERO_ADDRESS,
|
|
1951
1951
|
});
|
|
1952
|
-
return
|
|
1952
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1953
1953
|
}
|
|
1954
1954
|
view.balanceMut = balanceMut;
|
|
1955
1955
|
async function burn(client, args, typeArguments) {
|
|
1956
1956
|
const tx = new TransactionBlock();
|
|
1957
1957
|
builder.burn(tx, args, typeArguments);
|
|
1958
|
-
const
|
|
1958
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1959
1959
|
transactionBlock: tx,
|
|
1960
1960
|
sender: ZERO_ADDRESS,
|
|
1961
1961
|
});
|
|
1962
|
-
return
|
|
1962
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1963
1963
|
}
|
|
1964
1964
|
view.burn = burn;
|
|
1965
1965
|
async function createCurrency(client, args, typeArguments) {
|
|
1966
1966
|
const tx = new TransactionBlock();
|
|
1967
1967
|
builder.createCurrency(tx, args, typeArguments);
|
|
1968
|
-
const
|
|
1968
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1969
1969
|
transactionBlock: tx,
|
|
1970
1970
|
sender: ZERO_ADDRESS,
|
|
1971
1971
|
});
|
|
1972
|
-
return
|
|
1972
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1973
1973
|
}
|
|
1974
1974
|
view.createCurrency = createCurrency;
|
|
1975
1975
|
async function destroyZero(client, args, typeArguments) {
|
|
1976
1976
|
const tx = new TransactionBlock();
|
|
1977
1977
|
builder.destroyZero(tx, args, typeArguments);
|
|
1978
|
-
const
|
|
1978
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1979
1979
|
transactionBlock: tx,
|
|
1980
1980
|
sender: ZERO_ADDRESS,
|
|
1981
1981
|
});
|
|
1982
|
-
return
|
|
1982
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1983
1983
|
}
|
|
1984
1984
|
view.destroyZero = destroyZero;
|
|
1985
1985
|
async function divideIntoN(client, args, typeArguments) {
|
|
1986
1986
|
const tx = new TransactionBlock();
|
|
1987
1987
|
builder.divideIntoN(tx, args, typeArguments);
|
|
1988
|
-
const
|
|
1988
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1989
1989
|
transactionBlock: tx,
|
|
1990
1990
|
sender: ZERO_ADDRESS,
|
|
1991
1991
|
});
|
|
1992
|
-
return
|
|
1992
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
1993
1993
|
}
|
|
1994
1994
|
view.divideIntoN = divideIntoN;
|
|
1995
1995
|
async function fromBalance(client, args, typeArguments) {
|
|
1996
1996
|
const tx = new TransactionBlock();
|
|
1997
1997
|
builder.fromBalance(tx, args, typeArguments);
|
|
1998
|
-
const
|
|
1998
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
1999
1999
|
transactionBlock: tx,
|
|
2000
2000
|
sender: ZERO_ADDRESS,
|
|
2001
2001
|
});
|
|
2002
|
-
return
|
|
2002
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2003
2003
|
}
|
|
2004
2004
|
view.fromBalance = fromBalance;
|
|
2005
2005
|
async function getDecimals(client, args, typeArguments) {
|
|
2006
2006
|
const tx = new TransactionBlock();
|
|
2007
2007
|
builder.getDecimals(tx, args, typeArguments);
|
|
2008
|
-
const
|
|
2008
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2009
2009
|
transactionBlock: tx,
|
|
2010
2010
|
sender: ZERO_ADDRESS,
|
|
2011
2011
|
});
|
|
2012
|
-
return
|
|
2012
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2013
2013
|
}
|
|
2014
2014
|
view.getDecimals = getDecimals;
|
|
2015
2015
|
async function getDescription(client, args, typeArguments) {
|
|
2016
2016
|
const tx = new TransactionBlock();
|
|
2017
2017
|
builder.getDescription(tx, args, typeArguments);
|
|
2018
|
-
const
|
|
2018
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2019
2019
|
transactionBlock: tx,
|
|
2020
2020
|
sender: ZERO_ADDRESS,
|
|
2021
2021
|
});
|
|
2022
|
-
return
|
|
2022
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2023
2023
|
}
|
|
2024
2024
|
view.getDescription = getDescription;
|
|
2025
2025
|
async function getIconUrl(client, args, typeArguments) {
|
|
2026
2026
|
const tx = new TransactionBlock();
|
|
2027
2027
|
builder.getIconUrl(tx, args, typeArguments);
|
|
2028
|
-
const
|
|
2028
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2029
2029
|
transactionBlock: tx,
|
|
2030
2030
|
sender: ZERO_ADDRESS,
|
|
2031
2031
|
});
|
|
2032
|
-
return
|
|
2032
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2033
2033
|
}
|
|
2034
2034
|
view.getIconUrl = getIconUrl;
|
|
2035
2035
|
async function getName(client, args, typeArguments) {
|
|
2036
2036
|
const tx = new TransactionBlock();
|
|
2037
2037
|
builder.getName(tx, args, typeArguments);
|
|
2038
|
-
const
|
|
2038
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2039
2039
|
transactionBlock: tx,
|
|
2040
2040
|
sender: ZERO_ADDRESS,
|
|
2041
2041
|
});
|
|
2042
|
-
return
|
|
2042
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2043
2043
|
}
|
|
2044
2044
|
view.getName = getName;
|
|
2045
2045
|
async function getSymbol(client, args, typeArguments) {
|
|
2046
2046
|
const tx = new TransactionBlock();
|
|
2047
2047
|
builder.getSymbol(tx, args, typeArguments);
|
|
2048
|
-
const
|
|
2048
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2049
2049
|
transactionBlock: tx,
|
|
2050
2050
|
sender: ZERO_ADDRESS,
|
|
2051
2051
|
});
|
|
2052
|
-
return
|
|
2052
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2053
2053
|
}
|
|
2054
2054
|
view.getSymbol = getSymbol;
|
|
2055
2055
|
async function intoBalance(client, args, typeArguments) {
|
|
2056
2056
|
const tx = new TransactionBlock();
|
|
2057
2057
|
builder.intoBalance(tx, args, typeArguments);
|
|
2058
|
-
const
|
|
2058
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2059
2059
|
transactionBlock: tx,
|
|
2060
2060
|
sender: ZERO_ADDRESS,
|
|
2061
2061
|
});
|
|
2062
|
-
return
|
|
2062
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2063
2063
|
}
|
|
2064
2064
|
view.intoBalance = intoBalance;
|
|
2065
2065
|
async function join(client, args, typeArguments) {
|
|
2066
2066
|
const tx = new TransactionBlock();
|
|
2067
2067
|
builder.join(tx, args, typeArguments);
|
|
2068
|
-
const
|
|
2068
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2069
2069
|
transactionBlock: tx,
|
|
2070
2070
|
sender: ZERO_ADDRESS,
|
|
2071
2071
|
});
|
|
2072
|
-
return
|
|
2072
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2073
2073
|
}
|
|
2074
2074
|
view.join = join;
|
|
2075
2075
|
async function mint(client, args, typeArguments) {
|
|
2076
2076
|
const tx = new TransactionBlock();
|
|
2077
2077
|
builder.mint(tx, args, typeArguments);
|
|
2078
|
-
const
|
|
2078
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2079
2079
|
transactionBlock: tx,
|
|
2080
2080
|
sender: ZERO_ADDRESS,
|
|
2081
2081
|
});
|
|
2082
|
-
return
|
|
2082
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2083
2083
|
}
|
|
2084
2084
|
view.mint = mint;
|
|
2085
2085
|
async function mintAndTransfer(client, args, typeArguments) {
|
|
2086
2086
|
const tx = new TransactionBlock();
|
|
2087
2087
|
builder.mintAndTransfer(tx, args, typeArguments);
|
|
2088
|
-
const
|
|
2088
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2089
2089
|
transactionBlock: tx,
|
|
2090
2090
|
sender: ZERO_ADDRESS,
|
|
2091
2091
|
});
|
|
2092
|
-
return
|
|
2092
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2093
2093
|
}
|
|
2094
2094
|
view.mintAndTransfer = mintAndTransfer;
|
|
2095
2095
|
async function mintBalance(client, args, typeArguments) {
|
|
2096
2096
|
const tx = new TransactionBlock();
|
|
2097
2097
|
builder.mintBalance(tx, args, typeArguments);
|
|
2098
|
-
const
|
|
2098
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2099
2099
|
transactionBlock: tx,
|
|
2100
2100
|
sender: ZERO_ADDRESS,
|
|
2101
2101
|
});
|
|
2102
|
-
return
|
|
2102
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2103
2103
|
}
|
|
2104
2104
|
view.mintBalance = mintBalance;
|
|
2105
2105
|
async function put(client, args, typeArguments) {
|
|
2106
2106
|
const tx = new TransactionBlock();
|
|
2107
2107
|
builder.put(tx, args, typeArguments);
|
|
2108
|
-
const
|
|
2108
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2109
2109
|
transactionBlock: tx,
|
|
2110
2110
|
sender: ZERO_ADDRESS,
|
|
2111
2111
|
});
|
|
2112
|
-
return
|
|
2112
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2113
2113
|
}
|
|
2114
2114
|
view.put = put;
|
|
2115
2115
|
async function split(client, args, typeArguments) {
|
|
2116
2116
|
const tx = new TransactionBlock();
|
|
2117
2117
|
builder.split(tx, args, typeArguments);
|
|
2118
|
-
const
|
|
2118
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2119
2119
|
transactionBlock: tx,
|
|
2120
2120
|
sender: ZERO_ADDRESS,
|
|
2121
2121
|
});
|
|
2122
|
-
return
|
|
2122
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2123
2123
|
}
|
|
2124
2124
|
view.split = split;
|
|
2125
2125
|
async function supply(client, args, typeArguments) {
|
|
2126
2126
|
const tx = new TransactionBlock();
|
|
2127
2127
|
builder.supply(tx, args, typeArguments);
|
|
2128
|
-
const
|
|
2128
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2129
2129
|
transactionBlock: tx,
|
|
2130
2130
|
sender: ZERO_ADDRESS,
|
|
2131
2131
|
});
|
|
2132
|
-
return
|
|
2132
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2133
2133
|
}
|
|
2134
2134
|
view.supply = supply;
|
|
2135
2135
|
async function supplyImmut(client, args, typeArguments) {
|
|
2136
2136
|
const tx = new TransactionBlock();
|
|
2137
2137
|
builder.supplyImmut(tx, args, typeArguments);
|
|
2138
|
-
const
|
|
2138
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2139
2139
|
transactionBlock: tx,
|
|
2140
2140
|
sender: ZERO_ADDRESS,
|
|
2141
2141
|
});
|
|
2142
|
-
return
|
|
2142
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2143
2143
|
}
|
|
2144
2144
|
view.supplyImmut = supplyImmut;
|
|
2145
2145
|
async function supplyMut(client, args, typeArguments) {
|
|
2146
2146
|
const tx = new TransactionBlock();
|
|
2147
2147
|
builder.supplyMut(tx, args, typeArguments);
|
|
2148
|
-
const
|
|
2148
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2149
2149
|
transactionBlock: tx,
|
|
2150
2150
|
sender: ZERO_ADDRESS,
|
|
2151
2151
|
});
|
|
2152
|
-
return
|
|
2152
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2153
2153
|
}
|
|
2154
2154
|
view.supplyMut = supplyMut;
|
|
2155
2155
|
async function take(client, args, typeArguments) {
|
|
2156
2156
|
const tx = new TransactionBlock();
|
|
2157
2157
|
builder.take(tx, args, typeArguments);
|
|
2158
|
-
const
|
|
2158
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2159
2159
|
transactionBlock: tx,
|
|
2160
2160
|
sender: ZERO_ADDRESS,
|
|
2161
2161
|
});
|
|
2162
|
-
return
|
|
2162
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2163
2163
|
}
|
|
2164
2164
|
view.take = take;
|
|
2165
2165
|
async function totalSupply(client, args, typeArguments) {
|
|
2166
2166
|
const tx = new TransactionBlock();
|
|
2167
2167
|
builder.totalSupply(tx, args, typeArguments);
|
|
2168
|
-
const
|
|
2168
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2169
2169
|
transactionBlock: tx,
|
|
2170
2170
|
sender: ZERO_ADDRESS,
|
|
2171
2171
|
});
|
|
2172
|
-
return
|
|
2172
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2173
2173
|
}
|
|
2174
2174
|
view.totalSupply = totalSupply;
|
|
2175
2175
|
async function treasuryIntoSupply(client, args, typeArguments) {
|
|
2176
2176
|
const tx = new TransactionBlock();
|
|
2177
2177
|
builder.treasuryIntoSupply(tx, args, typeArguments);
|
|
2178
|
-
const
|
|
2178
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2179
2179
|
transactionBlock: tx,
|
|
2180
2180
|
sender: ZERO_ADDRESS,
|
|
2181
2181
|
});
|
|
2182
|
-
return
|
|
2182
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2183
2183
|
}
|
|
2184
2184
|
view.treasuryIntoSupply = treasuryIntoSupply;
|
|
2185
2185
|
async function updateDescription(client, args, typeArguments) {
|
|
2186
2186
|
const tx = new TransactionBlock();
|
|
2187
2187
|
builder.updateDescription(tx, args, typeArguments);
|
|
2188
|
-
const
|
|
2188
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2189
2189
|
transactionBlock: tx,
|
|
2190
2190
|
sender: ZERO_ADDRESS,
|
|
2191
2191
|
});
|
|
2192
|
-
return
|
|
2192
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2193
2193
|
}
|
|
2194
2194
|
view.updateDescription = updateDescription;
|
|
2195
2195
|
async function updateIconUrl(client, args, typeArguments) {
|
|
2196
2196
|
const tx = new TransactionBlock();
|
|
2197
2197
|
builder.updateIconUrl(tx, args, typeArguments);
|
|
2198
|
-
const
|
|
2198
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2199
2199
|
transactionBlock: tx,
|
|
2200
2200
|
sender: ZERO_ADDRESS,
|
|
2201
2201
|
});
|
|
2202
|
-
return
|
|
2202
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2203
2203
|
}
|
|
2204
2204
|
view.updateIconUrl = updateIconUrl;
|
|
2205
2205
|
async function updateName(client, args, typeArguments) {
|
|
2206
2206
|
const tx = new TransactionBlock();
|
|
2207
2207
|
builder.updateName(tx, args, typeArguments);
|
|
2208
|
-
const
|
|
2208
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2209
2209
|
transactionBlock: tx,
|
|
2210
2210
|
sender: ZERO_ADDRESS,
|
|
2211
2211
|
});
|
|
2212
|
-
return
|
|
2212
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2213
2213
|
}
|
|
2214
2214
|
view.updateName = updateName;
|
|
2215
2215
|
async function updateSymbol(client, args, typeArguments) {
|
|
2216
2216
|
const tx = new TransactionBlock();
|
|
2217
2217
|
builder.updateSymbol(tx, args, typeArguments);
|
|
2218
|
-
const
|
|
2218
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2219
2219
|
transactionBlock: tx,
|
|
2220
2220
|
sender: ZERO_ADDRESS,
|
|
2221
2221
|
});
|
|
2222
|
-
return
|
|
2222
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2223
2223
|
}
|
|
2224
2224
|
view.updateSymbol = updateSymbol;
|
|
2225
2225
|
async function value(client, args, typeArguments) {
|
|
2226
2226
|
const tx = new TransactionBlock();
|
|
2227
2227
|
builder.value(tx, args, typeArguments);
|
|
2228
|
-
const
|
|
2228
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2229
2229
|
transactionBlock: tx,
|
|
2230
2230
|
sender: ZERO_ADDRESS,
|
|
2231
2231
|
});
|
|
2232
|
-
return
|
|
2232
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2233
2233
|
}
|
|
2234
2234
|
view.value = value;
|
|
2235
2235
|
async function zero(client, args, typeArguments) {
|
|
2236
2236
|
const tx = new TransactionBlock();
|
|
2237
2237
|
builder.zero(tx, args, typeArguments);
|
|
2238
|
-
const
|
|
2238
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2239
2239
|
transactionBlock: tx,
|
|
2240
2240
|
sender: ZERO_ADDRESS,
|
|
2241
2241
|
});
|
|
2242
|
-
return
|
|
2242
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2243
2243
|
}
|
|
2244
2244
|
view.zero = zero;
|
|
2245
2245
|
})(view = coin.view || (coin.view = {}));
|
|
@@ -2478,111 +2478,111 @@ export var display;
|
|
|
2478
2478
|
async function add(client, args, typeArguments) {
|
|
2479
2479
|
const tx = new TransactionBlock();
|
|
2480
2480
|
builder.add(tx, args, typeArguments);
|
|
2481
|
-
const
|
|
2481
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2482
2482
|
transactionBlock: tx,
|
|
2483
2483
|
sender: ZERO_ADDRESS,
|
|
2484
2484
|
});
|
|
2485
|
-
return
|
|
2485
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2486
2486
|
}
|
|
2487
2487
|
view.add = add;
|
|
2488
2488
|
async function addMultiple(client, args, typeArguments) {
|
|
2489
2489
|
const tx = new TransactionBlock();
|
|
2490
2490
|
builder.addMultiple(tx, args, typeArguments);
|
|
2491
|
-
const
|
|
2491
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2492
2492
|
transactionBlock: tx,
|
|
2493
2493
|
sender: ZERO_ADDRESS,
|
|
2494
2494
|
});
|
|
2495
|
-
return
|
|
2495
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2496
2496
|
}
|
|
2497
2497
|
view.addMultiple = addMultiple;
|
|
2498
2498
|
async function createAndKeep(client, args, typeArguments) {
|
|
2499
2499
|
const tx = new TransactionBlock();
|
|
2500
2500
|
builder.createAndKeep(tx, args, typeArguments);
|
|
2501
|
-
const
|
|
2501
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2502
2502
|
transactionBlock: tx,
|
|
2503
2503
|
sender: ZERO_ADDRESS,
|
|
2504
2504
|
});
|
|
2505
|
-
return
|
|
2505
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2506
2506
|
}
|
|
2507
2507
|
view.createAndKeep = createAndKeep;
|
|
2508
2508
|
async function edit(client, args, typeArguments) {
|
|
2509
2509
|
const tx = new TransactionBlock();
|
|
2510
2510
|
builder.edit(tx, args, typeArguments);
|
|
2511
|
-
const
|
|
2511
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2512
2512
|
transactionBlock: tx,
|
|
2513
2513
|
sender: ZERO_ADDRESS,
|
|
2514
2514
|
});
|
|
2515
|
-
return
|
|
2515
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2516
2516
|
}
|
|
2517
2517
|
view.edit = edit;
|
|
2518
2518
|
async function fields(client, args, typeArguments) {
|
|
2519
2519
|
const tx = new TransactionBlock();
|
|
2520
2520
|
builder.fields(tx, args, typeArguments);
|
|
2521
|
-
const
|
|
2521
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2522
2522
|
transactionBlock: tx,
|
|
2523
2523
|
sender: ZERO_ADDRESS,
|
|
2524
2524
|
});
|
|
2525
|
-
return
|
|
2525
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2526
2526
|
}
|
|
2527
2527
|
view.fields = fields;
|
|
2528
2528
|
async function isAuthorized(client, args, typeArguments) {
|
|
2529
2529
|
const tx = new TransactionBlock();
|
|
2530
2530
|
builder.isAuthorized(tx, args, typeArguments);
|
|
2531
|
-
const
|
|
2531
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2532
2532
|
transactionBlock: tx,
|
|
2533
2533
|
sender: ZERO_ADDRESS,
|
|
2534
2534
|
});
|
|
2535
|
-
return
|
|
2535
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2536
2536
|
}
|
|
2537
2537
|
view.isAuthorized = isAuthorized;
|
|
2538
2538
|
async function new_(client, args, typeArguments) {
|
|
2539
2539
|
const tx = new TransactionBlock();
|
|
2540
2540
|
builder.new_(tx, args, typeArguments);
|
|
2541
|
-
const
|
|
2541
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2542
2542
|
transactionBlock: tx,
|
|
2543
2543
|
sender: ZERO_ADDRESS,
|
|
2544
2544
|
});
|
|
2545
|
-
return
|
|
2545
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2546
2546
|
}
|
|
2547
2547
|
view.new_ = new_;
|
|
2548
2548
|
async function newWithFields(client, args, typeArguments) {
|
|
2549
2549
|
const tx = new TransactionBlock();
|
|
2550
2550
|
builder.newWithFields(tx, args, typeArguments);
|
|
2551
|
-
const
|
|
2551
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2552
2552
|
transactionBlock: tx,
|
|
2553
2553
|
sender: ZERO_ADDRESS,
|
|
2554
2554
|
});
|
|
2555
|
-
return
|
|
2555
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2556
2556
|
}
|
|
2557
2557
|
view.newWithFields = newWithFields;
|
|
2558
2558
|
async function remove(client, args, typeArguments) {
|
|
2559
2559
|
const tx = new TransactionBlock();
|
|
2560
2560
|
builder.remove(tx, args, typeArguments);
|
|
2561
|
-
const
|
|
2561
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2562
2562
|
transactionBlock: tx,
|
|
2563
2563
|
sender: ZERO_ADDRESS,
|
|
2564
2564
|
});
|
|
2565
|
-
return
|
|
2565
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2566
2566
|
}
|
|
2567
2567
|
view.remove = remove;
|
|
2568
2568
|
async function updateVersion(client, args, typeArguments) {
|
|
2569
2569
|
const tx = new TransactionBlock();
|
|
2570
2570
|
builder.updateVersion(tx, args, typeArguments);
|
|
2571
|
-
const
|
|
2571
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2572
2572
|
transactionBlock: tx,
|
|
2573
2573
|
sender: ZERO_ADDRESS,
|
|
2574
2574
|
});
|
|
2575
|
-
return
|
|
2575
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2576
2576
|
}
|
|
2577
2577
|
view.updateVersion = updateVersion;
|
|
2578
2578
|
async function version(client, args, typeArguments) {
|
|
2579
2579
|
const tx = new TransactionBlock();
|
|
2580
2580
|
builder.version(tx, args, typeArguments);
|
|
2581
|
-
const
|
|
2581
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2582
2582
|
transactionBlock: tx,
|
|
2583
2583
|
sender: ZERO_ADDRESS,
|
|
2584
2584
|
});
|
|
2585
|
-
return
|
|
2585
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2586
2586
|
}
|
|
2587
2587
|
view.version = version;
|
|
2588
2588
|
})(view = display.view || (display.view = {}));
|
|
@@ -2737,71 +2737,71 @@ export var dynamic_field;
|
|
|
2737
2737
|
async function add(client, args, typeArguments) {
|
|
2738
2738
|
const tx = new TransactionBlock();
|
|
2739
2739
|
builder.add(tx, args, typeArguments);
|
|
2740
|
-
const
|
|
2740
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2741
2741
|
transactionBlock: tx,
|
|
2742
2742
|
sender: ZERO_ADDRESS,
|
|
2743
2743
|
});
|
|
2744
|
-
return
|
|
2744
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2745
2745
|
}
|
|
2746
2746
|
view.add = add;
|
|
2747
2747
|
async function borrow(client, args, typeArguments) {
|
|
2748
2748
|
const tx = new TransactionBlock();
|
|
2749
2749
|
builder.borrow(tx, args, typeArguments);
|
|
2750
|
-
const
|
|
2750
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2751
2751
|
transactionBlock: tx,
|
|
2752
2752
|
sender: ZERO_ADDRESS,
|
|
2753
2753
|
});
|
|
2754
|
-
return
|
|
2754
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2755
2755
|
}
|
|
2756
2756
|
view.borrow = borrow;
|
|
2757
2757
|
async function borrowMut(client, args, typeArguments) {
|
|
2758
2758
|
const tx = new TransactionBlock();
|
|
2759
2759
|
builder.borrowMut(tx, args, typeArguments);
|
|
2760
|
-
const
|
|
2760
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2761
2761
|
transactionBlock: tx,
|
|
2762
2762
|
sender: ZERO_ADDRESS,
|
|
2763
2763
|
});
|
|
2764
|
-
return
|
|
2764
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2765
2765
|
}
|
|
2766
2766
|
view.borrowMut = borrowMut;
|
|
2767
2767
|
async function exists_(client, args, typeArguments) {
|
|
2768
2768
|
const tx = new TransactionBlock();
|
|
2769
2769
|
builder.exists_(tx, args, typeArguments);
|
|
2770
|
-
const
|
|
2770
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2771
2771
|
transactionBlock: tx,
|
|
2772
2772
|
sender: ZERO_ADDRESS,
|
|
2773
2773
|
});
|
|
2774
|
-
return
|
|
2774
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2775
2775
|
}
|
|
2776
2776
|
view.exists_ = exists_;
|
|
2777
2777
|
async function existsWithType(client, args, typeArguments) {
|
|
2778
2778
|
const tx = new TransactionBlock();
|
|
2779
2779
|
builder.existsWithType(tx, args, typeArguments);
|
|
2780
|
-
const
|
|
2780
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2781
2781
|
transactionBlock: tx,
|
|
2782
2782
|
sender: ZERO_ADDRESS,
|
|
2783
2783
|
});
|
|
2784
|
-
return
|
|
2784
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2785
2785
|
}
|
|
2786
2786
|
view.existsWithType = existsWithType;
|
|
2787
2787
|
async function remove(client, args, typeArguments) {
|
|
2788
2788
|
const tx = new TransactionBlock();
|
|
2789
2789
|
builder.remove(tx, args, typeArguments);
|
|
2790
|
-
const
|
|
2790
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2791
2791
|
transactionBlock: tx,
|
|
2792
2792
|
sender: ZERO_ADDRESS,
|
|
2793
2793
|
});
|
|
2794
|
-
return
|
|
2794
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2795
2795
|
}
|
|
2796
2796
|
view.remove = remove;
|
|
2797
2797
|
async function removeIfExists(client, args, typeArguments) {
|
|
2798
2798
|
const tx = new TransactionBlock();
|
|
2799
2799
|
builder.removeIfExists(tx, args, typeArguments);
|
|
2800
|
-
const
|
|
2800
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2801
2801
|
transactionBlock: tx,
|
|
2802
2802
|
sender: ZERO_ADDRESS,
|
|
2803
2803
|
});
|
|
2804
|
-
return
|
|
2804
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2805
2805
|
}
|
|
2806
2806
|
view.removeIfExists = removeIfExists;
|
|
2807
2807
|
})(view = dynamic_field.view || (dynamic_field.view = {}));
|
|
@@ -2953,71 +2953,71 @@ export var dynamic_object_field;
|
|
|
2953
2953
|
async function add(client, args, typeArguments) {
|
|
2954
2954
|
const tx = new TransactionBlock();
|
|
2955
2955
|
builder.add(tx, args, typeArguments);
|
|
2956
|
-
const
|
|
2956
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2957
2957
|
transactionBlock: tx,
|
|
2958
2958
|
sender: ZERO_ADDRESS,
|
|
2959
2959
|
});
|
|
2960
|
-
return
|
|
2960
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2961
2961
|
}
|
|
2962
2962
|
view.add = add;
|
|
2963
2963
|
async function borrow(client, args, typeArguments) {
|
|
2964
2964
|
const tx = new TransactionBlock();
|
|
2965
2965
|
builder.borrow(tx, args, typeArguments);
|
|
2966
|
-
const
|
|
2966
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2967
2967
|
transactionBlock: tx,
|
|
2968
2968
|
sender: ZERO_ADDRESS,
|
|
2969
2969
|
});
|
|
2970
|
-
return
|
|
2970
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2971
2971
|
}
|
|
2972
2972
|
view.borrow = borrow;
|
|
2973
2973
|
async function borrowMut(client, args, typeArguments) {
|
|
2974
2974
|
const tx = new TransactionBlock();
|
|
2975
2975
|
builder.borrowMut(tx, args, typeArguments);
|
|
2976
|
-
const
|
|
2976
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2977
2977
|
transactionBlock: tx,
|
|
2978
2978
|
sender: ZERO_ADDRESS,
|
|
2979
2979
|
});
|
|
2980
|
-
return
|
|
2980
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2981
2981
|
}
|
|
2982
2982
|
view.borrowMut = borrowMut;
|
|
2983
2983
|
async function exists_(client, args, typeArguments) {
|
|
2984
2984
|
const tx = new TransactionBlock();
|
|
2985
2985
|
builder.exists_(tx, args, typeArguments);
|
|
2986
|
-
const
|
|
2986
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2987
2987
|
transactionBlock: tx,
|
|
2988
2988
|
sender: ZERO_ADDRESS,
|
|
2989
2989
|
});
|
|
2990
|
-
return
|
|
2990
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
2991
2991
|
}
|
|
2992
2992
|
view.exists_ = exists_;
|
|
2993
2993
|
async function existsWithType(client, args, typeArguments) {
|
|
2994
2994
|
const tx = new TransactionBlock();
|
|
2995
2995
|
builder.existsWithType(tx, args, typeArguments);
|
|
2996
|
-
const
|
|
2996
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
2997
2997
|
transactionBlock: tx,
|
|
2998
2998
|
sender: ZERO_ADDRESS,
|
|
2999
2999
|
});
|
|
3000
|
-
return
|
|
3000
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3001
3001
|
}
|
|
3002
3002
|
view.existsWithType = existsWithType;
|
|
3003
3003
|
async function id(client, args, typeArguments) {
|
|
3004
3004
|
const tx = new TransactionBlock();
|
|
3005
3005
|
builder.id(tx, args, typeArguments);
|
|
3006
|
-
const
|
|
3006
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3007
3007
|
transactionBlock: tx,
|
|
3008
3008
|
sender: ZERO_ADDRESS,
|
|
3009
3009
|
});
|
|
3010
|
-
return
|
|
3010
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3011
3011
|
}
|
|
3012
3012
|
view.id = id;
|
|
3013
3013
|
async function remove(client, args, typeArguments) {
|
|
3014
3014
|
const tx = new TransactionBlock();
|
|
3015
3015
|
builder.remove(tx, args, typeArguments);
|
|
3016
|
-
const
|
|
3016
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3017
3017
|
transactionBlock: tx,
|
|
3018
3018
|
sender: ZERO_ADDRESS,
|
|
3019
3019
|
});
|
|
3020
|
-
return
|
|
3020
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3021
3021
|
}
|
|
3022
3022
|
view.remove = remove;
|
|
3023
3023
|
})(view = dynamic_object_field.view || (dynamic_object_field.view = {}));
|
|
@@ -3067,31 +3067,31 @@ export var ecdsa_k1;
|
|
|
3067
3067
|
async function decompressPubkey(client, args) {
|
|
3068
3068
|
const tx = new TransactionBlock();
|
|
3069
3069
|
builder.decompressPubkey(tx, args);
|
|
3070
|
-
const
|
|
3070
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3071
3071
|
transactionBlock: tx,
|
|
3072
3072
|
sender: ZERO_ADDRESS,
|
|
3073
3073
|
});
|
|
3074
|
-
return
|
|
3074
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3075
3075
|
}
|
|
3076
3076
|
view.decompressPubkey = decompressPubkey;
|
|
3077
3077
|
async function secp256k1Ecrecover(client, args) {
|
|
3078
3078
|
const tx = new TransactionBlock();
|
|
3079
3079
|
builder.secp256k1Ecrecover(tx, args);
|
|
3080
|
-
const
|
|
3080
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3081
3081
|
transactionBlock: tx,
|
|
3082
3082
|
sender: ZERO_ADDRESS,
|
|
3083
3083
|
});
|
|
3084
|
-
return
|
|
3084
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3085
3085
|
}
|
|
3086
3086
|
view.secp256k1Ecrecover = secp256k1Ecrecover;
|
|
3087
3087
|
async function secp256k1Verify(client, args) {
|
|
3088
3088
|
const tx = new TransactionBlock();
|
|
3089
3089
|
builder.secp256k1Verify(tx, args);
|
|
3090
|
-
const
|
|
3090
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3091
3091
|
transactionBlock: tx,
|
|
3092
3092
|
sender: ZERO_ADDRESS,
|
|
3093
3093
|
});
|
|
3094
|
-
return
|
|
3094
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3095
3095
|
}
|
|
3096
3096
|
view.secp256k1Verify = secp256k1Verify;
|
|
3097
3097
|
})(view = ecdsa_k1.view || (ecdsa_k1.view = {}));
|
|
@@ -3131,21 +3131,21 @@ export var ecdsa_r1;
|
|
|
3131
3131
|
async function secp256r1Ecrecover(client, args) {
|
|
3132
3132
|
const tx = new TransactionBlock();
|
|
3133
3133
|
builder.secp256r1Ecrecover(tx, args);
|
|
3134
|
-
const
|
|
3134
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3135
3135
|
transactionBlock: tx,
|
|
3136
3136
|
sender: ZERO_ADDRESS,
|
|
3137
3137
|
});
|
|
3138
|
-
return
|
|
3138
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3139
3139
|
}
|
|
3140
3140
|
view.secp256r1Ecrecover = secp256r1Ecrecover;
|
|
3141
3141
|
async function secp256r1Verify(client, args) {
|
|
3142
3142
|
const tx = new TransactionBlock();
|
|
3143
3143
|
builder.secp256r1Verify(tx, args);
|
|
3144
|
-
const
|
|
3144
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3145
3145
|
transactionBlock: tx,
|
|
3146
3146
|
sender: ZERO_ADDRESS,
|
|
3147
3147
|
});
|
|
3148
|
-
return
|
|
3148
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3149
3149
|
}
|
|
3150
3150
|
view.secp256r1Verify = secp256r1Verify;
|
|
3151
3151
|
})(view = ecdsa_r1.view || (ecdsa_r1.view = {}));
|
|
@@ -3173,11 +3173,11 @@ export var ecvrf;
|
|
|
3173
3173
|
async function ecvrfVerify(client, args) {
|
|
3174
3174
|
const tx = new TransactionBlock();
|
|
3175
3175
|
builder.ecvrfVerify(tx, args);
|
|
3176
|
-
const
|
|
3176
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3177
3177
|
transactionBlock: tx,
|
|
3178
3178
|
sender: ZERO_ADDRESS,
|
|
3179
3179
|
});
|
|
3180
|
-
return
|
|
3180
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3181
3181
|
}
|
|
3182
3182
|
view.ecvrfVerify = ecvrfVerify;
|
|
3183
3183
|
})(view = ecvrf.view || (ecvrf.view = {}));
|
|
@@ -3204,11 +3204,11 @@ export var ed25519;
|
|
|
3204
3204
|
async function ed25519Verify(client, args) {
|
|
3205
3205
|
const tx = new TransactionBlock();
|
|
3206
3206
|
builder.ed25519Verify(tx, args);
|
|
3207
|
-
const
|
|
3207
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3208
3208
|
transactionBlock: tx,
|
|
3209
3209
|
sender: ZERO_ADDRESS,
|
|
3210
3210
|
});
|
|
3211
|
-
return
|
|
3211
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3212
3212
|
}
|
|
3213
3213
|
view.ed25519Verify = ed25519Verify;
|
|
3214
3214
|
})(view = ed25519.view || (ed25519.view = {}));
|
|
@@ -3238,11 +3238,11 @@ export var event;
|
|
|
3238
3238
|
async function emit(client, args, typeArguments) {
|
|
3239
3239
|
const tx = new TransactionBlock();
|
|
3240
3240
|
builder.emit(tx, args, typeArguments);
|
|
3241
|
-
const
|
|
3241
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3242
3242
|
transactionBlock: tx,
|
|
3243
3243
|
sender: ZERO_ADDRESS,
|
|
3244
3244
|
});
|
|
3245
|
-
return
|
|
3245
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3246
3246
|
}
|
|
3247
3247
|
view.emit = emit;
|
|
3248
3248
|
})(view = event.view || (event.view = {}));
|
|
@@ -3408,81 +3408,81 @@ export var groth16;
|
|
|
3408
3408
|
async function bls12381(client, args) {
|
|
3409
3409
|
const tx = new TransactionBlock();
|
|
3410
3410
|
builder.bls12381(tx, args);
|
|
3411
|
-
const
|
|
3411
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3412
3412
|
transactionBlock: tx,
|
|
3413
3413
|
sender: ZERO_ADDRESS,
|
|
3414
3414
|
});
|
|
3415
|
-
return
|
|
3415
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3416
3416
|
}
|
|
3417
3417
|
view.bls12381 = bls12381;
|
|
3418
3418
|
async function bn254(client, args) {
|
|
3419
3419
|
const tx = new TransactionBlock();
|
|
3420
3420
|
builder.bn254(tx, args);
|
|
3421
|
-
const
|
|
3421
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3422
3422
|
transactionBlock: tx,
|
|
3423
3423
|
sender: ZERO_ADDRESS,
|
|
3424
3424
|
});
|
|
3425
|
-
return
|
|
3425
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3426
3426
|
}
|
|
3427
3427
|
view.bn254 = bn254;
|
|
3428
3428
|
async function prepareVerifyingKey(client, args) {
|
|
3429
3429
|
const tx = new TransactionBlock();
|
|
3430
3430
|
builder.prepareVerifyingKey(tx, args);
|
|
3431
|
-
const
|
|
3431
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3432
3432
|
transactionBlock: tx,
|
|
3433
3433
|
sender: ZERO_ADDRESS,
|
|
3434
3434
|
});
|
|
3435
|
-
return
|
|
3435
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3436
3436
|
}
|
|
3437
3437
|
view.prepareVerifyingKey = prepareVerifyingKey;
|
|
3438
3438
|
async function proofPointsFromBytes(client, args) {
|
|
3439
3439
|
const tx = new TransactionBlock();
|
|
3440
3440
|
builder.proofPointsFromBytes(tx, args);
|
|
3441
|
-
const
|
|
3441
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3442
3442
|
transactionBlock: tx,
|
|
3443
3443
|
sender: ZERO_ADDRESS,
|
|
3444
3444
|
});
|
|
3445
|
-
return
|
|
3445
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3446
3446
|
}
|
|
3447
3447
|
view.proofPointsFromBytes = proofPointsFromBytes;
|
|
3448
3448
|
async function publicProofInputsFromBytes(client, args) {
|
|
3449
3449
|
const tx = new TransactionBlock();
|
|
3450
3450
|
builder.publicProofInputsFromBytes(tx, args);
|
|
3451
|
-
const
|
|
3451
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3452
3452
|
transactionBlock: tx,
|
|
3453
3453
|
sender: ZERO_ADDRESS,
|
|
3454
3454
|
});
|
|
3455
|
-
return
|
|
3455
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3456
3456
|
}
|
|
3457
3457
|
view.publicProofInputsFromBytes = publicProofInputsFromBytes;
|
|
3458
3458
|
async function pvkFromBytes(client, args) {
|
|
3459
3459
|
const tx = new TransactionBlock();
|
|
3460
3460
|
builder.pvkFromBytes(tx, args);
|
|
3461
|
-
const
|
|
3461
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3462
3462
|
transactionBlock: tx,
|
|
3463
3463
|
sender: ZERO_ADDRESS,
|
|
3464
3464
|
});
|
|
3465
|
-
return
|
|
3465
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3466
3466
|
}
|
|
3467
3467
|
view.pvkFromBytes = pvkFromBytes;
|
|
3468
3468
|
async function pvkToBytes(client, args) {
|
|
3469
3469
|
const tx = new TransactionBlock();
|
|
3470
3470
|
builder.pvkToBytes(tx, args);
|
|
3471
|
-
const
|
|
3471
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3472
3472
|
transactionBlock: tx,
|
|
3473
3473
|
sender: ZERO_ADDRESS,
|
|
3474
3474
|
});
|
|
3475
|
-
return
|
|
3475
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3476
3476
|
}
|
|
3477
3477
|
view.pvkToBytes = pvkToBytes;
|
|
3478
3478
|
async function verifyGroth16Proof(client, args) {
|
|
3479
3479
|
const tx = new TransactionBlock();
|
|
3480
3480
|
builder.verifyGroth16Proof(tx, args);
|
|
3481
|
-
const
|
|
3481
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3482
3482
|
transactionBlock: tx,
|
|
3483
3483
|
sender: ZERO_ADDRESS,
|
|
3484
3484
|
});
|
|
3485
|
-
return
|
|
3485
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3486
3486
|
}
|
|
3487
3487
|
view.verifyGroth16Proof = verifyGroth16Proof;
|
|
3488
3488
|
})(view = groth16.view || (groth16.view = {}));
|
|
@@ -3517,21 +3517,21 @@ export var hash;
|
|
|
3517
3517
|
async function blake2b256(client, args) {
|
|
3518
3518
|
const tx = new TransactionBlock();
|
|
3519
3519
|
builder.blake2b256(tx, args);
|
|
3520
|
-
const
|
|
3520
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3521
3521
|
transactionBlock: tx,
|
|
3522
3522
|
sender: ZERO_ADDRESS,
|
|
3523
3523
|
});
|
|
3524
|
-
return
|
|
3524
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3525
3525
|
}
|
|
3526
3526
|
view.blake2b256 = blake2b256;
|
|
3527
3527
|
async function keccak256(client, args) {
|
|
3528
3528
|
const tx = new TransactionBlock();
|
|
3529
3529
|
builder.keccak256(tx, args);
|
|
3530
|
-
const
|
|
3530
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3531
3531
|
transactionBlock: tx,
|
|
3532
3532
|
sender: ZERO_ADDRESS,
|
|
3533
3533
|
});
|
|
3534
|
-
return
|
|
3534
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3535
3535
|
}
|
|
3536
3536
|
view.keccak256 = keccak256;
|
|
3537
3537
|
})(view = hash.view || (hash.view = {}));
|
|
@@ -3576,21 +3576,21 @@ export var hex;
|
|
|
3576
3576
|
async function decode(client, args) {
|
|
3577
3577
|
const tx = new TransactionBlock();
|
|
3578
3578
|
builder.decode(tx, args);
|
|
3579
|
-
const
|
|
3579
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3580
3580
|
transactionBlock: tx,
|
|
3581
3581
|
sender: ZERO_ADDRESS,
|
|
3582
3582
|
});
|
|
3583
|
-
return
|
|
3583
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3584
3584
|
}
|
|
3585
3585
|
view.decode = decode;
|
|
3586
3586
|
async function encode(client, args) {
|
|
3587
3587
|
const tx = new TransactionBlock();
|
|
3588
3588
|
builder.encode(tx, args);
|
|
3589
|
-
const
|
|
3589
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3590
3590
|
transactionBlock: tx,
|
|
3591
3591
|
sender: ZERO_ADDRESS,
|
|
3592
3592
|
});
|
|
3593
|
-
return
|
|
3593
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3594
3594
|
}
|
|
3595
3595
|
view.encode = encode;
|
|
3596
3596
|
})(view = hex.view || (hex.view = {}));
|
|
@@ -3616,11 +3616,11 @@ export var hmac;
|
|
|
3616
3616
|
async function hmacSha3256(client, args) {
|
|
3617
3617
|
const tx = new TransactionBlock();
|
|
3618
3618
|
builder.hmacSha3256(tx, args);
|
|
3619
|
-
const
|
|
3619
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
3620
3620
|
transactionBlock: tx,
|
|
3621
3621
|
sender: ZERO_ADDRESS,
|
|
3622
3622
|
});
|
|
3623
|
-
return
|
|
3623
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
3624
3624
|
}
|
|
3625
3625
|
view.hmacSha3256 = hmacSha3256;
|
|
3626
3626
|
})(view = hmac.view || (hmac.view = {}));
|
|
@@ -4226,361 +4226,361 @@ export var kiosk;
|
|
|
4226
4226
|
async function borrow(client, args, typeArguments) {
|
|
4227
4227
|
const tx = new TransactionBlock();
|
|
4228
4228
|
builder.borrow(tx, args, typeArguments);
|
|
4229
|
-
const
|
|
4229
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4230
4230
|
transactionBlock: tx,
|
|
4231
4231
|
sender: ZERO_ADDRESS,
|
|
4232
4232
|
});
|
|
4233
|
-
return
|
|
4233
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4234
4234
|
}
|
|
4235
4235
|
view.borrow = borrow;
|
|
4236
4236
|
async function borrowMut(client, args, typeArguments) {
|
|
4237
4237
|
const tx = new TransactionBlock();
|
|
4238
4238
|
builder.borrowMut(tx, args, typeArguments);
|
|
4239
|
-
const
|
|
4239
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4240
4240
|
transactionBlock: tx,
|
|
4241
4241
|
sender: ZERO_ADDRESS,
|
|
4242
4242
|
});
|
|
4243
|
-
return
|
|
4243
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4244
4244
|
}
|
|
4245
4245
|
view.borrowMut = borrowMut;
|
|
4246
4246
|
async function borrowVal(client, args, typeArguments) {
|
|
4247
4247
|
const tx = new TransactionBlock();
|
|
4248
4248
|
builder.borrowVal(tx, args, typeArguments);
|
|
4249
|
-
const
|
|
4249
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4250
4250
|
transactionBlock: tx,
|
|
4251
4251
|
sender: ZERO_ADDRESS,
|
|
4252
4252
|
});
|
|
4253
|
-
return
|
|
4253
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4254
4254
|
}
|
|
4255
4255
|
view.borrowVal = borrowVal;
|
|
4256
4256
|
async function closeAndWithdraw(client, args) {
|
|
4257
4257
|
const tx = new TransactionBlock();
|
|
4258
4258
|
builder.closeAndWithdraw(tx, args);
|
|
4259
|
-
const
|
|
4259
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4260
4260
|
transactionBlock: tx,
|
|
4261
4261
|
sender: ZERO_ADDRESS,
|
|
4262
4262
|
});
|
|
4263
|
-
return
|
|
4263
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4264
4264
|
}
|
|
4265
4265
|
view.closeAndWithdraw = closeAndWithdraw;
|
|
4266
4266
|
async function delist(client, args, typeArguments) {
|
|
4267
4267
|
const tx = new TransactionBlock();
|
|
4268
4268
|
builder.delist(tx, args, typeArguments);
|
|
4269
|
-
const
|
|
4269
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4270
4270
|
transactionBlock: tx,
|
|
4271
4271
|
sender: ZERO_ADDRESS,
|
|
4272
4272
|
});
|
|
4273
|
-
return
|
|
4273
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4274
4274
|
}
|
|
4275
4275
|
view.delist = delist;
|
|
4276
4276
|
async function hasAccess(client, args) {
|
|
4277
4277
|
const tx = new TransactionBlock();
|
|
4278
4278
|
builder.hasAccess(tx, args);
|
|
4279
|
-
const
|
|
4279
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4280
4280
|
transactionBlock: tx,
|
|
4281
4281
|
sender: ZERO_ADDRESS,
|
|
4282
4282
|
});
|
|
4283
|
-
return
|
|
4283
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4284
4284
|
}
|
|
4285
4285
|
view.hasAccess = hasAccess;
|
|
4286
4286
|
async function hasItem(client, args) {
|
|
4287
4287
|
const tx = new TransactionBlock();
|
|
4288
4288
|
builder.hasItem(tx, args);
|
|
4289
|
-
const
|
|
4289
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4290
4290
|
transactionBlock: tx,
|
|
4291
4291
|
sender: ZERO_ADDRESS,
|
|
4292
4292
|
});
|
|
4293
|
-
return
|
|
4293
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4294
4294
|
}
|
|
4295
4295
|
view.hasItem = hasItem;
|
|
4296
4296
|
async function hasItemWithType(client, args, typeArguments) {
|
|
4297
4297
|
const tx = new TransactionBlock();
|
|
4298
4298
|
builder.hasItemWithType(tx, args, typeArguments);
|
|
4299
|
-
const
|
|
4299
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4300
4300
|
transactionBlock: tx,
|
|
4301
4301
|
sender: ZERO_ADDRESS,
|
|
4302
4302
|
});
|
|
4303
|
-
return
|
|
4303
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4304
4304
|
}
|
|
4305
4305
|
view.hasItemWithType = hasItemWithType;
|
|
4306
4306
|
async function isListed(client, args) {
|
|
4307
4307
|
const tx = new TransactionBlock();
|
|
4308
4308
|
builder.isListed(tx, args);
|
|
4309
|
-
const
|
|
4309
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4310
4310
|
transactionBlock: tx,
|
|
4311
4311
|
sender: ZERO_ADDRESS,
|
|
4312
4312
|
});
|
|
4313
|
-
return
|
|
4313
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4314
4314
|
}
|
|
4315
4315
|
view.isListed = isListed;
|
|
4316
4316
|
async function isListedExclusively(client, args) {
|
|
4317
4317
|
const tx = new TransactionBlock();
|
|
4318
4318
|
builder.isListedExclusively(tx, args);
|
|
4319
|
-
const
|
|
4319
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4320
4320
|
transactionBlock: tx,
|
|
4321
4321
|
sender: ZERO_ADDRESS,
|
|
4322
4322
|
});
|
|
4323
|
-
return
|
|
4323
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4324
4324
|
}
|
|
4325
4325
|
view.isListedExclusively = isListedExclusively;
|
|
4326
4326
|
async function isLocked(client, args) {
|
|
4327
4327
|
const tx = new TransactionBlock();
|
|
4328
4328
|
builder.isLocked(tx, args);
|
|
4329
|
-
const
|
|
4329
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4330
4330
|
transactionBlock: tx,
|
|
4331
4331
|
sender: ZERO_ADDRESS,
|
|
4332
4332
|
});
|
|
4333
|
-
return
|
|
4333
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4334
4334
|
}
|
|
4335
4335
|
view.isLocked = isLocked;
|
|
4336
4336
|
async function itemCount(client, args) {
|
|
4337
4337
|
const tx = new TransactionBlock();
|
|
4338
4338
|
builder.itemCount(tx, args);
|
|
4339
|
-
const
|
|
4339
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4340
4340
|
transactionBlock: tx,
|
|
4341
4341
|
sender: ZERO_ADDRESS,
|
|
4342
4342
|
});
|
|
4343
|
-
return
|
|
4343
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4344
4344
|
}
|
|
4345
4345
|
view.itemCount = itemCount;
|
|
4346
4346
|
async function list(client, args, typeArguments) {
|
|
4347
4347
|
const tx = new TransactionBlock();
|
|
4348
4348
|
builder.list(tx, args, typeArguments);
|
|
4349
|
-
const
|
|
4349
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4350
4350
|
transactionBlock: tx,
|
|
4351
4351
|
sender: ZERO_ADDRESS,
|
|
4352
4352
|
});
|
|
4353
|
-
return
|
|
4353
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4354
4354
|
}
|
|
4355
4355
|
view.list = list;
|
|
4356
4356
|
async function listWithPurchaseCap(client, args, typeArguments) {
|
|
4357
4357
|
const tx = new TransactionBlock();
|
|
4358
4358
|
builder.listWithPurchaseCap(tx, args, typeArguments);
|
|
4359
|
-
const
|
|
4359
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4360
4360
|
transactionBlock: tx,
|
|
4361
4361
|
sender: ZERO_ADDRESS,
|
|
4362
4362
|
});
|
|
4363
|
-
return
|
|
4363
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4364
4364
|
}
|
|
4365
4365
|
view.listWithPurchaseCap = listWithPurchaseCap;
|
|
4366
4366
|
async function lock(client, args, typeArguments) {
|
|
4367
4367
|
const tx = new TransactionBlock();
|
|
4368
4368
|
builder.lock(tx, args, typeArguments);
|
|
4369
|
-
const
|
|
4369
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4370
4370
|
transactionBlock: tx,
|
|
4371
4371
|
sender: ZERO_ADDRESS,
|
|
4372
4372
|
});
|
|
4373
|
-
return
|
|
4373
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4374
4374
|
}
|
|
4375
4375
|
view.lock = lock;
|
|
4376
4376
|
async function new_(client, args) {
|
|
4377
4377
|
const tx = new TransactionBlock();
|
|
4378
4378
|
builder.new_(tx, args);
|
|
4379
|
-
const
|
|
4379
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4380
4380
|
transactionBlock: tx,
|
|
4381
4381
|
sender: ZERO_ADDRESS,
|
|
4382
4382
|
});
|
|
4383
|
-
return
|
|
4383
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4384
4384
|
}
|
|
4385
4385
|
view.new_ = new_;
|
|
4386
4386
|
async function owner(client, args) {
|
|
4387
4387
|
const tx = new TransactionBlock();
|
|
4388
4388
|
builder.owner(tx, args);
|
|
4389
|
-
const
|
|
4389
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4390
4390
|
transactionBlock: tx,
|
|
4391
4391
|
sender: ZERO_ADDRESS,
|
|
4392
4392
|
});
|
|
4393
|
-
return
|
|
4393
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4394
4394
|
}
|
|
4395
4395
|
view.owner = owner;
|
|
4396
4396
|
async function place(client, args, typeArguments) {
|
|
4397
4397
|
const tx = new TransactionBlock();
|
|
4398
4398
|
builder.place(tx, args, typeArguments);
|
|
4399
|
-
const
|
|
4399
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4400
4400
|
transactionBlock: tx,
|
|
4401
4401
|
sender: ZERO_ADDRESS,
|
|
4402
4402
|
});
|
|
4403
|
-
return
|
|
4403
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4404
4404
|
}
|
|
4405
4405
|
view.place = place;
|
|
4406
4406
|
async function placeAndList(client, args, typeArguments) {
|
|
4407
4407
|
const tx = new TransactionBlock();
|
|
4408
4408
|
builder.placeAndList(tx, args, typeArguments);
|
|
4409
|
-
const
|
|
4409
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4410
4410
|
transactionBlock: tx,
|
|
4411
4411
|
sender: ZERO_ADDRESS,
|
|
4412
4412
|
});
|
|
4413
|
-
return
|
|
4413
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4414
4414
|
}
|
|
4415
4415
|
view.placeAndList = placeAndList;
|
|
4416
4416
|
async function profitsAmount(client, args) {
|
|
4417
4417
|
const tx = new TransactionBlock();
|
|
4418
4418
|
builder.profitsAmount(tx, args);
|
|
4419
|
-
const
|
|
4419
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4420
4420
|
transactionBlock: tx,
|
|
4421
4421
|
sender: ZERO_ADDRESS,
|
|
4422
4422
|
});
|
|
4423
|
-
return
|
|
4423
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4424
4424
|
}
|
|
4425
4425
|
view.profitsAmount = profitsAmount;
|
|
4426
4426
|
async function profitsMut(client, args) {
|
|
4427
4427
|
const tx = new TransactionBlock();
|
|
4428
4428
|
builder.profitsMut(tx, args);
|
|
4429
|
-
const
|
|
4429
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4430
4430
|
transactionBlock: tx,
|
|
4431
4431
|
sender: ZERO_ADDRESS,
|
|
4432
4432
|
});
|
|
4433
|
-
return
|
|
4433
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4434
4434
|
}
|
|
4435
4435
|
view.profitsMut = profitsMut;
|
|
4436
4436
|
async function purchase(client, args, typeArguments) {
|
|
4437
4437
|
const tx = new TransactionBlock();
|
|
4438
4438
|
builder.purchase(tx, args, typeArguments);
|
|
4439
|
-
const
|
|
4439
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4440
4440
|
transactionBlock: tx,
|
|
4441
4441
|
sender: ZERO_ADDRESS,
|
|
4442
4442
|
});
|
|
4443
|
-
return
|
|
4443
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4444
4444
|
}
|
|
4445
4445
|
view.purchase = purchase;
|
|
4446
4446
|
async function purchaseCapItem(client, args, typeArguments) {
|
|
4447
4447
|
const tx = new TransactionBlock();
|
|
4448
4448
|
builder.purchaseCapItem(tx, args, typeArguments);
|
|
4449
|
-
const
|
|
4449
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4450
4450
|
transactionBlock: tx,
|
|
4451
4451
|
sender: ZERO_ADDRESS,
|
|
4452
4452
|
});
|
|
4453
|
-
return
|
|
4453
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4454
4454
|
}
|
|
4455
4455
|
view.purchaseCapItem = purchaseCapItem;
|
|
4456
4456
|
async function purchaseCapKiosk(client, args, typeArguments) {
|
|
4457
4457
|
const tx = new TransactionBlock();
|
|
4458
4458
|
builder.purchaseCapKiosk(tx, args, typeArguments);
|
|
4459
|
-
const
|
|
4459
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4460
4460
|
transactionBlock: tx,
|
|
4461
4461
|
sender: ZERO_ADDRESS,
|
|
4462
4462
|
});
|
|
4463
|
-
return
|
|
4463
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4464
4464
|
}
|
|
4465
4465
|
view.purchaseCapKiosk = purchaseCapKiosk;
|
|
4466
4466
|
async function purchaseCapMinPrice(client, args, typeArguments) {
|
|
4467
4467
|
const tx = new TransactionBlock();
|
|
4468
4468
|
builder.purchaseCapMinPrice(tx, args, typeArguments);
|
|
4469
|
-
const
|
|
4469
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4470
4470
|
transactionBlock: tx,
|
|
4471
4471
|
sender: ZERO_ADDRESS,
|
|
4472
4472
|
});
|
|
4473
|
-
return
|
|
4473
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4474
4474
|
}
|
|
4475
4475
|
view.purchaseCapMinPrice = purchaseCapMinPrice;
|
|
4476
4476
|
async function purchaseWithCap(client, args, typeArguments) {
|
|
4477
4477
|
const tx = new TransactionBlock();
|
|
4478
4478
|
builder.purchaseWithCap(tx, args, typeArguments);
|
|
4479
|
-
const
|
|
4479
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4480
4480
|
transactionBlock: tx,
|
|
4481
4481
|
sender: ZERO_ADDRESS,
|
|
4482
4482
|
});
|
|
4483
|
-
return
|
|
4483
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4484
4484
|
}
|
|
4485
4485
|
view.purchaseWithCap = purchaseWithCap;
|
|
4486
4486
|
async function returnPurchaseCap(client, args, typeArguments) {
|
|
4487
4487
|
const tx = new TransactionBlock();
|
|
4488
4488
|
builder.returnPurchaseCap(tx, args, typeArguments);
|
|
4489
|
-
const
|
|
4489
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4490
4490
|
transactionBlock: tx,
|
|
4491
4491
|
sender: ZERO_ADDRESS,
|
|
4492
4492
|
});
|
|
4493
|
-
return
|
|
4493
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4494
4494
|
}
|
|
4495
4495
|
view.returnPurchaseCap = returnPurchaseCap;
|
|
4496
4496
|
async function returnVal(client, args, typeArguments) {
|
|
4497
4497
|
const tx = new TransactionBlock();
|
|
4498
4498
|
builder.returnVal(tx, args, typeArguments);
|
|
4499
|
-
const
|
|
4499
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4500
4500
|
transactionBlock: tx,
|
|
4501
4501
|
sender: ZERO_ADDRESS,
|
|
4502
4502
|
});
|
|
4503
|
-
return
|
|
4503
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4504
4504
|
}
|
|
4505
4505
|
view.returnVal = returnVal;
|
|
4506
4506
|
async function setAllowExtensions(client, args) {
|
|
4507
4507
|
const tx = new TransactionBlock();
|
|
4508
4508
|
builder.setAllowExtensions(tx, args);
|
|
4509
|
-
const
|
|
4509
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4510
4510
|
transactionBlock: tx,
|
|
4511
4511
|
sender: ZERO_ADDRESS,
|
|
4512
4512
|
});
|
|
4513
|
-
return
|
|
4513
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4514
4514
|
}
|
|
4515
4515
|
view.setAllowExtensions = setAllowExtensions;
|
|
4516
4516
|
async function setOwner(client, args) {
|
|
4517
4517
|
const tx = new TransactionBlock();
|
|
4518
4518
|
builder.setOwner(tx, args);
|
|
4519
|
-
const
|
|
4519
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4520
4520
|
transactionBlock: tx,
|
|
4521
4521
|
sender: ZERO_ADDRESS,
|
|
4522
4522
|
});
|
|
4523
|
-
return
|
|
4523
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4524
4524
|
}
|
|
4525
4525
|
view.setOwner = setOwner;
|
|
4526
4526
|
async function setOwnerCustom(client, args) {
|
|
4527
4527
|
const tx = new TransactionBlock();
|
|
4528
4528
|
builder.setOwnerCustom(tx, args);
|
|
4529
|
-
const
|
|
4529
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4530
4530
|
transactionBlock: tx,
|
|
4531
4531
|
sender: ZERO_ADDRESS,
|
|
4532
4532
|
});
|
|
4533
|
-
return
|
|
4533
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4534
4534
|
}
|
|
4535
4535
|
view.setOwnerCustom = setOwnerCustom;
|
|
4536
4536
|
async function take(client, args, typeArguments) {
|
|
4537
4537
|
const tx = new TransactionBlock();
|
|
4538
4538
|
builder.take(tx, args, typeArguments);
|
|
4539
|
-
const
|
|
4539
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4540
4540
|
transactionBlock: tx,
|
|
4541
4541
|
sender: ZERO_ADDRESS,
|
|
4542
4542
|
});
|
|
4543
|
-
return
|
|
4543
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4544
4544
|
}
|
|
4545
4545
|
view.take = take;
|
|
4546
4546
|
async function uid(client, args) {
|
|
4547
4547
|
const tx = new TransactionBlock();
|
|
4548
4548
|
builder.uid(tx, args);
|
|
4549
|
-
const
|
|
4549
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4550
4550
|
transactionBlock: tx,
|
|
4551
4551
|
sender: ZERO_ADDRESS,
|
|
4552
4552
|
});
|
|
4553
|
-
return
|
|
4553
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4554
4554
|
}
|
|
4555
4555
|
view.uid = uid;
|
|
4556
4556
|
async function uidMut(client, args) {
|
|
4557
4557
|
const tx = new TransactionBlock();
|
|
4558
4558
|
builder.uidMut(tx, args);
|
|
4559
|
-
const
|
|
4559
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4560
4560
|
transactionBlock: tx,
|
|
4561
4561
|
sender: ZERO_ADDRESS,
|
|
4562
4562
|
});
|
|
4563
|
-
return
|
|
4563
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4564
4564
|
}
|
|
4565
4565
|
view.uidMut = uidMut;
|
|
4566
4566
|
async function uidMutAsOwner(client, args) {
|
|
4567
4567
|
const tx = new TransactionBlock();
|
|
4568
4568
|
builder.uidMutAsOwner(tx, args);
|
|
4569
|
-
const
|
|
4569
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4570
4570
|
transactionBlock: tx,
|
|
4571
4571
|
sender: ZERO_ADDRESS,
|
|
4572
4572
|
});
|
|
4573
|
-
return
|
|
4573
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4574
4574
|
}
|
|
4575
4575
|
view.uidMutAsOwner = uidMutAsOwner;
|
|
4576
4576
|
async function withdraw(client, args) {
|
|
4577
4577
|
const tx = new TransactionBlock();
|
|
4578
4578
|
builder.withdraw(tx, args);
|
|
4579
|
-
const
|
|
4579
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4580
4580
|
transactionBlock: tx,
|
|
4581
4581
|
sender: ZERO_ADDRESS,
|
|
4582
4582
|
});
|
|
4583
|
-
return
|
|
4583
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4584
4584
|
}
|
|
4585
4585
|
view.withdraw = withdraw;
|
|
4586
4586
|
})(view = kiosk.view || (kiosk.view = {}));
|
|
@@ -4929,171 +4929,171 @@ export var linked_table;
|
|
|
4929
4929
|
async function back(client, args, typeArguments) {
|
|
4930
4930
|
const tx = new TransactionBlock();
|
|
4931
4931
|
builder.back(tx, args, typeArguments);
|
|
4932
|
-
const
|
|
4932
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4933
4933
|
transactionBlock: tx,
|
|
4934
4934
|
sender: ZERO_ADDRESS,
|
|
4935
4935
|
});
|
|
4936
|
-
return
|
|
4936
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4937
4937
|
}
|
|
4938
4938
|
view.back = back;
|
|
4939
4939
|
async function borrow(client, args, typeArguments) {
|
|
4940
4940
|
const tx = new TransactionBlock();
|
|
4941
4941
|
builder.borrow(tx, args, typeArguments);
|
|
4942
|
-
const
|
|
4942
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4943
4943
|
transactionBlock: tx,
|
|
4944
4944
|
sender: ZERO_ADDRESS,
|
|
4945
4945
|
});
|
|
4946
|
-
return
|
|
4946
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4947
4947
|
}
|
|
4948
4948
|
view.borrow = borrow;
|
|
4949
4949
|
async function borrowMut(client, args, typeArguments) {
|
|
4950
4950
|
const tx = new TransactionBlock();
|
|
4951
4951
|
builder.borrowMut(tx, args, typeArguments);
|
|
4952
|
-
const
|
|
4952
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4953
4953
|
transactionBlock: tx,
|
|
4954
4954
|
sender: ZERO_ADDRESS,
|
|
4955
4955
|
});
|
|
4956
|
-
return
|
|
4956
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4957
4957
|
}
|
|
4958
4958
|
view.borrowMut = borrowMut;
|
|
4959
4959
|
async function contains(client, args, typeArguments) {
|
|
4960
4960
|
const tx = new TransactionBlock();
|
|
4961
4961
|
builder.contains(tx, args, typeArguments);
|
|
4962
|
-
const
|
|
4962
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4963
4963
|
transactionBlock: tx,
|
|
4964
4964
|
sender: ZERO_ADDRESS,
|
|
4965
4965
|
});
|
|
4966
|
-
return
|
|
4966
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4967
4967
|
}
|
|
4968
4968
|
view.contains = contains;
|
|
4969
4969
|
async function destroyEmpty(client, args, typeArguments) {
|
|
4970
4970
|
const tx = new TransactionBlock();
|
|
4971
4971
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
4972
|
-
const
|
|
4972
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4973
4973
|
transactionBlock: tx,
|
|
4974
4974
|
sender: ZERO_ADDRESS,
|
|
4975
4975
|
});
|
|
4976
|
-
return
|
|
4976
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4977
4977
|
}
|
|
4978
4978
|
view.destroyEmpty = destroyEmpty;
|
|
4979
4979
|
async function drop(client, args, typeArguments) {
|
|
4980
4980
|
const tx = new TransactionBlock();
|
|
4981
4981
|
builder.drop(tx, args, typeArguments);
|
|
4982
|
-
const
|
|
4982
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4983
4983
|
transactionBlock: tx,
|
|
4984
4984
|
sender: ZERO_ADDRESS,
|
|
4985
4985
|
});
|
|
4986
|
-
return
|
|
4986
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4987
4987
|
}
|
|
4988
4988
|
view.drop = drop;
|
|
4989
4989
|
async function front(client, args, typeArguments) {
|
|
4990
4990
|
const tx = new TransactionBlock();
|
|
4991
4991
|
builder.front(tx, args, typeArguments);
|
|
4992
|
-
const
|
|
4992
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
4993
4993
|
transactionBlock: tx,
|
|
4994
4994
|
sender: ZERO_ADDRESS,
|
|
4995
4995
|
});
|
|
4996
|
-
return
|
|
4996
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
4997
4997
|
}
|
|
4998
4998
|
view.front = front;
|
|
4999
4999
|
async function isEmpty(client, args, typeArguments) {
|
|
5000
5000
|
const tx = new TransactionBlock();
|
|
5001
5001
|
builder.isEmpty(tx, args, typeArguments);
|
|
5002
|
-
const
|
|
5002
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5003
5003
|
transactionBlock: tx,
|
|
5004
5004
|
sender: ZERO_ADDRESS,
|
|
5005
5005
|
});
|
|
5006
|
-
return
|
|
5006
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5007
5007
|
}
|
|
5008
5008
|
view.isEmpty = isEmpty;
|
|
5009
5009
|
async function length(client, args, typeArguments) {
|
|
5010
5010
|
const tx = new TransactionBlock();
|
|
5011
5011
|
builder.length(tx, args, typeArguments);
|
|
5012
|
-
const
|
|
5012
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5013
5013
|
transactionBlock: tx,
|
|
5014
5014
|
sender: ZERO_ADDRESS,
|
|
5015
5015
|
});
|
|
5016
|
-
return
|
|
5016
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5017
5017
|
}
|
|
5018
5018
|
view.length = length;
|
|
5019
5019
|
async function new_(client, args, typeArguments) {
|
|
5020
5020
|
const tx = new TransactionBlock();
|
|
5021
5021
|
builder.new_(tx, args, typeArguments);
|
|
5022
|
-
const
|
|
5022
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5023
5023
|
transactionBlock: tx,
|
|
5024
5024
|
sender: ZERO_ADDRESS,
|
|
5025
5025
|
});
|
|
5026
|
-
return
|
|
5026
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5027
5027
|
}
|
|
5028
5028
|
view.new_ = new_;
|
|
5029
5029
|
async function next(client, args, typeArguments) {
|
|
5030
5030
|
const tx = new TransactionBlock();
|
|
5031
5031
|
builder.next(tx, args, typeArguments);
|
|
5032
|
-
const
|
|
5032
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5033
5033
|
transactionBlock: tx,
|
|
5034
5034
|
sender: ZERO_ADDRESS,
|
|
5035
5035
|
});
|
|
5036
|
-
return
|
|
5036
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5037
5037
|
}
|
|
5038
5038
|
view.next = next;
|
|
5039
5039
|
async function popBack(client, args, typeArguments) {
|
|
5040
5040
|
const tx = new TransactionBlock();
|
|
5041
5041
|
builder.popBack(tx, args, typeArguments);
|
|
5042
|
-
const
|
|
5042
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5043
5043
|
transactionBlock: tx,
|
|
5044
5044
|
sender: ZERO_ADDRESS,
|
|
5045
5045
|
});
|
|
5046
|
-
return
|
|
5046
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5047
5047
|
}
|
|
5048
5048
|
view.popBack = popBack;
|
|
5049
5049
|
async function popFront(client, args, typeArguments) {
|
|
5050
5050
|
const tx = new TransactionBlock();
|
|
5051
5051
|
builder.popFront(tx, args, typeArguments);
|
|
5052
|
-
const
|
|
5052
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5053
5053
|
transactionBlock: tx,
|
|
5054
5054
|
sender: ZERO_ADDRESS,
|
|
5055
5055
|
});
|
|
5056
|
-
return
|
|
5056
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5057
5057
|
}
|
|
5058
5058
|
view.popFront = popFront;
|
|
5059
5059
|
async function prev(client, args, typeArguments) {
|
|
5060
5060
|
const tx = new TransactionBlock();
|
|
5061
5061
|
builder.prev(tx, args, typeArguments);
|
|
5062
|
-
const
|
|
5062
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5063
5063
|
transactionBlock: tx,
|
|
5064
5064
|
sender: ZERO_ADDRESS,
|
|
5065
5065
|
});
|
|
5066
|
-
return
|
|
5066
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5067
5067
|
}
|
|
5068
5068
|
view.prev = prev;
|
|
5069
5069
|
async function pushBack(client, args, typeArguments) {
|
|
5070
5070
|
const tx = new TransactionBlock();
|
|
5071
5071
|
builder.pushBack(tx, args, typeArguments);
|
|
5072
|
-
const
|
|
5072
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5073
5073
|
transactionBlock: tx,
|
|
5074
5074
|
sender: ZERO_ADDRESS,
|
|
5075
5075
|
});
|
|
5076
|
-
return
|
|
5076
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5077
5077
|
}
|
|
5078
5078
|
view.pushBack = pushBack;
|
|
5079
5079
|
async function pushFront(client, args, typeArguments) {
|
|
5080
5080
|
const tx = new TransactionBlock();
|
|
5081
5081
|
builder.pushFront(tx, args, typeArguments);
|
|
5082
|
-
const
|
|
5082
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5083
5083
|
transactionBlock: tx,
|
|
5084
5084
|
sender: ZERO_ADDRESS,
|
|
5085
5085
|
});
|
|
5086
|
-
return
|
|
5086
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5087
5087
|
}
|
|
5088
5088
|
view.pushFront = pushFront;
|
|
5089
5089
|
async function remove(client, args, typeArguments) {
|
|
5090
5090
|
const tx = new TransactionBlock();
|
|
5091
5091
|
builder.remove(tx, args, typeArguments);
|
|
5092
|
-
const
|
|
5092
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5093
5093
|
transactionBlock: tx,
|
|
5094
5094
|
sender: ZERO_ADDRESS,
|
|
5095
5095
|
});
|
|
5096
|
-
return
|
|
5096
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5097
5097
|
}
|
|
5098
5098
|
view.remove = remove;
|
|
5099
5099
|
})(view = linked_table.view || (linked_table.view = {}));
|
|
@@ -5183,71 +5183,71 @@ export var math;
|
|
|
5183
5183
|
async function diff(client, args) {
|
|
5184
5184
|
const tx = new TransactionBlock();
|
|
5185
5185
|
builder.diff(tx, args);
|
|
5186
|
-
const
|
|
5186
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5187
5187
|
transactionBlock: tx,
|
|
5188
5188
|
sender: ZERO_ADDRESS,
|
|
5189
5189
|
});
|
|
5190
|
-
return
|
|
5190
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5191
5191
|
}
|
|
5192
5192
|
view.diff = diff;
|
|
5193
5193
|
async function divideAndRoundUp(client, args) {
|
|
5194
5194
|
const tx = new TransactionBlock();
|
|
5195
5195
|
builder.divideAndRoundUp(tx, args);
|
|
5196
|
-
const
|
|
5196
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5197
5197
|
transactionBlock: tx,
|
|
5198
5198
|
sender: ZERO_ADDRESS,
|
|
5199
5199
|
});
|
|
5200
|
-
return
|
|
5200
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5201
5201
|
}
|
|
5202
5202
|
view.divideAndRoundUp = divideAndRoundUp;
|
|
5203
5203
|
async function max(client, args) {
|
|
5204
5204
|
const tx = new TransactionBlock();
|
|
5205
5205
|
builder.max(tx, args);
|
|
5206
|
-
const
|
|
5206
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5207
5207
|
transactionBlock: tx,
|
|
5208
5208
|
sender: ZERO_ADDRESS,
|
|
5209
5209
|
});
|
|
5210
|
-
return
|
|
5210
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5211
5211
|
}
|
|
5212
5212
|
view.max = max;
|
|
5213
5213
|
async function min(client, args) {
|
|
5214
5214
|
const tx = new TransactionBlock();
|
|
5215
5215
|
builder.min(tx, args);
|
|
5216
|
-
const
|
|
5216
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5217
5217
|
transactionBlock: tx,
|
|
5218
5218
|
sender: ZERO_ADDRESS,
|
|
5219
5219
|
});
|
|
5220
|
-
return
|
|
5220
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5221
5221
|
}
|
|
5222
5222
|
view.min = min;
|
|
5223
5223
|
async function pow(client, args) {
|
|
5224
5224
|
const tx = new TransactionBlock();
|
|
5225
5225
|
builder.pow(tx, args);
|
|
5226
|
-
const
|
|
5226
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5227
5227
|
transactionBlock: tx,
|
|
5228
5228
|
sender: ZERO_ADDRESS,
|
|
5229
5229
|
});
|
|
5230
|
-
return
|
|
5230
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5231
5231
|
}
|
|
5232
5232
|
view.pow = pow;
|
|
5233
5233
|
async function sqrt(client, args) {
|
|
5234
5234
|
const tx = new TransactionBlock();
|
|
5235
5235
|
builder.sqrt(tx, args);
|
|
5236
|
-
const
|
|
5236
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5237
5237
|
transactionBlock: tx,
|
|
5238
5238
|
sender: ZERO_ADDRESS,
|
|
5239
5239
|
});
|
|
5240
|
-
return
|
|
5240
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5241
5241
|
}
|
|
5242
5242
|
view.sqrt = sqrt;
|
|
5243
5243
|
async function sqrtU128(client, args) {
|
|
5244
5244
|
const tx = new TransactionBlock();
|
|
5245
5245
|
builder.sqrtU128(tx, args);
|
|
5246
|
-
const
|
|
5246
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5247
5247
|
transactionBlock: tx,
|
|
5248
5248
|
sender: ZERO_ADDRESS,
|
|
5249
5249
|
});
|
|
5250
|
-
return
|
|
5250
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5251
5251
|
}
|
|
5252
5252
|
view.sqrtU128 = sqrtU128;
|
|
5253
5253
|
})(view = math.view || (math.view = {}));
|
|
@@ -5445,141 +5445,141 @@ export var object_;
|
|
|
5445
5445
|
async function borrowId(client, args, typeArguments) {
|
|
5446
5446
|
const tx = new TransactionBlock();
|
|
5447
5447
|
builder.borrowId(tx, args, typeArguments);
|
|
5448
|
-
const
|
|
5448
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5449
5449
|
transactionBlock: tx,
|
|
5450
5450
|
sender: ZERO_ADDRESS,
|
|
5451
5451
|
});
|
|
5452
|
-
return
|
|
5452
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5453
5453
|
}
|
|
5454
5454
|
view.borrowId = borrowId;
|
|
5455
5455
|
async function delete_(client, args) {
|
|
5456
5456
|
const tx = new TransactionBlock();
|
|
5457
5457
|
builder.delete_(tx, args);
|
|
5458
|
-
const
|
|
5458
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5459
5459
|
transactionBlock: tx,
|
|
5460
5460
|
sender: ZERO_ADDRESS,
|
|
5461
5461
|
});
|
|
5462
|
-
return
|
|
5462
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5463
5463
|
}
|
|
5464
5464
|
view.delete_ = delete_;
|
|
5465
5465
|
async function id(client, args, typeArguments) {
|
|
5466
5466
|
const tx = new TransactionBlock();
|
|
5467
5467
|
builder.id(tx, args, typeArguments);
|
|
5468
|
-
const
|
|
5468
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5469
5469
|
transactionBlock: tx,
|
|
5470
5470
|
sender: ZERO_ADDRESS,
|
|
5471
5471
|
});
|
|
5472
|
-
return
|
|
5472
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5473
5473
|
}
|
|
5474
5474
|
view.id = id;
|
|
5475
5475
|
async function idAddress(client, args, typeArguments) {
|
|
5476
5476
|
const tx = new TransactionBlock();
|
|
5477
5477
|
builder.idAddress(tx, args, typeArguments);
|
|
5478
|
-
const
|
|
5478
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5479
5479
|
transactionBlock: tx,
|
|
5480
5480
|
sender: ZERO_ADDRESS,
|
|
5481
5481
|
});
|
|
5482
|
-
return
|
|
5482
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5483
5483
|
}
|
|
5484
5484
|
view.idAddress = idAddress;
|
|
5485
5485
|
async function idBytes(client, args, typeArguments) {
|
|
5486
5486
|
const tx = new TransactionBlock();
|
|
5487
5487
|
builder.idBytes(tx, args, typeArguments);
|
|
5488
|
-
const
|
|
5488
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5489
5489
|
transactionBlock: tx,
|
|
5490
5490
|
sender: ZERO_ADDRESS,
|
|
5491
5491
|
});
|
|
5492
|
-
return
|
|
5492
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5493
5493
|
}
|
|
5494
5494
|
view.idBytes = idBytes;
|
|
5495
5495
|
async function idFromAddress(client, args) {
|
|
5496
5496
|
const tx = new TransactionBlock();
|
|
5497
5497
|
builder.idFromAddress(tx, args);
|
|
5498
|
-
const
|
|
5498
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5499
5499
|
transactionBlock: tx,
|
|
5500
5500
|
sender: ZERO_ADDRESS,
|
|
5501
5501
|
});
|
|
5502
|
-
return
|
|
5502
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5503
5503
|
}
|
|
5504
5504
|
view.idFromAddress = idFromAddress;
|
|
5505
5505
|
async function idFromBytes(client, args) {
|
|
5506
5506
|
const tx = new TransactionBlock();
|
|
5507
5507
|
builder.idFromBytes(tx, args);
|
|
5508
|
-
const
|
|
5508
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5509
5509
|
transactionBlock: tx,
|
|
5510
5510
|
sender: ZERO_ADDRESS,
|
|
5511
5511
|
});
|
|
5512
|
-
return
|
|
5512
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5513
5513
|
}
|
|
5514
5514
|
view.idFromBytes = idFromBytes;
|
|
5515
5515
|
async function idToAddress(client, args) {
|
|
5516
5516
|
const tx = new TransactionBlock();
|
|
5517
5517
|
builder.idToAddress(tx, args);
|
|
5518
|
-
const
|
|
5518
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5519
5519
|
transactionBlock: tx,
|
|
5520
5520
|
sender: ZERO_ADDRESS,
|
|
5521
5521
|
});
|
|
5522
|
-
return
|
|
5522
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5523
5523
|
}
|
|
5524
5524
|
view.idToAddress = idToAddress;
|
|
5525
5525
|
async function idToBytes(client, args) {
|
|
5526
5526
|
const tx = new TransactionBlock();
|
|
5527
5527
|
builder.idToBytes(tx, args);
|
|
5528
|
-
const
|
|
5528
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5529
5529
|
transactionBlock: tx,
|
|
5530
5530
|
sender: ZERO_ADDRESS,
|
|
5531
5531
|
});
|
|
5532
|
-
return
|
|
5532
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5533
5533
|
}
|
|
5534
5534
|
view.idToBytes = idToBytes;
|
|
5535
5535
|
async function new_(client, args) {
|
|
5536
5536
|
const tx = new TransactionBlock();
|
|
5537
5537
|
builder.new_(tx, args);
|
|
5538
|
-
const
|
|
5538
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5539
5539
|
transactionBlock: tx,
|
|
5540
5540
|
sender: ZERO_ADDRESS,
|
|
5541
5541
|
});
|
|
5542
|
-
return
|
|
5542
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5543
5543
|
}
|
|
5544
5544
|
view.new_ = new_;
|
|
5545
5545
|
async function uidAsInner(client, args) {
|
|
5546
5546
|
const tx = new TransactionBlock();
|
|
5547
5547
|
builder.uidAsInner(tx, args);
|
|
5548
|
-
const
|
|
5548
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5549
5549
|
transactionBlock: tx,
|
|
5550
5550
|
sender: ZERO_ADDRESS,
|
|
5551
5551
|
});
|
|
5552
|
-
return
|
|
5552
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5553
5553
|
}
|
|
5554
5554
|
view.uidAsInner = uidAsInner;
|
|
5555
5555
|
async function uidToAddress(client, args) {
|
|
5556
5556
|
const tx = new TransactionBlock();
|
|
5557
5557
|
builder.uidToAddress(tx, args);
|
|
5558
|
-
const
|
|
5558
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5559
5559
|
transactionBlock: tx,
|
|
5560
5560
|
sender: ZERO_ADDRESS,
|
|
5561
5561
|
});
|
|
5562
|
-
return
|
|
5562
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5563
5563
|
}
|
|
5564
5564
|
view.uidToAddress = uidToAddress;
|
|
5565
5565
|
async function uidToBytes(client, args) {
|
|
5566
5566
|
const tx = new TransactionBlock();
|
|
5567
5567
|
builder.uidToBytes(tx, args);
|
|
5568
|
-
const
|
|
5568
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5569
5569
|
transactionBlock: tx,
|
|
5570
5570
|
sender: ZERO_ADDRESS,
|
|
5571
5571
|
});
|
|
5572
|
-
return
|
|
5572
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5573
5573
|
}
|
|
5574
5574
|
view.uidToBytes = uidToBytes;
|
|
5575
5575
|
async function uidToInner(client, args) {
|
|
5576
5576
|
const tx = new TransactionBlock();
|
|
5577
5577
|
builder.uidToInner(tx, args);
|
|
5578
|
-
const
|
|
5578
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5579
5579
|
transactionBlock: tx,
|
|
5580
5580
|
sender: ZERO_ADDRESS,
|
|
5581
5581
|
});
|
|
5582
|
-
return
|
|
5582
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5583
5583
|
}
|
|
5584
5584
|
view.uidToInner = uidToInner;
|
|
5585
5585
|
})(view = object_.view || (object_.view = {}));
|
|
@@ -5771,111 +5771,111 @@ export var object_bag;
|
|
|
5771
5771
|
async function add(client, args, typeArguments) {
|
|
5772
5772
|
const tx = new TransactionBlock();
|
|
5773
5773
|
builder.add(tx, args, typeArguments);
|
|
5774
|
-
const
|
|
5774
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5775
5775
|
transactionBlock: tx,
|
|
5776
5776
|
sender: ZERO_ADDRESS,
|
|
5777
5777
|
});
|
|
5778
|
-
return
|
|
5778
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5779
5779
|
}
|
|
5780
5780
|
view.add = add;
|
|
5781
5781
|
async function borrow(client, args, typeArguments) {
|
|
5782
5782
|
const tx = new TransactionBlock();
|
|
5783
5783
|
builder.borrow(tx, args, typeArguments);
|
|
5784
|
-
const
|
|
5784
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5785
5785
|
transactionBlock: tx,
|
|
5786
5786
|
sender: ZERO_ADDRESS,
|
|
5787
5787
|
});
|
|
5788
|
-
return
|
|
5788
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5789
5789
|
}
|
|
5790
5790
|
view.borrow = borrow;
|
|
5791
5791
|
async function borrowMut(client, args, typeArguments) {
|
|
5792
5792
|
const tx = new TransactionBlock();
|
|
5793
5793
|
builder.borrowMut(tx, args, typeArguments);
|
|
5794
|
-
const
|
|
5794
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5795
5795
|
transactionBlock: tx,
|
|
5796
5796
|
sender: ZERO_ADDRESS,
|
|
5797
5797
|
});
|
|
5798
|
-
return
|
|
5798
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5799
5799
|
}
|
|
5800
5800
|
view.borrowMut = borrowMut;
|
|
5801
5801
|
async function contains(client, args, typeArguments) {
|
|
5802
5802
|
const tx = new TransactionBlock();
|
|
5803
5803
|
builder.contains(tx, args, typeArguments);
|
|
5804
|
-
const
|
|
5804
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5805
5805
|
transactionBlock: tx,
|
|
5806
5806
|
sender: ZERO_ADDRESS,
|
|
5807
5807
|
});
|
|
5808
|
-
return
|
|
5808
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5809
5809
|
}
|
|
5810
5810
|
view.contains = contains;
|
|
5811
5811
|
async function containsWithType(client, args, typeArguments) {
|
|
5812
5812
|
const tx = new TransactionBlock();
|
|
5813
5813
|
builder.containsWithType(tx, args, typeArguments);
|
|
5814
|
-
const
|
|
5814
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5815
5815
|
transactionBlock: tx,
|
|
5816
5816
|
sender: ZERO_ADDRESS,
|
|
5817
5817
|
});
|
|
5818
|
-
return
|
|
5818
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5819
5819
|
}
|
|
5820
5820
|
view.containsWithType = containsWithType;
|
|
5821
5821
|
async function destroyEmpty(client, args) {
|
|
5822
5822
|
const tx = new TransactionBlock();
|
|
5823
5823
|
builder.destroyEmpty(tx, args);
|
|
5824
|
-
const
|
|
5824
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5825
5825
|
transactionBlock: tx,
|
|
5826
5826
|
sender: ZERO_ADDRESS,
|
|
5827
5827
|
});
|
|
5828
|
-
return
|
|
5828
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5829
5829
|
}
|
|
5830
5830
|
view.destroyEmpty = destroyEmpty;
|
|
5831
5831
|
async function isEmpty(client, args) {
|
|
5832
5832
|
const tx = new TransactionBlock();
|
|
5833
5833
|
builder.isEmpty(tx, args);
|
|
5834
|
-
const
|
|
5834
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5835
5835
|
transactionBlock: tx,
|
|
5836
5836
|
sender: ZERO_ADDRESS,
|
|
5837
5837
|
});
|
|
5838
|
-
return
|
|
5838
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5839
5839
|
}
|
|
5840
5840
|
view.isEmpty = isEmpty;
|
|
5841
5841
|
async function length(client, args) {
|
|
5842
5842
|
const tx = new TransactionBlock();
|
|
5843
5843
|
builder.length(tx, args);
|
|
5844
|
-
const
|
|
5844
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5845
5845
|
transactionBlock: tx,
|
|
5846
5846
|
sender: ZERO_ADDRESS,
|
|
5847
5847
|
});
|
|
5848
|
-
return
|
|
5848
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5849
5849
|
}
|
|
5850
5850
|
view.length = length;
|
|
5851
5851
|
async function new_(client, args) {
|
|
5852
5852
|
const tx = new TransactionBlock();
|
|
5853
5853
|
builder.new_(tx, args);
|
|
5854
|
-
const
|
|
5854
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5855
5855
|
transactionBlock: tx,
|
|
5856
5856
|
sender: ZERO_ADDRESS,
|
|
5857
5857
|
});
|
|
5858
|
-
return
|
|
5858
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5859
5859
|
}
|
|
5860
5860
|
view.new_ = new_;
|
|
5861
5861
|
async function remove(client, args, typeArguments) {
|
|
5862
5862
|
const tx = new TransactionBlock();
|
|
5863
5863
|
builder.remove(tx, args, typeArguments);
|
|
5864
|
-
const
|
|
5864
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5865
5865
|
transactionBlock: tx,
|
|
5866
5866
|
sender: ZERO_ADDRESS,
|
|
5867
5867
|
});
|
|
5868
|
-
return
|
|
5868
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5869
5869
|
}
|
|
5870
5870
|
view.remove = remove;
|
|
5871
5871
|
async function valueId(client, args, typeArguments) {
|
|
5872
5872
|
const tx = new TransactionBlock();
|
|
5873
5873
|
builder.valueId(tx, args, typeArguments);
|
|
5874
|
-
const
|
|
5874
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
5875
5875
|
transactionBlock: tx,
|
|
5876
5876
|
sender: ZERO_ADDRESS,
|
|
5877
5877
|
});
|
|
5878
|
-
return
|
|
5878
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
5879
5879
|
}
|
|
5880
5880
|
view.valueId = valueId;
|
|
5881
5881
|
})(view = object_bag.view || (object_bag.view = {}));
|
|
@@ -6086,101 +6086,101 @@ export var object_table;
|
|
|
6086
6086
|
async function add(client, args, typeArguments) {
|
|
6087
6087
|
const tx = new TransactionBlock();
|
|
6088
6088
|
builder.add(tx, args, typeArguments);
|
|
6089
|
-
const
|
|
6089
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6090
6090
|
transactionBlock: tx,
|
|
6091
6091
|
sender: ZERO_ADDRESS,
|
|
6092
6092
|
});
|
|
6093
|
-
return
|
|
6093
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6094
6094
|
}
|
|
6095
6095
|
view.add = add;
|
|
6096
6096
|
async function borrow(client, args, typeArguments) {
|
|
6097
6097
|
const tx = new TransactionBlock();
|
|
6098
6098
|
builder.borrow(tx, args, typeArguments);
|
|
6099
|
-
const
|
|
6099
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6100
6100
|
transactionBlock: tx,
|
|
6101
6101
|
sender: ZERO_ADDRESS,
|
|
6102
6102
|
});
|
|
6103
|
-
return
|
|
6103
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6104
6104
|
}
|
|
6105
6105
|
view.borrow = borrow;
|
|
6106
6106
|
async function borrowMut(client, args, typeArguments) {
|
|
6107
6107
|
const tx = new TransactionBlock();
|
|
6108
6108
|
builder.borrowMut(tx, args, typeArguments);
|
|
6109
|
-
const
|
|
6109
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6110
6110
|
transactionBlock: tx,
|
|
6111
6111
|
sender: ZERO_ADDRESS,
|
|
6112
6112
|
});
|
|
6113
|
-
return
|
|
6113
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6114
6114
|
}
|
|
6115
6115
|
view.borrowMut = borrowMut;
|
|
6116
6116
|
async function contains(client, args, typeArguments) {
|
|
6117
6117
|
const tx = new TransactionBlock();
|
|
6118
6118
|
builder.contains(tx, args, typeArguments);
|
|
6119
|
-
const
|
|
6119
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6120
6120
|
transactionBlock: tx,
|
|
6121
6121
|
sender: ZERO_ADDRESS,
|
|
6122
6122
|
});
|
|
6123
|
-
return
|
|
6123
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6124
6124
|
}
|
|
6125
6125
|
view.contains = contains;
|
|
6126
6126
|
async function destroyEmpty(client, args, typeArguments) {
|
|
6127
6127
|
const tx = new TransactionBlock();
|
|
6128
6128
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
6129
|
-
const
|
|
6129
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6130
6130
|
transactionBlock: tx,
|
|
6131
6131
|
sender: ZERO_ADDRESS,
|
|
6132
6132
|
});
|
|
6133
|
-
return
|
|
6133
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6134
6134
|
}
|
|
6135
6135
|
view.destroyEmpty = destroyEmpty;
|
|
6136
6136
|
async function isEmpty(client, args, typeArguments) {
|
|
6137
6137
|
const tx = new TransactionBlock();
|
|
6138
6138
|
builder.isEmpty(tx, args, typeArguments);
|
|
6139
|
-
const
|
|
6139
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6140
6140
|
transactionBlock: tx,
|
|
6141
6141
|
sender: ZERO_ADDRESS,
|
|
6142
6142
|
});
|
|
6143
|
-
return
|
|
6143
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6144
6144
|
}
|
|
6145
6145
|
view.isEmpty = isEmpty;
|
|
6146
6146
|
async function length(client, args, typeArguments) {
|
|
6147
6147
|
const tx = new TransactionBlock();
|
|
6148
6148
|
builder.length(tx, args, typeArguments);
|
|
6149
|
-
const
|
|
6149
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6150
6150
|
transactionBlock: tx,
|
|
6151
6151
|
sender: ZERO_ADDRESS,
|
|
6152
6152
|
});
|
|
6153
|
-
return
|
|
6153
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6154
6154
|
}
|
|
6155
6155
|
view.length = length;
|
|
6156
6156
|
async function new_(client, args, typeArguments) {
|
|
6157
6157
|
const tx = new TransactionBlock();
|
|
6158
6158
|
builder.new_(tx, args, typeArguments);
|
|
6159
|
-
const
|
|
6159
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6160
6160
|
transactionBlock: tx,
|
|
6161
6161
|
sender: ZERO_ADDRESS,
|
|
6162
6162
|
});
|
|
6163
|
-
return
|
|
6163
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6164
6164
|
}
|
|
6165
6165
|
view.new_ = new_;
|
|
6166
6166
|
async function remove(client, args, typeArguments) {
|
|
6167
6167
|
const tx = new TransactionBlock();
|
|
6168
6168
|
builder.remove(tx, args, typeArguments);
|
|
6169
|
-
const
|
|
6169
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6170
6170
|
transactionBlock: tx,
|
|
6171
6171
|
sender: ZERO_ADDRESS,
|
|
6172
6172
|
});
|
|
6173
|
-
return
|
|
6173
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6174
6174
|
}
|
|
6175
6175
|
view.remove = remove;
|
|
6176
6176
|
async function valueId(client, args, typeArguments) {
|
|
6177
6177
|
const tx = new TransactionBlock();
|
|
6178
6178
|
builder.valueId(tx, args, typeArguments);
|
|
6179
|
-
const
|
|
6179
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6180
6180
|
transactionBlock: tx,
|
|
6181
6181
|
sender: ZERO_ADDRESS,
|
|
6182
6182
|
});
|
|
6183
|
-
return
|
|
6183
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6184
6184
|
}
|
|
6185
6185
|
view.valueId = valueId;
|
|
6186
6186
|
})(view = object_table.view || (object_table.view = {}));
|
|
@@ -6488,231 +6488,231 @@ export var package_;
|
|
|
6488
6488
|
async function additivePolicy(client, args) {
|
|
6489
6489
|
const tx = new TransactionBlock();
|
|
6490
6490
|
builder.additivePolicy(tx, args);
|
|
6491
|
-
const
|
|
6491
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6492
6492
|
transactionBlock: tx,
|
|
6493
6493
|
sender: ZERO_ADDRESS,
|
|
6494
6494
|
});
|
|
6495
|
-
return
|
|
6495
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6496
6496
|
}
|
|
6497
6497
|
view.additivePolicy = additivePolicy;
|
|
6498
6498
|
async function authorizeUpgrade(client, args) {
|
|
6499
6499
|
const tx = new TransactionBlock();
|
|
6500
6500
|
builder.authorizeUpgrade(tx, args);
|
|
6501
|
-
const
|
|
6501
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6502
6502
|
transactionBlock: tx,
|
|
6503
6503
|
sender: ZERO_ADDRESS,
|
|
6504
6504
|
});
|
|
6505
|
-
return
|
|
6505
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6506
6506
|
}
|
|
6507
6507
|
view.authorizeUpgrade = authorizeUpgrade;
|
|
6508
6508
|
async function burnPublisher(client, args) {
|
|
6509
6509
|
const tx = new TransactionBlock();
|
|
6510
6510
|
builder.burnPublisher(tx, args);
|
|
6511
|
-
const
|
|
6511
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6512
6512
|
transactionBlock: tx,
|
|
6513
6513
|
sender: ZERO_ADDRESS,
|
|
6514
6514
|
});
|
|
6515
|
-
return
|
|
6515
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6516
6516
|
}
|
|
6517
6517
|
view.burnPublisher = burnPublisher;
|
|
6518
6518
|
async function claim(client, args, typeArguments) {
|
|
6519
6519
|
const tx = new TransactionBlock();
|
|
6520
6520
|
builder.claim(tx, args, typeArguments);
|
|
6521
|
-
const
|
|
6521
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6522
6522
|
transactionBlock: tx,
|
|
6523
6523
|
sender: ZERO_ADDRESS,
|
|
6524
6524
|
});
|
|
6525
|
-
return
|
|
6525
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6526
6526
|
}
|
|
6527
6527
|
view.claim = claim;
|
|
6528
6528
|
async function claimAndKeep(client, args, typeArguments) {
|
|
6529
6529
|
const tx = new TransactionBlock();
|
|
6530
6530
|
builder.claimAndKeep(tx, args, typeArguments);
|
|
6531
|
-
const
|
|
6531
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6532
6532
|
transactionBlock: tx,
|
|
6533
6533
|
sender: ZERO_ADDRESS,
|
|
6534
6534
|
});
|
|
6535
|
-
return
|
|
6535
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6536
6536
|
}
|
|
6537
6537
|
view.claimAndKeep = claimAndKeep;
|
|
6538
6538
|
async function commitUpgrade(client, args) {
|
|
6539
6539
|
const tx = new TransactionBlock();
|
|
6540
6540
|
builder.commitUpgrade(tx, args);
|
|
6541
|
-
const
|
|
6541
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6542
6542
|
transactionBlock: tx,
|
|
6543
6543
|
sender: ZERO_ADDRESS,
|
|
6544
6544
|
});
|
|
6545
|
-
return
|
|
6545
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6546
6546
|
}
|
|
6547
6547
|
view.commitUpgrade = commitUpgrade;
|
|
6548
6548
|
async function compatiblePolicy(client, args) {
|
|
6549
6549
|
const tx = new TransactionBlock();
|
|
6550
6550
|
builder.compatiblePolicy(tx, args);
|
|
6551
|
-
const
|
|
6551
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6552
6552
|
transactionBlock: tx,
|
|
6553
6553
|
sender: ZERO_ADDRESS,
|
|
6554
6554
|
});
|
|
6555
|
-
return
|
|
6555
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6556
6556
|
}
|
|
6557
6557
|
view.compatiblePolicy = compatiblePolicy;
|
|
6558
6558
|
async function depOnlyPolicy(client, args) {
|
|
6559
6559
|
const tx = new TransactionBlock();
|
|
6560
6560
|
builder.depOnlyPolicy(tx, args);
|
|
6561
|
-
const
|
|
6561
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6562
6562
|
transactionBlock: tx,
|
|
6563
6563
|
sender: ZERO_ADDRESS,
|
|
6564
6564
|
});
|
|
6565
|
-
return
|
|
6565
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6566
6566
|
}
|
|
6567
6567
|
view.depOnlyPolicy = depOnlyPolicy;
|
|
6568
6568
|
async function fromModule(client, args, typeArguments) {
|
|
6569
6569
|
const tx = new TransactionBlock();
|
|
6570
6570
|
builder.fromModule(tx, args, typeArguments);
|
|
6571
|
-
const
|
|
6571
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6572
6572
|
transactionBlock: tx,
|
|
6573
6573
|
sender: ZERO_ADDRESS,
|
|
6574
6574
|
});
|
|
6575
|
-
return
|
|
6575
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6576
6576
|
}
|
|
6577
6577
|
view.fromModule = fromModule;
|
|
6578
6578
|
async function fromPackage(client, args, typeArguments) {
|
|
6579
6579
|
const tx = new TransactionBlock();
|
|
6580
6580
|
builder.fromPackage(tx, args, typeArguments);
|
|
6581
|
-
const
|
|
6581
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6582
6582
|
transactionBlock: tx,
|
|
6583
6583
|
sender: ZERO_ADDRESS,
|
|
6584
6584
|
});
|
|
6585
|
-
return
|
|
6585
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6586
6586
|
}
|
|
6587
6587
|
view.fromPackage = fromPackage;
|
|
6588
6588
|
async function makeImmutable(client, args) {
|
|
6589
6589
|
const tx = new TransactionBlock();
|
|
6590
6590
|
builder.makeImmutable(tx, args);
|
|
6591
|
-
const
|
|
6591
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6592
6592
|
transactionBlock: tx,
|
|
6593
6593
|
sender: ZERO_ADDRESS,
|
|
6594
6594
|
});
|
|
6595
|
-
return
|
|
6595
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6596
6596
|
}
|
|
6597
6597
|
view.makeImmutable = makeImmutable;
|
|
6598
6598
|
async function onlyAdditiveUpgrades(client, args) {
|
|
6599
6599
|
const tx = new TransactionBlock();
|
|
6600
6600
|
builder.onlyAdditiveUpgrades(tx, args);
|
|
6601
|
-
const
|
|
6601
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6602
6602
|
transactionBlock: tx,
|
|
6603
6603
|
sender: ZERO_ADDRESS,
|
|
6604
6604
|
});
|
|
6605
|
-
return
|
|
6605
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6606
6606
|
}
|
|
6607
6607
|
view.onlyAdditiveUpgrades = onlyAdditiveUpgrades;
|
|
6608
6608
|
async function onlyDepUpgrades(client, args) {
|
|
6609
6609
|
const tx = new TransactionBlock();
|
|
6610
6610
|
builder.onlyDepUpgrades(tx, args);
|
|
6611
|
-
const
|
|
6611
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6612
6612
|
transactionBlock: tx,
|
|
6613
6613
|
sender: ZERO_ADDRESS,
|
|
6614
6614
|
});
|
|
6615
|
-
return
|
|
6615
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6616
6616
|
}
|
|
6617
6617
|
view.onlyDepUpgrades = onlyDepUpgrades;
|
|
6618
6618
|
async function publishedModule(client, args) {
|
|
6619
6619
|
const tx = new TransactionBlock();
|
|
6620
6620
|
builder.publishedModule(tx, args);
|
|
6621
|
-
const
|
|
6621
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6622
6622
|
transactionBlock: tx,
|
|
6623
6623
|
sender: ZERO_ADDRESS,
|
|
6624
6624
|
});
|
|
6625
|
-
return
|
|
6625
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6626
6626
|
}
|
|
6627
6627
|
view.publishedModule = publishedModule;
|
|
6628
6628
|
async function publishedPackage(client, args) {
|
|
6629
6629
|
const tx = new TransactionBlock();
|
|
6630
6630
|
builder.publishedPackage(tx, args);
|
|
6631
|
-
const
|
|
6631
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6632
6632
|
transactionBlock: tx,
|
|
6633
6633
|
sender: ZERO_ADDRESS,
|
|
6634
6634
|
});
|
|
6635
|
-
return
|
|
6635
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6636
6636
|
}
|
|
6637
6637
|
view.publishedPackage = publishedPackage;
|
|
6638
6638
|
async function receiptCap(client, args) {
|
|
6639
6639
|
const tx = new TransactionBlock();
|
|
6640
6640
|
builder.receiptCap(tx, args);
|
|
6641
|
-
const
|
|
6641
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6642
6642
|
transactionBlock: tx,
|
|
6643
6643
|
sender: ZERO_ADDRESS,
|
|
6644
6644
|
});
|
|
6645
|
-
return
|
|
6645
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6646
6646
|
}
|
|
6647
6647
|
view.receiptCap = receiptCap;
|
|
6648
6648
|
async function receiptPackage(client, args) {
|
|
6649
6649
|
const tx = new TransactionBlock();
|
|
6650
6650
|
builder.receiptPackage(tx, args);
|
|
6651
|
-
const
|
|
6651
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6652
6652
|
transactionBlock: tx,
|
|
6653
6653
|
sender: ZERO_ADDRESS,
|
|
6654
6654
|
});
|
|
6655
|
-
return
|
|
6655
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6656
6656
|
}
|
|
6657
6657
|
view.receiptPackage = receiptPackage;
|
|
6658
6658
|
async function ticketDigest(client, args) {
|
|
6659
6659
|
const tx = new TransactionBlock();
|
|
6660
6660
|
builder.ticketDigest(tx, args);
|
|
6661
|
-
const
|
|
6661
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6662
6662
|
transactionBlock: tx,
|
|
6663
6663
|
sender: ZERO_ADDRESS,
|
|
6664
6664
|
});
|
|
6665
|
-
return
|
|
6665
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6666
6666
|
}
|
|
6667
6667
|
view.ticketDigest = ticketDigest;
|
|
6668
6668
|
async function ticketPackage(client, args) {
|
|
6669
6669
|
const tx = new TransactionBlock();
|
|
6670
6670
|
builder.ticketPackage(tx, args);
|
|
6671
|
-
const
|
|
6671
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6672
6672
|
transactionBlock: tx,
|
|
6673
6673
|
sender: ZERO_ADDRESS,
|
|
6674
6674
|
});
|
|
6675
|
-
return
|
|
6675
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6676
6676
|
}
|
|
6677
6677
|
view.ticketPackage = ticketPackage;
|
|
6678
6678
|
async function ticketPolicy(client, args) {
|
|
6679
6679
|
const tx = new TransactionBlock();
|
|
6680
6680
|
builder.ticketPolicy(tx, args);
|
|
6681
|
-
const
|
|
6681
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6682
6682
|
transactionBlock: tx,
|
|
6683
6683
|
sender: ZERO_ADDRESS,
|
|
6684
6684
|
});
|
|
6685
|
-
return
|
|
6685
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6686
6686
|
}
|
|
6687
6687
|
view.ticketPolicy = ticketPolicy;
|
|
6688
6688
|
async function upgradePackage(client, args) {
|
|
6689
6689
|
const tx = new TransactionBlock();
|
|
6690
6690
|
builder.upgradePackage(tx, args);
|
|
6691
|
-
const
|
|
6691
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6692
6692
|
transactionBlock: tx,
|
|
6693
6693
|
sender: ZERO_ADDRESS,
|
|
6694
6694
|
});
|
|
6695
|
-
return
|
|
6695
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6696
6696
|
}
|
|
6697
6697
|
view.upgradePackage = upgradePackage;
|
|
6698
6698
|
async function upgradePolicy(client, args) {
|
|
6699
6699
|
const tx = new TransactionBlock();
|
|
6700
6700
|
builder.upgradePolicy(tx, args);
|
|
6701
|
-
const
|
|
6701
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6702
6702
|
transactionBlock: tx,
|
|
6703
6703
|
sender: ZERO_ADDRESS,
|
|
6704
6704
|
});
|
|
6705
|
-
return
|
|
6705
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6706
6706
|
}
|
|
6707
6707
|
view.upgradePolicy = upgradePolicy;
|
|
6708
6708
|
async function version(client, args) {
|
|
6709
6709
|
const tx = new TransactionBlock();
|
|
6710
6710
|
builder.version(tx, args);
|
|
6711
|
-
const
|
|
6711
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6712
6712
|
transactionBlock: tx,
|
|
6713
6713
|
sender: ZERO_ADDRESS,
|
|
6714
6714
|
});
|
|
6715
|
-
return
|
|
6715
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6716
6716
|
}
|
|
6717
6717
|
view.version = version;
|
|
6718
6718
|
})(view = package_.view || (package_.view = {}));
|
|
@@ -6875,81 +6875,81 @@ export var pay;
|
|
|
6875
6875
|
async function divideAndKeep(client, args, typeArguments) {
|
|
6876
6876
|
const tx = new TransactionBlock();
|
|
6877
6877
|
builder.divideAndKeep(tx, args, typeArguments);
|
|
6878
|
-
const
|
|
6878
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6879
6879
|
transactionBlock: tx,
|
|
6880
6880
|
sender: ZERO_ADDRESS,
|
|
6881
6881
|
});
|
|
6882
|
-
return
|
|
6882
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6883
6883
|
}
|
|
6884
6884
|
view.divideAndKeep = divideAndKeep;
|
|
6885
6885
|
async function join(client, args, typeArguments) {
|
|
6886
6886
|
const tx = new TransactionBlock();
|
|
6887
6887
|
builder.join(tx, args, typeArguments);
|
|
6888
|
-
const
|
|
6888
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6889
6889
|
transactionBlock: tx,
|
|
6890
6890
|
sender: ZERO_ADDRESS,
|
|
6891
6891
|
});
|
|
6892
|
-
return
|
|
6892
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6893
6893
|
}
|
|
6894
6894
|
view.join = join;
|
|
6895
6895
|
async function joinVec(client, args, typeArguments) {
|
|
6896
6896
|
const tx = new TransactionBlock();
|
|
6897
6897
|
builder.joinVec(tx, args, typeArguments);
|
|
6898
|
-
const
|
|
6898
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6899
6899
|
transactionBlock: tx,
|
|
6900
6900
|
sender: ZERO_ADDRESS,
|
|
6901
6901
|
});
|
|
6902
|
-
return
|
|
6902
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6903
6903
|
}
|
|
6904
6904
|
view.joinVec = joinVec;
|
|
6905
6905
|
async function joinVecAndTransfer(client, args, typeArguments) {
|
|
6906
6906
|
const tx = new TransactionBlock();
|
|
6907
6907
|
builder.joinVecAndTransfer(tx, args, typeArguments);
|
|
6908
|
-
const
|
|
6908
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6909
6909
|
transactionBlock: tx,
|
|
6910
6910
|
sender: ZERO_ADDRESS,
|
|
6911
6911
|
});
|
|
6912
|
-
return
|
|
6912
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6913
6913
|
}
|
|
6914
6914
|
view.joinVecAndTransfer = joinVecAndTransfer;
|
|
6915
6915
|
async function keep(client, args, typeArguments) {
|
|
6916
6916
|
const tx = new TransactionBlock();
|
|
6917
6917
|
builder.keep(tx, args, typeArguments);
|
|
6918
|
-
const
|
|
6918
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6919
6919
|
transactionBlock: tx,
|
|
6920
6920
|
sender: ZERO_ADDRESS,
|
|
6921
6921
|
});
|
|
6922
|
-
return
|
|
6922
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6923
6923
|
}
|
|
6924
6924
|
view.keep = keep;
|
|
6925
6925
|
async function split(client, args, typeArguments) {
|
|
6926
6926
|
const tx = new TransactionBlock();
|
|
6927
6927
|
builder.split(tx, args, typeArguments);
|
|
6928
|
-
const
|
|
6928
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6929
6929
|
transactionBlock: tx,
|
|
6930
6930
|
sender: ZERO_ADDRESS,
|
|
6931
6931
|
});
|
|
6932
|
-
return
|
|
6932
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6933
6933
|
}
|
|
6934
6934
|
view.split = split;
|
|
6935
6935
|
async function splitAndTransfer(client, args, typeArguments) {
|
|
6936
6936
|
const tx = new TransactionBlock();
|
|
6937
6937
|
builder.splitAndTransfer(tx, args, typeArguments);
|
|
6938
|
-
const
|
|
6938
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6939
6939
|
transactionBlock: tx,
|
|
6940
6940
|
sender: ZERO_ADDRESS,
|
|
6941
6941
|
});
|
|
6942
|
-
return
|
|
6942
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6943
6943
|
}
|
|
6944
6944
|
view.splitAndTransfer = splitAndTransfer;
|
|
6945
6945
|
async function splitVec(client, args, typeArguments) {
|
|
6946
6946
|
const tx = new TransactionBlock();
|
|
6947
6947
|
builder.splitVec(tx, args, typeArguments);
|
|
6948
|
-
const
|
|
6948
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
6949
6949
|
transactionBlock: tx,
|
|
6950
6950
|
sender: ZERO_ADDRESS,
|
|
6951
6951
|
});
|
|
6952
|
-
return
|
|
6952
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
6953
6953
|
}
|
|
6954
6954
|
view.splitVec = splitVec;
|
|
6955
6955
|
})(view = pay.view || (pay.view = {}));
|
|
@@ -7091,61 +7091,61 @@ export var priority_queue;
|
|
|
7091
7091
|
async function createEntries(client, args, typeArguments) {
|
|
7092
7092
|
const tx = new TransactionBlock();
|
|
7093
7093
|
builder.createEntries(tx, args, typeArguments);
|
|
7094
|
-
const
|
|
7094
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7095
7095
|
transactionBlock: tx,
|
|
7096
7096
|
sender: ZERO_ADDRESS,
|
|
7097
7097
|
});
|
|
7098
|
-
return
|
|
7098
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7099
7099
|
}
|
|
7100
7100
|
view.createEntries = createEntries;
|
|
7101
7101
|
async function insert(client, args, typeArguments) {
|
|
7102
7102
|
const tx = new TransactionBlock();
|
|
7103
7103
|
builder.insert(tx, args, typeArguments);
|
|
7104
|
-
const
|
|
7104
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7105
7105
|
transactionBlock: tx,
|
|
7106
7106
|
sender: ZERO_ADDRESS,
|
|
7107
7107
|
});
|
|
7108
|
-
return
|
|
7108
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7109
7109
|
}
|
|
7110
7110
|
view.insert = insert;
|
|
7111
7111
|
async function new_(client, args, typeArguments) {
|
|
7112
7112
|
const tx = new TransactionBlock();
|
|
7113
7113
|
builder.new_(tx, args, typeArguments);
|
|
7114
|
-
const
|
|
7114
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7115
7115
|
transactionBlock: tx,
|
|
7116
7116
|
sender: ZERO_ADDRESS,
|
|
7117
7117
|
});
|
|
7118
|
-
return
|
|
7118
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7119
7119
|
}
|
|
7120
7120
|
view.new_ = new_;
|
|
7121
7121
|
async function newEntry(client, args, typeArguments) {
|
|
7122
7122
|
const tx = new TransactionBlock();
|
|
7123
7123
|
builder.newEntry(tx, args, typeArguments);
|
|
7124
|
-
const
|
|
7124
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7125
7125
|
transactionBlock: tx,
|
|
7126
7126
|
sender: ZERO_ADDRESS,
|
|
7127
7127
|
});
|
|
7128
|
-
return
|
|
7128
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7129
7129
|
}
|
|
7130
7130
|
view.newEntry = newEntry;
|
|
7131
7131
|
async function popMax(client, args, typeArguments) {
|
|
7132
7132
|
const tx = new TransactionBlock();
|
|
7133
7133
|
builder.popMax(tx, args, typeArguments);
|
|
7134
|
-
const
|
|
7134
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7135
7135
|
transactionBlock: tx,
|
|
7136
7136
|
sender: ZERO_ADDRESS,
|
|
7137
7137
|
});
|
|
7138
|
-
return
|
|
7138
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7139
7139
|
}
|
|
7140
7140
|
view.popMax = popMax;
|
|
7141
7141
|
async function priorities(client, args, typeArguments) {
|
|
7142
7142
|
const tx = new TransactionBlock();
|
|
7143
7143
|
builder.priorities(tx, args, typeArguments);
|
|
7144
|
-
const
|
|
7144
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7145
7145
|
transactionBlock: tx,
|
|
7146
7146
|
sender: ZERO_ADDRESS,
|
|
7147
7147
|
});
|
|
7148
|
-
return
|
|
7148
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7149
7149
|
}
|
|
7150
7150
|
view.priorities = priorities;
|
|
7151
7151
|
})(view = priority_queue.view || (priority_queue.view = {}));
|
|
@@ -7180,11 +7180,11 @@ export var sui;
|
|
|
7180
7180
|
async function transfer(client, args) {
|
|
7181
7181
|
const tx = new TransactionBlock();
|
|
7182
7182
|
builder.transfer(tx, args);
|
|
7183
|
-
const
|
|
7183
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7184
7184
|
transactionBlock: tx,
|
|
7185
7185
|
sender: ZERO_ADDRESS,
|
|
7186
7186
|
});
|
|
7187
|
-
return
|
|
7187
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7188
7188
|
}
|
|
7189
7189
|
view.transfer = transfer;
|
|
7190
7190
|
})(view = sui.view || (sui.view = {}));
|
|
@@ -7394,101 +7394,101 @@ export var table;
|
|
|
7394
7394
|
async function add(client, args, typeArguments) {
|
|
7395
7395
|
const tx = new TransactionBlock();
|
|
7396
7396
|
builder.add(tx, args, typeArguments);
|
|
7397
|
-
const
|
|
7397
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7398
7398
|
transactionBlock: tx,
|
|
7399
7399
|
sender: ZERO_ADDRESS,
|
|
7400
7400
|
});
|
|
7401
|
-
return
|
|
7401
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7402
7402
|
}
|
|
7403
7403
|
view.add = add;
|
|
7404
7404
|
async function borrow(client, args, typeArguments) {
|
|
7405
7405
|
const tx = new TransactionBlock();
|
|
7406
7406
|
builder.borrow(tx, args, typeArguments);
|
|
7407
|
-
const
|
|
7407
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7408
7408
|
transactionBlock: tx,
|
|
7409
7409
|
sender: ZERO_ADDRESS,
|
|
7410
7410
|
});
|
|
7411
|
-
return
|
|
7411
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7412
7412
|
}
|
|
7413
7413
|
view.borrow = borrow;
|
|
7414
7414
|
async function borrowMut(client, args, typeArguments) {
|
|
7415
7415
|
const tx = new TransactionBlock();
|
|
7416
7416
|
builder.borrowMut(tx, args, typeArguments);
|
|
7417
|
-
const
|
|
7417
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7418
7418
|
transactionBlock: tx,
|
|
7419
7419
|
sender: ZERO_ADDRESS,
|
|
7420
7420
|
});
|
|
7421
|
-
return
|
|
7421
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7422
7422
|
}
|
|
7423
7423
|
view.borrowMut = borrowMut;
|
|
7424
7424
|
async function contains(client, args, typeArguments) {
|
|
7425
7425
|
const tx = new TransactionBlock();
|
|
7426
7426
|
builder.contains(tx, args, typeArguments);
|
|
7427
|
-
const
|
|
7427
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7428
7428
|
transactionBlock: tx,
|
|
7429
7429
|
sender: ZERO_ADDRESS,
|
|
7430
7430
|
});
|
|
7431
|
-
return
|
|
7431
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7432
7432
|
}
|
|
7433
7433
|
view.contains = contains;
|
|
7434
7434
|
async function destroyEmpty(client, args, typeArguments) {
|
|
7435
7435
|
const tx = new TransactionBlock();
|
|
7436
7436
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
7437
|
-
const
|
|
7437
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7438
7438
|
transactionBlock: tx,
|
|
7439
7439
|
sender: ZERO_ADDRESS,
|
|
7440
7440
|
});
|
|
7441
|
-
return
|
|
7441
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7442
7442
|
}
|
|
7443
7443
|
view.destroyEmpty = destroyEmpty;
|
|
7444
7444
|
async function drop(client, args, typeArguments) {
|
|
7445
7445
|
const tx = new TransactionBlock();
|
|
7446
7446
|
builder.drop(tx, args, typeArguments);
|
|
7447
|
-
const
|
|
7447
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7448
7448
|
transactionBlock: tx,
|
|
7449
7449
|
sender: ZERO_ADDRESS,
|
|
7450
7450
|
});
|
|
7451
|
-
return
|
|
7451
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7452
7452
|
}
|
|
7453
7453
|
view.drop = drop;
|
|
7454
7454
|
async function isEmpty(client, args, typeArguments) {
|
|
7455
7455
|
const tx = new TransactionBlock();
|
|
7456
7456
|
builder.isEmpty(tx, args, typeArguments);
|
|
7457
|
-
const
|
|
7457
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7458
7458
|
transactionBlock: tx,
|
|
7459
7459
|
sender: ZERO_ADDRESS,
|
|
7460
7460
|
});
|
|
7461
|
-
return
|
|
7461
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7462
7462
|
}
|
|
7463
7463
|
view.isEmpty = isEmpty;
|
|
7464
7464
|
async function length(client, args, typeArguments) {
|
|
7465
7465
|
const tx = new TransactionBlock();
|
|
7466
7466
|
builder.length(tx, args, typeArguments);
|
|
7467
|
-
const
|
|
7467
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7468
7468
|
transactionBlock: tx,
|
|
7469
7469
|
sender: ZERO_ADDRESS,
|
|
7470
7470
|
});
|
|
7471
|
-
return
|
|
7471
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7472
7472
|
}
|
|
7473
7473
|
view.length = length;
|
|
7474
7474
|
async function new_(client, args, typeArguments) {
|
|
7475
7475
|
const tx = new TransactionBlock();
|
|
7476
7476
|
builder.new_(tx, args, typeArguments);
|
|
7477
|
-
const
|
|
7477
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7478
7478
|
transactionBlock: tx,
|
|
7479
7479
|
sender: ZERO_ADDRESS,
|
|
7480
7480
|
});
|
|
7481
|
-
return
|
|
7481
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7482
7482
|
}
|
|
7483
7483
|
view.new_ = new_;
|
|
7484
7484
|
async function remove(client, args, typeArguments) {
|
|
7485
7485
|
const tx = new TransactionBlock();
|
|
7486
7486
|
builder.remove(tx, args, typeArguments);
|
|
7487
|
-
const
|
|
7487
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7488
7488
|
transactionBlock: tx,
|
|
7489
7489
|
sender: ZERO_ADDRESS,
|
|
7490
7490
|
});
|
|
7491
|
-
return
|
|
7491
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7492
7492
|
}
|
|
7493
7493
|
view.remove = remove;
|
|
7494
7494
|
})(view = table.view || (table.view = {}));
|
|
@@ -7651,91 +7651,91 @@ export var table_vec;
|
|
|
7651
7651
|
async function borrow(client, args, typeArguments) {
|
|
7652
7652
|
const tx = new TransactionBlock();
|
|
7653
7653
|
builder.borrow(tx, args, typeArguments);
|
|
7654
|
-
const
|
|
7654
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7655
7655
|
transactionBlock: tx,
|
|
7656
7656
|
sender: ZERO_ADDRESS,
|
|
7657
7657
|
});
|
|
7658
|
-
return
|
|
7658
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7659
7659
|
}
|
|
7660
7660
|
view.borrow = borrow;
|
|
7661
7661
|
async function borrowMut(client, args, typeArguments) {
|
|
7662
7662
|
const tx = new TransactionBlock();
|
|
7663
7663
|
builder.borrowMut(tx, args, typeArguments);
|
|
7664
|
-
const
|
|
7664
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7665
7665
|
transactionBlock: tx,
|
|
7666
7666
|
sender: ZERO_ADDRESS,
|
|
7667
7667
|
});
|
|
7668
|
-
return
|
|
7668
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7669
7669
|
}
|
|
7670
7670
|
view.borrowMut = borrowMut;
|
|
7671
7671
|
async function destroyEmpty(client, args, typeArguments) {
|
|
7672
7672
|
const tx = new TransactionBlock();
|
|
7673
7673
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
7674
|
-
const
|
|
7674
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7675
7675
|
transactionBlock: tx,
|
|
7676
7676
|
sender: ZERO_ADDRESS,
|
|
7677
7677
|
});
|
|
7678
|
-
return
|
|
7678
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7679
7679
|
}
|
|
7680
7680
|
view.destroyEmpty = destroyEmpty;
|
|
7681
7681
|
async function empty(client, args, typeArguments) {
|
|
7682
7682
|
const tx = new TransactionBlock();
|
|
7683
7683
|
builder.empty(tx, args, typeArguments);
|
|
7684
|
-
const
|
|
7684
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7685
7685
|
transactionBlock: tx,
|
|
7686
7686
|
sender: ZERO_ADDRESS,
|
|
7687
7687
|
});
|
|
7688
|
-
return
|
|
7688
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7689
7689
|
}
|
|
7690
7690
|
view.empty = empty;
|
|
7691
7691
|
async function isEmpty(client, args, typeArguments) {
|
|
7692
7692
|
const tx = new TransactionBlock();
|
|
7693
7693
|
builder.isEmpty(tx, args, typeArguments);
|
|
7694
|
-
const
|
|
7694
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7695
7695
|
transactionBlock: tx,
|
|
7696
7696
|
sender: ZERO_ADDRESS,
|
|
7697
7697
|
});
|
|
7698
|
-
return
|
|
7698
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7699
7699
|
}
|
|
7700
7700
|
view.isEmpty = isEmpty;
|
|
7701
7701
|
async function length(client, args, typeArguments) {
|
|
7702
7702
|
const tx = new TransactionBlock();
|
|
7703
7703
|
builder.length(tx, args, typeArguments);
|
|
7704
|
-
const
|
|
7704
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7705
7705
|
transactionBlock: tx,
|
|
7706
7706
|
sender: ZERO_ADDRESS,
|
|
7707
7707
|
});
|
|
7708
|
-
return
|
|
7708
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7709
7709
|
}
|
|
7710
7710
|
view.length = length;
|
|
7711
7711
|
async function popBack(client, args, typeArguments) {
|
|
7712
7712
|
const tx = new TransactionBlock();
|
|
7713
7713
|
builder.popBack(tx, args, typeArguments);
|
|
7714
|
-
const
|
|
7714
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7715
7715
|
transactionBlock: tx,
|
|
7716
7716
|
sender: ZERO_ADDRESS,
|
|
7717
7717
|
});
|
|
7718
|
-
return
|
|
7718
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7719
7719
|
}
|
|
7720
7720
|
view.popBack = popBack;
|
|
7721
7721
|
async function pushBack(client, args, typeArguments) {
|
|
7722
7722
|
const tx = new TransactionBlock();
|
|
7723
7723
|
builder.pushBack(tx, args, typeArguments);
|
|
7724
|
-
const
|
|
7724
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7725
7725
|
transactionBlock: tx,
|
|
7726
7726
|
sender: ZERO_ADDRESS,
|
|
7727
7727
|
});
|
|
7728
|
-
return
|
|
7728
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7729
7729
|
}
|
|
7730
7730
|
view.pushBack = pushBack;
|
|
7731
7731
|
async function singleton(client, args, typeArguments) {
|
|
7732
7732
|
const tx = new TransactionBlock();
|
|
7733
7733
|
builder.singleton(tx, args, typeArguments);
|
|
7734
|
-
const
|
|
7734
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7735
7735
|
transactionBlock: tx,
|
|
7736
7736
|
sender: ZERO_ADDRESS,
|
|
7737
7737
|
});
|
|
7738
|
-
return
|
|
7738
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7739
7739
|
}
|
|
7740
7740
|
view.singleton = singleton;
|
|
7741
7741
|
})(view = table_vec.view || (table_vec.view = {}));
|
|
@@ -7842,61 +7842,61 @@ export var transfer;
|
|
|
7842
7842
|
async function freezeObject(client, args, typeArguments) {
|
|
7843
7843
|
const tx = new TransactionBlock();
|
|
7844
7844
|
builder.freezeObject(tx, args, typeArguments);
|
|
7845
|
-
const
|
|
7845
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7846
7846
|
transactionBlock: tx,
|
|
7847
7847
|
sender: ZERO_ADDRESS,
|
|
7848
7848
|
});
|
|
7849
|
-
return
|
|
7849
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7850
7850
|
}
|
|
7851
7851
|
view.freezeObject = freezeObject;
|
|
7852
7852
|
async function publicFreezeObject(client, args, typeArguments) {
|
|
7853
7853
|
const tx = new TransactionBlock();
|
|
7854
7854
|
builder.publicFreezeObject(tx, args, typeArguments);
|
|
7855
|
-
const
|
|
7855
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7856
7856
|
transactionBlock: tx,
|
|
7857
7857
|
sender: ZERO_ADDRESS,
|
|
7858
7858
|
});
|
|
7859
|
-
return
|
|
7859
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7860
7860
|
}
|
|
7861
7861
|
view.publicFreezeObject = publicFreezeObject;
|
|
7862
7862
|
async function publicShareObject(client, args, typeArguments) {
|
|
7863
7863
|
const tx = new TransactionBlock();
|
|
7864
7864
|
builder.publicShareObject(tx, args, typeArguments);
|
|
7865
|
-
const
|
|
7865
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7866
7866
|
transactionBlock: tx,
|
|
7867
7867
|
sender: ZERO_ADDRESS,
|
|
7868
7868
|
});
|
|
7869
|
-
return
|
|
7869
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7870
7870
|
}
|
|
7871
7871
|
view.publicShareObject = publicShareObject;
|
|
7872
7872
|
async function publicTransfer(client, args, typeArguments) {
|
|
7873
7873
|
const tx = new TransactionBlock();
|
|
7874
7874
|
builder.publicTransfer(tx, args, typeArguments);
|
|
7875
|
-
const
|
|
7875
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7876
7876
|
transactionBlock: tx,
|
|
7877
7877
|
sender: ZERO_ADDRESS,
|
|
7878
7878
|
});
|
|
7879
|
-
return
|
|
7879
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7880
7880
|
}
|
|
7881
7881
|
view.publicTransfer = publicTransfer;
|
|
7882
7882
|
async function shareObject(client, args, typeArguments) {
|
|
7883
7883
|
const tx = new TransactionBlock();
|
|
7884
7884
|
builder.shareObject(tx, args, typeArguments);
|
|
7885
|
-
const
|
|
7885
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7886
7886
|
transactionBlock: tx,
|
|
7887
7887
|
sender: ZERO_ADDRESS,
|
|
7888
7888
|
});
|
|
7889
|
-
return
|
|
7889
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7890
7890
|
}
|
|
7891
7891
|
view.shareObject = shareObject;
|
|
7892
7892
|
async function transfer(client, args, typeArguments) {
|
|
7893
7893
|
const tx = new TransactionBlock();
|
|
7894
7894
|
builder.transfer(tx, args, typeArguments);
|
|
7895
|
-
const
|
|
7895
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
7896
7896
|
transactionBlock: tx,
|
|
7897
7897
|
sender: ZERO_ADDRESS,
|
|
7898
7898
|
});
|
|
7899
|
-
return
|
|
7899
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
7900
7900
|
}
|
|
7901
7901
|
view.transfer = transfer;
|
|
7902
7902
|
})(view = transfer_1.view || (transfer_1.view = {}));
|
|
@@ -8256,171 +8256,171 @@ export var transfer_policy;
|
|
|
8256
8256
|
async function addReceipt(client, args, typeArguments) {
|
|
8257
8257
|
const tx = new TransactionBlock();
|
|
8258
8258
|
builder.addReceipt(tx, args, typeArguments);
|
|
8259
|
-
const
|
|
8259
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8260
8260
|
transactionBlock: tx,
|
|
8261
8261
|
sender: ZERO_ADDRESS,
|
|
8262
8262
|
});
|
|
8263
|
-
return
|
|
8263
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8264
8264
|
}
|
|
8265
8265
|
view.addReceipt = addReceipt;
|
|
8266
8266
|
async function addRule(client, args, typeArguments) {
|
|
8267
8267
|
const tx = new TransactionBlock();
|
|
8268
8268
|
builder.addRule(tx, args, typeArguments);
|
|
8269
|
-
const
|
|
8269
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8270
8270
|
transactionBlock: tx,
|
|
8271
8271
|
sender: ZERO_ADDRESS,
|
|
8272
8272
|
});
|
|
8273
|
-
return
|
|
8273
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8274
8274
|
}
|
|
8275
8275
|
view.addRule = addRule;
|
|
8276
8276
|
async function addToBalance(client, args, typeArguments) {
|
|
8277
8277
|
const tx = new TransactionBlock();
|
|
8278
8278
|
builder.addToBalance(tx, args, typeArguments);
|
|
8279
|
-
const
|
|
8279
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8280
8280
|
transactionBlock: tx,
|
|
8281
8281
|
sender: ZERO_ADDRESS,
|
|
8282
8282
|
});
|
|
8283
|
-
return
|
|
8283
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8284
8284
|
}
|
|
8285
8285
|
view.addToBalance = addToBalance;
|
|
8286
8286
|
async function confirmRequest(client, args, typeArguments) {
|
|
8287
8287
|
const tx = new TransactionBlock();
|
|
8288
8288
|
builder.confirmRequest(tx, args, typeArguments);
|
|
8289
|
-
const
|
|
8289
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8290
8290
|
transactionBlock: tx,
|
|
8291
8291
|
sender: ZERO_ADDRESS,
|
|
8292
8292
|
});
|
|
8293
|
-
return
|
|
8293
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8294
8294
|
}
|
|
8295
8295
|
view.confirmRequest = confirmRequest;
|
|
8296
8296
|
async function destroyAndWithdraw(client, args, typeArguments) {
|
|
8297
8297
|
const tx = new TransactionBlock();
|
|
8298
8298
|
builder.destroyAndWithdraw(tx, args, typeArguments);
|
|
8299
|
-
const
|
|
8299
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8300
8300
|
transactionBlock: tx,
|
|
8301
8301
|
sender: ZERO_ADDRESS,
|
|
8302
8302
|
});
|
|
8303
|
-
return
|
|
8303
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8304
8304
|
}
|
|
8305
8305
|
view.destroyAndWithdraw = destroyAndWithdraw;
|
|
8306
8306
|
async function from(client, args, typeArguments) {
|
|
8307
8307
|
const tx = new TransactionBlock();
|
|
8308
8308
|
builder.from(tx, args, typeArguments);
|
|
8309
|
-
const
|
|
8309
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8310
8310
|
transactionBlock: tx,
|
|
8311
8311
|
sender: ZERO_ADDRESS,
|
|
8312
8312
|
});
|
|
8313
|
-
return
|
|
8313
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8314
8314
|
}
|
|
8315
8315
|
view.from = from;
|
|
8316
8316
|
async function getRule(client, args, typeArguments) {
|
|
8317
8317
|
const tx = new TransactionBlock();
|
|
8318
8318
|
builder.getRule(tx, args, typeArguments);
|
|
8319
|
-
const
|
|
8319
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8320
8320
|
transactionBlock: tx,
|
|
8321
8321
|
sender: ZERO_ADDRESS,
|
|
8322
8322
|
});
|
|
8323
|
-
return
|
|
8323
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8324
8324
|
}
|
|
8325
8325
|
view.getRule = getRule;
|
|
8326
8326
|
async function hasRule(client, args, typeArguments) {
|
|
8327
8327
|
const tx = new TransactionBlock();
|
|
8328
8328
|
builder.hasRule(tx, args, typeArguments);
|
|
8329
|
-
const
|
|
8329
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8330
8330
|
transactionBlock: tx,
|
|
8331
8331
|
sender: ZERO_ADDRESS,
|
|
8332
8332
|
});
|
|
8333
|
-
return
|
|
8333
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8334
8334
|
}
|
|
8335
8335
|
view.hasRule = hasRule;
|
|
8336
8336
|
async function item(client, args, typeArguments) {
|
|
8337
8337
|
const tx = new TransactionBlock();
|
|
8338
8338
|
builder.item(tx, args, typeArguments);
|
|
8339
|
-
const
|
|
8339
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8340
8340
|
transactionBlock: tx,
|
|
8341
8341
|
sender: ZERO_ADDRESS,
|
|
8342
8342
|
});
|
|
8343
|
-
return
|
|
8343
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8344
8344
|
}
|
|
8345
8345
|
view.item = item;
|
|
8346
8346
|
async function new_(client, args, typeArguments) {
|
|
8347
8347
|
const tx = new TransactionBlock();
|
|
8348
8348
|
builder.new_(tx, args, typeArguments);
|
|
8349
|
-
const
|
|
8349
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8350
8350
|
transactionBlock: tx,
|
|
8351
8351
|
sender: ZERO_ADDRESS,
|
|
8352
8352
|
});
|
|
8353
|
-
return
|
|
8353
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8354
8354
|
}
|
|
8355
8355
|
view.new_ = new_;
|
|
8356
8356
|
async function newRequest(client, args, typeArguments) {
|
|
8357
8357
|
const tx = new TransactionBlock();
|
|
8358
8358
|
builder.newRequest(tx, args, typeArguments);
|
|
8359
|
-
const
|
|
8359
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8360
8360
|
transactionBlock: tx,
|
|
8361
8361
|
sender: ZERO_ADDRESS,
|
|
8362
8362
|
});
|
|
8363
|
-
return
|
|
8363
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8364
8364
|
}
|
|
8365
8365
|
view.newRequest = newRequest;
|
|
8366
8366
|
async function paid(client, args, typeArguments) {
|
|
8367
8367
|
const tx = new TransactionBlock();
|
|
8368
8368
|
builder.paid(tx, args, typeArguments);
|
|
8369
|
-
const
|
|
8369
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8370
8370
|
transactionBlock: tx,
|
|
8371
8371
|
sender: ZERO_ADDRESS,
|
|
8372
8372
|
});
|
|
8373
|
-
return
|
|
8373
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8374
8374
|
}
|
|
8375
8375
|
view.paid = paid;
|
|
8376
8376
|
async function removeRule(client, args, typeArguments) {
|
|
8377
8377
|
const tx = new TransactionBlock();
|
|
8378
8378
|
builder.removeRule(tx, args, typeArguments);
|
|
8379
|
-
const
|
|
8379
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8380
8380
|
transactionBlock: tx,
|
|
8381
8381
|
sender: ZERO_ADDRESS,
|
|
8382
8382
|
});
|
|
8383
|
-
return
|
|
8383
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8384
8384
|
}
|
|
8385
8385
|
view.removeRule = removeRule;
|
|
8386
8386
|
async function rules(client, args, typeArguments) {
|
|
8387
8387
|
const tx = new TransactionBlock();
|
|
8388
8388
|
builder.rules(tx, args, typeArguments);
|
|
8389
|
-
const
|
|
8389
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8390
8390
|
transactionBlock: tx,
|
|
8391
8391
|
sender: ZERO_ADDRESS,
|
|
8392
8392
|
});
|
|
8393
|
-
return
|
|
8393
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8394
8394
|
}
|
|
8395
8395
|
view.rules = rules;
|
|
8396
8396
|
async function uid(client, args, typeArguments) {
|
|
8397
8397
|
const tx = new TransactionBlock();
|
|
8398
8398
|
builder.uid(tx, args, typeArguments);
|
|
8399
|
-
const
|
|
8399
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8400
8400
|
transactionBlock: tx,
|
|
8401
8401
|
sender: ZERO_ADDRESS,
|
|
8402
8402
|
});
|
|
8403
|
-
return
|
|
8403
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8404
8404
|
}
|
|
8405
8405
|
view.uid = uid;
|
|
8406
8406
|
async function uidMutAsOwner(client, args, typeArguments) {
|
|
8407
8407
|
const tx = new TransactionBlock();
|
|
8408
8408
|
builder.uidMutAsOwner(tx, args, typeArguments);
|
|
8409
|
-
const
|
|
8409
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8410
8410
|
transactionBlock: tx,
|
|
8411
8411
|
sender: ZERO_ADDRESS,
|
|
8412
8412
|
});
|
|
8413
|
-
return
|
|
8413
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8414
8414
|
}
|
|
8415
8415
|
view.uidMutAsOwner = uidMutAsOwner;
|
|
8416
8416
|
async function withdraw(client, args, typeArguments) {
|
|
8417
8417
|
const tx = new TransactionBlock();
|
|
8418
8418
|
builder.withdraw(tx, args, typeArguments);
|
|
8419
|
-
const
|
|
8419
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8420
8420
|
transactionBlock: tx,
|
|
8421
8421
|
sender: ZERO_ADDRESS,
|
|
8422
8422
|
});
|
|
8423
|
-
return
|
|
8423
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8424
8424
|
}
|
|
8425
8425
|
view.withdraw = withdraw;
|
|
8426
8426
|
})(view = transfer_policy.view || (transfer_policy.view = {}));
|
|
@@ -8484,41 +8484,41 @@ export var tx_context;
|
|
|
8484
8484
|
async function epoch(client, args) {
|
|
8485
8485
|
const tx = new TransactionBlock();
|
|
8486
8486
|
builder.epoch(tx, args);
|
|
8487
|
-
const
|
|
8487
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8488
8488
|
transactionBlock: tx,
|
|
8489
8489
|
sender: ZERO_ADDRESS,
|
|
8490
8490
|
});
|
|
8491
|
-
return
|
|
8491
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8492
8492
|
}
|
|
8493
8493
|
view.epoch = epoch;
|
|
8494
8494
|
async function epochTimestampMs(client, args) {
|
|
8495
8495
|
const tx = new TransactionBlock();
|
|
8496
8496
|
builder.epochTimestampMs(tx, args);
|
|
8497
|
-
const
|
|
8497
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8498
8498
|
transactionBlock: tx,
|
|
8499
8499
|
sender: ZERO_ADDRESS,
|
|
8500
8500
|
});
|
|
8501
|
-
return
|
|
8501
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8502
8502
|
}
|
|
8503
8503
|
view.epochTimestampMs = epochTimestampMs;
|
|
8504
8504
|
async function freshObjectAddress(client, args) {
|
|
8505
8505
|
const tx = new TransactionBlock();
|
|
8506
8506
|
builder.freshObjectAddress(tx, args);
|
|
8507
|
-
const
|
|
8507
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8508
8508
|
transactionBlock: tx,
|
|
8509
8509
|
sender: ZERO_ADDRESS,
|
|
8510
8510
|
});
|
|
8511
|
-
return
|
|
8511
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8512
8512
|
}
|
|
8513
8513
|
view.freshObjectAddress = freshObjectAddress;
|
|
8514
8514
|
async function sender(client, args) {
|
|
8515
8515
|
const tx = new TransactionBlock();
|
|
8516
8516
|
builder.sender(tx, args);
|
|
8517
|
-
const
|
|
8517
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8518
8518
|
transactionBlock: tx,
|
|
8519
8519
|
sender: ZERO_ADDRESS,
|
|
8520
8520
|
});
|
|
8521
|
-
return
|
|
8521
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8522
8522
|
}
|
|
8523
8523
|
view.sender = sender;
|
|
8524
8524
|
})(view = tx_context.view || (tx_context.view = {}));
|
|
@@ -8548,11 +8548,11 @@ export var types;
|
|
|
8548
8548
|
async function isOneTimeWitness(client, args, typeArguments) {
|
|
8549
8549
|
const tx = new TransactionBlock();
|
|
8550
8550
|
builder.isOneTimeWitness(tx, args, typeArguments);
|
|
8551
|
-
const
|
|
8551
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8552
8552
|
transactionBlock: tx,
|
|
8553
8553
|
sender: ZERO_ADDRESS,
|
|
8554
8554
|
});
|
|
8555
|
-
return
|
|
8555
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8556
8556
|
}
|
|
8557
8557
|
view.isOneTimeWitness = isOneTimeWitness;
|
|
8558
8558
|
})(view = types.view || (types.view = {}));
|
|
@@ -8622,41 +8622,41 @@ export var url;
|
|
|
8622
8622
|
async function innerUrl(client, args) {
|
|
8623
8623
|
const tx = new TransactionBlock();
|
|
8624
8624
|
builder.innerUrl(tx, args);
|
|
8625
|
-
const
|
|
8625
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8626
8626
|
transactionBlock: tx,
|
|
8627
8627
|
sender: ZERO_ADDRESS,
|
|
8628
8628
|
});
|
|
8629
|
-
return
|
|
8629
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8630
8630
|
}
|
|
8631
8631
|
view.innerUrl = innerUrl;
|
|
8632
8632
|
async function newUnsafe(client, args) {
|
|
8633
8633
|
const tx = new TransactionBlock();
|
|
8634
8634
|
builder.newUnsafe(tx, args);
|
|
8635
|
-
const
|
|
8635
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8636
8636
|
transactionBlock: tx,
|
|
8637
8637
|
sender: ZERO_ADDRESS,
|
|
8638
8638
|
});
|
|
8639
|
-
return
|
|
8639
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8640
8640
|
}
|
|
8641
8641
|
view.newUnsafe = newUnsafe;
|
|
8642
8642
|
async function newUnsafeFromBytes(client, args) {
|
|
8643
8643
|
const tx = new TransactionBlock();
|
|
8644
8644
|
builder.newUnsafeFromBytes(tx, args);
|
|
8645
|
-
const
|
|
8645
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8646
8646
|
transactionBlock: tx,
|
|
8647
8647
|
sender: ZERO_ADDRESS,
|
|
8648
8648
|
});
|
|
8649
|
-
return
|
|
8649
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8650
8650
|
}
|
|
8651
8651
|
view.newUnsafeFromBytes = newUnsafeFromBytes;
|
|
8652
8652
|
async function update(client, args) {
|
|
8653
8653
|
const tx = new TransactionBlock();
|
|
8654
8654
|
builder.update(tx, args);
|
|
8655
|
-
const
|
|
8655
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
8656
8656
|
transactionBlock: tx,
|
|
8657
8657
|
sender: ZERO_ADDRESS,
|
|
8658
8658
|
});
|
|
8659
|
-
return
|
|
8659
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
8660
8660
|
}
|
|
8661
8661
|
view.update = update;
|
|
8662
8662
|
})(view = url.view || (url.view = {}));
|
|
@@ -9024,181 +9024,181 @@ export var vec_map;
|
|
|
9024
9024
|
async function contains(client, args, typeArguments) {
|
|
9025
9025
|
const tx = new TransactionBlock();
|
|
9026
9026
|
builder.contains(tx, args, typeArguments);
|
|
9027
|
-
const
|
|
9027
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9028
9028
|
transactionBlock: tx,
|
|
9029
9029
|
sender: ZERO_ADDRESS,
|
|
9030
9030
|
});
|
|
9031
|
-
return
|
|
9031
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9032
9032
|
}
|
|
9033
9033
|
view.contains = contains;
|
|
9034
9034
|
async function destroyEmpty(client, args, typeArguments) {
|
|
9035
9035
|
const tx = new TransactionBlock();
|
|
9036
9036
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
9037
|
-
const
|
|
9037
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9038
9038
|
transactionBlock: tx,
|
|
9039
9039
|
sender: ZERO_ADDRESS,
|
|
9040
9040
|
});
|
|
9041
|
-
return
|
|
9041
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9042
9042
|
}
|
|
9043
9043
|
view.destroyEmpty = destroyEmpty;
|
|
9044
9044
|
async function empty(client, args, typeArguments) {
|
|
9045
9045
|
const tx = new TransactionBlock();
|
|
9046
9046
|
builder.empty(tx, args, typeArguments);
|
|
9047
|
-
const
|
|
9047
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9048
9048
|
transactionBlock: tx,
|
|
9049
9049
|
sender: ZERO_ADDRESS,
|
|
9050
9050
|
});
|
|
9051
|
-
return
|
|
9051
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9052
9052
|
}
|
|
9053
9053
|
view.empty = empty;
|
|
9054
9054
|
async function get(client, args, typeArguments) {
|
|
9055
9055
|
const tx = new TransactionBlock();
|
|
9056
9056
|
builder.get(tx, args, typeArguments);
|
|
9057
|
-
const
|
|
9057
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9058
9058
|
transactionBlock: tx,
|
|
9059
9059
|
sender: ZERO_ADDRESS,
|
|
9060
9060
|
});
|
|
9061
|
-
return
|
|
9061
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9062
9062
|
}
|
|
9063
9063
|
view.get = get;
|
|
9064
9064
|
async function getEntryByIdx(client, args, typeArguments) {
|
|
9065
9065
|
const tx = new TransactionBlock();
|
|
9066
9066
|
builder.getEntryByIdx(tx, args, typeArguments);
|
|
9067
|
-
const
|
|
9067
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9068
9068
|
transactionBlock: tx,
|
|
9069
9069
|
sender: ZERO_ADDRESS,
|
|
9070
9070
|
});
|
|
9071
|
-
return
|
|
9071
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9072
9072
|
}
|
|
9073
9073
|
view.getEntryByIdx = getEntryByIdx;
|
|
9074
9074
|
async function getEntryByIdxMut(client, args, typeArguments) {
|
|
9075
9075
|
const tx = new TransactionBlock();
|
|
9076
9076
|
builder.getEntryByIdxMut(tx, args, typeArguments);
|
|
9077
|
-
const
|
|
9077
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9078
9078
|
transactionBlock: tx,
|
|
9079
9079
|
sender: ZERO_ADDRESS,
|
|
9080
9080
|
});
|
|
9081
|
-
return
|
|
9081
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9082
9082
|
}
|
|
9083
9083
|
view.getEntryByIdxMut = getEntryByIdxMut;
|
|
9084
9084
|
async function getIdx(client, args, typeArguments) {
|
|
9085
9085
|
const tx = new TransactionBlock();
|
|
9086
9086
|
builder.getIdx(tx, args, typeArguments);
|
|
9087
|
-
const
|
|
9087
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9088
9088
|
transactionBlock: tx,
|
|
9089
9089
|
sender: ZERO_ADDRESS,
|
|
9090
9090
|
});
|
|
9091
|
-
return
|
|
9091
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9092
9092
|
}
|
|
9093
9093
|
view.getIdx = getIdx;
|
|
9094
9094
|
async function getIdxOpt(client, args, typeArguments) {
|
|
9095
9095
|
const tx = new TransactionBlock();
|
|
9096
9096
|
builder.getIdxOpt(tx, args, typeArguments);
|
|
9097
|
-
const
|
|
9097
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9098
9098
|
transactionBlock: tx,
|
|
9099
9099
|
sender: ZERO_ADDRESS,
|
|
9100
9100
|
});
|
|
9101
|
-
return
|
|
9101
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9102
9102
|
}
|
|
9103
9103
|
view.getIdxOpt = getIdxOpt;
|
|
9104
9104
|
async function getMut(client, args, typeArguments) {
|
|
9105
9105
|
const tx = new TransactionBlock();
|
|
9106
9106
|
builder.getMut(tx, args, typeArguments);
|
|
9107
|
-
const
|
|
9107
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9108
9108
|
transactionBlock: tx,
|
|
9109
9109
|
sender: ZERO_ADDRESS,
|
|
9110
9110
|
});
|
|
9111
|
-
return
|
|
9111
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9112
9112
|
}
|
|
9113
9113
|
view.getMut = getMut;
|
|
9114
9114
|
async function insert(client, args, typeArguments) {
|
|
9115
9115
|
const tx = new TransactionBlock();
|
|
9116
9116
|
builder.insert(tx, args, typeArguments);
|
|
9117
|
-
const
|
|
9117
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9118
9118
|
transactionBlock: tx,
|
|
9119
9119
|
sender: ZERO_ADDRESS,
|
|
9120
9120
|
});
|
|
9121
|
-
return
|
|
9121
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9122
9122
|
}
|
|
9123
9123
|
view.insert = insert;
|
|
9124
9124
|
async function intoKeysValues(client, args, typeArguments) {
|
|
9125
9125
|
const tx = new TransactionBlock();
|
|
9126
9126
|
builder.intoKeysValues(tx, args, typeArguments);
|
|
9127
|
-
const
|
|
9127
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9128
9128
|
transactionBlock: tx,
|
|
9129
9129
|
sender: ZERO_ADDRESS,
|
|
9130
9130
|
});
|
|
9131
|
-
return
|
|
9131
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9132
9132
|
}
|
|
9133
9133
|
view.intoKeysValues = intoKeysValues;
|
|
9134
9134
|
async function isEmpty(client, args, typeArguments) {
|
|
9135
9135
|
const tx = new TransactionBlock();
|
|
9136
9136
|
builder.isEmpty(tx, args, typeArguments);
|
|
9137
|
-
const
|
|
9137
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9138
9138
|
transactionBlock: tx,
|
|
9139
9139
|
sender: ZERO_ADDRESS,
|
|
9140
9140
|
});
|
|
9141
|
-
return
|
|
9141
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9142
9142
|
}
|
|
9143
9143
|
view.isEmpty = isEmpty;
|
|
9144
9144
|
async function keys(client, args, typeArguments) {
|
|
9145
9145
|
const tx = new TransactionBlock();
|
|
9146
9146
|
builder.keys(tx, args, typeArguments);
|
|
9147
|
-
const
|
|
9147
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9148
9148
|
transactionBlock: tx,
|
|
9149
9149
|
sender: ZERO_ADDRESS,
|
|
9150
9150
|
});
|
|
9151
|
-
return
|
|
9151
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9152
9152
|
}
|
|
9153
9153
|
view.keys = keys;
|
|
9154
9154
|
async function pop(client, args, typeArguments) {
|
|
9155
9155
|
const tx = new TransactionBlock();
|
|
9156
9156
|
builder.pop(tx, args, typeArguments);
|
|
9157
|
-
const
|
|
9157
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9158
9158
|
transactionBlock: tx,
|
|
9159
9159
|
sender: ZERO_ADDRESS,
|
|
9160
9160
|
});
|
|
9161
|
-
return
|
|
9161
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9162
9162
|
}
|
|
9163
9163
|
view.pop = pop;
|
|
9164
9164
|
async function remove(client, args, typeArguments) {
|
|
9165
9165
|
const tx = new TransactionBlock();
|
|
9166
9166
|
builder.remove(tx, args, typeArguments);
|
|
9167
|
-
const
|
|
9167
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9168
9168
|
transactionBlock: tx,
|
|
9169
9169
|
sender: ZERO_ADDRESS,
|
|
9170
9170
|
});
|
|
9171
|
-
return
|
|
9171
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9172
9172
|
}
|
|
9173
9173
|
view.remove = remove;
|
|
9174
9174
|
async function removeEntryByIdx(client, args, typeArguments) {
|
|
9175
9175
|
const tx = new TransactionBlock();
|
|
9176
9176
|
builder.removeEntryByIdx(tx, args, typeArguments);
|
|
9177
|
-
const
|
|
9177
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9178
9178
|
transactionBlock: tx,
|
|
9179
9179
|
sender: ZERO_ADDRESS,
|
|
9180
9180
|
});
|
|
9181
|
-
return
|
|
9181
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9182
9182
|
}
|
|
9183
9183
|
view.removeEntryByIdx = removeEntryByIdx;
|
|
9184
9184
|
async function size(client, args, typeArguments) {
|
|
9185
9185
|
const tx = new TransactionBlock();
|
|
9186
9186
|
builder.size(tx, args, typeArguments);
|
|
9187
|
-
const
|
|
9187
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9188
9188
|
transactionBlock: tx,
|
|
9189
9189
|
sender: ZERO_ADDRESS,
|
|
9190
9190
|
});
|
|
9191
|
-
return
|
|
9191
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9192
9192
|
}
|
|
9193
9193
|
view.size = size;
|
|
9194
9194
|
async function tryGet(client, args, typeArguments) {
|
|
9195
9195
|
const tx = new TransactionBlock();
|
|
9196
9196
|
builder.tryGet(tx, args, typeArguments);
|
|
9197
|
-
const
|
|
9197
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9198
9198
|
transactionBlock: tx,
|
|
9199
9199
|
sender: ZERO_ADDRESS,
|
|
9200
9200
|
});
|
|
9201
|
-
return
|
|
9201
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9202
9202
|
}
|
|
9203
9203
|
view.tryGet = tryGet;
|
|
9204
9204
|
})(view = vec_map.view || (vec_map.view = {}));
|
|
@@ -9344,81 +9344,81 @@ export var vec_set;
|
|
|
9344
9344
|
async function contains(client, args, typeArguments) {
|
|
9345
9345
|
const tx = new TransactionBlock();
|
|
9346
9346
|
builder.contains(tx, args, typeArguments);
|
|
9347
|
-
const
|
|
9347
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9348
9348
|
transactionBlock: tx,
|
|
9349
9349
|
sender: ZERO_ADDRESS,
|
|
9350
9350
|
});
|
|
9351
|
-
return
|
|
9351
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9352
9352
|
}
|
|
9353
9353
|
view.contains = contains;
|
|
9354
9354
|
async function empty(client, args, typeArguments) {
|
|
9355
9355
|
const tx = new TransactionBlock();
|
|
9356
9356
|
builder.empty(tx, args, typeArguments);
|
|
9357
|
-
const
|
|
9357
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9358
9358
|
transactionBlock: tx,
|
|
9359
9359
|
sender: ZERO_ADDRESS,
|
|
9360
9360
|
});
|
|
9361
|
-
return
|
|
9361
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9362
9362
|
}
|
|
9363
9363
|
view.empty = empty;
|
|
9364
9364
|
async function insert(client, args, typeArguments) {
|
|
9365
9365
|
const tx = new TransactionBlock();
|
|
9366
9366
|
builder.insert(tx, args, typeArguments);
|
|
9367
|
-
const
|
|
9367
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9368
9368
|
transactionBlock: tx,
|
|
9369
9369
|
sender: ZERO_ADDRESS,
|
|
9370
9370
|
});
|
|
9371
|
-
return
|
|
9371
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9372
9372
|
}
|
|
9373
9373
|
view.insert = insert;
|
|
9374
9374
|
async function intoKeys(client, args, typeArguments) {
|
|
9375
9375
|
const tx = new TransactionBlock();
|
|
9376
9376
|
builder.intoKeys(tx, args, typeArguments);
|
|
9377
|
-
const
|
|
9377
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9378
9378
|
transactionBlock: tx,
|
|
9379
9379
|
sender: ZERO_ADDRESS,
|
|
9380
9380
|
});
|
|
9381
|
-
return
|
|
9381
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9382
9382
|
}
|
|
9383
9383
|
view.intoKeys = intoKeys;
|
|
9384
9384
|
async function isEmpty(client, args, typeArguments) {
|
|
9385
9385
|
const tx = new TransactionBlock();
|
|
9386
9386
|
builder.isEmpty(tx, args, typeArguments);
|
|
9387
|
-
const
|
|
9387
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9388
9388
|
transactionBlock: tx,
|
|
9389
9389
|
sender: ZERO_ADDRESS,
|
|
9390
9390
|
});
|
|
9391
|
-
return
|
|
9391
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9392
9392
|
}
|
|
9393
9393
|
view.isEmpty = isEmpty;
|
|
9394
9394
|
async function remove(client, args, typeArguments) {
|
|
9395
9395
|
const tx = new TransactionBlock();
|
|
9396
9396
|
builder.remove(tx, args, typeArguments);
|
|
9397
|
-
const
|
|
9397
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9398
9398
|
transactionBlock: tx,
|
|
9399
9399
|
sender: ZERO_ADDRESS,
|
|
9400
9400
|
});
|
|
9401
|
-
return
|
|
9401
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9402
9402
|
}
|
|
9403
9403
|
view.remove = remove;
|
|
9404
9404
|
async function singleton(client, args, typeArguments) {
|
|
9405
9405
|
const tx = new TransactionBlock();
|
|
9406
9406
|
builder.singleton(tx, args, typeArguments);
|
|
9407
|
-
const
|
|
9407
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9408
9408
|
transactionBlock: tx,
|
|
9409
9409
|
sender: ZERO_ADDRESS,
|
|
9410
9410
|
});
|
|
9411
|
-
return
|
|
9411
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9412
9412
|
}
|
|
9413
9413
|
view.singleton = singleton;
|
|
9414
9414
|
async function size(client, args, typeArguments) {
|
|
9415
9415
|
const tx = new TransactionBlock();
|
|
9416
9416
|
builder.size(tx, args, typeArguments);
|
|
9417
|
-
const
|
|
9417
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9418
9418
|
transactionBlock: tx,
|
|
9419
9419
|
sender: ZERO_ADDRESS,
|
|
9420
9420
|
});
|
|
9421
|
-
return
|
|
9421
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9422
9422
|
}
|
|
9423
9423
|
view.size = size;
|
|
9424
9424
|
})(view = vec_set.view || (vec_set.view = {}));
|
|
@@ -9556,71 +9556,71 @@ export var versioned;
|
|
|
9556
9556
|
async function create(client, args, typeArguments) {
|
|
9557
9557
|
const tx = new TransactionBlock();
|
|
9558
9558
|
builder.create(tx, args, typeArguments);
|
|
9559
|
-
const
|
|
9559
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9560
9560
|
transactionBlock: tx,
|
|
9561
9561
|
sender: ZERO_ADDRESS,
|
|
9562
9562
|
});
|
|
9563
|
-
return
|
|
9563
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9564
9564
|
}
|
|
9565
9565
|
view.create = create;
|
|
9566
9566
|
async function destroy(client, args, typeArguments) {
|
|
9567
9567
|
const tx = new TransactionBlock();
|
|
9568
9568
|
builder.destroy(tx, args, typeArguments);
|
|
9569
|
-
const
|
|
9569
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9570
9570
|
transactionBlock: tx,
|
|
9571
9571
|
sender: ZERO_ADDRESS,
|
|
9572
9572
|
});
|
|
9573
|
-
return
|
|
9573
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9574
9574
|
}
|
|
9575
9575
|
view.destroy = destroy;
|
|
9576
9576
|
async function loadValue(client, args, typeArguments) {
|
|
9577
9577
|
const tx = new TransactionBlock();
|
|
9578
9578
|
builder.loadValue(tx, args, typeArguments);
|
|
9579
|
-
const
|
|
9579
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9580
9580
|
transactionBlock: tx,
|
|
9581
9581
|
sender: ZERO_ADDRESS,
|
|
9582
9582
|
});
|
|
9583
|
-
return
|
|
9583
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9584
9584
|
}
|
|
9585
9585
|
view.loadValue = loadValue;
|
|
9586
9586
|
async function loadValueMut(client, args, typeArguments) {
|
|
9587
9587
|
const tx = new TransactionBlock();
|
|
9588
9588
|
builder.loadValueMut(tx, args, typeArguments);
|
|
9589
|
-
const
|
|
9589
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9590
9590
|
transactionBlock: tx,
|
|
9591
9591
|
sender: ZERO_ADDRESS,
|
|
9592
9592
|
});
|
|
9593
|
-
return
|
|
9593
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9594
9594
|
}
|
|
9595
9595
|
view.loadValueMut = loadValueMut;
|
|
9596
9596
|
async function removeValueForUpgrade(client, args, typeArguments) {
|
|
9597
9597
|
const tx = new TransactionBlock();
|
|
9598
9598
|
builder.removeValueForUpgrade(tx, args, typeArguments);
|
|
9599
|
-
const
|
|
9599
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9600
9600
|
transactionBlock: tx,
|
|
9601
9601
|
sender: ZERO_ADDRESS,
|
|
9602
9602
|
});
|
|
9603
|
-
return
|
|
9603
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9604
9604
|
}
|
|
9605
9605
|
view.removeValueForUpgrade = removeValueForUpgrade;
|
|
9606
9606
|
async function upgrade(client, args, typeArguments) {
|
|
9607
9607
|
const tx = new TransactionBlock();
|
|
9608
9608
|
builder.upgrade(tx, args, typeArguments);
|
|
9609
|
-
const
|
|
9609
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9610
9610
|
transactionBlock: tx,
|
|
9611
9611
|
sender: ZERO_ADDRESS,
|
|
9612
9612
|
});
|
|
9613
|
-
return
|
|
9613
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9614
9614
|
}
|
|
9615
9615
|
view.upgrade = upgrade;
|
|
9616
9616
|
async function version(client, args) {
|
|
9617
9617
|
const tx = new TransactionBlock();
|
|
9618
9618
|
builder.version(tx, args);
|
|
9619
|
-
const
|
|
9619
|
+
const insepctRes = await client.devInspectTransactionBlock({
|
|
9620
9620
|
transactionBlock: tx,
|
|
9621
9621
|
sender: ZERO_ADDRESS,
|
|
9622
9622
|
});
|
|
9623
|
-
return
|
|
9623
|
+
return (await getMoveCoder(client)).decodeDevInspectResult(insepctRes);
|
|
9624
9624
|
}
|
|
9625
9625
|
view.version = version;
|
|
9626
9626
|
})(view = versioned.view || (versioned.view = {}));
|