@varla/sdk 2.20.0 → 3.0.0
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/AGENTS.md +7 -7
- package/CHANGELOG.md +18 -0
- package/README.md +2 -2
- package/dist/abi/full/OpinionCtfExecutionEngineAdapter.d.ts +4 -0
- package/dist/abi/full/OpinionCtfExecutionEngineAdapter.d.ts.map +1 -1
- package/dist/abi/full/OpinionCtfExecutionEngineAdapter.js +5 -0
- package/dist/abi/full/OpinionCtfExecutionEngineAdapter.js.map +1 -1
- package/dist/abi/full/PolymarketCtfAdapter.d.ts +32 -0
- package/dist/abi/full/PolymarketCtfAdapter.d.ts.map +1 -1
- package/dist/abi/full/PolymarketCtfAdapter.js +41 -0
- package/dist/abi/full/PolymarketCtfAdapter.js.map +1 -1
- package/dist/abi/full/VarlaConvertLiquidator.d.ts +39 -0
- package/dist/abi/full/VarlaConvertLiquidator.d.ts.map +1 -1
- package/dist/abi/full/VarlaConvertLiquidator.js +50 -0
- package/dist/abi/full/VarlaConvertLiquidator.js.map +1 -1
- package/dist/abi/full/VarlaCore.d.ts +82 -0
- package/dist/abi/full/VarlaCore.d.ts.map +1 -1
- package/dist/abi/full/VarlaCore.js +106 -0
- package/dist/abi/full/VarlaCore.js.map +1 -1
- package/dist/abi/full/VarlaMergeLiquidator.d.ts +0 -39
- package/dist/abi/full/VarlaMergeLiquidator.d.ts.map +1 -1
- package/dist/abi/full/VarlaMergeLiquidator.js +0 -50
- package/dist/abi/full/VarlaMergeLiquidator.js.map +1 -1
- package/dist/abi/full/VarlaPool.d.ts +326 -0
- package/dist/abi/full/VarlaPool.d.ts.map +1 -1
- package/dist/abi/full/VarlaPool.js +424 -0
- package/dist/abi/full/VarlaPool.js.map +1 -1
- package/dist/abi/index.d.ts +0 -1
- package/dist/abi/index.d.ts.map +1 -1
- package/dist/abi/index.js +0 -1
- package/dist/abi/index.js.map +1 -1
- package/dist/actions/admin.d.ts +14 -0
- package/dist/actions/admin.d.ts.map +1 -1
- package/dist/actions/admin.js +18 -0
- package/dist/actions/admin.js.map +1 -1
- package/dist/actions/core.d.ts +14 -0
- package/dist/actions/core.d.ts.map +1 -1
- package/dist/actions/core.js +18 -0
- package/dist/actions/core.js.map +1 -1
- package/dist/actions/pool.d.ts +17 -0
- package/dist/actions/pool.d.ts.map +1 -1
- package/dist/actions/pool.js +18 -0
- package/dist/actions/pool.js.map +1 -1
- package/dist/addresses/polygon.d.ts.map +1 -1
- package/dist/addresses/polygon.js +0 -1
- package/dist/addresses/polygon.js.map +1 -1
- package/dist/addresses/polygonProxy.d.ts.map +1 -1
- package/dist/addresses/polygonProxy.js +0 -1
- package/dist/addresses/polygonProxy.js.map +1 -1
- package/dist/contracts.d.ts +1 -2
- package/dist/contracts.d.ts.map +1 -1
- package/dist/contracts.js +0 -8
- package/dist/contracts.js.map +1 -1
- package/dist/generated.d.ts +470 -273
- package/dist/generated.d.ts.map +1 -1
- package/dist/generated.js +0 -1
- package/dist/generated.js.map +1 -1
- package/dist/meta.d.ts +16 -1
- package/dist/meta.d.ts.map +1 -1
- package/dist/meta.js +17 -2
- package/dist/meta.js.map +1 -1
- package/dist/types.d.ts +0 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/views/core.d.ts +2 -1
- package/dist/views/core.d.ts.map +1 -1
- package/dist/views/core.js +2 -1
- package/dist/views/core.js.map +1 -1
- package/package.json +1 -1
- package/src/abi/full/OpinionCtfExecutionEngineAdapter.ts +5 -0
- package/src/abi/full/PolymarketCtfAdapter.ts +41 -0
- package/src/abi/full/VarlaConvertLiquidator.ts +50 -0
- package/src/abi/full/VarlaCore.ts +106 -0
- package/src/abi/full/VarlaMergeLiquidator.ts +0 -50
- package/src/abi/full/VarlaPool.ts +424 -0
- package/src/abi/index.ts +0 -1
- package/src/actions/admin.ts +32 -0
- package/src/actions/core.ts +32 -0
- package/src/actions/pool.ts +35 -0
- package/src/addresses/polygon.json +1 -2
- package/src/addresses/polygon.ts +0 -1
- package/src/addresses/polygonProxy.ts +0 -1
- package/src/contracts.ts +0 -11
- package/src/generated.ts +0 -1
- package/src/meta.ts +33 -3
- package/src/types.ts +0 -1
- package/src/views/core.ts +2 -1
|
@@ -58,6 +58,22 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
58
58
|
}];
|
|
59
59
|
readonly name: "BorrowCapExceeded";
|
|
60
60
|
readonly type: "error";
|
|
61
|
+
}, {
|
|
62
|
+
readonly inputs: readonly [{
|
|
63
|
+
readonly internalType: "uint256";
|
|
64
|
+
readonly name: "expected";
|
|
65
|
+
readonly type: "uint256";
|
|
66
|
+
}, {
|
|
67
|
+
readonly internalType: "uint256";
|
|
68
|
+
readonly name: "actual";
|
|
69
|
+
readonly type: "uint256";
|
|
70
|
+
}];
|
|
71
|
+
readonly name: "CollateralAmountMismatch";
|
|
72
|
+
readonly type: "error";
|
|
73
|
+
}, {
|
|
74
|
+
readonly inputs: readonly [];
|
|
75
|
+
readonly name: "CollateralRampNotConfigured";
|
|
76
|
+
readonly type: "error";
|
|
61
77
|
}, {
|
|
62
78
|
readonly inputs: readonly [{
|
|
63
79
|
readonly internalType: "uint256";
|
|
@@ -254,6 +270,14 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
254
270
|
}];
|
|
255
271
|
readonly name: "StrategyNotContract";
|
|
256
272
|
readonly type: "error";
|
|
273
|
+
}, {
|
|
274
|
+
readonly inputs: readonly [{
|
|
275
|
+
readonly internalType: "address";
|
|
276
|
+
readonly name: "asset";
|
|
277
|
+
readonly type: "address";
|
|
278
|
+
}];
|
|
279
|
+
readonly name: "UnsupportedWrappedAsset";
|
|
280
|
+
readonly type: "error";
|
|
257
281
|
}, {
|
|
258
282
|
readonly inputs: readonly [];
|
|
259
283
|
readonly name: "VarlaCoreAlreadySet";
|
|
@@ -331,6 +355,31 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
331
355
|
}];
|
|
332
356
|
readonly name: "BorrowCapUpdated";
|
|
333
357
|
readonly type: "event";
|
|
358
|
+
}, {
|
|
359
|
+
readonly anonymous: false;
|
|
360
|
+
readonly inputs: readonly [{
|
|
361
|
+
readonly indexed: true;
|
|
362
|
+
readonly internalType: "address";
|
|
363
|
+
readonly name: "oldOnramp";
|
|
364
|
+
readonly type: "address";
|
|
365
|
+
}, {
|
|
366
|
+
readonly indexed: true;
|
|
367
|
+
readonly internalType: "address";
|
|
368
|
+
readonly name: "newOnramp";
|
|
369
|
+
readonly type: "address";
|
|
370
|
+
}, {
|
|
371
|
+
readonly indexed: true;
|
|
372
|
+
readonly internalType: "address";
|
|
373
|
+
readonly name: "oldOfframp";
|
|
374
|
+
readonly type: "address";
|
|
375
|
+
}, {
|
|
376
|
+
readonly indexed: false;
|
|
377
|
+
readonly internalType: "address";
|
|
378
|
+
readonly name: "newOfframp";
|
|
379
|
+
readonly type: "address";
|
|
380
|
+
}];
|
|
381
|
+
readonly name: "CollateralRampsSet";
|
|
382
|
+
readonly type: "event";
|
|
334
383
|
}, {
|
|
335
384
|
readonly anonymous: false;
|
|
336
385
|
readonly inputs: readonly [{
|
|
@@ -536,6 +585,31 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
536
585
|
}];
|
|
537
586
|
readonly name: "Withdraw";
|
|
538
587
|
readonly type: "event";
|
|
588
|
+
}, {
|
|
589
|
+
readonly anonymous: false;
|
|
590
|
+
readonly inputs: readonly [{
|
|
591
|
+
readonly indexed: true;
|
|
592
|
+
readonly internalType: "address";
|
|
593
|
+
readonly name: "oldUsdc";
|
|
594
|
+
readonly type: "address";
|
|
595
|
+
}, {
|
|
596
|
+
readonly indexed: true;
|
|
597
|
+
readonly internalType: "address";
|
|
598
|
+
readonly name: "newUsdc";
|
|
599
|
+
readonly type: "address";
|
|
600
|
+
}, {
|
|
601
|
+
readonly indexed: true;
|
|
602
|
+
readonly internalType: "address";
|
|
603
|
+
readonly name: "oldUsdce";
|
|
604
|
+
readonly type: "address";
|
|
605
|
+
}, {
|
|
606
|
+
readonly indexed: false;
|
|
607
|
+
readonly internalType: "address";
|
|
608
|
+
readonly name: "newUsdce";
|
|
609
|
+
readonly type: "address";
|
|
610
|
+
}];
|
|
611
|
+
readonly name: "WrappedCollateralAssetsSet";
|
|
612
|
+
readonly type: "event";
|
|
539
613
|
}, {
|
|
540
614
|
readonly inputs: readonly [];
|
|
541
615
|
readonly name: "PRECISION";
|
|
@@ -656,6 +730,36 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
656
730
|
}];
|
|
657
731
|
readonly stateMutability: "view";
|
|
658
732
|
readonly type: "function";
|
|
733
|
+
}, {
|
|
734
|
+
readonly inputs: readonly [];
|
|
735
|
+
readonly name: "bridgedUsdc";
|
|
736
|
+
readonly outputs: readonly [{
|
|
737
|
+
readonly internalType: "address";
|
|
738
|
+
readonly name: "";
|
|
739
|
+
readonly type: "address";
|
|
740
|
+
}];
|
|
741
|
+
readonly stateMutability: "view";
|
|
742
|
+
readonly type: "function";
|
|
743
|
+
}, {
|
|
744
|
+
readonly inputs: readonly [];
|
|
745
|
+
readonly name: "collateralOfframp";
|
|
746
|
+
readonly outputs: readonly [{
|
|
747
|
+
readonly internalType: "address";
|
|
748
|
+
readonly name: "";
|
|
749
|
+
readonly type: "address";
|
|
750
|
+
}];
|
|
751
|
+
readonly stateMutability: "view";
|
|
752
|
+
readonly type: "function";
|
|
753
|
+
}, {
|
|
754
|
+
readonly inputs: readonly [];
|
|
755
|
+
readonly name: "collateralOnramp";
|
|
756
|
+
readonly outputs: readonly [{
|
|
757
|
+
readonly internalType: "address";
|
|
758
|
+
readonly name: "";
|
|
759
|
+
readonly type: "address";
|
|
760
|
+
}];
|
|
761
|
+
readonly stateMutability: "view";
|
|
762
|
+
readonly type: "function";
|
|
659
763
|
}, {
|
|
660
764
|
readonly inputs: readonly [{
|
|
661
765
|
readonly internalType: "uint256";
|
|
@@ -722,6 +826,64 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
722
826
|
}];
|
|
723
827
|
readonly stateMutability: "view";
|
|
724
828
|
readonly type: "function";
|
|
829
|
+
}, {
|
|
830
|
+
readonly inputs: readonly [{
|
|
831
|
+
readonly internalType: "uint256";
|
|
832
|
+
readonly name: "amount";
|
|
833
|
+
readonly type: "uint256";
|
|
834
|
+
}, {
|
|
835
|
+
readonly internalType: "address";
|
|
836
|
+
readonly name: "receiver";
|
|
837
|
+
readonly type: "address";
|
|
838
|
+
}];
|
|
839
|
+
readonly name: "depositUSDC";
|
|
840
|
+
readonly outputs: readonly [{
|
|
841
|
+
readonly internalType: "uint256";
|
|
842
|
+
readonly name: "shares";
|
|
843
|
+
readonly type: "uint256";
|
|
844
|
+
}];
|
|
845
|
+
readonly stateMutability: "nonpayable";
|
|
846
|
+
readonly type: "function";
|
|
847
|
+
}, {
|
|
848
|
+
readonly inputs: readonly [{
|
|
849
|
+
readonly internalType: "uint256";
|
|
850
|
+
readonly name: "amount";
|
|
851
|
+
readonly type: "uint256";
|
|
852
|
+
}, {
|
|
853
|
+
readonly internalType: "address";
|
|
854
|
+
readonly name: "receiver";
|
|
855
|
+
readonly type: "address";
|
|
856
|
+
}];
|
|
857
|
+
readonly name: "depositUSDCE";
|
|
858
|
+
readonly outputs: readonly [{
|
|
859
|
+
readonly internalType: "uint256";
|
|
860
|
+
readonly name: "shares";
|
|
861
|
+
readonly type: "uint256";
|
|
862
|
+
}];
|
|
863
|
+
readonly stateMutability: "nonpayable";
|
|
864
|
+
readonly type: "function";
|
|
865
|
+
}, {
|
|
866
|
+
readonly inputs: readonly [{
|
|
867
|
+
readonly internalType: "address";
|
|
868
|
+
readonly name: "inputAsset";
|
|
869
|
+
readonly type: "address";
|
|
870
|
+
}, {
|
|
871
|
+
readonly internalType: "uint256";
|
|
872
|
+
readonly name: "amount";
|
|
873
|
+
readonly type: "uint256";
|
|
874
|
+
}, {
|
|
875
|
+
readonly internalType: "address";
|
|
876
|
+
readonly name: "receiver";
|
|
877
|
+
readonly type: "address";
|
|
878
|
+
}];
|
|
879
|
+
readonly name: "depositWrappedAsset";
|
|
880
|
+
readonly outputs: readonly [{
|
|
881
|
+
readonly internalType: "uint256";
|
|
882
|
+
readonly name: "shares";
|
|
883
|
+
readonly type: "uint256";
|
|
884
|
+
}];
|
|
885
|
+
readonly stateMutability: "nonpayable";
|
|
886
|
+
readonly type: "function";
|
|
725
887
|
}, {
|
|
726
888
|
readonly inputs: readonly [{
|
|
727
889
|
readonly internalType: "address";
|
|
@@ -731,6 +893,10 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
731
893
|
readonly internalType: "uint256";
|
|
732
894
|
readonly name: "amount";
|
|
733
895
|
readonly type: "uint256";
|
|
896
|
+
}, {
|
|
897
|
+
readonly internalType: "address";
|
|
898
|
+
readonly name: "outputAsset";
|
|
899
|
+
readonly type: "address";
|
|
734
900
|
}];
|
|
735
901
|
readonly name: "drawFunds";
|
|
736
902
|
readonly outputs: readonly [{
|
|
@@ -958,6 +1124,28 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
958
1124
|
}];
|
|
959
1125
|
readonly stateMutability: "nonpayable";
|
|
960
1126
|
readonly type: "function";
|
|
1127
|
+
}, {
|
|
1128
|
+
readonly inputs: readonly [{
|
|
1129
|
+
readonly internalType: "address";
|
|
1130
|
+
readonly name: "inputAsset";
|
|
1131
|
+
readonly type: "address";
|
|
1132
|
+
}, {
|
|
1133
|
+
readonly internalType: "uint256";
|
|
1134
|
+
readonly name: "shares";
|
|
1135
|
+
readonly type: "uint256";
|
|
1136
|
+
}, {
|
|
1137
|
+
readonly internalType: "address";
|
|
1138
|
+
readonly name: "receiver";
|
|
1139
|
+
readonly type: "address";
|
|
1140
|
+
}];
|
|
1141
|
+
readonly name: "mintWrappedAsset";
|
|
1142
|
+
readonly outputs: readonly [{
|
|
1143
|
+
readonly internalType: "uint256";
|
|
1144
|
+
readonly name: "assets";
|
|
1145
|
+
readonly type: "uint256";
|
|
1146
|
+
}];
|
|
1147
|
+
readonly stateMutability: "nonpayable";
|
|
1148
|
+
readonly type: "function";
|
|
961
1149
|
}, {
|
|
962
1150
|
readonly inputs: readonly [];
|
|
963
1151
|
readonly name: "name";
|
|
@@ -968,6 +1156,16 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
968
1156
|
}];
|
|
969
1157
|
readonly stateMutability: "view";
|
|
970
1158
|
readonly type: "function";
|
|
1159
|
+
}, {
|
|
1160
|
+
readonly inputs: readonly [];
|
|
1161
|
+
readonly name: "nativeUsdc";
|
|
1162
|
+
readonly outputs: readonly [{
|
|
1163
|
+
readonly internalType: "address";
|
|
1164
|
+
readonly name: "";
|
|
1165
|
+
readonly type: "address";
|
|
1166
|
+
}];
|
|
1167
|
+
readonly stateMutability: "view";
|
|
1168
|
+
readonly type: "function";
|
|
971
1169
|
}, {
|
|
972
1170
|
readonly inputs: readonly [{
|
|
973
1171
|
readonly internalType: "uint256";
|
|
@@ -1033,6 +1231,10 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
1033
1231
|
readonly internalType: "uint256";
|
|
1034
1232
|
readonly name: "actualAmount";
|
|
1035
1233
|
readonly type: "uint256";
|
|
1234
|
+
}, {
|
|
1235
|
+
readonly internalType: "address";
|
|
1236
|
+
readonly name: "inputAsset";
|
|
1237
|
+
readonly type: "address";
|
|
1036
1238
|
}];
|
|
1037
1239
|
readonly name: "receiveFunds";
|
|
1038
1240
|
readonly outputs: readonly [];
|
|
@@ -1060,6 +1262,32 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
1060
1262
|
}];
|
|
1061
1263
|
readonly stateMutability: "nonpayable";
|
|
1062
1264
|
readonly type: "function";
|
|
1265
|
+
}, {
|
|
1266
|
+
readonly inputs: readonly [{
|
|
1267
|
+
readonly internalType: "address";
|
|
1268
|
+
readonly name: "outputAsset";
|
|
1269
|
+
readonly type: "address";
|
|
1270
|
+
}, {
|
|
1271
|
+
readonly internalType: "uint256";
|
|
1272
|
+
readonly name: "shares";
|
|
1273
|
+
readonly type: "uint256";
|
|
1274
|
+
}, {
|
|
1275
|
+
readonly internalType: "address";
|
|
1276
|
+
readonly name: "receiver";
|
|
1277
|
+
readonly type: "address";
|
|
1278
|
+
}, {
|
|
1279
|
+
readonly internalType: "address";
|
|
1280
|
+
readonly name: "owner";
|
|
1281
|
+
readonly type: "address";
|
|
1282
|
+
}];
|
|
1283
|
+
readonly name: "redeemAsWrappedAsset";
|
|
1284
|
+
readonly outputs: readonly [{
|
|
1285
|
+
readonly internalType: "uint256";
|
|
1286
|
+
readonly name: "assets";
|
|
1287
|
+
readonly type: "uint256";
|
|
1288
|
+
}];
|
|
1289
|
+
readonly stateMutability: "nonpayable";
|
|
1290
|
+
readonly type: "function";
|
|
1063
1291
|
}, {
|
|
1064
1292
|
readonly inputs: readonly [];
|
|
1065
1293
|
readonly name: "reserveBalance";
|
|
@@ -1100,6 +1328,20 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
1100
1328
|
readonly outputs: readonly [];
|
|
1101
1329
|
readonly stateMutability: "nonpayable";
|
|
1102
1330
|
readonly type: "function";
|
|
1331
|
+
}, {
|
|
1332
|
+
readonly inputs: readonly [{
|
|
1333
|
+
readonly internalType: "address";
|
|
1334
|
+
readonly name: "newOnramp";
|
|
1335
|
+
readonly type: "address";
|
|
1336
|
+
}, {
|
|
1337
|
+
readonly internalType: "address";
|
|
1338
|
+
readonly name: "newOfframp";
|
|
1339
|
+
readonly type: "address";
|
|
1340
|
+
}];
|
|
1341
|
+
readonly name: "setCollateralRamps";
|
|
1342
|
+
readonly outputs: readonly [];
|
|
1343
|
+
readonly stateMutability: "nonpayable";
|
|
1344
|
+
readonly type: "function";
|
|
1103
1345
|
}, {
|
|
1104
1346
|
readonly inputs: readonly [{
|
|
1105
1347
|
readonly internalType: "uint256";
|
|
@@ -1130,6 +1372,20 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
1130
1372
|
readonly outputs: readonly [];
|
|
1131
1373
|
readonly stateMutability: "nonpayable";
|
|
1132
1374
|
readonly type: "function";
|
|
1375
|
+
}, {
|
|
1376
|
+
readonly inputs: readonly [{
|
|
1377
|
+
readonly internalType: "address";
|
|
1378
|
+
readonly name: "newNativeUsdc";
|
|
1379
|
+
readonly type: "address";
|
|
1380
|
+
}, {
|
|
1381
|
+
readonly internalType: "address";
|
|
1382
|
+
readonly name: "newBridgedUsdc";
|
|
1383
|
+
readonly type: "address";
|
|
1384
|
+
}];
|
|
1385
|
+
readonly name: "setWrappedCollateralAssets";
|
|
1386
|
+
readonly outputs: readonly [];
|
|
1387
|
+
readonly stateMutability: "nonpayable";
|
|
1388
|
+
readonly type: "function";
|
|
1133
1389
|
}, {
|
|
1134
1390
|
readonly inputs: readonly [];
|
|
1135
1391
|
readonly name: "symbol";
|
|
@@ -1232,6 +1488,32 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
1232
1488
|
}];
|
|
1233
1489
|
readonly stateMutability: "nonpayable";
|
|
1234
1490
|
readonly type: "function";
|
|
1491
|
+
}, {
|
|
1492
|
+
readonly inputs: readonly [{
|
|
1493
|
+
readonly internalType: "address";
|
|
1494
|
+
readonly name: "outputAsset";
|
|
1495
|
+
readonly type: "address";
|
|
1496
|
+
}, {
|
|
1497
|
+
readonly internalType: "uint256";
|
|
1498
|
+
readonly name: "assets";
|
|
1499
|
+
readonly type: "uint256";
|
|
1500
|
+
}, {
|
|
1501
|
+
readonly internalType: "address";
|
|
1502
|
+
readonly name: "receiver";
|
|
1503
|
+
readonly type: "address";
|
|
1504
|
+
}, {
|
|
1505
|
+
readonly internalType: "address";
|
|
1506
|
+
readonly name: "owner";
|
|
1507
|
+
readonly type: "address";
|
|
1508
|
+
}];
|
|
1509
|
+
readonly name: "withdrawAsWrappedAsset";
|
|
1510
|
+
readonly outputs: readonly [{
|
|
1511
|
+
readonly internalType: "uint256";
|
|
1512
|
+
readonly name: "shares";
|
|
1513
|
+
readonly type: "uint256";
|
|
1514
|
+
}];
|
|
1515
|
+
readonly stateMutability: "nonpayable";
|
|
1516
|
+
readonly type: "function";
|
|
1235
1517
|
}, {
|
|
1236
1518
|
readonly inputs: readonly [{
|
|
1237
1519
|
readonly internalType: "address";
|
|
@@ -1246,5 +1528,49 @@ export declare const VARLAPOOL_ABI: readonly [{
|
|
|
1246
1528
|
readonly outputs: readonly [];
|
|
1247
1529
|
readonly stateMutability: "nonpayable";
|
|
1248
1530
|
readonly type: "function";
|
|
1531
|
+
}, {
|
|
1532
|
+
readonly inputs: readonly [{
|
|
1533
|
+
readonly internalType: "uint256";
|
|
1534
|
+
readonly name: "assets";
|
|
1535
|
+
readonly type: "uint256";
|
|
1536
|
+
}, {
|
|
1537
|
+
readonly internalType: "address";
|
|
1538
|
+
readonly name: "receiver";
|
|
1539
|
+
readonly type: "address";
|
|
1540
|
+
}, {
|
|
1541
|
+
readonly internalType: "address";
|
|
1542
|
+
readonly name: "owner";
|
|
1543
|
+
readonly type: "address";
|
|
1544
|
+
}];
|
|
1545
|
+
readonly name: "withdrawUSDC";
|
|
1546
|
+
readonly outputs: readonly [{
|
|
1547
|
+
readonly internalType: "uint256";
|
|
1548
|
+
readonly name: "shares";
|
|
1549
|
+
readonly type: "uint256";
|
|
1550
|
+
}];
|
|
1551
|
+
readonly stateMutability: "nonpayable";
|
|
1552
|
+
readonly type: "function";
|
|
1553
|
+
}, {
|
|
1554
|
+
readonly inputs: readonly [{
|
|
1555
|
+
readonly internalType: "uint256";
|
|
1556
|
+
readonly name: "assets";
|
|
1557
|
+
readonly type: "uint256";
|
|
1558
|
+
}, {
|
|
1559
|
+
readonly internalType: "address";
|
|
1560
|
+
readonly name: "receiver";
|
|
1561
|
+
readonly type: "address";
|
|
1562
|
+
}, {
|
|
1563
|
+
readonly internalType: "address";
|
|
1564
|
+
readonly name: "owner";
|
|
1565
|
+
readonly type: "address";
|
|
1566
|
+
}];
|
|
1567
|
+
readonly name: "withdrawUSDCE";
|
|
1568
|
+
readonly outputs: readonly [{
|
|
1569
|
+
readonly internalType: "uint256";
|
|
1570
|
+
readonly name: "shares";
|
|
1571
|
+
readonly type: "uint256";
|
|
1572
|
+
}];
|
|
1573
|
+
readonly stateMutability: "nonpayable";
|
|
1574
|
+
readonly type: "function";
|
|
1249
1575
|
}];
|
|
1250
1576
|
//# sourceMappingURL=VarlaPool.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"VarlaPool.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaPool.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa
|
|
1
|
+
{"version":3,"file":"VarlaPool.d.ts","sourceRoot":"","sources":["../../../src/abi/full/VarlaPool.ts"],"names":[],"mappings":"AAIA,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;EAugEF,CAAC"}
|