@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
|
@@ -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 { _0x2 } from "@typemove/sui/builtin";
|
|
10
11
|
import { _0x1 } from "@typemove/sui/builtin";
|
|
11
12
|
import * as _0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5 from "./0x1e2b124f746a339b3cf99b9f969393a96594519aafb1d06517aacfeeae20e7a5.js";
|
|
@@ -141,70 +142,70 @@ export var authority;
|
|
|
141
142
|
})(builder = authority.builder || (authority.builder = {}));
|
|
142
143
|
let view;
|
|
143
144
|
(function (view) {
|
|
144
|
-
async function addAuthorizedUser(
|
|
145
|
+
async function addAuthorizedUser(client, args, typeArguments) {
|
|
145
146
|
const tx = new TransactionBlock();
|
|
146
147
|
builder.addAuthorizedUser(tx, args, typeArguments);
|
|
147
|
-
const res = await
|
|
148
|
+
const res = await client.devInspectTransactionBlock({
|
|
148
149
|
transactionBlock: tx,
|
|
149
150
|
sender: ZERO_ADDRESS,
|
|
150
151
|
});
|
|
151
152
|
return res;
|
|
152
153
|
}
|
|
153
154
|
view.addAuthorizedUser = addAuthorizedUser;
|
|
154
|
-
async function destroyEmpty(
|
|
155
|
+
async function destroyEmpty(client, args, typeArguments) {
|
|
155
156
|
const tx = new TransactionBlock();
|
|
156
157
|
builder.destroyEmpty(tx, args, typeArguments);
|
|
157
|
-
const res = await
|
|
158
|
+
const res = await client.devInspectTransactionBlock({
|
|
158
159
|
transactionBlock: tx,
|
|
159
160
|
sender: ZERO_ADDRESS,
|
|
160
161
|
});
|
|
161
162
|
return res;
|
|
162
163
|
}
|
|
163
164
|
view.destroyEmpty = destroyEmpty;
|
|
164
|
-
async function new_(
|
|
165
|
+
async function new_(client, args, typeArguments) {
|
|
165
166
|
const tx = new TransactionBlock();
|
|
166
167
|
builder.new_(tx, args, typeArguments);
|
|
167
|
-
const res = await
|
|
168
|
+
const res = await client.devInspectTransactionBlock({
|
|
168
169
|
transactionBlock: tx,
|
|
169
170
|
sender: ZERO_ADDRESS,
|
|
170
171
|
});
|
|
171
172
|
return res;
|
|
172
173
|
}
|
|
173
174
|
view.new_ = new_;
|
|
174
|
-
async function removeAll(
|
|
175
|
+
async function removeAll(client, args, typeArguments) {
|
|
175
176
|
const tx = new TransactionBlock();
|
|
176
177
|
builder.removeAll(tx, args, typeArguments);
|
|
177
|
-
const res = await
|
|
178
|
+
const res = await client.devInspectTransactionBlock({
|
|
178
179
|
transactionBlock: tx,
|
|
179
180
|
sender: ZERO_ADDRESS,
|
|
180
181
|
});
|
|
181
182
|
return res;
|
|
182
183
|
}
|
|
183
184
|
view.removeAll = removeAll;
|
|
184
|
-
async function removeAuthorizedUser(
|
|
185
|
+
async function removeAuthorizedUser(client, args, typeArguments) {
|
|
185
186
|
const tx = new TransactionBlock();
|
|
186
187
|
builder.removeAuthorizedUser(tx, args, typeArguments);
|
|
187
|
-
const res = await
|
|
188
|
+
const res = await client.devInspectTransactionBlock({
|
|
188
189
|
transactionBlock: tx,
|
|
189
190
|
sender: ZERO_ADDRESS,
|
|
190
191
|
});
|
|
191
192
|
return res;
|
|
192
193
|
}
|
|
193
194
|
view.removeAuthorizedUser = removeAuthorizedUser;
|
|
194
|
-
async function verify(
|
|
195
|
+
async function verify(client, args, typeArguments) {
|
|
195
196
|
const tx = new TransactionBlock();
|
|
196
197
|
builder.verify(tx, args, typeArguments);
|
|
197
|
-
const res = await
|
|
198
|
+
const res = await client.devInspectTransactionBlock({
|
|
198
199
|
transactionBlock: tx,
|
|
199
200
|
sender: ZERO_ADDRESS,
|
|
200
201
|
});
|
|
201
202
|
return res;
|
|
202
203
|
}
|
|
203
204
|
view.verify = verify;
|
|
204
|
-
async function whitelist(
|
|
205
|
+
async function whitelist(client, args, typeArguments) {
|
|
205
206
|
const tx = new TransactionBlock();
|
|
206
207
|
builder.whitelist(tx, args, typeArguments);
|
|
207
|
-
const res = await
|
|
208
|
+
const res = await client.devInspectTransactionBlock({
|
|
208
209
|
transactionBlock: tx,
|
|
209
210
|
sender: ZERO_ADDRESS,
|
|
210
211
|
});
|
|
@@ -566,130 +567,130 @@ export var dutch;
|
|
|
566
567
|
})(builder = dutch.builder || (dutch.builder = {}));
|
|
567
568
|
let view;
|
|
568
569
|
(function (view) {
|
|
569
|
-
async function close(
|
|
570
|
+
async function close(client, args, typeArguments) {
|
|
570
571
|
const tx = new TransactionBlock();
|
|
571
572
|
builder.close(tx, args, typeArguments);
|
|
572
|
-
const res = await
|
|
573
|
+
const res = await client.devInspectTransactionBlock({
|
|
573
574
|
transactionBlock: tx,
|
|
574
575
|
sender: ZERO_ADDRESS,
|
|
575
576
|
});
|
|
576
577
|
return res;
|
|
577
578
|
}
|
|
578
579
|
view.close = close;
|
|
579
|
-
async function delivery(
|
|
580
|
+
async function delivery(client, args, typeArguments) {
|
|
580
581
|
const tx = new TransactionBlock();
|
|
581
582
|
builder.delivery(tx, args, typeArguments);
|
|
582
|
-
const res = await
|
|
583
|
+
const res = await client.devInspectTransactionBlock({
|
|
583
584
|
transactionBlock: tx,
|
|
584
585
|
sender: ZERO_ADDRESS,
|
|
585
586
|
});
|
|
586
587
|
return res;
|
|
587
588
|
}
|
|
588
589
|
view.delivery = delivery;
|
|
589
|
-
async function getAuctionBids(
|
|
590
|
+
async function getAuctionBids(client, args, typeArguments) {
|
|
590
591
|
const tx = new TransactionBlock();
|
|
591
592
|
builder.getAuctionBids(tx, args, typeArguments);
|
|
592
|
-
const res = await
|
|
593
|
+
const res = await client.devInspectTransactionBlock({
|
|
593
594
|
transactionBlock: tx,
|
|
594
595
|
sender: ZERO_ADDRESS,
|
|
595
596
|
});
|
|
596
597
|
return res;
|
|
597
598
|
}
|
|
598
599
|
view.getAuctionBids = getAuctionBids;
|
|
599
|
-
async function getAuctionPeriod(
|
|
600
|
+
async function getAuctionPeriod(client, args, typeArguments) {
|
|
600
601
|
const tx = new TransactionBlock();
|
|
601
602
|
builder.getAuctionPeriod(tx, args, typeArguments);
|
|
602
|
-
const res = await
|
|
603
|
+
const res = await client.devInspectTransactionBlock({
|
|
603
604
|
transactionBlock: tx,
|
|
604
605
|
sender: ZERO_ADDRESS,
|
|
605
606
|
});
|
|
606
607
|
return res;
|
|
607
608
|
}
|
|
608
609
|
view.getAuctionPeriod = getAuctionPeriod;
|
|
609
|
-
async function getBidIndex(
|
|
610
|
+
async function getBidIndex(client, args, typeArguments) {
|
|
610
611
|
const tx = new TransactionBlock();
|
|
611
612
|
builder.getBidIndex(tx, args, typeArguments);
|
|
612
|
-
const res = await
|
|
613
|
+
const res = await client.devInspectTransactionBlock({
|
|
613
614
|
transactionBlock: tx,
|
|
614
615
|
sender: ZERO_ADDRESS,
|
|
615
616
|
});
|
|
616
617
|
return res;
|
|
617
618
|
}
|
|
618
619
|
view.getBidIndex = getBidIndex;
|
|
619
|
-
async function getDecayedPrice(
|
|
620
|
+
async function getDecayedPrice(client, args, typeArguments) {
|
|
620
621
|
const tx = new TransactionBlock();
|
|
621
622
|
builder.getDecayedPrice(tx, args, typeArguments);
|
|
622
|
-
const res = await
|
|
623
|
+
const res = await client.devInspectTransactionBlock({
|
|
623
624
|
transactionBlock: tx,
|
|
624
625
|
sender: ZERO_ADDRESS,
|
|
625
626
|
});
|
|
626
627
|
return res;
|
|
627
628
|
}
|
|
628
629
|
view.getDecayedPrice = getDecayedPrice;
|
|
629
|
-
async function getOwnerships(
|
|
630
|
+
async function getOwnerships(client, args, typeArguments) {
|
|
630
631
|
const tx = new TransactionBlock();
|
|
631
632
|
builder.getOwnerships(tx, args, typeArguments);
|
|
632
|
-
const res = await
|
|
633
|
+
const res = await client.devInspectTransactionBlock({
|
|
633
634
|
transactionBlock: tx,
|
|
634
635
|
sender: ZERO_ADDRESS,
|
|
635
636
|
});
|
|
636
637
|
return res;
|
|
637
638
|
}
|
|
638
639
|
view.getOwnerships = getOwnerships;
|
|
639
|
-
async function getUserBidInfo(
|
|
640
|
+
async function getUserBidInfo(client, args, typeArguments) {
|
|
640
641
|
const tx = new TransactionBlock();
|
|
641
642
|
builder.getUserBidInfo(tx, args, typeArguments);
|
|
642
|
-
const res = await
|
|
643
|
+
const res = await client.devInspectTransactionBlock({
|
|
643
644
|
transactionBlock: tx,
|
|
644
645
|
sender: ZERO_ADDRESS,
|
|
645
646
|
});
|
|
646
647
|
return res;
|
|
647
648
|
}
|
|
648
649
|
view.getUserBidInfo = getUserBidInfo;
|
|
649
|
-
async function new_(
|
|
650
|
+
async function new_(client, args, typeArguments) {
|
|
650
651
|
const tx = new TransactionBlock();
|
|
651
652
|
builder.new_(tx, args, typeArguments);
|
|
652
|
-
const res = await
|
|
653
|
+
const res = await client.devInspectTransactionBlock({
|
|
653
654
|
transactionBlock: tx,
|
|
654
655
|
sender: ZERO_ADDRESS,
|
|
655
656
|
});
|
|
656
657
|
return res;
|
|
657
658
|
}
|
|
658
659
|
view.new_ = new_;
|
|
659
|
-
async function newBid(
|
|
660
|
+
async function newBid(client, args, typeArguments) {
|
|
660
661
|
const tx = new TransactionBlock();
|
|
661
662
|
builder.newBid(tx, args, typeArguments);
|
|
662
|
-
const res = await
|
|
663
|
+
const res = await client.devInspectTransactionBlock({
|
|
663
664
|
transactionBlock: tx,
|
|
664
665
|
sender: ZERO_ADDRESS,
|
|
665
666
|
});
|
|
666
667
|
return res;
|
|
667
668
|
}
|
|
668
669
|
view.newBid = newBid;
|
|
669
|
-
async function removeBid(
|
|
670
|
+
async function removeBid(client, args, typeArguments) {
|
|
670
671
|
const tx = new TransactionBlock();
|
|
671
672
|
builder.removeBid(tx, args, typeArguments);
|
|
672
|
-
const res = await
|
|
673
|
+
const res = await client.devInspectTransactionBlock({
|
|
673
674
|
transactionBlock: tx,
|
|
674
675
|
sender: ZERO_ADDRESS,
|
|
675
676
|
});
|
|
676
677
|
return res;
|
|
677
678
|
}
|
|
678
679
|
view.removeBid = removeBid;
|
|
679
|
-
async function totalBidSize(
|
|
680
|
+
async function totalBidSize(client, args, typeArguments) {
|
|
680
681
|
const tx = new TransactionBlock();
|
|
681
682
|
builder.totalBidSize(tx, args, typeArguments);
|
|
682
|
-
const res = await
|
|
683
|
+
const res = await client.devInspectTransactionBlock({
|
|
683
684
|
transactionBlock: tx,
|
|
684
685
|
sender: ZERO_ADDRESS,
|
|
685
686
|
});
|
|
686
687
|
return res;
|
|
687
688
|
}
|
|
688
689
|
view.totalBidSize = totalBidSize;
|
|
689
|
-
async function updateRemoveBidAbility(
|
|
690
|
+
async function updateRemoveBidAbility(client, args, typeArguments) {
|
|
690
691
|
const tx = new TransactionBlock();
|
|
691
692
|
builder.updateRemoveBidAbility(tx, args, typeArguments);
|
|
692
|
-
const res = await
|
|
693
|
+
const res = await client.devInspectTransactionBlock({
|
|
693
694
|
transactionBlock: tx,
|
|
694
695
|
sender: ZERO_ADDRESS,
|
|
695
696
|
});
|
|
@@ -848,130 +849,130 @@ export var i64;
|
|
|
848
849
|
})(builder = i64.builder || (i64.builder = {}));
|
|
849
850
|
let view;
|
|
850
851
|
(function (view) {
|
|
851
|
-
async function abs(
|
|
852
|
+
async function abs(client, args) {
|
|
852
853
|
const tx = new TransactionBlock();
|
|
853
854
|
builder.abs(tx, args);
|
|
854
|
-
const res = await
|
|
855
|
+
const res = await client.devInspectTransactionBlock({
|
|
855
856
|
transactionBlock: tx,
|
|
856
857
|
sender: ZERO_ADDRESS,
|
|
857
858
|
});
|
|
858
859
|
return res;
|
|
859
860
|
}
|
|
860
861
|
view.abs = abs;
|
|
861
|
-
async function add(
|
|
862
|
+
async function add(client, args) {
|
|
862
863
|
const tx = new TransactionBlock();
|
|
863
864
|
builder.add(tx, args);
|
|
864
|
-
const res = await
|
|
865
|
+
const res = await client.devInspectTransactionBlock({
|
|
865
866
|
transactionBlock: tx,
|
|
866
867
|
sender: ZERO_ADDRESS,
|
|
867
868
|
});
|
|
868
869
|
return res;
|
|
869
870
|
}
|
|
870
871
|
view.add = add;
|
|
871
|
-
async function asU64(
|
|
872
|
+
async function asU64(client, args) {
|
|
872
873
|
const tx = new TransactionBlock();
|
|
873
874
|
builder.asU64(tx, args);
|
|
874
|
-
const res = await
|
|
875
|
+
const res = await client.devInspectTransactionBlock({
|
|
875
876
|
transactionBlock: tx,
|
|
876
877
|
sender: ZERO_ADDRESS,
|
|
877
878
|
});
|
|
878
879
|
return res;
|
|
879
880
|
}
|
|
880
881
|
view.asU64 = asU64;
|
|
881
|
-
async function compare(
|
|
882
|
+
async function compare(client, args) {
|
|
882
883
|
const tx = new TransactionBlock();
|
|
883
884
|
builder.compare(tx, args);
|
|
884
|
-
const res = await
|
|
885
|
+
const res = await client.devInspectTransactionBlock({
|
|
885
886
|
transactionBlock: tx,
|
|
886
887
|
sender: ZERO_ADDRESS,
|
|
887
888
|
});
|
|
888
889
|
return res;
|
|
889
890
|
}
|
|
890
891
|
view.compare = compare;
|
|
891
|
-
async function div(
|
|
892
|
+
async function div(client, args) {
|
|
892
893
|
const tx = new TransactionBlock();
|
|
893
894
|
builder.div(tx, args);
|
|
894
|
-
const res = await
|
|
895
|
+
const res = await client.devInspectTransactionBlock({
|
|
895
896
|
transactionBlock: tx,
|
|
896
897
|
sender: ZERO_ADDRESS,
|
|
897
898
|
});
|
|
898
899
|
return res;
|
|
899
900
|
}
|
|
900
901
|
view.div = div;
|
|
901
|
-
async function from(
|
|
902
|
+
async function from(client, args) {
|
|
902
903
|
const tx = new TransactionBlock();
|
|
903
904
|
builder.from(tx, args);
|
|
904
|
-
const res = await
|
|
905
|
+
const res = await client.devInspectTransactionBlock({
|
|
905
906
|
transactionBlock: tx,
|
|
906
907
|
sender: ZERO_ADDRESS,
|
|
907
908
|
});
|
|
908
909
|
return res;
|
|
909
910
|
}
|
|
910
911
|
view.from = from;
|
|
911
|
-
async function isNeg(
|
|
912
|
+
async function isNeg(client, args) {
|
|
912
913
|
const tx = new TransactionBlock();
|
|
913
914
|
builder.isNeg(tx, args);
|
|
914
|
-
const res = await
|
|
915
|
+
const res = await client.devInspectTransactionBlock({
|
|
915
916
|
transactionBlock: tx,
|
|
916
917
|
sender: ZERO_ADDRESS,
|
|
917
918
|
});
|
|
918
919
|
return res;
|
|
919
920
|
}
|
|
920
921
|
view.isNeg = isNeg;
|
|
921
|
-
async function isZero(
|
|
922
|
+
async function isZero(client, args) {
|
|
922
923
|
const tx = new TransactionBlock();
|
|
923
924
|
builder.isZero(tx, args);
|
|
924
|
-
const res = await
|
|
925
|
+
const res = await client.devInspectTransactionBlock({
|
|
925
926
|
transactionBlock: tx,
|
|
926
927
|
sender: ZERO_ADDRESS,
|
|
927
928
|
});
|
|
928
929
|
return res;
|
|
929
930
|
}
|
|
930
931
|
view.isZero = isZero;
|
|
931
|
-
async function mul(
|
|
932
|
+
async function mul(client, args) {
|
|
932
933
|
const tx = new TransactionBlock();
|
|
933
934
|
builder.mul(tx, args);
|
|
934
|
-
const res = await
|
|
935
|
+
const res = await client.devInspectTransactionBlock({
|
|
935
936
|
transactionBlock: tx,
|
|
936
937
|
sender: ZERO_ADDRESS,
|
|
937
938
|
});
|
|
938
939
|
return res;
|
|
939
940
|
}
|
|
940
941
|
view.mul = mul;
|
|
941
|
-
async function neg(
|
|
942
|
+
async function neg(client, args) {
|
|
942
943
|
const tx = new TransactionBlock();
|
|
943
944
|
builder.neg(tx, args);
|
|
944
|
-
const res = await
|
|
945
|
+
const res = await client.devInspectTransactionBlock({
|
|
945
946
|
transactionBlock: tx,
|
|
946
947
|
sender: ZERO_ADDRESS,
|
|
947
948
|
});
|
|
948
949
|
return res;
|
|
949
950
|
}
|
|
950
951
|
view.neg = neg;
|
|
951
|
-
async function negFrom(
|
|
952
|
+
async function negFrom(client, args) {
|
|
952
953
|
const tx = new TransactionBlock();
|
|
953
954
|
builder.negFrom(tx, args);
|
|
954
|
-
const res = await
|
|
955
|
+
const res = await client.devInspectTransactionBlock({
|
|
955
956
|
transactionBlock: tx,
|
|
956
957
|
sender: ZERO_ADDRESS,
|
|
957
958
|
});
|
|
958
959
|
return res;
|
|
959
960
|
}
|
|
960
961
|
view.negFrom = negFrom;
|
|
961
|
-
async function sub(
|
|
962
|
+
async function sub(client, args) {
|
|
962
963
|
const tx = new TransactionBlock();
|
|
963
964
|
builder.sub(tx, args);
|
|
964
|
-
const res = await
|
|
965
|
+
const res = await client.devInspectTransactionBlock({
|
|
965
966
|
transactionBlock: tx,
|
|
966
967
|
sender: ZERO_ADDRESS,
|
|
967
968
|
});
|
|
968
969
|
return res;
|
|
969
970
|
}
|
|
970
971
|
view.sub = sub;
|
|
971
|
-
async function zero(
|
|
972
|
+
async function zero(client, args) {
|
|
972
973
|
const tx = new TransactionBlock();
|
|
973
974
|
builder.zero(tx, args);
|
|
974
|
-
const res = await
|
|
975
|
+
const res = await client.devInspectTransactionBlock({
|
|
975
976
|
transactionBlock: tx,
|
|
976
977
|
sender: ZERO_ADDRESS,
|
|
977
978
|
});
|
|
@@ -1532,270 +1533,270 @@ export var linked_list;
|
|
|
1532
1533
|
})(builder = linked_list.builder || (linked_list.builder = {}));
|
|
1533
1534
|
let view;
|
|
1534
1535
|
(function (view) {
|
|
1535
|
-
async function borrow(
|
|
1536
|
+
async function borrow(client, args, typeArguments) {
|
|
1536
1537
|
const tx = new TransactionBlock();
|
|
1537
1538
|
builder.borrow(tx, args, typeArguments);
|
|
1538
|
-
const res = await
|
|
1539
|
+
const res = await client.devInspectTransactionBlock({
|
|
1539
1540
|
transactionBlock: tx,
|
|
1540
1541
|
sender: ZERO_ADDRESS,
|
|
1541
1542
|
});
|
|
1542
1543
|
return res;
|
|
1543
1544
|
}
|
|
1544
1545
|
view.borrow = borrow;
|
|
1545
|
-
async function borrowMut(
|
|
1546
|
+
async function borrowMut(client, args, typeArguments) {
|
|
1546
1547
|
const tx = new TransactionBlock();
|
|
1547
1548
|
builder.borrowMut(tx, args, typeArguments);
|
|
1548
|
-
const res = await
|
|
1549
|
+
const res = await client.devInspectTransactionBlock({
|
|
1549
1550
|
transactionBlock: tx,
|
|
1550
1551
|
sender: ZERO_ADDRESS,
|
|
1551
1552
|
});
|
|
1552
1553
|
return res;
|
|
1553
1554
|
}
|
|
1554
1555
|
view.borrowMut = borrowMut;
|
|
1555
|
-
async function chain(
|
|
1556
|
+
async function chain(client, args, typeArguments) {
|
|
1556
1557
|
const tx = new TransactionBlock();
|
|
1557
1558
|
builder.chain(tx, args, typeArguments);
|
|
1558
|
-
const res = await
|
|
1559
|
+
const res = await client.devInspectTransactionBlock({
|
|
1559
1560
|
transactionBlock: tx,
|
|
1560
1561
|
sender: ZERO_ADDRESS,
|
|
1561
1562
|
});
|
|
1562
1563
|
return res;
|
|
1563
1564
|
}
|
|
1564
1565
|
view.chain = chain;
|
|
1565
|
-
async function contains(
|
|
1566
|
+
async function contains(client, args, typeArguments) {
|
|
1566
1567
|
const tx = new TransactionBlock();
|
|
1567
1568
|
builder.contains(tx, args, typeArguments);
|
|
1568
|
-
const res = await
|
|
1569
|
+
const res = await client.devInspectTransactionBlock({
|
|
1569
1570
|
transactionBlock: tx,
|
|
1570
1571
|
sender: ZERO_ADDRESS,
|
|
1571
1572
|
});
|
|
1572
1573
|
return res;
|
|
1573
1574
|
}
|
|
1574
1575
|
view.contains = contains;
|
|
1575
|
-
async function delete_(
|
|
1576
|
+
async function delete_(client, args, typeArguments) {
|
|
1576
1577
|
const tx = new TransactionBlock();
|
|
1577
1578
|
builder.delete_(tx, args, typeArguments);
|
|
1578
|
-
const res = await
|
|
1579
|
+
const res = await client.devInspectTransactionBlock({
|
|
1579
1580
|
transactionBlock: tx,
|
|
1580
1581
|
sender: ZERO_ADDRESS,
|
|
1581
1582
|
});
|
|
1582
1583
|
return res;
|
|
1583
1584
|
}
|
|
1584
1585
|
view.delete_ = delete_;
|
|
1585
|
-
async function first(
|
|
1586
|
+
async function first(client, args, typeArguments) {
|
|
1586
1587
|
const tx = new TransactionBlock();
|
|
1587
1588
|
builder.first(tx, args, typeArguments);
|
|
1588
|
-
const res = await
|
|
1589
|
+
const res = await client.devInspectTransactionBlock({
|
|
1589
1590
|
transactionBlock: tx,
|
|
1590
1591
|
sender: ZERO_ADDRESS,
|
|
1591
1592
|
});
|
|
1592
1593
|
return res;
|
|
1593
1594
|
}
|
|
1594
1595
|
view.first = first;
|
|
1595
|
-
async function isEmpty(
|
|
1596
|
+
async function isEmpty(client, args, typeArguments) {
|
|
1596
1597
|
const tx = new TransactionBlock();
|
|
1597
1598
|
builder.isEmpty(tx, args, typeArguments);
|
|
1598
|
-
const res = await
|
|
1599
|
+
const res = await client.devInspectTransactionBlock({
|
|
1599
1600
|
transactionBlock: tx,
|
|
1600
1601
|
sender: ZERO_ADDRESS,
|
|
1601
1602
|
});
|
|
1602
1603
|
return res;
|
|
1603
1604
|
}
|
|
1604
1605
|
view.isEmpty = isEmpty;
|
|
1605
|
-
async function last(
|
|
1606
|
+
async function last(client, args, typeArguments) {
|
|
1606
1607
|
const tx = new TransactionBlock();
|
|
1607
1608
|
builder.last(tx, args, typeArguments);
|
|
1608
|
-
const res = await
|
|
1609
|
+
const res = await client.devInspectTransactionBlock({
|
|
1609
1610
|
transactionBlock: tx,
|
|
1610
1611
|
sender: ZERO_ADDRESS,
|
|
1611
1612
|
});
|
|
1612
1613
|
return res;
|
|
1613
1614
|
}
|
|
1614
1615
|
view.last = last;
|
|
1615
|
-
async function length(
|
|
1616
|
+
async function length(client, args, typeArguments) {
|
|
1616
1617
|
const tx = new TransactionBlock();
|
|
1617
1618
|
builder.length(tx, args, typeArguments);
|
|
1618
|
-
const res = await
|
|
1619
|
+
const res = await client.devInspectTransactionBlock({
|
|
1619
1620
|
transactionBlock: tx,
|
|
1620
1621
|
sender: ZERO_ADDRESS,
|
|
1621
1622
|
});
|
|
1622
1623
|
return res;
|
|
1623
1624
|
}
|
|
1624
1625
|
view.length = length;
|
|
1625
|
-
async function new_(
|
|
1626
|
+
async function new_(client, args, typeArguments) {
|
|
1626
1627
|
const tx = new TransactionBlock();
|
|
1627
1628
|
builder.new_(tx, args, typeArguments);
|
|
1628
|
-
const res = await
|
|
1629
|
+
const res = await client.devInspectTransactionBlock({
|
|
1629
1630
|
transactionBlock: tx,
|
|
1630
1631
|
sender: ZERO_ADDRESS,
|
|
1631
1632
|
});
|
|
1632
1633
|
return res;
|
|
1633
1634
|
}
|
|
1634
1635
|
view.new_ = new_;
|
|
1635
|
-
async function newNode(
|
|
1636
|
+
async function newNode(client, args, typeArguments) {
|
|
1636
1637
|
const tx = new TransactionBlock();
|
|
1637
1638
|
builder.newNode(tx, args, typeArguments);
|
|
1638
|
-
const res = await
|
|
1639
|
+
const res = await client.devInspectTransactionBlock({
|
|
1639
1640
|
transactionBlock: tx,
|
|
1640
1641
|
sender: ZERO_ADDRESS,
|
|
1641
1642
|
});
|
|
1642
1643
|
return res;
|
|
1643
1644
|
}
|
|
1644
1645
|
view.newNode = newNode;
|
|
1645
|
-
async function next(
|
|
1646
|
+
async function next(client, args, typeArguments) {
|
|
1646
1647
|
const tx = new TransactionBlock();
|
|
1647
1648
|
builder.next(tx, args, typeArguments);
|
|
1648
|
-
const res = await
|
|
1649
|
+
const res = await client.devInspectTransactionBlock({
|
|
1649
1650
|
transactionBlock: tx,
|
|
1650
1651
|
sender: ZERO_ADDRESS,
|
|
1651
1652
|
});
|
|
1652
1653
|
return res;
|
|
1653
1654
|
}
|
|
1654
1655
|
view.next = next;
|
|
1655
|
-
async function popBack(
|
|
1656
|
+
async function popBack(client, args, typeArguments) {
|
|
1656
1657
|
const tx = new TransactionBlock();
|
|
1657
1658
|
builder.popBack(tx, args, typeArguments);
|
|
1658
|
-
const res = await
|
|
1659
|
+
const res = await client.devInspectTransactionBlock({
|
|
1659
1660
|
transactionBlock: tx,
|
|
1660
1661
|
sender: ZERO_ADDRESS,
|
|
1661
1662
|
});
|
|
1662
1663
|
return res;
|
|
1663
1664
|
}
|
|
1664
1665
|
view.popBack = popBack;
|
|
1665
|
-
async function popFront(
|
|
1666
|
+
async function popFront(client, args, typeArguments) {
|
|
1666
1667
|
const tx = new TransactionBlock();
|
|
1667
1668
|
builder.popFront(tx, args, typeArguments);
|
|
1668
|
-
const res = await
|
|
1669
|
+
const res = await client.devInspectTransactionBlock({
|
|
1669
1670
|
transactionBlock: tx,
|
|
1670
1671
|
sender: ZERO_ADDRESS,
|
|
1671
1672
|
});
|
|
1672
1673
|
return res;
|
|
1673
1674
|
}
|
|
1674
1675
|
view.popFront = popFront;
|
|
1675
|
-
async function popNode(
|
|
1676
|
+
async function popNode(client, args, typeArguments) {
|
|
1676
1677
|
const tx = new TransactionBlock();
|
|
1677
1678
|
builder.popNode(tx, args, typeArguments);
|
|
1678
|
-
const res = await
|
|
1679
|
+
const res = await client.devInspectTransactionBlock({
|
|
1679
1680
|
transactionBlock: tx,
|
|
1680
1681
|
sender: ZERO_ADDRESS,
|
|
1681
1682
|
});
|
|
1682
1683
|
return res;
|
|
1683
1684
|
}
|
|
1684
1685
|
view.popNode = popNode;
|
|
1685
|
-
async function prepareNode(
|
|
1686
|
+
async function prepareNode(client, args, typeArguments) {
|
|
1686
1687
|
const tx = new TransactionBlock();
|
|
1687
1688
|
builder.prepareNode(tx, args, typeArguments);
|
|
1688
|
-
const res = await
|
|
1689
|
+
const res = await client.devInspectTransactionBlock({
|
|
1689
1690
|
transactionBlock: tx,
|
|
1690
1691
|
sender: ZERO_ADDRESS,
|
|
1691
1692
|
});
|
|
1692
1693
|
return res;
|
|
1693
1694
|
}
|
|
1694
1695
|
view.prepareNode = prepareNode;
|
|
1695
|
-
async function prev(
|
|
1696
|
+
async function prev(client, args, typeArguments) {
|
|
1696
1697
|
const tx = new TransactionBlock();
|
|
1697
1698
|
builder.prev(tx, args, typeArguments);
|
|
1698
|
-
const res = await
|
|
1699
|
+
const res = await client.devInspectTransactionBlock({
|
|
1699
1700
|
transactionBlock: tx,
|
|
1700
1701
|
sender: ZERO_ADDRESS,
|
|
1701
1702
|
});
|
|
1702
1703
|
return res;
|
|
1703
1704
|
}
|
|
1704
1705
|
view.prev = prev;
|
|
1705
|
-
async function pushBack(
|
|
1706
|
+
async function pushBack(client, args, typeArguments) {
|
|
1706
1707
|
const tx = new TransactionBlock();
|
|
1707
1708
|
builder.pushBack(tx, args, typeArguments);
|
|
1708
|
-
const res = await
|
|
1709
|
+
const res = await client.devInspectTransactionBlock({
|
|
1709
1710
|
transactionBlock: tx,
|
|
1710
1711
|
sender: ZERO_ADDRESS,
|
|
1711
1712
|
});
|
|
1712
1713
|
return res;
|
|
1713
1714
|
}
|
|
1714
1715
|
view.pushBack = pushBack;
|
|
1715
|
-
async function pushFront(
|
|
1716
|
+
async function pushFront(client, args, typeArguments) {
|
|
1716
1717
|
const tx = new TransactionBlock();
|
|
1717
1718
|
builder.pushFront(tx, args, typeArguments);
|
|
1718
|
-
const res = await
|
|
1719
|
+
const res = await client.devInspectTransactionBlock({
|
|
1719
1720
|
transactionBlock: tx,
|
|
1720
1721
|
sender: ZERO_ADDRESS,
|
|
1721
1722
|
});
|
|
1722
1723
|
return res;
|
|
1723
1724
|
}
|
|
1724
1725
|
view.pushFront = pushFront;
|
|
1725
|
-
async function pushNode(
|
|
1726
|
+
async function pushNode(client, args, typeArguments) {
|
|
1726
1727
|
const tx = new TransactionBlock();
|
|
1727
1728
|
builder.pushNode(tx, args, typeArguments);
|
|
1728
|
-
const res = await
|
|
1729
|
+
const res = await client.devInspectTransactionBlock({
|
|
1729
1730
|
transactionBlock: tx,
|
|
1730
1731
|
sender: ZERO_ADDRESS,
|
|
1731
1732
|
});
|
|
1732
1733
|
return res;
|
|
1733
1734
|
}
|
|
1734
1735
|
view.pushNode = pushNode;
|
|
1735
|
-
async function putBack(
|
|
1736
|
+
async function putBack(client, args, typeArguments) {
|
|
1736
1737
|
const tx = new TransactionBlock();
|
|
1737
1738
|
builder.putBack(tx, args, typeArguments);
|
|
1738
|
-
const res = await
|
|
1739
|
+
const res = await client.devInspectTransactionBlock({
|
|
1739
1740
|
transactionBlock: tx,
|
|
1740
1741
|
sender: ZERO_ADDRESS,
|
|
1741
1742
|
});
|
|
1742
1743
|
return res;
|
|
1743
1744
|
}
|
|
1744
1745
|
view.putBack = putBack;
|
|
1745
|
-
async function putFront(
|
|
1746
|
+
async function putFront(client, args, typeArguments) {
|
|
1746
1747
|
const tx = new TransactionBlock();
|
|
1747
1748
|
builder.putFront(tx, args, typeArguments);
|
|
1748
|
-
const res = await
|
|
1749
|
+
const res = await client.devInspectTransactionBlock({
|
|
1749
1750
|
transactionBlock: tx,
|
|
1750
1751
|
sender: ZERO_ADDRESS,
|
|
1751
1752
|
});
|
|
1752
1753
|
return res;
|
|
1753
1754
|
}
|
|
1754
1755
|
view.putFront = putFront;
|
|
1755
|
-
async function putNode(
|
|
1756
|
+
async function putNode(client, args, typeArguments) {
|
|
1756
1757
|
const tx = new TransactionBlock();
|
|
1757
1758
|
builder.putNode(tx, args, typeArguments);
|
|
1758
|
-
const res = await
|
|
1759
|
+
const res = await client.devInspectTransactionBlock({
|
|
1759
1760
|
transactionBlock: tx,
|
|
1760
1761
|
sender: ZERO_ADDRESS,
|
|
1761
1762
|
});
|
|
1762
1763
|
return res;
|
|
1763
1764
|
}
|
|
1764
1765
|
view.putNode = putNode;
|
|
1765
|
-
async function remove(
|
|
1766
|
+
async function remove(client, args, typeArguments) {
|
|
1766
1767
|
const tx = new TransactionBlock();
|
|
1767
1768
|
builder.remove(tx, args, typeArguments);
|
|
1768
|
-
const res = await
|
|
1769
|
+
const res = await client.devInspectTransactionBlock({
|
|
1769
1770
|
transactionBlock: tx,
|
|
1770
1771
|
sender: ZERO_ADDRESS,
|
|
1771
1772
|
});
|
|
1772
1773
|
return res;
|
|
1773
1774
|
}
|
|
1774
1775
|
view.remove = remove;
|
|
1775
|
-
async function takeBack(
|
|
1776
|
+
async function takeBack(client, args, typeArguments) {
|
|
1776
1777
|
const tx = new TransactionBlock();
|
|
1777
1778
|
builder.takeBack(tx, args, typeArguments);
|
|
1778
|
-
const res = await
|
|
1779
|
+
const res = await client.devInspectTransactionBlock({
|
|
1779
1780
|
transactionBlock: tx,
|
|
1780
1781
|
sender: ZERO_ADDRESS,
|
|
1781
1782
|
});
|
|
1782
1783
|
return res;
|
|
1783
1784
|
}
|
|
1784
1785
|
view.takeBack = takeBack;
|
|
1785
|
-
async function takeFront(
|
|
1786
|
+
async function takeFront(client, args, typeArguments) {
|
|
1786
1787
|
const tx = new TransactionBlock();
|
|
1787
1788
|
builder.takeFront(tx, args, typeArguments);
|
|
1788
|
-
const res = await
|
|
1789
|
+
const res = await client.devInspectTransactionBlock({
|
|
1789
1790
|
transactionBlock: tx,
|
|
1790
1791
|
sender: ZERO_ADDRESS,
|
|
1791
1792
|
});
|
|
1792
1793
|
return res;
|
|
1793
1794
|
}
|
|
1794
1795
|
view.takeFront = takeFront;
|
|
1795
|
-
async function takeNode(
|
|
1796
|
+
async function takeNode(client, args, typeArguments) {
|
|
1796
1797
|
const tx = new TransactionBlock();
|
|
1797
1798
|
builder.takeNode(tx, args, typeArguments);
|
|
1798
|
-
const res = await
|
|
1799
|
+
const res = await client.devInspectTransactionBlock({
|
|
1799
1800
|
transactionBlock: tx,
|
|
1800
1801
|
sender: ZERO_ADDRESS,
|
|
1801
1802
|
});
|
|
@@ -3150,360 +3151,360 @@ export var single_collateral;
|
|
|
3150
3151
|
})(builder = single_collateral.builder || (single_collateral.builder = {}));
|
|
3151
3152
|
let view;
|
|
3152
3153
|
(function (view) {
|
|
3153
|
-
async function addAuthorizedUser(
|
|
3154
|
+
async function addAuthorizedUser(client, args) {
|
|
3154
3155
|
const tx = new TransactionBlock();
|
|
3155
3156
|
builder.addAuthorizedUser(tx, args);
|
|
3156
|
-
const res = await
|
|
3157
|
+
const res = await client.devInspectTransactionBlock({
|
|
3157
3158
|
transactionBlock: tx,
|
|
3158
3159
|
sender: ZERO_ADDRESS,
|
|
3159
3160
|
});
|
|
3160
3161
|
return res;
|
|
3161
3162
|
}
|
|
3162
3163
|
view.addAuthorizedUser = addAuthorizedUser;
|
|
3163
|
-
async function addPortfolioVaultAuthorizedUser(
|
|
3164
|
+
async function addPortfolioVaultAuthorizedUser(client, args, typeArguments) {
|
|
3164
3165
|
const tx = new TransactionBlock();
|
|
3165
3166
|
builder.addPortfolioVaultAuthorizedUser(tx, args, typeArguments);
|
|
3166
|
-
const res = await
|
|
3167
|
+
const res = await client.devInspectTransactionBlock({
|
|
3167
3168
|
transactionBlock: tx,
|
|
3168
3169
|
sender: ZERO_ADDRESS,
|
|
3169
3170
|
});
|
|
3170
3171
|
return res;
|
|
3171
3172
|
}
|
|
3172
3173
|
view.addPortfolioVaultAuthorizedUser = addPortfolioVaultAuthorizedUser;
|
|
3173
|
-
async function authorizedAddPortfolioVaultAuthorizedUser(
|
|
3174
|
+
async function authorizedAddPortfolioVaultAuthorizedUser(client, args, typeArguments) {
|
|
3174
3175
|
const tx = new TransactionBlock();
|
|
3175
3176
|
builder.authorizedAddPortfolioVaultAuthorizedUser(tx, args, typeArguments);
|
|
3176
|
-
const res = await
|
|
3177
|
+
const res = await client.devInspectTransactionBlock({
|
|
3177
3178
|
transactionBlock: tx,
|
|
3178
3179
|
sender: ZERO_ADDRESS,
|
|
3179
3180
|
});
|
|
3180
3181
|
return res;
|
|
3181
3182
|
}
|
|
3182
3183
|
view.authorizedAddPortfolioVaultAuthorizedUser = authorizedAddPortfolioVaultAuthorizedUser;
|
|
3183
|
-
async function authorizedDelivery(
|
|
3184
|
+
async function authorizedDelivery(client, args, typeArguments) {
|
|
3184
3185
|
const tx = new TransactionBlock();
|
|
3185
3186
|
builder.authorizedDelivery(tx, args, typeArguments);
|
|
3186
|
-
const res = await
|
|
3187
|
+
const res = await client.devInspectTransactionBlock({
|
|
3187
3188
|
transactionBlock: tx,
|
|
3188
3189
|
sender: ZERO_ADDRESS,
|
|
3189
3190
|
});
|
|
3190
3191
|
return res;
|
|
3191
3192
|
}
|
|
3192
3193
|
view.authorizedDelivery = authorizedDelivery;
|
|
3193
|
-
async function authorizedNewPortfolioVault(
|
|
3194
|
+
async function authorizedNewPortfolioVault(client, args, typeArguments) {
|
|
3194
3195
|
const tx = new TransactionBlock();
|
|
3195
3196
|
builder.authorizedNewPortfolioVault(tx, args, typeArguments);
|
|
3196
|
-
const res = await
|
|
3197
|
+
const res = await client.devInspectTransactionBlock({
|
|
3197
3198
|
transactionBlock: tx,
|
|
3198
3199
|
sender: ZERO_ADDRESS,
|
|
3199
3200
|
});
|
|
3200
3201
|
return res;
|
|
3201
3202
|
}
|
|
3202
3203
|
view.authorizedNewPortfolioVault = authorizedNewPortfolioVault;
|
|
3203
|
-
async function authorizedRemovePortfolioVaultAuthorizedUser(
|
|
3204
|
+
async function authorizedRemovePortfolioVaultAuthorizedUser(client, args, typeArguments) {
|
|
3204
3205
|
const tx = new TransactionBlock();
|
|
3205
3206
|
builder.authorizedRemovePortfolioVaultAuthorizedUser(tx, args, typeArguments);
|
|
3206
|
-
const res = await
|
|
3207
|
+
const res = await client.devInspectTransactionBlock({
|
|
3207
3208
|
transactionBlock: tx,
|
|
3208
3209
|
sender: ZERO_ADDRESS,
|
|
3209
3210
|
});
|
|
3210
3211
|
return res;
|
|
3211
3212
|
}
|
|
3212
3213
|
view.authorizedRemovePortfolioVaultAuthorizedUser = authorizedRemovePortfolioVaultAuthorizedUser;
|
|
3213
|
-
async function authorizedUpdateCapacity(
|
|
3214
|
+
async function authorizedUpdateCapacity(client, args, typeArguments) {
|
|
3214
3215
|
const tx = new TransactionBlock();
|
|
3215
3216
|
builder.authorizedUpdateCapacity(tx, args, typeArguments);
|
|
3216
|
-
const res = await
|
|
3217
|
+
const res = await client.devInspectTransactionBlock({
|
|
3217
3218
|
transactionBlock: tx,
|
|
3218
3219
|
sender: ZERO_ADDRESS,
|
|
3219
3220
|
});
|
|
3220
3221
|
return res;
|
|
3221
3222
|
}
|
|
3222
3223
|
view.authorizedUpdateCapacity = authorizedUpdateCapacity;
|
|
3223
|
-
async function authorizedUpdateUpcomingVaultConfig(
|
|
3224
|
+
async function authorizedUpdateUpcomingVaultConfig(client, args, typeArguments) {
|
|
3224
3225
|
const tx = new TransactionBlock();
|
|
3225
3226
|
builder.authorizedUpdateUpcomingVaultConfig(tx, args, typeArguments);
|
|
3226
|
-
const res = await
|
|
3227
|
+
const res = await client.devInspectTransactionBlock({
|
|
3227
3228
|
transactionBlock: tx,
|
|
3228
3229
|
sender: ZERO_ADDRESS,
|
|
3229
3230
|
});
|
|
3230
3231
|
return res;
|
|
3231
3232
|
}
|
|
3232
3233
|
view.authorizedUpdateUpcomingVaultConfig = authorizedUpdateUpcomingVaultConfig;
|
|
3233
|
-
async function authorizedUpdateWarmupVaultConfig(
|
|
3234
|
+
async function authorizedUpdateWarmupVaultConfig(client, args, typeArguments) {
|
|
3234
3235
|
const tx = new TransactionBlock();
|
|
3235
3236
|
builder.authorizedUpdateWarmupVaultConfig(tx, args, typeArguments);
|
|
3236
|
-
const res = await
|
|
3237
|
+
const res = await client.devInspectTransactionBlock({
|
|
3237
3238
|
transactionBlock: tx,
|
|
3238
3239
|
sender: ZERO_ADDRESS,
|
|
3239
3240
|
});
|
|
3240
3241
|
return res;
|
|
3241
3242
|
}
|
|
3242
3243
|
view.authorizedUpdateWarmupVaultConfig = authorizedUpdateWarmupVaultConfig;
|
|
3243
|
-
async function claim(
|
|
3244
|
+
async function claim(client, args, typeArguments) {
|
|
3244
3245
|
const tx = new TransactionBlock();
|
|
3245
3246
|
builder.claim(tx, args, typeArguments);
|
|
3246
|
-
const res = await
|
|
3247
|
+
const res = await client.devInspectTransactionBlock({
|
|
3247
3248
|
transactionBlock: tx,
|
|
3248
3249
|
sender: ZERO_ADDRESS,
|
|
3249
3250
|
});
|
|
3250
3251
|
return res;
|
|
3251
3252
|
}
|
|
3252
3253
|
view.claim = claim;
|
|
3253
|
-
async function claimAndHarvest(
|
|
3254
|
+
async function claimAndHarvest(client, args, typeArguments) {
|
|
3254
3255
|
const tx = new TransactionBlock();
|
|
3255
3256
|
builder.claimAndHarvest(tx, args, typeArguments);
|
|
3256
|
-
const res = await
|
|
3257
|
+
const res = await client.devInspectTransactionBlock({
|
|
3257
3258
|
transactionBlock: tx,
|
|
3258
3259
|
sender: ZERO_ADDRESS,
|
|
3259
3260
|
});
|
|
3260
3261
|
return res;
|
|
3261
3262
|
}
|
|
3262
3263
|
view.claimAndHarvest = claimAndHarvest;
|
|
3263
|
-
async function close(
|
|
3264
|
+
async function close(client, args, typeArguments) {
|
|
3264
3265
|
const tx = new TransactionBlock();
|
|
3265
3266
|
builder.close(tx, args, typeArguments);
|
|
3266
|
-
const res = await
|
|
3267
|
+
const res = await client.devInspectTransactionBlock({
|
|
3267
3268
|
transactionBlock: tx,
|
|
3268
3269
|
sender: ZERO_ADDRESS,
|
|
3269
3270
|
});
|
|
3270
3271
|
return res;
|
|
3271
3272
|
}
|
|
3272
3273
|
view.close = close;
|
|
3273
|
-
async function compound(
|
|
3274
|
+
async function compound(client, args, typeArguments) {
|
|
3274
3275
|
const tx = new TransactionBlock();
|
|
3275
3276
|
builder.compound(tx, args, typeArguments);
|
|
3276
|
-
const res = await
|
|
3277
|
+
const res = await client.devInspectTransactionBlock({
|
|
3277
3278
|
transactionBlock: tx,
|
|
3278
3279
|
sender: ZERO_ADDRESS,
|
|
3279
3280
|
});
|
|
3280
3281
|
return res;
|
|
3281
3282
|
}
|
|
3282
3283
|
view.compound = compound;
|
|
3283
|
-
async function delivery(
|
|
3284
|
+
async function delivery(client, args, typeArguments) {
|
|
3284
3285
|
const tx = new TransactionBlock();
|
|
3285
3286
|
builder.delivery(tx, args, typeArguments);
|
|
3286
|
-
const res = await
|
|
3287
|
+
const res = await client.devInspectTransactionBlock({
|
|
3287
3288
|
transactionBlock: tx,
|
|
3288
3289
|
sender: ZERO_ADDRESS,
|
|
3289
3290
|
});
|
|
3290
3291
|
return res;
|
|
3291
3292
|
}
|
|
3292
3293
|
view.delivery = delivery;
|
|
3293
|
-
async function deposit(
|
|
3294
|
+
async function deposit(client, args, typeArguments) {
|
|
3294
3295
|
const tx = new TransactionBlock();
|
|
3295
3296
|
builder.deposit(tx, args, typeArguments);
|
|
3296
|
-
const res = await
|
|
3297
|
+
const res = await client.devInspectTransactionBlock({
|
|
3297
3298
|
transactionBlock: tx,
|
|
3298
3299
|
sender: ZERO_ADDRESS,
|
|
3299
3300
|
});
|
|
3300
3301
|
return res;
|
|
3301
3302
|
}
|
|
3302
3303
|
view.deposit = deposit;
|
|
3303
|
-
async function evolution(
|
|
3304
|
+
async function evolution(client, args, typeArguments) {
|
|
3304
3305
|
const tx = new TransactionBlock();
|
|
3305
3306
|
builder.evolution(tx, args, typeArguments);
|
|
3306
|
-
const res = await
|
|
3307
|
+
const res = await client.devInspectTransactionBlock({
|
|
3307
3308
|
transactionBlock: tx,
|
|
3308
3309
|
sender: ZERO_ADDRESS,
|
|
3309
3310
|
});
|
|
3310
3311
|
return res;
|
|
3311
3312
|
}
|
|
3312
3313
|
view.evolution = evolution;
|
|
3313
|
-
async function getAuctionMaxSize(
|
|
3314
|
+
async function getAuctionMaxSize(client, args, typeArguments) {
|
|
3314
3315
|
const tx = new TransactionBlock();
|
|
3315
3316
|
builder.getAuctionMaxSize(tx, args, typeArguments);
|
|
3316
|
-
const res = await
|
|
3317
|
+
const res = await client.devInspectTransactionBlock({
|
|
3317
3318
|
transactionBlock: tx,
|
|
3318
3319
|
sender: ZERO_ADDRESS,
|
|
3319
3320
|
});
|
|
3320
3321
|
return res;
|
|
3321
3322
|
}
|
|
3322
3323
|
view.getAuctionMaxSize = getAuctionMaxSize;
|
|
3323
|
-
async function getMaxLossPerUnit(
|
|
3324
|
+
async function getMaxLossPerUnit(client, args, typeArguments) {
|
|
3324
3325
|
const tx = new TransactionBlock();
|
|
3325
3326
|
builder.getMaxLossPerUnit(tx, args, typeArguments);
|
|
3326
|
-
const res = await
|
|
3327
|
+
const res = await client.devInspectTransactionBlock({
|
|
3327
3328
|
transactionBlock: tx,
|
|
3328
3329
|
sender: ZERO_ADDRESS,
|
|
3329
3330
|
});
|
|
3330
3331
|
return res;
|
|
3331
3332
|
}
|
|
3332
3333
|
view.getMaxLossPerUnit = getMaxLossPerUnit;
|
|
3333
|
-
async function getUserStatus(
|
|
3334
|
+
async function getUserStatus(client, args, typeArguments) {
|
|
3334
3335
|
const tx = new TransactionBlock();
|
|
3335
3336
|
builder.getUserStatus(tx, args, typeArguments);
|
|
3336
|
-
const res = await
|
|
3337
|
+
const res = await client.devInspectTransactionBlock({
|
|
3337
3338
|
transactionBlock: tx,
|
|
3338
3339
|
sender: ZERO_ADDRESS,
|
|
3339
3340
|
});
|
|
3340
3341
|
return res;
|
|
3341
3342
|
}
|
|
3342
3343
|
view.getUserStatus = getUserStatus;
|
|
3343
|
-
async function harvest(
|
|
3344
|
+
async function harvest(client, args, typeArguments) {
|
|
3344
3345
|
const tx = new TransactionBlock();
|
|
3345
3346
|
builder.harvest(tx, args, typeArguments);
|
|
3346
|
-
const res = await
|
|
3347
|
+
const res = await client.devInspectTransactionBlock({
|
|
3347
3348
|
transactionBlock: tx,
|
|
3348
3349
|
sender: ZERO_ADDRESS,
|
|
3349
3350
|
});
|
|
3350
3351
|
return res;
|
|
3351
3352
|
}
|
|
3352
3353
|
view.harvest = harvest;
|
|
3353
|
-
async function newAuction(
|
|
3354
|
+
async function newAuction(client, args, typeArguments) {
|
|
3354
3355
|
const tx = new TransactionBlock();
|
|
3355
3356
|
builder.newAuction(tx, args, typeArguments);
|
|
3356
|
-
const res = await
|
|
3357
|
+
const res = await client.devInspectTransactionBlock({
|
|
3357
3358
|
transactionBlock: tx,
|
|
3358
3359
|
sender: ZERO_ADDRESS,
|
|
3359
3360
|
});
|
|
3360
3361
|
return res;
|
|
3361
3362
|
}
|
|
3362
3363
|
view.newAuction = newAuction;
|
|
3363
|
-
async function newBid(
|
|
3364
|
+
async function newBid(client, args, typeArguments) {
|
|
3364
3365
|
const tx = new TransactionBlock();
|
|
3365
3366
|
builder.newBid(tx, args, typeArguments);
|
|
3366
|
-
const res = await
|
|
3367
|
+
const res = await client.devInspectTransactionBlock({
|
|
3367
3368
|
transactionBlock: tx,
|
|
3368
3369
|
sender: ZERO_ADDRESS,
|
|
3369
3370
|
});
|
|
3370
3371
|
return res;
|
|
3371
3372
|
}
|
|
3372
3373
|
view.newBid = newBid;
|
|
3373
|
-
async function newManager(
|
|
3374
|
+
async function newManager(client, args) {
|
|
3374
3375
|
const tx = new TransactionBlock();
|
|
3375
3376
|
builder.newManager(tx, args);
|
|
3376
|
-
const res = await
|
|
3377
|
+
const res = await client.devInspectTransactionBlock({
|
|
3377
3378
|
transactionBlock: tx,
|
|
3378
3379
|
sender: ZERO_ADDRESS,
|
|
3379
3380
|
});
|
|
3380
3381
|
return res;
|
|
3381
3382
|
}
|
|
3382
3383
|
view.newManager = newManager;
|
|
3383
|
-
async function newPortfolioVault(
|
|
3384
|
+
async function newPortfolioVault(client, args, typeArguments) {
|
|
3384
3385
|
const tx = new TransactionBlock();
|
|
3385
3386
|
builder.newPortfolioVault(tx, args, typeArguments);
|
|
3386
|
-
const res = await
|
|
3387
|
+
const res = await client.devInspectTransactionBlock({
|
|
3387
3388
|
transactionBlock: tx,
|
|
3388
3389
|
sender: ZERO_ADDRESS,
|
|
3389
3390
|
});
|
|
3390
3391
|
return res;
|
|
3391
3392
|
}
|
|
3392
3393
|
view.newPortfolioVault = newPortfolioVault;
|
|
3393
|
-
async function removeAuthorizedUser(
|
|
3394
|
+
async function removeAuthorizedUser(client, args) {
|
|
3394
3395
|
const tx = new TransactionBlock();
|
|
3395
3396
|
builder.removeAuthorizedUser(tx, args);
|
|
3396
|
-
const res = await
|
|
3397
|
+
const res = await client.devInspectTransactionBlock({
|
|
3397
3398
|
transactionBlock: tx,
|
|
3398
3399
|
sender: ZERO_ADDRESS,
|
|
3399
3400
|
});
|
|
3400
3401
|
return res;
|
|
3401
3402
|
}
|
|
3402
3403
|
view.removeAuthorizedUser = removeAuthorizedUser;
|
|
3403
|
-
async function removeManager(
|
|
3404
|
+
async function removeManager(client, args) {
|
|
3404
3405
|
const tx = new TransactionBlock();
|
|
3405
3406
|
builder.removeManager(tx, args);
|
|
3406
|
-
const res = await
|
|
3407
|
+
const res = await client.devInspectTransactionBlock({
|
|
3407
3408
|
transactionBlock: tx,
|
|
3408
3409
|
sender: ZERO_ADDRESS,
|
|
3409
3410
|
});
|
|
3410
3411
|
return res;
|
|
3411
3412
|
}
|
|
3412
3413
|
view.removeManager = removeManager;
|
|
3413
|
-
async function removePortfolioVaultAuthorizedUser(
|
|
3414
|
+
async function removePortfolioVaultAuthorizedUser(client, args, typeArguments) {
|
|
3414
3415
|
const tx = new TransactionBlock();
|
|
3415
3416
|
builder.removePortfolioVaultAuthorizedUser(tx, args, typeArguments);
|
|
3416
|
-
const res = await
|
|
3417
|
+
const res = await client.devInspectTransactionBlock({
|
|
3417
3418
|
transactionBlock: tx,
|
|
3418
3419
|
sender: ZERO_ADDRESS,
|
|
3419
3420
|
});
|
|
3420
3421
|
return res;
|
|
3421
3422
|
}
|
|
3422
3423
|
view.removePortfolioVaultAuthorizedUser = removePortfolioVaultAuthorizedUser;
|
|
3423
|
-
async function terminateAuction(
|
|
3424
|
+
async function terminateAuction(client, args, typeArguments) {
|
|
3424
3425
|
const tx = new TransactionBlock();
|
|
3425
3426
|
builder.terminateAuction(tx, args, typeArguments);
|
|
3426
|
-
const res = await
|
|
3427
|
+
const res = await client.devInspectTransactionBlock({
|
|
3427
3428
|
transactionBlock: tx,
|
|
3428
3429
|
sender: ZERO_ADDRESS,
|
|
3429
3430
|
});
|
|
3430
3431
|
return res;
|
|
3431
3432
|
}
|
|
3432
3433
|
view.terminateAuction = terminateAuction;
|
|
3433
|
-
async function terminateVault(
|
|
3434
|
+
async function terminateVault(client, args, typeArguments) {
|
|
3434
3435
|
const tx = new TransactionBlock();
|
|
3435
3436
|
builder.terminateVault(tx, args, typeArguments);
|
|
3436
|
-
const res = await
|
|
3437
|
+
const res = await client.devInspectTransactionBlock({
|
|
3437
3438
|
transactionBlock: tx,
|
|
3438
3439
|
sender: ZERO_ADDRESS,
|
|
3439
3440
|
});
|
|
3440
3441
|
return res;
|
|
3441
3442
|
}
|
|
3442
3443
|
view.terminateVault = terminateVault;
|
|
3443
|
-
async function unsubscribe(
|
|
3444
|
+
async function unsubscribe(client, args, typeArguments) {
|
|
3444
3445
|
const tx = new TransactionBlock();
|
|
3445
3446
|
builder.unsubscribe(tx, args, typeArguments);
|
|
3446
|
-
const res = await
|
|
3447
|
+
const res = await client.devInspectTransactionBlock({
|
|
3447
3448
|
transactionBlock: tx,
|
|
3448
3449
|
sender: ZERO_ADDRESS,
|
|
3449
3450
|
});
|
|
3450
3451
|
return res;
|
|
3451
3452
|
}
|
|
3452
3453
|
view.unsubscribe = unsubscribe;
|
|
3453
|
-
async function updateActiveVaultConfig(
|
|
3454
|
+
async function updateActiveVaultConfig(client, args, typeArguments) {
|
|
3454
3455
|
const tx = new TransactionBlock();
|
|
3455
3456
|
builder.updateActiveVaultConfig(tx, args, typeArguments);
|
|
3456
|
-
const res = await
|
|
3457
|
+
const res = await client.devInspectTransactionBlock({
|
|
3457
3458
|
transactionBlock: tx,
|
|
3458
3459
|
sender: ZERO_ADDRESS,
|
|
3459
3460
|
});
|
|
3460
3461
|
return res;
|
|
3461
3462
|
}
|
|
3462
3463
|
view.updateActiveVaultConfig = updateActiveVaultConfig;
|
|
3463
|
-
async function updateCapacity(
|
|
3464
|
+
async function updateCapacity(client, args, typeArguments) {
|
|
3464
3465
|
const tx = new TransactionBlock();
|
|
3465
3466
|
builder.updateCapacity(tx, args, typeArguments);
|
|
3466
|
-
const res = await
|
|
3467
|
+
const res = await client.devInspectTransactionBlock({
|
|
3467
3468
|
transactionBlock: tx,
|
|
3468
3469
|
sender: ZERO_ADDRESS,
|
|
3469
3470
|
});
|
|
3470
3471
|
return res;
|
|
3471
3472
|
}
|
|
3472
3473
|
view.updateCapacity = updateCapacity;
|
|
3473
|
-
async function updateRestrictActivationTimePeriod(
|
|
3474
|
+
async function updateRestrictActivationTimePeriod(client, args) {
|
|
3474
3475
|
const tx = new TransactionBlock();
|
|
3475
3476
|
builder.updateRestrictActivationTimePeriod(tx, args);
|
|
3476
|
-
const res = await
|
|
3477
|
+
const res = await client.devInspectTransactionBlock({
|
|
3477
3478
|
transactionBlock: tx,
|
|
3478
3479
|
sender: ZERO_ADDRESS,
|
|
3479
3480
|
});
|
|
3480
3481
|
return res;
|
|
3481
3482
|
}
|
|
3482
3483
|
view.updateRestrictActivationTimePeriod = updateRestrictActivationTimePeriod;
|
|
3483
|
-
async function updateUpcomingVaultConfig(
|
|
3484
|
+
async function updateUpcomingVaultConfig(client, args, typeArguments) {
|
|
3484
3485
|
const tx = new TransactionBlock();
|
|
3485
3486
|
builder.updateUpcomingVaultConfig(tx, args, typeArguments);
|
|
3486
|
-
const res = await
|
|
3487
|
+
const res = await client.devInspectTransactionBlock({
|
|
3487
3488
|
transactionBlock: tx,
|
|
3488
3489
|
sender: ZERO_ADDRESS,
|
|
3489
3490
|
});
|
|
3490
3491
|
return res;
|
|
3491
3492
|
}
|
|
3492
3493
|
view.updateUpcomingVaultConfig = updateUpcomingVaultConfig;
|
|
3493
|
-
async function updateWarmupVaultConfig(
|
|
3494
|
+
async function updateWarmupVaultConfig(client, args, typeArguments) {
|
|
3494
3495
|
const tx = new TransactionBlock();
|
|
3495
3496
|
builder.updateWarmupVaultConfig(tx, args, typeArguments);
|
|
3496
|
-
const res = await
|
|
3497
|
+
const res = await client.devInspectTransactionBlock({
|
|
3497
3498
|
transactionBlock: tx,
|
|
3498
3499
|
sender: ZERO_ADDRESS,
|
|
3499
3500
|
});
|
|
3500
3501
|
return res;
|
|
3501
3502
|
}
|
|
3502
3503
|
view.updateWarmupVaultConfig = updateWarmupVaultConfig;
|
|
3503
|
-
async function withdraw(
|
|
3504
|
+
async function withdraw(client, args, typeArguments) {
|
|
3504
3505
|
const tx = new TransactionBlock();
|
|
3505
3506
|
builder.withdraw(tx, args, typeArguments);
|
|
3506
|
-
const res = await
|
|
3507
|
+
const res = await client.devInspectTransactionBlock({
|
|
3507
3508
|
transactionBlock: tx,
|
|
3508
3509
|
sender: ZERO_ADDRESS,
|
|
3509
3510
|
});
|
|
@@ -3578,40 +3579,40 @@ export var utils;
|
|
|
3578
3579
|
})(builder = utils.builder || (utils.builder = {}));
|
|
3579
3580
|
let view;
|
|
3580
3581
|
(function (view) {
|
|
3581
|
-
async function extractBalance(
|
|
3582
|
+
async function extractBalance(client, args, typeArguments) {
|
|
3582
3583
|
const tx = new TransactionBlock();
|
|
3583
3584
|
builder.extractBalance(tx, args, typeArguments);
|
|
3584
|
-
const res = await
|
|
3585
|
+
const res = await client.devInspectTransactionBlock({
|
|
3585
3586
|
transactionBlock: tx,
|
|
3586
3587
|
sender: ZERO_ADDRESS,
|
|
3587
3588
|
});
|
|
3588
3589
|
return res;
|
|
3589
3590
|
}
|
|
3590
3591
|
view.extractBalance = extractBalance;
|
|
3591
|
-
async function getDateFromTs(
|
|
3592
|
+
async function getDateFromTs(client, args) {
|
|
3592
3593
|
const tx = new TransactionBlock();
|
|
3593
3594
|
builder.getDateFromTs(tx, args);
|
|
3594
|
-
const res = await
|
|
3595
|
+
const res = await client.devInspectTransactionBlock({
|
|
3595
3596
|
transactionBlock: tx,
|
|
3596
3597
|
sender: ZERO_ADDRESS,
|
|
3597
3598
|
});
|
|
3598
3599
|
return res;
|
|
3599
3600
|
}
|
|
3600
3601
|
view.getDateFromTs = getDateFromTs;
|
|
3601
|
-
async function matchTypes(
|
|
3602
|
+
async function matchTypes(client, args, typeArguments) {
|
|
3602
3603
|
const tx = new TransactionBlock();
|
|
3603
3604
|
builder.matchTypes(tx, args, typeArguments);
|
|
3604
|
-
const res = await
|
|
3605
|
+
const res = await client.devInspectTransactionBlock({
|
|
3605
3606
|
transactionBlock: tx,
|
|
3606
3607
|
sender: ZERO_ADDRESS,
|
|
3607
3608
|
});
|
|
3608
3609
|
return res;
|
|
3609
3610
|
}
|
|
3610
3611
|
view.matchTypes = matchTypes;
|
|
3611
|
-
async function multiplier(
|
|
3612
|
+
async function multiplier(client, args) {
|
|
3612
3613
|
const tx = new TransactionBlock();
|
|
3613
3614
|
builder.multiplier(tx, args);
|
|
3614
|
-
const res = await
|
|
3615
|
+
const res = await client.devInspectTransactionBlock({
|
|
3615
3616
|
transactionBlock: tx,
|
|
3616
3617
|
sender: ZERO_ADDRESS,
|
|
3617
3618
|
});
|
|
@@ -4910,550 +4911,550 @@ export var vault;
|
|
|
4910
4911
|
})(builder = vault.builder || (vault.builder = {}));
|
|
4911
4912
|
let view;
|
|
4912
4913
|
(function (view) {
|
|
4913
|
-
async function activate(
|
|
4914
|
+
async function activate(client, args, typeArguments) {
|
|
4914
4915
|
const tx = new TransactionBlock();
|
|
4915
4916
|
builder.activate(tx, args, typeArguments);
|
|
4916
|
-
const res = await
|
|
4917
|
+
const res = await client.devInspectTransactionBlock({
|
|
4917
4918
|
transactionBlock: tx,
|
|
4918
4919
|
sender: ZERO_ADDRESS,
|
|
4919
4920
|
});
|
|
4920
4921
|
return res;
|
|
4921
4922
|
}
|
|
4922
4923
|
view.activate = activate;
|
|
4923
|
-
async function activeBalance(
|
|
4924
|
+
async function activeBalance(client, args, typeArguments) {
|
|
4924
4925
|
const tx = new TransactionBlock();
|
|
4925
4926
|
builder.activeBalance(tx, args, typeArguments);
|
|
4926
|
-
const res = await
|
|
4927
|
+
const res = await client.devInspectTransactionBlock({
|
|
4927
4928
|
transactionBlock: tx,
|
|
4928
4929
|
sender: ZERO_ADDRESS,
|
|
4929
4930
|
});
|
|
4930
4931
|
return res;
|
|
4931
4932
|
}
|
|
4932
4933
|
view.activeBalance = activeBalance;
|
|
4933
|
-
async function activeShareSupply(
|
|
4934
|
+
async function activeShareSupply(client, args, typeArguments) {
|
|
4934
4935
|
const tx = new TransactionBlock();
|
|
4935
4936
|
builder.activeShareSupply(tx, args, typeArguments);
|
|
4936
|
-
const res = await
|
|
4937
|
+
const res = await client.devInspectTransactionBlock({
|
|
4937
4938
|
transactionBlock: tx,
|
|
4938
4939
|
sender: ZERO_ADDRESS,
|
|
4939
4940
|
});
|
|
4940
4941
|
return res;
|
|
4941
4942
|
}
|
|
4942
4943
|
view.activeShareSupply = activeShareSupply;
|
|
4943
|
-
async function activeUserShares(
|
|
4944
|
+
async function activeUserShares(client, args, typeArguments) {
|
|
4944
4945
|
const tx = new TransactionBlock();
|
|
4945
4946
|
builder.activeUserShares(tx, args, typeArguments);
|
|
4946
|
-
const res = await
|
|
4947
|
+
const res = await client.devInspectTransactionBlock({
|
|
4947
4948
|
transactionBlock: tx,
|
|
4948
4949
|
sender: ZERO_ADDRESS,
|
|
4949
4950
|
});
|
|
4950
4951
|
return res;
|
|
4951
4952
|
}
|
|
4952
4953
|
view.activeUserShares = activeUserShares;
|
|
4953
|
-
async function bidderBalance(
|
|
4954
|
+
async function bidderBalance(client, args, typeArguments) {
|
|
4954
4955
|
const tx = new TransactionBlock();
|
|
4955
4956
|
builder.bidderBalance(tx, args, typeArguments);
|
|
4956
|
-
const res = await
|
|
4957
|
+
const res = await client.devInspectTransactionBlock({
|
|
4957
4958
|
transactionBlock: tx,
|
|
4958
4959
|
sender: ZERO_ADDRESS,
|
|
4959
4960
|
});
|
|
4960
4961
|
return res;
|
|
4961
4962
|
}
|
|
4962
4963
|
view.bidderBalance = bidderBalance;
|
|
4963
|
-
async function bidderShareSupply(
|
|
4964
|
+
async function bidderShareSupply(client, args, typeArguments) {
|
|
4964
4965
|
const tx = new TransactionBlock();
|
|
4965
4966
|
builder.bidderShareSupply(tx, args, typeArguments);
|
|
4966
|
-
const res = await
|
|
4967
|
+
const res = await client.devInspectTransactionBlock({
|
|
4967
4968
|
transactionBlock: tx,
|
|
4968
4969
|
sender: ZERO_ADDRESS,
|
|
4969
4970
|
});
|
|
4970
4971
|
return res;
|
|
4971
4972
|
}
|
|
4972
4973
|
view.bidderShareSupply = bidderShareSupply;
|
|
4973
|
-
async function bidderShares(
|
|
4974
|
+
async function bidderShares(client, args, typeArguments) {
|
|
4974
4975
|
const tx = new TransactionBlock();
|
|
4975
4976
|
builder.bidderShares(tx, args, typeArguments);
|
|
4976
|
-
const res = await
|
|
4977
|
+
const res = await client.devInspectTransactionBlock({
|
|
4977
4978
|
transactionBlock: tx,
|
|
4978
4979
|
sender: ZERO_ADDRESS,
|
|
4979
4980
|
});
|
|
4980
4981
|
return res;
|
|
4981
4982
|
}
|
|
4982
4983
|
view.bidderShares = bidderShares;
|
|
4983
|
-
async function claim(
|
|
4984
|
+
async function claim(client, args, typeArguments) {
|
|
4984
4985
|
const tx = new TransactionBlock();
|
|
4985
4986
|
builder.claim(tx, args, typeArguments);
|
|
4986
|
-
const res = await
|
|
4987
|
+
const res = await client.devInspectTransactionBlock({
|
|
4987
4988
|
transactionBlock: tx,
|
|
4988
4989
|
sender: ZERO_ADDRESS,
|
|
4989
4990
|
});
|
|
4990
4991
|
return res;
|
|
4991
4992
|
}
|
|
4992
4993
|
view.claim = claim;
|
|
4993
|
-
async function closeBidVault(
|
|
4994
|
+
async function closeBidVault(client, args, typeArguments) {
|
|
4994
4995
|
const tx = new TransactionBlock();
|
|
4995
4996
|
builder.closeBidVault(tx, args, typeArguments);
|
|
4996
|
-
const res = await
|
|
4997
|
+
const res = await client.devInspectTransactionBlock({
|
|
4997
4998
|
transactionBlock: tx,
|
|
4998
4999
|
sender: ZERO_ADDRESS,
|
|
4999
5000
|
});
|
|
5000
5001
|
return res;
|
|
5001
5002
|
}
|
|
5002
5003
|
view.closeBidVault = closeBidVault;
|
|
5003
|
-
async function closeDepositVault(
|
|
5004
|
+
async function closeDepositVault(client, args, typeArguments) {
|
|
5004
5005
|
const tx = new TransactionBlock();
|
|
5005
5006
|
builder.closeDepositVault(tx, args, typeArguments);
|
|
5006
|
-
const res = await
|
|
5007
|
+
const res = await client.devInspectTransactionBlock({
|
|
5007
5008
|
transactionBlock: tx,
|
|
5008
5009
|
sender: ZERO_ADDRESS,
|
|
5009
5010
|
});
|
|
5010
5011
|
return res;
|
|
5011
5012
|
}
|
|
5012
5013
|
view.closeDepositVault = closeDepositVault;
|
|
5013
|
-
async function compound(
|
|
5014
|
+
async function compound(client, args, typeArguments) {
|
|
5014
5015
|
const tx = new TransactionBlock();
|
|
5015
5016
|
builder.compound(tx, args, typeArguments);
|
|
5016
|
-
const res = await
|
|
5017
|
+
const res = await client.devInspectTransactionBlock({
|
|
5017
5018
|
transactionBlock: tx,
|
|
5018
5019
|
sender: ZERO_ADDRESS,
|
|
5019
5020
|
});
|
|
5020
5021
|
return res;
|
|
5021
5022
|
}
|
|
5022
5023
|
view.compound = compound;
|
|
5023
|
-
async function deactivatingBalance(
|
|
5024
|
+
async function deactivatingBalance(client, args, typeArguments) {
|
|
5024
5025
|
const tx = new TransactionBlock();
|
|
5025
5026
|
builder.deactivatingBalance(tx, args, typeArguments);
|
|
5026
|
-
const res = await
|
|
5027
|
+
const res = await client.devInspectTransactionBlock({
|
|
5027
5028
|
transactionBlock: tx,
|
|
5028
5029
|
sender: ZERO_ADDRESS,
|
|
5029
5030
|
});
|
|
5030
5031
|
return res;
|
|
5031
5032
|
}
|
|
5032
5033
|
view.deactivatingBalance = deactivatingBalance;
|
|
5033
|
-
async function deactivatingShareSupply(
|
|
5034
|
+
async function deactivatingShareSupply(client, args, typeArguments) {
|
|
5034
5035
|
const tx = new TransactionBlock();
|
|
5035
5036
|
builder.deactivatingShareSupply(tx, args, typeArguments);
|
|
5036
|
-
const res = await
|
|
5037
|
+
const res = await client.devInspectTransactionBlock({
|
|
5037
5038
|
transactionBlock: tx,
|
|
5038
5039
|
sender: ZERO_ADDRESS,
|
|
5039
5040
|
});
|
|
5040
5041
|
return res;
|
|
5041
5042
|
}
|
|
5042
5043
|
view.deactivatingShareSupply = deactivatingShareSupply;
|
|
5043
|
-
async function deactivatingUserShares(
|
|
5044
|
+
async function deactivatingUserShares(client, args, typeArguments) {
|
|
5044
5045
|
const tx = new TransactionBlock();
|
|
5045
5046
|
builder.deactivatingUserShares(tx, args, typeArguments);
|
|
5046
|
-
const res = await
|
|
5047
|
+
const res = await client.devInspectTransactionBlock({
|
|
5047
5048
|
transactionBlock: tx,
|
|
5048
5049
|
sender: ZERO_ADDRESS,
|
|
5049
5050
|
});
|
|
5050
5051
|
return res;
|
|
5051
5052
|
}
|
|
5052
5053
|
view.deactivatingUserShares = deactivatingUserShares;
|
|
5053
|
-
async function delivery(
|
|
5054
|
+
async function delivery(client, args, typeArguments) {
|
|
5054
5055
|
const tx = new TransactionBlock();
|
|
5055
5056
|
builder.delivery(tx, args, typeArguments);
|
|
5056
|
-
const res = await
|
|
5057
|
+
const res = await client.devInspectTransactionBlock({
|
|
5057
5058
|
transactionBlock: tx,
|
|
5058
5059
|
sender: ZERO_ADDRESS,
|
|
5059
5060
|
});
|
|
5060
5061
|
return res;
|
|
5061
5062
|
}
|
|
5062
5063
|
view.delivery = delivery;
|
|
5063
|
-
async function deliveryMultiple(
|
|
5064
|
+
async function deliveryMultiple(client, args, typeArguments) {
|
|
5064
5065
|
const tx = new TransactionBlock();
|
|
5065
5066
|
builder.deliveryMultiple(tx, args, typeArguments);
|
|
5066
|
-
const res = await
|
|
5067
|
+
const res = await client.devInspectTransactionBlock({
|
|
5067
5068
|
transactionBlock: tx,
|
|
5068
5069
|
sender: ZERO_ADDRESS,
|
|
5069
5070
|
});
|
|
5070
5071
|
return res;
|
|
5071
5072
|
}
|
|
5072
5073
|
view.deliveryMultiple = deliveryMultiple;
|
|
5073
|
-
async function deposit(
|
|
5074
|
+
async function deposit(client, args, typeArguments) {
|
|
5074
5075
|
const tx = new TransactionBlock();
|
|
5075
5076
|
builder.deposit(tx, args, typeArguments);
|
|
5076
|
-
const res = await
|
|
5077
|
+
const res = await client.devInspectTransactionBlock({
|
|
5077
5078
|
transactionBlock: tx,
|
|
5078
5079
|
sender: ZERO_ADDRESS,
|
|
5079
5080
|
});
|
|
5080
5081
|
return res;
|
|
5081
5082
|
}
|
|
5082
5083
|
view.deposit = deposit;
|
|
5083
|
-
async function getActiveUserShare(
|
|
5084
|
+
async function getActiveUserShare(client, args, typeArguments) {
|
|
5084
5085
|
const tx = new TransactionBlock();
|
|
5085
5086
|
builder.getActiveUserShare(tx, args, typeArguments);
|
|
5086
|
-
const res = await
|
|
5087
|
+
const res = await client.devInspectTransactionBlock({
|
|
5087
5088
|
transactionBlock: tx,
|
|
5088
5089
|
sender: ZERO_ADDRESS,
|
|
5089
5090
|
});
|
|
5090
5091
|
return res;
|
|
5091
5092
|
}
|
|
5092
5093
|
view.getActiveUserShare = getActiveUserShare;
|
|
5093
|
-
async function getBidVaultBalance(
|
|
5094
|
+
async function getBidVaultBalance(client, args, typeArguments) {
|
|
5094
5095
|
const tx = new TransactionBlock();
|
|
5095
5096
|
builder.getBidVaultBalance(tx, args, typeArguments);
|
|
5096
|
-
const res = await
|
|
5097
|
+
const res = await client.devInspectTransactionBlock({
|
|
5097
5098
|
transactionBlock: tx,
|
|
5098
5099
|
sender: ZERO_ADDRESS,
|
|
5099
5100
|
});
|
|
5100
5101
|
return res;
|
|
5101
5102
|
}
|
|
5102
5103
|
view.getBidVaultBalance = getBidVaultBalance;
|
|
5103
|
-
async function getBidVaultShareSupply(
|
|
5104
|
+
async function getBidVaultShareSupply(client, args, typeArguments) {
|
|
5104
5105
|
const tx = new TransactionBlock();
|
|
5105
5106
|
builder.getBidVaultShareSupply(tx, args, typeArguments);
|
|
5106
|
-
const res = await
|
|
5107
|
+
const res = await client.devInspectTransactionBlock({
|
|
5107
5108
|
transactionBlock: tx,
|
|
5108
5109
|
sender: ZERO_ADDRESS,
|
|
5109
5110
|
});
|
|
5110
5111
|
return res;
|
|
5111
5112
|
}
|
|
5112
5113
|
view.getBidVaultShareSupply = getBidVaultShareSupply;
|
|
5113
|
-
async function getBidderUserShare(
|
|
5114
|
+
async function getBidderUserShare(client, args, typeArguments) {
|
|
5114
5115
|
const tx = new TransactionBlock();
|
|
5115
5116
|
builder.getBidderUserShare(tx, args, typeArguments);
|
|
5116
|
-
const res = await
|
|
5117
|
+
const res = await client.devInspectTransactionBlock({
|
|
5117
5118
|
transactionBlock: tx,
|
|
5118
5119
|
sender: ZERO_ADDRESS,
|
|
5119
5120
|
});
|
|
5120
5121
|
return res;
|
|
5121
5122
|
}
|
|
5122
5123
|
view.getBidderUserShare = getBidderUserShare;
|
|
5123
|
-
async function getDeactivatingUserShare(
|
|
5124
|
+
async function getDeactivatingUserShare(client, args, typeArguments) {
|
|
5124
5125
|
const tx = new TransactionBlock();
|
|
5125
5126
|
builder.getDeactivatingUserShare(tx, args, typeArguments);
|
|
5126
|
-
const res = await
|
|
5127
|
+
const res = await client.devInspectTransactionBlock({
|
|
5127
5128
|
transactionBlock: tx,
|
|
5128
5129
|
sender: ZERO_ADDRESS,
|
|
5129
5130
|
});
|
|
5130
5131
|
return res;
|
|
5131
5132
|
}
|
|
5132
5133
|
view.getDeactivatingUserShare = getDeactivatingUserShare;
|
|
5133
|
-
async function getDepositVaultBalance(
|
|
5134
|
+
async function getDepositVaultBalance(client, args, typeArguments) {
|
|
5134
5135
|
const tx = new TransactionBlock();
|
|
5135
5136
|
builder.getDepositVaultBalance(tx, args, typeArguments);
|
|
5136
|
-
const res = await
|
|
5137
|
+
const res = await client.devInspectTransactionBlock({
|
|
5137
5138
|
transactionBlock: tx,
|
|
5138
5139
|
sender: ZERO_ADDRESS,
|
|
5139
5140
|
});
|
|
5140
5141
|
return res;
|
|
5141
5142
|
}
|
|
5142
5143
|
view.getDepositVaultBalance = getDepositVaultBalance;
|
|
5143
|
-
async function getDepositVaultShareSupply(
|
|
5144
|
+
async function getDepositVaultShareSupply(client, args, typeArguments) {
|
|
5144
5145
|
const tx = new TransactionBlock();
|
|
5145
5146
|
builder.getDepositVaultShareSupply(tx, args, typeArguments);
|
|
5146
|
-
const res = await
|
|
5147
|
+
const res = await client.devInspectTransactionBlock({
|
|
5147
5148
|
transactionBlock: tx,
|
|
5148
5149
|
sender: ZERO_ADDRESS,
|
|
5149
5150
|
});
|
|
5150
5151
|
return res;
|
|
5151
5152
|
}
|
|
5152
5153
|
view.getDepositVaultShareSupply = getDepositVaultShareSupply;
|
|
5153
|
-
async function getInactiveUserShare(
|
|
5154
|
+
async function getInactiveUserShare(client, args, typeArguments) {
|
|
5154
5155
|
const tx = new TransactionBlock();
|
|
5155
5156
|
builder.getInactiveUserShare(tx, args, typeArguments);
|
|
5156
|
-
const res = await
|
|
5157
|
+
const res = await client.devInspectTransactionBlock({
|
|
5157
5158
|
transactionBlock: tx,
|
|
5158
5159
|
sender: ZERO_ADDRESS,
|
|
5159
5160
|
});
|
|
5160
5161
|
return res;
|
|
5161
5162
|
}
|
|
5162
5163
|
view.getInactiveUserShare = getInactiveUserShare;
|
|
5163
|
-
async function getPerformanceFeeUserShare(
|
|
5164
|
+
async function getPerformanceFeeUserShare(client, args, typeArguments) {
|
|
5164
5165
|
const tx = new TransactionBlock();
|
|
5165
5166
|
builder.getPerformanceFeeUserShare(tx, args, typeArguments);
|
|
5166
|
-
const res = await
|
|
5167
|
+
const res = await client.devInspectTransactionBlock({
|
|
5167
5168
|
transactionBlock: tx,
|
|
5168
5169
|
sender: ZERO_ADDRESS,
|
|
5169
5170
|
});
|
|
5170
5171
|
return res;
|
|
5171
5172
|
}
|
|
5172
5173
|
view.getPerformanceFeeUserShare = getPerformanceFeeUserShare;
|
|
5173
|
-
async function getPremiumUserShare(
|
|
5174
|
+
async function getPremiumUserShare(client, args, typeArguments) {
|
|
5174
5175
|
const tx = new TransactionBlock();
|
|
5175
5176
|
builder.getPremiumUserShare(tx, args, typeArguments);
|
|
5176
|
-
const res = await
|
|
5177
|
+
const res = await client.devInspectTransactionBlock({
|
|
5177
5178
|
transactionBlock: tx,
|
|
5178
5179
|
sender: ZERO_ADDRESS,
|
|
5179
5180
|
});
|
|
5180
5181
|
return res;
|
|
5181
5182
|
}
|
|
5182
5183
|
view.getPremiumUserShare = getPremiumUserShare;
|
|
5183
|
-
async function getWarmupUserShare(
|
|
5184
|
+
async function getWarmupUserShare(client, args, typeArguments) {
|
|
5184
5185
|
const tx = new TransactionBlock();
|
|
5185
5186
|
builder.getWarmupUserShare(tx, args, typeArguments);
|
|
5186
|
-
const res = await
|
|
5187
|
+
const res = await client.devInspectTransactionBlock({
|
|
5187
5188
|
transactionBlock: tx,
|
|
5188
5189
|
sender: ZERO_ADDRESS,
|
|
5189
5190
|
});
|
|
5190
5191
|
return res;
|
|
5191
5192
|
}
|
|
5192
5193
|
view.getWarmupUserShare = getWarmupUserShare;
|
|
5193
|
-
async function harvest(
|
|
5194
|
+
async function harvest(client, args, typeArguments) {
|
|
5194
5195
|
const tx = new TransactionBlock();
|
|
5195
5196
|
builder.harvest(tx, args, typeArguments);
|
|
5196
|
-
const res = await
|
|
5197
|
+
const res = await client.devInspectTransactionBlock({
|
|
5197
5198
|
transactionBlock: tx,
|
|
5198
5199
|
sender: ZERO_ADDRESS,
|
|
5199
5200
|
});
|
|
5200
5201
|
return res;
|
|
5201
5202
|
}
|
|
5202
5203
|
view.harvest = harvest;
|
|
5203
|
-
async function hasNext(
|
|
5204
|
+
async function hasNext(client, args, typeArguments) {
|
|
5204
5205
|
const tx = new TransactionBlock();
|
|
5205
5206
|
builder.hasNext(tx, args, typeArguments);
|
|
5206
|
-
const res = await
|
|
5207
|
+
const res = await client.devInspectTransactionBlock({
|
|
5207
5208
|
transactionBlock: tx,
|
|
5208
5209
|
sender: ZERO_ADDRESS,
|
|
5209
5210
|
});
|
|
5210
5211
|
return res;
|
|
5211
5212
|
}
|
|
5212
5213
|
view.hasNext = hasNext;
|
|
5213
|
-
async function inactiveBalance(
|
|
5214
|
+
async function inactiveBalance(client, args, typeArguments) {
|
|
5214
5215
|
const tx = new TransactionBlock();
|
|
5215
5216
|
builder.inactiveBalance(tx, args, typeArguments);
|
|
5216
|
-
const res = await
|
|
5217
|
+
const res = await client.devInspectTransactionBlock({
|
|
5217
5218
|
transactionBlock: tx,
|
|
5218
5219
|
sender: ZERO_ADDRESS,
|
|
5219
5220
|
});
|
|
5220
5221
|
return res;
|
|
5221
5222
|
}
|
|
5222
5223
|
view.inactiveBalance = inactiveBalance;
|
|
5223
|
-
async function inactiveShareSupply(
|
|
5224
|
+
async function inactiveShareSupply(client, args, typeArguments) {
|
|
5224
5225
|
const tx = new TransactionBlock();
|
|
5225
5226
|
builder.inactiveShareSupply(tx, args, typeArguments);
|
|
5226
|
-
const res = await
|
|
5227
|
+
const res = await client.devInspectTransactionBlock({
|
|
5227
5228
|
transactionBlock: tx,
|
|
5228
5229
|
sender: ZERO_ADDRESS,
|
|
5229
5230
|
});
|
|
5230
5231
|
return res;
|
|
5231
5232
|
}
|
|
5232
5233
|
view.inactiveShareSupply = inactiveShareSupply;
|
|
5233
|
-
async function inactiveUserShares(
|
|
5234
|
+
async function inactiveUserShares(client, args, typeArguments) {
|
|
5234
5235
|
const tx = new TransactionBlock();
|
|
5235
5236
|
builder.inactiveUserShares(tx, args, typeArguments);
|
|
5236
|
-
const res = await
|
|
5237
|
+
const res = await client.devInspectTransactionBlock({
|
|
5237
5238
|
transactionBlock: tx,
|
|
5238
5239
|
sender: ZERO_ADDRESS,
|
|
5239
5240
|
});
|
|
5240
5241
|
return res;
|
|
5241
5242
|
}
|
|
5242
5243
|
view.inactiveUserShares = inactiveUserShares;
|
|
5243
|
-
async function isActiveUser(
|
|
5244
|
+
async function isActiveUser(client, args, typeArguments) {
|
|
5244
5245
|
const tx = new TransactionBlock();
|
|
5245
5246
|
builder.isActiveUser(tx, args, typeArguments);
|
|
5246
|
-
const res = await
|
|
5247
|
+
const res = await client.devInspectTransactionBlock({
|
|
5247
5248
|
transactionBlock: tx,
|
|
5248
5249
|
sender: ZERO_ADDRESS,
|
|
5249
5250
|
});
|
|
5250
5251
|
return res;
|
|
5251
5252
|
}
|
|
5252
5253
|
view.isActiveUser = isActiveUser;
|
|
5253
|
-
async function isDeactivatingUser(
|
|
5254
|
+
async function isDeactivatingUser(client, args, typeArguments) {
|
|
5254
5255
|
const tx = new TransactionBlock();
|
|
5255
5256
|
builder.isDeactivatingUser(tx, args, typeArguments);
|
|
5256
|
-
const res = await
|
|
5257
|
+
const res = await client.devInspectTransactionBlock({
|
|
5257
5258
|
transactionBlock: tx,
|
|
5258
5259
|
sender: ZERO_ADDRESS,
|
|
5259
5260
|
});
|
|
5260
5261
|
return res;
|
|
5261
5262
|
}
|
|
5262
5263
|
view.isDeactivatingUser = isDeactivatingUser;
|
|
5263
|
-
async function isInactiveUser(
|
|
5264
|
+
async function isInactiveUser(client, args, typeArguments) {
|
|
5264
5265
|
const tx = new TransactionBlock();
|
|
5265
5266
|
builder.isInactiveUser(tx, args, typeArguments);
|
|
5266
|
-
const res = await
|
|
5267
|
+
const res = await client.devInspectTransactionBlock({
|
|
5267
5268
|
transactionBlock: tx,
|
|
5268
5269
|
sender: ZERO_ADDRESS,
|
|
5269
5270
|
});
|
|
5270
5271
|
return res;
|
|
5271
5272
|
}
|
|
5272
5273
|
view.isInactiveUser = isInactiveUser;
|
|
5273
|
-
async function isWarmupUser(
|
|
5274
|
+
async function isWarmupUser(client, args, typeArguments) {
|
|
5274
5275
|
const tx = new TransactionBlock();
|
|
5275
5276
|
builder.isWarmupUser(tx, args, typeArguments);
|
|
5276
|
-
const res = await
|
|
5277
|
+
const res = await client.devInspectTransactionBlock({
|
|
5277
5278
|
transactionBlock: tx,
|
|
5278
5279
|
sender: ZERO_ADDRESS,
|
|
5279
5280
|
});
|
|
5280
5281
|
return res;
|
|
5281
5282
|
}
|
|
5282
5283
|
view.isWarmupUser = isWarmupUser;
|
|
5283
|
-
async function newBidVault(
|
|
5284
|
+
async function newBidVault(client, args, typeArguments) {
|
|
5284
5285
|
const tx = new TransactionBlock();
|
|
5285
5286
|
builder.newBidVault(tx, args, typeArguments);
|
|
5286
|
-
const res = await
|
|
5287
|
+
const res = await client.devInspectTransactionBlock({
|
|
5287
5288
|
transactionBlock: tx,
|
|
5288
5289
|
sender: ZERO_ADDRESS,
|
|
5289
5290
|
});
|
|
5290
5291
|
return res;
|
|
5291
5292
|
}
|
|
5292
5293
|
view.newBidVault = newBidVault;
|
|
5293
|
-
async function newDepositVault(
|
|
5294
|
+
async function newDepositVault(client, args, typeArguments) {
|
|
5294
5295
|
const tx = new TransactionBlock();
|
|
5295
5296
|
builder.newDepositVault(tx, args, typeArguments);
|
|
5296
|
-
const res = await
|
|
5297
|
+
const res = await client.devInspectTransactionBlock({
|
|
5297
5298
|
transactionBlock: tx,
|
|
5298
5299
|
sender: ZERO_ADDRESS,
|
|
5299
5300
|
});
|
|
5300
5301
|
return res;
|
|
5301
5302
|
}
|
|
5302
5303
|
view.newDepositVault = newDepositVault;
|
|
5303
|
-
async function newUserShareRegistry(
|
|
5304
|
+
async function newUserShareRegistry(client, args) {
|
|
5304
5305
|
const tx = new TransactionBlock();
|
|
5305
5306
|
builder.newUserShareRegistry(tx, args);
|
|
5306
|
-
const res = await
|
|
5307
|
+
const res = await client.devInspectTransactionBlock({
|
|
5307
5308
|
transactionBlock: tx,
|
|
5308
5309
|
sender: ZERO_ADDRESS,
|
|
5309
5310
|
});
|
|
5310
5311
|
return res;
|
|
5311
5312
|
}
|
|
5312
5313
|
view.newUserShareRegistry = newUserShareRegistry;
|
|
5313
|
-
async function performanceFeeBalance(
|
|
5314
|
+
async function performanceFeeBalance(client, args, typeArguments) {
|
|
5314
5315
|
const tx = new TransactionBlock();
|
|
5315
5316
|
builder.performanceFeeBalance(tx, args, typeArguments);
|
|
5316
|
-
const res = await
|
|
5317
|
+
const res = await client.devInspectTransactionBlock({
|
|
5317
5318
|
transactionBlock: tx,
|
|
5318
5319
|
sender: ZERO_ADDRESS,
|
|
5319
5320
|
});
|
|
5320
5321
|
return res;
|
|
5321
5322
|
}
|
|
5322
5323
|
view.performanceFeeBalance = performanceFeeBalance;
|
|
5323
|
-
async function performanceFeeShareSupply(
|
|
5324
|
+
async function performanceFeeShareSupply(client, args, typeArguments) {
|
|
5324
5325
|
const tx = new TransactionBlock();
|
|
5325
5326
|
builder.performanceFeeShareSupply(tx, args, typeArguments);
|
|
5326
|
-
const res = await
|
|
5327
|
+
const res = await client.devInspectTransactionBlock({
|
|
5327
5328
|
transactionBlock: tx,
|
|
5328
5329
|
sender: ZERO_ADDRESS,
|
|
5329
5330
|
});
|
|
5330
5331
|
return res;
|
|
5331
5332
|
}
|
|
5332
5333
|
view.performanceFeeShareSupply = performanceFeeShareSupply;
|
|
5333
|
-
async function performanceFeeShares(
|
|
5334
|
+
async function performanceFeeShares(client, args, typeArguments) {
|
|
5334
5335
|
const tx = new TransactionBlock();
|
|
5335
5336
|
builder.performanceFeeShares(tx, args, typeArguments);
|
|
5336
|
-
const res = await
|
|
5337
|
+
const res = await client.devInspectTransactionBlock({
|
|
5337
5338
|
transactionBlock: tx,
|
|
5338
5339
|
sender: ZERO_ADDRESS,
|
|
5339
5340
|
});
|
|
5340
5341
|
return res;
|
|
5341
5342
|
}
|
|
5342
5343
|
view.performanceFeeShares = performanceFeeShares;
|
|
5343
|
-
async function premiumBalance(
|
|
5344
|
+
async function premiumBalance(client, args, typeArguments) {
|
|
5344
5345
|
const tx = new TransactionBlock();
|
|
5345
5346
|
builder.premiumBalance(tx, args, typeArguments);
|
|
5346
|
-
const res = await
|
|
5347
|
+
const res = await client.devInspectTransactionBlock({
|
|
5347
5348
|
transactionBlock: tx,
|
|
5348
5349
|
sender: ZERO_ADDRESS,
|
|
5349
5350
|
});
|
|
5350
5351
|
return res;
|
|
5351
5352
|
}
|
|
5352
5353
|
view.premiumBalance = premiumBalance;
|
|
5353
|
-
async function premiumShareSupply(
|
|
5354
|
+
async function premiumShareSupply(client, args, typeArguments) {
|
|
5354
5355
|
const tx = new TransactionBlock();
|
|
5355
5356
|
builder.premiumShareSupply(tx, args, typeArguments);
|
|
5356
|
-
const res = await
|
|
5357
|
+
const res = await client.devInspectTransactionBlock({
|
|
5357
5358
|
transactionBlock: tx,
|
|
5358
5359
|
sender: ZERO_ADDRESS,
|
|
5359
5360
|
});
|
|
5360
5361
|
return res;
|
|
5361
5362
|
}
|
|
5362
5363
|
view.premiumShareSupply = premiumShareSupply;
|
|
5363
|
-
async function premiumShares(
|
|
5364
|
+
async function premiumShares(client, args, typeArguments) {
|
|
5364
5365
|
const tx = new TransactionBlock();
|
|
5365
5366
|
builder.premiumShares(tx, args, typeArguments);
|
|
5366
|
-
const res = await
|
|
5367
|
+
const res = await client.devInspectTransactionBlock({
|
|
5367
5368
|
transactionBlock: tx,
|
|
5368
5369
|
sender: ZERO_ADDRESS,
|
|
5369
5370
|
});
|
|
5370
5371
|
return res;
|
|
5371
5372
|
}
|
|
5372
5373
|
view.premiumShares = premiumShares;
|
|
5373
|
-
async function refund(
|
|
5374
|
+
async function refund(client, args, typeArguments) {
|
|
5374
5375
|
const tx = new TransactionBlock();
|
|
5375
5376
|
builder.refund(tx, args, typeArguments);
|
|
5376
|
-
const res = await
|
|
5377
|
+
const res = await client.devInspectTransactionBlock({
|
|
5377
5378
|
transactionBlock: tx,
|
|
5378
5379
|
sender: ZERO_ADDRESS,
|
|
5379
5380
|
});
|
|
5380
5381
|
return res;
|
|
5381
5382
|
}
|
|
5382
5383
|
view.refund = refund;
|
|
5383
|
-
async function settleFund(
|
|
5384
|
+
async function settleFund(client, args, typeArguments) {
|
|
5384
5385
|
const tx = new TransactionBlock();
|
|
5385
5386
|
builder.settleFund(tx, args, typeArguments);
|
|
5386
|
-
const res = await
|
|
5387
|
+
const res = await client.devInspectTransactionBlock({
|
|
5387
5388
|
transactionBlock: tx,
|
|
5388
5389
|
sender: ZERO_ADDRESS,
|
|
5389
5390
|
});
|
|
5390
5391
|
return res;
|
|
5391
5392
|
}
|
|
5392
5393
|
view.settleFund = settleFund;
|
|
5393
|
-
async function settleFundMultiple(
|
|
5394
|
+
async function settleFundMultiple(client, args, typeArguments) {
|
|
5394
5395
|
const tx = new TransactionBlock();
|
|
5395
5396
|
builder.settleFundMultiple(tx, args, typeArguments);
|
|
5396
|
-
const res = await
|
|
5397
|
+
const res = await client.devInspectTransactionBlock({
|
|
5397
5398
|
transactionBlock: tx,
|
|
5398
5399
|
sender: ZERO_ADDRESS,
|
|
5399
5400
|
});
|
|
5400
5401
|
return res;
|
|
5401
5402
|
}
|
|
5402
5403
|
view.settleFundMultiple = settleFundMultiple;
|
|
5403
|
-
async function unsubscribe(
|
|
5404
|
+
async function unsubscribe(client, args, typeArguments) {
|
|
5404
5405
|
const tx = new TransactionBlock();
|
|
5405
5406
|
builder.unsubscribe(tx, args, typeArguments);
|
|
5406
|
-
const res = await
|
|
5407
|
+
const res = await client.devInspectTransactionBlock({
|
|
5407
5408
|
transactionBlock: tx,
|
|
5408
5409
|
sender: ZERO_ADDRESS,
|
|
5409
5410
|
});
|
|
5410
5411
|
return res;
|
|
5411
5412
|
}
|
|
5412
5413
|
view.unsubscribe = unsubscribe;
|
|
5413
|
-
async function userShareRegistryUid(
|
|
5414
|
+
async function userShareRegistryUid(client, args) {
|
|
5414
5415
|
const tx = new TransactionBlock();
|
|
5415
5416
|
builder.userShareRegistryUid(tx, args);
|
|
5416
|
-
const res = await
|
|
5417
|
+
const res = await client.devInspectTransactionBlock({
|
|
5417
5418
|
transactionBlock: tx,
|
|
5418
5419
|
sender: ZERO_ADDRESS,
|
|
5419
5420
|
});
|
|
5420
5421
|
return res;
|
|
5421
5422
|
}
|
|
5422
5423
|
view.userShareRegistryUid = userShareRegistryUid;
|
|
5423
|
-
async function warmupBalance(
|
|
5424
|
+
async function warmupBalance(client, args, typeArguments) {
|
|
5424
5425
|
const tx = new TransactionBlock();
|
|
5425
5426
|
builder.warmupBalance(tx, args, typeArguments);
|
|
5426
|
-
const res = await
|
|
5427
|
+
const res = await client.devInspectTransactionBlock({
|
|
5427
5428
|
transactionBlock: tx,
|
|
5428
5429
|
sender: ZERO_ADDRESS,
|
|
5429
5430
|
});
|
|
5430
5431
|
return res;
|
|
5431
5432
|
}
|
|
5432
5433
|
view.warmupBalance = warmupBalance;
|
|
5433
|
-
async function warmupShareSupply(
|
|
5434
|
+
async function warmupShareSupply(client, args, typeArguments) {
|
|
5434
5435
|
const tx = new TransactionBlock();
|
|
5435
5436
|
builder.warmupShareSupply(tx, args, typeArguments);
|
|
5436
|
-
const res = await
|
|
5437
|
+
const res = await client.devInspectTransactionBlock({
|
|
5437
5438
|
transactionBlock: tx,
|
|
5438
5439
|
sender: ZERO_ADDRESS,
|
|
5439
5440
|
});
|
|
5440
5441
|
return res;
|
|
5441
5442
|
}
|
|
5442
5443
|
view.warmupShareSupply = warmupShareSupply;
|
|
5443
|
-
async function warmupUserShares(
|
|
5444
|
+
async function warmupUserShares(client, args, typeArguments) {
|
|
5444
5445
|
const tx = new TransactionBlock();
|
|
5445
5446
|
builder.warmupUserShares(tx, args, typeArguments);
|
|
5446
|
-
const res = await
|
|
5447
|
+
const res = await client.devInspectTransactionBlock({
|
|
5447
5448
|
transactionBlock: tx,
|
|
5448
5449
|
sender: ZERO_ADDRESS,
|
|
5449
5450
|
});
|
|
5450
5451
|
return res;
|
|
5451
5452
|
}
|
|
5452
5453
|
view.warmupUserShares = warmupUserShares;
|
|
5453
|
-
async function withdraw(
|
|
5454
|
+
async function withdraw(client, args, typeArguments) {
|
|
5454
5455
|
const tx = new TransactionBlock();
|
|
5455
5456
|
builder.withdraw(tx, args, typeArguments);
|
|
5456
|
-
const res = await
|
|
5457
|
+
const res = await client.devInspectTransactionBlock({
|
|
5457
5458
|
transactionBlock: tx,
|
|
5458
5459
|
sender: ZERO_ADDRESS,
|
|
5459
5460
|
});
|