@meterio/sumer-js 0.2.188 → 0.2.190
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/nodejs/abi.d.ts +96 -1
- package/dist/nodejs/abi.js +2398 -75
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/monadmain.d.ts +10 -0
- package/dist/nodejs/constants/monadmain.js +62 -2
- package/dist/nodejs/constants/monadmain.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +1 -0
- package/dist/nodejs/constants/monadtest.js +27 -14
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +1 -0
- package/dist/nodejs/constants/sepolia.js +8 -4
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.d.ts +1 -0
- package/dist/nodejs/constants/zklink.js +14 -7
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +559 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +96 -1
- package/dist/nodejs/typechain/contracts/CToken/index.d.ts +0 -2
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +4 -2
- package/dist/nodejs/typechain/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js +1 -25
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +3 -2
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +2 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +62 -44
- package/dist/nodejs/typechain/index.d.ts +12 -10
- package/dist/nodejs/typechain/index.js +13 -11
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/browser/sumer.min.js +0 -18
package/dist/nodejs/abi.js
CHANGED
|
@@ -3495,7 +3495,7 @@ exports.abi = {
|
|
|
3495
3495
|
"type": "receive"
|
|
3496
3496
|
}
|
|
3497
3497
|
],
|
|
3498
|
-
"
|
|
3498
|
+
"CArtemis": [
|
|
3499
3499
|
{
|
|
3500
3500
|
"inputs": [],
|
|
3501
3501
|
"name": "AddReservesMarketNotFresh",
|
|
@@ -3552,6 +3552,11 @@ exports.abi = {
|
|
|
3552
3552
|
"name": "CantExitMarketWithNonZeroBorrowBalance",
|
|
3553
3553
|
"type": "error"
|
|
3554
3554
|
},
|
|
3555
|
+
{
|
|
3556
|
+
"inputs": [],
|
|
3557
|
+
"name": "CantSweepRewardToken",
|
|
3558
|
+
"type": "error"
|
|
3559
|
+
},
|
|
3555
3560
|
{
|
|
3556
3561
|
"inputs": [],
|
|
3557
3562
|
"name": "CantSweepUnderlying",
|
|
@@ -4040,6 +4045,11 @@ exports.abi = {
|
|
|
4040
4045
|
"name": "UnderlyingBalanceError",
|
|
4041
4046
|
"type": "error"
|
|
4042
4047
|
},
|
|
4048
|
+
{
|
|
4049
|
+
"inputs": [],
|
|
4050
|
+
"name": "UnderlyingMismatch",
|
|
4051
|
+
"type": "error"
|
|
4052
|
+
},
|
|
4043
4053
|
{
|
|
4044
4054
|
"inputs": [],
|
|
4045
4055
|
"name": "ZeroAddressNotAllowed",
|
|
@@ -4501,6 +4511,62 @@ exports.abi = {
|
|
|
4501
4511
|
"name": "Transfer",
|
|
4502
4512
|
"type": "event"
|
|
4503
4513
|
},
|
|
4514
|
+
{
|
|
4515
|
+
"anonymous": false,
|
|
4516
|
+
"inputs": [
|
|
4517
|
+
{
|
|
4518
|
+
"indexed": false,
|
|
4519
|
+
"internalType": "uint256",
|
|
4520
|
+
"name": "timestamp",
|
|
4521
|
+
"type": "uint256"
|
|
4522
|
+
},
|
|
4523
|
+
{
|
|
4524
|
+
"indexed": false,
|
|
4525
|
+
"internalType": "uint256",
|
|
4526
|
+
"name": "totalPoints",
|
|
4527
|
+
"type": "uint256"
|
|
4528
|
+
},
|
|
4529
|
+
{
|
|
4530
|
+
"indexed": false,
|
|
4531
|
+
"internalType": "address",
|
|
4532
|
+
"name": "account",
|
|
4533
|
+
"type": "address"
|
|
4534
|
+
},
|
|
4535
|
+
{
|
|
4536
|
+
"indexed": false,
|
|
4537
|
+
"internalType": "uint256",
|
|
4538
|
+
"name": "_userPoints",
|
|
4539
|
+
"type": "uint256"
|
|
4540
|
+
}
|
|
4541
|
+
],
|
|
4542
|
+
"name": "UpdatePoints",
|
|
4543
|
+
"type": "event"
|
|
4544
|
+
},
|
|
4545
|
+
{
|
|
4546
|
+
"anonymous": false,
|
|
4547
|
+
"inputs": [
|
|
4548
|
+
{
|
|
4549
|
+
"indexed": true,
|
|
4550
|
+
"internalType": "address",
|
|
4551
|
+
"name": "user",
|
|
4552
|
+
"type": "address"
|
|
4553
|
+
},
|
|
4554
|
+
{
|
|
4555
|
+
"indexed": true,
|
|
4556
|
+
"internalType": "address",
|
|
4557
|
+
"name": "rewardsToken",
|
|
4558
|
+
"type": "address"
|
|
4559
|
+
},
|
|
4560
|
+
{
|
|
4561
|
+
"indexed": false,
|
|
4562
|
+
"internalType": "uint256",
|
|
4563
|
+
"name": "reward",
|
|
4564
|
+
"type": "uint256"
|
|
4565
|
+
}
|
|
4566
|
+
],
|
|
4567
|
+
"name": "UserRewardPaid",
|
|
4568
|
+
"type": "event"
|
|
4569
|
+
},
|
|
4504
4570
|
{
|
|
4505
4571
|
"inputs": [],
|
|
4506
4572
|
"name": "_acceptAdmin",
|
|
@@ -4632,6 +4698,24 @@ exports.abi = {
|
|
|
4632
4698
|
"stateMutability": "nonpayable",
|
|
4633
4699
|
"type": "function"
|
|
4634
4700
|
},
|
|
4701
|
+
{
|
|
4702
|
+
"inputs": [
|
|
4703
|
+
{
|
|
4704
|
+
"internalType": "address",
|
|
4705
|
+
"name": "rewardToken",
|
|
4706
|
+
"type": "address"
|
|
4707
|
+
},
|
|
4708
|
+
{
|
|
4709
|
+
"internalType": "uint256",
|
|
4710
|
+
"name": "amount",
|
|
4711
|
+
"type": "uint256"
|
|
4712
|
+
}
|
|
4713
|
+
],
|
|
4714
|
+
"name": "addReward",
|
|
4715
|
+
"outputs": [],
|
|
4716
|
+
"stateMutability": "nonpayable",
|
|
4717
|
+
"type": "function"
|
|
4718
|
+
},
|
|
4635
4719
|
{
|
|
4636
4720
|
"inputs": [],
|
|
4637
4721
|
"name": "admin",
|
|
@@ -4827,29 +4911,8 @@ exports.abi = {
|
|
|
4827
4911
|
"type": "function"
|
|
4828
4912
|
},
|
|
4829
4913
|
{
|
|
4830
|
-
"inputs": [
|
|
4831
|
-
|
|
4832
|
-
"internalType": "uint256",
|
|
4833
|
-
"name": "borrowAmount",
|
|
4834
|
-
"type": "uint256"
|
|
4835
|
-
},
|
|
4836
|
-
{
|
|
4837
|
-
"internalType": "uint256",
|
|
4838
|
-
"name": "allowedAmount",
|
|
4839
|
-
"type": "uint256"
|
|
4840
|
-
},
|
|
4841
|
-
{
|
|
4842
|
-
"internalType": "bytes",
|
|
4843
|
-
"name": "extras",
|
|
4844
|
-
"type": "bytes"
|
|
4845
|
-
},
|
|
4846
|
-
{
|
|
4847
|
-
"internalType": "bytes",
|
|
4848
|
-
"name": "signature",
|
|
4849
|
-
"type": "bytes"
|
|
4850
|
-
}
|
|
4851
|
-
],
|
|
4852
|
-
"name": "compliantBorrow",
|
|
4914
|
+
"inputs": [],
|
|
4915
|
+
"name": "claimAll",
|
|
4853
4916
|
"outputs": [],
|
|
4854
4917
|
"stateMutability": "nonpayable",
|
|
4855
4918
|
"type": "function"
|
|
@@ -4857,27 +4920,12 @@ exports.abi = {
|
|
|
4857
4920
|
{
|
|
4858
4921
|
"inputs": [
|
|
4859
4922
|
{
|
|
4860
|
-
"internalType": "
|
|
4861
|
-
"name": "
|
|
4862
|
-
"type": "
|
|
4863
|
-
},
|
|
4864
|
-
{
|
|
4865
|
-
"internalType": "uint256",
|
|
4866
|
-
"name": "allowedAmount",
|
|
4867
|
-
"type": "uint256"
|
|
4868
|
-
},
|
|
4869
|
-
{
|
|
4870
|
-
"internalType": "bytes",
|
|
4871
|
-
"name": "extras",
|
|
4872
|
-
"type": "bytes"
|
|
4873
|
-
},
|
|
4874
|
-
{
|
|
4875
|
-
"internalType": "bytes",
|
|
4876
|
-
"name": "signature",
|
|
4877
|
-
"type": "bytes"
|
|
4923
|
+
"internalType": "address",
|
|
4924
|
+
"name": "_to",
|
|
4925
|
+
"type": "address"
|
|
4878
4926
|
}
|
|
4879
4927
|
],
|
|
4880
|
-
"name": "
|
|
4928
|
+
"name": "claimProtocolRewards",
|
|
4881
4929
|
"outputs": [],
|
|
4882
4930
|
"stateMutability": "nonpayable",
|
|
4883
4931
|
"type": "function"
|
|
@@ -4921,6 +4969,37 @@ exports.abi = {
|
|
|
4921
4969
|
"stateMutability": "view",
|
|
4922
4970
|
"type": "function"
|
|
4923
4971
|
},
|
|
4972
|
+
{
|
|
4973
|
+
"inputs": [
|
|
4974
|
+
{
|
|
4975
|
+
"internalType": "address",
|
|
4976
|
+
"name": "account",
|
|
4977
|
+
"type": "address"
|
|
4978
|
+
}
|
|
4979
|
+
],
|
|
4980
|
+
"name": "earned",
|
|
4981
|
+
"outputs": [
|
|
4982
|
+
{
|
|
4983
|
+
"components": [
|
|
4984
|
+
{
|
|
4985
|
+
"internalType": "address",
|
|
4986
|
+
"name": "token",
|
|
4987
|
+
"type": "address"
|
|
4988
|
+
},
|
|
4989
|
+
{
|
|
4990
|
+
"internalType": "uint256",
|
|
4991
|
+
"name": "amount",
|
|
4992
|
+
"type": "uint256"
|
|
4993
|
+
}
|
|
4994
|
+
],
|
|
4995
|
+
"internalType": "struct CArtemis.UserReward[]",
|
|
4996
|
+
"name": "",
|
|
4997
|
+
"type": "tuple[]"
|
|
4998
|
+
}
|
|
4999
|
+
],
|
|
5000
|
+
"stateMutability": "view",
|
|
5001
|
+
"type": "function"
|
|
5002
|
+
},
|
|
4924
5003
|
{
|
|
4925
5004
|
"inputs": [],
|
|
4926
5005
|
"name": "exchangeRateCurrent",
|
|
@@ -5042,6 +5121,32 @@ exports.abi = {
|
|
|
5042
5121
|
"stateMutability": "nonpayable",
|
|
5043
5122
|
"type": "function"
|
|
5044
5123
|
},
|
|
5124
|
+
{
|
|
5125
|
+
"inputs": [
|
|
5126
|
+
{
|
|
5127
|
+
"internalType": "address[]",
|
|
5128
|
+
"name": "rewardTokens_",
|
|
5129
|
+
"type": "address[]"
|
|
5130
|
+
}
|
|
5131
|
+
],
|
|
5132
|
+
"name": "initializeArtemis",
|
|
5133
|
+
"outputs": [],
|
|
5134
|
+
"stateMutability": "nonpayable",
|
|
5135
|
+
"type": "function"
|
|
5136
|
+
},
|
|
5137
|
+
{
|
|
5138
|
+
"inputs": [
|
|
5139
|
+
{
|
|
5140
|
+
"internalType": "address[]",
|
|
5141
|
+
"name": "accounts",
|
|
5142
|
+
"type": "address[]"
|
|
5143
|
+
}
|
|
5144
|
+
],
|
|
5145
|
+
"name": "initializeExistingAccounts",
|
|
5146
|
+
"outputs": [],
|
|
5147
|
+
"stateMutability": "nonpayable",
|
|
5148
|
+
"type": "function"
|
|
5149
|
+
},
|
|
5045
5150
|
{
|
|
5046
5151
|
"inputs": [],
|
|
5047
5152
|
"name": "interestRateModel",
|
|
@@ -5234,6 +5339,54 @@ exports.abi = {
|
|
|
5234
5339
|
"stateMutability": "view",
|
|
5235
5340
|
"type": "function"
|
|
5236
5341
|
},
|
|
5342
|
+
{
|
|
5343
|
+
"inputs": [
|
|
5344
|
+
{
|
|
5345
|
+
"internalType": "address",
|
|
5346
|
+
"name": "account",
|
|
5347
|
+
"type": "address"
|
|
5348
|
+
}
|
|
5349
|
+
],
|
|
5350
|
+
"name": "points",
|
|
5351
|
+
"outputs": [
|
|
5352
|
+
{
|
|
5353
|
+
"internalType": "uint256",
|
|
5354
|
+
"name": "",
|
|
5355
|
+
"type": "uint256"
|
|
5356
|
+
},
|
|
5357
|
+
{
|
|
5358
|
+
"internalType": "uint256",
|
|
5359
|
+
"name": "",
|
|
5360
|
+
"type": "uint256"
|
|
5361
|
+
},
|
|
5362
|
+
{
|
|
5363
|
+
"internalType": "uint256",
|
|
5364
|
+
"name": "",
|
|
5365
|
+
"type": "uint256"
|
|
5366
|
+
}
|
|
5367
|
+
],
|
|
5368
|
+
"stateMutability": "view",
|
|
5369
|
+
"type": "function"
|
|
5370
|
+
},
|
|
5371
|
+
{
|
|
5372
|
+
"inputs": [
|
|
5373
|
+
{
|
|
5374
|
+
"internalType": "address",
|
|
5375
|
+
"name": "",
|
|
5376
|
+
"type": "address"
|
|
5377
|
+
}
|
|
5378
|
+
],
|
|
5379
|
+
"name": "protocolRewards",
|
|
5380
|
+
"outputs": [
|
|
5381
|
+
{
|
|
5382
|
+
"internalType": "uint256",
|
|
5383
|
+
"name": "",
|
|
5384
|
+
"type": "uint256"
|
|
5385
|
+
}
|
|
5386
|
+
],
|
|
5387
|
+
"stateMutability": "view",
|
|
5388
|
+
"type": "function"
|
|
5389
|
+
},
|
|
5237
5390
|
{
|
|
5238
5391
|
"inputs": [],
|
|
5239
5392
|
"name": "protocolSeizeShareMantissa",
|
|
@@ -5340,6 +5493,25 @@ exports.abi = {
|
|
|
5340
5493
|
"stateMutability": "view",
|
|
5341
5494
|
"type": "function"
|
|
5342
5495
|
},
|
|
5496
|
+
{
|
|
5497
|
+
"inputs": [
|
|
5498
|
+
{
|
|
5499
|
+
"internalType": "uint256",
|
|
5500
|
+
"name": "",
|
|
5501
|
+
"type": "uint256"
|
|
5502
|
+
}
|
|
5503
|
+
],
|
|
5504
|
+
"name": "rewardTokens",
|
|
5505
|
+
"outputs": [
|
|
5506
|
+
{
|
|
5507
|
+
"internalType": "address",
|
|
5508
|
+
"name": "",
|
|
5509
|
+
"type": "address"
|
|
5510
|
+
}
|
|
5511
|
+
],
|
|
5512
|
+
"stateMutability": "view",
|
|
5513
|
+
"type": "function"
|
|
5514
|
+
},
|
|
5343
5515
|
{
|
|
5344
5516
|
"inputs": [
|
|
5345
5517
|
{
|
|
@@ -5382,13 +5554,19 @@ exports.abi = {
|
|
|
5382
5554
|
"inputs": [
|
|
5383
5555
|
{
|
|
5384
5556
|
"internalType": "address",
|
|
5385
|
-
"name": "
|
|
5557
|
+
"name": "account",
|
|
5386
5558
|
"type": "address"
|
|
5387
5559
|
}
|
|
5388
5560
|
],
|
|
5389
|
-
"name": "
|
|
5390
|
-
"outputs": [
|
|
5391
|
-
|
|
5561
|
+
"name": "shareOf",
|
|
5562
|
+
"outputs": [
|
|
5563
|
+
{
|
|
5564
|
+
"internalType": "uint256",
|
|
5565
|
+
"name": "_share",
|
|
5566
|
+
"type": "uint256"
|
|
5567
|
+
}
|
|
5568
|
+
],
|
|
5569
|
+
"stateMutability": "view",
|
|
5392
5570
|
"type": "function"
|
|
5393
5571
|
},
|
|
5394
5572
|
{
|
|
@@ -5575,12 +5753,7 @@ exports.abi = {
|
|
|
5575
5753
|
"type": "function"
|
|
5576
5754
|
}
|
|
5577
5755
|
],
|
|
5578
|
-
"
|
|
5579
|
-
{
|
|
5580
|
-
"inputs": [],
|
|
5581
|
-
"stateMutability": "nonpayable",
|
|
5582
|
-
"type": "constructor"
|
|
5583
|
-
},
|
|
5756
|
+
"CCompliantErc20": [
|
|
5584
5757
|
{
|
|
5585
5758
|
"inputs": [],
|
|
5586
5759
|
"name": "AddReservesMarketNotFresh",
|
|
@@ -6911,6 +7084,62 @@ exports.abi = {
|
|
|
6911
7084
|
"stateMutability": "view",
|
|
6912
7085
|
"type": "function"
|
|
6913
7086
|
},
|
|
7087
|
+
{
|
|
7088
|
+
"inputs": [
|
|
7089
|
+
{
|
|
7090
|
+
"internalType": "uint256",
|
|
7091
|
+
"name": "borrowAmount",
|
|
7092
|
+
"type": "uint256"
|
|
7093
|
+
},
|
|
7094
|
+
{
|
|
7095
|
+
"internalType": "uint256",
|
|
7096
|
+
"name": "allowedAmount",
|
|
7097
|
+
"type": "uint256"
|
|
7098
|
+
},
|
|
7099
|
+
{
|
|
7100
|
+
"internalType": "bytes",
|
|
7101
|
+
"name": "extras",
|
|
7102
|
+
"type": "bytes"
|
|
7103
|
+
},
|
|
7104
|
+
{
|
|
7105
|
+
"internalType": "bytes",
|
|
7106
|
+
"name": "signature",
|
|
7107
|
+
"type": "bytes"
|
|
7108
|
+
}
|
|
7109
|
+
],
|
|
7110
|
+
"name": "compliantBorrow",
|
|
7111
|
+
"outputs": [],
|
|
7112
|
+
"stateMutability": "nonpayable",
|
|
7113
|
+
"type": "function"
|
|
7114
|
+
},
|
|
7115
|
+
{
|
|
7116
|
+
"inputs": [
|
|
7117
|
+
{
|
|
7118
|
+
"internalType": "uint256",
|
|
7119
|
+
"name": "mintAmount",
|
|
7120
|
+
"type": "uint256"
|
|
7121
|
+
},
|
|
7122
|
+
{
|
|
7123
|
+
"internalType": "uint256",
|
|
7124
|
+
"name": "allowedAmount",
|
|
7125
|
+
"type": "uint256"
|
|
7126
|
+
},
|
|
7127
|
+
{
|
|
7128
|
+
"internalType": "bytes",
|
|
7129
|
+
"name": "extras",
|
|
7130
|
+
"type": "bytes"
|
|
7131
|
+
},
|
|
7132
|
+
{
|
|
7133
|
+
"internalType": "bytes",
|
|
7134
|
+
"name": "signature",
|
|
7135
|
+
"type": "bytes"
|
|
7136
|
+
}
|
|
7137
|
+
],
|
|
7138
|
+
"name": "compliantMint",
|
|
7139
|
+
"outputs": [],
|
|
7140
|
+
"stateMutability": "nonpayable",
|
|
7141
|
+
"type": "function"
|
|
7142
|
+
},
|
|
6914
7143
|
{
|
|
6915
7144
|
"inputs": [],
|
|
6916
7145
|
"name": "comptroller",
|
|
@@ -7407,6 +7636,19 @@ exports.abi = {
|
|
|
7407
7636
|
"stateMutability": "nonpayable",
|
|
7408
7637
|
"type": "function"
|
|
7409
7638
|
},
|
|
7639
|
+
{
|
|
7640
|
+
"inputs": [
|
|
7641
|
+
{
|
|
7642
|
+
"internalType": "address",
|
|
7643
|
+
"name": "_kycSigner",
|
|
7644
|
+
"type": "address"
|
|
7645
|
+
}
|
|
7646
|
+
],
|
|
7647
|
+
"name": "setKYCSigner",
|
|
7648
|
+
"outputs": [],
|
|
7649
|
+
"stateMutability": "nonpayable",
|
|
7650
|
+
"type": "function"
|
|
7651
|
+
},
|
|
7410
7652
|
{
|
|
7411
7653
|
"inputs": [],
|
|
7412
7654
|
"name": "supplyRatePerBlock",
|
|
@@ -7591,7 +7833,7 @@ exports.abi = {
|
|
|
7591
7833
|
"type": "function"
|
|
7592
7834
|
}
|
|
7593
7835
|
],
|
|
7594
|
-
"
|
|
7836
|
+
"CErc20": [
|
|
7595
7837
|
{
|
|
7596
7838
|
"inputs": [],
|
|
7597
7839
|
"stateMutability": "nonpayable",
|
|
@@ -8610,10 +8852,16 @@ exports.abi = {
|
|
|
8610
8852
|
"type": "function"
|
|
8611
8853
|
},
|
|
8612
8854
|
{
|
|
8613
|
-
"inputs": [
|
|
8855
|
+
"inputs": [
|
|
8856
|
+
{
|
|
8857
|
+
"internalType": "uint256",
|
|
8858
|
+
"name": "addAmount",
|
|
8859
|
+
"type": "uint256"
|
|
8860
|
+
}
|
|
8861
|
+
],
|
|
8614
8862
|
"name": "_addReserves",
|
|
8615
8863
|
"outputs": [],
|
|
8616
|
-
"stateMutability": "
|
|
8864
|
+
"stateMutability": "nonpayable",
|
|
8617
8865
|
"type": "function"
|
|
8618
8866
|
},
|
|
8619
8867
|
{
|
|
@@ -9035,6 +9283,11 @@ exports.abi = {
|
|
|
9035
9283
|
},
|
|
9036
9284
|
{
|
|
9037
9285
|
"inputs": [
|
|
9286
|
+
{
|
|
9287
|
+
"internalType": "address",
|
|
9288
|
+
"name": "underlying_",
|
|
9289
|
+
"type": "address"
|
|
9290
|
+
},
|
|
9038
9291
|
{
|
|
9039
9292
|
"internalType": "address",
|
|
9040
9293
|
"name": "comptroller_",
|
|
@@ -9076,13 +9329,6 @@ exports.abi = {
|
|
|
9076
9329
|
"stateMutability": "nonpayable",
|
|
9077
9330
|
"type": "function"
|
|
9078
9331
|
},
|
|
9079
|
-
{
|
|
9080
|
-
"inputs": [],
|
|
9081
|
-
"name": "initializeVersion2",
|
|
9082
|
-
"outputs": [],
|
|
9083
|
-
"stateMutability": "nonpayable",
|
|
9084
|
-
"type": "function"
|
|
9085
|
-
},
|
|
9086
9332
|
{
|
|
9087
9333
|
"inputs": [],
|
|
9088
9334
|
"name": "interestRateModel",
|
|
@@ -9155,6 +9401,11 @@ exports.abi = {
|
|
|
9155
9401
|
"name": "borrower",
|
|
9156
9402
|
"type": "address"
|
|
9157
9403
|
},
|
|
9404
|
+
{
|
|
9405
|
+
"internalType": "uint256",
|
|
9406
|
+
"name": "repayAmount",
|
|
9407
|
+
"type": "uint256"
|
|
9408
|
+
},
|
|
9158
9409
|
{
|
|
9159
9410
|
"internalType": "address",
|
|
9160
9411
|
"name": "cTokenCollateral",
|
|
@@ -9163,7 +9414,7 @@ exports.abi = {
|
|
|
9163
9414
|
],
|
|
9164
9415
|
"name": "liquidateBorrow",
|
|
9165
9416
|
"outputs": [],
|
|
9166
|
-
"stateMutability": "
|
|
9417
|
+
"stateMutability": "nonpayable",
|
|
9167
9418
|
"type": "function"
|
|
9168
9419
|
},
|
|
9169
9420
|
{
|
|
@@ -9196,10 +9447,39 @@ exports.abi = {
|
|
|
9196
9447
|
"type": "function"
|
|
9197
9448
|
},
|
|
9198
9449
|
{
|
|
9199
|
-
"inputs": [
|
|
9450
|
+
"inputs": [
|
|
9451
|
+
{
|
|
9452
|
+
"internalType": "uint256",
|
|
9453
|
+
"name": "mintAmount",
|
|
9454
|
+
"type": "uint256"
|
|
9455
|
+
}
|
|
9456
|
+
],
|
|
9200
9457
|
"name": "mint",
|
|
9201
9458
|
"outputs": [],
|
|
9202
|
-
"stateMutability": "
|
|
9459
|
+
"stateMutability": "nonpayable",
|
|
9460
|
+
"type": "function"
|
|
9461
|
+
},
|
|
9462
|
+
{
|
|
9463
|
+
"inputs": [
|
|
9464
|
+
{
|
|
9465
|
+
"internalType": "uint256",
|
|
9466
|
+
"name": "mintAmount",
|
|
9467
|
+
"type": "uint256"
|
|
9468
|
+
},
|
|
9469
|
+
{
|
|
9470
|
+
"internalType": "uint256",
|
|
9471
|
+
"name": "deadline",
|
|
9472
|
+
"type": "uint256"
|
|
9473
|
+
},
|
|
9474
|
+
{
|
|
9475
|
+
"internalType": "bytes",
|
|
9476
|
+
"name": "signature",
|
|
9477
|
+
"type": "bytes"
|
|
9478
|
+
}
|
|
9479
|
+
],
|
|
9480
|
+
"name": "mintWithPermit",
|
|
9481
|
+
"outputs": [],
|
|
9482
|
+
"stateMutability": "nonpayable",
|
|
9203
9483
|
"type": "function"
|
|
9204
9484
|
},
|
|
9205
9485
|
{
|
|
@@ -9281,10 +9561,16 @@ exports.abi = {
|
|
|
9281
9561
|
"type": "function"
|
|
9282
9562
|
},
|
|
9283
9563
|
{
|
|
9284
|
-
"inputs": [
|
|
9564
|
+
"inputs": [
|
|
9565
|
+
{
|
|
9566
|
+
"internalType": "uint256",
|
|
9567
|
+
"name": "repayAmount",
|
|
9568
|
+
"type": "uint256"
|
|
9569
|
+
}
|
|
9570
|
+
],
|
|
9285
9571
|
"name": "repayBorrow",
|
|
9286
9572
|
"outputs": [],
|
|
9287
|
-
"stateMutability": "
|
|
9573
|
+
"stateMutability": "nonpayable",
|
|
9288
9574
|
"type": "function"
|
|
9289
9575
|
},
|
|
9290
9576
|
{
|
|
@@ -9293,11 +9579,39 @@ exports.abi = {
|
|
|
9293
9579
|
"internalType": "address",
|
|
9294
9580
|
"name": "borrower",
|
|
9295
9581
|
"type": "address"
|
|
9582
|
+
},
|
|
9583
|
+
{
|
|
9584
|
+
"internalType": "uint256",
|
|
9585
|
+
"name": "repayAmount",
|
|
9586
|
+
"type": "uint256"
|
|
9296
9587
|
}
|
|
9297
9588
|
],
|
|
9298
9589
|
"name": "repayBorrowBehalf",
|
|
9299
9590
|
"outputs": [],
|
|
9300
|
-
"stateMutability": "
|
|
9591
|
+
"stateMutability": "nonpayable",
|
|
9592
|
+
"type": "function"
|
|
9593
|
+
},
|
|
9594
|
+
{
|
|
9595
|
+
"inputs": [
|
|
9596
|
+
{
|
|
9597
|
+
"internalType": "uint256",
|
|
9598
|
+
"name": "repayAmount",
|
|
9599
|
+
"type": "uint256"
|
|
9600
|
+
},
|
|
9601
|
+
{
|
|
9602
|
+
"internalType": "uint256",
|
|
9603
|
+
"name": "deadline",
|
|
9604
|
+
"type": "uint256"
|
|
9605
|
+
},
|
|
9606
|
+
{
|
|
9607
|
+
"internalType": "bytes",
|
|
9608
|
+
"name": "signature",
|
|
9609
|
+
"type": "bytes"
|
|
9610
|
+
}
|
|
9611
|
+
],
|
|
9612
|
+
"name": "repayBorrowWithPermit",
|
|
9613
|
+
"outputs": [],
|
|
9614
|
+
"stateMutability": "nonpayable",
|
|
9301
9615
|
"type": "function"
|
|
9302
9616
|
},
|
|
9303
9617
|
{
|
|
@@ -9364,6 +9678,19 @@ exports.abi = {
|
|
|
9364
9678
|
"stateMutability": "view",
|
|
9365
9679
|
"type": "function"
|
|
9366
9680
|
},
|
|
9681
|
+
{
|
|
9682
|
+
"inputs": [
|
|
9683
|
+
{
|
|
9684
|
+
"internalType": "contract ERC20",
|
|
9685
|
+
"name": "token",
|
|
9686
|
+
"type": "address"
|
|
9687
|
+
}
|
|
9688
|
+
],
|
|
9689
|
+
"name": "sweepToken",
|
|
9690
|
+
"outputs": [],
|
|
9691
|
+
"stateMutability": "nonpayable",
|
|
9692
|
+
"type": "function"
|
|
9693
|
+
},
|
|
9367
9694
|
{
|
|
9368
9695
|
"inputs": [],
|
|
9369
9696
|
"name": "symbol",
|
|
@@ -9520,13 +9847,1944 @@ exports.abi = {
|
|
|
9520
9847
|
],
|
|
9521
9848
|
"stateMutability": "view",
|
|
9522
9849
|
"type": "function"
|
|
9523
|
-
},
|
|
9524
|
-
{
|
|
9525
|
-
"stateMutability": "payable",
|
|
9526
|
-
"type": "receive"
|
|
9527
9850
|
}
|
|
9528
9851
|
],
|
|
9529
|
-
"
|
|
9852
|
+
"CEther": [
|
|
9853
|
+
{
|
|
9854
|
+
"inputs": [],
|
|
9855
|
+
"stateMutability": "nonpayable",
|
|
9856
|
+
"type": "constructor"
|
|
9857
|
+
},
|
|
9858
|
+
{
|
|
9859
|
+
"inputs": [],
|
|
9860
|
+
"name": "AddReservesMarketNotFresh",
|
|
9861
|
+
"type": "error"
|
|
9862
|
+
},
|
|
9863
|
+
{
|
|
9864
|
+
"inputs": [],
|
|
9865
|
+
"name": "AddReservesOverflow",
|
|
9866
|
+
"type": "error"
|
|
9867
|
+
},
|
|
9868
|
+
{
|
|
9869
|
+
"inputs": [],
|
|
9870
|
+
"name": "BorrowAndDepositBackFailed",
|
|
9871
|
+
"type": "error"
|
|
9872
|
+
},
|
|
9873
|
+
{
|
|
9874
|
+
"inputs": [],
|
|
9875
|
+
"name": "BorrowCapReached",
|
|
9876
|
+
"type": "error"
|
|
9877
|
+
},
|
|
9878
|
+
{
|
|
9879
|
+
"inputs": [],
|
|
9880
|
+
"name": "BorrowCashNotAvailable",
|
|
9881
|
+
"type": "error"
|
|
9882
|
+
},
|
|
9883
|
+
{
|
|
9884
|
+
"inputs": [],
|
|
9885
|
+
"name": "BorrowMarketNotFresh",
|
|
9886
|
+
"type": "error"
|
|
9887
|
+
},
|
|
9888
|
+
{
|
|
9889
|
+
"inputs": [],
|
|
9890
|
+
"name": "BorrowPaused",
|
|
9891
|
+
"type": "error"
|
|
9892
|
+
},
|
|
9893
|
+
{
|
|
9894
|
+
"inputs": [
|
|
9895
|
+
{
|
|
9896
|
+
"internalType": "uint256",
|
|
9897
|
+
"name": "usdThreshold",
|
|
9898
|
+
"type": "uint256"
|
|
9899
|
+
}
|
|
9900
|
+
],
|
|
9901
|
+
"name": "BorrowValueMustBeLargerThanThreshold",
|
|
9902
|
+
"type": "error"
|
|
9903
|
+
},
|
|
9904
|
+
{
|
|
9905
|
+
"inputs": [],
|
|
9906
|
+
"name": "CantEnterPausedMarket",
|
|
9907
|
+
"type": "error"
|
|
9908
|
+
},
|
|
9909
|
+
{
|
|
9910
|
+
"inputs": [],
|
|
9911
|
+
"name": "CantExitMarketWithNonZeroBorrowBalance",
|
|
9912
|
+
"type": "error"
|
|
9913
|
+
},
|
|
9914
|
+
{
|
|
9915
|
+
"inputs": [],
|
|
9916
|
+
"name": "CantSweepUnderlying",
|
|
9917
|
+
"type": "error"
|
|
9918
|
+
},
|
|
9919
|
+
{
|
|
9920
|
+
"inputs": [],
|
|
9921
|
+
"name": "ComptrollerMismatch",
|
|
9922
|
+
"type": "error"
|
|
9923
|
+
},
|
|
9924
|
+
{
|
|
9925
|
+
"inputs": [],
|
|
9926
|
+
"name": "EitherAssetOrDebtMustBeZero",
|
|
9927
|
+
"type": "error"
|
|
9928
|
+
},
|
|
9929
|
+
{
|
|
9930
|
+
"inputs": [
|
|
9931
|
+
{
|
|
9932
|
+
"internalType": "uint8",
|
|
9933
|
+
"name": "groupId",
|
|
9934
|
+
"type": "uint8"
|
|
9935
|
+
},
|
|
9936
|
+
{
|
|
9937
|
+
"internalType": "uint256",
|
|
9938
|
+
"name": "cDepositVal",
|
|
9939
|
+
"type": "uint256"
|
|
9940
|
+
},
|
|
9941
|
+
{
|
|
9942
|
+
"internalType": "uint256",
|
|
9943
|
+
"name": "suDepositVal",
|
|
9944
|
+
"type": "uint256"
|
|
9945
|
+
},
|
|
9946
|
+
{
|
|
9947
|
+
"internalType": "uint256",
|
|
9948
|
+
"name": "cBorrowVal",
|
|
9949
|
+
"type": "uint256"
|
|
9950
|
+
},
|
|
9951
|
+
{
|
|
9952
|
+
"internalType": "uint256",
|
|
9953
|
+
"name": "suBorrowVal",
|
|
9954
|
+
"type": "uint256"
|
|
9955
|
+
}
|
|
9956
|
+
],
|
|
9957
|
+
"name": "EitherAssetOrDebtMustBeZeroInGroup",
|
|
9958
|
+
"type": "error"
|
|
9959
|
+
},
|
|
9960
|
+
{
|
|
9961
|
+
"inputs": [],
|
|
9962
|
+
"name": "ExpiredSignature",
|
|
9963
|
+
"type": "error"
|
|
9964
|
+
},
|
|
9965
|
+
{
|
|
9966
|
+
"inputs": [],
|
|
9967
|
+
"name": "InsufficientCollateral",
|
|
9968
|
+
"type": "error"
|
|
9969
|
+
},
|
|
9970
|
+
{
|
|
9971
|
+
"inputs": [],
|
|
9972
|
+
"name": "InsufficientShortfall",
|
|
9973
|
+
"type": "error"
|
|
9974
|
+
},
|
|
9975
|
+
{
|
|
9976
|
+
"inputs": [],
|
|
9977
|
+
"name": "InterMintNotAllowed",
|
|
9978
|
+
"type": "error"
|
|
9979
|
+
},
|
|
9980
|
+
{
|
|
9981
|
+
"inputs": [],
|
|
9982
|
+
"name": "InvalidAddress",
|
|
9983
|
+
"type": "error"
|
|
9984
|
+
},
|
|
9985
|
+
{
|
|
9986
|
+
"inputs": [],
|
|
9987
|
+
"name": "InvalidAmount",
|
|
9988
|
+
"type": "error"
|
|
9989
|
+
},
|
|
9990
|
+
{
|
|
9991
|
+
"inputs": [],
|
|
9992
|
+
"name": "InvalidBlockNumber",
|
|
9993
|
+
"type": "error"
|
|
9994
|
+
},
|
|
9995
|
+
{
|
|
9996
|
+
"inputs": [],
|
|
9997
|
+
"name": "InvalidCToken",
|
|
9998
|
+
"type": "error"
|
|
9999
|
+
},
|
|
10000
|
+
{
|
|
10001
|
+
"inputs": [],
|
|
10002
|
+
"name": "InvalidCloseFactor",
|
|
10003
|
+
"type": "error"
|
|
10004
|
+
},
|
|
10005
|
+
{
|
|
10006
|
+
"inputs": [],
|
|
10007
|
+
"name": "InvalidComptroller",
|
|
10008
|
+
"type": "error"
|
|
10009
|
+
},
|
|
10010
|
+
{
|
|
10011
|
+
"inputs": [],
|
|
10012
|
+
"name": "InvalidDiscountRate",
|
|
10013
|
+
"type": "error"
|
|
10014
|
+
},
|
|
10015
|
+
{
|
|
10016
|
+
"inputs": [],
|
|
10017
|
+
"name": "InvalidExchangeRate",
|
|
10018
|
+
"type": "error"
|
|
10019
|
+
},
|
|
10020
|
+
{
|
|
10021
|
+
"inputs": [],
|
|
10022
|
+
"name": "InvalidGroupId",
|
|
10023
|
+
"type": "error"
|
|
10024
|
+
},
|
|
10025
|
+
{
|
|
10026
|
+
"inputs": [],
|
|
10027
|
+
"name": "InvalidInput",
|
|
10028
|
+
"type": "error"
|
|
10029
|
+
},
|
|
10030
|
+
{
|
|
10031
|
+
"inputs": [],
|
|
10032
|
+
"name": "InvalidInterestRateModel",
|
|
10033
|
+
"type": "error"
|
|
10034
|
+
},
|
|
10035
|
+
{
|
|
10036
|
+
"inputs": [],
|
|
10037
|
+
"name": "InvalidMinSuBorrowValue",
|
|
10038
|
+
"type": "error"
|
|
10039
|
+
},
|
|
10040
|
+
{
|
|
10041
|
+
"inputs": [],
|
|
10042
|
+
"name": "InvalidRedeem",
|
|
10043
|
+
"type": "error"
|
|
10044
|
+
},
|
|
10045
|
+
{
|
|
10046
|
+
"inputs": [],
|
|
10047
|
+
"name": "InvalidReduceAmount",
|
|
10048
|
+
"type": "error"
|
|
10049
|
+
},
|
|
10050
|
+
{
|
|
10051
|
+
"inputs": [],
|
|
10052
|
+
"name": "InvalidReserveFactor",
|
|
10053
|
+
"type": "error"
|
|
10054
|
+
},
|
|
10055
|
+
{
|
|
10056
|
+
"inputs": [
|
|
10057
|
+
{
|
|
10058
|
+
"internalType": "address",
|
|
10059
|
+
"name": "signer",
|
|
10060
|
+
"type": "address"
|
|
10061
|
+
}
|
|
10062
|
+
],
|
|
10063
|
+
"name": "InvalidSignatureForBorrow",
|
|
10064
|
+
"type": "error"
|
|
10065
|
+
},
|
|
10066
|
+
{
|
|
10067
|
+
"inputs": [
|
|
10068
|
+
{
|
|
10069
|
+
"internalType": "address",
|
|
10070
|
+
"name": "signer",
|
|
10071
|
+
"type": "address"
|
|
10072
|
+
}
|
|
10073
|
+
],
|
|
10074
|
+
"name": "InvalidSignatureForMint",
|
|
10075
|
+
"type": "error"
|
|
10076
|
+
},
|
|
10077
|
+
{
|
|
10078
|
+
"inputs": [],
|
|
10079
|
+
"name": "InvalidSignatureForRedeemFaceValue",
|
|
10080
|
+
"type": "error"
|
|
10081
|
+
},
|
|
10082
|
+
{
|
|
10083
|
+
"inputs": [],
|
|
10084
|
+
"name": "InvalidSignatureLength",
|
|
10085
|
+
"type": "error"
|
|
10086
|
+
},
|
|
10087
|
+
{
|
|
10088
|
+
"inputs": [],
|
|
10089
|
+
"name": "InvalidSuToken",
|
|
10090
|
+
"type": "error"
|
|
10091
|
+
},
|
|
10092
|
+
{
|
|
10093
|
+
"inputs": [],
|
|
10094
|
+
"name": "InvalidTimestamp",
|
|
10095
|
+
"type": "error"
|
|
10096
|
+
},
|
|
10097
|
+
{
|
|
10098
|
+
"inputs": [],
|
|
10099
|
+
"name": "LiquidateBorrow_LiquidatorIsBorrower",
|
|
10100
|
+
"type": "error"
|
|
10101
|
+
},
|
|
10102
|
+
{
|
|
10103
|
+
"inputs": [],
|
|
10104
|
+
"name": "LiquidateBorrow_RepayAmountIsMax",
|
|
10105
|
+
"type": "error"
|
|
10106
|
+
},
|
|
10107
|
+
{
|
|
10108
|
+
"inputs": [],
|
|
10109
|
+
"name": "LiquidateBorrow_RepayAmountIsZero",
|
|
10110
|
+
"type": "error"
|
|
10111
|
+
},
|
|
10112
|
+
{
|
|
10113
|
+
"inputs": [],
|
|
10114
|
+
"name": "LiquidateBorrow_SeizeTooMuch",
|
|
10115
|
+
"type": "error"
|
|
10116
|
+
},
|
|
10117
|
+
{
|
|
10118
|
+
"inputs": [],
|
|
10119
|
+
"name": "LiquidateCollateralMarketNotFresh",
|
|
10120
|
+
"type": "error"
|
|
10121
|
+
},
|
|
10122
|
+
{
|
|
10123
|
+
"inputs": [],
|
|
10124
|
+
"name": "LiquidateMarketNotFresh",
|
|
10125
|
+
"type": "error"
|
|
10126
|
+
},
|
|
10127
|
+
{
|
|
10128
|
+
"inputs": [],
|
|
10129
|
+
"name": "MarketAlreadyListed",
|
|
10130
|
+
"type": "error"
|
|
10131
|
+
},
|
|
10132
|
+
{
|
|
10133
|
+
"inputs": [],
|
|
10134
|
+
"name": "MarketAlreadyUnlisted",
|
|
10135
|
+
"type": "error"
|
|
10136
|
+
},
|
|
10137
|
+
{
|
|
10138
|
+
"inputs": [],
|
|
10139
|
+
"name": "MarketCanOnlyInitializeOnce",
|
|
10140
|
+
"type": "error"
|
|
10141
|
+
},
|
|
10142
|
+
{
|
|
10143
|
+
"inputs": [],
|
|
10144
|
+
"name": "MarketNotEmpty",
|
|
10145
|
+
"type": "error"
|
|
10146
|
+
},
|
|
10147
|
+
{
|
|
10148
|
+
"inputs": [],
|
|
10149
|
+
"name": "MarketNotListed",
|
|
10150
|
+
"type": "error"
|
|
10151
|
+
},
|
|
10152
|
+
{
|
|
10153
|
+
"inputs": [],
|
|
10154
|
+
"name": "MarketPaused",
|
|
10155
|
+
"type": "error"
|
|
10156
|
+
},
|
|
10157
|
+
{
|
|
10158
|
+
"inputs": [],
|
|
10159
|
+
"name": "MinDelayNotReached",
|
|
10160
|
+
"type": "error"
|
|
10161
|
+
},
|
|
10162
|
+
{
|
|
10163
|
+
"inputs": [],
|
|
10164
|
+
"name": "MintMarketNotFresh",
|
|
10165
|
+
"type": "error"
|
|
10166
|
+
},
|
|
10167
|
+
{
|
|
10168
|
+
"inputs": [],
|
|
10169
|
+
"name": "MintPaused",
|
|
10170
|
+
"type": "error"
|
|
10171
|
+
},
|
|
10172
|
+
{
|
|
10173
|
+
"inputs": [],
|
|
10174
|
+
"name": "MintTokensCantBeZero",
|
|
10175
|
+
"type": "error"
|
|
10176
|
+
},
|
|
10177
|
+
{
|
|
10178
|
+
"inputs": [],
|
|
10179
|
+
"name": "NoRedemptionProvider",
|
|
10180
|
+
"type": "error"
|
|
10181
|
+
},
|
|
10182
|
+
{
|
|
10183
|
+
"inputs": [],
|
|
10184
|
+
"name": "NotCToken",
|
|
10185
|
+
"type": "error"
|
|
10186
|
+
},
|
|
10187
|
+
{
|
|
10188
|
+
"inputs": [],
|
|
10189
|
+
"name": "NotEnoughForSeize",
|
|
10190
|
+
"type": "error"
|
|
10191
|
+
},
|
|
10192
|
+
{
|
|
10193
|
+
"inputs": [],
|
|
10194
|
+
"name": "NotEnoughRedeemAmount",
|
|
10195
|
+
"type": "error"
|
|
10196
|
+
},
|
|
10197
|
+
{
|
|
10198
|
+
"inputs": [],
|
|
10199
|
+
"name": "NotEnoughRedeemTokens",
|
|
10200
|
+
"type": "error"
|
|
10201
|
+
},
|
|
10202
|
+
{
|
|
10203
|
+
"inputs": [],
|
|
10204
|
+
"name": "NotEnoughUnderlyingAfterRedeem",
|
|
10205
|
+
"type": "error"
|
|
10206
|
+
},
|
|
10207
|
+
{
|
|
10208
|
+
"inputs": [],
|
|
10209
|
+
"name": "NotEnoughUnderlyingForMint",
|
|
10210
|
+
"type": "error"
|
|
10211
|
+
},
|
|
10212
|
+
{
|
|
10213
|
+
"inputs": [],
|
|
10214
|
+
"name": "NotImplemented",
|
|
10215
|
+
"type": "error"
|
|
10216
|
+
},
|
|
10217
|
+
{
|
|
10218
|
+
"inputs": [],
|
|
10219
|
+
"name": "NotLiquidatableYet",
|
|
10220
|
+
"type": "error"
|
|
10221
|
+
},
|
|
10222
|
+
{
|
|
10223
|
+
"inputs": [],
|
|
10224
|
+
"name": "NotSuToken",
|
|
10225
|
+
"type": "error"
|
|
10226
|
+
},
|
|
10227
|
+
{
|
|
10228
|
+
"inputs": [],
|
|
10229
|
+
"name": "OnlyAdmin",
|
|
10230
|
+
"type": "error"
|
|
10231
|
+
},
|
|
10232
|
+
{
|
|
10233
|
+
"inputs": [],
|
|
10234
|
+
"name": "OnlyAdminOrPauser",
|
|
10235
|
+
"type": "error"
|
|
10236
|
+
},
|
|
10237
|
+
{
|
|
10238
|
+
"inputs": [],
|
|
10239
|
+
"name": "OnlyCToken",
|
|
10240
|
+
"type": "error"
|
|
10241
|
+
},
|
|
10242
|
+
{
|
|
10243
|
+
"inputs": [],
|
|
10244
|
+
"name": "OnlyListedCToken",
|
|
10245
|
+
"type": "error"
|
|
10246
|
+
},
|
|
10247
|
+
{
|
|
10248
|
+
"inputs": [],
|
|
10249
|
+
"name": "OnlyPausedMarketCanBeUnlisted",
|
|
10250
|
+
"type": "error"
|
|
10251
|
+
},
|
|
10252
|
+
{
|
|
10253
|
+
"inputs": [],
|
|
10254
|
+
"name": "OnlyPendingAdmin",
|
|
10255
|
+
"type": "error"
|
|
10256
|
+
},
|
|
10257
|
+
{
|
|
10258
|
+
"inputs": [],
|
|
10259
|
+
"name": "OnlyRedemptionManager",
|
|
10260
|
+
"type": "error"
|
|
10261
|
+
},
|
|
10262
|
+
{
|
|
10263
|
+
"inputs": [],
|
|
10264
|
+
"name": "OverThreshold",
|
|
10265
|
+
"type": "error"
|
|
10266
|
+
},
|
|
10267
|
+
{
|
|
10268
|
+
"inputs": [],
|
|
10269
|
+
"name": "PriceError",
|
|
10270
|
+
"type": "error"
|
|
10271
|
+
},
|
|
10272
|
+
{
|
|
10273
|
+
"inputs": [],
|
|
10274
|
+
"name": "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
10275
|
+
"type": "error"
|
|
10276
|
+
},
|
|
10277
|
+
{
|
|
10278
|
+
"inputs": [],
|
|
10279
|
+
"name": "RedeemMarketNotFresh",
|
|
10280
|
+
"type": "error"
|
|
10281
|
+
},
|
|
10282
|
+
{
|
|
10283
|
+
"inputs": [],
|
|
10284
|
+
"name": "RedeemTransferOutNotPossible",
|
|
10285
|
+
"type": "error"
|
|
10286
|
+
},
|
|
10287
|
+
{
|
|
10288
|
+
"inputs": [],
|
|
10289
|
+
"name": "RedemptionSeizeTooMuch",
|
|
10290
|
+
"type": "error"
|
|
10291
|
+
},
|
|
10292
|
+
{
|
|
10293
|
+
"inputs": [],
|
|
10294
|
+
"name": "RedemptionSignerNotInitialized",
|
|
10295
|
+
"type": "error"
|
|
10296
|
+
},
|
|
10297
|
+
{
|
|
10298
|
+
"inputs": [],
|
|
10299
|
+
"name": "ReduceReservesCashNotAvailable",
|
|
10300
|
+
"type": "error"
|
|
10301
|
+
},
|
|
10302
|
+
{
|
|
10303
|
+
"inputs": [],
|
|
10304
|
+
"name": "ReduceReservesMarketNotFresh",
|
|
10305
|
+
"type": "error"
|
|
10306
|
+
},
|
|
10307
|
+
{
|
|
10308
|
+
"inputs": [],
|
|
10309
|
+
"name": "Reentered",
|
|
10310
|
+
"type": "error"
|
|
10311
|
+
},
|
|
10312
|
+
{
|
|
10313
|
+
"inputs": [],
|
|
10314
|
+
"name": "RepayBorrowMarketNotFresh",
|
|
10315
|
+
"type": "error"
|
|
10316
|
+
},
|
|
10317
|
+
{
|
|
10318
|
+
"inputs": [],
|
|
10319
|
+
"name": "RepayTokenNotListed",
|
|
10320
|
+
"type": "error"
|
|
10321
|
+
},
|
|
10322
|
+
{
|
|
10323
|
+
"inputs": [],
|
|
10324
|
+
"name": "SeizePaused",
|
|
10325
|
+
"type": "error"
|
|
10326
|
+
},
|
|
10327
|
+
{
|
|
10328
|
+
"inputs": [],
|
|
10329
|
+
"name": "SeizeTokenNotListed",
|
|
10330
|
+
"type": "error"
|
|
10331
|
+
},
|
|
10332
|
+
{
|
|
10333
|
+
"inputs": [],
|
|
10334
|
+
"name": "Seize_LiquidatorIsBorrower",
|
|
10335
|
+
"type": "error"
|
|
10336
|
+
},
|
|
10337
|
+
{
|
|
10338
|
+
"inputs": [],
|
|
10339
|
+
"name": "SenderMustBeCToken",
|
|
10340
|
+
"type": "error"
|
|
10341
|
+
},
|
|
10342
|
+
{
|
|
10343
|
+
"inputs": [],
|
|
10344
|
+
"name": "SetInterestRateModelMarketNotFresh",
|
|
10345
|
+
"type": "error"
|
|
10346
|
+
},
|
|
10347
|
+
{
|
|
10348
|
+
"inputs": [],
|
|
10349
|
+
"name": "SetReservesFactorMarketNotFresh",
|
|
10350
|
+
"type": "error"
|
|
10351
|
+
},
|
|
10352
|
+
{
|
|
10353
|
+
"inputs": [],
|
|
10354
|
+
"name": "SupplyCapReached",
|
|
10355
|
+
"type": "error"
|
|
10356
|
+
},
|
|
10357
|
+
{
|
|
10358
|
+
"inputs": [],
|
|
10359
|
+
"name": "TokenInOrAmountInMustBeZero",
|
|
10360
|
+
"type": "error"
|
|
10361
|
+
},
|
|
10362
|
+
{
|
|
10363
|
+
"inputs": [],
|
|
10364
|
+
"name": "TokenTransferInFailed",
|
|
10365
|
+
"type": "error"
|
|
10366
|
+
},
|
|
10367
|
+
{
|
|
10368
|
+
"inputs": [],
|
|
10369
|
+
"name": "TokenTransferOutFailed",
|
|
10370
|
+
"type": "error"
|
|
10371
|
+
},
|
|
10372
|
+
{
|
|
10373
|
+
"inputs": [],
|
|
10374
|
+
"name": "TooMuchRepay",
|
|
10375
|
+
"type": "error"
|
|
10376
|
+
},
|
|
10377
|
+
{
|
|
10378
|
+
"inputs": [],
|
|
10379
|
+
"name": "TotalBorrowsNotZero",
|
|
10380
|
+
"type": "error"
|
|
10381
|
+
},
|
|
10382
|
+
{
|
|
10383
|
+
"inputs": [],
|
|
10384
|
+
"name": "TotalSupplyNotZero",
|
|
10385
|
+
"type": "error"
|
|
10386
|
+
},
|
|
10387
|
+
{
|
|
10388
|
+
"inputs": [],
|
|
10389
|
+
"name": "TransferNotAllowed",
|
|
10390
|
+
"type": "error"
|
|
10391
|
+
},
|
|
10392
|
+
{
|
|
10393
|
+
"inputs": [],
|
|
10394
|
+
"name": "TransferPaused",
|
|
10395
|
+
"type": "error"
|
|
10396
|
+
},
|
|
10397
|
+
{
|
|
10398
|
+
"inputs": [],
|
|
10399
|
+
"name": "UnderlyingBalanceError",
|
|
10400
|
+
"type": "error"
|
|
10401
|
+
},
|
|
10402
|
+
{
|
|
10403
|
+
"inputs": [],
|
|
10404
|
+
"name": "ZeroAddressNotAllowed",
|
|
10405
|
+
"type": "error"
|
|
10406
|
+
},
|
|
10407
|
+
{
|
|
10408
|
+
"anonymous": false,
|
|
10409
|
+
"inputs": [
|
|
10410
|
+
{
|
|
10411
|
+
"indexed": false,
|
|
10412
|
+
"internalType": "uint256",
|
|
10413
|
+
"name": "cashPrior",
|
|
10414
|
+
"type": "uint256"
|
|
10415
|
+
},
|
|
10416
|
+
{
|
|
10417
|
+
"indexed": false,
|
|
10418
|
+
"internalType": "uint256",
|
|
10419
|
+
"name": "interestAccumulated",
|
|
10420
|
+
"type": "uint256"
|
|
10421
|
+
},
|
|
10422
|
+
{
|
|
10423
|
+
"indexed": false,
|
|
10424
|
+
"internalType": "uint256",
|
|
10425
|
+
"name": "borrowIndex",
|
|
10426
|
+
"type": "uint256"
|
|
10427
|
+
},
|
|
10428
|
+
{
|
|
10429
|
+
"indexed": false,
|
|
10430
|
+
"internalType": "uint256",
|
|
10431
|
+
"name": "totalBorrows",
|
|
10432
|
+
"type": "uint256"
|
|
10433
|
+
}
|
|
10434
|
+
],
|
|
10435
|
+
"name": "AccrueInterest",
|
|
10436
|
+
"type": "event"
|
|
10437
|
+
},
|
|
10438
|
+
{
|
|
10439
|
+
"anonymous": false,
|
|
10440
|
+
"inputs": [
|
|
10441
|
+
{
|
|
10442
|
+
"indexed": true,
|
|
10443
|
+
"internalType": "address",
|
|
10444
|
+
"name": "owner",
|
|
10445
|
+
"type": "address"
|
|
10446
|
+
},
|
|
10447
|
+
{
|
|
10448
|
+
"indexed": true,
|
|
10449
|
+
"internalType": "address",
|
|
10450
|
+
"name": "spender",
|
|
10451
|
+
"type": "address"
|
|
10452
|
+
},
|
|
10453
|
+
{
|
|
10454
|
+
"indexed": false,
|
|
10455
|
+
"internalType": "uint256",
|
|
10456
|
+
"name": "amount",
|
|
10457
|
+
"type": "uint256"
|
|
10458
|
+
}
|
|
10459
|
+
],
|
|
10460
|
+
"name": "Approval",
|
|
10461
|
+
"type": "event"
|
|
10462
|
+
},
|
|
10463
|
+
{
|
|
10464
|
+
"anonymous": false,
|
|
10465
|
+
"inputs": [
|
|
10466
|
+
{
|
|
10467
|
+
"indexed": false,
|
|
10468
|
+
"internalType": "address",
|
|
10469
|
+
"name": "borrower",
|
|
10470
|
+
"type": "address"
|
|
10471
|
+
},
|
|
10472
|
+
{
|
|
10473
|
+
"indexed": false,
|
|
10474
|
+
"internalType": "uint256",
|
|
10475
|
+
"name": "borrowAmount",
|
|
10476
|
+
"type": "uint256"
|
|
10477
|
+
},
|
|
10478
|
+
{
|
|
10479
|
+
"indexed": false,
|
|
10480
|
+
"internalType": "uint256",
|
|
10481
|
+
"name": "accountBorrows",
|
|
10482
|
+
"type": "uint256"
|
|
10483
|
+
},
|
|
10484
|
+
{
|
|
10485
|
+
"indexed": false,
|
|
10486
|
+
"internalType": "uint256",
|
|
10487
|
+
"name": "totalBorrows",
|
|
10488
|
+
"type": "uint256"
|
|
10489
|
+
}
|
|
10490
|
+
],
|
|
10491
|
+
"name": "Borrow",
|
|
10492
|
+
"type": "event"
|
|
10493
|
+
},
|
|
10494
|
+
{
|
|
10495
|
+
"anonymous": false,
|
|
10496
|
+
"inputs": [
|
|
10497
|
+
{
|
|
10498
|
+
"indexed": false,
|
|
10499
|
+
"internalType": "uint8",
|
|
10500
|
+
"name": "version",
|
|
10501
|
+
"type": "uint8"
|
|
10502
|
+
}
|
|
10503
|
+
],
|
|
10504
|
+
"name": "Initialized",
|
|
10505
|
+
"type": "event"
|
|
10506
|
+
},
|
|
10507
|
+
{
|
|
10508
|
+
"anonymous": false,
|
|
10509
|
+
"inputs": [
|
|
10510
|
+
{
|
|
10511
|
+
"indexed": false,
|
|
10512
|
+
"internalType": "address",
|
|
10513
|
+
"name": "liquidator",
|
|
10514
|
+
"type": "address"
|
|
10515
|
+
},
|
|
10516
|
+
{
|
|
10517
|
+
"indexed": false,
|
|
10518
|
+
"internalType": "address",
|
|
10519
|
+
"name": "borrower",
|
|
10520
|
+
"type": "address"
|
|
10521
|
+
},
|
|
10522
|
+
{
|
|
10523
|
+
"indexed": false,
|
|
10524
|
+
"internalType": "uint256",
|
|
10525
|
+
"name": "repayAmount",
|
|
10526
|
+
"type": "uint256"
|
|
10527
|
+
},
|
|
10528
|
+
{
|
|
10529
|
+
"indexed": false,
|
|
10530
|
+
"internalType": "address",
|
|
10531
|
+
"name": "cTokenCollateral",
|
|
10532
|
+
"type": "address"
|
|
10533
|
+
},
|
|
10534
|
+
{
|
|
10535
|
+
"indexed": false,
|
|
10536
|
+
"internalType": "uint256",
|
|
10537
|
+
"name": "seizeTokens",
|
|
10538
|
+
"type": "uint256"
|
|
10539
|
+
}
|
|
10540
|
+
],
|
|
10541
|
+
"name": "LiquidateBorrow",
|
|
10542
|
+
"type": "event"
|
|
10543
|
+
},
|
|
10544
|
+
{
|
|
10545
|
+
"anonymous": false,
|
|
10546
|
+
"inputs": [
|
|
10547
|
+
{
|
|
10548
|
+
"indexed": false,
|
|
10549
|
+
"internalType": "address",
|
|
10550
|
+
"name": "minter",
|
|
10551
|
+
"type": "address"
|
|
10552
|
+
},
|
|
10553
|
+
{
|
|
10554
|
+
"indexed": false,
|
|
10555
|
+
"internalType": "uint256",
|
|
10556
|
+
"name": "mintAmount",
|
|
10557
|
+
"type": "uint256"
|
|
10558
|
+
},
|
|
10559
|
+
{
|
|
10560
|
+
"indexed": false,
|
|
10561
|
+
"internalType": "uint256",
|
|
10562
|
+
"name": "mintTokens",
|
|
10563
|
+
"type": "uint256"
|
|
10564
|
+
}
|
|
10565
|
+
],
|
|
10566
|
+
"name": "Mint",
|
|
10567
|
+
"type": "event"
|
|
10568
|
+
},
|
|
10569
|
+
{
|
|
10570
|
+
"anonymous": false,
|
|
10571
|
+
"inputs": [
|
|
10572
|
+
{
|
|
10573
|
+
"indexed": false,
|
|
10574
|
+
"internalType": "address",
|
|
10575
|
+
"name": "oldAdmin",
|
|
10576
|
+
"type": "address"
|
|
10577
|
+
},
|
|
10578
|
+
{
|
|
10579
|
+
"indexed": false,
|
|
10580
|
+
"internalType": "address",
|
|
10581
|
+
"name": "newAdmin",
|
|
10582
|
+
"type": "address"
|
|
10583
|
+
}
|
|
10584
|
+
],
|
|
10585
|
+
"name": "NewAdmin",
|
|
10586
|
+
"type": "event"
|
|
10587
|
+
},
|
|
10588
|
+
{
|
|
10589
|
+
"anonymous": false,
|
|
10590
|
+
"inputs": [
|
|
10591
|
+
{
|
|
10592
|
+
"indexed": false,
|
|
10593
|
+
"internalType": "address",
|
|
10594
|
+
"name": "oldComptroller",
|
|
10595
|
+
"type": "address"
|
|
10596
|
+
},
|
|
10597
|
+
{
|
|
10598
|
+
"indexed": false,
|
|
10599
|
+
"internalType": "address",
|
|
10600
|
+
"name": "newComptroller",
|
|
10601
|
+
"type": "address"
|
|
10602
|
+
}
|
|
10603
|
+
],
|
|
10604
|
+
"name": "NewComptroller",
|
|
10605
|
+
"type": "event"
|
|
10606
|
+
},
|
|
10607
|
+
{
|
|
10608
|
+
"anonymous": false,
|
|
10609
|
+
"inputs": [
|
|
10610
|
+
{
|
|
10611
|
+
"indexed": false,
|
|
10612
|
+
"internalType": "uint256",
|
|
10613
|
+
"name": "oldDiscountRateMantissa",
|
|
10614
|
+
"type": "uint256"
|
|
10615
|
+
},
|
|
10616
|
+
{
|
|
10617
|
+
"indexed": false,
|
|
10618
|
+
"internalType": "uint256",
|
|
10619
|
+
"name": "newDiscountRateMantissa",
|
|
10620
|
+
"type": "uint256"
|
|
10621
|
+
}
|
|
10622
|
+
],
|
|
10623
|
+
"name": "NewDiscountRate",
|
|
10624
|
+
"type": "event"
|
|
10625
|
+
},
|
|
10626
|
+
{
|
|
10627
|
+
"anonymous": false,
|
|
10628
|
+
"inputs": [
|
|
10629
|
+
{
|
|
10630
|
+
"indexed": false,
|
|
10631
|
+
"internalType": "address",
|
|
10632
|
+
"name": "oldInterestRateModel",
|
|
10633
|
+
"type": "address"
|
|
10634
|
+
},
|
|
10635
|
+
{
|
|
10636
|
+
"indexed": false,
|
|
10637
|
+
"internalType": "address",
|
|
10638
|
+
"name": "newInterestRateModel",
|
|
10639
|
+
"type": "address"
|
|
10640
|
+
}
|
|
10641
|
+
],
|
|
10642
|
+
"name": "NewMarketInterestRateModel",
|
|
10643
|
+
"type": "event"
|
|
10644
|
+
},
|
|
10645
|
+
{
|
|
10646
|
+
"anonymous": false,
|
|
10647
|
+
"inputs": [
|
|
10648
|
+
{
|
|
10649
|
+
"indexed": false,
|
|
10650
|
+
"internalType": "address",
|
|
10651
|
+
"name": "oldPendingAdmin",
|
|
10652
|
+
"type": "address"
|
|
10653
|
+
},
|
|
10654
|
+
{
|
|
10655
|
+
"indexed": false,
|
|
10656
|
+
"internalType": "address",
|
|
10657
|
+
"name": "newPendingAdmin",
|
|
10658
|
+
"type": "address"
|
|
10659
|
+
}
|
|
10660
|
+
],
|
|
10661
|
+
"name": "NewPendingAdmin",
|
|
10662
|
+
"type": "event"
|
|
10663
|
+
},
|
|
10664
|
+
{
|
|
10665
|
+
"anonymous": false,
|
|
10666
|
+
"inputs": [
|
|
10667
|
+
{
|
|
10668
|
+
"indexed": false,
|
|
10669
|
+
"internalType": "uint256",
|
|
10670
|
+
"name": "oldReserveFactorMantissa",
|
|
10671
|
+
"type": "uint256"
|
|
10672
|
+
},
|
|
10673
|
+
{
|
|
10674
|
+
"indexed": false,
|
|
10675
|
+
"internalType": "uint256",
|
|
10676
|
+
"name": "newReserveFactorMantissa",
|
|
10677
|
+
"type": "uint256"
|
|
10678
|
+
}
|
|
10679
|
+
],
|
|
10680
|
+
"name": "NewReserveFactor",
|
|
10681
|
+
"type": "event"
|
|
10682
|
+
},
|
|
10683
|
+
{
|
|
10684
|
+
"anonymous": false,
|
|
10685
|
+
"inputs": [
|
|
10686
|
+
{
|
|
10687
|
+
"indexed": false,
|
|
10688
|
+
"internalType": "address",
|
|
10689
|
+
"name": "redeemer",
|
|
10690
|
+
"type": "address"
|
|
10691
|
+
},
|
|
10692
|
+
{
|
|
10693
|
+
"indexed": false,
|
|
10694
|
+
"internalType": "uint256",
|
|
10695
|
+
"name": "redeemAmount",
|
|
10696
|
+
"type": "uint256"
|
|
10697
|
+
},
|
|
10698
|
+
{
|
|
10699
|
+
"indexed": false,
|
|
10700
|
+
"internalType": "uint256",
|
|
10701
|
+
"name": "redeemTokens",
|
|
10702
|
+
"type": "uint256"
|
|
10703
|
+
}
|
|
10704
|
+
],
|
|
10705
|
+
"name": "Redeem",
|
|
10706
|
+
"type": "event"
|
|
10707
|
+
},
|
|
10708
|
+
{
|
|
10709
|
+
"anonymous": false,
|
|
10710
|
+
"inputs": [
|
|
10711
|
+
{
|
|
10712
|
+
"indexed": true,
|
|
10713
|
+
"internalType": "address",
|
|
10714
|
+
"name": "redeemer",
|
|
10715
|
+
"type": "address"
|
|
10716
|
+
},
|
|
10717
|
+
{
|
|
10718
|
+
"indexed": true,
|
|
10719
|
+
"internalType": "address",
|
|
10720
|
+
"name": "provider",
|
|
10721
|
+
"type": "address"
|
|
10722
|
+
},
|
|
10723
|
+
{
|
|
10724
|
+
"indexed": false,
|
|
10725
|
+
"internalType": "uint256",
|
|
10726
|
+
"name": "repayAmount",
|
|
10727
|
+
"type": "uint256"
|
|
10728
|
+
},
|
|
10729
|
+
{
|
|
10730
|
+
"indexed": false,
|
|
10731
|
+
"internalType": "address",
|
|
10732
|
+
"name": "seizeToken",
|
|
10733
|
+
"type": "address"
|
|
10734
|
+
},
|
|
10735
|
+
{
|
|
10736
|
+
"indexed": false,
|
|
10737
|
+
"internalType": "uint256",
|
|
10738
|
+
"name": "seizeAmount",
|
|
10739
|
+
"type": "uint256"
|
|
10740
|
+
},
|
|
10741
|
+
{
|
|
10742
|
+
"indexed": false,
|
|
10743
|
+
"internalType": "uint256",
|
|
10744
|
+
"name": "redemptionRateMantissa",
|
|
10745
|
+
"type": "uint256"
|
|
10746
|
+
}
|
|
10747
|
+
],
|
|
10748
|
+
"name": "RedeemFaceValue",
|
|
10749
|
+
"type": "event"
|
|
10750
|
+
},
|
|
10751
|
+
{
|
|
10752
|
+
"anonymous": false,
|
|
10753
|
+
"inputs": [
|
|
10754
|
+
{
|
|
10755
|
+
"indexed": false,
|
|
10756
|
+
"internalType": "address",
|
|
10757
|
+
"name": "payer",
|
|
10758
|
+
"type": "address"
|
|
10759
|
+
},
|
|
10760
|
+
{
|
|
10761
|
+
"indexed": false,
|
|
10762
|
+
"internalType": "address",
|
|
10763
|
+
"name": "borrower",
|
|
10764
|
+
"type": "address"
|
|
10765
|
+
},
|
|
10766
|
+
{
|
|
10767
|
+
"indexed": false,
|
|
10768
|
+
"internalType": "uint256",
|
|
10769
|
+
"name": "repayAmount",
|
|
10770
|
+
"type": "uint256"
|
|
10771
|
+
},
|
|
10772
|
+
{
|
|
10773
|
+
"indexed": false,
|
|
10774
|
+
"internalType": "uint256",
|
|
10775
|
+
"name": "accountBorrows",
|
|
10776
|
+
"type": "uint256"
|
|
10777
|
+
},
|
|
10778
|
+
{
|
|
10779
|
+
"indexed": false,
|
|
10780
|
+
"internalType": "uint256",
|
|
10781
|
+
"name": "totalBorrows",
|
|
10782
|
+
"type": "uint256"
|
|
10783
|
+
}
|
|
10784
|
+
],
|
|
10785
|
+
"name": "RepayBorrow",
|
|
10786
|
+
"type": "event"
|
|
10787
|
+
},
|
|
10788
|
+
{
|
|
10789
|
+
"anonymous": false,
|
|
10790
|
+
"inputs": [
|
|
10791
|
+
{
|
|
10792
|
+
"indexed": false,
|
|
10793
|
+
"internalType": "address",
|
|
10794
|
+
"name": "benefactor",
|
|
10795
|
+
"type": "address"
|
|
10796
|
+
},
|
|
10797
|
+
{
|
|
10798
|
+
"indexed": false,
|
|
10799
|
+
"internalType": "uint256",
|
|
10800
|
+
"name": "addAmount",
|
|
10801
|
+
"type": "uint256"
|
|
10802
|
+
},
|
|
10803
|
+
{
|
|
10804
|
+
"indexed": false,
|
|
10805
|
+
"internalType": "uint256",
|
|
10806
|
+
"name": "newTotalReserves",
|
|
10807
|
+
"type": "uint256"
|
|
10808
|
+
}
|
|
10809
|
+
],
|
|
10810
|
+
"name": "ReservesAdded",
|
|
10811
|
+
"type": "event"
|
|
10812
|
+
},
|
|
10813
|
+
{
|
|
10814
|
+
"anonymous": false,
|
|
10815
|
+
"inputs": [
|
|
10816
|
+
{
|
|
10817
|
+
"indexed": false,
|
|
10818
|
+
"internalType": "address",
|
|
10819
|
+
"name": "admin",
|
|
10820
|
+
"type": "address"
|
|
10821
|
+
},
|
|
10822
|
+
{
|
|
10823
|
+
"indexed": false,
|
|
10824
|
+
"internalType": "uint256",
|
|
10825
|
+
"name": "reduceAmount",
|
|
10826
|
+
"type": "uint256"
|
|
10827
|
+
},
|
|
10828
|
+
{
|
|
10829
|
+
"indexed": false,
|
|
10830
|
+
"internalType": "uint256",
|
|
10831
|
+
"name": "newTotalReserves",
|
|
10832
|
+
"type": "uint256"
|
|
10833
|
+
}
|
|
10834
|
+
],
|
|
10835
|
+
"name": "ReservesReduced",
|
|
10836
|
+
"type": "event"
|
|
10837
|
+
},
|
|
10838
|
+
{
|
|
10839
|
+
"anonymous": false,
|
|
10840
|
+
"inputs": [
|
|
10841
|
+
{
|
|
10842
|
+
"indexed": true,
|
|
10843
|
+
"internalType": "address",
|
|
10844
|
+
"name": "from",
|
|
10845
|
+
"type": "address"
|
|
10846
|
+
},
|
|
10847
|
+
{
|
|
10848
|
+
"indexed": true,
|
|
10849
|
+
"internalType": "address",
|
|
10850
|
+
"name": "to",
|
|
10851
|
+
"type": "address"
|
|
10852
|
+
},
|
|
10853
|
+
{
|
|
10854
|
+
"indexed": false,
|
|
10855
|
+
"internalType": "uint256",
|
|
10856
|
+
"name": "amount",
|
|
10857
|
+
"type": "uint256"
|
|
10858
|
+
}
|
|
10859
|
+
],
|
|
10860
|
+
"name": "Transfer",
|
|
10861
|
+
"type": "event"
|
|
10862
|
+
},
|
|
10863
|
+
{
|
|
10864
|
+
"inputs": [],
|
|
10865
|
+
"name": "_acceptAdmin",
|
|
10866
|
+
"outputs": [],
|
|
10867
|
+
"stateMutability": "nonpayable",
|
|
10868
|
+
"type": "function"
|
|
10869
|
+
},
|
|
10870
|
+
{
|
|
10871
|
+
"inputs": [],
|
|
10872
|
+
"name": "_addReserves",
|
|
10873
|
+
"outputs": [],
|
|
10874
|
+
"stateMutability": "payable",
|
|
10875
|
+
"type": "function"
|
|
10876
|
+
},
|
|
10877
|
+
{
|
|
10878
|
+
"inputs": [
|
|
10879
|
+
{
|
|
10880
|
+
"internalType": "uint256",
|
|
10881
|
+
"name": "reduceAmount",
|
|
10882
|
+
"type": "uint256"
|
|
10883
|
+
}
|
|
10884
|
+
],
|
|
10885
|
+
"name": "_reduceReserves",
|
|
10886
|
+
"outputs": [],
|
|
10887
|
+
"stateMutability": "nonpayable",
|
|
10888
|
+
"type": "function"
|
|
10889
|
+
},
|
|
10890
|
+
{
|
|
10891
|
+
"inputs": [
|
|
10892
|
+
{
|
|
10893
|
+
"internalType": "address",
|
|
10894
|
+
"name": "newComptroller",
|
|
10895
|
+
"type": "address"
|
|
10896
|
+
}
|
|
10897
|
+
],
|
|
10898
|
+
"name": "_setComptroller",
|
|
10899
|
+
"outputs": [],
|
|
10900
|
+
"stateMutability": "nonpayable",
|
|
10901
|
+
"type": "function"
|
|
10902
|
+
},
|
|
10903
|
+
{
|
|
10904
|
+
"inputs": [
|
|
10905
|
+
{
|
|
10906
|
+
"internalType": "uint256",
|
|
10907
|
+
"name": "discountRateMantissa_",
|
|
10908
|
+
"type": "uint256"
|
|
10909
|
+
}
|
|
10910
|
+
],
|
|
10911
|
+
"name": "_setDiscountRate",
|
|
10912
|
+
"outputs": [
|
|
10913
|
+
{
|
|
10914
|
+
"internalType": "uint256",
|
|
10915
|
+
"name": "",
|
|
10916
|
+
"type": "uint256"
|
|
10917
|
+
}
|
|
10918
|
+
],
|
|
10919
|
+
"stateMutability": "nonpayable",
|
|
10920
|
+
"type": "function"
|
|
10921
|
+
},
|
|
10922
|
+
{
|
|
10923
|
+
"inputs": [
|
|
10924
|
+
{
|
|
10925
|
+
"internalType": "address",
|
|
10926
|
+
"name": "newInterestRateModel",
|
|
10927
|
+
"type": "address"
|
|
10928
|
+
}
|
|
10929
|
+
],
|
|
10930
|
+
"name": "_setInterestRateModel",
|
|
10931
|
+
"outputs": [],
|
|
10932
|
+
"stateMutability": "nonpayable",
|
|
10933
|
+
"type": "function"
|
|
10934
|
+
},
|
|
10935
|
+
{
|
|
10936
|
+
"inputs": [
|
|
10937
|
+
{
|
|
10938
|
+
"internalType": "address payable",
|
|
10939
|
+
"name": "newPendingAdmin",
|
|
10940
|
+
"type": "address"
|
|
10941
|
+
}
|
|
10942
|
+
],
|
|
10943
|
+
"name": "_setPendingAdmin",
|
|
10944
|
+
"outputs": [],
|
|
10945
|
+
"stateMutability": "nonpayable",
|
|
10946
|
+
"type": "function"
|
|
10947
|
+
},
|
|
10948
|
+
{
|
|
10949
|
+
"inputs": [
|
|
10950
|
+
{
|
|
10951
|
+
"internalType": "uint256",
|
|
10952
|
+
"name": "newReserveFactorMantissa",
|
|
10953
|
+
"type": "uint256"
|
|
10954
|
+
}
|
|
10955
|
+
],
|
|
10956
|
+
"name": "_setReserveFactor",
|
|
10957
|
+
"outputs": [],
|
|
10958
|
+
"stateMutability": "nonpayable",
|
|
10959
|
+
"type": "function"
|
|
10960
|
+
},
|
|
10961
|
+
{
|
|
10962
|
+
"inputs": [],
|
|
10963
|
+
"name": "_syncUnderlyingBalance",
|
|
10964
|
+
"outputs": [],
|
|
10965
|
+
"stateMutability": "nonpayable",
|
|
10966
|
+
"type": "function"
|
|
10967
|
+
},
|
|
10968
|
+
{
|
|
10969
|
+
"inputs": [],
|
|
10970
|
+
"name": "accrualBlockTimestamp",
|
|
10971
|
+
"outputs": [
|
|
10972
|
+
{
|
|
10973
|
+
"internalType": "uint256",
|
|
10974
|
+
"name": "",
|
|
10975
|
+
"type": "uint256"
|
|
10976
|
+
}
|
|
10977
|
+
],
|
|
10978
|
+
"stateMutability": "view",
|
|
10979
|
+
"type": "function"
|
|
10980
|
+
},
|
|
10981
|
+
{
|
|
10982
|
+
"inputs": [],
|
|
10983
|
+
"name": "accrueInterest",
|
|
10984
|
+
"outputs": [],
|
|
10985
|
+
"stateMutability": "nonpayable",
|
|
10986
|
+
"type": "function"
|
|
10987
|
+
},
|
|
10988
|
+
{
|
|
10989
|
+
"inputs": [],
|
|
10990
|
+
"name": "admin",
|
|
10991
|
+
"outputs": [
|
|
10992
|
+
{
|
|
10993
|
+
"internalType": "address payable",
|
|
10994
|
+
"name": "",
|
|
10995
|
+
"type": "address"
|
|
10996
|
+
}
|
|
10997
|
+
],
|
|
10998
|
+
"stateMutability": "view",
|
|
10999
|
+
"type": "function"
|
|
11000
|
+
},
|
|
11001
|
+
{
|
|
11002
|
+
"inputs": [
|
|
11003
|
+
{
|
|
11004
|
+
"internalType": "address",
|
|
11005
|
+
"name": "owner",
|
|
11006
|
+
"type": "address"
|
|
11007
|
+
},
|
|
11008
|
+
{
|
|
11009
|
+
"internalType": "address",
|
|
11010
|
+
"name": "spender",
|
|
11011
|
+
"type": "address"
|
|
11012
|
+
}
|
|
11013
|
+
],
|
|
11014
|
+
"name": "allowance",
|
|
11015
|
+
"outputs": [
|
|
11016
|
+
{
|
|
11017
|
+
"internalType": "uint256",
|
|
11018
|
+
"name": "",
|
|
11019
|
+
"type": "uint256"
|
|
11020
|
+
}
|
|
11021
|
+
],
|
|
11022
|
+
"stateMutability": "view",
|
|
11023
|
+
"type": "function"
|
|
11024
|
+
},
|
|
11025
|
+
{
|
|
11026
|
+
"inputs": [
|
|
11027
|
+
{
|
|
11028
|
+
"internalType": "address",
|
|
11029
|
+
"name": "spender",
|
|
11030
|
+
"type": "address"
|
|
11031
|
+
},
|
|
11032
|
+
{
|
|
11033
|
+
"internalType": "uint256",
|
|
11034
|
+
"name": "amount",
|
|
11035
|
+
"type": "uint256"
|
|
11036
|
+
}
|
|
11037
|
+
],
|
|
11038
|
+
"name": "approve",
|
|
11039
|
+
"outputs": [
|
|
11040
|
+
{
|
|
11041
|
+
"internalType": "bool",
|
|
11042
|
+
"name": "",
|
|
11043
|
+
"type": "bool"
|
|
11044
|
+
}
|
|
11045
|
+
],
|
|
11046
|
+
"stateMutability": "nonpayable",
|
|
11047
|
+
"type": "function"
|
|
11048
|
+
},
|
|
11049
|
+
{
|
|
11050
|
+
"inputs": [
|
|
11051
|
+
{
|
|
11052
|
+
"internalType": "address",
|
|
11053
|
+
"name": "owner",
|
|
11054
|
+
"type": "address"
|
|
11055
|
+
}
|
|
11056
|
+
],
|
|
11057
|
+
"name": "balanceOf",
|
|
11058
|
+
"outputs": [
|
|
11059
|
+
{
|
|
11060
|
+
"internalType": "uint256",
|
|
11061
|
+
"name": "",
|
|
11062
|
+
"type": "uint256"
|
|
11063
|
+
}
|
|
11064
|
+
],
|
|
11065
|
+
"stateMutability": "view",
|
|
11066
|
+
"type": "function"
|
|
11067
|
+
},
|
|
11068
|
+
{
|
|
11069
|
+
"inputs": [
|
|
11070
|
+
{
|
|
11071
|
+
"internalType": "address",
|
|
11072
|
+
"name": "owner",
|
|
11073
|
+
"type": "address"
|
|
11074
|
+
}
|
|
11075
|
+
],
|
|
11076
|
+
"name": "balanceOfUnderlying",
|
|
11077
|
+
"outputs": [
|
|
11078
|
+
{
|
|
11079
|
+
"internalType": "uint256",
|
|
11080
|
+
"name": "",
|
|
11081
|
+
"type": "uint256"
|
|
11082
|
+
}
|
|
11083
|
+
],
|
|
11084
|
+
"stateMutability": "nonpayable",
|
|
11085
|
+
"type": "function"
|
|
11086
|
+
},
|
|
11087
|
+
{
|
|
11088
|
+
"inputs": [
|
|
11089
|
+
{
|
|
11090
|
+
"internalType": "uint256",
|
|
11091
|
+
"name": "borrowAmount",
|
|
11092
|
+
"type": "uint256"
|
|
11093
|
+
}
|
|
11094
|
+
],
|
|
11095
|
+
"name": "borrow",
|
|
11096
|
+
"outputs": [],
|
|
11097
|
+
"stateMutability": "nonpayable",
|
|
11098
|
+
"type": "function"
|
|
11099
|
+
},
|
|
11100
|
+
{
|
|
11101
|
+
"inputs": [
|
|
11102
|
+
{
|
|
11103
|
+
"internalType": "address",
|
|
11104
|
+
"name": "borrower",
|
|
11105
|
+
"type": "address"
|
|
11106
|
+
},
|
|
11107
|
+
{
|
|
11108
|
+
"internalType": "uint256",
|
|
11109
|
+
"name": "borrowAmount",
|
|
11110
|
+
"type": "uint256"
|
|
11111
|
+
}
|
|
11112
|
+
],
|
|
11113
|
+
"name": "borrowAndDepositBack",
|
|
11114
|
+
"outputs": [],
|
|
11115
|
+
"stateMutability": "nonpayable",
|
|
11116
|
+
"type": "function"
|
|
11117
|
+
},
|
|
11118
|
+
{
|
|
11119
|
+
"inputs": [
|
|
11120
|
+
{
|
|
11121
|
+
"internalType": "address",
|
|
11122
|
+
"name": "account",
|
|
11123
|
+
"type": "address"
|
|
11124
|
+
}
|
|
11125
|
+
],
|
|
11126
|
+
"name": "borrowBalanceCurrent",
|
|
11127
|
+
"outputs": [
|
|
11128
|
+
{
|
|
11129
|
+
"internalType": "uint256",
|
|
11130
|
+
"name": "",
|
|
11131
|
+
"type": "uint256"
|
|
11132
|
+
}
|
|
11133
|
+
],
|
|
11134
|
+
"stateMutability": "nonpayable",
|
|
11135
|
+
"type": "function"
|
|
11136
|
+
},
|
|
11137
|
+
{
|
|
11138
|
+
"inputs": [
|
|
11139
|
+
{
|
|
11140
|
+
"internalType": "address",
|
|
11141
|
+
"name": "account",
|
|
11142
|
+
"type": "address"
|
|
11143
|
+
}
|
|
11144
|
+
],
|
|
11145
|
+
"name": "borrowBalanceStored",
|
|
11146
|
+
"outputs": [
|
|
11147
|
+
{
|
|
11148
|
+
"internalType": "uint256",
|
|
11149
|
+
"name": "",
|
|
11150
|
+
"type": "uint256"
|
|
11151
|
+
}
|
|
11152
|
+
],
|
|
11153
|
+
"stateMutability": "view",
|
|
11154
|
+
"type": "function"
|
|
11155
|
+
},
|
|
11156
|
+
{
|
|
11157
|
+
"inputs": [],
|
|
11158
|
+
"name": "borrowIndex",
|
|
11159
|
+
"outputs": [
|
|
11160
|
+
{
|
|
11161
|
+
"internalType": "uint256",
|
|
11162
|
+
"name": "",
|
|
11163
|
+
"type": "uint256"
|
|
11164
|
+
}
|
|
11165
|
+
],
|
|
11166
|
+
"stateMutability": "view",
|
|
11167
|
+
"type": "function"
|
|
11168
|
+
},
|
|
11169
|
+
{
|
|
11170
|
+
"inputs": [],
|
|
11171
|
+
"name": "borrowRatePerBlock",
|
|
11172
|
+
"outputs": [
|
|
11173
|
+
{
|
|
11174
|
+
"internalType": "uint256",
|
|
11175
|
+
"name": "",
|
|
11176
|
+
"type": "uint256"
|
|
11177
|
+
}
|
|
11178
|
+
],
|
|
11179
|
+
"stateMutability": "view",
|
|
11180
|
+
"type": "function"
|
|
11181
|
+
},
|
|
11182
|
+
{
|
|
11183
|
+
"inputs": [],
|
|
11184
|
+
"name": "comptroller",
|
|
11185
|
+
"outputs": [
|
|
11186
|
+
{
|
|
11187
|
+
"internalType": "address",
|
|
11188
|
+
"name": "",
|
|
11189
|
+
"type": "address"
|
|
11190
|
+
}
|
|
11191
|
+
],
|
|
11192
|
+
"stateMutability": "view",
|
|
11193
|
+
"type": "function"
|
|
11194
|
+
},
|
|
11195
|
+
{
|
|
11196
|
+
"inputs": [],
|
|
11197
|
+
"name": "decimals",
|
|
11198
|
+
"outputs": [
|
|
11199
|
+
{
|
|
11200
|
+
"internalType": "uint8",
|
|
11201
|
+
"name": "",
|
|
11202
|
+
"type": "uint8"
|
|
11203
|
+
}
|
|
11204
|
+
],
|
|
11205
|
+
"stateMutability": "view",
|
|
11206
|
+
"type": "function"
|
|
11207
|
+
},
|
|
11208
|
+
{
|
|
11209
|
+
"inputs": [],
|
|
11210
|
+
"name": "discountRateMantissa",
|
|
11211
|
+
"outputs": [
|
|
11212
|
+
{
|
|
11213
|
+
"internalType": "uint256",
|
|
11214
|
+
"name": "",
|
|
11215
|
+
"type": "uint256"
|
|
11216
|
+
}
|
|
11217
|
+
],
|
|
11218
|
+
"stateMutability": "view",
|
|
11219
|
+
"type": "function"
|
|
11220
|
+
},
|
|
11221
|
+
{
|
|
11222
|
+
"inputs": [],
|
|
11223
|
+
"name": "exchangeRateCurrent",
|
|
11224
|
+
"outputs": [
|
|
11225
|
+
{
|
|
11226
|
+
"internalType": "uint256",
|
|
11227
|
+
"name": "",
|
|
11228
|
+
"type": "uint256"
|
|
11229
|
+
}
|
|
11230
|
+
],
|
|
11231
|
+
"stateMutability": "nonpayable",
|
|
11232
|
+
"type": "function"
|
|
11233
|
+
},
|
|
11234
|
+
{
|
|
11235
|
+
"inputs": [],
|
|
11236
|
+
"name": "exchangeRateStored",
|
|
11237
|
+
"outputs": [
|
|
11238
|
+
{
|
|
11239
|
+
"internalType": "uint256",
|
|
11240
|
+
"name": "",
|
|
11241
|
+
"type": "uint256"
|
|
11242
|
+
}
|
|
11243
|
+
],
|
|
11244
|
+
"stateMutability": "view",
|
|
11245
|
+
"type": "function"
|
|
11246
|
+
},
|
|
11247
|
+
{
|
|
11248
|
+
"inputs": [
|
|
11249
|
+
{
|
|
11250
|
+
"internalType": "address",
|
|
11251
|
+
"name": "account",
|
|
11252
|
+
"type": "address"
|
|
11253
|
+
}
|
|
11254
|
+
],
|
|
11255
|
+
"name": "getAccountSnapshot",
|
|
11256
|
+
"outputs": [
|
|
11257
|
+
{
|
|
11258
|
+
"internalType": "uint256",
|
|
11259
|
+
"name": "",
|
|
11260
|
+
"type": "uint256"
|
|
11261
|
+
},
|
|
11262
|
+
{
|
|
11263
|
+
"internalType": "uint256",
|
|
11264
|
+
"name": "",
|
|
11265
|
+
"type": "uint256"
|
|
11266
|
+
},
|
|
11267
|
+
{
|
|
11268
|
+
"internalType": "uint256",
|
|
11269
|
+
"name": "",
|
|
11270
|
+
"type": "uint256"
|
|
11271
|
+
},
|
|
11272
|
+
{
|
|
11273
|
+
"internalType": "uint256",
|
|
11274
|
+
"name": "",
|
|
11275
|
+
"type": "uint256"
|
|
11276
|
+
}
|
|
11277
|
+
],
|
|
11278
|
+
"stateMutability": "view",
|
|
11279
|
+
"type": "function"
|
|
11280
|
+
},
|
|
11281
|
+
{
|
|
11282
|
+
"inputs": [],
|
|
11283
|
+
"name": "getCash",
|
|
11284
|
+
"outputs": [
|
|
11285
|
+
{
|
|
11286
|
+
"internalType": "uint256",
|
|
11287
|
+
"name": "",
|
|
11288
|
+
"type": "uint256"
|
|
11289
|
+
}
|
|
11290
|
+
],
|
|
11291
|
+
"stateMutability": "view",
|
|
11292
|
+
"type": "function"
|
|
11293
|
+
},
|
|
11294
|
+
{
|
|
11295
|
+
"inputs": [
|
|
11296
|
+
{
|
|
11297
|
+
"internalType": "address",
|
|
11298
|
+
"name": "comptroller_",
|
|
11299
|
+
"type": "address"
|
|
11300
|
+
},
|
|
11301
|
+
{
|
|
11302
|
+
"internalType": "address",
|
|
11303
|
+
"name": "interestRateModel_",
|
|
11304
|
+
"type": "address"
|
|
11305
|
+
},
|
|
11306
|
+
{
|
|
11307
|
+
"internalType": "uint256",
|
|
11308
|
+
"name": "initialExchangeRateMantissa_",
|
|
11309
|
+
"type": "uint256"
|
|
11310
|
+
},
|
|
11311
|
+
{
|
|
11312
|
+
"internalType": "string",
|
|
11313
|
+
"name": "name_",
|
|
11314
|
+
"type": "string"
|
|
11315
|
+
},
|
|
11316
|
+
{
|
|
11317
|
+
"internalType": "string",
|
|
11318
|
+
"name": "symbol_",
|
|
11319
|
+
"type": "string"
|
|
11320
|
+
},
|
|
11321
|
+
{
|
|
11322
|
+
"internalType": "uint8",
|
|
11323
|
+
"name": "decimals_",
|
|
11324
|
+
"type": "uint8"
|
|
11325
|
+
},
|
|
11326
|
+
{
|
|
11327
|
+
"internalType": "address payable",
|
|
11328
|
+
"name": "admin_",
|
|
11329
|
+
"type": "address"
|
|
11330
|
+
}
|
|
11331
|
+
],
|
|
11332
|
+
"name": "initialize",
|
|
11333
|
+
"outputs": [],
|
|
11334
|
+
"stateMutability": "nonpayable",
|
|
11335
|
+
"type": "function"
|
|
11336
|
+
},
|
|
11337
|
+
{
|
|
11338
|
+
"inputs": [],
|
|
11339
|
+
"name": "initializeVersion2",
|
|
11340
|
+
"outputs": [],
|
|
11341
|
+
"stateMutability": "nonpayable",
|
|
11342
|
+
"type": "function"
|
|
11343
|
+
},
|
|
11344
|
+
{
|
|
11345
|
+
"inputs": [],
|
|
11346
|
+
"name": "interestRateModel",
|
|
11347
|
+
"outputs": [
|
|
11348
|
+
{
|
|
11349
|
+
"internalType": "address",
|
|
11350
|
+
"name": "",
|
|
11351
|
+
"type": "address"
|
|
11352
|
+
}
|
|
11353
|
+
],
|
|
11354
|
+
"stateMutability": "view",
|
|
11355
|
+
"type": "function"
|
|
11356
|
+
},
|
|
11357
|
+
{
|
|
11358
|
+
"inputs": [],
|
|
11359
|
+
"name": "isCEther",
|
|
11360
|
+
"outputs": [
|
|
11361
|
+
{
|
|
11362
|
+
"internalType": "bool",
|
|
11363
|
+
"name": "",
|
|
11364
|
+
"type": "bool"
|
|
11365
|
+
}
|
|
11366
|
+
],
|
|
11367
|
+
"stateMutability": "pure",
|
|
11368
|
+
"type": "function"
|
|
11369
|
+
},
|
|
11370
|
+
{
|
|
11371
|
+
"inputs": [],
|
|
11372
|
+
"name": "isCEtherDeprecated",
|
|
11373
|
+
"outputs": [
|
|
11374
|
+
{
|
|
11375
|
+
"internalType": "bool",
|
|
11376
|
+
"name": "",
|
|
11377
|
+
"type": "bool"
|
|
11378
|
+
}
|
|
11379
|
+
],
|
|
11380
|
+
"stateMutability": "view",
|
|
11381
|
+
"type": "function"
|
|
11382
|
+
},
|
|
11383
|
+
{
|
|
11384
|
+
"inputs": [],
|
|
11385
|
+
"name": "isCToken",
|
|
11386
|
+
"outputs": [
|
|
11387
|
+
{
|
|
11388
|
+
"internalType": "bool",
|
|
11389
|
+
"name": "",
|
|
11390
|
+
"type": "bool"
|
|
11391
|
+
}
|
|
11392
|
+
],
|
|
11393
|
+
"stateMutability": "pure",
|
|
11394
|
+
"type": "function"
|
|
11395
|
+
},
|
|
11396
|
+
{
|
|
11397
|
+
"inputs": [],
|
|
11398
|
+
"name": "isCTokenDeprecated",
|
|
11399
|
+
"outputs": [
|
|
11400
|
+
{
|
|
11401
|
+
"internalType": "bool",
|
|
11402
|
+
"name": "",
|
|
11403
|
+
"type": "bool"
|
|
11404
|
+
}
|
|
11405
|
+
],
|
|
11406
|
+
"stateMutability": "view",
|
|
11407
|
+
"type": "function"
|
|
11408
|
+
},
|
|
11409
|
+
{
|
|
11410
|
+
"inputs": [
|
|
11411
|
+
{
|
|
11412
|
+
"internalType": "address",
|
|
11413
|
+
"name": "borrower",
|
|
11414
|
+
"type": "address"
|
|
11415
|
+
},
|
|
11416
|
+
{
|
|
11417
|
+
"internalType": "address",
|
|
11418
|
+
"name": "cTokenCollateral",
|
|
11419
|
+
"type": "address"
|
|
11420
|
+
}
|
|
11421
|
+
],
|
|
11422
|
+
"name": "liquidateBorrow",
|
|
11423
|
+
"outputs": [],
|
|
11424
|
+
"stateMutability": "payable",
|
|
11425
|
+
"type": "function"
|
|
11426
|
+
},
|
|
11427
|
+
{
|
|
11428
|
+
"inputs": [
|
|
11429
|
+
{
|
|
11430
|
+
"internalType": "address",
|
|
11431
|
+
"name": "cTokenCollateral",
|
|
11432
|
+
"type": "address"
|
|
11433
|
+
},
|
|
11434
|
+
{
|
|
11435
|
+
"internalType": "uint256",
|
|
11436
|
+
"name": "actualRepayAmount",
|
|
11437
|
+
"type": "uint256"
|
|
11438
|
+
}
|
|
11439
|
+
],
|
|
11440
|
+
"name": "liquidateCalculateSeizeTokens",
|
|
11441
|
+
"outputs": [
|
|
11442
|
+
{
|
|
11443
|
+
"internalType": "uint256",
|
|
11444
|
+
"name": "",
|
|
11445
|
+
"type": "uint256"
|
|
11446
|
+
},
|
|
11447
|
+
{
|
|
11448
|
+
"internalType": "uint256",
|
|
11449
|
+
"name": "",
|
|
11450
|
+
"type": "uint256"
|
|
11451
|
+
}
|
|
11452
|
+
],
|
|
11453
|
+
"stateMutability": "view",
|
|
11454
|
+
"type": "function"
|
|
11455
|
+
},
|
|
11456
|
+
{
|
|
11457
|
+
"inputs": [],
|
|
11458
|
+
"name": "mint",
|
|
11459
|
+
"outputs": [],
|
|
11460
|
+
"stateMutability": "payable",
|
|
11461
|
+
"type": "function"
|
|
11462
|
+
},
|
|
11463
|
+
{
|
|
11464
|
+
"inputs": [],
|
|
11465
|
+
"name": "name",
|
|
11466
|
+
"outputs": [
|
|
11467
|
+
{
|
|
11468
|
+
"internalType": "string",
|
|
11469
|
+
"name": "",
|
|
11470
|
+
"type": "string"
|
|
11471
|
+
}
|
|
11472
|
+
],
|
|
11473
|
+
"stateMutability": "view",
|
|
11474
|
+
"type": "function"
|
|
11475
|
+
},
|
|
11476
|
+
{
|
|
11477
|
+
"inputs": [],
|
|
11478
|
+
"name": "pendingAdmin",
|
|
11479
|
+
"outputs": [
|
|
11480
|
+
{
|
|
11481
|
+
"internalType": "address payable",
|
|
11482
|
+
"name": "",
|
|
11483
|
+
"type": "address"
|
|
11484
|
+
}
|
|
11485
|
+
],
|
|
11486
|
+
"stateMutability": "view",
|
|
11487
|
+
"type": "function"
|
|
11488
|
+
},
|
|
11489
|
+
{
|
|
11490
|
+
"inputs": [],
|
|
11491
|
+
"name": "percentScale",
|
|
11492
|
+
"outputs": [
|
|
11493
|
+
{
|
|
11494
|
+
"internalType": "uint256",
|
|
11495
|
+
"name": "",
|
|
11496
|
+
"type": "uint256"
|
|
11497
|
+
}
|
|
11498
|
+
],
|
|
11499
|
+
"stateMutability": "view",
|
|
11500
|
+
"type": "function"
|
|
11501
|
+
},
|
|
11502
|
+
{
|
|
11503
|
+
"inputs": [],
|
|
11504
|
+
"name": "protocolSeizeShareMantissa",
|
|
11505
|
+
"outputs": [
|
|
11506
|
+
{
|
|
11507
|
+
"internalType": "uint256",
|
|
11508
|
+
"name": "",
|
|
11509
|
+
"type": "uint256"
|
|
11510
|
+
}
|
|
11511
|
+
],
|
|
11512
|
+
"stateMutability": "view",
|
|
11513
|
+
"type": "function"
|
|
11514
|
+
},
|
|
11515
|
+
{
|
|
11516
|
+
"inputs": [
|
|
11517
|
+
{
|
|
11518
|
+
"internalType": "uint256",
|
|
11519
|
+
"name": "redeemTokens",
|
|
11520
|
+
"type": "uint256"
|
|
11521
|
+
}
|
|
11522
|
+
],
|
|
11523
|
+
"name": "redeem",
|
|
11524
|
+
"outputs": [],
|
|
11525
|
+
"stateMutability": "nonpayable",
|
|
11526
|
+
"type": "function"
|
|
11527
|
+
},
|
|
11528
|
+
{
|
|
11529
|
+
"inputs": [
|
|
11530
|
+
{
|
|
11531
|
+
"internalType": "uint256",
|
|
11532
|
+
"name": "redeemAmount",
|
|
11533
|
+
"type": "uint256"
|
|
11534
|
+
}
|
|
11535
|
+
],
|
|
11536
|
+
"name": "redeemUnderlying",
|
|
11537
|
+
"outputs": [],
|
|
11538
|
+
"stateMutability": "nonpayable",
|
|
11539
|
+
"type": "function"
|
|
11540
|
+
},
|
|
11541
|
+
{
|
|
11542
|
+
"inputs": [],
|
|
11543
|
+
"name": "repayBorrow",
|
|
11544
|
+
"outputs": [],
|
|
11545
|
+
"stateMutability": "payable",
|
|
11546
|
+
"type": "function"
|
|
11547
|
+
},
|
|
11548
|
+
{
|
|
11549
|
+
"inputs": [
|
|
11550
|
+
{
|
|
11551
|
+
"internalType": "address",
|
|
11552
|
+
"name": "borrower",
|
|
11553
|
+
"type": "address"
|
|
11554
|
+
}
|
|
11555
|
+
],
|
|
11556
|
+
"name": "repayBorrowBehalf",
|
|
11557
|
+
"outputs": [],
|
|
11558
|
+
"stateMutability": "payable",
|
|
11559
|
+
"type": "function"
|
|
11560
|
+
},
|
|
11561
|
+
{
|
|
11562
|
+
"inputs": [],
|
|
11563
|
+
"name": "reserveFactorMantissa",
|
|
11564
|
+
"outputs": [
|
|
11565
|
+
{
|
|
11566
|
+
"internalType": "uint256",
|
|
11567
|
+
"name": "",
|
|
11568
|
+
"type": "uint256"
|
|
11569
|
+
}
|
|
11570
|
+
],
|
|
11571
|
+
"stateMutability": "view",
|
|
11572
|
+
"type": "function"
|
|
11573
|
+
},
|
|
11574
|
+
{
|
|
11575
|
+
"inputs": [
|
|
11576
|
+
{
|
|
11577
|
+
"internalType": "address",
|
|
11578
|
+
"name": "liquidator",
|
|
11579
|
+
"type": "address"
|
|
11580
|
+
},
|
|
11581
|
+
{
|
|
11582
|
+
"internalType": "address",
|
|
11583
|
+
"name": "borrower",
|
|
11584
|
+
"type": "address"
|
|
11585
|
+
},
|
|
11586
|
+
{
|
|
11587
|
+
"internalType": "uint256",
|
|
11588
|
+
"name": "seizeTokens",
|
|
11589
|
+
"type": "uint256"
|
|
11590
|
+
},
|
|
11591
|
+
{
|
|
11592
|
+
"internalType": "uint256",
|
|
11593
|
+
"name": "seizeProfitTokens",
|
|
11594
|
+
"type": "uint256"
|
|
11595
|
+
},
|
|
11596
|
+
{
|
|
11597
|
+
"internalType": "bool",
|
|
11598
|
+
"name": "isRedemption",
|
|
11599
|
+
"type": "bool"
|
|
11600
|
+
},
|
|
11601
|
+
{
|
|
11602
|
+
"internalType": "uint256",
|
|
11603
|
+
"name": "redemptionRateMantissa",
|
|
11604
|
+
"type": "uint256"
|
|
11605
|
+
}
|
|
11606
|
+
],
|
|
11607
|
+
"name": "seize",
|
|
11608
|
+
"outputs": [],
|
|
11609
|
+
"stateMutability": "nonpayable",
|
|
11610
|
+
"type": "function"
|
|
11611
|
+
},
|
|
11612
|
+
{
|
|
11613
|
+
"inputs": [],
|
|
11614
|
+
"name": "supplyRatePerBlock",
|
|
11615
|
+
"outputs": [
|
|
11616
|
+
{
|
|
11617
|
+
"internalType": "uint256",
|
|
11618
|
+
"name": "",
|
|
11619
|
+
"type": "uint256"
|
|
11620
|
+
}
|
|
11621
|
+
],
|
|
11622
|
+
"stateMutability": "view",
|
|
11623
|
+
"type": "function"
|
|
11624
|
+
},
|
|
11625
|
+
{
|
|
11626
|
+
"inputs": [],
|
|
11627
|
+
"name": "symbol",
|
|
11628
|
+
"outputs": [
|
|
11629
|
+
{
|
|
11630
|
+
"internalType": "string",
|
|
11631
|
+
"name": "",
|
|
11632
|
+
"type": "string"
|
|
11633
|
+
}
|
|
11634
|
+
],
|
|
11635
|
+
"stateMutability": "view",
|
|
11636
|
+
"type": "function"
|
|
11637
|
+
},
|
|
11638
|
+
{
|
|
11639
|
+
"inputs": [],
|
|
11640
|
+
"name": "tokenType",
|
|
11641
|
+
"outputs": [
|
|
11642
|
+
{
|
|
11643
|
+
"internalType": "enum CToken.CTokenType",
|
|
11644
|
+
"name": "",
|
|
11645
|
+
"type": "uint8"
|
|
11646
|
+
}
|
|
11647
|
+
],
|
|
11648
|
+
"stateMutability": "pure",
|
|
11649
|
+
"type": "function"
|
|
11650
|
+
},
|
|
11651
|
+
{
|
|
11652
|
+
"inputs": [],
|
|
11653
|
+
"name": "totalBorrows",
|
|
11654
|
+
"outputs": [
|
|
11655
|
+
{
|
|
11656
|
+
"internalType": "uint256",
|
|
11657
|
+
"name": "",
|
|
11658
|
+
"type": "uint256"
|
|
11659
|
+
}
|
|
11660
|
+
],
|
|
11661
|
+
"stateMutability": "view",
|
|
11662
|
+
"type": "function"
|
|
11663
|
+
},
|
|
11664
|
+
{
|
|
11665
|
+
"inputs": [],
|
|
11666
|
+
"name": "totalBorrowsCurrent",
|
|
11667
|
+
"outputs": [
|
|
11668
|
+
{
|
|
11669
|
+
"internalType": "uint256",
|
|
11670
|
+
"name": "",
|
|
11671
|
+
"type": "uint256"
|
|
11672
|
+
}
|
|
11673
|
+
],
|
|
11674
|
+
"stateMutability": "nonpayable",
|
|
11675
|
+
"type": "function"
|
|
11676
|
+
},
|
|
11677
|
+
{
|
|
11678
|
+
"inputs": [],
|
|
11679
|
+
"name": "totalReserves",
|
|
11680
|
+
"outputs": [
|
|
11681
|
+
{
|
|
11682
|
+
"internalType": "uint256",
|
|
11683
|
+
"name": "",
|
|
11684
|
+
"type": "uint256"
|
|
11685
|
+
}
|
|
11686
|
+
],
|
|
11687
|
+
"stateMutability": "view",
|
|
11688
|
+
"type": "function"
|
|
11689
|
+
},
|
|
11690
|
+
{
|
|
11691
|
+
"inputs": [],
|
|
11692
|
+
"name": "totalSupply",
|
|
11693
|
+
"outputs": [
|
|
11694
|
+
{
|
|
11695
|
+
"internalType": "uint256",
|
|
11696
|
+
"name": "",
|
|
11697
|
+
"type": "uint256"
|
|
11698
|
+
}
|
|
11699
|
+
],
|
|
11700
|
+
"stateMutability": "view",
|
|
11701
|
+
"type": "function"
|
|
11702
|
+
},
|
|
11703
|
+
{
|
|
11704
|
+
"inputs": [
|
|
11705
|
+
{
|
|
11706
|
+
"internalType": "address",
|
|
11707
|
+
"name": "dst",
|
|
11708
|
+
"type": "address"
|
|
11709
|
+
},
|
|
11710
|
+
{
|
|
11711
|
+
"internalType": "uint256",
|
|
11712
|
+
"name": "amount",
|
|
11713
|
+
"type": "uint256"
|
|
11714
|
+
}
|
|
11715
|
+
],
|
|
11716
|
+
"name": "transfer",
|
|
11717
|
+
"outputs": [
|
|
11718
|
+
{
|
|
11719
|
+
"internalType": "bool",
|
|
11720
|
+
"name": "",
|
|
11721
|
+
"type": "bool"
|
|
11722
|
+
}
|
|
11723
|
+
],
|
|
11724
|
+
"stateMutability": "nonpayable",
|
|
11725
|
+
"type": "function"
|
|
11726
|
+
},
|
|
11727
|
+
{
|
|
11728
|
+
"inputs": [
|
|
11729
|
+
{
|
|
11730
|
+
"internalType": "address",
|
|
11731
|
+
"name": "src",
|
|
11732
|
+
"type": "address"
|
|
11733
|
+
},
|
|
11734
|
+
{
|
|
11735
|
+
"internalType": "address",
|
|
11736
|
+
"name": "dst",
|
|
11737
|
+
"type": "address"
|
|
11738
|
+
},
|
|
11739
|
+
{
|
|
11740
|
+
"internalType": "uint256",
|
|
11741
|
+
"name": "amount",
|
|
11742
|
+
"type": "uint256"
|
|
11743
|
+
}
|
|
11744
|
+
],
|
|
11745
|
+
"name": "transferFrom",
|
|
11746
|
+
"outputs": [
|
|
11747
|
+
{
|
|
11748
|
+
"internalType": "bool",
|
|
11749
|
+
"name": "",
|
|
11750
|
+
"type": "bool"
|
|
11751
|
+
}
|
|
11752
|
+
],
|
|
11753
|
+
"stateMutability": "nonpayable",
|
|
11754
|
+
"type": "function"
|
|
11755
|
+
},
|
|
11756
|
+
{
|
|
11757
|
+
"inputs": [],
|
|
11758
|
+
"name": "underlying",
|
|
11759
|
+
"outputs": [
|
|
11760
|
+
{
|
|
11761
|
+
"internalType": "address",
|
|
11762
|
+
"name": "",
|
|
11763
|
+
"type": "address"
|
|
11764
|
+
}
|
|
11765
|
+
],
|
|
11766
|
+
"stateMutability": "view",
|
|
11767
|
+
"type": "function"
|
|
11768
|
+
},
|
|
11769
|
+
{
|
|
11770
|
+
"inputs": [],
|
|
11771
|
+
"name": "underlyingBalance",
|
|
11772
|
+
"outputs": [
|
|
11773
|
+
{
|
|
11774
|
+
"internalType": "uint256",
|
|
11775
|
+
"name": "",
|
|
11776
|
+
"type": "uint256"
|
|
11777
|
+
}
|
|
11778
|
+
],
|
|
11779
|
+
"stateMutability": "view",
|
|
11780
|
+
"type": "function"
|
|
11781
|
+
},
|
|
11782
|
+
{
|
|
11783
|
+
"stateMutability": "payable",
|
|
11784
|
+
"type": "receive"
|
|
11785
|
+
}
|
|
11786
|
+
],
|
|
11787
|
+
"CToken": [
|
|
9530
11788
|
{
|
|
9531
11789
|
"inputs": [],
|
|
9532
11790
|
"name": "AddReservesMarketNotFresh",
|
|
@@ -36253,7 +38511,7 @@ exports.abi = {
|
|
|
36253
38511
|
"type": "function"
|
|
36254
38512
|
}
|
|
36255
38513
|
],
|
|
36256
|
-
"
|
|
38514
|
+
"ArtTokenAdapter": [
|
|
36257
38515
|
{
|
|
36258
38516
|
"inputs": [
|
|
36259
38517
|
{
|
|
@@ -36270,6 +38528,19 @@ exports.abi = {
|
|
|
36270
38528
|
"stateMutability": "nonpayable",
|
|
36271
38529
|
"type": "constructor"
|
|
36272
38530
|
},
|
|
38531
|
+
{
|
|
38532
|
+
"inputs": [],
|
|
38533
|
+
"name": "config",
|
|
38534
|
+
"outputs": [
|
|
38535
|
+
{
|
|
38536
|
+
"internalType": "contract IGoatConfig",
|
|
38537
|
+
"name": "",
|
|
38538
|
+
"type": "address"
|
|
38539
|
+
}
|
|
38540
|
+
],
|
|
38541
|
+
"stateMutability": "view",
|
|
38542
|
+
"type": "function"
|
|
38543
|
+
},
|
|
36273
38544
|
{
|
|
36274
38545
|
"inputs": [],
|
|
36275
38546
|
"name": "depositPool",
|
|
@@ -37445,6 +39716,58 @@ exports.abi = {
|
|
|
37445
39716
|
"type": "function"
|
|
37446
39717
|
}
|
|
37447
39718
|
],
|
|
39719
|
+
"IMonadLST": [
|
|
39720
|
+
{
|
|
39721
|
+
"inputs": [
|
|
39722
|
+
{
|
|
39723
|
+
"internalType": "uint256",
|
|
39724
|
+
"name": "",
|
|
39725
|
+
"type": "uint256"
|
|
39726
|
+
}
|
|
39727
|
+
],
|
|
39728
|
+
"name": "convertToAssets",
|
|
39729
|
+
"outputs": [
|
|
39730
|
+
{
|
|
39731
|
+
"internalType": "uint256",
|
|
39732
|
+
"name": "",
|
|
39733
|
+
"type": "uint256"
|
|
39734
|
+
}
|
|
39735
|
+
],
|
|
39736
|
+
"stateMutability": "view",
|
|
39737
|
+
"type": "function"
|
|
39738
|
+
}
|
|
39739
|
+
],
|
|
39740
|
+
"MonadLSTAdapter": [
|
|
39741
|
+
{
|
|
39742
|
+
"inputs": [
|
|
39743
|
+
{
|
|
39744
|
+
"internalType": "address",
|
|
39745
|
+
"name": "_correlatedToken",
|
|
39746
|
+
"type": "address"
|
|
39747
|
+
},
|
|
39748
|
+
{
|
|
39749
|
+
"internalType": "address",
|
|
39750
|
+
"name": "_underlyingToken",
|
|
39751
|
+
"type": "address"
|
|
39752
|
+
}
|
|
39753
|
+
],
|
|
39754
|
+
"stateMutability": "nonpayable",
|
|
39755
|
+
"type": "constructor"
|
|
39756
|
+
},
|
|
39757
|
+
{
|
|
39758
|
+
"inputs": [],
|
|
39759
|
+
"name": "exchangeRate",
|
|
39760
|
+
"outputs": [
|
|
39761
|
+
{
|
|
39762
|
+
"internalType": "uint256",
|
|
39763
|
+
"name": "",
|
|
39764
|
+
"type": "uint256"
|
|
39765
|
+
}
|
|
39766
|
+
],
|
|
39767
|
+
"stateMutability": "view",
|
|
39768
|
+
"type": "function"
|
|
39769
|
+
}
|
|
39770
|
+
],
|
|
37448
39771
|
"PriceAdapter": [
|
|
37449
39772
|
{
|
|
37450
39773
|
"inputs": [],
|