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