@meterio/sumer-js 0.2.169 → 0.2.171
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 +1 -1
- package/dist/nodejs/abi.d.ts +117 -2
- package/dist/nodejs/abi.js +2712 -127
- package/dist/nodejs/abi.js.map +1 -1
- package/dist/nodejs/constants/arbitrum.js +11 -0
- package/dist/nodejs/constants/arbitrum.js.map +1 -1
- package/dist/nodejs/constants/b2main.js +11 -0
- package/dist/nodejs/constants/b2main.js.map +1 -1
- package/dist/nodejs/constants/basemain.js +11 -0
- package/dist/nodejs/constants/basemain.js.map +1 -1
- package/dist/nodejs/constants/berabartio.js +11 -0
- package/dist/nodejs/constants/berabartio.js.map +1 -1
- package/dist/nodejs/constants/beramain.d.ts +0 -6
- package/dist/nodejs/constants/beramain.js +13 -47
- package/dist/nodejs/constants/beramain.js.map +1 -1
- package/dist/nodejs/constants/bitlayer.js +11 -0
- package/dist/nodejs/constants/bitlayer.js.map +1 -1
- package/dist/nodejs/constants/bsc.js +11 -0
- package/dist/nodejs/constants/bsc.js.map +1 -1
- package/dist/nodejs/constants/core.js +11 -0
- package/dist/nodejs/constants/core.js.map +1 -1
- package/dist/nodejs/constants/ethereum.js +11 -0
- package/dist/nodejs/constants/ethereum.js.map +1 -1
- package/dist/nodejs/constants/goat.d.ts +3 -0
- package/dist/nodejs/constants/goat.js +28 -2
- package/dist/nodejs/constants/goat.js.map +1 -1
- package/dist/nodejs/constants/hemi.js +11 -0
- package/dist/nodejs/constants/hemi.js.map +1 -1
- package/dist/nodejs/constants/metertest.js +11 -0
- package/dist/nodejs/constants/metertest.js.map +1 -1
- package/dist/nodejs/constants/monadtest.js +11 -0
- package/dist/nodejs/constants/monadtest.js.map +1 -1
- package/dist/nodejs/constants/sepolia.d.ts +2 -17
- package/dist/nodejs/constants/sepolia.js +13 -30
- package/dist/nodejs/constants/sepolia.js.map +1 -1
- package/dist/nodejs/constants/zklink.js +11 -0
- package/dist/nodejs/constants/zklink.js.map +1 -1
- package/dist/nodejs/errorABIs.js +946 -13
- package/dist/nodejs/errorABIs.js.map +1 -1
- package/dist/nodejs/index.d.ts +117 -2
- package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.d.ts +966 -0
- package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CCompliantErc20.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.d.ts +966 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/CCompliantErc20.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/CToken/CErc20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/CToken/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/Comptroller/CompoundLens.d.ts +1 -17
- package/dist/nodejs/typechain/contracts/Interfaces/ICTokenExternal.sol/ICToken.d.ts +1 -5
- package/dist/nodejs/typechain/contracts/Interfaces/IPool.d.ts +18 -2
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.d.ts +29 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.d.ts +29 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.d.ts +52 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/ArtBTCAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/FeedPriceOracle.d.ts +14 -36
- package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.d.ts +20 -0
- package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.js +3 -0
- package/dist/nodejs/typechain/contracts/Oracle/FixedPointMathLib.js.map +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter.d.ts +5 -1
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/IDualCore.d.ts +6 -6
- package/dist/nodejs/typechain/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/contracts/Oracle/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.d.ts +1649 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js +2118 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CCompliantErc20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.d.ts +1649 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.js +2118 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/CCompliantErc20__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.js +9 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20Permit.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CEther__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.d.ts +20 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js +27 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/CToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/SuErc20__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js +27 -1
- package/dist/nodejs/typechain/factories/contracts/CToken/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompLogic__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.d.ts +21 -27
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js +28 -35
- package/dist/nodejs/typechain/factories/contracts/Comptroller/CompoundLens__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/Comptroller__factory.js +28 -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 +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/MockComptroller__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Comptroller/RedemptionManager__factory.js +28 -1
- 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/Infrared/CInfraredVault.sol/CInfraredVault__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Infrared/CInfraredVault.sol/CInfraredVault__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.d.ts +0 -10
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js +0 -13
- package/dist/nodejs/typechain/factories/contracts/Interfaces/ICTokenExternal.sol/ICToken__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.d.ts +44 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js +58 -0
- package/dist/nodejs/typechain/factories/contracts/Interfaces/IPool__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.d.ts +54 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.js +82 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/ArtBTCAdapter__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.d.ts +21 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.js +39 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IDepositPool__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.d.ts +38 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.js +61 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/IGoatConfig__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.d.ts +3 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.js +13 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/ArtBTCAdapter.sol/index.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.d.ts +19 -45
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js +25 -58
- package/dist/nodejs/typechain/factories/contracts/Oracle/FeedPriceOracle__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.d.ts +74 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.js +105 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/FixedPointMathLib__factory.js.map +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.d.ts +11 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js +14 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/DualCoreAdapter__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.d.ts +4 -8
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js +4 -10
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/IDualCore__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.d.ts +1 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js +3 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/dualCoreAdapter.sol/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.d.ts +2 -0
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js +4 -1
- package/dist/nodejs/typechain/factories/contracts/Oracle/index.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/SumerErrors__factory.js.map +1 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.d.ts +21 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js +28 -1
- package/dist/nodejs/typechain/factories/contracts/Timelock__factory.js.map +1 -1
- package/dist/nodejs/typechain/hardhat.d.ts +126 -0
- package/dist/nodejs/typechain/index.d.ts +12 -0
- package/dist/nodejs/typechain/index.js +14 -2
- package/dist/nodejs/typechain/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,2118 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.CCompliantErc20__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
|
+
name: "AddReservesMarketNotFresh",
|
|
12
|
+
type: "error",
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
inputs: [],
|
|
16
|
+
name: "AddReservesOverflow",
|
|
17
|
+
type: "error",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
inputs: [],
|
|
21
|
+
name: "BorrowAndDepositBackFailed",
|
|
22
|
+
type: "error",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
inputs: [],
|
|
26
|
+
name: "BorrowCapReached",
|
|
27
|
+
type: "error",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
inputs: [],
|
|
31
|
+
name: "BorrowCashNotAvailable",
|
|
32
|
+
type: "error",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
inputs: [],
|
|
36
|
+
name: "BorrowMarketNotFresh",
|
|
37
|
+
type: "error",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "BorrowPaused",
|
|
42
|
+
type: "error",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
inputs: [
|
|
46
|
+
{
|
|
47
|
+
internalType: "uint256",
|
|
48
|
+
name: "usdThreshold",
|
|
49
|
+
type: "uint256",
|
|
50
|
+
},
|
|
51
|
+
],
|
|
52
|
+
name: "BorrowValueMustBeLargerThanThreshold",
|
|
53
|
+
type: "error",
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
inputs: [],
|
|
57
|
+
name: "CantEnterPausedMarket",
|
|
58
|
+
type: "error",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [],
|
|
62
|
+
name: "CantExitMarketWithNonZeroBorrowBalance",
|
|
63
|
+
type: "error",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [],
|
|
67
|
+
name: "CantSweepUnderlying",
|
|
68
|
+
type: "error",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
inputs: [],
|
|
72
|
+
name: "ComptrollerMismatch",
|
|
73
|
+
type: "error",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
inputs: [],
|
|
77
|
+
name: "EitherAssetOrDebtMustBeZero",
|
|
78
|
+
type: "error",
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
inputs: [
|
|
82
|
+
{
|
|
83
|
+
internalType: "uint8",
|
|
84
|
+
name: "groupId",
|
|
85
|
+
type: "uint8",
|
|
86
|
+
},
|
|
87
|
+
{
|
|
88
|
+
internalType: "uint256",
|
|
89
|
+
name: "cDepositVal",
|
|
90
|
+
type: "uint256",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
internalType: "uint256",
|
|
94
|
+
name: "suDepositVal",
|
|
95
|
+
type: "uint256",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
internalType: "uint256",
|
|
99
|
+
name: "cBorrowVal",
|
|
100
|
+
type: "uint256",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
internalType: "uint256",
|
|
104
|
+
name: "suBorrowVal",
|
|
105
|
+
type: "uint256",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "EitherAssetOrDebtMustBeZeroInGroup",
|
|
109
|
+
type: "error",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [],
|
|
113
|
+
name: "ExpiredSignature",
|
|
114
|
+
type: "error",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [],
|
|
118
|
+
name: "InsufficientCollateral",
|
|
119
|
+
type: "error",
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
inputs: [],
|
|
123
|
+
name: "InsufficientShortfall",
|
|
124
|
+
type: "error",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
inputs: [],
|
|
128
|
+
name: "InterMintNotAllowed",
|
|
129
|
+
type: "error",
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
inputs: [],
|
|
133
|
+
name: "InvalidAddress",
|
|
134
|
+
type: "error",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
inputs: [],
|
|
138
|
+
name: "InvalidAmount",
|
|
139
|
+
type: "error",
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
inputs: [],
|
|
143
|
+
name: "InvalidBlockNumber",
|
|
144
|
+
type: "error",
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
inputs: [],
|
|
148
|
+
name: "InvalidCToken",
|
|
149
|
+
type: "error",
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
inputs: [],
|
|
153
|
+
name: "InvalidCloseFactor",
|
|
154
|
+
type: "error",
|
|
155
|
+
},
|
|
156
|
+
{
|
|
157
|
+
inputs: [],
|
|
158
|
+
name: "InvalidComptroller",
|
|
159
|
+
type: "error",
|
|
160
|
+
},
|
|
161
|
+
{
|
|
162
|
+
inputs: [],
|
|
163
|
+
name: "InvalidDiscountRate",
|
|
164
|
+
type: "error",
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
inputs: [],
|
|
168
|
+
name: "InvalidExchangeRate",
|
|
169
|
+
type: "error",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
inputs: [],
|
|
173
|
+
name: "InvalidGroupId",
|
|
174
|
+
type: "error",
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
inputs: [],
|
|
178
|
+
name: "InvalidInput",
|
|
179
|
+
type: "error",
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
inputs: [],
|
|
183
|
+
name: "InvalidInterestRateModel",
|
|
184
|
+
type: "error",
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
inputs: [],
|
|
188
|
+
name: "InvalidMinSuBorrowValue",
|
|
189
|
+
type: "error",
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
inputs: [],
|
|
193
|
+
name: "InvalidRedeem",
|
|
194
|
+
type: "error",
|
|
195
|
+
},
|
|
196
|
+
{
|
|
197
|
+
inputs: [],
|
|
198
|
+
name: "InvalidReduceAmount",
|
|
199
|
+
type: "error",
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
inputs: [],
|
|
203
|
+
name: "InvalidReserveFactor",
|
|
204
|
+
type: "error",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
inputs: [
|
|
208
|
+
{
|
|
209
|
+
internalType: "address",
|
|
210
|
+
name: "signer",
|
|
211
|
+
type: "address",
|
|
212
|
+
},
|
|
213
|
+
],
|
|
214
|
+
name: "InvalidSignatureForBorrow",
|
|
215
|
+
type: "error",
|
|
216
|
+
},
|
|
217
|
+
{
|
|
218
|
+
inputs: [
|
|
219
|
+
{
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "signer",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
],
|
|
225
|
+
name: "InvalidSignatureForMint",
|
|
226
|
+
type: "error",
|
|
227
|
+
},
|
|
228
|
+
{
|
|
229
|
+
inputs: [],
|
|
230
|
+
name: "InvalidSignatureForRedeemFaceValue",
|
|
231
|
+
type: "error",
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
inputs: [],
|
|
235
|
+
name: "InvalidSignatureLength",
|
|
236
|
+
type: "error",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
inputs: [],
|
|
240
|
+
name: "InvalidSuToken",
|
|
241
|
+
type: "error",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
inputs: [],
|
|
245
|
+
name: "InvalidTimestamp",
|
|
246
|
+
type: "error",
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
inputs: [],
|
|
250
|
+
name: "LiquidateBorrow_LiquidatorIsBorrower",
|
|
251
|
+
type: "error",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
inputs: [],
|
|
255
|
+
name: "LiquidateBorrow_RepayAmountIsMax",
|
|
256
|
+
type: "error",
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
inputs: [],
|
|
260
|
+
name: "LiquidateBorrow_RepayAmountIsZero",
|
|
261
|
+
type: "error",
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
inputs: [],
|
|
265
|
+
name: "LiquidateBorrow_SeizeTooMuch",
|
|
266
|
+
type: "error",
|
|
267
|
+
},
|
|
268
|
+
{
|
|
269
|
+
inputs: [],
|
|
270
|
+
name: "LiquidateCollateralMarketNotFresh",
|
|
271
|
+
type: "error",
|
|
272
|
+
},
|
|
273
|
+
{
|
|
274
|
+
inputs: [],
|
|
275
|
+
name: "LiquidateMarketNotFresh",
|
|
276
|
+
type: "error",
|
|
277
|
+
},
|
|
278
|
+
{
|
|
279
|
+
inputs: [],
|
|
280
|
+
name: "MarketAlreadyListed",
|
|
281
|
+
type: "error",
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
inputs: [],
|
|
285
|
+
name: "MarketAlreadyUnlisted",
|
|
286
|
+
type: "error",
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
inputs: [],
|
|
290
|
+
name: "MarketCanOnlyInitializeOnce",
|
|
291
|
+
type: "error",
|
|
292
|
+
},
|
|
293
|
+
{
|
|
294
|
+
inputs: [],
|
|
295
|
+
name: "MarketNotEmpty",
|
|
296
|
+
type: "error",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
inputs: [],
|
|
300
|
+
name: "MarketNotListed",
|
|
301
|
+
type: "error",
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
inputs: [],
|
|
305
|
+
name: "MarketPaused",
|
|
306
|
+
type: "error",
|
|
307
|
+
},
|
|
308
|
+
{
|
|
309
|
+
inputs: [],
|
|
310
|
+
name: "MinDelayNotReached",
|
|
311
|
+
type: "error",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
inputs: [],
|
|
315
|
+
name: "MintMarketNotFresh",
|
|
316
|
+
type: "error",
|
|
317
|
+
},
|
|
318
|
+
{
|
|
319
|
+
inputs: [],
|
|
320
|
+
name: "MintPaused",
|
|
321
|
+
type: "error",
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
inputs: [],
|
|
325
|
+
name: "MintTokensCantBeZero",
|
|
326
|
+
type: "error",
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
inputs: [],
|
|
330
|
+
name: "NoRedemptionProvider",
|
|
331
|
+
type: "error",
|
|
332
|
+
},
|
|
333
|
+
{
|
|
334
|
+
inputs: [],
|
|
335
|
+
name: "NotCToken",
|
|
336
|
+
type: "error",
|
|
337
|
+
},
|
|
338
|
+
{
|
|
339
|
+
inputs: [],
|
|
340
|
+
name: "NotEnoughForSeize",
|
|
341
|
+
type: "error",
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
inputs: [],
|
|
345
|
+
name: "NotEnoughRedeemAmount",
|
|
346
|
+
type: "error",
|
|
347
|
+
},
|
|
348
|
+
{
|
|
349
|
+
inputs: [],
|
|
350
|
+
name: "NotEnoughRedeemTokens",
|
|
351
|
+
type: "error",
|
|
352
|
+
},
|
|
353
|
+
{
|
|
354
|
+
inputs: [],
|
|
355
|
+
name: "NotEnoughUnderlyingAfterRedeem",
|
|
356
|
+
type: "error",
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
inputs: [],
|
|
360
|
+
name: "NotEnoughUnderlyingForMint",
|
|
361
|
+
type: "error",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
inputs: [],
|
|
365
|
+
name: "NotImplemented",
|
|
366
|
+
type: "error",
|
|
367
|
+
},
|
|
368
|
+
{
|
|
369
|
+
inputs: [],
|
|
370
|
+
name: "NotLiquidatableYet",
|
|
371
|
+
type: "error",
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
inputs: [],
|
|
375
|
+
name: "NotSuToken",
|
|
376
|
+
type: "error",
|
|
377
|
+
},
|
|
378
|
+
{
|
|
379
|
+
inputs: [],
|
|
380
|
+
name: "OnlyAdmin",
|
|
381
|
+
type: "error",
|
|
382
|
+
},
|
|
383
|
+
{
|
|
384
|
+
inputs: [],
|
|
385
|
+
name: "OnlyAdminOrPauser",
|
|
386
|
+
type: "error",
|
|
387
|
+
},
|
|
388
|
+
{
|
|
389
|
+
inputs: [],
|
|
390
|
+
name: "OnlyCToken",
|
|
391
|
+
type: "error",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
inputs: [],
|
|
395
|
+
name: "OnlyListedCToken",
|
|
396
|
+
type: "error",
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
inputs: [],
|
|
400
|
+
name: "OnlyPausedMarketCanBeUnlisted",
|
|
401
|
+
type: "error",
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
inputs: [],
|
|
405
|
+
name: "OnlyPendingAdmin",
|
|
406
|
+
type: "error",
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
inputs: [],
|
|
410
|
+
name: "OnlyRedemptionManager",
|
|
411
|
+
type: "error",
|
|
412
|
+
},
|
|
413
|
+
{
|
|
414
|
+
inputs: [],
|
|
415
|
+
name: "OverThreshold",
|
|
416
|
+
type: "error",
|
|
417
|
+
},
|
|
418
|
+
{
|
|
419
|
+
inputs: [],
|
|
420
|
+
name: "PriceError",
|
|
421
|
+
type: "error",
|
|
422
|
+
},
|
|
423
|
+
{
|
|
424
|
+
inputs: [],
|
|
425
|
+
name: "ProtectedMint_OnlyAllowAssetsInTheSameGroup",
|
|
426
|
+
type: "error",
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
inputs: [],
|
|
430
|
+
name: "RedeemMarketNotFresh",
|
|
431
|
+
type: "error",
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
inputs: [],
|
|
435
|
+
name: "RedeemTransferOutNotPossible",
|
|
436
|
+
type: "error",
|
|
437
|
+
},
|
|
438
|
+
{
|
|
439
|
+
inputs: [],
|
|
440
|
+
name: "RedemptionSeizeTooMuch",
|
|
441
|
+
type: "error",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
inputs: [],
|
|
445
|
+
name: "RedemptionSignerNotInitialized",
|
|
446
|
+
type: "error",
|
|
447
|
+
},
|
|
448
|
+
{
|
|
449
|
+
inputs: [],
|
|
450
|
+
name: "ReduceReservesCashNotAvailable",
|
|
451
|
+
type: "error",
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
inputs: [],
|
|
455
|
+
name: "ReduceReservesMarketNotFresh",
|
|
456
|
+
type: "error",
|
|
457
|
+
},
|
|
458
|
+
{
|
|
459
|
+
inputs: [],
|
|
460
|
+
name: "Reentered",
|
|
461
|
+
type: "error",
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
inputs: [],
|
|
465
|
+
name: "RepayBorrowMarketNotFresh",
|
|
466
|
+
type: "error",
|
|
467
|
+
},
|
|
468
|
+
{
|
|
469
|
+
inputs: [],
|
|
470
|
+
name: "RepayTokenNotListed",
|
|
471
|
+
type: "error",
|
|
472
|
+
},
|
|
473
|
+
{
|
|
474
|
+
inputs: [],
|
|
475
|
+
name: "SeizePaused",
|
|
476
|
+
type: "error",
|
|
477
|
+
},
|
|
478
|
+
{
|
|
479
|
+
inputs: [],
|
|
480
|
+
name: "SeizeTokenNotListed",
|
|
481
|
+
type: "error",
|
|
482
|
+
},
|
|
483
|
+
{
|
|
484
|
+
inputs: [],
|
|
485
|
+
name: "Seize_LiquidatorIsBorrower",
|
|
486
|
+
type: "error",
|
|
487
|
+
},
|
|
488
|
+
{
|
|
489
|
+
inputs: [],
|
|
490
|
+
name: "SenderMustBeCToken",
|
|
491
|
+
type: "error",
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
inputs: [],
|
|
495
|
+
name: "SetInterestRateModelMarketNotFresh",
|
|
496
|
+
type: "error",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
inputs: [],
|
|
500
|
+
name: "SetReservesFactorMarketNotFresh",
|
|
501
|
+
type: "error",
|
|
502
|
+
},
|
|
503
|
+
{
|
|
504
|
+
inputs: [],
|
|
505
|
+
name: "SupplyCapReached",
|
|
506
|
+
type: "error",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [],
|
|
510
|
+
name: "TokenInOrAmountInMustBeZero",
|
|
511
|
+
type: "error",
|
|
512
|
+
},
|
|
513
|
+
{
|
|
514
|
+
inputs: [],
|
|
515
|
+
name: "TokenTransferInFailed",
|
|
516
|
+
type: "error",
|
|
517
|
+
},
|
|
518
|
+
{
|
|
519
|
+
inputs: [],
|
|
520
|
+
name: "TokenTransferOutFailed",
|
|
521
|
+
type: "error",
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
inputs: [],
|
|
525
|
+
name: "TooMuchRepay",
|
|
526
|
+
type: "error",
|
|
527
|
+
},
|
|
528
|
+
{
|
|
529
|
+
inputs: [],
|
|
530
|
+
name: "TotalBorrowsNotZero",
|
|
531
|
+
type: "error",
|
|
532
|
+
},
|
|
533
|
+
{
|
|
534
|
+
inputs: [],
|
|
535
|
+
name: "TotalSupplyNotZero",
|
|
536
|
+
type: "error",
|
|
537
|
+
},
|
|
538
|
+
{
|
|
539
|
+
inputs: [],
|
|
540
|
+
name: "TransferNotAllowed",
|
|
541
|
+
type: "error",
|
|
542
|
+
},
|
|
543
|
+
{
|
|
544
|
+
inputs: [],
|
|
545
|
+
name: "TransferPaused",
|
|
546
|
+
type: "error",
|
|
547
|
+
},
|
|
548
|
+
{
|
|
549
|
+
inputs: [],
|
|
550
|
+
name: "UnderlyingBalanceError",
|
|
551
|
+
type: "error",
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
inputs: [],
|
|
555
|
+
name: "ZeroAddressNotAllowed",
|
|
556
|
+
type: "error",
|
|
557
|
+
},
|
|
558
|
+
{
|
|
559
|
+
anonymous: false,
|
|
560
|
+
inputs: [
|
|
561
|
+
{
|
|
562
|
+
indexed: false,
|
|
563
|
+
internalType: "uint256",
|
|
564
|
+
name: "cashPrior",
|
|
565
|
+
type: "uint256",
|
|
566
|
+
},
|
|
567
|
+
{
|
|
568
|
+
indexed: false,
|
|
569
|
+
internalType: "uint256",
|
|
570
|
+
name: "interestAccumulated",
|
|
571
|
+
type: "uint256",
|
|
572
|
+
},
|
|
573
|
+
{
|
|
574
|
+
indexed: false,
|
|
575
|
+
internalType: "uint256",
|
|
576
|
+
name: "borrowIndex",
|
|
577
|
+
type: "uint256",
|
|
578
|
+
},
|
|
579
|
+
{
|
|
580
|
+
indexed: false,
|
|
581
|
+
internalType: "uint256",
|
|
582
|
+
name: "totalBorrows",
|
|
583
|
+
type: "uint256",
|
|
584
|
+
},
|
|
585
|
+
],
|
|
586
|
+
name: "AccrueInterest",
|
|
587
|
+
type: "event",
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
anonymous: false,
|
|
591
|
+
inputs: [
|
|
592
|
+
{
|
|
593
|
+
indexed: true,
|
|
594
|
+
internalType: "address",
|
|
595
|
+
name: "owner",
|
|
596
|
+
type: "address",
|
|
597
|
+
},
|
|
598
|
+
{
|
|
599
|
+
indexed: true,
|
|
600
|
+
internalType: "address",
|
|
601
|
+
name: "spender",
|
|
602
|
+
type: "address",
|
|
603
|
+
},
|
|
604
|
+
{
|
|
605
|
+
indexed: false,
|
|
606
|
+
internalType: "uint256",
|
|
607
|
+
name: "amount",
|
|
608
|
+
type: "uint256",
|
|
609
|
+
},
|
|
610
|
+
],
|
|
611
|
+
name: "Approval",
|
|
612
|
+
type: "event",
|
|
613
|
+
},
|
|
614
|
+
{
|
|
615
|
+
anonymous: false,
|
|
616
|
+
inputs: [
|
|
617
|
+
{
|
|
618
|
+
indexed: false,
|
|
619
|
+
internalType: "address",
|
|
620
|
+
name: "borrower",
|
|
621
|
+
type: "address",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
indexed: false,
|
|
625
|
+
internalType: "uint256",
|
|
626
|
+
name: "borrowAmount",
|
|
627
|
+
type: "uint256",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
indexed: false,
|
|
631
|
+
internalType: "uint256",
|
|
632
|
+
name: "accountBorrows",
|
|
633
|
+
type: "uint256",
|
|
634
|
+
},
|
|
635
|
+
{
|
|
636
|
+
indexed: false,
|
|
637
|
+
internalType: "uint256",
|
|
638
|
+
name: "totalBorrows",
|
|
639
|
+
type: "uint256",
|
|
640
|
+
},
|
|
641
|
+
],
|
|
642
|
+
name: "Borrow",
|
|
643
|
+
type: "event",
|
|
644
|
+
},
|
|
645
|
+
{
|
|
646
|
+
anonymous: false,
|
|
647
|
+
inputs: [
|
|
648
|
+
{
|
|
649
|
+
indexed: false,
|
|
650
|
+
internalType: "uint8",
|
|
651
|
+
name: "version",
|
|
652
|
+
type: "uint8",
|
|
653
|
+
},
|
|
654
|
+
],
|
|
655
|
+
name: "Initialized",
|
|
656
|
+
type: "event",
|
|
657
|
+
},
|
|
658
|
+
{
|
|
659
|
+
anonymous: false,
|
|
660
|
+
inputs: [
|
|
661
|
+
{
|
|
662
|
+
indexed: false,
|
|
663
|
+
internalType: "address",
|
|
664
|
+
name: "liquidator",
|
|
665
|
+
type: "address",
|
|
666
|
+
},
|
|
667
|
+
{
|
|
668
|
+
indexed: false,
|
|
669
|
+
internalType: "address",
|
|
670
|
+
name: "borrower",
|
|
671
|
+
type: "address",
|
|
672
|
+
},
|
|
673
|
+
{
|
|
674
|
+
indexed: false,
|
|
675
|
+
internalType: "uint256",
|
|
676
|
+
name: "repayAmount",
|
|
677
|
+
type: "uint256",
|
|
678
|
+
},
|
|
679
|
+
{
|
|
680
|
+
indexed: false,
|
|
681
|
+
internalType: "address",
|
|
682
|
+
name: "cTokenCollateral",
|
|
683
|
+
type: "address",
|
|
684
|
+
},
|
|
685
|
+
{
|
|
686
|
+
indexed: false,
|
|
687
|
+
internalType: "uint256",
|
|
688
|
+
name: "seizeTokens",
|
|
689
|
+
type: "uint256",
|
|
690
|
+
},
|
|
691
|
+
],
|
|
692
|
+
name: "LiquidateBorrow",
|
|
693
|
+
type: "event",
|
|
694
|
+
},
|
|
695
|
+
{
|
|
696
|
+
anonymous: false,
|
|
697
|
+
inputs: [
|
|
698
|
+
{
|
|
699
|
+
indexed: false,
|
|
700
|
+
internalType: "address",
|
|
701
|
+
name: "minter",
|
|
702
|
+
type: "address",
|
|
703
|
+
},
|
|
704
|
+
{
|
|
705
|
+
indexed: false,
|
|
706
|
+
internalType: "uint256",
|
|
707
|
+
name: "mintAmount",
|
|
708
|
+
type: "uint256",
|
|
709
|
+
},
|
|
710
|
+
{
|
|
711
|
+
indexed: false,
|
|
712
|
+
internalType: "uint256",
|
|
713
|
+
name: "mintTokens",
|
|
714
|
+
type: "uint256",
|
|
715
|
+
},
|
|
716
|
+
],
|
|
717
|
+
name: "Mint",
|
|
718
|
+
type: "event",
|
|
719
|
+
},
|
|
720
|
+
{
|
|
721
|
+
anonymous: false,
|
|
722
|
+
inputs: [
|
|
723
|
+
{
|
|
724
|
+
indexed: false,
|
|
725
|
+
internalType: "address",
|
|
726
|
+
name: "oldAdmin",
|
|
727
|
+
type: "address",
|
|
728
|
+
},
|
|
729
|
+
{
|
|
730
|
+
indexed: false,
|
|
731
|
+
internalType: "address",
|
|
732
|
+
name: "newAdmin",
|
|
733
|
+
type: "address",
|
|
734
|
+
},
|
|
735
|
+
],
|
|
736
|
+
name: "NewAdmin",
|
|
737
|
+
type: "event",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
anonymous: false,
|
|
741
|
+
inputs: [
|
|
742
|
+
{
|
|
743
|
+
indexed: false,
|
|
744
|
+
internalType: "address",
|
|
745
|
+
name: "oldComptroller",
|
|
746
|
+
type: "address",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
indexed: false,
|
|
750
|
+
internalType: "address",
|
|
751
|
+
name: "newComptroller",
|
|
752
|
+
type: "address",
|
|
753
|
+
},
|
|
754
|
+
],
|
|
755
|
+
name: "NewComptroller",
|
|
756
|
+
type: "event",
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
anonymous: false,
|
|
760
|
+
inputs: [
|
|
761
|
+
{
|
|
762
|
+
indexed: false,
|
|
763
|
+
internalType: "uint256",
|
|
764
|
+
name: "oldDiscountRateMantissa",
|
|
765
|
+
type: "uint256",
|
|
766
|
+
},
|
|
767
|
+
{
|
|
768
|
+
indexed: false,
|
|
769
|
+
internalType: "uint256",
|
|
770
|
+
name: "newDiscountRateMantissa",
|
|
771
|
+
type: "uint256",
|
|
772
|
+
},
|
|
773
|
+
],
|
|
774
|
+
name: "NewDiscountRate",
|
|
775
|
+
type: "event",
|
|
776
|
+
},
|
|
777
|
+
{
|
|
778
|
+
anonymous: false,
|
|
779
|
+
inputs: [
|
|
780
|
+
{
|
|
781
|
+
indexed: false,
|
|
782
|
+
internalType: "address",
|
|
783
|
+
name: "oldInterestRateModel",
|
|
784
|
+
type: "address",
|
|
785
|
+
},
|
|
786
|
+
{
|
|
787
|
+
indexed: false,
|
|
788
|
+
internalType: "address",
|
|
789
|
+
name: "newInterestRateModel",
|
|
790
|
+
type: "address",
|
|
791
|
+
},
|
|
792
|
+
],
|
|
793
|
+
name: "NewMarketInterestRateModel",
|
|
794
|
+
type: "event",
|
|
795
|
+
},
|
|
796
|
+
{
|
|
797
|
+
anonymous: false,
|
|
798
|
+
inputs: [
|
|
799
|
+
{
|
|
800
|
+
indexed: false,
|
|
801
|
+
internalType: "address",
|
|
802
|
+
name: "oldPendingAdmin",
|
|
803
|
+
type: "address",
|
|
804
|
+
},
|
|
805
|
+
{
|
|
806
|
+
indexed: false,
|
|
807
|
+
internalType: "address",
|
|
808
|
+
name: "newPendingAdmin",
|
|
809
|
+
type: "address",
|
|
810
|
+
},
|
|
811
|
+
],
|
|
812
|
+
name: "NewPendingAdmin",
|
|
813
|
+
type: "event",
|
|
814
|
+
},
|
|
815
|
+
{
|
|
816
|
+
anonymous: false,
|
|
817
|
+
inputs: [
|
|
818
|
+
{
|
|
819
|
+
indexed: false,
|
|
820
|
+
internalType: "uint256",
|
|
821
|
+
name: "oldReserveFactorMantissa",
|
|
822
|
+
type: "uint256",
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
indexed: false,
|
|
826
|
+
internalType: "uint256",
|
|
827
|
+
name: "newReserveFactorMantissa",
|
|
828
|
+
type: "uint256",
|
|
829
|
+
},
|
|
830
|
+
],
|
|
831
|
+
name: "NewReserveFactor",
|
|
832
|
+
type: "event",
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
anonymous: false,
|
|
836
|
+
inputs: [
|
|
837
|
+
{
|
|
838
|
+
indexed: false,
|
|
839
|
+
internalType: "address",
|
|
840
|
+
name: "redeemer",
|
|
841
|
+
type: "address",
|
|
842
|
+
},
|
|
843
|
+
{
|
|
844
|
+
indexed: false,
|
|
845
|
+
internalType: "uint256",
|
|
846
|
+
name: "redeemAmount",
|
|
847
|
+
type: "uint256",
|
|
848
|
+
},
|
|
849
|
+
{
|
|
850
|
+
indexed: false,
|
|
851
|
+
internalType: "uint256",
|
|
852
|
+
name: "redeemTokens",
|
|
853
|
+
type: "uint256",
|
|
854
|
+
},
|
|
855
|
+
],
|
|
856
|
+
name: "Redeem",
|
|
857
|
+
type: "event",
|
|
858
|
+
},
|
|
859
|
+
{
|
|
860
|
+
anonymous: false,
|
|
861
|
+
inputs: [
|
|
862
|
+
{
|
|
863
|
+
indexed: true,
|
|
864
|
+
internalType: "address",
|
|
865
|
+
name: "redeemer",
|
|
866
|
+
type: "address",
|
|
867
|
+
},
|
|
868
|
+
{
|
|
869
|
+
indexed: true,
|
|
870
|
+
internalType: "address",
|
|
871
|
+
name: "provider",
|
|
872
|
+
type: "address",
|
|
873
|
+
},
|
|
874
|
+
{
|
|
875
|
+
indexed: false,
|
|
876
|
+
internalType: "uint256",
|
|
877
|
+
name: "repayAmount",
|
|
878
|
+
type: "uint256",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
indexed: false,
|
|
882
|
+
internalType: "address",
|
|
883
|
+
name: "seizeToken",
|
|
884
|
+
type: "address",
|
|
885
|
+
},
|
|
886
|
+
{
|
|
887
|
+
indexed: false,
|
|
888
|
+
internalType: "uint256",
|
|
889
|
+
name: "seizeAmount",
|
|
890
|
+
type: "uint256",
|
|
891
|
+
},
|
|
892
|
+
{
|
|
893
|
+
indexed: false,
|
|
894
|
+
internalType: "uint256",
|
|
895
|
+
name: "redemptionRateMantissa",
|
|
896
|
+
type: "uint256",
|
|
897
|
+
},
|
|
898
|
+
],
|
|
899
|
+
name: "RedeemFaceValue",
|
|
900
|
+
type: "event",
|
|
901
|
+
},
|
|
902
|
+
{
|
|
903
|
+
anonymous: false,
|
|
904
|
+
inputs: [
|
|
905
|
+
{
|
|
906
|
+
indexed: false,
|
|
907
|
+
internalType: "address",
|
|
908
|
+
name: "payer",
|
|
909
|
+
type: "address",
|
|
910
|
+
},
|
|
911
|
+
{
|
|
912
|
+
indexed: false,
|
|
913
|
+
internalType: "address",
|
|
914
|
+
name: "borrower",
|
|
915
|
+
type: "address",
|
|
916
|
+
},
|
|
917
|
+
{
|
|
918
|
+
indexed: false,
|
|
919
|
+
internalType: "uint256",
|
|
920
|
+
name: "repayAmount",
|
|
921
|
+
type: "uint256",
|
|
922
|
+
},
|
|
923
|
+
{
|
|
924
|
+
indexed: false,
|
|
925
|
+
internalType: "uint256",
|
|
926
|
+
name: "accountBorrows",
|
|
927
|
+
type: "uint256",
|
|
928
|
+
},
|
|
929
|
+
{
|
|
930
|
+
indexed: false,
|
|
931
|
+
internalType: "uint256",
|
|
932
|
+
name: "totalBorrows",
|
|
933
|
+
type: "uint256",
|
|
934
|
+
},
|
|
935
|
+
],
|
|
936
|
+
name: "RepayBorrow",
|
|
937
|
+
type: "event",
|
|
938
|
+
},
|
|
939
|
+
{
|
|
940
|
+
anonymous: false,
|
|
941
|
+
inputs: [
|
|
942
|
+
{
|
|
943
|
+
indexed: false,
|
|
944
|
+
internalType: "address",
|
|
945
|
+
name: "benefactor",
|
|
946
|
+
type: "address",
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
indexed: false,
|
|
950
|
+
internalType: "uint256",
|
|
951
|
+
name: "addAmount",
|
|
952
|
+
type: "uint256",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
indexed: false,
|
|
956
|
+
internalType: "uint256",
|
|
957
|
+
name: "newTotalReserves",
|
|
958
|
+
type: "uint256",
|
|
959
|
+
},
|
|
960
|
+
],
|
|
961
|
+
name: "ReservesAdded",
|
|
962
|
+
type: "event",
|
|
963
|
+
},
|
|
964
|
+
{
|
|
965
|
+
anonymous: false,
|
|
966
|
+
inputs: [
|
|
967
|
+
{
|
|
968
|
+
indexed: false,
|
|
969
|
+
internalType: "address",
|
|
970
|
+
name: "admin",
|
|
971
|
+
type: "address",
|
|
972
|
+
},
|
|
973
|
+
{
|
|
974
|
+
indexed: false,
|
|
975
|
+
internalType: "uint256",
|
|
976
|
+
name: "reduceAmount",
|
|
977
|
+
type: "uint256",
|
|
978
|
+
},
|
|
979
|
+
{
|
|
980
|
+
indexed: false,
|
|
981
|
+
internalType: "uint256",
|
|
982
|
+
name: "newTotalReserves",
|
|
983
|
+
type: "uint256",
|
|
984
|
+
},
|
|
985
|
+
],
|
|
986
|
+
name: "ReservesReduced",
|
|
987
|
+
type: "event",
|
|
988
|
+
},
|
|
989
|
+
{
|
|
990
|
+
anonymous: false,
|
|
991
|
+
inputs: [
|
|
992
|
+
{
|
|
993
|
+
indexed: true,
|
|
994
|
+
internalType: "address",
|
|
995
|
+
name: "from",
|
|
996
|
+
type: "address",
|
|
997
|
+
},
|
|
998
|
+
{
|
|
999
|
+
indexed: true,
|
|
1000
|
+
internalType: "address",
|
|
1001
|
+
name: "to",
|
|
1002
|
+
type: "address",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
indexed: false,
|
|
1006
|
+
internalType: "uint256",
|
|
1007
|
+
name: "amount",
|
|
1008
|
+
type: "uint256",
|
|
1009
|
+
},
|
|
1010
|
+
],
|
|
1011
|
+
name: "Transfer",
|
|
1012
|
+
type: "event",
|
|
1013
|
+
},
|
|
1014
|
+
{
|
|
1015
|
+
inputs: [],
|
|
1016
|
+
name: "_acceptAdmin",
|
|
1017
|
+
outputs: [],
|
|
1018
|
+
stateMutability: "nonpayable",
|
|
1019
|
+
type: "function",
|
|
1020
|
+
},
|
|
1021
|
+
{
|
|
1022
|
+
inputs: [
|
|
1023
|
+
{
|
|
1024
|
+
internalType: "uint256",
|
|
1025
|
+
name: "addAmount",
|
|
1026
|
+
type: "uint256",
|
|
1027
|
+
},
|
|
1028
|
+
],
|
|
1029
|
+
name: "_addReserves",
|
|
1030
|
+
outputs: [],
|
|
1031
|
+
stateMutability: "nonpayable",
|
|
1032
|
+
type: "function",
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
inputs: [
|
|
1036
|
+
{
|
|
1037
|
+
internalType: "uint256",
|
|
1038
|
+
name: "reduceAmount",
|
|
1039
|
+
type: "uint256",
|
|
1040
|
+
},
|
|
1041
|
+
],
|
|
1042
|
+
name: "_reduceReserves",
|
|
1043
|
+
outputs: [],
|
|
1044
|
+
stateMutability: "nonpayable",
|
|
1045
|
+
type: "function",
|
|
1046
|
+
},
|
|
1047
|
+
{
|
|
1048
|
+
inputs: [
|
|
1049
|
+
{
|
|
1050
|
+
internalType: "address",
|
|
1051
|
+
name: "newComptroller",
|
|
1052
|
+
type: "address",
|
|
1053
|
+
},
|
|
1054
|
+
],
|
|
1055
|
+
name: "_setComptroller",
|
|
1056
|
+
outputs: [],
|
|
1057
|
+
stateMutability: "nonpayable",
|
|
1058
|
+
type: "function",
|
|
1059
|
+
},
|
|
1060
|
+
{
|
|
1061
|
+
inputs: [
|
|
1062
|
+
{
|
|
1063
|
+
internalType: "uint256",
|
|
1064
|
+
name: "discountRateMantissa_",
|
|
1065
|
+
type: "uint256",
|
|
1066
|
+
},
|
|
1067
|
+
],
|
|
1068
|
+
name: "_setDiscountRate",
|
|
1069
|
+
outputs: [
|
|
1070
|
+
{
|
|
1071
|
+
internalType: "uint256",
|
|
1072
|
+
name: "",
|
|
1073
|
+
type: "uint256",
|
|
1074
|
+
},
|
|
1075
|
+
],
|
|
1076
|
+
stateMutability: "nonpayable",
|
|
1077
|
+
type: "function",
|
|
1078
|
+
},
|
|
1079
|
+
{
|
|
1080
|
+
inputs: [
|
|
1081
|
+
{
|
|
1082
|
+
internalType: "address",
|
|
1083
|
+
name: "newInterestRateModel",
|
|
1084
|
+
type: "address",
|
|
1085
|
+
},
|
|
1086
|
+
],
|
|
1087
|
+
name: "_setInterestRateModel",
|
|
1088
|
+
outputs: [],
|
|
1089
|
+
stateMutability: "nonpayable",
|
|
1090
|
+
type: "function",
|
|
1091
|
+
},
|
|
1092
|
+
{
|
|
1093
|
+
inputs: [
|
|
1094
|
+
{
|
|
1095
|
+
internalType: "address payable",
|
|
1096
|
+
name: "newPendingAdmin",
|
|
1097
|
+
type: "address",
|
|
1098
|
+
},
|
|
1099
|
+
],
|
|
1100
|
+
name: "_setPendingAdmin",
|
|
1101
|
+
outputs: [],
|
|
1102
|
+
stateMutability: "nonpayable",
|
|
1103
|
+
type: "function",
|
|
1104
|
+
},
|
|
1105
|
+
{
|
|
1106
|
+
inputs: [
|
|
1107
|
+
{
|
|
1108
|
+
internalType: "uint256",
|
|
1109
|
+
name: "newReserveFactorMantissa",
|
|
1110
|
+
type: "uint256",
|
|
1111
|
+
},
|
|
1112
|
+
],
|
|
1113
|
+
name: "_setReserveFactor",
|
|
1114
|
+
outputs: [],
|
|
1115
|
+
stateMutability: "nonpayable",
|
|
1116
|
+
type: "function",
|
|
1117
|
+
},
|
|
1118
|
+
{
|
|
1119
|
+
inputs: [],
|
|
1120
|
+
name: "_syncUnderlyingBalance",
|
|
1121
|
+
outputs: [],
|
|
1122
|
+
stateMutability: "nonpayable",
|
|
1123
|
+
type: "function",
|
|
1124
|
+
},
|
|
1125
|
+
{
|
|
1126
|
+
inputs: [],
|
|
1127
|
+
name: "accrualBlockTimestamp",
|
|
1128
|
+
outputs: [
|
|
1129
|
+
{
|
|
1130
|
+
internalType: "uint256",
|
|
1131
|
+
name: "",
|
|
1132
|
+
type: "uint256",
|
|
1133
|
+
},
|
|
1134
|
+
],
|
|
1135
|
+
stateMutability: "view",
|
|
1136
|
+
type: "function",
|
|
1137
|
+
},
|
|
1138
|
+
{
|
|
1139
|
+
inputs: [],
|
|
1140
|
+
name: "accrueInterest",
|
|
1141
|
+
outputs: [],
|
|
1142
|
+
stateMutability: "nonpayable",
|
|
1143
|
+
type: "function",
|
|
1144
|
+
},
|
|
1145
|
+
{
|
|
1146
|
+
inputs: [],
|
|
1147
|
+
name: "admin",
|
|
1148
|
+
outputs: [
|
|
1149
|
+
{
|
|
1150
|
+
internalType: "address payable",
|
|
1151
|
+
name: "",
|
|
1152
|
+
type: "address",
|
|
1153
|
+
},
|
|
1154
|
+
],
|
|
1155
|
+
stateMutability: "view",
|
|
1156
|
+
type: "function",
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
inputs: [
|
|
1160
|
+
{
|
|
1161
|
+
internalType: "address",
|
|
1162
|
+
name: "owner",
|
|
1163
|
+
type: "address",
|
|
1164
|
+
},
|
|
1165
|
+
{
|
|
1166
|
+
internalType: "address",
|
|
1167
|
+
name: "spender",
|
|
1168
|
+
type: "address",
|
|
1169
|
+
},
|
|
1170
|
+
],
|
|
1171
|
+
name: "allowance",
|
|
1172
|
+
outputs: [
|
|
1173
|
+
{
|
|
1174
|
+
internalType: "uint256",
|
|
1175
|
+
name: "",
|
|
1176
|
+
type: "uint256",
|
|
1177
|
+
},
|
|
1178
|
+
],
|
|
1179
|
+
stateMutability: "view",
|
|
1180
|
+
type: "function",
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
inputs: [
|
|
1184
|
+
{
|
|
1185
|
+
internalType: "address",
|
|
1186
|
+
name: "spender",
|
|
1187
|
+
type: "address",
|
|
1188
|
+
},
|
|
1189
|
+
{
|
|
1190
|
+
internalType: "uint256",
|
|
1191
|
+
name: "amount",
|
|
1192
|
+
type: "uint256",
|
|
1193
|
+
},
|
|
1194
|
+
],
|
|
1195
|
+
name: "approve",
|
|
1196
|
+
outputs: [
|
|
1197
|
+
{
|
|
1198
|
+
internalType: "bool",
|
|
1199
|
+
name: "",
|
|
1200
|
+
type: "bool",
|
|
1201
|
+
},
|
|
1202
|
+
],
|
|
1203
|
+
stateMutability: "nonpayable",
|
|
1204
|
+
type: "function",
|
|
1205
|
+
},
|
|
1206
|
+
{
|
|
1207
|
+
inputs: [
|
|
1208
|
+
{
|
|
1209
|
+
internalType: "address",
|
|
1210
|
+
name: "owner",
|
|
1211
|
+
type: "address",
|
|
1212
|
+
},
|
|
1213
|
+
],
|
|
1214
|
+
name: "balanceOf",
|
|
1215
|
+
outputs: [
|
|
1216
|
+
{
|
|
1217
|
+
internalType: "uint256",
|
|
1218
|
+
name: "",
|
|
1219
|
+
type: "uint256",
|
|
1220
|
+
},
|
|
1221
|
+
],
|
|
1222
|
+
stateMutability: "view",
|
|
1223
|
+
type: "function",
|
|
1224
|
+
},
|
|
1225
|
+
{
|
|
1226
|
+
inputs: [
|
|
1227
|
+
{
|
|
1228
|
+
internalType: "address",
|
|
1229
|
+
name: "owner",
|
|
1230
|
+
type: "address",
|
|
1231
|
+
},
|
|
1232
|
+
],
|
|
1233
|
+
name: "balanceOfUnderlying",
|
|
1234
|
+
outputs: [
|
|
1235
|
+
{
|
|
1236
|
+
internalType: "uint256",
|
|
1237
|
+
name: "",
|
|
1238
|
+
type: "uint256",
|
|
1239
|
+
},
|
|
1240
|
+
],
|
|
1241
|
+
stateMutability: "nonpayable",
|
|
1242
|
+
type: "function",
|
|
1243
|
+
},
|
|
1244
|
+
{
|
|
1245
|
+
inputs: [
|
|
1246
|
+
{
|
|
1247
|
+
internalType: "uint256",
|
|
1248
|
+
name: "borrowAmount",
|
|
1249
|
+
type: "uint256",
|
|
1250
|
+
},
|
|
1251
|
+
],
|
|
1252
|
+
name: "borrow",
|
|
1253
|
+
outputs: [],
|
|
1254
|
+
stateMutability: "nonpayable",
|
|
1255
|
+
type: "function",
|
|
1256
|
+
},
|
|
1257
|
+
{
|
|
1258
|
+
inputs: [
|
|
1259
|
+
{
|
|
1260
|
+
internalType: "address",
|
|
1261
|
+
name: "borrower",
|
|
1262
|
+
type: "address",
|
|
1263
|
+
},
|
|
1264
|
+
{
|
|
1265
|
+
internalType: "uint256",
|
|
1266
|
+
name: "borrowAmount",
|
|
1267
|
+
type: "uint256",
|
|
1268
|
+
},
|
|
1269
|
+
],
|
|
1270
|
+
name: "borrowAndDepositBack",
|
|
1271
|
+
outputs: [],
|
|
1272
|
+
stateMutability: "nonpayable",
|
|
1273
|
+
type: "function",
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
inputs: [
|
|
1277
|
+
{
|
|
1278
|
+
internalType: "address",
|
|
1279
|
+
name: "account",
|
|
1280
|
+
type: "address",
|
|
1281
|
+
},
|
|
1282
|
+
],
|
|
1283
|
+
name: "borrowBalanceCurrent",
|
|
1284
|
+
outputs: [
|
|
1285
|
+
{
|
|
1286
|
+
internalType: "uint256",
|
|
1287
|
+
name: "",
|
|
1288
|
+
type: "uint256",
|
|
1289
|
+
},
|
|
1290
|
+
],
|
|
1291
|
+
stateMutability: "nonpayable",
|
|
1292
|
+
type: "function",
|
|
1293
|
+
},
|
|
1294
|
+
{
|
|
1295
|
+
inputs: [
|
|
1296
|
+
{
|
|
1297
|
+
internalType: "address",
|
|
1298
|
+
name: "account",
|
|
1299
|
+
type: "address",
|
|
1300
|
+
},
|
|
1301
|
+
],
|
|
1302
|
+
name: "borrowBalanceStored",
|
|
1303
|
+
outputs: [
|
|
1304
|
+
{
|
|
1305
|
+
internalType: "uint256",
|
|
1306
|
+
name: "",
|
|
1307
|
+
type: "uint256",
|
|
1308
|
+
},
|
|
1309
|
+
],
|
|
1310
|
+
stateMutability: "view",
|
|
1311
|
+
type: "function",
|
|
1312
|
+
},
|
|
1313
|
+
{
|
|
1314
|
+
inputs: [],
|
|
1315
|
+
name: "borrowIndex",
|
|
1316
|
+
outputs: [
|
|
1317
|
+
{
|
|
1318
|
+
internalType: "uint256",
|
|
1319
|
+
name: "",
|
|
1320
|
+
type: "uint256",
|
|
1321
|
+
},
|
|
1322
|
+
],
|
|
1323
|
+
stateMutability: "view",
|
|
1324
|
+
type: "function",
|
|
1325
|
+
},
|
|
1326
|
+
{
|
|
1327
|
+
inputs: [],
|
|
1328
|
+
name: "borrowRatePerBlock",
|
|
1329
|
+
outputs: [
|
|
1330
|
+
{
|
|
1331
|
+
internalType: "uint256",
|
|
1332
|
+
name: "",
|
|
1333
|
+
type: "uint256",
|
|
1334
|
+
},
|
|
1335
|
+
],
|
|
1336
|
+
stateMutability: "view",
|
|
1337
|
+
type: "function",
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
inputs: [
|
|
1341
|
+
{
|
|
1342
|
+
internalType: "uint256",
|
|
1343
|
+
name: "borrowAmount",
|
|
1344
|
+
type: "uint256",
|
|
1345
|
+
},
|
|
1346
|
+
{
|
|
1347
|
+
internalType: "uint256",
|
|
1348
|
+
name: "allowedAmount",
|
|
1349
|
+
type: "uint256",
|
|
1350
|
+
},
|
|
1351
|
+
{
|
|
1352
|
+
internalType: "bytes",
|
|
1353
|
+
name: "extras",
|
|
1354
|
+
type: "bytes",
|
|
1355
|
+
},
|
|
1356
|
+
{
|
|
1357
|
+
internalType: "bytes",
|
|
1358
|
+
name: "signature",
|
|
1359
|
+
type: "bytes",
|
|
1360
|
+
},
|
|
1361
|
+
],
|
|
1362
|
+
name: "compliantBorrow",
|
|
1363
|
+
outputs: [],
|
|
1364
|
+
stateMutability: "nonpayable",
|
|
1365
|
+
type: "function",
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
inputs: [
|
|
1369
|
+
{
|
|
1370
|
+
internalType: "uint256",
|
|
1371
|
+
name: "mintAmount",
|
|
1372
|
+
type: "uint256",
|
|
1373
|
+
},
|
|
1374
|
+
{
|
|
1375
|
+
internalType: "uint256",
|
|
1376
|
+
name: "allowedAmount",
|
|
1377
|
+
type: "uint256",
|
|
1378
|
+
},
|
|
1379
|
+
{
|
|
1380
|
+
internalType: "bytes",
|
|
1381
|
+
name: "extras",
|
|
1382
|
+
type: "bytes",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
internalType: "bytes",
|
|
1386
|
+
name: "signature",
|
|
1387
|
+
type: "bytes",
|
|
1388
|
+
},
|
|
1389
|
+
],
|
|
1390
|
+
name: "compliantMint",
|
|
1391
|
+
outputs: [],
|
|
1392
|
+
stateMutability: "nonpayable",
|
|
1393
|
+
type: "function",
|
|
1394
|
+
},
|
|
1395
|
+
{
|
|
1396
|
+
inputs: [],
|
|
1397
|
+
name: "comptroller",
|
|
1398
|
+
outputs: [
|
|
1399
|
+
{
|
|
1400
|
+
internalType: "address",
|
|
1401
|
+
name: "",
|
|
1402
|
+
type: "address",
|
|
1403
|
+
},
|
|
1404
|
+
],
|
|
1405
|
+
stateMutability: "view",
|
|
1406
|
+
type: "function",
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
inputs: [],
|
|
1410
|
+
name: "decimals",
|
|
1411
|
+
outputs: [
|
|
1412
|
+
{
|
|
1413
|
+
internalType: "uint8",
|
|
1414
|
+
name: "",
|
|
1415
|
+
type: "uint8",
|
|
1416
|
+
},
|
|
1417
|
+
],
|
|
1418
|
+
stateMutability: "view",
|
|
1419
|
+
type: "function",
|
|
1420
|
+
},
|
|
1421
|
+
{
|
|
1422
|
+
inputs: [],
|
|
1423
|
+
name: "discountRateMantissa",
|
|
1424
|
+
outputs: [
|
|
1425
|
+
{
|
|
1426
|
+
internalType: "uint256",
|
|
1427
|
+
name: "",
|
|
1428
|
+
type: "uint256",
|
|
1429
|
+
},
|
|
1430
|
+
],
|
|
1431
|
+
stateMutability: "view",
|
|
1432
|
+
type: "function",
|
|
1433
|
+
},
|
|
1434
|
+
{
|
|
1435
|
+
inputs: [],
|
|
1436
|
+
name: "exchangeRateCurrent",
|
|
1437
|
+
outputs: [
|
|
1438
|
+
{
|
|
1439
|
+
internalType: "uint256",
|
|
1440
|
+
name: "",
|
|
1441
|
+
type: "uint256",
|
|
1442
|
+
},
|
|
1443
|
+
],
|
|
1444
|
+
stateMutability: "nonpayable",
|
|
1445
|
+
type: "function",
|
|
1446
|
+
},
|
|
1447
|
+
{
|
|
1448
|
+
inputs: [],
|
|
1449
|
+
name: "exchangeRateStored",
|
|
1450
|
+
outputs: [
|
|
1451
|
+
{
|
|
1452
|
+
internalType: "uint256",
|
|
1453
|
+
name: "",
|
|
1454
|
+
type: "uint256",
|
|
1455
|
+
},
|
|
1456
|
+
],
|
|
1457
|
+
stateMutability: "view",
|
|
1458
|
+
type: "function",
|
|
1459
|
+
},
|
|
1460
|
+
{
|
|
1461
|
+
inputs: [
|
|
1462
|
+
{
|
|
1463
|
+
internalType: "address",
|
|
1464
|
+
name: "account",
|
|
1465
|
+
type: "address",
|
|
1466
|
+
},
|
|
1467
|
+
],
|
|
1468
|
+
name: "getAccountSnapshot",
|
|
1469
|
+
outputs: [
|
|
1470
|
+
{
|
|
1471
|
+
internalType: "uint256",
|
|
1472
|
+
name: "",
|
|
1473
|
+
type: "uint256",
|
|
1474
|
+
},
|
|
1475
|
+
{
|
|
1476
|
+
internalType: "uint256",
|
|
1477
|
+
name: "",
|
|
1478
|
+
type: "uint256",
|
|
1479
|
+
},
|
|
1480
|
+
{
|
|
1481
|
+
internalType: "uint256",
|
|
1482
|
+
name: "",
|
|
1483
|
+
type: "uint256",
|
|
1484
|
+
},
|
|
1485
|
+
{
|
|
1486
|
+
internalType: "uint256",
|
|
1487
|
+
name: "",
|
|
1488
|
+
type: "uint256",
|
|
1489
|
+
},
|
|
1490
|
+
],
|
|
1491
|
+
stateMutability: "view",
|
|
1492
|
+
type: "function",
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
inputs: [],
|
|
1496
|
+
name: "getCash",
|
|
1497
|
+
outputs: [
|
|
1498
|
+
{
|
|
1499
|
+
internalType: "uint256",
|
|
1500
|
+
name: "",
|
|
1501
|
+
type: "uint256",
|
|
1502
|
+
},
|
|
1503
|
+
],
|
|
1504
|
+
stateMutability: "view",
|
|
1505
|
+
type: "function",
|
|
1506
|
+
},
|
|
1507
|
+
{
|
|
1508
|
+
inputs: [
|
|
1509
|
+
{
|
|
1510
|
+
internalType: "address",
|
|
1511
|
+
name: "underlying_",
|
|
1512
|
+
type: "address",
|
|
1513
|
+
},
|
|
1514
|
+
{
|
|
1515
|
+
internalType: "address",
|
|
1516
|
+
name: "comptroller_",
|
|
1517
|
+
type: "address",
|
|
1518
|
+
},
|
|
1519
|
+
{
|
|
1520
|
+
internalType: "address",
|
|
1521
|
+
name: "interestRateModel_",
|
|
1522
|
+
type: "address",
|
|
1523
|
+
},
|
|
1524
|
+
{
|
|
1525
|
+
internalType: "uint256",
|
|
1526
|
+
name: "initialExchangeRateMantissa_",
|
|
1527
|
+
type: "uint256",
|
|
1528
|
+
},
|
|
1529
|
+
{
|
|
1530
|
+
internalType: "string",
|
|
1531
|
+
name: "name_",
|
|
1532
|
+
type: "string",
|
|
1533
|
+
},
|
|
1534
|
+
{
|
|
1535
|
+
internalType: "string",
|
|
1536
|
+
name: "symbol_",
|
|
1537
|
+
type: "string",
|
|
1538
|
+
},
|
|
1539
|
+
{
|
|
1540
|
+
internalType: "uint8",
|
|
1541
|
+
name: "decimals_",
|
|
1542
|
+
type: "uint8",
|
|
1543
|
+
},
|
|
1544
|
+
{
|
|
1545
|
+
internalType: "address payable",
|
|
1546
|
+
name: "admin_",
|
|
1547
|
+
type: "address",
|
|
1548
|
+
},
|
|
1549
|
+
],
|
|
1550
|
+
name: "initialize",
|
|
1551
|
+
outputs: [],
|
|
1552
|
+
stateMutability: "nonpayable",
|
|
1553
|
+
type: "function",
|
|
1554
|
+
},
|
|
1555
|
+
{
|
|
1556
|
+
inputs: [],
|
|
1557
|
+
name: "interestRateModel",
|
|
1558
|
+
outputs: [
|
|
1559
|
+
{
|
|
1560
|
+
internalType: "address",
|
|
1561
|
+
name: "",
|
|
1562
|
+
type: "address",
|
|
1563
|
+
},
|
|
1564
|
+
],
|
|
1565
|
+
stateMutability: "view",
|
|
1566
|
+
type: "function",
|
|
1567
|
+
},
|
|
1568
|
+
{
|
|
1569
|
+
inputs: [],
|
|
1570
|
+
name: "isCEther",
|
|
1571
|
+
outputs: [
|
|
1572
|
+
{
|
|
1573
|
+
internalType: "bool",
|
|
1574
|
+
name: "",
|
|
1575
|
+
type: "bool",
|
|
1576
|
+
},
|
|
1577
|
+
],
|
|
1578
|
+
stateMutability: "pure",
|
|
1579
|
+
type: "function",
|
|
1580
|
+
},
|
|
1581
|
+
{
|
|
1582
|
+
inputs: [],
|
|
1583
|
+
name: "isCEtherDeprecated",
|
|
1584
|
+
outputs: [
|
|
1585
|
+
{
|
|
1586
|
+
internalType: "bool",
|
|
1587
|
+
name: "",
|
|
1588
|
+
type: "bool",
|
|
1589
|
+
},
|
|
1590
|
+
],
|
|
1591
|
+
stateMutability: "view",
|
|
1592
|
+
type: "function",
|
|
1593
|
+
},
|
|
1594
|
+
{
|
|
1595
|
+
inputs: [],
|
|
1596
|
+
name: "isCToken",
|
|
1597
|
+
outputs: [
|
|
1598
|
+
{
|
|
1599
|
+
internalType: "bool",
|
|
1600
|
+
name: "",
|
|
1601
|
+
type: "bool",
|
|
1602
|
+
},
|
|
1603
|
+
],
|
|
1604
|
+
stateMutability: "pure",
|
|
1605
|
+
type: "function",
|
|
1606
|
+
},
|
|
1607
|
+
{
|
|
1608
|
+
inputs: [],
|
|
1609
|
+
name: "isCTokenDeprecated",
|
|
1610
|
+
outputs: [
|
|
1611
|
+
{
|
|
1612
|
+
internalType: "bool",
|
|
1613
|
+
name: "",
|
|
1614
|
+
type: "bool",
|
|
1615
|
+
},
|
|
1616
|
+
],
|
|
1617
|
+
stateMutability: "view",
|
|
1618
|
+
type: "function",
|
|
1619
|
+
},
|
|
1620
|
+
{
|
|
1621
|
+
inputs: [
|
|
1622
|
+
{
|
|
1623
|
+
internalType: "address",
|
|
1624
|
+
name: "borrower",
|
|
1625
|
+
type: "address",
|
|
1626
|
+
},
|
|
1627
|
+
{
|
|
1628
|
+
internalType: "uint256",
|
|
1629
|
+
name: "repayAmount",
|
|
1630
|
+
type: "uint256",
|
|
1631
|
+
},
|
|
1632
|
+
{
|
|
1633
|
+
internalType: "address",
|
|
1634
|
+
name: "cTokenCollateral",
|
|
1635
|
+
type: "address",
|
|
1636
|
+
},
|
|
1637
|
+
],
|
|
1638
|
+
name: "liquidateBorrow",
|
|
1639
|
+
outputs: [],
|
|
1640
|
+
stateMutability: "nonpayable",
|
|
1641
|
+
type: "function",
|
|
1642
|
+
},
|
|
1643
|
+
{
|
|
1644
|
+
inputs: [
|
|
1645
|
+
{
|
|
1646
|
+
internalType: "address",
|
|
1647
|
+
name: "cTokenCollateral",
|
|
1648
|
+
type: "address",
|
|
1649
|
+
},
|
|
1650
|
+
{
|
|
1651
|
+
internalType: "uint256",
|
|
1652
|
+
name: "actualRepayAmount",
|
|
1653
|
+
type: "uint256",
|
|
1654
|
+
},
|
|
1655
|
+
],
|
|
1656
|
+
name: "liquidateCalculateSeizeTokens",
|
|
1657
|
+
outputs: [
|
|
1658
|
+
{
|
|
1659
|
+
internalType: "uint256",
|
|
1660
|
+
name: "",
|
|
1661
|
+
type: "uint256",
|
|
1662
|
+
},
|
|
1663
|
+
{
|
|
1664
|
+
internalType: "uint256",
|
|
1665
|
+
name: "",
|
|
1666
|
+
type: "uint256",
|
|
1667
|
+
},
|
|
1668
|
+
],
|
|
1669
|
+
stateMutability: "view",
|
|
1670
|
+
type: "function",
|
|
1671
|
+
},
|
|
1672
|
+
{
|
|
1673
|
+
inputs: [
|
|
1674
|
+
{
|
|
1675
|
+
internalType: "uint256",
|
|
1676
|
+
name: "mintAmount",
|
|
1677
|
+
type: "uint256",
|
|
1678
|
+
},
|
|
1679
|
+
],
|
|
1680
|
+
name: "mint",
|
|
1681
|
+
outputs: [],
|
|
1682
|
+
stateMutability: "nonpayable",
|
|
1683
|
+
type: "function",
|
|
1684
|
+
},
|
|
1685
|
+
{
|
|
1686
|
+
inputs: [
|
|
1687
|
+
{
|
|
1688
|
+
internalType: "uint256",
|
|
1689
|
+
name: "mintAmount",
|
|
1690
|
+
type: "uint256",
|
|
1691
|
+
},
|
|
1692
|
+
{
|
|
1693
|
+
internalType: "uint256",
|
|
1694
|
+
name: "deadline",
|
|
1695
|
+
type: "uint256",
|
|
1696
|
+
},
|
|
1697
|
+
{
|
|
1698
|
+
internalType: "bytes",
|
|
1699
|
+
name: "signature",
|
|
1700
|
+
type: "bytes",
|
|
1701
|
+
},
|
|
1702
|
+
],
|
|
1703
|
+
name: "mintWithPermit",
|
|
1704
|
+
outputs: [],
|
|
1705
|
+
stateMutability: "nonpayable",
|
|
1706
|
+
type: "function",
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
inputs: [],
|
|
1710
|
+
name: "name",
|
|
1711
|
+
outputs: [
|
|
1712
|
+
{
|
|
1713
|
+
internalType: "string",
|
|
1714
|
+
name: "",
|
|
1715
|
+
type: "string",
|
|
1716
|
+
},
|
|
1717
|
+
],
|
|
1718
|
+
stateMutability: "view",
|
|
1719
|
+
type: "function",
|
|
1720
|
+
},
|
|
1721
|
+
{
|
|
1722
|
+
inputs: [],
|
|
1723
|
+
name: "pendingAdmin",
|
|
1724
|
+
outputs: [
|
|
1725
|
+
{
|
|
1726
|
+
internalType: "address payable",
|
|
1727
|
+
name: "",
|
|
1728
|
+
type: "address",
|
|
1729
|
+
},
|
|
1730
|
+
],
|
|
1731
|
+
stateMutability: "view",
|
|
1732
|
+
type: "function",
|
|
1733
|
+
},
|
|
1734
|
+
{
|
|
1735
|
+
inputs: [],
|
|
1736
|
+
name: "percentScale",
|
|
1737
|
+
outputs: [
|
|
1738
|
+
{
|
|
1739
|
+
internalType: "uint256",
|
|
1740
|
+
name: "",
|
|
1741
|
+
type: "uint256",
|
|
1742
|
+
},
|
|
1743
|
+
],
|
|
1744
|
+
stateMutability: "view",
|
|
1745
|
+
type: "function",
|
|
1746
|
+
},
|
|
1747
|
+
{
|
|
1748
|
+
inputs: [],
|
|
1749
|
+
name: "protocolSeizeShareMantissa",
|
|
1750
|
+
outputs: [
|
|
1751
|
+
{
|
|
1752
|
+
internalType: "uint256",
|
|
1753
|
+
name: "",
|
|
1754
|
+
type: "uint256",
|
|
1755
|
+
},
|
|
1756
|
+
],
|
|
1757
|
+
stateMutability: "view",
|
|
1758
|
+
type: "function",
|
|
1759
|
+
},
|
|
1760
|
+
{
|
|
1761
|
+
inputs: [
|
|
1762
|
+
{
|
|
1763
|
+
internalType: "uint256",
|
|
1764
|
+
name: "redeemTokens",
|
|
1765
|
+
type: "uint256",
|
|
1766
|
+
},
|
|
1767
|
+
],
|
|
1768
|
+
name: "redeem",
|
|
1769
|
+
outputs: [],
|
|
1770
|
+
stateMutability: "nonpayable",
|
|
1771
|
+
type: "function",
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
inputs: [
|
|
1775
|
+
{
|
|
1776
|
+
internalType: "uint256",
|
|
1777
|
+
name: "redeemAmount",
|
|
1778
|
+
type: "uint256",
|
|
1779
|
+
},
|
|
1780
|
+
],
|
|
1781
|
+
name: "redeemUnderlying",
|
|
1782
|
+
outputs: [],
|
|
1783
|
+
stateMutability: "nonpayable",
|
|
1784
|
+
type: "function",
|
|
1785
|
+
},
|
|
1786
|
+
{
|
|
1787
|
+
inputs: [
|
|
1788
|
+
{
|
|
1789
|
+
internalType: "uint256",
|
|
1790
|
+
name: "repayAmount",
|
|
1791
|
+
type: "uint256",
|
|
1792
|
+
},
|
|
1793
|
+
],
|
|
1794
|
+
name: "repayBorrow",
|
|
1795
|
+
outputs: [],
|
|
1796
|
+
stateMutability: "nonpayable",
|
|
1797
|
+
type: "function",
|
|
1798
|
+
},
|
|
1799
|
+
{
|
|
1800
|
+
inputs: [
|
|
1801
|
+
{
|
|
1802
|
+
internalType: "address",
|
|
1803
|
+
name: "borrower",
|
|
1804
|
+
type: "address",
|
|
1805
|
+
},
|
|
1806
|
+
{
|
|
1807
|
+
internalType: "uint256",
|
|
1808
|
+
name: "repayAmount",
|
|
1809
|
+
type: "uint256",
|
|
1810
|
+
},
|
|
1811
|
+
],
|
|
1812
|
+
name: "repayBorrowBehalf",
|
|
1813
|
+
outputs: [],
|
|
1814
|
+
stateMutability: "nonpayable",
|
|
1815
|
+
type: "function",
|
|
1816
|
+
},
|
|
1817
|
+
{
|
|
1818
|
+
inputs: [
|
|
1819
|
+
{
|
|
1820
|
+
internalType: "uint256",
|
|
1821
|
+
name: "repayAmount",
|
|
1822
|
+
type: "uint256",
|
|
1823
|
+
},
|
|
1824
|
+
{
|
|
1825
|
+
internalType: "uint256",
|
|
1826
|
+
name: "deadline",
|
|
1827
|
+
type: "uint256",
|
|
1828
|
+
},
|
|
1829
|
+
{
|
|
1830
|
+
internalType: "bytes",
|
|
1831
|
+
name: "signature",
|
|
1832
|
+
type: "bytes",
|
|
1833
|
+
},
|
|
1834
|
+
],
|
|
1835
|
+
name: "repayBorrowWithPermit",
|
|
1836
|
+
outputs: [],
|
|
1837
|
+
stateMutability: "nonpayable",
|
|
1838
|
+
type: "function",
|
|
1839
|
+
},
|
|
1840
|
+
{
|
|
1841
|
+
inputs: [],
|
|
1842
|
+
name: "reserveFactorMantissa",
|
|
1843
|
+
outputs: [
|
|
1844
|
+
{
|
|
1845
|
+
internalType: "uint256",
|
|
1846
|
+
name: "",
|
|
1847
|
+
type: "uint256",
|
|
1848
|
+
},
|
|
1849
|
+
],
|
|
1850
|
+
stateMutability: "view",
|
|
1851
|
+
type: "function",
|
|
1852
|
+
},
|
|
1853
|
+
{
|
|
1854
|
+
inputs: [
|
|
1855
|
+
{
|
|
1856
|
+
internalType: "address",
|
|
1857
|
+
name: "liquidator",
|
|
1858
|
+
type: "address",
|
|
1859
|
+
},
|
|
1860
|
+
{
|
|
1861
|
+
internalType: "address",
|
|
1862
|
+
name: "borrower",
|
|
1863
|
+
type: "address",
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
internalType: "uint256",
|
|
1867
|
+
name: "seizeTokens",
|
|
1868
|
+
type: "uint256",
|
|
1869
|
+
},
|
|
1870
|
+
{
|
|
1871
|
+
internalType: "uint256",
|
|
1872
|
+
name: "seizeProfitTokens",
|
|
1873
|
+
type: "uint256",
|
|
1874
|
+
},
|
|
1875
|
+
{
|
|
1876
|
+
internalType: "bool",
|
|
1877
|
+
name: "isRedemption",
|
|
1878
|
+
type: "bool",
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
internalType: "uint256",
|
|
1882
|
+
name: "redemptionRateMantissa",
|
|
1883
|
+
type: "uint256",
|
|
1884
|
+
},
|
|
1885
|
+
],
|
|
1886
|
+
name: "seize",
|
|
1887
|
+
outputs: [],
|
|
1888
|
+
stateMutability: "nonpayable",
|
|
1889
|
+
type: "function",
|
|
1890
|
+
},
|
|
1891
|
+
{
|
|
1892
|
+
inputs: [
|
|
1893
|
+
{
|
|
1894
|
+
internalType: "address",
|
|
1895
|
+
name: "_kycSigner",
|
|
1896
|
+
type: "address",
|
|
1897
|
+
},
|
|
1898
|
+
],
|
|
1899
|
+
name: "setKYCSigner",
|
|
1900
|
+
outputs: [],
|
|
1901
|
+
stateMutability: "nonpayable",
|
|
1902
|
+
type: "function",
|
|
1903
|
+
},
|
|
1904
|
+
{
|
|
1905
|
+
inputs: [],
|
|
1906
|
+
name: "supplyRatePerBlock",
|
|
1907
|
+
outputs: [
|
|
1908
|
+
{
|
|
1909
|
+
internalType: "uint256",
|
|
1910
|
+
name: "",
|
|
1911
|
+
type: "uint256",
|
|
1912
|
+
},
|
|
1913
|
+
],
|
|
1914
|
+
stateMutability: "view",
|
|
1915
|
+
type: "function",
|
|
1916
|
+
},
|
|
1917
|
+
{
|
|
1918
|
+
inputs: [
|
|
1919
|
+
{
|
|
1920
|
+
internalType: "contract ERC20",
|
|
1921
|
+
name: "token",
|
|
1922
|
+
type: "address",
|
|
1923
|
+
},
|
|
1924
|
+
],
|
|
1925
|
+
name: "sweepToken",
|
|
1926
|
+
outputs: [],
|
|
1927
|
+
stateMutability: "nonpayable",
|
|
1928
|
+
type: "function",
|
|
1929
|
+
},
|
|
1930
|
+
{
|
|
1931
|
+
inputs: [],
|
|
1932
|
+
name: "symbol",
|
|
1933
|
+
outputs: [
|
|
1934
|
+
{
|
|
1935
|
+
internalType: "string",
|
|
1936
|
+
name: "",
|
|
1937
|
+
type: "string",
|
|
1938
|
+
},
|
|
1939
|
+
],
|
|
1940
|
+
stateMutability: "view",
|
|
1941
|
+
type: "function",
|
|
1942
|
+
},
|
|
1943
|
+
{
|
|
1944
|
+
inputs: [],
|
|
1945
|
+
name: "tokenType",
|
|
1946
|
+
outputs: [
|
|
1947
|
+
{
|
|
1948
|
+
internalType: "enum CToken.CTokenType",
|
|
1949
|
+
name: "",
|
|
1950
|
+
type: "uint8",
|
|
1951
|
+
},
|
|
1952
|
+
],
|
|
1953
|
+
stateMutability: "pure",
|
|
1954
|
+
type: "function",
|
|
1955
|
+
},
|
|
1956
|
+
{
|
|
1957
|
+
inputs: [],
|
|
1958
|
+
name: "totalBorrows",
|
|
1959
|
+
outputs: [
|
|
1960
|
+
{
|
|
1961
|
+
internalType: "uint256",
|
|
1962
|
+
name: "",
|
|
1963
|
+
type: "uint256",
|
|
1964
|
+
},
|
|
1965
|
+
],
|
|
1966
|
+
stateMutability: "view",
|
|
1967
|
+
type: "function",
|
|
1968
|
+
},
|
|
1969
|
+
{
|
|
1970
|
+
inputs: [],
|
|
1971
|
+
name: "totalBorrowsCurrent",
|
|
1972
|
+
outputs: [
|
|
1973
|
+
{
|
|
1974
|
+
internalType: "uint256",
|
|
1975
|
+
name: "",
|
|
1976
|
+
type: "uint256",
|
|
1977
|
+
},
|
|
1978
|
+
],
|
|
1979
|
+
stateMutability: "nonpayable",
|
|
1980
|
+
type: "function",
|
|
1981
|
+
},
|
|
1982
|
+
{
|
|
1983
|
+
inputs: [],
|
|
1984
|
+
name: "totalReserves",
|
|
1985
|
+
outputs: [
|
|
1986
|
+
{
|
|
1987
|
+
internalType: "uint256",
|
|
1988
|
+
name: "",
|
|
1989
|
+
type: "uint256",
|
|
1990
|
+
},
|
|
1991
|
+
],
|
|
1992
|
+
stateMutability: "view",
|
|
1993
|
+
type: "function",
|
|
1994
|
+
},
|
|
1995
|
+
{
|
|
1996
|
+
inputs: [],
|
|
1997
|
+
name: "totalSupply",
|
|
1998
|
+
outputs: [
|
|
1999
|
+
{
|
|
2000
|
+
internalType: "uint256",
|
|
2001
|
+
name: "",
|
|
2002
|
+
type: "uint256",
|
|
2003
|
+
},
|
|
2004
|
+
],
|
|
2005
|
+
stateMutability: "view",
|
|
2006
|
+
type: "function",
|
|
2007
|
+
},
|
|
2008
|
+
{
|
|
2009
|
+
inputs: [
|
|
2010
|
+
{
|
|
2011
|
+
internalType: "address",
|
|
2012
|
+
name: "dst",
|
|
2013
|
+
type: "address",
|
|
2014
|
+
},
|
|
2015
|
+
{
|
|
2016
|
+
internalType: "uint256",
|
|
2017
|
+
name: "amount",
|
|
2018
|
+
type: "uint256",
|
|
2019
|
+
},
|
|
2020
|
+
],
|
|
2021
|
+
name: "transfer",
|
|
2022
|
+
outputs: [
|
|
2023
|
+
{
|
|
2024
|
+
internalType: "bool",
|
|
2025
|
+
name: "",
|
|
2026
|
+
type: "bool",
|
|
2027
|
+
},
|
|
2028
|
+
],
|
|
2029
|
+
stateMutability: "nonpayable",
|
|
2030
|
+
type: "function",
|
|
2031
|
+
},
|
|
2032
|
+
{
|
|
2033
|
+
inputs: [
|
|
2034
|
+
{
|
|
2035
|
+
internalType: "address",
|
|
2036
|
+
name: "src",
|
|
2037
|
+
type: "address",
|
|
2038
|
+
},
|
|
2039
|
+
{
|
|
2040
|
+
internalType: "address",
|
|
2041
|
+
name: "dst",
|
|
2042
|
+
type: "address",
|
|
2043
|
+
},
|
|
2044
|
+
{
|
|
2045
|
+
internalType: "uint256",
|
|
2046
|
+
name: "amount",
|
|
2047
|
+
type: "uint256",
|
|
2048
|
+
},
|
|
2049
|
+
],
|
|
2050
|
+
name: "transferFrom",
|
|
2051
|
+
outputs: [
|
|
2052
|
+
{
|
|
2053
|
+
internalType: "bool",
|
|
2054
|
+
name: "",
|
|
2055
|
+
type: "bool",
|
|
2056
|
+
},
|
|
2057
|
+
],
|
|
2058
|
+
stateMutability: "nonpayable",
|
|
2059
|
+
type: "function",
|
|
2060
|
+
},
|
|
2061
|
+
{
|
|
2062
|
+
inputs: [],
|
|
2063
|
+
name: "underlying",
|
|
2064
|
+
outputs: [
|
|
2065
|
+
{
|
|
2066
|
+
internalType: "address",
|
|
2067
|
+
name: "",
|
|
2068
|
+
type: "address",
|
|
2069
|
+
},
|
|
2070
|
+
],
|
|
2071
|
+
stateMutability: "view",
|
|
2072
|
+
type: "function",
|
|
2073
|
+
},
|
|
2074
|
+
{
|
|
2075
|
+
inputs: [],
|
|
2076
|
+
name: "underlyingBalance",
|
|
2077
|
+
outputs: [
|
|
2078
|
+
{
|
|
2079
|
+
internalType: "uint256",
|
|
2080
|
+
name: "",
|
|
2081
|
+
type: "uint256",
|
|
2082
|
+
},
|
|
2083
|
+
],
|
|
2084
|
+
stateMutability: "view",
|
|
2085
|
+
type: "function",
|
|
2086
|
+
},
|
|
2087
|
+
];
|
|
2088
|
+
const _bytecode = "0x6080806040523460c957670de0b6b3a76400006011556047549060ff8260081c166077575060ff80821610603d575b60405161477d90816100cf8239f35b60ff90811916176047557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160ff8152a138602e565b62461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b6064820152608490fd5b600080fdfe6080604052600436101561001257600080fd5b6000803560e01c90816306fdde0314612cd45781630786f22314612cb0578163095ea7b314612c345781630e75270214612c18578163134131a214612b5c578163173b990414612b3f57816317bfdfbc14612ae857816318160ddd14612acb578163182df0f514612aad5781631a7aa2a01461273e5781631be195601461256657816323b872dd1461251d5781632608f818146124d857816326782247146124b05781632826c1a11461241b5781632d7183f61461217b57816330fa738c1461215e578163313ce5671461213e5781633af9e669146120d85781633b1d21a214611cb35781633e9410101461201b5781634000fbad14611fb057816341e3400614611f7d57816342f3251a14611f605781634576b5db14611e5557816347bd371814611e3857816349aa797c14611dc25781634e12268a14611cd057816359356c5c14611cb35781635fe3b56714611c8b578163601a0bf114611b7d5781636752e70214611b5b5781636f307dc314611b3157816370a0823114611af957816373acee9814611a9d578163852a12e3146118105781638f840ddd146117f357816395d89b411461172357816395dd9193146117005781639b1a5bf4146116df5781639e2116411461165a578163a0712d6814611397578163a6afed951461163f578163a9059cbb146115e4578163aa5af0fd146115c7578163ac784ddc146102ea578163ae9d70b014611566578163b5866382146114cc578163b71d1a0c1461141f578163bd6d894d146113fd578163c37f68e21461139c578163c5ebeaec14611397578163cfa992011461137a578163d4af8de214610d8c578163db006a7514610d30578163dd62ed3e14610cdc578163e9c714f214610bee578163eac1fed014610bce578163f2b3abbd14610a84578163f3fdb15a14610a5c578163f5e3c462146104b7578163f851a4401461048b578163f8f9da28146103d6578163fca7820b146102ef575063fe9c44ae146102ea57600080fd5b612fad565b346103d35760203660031901126103d357600435815460ff8160101c16156103c45762ff00001916825560035460081c6001600160a01b031633036103b55761033661354c565b60145442036103a657670de0b6b3a764000081116103975760407faaa68312e2ea9d50e16af5068410ab56e1a1fd06037b1a35664812c30f82146091600854908060085582519182526020820152a1805462ff000019166201000017815580f35b631b9bc96960e11b8252600482fd5b637b452e8160e11b8252600482fd5b634755657960e01b8252600482fd5b63b5dfd9e560e01b8352600483fd5b80fd5b346103d357806003193601126103d357600654601254600b54600c546040516315f2405360e01b8152600481019390935260248301919091526044820152919060209083906001600160a01b03168180606481015b03915afa90811561047f5790610447575b602090604051908152f35b506020813d602011610477575b8161046160209383612dd4565b81010312610472576020905161043c565b600080fd5b3d9150610454565b604051903d90823e3d90fd5b346103d357806003193601126103d35760035460405160089190911c6001600160a01b03168152602090f35b346103d35760603660031901126103d3576104d0612e3e565b90602435916104dd612e6a565b90825460ff8160101c1615610a4d5762ff0000191683556104fc61354c565b6001600160a01b03821693843b15610a345760405163a6afed9560e01b81528481600481838a5af18015610a0557908591610a38575b50506005546001600160a01b0316803b156108c657846040518092632fe3f38f60e11b8252818061056a8789338c3060048701613969565b03915afa8015610a0557908591610a1f575b50506014544203610a105760405163cfa9920160e01b8152602081600481888a5af1908115610a055785916109d3575b5042036109c4576001600160a01b038216903382146109b55780156109a6576000198114610997576105e26105e9918433613a79565b80946130b1565b90926040516370a0823160e01b81528360048201526020816024818b5afa90811561098c579085918891610957575b5010610948573087036108d9576005546001600160a01b031690813b156108d557846106609288928360405180968195829463d02f735160e01b845233303060048701613969565b03925af180156108ca579086916108b1575b505061069f670de0b6b3a76400009160405161068d81612da2565b670429d069189e00008152519061307b565b04948583106108a257857fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc56106d587988661353f565b91670de0b6b3a76400006106fa82600754604051906106f382612da2565b8152613a5f565b510461070881600c546130a4565b9182600c5561071981600d5461353f565b600d55868a52600e6020526107328860408c205461353f565b878b52600e60205260408b2055338a52600e6020526107558560408c20546130a4565b338b52600e60205260408b20556040518581528760008051602061470883398151915260203393a36040519081528660008051602061470883398151915260203093a3604080513081526020810192909252810191909152606090a18515610893576107c19033613f2a565b7f298637f684da70674f26509b10f07ec2fbc77a335ab1e7d6215a4b2484d8bb5260a0604051338152846020820152866040820152836060820152856080820152a16005546001600160a01b031690813b1561088f578560c492819560405197889687956347ef3b3b60e01b875230600488015260248701523360448701526064860152608485015260a48401525af180156108845761086f575b50805462ff000019166201000017815580f35b8161087991612dd4565b6103d357808261085c565b6040513d84823e3d90fd5b8580fd5b61089d9033614191565b6107c1565b632c3508cb60e21b8552600485fd5b816108bb91612dd4565b6108c6578487610672565b8480fd5b6040513d88823e3d90fd5b8680fd5b50948495813b1561088f57604051906316b8c1fb60e11b825233600483015283602483015284604483015260648201528560848201528560a4820152858160c48183865af19081156108ca578691610933575b50506107c1565b8161093d91612dd4565b6108c657848761092c565b630e7a24eb60e11b8652600486fd5b9150506020813d602011610984575b8161097360209383612dd4565b810103126104725784905189610618565b3d9150610966565b6040513d89823e3d90fd5b63f72ef4e160e01b8552600485fd5b63b2f72f4760e01b8552600485fd5b63039f861b60e51b8552600485fd5b633e88627b60e11b8452600484fd5b90506020813d6020116109fd575b816109ee60209383612dd4565b810103126104725751866105ac565b3d91506109e1565b6040513d87823e3d90fd5b63fbf3ea7960e01b8452600484fd5b81610a2991612dd4565b610a3457838661057c565b8380fd5b81610a4291612dd4565b610a34578386610532565b63b5dfd9e560e01b8452600484fd5b346103d357806003193601126103d3576006546040516001600160a01b039091168152602090f35b346103d35760203660031901126103d357610a9d612e3e565b60035490919060081c6001600160a01b03163303610bbf57610abd61354c565b6014544203610bb0576006546040516310c8fc9560e11b81529092906001600160a01b03841690602081600481855afa908115610ba5578491610b6b575b5015610b5c576001600160a01b03199093166001600160a01b0391821690811760065560408051949092168452602084015290917fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f92691819081015b0390a180f35b63ee39b72560e01b8352600483fd5b90506020813d602011610b9d575b81610b8660209383612dd4565b81010312610a3457610b9790612fc9565b85610afb565b3d9150610b79565b6040513d86823e3d90fd5b637b964b3b60e01b8152600490fd5b634755657960e01b8152600490fd5b346103d357806003193601126103d3576020604051655af3107a40008152f35b346103d357806003193601126103d3576004546001600160a01b03811690338214801590610cd4575b610cc55760038054610100600160a81b03600884811b91909116610100600160a81b0319831617928390556001600160a01b0319909316600455604080516001600160a01b0392851c831681529290931c1660208201527fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a992907ff9ffabca9c8276e99321725bcb43fb076a6c66a54b7f21c4e8146d8519b417dc908390a18151908152836020820152a180f35b63d1ec4b2360e01b8352600483fd5b503315610c17565b346103d35760403660031901126103d3576040610cf7612e3e565b91610d00612e54565b9260018060a01b03168152600f602052209060018060a01b03166000526020526020604060002054604051908152f35b346103d35760203660031901126103d357805460ff8160101c1615610d7d5762ff000019168155610d5f61354c565b610d6b60043533613f2a565b805462ff000019166201000017815580f35b63b5dfd9e560e01b8252600482fd5b346103d3576101003660031901126103d357610da6612e3e565b610dae612e54565b90610db7612e6a565b916064359260843567ffffffffffffffff811161088f57610ddc903690600401612e9c565b60a43567ffffffffffffffff81116108d557610dfc903690600401612e9c565b9160c4359360ff85168095036113765760e435966001600160a01b0388168803611372576047549760ff8960081c16159889809a611365575b801561134e575b156112f25760ff198116600117604755896112e0575b5060038054610100600160a81b03191660089290921b610100600160a81b0316919091179055601454158015906112d5575b6112c65780600755156112b757670de0b6b3a764000060115567016345785d8a0000600855600580546001600160a01b0319166001600160a01b03929092169182179055604080516000815260208101929092527fedffc32e068c7c95dfd4bdfd5c4d939a084d6b11c4199eac8436ed234d72f92692610f6b9290917f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d91a142601455670de0b6b3a7640000600a55600680546001600160a01b0319166001600160a01b039290921691821790556040805160008152602081019290925290918291820190565b0390a180519067ffffffffffffffff82116112a3578190610f8d600154612d68565b601f811161122e575b50602090601f83116001146111bd5788926111b2575b50508160011b916000199060031b1c1916176001555b80519067ffffffffffffffff821161119e578190610fe1600254612d68565b601f8111611129575b50602090601f83116001146110b85787926110ad575b50508160011b916000199060031b1c1916176002555b6003805460ff19169190911790558254906001600160a01b0381161561109e5762010000600160b81b031990911660189190911b6301000000600160b81b031617620100001782556110655780f35b61ff0019604754166047557f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb3847402498602060405160018152a180f35b63e6c4247b60e01b8452600484fd5b015190508680611000565b600288526000805160206146e88339815191529250601f198416885b81811061111157509084600195949392106110f8575b505050811b01600255611016565b015160001960f88460031b161c191690558680806110ea565b929360206001819287860151815501950193016110d4565b90915060028752601f830160051c6000805160206146e8833981519152019060208410611188575b90601f8493920160051c6000805160206146e883398151915201905b81811061117a5750610fea565b88815584935060010161116d565b6000805160206146e88339815191529150611151565b634e487b7160e01b86526041600452602486fd5b015190508780610fac565b600189526000805160206147288339815191529250601f198416895b81811061121657509084600195949392106111fd575b505050811b01600155610fc2565b015160001960f88460031b161c191690558780806111ef565b929360206001819287860151815501950193016111d9565b90915060018852601f830160051c60008051602061472883398151915201906020841061128d575b90601f8493920160051c60008051602061472883398151915201905b81811061127f5750610f96565b898155849350600101611272565b6000805160206147288339815191529150611256565b634e487b7160e01b87526041600452602487fd5b63a2ec3a5560e01b8852600488fd5b634743547560e01b8952600489fd5b50600a541515610e84565b61ffff1916610101176047558a610e52565b60405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b6064820152608490fd5b50303b158015610e3c5750600160ff821614610e3c565b50600160ff821610610e35565b8880fd5b8780fd5b346103d357806003193601126103d3576020601454604051908152f35b612f8b565b346103d35760203660031901126103d3576113b5612e3e565b6001600160a01b0381168252600e6020526040822054906113d590613a1d565b60075460115460408051948552602085019390935291830152606082015260809150f35b0390f35b346103d357806003193601126103d35760206114176136b9565b604051908152f35b346103d35760203660031901126103d357611438612e3e565b60035490919060081c6001600160a01b03163303610bbf576004546001600160a01b038316929083156114bd576001600160a01b03198116909317600455604080516001600160a01b03948516815293909116602084015290917fca4f2f25d0898edd99413412fb94012f9e54ec8142f9b093e7720646a95b16a99181908101610b56565b63e6c4247b60e01b8352600483fd5b346103d357806003193601126103d35760035460081c6001600160a01b03163303610bbf5780546040516370a0823160e01b8152306004820152906020908290602490829060181c6001600160a01b03165afa908115610884578291611534575b5060125580f35b90506020813d60201161155e575b8161154f60209383612dd4565b8101031261047257518261152d565b3d9150611542565b346103d357806003193601126103d357600654601254600b54600c54600854604051635c0b440b60e11b81526004810194909452602484019290925260448301526064820152919060209083906001600160a01b031681806084810161042b565b346103d357806003193601126103d3576020600a54604051908152f35b346103d35760403660031901126103d3576115fd612e3e565b90805460ff8160101c1615610d7d5762ff000019168155602091611626906024359033806137f3565b815462ff00001916620100001790915560405190158152f35b346103d357806003193601126103d35761165761354c565b80f35b346103d3578061166936612f38565b835492939260181c6001600160a01b03169190823b15610a34576116a992849283604051809681958294639fd5a6cf60e01b84528b303360048701613002565b03925af18015610884576116c6575b506116c282613701565b5080f35b816116d091612dd4565b6116db5781836116b8565b5080fd5b346103d357806003193601126103d35760ff60209154166040519015158152f35b346103d35760203660031901126103d357602061141761171e612e3e565b613a1d565b346103d357806003193601126103d35760405190806002549061174582612d68565b80855291600181169081156117cc5750600114611781575b6113f98461176d81860382612dd4565b604051918291602083526020830190612e19565b600281526000805160206146e8833981519152939250905b8082106117b25750909150810160200161176d8261175d565b919260018160209254838588010152019101909291611799565b60ff191660208087019190915292151560051b8501909201925061176d915083905061175d565b346103d357806003193601126103d3576020600c54604051908152f35b346103d35760203660031901126103d357600435815460ff8160101c16156103c45762ff00001916825561184261354c565b81611a8e57600754906040519161185883612da2565b8252611864828261463b565b9133600052600e6020528260406000205403611a59575b6005549051906001600160a01b0316803b15610472576040516317c4196b60e11b81529160009183918290849082906118ba908a333060048601613f00565b03925af180156119ed57611a42575b506014544203611a335782611a24576118e482600d5461353f565b600d5533600052600e6020526118ff8260406000205461353f565b336000908152600e60205260409020819055151580611a0a575b6119f95761192781336144da565b604051828152309060008051602061470883398151915260203392a360408051338152602081018390529081018390527fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a92990606090a16005546001600160a01b031691823b15610472576119b792600092836040518096819582946351dff98960e01b8452333060048601613f00565b03925af180156119ed576119d85750805462ff000019166201000017815580f35b6119e59150600090612dd4565b60008161085c565b6040513d6000823e3d90fd5b6330a46c4960e21b60005260046000fd5b5033600052600e6020526103e86040600020541115611919565b6391240a1b60e01b8352600483fd5b63a17754ef60e01b8352600483fd5b611a50919350600090612dd4565b600091836118c9565b6103e8831115611a7d576103e8821161187b57632005234160e01b60005260046000fd5b63d1b61f5160e01b60005260046000fd5b63431f269d60e01b8252600482fd5b346103d357806003193601126103d35780549060ff8260101c1615611aea5760209162ff000019168155611acf61354c565b600b54815462ff000019166201000017909155604051908152f35b63b5dfd9e560e01b8152600490fd5b346103d35760203660031901126103d3576020906040906001600160a01b03611b20612e3e565b168152600e83522054604051908152f35b346103d357806003193601126103d3575460405160189190911c6001600160a01b03168152602090f35b346103d357806003193601126103d3576020604051670429d069189e00008152f35b346103d35760203660031901126103d35760043590611b9a61354c565b60035460081c6001600160a01b031691338390036103b557815460ff8160101c16156103c45762ff0000191682556014544203611c7c578060125410611c6d57600c5492838211611c5e57611c1f82611c15817f3bad0c59cf2f06e7314077049f48a93578cd16f5ef92329f1dab1420a99c177e969761353f565b9283600c55614307565b6003546040805160089290921c6001600160a01b0316825260208201939093529182015280606081015b0390a1805462ff000019166201000017815580f35b63152125f760e21b8352600483fd5b633345e99960e01b8252600482fd5b631747e30360e21b8252600482fd5b346103d357806003193601126103d3576005546040516001600160a01b039091168152602090f35b346103d357806003193601126103d3576020601254604051908152f35b346103d357611d0e611d6b611d63611d00611cea36612ee1565b9391929690604051928391602083019586612fd6565b03601f198101835282612dd4565b519020604051611d5b81611d00602082019485603c917f19457468657265756d205369676e6564204d6573736167653a0a000000000000825261199960f11b601a830152601c8201520190565b519020613da8565b919091613de0565b6047546001600160a01b039182169160109190911c168103611db05750815460ff8160101c16156103c45762ff000019168255610d6b90611daa61354c565b33613c2c565b6378d3510b60e11b8352600452602482fd5b346103d35760203660031901126103d357611ddb612e3e565b60035460081c6001600160a01b031633036103b5576001600160a01b03811615611e29576047805462010000600160b01b03191660109290921b62010000600160b01b031691909117905580f35b6342bcdf7f60e11b8252600482fd5b346103d357806003193601126103d3576020600b54604051908152f35b346103d35760203660031901126103d357611e6e612e3e565b60035490919060081c6001600160a01b03163303610bbf57600554604051623f1ee960e11b81526001600160a01b038416939190602081600481885afa908115610ba5578491611f26575b5015611f17576001600160a01b03198116909317600555604080516001600160a01b03948516815293909116602084015290917f7ac369dbd14fa5ea3f473ed67cc9d598964a77501540ba6751eb0b3decf5870d9181908101610b56565b6383aebebd60e01b8352600483fd5b90506020813d602011611f58575b81611f4160209383612dd4565b81010312610a3457611f5290612fc9565b85611eb9565b3d9150611f34565b346103d357806003193601126103d3576020601154604051908152f35b346103d35760403660031901126103d3576040611fa4611f9b612e3e565b602435906130b1565b82519182526020820152f35b346103d35760203660031901126103d357600354600435919060081c6001600160a01b03163303610bbf576020827f68e61dbc80efc8af787740901509a321d0fc29f4e432fae6c4e175867b96144360406011548360115581519081528385820152a1604051908152f35b346103d35760203660031901126103d357805460ff8160101c1615610d7d5762ff00001916815561204a61354c565b60145442036120c95761205f60043533614337565b600c549061206d81836130a4565b9182106120ba57600c8290556040805133815260208101929092528101919091527fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc5908060608101611c49565b6335c973c760e21b8352600483fd5b639d4e8c1b60e01b8152600490fd5b346103d35760203660031901126103d357670de0b6b3a7640000602091612132612100612e3e565b6121086136b9565b906040519161211683612da2565b82526001600160a01b03168352600e8552604083205490613a5f565b90505104604051908152f35b346103d357806003193601126103d357602060ff60035416604051908152f35b346103d357806003193601126103d3575060405160048152602090f35b346103d35760c03660031901126103d357612194612e3e565b61219c612e54565b9060843560443581151582036108c65760a43592855460ff8160101c161561240c5762ff0000191686558315612404575b670de0b6b3a764000084116123f4575b60055486906001600160a01b0316803b156116db5760405163d02f735160e01b815290829082908183816122188a8e8b333060048701613969565b03925af18015610884576123df575b50506001600160a01b039081169416928385146123d057821561239c57612267670de0b6b3a7640000916040519061225e82612da2565b8152518361307b565b04925b83821061238d57907fa91e67c5ea634cd43a12c5a482724b03de01e85ca68702a53d0c2f45cb7c1dc59161229e858361353f565b94670de0b6b3a76400006122bc82600754604051906106f382612da2565b5104916122f46122ce84600c546130a4565b9485600c556122df84600d5461353f565b600d55828b52600e60205260408b205461353f565b818a52600e60205260408a2055878952600e6020526123178760408b20546130a4565b888a52600e60205260408a2055878160008051602061470883398151915260206040518b8152a360405191825260008051602061470883398151915260203093a3604080513081526020810192909252810191909152606090a11561237f57610d6b91613f2a565b61238891614191565b610d6b565b632c3508cb60e21b8652600486fd5b50670de0b6b3a76400006123c96040516123b581612da2565b670429d069189e000081525160643561307b565b049261226a565b637a2d3db360e01b8652600486fd5b816123e991612dd4565b61088f578587612227565b670de0b6b3a764000093506121dd565b8593506121cd565b63b5dfd9e560e01b8752600487fd5b346103d3578061242a36612f38565b835492939260181c6001600160a01b03169190823b15610a345761246a92849283604051809681958294639fd5a6cf60e01b84528b303360048701613002565b03925af180156108845761249b575b505460ff8160101c16156103c45762ff000019168255610d6b90611daa61354c565b816124a591612dd4565b6116db578183612479565b346103d357806003193601126103d3576004546040516001600160a01b039091168152602090f35b346103d35760403660031901126103d3576124f1612e3e565b815460ff8160101c16156103c45762ff00001916825561085c9061251361354c565b6024359033613a79565b346103d35760603660031901126103d357612536612e3e565b9061253f612e54565b815460ff8160101c16156103c45762ff0000191682556020926116269160443591336137f3565b346103d35760203660031901126103d3576004356001600160a01b03811680820361273a5760035460081c6001600160a01b0316913383900361272b57835460181c6001600160a01b031682811461271c57906020602492604051938480926370a0823160e01b82523060048301525afa918215610a055785926126e7575b50602060249293604051938480926370a0823160e01b82523060048301525afa918215610a055785926126b2575b509060249361262192613761565b82546040516370a0823160e01b815230600482015292602091849190829060181c6001600160a01b03165afa9182156126a7578392612673575b50036126645780f35b6346edcd5360e11b8152600490fd5b9091506020813d60201161269f575b8161268f60209383612dd4565b810103126104725751908361265b565b3d9150612682565b6040513d85823e3d90fd5b91506020823d6020116126df575b816126cd60209383612dd4565b81010312610472579051906024612613565b3d91506126c0565b91506020823d602011612714575b8161270260209383612dd4565b810103126104725790519060206125e5565b3d91506126f5565b632f028cfb60e01b8552600485fd5b634755657960e01b8452600484fd5b8280fd5b346103d357611d0e9061276f611d63611d0061275936612ee1565b9391929790604051928391602083019586612fd6565b6047546001600160a01b039182169160109190911c168103612a9a5750805460ff8160101c1615610d7d5762ff0000191681556127aa61354c565b6005546001600160a01b0316803b156116db5781809160646040518094819363368f515360e21b83523060048401523360248401528860448401525af1801561088457612a8a575b50906014544203612a7b5781906128118161280c33613a1d565b6130a4565b61281d82600b546130a4565b3384526010602052816040852055600a543385526010602052600160408620015580600b556004602060018060a01b0360055416604051928380926334cc866d60e21b82525afa908115610a05578591612a39575b50848060405160208101906379befbd160e01b82528760248201526024815261289c604482612dd4565b519082855af13d15612a34573d6128b281612e80565b906128c06040519283612dd4565b81528660203d92013e5b1561297157507f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80916080916128ff8533614307565b6040519133835285602084015260408301526060820152a16005546001600160a01b031690813b1561296d578291604483926040519485938492631407e28160e01b845233600485015260248401525af180156108845761086f5750805462ff000019166201000017815580f35b5050fd5b9093506001600160a01b0316906129888383614307565b604051633033674760e11b81529185612a20578260648160006020948160048401528860248401523360448401525af19081156119ed5785947f13ed6866d4e1ee6da46f845c46d7e54120883d75c5ea9a2dacc1c4ca8984ab80936080936129f1575b506128ff565b612a129060203d602011612a19575b612a0a8183612dd4565b810190612ff3565b50876129eb565b503d612a00565b634e487b7160e01b86526021600452602486fd5b6128ca565b90506020813d602011612a73575b81612a5460209383612dd4565b810103126108c657516001600160a01b03811681036108c65786612872565b3d9150612a47565b630a42bc3960e41b8252600482fd5b81612a9491612dd4565b826127f2565b631068258d60e31b825260045260249150fd5b346103d357806003193601126103d357506020600754604051908152f35b346103d357806003193601126103d3576020600d54604051908152f35b346103d35760203660031901126103d357612b01612e3e565b90805460ff8160101c1615610d7d5762ff000019168155602091612b279061171e61354c565b815462ff000019166201000017909155604051908152f35b346103d357806003193601126103d3576020600854604051908152f35b346103d35760403660031901126103d357612b75612e3e565b50805460ff8160101c1615610d7d5762ff000019168155604051637f4e225760e11b815290602082600481335afa8015612c0b578190612bcf575b60049250612bc35762771b3360e91b8152fd5b634a8af12d60e01b8152fd5b50906020813d602011612c03575b81612bea60209383612dd4565b810103126116db5790612bfe600492612fc9565b612bb0565b3d9150612bdd565b50604051903d90823e3d90fd5b346103d35760203660031901126103d3576116c2600435613701565b346103d35760403660031901126103d357604090612c50612e3e565b33808352600f60209081528484206001600160a01b03909316808552928152939092206024359081905560405190815290927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591a3602060405160018152f35b346103d357806003193601126103d35760ff6020915460081c166040519015158152f35b346103d357806003193601126103d357604051908060015490612cf682612d68565b80855291600181169081156117cc5750600114612d1d576113f98461176d81860382612dd4565b60018152600080516020614728833981519152939250905b808210612d4e5750909150810160200161176d8261175d565b919260018160209254838588010152019101909291612d35565b90600182811c92168015612d98575b6020831014612d8257565b634e487b7160e01b600052602260045260246000fd5b91607f1691612d77565b6020810190811067ffffffffffffffff821117612dbe57604052565b634e487b7160e01b600052604160045260246000fd5b90601f8019910116810190811067ffffffffffffffff821117612dbe57604052565b60005b838110612e095750506000910152565b8181015183820152602001612df9565b90602091612e3281518092818552858086019101612df6565b601f01601f1916010190565b600435906001600160a01b038216820361047257565b602435906001600160a01b038216820361047257565b604435906001600160a01b038216820361047257565b67ffffffffffffffff8111612dbe57601f01601f191660200190565b81601f8201121561047257602081359101612eb682612e80565b92612ec46040519485612dd4565b828452828201116104725781600092602092838601378301015290565b90608060031983011261047257600435916024359160443567ffffffffffffffff81116104725782612f1591600401612e9c565b916064359067ffffffffffffffff821161047257612f3591600401612e9c565b90565b60606003198201126104725760043591602435916044359067ffffffffffffffff821161047257612f3591600401612e9c565b60051115612f7557565b634e487b7160e01b600052602160045260246000fd5b346104725760203660031901126104725763d623472560e01b60005260046000fd5b3461047257600036600319011261047257602060405160008152f35b5190811515820361047257565b602092918152612fee82518093858085019101612df6565b010190565b90816020910312610472575190565b6001600160a01b039182168152911660208201526040810191909152606081019190915260a060808201819052612f3592910190612e19565b908160609103126104725761304f81612fc9565b91602082015160ff81168103610472576040612f35919301612fc9565b519061ffff8216820361047257565b8181029291811591840414171561308e57565b634e487b7160e01b600052601160045260246000fd5b9190820180921161308e57565b600554604051638e8f294b60e01b81523060048201526001600160a01b0390911693929091606083602481885afa9283156119ed5760009060009461351a575b501561350957604051638e8f294b60e01b81526001600160a01b039091166004820181905292606082602481895afa9182156119ed576000906000936134d4575b50156134c35760405163231d97a560e21b81526060816004818a5afa9081156119ed57600091613433575b509061ffff825116655af3107a4000810290808204655af3107a4000149015171561308e5760ff80919416911614613369575b506040516312bdd04160e31b815230600482015292602084602481895afa9384156119ed57600094613332575b506020602496604051978880926312bdd04160e31b82528560048301525afa9586156119ed576000966132f7575b50906020600493926040519485809263182df0f560e01b82525afa9283156119ed576000936132c3575b50670de0b6b3a7640000810180821161308e57826132b0670de0b6b3a764000096936132aa6132a36132be986132958b986132716132b6996040519061325a82612da2565b81526040519061326982612da2565b83825261399b565b956040519061327f82612da2565b81526040519161328e83612da2565b825261399b565b9c6040519061327f82612da2565b80926139d4565b996139d4565b97613a5f565b510494613a5f565b510490565b9092506020813d6020116132ef575b816132df60209383612dd4565b8101031261047257519138613215565b3d91506132d2565b92919095506020833d60201161332a575b8161331560209383612dd4565b810103126104725791519490919060206131eb565b3d9150613308565b95936020873d602011613361575b8161334d60209383612dd4565b810103126103d357509451929460206131bd565b3d9150613340565b604051637f4e225760e11b81529150602082600481305afa80156119ed576000906133f8575b61ffff92506133c1576040015116655af3107a4000810290808204655af3107a4000149015171561308e575b38613190565b6020015116655af3107a4000810290808204655af3107a4000149015176133bb57634e487b7160e01b600052601160045260246000fd5b506020823d60201161342b575b8161341260209383612dd4565b810103126104725761342661ffff92612fc9565b61338f565b3d9150613405565b6060813d6060116134bb575b8161344c60609383612dd4565b810103126116db5760405191606083019083821067ffffffffffffffff8311176134a7575061349c9160409182526134838161306c565b84526134916020820161306c565b60208501520161306c565b60408201523861315d565b634e487b7160e01b81526041600452602490fd5b3d915061343f565b6331c5793560e01b60005260046000fd5b90506134f991925060603d606011613502575b6134f18183612dd4565b81019061303b565b50919038613132565b503d6134e7565b630172c17b60e01b60005260046000fd5b905061353691935060603d606011613502576134f18183612dd4565b509290386130f1565b9190820391821161308e57565b6014544281146136b657601254600b54600c54600a546006546040516315f2405360e01b8152600481018690526024810185905260448101849052919593949390602090839060649082906001600160a01b03165afa9182156119ed5760009261367a575b50946136426135f761367594936135e97f4dec04e750ca11537cabcd8a9eab06494de08da3735bc8871cd41250e190bc04994261353f565b90604051906106f382612da2565b91670de0b6b3a76400006136358261363c61361f846136168d8a613a5f565b51049b8c6130a4565b97846136358d600854604051906106f382612da2565b51046130a4565b95613a5f565b904260145581600a5582600b55600c55604051948594859094939260609260808301968352602083015260408201520152565b0390a1565b929150946020833d6020116136ae575b8161369760209383612dd4565b8101031261047257915191949091906136426135b1565b3d915061368a565b50565b60005460ff8160101c16156136f05762ff000019166000556136d961354c565b600754906201000062ff0000196000541617600055565b63b5dfd9e560e01b60005260046000fd5b6000549060ff8260101c16156136f05761372d9162ff0000191660005561372661354c565b3333613a79565b906201000062ff0000196000541617600055565b811561374b570490565b634e487b7160e01b600052601260045260246000fd5b60405163a9059cbb60e01b81526001600160a01b039092166004830152602482019290925260209060009060449082855af19081601f3d116001600051141615166137e6575b50156137af57565b60405162461bcd60e51b815260206004820152600f60248201526e1514905394d1915497d19052531151608a1b6044820152606490fd5b3b153d17159050386137a7565b6005546000949293919291906001600160a01b0316803b1561088f576040516317b9b84b60e31b81523060048201526001600160a01b03868116602483015283166044820152606481018490529086908290608490829084905af180156108ca57613955575b506001600160a01b0390811693169182841461394657600080516020614708833981519152916020916001600160a01b038116850361392057600019905b6138a1838361353f565b91868952600e85526138b78460408b205461353f565b888a52600e86526138cc8560408c20546130a4565b90888b52600e875260408b2055888a52600e865260408a2055600019036138fa575b5050604051908152a390565b858852600f8452604088209060018060a01b0316600052835260406000205538806138ee565b848752600f835260408088206001600160a01b0383166000908152908552205490613897565b638cd22d1960e01b8552600485fd5b8561396291969296612dd4565b9338613859565b6001600160a01b0391821681529181166020830152918216604082015291166060820152608081019190915260a00190565b670de0b6b3a7640000916139c19160006040516139b781612da2565b525190519061307b565b04604051906139cf82612da2565b815290565b60006040516139e281612da2565b5251670de0b6b3a7640000810290808204670de0b6b3a7640000149015171561308e57613a10915190613741565b604051906139cf82612da2565b6001600160a01b031660009081526010602052604090208054908115613a58576001613a4f612f3593600a549061307b565b91015490613741565b5050600090565b90613a10916000604051613a7281612da2565b525161307b565b60055460009291906001600160a01b0316803b15610a3457604051631200453160e11b81523060048201526001600160a01b03838116602483015284166044820152606481018690529084908290608490829084905af18015610ba557613c18575b506014544203613c0957613aee82613a1d565b9384811015613bfc57613b05613b0c915b83614337565b809561353f565b7f1a2a22cb034d26d1854bdc6666a5b91fe25efbbb5dcad3b0355478d6f5c362a160a0613b3b87600b5461353f565b94600180831b0316938487526010602052836040882055600a5495858852601060205286600160408a20015580600b5560405191600180851b03169485835286602084015289604084015260608301526080820152a16005546001600160a01b0316803b156108c6578492918360a4926040519687958694631ededc9160e01b86523060048701526024860152604485015289606485015260848401525af1801561088457613be957505090565b613bf4828092612dd4565b6103d3575090565b50613b0c613b0585613aff565b63c714a2d560e01b8352600483fd5b83613c2591949294612dd4565b9138613adb565b6007549160009160405191613c4083612da2565b8483526005546001600160a01b0316803b156108c657848091608460405180948193635bca9add60e01b835230600484015260018060a01b0389169b8c602485015288604485015260648401525af18015610a0557613d94575b506014544203613d8557613cae9082614337565b916103e8831115613d7657613cc3908361463b565b928315613d6757907f4c209b5fc8ad50758f13e2e1088ba56a560dff690a1c6fef26394f4c03821c4f9291613cfa85600d546130a4565b600d55858152600e6020526040613d1486828420546130a4565b91878152600e6020522055613d488460405193849384604091949392606082019560018060a01b0316825260208201520152565b0390a160405190815260008051602061470883398151915260203092a3565b634f87e6f560e01b8152600490fd5b6310deaa5960e01b8452600484fd5b633393b25760e01b8452600484fd5b84613da191959295612dd4565b9238613c9a565b906041815114600014613dd657613dd2916020820151906060604084015193015160001a90614667565b9091565b5050600090600290565b613de981612f6b565b80613df15750565b613dfa81612f6b565b60018103613e475760405162461bcd60e51b815260206004820152601860248201527f45434453413a20696e76616c6964207369676e617475726500000000000000006044820152606490fd5b613e5081612f6b565b60028103613e9d5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606490fd5b600390613ea981612f6b565b14613eb057565b60405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608490fd5b6001600160a01b039182168152911660208201526040810191909152606081019190915260800190565b81151591906000838061418a575b61417b576007549360405194613f4d86612da2565b85521561416857670de0b6b3a7640000613f678486613a5f565b5104905b6001600160a01b038316808252600e6020526040822054909590859003614137575b60018060a01b03600554169051813b1561273a57613fc7839283926040519485809481936317c4196b60e11b83528c8c3060048601613f00565b03925af18015610884578290614127575b505060145442036141185750613ff083600d5461353f565b600d55600093808552600e60205261400c84604087205461353f565b818652600e6020526040862055808552600e6020526040852054151580614100575b6140f15761403c82826144da565b6040519084825260008051602061470883398151915260203093a3604080516001600160a01b0384168152602081018390529081018490527fe5b754fb1abb7f01b499791d0b820ae3b6af3424ac1c59768edb53f4ec31a92990606090a16005546001600160a01b031691823b156108c657916140d59391858094604051968795869485936351dff98960e01b85523060048601613f00565b03925af18015610884576140e7575050565b816136b691612dd4565b6330a46c4960e21b8552600485fd5b50808552600e6020526103e86040862054111561402e565b63a17754ef60e01b8152600490fd5b61413091612dd4565b3881613fd8565b6103e8851115614159576103e88311613f8d57632005234160e01b8252600482fd5b63d1b61f5160e01b8252600482fd5b9150614174838361463b565b9180613f6b565b63431f269d60e01b8152600490fd5b5080613f38565b811515919060008380614300575b61417b5760075493604051946141b486612da2565b8552156142ed57670de0b6b3a76400006141ce8486613a5f565b5104905b6001600160a01b038316808252600e60205260408220549095908590036142cb575b60018060a01b03600554169051813b1561273a5761422e839283926040519485809481936317c4196b60e11b83528c8c3060048601613f00565b03925af180156108845782906142bb575b50506014544203614118575061425783600d5461353f565b600d55600093808552600e60205261427384604087205461353f565b818652600e6020526040862055808552600e60205260408520541515806142a3575b6140f15761403c8284614307565b50808552600e6020526103e860408620541115614295565b6142c491612dd4565b388161423f565b6103e8851115614159576103e883116141f457632005234160e01b8252600482fd5b91506142f9838361463b565b91806141d2565b508061419f565b600054614332929161432a9183916001600160a01b039081169160181c16613761565b60125461353f565b601255565b6000546040516370a0823160e01b815230600482015260189190911c6001600160a01b0316929091602083602481875afa9283156119ed576000936144a5575b506040516323b872dd60e01b81526001600160a01b039091166004820152306024820152604481019190915260209060009060649082865af180601f3d11600160005114161516614499575b1561445d576020602492604051938480926370a0823160e01b82523060048301525afa9182156119ed57600092614429575b50808210614418576144069161353f565b614412816012546130a4565b60125590565b63065559c560e51b60005260046000fd5b90916020823d602011614455575b8161444460209383612dd4565b810103126103d357505190386143f5565b3d9150614437565b60405162461bcd60e51b81526020600482015260146024820152731514905394d1915497d19493d357d1905253115160621b6044820152606490fd5b503d823b1517156143c3565b90926020823d6020116144d2575b816144c060209383612dd4565b810103126103d3575051916064614377565b3d91506144b3565b6005546040516334cc866d60e21b81526000939291602090829060049082906001600160a01b03165afa908115610ba55784916145f9575b50838060405160208101906379befbd160e01b82528660248201526024815261453c604482612dd4565b519082855af13d156145f4573d61455281612e80565b906145606040519283612dd4565b81528560203d92013e5b15614585575061458392506001600160a01b0316614307565b565b6001600160a01b03169260209260649161459f8287614307565b5060006040519586948593633033674760e11b855260016004860152602485015260018060a01b031660448401525af180156119ed576145dc5750565b6136b69060203d602011612a1957612a0a8183612dd4565b61456a565b90506020813d602011614633575b8161461460209383612dd4565b81010312610a3457516001600160a01b0381168103610a345738614512565b3d9150614607565b670de0b6b3a7640000810290808204670de0b6b3a7640000149015171561308e57612f35915190613741565b7f7fffffffffffffffffffffffffffffff5d576e7357a4501ddfe92f46681b20a084116146db5760209360009360ff60809460405194855216868401526040830152606082015282805260015afa156119ed576000516001600160a01b038116156146d25790600090565b50600090600190565b5050505060009060039056fe405787fa12a823e0f2b7631cc41b3ba8828b3321ca811111fa75cd3aa3bb5aceddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efb10e2d527612073b26eecdfd717e6a320cf44b4afac2b0732d9fcbe2b7fa0cf6a264697066735822122053558ff5c307ecbf23a1aea989d25b6c1880fa35485876b78adcd658884abff064736f6c634300081a0033";
|
|
2089
|
+
const isSuperArgs = (xs) => xs.length > 1;
|
|
2090
|
+
class CCompliantErc20__factory extends ethers_1.ContractFactory {
|
|
2091
|
+
constructor(...args) {
|
|
2092
|
+
if (isSuperArgs(args)) {
|
|
2093
|
+
super(...args);
|
|
2094
|
+
}
|
|
2095
|
+
else {
|
|
2096
|
+
super(_abi, _bytecode, args[0]);
|
|
2097
|
+
}
|
|
2098
|
+
}
|
|
2099
|
+
getDeployTransaction(overrides) {
|
|
2100
|
+
return super.getDeployTransaction(overrides || {});
|
|
2101
|
+
}
|
|
2102
|
+
deploy(overrides) {
|
|
2103
|
+
return super.deploy(overrides || {});
|
|
2104
|
+
}
|
|
2105
|
+
connect(runner) {
|
|
2106
|
+
return super.connect(runner);
|
|
2107
|
+
}
|
|
2108
|
+
static createInterface() {
|
|
2109
|
+
return new ethers_1.Interface(_abi);
|
|
2110
|
+
}
|
|
2111
|
+
static connect(address, runner) {
|
|
2112
|
+
return new ethers_1.Contract(address, _abi, runner);
|
|
2113
|
+
}
|
|
2114
|
+
}
|
|
2115
|
+
exports.CCompliantErc20__factory = CCompliantErc20__factory;
|
|
2116
|
+
CCompliantErc20__factory.bytecode = _bytecode;
|
|
2117
|
+
CCompliantErc20__factory.abi = _abi;
|
|
2118
|
+
//# sourceMappingURL=CCompliantErc20__factory.js.map
|