@meterio/sumer-js 0.2.113 → 0.2.115
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 +542 -123
- package/dist/nodejs/abi.js +19858 -9807
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/cToken.js +1 -7
- package/dist/nodejs/cToken.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.d.ts +11 -3
- package/dist/nodejs/constants/arbitrum.js +149 -22
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.d.ts +8 -3
- package/dist/nodejs/constants/b2main.js +65 -13
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.d.ts +12 -5
- package/dist/nodejs/constants/basemain.js +127 -19
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/basetest.d.ts +10 -21
- package/dist/nodejs/constants/basetest.js +35 -21
- package/dist/nodejs/constants/basetest.js.map +1 -1
- package/dist/nodejs/constants/berabartio.d.ts +6 -3
- package/dist/nodejs/constants/berabartio.js +139 -5
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +12 -7
- package/dist/nodejs/constants/beramain.js +93 -48
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bsc.d.ts +10 -15
- package/dist/nodejs/constants/bsc.js +92 -13
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.d.ts +8 -7
- package/dist/nodejs/constants/core.js +105 -28
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.d.ts +11 -4
- package/dist/nodejs/constants/ethereum.js +264 -18
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/index.js +0 -2
- package/dist/nodejs/constants/index.js.map +1 -1
- package/dist/nodejs/constants/merlin.d.ts +7 -3
- package/dist/nodejs/constants/merlin.js +45 -7
- package/dist/nodejs/constants/merlin.js.map +1 -1
- package/dist/nodejs/constants/metermain.d.ts +8 -3
- package/dist/nodejs/constants/metermain.js +53 -12
- package/dist/nodejs/constants/metermain.js.map +1 -1
- package/dist/nodejs/constants/metertest.d.ts +9 -4
- package/dist/nodejs/constants/metertest.js +113 -13
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.d.ts +6 -3
- package/dist/nodejs/constants/monadtest.js +89 -5
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +6 -3
- package/dist/nodejs/constants/sepolia.js +53 -5
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.d.ts +11 -7
- package/dist/nodejs/constants/zklink.js +82 -11
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +2261 -0
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +542 -123
- package/dist/nodejs/typechain/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Bera/CBeraVault.d.ts +36 -40
- package/dist/nodejs/typechain/contracts/CToken/CErc20.d.ts +36 -40
- package/dist/nodejs/typechain/contracts/CToken/SuErc20.d.ts +40 -44
- package/dist/nodejs/typechain/contracts/Comptroller/CompLogic.d.ts +1 -9
- package/dist/nodejs/typechain/contracts/Comptroller/MockComptroller.d.ts +1237 -0
- package/dist/nodejs/typechain/contracts/{Oracle/BalancerLPAdapter.sol/IBalancerVault.js → Comptroller/MockComptroller.js} +1 -1
- package/dist/nodejs/typechain/contracts/Comptroller/MockComptroller.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Comptroller/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Infrared/CInfraredVault.d.ts +129 -107
- package/dist/nodejs/typechain/contracts/Infrared/IInfraredRewards.d.ts +16 -16
- package/dist/nodejs/typechain/contracts/Interfaces/ICompLogic.d.ts +1 -9
- package/dist/nodejs/typechain/contracts/Interfaces/IComptroller.d.ts +5 -76
- package/dist/nodejs/typechain/contracts/Interfaces/index.d.ts +6 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +1 -43
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +0 -2
- package/dist/nodejs/typechain/contracts/index.d.ts +4 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js +3 -1
- package/dist/nodejs/typechain/factories/@openzeppelin/contracts-upgradeable/security/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.d.ts +18 -90
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js +18 -125
- package/dist/nodejs/typechain/factories/contracts/Bera/CBeraVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +18 -90
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +18 -125
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +0 -56
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +0 -70
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +20 -100
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +20 -139
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +1 -67
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +1 -84
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/ComptrollerStorage__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.d.ts +1880 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +2415 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/SortedBorrows__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.d.ts +143 -170
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js +170 -224
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.d.ts +11 -26
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js +14 -33
- package/dist/nodejs/typechain/factories/contracts/Infrared/IInfraredRewards__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.d.ts +0 -10
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.d.ts +0 -86
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js +0 -109
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js +4 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Multicall2__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +1 -47
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +1 -61
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstETHAdapter.sol/WstETHAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.d.ts +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/WstMTRGAdapter.sol/WstMTRGAdapter__factory.js +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +1 -2
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +1 -57
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +1 -71
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/index.js +2 -1
- package/dist/nodejs/typechain/factories/index.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +324 -54
- package/dist/nodejs/typechain/index.d.ts +34 -8
- package/dist/nodejs/typechain/index.js +35 -11
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
- package/dist/nodejs/constants/hemi.d.ts +0 -69
- package/dist/nodejs/constants/hemi.js +0 -151
- package/dist/nodejs/constants/hemi.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.d.ts +0 -149
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js +0 -3
- package/dist/nodejs/typechain/contracts/Infrared/ITimeWeightedMultiRewards.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.d.ts +0 -186
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js +0 -3
- package/dist/nodejs/typechain/contracts/Infrared/InfraredRewards.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.d.ts +0 -217
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js +0 -3
- package/dist/nodejs/typechain/contracts/Infrared/TimeWeightedMultiRewards.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.d.ts +0 -33
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js +0 -3
- package/dist/nodejs/typechain/contracts/Interfaces/Balancer.sol/IBalancerLP.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.d.ts +0 -93
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.d.ts +0 -33
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.d.ts +0 -49
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +0 -4
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +0 -29
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/ICoreVault.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +0 -25
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.js.map +0 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js +0 -3
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.d.ts +0 -169
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js +0 -229
- package/dist/nodejs/typechain/factories/contracts/Infrared/ITimeWeightedMultiRewards__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.d.ts +0 -219
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js +0 -296
- package/dist/nodejs/typechain/factories/contracts/Infrared/InfraredRewards__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.d.ts +0 -241
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js +0 -323
- package/dist/nodejs/typechain/factories/contracts/Infrared/TimeWeightedMultiRewards__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.d.ts +0 -37
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js +0 -59
- package/dist/nodejs/typechain/factories/contracts/Interfaces/Balancer.sol/IBalancerLP__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.d.ts +0 -158
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js +0 -214
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/BalancerLPAdapter__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.d.ts +0 -37
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js +0 -59
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerLP__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.d.ts +0 -29
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js +0 -49
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IBalancerVault__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.d.ts +0 -21
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/IPriceOracle__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.d.ts +0 -4
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js +0 -15
- package/dist/nodejs/typechain/factories/contracts/Oracle/BalancerLPAdapter.sol/index.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +0 -54
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +0 -82
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.d.ts +0 -21
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js +0 -39
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/ICoreVault__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +0 -17
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +0 -33
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +0 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +0 -3
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +0 -1
|
@@ -0,0 +1,2415 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.MockComptroller__factory = void 0;
|
|
4
|
+
/* Autogenerated file. Do not edit manually. */
|
|
5
|
+
/* tslint:disable */
|
|
6
|
+
/* eslint-disable */
|
|
7
|
+
const ethers_1 = require("ethers");
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_admin",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
internalType: "address",
|
|
18
|
+
name: "_oracle",
|
|
19
|
+
type: "address",
|
|
20
|
+
},
|
|
21
|
+
],
|
|
22
|
+
stateMutability: "nonpayable",
|
|
23
|
+
type: "constructor",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
inputs: [],
|
|
27
|
+
name: "AddReservesMarketNotFresh",
|
|
28
|
+
type: "error",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
inputs: [],
|
|
32
|
+
name: "AddReservesOverflow",
|
|
33
|
+
type: "error",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
inputs: [],
|
|
37
|
+
name: "BorrowAndDepositBackFailed",
|
|
38
|
+
type: "error",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
inputs: [],
|
|
42
|
+
name: "BorrowCapReached",
|
|
43
|
+
type: "error",
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
inputs: [],
|
|
47
|
+
name: "BorrowCashNotAvailable",
|
|
48
|
+
type: "error",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
inputs: [],
|
|
52
|
+
name: "BorrowMarketNotFresh",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [],
|
|
57
|
+
name: "BorrowPaused",
|
|
58
|
+
type: "error",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "uint256",
|
|
64
|
+
name: "usdThreshold",
|
|
65
|
+
type: "uint256",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
name: "BorrowValueMustBeLargerThanThreshold",
|
|
69
|
+
type: "error",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [],
|
|
73
|
+
name: "CantEnterPausedMarket",
|
|
74
|
+
type: "error",
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
inputs: [],
|
|
78
|
+
name: "CantExitMarketWithNonZeroBorrowBalance",
|
|
79
|
+
type: "error",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
inputs: [],
|
|
83
|
+
name: "CantSweepUnderlying",
|
|
84
|
+
type: "error",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
inputs: [],
|
|
88
|
+
name: "ComptrollerMismatch",
|
|
89
|
+
type: "error",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
inputs: [],
|
|
93
|
+
name: "EitherAssetOrDebtMustBeZero",
|
|
94
|
+
type: "error",
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
inputs: [
|
|
98
|
+
{
|
|
99
|
+
internalType: "uint8",
|
|
100
|
+
name: "groupId",
|
|
101
|
+
type: "uint8",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
internalType: "uint256",
|
|
105
|
+
name: "cDepositVal",
|
|
106
|
+
type: "uint256",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
internalType: "uint256",
|
|
110
|
+
name: "suDepositVal",
|
|
111
|
+
type: "uint256",
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
internalType: "uint256",
|
|
115
|
+
name: "cBorrowVal",
|
|
116
|
+
type: "uint256",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "suBorrowVal",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "EitherAssetOrDebtMustBeZeroInGroup",
|
|
125
|
+
type: "error",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "ExpiredSignature",
|
|
130
|
+
type: "error",
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
inputs: [],
|
|
134
|
+
name: "InsufficientCollateral",
|
|
135
|
+
type: "error",
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
inputs: [],
|
|
139
|
+
name: "InsufficientShortfall",
|
|
140
|
+
type: "error",
|
|
141
|
+
},
|
|
142
|
+
{
|
|
143
|
+
inputs: [],
|
|
144
|
+
name: "InterMintNotAllowed",
|
|
145
|
+
type: "error",
|
|
146
|
+
},
|
|
147
|
+
{
|
|
148
|
+
inputs: [],
|
|
149
|
+
name: "InvalidAddress",
|
|
150
|
+
type: "error",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
inputs: [],
|
|
154
|
+
name: "InvalidAmount",
|
|
155
|
+
type: "error",
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
inputs: [],
|
|
159
|
+
name: "InvalidBlockNumber",
|
|
160
|
+
type: "error",
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
inputs: [],
|
|
164
|
+
name: "InvalidCToken",
|
|
165
|
+
type: "error",
|
|
166
|
+
},
|
|
167
|
+
{
|
|
168
|
+
inputs: [],
|
|
169
|
+
name: "InvalidCloseFactor",
|
|
170
|
+
type: "error",
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
inputs: [],
|
|
174
|
+
name: "InvalidComptroller",
|
|
175
|
+
type: "error",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
inputs: [],
|
|
179
|
+
name: "InvalidDiscountRate",
|
|
180
|
+
type: "error",
|
|
181
|
+
},
|
|
182
|
+
{
|
|
183
|
+
inputs: [],
|
|
184
|
+
name: "InvalidExchangeRate",
|
|
185
|
+
type: "error",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
inputs: [],
|
|
189
|
+
name: "InvalidGroupId",
|
|
190
|
+
type: "error",
|
|
191
|
+
},
|
|
192
|
+
{
|
|
193
|
+
inputs: [],
|
|
194
|
+
name: "InvalidInput",
|
|
195
|
+
type: "error",
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
inputs: [],
|
|
199
|
+
name: "InvalidInterestRateModel",
|
|
200
|
+
type: "error",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
inputs: [],
|
|
204
|
+
name: "InvalidMinSuBorrowValue",
|
|
205
|
+
type: "error",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
inputs: [],
|
|
209
|
+
name: "InvalidRedeem",
|
|
210
|
+
type: "error",
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
inputs: [],
|
|
214
|
+
name: "InvalidReduceAmount",
|
|
215
|
+
type: "error",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
inputs: [],
|
|
219
|
+
name: "InvalidReserveFactor",
|
|
220
|
+
type: "error",
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
inputs: [],
|
|
224
|
+
name: "InvalidSignatureForRedeemFaceValue",
|
|
225
|
+
type: "error",
|
|
226
|
+
},
|
|
227
|
+
{
|
|
228
|
+
inputs: [],
|
|
229
|
+
name: "InvalidSignatureLength",
|
|
230
|
+
type: "error",
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
inputs: [],
|
|
234
|
+
name: "InvalidSuToken",
|
|
235
|
+
type: "error",
|
|
236
|
+
},
|
|
237
|
+
{
|
|
238
|
+
inputs: [],
|
|
239
|
+
name: "InvalidTimestamp",
|
|
240
|
+
type: "error",
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
inputs: [],
|
|
244
|
+
name: "LiquidateBorrow_LiquidatorIsBorrower",
|
|
245
|
+
type: "error",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
inputs: [],
|
|
249
|
+
name: "LiquidateBorrow_RepayAmountIsMax",
|
|
250
|
+
type: "error",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
inputs: [],
|
|
254
|
+
name: "LiquidateBorrow_RepayAmountIsZero",
|
|
255
|
+
type: "error",
|
|
256
|
+
},
|
|
257
|
+
{
|
|
258
|
+
inputs: [],
|
|
259
|
+
name: "LiquidateBorrow_SeizeTooMuch",
|
|
260
|
+
type: "error",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
inputs: [],
|
|
264
|
+
name: "LiquidateCollateralMarketNotFresh",
|
|
265
|
+
type: "error",
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
inputs: [],
|
|
269
|
+
name: "LiquidateMarketNotFresh",
|
|
270
|
+
type: "error",
|
|
271
|
+
},
|
|
272
|
+
{
|
|
273
|
+
inputs: [],
|
|
274
|
+
name: "MarketAlreadyListed",
|
|
275
|
+
type: "error",
|
|
276
|
+
},
|
|
277
|
+
{
|
|
278
|
+
inputs: [],
|
|
279
|
+
name: "MarketAlreadyUnlisted",
|
|
280
|
+
type: "error",
|
|
281
|
+
},
|
|
282
|
+
{
|
|
283
|
+
inputs: [],
|
|
284
|
+
name: "MarketCanOnlyInitializeOnce",
|
|
285
|
+
type: "error",
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
inputs: [],
|
|
289
|
+
name: "MarketNotEmpty",
|
|
290
|
+
type: "error",
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
inputs: [],
|
|
294
|
+
name: "MarketNotListed",
|
|
295
|
+
type: "error",
|
|
296
|
+
},
|
|
297
|
+
{
|
|
298
|
+
inputs: [],
|
|
299
|
+
name: "MarketPaused",
|
|
300
|
+
type: "error",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
inputs: [],
|
|
304
|
+
name: "MinDelayNotReached",
|
|
305
|
+
type: "error",
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
inputs: [],
|
|
309
|
+
name: "MintMarketNotFresh",
|
|
310
|
+
type: "error",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
inputs: [],
|
|
314
|
+
name: "MintPaused",
|
|
315
|
+
type: "error",
|
|
316
|
+
},
|
|
317
|
+
{
|
|
318
|
+
inputs: [],
|
|
319
|
+
name: "MintTokensCantBeZero",
|
|
320
|
+
type: "error",
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
inputs: [],
|
|
324
|
+
name: "NoRedemptionProvider",
|
|
325
|
+
type: "error",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
inputs: [],
|
|
329
|
+
name: "NotCToken",
|
|
330
|
+
type: "error",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
inputs: [],
|
|
334
|
+
name: "NotEnoughForSeize",
|
|
335
|
+
type: "error",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
inputs: [],
|
|
339
|
+
name: "NotEnoughRedeemAmount",
|
|
340
|
+
type: "error",
|
|
341
|
+
},
|
|
342
|
+
{
|
|
343
|
+
inputs: [],
|
|
344
|
+
name: "NotEnoughRedeemTokens",
|
|
345
|
+
type: "error",
|
|
346
|
+
},
|
|
347
|
+
{
|
|
348
|
+
inputs: [],
|
|
349
|
+
name: "NotEnoughUnderlyingAfterRedeem",
|
|
350
|
+
type: "error",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
inputs: [],
|
|
354
|
+
name: "NotEnoughUnderlyingForMint",
|
|
355
|
+
type: "error",
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
inputs: [],
|
|
359
|
+
name: "NotLiquidatableYet",
|
|
360
|
+
type: "error",
|
|
361
|
+
},
|
|
362
|
+
{
|
|
363
|
+
inputs: [],
|
|
364
|
+
name: "NotSuToken",
|
|
365
|
+
type: "error",
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
inputs: [],
|
|
369
|
+
name: "OnlyAdmin",
|
|
370
|
+
type: "error",
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
inputs: [],
|
|
374
|
+
name: "OnlyAdminOrPauser",
|
|
375
|
+
type: "error",
|
|
376
|
+
},
|
|
377
|
+
{
|
|
378
|
+
inputs: [],
|
|
379
|
+
name: "OnlyCToken",
|
|
380
|
+
type: "error",
|
|
381
|
+
},
|
|
382
|
+
{
|
|
383
|
+
inputs: [],
|
|
384
|
+
name: "OnlyListedCToken",
|
|
385
|
+
type: "error",
|
|
386
|
+
},
|
|
387
|
+
{
|
|
388
|
+
inputs: [],
|
|
389
|
+
name: "OnlyPausedMarketCanBeUnlisted",
|
|
390
|
+
type: "error",
|
|
391
|
+
},
|
|
392
|
+
{
|
|
393
|
+
inputs: [],
|
|
394
|
+
name: "OnlyPendingAdmin",
|
|
395
|
+
type: "error",
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
inputs: [],
|
|
399
|
+
name: "OnlyRedemptionManager",
|
|
400
|
+
type: "error",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
inputs: [],
|
|
404
|
+
name: "OverThreshold",
|
|
405
|
+
type: "error",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
inputs: [],
|
|
409
|
+
name: "PriceError",
|
|
410
|
+
type: "error",
|
|
411
|
+
},
|
|
412
|
+
{
|
|
413
|
+
inputs: [],
|
|
414
|
+
name: "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
415
|
+
type: "error",
|
|
416
|
+
},
|
|
417
|
+
{
|
|
418
|
+
inputs: [],
|
|
419
|
+
name: "RedeemMarketNotFresh",
|
|
420
|
+
type: "error",
|
|
421
|
+
},
|
|
422
|
+
{
|
|
423
|
+
inputs: [],
|
|
424
|
+
name: "RedeemTransferOutNotPossible",
|
|
425
|
+
type: "error",
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
inputs: [],
|
|
429
|
+
name: "RedemptionSeizeTooMuch",
|
|
430
|
+
type: "error",
|
|
431
|
+
},
|
|
432
|
+
{
|
|
433
|
+
inputs: [],
|
|
434
|
+
name: "RedemptionSignerNotInitialized",
|
|
435
|
+
type: "error",
|
|
436
|
+
},
|
|
437
|
+
{
|
|
438
|
+
inputs: [],
|
|
439
|
+
name: "ReduceReservesCashNotAvailable",
|
|
440
|
+
type: "error",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
inputs: [],
|
|
444
|
+
name: "ReduceReservesMarketNotFresh",
|
|
445
|
+
type: "error",
|
|
446
|
+
},
|
|
447
|
+
{
|
|
448
|
+
inputs: [],
|
|
449
|
+
name: "RepayBorrowMarketNotFresh",
|
|
450
|
+
type: "error",
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
inputs: [],
|
|
454
|
+
name: "SeizePaused",
|
|
455
|
+
type: "error",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
inputs: [],
|
|
459
|
+
name: "Seize_LiquidatorIsBorrower",
|
|
460
|
+
type: "error",
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
inputs: [],
|
|
464
|
+
name: "SenderMustBeCToken",
|
|
465
|
+
type: "error",
|
|
466
|
+
},
|
|
467
|
+
{
|
|
468
|
+
inputs: [],
|
|
469
|
+
name: "SetInterestRateModelMarketNotFresh",
|
|
470
|
+
type: "error",
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
inputs: [],
|
|
474
|
+
name: "SetReservesFactorMarketNotFresh",
|
|
475
|
+
type: "error",
|
|
476
|
+
},
|
|
477
|
+
{
|
|
478
|
+
inputs: [],
|
|
479
|
+
name: "SupplyCapReached",
|
|
480
|
+
type: "error",
|
|
481
|
+
},
|
|
482
|
+
{
|
|
483
|
+
inputs: [],
|
|
484
|
+
name: "TokenInOrAmountInMustBeZero",
|
|
485
|
+
type: "error",
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
inputs: [],
|
|
489
|
+
name: "TokenTransferInFailed",
|
|
490
|
+
type: "error",
|
|
491
|
+
},
|
|
492
|
+
{
|
|
493
|
+
inputs: [],
|
|
494
|
+
name: "TokenTransferOutFailed",
|
|
495
|
+
type: "error",
|
|
496
|
+
},
|
|
497
|
+
{
|
|
498
|
+
inputs: [],
|
|
499
|
+
name: "TooMuchRepay",
|
|
500
|
+
type: "error",
|
|
501
|
+
},
|
|
502
|
+
{
|
|
503
|
+
inputs: [],
|
|
504
|
+
name: "TotalBorrowsNotZero",
|
|
505
|
+
type: "error",
|
|
506
|
+
},
|
|
507
|
+
{
|
|
508
|
+
inputs: [],
|
|
509
|
+
name: "TotalSupplyNotZero",
|
|
510
|
+
type: "error",
|
|
511
|
+
},
|
|
512
|
+
{
|
|
513
|
+
inputs: [],
|
|
514
|
+
name: "TransferNotAllowed",
|
|
515
|
+
type: "error",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
inputs: [],
|
|
519
|
+
name: "TransferPaused",
|
|
520
|
+
type: "error",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
inputs: [],
|
|
524
|
+
name: "UnderlyingBalanceError",
|
|
525
|
+
type: "error",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
inputs: [],
|
|
529
|
+
name: "ZeroAddressNotAllowed",
|
|
530
|
+
type: "error",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
anonymous: false,
|
|
534
|
+
inputs: [
|
|
535
|
+
{
|
|
536
|
+
indexed: false,
|
|
537
|
+
internalType: "address",
|
|
538
|
+
name: "cToken",
|
|
539
|
+
type: "address",
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
indexed: false,
|
|
543
|
+
internalType: "address",
|
|
544
|
+
name: "account",
|
|
545
|
+
type: "address",
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
name: "MarketEntered",
|
|
549
|
+
type: "event",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
anonymous: false,
|
|
553
|
+
inputs: [
|
|
554
|
+
{
|
|
555
|
+
indexed: false,
|
|
556
|
+
internalType: "address",
|
|
557
|
+
name: "cToken",
|
|
558
|
+
type: "address",
|
|
559
|
+
},
|
|
560
|
+
{
|
|
561
|
+
indexed: false,
|
|
562
|
+
internalType: "address",
|
|
563
|
+
name: "account",
|
|
564
|
+
type: "address",
|
|
565
|
+
},
|
|
566
|
+
],
|
|
567
|
+
name: "MarketExited",
|
|
568
|
+
type: "event",
|
|
569
|
+
},
|
|
570
|
+
{
|
|
571
|
+
anonymous: false,
|
|
572
|
+
inputs: [
|
|
573
|
+
{
|
|
574
|
+
indexed: false,
|
|
575
|
+
internalType: "address",
|
|
576
|
+
name: "cToken",
|
|
577
|
+
type: "address",
|
|
578
|
+
},
|
|
579
|
+
],
|
|
580
|
+
name: "MarketListed",
|
|
581
|
+
type: "event",
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
anonymous: false,
|
|
585
|
+
inputs: [
|
|
586
|
+
{
|
|
587
|
+
indexed: false,
|
|
588
|
+
internalType: "address",
|
|
589
|
+
name: "cToken",
|
|
590
|
+
type: "address",
|
|
591
|
+
},
|
|
592
|
+
],
|
|
593
|
+
name: "MarketUnlisted",
|
|
594
|
+
type: "event",
|
|
595
|
+
},
|
|
596
|
+
{
|
|
597
|
+
anonymous: false,
|
|
598
|
+
inputs: [
|
|
599
|
+
{
|
|
600
|
+
indexed: true,
|
|
601
|
+
internalType: "address",
|
|
602
|
+
name: "cToken",
|
|
603
|
+
type: "address",
|
|
604
|
+
},
|
|
605
|
+
{
|
|
606
|
+
indexed: false,
|
|
607
|
+
internalType: "uint120",
|
|
608
|
+
name: "borrowCap",
|
|
609
|
+
type: "uint120",
|
|
610
|
+
},
|
|
611
|
+
{
|
|
612
|
+
indexed: false,
|
|
613
|
+
internalType: "uint120",
|
|
614
|
+
name: "supplyCap",
|
|
615
|
+
type: "uint120",
|
|
616
|
+
},
|
|
617
|
+
],
|
|
618
|
+
name: "NewCap",
|
|
619
|
+
type: "event",
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
anonymous: false,
|
|
623
|
+
inputs: [
|
|
624
|
+
{
|
|
625
|
+
indexed: false,
|
|
626
|
+
internalType: "address",
|
|
627
|
+
name: "compLogic",
|
|
628
|
+
type: "address",
|
|
629
|
+
},
|
|
630
|
+
{
|
|
631
|
+
indexed: false,
|
|
632
|
+
internalType: "address",
|
|
633
|
+
name: "redemptionManager",
|
|
634
|
+
type: "address",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
name: "NewDependencies",
|
|
638
|
+
type: "event",
|
|
639
|
+
},
|
|
640
|
+
{
|
|
641
|
+
anonymous: false,
|
|
642
|
+
inputs: [
|
|
643
|
+
{
|
|
644
|
+
indexed: false,
|
|
645
|
+
internalType: "uint16",
|
|
646
|
+
name: "closeFactorPercent",
|
|
647
|
+
type: "uint16",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
indexed: false,
|
|
651
|
+
internalType: "uint32",
|
|
652
|
+
name: "minCloseValue",
|
|
653
|
+
type: "uint32",
|
|
654
|
+
},
|
|
655
|
+
{
|
|
656
|
+
indexed: false,
|
|
657
|
+
internalType: "uint32",
|
|
658
|
+
name: "minSuBorrowValue",
|
|
659
|
+
type: "uint32",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
indexed: false,
|
|
663
|
+
internalType: "uint32",
|
|
664
|
+
name: "minWaitBeforeLiquidatable",
|
|
665
|
+
type: "uint32",
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
indexed: false,
|
|
669
|
+
internalType: "uint8",
|
|
670
|
+
name: "largestGroupId",
|
|
671
|
+
type: "uint8",
|
|
672
|
+
},
|
|
673
|
+
],
|
|
674
|
+
name: "NewGlobalConfig",
|
|
675
|
+
type: "event",
|
|
676
|
+
},
|
|
677
|
+
{
|
|
678
|
+
anonymous: false,
|
|
679
|
+
inputs: [
|
|
680
|
+
{
|
|
681
|
+
indexed: false,
|
|
682
|
+
internalType: "uint16",
|
|
683
|
+
name: "heteroPercent",
|
|
684
|
+
type: "uint16",
|
|
685
|
+
},
|
|
686
|
+
{
|
|
687
|
+
indexed: false,
|
|
688
|
+
internalType: "uint64",
|
|
689
|
+
name: "homoPercent",
|
|
690
|
+
type: "uint64",
|
|
691
|
+
},
|
|
692
|
+
{
|
|
693
|
+
indexed: false,
|
|
694
|
+
internalType: "uint64",
|
|
695
|
+
name: "sutokenPercent",
|
|
696
|
+
type: "uint64",
|
|
697
|
+
},
|
|
698
|
+
],
|
|
699
|
+
name: "NewLiquidationIncentive",
|
|
700
|
+
type: "event",
|
|
701
|
+
},
|
|
702
|
+
{
|
|
703
|
+
anonymous: false,
|
|
704
|
+
inputs: [
|
|
705
|
+
{
|
|
706
|
+
indexed: false,
|
|
707
|
+
internalType: "address",
|
|
708
|
+
name: "ctoken",
|
|
709
|
+
type: "address",
|
|
710
|
+
},
|
|
711
|
+
{
|
|
712
|
+
indexed: false,
|
|
713
|
+
internalType: "bool",
|
|
714
|
+
name: "mintPaused",
|
|
715
|
+
type: "bool",
|
|
716
|
+
},
|
|
717
|
+
{
|
|
718
|
+
indexed: false,
|
|
719
|
+
internalType: "bool",
|
|
720
|
+
name: "borrowPaused",
|
|
721
|
+
type: "bool",
|
|
722
|
+
},
|
|
723
|
+
{
|
|
724
|
+
indexed: false,
|
|
725
|
+
internalType: "bool",
|
|
726
|
+
name: "transferPaused",
|
|
727
|
+
type: "bool",
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
indexed: false,
|
|
731
|
+
internalType: "bool",
|
|
732
|
+
name: "seizePaused",
|
|
733
|
+
type: "bool",
|
|
734
|
+
},
|
|
735
|
+
],
|
|
736
|
+
name: "NewPause",
|
|
737
|
+
type: "event",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
anonymous: false,
|
|
741
|
+
inputs: [
|
|
742
|
+
{
|
|
743
|
+
indexed: false,
|
|
744
|
+
internalType: "address",
|
|
745
|
+
name: "oldPauseGuardian",
|
|
746
|
+
type: "address",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
indexed: false,
|
|
750
|
+
internalType: "address",
|
|
751
|
+
name: "newPauseGuardian",
|
|
752
|
+
type: "address",
|
|
753
|
+
},
|
|
754
|
+
],
|
|
755
|
+
name: "NewPauseGuardian",
|
|
756
|
+
type: "event",
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
anonymous: false,
|
|
760
|
+
inputs: [
|
|
761
|
+
{
|
|
762
|
+
indexed: false,
|
|
763
|
+
internalType: "address",
|
|
764
|
+
name: "priceOracle",
|
|
765
|
+
type: "address",
|
|
766
|
+
},
|
|
767
|
+
],
|
|
768
|
+
name: "NewPriceOracle",
|
|
769
|
+
type: "event",
|
|
770
|
+
},
|
|
771
|
+
{
|
|
772
|
+
anonymous: false,
|
|
773
|
+
inputs: [
|
|
774
|
+
{
|
|
775
|
+
indexed: false,
|
|
776
|
+
internalType: "address",
|
|
777
|
+
name: "timelock",
|
|
778
|
+
type: "address",
|
|
779
|
+
},
|
|
780
|
+
],
|
|
781
|
+
name: "NewTimelock",
|
|
782
|
+
type: "event",
|
|
783
|
+
},
|
|
784
|
+
{
|
|
785
|
+
anonymous: false,
|
|
786
|
+
inputs: [
|
|
787
|
+
{
|
|
788
|
+
indexed: true,
|
|
789
|
+
internalType: "uint8",
|
|
790
|
+
name: "groupId",
|
|
791
|
+
type: "uint8",
|
|
792
|
+
},
|
|
793
|
+
],
|
|
794
|
+
name: "RemoveAssetGroup",
|
|
795
|
+
type: "event",
|
|
796
|
+
},
|
|
797
|
+
{
|
|
798
|
+
anonymous: false,
|
|
799
|
+
inputs: [
|
|
800
|
+
{
|
|
801
|
+
indexed: true,
|
|
802
|
+
internalType: "bytes32",
|
|
803
|
+
name: "role",
|
|
804
|
+
type: "bytes32",
|
|
805
|
+
},
|
|
806
|
+
{
|
|
807
|
+
indexed: true,
|
|
808
|
+
internalType: "bytes32",
|
|
809
|
+
name: "previousAdminRole",
|
|
810
|
+
type: "bytes32",
|
|
811
|
+
},
|
|
812
|
+
{
|
|
813
|
+
indexed: true,
|
|
814
|
+
internalType: "bytes32",
|
|
815
|
+
name: "newAdminRole",
|
|
816
|
+
type: "bytes32",
|
|
817
|
+
},
|
|
818
|
+
],
|
|
819
|
+
name: "RoleAdminChanged",
|
|
820
|
+
type: "event",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
anonymous: false,
|
|
824
|
+
inputs: [
|
|
825
|
+
{
|
|
826
|
+
indexed: true,
|
|
827
|
+
internalType: "bytes32",
|
|
828
|
+
name: "role",
|
|
829
|
+
type: "bytes32",
|
|
830
|
+
},
|
|
831
|
+
{
|
|
832
|
+
indexed: true,
|
|
833
|
+
internalType: "address",
|
|
834
|
+
name: "account",
|
|
835
|
+
type: "address",
|
|
836
|
+
},
|
|
837
|
+
{
|
|
838
|
+
indexed: true,
|
|
839
|
+
internalType: "address",
|
|
840
|
+
name: "sender",
|
|
841
|
+
type: "address",
|
|
842
|
+
},
|
|
843
|
+
],
|
|
844
|
+
name: "RoleGranted",
|
|
845
|
+
type: "event",
|
|
846
|
+
},
|
|
847
|
+
{
|
|
848
|
+
anonymous: false,
|
|
849
|
+
inputs: [
|
|
850
|
+
{
|
|
851
|
+
indexed: true,
|
|
852
|
+
internalType: "bytes32",
|
|
853
|
+
name: "role",
|
|
854
|
+
type: "bytes32",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
indexed: true,
|
|
858
|
+
internalType: "address",
|
|
859
|
+
name: "account",
|
|
860
|
+
type: "address",
|
|
861
|
+
},
|
|
862
|
+
{
|
|
863
|
+
indexed: true,
|
|
864
|
+
internalType: "address",
|
|
865
|
+
name: "sender",
|
|
866
|
+
type: "address",
|
|
867
|
+
},
|
|
868
|
+
],
|
|
869
|
+
name: "RoleRevoked",
|
|
870
|
+
type: "event",
|
|
871
|
+
},
|
|
872
|
+
{
|
|
873
|
+
anonymous: false,
|
|
874
|
+
inputs: [
|
|
875
|
+
{
|
|
876
|
+
indexed: true,
|
|
877
|
+
internalType: "uint8",
|
|
878
|
+
name: "groupId",
|
|
879
|
+
type: "uint8",
|
|
880
|
+
},
|
|
881
|
+
{
|
|
882
|
+
indexed: false,
|
|
883
|
+
internalType: "uint16",
|
|
884
|
+
name: "intraCRatePercent",
|
|
885
|
+
type: "uint16",
|
|
886
|
+
},
|
|
887
|
+
{
|
|
888
|
+
indexed: false,
|
|
889
|
+
internalType: "uint16",
|
|
890
|
+
name: "intraMintRatePercent",
|
|
891
|
+
type: "uint16",
|
|
892
|
+
},
|
|
893
|
+
{
|
|
894
|
+
indexed: false,
|
|
895
|
+
internalType: "uint16",
|
|
896
|
+
name: "intraSuRatePercent",
|
|
897
|
+
type: "uint16",
|
|
898
|
+
},
|
|
899
|
+
{
|
|
900
|
+
indexed: false,
|
|
901
|
+
internalType: "uint16",
|
|
902
|
+
name: "interCRatePercent",
|
|
903
|
+
type: "uint16",
|
|
904
|
+
},
|
|
905
|
+
{
|
|
906
|
+
indexed: false,
|
|
907
|
+
internalType: "uint16",
|
|
908
|
+
name: "interSuRatePercent",
|
|
909
|
+
type: "uint16",
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
indexed: false,
|
|
913
|
+
internalType: "bool",
|
|
914
|
+
name: "isNewGroup",
|
|
915
|
+
type: "bool",
|
|
916
|
+
},
|
|
917
|
+
],
|
|
918
|
+
name: "UpdateAssetGroup",
|
|
919
|
+
type: "event",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
inputs: [],
|
|
923
|
+
name: "DEFAULT_ADMIN_ROLE",
|
|
924
|
+
outputs: [
|
|
925
|
+
{
|
|
926
|
+
internalType: "bytes32",
|
|
927
|
+
name: "",
|
|
928
|
+
type: "bytes32",
|
|
929
|
+
},
|
|
930
|
+
],
|
|
931
|
+
stateMutability: "view",
|
|
932
|
+
type: "function",
|
|
933
|
+
},
|
|
934
|
+
{
|
|
935
|
+
inputs: [],
|
|
936
|
+
name: "PAUSER_ROLE",
|
|
937
|
+
outputs: [
|
|
938
|
+
{
|
|
939
|
+
internalType: "bytes32",
|
|
940
|
+
name: "",
|
|
941
|
+
type: "bytes32",
|
|
942
|
+
},
|
|
943
|
+
],
|
|
944
|
+
stateMutability: "view",
|
|
945
|
+
type: "function",
|
|
946
|
+
},
|
|
947
|
+
{
|
|
948
|
+
inputs: [
|
|
949
|
+
{
|
|
950
|
+
internalType: "address",
|
|
951
|
+
name: "cToken",
|
|
952
|
+
type: "address",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
internalType: "uint8",
|
|
956
|
+
name: "newGroupId",
|
|
957
|
+
type: "uint8",
|
|
958
|
+
},
|
|
959
|
+
],
|
|
960
|
+
name: "_changeGroupIdForAsset",
|
|
961
|
+
outputs: [],
|
|
962
|
+
stateMutability: "nonpayable",
|
|
963
|
+
type: "function",
|
|
964
|
+
},
|
|
965
|
+
{
|
|
966
|
+
inputs: [
|
|
967
|
+
{
|
|
968
|
+
internalType: "address",
|
|
969
|
+
name: "cToken",
|
|
970
|
+
type: "address",
|
|
971
|
+
},
|
|
972
|
+
{
|
|
973
|
+
internalType: "bool",
|
|
974
|
+
name: "mintPaused",
|
|
975
|
+
type: "bool",
|
|
976
|
+
},
|
|
977
|
+
{
|
|
978
|
+
internalType: "bool",
|
|
979
|
+
name: "borrowPaused",
|
|
980
|
+
type: "bool",
|
|
981
|
+
},
|
|
982
|
+
{
|
|
983
|
+
internalType: "bool",
|
|
984
|
+
name: "transferPaused",
|
|
985
|
+
type: "bool",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
internalType: "bool",
|
|
989
|
+
name: "seizePaused",
|
|
990
|
+
type: "bool",
|
|
991
|
+
},
|
|
992
|
+
],
|
|
993
|
+
name: "_pause",
|
|
994
|
+
outputs: [],
|
|
995
|
+
stateMutability: "nonpayable",
|
|
996
|
+
type: "function",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
inputs: [
|
|
1000
|
+
{
|
|
1001
|
+
internalType: "address[]",
|
|
1002
|
+
name: "cTokens",
|
|
1003
|
+
type: "address[]",
|
|
1004
|
+
},
|
|
1005
|
+
{
|
|
1006
|
+
internalType: "uint120[]",
|
|
1007
|
+
name: "borrowCaps",
|
|
1008
|
+
type: "uint120[]",
|
|
1009
|
+
},
|
|
1010
|
+
{
|
|
1011
|
+
internalType: "uint120[]",
|
|
1012
|
+
name: "supplyCaps",
|
|
1013
|
+
type: "uint120[]",
|
|
1014
|
+
},
|
|
1015
|
+
],
|
|
1016
|
+
name: "_setCaps",
|
|
1017
|
+
outputs: [],
|
|
1018
|
+
stateMutability: "nonpayable",
|
|
1019
|
+
type: "function",
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
inputs: [
|
|
1023
|
+
{
|
|
1024
|
+
components: [
|
|
1025
|
+
{
|
|
1026
|
+
internalType: "uint16",
|
|
1027
|
+
name: "closeFactorPercent",
|
|
1028
|
+
type: "uint16",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
internalType: "uint32",
|
|
1032
|
+
name: "minCloseValue",
|
|
1033
|
+
type: "uint32",
|
|
1034
|
+
},
|
|
1035
|
+
{
|
|
1036
|
+
internalType: "uint32",
|
|
1037
|
+
name: "minSuBorrowValue",
|
|
1038
|
+
type: "uint32",
|
|
1039
|
+
},
|
|
1040
|
+
{
|
|
1041
|
+
internalType: "uint32",
|
|
1042
|
+
name: "minWaitBeforeLiquidatable",
|
|
1043
|
+
type: "uint32",
|
|
1044
|
+
},
|
|
1045
|
+
{
|
|
1046
|
+
internalType: "uint8",
|
|
1047
|
+
name: "largestGroupId",
|
|
1048
|
+
type: "uint8",
|
|
1049
|
+
},
|
|
1050
|
+
],
|
|
1051
|
+
internalType: "struct GlobalConfig",
|
|
1052
|
+
name: "globalConfig_",
|
|
1053
|
+
type: "tuple",
|
|
1054
|
+
},
|
|
1055
|
+
],
|
|
1056
|
+
name: "_setGlobalConfig",
|
|
1057
|
+
outputs: [],
|
|
1058
|
+
stateMutability: "nonpayable",
|
|
1059
|
+
type: "function",
|
|
1060
|
+
},
|
|
1061
|
+
{
|
|
1062
|
+
inputs: [
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "address",
|
|
1065
|
+
name: "_governanceToken",
|
|
1066
|
+
type: "address",
|
|
1067
|
+
},
|
|
1068
|
+
],
|
|
1069
|
+
name: "_setGovTokenAddress",
|
|
1070
|
+
outputs: [],
|
|
1071
|
+
stateMutability: "nonpayable",
|
|
1072
|
+
type: "function",
|
|
1073
|
+
},
|
|
1074
|
+
{
|
|
1075
|
+
inputs: [
|
|
1076
|
+
{
|
|
1077
|
+
internalType: "bool",
|
|
1078
|
+
name: "allowed",
|
|
1079
|
+
type: "bool",
|
|
1080
|
+
},
|
|
1081
|
+
],
|
|
1082
|
+
name: "_setInterMintAllowed",
|
|
1083
|
+
outputs: [],
|
|
1084
|
+
stateMutability: "nonpayable",
|
|
1085
|
+
type: "function",
|
|
1086
|
+
},
|
|
1087
|
+
{
|
|
1088
|
+
inputs: [
|
|
1089
|
+
{
|
|
1090
|
+
internalType: "uint8",
|
|
1091
|
+
name: "largestGroupId",
|
|
1092
|
+
type: "uint8",
|
|
1093
|
+
},
|
|
1094
|
+
],
|
|
1095
|
+
name: "_setLargestGroupId",
|
|
1096
|
+
outputs: [],
|
|
1097
|
+
stateMutability: "nonpayable",
|
|
1098
|
+
type: "function",
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
inputs: [
|
|
1102
|
+
{
|
|
1103
|
+
components: [
|
|
1104
|
+
{
|
|
1105
|
+
internalType: "uint16",
|
|
1106
|
+
name: "heteroPercent",
|
|
1107
|
+
type: "uint16",
|
|
1108
|
+
},
|
|
1109
|
+
{
|
|
1110
|
+
internalType: "uint16",
|
|
1111
|
+
name: "homoPercent",
|
|
1112
|
+
type: "uint16",
|
|
1113
|
+
},
|
|
1114
|
+
{
|
|
1115
|
+
internalType: "uint16",
|
|
1116
|
+
name: "sutokenPercent",
|
|
1117
|
+
type: "uint16",
|
|
1118
|
+
},
|
|
1119
|
+
],
|
|
1120
|
+
internalType: "struct LiquidationIncentive",
|
|
1121
|
+
name: "liquidationIncentive_",
|
|
1122
|
+
type: "tuple",
|
|
1123
|
+
},
|
|
1124
|
+
],
|
|
1125
|
+
name: "_setLiquidationIncentive",
|
|
1126
|
+
outputs: [],
|
|
1127
|
+
stateMutability: "nonpayable",
|
|
1128
|
+
type: "function",
|
|
1129
|
+
},
|
|
1130
|
+
{
|
|
1131
|
+
inputs: [
|
|
1132
|
+
{
|
|
1133
|
+
internalType: "address",
|
|
1134
|
+
name: "newPauseGuardian",
|
|
1135
|
+
type: "address",
|
|
1136
|
+
},
|
|
1137
|
+
],
|
|
1138
|
+
name: "_setPauseGuardian",
|
|
1139
|
+
outputs: [],
|
|
1140
|
+
stateMutability: "nonpayable",
|
|
1141
|
+
type: "function",
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
inputs: [
|
|
1145
|
+
{
|
|
1146
|
+
internalType: "address",
|
|
1147
|
+
name: "_oracle",
|
|
1148
|
+
type: "address",
|
|
1149
|
+
},
|
|
1150
|
+
],
|
|
1151
|
+
name: "_setPriceOracle",
|
|
1152
|
+
outputs: [],
|
|
1153
|
+
stateMutability: "nonpayable",
|
|
1154
|
+
type: "function",
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
inputs: [
|
|
1158
|
+
{
|
|
1159
|
+
internalType: "address",
|
|
1160
|
+
name: "_timelock",
|
|
1161
|
+
type: "address",
|
|
1162
|
+
},
|
|
1163
|
+
],
|
|
1164
|
+
name: "_setTimelock",
|
|
1165
|
+
outputs: [],
|
|
1166
|
+
stateMutability: "nonpayable",
|
|
1167
|
+
type: "function",
|
|
1168
|
+
},
|
|
1169
|
+
{
|
|
1170
|
+
inputs: [
|
|
1171
|
+
{
|
|
1172
|
+
internalType: "address",
|
|
1173
|
+
name: "cToken",
|
|
1174
|
+
type: "address",
|
|
1175
|
+
},
|
|
1176
|
+
{
|
|
1177
|
+
internalType: "uint8",
|
|
1178
|
+
name: "groupId",
|
|
1179
|
+
type: "uint8",
|
|
1180
|
+
},
|
|
1181
|
+
{
|
|
1182
|
+
internalType: "uint120",
|
|
1183
|
+
name: "borrowCap",
|
|
1184
|
+
type: "uint120",
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
internalType: "uint120",
|
|
1188
|
+
name: "supplyCap",
|
|
1189
|
+
type: "uint120",
|
|
1190
|
+
},
|
|
1191
|
+
],
|
|
1192
|
+
name: "_supportMarket",
|
|
1193
|
+
outputs: [],
|
|
1194
|
+
stateMutability: "nonpayable",
|
|
1195
|
+
type: "function",
|
|
1196
|
+
},
|
|
1197
|
+
{
|
|
1198
|
+
inputs: [
|
|
1199
|
+
{
|
|
1200
|
+
internalType: "address",
|
|
1201
|
+
name: "cToken",
|
|
1202
|
+
type: "address",
|
|
1203
|
+
},
|
|
1204
|
+
],
|
|
1205
|
+
name: "_unlistMarket",
|
|
1206
|
+
outputs: [],
|
|
1207
|
+
stateMutability: "nonpayable",
|
|
1208
|
+
type: "function",
|
|
1209
|
+
},
|
|
1210
|
+
{
|
|
1211
|
+
inputs: [
|
|
1212
|
+
{
|
|
1213
|
+
internalType: "address",
|
|
1214
|
+
name: "",
|
|
1215
|
+
type: "address",
|
|
1216
|
+
},
|
|
1217
|
+
{
|
|
1218
|
+
internalType: "uint256",
|
|
1219
|
+
name: "",
|
|
1220
|
+
type: "uint256",
|
|
1221
|
+
},
|
|
1222
|
+
],
|
|
1223
|
+
name: "accountAssets",
|
|
1224
|
+
outputs: [
|
|
1225
|
+
{
|
|
1226
|
+
internalType: "address",
|
|
1227
|
+
name: "",
|
|
1228
|
+
type: "address",
|
|
1229
|
+
},
|
|
1230
|
+
],
|
|
1231
|
+
stateMutability: "view",
|
|
1232
|
+
type: "function",
|
|
1233
|
+
},
|
|
1234
|
+
{
|
|
1235
|
+
inputs: [
|
|
1236
|
+
{
|
|
1237
|
+
internalType: "uint256",
|
|
1238
|
+
name: "",
|
|
1239
|
+
type: "uint256",
|
|
1240
|
+
},
|
|
1241
|
+
],
|
|
1242
|
+
name: "allMarkets",
|
|
1243
|
+
outputs: [
|
|
1244
|
+
{
|
|
1245
|
+
internalType: "address",
|
|
1246
|
+
name: "",
|
|
1247
|
+
type: "address",
|
|
1248
|
+
},
|
|
1249
|
+
],
|
|
1250
|
+
stateMutability: "view",
|
|
1251
|
+
type: "function",
|
|
1252
|
+
},
|
|
1253
|
+
{
|
|
1254
|
+
inputs: [
|
|
1255
|
+
{
|
|
1256
|
+
internalType: "uint8",
|
|
1257
|
+
name: "",
|
|
1258
|
+
type: "uint8",
|
|
1259
|
+
},
|
|
1260
|
+
],
|
|
1261
|
+
name: "assetGroup",
|
|
1262
|
+
outputs: [
|
|
1263
|
+
{
|
|
1264
|
+
internalType: "uint8",
|
|
1265
|
+
name: "groupId",
|
|
1266
|
+
type: "uint8",
|
|
1267
|
+
},
|
|
1268
|
+
{
|
|
1269
|
+
internalType: "uint16",
|
|
1270
|
+
name: "intraCRatePercent",
|
|
1271
|
+
type: "uint16",
|
|
1272
|
+
},
|
|
1273
|
+
{
|
|
1274
|
+
internalType: "uint16",
|
|
1275
|
+
name: "intraMintRatePercent",
|
|
1276
|
+
type: "uint16",
|
|
1277
|
+
},
|
|
1278
|
+
{
|
|
1279
|
+
internalType: "uint16",
|
|
1280
|
+
name: "intraSuRatePercent",
|
|
1281
|
+
type: "uint16",
|
|
1282
|
+
},
|
|
1283
|
+
{
|
|
1284
|
+
internalType: "uint16",
|
|
1285
|
+
name: "interCRatePercent",
|
|
1286
|
+
type: "uint16",
|
|
1287
|
+
},
|
|
1288
|
+
{
|
|
1289
|
+
internalType: "uint16",
|
|
1290
|
+
name: "interSuRatePercent",
|
|
1291
|
+
type: "uint16",
|
|
1292
|
+
},
|
|
1293
|
+
],
|
|
1294
|
+
stateMutability: "view",
|
|
1295
|
+
type: "function",
|
|
1296
|
+
},
|
|
1297
|
+
{
|
|
1298
|
+
inputs: [
|
|
1299
|
+
{
|
|
1300
|
+
internalType: "address",
|
|
1301
|
+
name: "cToken",
|
|
1302
|
+
type: "address",
|
|
1303
|
+
},
|
|
1304
|
+
{
|
|
1305
|
+
internalType: "address",
|
|
1306
|
+
name: "borrower",
|
|
1307
|
+
type: "address",
|
|
1308
|
+
},
|
|
1309
|
+
{
|
|
1310
|
+
internalType: "uint256",
|
|
1311
|
+
name: "borrowAmount",
|
|
1312
|
+
type: "uint256",
|
|
1313
|
+
},
|
|
1314
|
+
],
|
|
1315
|
+
name: "borrowAllowed",
|
|
1316
|
+
outputs: [],
|
|
1317
|
+
stateMutability: "nonpayable",
|
|
1318
|
+
type: "function",
|
|
1319
|
+
},
|
|
1320
|
+
{
|
|
1321
|
+
inputs: [
|
|
1322
|
+
{
|
|
1323
|
+
internalType: "address",
|
|
1324
|
+
name: "borrower",
|
|
1325
|
+
type: "address",
|
|
1326
|
+
},
|
|
1327
|
+
{
|
|
1328
|
+
internalType: "uint256",
|
|
1329
|
+
name: "borrowAmount",
|
|
1330
|
+
type: "uint256",
|
|
1331
|
+
},
|
|
1332
|
+
],
|
|
1333
|
+
name: "borrowVerify",
|
|
1334
|
+
outputs: [],
|
|
1335
|
+
stateMutability: "nonpayable",
|
|
1336
|
+
type: "function",
|
|
1337
|
+
},
|
|
1338
|
+
{
|
|
1339
|
+
inputs: [],
|
|
1340
|
+
name: "compLogic",
|
|
1341
|
+
outputs: [
|
|
1342
|
+
{
|
|
1343
|
+
internalType: "contract ICompLogic",
|
|
1344
|
+
name: "",
|
|
1345
|
+
type: "address",
|
|
1346
|
+
},
|
|
1347
|
+
],
|
|
1348
|
+
stateMutability: "view",
|
|
1349
|
+
type: "function",
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
inputs: [
|
|
1353
|
+
{
|
|
1354
|
+
internalType: "address",
|
|
1355
|
+
name: "owner",
|
|
1356
|
+
type: "address",
|
|
1357
|
+
},
|
|
1358
|
+
{
|
|
1359
|
+
internalType: "address[]",
|
|
1360
|
+
name: "cTokens",
|
|
1361
|
+
type: "address[]",
|
|
1362
|
+
},
|
|
1363
|
+
],
|
|
1364
|
+
name: "enterMarketsFor",
|
|
1365
|
+
outputs: [],
|
|
1366
|
+
stateMutability: "nonpayable",
|
|
1367
|
+
type: "function",
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
inputs: [
|
|
1371
|
+
{
|
|
1372
|
+
internalType: "address",
|
|
1373
|
+
name: "owner",
|
|
1374
|
+
type: "address",
|
|
1375
|
+
},
|
|
1376
|
+
{
|
|
1377
|
+
internalType: "address",
|
|
1378
|
+
name: "cTokenAddress",
|
|
1379
|
+
type: "address",
|
|
1380
|
+
},
|
|
1381
|
+
],
|
|
1382
|
+
name: "exitMarketFor",
|
|
1383
|
+
outputs: [],
|
|
1384
|
+
stateMutability: "nonpayable",
|
|
1385
|
+
type: "function",
|
|
1386
|
+
},
|
|
1387
|
+
{
|
|
1388
|
+
inputs: [],
|
|
1389
|
+
name: "getAllMarkets",
|
|
1390
|
+
outputs: [
|
|
1391
|
+
{
|
|
1392
|
+
internalType: "address[]",
|
|
1393
|
+
name: "",
|
|
1394
|
+
type: "address[]",
|
|
1395
|
+
},
|
|
1396
|
+
],
|
|
1397
|
+
stateMutability: "view",
|
|
1398
|
+
type: "function",
|
|
1399
|
+
},
|
|
1400
|
+
{
|
|
1401
|
+
inputs: [
|
|
1402
|
+
{
|
|
1403
|
+
internalType: "address",
|
|
1404
|
+
name: "account",
|
|
1405
|
+
type: "address",
|
|
1406
|
+
},
|
|
1407
|
+
],
|
|
1408
|
+
name: "getAssetsIn",
|
|
1409
|
+
outputs: [
|
|
1410
|
+
{
|
|
1411
|
+
internalType: "address[]",
|
|
1412
|
+
name: "",
|
|
1413
|
+
type: "address[]",
|
|
1414
|
+
},
|
|
1415
|
+
],
|
|
1416
|
+
stateMutability: "view",
|
|
1417
|
+
type: "function",
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
inputs: [
|
|
1421
|
+
{
|
|
1422
|
+
internalType: "address",
|
|
1423
|
+
name: "account",
|
|
1424
|
+
type: "address",
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
internalType: "address",
|
|
1428
|
+
name: "cTokenModify",
|
|
1429
|
+
type: "address",
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
internalType: "uint256",
|
|
1433
|
+
name: "redeemTokens",
|
|
1434
|
+
type: "uint256",
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
internalType: "uint256",
|
|
1438
|
+
name: "borrowAmount",
|
|
1439
|
+
type: "uint256",
|
|
1440
|
+
},
|
|
1441
|
+
],
|
|
1442
|
+
name: "getHypoStep1",
|
|
1443
|
+
outputs: [
|
|
1444
|
+
{
|
|
1445
|
+
components: [
|
|
1446
|
+
{
|
|
1447
|
+
internalType: "uint8",
|
|
1448
|
+
name: "groupId",
|
|
1449
|
+
type: "uint8",
|
|
1450
|
+
},
|
|
1451
|
+
{
|
|
1452
|
+
internalType: "uint256",
|
|
1453
|
+
name: "cDepositVal",
|
|
1454
|
+
type: "uint256",
|
|
1455
|
+
},
|
|
1456
|
+
{
|
|
1457
|
+
internalType: "uint256",
|
|
1458
|
+
name: "cBorrowVal",
|
|
1459
|
+
type: "uint256",
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
internalType: "uint256",
|
|
1463
|
+
name: "suDepositVal",
|
|
1464
|
+
type: "uint256",
|
|
1465
|
+
},
|
|
1466
|
+
{
|
|
1467
|
+
internalType: "uint256",
|
|
1468
|
+
name: "suBorrowVal",
|
|
1469
|
+
type: "uint256",
|
|
1470
|
+
},
|
|
1471
|
+
{
|
|
1472
|
+
internalType: "uint256",
|
|
1473
|
+
name: "intraCRate",
|
|
1474
|
+
type: "uint256",
|
|
1475
|
+
},
|
|
1476
|
+
{
|
|
1477
|
+
internalType: "uint256",
|
|
1478
|
+
name: "intraMintRate",
|
|
1479
|
+
type: "uint256",
|
|
1480
|
+
},
|
|
1481
|
+
{
|
|
1482
|
+
internalType: "uint256",
|
|
1483
|
+
name: "intraSuRate",
|
|
1484
|
+
type: "uint256",
|
|
1485
|
+
},
|
|
1486
|
+
{
|
|
1487
|
+
internalType: "uint256",
|
|
1488
|
+
name: "interCRate",
|
|
1489
|
+
type: "uint256",
|
|
1490
|
+
},
|
|
1491
|
+
{
|
|
1492
|
+
internalType: "uint256",
|
|
1493
|
+
name: "interSuRate",
|
|
1494
|
+
type: "uint256",
|
|
1495
|
+
},
|
|
1496
|
+
],
|
|
1497
|
+
internalType: "struct GroupVar[]",
|
|
1498
|
+
name: "",
|
|
1499
|
+
type: "tuple[]",
|
|
1500
|
+
},
|
|
1501
|
+
],
|
|
1502
|
+
stateMutability: "view",
|
|
1503
|
+
type: "function",
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
inputs: [
|
|
1507
|
+
{
|
|
1508
|
+
internalType: "address",
|
|
1509
|
+
name: "account",
|
|
1510
|
+
type: "address",
|
|
1511
|
+
},
|
|
1512
|
+
{
|
|
1513
|
+
internalType: "address",
|
|
1514
|
+
name: "cTokenModify",
|
|
1515
|
+
type: "address",
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
internalType: "uint256",
|
|
1519
|
+
name: "redeemTokens",
|
|
1520
|
+
type: "uint256",
|
|
1521
|
+
},
|
|
1522
|
+
{
|
|
1523
|
+
internalType: "uint256",
|
|
1524
|
+
name: "borrowAmount",
|
|
1525
|
+
type: "uint256",
|
|
1526
|
+
},
|
|
1527
|
+
],
|
|
1528
|
+
name: "getHypoStep2",
|
|
1529
|
+
outputs: [
|
|
1530
|
+
{
|
|
1531
|
+
internalType: "uint256",
|
|
1532
|
+
name: "",
|
|
1533
|
+
type: "uint256",
|
|
1534
|
+
},
|
|
1535
|
+
{
|
|
1536
|
+
internalType: "uint256",
|
|
1537
|
+
name: "",
|
|
1538
|
+
type: "uint256",
|
|
1539
|
+
},
|
|
1540
|
+
{
|
|
1541
|
+
internalType: "uint256",
|
|
1542
|
+
name: "",
|
|
1543
|
+
type: "uint256",
|
|
1544
|
+
},
|
|
1545
|
+
{
|
|
1546
|
+
internalType: "uint256",
|
|
1547
|
+
name: "",
|
|
1548
|
+
type: "uint256",
|
|
1549
|
+
},
|
|
1550
|
+
{
|
|
1551
|
+
components: [
|
|
1552
|
+
{
|
|
1553
|
+
internalType: "uint8",
|
|
1554
|
+
name: "groupId",
|
|
1555
|
+
type: "uint8",
|
|
1556
|
+
},
|
|
1557
|
+
{
|
|
1558
|
+
internalType: "uint256",
|
|
1559
|
+
name: "cDepositVal",
|
|
1560
|
+
type: "uint256",
|
|
1561
|
+
},
|
|
1562
|
+
{
|
|
1563
|
+
internalType: "uint256",
|
|
1564
|
+
name: "cBorrowVal",
|
|
1565
|
+
type: "uint256",
|
|
1566
|
+
},
|
|
1567
|
+
{
|
|
1568
|
+
internalType: "uint256",
|
|
1569
|
+
name: "suDepositVal",
|
|
1570
|
+
type: "uint256",
|
|
1571
|
+
},
|
|
1572
|
+
{
|
|
1573
|
+
internalType: "uint256",
|
|
1574
|
+
name: "suBorrowVal",
|
|
1575
|
+
type: "uint256",
|
|
1576
|
+
},
|
|
1577
|
+
{
|
|
1578
|
+
internalType: "uint256",
|
|
1579
|
+
name: "intraCRate",
|
|
1580
|
+
type: "uint256",
|
|
1581
|
+
},
|
|
1582
|
+
{
|
|
1583
|
+
internalType: "uint256",
|
|
1584
|
+
name: "intraMintRate",
|
|
1585
|
+
type: "uint256",
|
|
1586
|
+
},
|
|
1587
|
+
{
|
|
1588
|
+
internalType: "uint256",
|
|
1589
|
+
name: "intraSuRate",
|
|
1590
|
+
type: "uint256",
|
|
1591
|
+
},
|
|
1592
|
+
{
|
|
1593
|
+
internalType: "uint256",
|
|
1594
|
+
name: "interCRate",
|
|
1595
|
+
type: "uint256",
|
|
1596
|
+
},
|
|
1597
|
+
{
|
|
1598
|
+
internalType: "uint256",
|
|
1599
|
+
name: "interSuRate",
|
|
1600
|
+
type: "uint256",
|
|
1601
|
+
},
|
|
1602
|
+
],
|
|
1603
|
+
internalType: "struct GroupVar",
|
|
1604
|
+
name: "",
|
|
1605
|
+
type: "tuple",
|
|
1606
|
+
},
|
|
1607
|
+
],
|
|
1608
|
+
stateMutability: "view",
|
|
1609
|
+
type: "function",
|
|
1610
|
+
},
|
|
1611
|
+
{
|
|
1612
|
+
inputs: [
|
|
1613
|
+
{
|
|
1614
|
+
internalType: "address",
|
|
1615
|
+
name: "account",
|
|
1616
|
+
type: "address",
|
|
1617
|
+
},
|
|
1618
|
+
{
|
|
1619
|
+
internalType: "address",
|
|
1620
|
+
name: "cTokenModify",
|
|
1621
|
+
type: "address",
|
|
1622
|
+
},
|
|
1623
|
+
{
|
|
1624
|
+
internalType: "uint256",
|
|
1625
|
+
name: "redeemTokens",
|
|
1626
|
+
type: "uint256",
|
|
1627
|
+
},
|
|
1628
|
+
{
|
|
1629
|
+
internalType: "uint256",
|
|
1630
|
+
name: "borrowAmount",
|
|
1631
|
+
type: "uint256",
|
|
1632
|
+
},
|
|
1633
|
+
],
|
|
1634
|
+
name: "getHypotheticalAccountLiquidity",
|
|
1635
|
+
outputs: [
|
|
1636
|
+
{
|
|
1637
|
+
internalType: "uint256",
|
|
1638
|
+
name: "",
|
|
1639
|
+
type: "uint256",
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
internalType: "uint256",
|
|
1643
|
+
name: "",
|
|
1644
|
+
type: "uint256",
|
|
1645
|
+
},
|
|
1646
|
+
],
|
|
1647
|
+
stateMutability: "view",
|
|
1648
|
+
type: "function",
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
inputs: [
|
|
1652
|
+
{
|
|
1653
|
+
internalType: "bytes32",
|
|
1654
|
+
name: "role",
|
|
1655
|
+
type: "bytes32",
|
|
1656
|
+
},
|
|
1657
|
+
],
|
|
1658
|
+
name: "getRoleAdmin",
|
|
1659
|
+
outputs: [
|
|
1660
|
+
{
|
|
1661
|
+
internalType: "bytes32",
|
|
1662
|
+
name: "",
|
|
1663
|
+
type: "bytes32",
|
|
1664
|
+
},
|
|
1665
|
+
],
|
|
1666
|
+
stateMutability: "view",
|
|
1667
|
+
type: "function",
|
|
1668
|
+
},
|
|
1669
|
+
{
|
|
1670
|
+
inputs: [
|
|
1671
|
+
{
|
|
1672
|
+
internalType: "address",
|
|
1673
|
+
name: "cToken",
|
|
1674
|
+
type: "address",
|
|
1675
|
+
},
|
|
1676
|
+
],
|
|
1677
|
+
name: "getUnderlyingPriceNormalized",
|
|
1678
|
+
outputs: [
|
|
1679
|
+
{
|
|
1680
|
+
internalType: "uint256",
|
|
1681
|
+
name: "",
|
|
1682
|
+
type: "uint256",
|
|
1683
|
+
},
|
|
1684
|
+
],
|
|
1685
|
+
stateMutability: "view",
|
|
1686
|
+
type: "function",
|
|
1687
|
+
},
|
|
1688
|
+
{
|
|
1689
|
+
inputs: [],
|
|
1690
|
+
name: "globalConfig",
|
|
1691
|
+
outputs: [
|
|
1692
|
+
{
|
|
1693
|
+
internalType: "uint16",
|
|
1694
|
+
name: "closeFactorPercent",
|
|
1695
|
+
type: "uint16",
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
internalType: "uint32",
|
|
1699
|
+
name: "minCloseValue",
|
|
1700
|
+
type: "uint32",
|
|
1701
|
+
},
|
|
1702
|
+
{
|
|
1703
|
+
internalType: "uint32",
|
|
1704
|
+
name: "minSuBorrowValue",
|
|
1705
|
+
type: "uint32",
|
|
1706
|
+
},
|
|
1707
|
+
{
|
|
1708
|
+
internalType: "uint32",
|
|
1709
|
+
name: "minWaitBeforeLiquidatable",
|
|
1710
|
+
type: "uint32",
|
|
1711
|
+
},
|
|
1712
|
+
{
|
|
1713
|
+
internalType: "uint8",
|
|
1714
|
+
name: "largestGroupId",
|
|
1715
|
+
type: "uint8",
|
|
1716
|
+
},
|
|
1717
|
+
],
|
|
1718
|
+
stateMutability: "view",
|
|
1719
|
+
type: "function",
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
inputs: [],
|
|
1723
|
+
name: "governanceToken",
|
|
1724
|
+
outputs: [
|
|
1725
|
+
{
|
|
1726
|
+
internalType: "address",
|
|
1727
|
+
name: "",
|
|
1728
|
+
type: "address",
|
|
1729
|
+
},
|
|
1730
|
+
],
|
|
1731
|
+
stateMutability: "view",
|
|
1732
|
+
type: "function",
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
inputs: [
|
|
1736
|
+
{
|
|
1737
|
+
internalType: "bytes32",
|
|
1738
|
+
name: "role",
|
|
1739
|
+
type: "bytes32",
|
|
1740
|
+
},
|
|
1741
|
+
{
|
|
1742
|
+
internalType: "address",
|
|
1743
|
+
name: "account",
|
|
1744
|
+
type: "address",
|
|
1745
|
+
},
|
|
1746
|
+
],
|
|
1747
|
+
name: "grantRole",
|
|
1748
|
+
outputs: [],
|
|
1749
|
+
stateMutability: "nonpayable",
|
|
1750
|
+
type: "function",
|
|
1751
|
+
},
|
|
1752
|
+
{
|
|
1753
|
+
inputs: [
|
|
1754
|
+
{
|
|
1755
|
+
internalType: "bytes32",
|
|
1756
|
+
name: "role",
|
|
1757
|
+
type: "bytes32",
|
|
1758
|
+
},
|
|
1759
|
+
{
|
|
1760
|
+
internalType: "address",
|
|
1761
|
+
name: "account",
|
|
1762
|
+
type: "address",
|
|
1763
|
+
},
|
|
1764
|
+
],
|
|
1765
|
+
name: "hasRole",
|
|
1766
|
+
outputs: [
|
|
1767
|
+
{
|
|
1768
|
+
internalType: "bool",
|
|
1769
|
+
name: "",
|
|
1770
|
+
type: "bool",
|
|
1771
|
+
},
|
|
1772
|
+
],
|
|
1773
|
+
stateMutability: "view",
|
|
1774
|
+
type: "function",
|
|
1775
|
+
},
|
|
1776
|
+
{
|
|
1777
|
+
inputs: [],
|
|
1778
|
+
name: "interMintAllowed",
|
|
1779
|
+
outputs: [
|
|
1780
|
+
{
|
|
1781
|
+
internalType: "bool",
|
|
1782
|
+
name: "",
|
|
1783
|
+
type: "bool",
|
|
1784
|
+
},
|
|
1785
|
+
],
|
|
1786
|
+
stateMutability: "view",
|
|
1787
|
+
type: "function",
|
|
1788
|
+
},
|
|
1789
|
+
{
|
|
1790
|
+
inputs: [],
|
|
1791
|
+
name: "isComptroller",
|
|
1792
|
+
outputs: [
|
|
1793
|
+
{
|
|
1794
|
+
internalType: "bool",
|
|
1795
|
+
name: "",
|
|
1796
|
+
type: "bool",
|
|
1797
|
+
},
|
|
1798
|
+
],
|
|
1799
|
+
stateMutability: "view",
|
|
1800
|
+
type: "function",
|
|
1801
|
+
},
|
|
1802
|
+
{
|
|
1803
|
+
inputs: [
|
|
1804
|
+
{
|
|
1805
|
+
internalType: "address",
|
|
1806
|
+
name: "asset",
|
|
1807
|
+
type: "address",
|
|
1808
|
+
},
|
|
1809
|
+
],
|
|
1810
|
+
name: "isListed",
|
|
1811
|
+
outputs: [
|
|
1812
|
+
{
|
|
1813
|
+
internalType: "bool",
|
|
1814
|
+
name: "",
|
|
1815
|
+
type: "bool",
|
|
1816
|
+
},
|
|
1817
|
+
],
|
|
1818
|
+
stateMutability: "view",
|
|
1819
|
+
type: "function",
|
|
1820
|
+
},
|
|
1821
|
+
{
|
|
1822
|
+
inputs: [
|
|
1823
|
+
{
|
|
1824
|
+
internalType: "address",
|
|
1825
|
+
name: "",
|
|
1826
|
+
type: "address",
|
|
1827
|
+
},
|
|
1828
|
+
],
|
|
1829
|
+
name: "lastBorrowedAt",
|
|
1830
|
+
outputs: [
|
|
1831
|
+
{
|
|
1832
|
+
internalType: "uint48",
|
|
1833
|
+
name: "",
|
|
1834
|
+
type: "uint48",
|
|
1835
|
+
},
|
|
1836
|
+
],
|
|
1837
|
+
stateMutability: "view",
|
|
1838
|
+
type: "function",
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
inputs: [
|
|
1842
|
+
{
|
|
1843
|
+
internalType: "address",
|
|
1844
|
+
name: "cTokenBorrowed",
|
|
1845
|
+
type: "address",
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
internalType: "address",
|
|
1849
|
+
name: "cTokenCollateral",
|
|
1850
|
+
type: "address",
|
|
1851
|
+
},
|
|
1852
|
+
{
|
|
1853
|
+
internalType: "address",
|
|
1854
|
+
name: "liquidator",
|
|
1855
|
+
type: "address",
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
internalType: "address",
|
|
1859
|
+
name: "borrower",
|
|
1860
|
+
type: "address",
|
|
1861
|
+
},
|
|
1862
|
+
{
|
|
1863
|
+
internalType: "uint256",
|
|
1864
|
+
name: "repayAmount",
|
|
1865
|
+
type: "uint256",
|
|
1866
|
+
},
|
|
1867
|
+
],
|
|
1868
|
+
name: "liquidateBorrowAllowed",
|
|
1869
|
+
outputs: [],
|
|
1870
|
+
stateMutability: "view",
|
|
1871
|
+
type: "function",
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
inputs: [
|
|
1875
|
+
{
|
|
1876
|
+
internalType: "address",
|
|
1877
|
+
name: "cTokenBorrowed",
|
|
1878
|
+
type: "address",
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
internalType: "address",
|
|
1882
|
+
name: "cTokenCollateral",
|
|
1883
|
+
type: "address",
|
|
1884
|
+
},
|
|
1885
|
+
{
|
|
1886
|
+
internalType: "address",
|
|
1887
|
+
name: "liquidator",
|
|
1888
|
+
type: "address",
|
|
1889
|
+
},
|
|
1890
|
+
{
|
|
1891
|
+
internalType: "address",
|
|
1892
|
+
name: "borrower",
|
|
1893
|
+
type: "address",
|
|
1894
|
+
},
|
|
1895
|
+
{
|
|
1896
|
+
internalType: "uint256",
|
|
1897
|
+
name: "actualRepayAmount",
|
|
1898
|
+
type: "uint256",
|
|
1899
|
+
},
|
|
1900
|
+
{
|
|
1901
|
+
internalType: "uint256",
|
|
1902
|
+
name: "seizeTokens",
|
|
1903
|
+
type: "uint256",
|
|
1904
|
+
},
|
|
1905
|
+
],
|
|
1906
|
+
name: "liquidateBorrowVerify",
|
|
1907
|
+
outputs: [],
|
|
1908
|
+
stateMutability: "nonpayable",
|
|
1909
|
+
type: "function",
|
|
1910
|
+
},
|
|
1911
|
+
{
|
|
1912
|
+
inputs: [],
|
|
1913
|
+
name: "liquidationIncentive",
|
|
1914
|
+
outputs: [
|
|
1915
|
+
{
|
|
1916
|
+
internalType: "uint16",
|
|
1917
|
+
name: "heteroPercent",
|
|
1918
|
+
type: "uint16",
|
|
1919
|
+
},
|
|
1920
|
+
{
|
|
1921
|
+
internalType: "uint16",
|
|
1922
|
+
name: "homoPercent",
|
|
1923
|
+
type: "uint16",
|
|
1924
|
+
},
|
|
1925
|
+
{
|
|
1926
|
+
internalType: "uint16",
|
|
1927
|
+
name: "sutokenPercent",
|
|
1928
|
+
type: "uint16",
|
|
1929
|
+
},
|
|
1930
|
+
],
|
|
1931
|
+
stateMutability: "view",
|
|
1932
|
+
type: "function",
|
|
1933
|
+
},
|
|
1934
|
+
{
|
|
1935
|
+
inputs: [
|
|
1936
|
+
{
|
|
1937
|
+
internalType: "address",
|
|
1938
|
+
name: "",
|
|
1939
|
+
type: "address",
|
|
1940
|
+
},
|
|
1941
|
+
],
|
|
1942
|
+
name: "marketConfig",
|
|
1943
|
+
outputs: [
|
|
1944
|
+
{
|
|
1945
|
+
internalType: "bool",
|
|
1946
|
+
name: "mintPaused",
|
|
1947
|
+
type: "bool",
|
|
1948
|
+
},
|
|
1949
|
+
{
|
|
1950
|
+
internalType: "bool",
|
|
1951
|
+
name: "borrowPaused",
|
|
1952
|
+
type: "bool",
|
|
1953
|
+
},
|
|
1954
|
+
{
|
|
1955
|
+
internalType: "bool",
|
|
1956
|
+
name: "transferPaused",
|
|
1957
|
+
type: "bool",
|
|
1958
|
+
},
|
|
1959
|
+
{
|
|
1960
|
+
internalType: "bool",
|
|
1961
|
+
name: "seizePaused",
|
|
1962
|
+
type: "bool",
|
|
1963
|
+
},
|
|
1964
|
+
{
|
|
1965
|
+
internalType: "uint120",
|
|
1966
|
+
name: "borrowCap",
|
|
1967
|
+
type: "uint120",
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
internalType: "uint120",
|
|
1971
|
+
name: "supplyCap",
|
|
1972
|
+
type: "uint120",
|
|
1973
|
+
},
|
|
1974
|
+
],
|
|
1975
|
+
stateMutability: "view",
|
|
1976
|
+
type: "function",
|
|
1977
|
+
},
|
|
1978
|
+
{
|
|
1979
|
+
inputs: [
|
|
1980
|
+
{
|
|
1981
|
+
internalType: "address",
|
|
1982
|
+
name: "",
|
|
1983
|
+
type: "address",
|
|
1984
|
+
},
|
|
1985
|
+
],
|
|
1986
|
+
name: "markets",
|
|
1987
|
+
outputs: [
|
|
1988
|
+
{
|
|
1989
|
+
internalType: "bool",
|
|
1990
|
+
name: "isListed",
|
|
1991
|
+
type: "bool",
|
|
1992
|
+
},
|
|
1993
|
+
{
|
|
1994
|
+
internalType: "uint8",
|
|
1995
|
+
name: "assetGroupId",
|
|
1996
|
+
type: "uint8",
|
|
1997
|
+
},
|
|
1998
|
+
{
|
|
1999
|
+
internalType: "bool",
|
|
2000
|
+
name: "isComped",
|
|
2001
|
+
type: "bool",
|
|
2002
|
+
},
|
|
2003
|
+
],
|
|
2004
|
+
stateMutability: "view",
|
|
2005
|
+
type: "function",
|
|
2006
|
+
},
|
|
2007
|
+
{
|
|
2008
|
+
inputs: [
|
|
2009
|
+
{
|
|
2010
|
+
internalType: "address",
|
|
2011
|
+
name: "cToken",
|
|
2012
|
+
type: "address",
|
|
2013
|
+
},
|
|
2014
|
+
{
|
|
2015
|
+
internalType: "address",
|
|
2016
|
+
name: "minter",
|
|
2017
|
+
type: "address",
|
|
2018
|
+
},
|
|
2019
|
+
{
|
|
2020
|
+
internalType: "uint256",
|
|
2021
|
+
name: "mintAmount",
|
|
2022
|
+
type: "uint256",
|
|
2023
|
+
},
|
|
2024
|
+
{
|
|
2025
|
+
internalType: "uint256",
|
|
2026
|
+
name: "exchangeRate",
|
|
2027
|
+
type: "uint256",
|
|
2028
|
+
},
|
|
2029
|
+
],
|
|
2030
|
+
name: "mintAllowed",
|
|
2031
|
+
outputs: [],
|
|
2032
|
+
stateMutability: "nonpayable",
|
|
2033
|
+
type: "function",
|
|
2034
|
+
},
|
|
2035
|
+
{
|
|
2036
|
+
inputs: [],
|
|
2037
|
+
name: "oracle",
|
|
2038
|
+
outputs: [
|
|
2039
|
+
{
|
|
2040
|
+
internalType: "contract IPriceOracle",
|
|
2041
|
+
name: "",
|
|
2042
|
+
type: "address",
|
|
2043
|
+
},
|
|
2044
|
+
],
|
|
2045
|
+
stateMutability: "view",
|
|
2046
|
+
type: "function",
|
|
2047
|
+
},
|
|
2048
|
+
{
|
|
2049
|
+
inputs: [],
|
|
2050
|
+
name: "pauseGuardian",
|
|
2051
|
+
outputs: [
|
|
2052
|
+
{
|
|
2053
|
+
internalType: "address",
|
|
2054
|
+
name: "",
|
|
2055
|
+
type: "address",
|
|
2056
|
+
},
|
|
2057
|
+
],
|
|
2058
|
+
stateMutability: "view",
|
|
2059
|
+
type: "function",
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
inputs: [
|
|
2063
|
+
{
|
|
2064
|
+
internalType: "address",
|
|
2065
|
+
name: "cToken",
|
|
2066
|
+
type: "address",
|
|
2067
|
+
},
|
|
2068
|
+
{
|
|
2069
|
+
internalType: "address",
|
|
2070
|
+
name: "redeemer",
|
|
2071
|
+
type: "address",
|
|
2072
|
+
},
|
|
2073
|
+
{
|
|
2074
|
+
internalType: "uint256",
|
|
2075
|
+
name: "redeemTokens",
|
|
2076
|
+
type: "uint256",
|
|
2077
|
+
},
|
|
2078
|
+
{
|
|
2079
|
+
internalType: "uint256",
|
|
2080
|
+
name: "exchangeRate",
|
|
2081
|
+
type: "uint256",
|
|
2082
|
+
},
|
|
2083
|
+
],
|
|
2084
|
+
name: "redeemAllowed",
|
|
2085
|
+
outputs: [],
|
|
2086
|
+
stateMutability: "nonpayable",
|
|
2087
|
+
type: "function",
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
inputs: [
|
|
2091
|
+
{
|
|
2092
|
+
internalType: "address",
|
|
2093
|
+
name: "cToken",
|
|
2094
|
+
type: "address",
|
|
2095
|
+
},
|
|
2096
|
+
{
|
|
2097
|
+
internalType: "address",
|
|
2098
|
+
name: "redeemer",
|
|
2099
|
+
type: "address",
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
internalType: "uint256",
|
|
2103
|
+
name: "redeemAmount",
|
|
2104
|
+
type: "uint256",
|
|
2105
|
+
},
|
|
2106
|
+
{
|
|
2107
|
+
internalType: "uint256",
|
|
2108
|
+
name: "redeemTokens",
|
|
2109
|
+
type: "uint256",
|
|
2110
|
+
},
|
|
2111
|
+
],
|
|
2112
|
+
name: "redeemVerify",
|
|
2113
|
+
outputs: [],
|
|
2114
|
+
stateMutability: "nonpayable",
|
|
2115
|
+
type: "function",
|
|
2116
|
+
},
|
|
2117
|
+
{
|
|
2118
|
+
inputs: [],
|
|
2119
|
+
name: "redemptionManager",
|
|
2120
|
+
outputs: [
|
|
2121
|
+
{
|
|
2122
|
+
internalType: "contract IRedemptionManager",
|
|
2123
|
+
name: "",
|
|
2124
|
+
type: "address",
|
|
2125
|
+
},
|
|
2126
|
+
],
|
|
2127
|
+
stateMutability: "view",
|
|
2128
|
+
type: "function",
|
|
2129
|
+
},
|
|
2130
|
+
{
|
|
2131
|
+
inputs: [
|
|
2132
|
+
{
|
|
2133
|
+
internalType: "uint8",
|
|
2134
|
+
name: "groupId",
|
|
2135
|
+
type: "uint8",
|
|
2136
|
+
},
|
|
2137
|
+
],
|
|
2138
|
+
name: "removeAssetGroup",
|
|
2139
|
+
outputs: [],
|
|
2140
|
+
stateMutability: "nonpayable",
|
|
2141
|
+
type: "function",
|
|
2142
|
+
},
|
|
2143
|
+
{
|
|
2144
|
+
inputs: [
|
|
2145
|
+
{
|
|
2146
|
+
internalType: "bytes32",
|
|
2147
|
+
name: "role",
|
|
2148
|
+
type: "bytes32",
|
|
2149
|
+
},
|
|
2150
|
+
{
|
|
2151
|
+
internalType: "address",
|
|
2152
|
+
name: "account",
|
|
2153
|
+
type: "address",
|
|
2154
|
+
},
|
|
2155
|
+
],
|
|
2156
|
+
name: "renounceRole",
|
|
2157
|
+
outputs: [],
|
|
2158
|
+
stateMutability: "nonpayable",
|
|
2159
|
+
type: "function",
|
|
2160
|
+
},
|
|
2161
|
+
{
|
|
2162
|
+
inputs: [
|
|
2163
|
+
{
|
|
2164
|
+
internalType: "address",
|
|
2165
|
+
name: "cToken",
|
|
2166
|
+
type: "address",
|
|
2167
|
+
},
|
|
2168
|
+
{
|
|
2169
|
+
internalType: "address",
|
|
2170
|
+
name: "payer",
|
|
2171
|
+
type: "address",
|
|
2172
|
+
},
|
|
2173
|
+
{
|
|
2174
|
+
internalType: "address",
|
|
2175
|
+
name: "borrower",
|
|
2176
|
+
type: "address",
|
|
2177
|
+
},
|
|
2178
|
+
{
|
|
2179
|
+
internalType: "uint256",
|
|
2180
|
+
name: "repayAmount",
|
|
2181
|
+
type: "uint256",
|
|
2182
|
+
},
|
|
2183
|
+
],
|
|
2184
|
+
name: "repayBorrowAllowed",
|
|
2185
|
+
outputs: [],
|
|
2186
|
+
stateMutability: "nonpayable",
|
|
2187
|
+
type: "function",
|
|
2188
|
+
},
|
|
2189
|
+
{
|
|
2190
|
+
inputs: [
|
|
2191
|
+
{
|
|
2192
|
+
internalType: "address",
|
|
2193
|
+
name: "cToken",
|
|
2194
|
+
type: "address",
|
|
2195
|
+
},
|
|
2196
|
+
{
|
|
2197
|
+
internalType: "address",
|
|
2198
|
+
name: "payer",
|
|
2199
|
+
type: "address",
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
internalType: "address",
|
|
2203
|
+
name: "borrower",
|
|
2204
|
+
type: "address",
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
internalType: "uint256",
|
|
2208
|
+
name: "actualRepayAmount",
|
|
2209
|
+
type: "uint256",
|
|
2210
|
+
},
|
|
2211
|
+
{
|
|
2212
|
+
internalType: "uint256",
|
|
2213
|
+
name: "borrowIndex",
|
|
2214
|
+
type: "uint256",
|
|
2215
|
+
},
|
|
2216
|
+
],
|
|
2217
|
+
name: "repayBorrowVerify",
|
|
2218
|
+
outputs: [],
|
|
2219
|
+
stateMutability: "nonpayable",
|
|
2220
|
+
type: "function",
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
inputs: [
|
|
2224
|
+
{
|
|
2225
|
+
internalType: "bytes32",
|
|
2226
|
+
name: "role",
|
|
2227
|
+
type: "bytes32",
|
|
2228
|
+
},
|
|
2229
|
+
{
|
|
2230
|
+
internalType: "address",
|
|
2231
|
+
name: "account",
|
|
2232
|
+
type: "address",
|
|
2233
|
+
},
|
|
2234
|
+
],
|
|
2235
|
+
name: "revokeRole",
|
|
2236
|
+
outputs: [],
|
|
2237
|
+
stateMutability: "nonpayable",
|
|
2238
|
+
type: "function",
|
|
2239
|
+
},
|
|
2240
|
+
{
|
|
2241
|
+
inputs: [
|
|
2242
|
+
{
|
|
2243
|
+
internalType: "address",
|
|
2244
|
+
name: "cTokenCollateral",
|
|
2245
|
+
type: "address",
|
|
2246
|
+
},
|
|
2247
|
+
{
|
|
2248
|
+
internalType: "address",
|
|
2249
|
+
name: "cTokenBorrowed",
|
|
2250
|
+
type: "address",
|
|
2251
|
+
},
|
|
2252
|
+
{
|
|
2253
|
+
internalType: "address",
|
|
2254
|
+
name: "liquidator",
|
|
2255
|
+
type: "address",
|
|
2256
|
+
},
|
|
2257
|
+
{
|
|
2258
|
+
internalType: "address",
|
|
2259
|
+
name: "borrower",
|
|
2260
|
+
type: "address",
|
|
2261
|
+
},
|
|
2262
|
+
{
|
|
2263
|
+
internalType: "uint256",
|
|
2264
|
+
name: "seizeTokens",
|
|
2265
|
+
type: "uint256",
|
|
2266
|
+
},
|
|
2267
|
+
],
|
|
2268
|
+
name: "seizeAllowed",
|
|
2269
|
+
outputs: [],
|
|
2270
|
+
stateMutability: "nonpayable",
|
|
2271
|
+
type: "function",
|
|
2272
|
+
},
|
|
2273
|
+
{
|
|
2274
|
+
inputs: [
|
|
2275
|
+
{
|
|
2276
|
+
internalType: "uint8",
|
|
2277
|
+
name: "groupId",
|
|
2278
|
+
type: "uint8",
|
|
2279
|
+
},
|
|
2280
|
+
{
|
|
2281
|
+
internalType: "uint16",
|
|
2282
|
+
name: "intraCRatePercent",
|
|
2283
|
+
type: "uint16",
|
|
2284
|
+
},
|
|
2285
|
+
{
|
|
2286
|
+
internalType: "uint16",
|
|
2287
|
+
name: "intraMintRatePercent",
|
|
2288
|
+
type: "uint16",
|
|
2289
|
+
},
|
|
2290
|
+
{
|
|
2291
|
+
internalType: "uint16",
|
|
2292
|
+
name: "intraSuRatePercent",
|
|
2293
|
+
type: "uint16",
|
|
2294
|
+
},
|
|
2295
|
+
{
|
|
2296
|
+
internalType: "uint16",
|
|
2297
|
+
name: "interCRatePercent",
|
|
2298
|
+
type: "uint16",
|
|
2299
|
+
},
|
|
2300
|
+
{
|
|
2301
|
+
internalType: "uint16",
|
|
2302
|
+
name: "interSuRatePercent",
|
|
2303
|
+
type: "uint16",
|
|
2304
|
+
},
|
|
2305
|
+
],
|
|
2306
|
+
name: "setAssetGroup",
|
|
2307
|
+
outputs: [],
|
|
2308
|
+
stateMutability: "nonpayable",
|
|
2309
|
+
type: "function",
|
|
2310
|
+
},
|
|
2311
|
+
{
|
|
2312
|
+
inputs: [
|
|
2313
|
+
{
|
|
2314
|
+
internalType: "bytes4",
|
|
2315
|
+
name: "interfaceId",
|
|
2316
|
+
type: "bytes4",
|
|
2317
|
+
},
|
|
2318
|
+
],
|
|
2319
|
+
name: "supportsInterface",
|
|
2320
|
+
outputs: [
|
|
2321
|
+
{
|
|
2322
|
+
internalType: "bool",
|
|
2323
|
+
name: "",
|
|
2324
|
+
type: "bool",
|
|
2325
|
+
},
|
|
2326
|
+
],
|
|
2327
|
+
stateMutability: "view",
|
|
2328
|
+
type: "function",
|
|
2329
|
+
},
|
|
2330
|
+
{
|
|
2331
|
+
inputs: [],
|
|
2332
|
+
name: "timelock",
|
|
2333
|
+
outputs: [
|
|
2334
|
+
{
|
|
2335
|
+
internalType: "address",
|
|
2336
|
+
name: "",
|
|
2337
|
+
type: "address",
|
|
2338
|
+
},
|
|
2339
|
+
],
|
|
2340
|
+
stateMutability: "view",
|
|
2341
|
+
type: "function",
|
|
2342
|
+
},
|
|
2343
|
+
{
|
|
2344
|
+
inputs: [
|
|
2345
|
+
{
|
|
2346
|
+
internalType: "address",
|
|
2347
|
+
name: "cToken",
|
|
2348
|
+
type: "address",
|
|
2349
|
+
},
|
|
2350
|
+
{
|
|
2351
|
+
internalType: "address",
|
|
2352
|
+
name: "src",
|
|
2353
|
+
type: "address",
|
|
2354
|
+
},
|
|
2355
|
+
{
|
|
2356
|
+
internalType: "address",
|
|
2357
|
+
name: "dst",
|
|
2358
|
+
type: "address",
|
|
2359
|
+
},
|
|
2360
|
+
{
|
|
2361
|
+
internalType: "uint256",
|
|
2362
|
+
name: "transferTokens",
|
|
2363
|
+
type: "uint256",
|
|
2364
|
+
},
|
|
2365
|
+
],
|
|
2366
|
+
name: "transferAllowed",
|
|
2367
|
+
outputs: [],
|
|
2368
|
+
stateMutability: "nonpayable",
|
|
2369
|
+
type: "function",
|
|
2370
|
+
},
|
|
2371
|
+
{
|
|
2372
|
+
inputs: [],
|
|
2373
|
+
name: "version",
|
|
2374
|
+
outputs: [
|
|
2375
|
+
{
|
|
2376
|
+
internalType: "enum Version",
|
|
2377
|
+
name: "",
|
|
2378
|
+
type: "uint8",
|
|
2379
|
+
},
|
|
2380
|
+
],
|
|
2381
|
+
stateMutability: "pure",
|
|
2382
|
+
type: "function",
|
|
2383
|
+
},
|
|
2384
|
+
];
|
|
2385
|
+
const _bytecode = "0x60803461012e57601f61451338819003918201601f19168301916001600160401b0383118484101761013357808492604094855283398101031261012e576020816100758261006e7ff261845a790fe29bbd6631e2ca4a5bdc83e6eed7c3271d9590d97287e00e912395610149565b9201610149565b600080805280845260408082206001600160a01b0385168352855290205490919060ff16156100d5575b50604580546001600160a01b0319166001600160a01b03929092169182179055604051908152a16040516143b5908161015e8239f35b600080805280845260408082206001600160a01b03939093168083529285528120805460ff191660011790553391907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d8180a43861009f565b600080fd5b634e487b7160e01b600052604160045260246000fd5b51906001600160a01b038216820361012e5756fe608080604052600436101561001357600080fd5b60003560e01c9081627e3dd214612afa5750806301ffc9a714612aa45780631407e28114612a5b5780631cc7f15d14612a135780631ededc91146129e057806322c70ebd1461288357806323ec2fb21461283b57806324008a621461282d578063248a9ca31461280057806324a3d622146127d7578063250d71e71461277c5780632bebbc091461273a5780632f2ff15d1461267e5780632f8832d6146126555780633278eb041461262c578063360f5a011461260357806336568abe146125715780633e90dce514612306578063411679f41461221557806347ef3b3b146121ce5780634cbfec68146121955780634e79238f1461216d57806351dff989146120b157806352d84d1e1461208857806354fd4d501461206c57806355ee1fe114611ffb5780635608737514611f3c5780635bca9add14611cb55780635ebbea8514611c755780635f5af1aa14611a3b5780635fc7e71e1461173e5780637d71c0b7146113d15780637dc0d1d0146113a857806381a397e41461131957806387bae18f146112975780638c765e941461125f5780638e8f294b146112055780639158c2aa1461105357806391d148541461100657806395ee820814610fdb578063a217fddf14610fbf578063a7adfb4414610e76578063a7c1abe014610e1c578063ab07fa4614610d6c578063abfceffc14610cec578063b0772d0b14610c5c578063bdcdc25814610c0d578063d02f735114610af4578063d33219b414610acb578063d547741f14610a84578063d78a18d814610a14578063d8f1f859146109a9578063da3d454c146106c0578063db0846cb1461069d578063dce154491461063a578063e22b39341461043f578063e36cb86f14610348578063e63ab1e91461031f578063f794062e146102e05763f96dae0a146102b257600080fd5b346102db5760003660031901126102db57603b546040516001600160a01b039091168152602090f35b600080fd5b346102db5760203660031901126102db576001600160a01b03610301612b14565b166000526036602052602060ff604060002054166040519015158152f35b346102db5760003660031901126102db5760206040516000805160206143608339815191528152f35b346102db5760403660031901126102db57610361612b14565b60243567ffffffffffffffff81116102db57366023820112156102db57806004013561038c81612de1565b9161039a6040519384612dbf565b8183526024602084019260051b820101903682116102db57602401915b81831061041f5750505080519060005b8281106103d057005b6001600160a01b036103e28284612e56565b51169081600052603660205260ff604060002054161561040e5761040885600193613fa4565b016103c7565b6341554b6360e01b60005260046000fd5b82356001600160a01b03811681036102db578152602092830192016103b7565b346102db5760603660031901126102db5760043567ffffffffffffffff81116102db57610470903690600401612d55565b9060243567ffffffffffffffff81116102db57610491903690600401612d55565b9060443567ffffffffffffffff81116102db576104b2903690600401612d55565b9190926104bd613d5d565b85158015610630575b8015610626575b6106155760005b8681106104dd57005b806105456104f66104f16001948688613af8565b613b08565b838060a01b0361050f61050a858d8d613af8565b613b1c565b16600052604f602052604060002090640100000000600160981b0382549160201b1690640100000000600160981b031916179055565b6105536104f1828789613af8565b828060a01b0361056761050a848c8c613af8565b16600052604f6020526001600160781b038360406000200191166001600160781b031982541617905561059e61050a828a8a613af8565b7f1f4350c8add28a86ccd16ab5ca63fc8dda2858c65a32b7b4b7c281300e14da126105cd6104f1848789613af8565b916105dc6104f1858a8c613af8565b9061060c604051928392888060a01b031695839092916001600160781b0360209181604085019616845216910152565b0390a2016104d4565b63b4fa3fb360e01b60005260046000fd5b50828614156104cd565b50808614156104c6565b346102db5760403660031901126102db57610653612b14565b6001600160a01b03166000908152603560205260409020805460243591908210156102db5760209161068491612c98565b905460405160039290921b1c6001600160a01b03168152f35b346102db5760003660031901126102db57602060ff605254166040519015158152f35b346102db5760603660031901126102db576106d9612b14565b6106e1612b2a565b6001600160a01b0382166000818152604f6020526040902054909291906044359060081c60ff16610998576001600160a01b038216939260005b85600052603560205260406000205481101561084c57856000526035602052610748816040600020612c98565b60018060a01b0391549060031b1c169081600052603660205260ff604060002054161560001461081a576040516361bfb47160e11b815260048101889052608081602481865afa90811561080e5760009081926107db575b501590816107d2575b50156107c1576107bb60019286613ba9565b0161071b565b6334b04fe360e11b60005260046000fd5b905015886107a9565b90506107fe915060803d8111610807575b6107f68183612dbf565b8101906130c9565b505090896107a0565b503d6107ec565b6040513d6000823e3d90fd5b90600052604f60205260ff60406000205460081c1661083b576001906107bb565b630a9105a360e31b60005260046000fd5b50838581600052603660205260016040600020018160005260205260ff6040600020541615610930575b506040516308f7a6e360e31b8152602081600481855afa801561080e5784906000906108fa575b6108a79250612e6a565b90600052604f6020526001600160781b0360406000205460201c16106108e9576108d0926133e1565b90506108d857005b633a23d82560e01b60005260046000fd5b6353977d1f60e01b60005260046000fd5b50506020813d602011610928575b8161091560209383612dbf565b810103126102db57836108a7915161089d565b3d9150610908565b8133036109875733600052603660205260ff604060002054161561040e576109588533613fa4565b81600052603660205260016040600020019060005260205261098160ff60406000205416613441565b84610876565b6318e2bacb60e11b60005260046000fd5b63095865a360e11b60005260046000fd5b346102db576109c36109ba36612b56565b92919091613609565b60405180916020820160208352815180915260206040840192019060005b8181106109ef575050500390f35b91935091602061014082610a066001948851612b94565b0194019101918493926109e1565b346102db5760203660031901126102db5760ff610a2f612c47565b16600052604e60205260c060406000205461ffff6040519160ff81168352818160081c166020840152818160181c166040840152818160281c166060840152818160381c16608084015260481c1660a0820152f35b346102db5760403660031901126102db57610ac9600435610aa3612b2a565b90610ac4610abf82600052600060205260016040600020015490565b613e6c565b613ef9565b005b346102db5760003660031901126102db576047546040516001600160a01b039091168152602090f35b346102db57610b0236612cb0565b5050509060018060a01b03169081600052604f60205260ff60406000205460181c16610bfc57602060049260405193848092635fe3b56760e01b82525afa91821561080e57600092610bd7575b50604051635fe3b56760e01b815290602090829060049082906001600160a01b03165afa90811561080e57600091610ba8575b506001600160a01b03908116911603610b9757005b630c73eb0560e01b60005260046000fd5b610bca915060203d602011610bd0575b610bc28183612dbf565b8101906135ea565b82610b82565b503d610bb8565b6004919250610bf4602091823d8411610bd057610bc28183612dbf565b929150610b4f565b6307f4077b60e11b60005260046000fd5b346102db57610c1b36612bf9565b6001600160a01b0384166000908152604f60205260409020549092915060101c60ff16610c4b57610ac992613eae565b63cd1fda9f60e01b60005260046000fd5b346102db5760003660031901126102db5760405180602060375491828152019060376000527f42a7b7dd785cd69714a189dffb3fd7d7174edc9ece837694ce50f7078f7c31ae9060005b818110610ccd57610cc985610cbd81870382612dbf565b60405191829182612d12565b0390f35b82546001600160a01b0316845260209093019260019283019201610ca6565b346102db5760203660031901126102db576001600160a01b03610d0d612b14565b166000526035602052604060002060405190816020825491828152019160005260206000209060005b818110610d4d57610cc985610cbd81870382612dbf565b82546001600160a01b0316845260209093019260019283019201610d36565b346102db5760403660031901126102db57610d85612b14565b610d8d612b2a565b6040516361bfb47160e11b81526001600160a01b0380841660048301529092906080908490602490829086165afa801561080e57600093600091610df5575b50610de457610ddf610ac9938284613eae565b613ba9565b631a4e452560e31b60005260046000fd5b9050610e1191935060803d608011610807576107f68183612dbf565b505092909284610dcc565b346102db5760003660031901126102db57605080546040805161ffff83168152601083901c63ffffffff9081166020830152603084901c8116928201929092529282901c16606083015260701c60ff16608082015260a090f35b346102db5760a03660031901126102db576000610e91613d5d565b60505461ffff610e9f61340e565b1661ffff196050541617605055610eb46135b1565b60505469ffffffff000000000000610eca6135c4565b60301b169065ffffffff000063ffffffff60501b610ee66135d7565b60501b169360101b16906dffffffffffffffffffffffff0000191617171760505560843560ff81168103610fbb57506050805460ff60701b191660ff60701b83161790557f14afda479c9cdb1b364268a7f4859305595991e335158f423d3f30ece9565fa19060ff90610fb5610f5a61340e565b610f626135b1565b610f6a6135c4565b610f726135d7565b9160405196879660701c1693869363ffffffff90816080958160ff969a99959a61ffff60a08b019c168a5216602089015216604087015216606085015216910152565b0390a180f35b8280fd5b346102db5760003660031901126102db57602060405160008152f35b346102db5760203660031901126102db576020610ffe610ff9612b14565b61346b565b604051908152f35b346102db5760403660031901126102db5761101f612b2a565b600435600052600060205260406000209060018060a01b0316600052602052602060ff604060002054166040519015158152f35b346102db5760c03660031901126102db5761106c612c47565b6024359061ffff82168092036102db5760443561ffff81168091036102db576064359061ffff82168092036102db576084359361ffff85168095036102db5760a4359061ffff82168092036102db577f5a7475dc25262b989cc368a46a0d7d9102beffcc3e8dc131b5254ec31026dd089260c0926110e8613d5d565b60ff871697889687600052604e60205260ff60406000205416159360405161110f81612d86565b898152602081018781528a60408301918483526060840190868252608085019188835260a08601938a8552600052604e60205260ff604060002096511661ffff60481b61ffff60381b66ffff000000000064ffff00000062ffff008b54975160081b16995160181b16945160281b16955160381b16955160481b169561ffff60481b199361ffff60381b199266ffff0000000000199164ffffffffff19161716171617161717179055604051958652602086015260408501526060840152608083015260a0820152a26050549160ff8360701c16106111ea57005b60ff60701b1990911660709190911b60ff60701b1617605055005b346102db5760203660031901126102db576001600160a01b03611226612b14565b1660005260366020526060604060002060ff600282549201541660ff604051928181161515845260081c16602083015215156040820152f35b346102db5760003660031901126102db57606060515461ffff604051918181168352818160101c16602084015260201c166040820152f35b346102db5760203660031901126102db576112b0612b14565b6112b8613d5d565b6001600160a01b03168015611308576020817f2d4667ae407248b3da2da6f92d6dc3c9d3529d53fbdc7d476d540d68bb29d02d926001600160601b0360a01b6047541617604755604051908152a1005b6342bcdf7f60e11b60005260046000fd5b346102db5760203660031901126102db576001600160a01b0361133a612b14565b16600052604f60205260c060406000206001600160781b0360018254920154166001600160781b036040519260ff81161515845260ff8160081c161515602085015260ff8160101c161515604085015260ff8160181c161515606085015260201c16608083015260a0820152f35b346102db5760003660031901126102db576045546040516001600160a01b039091168152602090f35b346102db5760203660031901126102db576113ea612b14565b6113f2613d5d565b6001600160a01b03811660008181526036602052604090205490919060ff161561172d5781600052604f60205260ff6040600020541680611712575b806116f7575b806116dc575b156116cb576114489061346b565b6040516308f7a6e360e31b815290602082600481865afa91821561080e57600092611695575b5061148b6001926ec097ce7bc90715b34b9f100000000092612e77565b0411611684576040516318160ddd60e01b8152602081600481855afa90811561080e57600091611652575b5061164157806000526036602052600060026040822082815501556037548060005b828110611610575b506114ec828210613441565b60001982019182116115fa5761151f61150761154393612c67565b905460039190911b1c6001600160a01b031691612c67565b81546001600160a01b0393841660039290921b91821b9390911b1916919091179055565b60375480156115e4576000190161157361155e826037612c98565b81549060018060a01b039060031b1b19169055565b6037557f302feb03efd5741df80efe7f97f5d93d74d46a542a3d312d0faae64fa1f3e0e96020604051838152a16000908152604f602052604090206001810180546effffffffffffffffffffffffffffff19169055805472ffffffffffffffffffffffffffffff0000000019169055005b634e487b7160e01b600052603160045260246000fd5b634e487b7160e01b600052601160045260246000fd5b8361161a82612c67565b905460039190911b1c6001600160a01b031614611639576001016114d8565b9050836114e0565b63ceb2484b60e01b60005260046000fd5b90506020813d60201161167c575b8161166d60209383612dbf565b810103126102db5751826114b6565b3d9150611660565b6315d4aa5b60e01b60005260046000fd5b91506020823d6020116116c3575b816116b060209383612dbf565b810103126102db5790519061148b61146e565b3d91506116a3565b63049a260960e31b60005260046000fd5b5081600052604f60205260ff60406000205460181c1661143a565b5081600052604f60205260ff60406000205460101c16611434565b5081600052604f60205260ff60406000205460081c1661142e565b63246b81d360e01b60005260046000fd5b346102db5761174c36612cb0565b9291509260018060a01b0381169182600052603660205260ff60406000205416158015611a18575b6107c157604051637f4e225760e11b8152602081600481875afa90811561080e576000916119f9575b501590816119a0575b5080611993575b611982576040516395dd919360e01b81526001600160a01b0385166004820181905290949092602086602481845afa95861561080e5760009661194b575b506050549361180363ffffffff8660501c164261345e565b90600052604c60205265ffffffffffff60406000205416101561193a57602060049160405192838092630c71782360e41b82525afa90811561080e5760009161190b575b5015611868575050501161185757005b63e46c155960e01b60005260046000fd5b816118729161318a565b9050156118fa576118829061346b565b9061ffff8116655af3107a4000810290808204655af3107a400014901517156115fa57670de0b6b3a7640000806118ca816118c28963ffffffff96612e77565b048096612e77565b04049160101c16116000146118e157501161185757005b91501115610ac95763e46c155960e01b60005260046000fd5b63095bf33360e01b60005260046000fd5b61192d915060203d602011611933575b6119258183612dbf565b810190613172565b86611847565b503d61191b565b63d26a7d5f60e01b60005260046000fd5b90956020823d60201161197a575b8161196660209383612dbf565b8101031261197757505194866117eb565b80fd5b3d9150611959565b639557c3f160e01b60005260046000fd5b5060ff60525416156117ad565b604051637f4e225760e11b81529150602090829060049082906001600160a01b03165afa90811561080e576000916119da575b50856117a6565b6119f3915060203d602011611933576119258183612dbf565b856119d3565b611a12915060203d602011611933576119258183612dbf565b8661179d565b506001600160a01b03811660009081526036602052604090205460ff1615611774565b346102db5760203660031901126102db57611a54612b14565b611a5c613d5d565b6001600160a01b0316801561130857603f5460008051602061436083398151915260009081526020527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f86750547f0613b6ee6a04f0d09f390e4d9318894b9f6ac7fd83897cd8d18896ba579c401e926001600160a01b039092169190611adf90613e6c565b6001600160a01b0382166000908152600080516020614340833981519152602052604090205460ff16611c0b575b603f80546001600160a01b0319168217905560008051602061436083398151915260009081526020527ff7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8675054611b6190613e6c565b6000818152600080516020614340833981519152602052604090205460ff1615611ba8575b50603f54604080516001600160a01b03938416815292909116602083015290a1005b600081815260008051602061434083398151915260205260408120805460ff19166001179055339190600080516020614360833981519152907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a482611b86565b6001600160a01b038216600090815260008051602061434083398151915260205260408120805460ff1916905533908390600080516020614360833981519152907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4611b0d565b346102db5760203660031901126102db57611c8e612c47565b611c96613d5d565b6050805460ff60701b191660709290921b60ff60701b16919091179055005b346102db57674563918244f40000611ccc36612b56565b939092919311611f2b576001600160a01b03166000818152604f602052604090205490929060ff16611f1a576040516361bfb47160e11b81526001600160a01b0382166004820152608081602481875afa801561080e57600091600091611ef7575b50846000526036602052600160406000200160018060a01b03841660005260205260ff60406000205416159182611eee575b5081611ee5575b50611e75575b5060405163182df0f560e01b815290602082600481865afa91821561080e57600092611e41575b506040516318160ddd60e01b815291602083600481875afa92831561080e57600093611e0b575b50611dd2670de0b6b3a764000091611dd894612e77565b04612e6a565b90600052604f6020526001600160781b036001604060002001541610611dfa57005b6354db2d5d60e11b60005260046000fd5b92506020833d602011611e39575b81611e2660209383612dbf565b810103126102db57915191611dd2611dbb565b3d9150611e19565b9091506020813d602011611e6d575b81611e5d60209383612dbf565b810103126102db57519083611d94565b3d9150611e50565b823303611ed45733600052603660205260ff604060002054161561040e57611e9d8133613fa4565b82600052603660205260016040600020019060018060a01b0316600052602052611ece60ff60406000205416613441565b82611d6d565b63094d2b6d60e21b60005260046000fd5b90501584611d67565b15915085611d60565b9050611f12915060803d608011610807576107f68183612dbf565b505085611d2e565b636be9245d60e11b60005260046000fd5b63a2ec3a5560e01b60005260046000fd5b346102db5760603660031901126102db57611f55613d5d565b61ffff611f6061340e565b1661ffff196051541617605155611f7561341f565b60515463ffff000065ffff00000000611f8c613430565b60201b169260101b169065ffffffff0000191617176051557f2698927ee5b9013fbd186eaff76d8f2c53d81f992f036c5a8e0ebcc3b9e34c276060611fcf61340e565b61ffff611fda61341f565b81611fe3613430565b918160405195168552166020840152166040820152a1005b346102db5760203660031901126102db57612014612b14565b61201c613d5d565b6001600160a01b03168015611308576020817ff261845a790fe29bbd6631e2ca4a5bdc83e6eed7c3271d9590d97287e00e9123926001600160601b0360a01b6045541617604555604051908152a1005b346102db5760003660031901126102db57602060405160038152f35b346102db5760203660031901126102db576004356037548110156102db57610684602091612c67565b346102db576120bf36612b56565b929192159081612163575b50612152576040516361bfb47160e11b81526001600160a01b0383811660048301526080908290602490829086165afa90811561080e5760009060009261212e575b50159081612125575b5061211c57005b610ac991613ba9565b90501583612115565b9050612149915060803d608011610807576107f68183612dbf565b5050908461210c565b635dec801160e11b60005260046000fd5b90501515836120ca565b346102db57604061218961218036612b56565b929190916133ff565b82519182526020820152f35b346102db5760203660031901126102db576004358015158091036102db576121bb613d5d565b60ff801960525416911617605255600080f35b346102db5760c03660031901126102db576121e7612b14565b6121ef612b2a565b506121f8612b40565b506064356001600160a01b03811681036102db57610ac9916130eb565b346102db5760403660031901126102db5761222e612b14565b612236612c57565b9061223f613d5d565b6001600160a01b031660008181526036602052604090205490919060ff161561040e5760ff811680156122f55780600052604e60205260406000206040519061228782612d86565b549060a061ffff60ff841693848452818160081c166020850152818160181c166040850152818160281c166060850152818160381c16608085015260481c16910152036122f557610ac991600052603660205260406000209061ff0082549160081b169061ff001916179055565b631b47388560e11b60005260046000fd5b346102db5760803660031901126102db5761231f612b14565b612327612c57565b90604435906001600160781b03821682036102db57606435906001600160781b03821682036102db57612358613d5d565b6001600160a01b03811660008181526036602052604090205490949060ff166125435760ff8116156122f557604051637f4e225760e11b815290602082600481895afa91821561080e576123d692612554575b506000868152603660205260409020805461ffff191660089290921b61ff0016919091176001179055565b60375460005b81811061251a57505060375490600160401b8210156125045761151f82600161240a94016037556037612c98565b6401000000004310156124f3577f1f4350c8add28a86ccd16ab5ca63fc8dda2858c65a32b7b4b7c281300e14da12917fcf583bb0c569eb967f806b11601c4cb93c10310485c67add5f8362c2f212321f6020604051868152a183600052604f60205261249d81604060002090640100000000600160981b0382549160201b1690640100000000600160981b031916179055565b83600052604f60205260016040600020016001600160781b0383166001600160781b03198254161790556124ee604051928392839092916001600160781b0360209181604085019616845216910152565b0390a2005b631391e11b60e21b60005260046000fd5b634e487b7160e01b600052604160045260246000fd5b8561252482612c67565b905460039190911b1c6001600160a01b031614612543576001016123dc565b634d5eeb4960e01b60005260046000fd5b61256c9060203d602011611933576119258183612dbf565b6123ab565b346102db5760403660031901126102db5761258a612b2a565b336001600160a01b038216036125a657610ac990600435613ef9565b60405162461bcd60e51b815260206004820152602f60248201527f416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636560448201526e103937b632b9903337b91039b2b63360891b6064820152608490fd5b346102db5760003660031901126102db576044546040516001600160a01b039091168152602090f35b346102db5760003660031901126102db576048546040516001600160a01b039091168152602090f35b346102db57674563918244f4000061266c36612b56565b9390929311611f2b57610ac992613eae565b346102db5760403660031901126102db5760043561269a612b2a565b906126b6610abf82600052600060205260016040600020015490565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16156126e157005b6000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19166001179055339291907f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d9080a4005b346102db5760203660031901126102db576001600160a01b0361275b612b14565b16600052604c602052602065ffffffffffff60406000205416604051908152f35b346102db5760203660031901126102db5760ff612797612c47565b61279f613d5d565b1680600052604e602052600060408120557f43d0e400379e99c6a1d618a8b7110cc3558e16380afb06f6b69f5da65c17a7d8600080a2005b346102db5760003660031901126102db57603f546040516001600160a01b039091168152602090f35b346102db5760203660031901126102db576020610ffe600435600052600060205260016040600020015490565b346102db57610ac936612bf9565b346102db5760203660031901126102db57612854612b14565b61285c613d5d565b6001600160a01b03168015611308576001600160601b0360a01b603b541617603b55600080f35b346102db5760a03660031901126102db5761289c612b14565b602435908115158092036102db57604435918215158093036102db576064358015158091036102db57608435908115158092036102db573360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1615806129b9575b6129a8576001600160a01b039093166000818152604f6020908152604091829020805463ffffffff191660ff871617600889901b61ff001617601088901b62ff00001617601886901b63ff00000016179055815192835282019390935291820193909352606081019190915260808101919091527f6cdba85bf8c0449c45d7967a9c1ef7e6f69aabd25eb273e4b6f184f9e26477a69060a090a1005b630e8e849b60e41b60005260046000fd5b50336000908152600080516020614340833981519152602052604090205460ff161561290c565b346102db5760a03660031901126102db57610ac96129fc612b14565b612a04612b2a565b50612a0d612b40565b906130eb565b346102db576101c0612a59612a33612a2a36612b56565b92919091612e8a565b926040959495929192519586526020860152604085015260608401526080830190612b94565bf35b346102db5760403660031901126102db576001600160a01b03612a7c612b14565b166000908152604c60205260409020805465ffffffffffff19164265ffffffffffff16179055005b346102db5760203660031901126102db5760043563ffffffff60e01b81168091036102db57602090637965db0b60e01b8114908115612ae9575b506040519015158152f35b6301ffc9a760e01b14905082612ade565b346102db5760003660031901126102db5780600160209252f35b600435906001600160a01b03821682036102db57565b602435906001600160a01b03821682036102db57565b604435906001600160a01b03821682036102db57565b60809060031901126102db576004356001600160a01b03811681036102db57906024356001600160a01b03811681036102db57906044359060643590565b610120809160ff81511684526020810151602085015260408101516040850152606081015160608501526080810151608085015260a081015160a085015260c081015160c085015260e081015160e08501526101008101516101008501520151910152565b60809060031901126102db576004356001600160a01b03811681036102db57906024356001600160a01b03811681036102db57906044356001600160a01b03811681036102db579060643590565b6004359060ff821682036102db57565b6024359060ff821682036102db57565b603754811015612c8257603760005260206000200190600090565b634e487b7160e01b600052603260045260246000fd5b8054821015612c825760005260206000200190600090565b60a09060031901126102db576004356001600160a01b03811681036102db57906024356001600160a01b03811681036102db57906044356001600160a01b03811681036102db57906064356001600160a01b03811681036102db579060843590565b602060408183019282815284518094520192019060005b818110612d365750505090565b82516001600160a01b0316845260209384019390920191600101612d29565b9181601f840112156102db5782359167ffffffffffffffff83116102db576020808501948460051b0101116102db57565b60c0810190811067ffffffffffffffff82111761250457604052565b610140810190811067ffffffffffffffff82111761250457604052565b90601f8019910116810190811067ffffffffffffffff82111761250457604052565b67ffffffffffffffff81116125045760051b60200190565b60405190612e0682612da2565b6000610120838281528260208201528260408201528260608201528260808201528260a08201528260c08201528260e0820152826101008201520152565b60ff60019116019060ff82116115fa57565b8051821015612c825760209160051b010190565b919082018092116115fa57565b818102929181159184041417156115fa57565b92612eb39192612e98612df9565b508360ff612eac8160505460701c16612e44565b1695613609565b6001600160a01b0390911660009081526036602052604090205460081c60ff1692612edc612df9565b6000938493849384935b60ff8816848110156130bc5760ff612efe8286612e56565b515116156130b257612f109084612e56565b519060808201805180613092575b5060408301805180613072575b50815180613052575b50805180613032575b5060208401805190612f556060870192835190612e6a565b15158061301d575b612fe157855160ff168e03612f8857505050505060ff90975b1660ff81146115fa5760010196612ee6565b85670de0b6b3a7640000612fc1612fdb979f9d969e94610120612fc8612fd3989f85612fc1612fd39960ff9f6101000151905190612e77565b0490612e6a565b940151905190612e77565b985190612e6a565b95612f76565b919260a49360ff8751169351925190519151926040519463f523ae3d60e01b865260048601526024850152604484015260648301526084820152fd5b5061302b8351855190612e6a565b1515612f5d565b613048606086019182519060e088015191613b30565b8352905238612f3d565b613068606086019182519060e088015191613b30565b8452905238612f34565b613088602086019182519060a088015191613b30565b8352905238612f2b565b6130a8602085019182519060c087015191613b30565b8352905238612f1e565b509660ff90612f76565b5093975060009650915050565b91908260809103126102db578151916020810151916060604083015192015190565b6040516361bfb47160e11b81526001600160a01b0383811660048301526080908290602490829086165afa90811561080e5760009060009261314e575b50159081613145575b5061313a575050565b61314391613ba9565b565b90501538613131565b9050613169915060803d608011610807576107f68183612dbf565b50509038613128565b908160209103126102db575180151581036102db5790565b6000808361319a93959495612e8a565b6001600160a01b039096168015159694919350839291908761338a575b50906131c291613f7b565b909181839260ff6052541695869586613371575b50506131e86040880194855190613f7b565b85528096613342575b5061321e9261322994928261321693613321575b508681613303575b6132bb57612e6a565b905190612e6a565b608085015190612e6a565b94856132b157613278949550600014613286571561327e575b612fc1613266670de0b6b3a76400009283612fc160c0870151602088015190612e77565b925b606060e082015191015190612e77565b90600090565b506000613242565b50612fc16132ab670de0b6b3a76400009283612fc160a0870151602088015190612e77565b92613268565b5050505060009190565b816132e5575b8115612e6a576132de60608a01928351906101208c015191613b30565b9252612e6a565b6132fc60208a01928351906101008c015191613b30565b92526132c1565b61331a60608b01928351906101208d015191613b30565b925261320d565b905061333a60208a01918251906101008c015191613b30565b915238613205565b61321691965092613229949261321e9461336260808b0191825190613f7b565b909152979250929450926131f1565b90919450613380929350613f7b565b91909238806131d6565b60049291975060209060405193848092637f4e225760e11b82525afa801561080e576131c2926000916133c2575b50159690916131b7565b6133db915060203d602011611933576119258183612dbf565b386133b8565b9160008261319a939594612e8a565b81939261319a92600092612e8a565b918161319a9395949295612e8a565b60043561ffff811681036102db5790565b60243561ffff811681036102db5790565b60443561ffff811681036102db5790565b1561344857565b634e487b7160e01b600052600160045260246000fd5b919082039182116115fa57565b6001600160a01b031660008181526036602052604090205460ff16156107c15760455460405163fc57d4df60e01b81526004810183905290602090829060249082906001600160a01b03165afa90811561080e5760009161357f575b508091811561356e5760206004916040519283809263313ce56760e01b82525afa90811561080e5760009161352d575b5060ff166012811061350857505090565b6012908103925082116115fa57604d82116115fa5761352a91600a0a90612e77565b90565b6020813d602011613566575b8161354660209383612dbf565b8101031261356257519060ff82168203611977575060ff6134f7565b5080fd5b3d9150613539565b6348fa9b2b60e11b60005260046000fd5b906020823d6020116135a9575b8161359960209383612dbf565b81010312611977575051386134c7565b3d915061358c565b60243563ffffffff811681036102db5790565b60443563ffffffff811681036102db5790565b60643563ffffffff811681036102db5790565b908160209103126102db57516001600160a01b03811681036102db5790565b939290919360ff6136208160505460701c16612e44565b169061362b82612de1565b916136396040519384612dbf565b808352613648601f1991612de1565b0160005b818110613ae157505060018060a01b031680600052603560205260406000206040518082602082945493848152019060005260206000209260005b818110613abf57505061369c92500382612dbf565b60005b8151811015613ab5576001600160a01b036136ba8284612e56565b511690600091808352603660205260ff60408420541615613aab57808352603660205260ff604084205460081c169060ff6136f58389612e56565b5151161580613aa2575b61391b575b6040516361bfb47160e11b81526004810187905290608082602481845afa94851561390f5790818a8e95949395829483996138e0575b506001600160a01b038e168414968715806138d8575b806138d0575b6138bf57670de0b6b3a764000061379b816137938161378b60049f8261378561377e8e61346b565b9c8d612e77565b04612e77565b049485612e77565b049786612e77565b0497613848575b5050505060209060405196878092637f4e225760e11b82525afa94851561080e57600195899160009161382a575b501561380a57826040926137f960206137ef613801976137ef96612e56565b5101918251612e6a565b905289612e56565b90525b0161369f565b826080926137f960606137ef613823976137ef96612e56565b9052613804565b613842915060203d8111611933576119258183612dbf565b386137d0565b94670de0b6b3a764000061386560209699949361388b9698612e77565b04908082116138955791613885612fc192670de0b6b3a76400009461345e565b96612e77565b93908a8e386137a2565b6138aa9392506138a49161345e565b90612e6a565b670de0b6b3a7640000612fc18d600096612e77565b505050505050505060019150613804565b508515613756565b508015613750565b9250975092506138ff91945060803d8111610807576107f68183612dbf565b919592939093959391973861373a565b604051903d90823e3d90fd5b818452604e602052604084206040519061393482612d86565b549060ff82169182825261ffff8160081c16918260208201526040810161ffff8360181c168152606082019061ffff8460281c16825261ffff60a06080850194828760381c168652019460481c168452655af3107a4000850294808604655af3107a40001490151715613a8e5761ffff90511690655af3107a4000820291808304655af3107a40001490151715613a8e5761ffff90511691655af3107a4000830292808404655af3107a40001490151715613a8e5761ffff90511692655af3107a4000840293808504655af3107a40001490151715613a8e5761ffff90511693655af3107a4000850294808604655af3107a40001490151715613a8e5760405195613a3e87612da2565b865289602087015289604087015289606087015289608087015260a086015260c085015260e0840152610100830152610120820152613a7d8389612e56565b52613a888288612e56565b50613704565b634e487b7160e01b8a52601160045260248afd5b508115156136ff565b5060019150613804565b5091955050505050565b84546001600160a01b0316835260019485019486945060209093019201613687565b602090613aec612df9565b8282870101520161364c565b9190811015612c825760051b0190565b356001600160781b03811681036102db5790565b356001600160a01b03811681036102db5790565b929190928115613ba157670de0b6b3a7640000613b4d8284612e77565b0491670de0b6b3a76400008502858104670de0b6b3a764000014861517156115fa570491600090600095808211600014613b925750505090613b8e9161345e565b9190565b919550915061352a925061345e565b505060009190565b60018060a01b03821690816000526036602052600160406000200160018060a01b0382166000528060205260ff6040600020541615613d57576001600160a01b038216600081815260209283526040808220805460ff1916905560358452808220905181548082529183528483209097949092889291830191905b818110613d35575050613c3992500386612dbf565b845193849060005b828110613d03575b505084613c5b92939495965010613441565b600052603560205260406000209283549060001982019182116115fa5761151f613c88613ca19387612c98565b905460039190911b1c6001600160a01b03169186612c98565b82549283156115e4577fe699a64c18b07ac5b7301aa273f36a2287239eb9501d81950672794afba29a0d936000190190613cde61155e8383612c98565b55604080516001600160a01b039283168152929091166020830152819081015b0390a1565b816001600160a01b03613d16838b612e56565b511614613d2557600101613c41565b9196509094508590503880613c49565b84546001600160a01b031683526001948501948a945060209093019201613c24565b50505050565b3360009081527fad3228b676f7d3cd4284a5443f17f1962b36e491b30a40b2405849e597ba5fb5602052604090205460ff1615613d9657565b613e5e60446037613da633614153565b613e366011613db56000614293565b60405194859160208301957f416363657373436f6e74726f6c3a206163636f756e74200000000000000000008752613df68151809260208688019101614103565b83017001034b99036b4b9b9b4b733903937b6329607d1b83820152613e25825180936020604885019101614103565b01010301601f198101845283612dbf565b60405193849262461bcd60e51b84526020600485015251809281602486015285850190614103565b601f01601f19168101030190fd5b60008181526020818152604080832033845290915290205460ff1615613e8f5750565b60446037613e5e92613e366011613db5613ea833614153565b93614293565b6001600160a01b038181166000908152603660209081526040808320938616835260019093019052205491929160ff1615613ef457613eec926133f0565b90506108d857565b505050565b6000818152602081815260408083206001600160a01b038616845290915290205460ff16613f25575050565b6000818152602081815260408083206001600160a01b0395909516808452949091528120805460ff19169055339291907ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b9080a4565b8115613fa15781811115613f9357906132789161345e565b613f9c9161345e565b600091565b91565b9060018060a01b03821680600052603660205260016040600020019060018060a01b0383166000528160205260ff60406000205416613d575780600052604f60205260ff604060002054169081156140e6575b81156140c9575b81156140ad575b5061409c576001600160a01b038216600090815260209182526040808220805460ff1916600117905560359092522080549290600160401b841015612504578161151f856140799360017f3ab23ab0d51cccc0c3085aec51f99228625aa1a922b3a8ca89a26b0f2027a1a598018155612c98565b604080516001600160a01b03928316815292909116602083015281908101613cfe565b63110df29b60e21b60005260046000fd5b9050600052604f60205260ff60406000205460181c1638614005565b809150600052604f60205260ff60406000205460101c1690613ffe565b809150600052604f60205260ff60406000205460081c1690613ff7565b60005b8381106141165750506000910152565b8181015183820152602001614106565b67ffffffffffffffff811161250457601f01601f191660200190565b908151811015612c82570160200190565b600090614160602a614126565b9161416e6040519384612dbf565b602a835261417c602a614126565b6020840190601f190136823783511561427f576030905382516001101561426b576078602184015350602960005b600182116141ff5750506141bb5790565b606460405162461bcd60e51b815260206004820152602060248201527f537472696e67733a20686578206c656e67746820696e73756666696369656e746044820152fd5b9091600f81166010811015614257576f181899199a1a9b1b9c1cb0b131b232b360811b901a61422e8486614142565b5360041c9180156142435760001901906141aa565b634e487b7160e01b82526011600452602482fd5b634e487b7160e01b83526032600452602483fd5b634e487b7160e01b81526032600452602490fd5b634e487b7160e01b82526032600452602482fd5b6000906142a06042614126565b916142ae6040519384612dbf565b604283526142bc6042614126565b6020840190601f190136823783511561427f576030905382516001101561426b576078602184015350604160005b600182116142fb5750506141bb5790565b9091600f81166010811015614257576f181899199a1a9b1b9c1cb0b131b232b360811b901a61432a8486614142565b5360041c9180156142435760001901906142ea56fef7c9542c591017a21c74b6f3fab6263c7952fc0aaf9db4c22a2a04ddc7f8674f65d7a28e3265b37a6474929f336521b332c1681b933f6cb9f3376673440d862aa2646970667358221220bdd5d1969569424c3253c3a6d199652dfefd9791eeed974d92313ef1f16e2bbe64736f6c634300081a0033";
|
|
2386
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
2387
|
+
class MockComptroller__factory extends ethers_1.ContractFactory {
|
|
2388
|
+
constructor(...args) {
|
|
2389
|
+
if (isSuperArgs(args)) {
|
|
2390
|
+
super(...args);
|
|
2391
|
+
}
|
|
2392
|
+
else {
|
|
2393
|
+
super(_abi, _bytecode, args[0]);
|
|
2394
|
+
}
|
|
2395
|
+
}
|
|
2396
|
+
getDeployTransaction(_admin, _oracle, overrides) {
|
|
2397
|
+
return super.getDeployTransaction(_admin, _oracle, overrides || {});
|
|
2398
|
+
}
|
|
2399
|
+
deploy(_admin, _oracle, overrides) {
|
|
2400
|
+
return super.deploy(_admin, _oracle, overrides || {});
|
|
2401
|
+
}
|
|
2402
|
+
connect(runner) {
|
|
2403
|
+
return super.connect(runner);
|
|
2404
|
+
}
|
|
2405
|
+
static createInterface() {
|
|
2406
|
+
return new ethers_1.Interface(_abi);
|
|
2407
|
+
}
|
|
2408
|
+
static connect(address, runner) {
|
|
2409
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
2410
|
+
}
|
|
2411
|
+
}
|
|
2412
|
+
exports.MockComptroller__factory = MockComptroller__factory;
|
|
2413
|
+
MockComptroller__factory.bytecode = _bytecode;
|
|
2414
|
+
MockComptroller__factory.abi = _abi;
|
|
2415
|
+
//# sourceMappingURL=MockComptroller__factory.js.map
|