@varla/sdk 2.20.0 → 3.0.1
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 +27 -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 +11 -12
- package/dist/addresses/polygon.js.map +1 -1
- package/dist/addresses/polygonProxy.d.ts.map +1 -1
- package/dist/addresses/polygonProxy.js +4 -5
- 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-proxy.json +18 -0
- package/src/addresses/polygon.json +11 -10
- package/src/addresses/polygon.ts +11 -12
- package/src/addresses/polygonProxy.ts +4 -5
- 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
package/dist/generated.d.ts
CHANGED
|
@@ -3099,6 +3099,10 @@ export declare const abis: {
|
|
|
3099
3099
|
}];
|
|
3100
3100
|
readonly name: "BelowMinBorrow";
|
|
3101
3101
|
readonly type: "error";
|
|
3102
|
+
}, {
|
|
3103
|
+
readonly inputs: readonly [];
|
|
3104
|
+
readonly name: "BorrowerLiquidationLocked";
|
|
3105
|
+
readonly type: "error";
|
|
3102
3106
|
}, {
|
|
3103
3107
|
readonly inputs: readonly [{
|
|
3104
3108
|
readonly internalType: "uint256";
|
|
@@ -3840,6 +3844,20 @@ export declare const abis: {
|
|
|
3840
3844
|
}];
|
|
3841
3845
|
readonly stateMutability: "view";
|
|
3842
3846
|
readonly type: "function";
|
|
3847
|
+
}, {
|
|
3848
|
+
readonly inputs: readonly [{
|
|
3849
|
+
readonly internalType: "uint256";
|
|
3850
|
+
readonly name: "amount";
|
|
3851
|
+
readonly type: "uint256";
|
|
3852
|
+
}, {
|
|
3853
|
+
readonly internalType: "address";
|
|
3854
|
+
readonly name: "outputAsset";
|
|
3855
|
+
readonly type: "address";
|
|
3856
|
+
}];
|
|
3857
|
+
readonly name: "borrow";
|
|
3858
|
+
readonly outputs: readonly [];
|
|
3859
|
+
readonly stateMutability: "nonpayable";
|
|
3860
|
+
readonly type: "function";
|
|
3843
3861
|
}, {
|
|
3844
3862
|
readonly inputs: readonly [{
|
|
3845
3863
|
readonly internalType: "uint256";
|
|
@@ -3904,6 +3922,28 @@ export declare const abis: {
|
|
|
3904
3922
|
readonly outputs: readonly [];
|
|
3905
3923
|
readonly stateMutability: "nonpayable";
|
|
3906
3924
|
readonly type: "function";
|
|
3925
|
+
}, {
|
|
3926
|
+
readonly inputs: readonly [{
|
|
3927
|
+
readonly internalType: "uint256[]";
|
|
3928
|
+
readonly name: "positionIds";
|
|
3929
|
+
readonly type: "uint256[]";
|
|
3930
|
+
}, {
|
|
3931
|
+
readonly internalType: "uint256[]";
|
|
3932
|
+
readonly name: "amounts";
|
|
3933
|
+
readonly type: "uint256[]";
|
|
3934
|
+
}, {
|
|
3935
|
+
readonly internalType: "uint256";
|
|
3936
|
+
readonly name: "borrowAmount";
|
|
3937
|
+
readonly type: "uint256";
|
|
3938
|
+
}, {
|
|
3939
|
+
readonly internalType: "address";
|
|
3940
|
+
readonly name: "outputAsset";
|
|
3941
|
+
readonly type: "address";
|
|
3942
|
+
}];
|
|
3943
|
+
readonly name: "depositAndBorrow";
|
|
3944
|
+
readonly outputs: readonly [];
|
|
3945
|
+
readonly stateMutability: "nonpayable";
|
|
3946
|
+
readonly type: "function";
|
|
3907
3947
|
}, {
|
|
3908
3948
|
readonly inputs: readonly [{
|
|
3909
3949
|
readonly internalType: "address";
|
|
@@ -4086,6 +4126,20 @@ export declare const abis: {
|
|
|
4086
4126
|
}];
|
|
4087
4127
|
readonly stateMutability: "view";
|
|
4088
4128
|
readonly type: "function";
|
|
4129
|
+
}, {
|
|
4130
|
+
readonly inputs: readonly [{
|
|
4131
|
+
readonly internalType: "address";
|
|
4132
|
+
readonly name: "user";
|
|
4133
|
+
readonly type: "address";
|
|
4134
|
+
}];
|
|
4135
|
+
readonly name: "getLiquidationLockOwner";
|
|
4136
|
+
readonly outputs: readonly [{
|
|
4137
|
+
readonly internalType: "address";
|
|
4138
|
+
readonly name: "";
|
|
4139
|
+
readonly type: "address";
|
|
4140
|
+
}];
|
|
4141
|
+
readonly stateMutability: "view";
|
|
4142
|
+
readonly type: "function";
|
|
4089
4143
|
}, {
|
|
4090
4144
|
readonly inputs: readonly [{
|
|
4091
4145
|
readonly internalType: "uint256";
|
|
@@ -4549,6 +4603,20 @@ export declare const abis: {
|
|
|
4549
4603
|
readonly outputs: readonly [];
|
|
4550
4604
|
readonly stateMutability: "nonpayable";
|
|
4551
4605
|
readonly type: "function";
|
|
4606
|
+
}, {
|
|
4607
|
+
readonly inputs: readonly [{
|
|
4608
|
+
readonly internalType: "uint256";
|
|
4609
|
+
readonly name: "amount";
|
|
4610
|
+
readonly type: "uint256";
|
|
4611
|
+
}, {
|
|
4612
|
+
readonly internalType: "address";
|
|
4613
|
+
readonly name: "inputAsset";
|
|
4614
|
+
readonly type: "address";
|
|
4615
|
+
}];
|
|
4616
|
+
readonly name: "repay";
|
|
4617
|
+
readonly outputs: readonly [];
|
|
4618
|
+
readonly stateMutability: "nonpayable";
|
|
4619
|
+
readonly type: "function";
|
|
4552
4620
|
}, {
|
|
4553
4621
|
readonly inputs: readonly [{
|
|
4554
4622
|
readonly internalType: "address";
|
|
@@ -4643,6 +4711,20 @@ export declare const abis: {
|
|
|
4643
4711
|
readonly outputs: readonly [];
|
|
4644
4712
|
readonly stateMutability: "nonpayable";
|
|
4645
4713
|
readonly type: "function";
|
|
4714
|
+
}, {
|
|
4715
|
+
readonly inputs: readonly [{
|
|
4716
|
+
readonly internalType: "address";
|
|
4717
|
+
readonly name: "user";
|
|
4718
|
+
readonly type: "address";
|
|
4719
|
+
}, {
|
|
4720
|
+
readonly internalType: "bool";
|
|
4721
|
+
readonly name: "locked";
|
|
4722
|
+
readonly type: "bool";
|
|
4723
|
+
}];
|
|
4724
|
+
readonly name: "setLiquidationLock";
|
|
4725
|
+
readonly outputs: readonly [];
|
|
4726
|
+
readonly stateMutability: "nonpayable";
|
|
4727
|
+
readonly type: "function";
|
|
4646
4728
|
}, {
|
|
4647
4729
|
readonly inputs: readonly [{
|
|
4648
4730
|
readonly internalType: "uint256";
|
|
@@ -4826,6 +4908,22 @@ export declare const abis: {
|
|
|
4826
4908
|
}];
|
|
4827
4909
|
readonly name: "BorrowCapExceeded";
|
|
4828
4910
|
readonly type: "error";
|
|
4911
|
+
}, {
|
|
4912
|
+
readonly inputs: readonly [{
|
|
4913
|
+
readonly internalType: "uint256";
|
|
4914
|
+
readonly name: "expected";
|
|
4915
|
+
readonly type: "uint256";
|
|
4916
|
+
}, {
|
|
4917
|
+
readonly internalType: "uint256";
|
|
4918
|
+
readonly name: "actual";
|
|
4919
|
+
readonly type: "uint256";
|
|
4920
|
+
}];
|
|
4921
|
+
readonly name: "CollateralAmountMismatch";
|
|
4922
|
+
readonly type: "error";
|
|
4923
|
+
}, {
|
|
4924
|
+
readonly inputs: readonly [];
|
|
4925
|
+
readonly name: "CollateralRampNotConfigured";
|
|
4926
|
+
readonly type: "error";
|
|
4829
4927
|
}, {
|
|
4830
4928
|
readonly inputs: readonly [{
|
|
4831
4929
|
readonly internalType: "uint256";
|
|
@@ -5022,6 +5120,14 @@ export declare const abis: {
|
|
|
5022
5120
|
}];
|
|
5023
5121
|
readonly name: "StrategyNotContract";
|
|
5024
5122
|
readonly type: "error";
|
|
5123
|
+
}, {
|
|
5124
|
+
readonly inputs: readonly [{
|
|
5125
|
+
readonly internalType: "address";
|
|
5126
|
+
readonly name: "asset";
|
|
5127
|
+
readonly type: "address";
|
|
5128
|
+
}];
|
|
5129
|
+
readonly name: "UnsupportedWrappedAsset";
|
|
5130
|
+
readonly type: "error";
|
|
5025
5131
|
}, {
|
|
5026
5132
|
readonly inputs: readonly [];
|
|
5027
5133
|
readonly name: "VarlaCoreAlreadySet";
|
|
@@ -5099,6 +5205,31 @@ export declare const abis: {
|
|
|
5099
5205
|
}];
|
|
5100
5206
|
readonly name: "BorrowCapUpdated";
|
|
5101
5207
|
readonly type: "event";
|
|
5208
|
+
}, {
|
|
5209
|
+
readonly anonymous: false;
|
|
5210
|
+
readonly inputs: readonly [{
|
|
5211
|
+
readonly indexed: true;
|
|
5212
|
+
readonly internalType: "address";
|
|
5213
|
+
readonly name: "oldOnramp";
|
|
5214
|
+
readonly type: "address";
|
|
5215
|
+
}, {
|
|
5216
|
+
readonly indexed: true;
|
|
5217
|
+
readonly internalType: "address";
|
|
5218
|
+
readonly name: "newOnramp";
|
|
5219
|
+
readonly type: "address";
|
|
5220
|
+
}, {
|
|
5221
|
+
readonly indexed: true;
|
|
5222
|
+
readonly internalType: "address";
|
|
5223
|
+
readonly name: "oldOfframp";
|
|
5224
|
+
readonly type: "address";
|
|
5225
|
+
}, {
|
|
5226
|
+
readonly indexed: false;
|
|
5227
|
+
readonly internalType: "address";
|
|
5228
|
+
readonly name: "newOfframp";
|
|
5229
|
+
readonly type: "address";
|
|
5230
|
+
}];
|
|
5231
|
+
readonly name: "CollateralRampsSet";
|
|
5232
|
+
readonly type: "event";
|
|
5102
5233
|
}, {
|
|
5103
5234
|
readonly anonymous: false;
|
|
5104
5235
|
readonly inputs: readonly [{
|
|
@@ -5304,6 +5435,31 @@ export declare const abis: {
|
|
|
5304
5435
|
}];
|
|
5305
5436
|
readonly name: "Withdraw";
|
|
5306
5437
|
readonly type: "event";
|
|
5438
|
+
}, {
|
|
5439
|
+
readonly anonymous: false;
|
|
5440
|
+
readonly inputs: readonly [{
|
|
5441
|
+
readonly indexed: true;
|
|
5442
|
+
readonly internalType: "address";
|
|
5443
|
+
readonly name: "oldUsdc";
|
|
5444
|
+
readonly type: "address";
|
|
5445
|
+
}, {
|
|
5446
|
+
readonly indexed: true;
|
|
5447
|
+
readonly internalType: "address";
|
|
5448
|
+
readonly name: "newUsdc";
|
|
5449
|
+
readonly type: "address";
|
|
5450
|
+
}, {
|
|
5451
|
+
readonly indexed: true;
|
|
5452
|
+
readonly internalType: "address";
|
|
5453
|
+
readonly name: "oldUsdce";
|
|
5454
|
+
readonly type: "address";
|
|
5455
|
+
}, {
|
|
5456
|
+
readonly indexed: false;
|
|
5457
|
+
readonly internalType: "address";
|
|
5458
|
+
readonly name: "newUsdce";
|
|
5459
|
+
readonly type: "address";
|
|
5460
|
+
}];
|
|
5461
|
+
readonly name: "WrappedCollateralAssetsSet";
|
|
5462
|
+
readonly type: "event";
|
|
5307
5463
|
}, {
|
|
5308
5464
|
readonly inputs: readonly [];
|
|
5309
5465
|
readonly name: "PRECISION";
|
|
@@ -5424,6 +5580,36 @@ export declare const abis: {
|
|
|
5424
5580
|
}];
|
|
5425
5581
|
readonly stateMutability: "view";
|
|
5426
5582
|
readonly type: "function";
|
|
5583
|
+
}, {
|
|
5584
|
+
readonly inputs: readonly [];
|
|
5585
|
+
readonly name: "bridgedUsdc";
|
|
5586
|
+
readonly outputs: readonly [{
|
|
5587
|
+
readonly internalType: "address";
|
|
5588
|
+
readonly name: "";
|
|
5589
|
+
readonly type: "address";
|
|
5590
|
+
}];
|
|
5591
|
+
readonly stateMutability: "view";
|
|
5592
|
+
readonly type: "function";
|
|
5593
|
+
}, {
|
|
5594
|
+
readonly inputs: readonly [];
|
|
5595
|
+
readonly name: "collateralOfframp";
|
|
5596
|
+
readonly outputs: readonly [{
|
|
5597
|
+
readonly internalType: "address";
|
|
5598
|
+
readonly name: "";
|
|
5599
|
+
readonly type: "address";
|
|
5600
|
+
}];
|
|
5601
|
+
readonly stateMutability: "view";
|
|
5602
|
+
readonly type: "function";
|
|
5603
|
+
}, {
|
|
5604
|
+
readonly inputs: readonly [];
|
|
5605
|
+
readonly name: "collateralOnramp";
|
|
5606
|
+
readonly outputs: readonly [{
|
|
5607
|
+
readonly internalType: "address";
|
|
5608
|
+
readonly name: "";
|
|
5609
|
+
readonly type: "address";
|
|
5610
|
+
}];
|
|
5611
|
+
readonly stateMutability: "view";
|
|
5612
|
+
readonly type: "function";
|
|
5427
5613
|
}, {
|
|
5428
5614
|
readonly inputs: readonly [{
|
|
5429
5615
|
readonly internalType: "uint256";
|
|
@@ -5490,6 +5676,64 @@ export declare const abis: {
|
|
|
5490
5676
|
}];
|
|
5491
5677
|
readonly stateMutability: "view";
|
|
5492
5678
|
readonly type: "function";
|
|
5679
|
+
}, {
|
|
5680
|
+
readonly inputs: readonly [{
|
|
5681
|
+
readonly internalType: "uint256";
|
|
5682
|
+
readonly name: "amount";
|
|
5683
|
+
readonly type: "uint256";
|
|
5684
|
+
}, {
|
|
5685
|
+
readonly internalType: "address";
|
|
5686
|
+
readonly name: "receiver";
|
|
5687
|
+
readonly type: "address";
|
|
5688
|
+
}];
|
|
5689
|
+
readonly name: "depositUSDC";
|
|
5690
|
+
readonly outputs: readonly [{
|
|
5691
|
+
readonly internalType: "uint256";
|
|
5692
|
+
readonly name: "shares";
|
|
5693
|
+
readonly type: "uint256";
|
|
5694
|
+
}];
|
|
5695
|
+
readonly stateMutability: "nonpayable";
|
|
5696
|
+
readonly type: "function";
|
|
5697
|
+
}, {
|
|
5698
|
+
readonly inputs: readonly [{
|
|
5699
|
+
readonly internalType: "uint256";
|
|
5700
|
+
readonly name: "amount";
|
|
5701
|
+
readonly type: "uint256";
|
|
5702
|
+
}, {
|
|
5703
|
+
readonly internalType: "address";
|
|
5704
|
+
readonly name: "receiver";
|
|
5705
|
+
readonly type: "address";
|
|
5706
|
+
}];
|
|
5707
|
+
readonly name: "depositUSDCE";
|
|
5708
|
+
readonly outputs: readonly [{
|
|
5709
|
+
readonly internalType: "uint256";
|
|
5710
|
+
readonly name: "shares";
|
|
5711
|
+
readonly type: "uint256";
|
|
5712
|
+
}];
|
|
5713
|
+
readonly stateMutability: "nonpayable";
|
|
5714
|
+
readonly type: "function";
|
|
5715
|
+
}, {
|
|
5716
|
+
readonly inputs: readonly [{
|
|
5717
|
+
readonly internalType: "address";
|
|
5718
|
+
readonly name: "inputAsset";
|
|
5719
|
+
readonly type: "address";
|
|
5720
|
+
}, {
|
|
5721
|
+
readonly internalType: "uint256";
|
|
5722
|
+
readonly name: "amount";
|
|
5723
|
+
readonly type: "uint256";
|
|
5724
|
+
}, {
|
|
5725
|
+
readonly internalType: "address";
|
|
5726
|
+
readonly name: "receiver";
|
|
5727
|
+
readonly type: "address";
|
|
5728
|
+
}];
|
|
5729
|
+
readonly name: "depositWrappedAsset";
|
|
5730
|
+
readonly outputs: readonly [{
|
|
5731
|
+
readonly internalType: "uint256";
|
|
5732
|
+
readonly name: "shares";
|
|
5733
|
+
readonly type: "uint256";
|
|
5734
|
+
}];
|
|
5735
|
+
readonly stateMutability: "nonpayable";
|
|
5736
|
+
readonly type: "function";
|
|
5493
5737
|
}, {
|
|
5494
5738
|
readonly inputs: readonly [{
|
|
5495
5739
|
readonly internalType: "address";
|
|
@@ -5499,6 +5743,10 @@ export declare const abis: {
|
|
|
5499
5743
|
readonly internalType: "uint256";
|
|
5500
5744
|
readonly name: "amount";
|
|
5501
5745
|
readonly type: "uint256";
|
|
5746
|
+
}, {
|
|
5747
|
+
readonly internalType: "address";
|
|
5748
|
+
readonly name: "outputAsset";
|
|
5749
|
+
readonly type: "address";
|
|
5502
5750
|
}];
|
|
5503
5751
|
readonly name: "drawFunds";
|
|
5504
5752
|
readonly outputs: readonly [{
|
|
@@ -5726,6 +5974,28 @@ export declare const abis: {
|
|
|
5726
5974
|
}];
|
|
5727
5975
|
readonly stateMutability: "nonpayable";
|
|
5728
5976
|
readonly type: "function";
|
|
5977
|
+
}, {
|
|
5978
|
+
readonly inputs: readonly [{
|
|
5979
|
+
readonly internalType: "address";
|
|
5980
|
+
readonly name: "inputAsset";
|
|
5981
|
+
readonly type: "address";
|
|
5982
|
+
}, {
|
|
5983
|
+
readonly internalType: "uint256";
|
|
5984
|
+
readonly name: "shares";
|
|
5985
|
+
readonly type: "uint256";
|
|
5986
|
+
}, {
|
|
5987
|
+
readonly internalType: "address";
|
|
5988
|
+
readonly name: "receiver";
|
|
5989
|
+
readonly type: "address";
|
|
5990
|
+
}];
|
|
5991
|
+
readonly name: "mintWrappedAsset";
|
|
5992
|
+
readonly outputs: readonly [{
|
|
5993
|
+
readonly internalType: "uint256";
|
|
5994
|
+
readonly name: "assets";
|
|
5995
|
+
readonly type: "uint256";
|
|
5996
|
+
}];
|
|
5997
|
+
readonly stateMutability: "nonpayable";
|
|
5998
|
+
readonly type: "function";
|
|
5729
5999
|
}, {
|
|
5730
6000
|
readonly inputs: readonly [];
|
|
5731
6001
|
readonly name: "name";
|
|
@@ -5736,6 +6006,16 @@ export declare const abis: {
|
|
|
5736
6006
|
}];
|
|
5737
6007
|
readonly stateMutability: "view";
|
|
5738
6008
|
readonly type: "function";
|
|
6009
|
+
}, {
|
|
6010
|
+
readonly inputs: readonly [];
|
|
6011
|
+
readonly name: "nativeUsdc";
|
|
6012
|
+
readonly outputs: readonly [{
|
|
6013
|
+
readonly internalType: "address";
|
|
6014
|
+
readonly name: "";
|
|
6015
|
+
readonly type: "address";
|
|
6016
|
+
}];
|
|
6017
|
+
readonly stateMutability: "view";
|
|
6018
|
+
readonly type: "function";
|
|
5739
6019
|
}, {
|
|
5740
6020
|
readonly inputs: readonly [{
|
|
5741
6021
|
readonly internalType: "uint256";
|
|
@@ -5801,6 +6081,10 @@ export declare const abis: {
|
|
|
5801
6081
|
readonly internalType: "uint256";
|
|
5802
6082
|
readonly name: "actualAmount";
|
|
5803
6083
|
readonly type: "uint256";
|
|
6084
|
+
}, {
|
|
6085
|
+
readonly internalType: "address";
|
|
6086
|
+
readonly name: "inputAsset";
|
|
6087
|
+
readonly type: "address";
|
|
5804
6088
|
}];
|
|
5805
6089
|
readonly name: "receiveFunds";
|
|
5806
6090
|
readonly outputs: readonly [];
|
|
@@ -5829,9 +6113,35 @@ export declare const abis: {
|
|
|
5829
6113
|
readonly stateMutability: "nonpayable";
|
|
5830
6114
|
readonly type: "function";
|
|
5831
6115
|
}, {
|
|
5832
|
-
readonly inputs: readonly [
|
|
5833
|
-
|
|
5834
|
-
|
|
6116
|
+
readonly inputs: readonly [{
|
|
6117
|
+
readonly internalType: "address";
|
|
6118
|
+
readonly name: "outputAsset";
|
|
6119
|
+
readonly type: "address";
|
|
6120
|
+
}, {
|
|
6121
|
+
readonly internalType: "uint256";
|
|
6122
|
+
readonly name: "shares";
|
|
6123
|
+
readonly type: "uint256";
|
|
6124
|
+
}, {
|
|
6125
|
+
readonly internalType: "address";
|
|
6126
|
+
readonly name: "receiver";
|
|
6127
|
+
readonly type: "address";
|
|
6128
|
+
}, {
|
|
6129
|
+
readonly internalType: "address";
|
|
6130
|
+
readonly name: "owner";
|
|
6131
|
+
readonly type: "address";
|
|
6132
|
+
}];
|
|
6133
|
+
readonly name: "redeemAsWrappedAsset";
|
|
6134
|
+
readonly outputs: readonly [{
|
|
6135
|
+
readonly internalType: "uint256";
|
|
6136
|
+
readonly name: "assets";
|
|
6137
|
+
readonly type: "uint256";
|
|
6138
|
+
}];
|
|
6139
|
+
readonly stateMutability: "nonpayable";
|
|
6140
|
+
readonly type: "function";
|
|
6141
|
+
}, {
|
|
6142
|
+
readonly inputs: readonly [];
|
|
6143
|
+
readonly name: "reserveBalance";
|
|
6144
|
+
readonly outputs: readonly [{
|
|
5835
6145
|
readonly internalType: "uint256";
|
|
5836
6146
|
readonly name: "";
|
|
5837
6147
|
readonly type: "uint256";
|
|
@@ -5868,6 +6178,20 @@ export declare const abis: {
|
|
|
5868
6178
|
readonly outputs: readonly [];
|
|
5869
6179
|
readonly stateMutability: "nonpayable";
|
|
5870
6180
|
readonly type: "function";
|
|
6181
|
+
}, {
|
|
6182
|
+
readonly inputs: readonly [{
|
|
6183
|
+
readonly internalType: "address";
|
|
6184
|
+
readonly name: "newOnramp";
|
|
6185
|
+
readonly type: "address";
|
|
6186
|
+
}, {
|
|
6187
|
+
readonly internalType: "address";
|
|
6188
|
+
readonly name: "newOfframp";
|
|
6189
|
+
readonly type: "address";
|
|
6190
|
+
}];
|
|
6191
|
+
readonly name: "setCollateralRamps";
|
|
6192
|
+
readonly outputs: readonly [];
|
|
6193
|
+
readonly stateMutability: "nonpayable";
|
|
6194
|
+
readonly type: "function";
|
|
5871
6195
|
}, {
|
|
5872
6196
|
readonly inputs: readonly [{
|
|
5873
6197
|
readonly internalType: "uint256";
|
|
@@ -5898,6 +6222,20 @@ export declare const abis: {
|
|
|
5898
6222
|
readonly outputs: readonly [];
|
|
5899
6223
|
readonly stateMutability: "nonpayable";
|
|
5900
6224
|
readonly type: "function";
|
|
6225
|
+
}, {
|
|
6226
|
+
readonly inputs: readonly [{
|
|
6227
|
+
readonly internalType: "address";
|
|
6228
|
+
readonly name: "newNativeUsdc";
|
|
6229
|
+
readonly type: "address";
|
|
6230
|
+
}, {
|
|
6231
|
+
readonly internalType: "address";
|
|
6232
|
+
readonly name: "newBridgedUsdc";
|
|
6233
|
+
readonly type: "address";
|
|
6234
|
+
}];
|
|
6235
|
+
readonly name: "setWrappedCollateralAssets";
|
|
6236
|
+
readonly outputs: readonly [];
|
|
6237
|
+
readonly stateMutability: "nonpayable";
|
|
6238
|
+
readonly type: "function";
|
|
5901
6239
|
}, {
|
|
5902
6240
|
readonly inputs: readonly [];
|
|
5903
6241
|
readonly name: "symbol";
|
|
@@ -6000,6 +6338,32 @@ export declare const abis: {
|
|
|
6000
6338
|
}];
|
|
6001
6339
|
readonly stateMutability: "nonpayable";
|
|
6002
6340
|
readonly type: "function";
|
|
6341
|
+
}, {
|
|
6342
|
+
readonly inputs: readonly [{
|
|
6343
|
+
readonly internalType: "address";
|
|
6344
|
+
readonly name: "outputAsset";
|
|
6345
|
+
readonly type: "address";
|
|
6346
|
+
}, {
|
|
6347
|
+
readonly internalType: "uint256";
|
|
6348
|
+
readonly name: "assets";
|
|
6349
|
+
readonly type: "uint256";
|
|
6350
|
+
}, {
|
|
6351
|
+
readonly internalType: "address";
|
|
6352
|
+
readonly name: "receiver";
|
|
6353
|
+
readonly type: "address";
|
|
6354
|
+
}, {
|
|
6355
|
+
readonly internalType: "address";
|
|
6356
|
+
readonly name: "owner";
|
|
6357
|
+
readonly type: "address";
|
|
6358
|
+
}];
|
|
6359
|
+
readonly name: "withdrawAsWrappedAsset";
|
|
6360
|
+
readonly outputs: readonly [{
|
|
6361
|
+
readonly internalType: "uint256";
|
|
6362
|
+
readonly name: "shares";
|
|
6363
|
+
readonly type: "uint256";
|
|
6364
|
+
}];
|
|
6365
|
+
readonly stateMutability: "nonpayable";
|
|
6366
|
+
readonly type: "function";
|
|
6003
6367
|
}, {
|
|
6004
6368
|
readonly inputs: readonly [{
|
|
6005
6369
|
readonly internalType: "address";
|
|
@@ -6014,6 +6378,50 @@ export declare const abis: {
|
|
|
6014
6378
|
readonly outputs: readonly [];
|
|
6015
6379
|
readonly stateMutability: "nonpayable";
|
|
6016
6380
|
readonly type: "function";
|
|
6381
|
+
}, {
|
|
6382
|
+
readonly inputs: readonly [{
|
|
6383
|
+
readonly internalType: "uint256";
|
|
6384
|
+
readonly name: "assets";
|
|
6385
|
+
readonly type: "uint256";
|
|
6386
|
+
}, {
|
|
6387
|
+
readonly internalType: "address";
|
|
6388
|
+
readonly name: "receiver";
|
|
6389
|
+
readonly type: "address";
|
|
6390
|
+
}, {
|
|
6391
|
+
readonly internalType: "address";
|
|
6392
|
+
readonly name: "owner";
|
|
6393
|
+
readonly type: "address";
|
|
6394
|
+
}];
|
|
6395
|
+
readonly name: "withdrawUSDC";
|
|
6396
|
+
readonly outputs: readonly [{
|
|
6397
|
+
readonly internalType: "uint256";
|
|
6398
|
+
readonly name: "shares";
|
|
6399
|
+
readonly type: "uint256";
|
|
6400
|
+
}];
|
|
6401
|
+
readonly stateMutability: "nonpayable";
|
|
6402
|
+
readonly type: "function";
|
|
6403
|
+
}, {
|
|
6404
|
+
readonly inputs: readonly [{
|
|
6405
|
+
readonly internalType: "uint256";
|
|
6406
|
+
readonly name: "assets";
|
|
6407
|
+
readonly type: "uint256";
|
|
6408
|
+
}, {
|
|
6409
|
+
readonly internalType: "address";
|
|
6410
|
+
readonly name: "receiver";
|
|
6411
|
+
readonly type: "address";
|
|
6412
|
+
}, {
|
|
6413
|
+
readonly internalType: "address";
|
|
6414
|
+
readonly name: "owner";
|
|
6415
|
+
readonly type: "address";
|
|
6416
|
+
}];
|
|
6417
|
+
readonly name: "withdrawUSDCE";
|
|
6418
|
+
readonly outputs: readonly [{
|
|
6419
|
+
readonly internalType: "uint256";
|
|
6420
|
+
readonly name: "shares";
|
|
6421
|
+
readonly type: "uint256";
|
|
6422
|
+
}];
|
|
6423
|
+
readonly stateMutability: "nonpayable";
|
|
6424
|
+
readonly type: "function";
|
|
6017
6425
|
}];
|
|
6018
6426
|
readonly VARLAINTERESTRATESTRATEGY_ABI: readonly [{
|
|
6019
6427
|
readonly inputs: readonly [{
|
|
@@ -7388,10 +7796,6 @@ export declare const abis: {
|
|
|
7388
7796
|
readonly inputs: readonly [];
|
|
7389
7797
|
readonly name: "MustNotLeaveDust";
|
|
7390
7798
|
readonly type: "error";
|
|
7391
|
-
}, {
|
|
7392
|
-
readonly inputs: readonly [];
|
|
7393
|
-
readonly name: "NegRiskAdapterNotSet";
|
|
7394
|
-
readonly type: "error";
|
|
7395
7799
|
}, {
|
|
7396
7800
|
readonly inputs: readonly [];
|
|
7397
7801
|
readonly name: "NoCollateralToSeize";
|
|
@@ -7518,21 +7922,6 @@ export declare const abis: {
|
|
|
7518
7922
|
}];
|
|
7519
7923
|
readonly name: "MarketAdapterUpdated";
|
|
7520
7924
|
readonly type: "event";
|
|
7521
|
-
}, {
|
|
7522
|
-
readonly anonymous: false;
|
|
7523
|
-
readonly inputs: readonly [{
|
|
7524
|
-
readonly indexed: true;
|
|
7525
|
-
readonly internalType: "address";
|
|
7526
|
-
readonly name: "oldAdapter";
|
|
7527
|
-
readonly type: "address";
|
|
7528
|
-
}, {
|
|
7529
|
-
readonly indexed: true;
|
|
7530
|
-
readonly internalType: "address";
|
|
7531
|
-
readonly name: "newAdapter";
|
|
7532
|
-
readonly type: "address";
|
|
7533
|
-
}];
|
|
7534
|
-
readonly name: "NegRiskAdapterUpdated";
|
|
7535
|
-
readonly type: "event";
|
|
7536
7925
|
}, {
|
|
7537
7926
|
readonly anonymous: false;
|
|
7538
7927
|
readonly inputs: readonly [{
|
|
@@ -7697,16 +8086,6 @@ export declare const abis: {
|
|
|
7697
8086
|
}];
|
|
7698
8087
|
readonly stateMutability: "view";
|
|
7699
8088
|
readonly type: "function";
|
|
7700
|
-
}, {
|
|
7701
|
-
readonly inputs: readonly [];
|
|
7702
|
-
readonly name: "negRiskAdapter";
|
|
7703
|
-
readonly outputs: readonly [{
|
|
7704
|
-
readonly internalType: "contract IMarketAdapter";
|
|
7705
|
-
readonly name: "";
|
|
7706
|
-
readonly type: "address";
|
|
7707
|
-
}];
|
|
7708
|
-
readonly stateMutability: "view";
|
|
7709
|
-
readonly type: "function";
|
|
7710
8089
|
}, {
|
|
7711
8090
|
readonly inputs: readonly [{
|
|
7712
8091
|
readonly internalType: "address";
|
|
@@ -7875,16 +8254,6 @@ export declare const abis: {
|
|
|
7875
8254
|
readonly outputs: readonly [];
|
|
7876
8255
|
readonly stateMutability: "nonpayable";
|
|
7877
8256
|
readonly type: "function";
|
|
7878
|
-
}, {
|
|
7879
|
-
readonly inputs: readonly [{
|
|
7880
|
-
readonly internalType: "address";
|
|
7881
|
-
readonly name: "_adapter";
|
|
7882
|
-
readonly type: "address";
|
|
7883
|
-
}];
|
|
7884
|
-
readonly name: "setNegRiskAdapter";
|
|
7885
|
-
readonly outputs: readonly [];
|
|
7886
|
-
readonly stateMutability: "nonpayable";
|
|
7887
|
-
readonly type: "function";
|
|
7888
8257
|
}, {
|
|
7889
8258
|
readonly inputs: readonly [{
|
|
7890
8259
|
readonly internalType: "address";
|
|
@@ -8040,6 +8409,10 @@ export declare const abis: {
|
|
|
8040
8409
|
readonly inputs: readonly [];
|
|
8041
8410
|
readonly name: "NegRiskAdapterNotSet";
|
|
8042
8411
|
readonly type: "error";
|
|
8412
|
+
}, {
|
|
8413
|
+
readonly inputs: readonly [];
|
|
8414
|
+
readonly name: "NegRiskCollateralAdapterNotSet";
|
|
8415
|
+
readonly type: "error";
|
|
8043
8416
|
}, {
|
|
8044
8417
|
readonly inputs: readonly [];
|
|
8045
8418
|
readonly name: "NoCollateralToSeize";
|
|
@@ -8186,6 +8559,21 @@ export declare const abis: {
|
|
|
8186
8559
|
}];
|
|
8187
8560
|
readonly name: "NegRiskAdapterUpdated";
|
|
8188
8561
|
readonly type: "event";
|
|
8562
|
+
}, {
|
|
8563
|
+
readonly anonymous: false;
|
|
8564
|
+
readonly inputs: readonly [{
|
|
8565
|
+
readonly indexed: true;
|
|
8566
|
+
readonly internalType: "address";
|
|
8567
|
+
readonly name: "oldAdapter";
|
|
8568
|
+
readonly type: "address";
|
|
8569
|
+
}, {
|
|
8570
|
+
readonly indexed: true;
|
|
8571
|
+
readonly internalType: "address";
|
|
8572
|
+
readonly name: "newAdapter";
|
|
8573
|
+
readonly type: "address";
|
|
8574
|
+
}];
|
|
8575
|
+
readonly name: "NegRiskCollateralAdapterUpdated";
|
|
8576
|
+
readonly type: "event";
|
|
8189
8577
|
}, {
|
|
8190
8578
|
readonly anonymous: false;
|
|
8191
8579
|
readonly inputs: readonly [{
|
|
@@ -8354,6 +8742,16 @@ export declare const abis: {
|
|
|
8354
8742
|
}];
|
|
8355
8743
|
readonly stateMutability: "view";
|
|
8356
8744
|
readonly type: "function";
|
|
8745
|
+
}, {
|
|
8746
|
+
readonly inputs: readonly [];
|
|
8747
|
+
readonly name: "negRiskCollateralAdapter";
|
|
8748
|
+
readonly outputs: readonly [{
|
|
8749
|
+
readonly internalType: "contract INegRiskCtfCollateralAdapter";
|
|
8750
|
+
readonly name: "";
|
|
8751
|
+
readonly type: "address";
|
|
8752
|
+
}];
|
|
8753
|
+
readonly stateMutability: "view";
|
|
8754
|
+
readonly type: "function";
|
|
8357
8755
|
}, {
|
|
8358
8756
|
readonly inputs: readonly [{
|
|
8359
8757
|
readonly internalType: "address";
|
|
@@ -8522,6 +8920,16 @@ export declare const abis: {
|
|
|
8522
8920
|
readonly outputs: readonly [];
|
|
8523
8921
|
readonly stateMutability: "nonpayable";
|
|
8524
8922
|
readonly type: "function";
|
|
8923
|
+
}, {
|
|
8924
|
+
readonly inputs: readonly [{
|
|
8925
|
+
readonly internalType: "address";
|
|
8926
|
+
readonly name: "_adapter";
|
|
8927
|
+
readonly type: "address";
|
|
8928
|
+
}];
|
|
8929
|
+
readonly name: "setNegRiskCollateralAdapter";
|
|
8930
|
+
readonly outputs: readonly [];
|
|
8931
|
+
readonly stateMutability: "nonpayable";
|
|
8932
|
+
readonly type: "function";
|
|
8525
8933
|
}, {
|
|
8526
8934
|
readonly inputs: readonly [{
|
|
8527
8935
|
readonly internalType: "address";
|
|
@@ -9225,6 +9633,14 @@ export declare const abis: {
|
|
|
9225
9633
|
readonly internalType: "address";
|
|
9226
9634
|
readonly name: "_collateral";
|
|
9227
9635
|
readonly type: "address";
|
|
9636
|
+
}, {
|
|
9637
|
+
readonly internalType: "address";
|
|
9638
|
+
readonly name: "_ctfCollateralAdapter";
|
|
9639
|
+
readonly type: "address";
|
|
9640
|
+
}, {
|
|
9641
|
+
readonly internalType: "address";
|
|
9642
|
+
readonly name: "_negRiskCtfCollateralAdapter";
|
|
9643
|
+
readonly type: "address";
|
|
9228
9644
|
}, {
|
|
9229
9645
|
readonly internalType: "address";
|
|
9230
9646
|
readonly name: "_authority";
|
|
@@ -9324,236 +9740,9 @@ export declare const abis: {
|
|
|
9324
9740
|
readonly type: "function";
|
|
9325
9741
|
}, {
|
|
9326
9742
|
readonly inputs: readonly [];
|
|
9327
|
-
readonly name: "
|
|
9328
|
-
readonly outputs: readonly [{
|
|
9329
|
-
readonly internalType: "bytes4";
|
|
9330
|
-
readonly name: "";
|
|
9331
|
-
readonly type: "bytes4";
|
|
9332
|
-
}];
|
|
9333
|
-
readonly stateMutability: "view";
|
|
9334
|
-
readonly type: "function";
|
|
9335
|
-
}, {
|
|
9336
|
-
readonly inputs: readonly [{
|
|
9337
|
-
readonly internalType: "bytes32";
|
|
9338
|
-
readonly name: "conditionId";
|
|
9339
|
-
readonly type: "bytes32";
|
|
9340
|
-
}, {
|
|
9341
|
-
readonly internalType: "uint256";
|
|
9342
|
-
readonly name: "amount";
|
|
9343
|
-
readonly type: "uint256";
|
|
9344
|
-
}, {
|
|
9345
|
-
readonly internalType: "address";
|
|
9346
|
-
readonly name: "recipient";
|
|
9347
|
-
readonly type: "address";
|
|
9348
|
-
}];
|
|
9349
|
-
readonly name: "mergeBinaryFullSet";
|
|
9350
|
-
readonly outputs: readonly [{
|
|
9351
|
-
readonly internalType: "uint256";
|
|
9352
|
-
readonly name: "collateralOut";
|
|
9353
|
-
readonly type: "uint256";
|
|
9354
|
-
}];
|
|
9355
|
-
readonly stateMutability: "nonpayable";
|
|
9356
|
-
readonly type: "function";
|
|
9357
|
-
}, {
|
|
9358
|
-
readonly inputs: readonly [{
|
|
9359
|
-
readonly internalType: "address";
|
|
9360
|
-
readonly name: "";
|
|
9361
|
-
readonly type: "address";
|
|
9362
|
-
}, {
|
|
9363
|
-
readonly internalType: "address";
|
|
9364
|
-
readonly name: "";
|
|
9365
|
-
readonly type: "address";
|
|
9366
|
-
}, {
|
|
9367
|
-
readonly internalType: "uint256[]";
|
|
9368
|
-
readonly name: "";
|
|
9369
|
-
readonly type: "uint256[]";
|
|
9370
|
-
}, {
|
|
9371
|
-
readonly internalType: "uint256[]";
|
|
9372
|
-
readonly name: "";
|
|
9373
|
-
readonly type: "uint256[]";
|
|
9374
|
-
}, {
|
|
9375
|
-
readonly internalType: "bytes";
|
|
9376
|
-
readonly name: "";
|
|
9377
|
-
readonly type: "bytes";
|
|
9378
|
-
}];
|
|
9379
|
-
readonly name: "onERC1155BatchReceived";
|
|
9380
|
-
readonly outputs: readonly [{
|
|
9381
|
-
readonly internalType: "bytes4";
|
|
9382
|
-
readonly name: "";
|
|
9383
|
-
readonly type: "bytes4";
|
|
9384
|
-
}];
|
|
9385
|
-
readonly stateMutability: "nonpayable";
|
|
9386
|
-
readonly type: "function";
|
|
9387
|
-
}, {
|
|
9388
|
-
readonly inputs: readonly [{
|
|
9389
|
-
readonly internalType: "address";
|
|
9390
|
-
readonly name: "";
|
|
9391
|
-
readonly type: "address";
|
|
9392
|
-
}, {
|
|
9393
|
-
readonly internalType: "address";
|
|
9394
|
-
readonly name: "";
|
|
9395
|
-
readonly type: "address";
|
|
9396
|
-
}, {
|
|
9397
|
-
readonly internalType: "uint256";
|
|
9398
|
-
readonly name: "";
|
|
9399
|
-
readonly type: "uint256";
|
|
9400
|
-
}, {
|
|
9401
|
-
readonly internalType: "uint256";
|
|
9402
|
-
readonly name: "";
|
|
9403
|
-
readonly type: "uint256";
|
|
9404
|
-
}, {
|
|
9405
|
-
readonly internalType: "bytes";
|
|
9406
|
-
readonly name: "";
|
|
9407
|
-
readonly type: "bytes";
|
|
9408
|
-
}];
|
|
9409
|
-
readonly name: "onERC1155Received";
|
|
9410
|
-
readonly outputs: readonly [{
|
|
9411
|
-
readonly internalType: "bytes4";
|
|
9412
|
-
readonly name: "";
|
|
9413
|
-
readonly type: "bytes4";
|
|
9414
|
-
}];
|
|
9415
|
-
readonly stateMutability: "nonpayable";
|
|
9416
|
-
readonly type: "function";
|
|
9417
|
-
}, {
|
|
9418
|
-
readonly inputs: readonly [];
|
|
9419
|
-
readonly name: "positions";
|
|
9420
|
-
readonly outputs: readonly [{
|
|
9421
|
-
readonly internalType: "address";
|
|
9422
|
-
readonly name: "";
|
|
9423
|
-
readonly type: "address";
|
|
9424
|
-
}];
|
|
9425
|
-
readonly stateMutability: "view";
|
|
9426
|
-
readonly type: "function";
|
|
9427
|
-
}, {
|
|
9428
|
-
readonly inputs: readonly [{
|
|
9429
|
-
readonly internalType: "address";
|
|
9430
|
-
readonly name: "newAuthority";
|
|
9431
|
-
readonly type: "address";
|
|
9432
|
-
}];
|
|
9433
|
-
readonly name: "setAuthority";
|
|
9434
|
-
readonly outputs: readonly [];
|
|
9435
|
-
readonly stateMutability: "nonpayable";
|
|
9436
|
-
readonly type: "function";
|
|
9437
|
-
}, {
|
|
9438
|
-
readonly inputs: readonly [{
|
|
9439
|
-
readonly internalType: "bytes4";
|
|
9440
|
-
readonly name: "interfaceId";
|
|
9441
|
-
readonly type: "bytes4";
|
|
9442
|
-
}];
|
|
9443
|
-
readonly name: "supportsInterface";
|
|
9444
|
-
readonly outputs: readonly [{
|
|
9445
|
-
readonly internalType: "bool";
|
|
9446
|
-
readonly name: "";
|
|
9447
|
-
readonly type: "bool";
|
|
9448
|
-
}];
|
|
9449
|
-
readonly stateMutability: "view";
|
|
9450
|
-
readonly type: "function";
|
|
9451
|
-
}];
|
|
9452
|
-
readonly POLYMARKETNEGRISKMERGEADAPTER_ABI: readonly [{
|
|
9453
|
-
readonly inputs: readonly [{
|
|
9454
|
-
readonly internalType: "address";
|
|
9455
|
-
readonly name: "_ctf";
|
|
9456
|
-
readonly type: "address";
|
|
9457
|
-
}, {
|
|
9458
|
-
readonly internalType: "address";
|
|
9459
|
-
readonly name: "_negRiskAdapter";
|
|
9460
|
-
readonly type: "address";
|
|
9461
|
-
}, {
|
|
9462
|
-
readonly internalType: "address";
|
|
9463
|
-
readonly name: "_collateral";
|
|
9464
|
-
readonly type: "address";
|
|
9465
|
-
}, {
|
|
9466
|
-
readonly internalType: "address";
|
|
9467
|
-
readonly name: "_authority";
|
|
9468
|
-
readonly type: "address";
|
|
9469
|
-
}];
|
|
9470
|
-
readonly stateMutability: "nonpayable";
|
|
9471
|
-
readonly type: "constructor";
|
|
9472
|
-
}, {
|
|
9473
|
-
readonly inputs: readonly [{
|
|
9474
|
-
readonly internalType: "address";
|
|
9475
|
-
readonly name: "authority";
|
|
9476
|
-
readonly type: "address";
|
|
9477
|
-
}];
|
|
9478
|
-
readonly name: "AccessManagedInvalidAuthority";
|
|
9479
|
-
readonly type: "error";
|
|
9480
|
-
}, {
|
|
9481
|
-
readonly inputs: readonly [{
|
|
9482
|
-
readonly internalType: "address";
|
|
9483
|
-
readonly name: "caller";
|
|
9484
|
-
readonly type: "address";
|
|
9485
|
-
}, {
|
|
9486
|
-
readonly internalType: "uint32";
|
|
9487
|
-
readonly name: "delay";
|
|
9488
|
-
readonly type: "uint32";
|
|
9489
|
-
}];
|
|
9490
|
-
readonly name: "AccessManagedRequiredDelay";
|
|
9491
|
-
readonly type: "error";
|
|
9492
|
-
}, {
|
|
9493
|
-
readonly inputs: readonly [{
|
|
9494
|
-
readonly internalType: "address";
|
|
9495
|
-
readonly name: "caller";
|
|
9496
|
-
readonly type: "address";
|
|
9497
|
-
}];
|
|
9498
|
-
readonly name: "AccessManagedUnauthorized";
|
|
9499
|
-
readonly type: "error";
|
|
9500
|
-
}, {
|
|
9501
|
-
readonly inputs: readonly [{
|
|
9502
|
-
readonly internalType: "address";
|
|
9503
|
-
readonly name: "token";
|
|
9504
|
-
readonly type: "address";
|
|
9505
|
-
}];
|
|
9506
|
-
readonly name: "SafeERC20FailedOperation";
|
|
9507
|
-
readonly type: "error";
|
|
9508
|
-
}, {
|
|
9509
|
-
readonly inputs: readonly [];
|
|
9510
|
-
readonly name: "ZeroAddress";
|
|
9511
|
-
readonly type: "error";
|
|
9512
|
-
}, {
|
|
9513
|
-
readonly anonymous: false;
|
|
9514
|
-
readonly inputs: readonly [{
|
|
9515
|
-
readonly indexed: false;
|
|
9516
|
-
readonly internalType: "address";
|
|
9517
|
-
readonly name: "authority";
|
|
9518
|
-
readonly type: "address";
|
|
9519
|
-
}];
|
|
9520
|
-
readonly name: "AuthorityUpdated";
|
|
9521
|
-
readonly type: "event";
|
|
9522
|
-
}, {
|
|
9523
|
-
readonly inputs: readonly [];
|
|
9524
|
-
readonly name: "authority";
|
|
9743
|
+
readonly name: "ctfCollateralAdapter";
|
|
9525
9744
|
readonly outputs: readonly [{
|
|
9526
|
-
readonly internalType: "
|
|
9527
|
-
readonly name: "";
|
|
9528
|
-
readonly type: "address";
|
|
9529
|
-
}];
|
|
9530
|
-
readonly stateMutability: "view";
|
|
9531
|
-
readonly type: "function";
|
|
9532
|
-
}, {
|
|
9533
|
-
readonly inputs: readonly [];
|
|
9534
|
-
readonly name: "collateral";
|
|
9535
|
-
readonly outputs: readonly [{
|
|
9536
|
-
readonly internalType: "address";
|
|
9537
|
-
readonly name: "";
|
|
9538
|
-
readonly type: "address";
|
|
9539
|
-
}];
|
|
9540
|
-
readonly stateMutability: "view";
|
|
9541
|
-
readonly type: "function";
|
|
9542
|
-
}, {
|
|
9543
|
-
readonly inputs: readonly [];
|
|
9544
|
-
readonly name: "collateralToken";
|
|
9545
|
-
readonly outputs: readonly [{
|
|
9546
|
-
readonly internalType: "contract IERC20";
|
|
9547
|
-
readonly name: "";
|
|
9548
|
-
readonly type: "address";
|
|
9549
|
-
}];
|
|
9550
|
-
readonly stateMutability: "view";
|
|
9551
|
-
readonly type: "function";
|
|
9552
|
-
}, {
|
|
9553
|
-
readonly inputs: readonly [];
|
|
9554
|
-
readonly name: "ctf";
|
|
9555
|
-
readonly outputs: readonly [{
|
|
9556
|
-
readonly internalType: "contract ICTF";
|
|
9745
|
+
readonly internalType: "contract ICtfCollateralAdapter";
|
|
9557
9746
|
readonly name: "";
|
|
9558
9747
|
readonly type: "address";
|
|
9559
9748
|
}];
|
|
@@ -9582,6 +9771,10 @@ export declare const abis: {
|
|
|
9582
9771
|
readonly internalType: "address";
|
|
9583
9772
|
readonly name: "recipient";
|
|
9584
9773
|
readonly type: "address";
|
|
9774
|
+
}, {
|
|
9775
|
+
readonly internalType: "bool";
|
|
9776
|
+
readonly name: "isNegRisk";
|
|
9777
|
+
readonly type: "bool";
|
|
9585
9778
|
}];
|
|
9586
9779
|
readonly name: "mergeBinaryFullSet";
|
|
9587
9780
|
readonly outputs: readonly [{
|
|
@@ -9593,9 +9786,9 @@ export declare const abis: {
|
|
|
9593
9786
|
readonly type: "function";
|
|
9594
9787
|
}, {
|
|
9595
9788
|
readonly inputs: readonly [];
|
|
9596
|
-
readonly name: "
|
|
9789
|
+
readonly name: "negRiskCtfCollateralAdapter";
|
|
9597
9790
|
readonly outputs: readonly [{
|
|
9598
|
-
readonly internalType: "contract
|
|
9791
|
+
readonly internalType: "contract INegRiskCtfCollateralAdapter";
|
|
9599
9792
|
readonly name: "";
|
|
9600
9793
|
readonly type: "address";
|
|
9601
9794
|
}];
|
|
@@ -9831,6 +10024,10 @@ export declare const abis: {
|
|
|
9831
10024
|
readonly internalType: "address";
|
|
9832
10025
|
readonly name: "recipient";
|
|
9833
10026
|
readonly type: "address";
|
|
10027
|
+
}, {
|
|
10028
|
+
readonly internalType: "bool";
|
|
10029
|
+
readonly name: "";
|
|
10030
|
+
readonly type: "bool";
|
|
9834
10031
|
}];
|
|
9835
10032
|
readonly name: "mergeBinaryFullSet";
|
|
9836
10033
|
readonly outputs: readonly [{
|