@meterio/sumer-js 0.2.129 → 0.2.131
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/browser/sumer.min.js +10 -10
- package/dist/nodejs/abi.d.ts +39 -0
- package/dist/nodejs/abi.js +694 -18
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/bsc.d.ts +2 -2
- package/dist/nodejs/constants/bsc.js +4 -4
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +2 -2
- package/dist/nodejs/constants/ethereum.js +4 -4
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +2 -0
- package/dist/nodejs/constants/monadtest.js +15 -1
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.js +1 -1
- package/dist/nodejs/index.d.ts +39 -0
- package/dist/nodejs/typechain/contracts/CToken/CAavePool.sol/CAavePool.d.ts +47 -5
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/CEther.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/CToken.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/CToken/CTokenStorage.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.sol/CInfraredVault.d.ts +17 -1
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.d.ts +133 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.d.ts +196 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/InterestRateModel/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.d.ts +63 -7
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js +82 -8
- package/dist/nodejs/typechain/factories/contracts/CToken/CAavePool.sol/CAavePool__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.d.ts +14 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js +19 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CTokenStorage__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +34 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +45 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +35 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +46 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.d.ts +145 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.js +199 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/IAaveV3Pool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.d.ts +299 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.js +396 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/JumpRateModelForAave__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js +11 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/JumpRateModelForAave.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js +25 -1
- package/dist/nodejs/typechain/factories/contracts/InterestRateModel/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +36 -0
- package/dist/nodejs/typechain/index.d.ts +2 -0
- package/dist/nodejs/typechain/index.js +4 -2
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
package/dist/nodejs/abi.js
CHANGED
|
@@ -4877,6 +4877,29 @@ exports.abi = {
|
|
|
4877
4877
|
"stateMutability": "view",
|
|
4878
4878
|
"type": "function"
|
|
4879
4879
|
},
|
|
4880
|
+
{
|
|
4881
|
+
"inputs": [],
|
|
4882
|
+
"name": "getAaveAPRs",
|
|
4883
|
+
"outputs": [
|
|
4884
|
+
{
|
|
4885
|
+
"internalType": "uint256",
|
|
4886
|
+
"name": "depositAPR",
|
|
4887
|
+
"type": "uint256"
|
|
4888
|
+
},
|
|
4889
|
+
{
|
|
4890
|
+
"internalType": "uint256",
|
|
4891
|
+
"name": "variableBorrowAPR",
|
|
4892
|
+
"type": "uint256"
|
|
4893
|
+
},
|
|
4894
|
+
{
|
|
4895
|
+
"internalType": "uint256",
|
|
4896
|
+
"name": "stableBorrowAPR",
|
|
4897
|
+
"type": "uint256"
|
|
4898
|
+
}
|
|
4899
|
+
],
|
|
4900
|
+
"stateMutability": "view",
|
|
4901
|
+
"type": "function"
|
|
4902
|
+
},
|
|
4880
4903
|
{
|
|
4881
4904
|
"inputs": [
|
|
4882
4905
|
{
|
|
@@ -5256,13 +5279,6 @@ exports.abi = {
|
|
|
5256
5279
|
"stateMutability": "nonpayable",
|
|
5257
5280
|
"type": "function"
|
|
5258
5281
|
},
|
|
5259
|
-
{
|
|
5260
|
-
"inputs": [],
|
|
5261
|
-
"name": "reinit",
|
|
5262
|
-
"outputs": [],
|
|
5263
|
-
"stateMutability": "nonpayable",
|
|
5264
|
-
"type": "function"
|
|
5265
|
-
},
|
|
5266
5282
|
{
|
|
5267
5283
|
"inputs": [
|
|
5268
5284
|
{
|
|
@@ -5330,6 +5346,32 @@ exports.abi = {
|
|
|
5330
5346
|
"stateMutability": "view",
|
|
5331
5347
|
"type": "function"
|
|
5332
5348
|
},
|
|
5349
|
+
{
|
|
5350
|
+
"inputs": [
|
|
5351
|
+
{
|
|
5352
|
+
"internalType": "address",
|
|
5353
|
+
"name": "addr",
|
|
5354
|
+
"type": "address"
|
|
5355
|
+
}
|
|
5356
|
+
],
|
|
5357
|
+
"name": "revokeWhitelist",
|
|
5358
|
+
"outputs": [],
|
|
5359
|
+
"stateMutability": "nonpayable",
|
|
5360
|
+
"type": "function"
|
|
5361
|
+
},
|
|
5362
|
+
{
|
|
5363
|
+
"inputs": [],
|
|
5364
|
+
"name": "scaledBalance",
|
|
5365
|
+
"outputs": [
|
|
5366
|
+
{
|
|
5367
|
+
"internalType": "uint256",
|
|
5368
|
+
"name": "",
|
|
5369
|
+
"type": "uint256"
|
|
5370
|
+
}
|
|
5371
|
+
],
|
|
5372
|
+
"stateMutability": "view",
|
|
5373
|
+
"type": "function"
|
|
5374
|
+
},
|
|
5333
5375
|
{
|
|
5334
5376
|
"inputs": [
|
|
5335
5377
|
{
|
|
@@ -5550,6 +5592,38 @@ exports.abi = {
|
|
|
5550
5592
|
],
|
|
5551
5593
|
"stateMutability": "view",
|
|
5552
5594
|
"type": "function"
|
|
5595
|
+
},
|
|
5596
|
+
{
|
|
5597
|
+
"inputs": [
|
|
5598
|
+
{
|
|
5599
|
+
"internalType": "address",
|
|
5600
|
+
"name": "addr",
|
|
5601
|
+
"type": "address"
|
|
5602
|
+
}
|
|
5603
|
+
],
|
|
5604
|
+
"name": "whitelist",
|
|
5605
|
+
"outputs": [],
|
|
5606
|
+
"stateMutability": "nonpayable",
|
|
5607
|
+
"type": "function"
|
|
5608
|
+
},
|
|
5609
|
+
{
|
|
5610
|
+
"inputs": [
|
|
5611
|
+
{
|
|
5612
|
+
"internalType": "address",
|
|
5613
|
+
"name": "",
|
|
5614
|
+
"type": "address"
|
|
5615
|
+
}
|
|
5616
|
+
],
|
|
5617
|
+
"name": "whitelisted",
|
|
5618
|
+
"outputs": [
|
|
5619
|
+
{
|
|
5620
|
+
"internalType": "bool",
|
|
5621
|
+
"name": "",
|
|
5622
|
+
"type": "bool"
|
|
5623
|
+
}
|
|
5624
|
+
],
|
|
5625
|
+
"stateMutability": "view",
|
|
5626
|
+
"type": "function"
|
|
5553
5627
|
}
|
|
5554
5628
|
],
|
|
5555
5629
|
"IAToken": [
|
|
@@ -7566,6 +7640,19 @@ exports.abi = {
|
|
|
7566
7640
|
"stateMutability": "view",
|
|
7567
7641
|
"type": "function"
|
|
7568
7642
|
},
|
|
7643
|
+
{
|
|
7644
|
+
"inputs": [
|
|
7645
|
+
{
|
|
7646
|
+
"internalType": "address",
|
|
7647
|
+
"name": "addr",
|
|
7648
|
+
"type": "address"
|
|
7649
|
+
}
|
|
7650
|
+
],
|
|
7651
|
+
"name": "revokeWhitelist",
|
|
7652
|
+
"outputs": [],
|
|
7653
|
+
"stateMutability": "nonpayable",
|
|
7654
|
+
"type": "function"
|
|
7655
|
+
},
|
|
7569
7656
|
{
|
|
7570
7657
|
"inputs": [
|
|
7571
7658
|
{
|
|
@@ -7786,6 +7873,38 @@ exports.abi = {
|
|
|
7786
7873
|
],
|
|
7787
7874
|
"stateMutability": "view",
|
|
7788
7875
|
"type": "function"
|
|
7876
|
+
},
|
|
7877
|
+
{
|
|
7878
|
+
"inputs": [
|
|
7879
|
+
{
|
|
7880
|
+
"internalType": "address",
|
|
7881
|
+
"name": "addr",
|
|
7882
|
+
"type": "address"
|
|
7883
|
+
}
|
|
7884
|
+
],
|
|
7885
|
+
"name": "whitelist",
|
|
7886
|
+
"outputs": [],
|
|
7887
|
+
"stateMutability": "nonpayable",
|
|
7888
|
+
"type": "function"
|
|
7889
|
+
},
|
|
7890
|
+
{
|
|
7891
|
+
"inputs": [
|
|
7892
|
+
{
|
|
7893
|
+
"internalType": "address",
|
|
7894
|
+
"name": "",
|
|
7895
|
+
"type": "address"
|
|
7896
|
+
}
|
|
7897
|
+
],
|
|
7898
|
+
"name": "whitelisted",
|
|
7899
|
+
"outputs": [
|
|
7900
|
+
{
|
|
7901
|
+
"internalType": "bool",
|
|
7902
|
+
"name": "",
|
|
7903
|
+
"type": "bool"
|
|
7904
|
+
}
|
|
7905
|
+
],
|
|
7906
|
+
"stateMutability": "view",
|
|
7907
|
+
"type": "function"
|
|
7789
7908
|
}
|
|
7790
7909
|
],
|
|
7791
7910
|
"CEther": [
|
|
@@ -9483,6 +9602,19 @@ exports.abi = {
|
|
|
9483
9602
|
"stateMutability": "view",
|
|
9484
9603
|
"type": "function"
|
|
9485
9604
|
},
|
|
9605
|
+
{
|
|
9606
|
+
"inputs": [
|
|
9607
|
+
{
|
|
9608
|
+
"internalType": "address",
|
|
9609
|
+
"name": "addr",
|
|
9610
|
+
"type": "address"
|
|
9611
|
+
}
|
|
9612
|
+
],
|
|
9613
|
+
"name": "revokeWhitelist",
|
|
9614
|
+
"outputs": [],
|
|
9615
|
+
"stateMutability": "nonpayable",
|
|
9616
|
+
"type": "function"
|
|
9617
|
+
},
|
|
9486
9618
|
{
|
|
9487
9619
|
"inputs": [
|
|
9488
9620
|
{
|
|
@@ -9691,6 +9823,38 @@ exports.abi = {
|
|
|
9691
9823
|
"stateMutability": "view",
|
|
9692
9824
|
"type": "function"
|
|
9693
9825
|
},
|
|
9826
|
+
{
|
|
9827
|
+
"inputs": [
|
|
9828
|
+
{
|
|
9829
|
+
"internalType": "address",
|
|
9830
|
+
"name": "addr",
|
|
9831
|
+
"type": "address"
|
|
9832
|
+
}
|
|
9833
|
+
],
|
|
9834
|
+
"name": "whitelist",
|
|
9835
|
+
"outputs": [],
|
|
9836
|
+
"stateMutability": "nonpayable",
|
|
9837
|
+
"type": "function"
|
|
9838
|
+
},
|
|
9839
|
+
{
|
|
9840
|
+
"inputs": [
|
|
9841
|
+
{
|
|
9842
|
+
"internalType": "address",
|
|
9843
|
+
"name": "",
|
|
9844
|
+
"type": "address"
|
|
9845
|
+
}
|
|
9846
|
+
],
|
|
9847
|
+
"name": "whitelisted",
|
|
9848
|
+
"outputs": [
|
|
9849
|
+
{
|
|
9850
|
+
"internalType": "bool",
|
|
9851
|
+
"name": "",
|
|
9852
|
+
"type": "bool"
|
|
9853
|
+
}
|
|
9854
|
+
],
|
|
9855
|
+
"stateMutability": "view",
|
|
9856
|
+
"type": "function"
|
|
9857
|
+
},
|
|
9694
9858
|
{
|
|
9695
9859
|
"stateMutability": "payable",
|
|
9696
9860
|
"type": "receive"
|
|
@@ -11232,6 +11396,19 @@ exports.abi = {
|
|
|
11232
11396
|
"stateMutability": "view",
|
|
11233
11397
|
"type": "function"
|
|
11234
11398
|
},
|
|
11399
|
+
{
|
|
11400
|
+
"inputs": [
|
|
11401
|
+
{
|
|
11402
|
+
"internalType": "address",
|
|
11403
|
+
"name": "addr",
|
|
11404
|
+
"type": "address"
|
|
11405
|
+
}
|
|
11406
|
+
],
|
|
11407
|
+
"name": "revokeWhitelist",
|
|
11408
|
+
"outputs": [],
|
|
11409
|
+
"stateMutability": "nonpayable",
|
|
11410
|
+
"type": "function"
|
|
11411
|
+
},
|
|
11235
11412
|
{
|
|
11236
11413
|
"inputs": [
|
|
11237
11414
|
{
|
|
@@ -11426,6 +11603,38 @@ exports.abi = {
|
|
|
11426
11603
|
],
|
|
11427
11604
|
"stateMutability": "view",
|
|
11428
11605
|
"type": "function"
|
|
11606
|
+
},
|
|
11607
|
+
{
|
|
11608
|
+
"inputs": [
|
|
11609
|
+
{
|
|
11610
|
+
"internalType": "address",
|
|
11611
|
+
"name": "addr",
|
|
11612
|
+
"type": "address"
|
|
11613
|
+
}
|
|
11614
|
+
],
|
|
11615
|
+
"name": "whitelist",
|
|
11616
|
+
"outputs": [],
|
|
11617
|
+
"stateMutability": "nonpayable",
|
|
11618
|
+
"type": "function"
|
|
11619
|
+
},
|
|
11620
|
+
{
|
|
11621
|
+
"inputs": [
|
|
11622
|
+
{
|
|
11623
|
+
"internalType": "address",
|
|
11624
|
+
"name": "",
|
|
11625
|
+
"type": "address"
|
|
11626
|
+
}
|
|
11627
|
+
],
|
|
11628
|
+
"name": "whitelisted",
|
|
11629
|
+
"outputs": [
|
|
11630
|
+
{
|
|
11631
|
+
"internalType": "bool",
|
|
11632
|
+
"name": "",
|
|
11633
|
+
"type": "bool"
|
|
11634
|
+
}
|
|
11635
|
+
],
|
|
11636
|
+
"stateMutability": "view",
|
|
11637
|
+
"type": "function"
|
|
11429
11638
|
}
|
|
11430
11639
|
],
|
|
11431
11640
|
"CTokenStorage": [
|
|
@@ -12113,6 +12322,25 @@ exports.abi = {
|
|
|
12113
12322
|
],
|
|
12114
12323
|
"stateMutability": "view",
|
|
12115
12324
|
"type": "function"
|
|
12325
|
+
},
|
|
12326
|
+
{
|
|
12327
|
+
"inputs": [
|
|
12328
|
+
{
|
|
12329
|
+
"internalType": "address",
|
|
12330
|
+
"name": "",
|
|
12331
|
+
"type": "address"
|
|
12332
|
+
}
|
|
12333
|
+
],
|
|
12334
|
+
"name": "whitelisted",
|
|
12335
|
+
"outputs": [
|
|
12336
|
+
{
|
|
12337
|
+
"internalType": "bool",
|
|
12338
|
+
"name": "",
|
|
12339
|
+
"type": "bool"
|
|
12340
|
+
}
|
|
12341
|
+
],
|
|
12342
|
+
"stateMutability": "view",
|
|
12343
|
+
"type": "function"
|
|
12116
12344
|
}
|
|
12117
12345
|
],
|
|
12118
12346
|
"suErc20": [
|
|
@@ -13938,6 +14166,19 @@ exports.abi = {
|
|
|
13938
14166
|
"stateMutability": "view",
|
|
13939
14167
|
"type": "function"
|
|
13940
14168
|
},
|
|
14169
|
+
{
|
|
14170
|
+
"inputs": [
|
|
14171
|
+
{
|
|
14172
|
+
"internalType": "address",
|
|
14173
|
+
"name": "addr",
|
|
14174
|
+
"type": "address"
|
|
14175
|
+
}
|
|
14176
|
+
],
|
|
14177
|
+
"name": "revokeWhitelist",
|
|
14178
|
+
"outputs": [],
|
|
14179
|
+
"stateMutability": "nonpayable",
|
|
14180
|
+
"type": "function"
|
|
14181
|
+
},
|
|
13941
14182
|
{
|
|
13942
14183
|
"inputs": [
|
|
13943
14184
|
{
|
|
@@ -14158,21 +14399,53 @@ exports.abi = {
|
|
|
14158
14399
|
],
|
|
14159
14400
|
"stateMutability": "view",
|
|
14160
14401
|
"type": "function"
|
|
14161
|
-
}
|
|
14162
|
-
],
|
|
14163
|
-
"CompLogic": [
|
|
14164
|
-
{
|
|
14165
|
-
"inputs": [],
|
|
14166
|
-
"stateMutability": "nonpayable",
|
|
14167
|
-
"type": "constructor"
|
|
14168
14402
|
},
|
|
14169
14403
|
{
|
|
14170
|
-
"inputs": [
|
|
14171
|
-
|
|
14172
|
-
|
|
14404
|
+
"inputs": [
|
|
14405
|
+
{
|
|
14406
|
+
"internalType": "address",
|
|
14407
|
+
"name": "addr",
|
|
14408
|
+
"type": "address"
|
|
14409
|
+
}
|
|
14410
|
+
],
|
|
14411
|
+
"name": "whitelist",
|
|
14412
|
+
"outputs": [],
|
|
14413
|
+
"stateMutability": "nonpayable",
|
|
14414
|
+
"type": "function"
|
|
14173
14415
|
},
|
|
14174
14416
|
{
|
|
14175
|
-
"inputs": [
|
|
14417
|
+
"inputs": [
|
|
14418
|
+
{
|
|
14419
|
+
"internalType": "address",
|
|
14420
|
+
"name": "",
|
|
14421
|
+
"type": "address"
|
|
14422
|
+
}
|
|
14423
|
+
],
|
|
14424
|
+
"name": "whitelisted",
|
|
14425
|
+
"outputs": [
|
|
14426
|
+
{
|
|
14427
|
+
"internalType": "bool",
|
|
14428
|
+
"name": "",
|
|
14429
|
+
"type": "bool"
|
|
14430
|
+
}
|
|
14431
|
+
],
|
|
14432
|
+
"stateMutability": "view",
|
|
14433
|
+
"type": "function"
|
|
14434
|
+
}
|
|
14435
|
+
],
|
|
14436
|
+
"CompLogic": [
|
|
14437
|
+
{
|
|
14438
|
+
"inputs": [],
|
|
14439
|
+
"stateMutability": "nonpayable",
|
|
14440
|
+
"type": "constructor"
|
|
14441
|
+
},
|
|
14442
|
+
{
|
|
14443
|
+
"inputs": [],
|
|
14444
|
+
"name": "AddReservesMarketNotFresh",
|
|
14445
|
+
"type": "error"
|
|
14446
|
+
},
|
|
14447
|
+
{
|
|
14448
|
+
"inputs": [],
|
|
14176
14449
|
"name": "AddReservesOverflow",
|
|
14177
14450
|
"type": "error"
|
|
14178
14451
|
},
|
|
@@ -27719,6 +27992,19 @@ exports.abi = {
|
|
|
27719
27992
|
"stateMutability": "view",
|
|
27720
27993
|
"type": "function"
|
|
27721
27994
|
},
|
|
27995
|
+
{
|
|
27996
|
+
"inputs": [
|
|
27997
|
+
{
|
|
27998
|
+
"internalType": "address",
|
|
27999
|
+
"name": "addr",
|
|
28000
|
+
"type": "address"
|
|
28001
|
+
}
|
|
28002
|
+
],
|
|
28003
|
+
"name": "revokeWhitelist",
|
|
28004
|
+
"outputs": [],
|
|
28005
|
+
"stateMutability": "nonpayable",
|
|
28006
|
+
"type": "function"
|
|
28007
|
+
},
|
|
27722
28008
|
{
|
|
27723
28009
|
"inputs": [
|
|
27724
28010
|
{
|
|
@@ -27958,6 +28244,38 @@ exports.abi = {
|
|
|
27958
28244
|
],
|
|
27959
28245
|
"stateMutability": "view",
|
|
27960
28246
|
"type": "function"
|
|
28247
|
+
},
|
|
28248
|
+
{
|
|
28249
|
+
"inputs": [
|
|
28250
|
+
{
|
|
28251
|
+
"internalType": "address",
|
|
28252
|
+
"name": "addr",
|
|
28253
|
+
"type": "address"
|
|
28254
|
+
}
|
|
28255
|
+
],
|
|
28256
|
+
"name": "whitelist",
|
|
28257
|
+
"outputs": [],
|
|
28258
|
+
"stateMutability": "nonpayable",
|
|
28259
|
+
"type": "function"
|
|
28260
|
+
},
|
|
28261
|
+
{
|
|
28262
|
+
"inputs": [
|
|
28263
|
+
{
|
|
28264
|
+
"internalType": "address",
|
|
28265
|
+
"name": "",
|
|
28266
|
+
"type": "address"
|
|
28267
|
+
}
|
|
28268
|
+
],
|
|
28269
|
+
"name": "whitelisted",
|
|
28270
|
+
"outputs": [
|
|
28271
|
+
{
|
|
28272
|
+
"internalType": "bool",
|
|
28273
|
+
"name": "",
|
|
28274
|
+
"type": "bool"
|
|
28275
|
+
}
|
|
28276
|
+
],
|
|
28277
|
+
"stateMutability": "view",
|
|
28278
|
+
"type": "function"
|
|
27961
28279
|
}
|
|
27962
28280
|
],
|
|
27963
28281
|
"IPool": [
|
|
@@ -28636,6 +28954,364 @@ exports.abi = {
|
|
|
28636
28954
|
"type": "function"
|
|
28637
28955
|
}
|
|
28638
28956
|
],
|
|
28957
|
+
"JumpRateModelForAave": [
|
|
28958
|
+
{
|
|
28959
|
+
"inputs": [
|
|
28960
|
+
{
|
|
28961
|
+
"internalType": "uint256",
|
|
28962
|
+
"name": "baseRatePerYear",
|
|
28963
|
+
"type": "uint256"
|
|
28964
|
+
},
|
|
28965
|
+
{
|
|
28966
|
+
"internalType": "uint256",
|
|
28967
|
+
"name": "multiplierPerYear",
|
|
28968
|
+
"type": "uint256"
|
|
28969
|
+
},
|
|
28970
|
+
{
|
|
28971
|
+
"internalType": "uint256",
|
|
28972
|
+
"name": "jumpMultiplierPerYear",
|
|
28973
|
+
"type": "uint256"
|
|
28974
|
+
},
|
|
28975
|
+
{
|
|
28976
|
+
"internalType": "uint256",
|
|
28977
|
+
"name": "kink_",
|
|
28978
|
+
"type": "uint256"
|
|
28979
|
+
},
|
|
28980
|
+
{
|
|
28981
|
+
"internalType": "contract IAaveV3Pool",
|
|
28982
|
+
"name": "aaveV3Pool_",
|
|
28983
|
+
"type": "address"
|
|
28984
|
+
},
|
|
28985
|
+
{
|
|
28986
|
+
"internalType": "address",
|
|
28987
|
+
"name": "underlying_",
|
|
28988
|
+
"type": "address"
|
|
28989
|
+
}
|
|
28990
|
+
],
|
|
28991
|
+
"stateMutability": "nonpayable",
|
|
28992
|
+
"type": "constructor"
|
|
28993
|
+
},
|
|
28994
|
+
{
|
|
28995
|
+
"anonymous": false,
|
|
28996
|
+
"inputs": [
|
|
28997
|
+
{
|
|
28998
|
+
"indexed": false,
|
|
28999
|
+
"internalType": "uint256",
|
|
29000
|
+
"name": "baseRatePerSecond",
|
|
29001
|
+
"type": "uint256"
|
|
29002
|
+
},
|
|
29003
|
+
{
|
|
29004
|
+
"indexed": false,
|
|
29005
|
+
"internalType": "uint256",
|
|
29006
|
+
"name": "multiplierPerSecond",
|
|
29007
|
+
"type": "uint256"
|
|
29008
|
+
},
|
|
29009
|
+
{
|
|
29010
|
+
"indexed": false,
|
|
29011
|
+
"internalType": "uint256",
|
|
29012
|
+
"name": "jumpMultiplierPerSecond",
|
|
29013
|
+
"type": "uint256"
|
|
29014
|
+
},
|
|
29015
|
+
{
|
|
29016
|
+
"indexed": false,
|
|
29017
|
+
"internalType": "uint256",
|
|
29018
|
+
"name": "kink",
|
|
29019
|
+
"type": "uint256"
|
|
29020
|
+
}
|
|
29021
|
+
],
|
|
29022
|
+
"name": "NewInterestParams",
|
|
29023
|
+
"type": "event"
|
|
29024
|
+
},
|
|
29025
|
+
{
|
|
29026
|
+
"anonymous": false,
|
|
29027
|
+
"inputs": [
|
|
29028
|
+
{
|
|
29029
|
+
"indexed": true,
|
|
29030
|
+
"internalType": "address",
|
|
29031
|
+
"name": "previousOwner",
|
|
29032
|
+
"type": "address"
|
|
29033
|
+
},
|
|
29034
|
+
{
|
|
29035
|
+
"indexed": true,
|
|
29036
|
+
"internalType": "address",
|
|
29037
|
+
"name": "newOwner",
|
|
29038
|
+
"type": "address"
|
|
29039
|
+
}
|
|
29040
|
+
],
|
|
29041
|
+
"name": "OwnershipTransferStarted",
|
|
29042
|
+
"type": "event"
|
|
29043
|
+
},
|
|
29044
|
+
{
|
|
29045
|
+
"anonymous": false,
|
|
29046
|
+
"inputs": [
|
|
29047
|
+
{
|
|
29048
|
+
"indexed": true,
|
|
29049
|
+
"internalType": "address",
|
|
29050
|
+
"name": "previousOwner",
|
|
29051
|
+
"type": "address"
|
|
29052
|
+
},
|
|
29053
|
+
{
|
|
29054
|
+
"indexed": true,
|
|
29055
|
+
"internalType": "address",
|
|
29056
|
+
"name": "newOwner",
|
|
29057
|
+
"type": "address"
|
|
29058
|
+
}
|
|
29059
|
+
],
|
|
29060
|
+
"name": "OwnershipTransferred",
|
|
29061
|
+
"type": "event"
|
|
29062
|
+
},
|
|
29063
|
+
{
|
|
29064
|
+
"inputs": [],
|
|
29065
|
+
"name": "acceptOwnership",
|
|
29066
|
+
"outputs": [],
|
|
29067
|
+
"stateMutability": "nonpayable",
|
|
29068
|
+
"type": "function"
|
|
29069
|
+
},
|
|
29070
|
+
{
|
|
29071
|
+
"inputs": [],
|
|
29072
|
+
"name": "baseRatePerSecond",
|
|
29073
|
+
"outputs": [
|
|
29074
|
+
{
|
|
29075
|
+
"internalType": "uint256",
|
|
29076
|
+
"name": "",
|
|
29077
|
+
"type": "uint256"
|
|
29078
|
+
}
|
|
29079
|
+
],
|
|
29080
|
+
"stateMutability": "view",
|
|
29081
|
+
"type": "function"
|
|
29082
|
+
},
|
|
29083
|
+
{
|
|
29084
|
+
"inputs": [
|
|
29085
|
+
{
|
|
29086
|
+
"internalType": "uint256",
|
|
29087
|
+
"name": "cash",
|
|
29088
|
+
"type": "uint256"
|
|
29089
|
+
},
|
|
29090
|
+
{
|
|
29091
|
+
"internalType": "uint256",
|
|
29092
|
+
"name": "borrows",
|
|
29093
|
+
"type": "uint256"
|
|
29094
|
+
},
|
|
29095
|
+
{
|
|
29096
|
+
"internalType": "uint256",
|
|
29097
|
+
"name": "reserves",
|
|
29098
|
+
"type": "uint256"
|
|
29099
|
+
}
|
|
29100
|
+
],
|
|
29101
|
+
"name": "getBorrowRate",
|
|
29102
|
+
"outputs": [
|
|
29103
|
+
{
|
|
29104
|
+
"internalType": "uint256",
|
|
29105
|
+
"name": "",
|
|
29106
|
+
"type": "uint256"
|
|
29107
|
+
}
|
|
29108
|
+
],
|
|
29109
|
+
"stateMutability": "view",
|
|
29110
|
+
"type": "function"
|
|
29111
|
+
},
|
|
29112
|
+
{
|
|
29113
|
+
"inputs": [
|
|
29114
|
+
{
|
|
29115
|
+
"internalType": "uint256",
|
|
29116
|
+
"name": "cash",
|
|
29117
|
+
"type": "uint256"
|
|
29118
|
+
},
|
|
29119
|
+
{
|
|
29120
|
+
"internalType": "uint256",
|
|
29121
|
+
"name": "borrows",
|
|
29122
|
+
"type": "uint256"
|
|
29123
|
+
},
|
|
29124
|
+
{
|
|
29125
|
+
"internalType": "uint256",
|
|
29126
|
+
"name": "reserves",
|
|
29127
|
+
"type": "uint256"
|
|
29128
|
+
},
|
|
29129
|
+
{
|
|
29130
|
+
"internalType": "uint256",
|
|
29131
|
+
"name": "reserveFactorMantissa",
|
|
29132
|
+
"type": "uint256"
|
|
29133
|
+
}
|
|
29134
|
+
],
|
|
29135
|
+
"name": "getSupplyRate",
|
|
29136
|
+
"outputs": [
|
|
29137
|
+
{
|
|
29138
|
+
"internalType": "uint256",
|
|
29139
|
+
"name": "",
|
|
29140
|
+
"type": "uint256"
|
|
29141
|
+
}
|
|
29142
|
+
],
|
|
29143
|
+
"stateMutability": "view",
|
|
29144
|
+
"type": "function"
|
|
29145
|
+
},
|
|
29146
|
+
{
|
|
29147
|
+
"inputs": [],
|
|
29148
|
+
"name": "isInterestRateModel",
|
|
29149
|
+
"outputs": [
|
|
29150
|
+
{
|
|
29151
|
+
"internalType": "bool",
|
|
29152
|
+
"name": "",
|
|
29153
|
+
"type": "bool"
|
|
29154
|
+
}
|
|
29155
|
+
],
|
|
29156
|
+
"stateMutability": "view",
|
|
29157
|
+
"type": "function"
|
|
29158
|
+
},
|
|
29159
|
+
{
|
|
29160
|
+
"inputs": [],
|
|
29161
|
+
"name": "jumpMultiplierPerSecond",
|
|
29162
|
+
"outputs": [
|
|
29163
|
+
{
|
|
29164
|
+
"internalType": "uint256",
|
|
29165
|
+
"name": "",
|
|
29166
|
+
"type": "uint256"
|
|
29167
|
+
}
|
|
29168
|
+
],
|
|
29169
|
+
"stateMutability": "view",
|
|
29170
|
+
"type": "function"
|
|
29171
|
+
},
|
|
29172
|
+
{
|
|
29173
|
+
"inputs": [],
|
|
29174
|
+
"name": "kink",
|
|
29175
|
+
"outputs": [
|
|
29176
|
+
{
|
|
29177
|
+
"internalType": "uint256",
|
|
29178
|
+
"name": "",
|
|
29179
|
+
"type": "uint256"
|
|
29180
|
+
}
|
|
29181
|
+
],
|
|
29182
|
+
"stateMutability": "view",
|
|
29183
|
+
"type": "function"
|
|
29184
|
+
},
|
|
29185
|
+
{
|
|
29186
|
+
"inputs": [],
|
|
29187
|
+
"name": "multiplierPerSecond",
|
|
29188
|
+
"outputs": [
|
|
29189
|
+
{
|
|
29190
|
+
"internalType": "uint256",
|
|
29191
|
+
"name": "",
|
|
29192
|
+
"type": "uint256"
|
|
29193
|
+
}
|
|
29194
|
+
],
|
|
29195
|
+
"stateMutability": "view",
|
|
29196
|
+
"type": "function"
|
|
29197
|
+
},
|
|
29198
|
+
{
|
|
29199
|
+
"inputs": [],
|
|
29200
|
+
"name": "owner",
|
|
29201
|
+
"outputs": [
|
|
29202
|
+
{
|
|
29203
|
+
"internalType": "address",
|
|
29204
|
+
"name": "",
|
|
29205
|
+
"type": "address"
|
|
29206
|
+
}
|
|
29207
|
+
],
|
|
29208
|
+
"stateMutability": "view",
|
|
29209
|
+
"type": "function"
|
|
29210
|
+
},
|
|
29211
|
+
{
|
|
29212
|
+
"inputs": [],
|
|
29213
|
+
"name": "pendingOwner",
|
|
29214
|
+
"outputs": [
|
|
29215
|
+
{
|
|
29216
|
+
"internalType": "address",
|
|
29217
|
+
"name": "",
|
|
29218
|
+
"type": "address"
|
|
29219
|
+
}
|
|
29220
|
+
],
|
|
29221
|
+
"stateMutability": "view",
|
|
29222
|
+
"type": "function"
|
|
29223
|
+
},
|
|
29224
|
+
{
|
|
29225
|
+
"inputs": [],
|
|
29226
|
+
"name": "renounceOwnership",
|
|
29227
|
+
"outputs": [],
|
|
29228
|
+
"stateMutability": "nonpayable",
|
|
29229
|
+
"type": "function"
|
|
29230
|
+
},
|
|
29231
|
+
{
|
|
29232
|
+
"inputs": [],
|
|
29233
|
+
"name": "secondsPerYear",
|
|
29234
|
+
"outputs": [
|
|
29235
|
+
{
|
|
29236
|
+
"internalType": "uint256",
|
|
29237
|
+
"name": "",
|
|
29238
|
+
"type": "uint256"
|
|
29239
|
+
}
|
|
29240
|
+
],
|
|
29241
|
+
"stateMutability": "view",
|
|
29242
|
+
"type": "function"
|
|
29243
|
+
},
|
|
29244
|
+
{
|
|
29245
|
+
"inputs": [
|
|
29246
|
+
{
|
|
29247
|
+
"internalType": "address",
|
|
29248
|
+
"name": "newOwner",
|
|
29249
|
+
"type": "address"
|
|
29250
|
+
}
|
|
29251
|
+
],
|
|
29252
|
+
"name": "transferOwnership",
|
|
29253
|
+
"outputs": [],
|
|
29254
|
+
"stateMutability": "nonpayable",
|
|
29255
|
+
"type": "function"
|
|
29256
|
+
},
|
|
29257
|
+
{
|
|
29258
|
+
"inputs": [
|
|
29259
|
+
{
|
|
29260
|
+
"internalType": "uint256",
|
|
29261
|
+
"name": "baseRatePerYear",
|
|
29262
|
+
"type": "uint256"
|
|
29263
|
+
},
|
|
29264
|
+
{
|
|
29265
|
+
"internalType": "uint256",
|
|
29266
|
+
"name": "multiplierPerYear",
|
|
29267
|
+
"type": "uint256"
|
|
29268
|
+
},
|
|
29269
|
+
{
|
|
29270
|
+
"internalType": "uint256",
|
|
29271
|
+
"name": "jumpMultiplierPerYear",
|
|
29272
|
+
"type": "uint256"
|
|
29273
|
+
},
|
|
29274
|
+
{
|
|
29275
|
+
"internalType": "uint256",
|
|
29276
|
+
"name": "kink_",
|
|
29277
|
+
"type": "uint256"
|
|
29278
|
+
}
|
|
29279
|
+
],
|
|
29280
|
+
"name": "updateJumpRateModel",
|
|
29281
|
+
"outputs": [],
|
|
29282
|
+
"stateMutability": "nonpayable",
|
|
29283
|
+
"type": "function"
|
|
29284
|
+
},
|
|
29285
|
+
{
|
|
29286
|
+
"inputs": [
|
|
29287
|
+
{
|
|
29288
|
+
"internalType": "uint256",
|
|
29289
|
+
"name": "cash",
|
|
29290
|
+
"type": "uint256"
|
|
29291
|
+
},
|
|
29292
|
+
{
|
|
29293
|
+
"internalType": "uint256",
|
|
29294
|
+
"name": "borrows",
|
|
29295
|
+
"type": "uint256"
|
|
29296
|
+
},
|
|
29297
|
+
{
|
|
29298
|
+
"internalType": "uint256",
|
|
29299
|
+
"name": "reserves",
|
|
29300
|
+
"type": "uint256"
|
|
29301
|
+
}
|
|
29302
|
+
],
|
|
29303
|
+
"name": "utilizationRate",
|
|
29304
|
+
"outputs": [
|
|
29305
|
+
{
|
|
29306
|
+
"internalType": "uint256",
|
|
29307
|
+
"name": "",
|
|
29308
|
+
"type": "uint256"
|
|
29309
|
+
}
|
|
29310
|
+
],
|
|
29311
|
+
"stateMutability": "pure",
|
|
29312
|
+
"type": "function"
|
|
29313
|
+
}
|
|
29314
|
+
],
|
|
28639
29315
|
"JumpRateModelV2": [
|
|
28640
29316
|
{
|
|
28641
29317
|
"inputs": [
|