@venusprotocol/protocol-reserve 1.4.0 → 1.5.0-dev.2
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/deployments/bscmainnet/RiskFundV2.json +78 -14
- package/deployments/bscmainnet/solcInputs/e599bc05495d18590ac88167d546a0ef.json +228 -0
- package/deployments/bscmainnet.json +49 -1
- package/deployments/bscmainnet_addresses.json +1 -1
- package/dist/deploy/006-risk-fund-v2.d.ts +7 -0
- package/dist/deploy/006-risk-fund-v2.d.ts.map +1 -0
- package/dist/deploy/006-risk-fund-v2.js +25 -0
- package/dist/deploy/006-risk-fund-v2.js.map +1 -0
- package/package.json +2 -3
- package/typechain/AbstractTokenConverter.d.ts +0 -1775
- package/typechain/AccessControl.d.ts +0 -388
- package/typechain/AccessControlledV8.d.ts +0 -341
- package/typechain/BeaconProxy.d.ts +0 -126
- package/typechain/BoundValidatorInterface.d.ts +0 -126
- package/typechain/ContextUpgradeable.d.ts +0 -92
- package/typechain/ConverterNetwork.d.ts +0 -723
- package/typechain/ERC165.d.ts +0 -116
- package/typechain/ERC1967Upgrade.d.ts +0 -126
- package/typechain/ERC20.d.ts +0 -441
- package/typechain/IAbstractTokenConverter.d.ts +0 -773
- package/typechain/IAccessControl.d.ts +0 -333
- package/typechain/IAccessControlManagerV8.d.ts +0 -504
- package/typechain/IBeacon.d.ts +0 -101
- package/typechain/IComptroller.d.ts +0 -136
- package/typechain/IConverterNetwork.d.ts +0 -292
- package/typechain/IERC165.d.ts +0 -116
- package/typechain/IERC1822Proxiable.d.ts +0 -101
- package/typechain/IERC1967.d.ts +0 -126
- package/typechain/IERC20.d.ts +0 -324
- package/typechain/IERC20Metadata.d.ts +0 -363
- package/typechain/IERC20PermitUpgradeable.d.ts +0 -187
- package/typechain/IERC20Upgradeable.d.ts +0 -324
- package/typechain/IIncomeDestination.d.ts +0 -122
- package/typechain/IPoolRegistry.d.ts +0 -155
- package/typechain/IProtocolShareReserve.d.ts +0 -127
- package/typechain/IRiskFund.d.ts +0 -200
- package/typechain/IRiskFundConverter.d.ts +0 -138
- package/typechain/IRiskFundGetters.d.ts +0 -103
- package/typechain/IShortfall.d.ts +0 -110
- package/typechain/IVToken.d.ts +0 -98
- package/typechain/IXVSVault.d.ts +0 -95
- package/typechain/Initializable.d.ts +0 -92
- package/typechain/MaxLoopsLimitHelper.d.ts +0 -128
- package/typechain/MaxLoopsLimitHelpersStorage.d.ts +0 -101
- package/typechain/MockACM.d.ts +0 -615
- package/typechain/MockArraySorter.d.ts +0 -118
- package/typechain/MockConverter.d.ts +0 -1969
- package/typechain/MockDeflatingToken.d.ts +0 -486
- package/typechain/MockRiskFundConverter.d.ts +0 -2479
- package/typechain/MockToken.d.ts +0 -505
- package/typechain/OracleInterface.d.ts +0 -98
- package/typechain/Ownable.d.ts +0 -181
- package/typechain/Ownable2StepUpgradeable.d.ts +0 -261
- package/typechain/OwnableUpgradeable.d.ts +0 -193
- package/typechain/PausableUpgradeable.d.ts +0 -129
- package/typechain/ProtocolShareReserve.d.ts +0 -1214
- package/typechain/Proxy.d.ts +0 -78
- package/typechain/ReentrancyGuardUpgradeable.d.ts +0 -92
- package/typechain/ReserveHelpersStorage.d.ts +0 -300
- package/typechain/ResilientOracle.d.ts +0 -1034
- package/typechain/ResilientOracleInterface.d.ts +0 -192
- package/typechain/RiskFundConverter.d.ts +0 -2235
- package/typechain/RiskFundV1Storage.d.ts +0 -353
- package/typechain/RiskFundV2.d.ts +0 -965
- package/typechain/RiskFundV2Storage.d.ts +0 -372
- package/typechain/SingleTokenConverter.d.ts +0 -1944
- package/typechain/TwapInterface.d.ts +0 -124
- package/typechain/UpgradeableBeacon.d.ts +0 -240
- package/typechain/VBep20Interface.d.ts +0 -379
- package/typechain/XVSVaultTreasury.d.ts +0 -515
- package/typechain/common.d.ts +0 -35
- package/typechain/factories/AbstractTokenConverter__factory.ts +0 -1297
- package/typechain/factories/AccessControl__factory.ts +0 -227
- package/typechain/factories/AccessControlledV8__factory.ts +0 -196
- package/typechain/factories/BeaconProxy__factory.ts +0 -133
- package/typechain/factories/BoundValidatorInterface__factory.ts +0 -59
- package/typechain/factories/ContextUpgradeable__factory.ts +0 -39
- package/typechain/factories/ConverterNetwork__factory.ts +0 -502
- package/typechain/factories/ERC165__factory.ts +0 -39
- package/typechain/factories/ERC1967Upgrade__factory.ts +0 -71
- package/typechain/factories/ERC20__factory.ts +0 -340
- package/typechain/factories/IAbstractTokenConverter__factory.ts +0 -466
- package/typechain/factories/IAccessControlManagerV8__factory.ts +0 -301
- package/typechain/factories/IAccessControl__factory.ts +0 -198
- package/typechain/factories/IBeacon__factory.ts +0 -36
- package/typechain/factories/IComptroller__factory.ts +0 -68
- package/typechain/factories/IConverterNetwork__factory.ts +0 -142
- package/typechain/factories/IERC165__factory.ts +0 -42
- package/typechain/factories/IERC1822Proxiable__factory.ts +0 -39
- package/typechain/factories/IERC1967__factory.ts +0 -68
- package/typechain/factories/IERC20Metadata__factory.ts +0 -248
- package/typechain/factories/IERC20PermitUpgradeable__factory.ts +0 -105
- package/typechain/factories/IERC20Upgradeable__factory.ts +0 -209
- package/typechain/factories/IERC20__factory.ts +0 -203
- package/typechain/factories/IIncomeDestination__factory.ts +0 -44
- package/typechain/factories/IPoolRegistry__factory.ts +0 -66
- package/typechain/factories/IProtocolShareReserve__factory.ts +0 -53
- package/typechain/factories/IRiskFundConverter__factory.ts +0 -63
- package/typechain/factories/IRiskFundGetters__factory.ts +0 -39
- package/typechain/factories/IRiskFund__factory.ts +0 -89
- package/typechain/factories/IShortfall__factory.ts +0 -36
- package/typechain/factories/IVToken__factory.ts +0 -36
- package/typechain/factories/IXVSVault__factory.ts +0 -36
- package/typechain/factories/Initializable__factory.ts +0 -36
- package/typechain/factories/MaxLoopsLimitHelper__factory.ts +0 -74
- package/typechain/factories/MaxLoopsLimitHelpersStorage__factory.ts +0 -75
- package/typechain/factories/MockACM__factory.ts +0 -411
- package/typechain/factories/MockArraySorter__factory.ts +0 -85
- package/typechain/factories/MockConverter__factory.ts +0 -1439
- package/typechain/factories/MockDeflatingToken__factory.ts +0 -389
- package/typechain/factories/MockRiskFundConverter__factory.ts +0 -1828
- package/typechain/factories/MockToken__factory.ts +0 -398
- package/typechain/factories/OracleInterface__factory.ts +0 -45
- package/typechain/factories/Ownable2StepUpgradeable__factory.ts +0 -134
- package/typechain/factories/OwnableUpgradeable__factory.ts +0 -91
- package/typechain/factories/Ownable__factory.ts +0 -75
- package/typechain/factories/PausableUpgradeable__factory.ts +0 -78
- package/typechain/factories/ProtocolShareReserve__factory.ts +0 -874
- package/typechain/factories/Proxy__factory.ts +0 -28
- package/typechain/factories/ReentrancyGuardUpgradeable__factory.ts +0 -43
- package/typechain/factories/ReserveHelpersStorage__factory.ts +0 -188
- package/typechain/factories/ResilientOracleInterface__factory.ts +0 -94
- package/typechain/factories/ResilientOracle__factory.ts +0 -710
- package/typechain/factories/RiskFundConverter__factory.ts +0 -1694
- package/typechain/factories/RiskFundV1Storage__factory.ts +0 -223
- package/typechain/factories/RiskFundV2Storage__factory.ts +0 -236
- package/typechain/factories/RiskFundV2__factory.ts +0 -672
- package/typechain/factories/SingleTokenConverter__factory.ts +0 -1441
- package/typechain/factories/TwapInterface__factory.ts +0 -61
- package/typechain/factories/UpgradeableBeacon__factory.ts +0 -163
- package/typechain/factories/VBep20Interface__factory.ts +0 -261
- package/typechain/factories/XVSVaultTreasury__factory.ts +0 -365
- package/typechain/index.ts +0 -126
|
@@ -1,1439 +0,0 @@
|
|
|
1
|
-
/* Autogenerated file. Do not edit manually. */
|
|
2
|
-
/* tslint:disable */
|
|
3
|
-
/* eslint-disable */
|
|
4
|
-
|
|
5
|
-
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
6
|
-
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
7
|
-
import type { MockConverter, MockConverterInterface } from "../MockConverter";
|
|
8
|
-
|
|
9
|
-
const _abi = [
|
|
10
|
-
{
|
|
11
|
-
inputs: [
|
|
12
|
-
{
|
|
13
|
-
internalType: "uint256",
|
|
14
|
-
name: "amountInMantissa",
|
|
15
|
-
type: "uint256",
|
|
16
|
-
},
|
|
17
|
-
{
|
|
18
|
-
internalType: "uint256",
|
|
19
|
-
name: "amountInMaxMantissa",
|
|
20
|
-
type: "uint256",
|
|
21
|
-
},
|
|
22
|
-
],
|
|
23
|
-
name: "AmountInHigherThanMax",
|
|
24
|
-
type: "error",
|
|
25
|
-
},
|
|
26
|
-
{
|
|
27
|
-
inputs: [],
|
|
28
|
-
name: "AmountInMismatched",
|
|
29
|
-
type: "error",
|
|
30
|
-
},
|
|
31
|
-
{
|
|
32
|
-
inputs: [
|
|
33
|
-
{
|
|
34
|
-
internalType: "uint256",
|
|
35
|
-
name: "amountOutMantissa",
|
|
36
|
-
type: "uint256",
|
|
37
|
-
},
|
|
38
|
-
{
|
|
39
|
-
internalType: "uint256",
|
|
40
|
-
name: "amountOutMinMantissa",
|
|
41
|
-
type: "uint256",
|
|
42
|
-
},
|
|
43
|
-
],
|
|
44
|
-
name: "AmountOutLowerThanMinRequired",
|
|
45
|
-
type: "error",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
inputs: [],
|
|
49
|
-
name: "AmountOutMismatched",
|
|
50
|
-
type: "error",
|
|
51
|
-
},
|
|
52
|
-
{
|
|
53
|
-
inputs: [],
|
|
54
|
-
name: "ConversionConfigNotEnabled",
|
|
55
|
-
type: "error",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
inputs: [],
|
|
59
|
-
name: "ConversionEnabledOnlyForPrivateConversions",
|
|
60
|
-
type: "error",
|
|
61
|
-
},
|
|
62
|
-
{
|
|
63
|
-
inputs: [],
|
|
64
|
-
name: "ConversionTokensActive",
|
|
65
|
-
type: "error",
|
|
66
|
-
},
|
|
67
|
-
{
|
|
68
|
-
inputs: [],
|
|
69
|
-
name: "ConversionTokensPaused",
|
|
70
|
-
type: "error",
|
|
71
|
-
},
|
|
72
|
-
{
|
|
73
|
-
inputs: [],
|
|
74
|
-
name: "DeflationaryTokenNotSupported",
|
|
75
|
-
type: "error",
|
|
76
|
-
},
|
|
77
|
-
{
|
|
78
|
-
inputs: [
|
|
79
|
-
{
|
|
80
|
-
internalType: "uint256",
|
|
81
|
-
name: "incentive",
|
|
82
|
-
type: "uint256",
|
|
83
|
-
},
|
|
84
|
-
{
|
|
85
|
-
internalType: "uint256",
|
|
86
|
-
name: "maxIncentive",
|
|
87
|
-
type: "uint256",
|
|
88
|
-
},
|
|
89
|
-
],
|
|
90
|
-
name: "IncentiveTooHigh",
|
|
91
|
-
type: "error",
|
|
92
|
-
},
|
|
93
|
-
{
|
|
94
|
-
inputs: [],
|
|
95
|
-
name: "InputLengthMisMatch",
|
|
96
|
-
type: "error",
|
|
97
|
-
},
|
|
98
|
-
{
|
|
99
|
-
inputs: [],
|
|
100
|
-
name: "InsufficientInputAmount",
|
|
101
|
-
type: "error",
|
|
102
|
-
},
|
|
103
|
-
{
|
|
104
|
-
inputs: [],
|
|
105
|
-
name: "InsufficientOutputAmount",
|
|
106
|
-
type: "error",
|
|
107
|
-
},
|
|
108
|
-
{
|
|
109
|
-
inputs: [],
|
|
110
|
-
name: "InsufficientPoolLiquidity",
|
|
111
|
-
type: "error",
|
|
112
|
-
},
|
|
113
|
-
{
|
|
114
|
-
inputs: [],
|
|
115
|
-
name: "InvalidConverterNetwork",
|
|
116
|
-
type: "error",
|
|
117
|
-
},
|
|
118
|
-
{
|
|
119
|
-
inputs: [],
|
|
120
|
-
name: "InvalidMinimumAmountToConvert",
|
|
121
|
-
type: "error",
|
|
122
|
-
},
|
|
123
|
-
{
|
|
124
|
-
inputs: [],
|
|
125
|
-
name: "InvalidToAddress",
|
|
126
|
-
type: "error",
|
|
127
|
-
},
|
|
128
|
-
{
|
|
129
|
-
inputs: [],
|
|
130
|
-
name: "InvalidTokenConfigAddresses",
|
|
131
|
-
type: "error",
|
|
132
|
-
},
|
|
133
|
-
{
|
|
134
|
-
inputs: [],
|
|
135
|
-
name: "NonZeroIncentiveForPrivateConversion",
|
|
136
|
-
type: "error",
|
|
137
|
-
},
|
|
138
|
-
{
|
|
139
|
-
inputs: [
|
|
140
|
-
{
|
|
141
|
-
internalType: "address",
|
|
142
|
-
name: "sender",
|
|
143
|
-
type: "address",
|
|
144
|
-
},
|
|
145
|
-
{
|
|
146
|
-
internalType: "address",
|
|
147
|
-
name: "calledContract",
|
|
148
|
-
type: "address",
|
|
149
|
-
},
|
|
150
|
-
{
|
|
151
|
-
internalType: "string",
|
|
152
|
-
name: "methodSignature",
|
|
153
|
-
type: "string",
|
|
154
|
-
},
|
|
155
|
-
],
|
|
156
|
-
name: "Unauthorized",
|
|
157
|
-
type: "error",
|
|
158
|
-
},
|
|
159
|
-
{
|
|
160
|
-
inputs: [],
|
|
161
|
-
name: "ZeroAddressNotAllowed",
|
|
162
|
-
type: "error",
|
|
163
|
-
},
|
|
164
|
-
{
|
|
165
|
-
inputs: [],
|
|
166
|
-
name: "ZeroValueNotAllowed",
|
|
167
|
-
type: "error",
|
|
168
|
-
},
|
|
169
|
-
{
|
|
170
|
-
anonymous: false,
|
|
171
|
-
inputs: [
|
|
172
|
-
{
|
|
173
|
-
indexed: true,
|
|
174
|
-
internalType: "address",
|
|
175
|
-
name: "comptroller",
|
|
176
|
-
type: "address",
|
|
177
|
-
},
|
|
178
|
-
{
|
|
179
|
-
indexed: true,
|
|
180
|
-
internalType: "address",
|
|
181
|
-
name: "asset",
|
|
182
|
-
type: "address",
|
|
183
|
-
},
|
|
184
|
-
{
|
|
185
|
-
indexed: false,
|
|
186
|
-
internalType: "uint256",
|
|
187
|
-
name: "amount",
|
|
188
|
-
type: "uint256",
|
|
189
|
-
},
|
|
190
|
-
],
|
|
191
|
-
name: "AssetsReservesUpdated",
|
|
192
|
-
type: "event",
|
|
193
|
-
},
|
|
194
|
-
{
|
|
195
|
-
anonymous: false,
|
|
196
|
-
inputs: [
|
|
197
|
-
{
|
|
198
|
-
indexed: true,
|
|
199
|
-
internalType: "address",
|
|
200
|
-
name: "tokenAddressIn",
|
|
201
|
-
type: "address",
|
|
202
|
-
},
|
|
203
|
-
{
|
|
204
|
-
indexed: true,
|
|
205
|
-
internalType: "address",
|
|
206
|
-
name: "tokenAddressOut",
|
|
207
|
-
type: "address",
|
|
208
|
-
},
|
|
209
|
-
{
|
|
210
|
-
indexed: false,
|
|
211
|
-
internalType: "uint256",
|
|
212
|
-
name: "oldIncentive",
|
|
213
|
-
type: "uint256",
|
|
214
|
-
},
|
|
215
|
-
{
|
|
216
|
-
indexed: false,
|
|
217
|
-
internalType: "uint256",
|
|
218
|
-
name: "newIncentive",
|
|
219
|
-
type: "uint256",
|
|
220
|
-
},
|
|
221
|
-
{
|
|
222
|
-
indexed: false,
|
|
223
|
-
internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
|
|
224
|
-
name: "oldAccess",
|
|
225
|
-
type: "uint8",
|
|
226
|
-
},
|
|
227
|
-
{
|
|
228
|
-
indexed: false,
|
|
229
|
-
internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
|
|
230
|
-
name: "newAccess",
|
|
231
|
-
type: "uint8",
|
|
232
|
-
},
|
|
233
|
-
],
|
|
234
|
-
name: "ConversionConfigUpdated",
|
|
235
|
-
type: "event",
|
|
236
|
-
},
|
|
237
|
-
{
|
|
238
|
-
anonymous: false,
|
|
239
|
-
inputs: [
|
|
240
|
-
{
|
|
241
|
-
indexed: true,
|
|
242
|
-
internalType: "address",
|
|
243
|
-
name: "sender",
|
|
244
|
-
type: "address",
|
|
245
|
-
},
|
|
246
|
-
],
|
|
247
|
-
name: "ConversionPaused",
|
|
248
|
-
type: "event",
|
|
249
|
-
},
|
|
250
|
-
{
|
|
251
|
-
anonymous: false,
|
|
252
|
-
inputs: [
|
|
253
|
-
{
|
|
254
|
-
indexed: true,
|
|
255
|
-
internalType: "address",
|
|
256
|
-
name: "sender",
|
|
257
|
-
type: "address",
|
|
258
|
-
},
|
|
259
|
-
],
|
|
260
|
-
name: "ConversionResumed",
|
|
261
|
-
type: "event",
|
|
262
|
-
},
|
|
263
|
-
{
|
|
264
|
-
anonymous: false,
|
|
265
|
-
inputs: [
|
|
266
|
-
{
|
|
267
|
-
indexed: true,
|
|
268
|
-
internalType: "address",
|
|
269
|
-
name: "sender",
|
|
270
|
-
type: "address",
|
|
271
|
-
},
|
|
272
|
-
{
|
|
273
|
-
indexed: true,
|
|
274
|
-
internalType: "address",
|
|
275
|
-
name: "receiver",
|
|
276
|
-
type: "address",
|
|
277
|
-
},
|
|
278
|
-
{
|
|
279
|
-
indexed: false,
|
|
280
|
-
internalType: "address",
|
|
281
|
-
name: "tokenAddressIn",
|
|
282
|
-
type: "address",
|
|
283
|
-
},
|
|
284
|
-
{
|
|
285
|
-
indexed: true,
|
|
286
|
-
internalType: "address",
|
|
287
|
-
name: "tokenAddressOut",
|
|
288
|
-
type: "address",
|
|
289
|
-
},
|
|
290
|
-
{
|
|
291
|
-
indexed: false,
|
|
292
|
-
internalType: "uint256",
|
|
293
|
-
name: "amountIn",
|
|
294
|
-
type: "uint256",
|
|
295
|
-
},
|
|
296
|
-
{
|
|
297
|
-
indexed: false,
|
|
298
|
-
internalType: "uint256",
|
|
299
|
-
name: "amountOut",
|
|
300
|
-
type: "uint256",
|
|
301
|
-
},
|
|
302
|
-
],
|
|
303
|
-
name: "ConvertedExactTokens",
|
|
304
|
-
type: "event",
|
|
305
|
-
},
|
|
306
|
-
{
|
|
307
|
-
anonymous: false,
|
|
308
|
-
inputs: [
|
|
309
|
-
{
|
|
310
|
-
indexed: true,
|
|
311
|
-
internalType: "address",
|
|
312
|
-
name: "sender",
|
|
313
|
-
type: "address",
|
|
314
|
-
},
|
|
315
|
-
{
|
|
316
|
-
indexed: true,
|
|
317
|
-
internalType: "address",
|
|
318
|
-
name: "receiver",
|
|
319
|
-
type: "address",
|
|
320
|
-
},
|
|
321
|
-
{
|
|
322
|
-
indexed: false,
|
|
323
|
-
internalType: "address",
|
|
324
|
-
name: "tokenAddressIn",
|
|
325
|
-
type: "address",
|
|
326
|
-
},
|
|
327
|
-
{
|
|
328
|
-
indexed: true,
|
|
329
|
-
internalType: "address",
|
|
330
|
-
name: "tokenAddressOut",
|
|
331
|
-
type: "address",
|
|
332
|
-
},
|
|
333
|
-
{
|
|
334
|
-
indexed: false,
|
|
335
|
-
internalType: "uint256",
|
|
336
|
-
name: "amountIn",
|
|
337
|
-
type: "uint256",
|
|
338
|
-
},
|
|
339
|
-
{
|
|
340
|
-
indexed: false,
|
|
341
|
-
internalType: "uint256",
|
|
342
|
-
name: "amountOut",
|
|
343
|
-
type: "uint256",
|
|
344
|
-
},
|
|
345
|
-
],
|
|
346
|
-
name: "ConvertedExactTokensSupportingFeeOnTransferTokens",
|
|
347
|
-
type: "event",
|
|
348
|
-
},
|
|
349
|
-
{
|
|
350
|
-
anonymous: false,
|
|
351
|
-
inputs: [
|
|
352
|
-
{
|
|
353
|
-
indexed: true,
|
|
354
|
-
internalType: "address",
|
|
355
|
-
name: "sender",
|
|
356
|
-
type: "address",
|
|
357
|
-
},
|
|
358
|
-
{
|
|
359
|
-
indexed: true,
|
|
360
|
-
internalType: "address",
|
|
361
|
-
name: "receiver",
|
|
362
|
-
type: "address",
|
|
363
|
-
},
|
|
364
|
-
{
|
|
365
|
-
indexed: false,
|
|
366
|
-
internalType: "address",
|
|
367
|
-
name: "tokenAddressIn",
|
|
368
|
-
type: "address",
|
|
369
|
-
},
|
|
370
|
-
{
|
|
371
|
-
indexed: true,
|
|
372
|
-
internalType: "address",
|
|
373
|
-
name: "tokenAddressOut",
|
|
374
|
-
type: "address",
|
|
375
|
-
},
|
|
376
|
-
{
|
|
377
|
-
indexed: false,
|
|
378
|
-
internalType: "uint256",
|
|
379
|
-
name: "amountIn",
|
|
380
|
-
type: "uint256",
|
|
381
|
-
},
|
|
382
|
-
{
|
|
383
|
-
indexed: false,
|
|
384
|
-
internalType: "uint256",
|
|
385
|
-
name: "amountOut",
|
|
386
|
-
type: "uint256",
|
|
387
|
-
},
|
|
388
|
-
],
|
|
389
|
-
name: "ConvertedForExactTokens",
|
|
390
|
-
type: "event",
|
|
391
|
-
},
|
|
392
|
-
{
|
|
393
|
-
anonymous: false,
|
|
394
|
-
inputs: [
|
|
395
|
-
{
|
|
396
|
-
indexed: true,
|
|
397
|
-
internalType: "address",
|
|
398
|
-
name: "sender",
|
|
399
|
-
type: "address",
|
|
400
|
-
},
|
|
401
|
-
{
|
|
402
|
-
indexed: true,
|
|
403
|
-
internalType: "address",
|
|
404
|
-
name: "receiver",
|
|
405
|
-
type: "address",
|
|
406
|
-
},
|
|
407
|
-
{
|
|
408
|
-
indexed: false,
|
|
409
|
-
internalType: "address",
|
|
410
|
-
name: "tokenAddressIn",
|
|
411
|
-
type: "address",
|
|
412
|
-
},
|
|
413
|
-
{
|
|
414
|
-
indexed: true,
|
|
415
|
-
internalType: "address",
|
|
416
|
-
name: "tokenAddressOut",
|
|
417
|
-
type: "address",
|
|
418
|
-
},
|
|
419
|
-
{
|
|
420
|
-
indexed: false,
|
|
421
|
-
internalType: "uint256",
|
|
422
|
-
name: "amountIn",
|
|
423
|
-
type: "uint256",
|
|
424
|
-
},
|
|
425
|
-
{
|
|
426
|
-
indexed: false,
|
|
427
|
-
internalType: "uint256",
|
|
428
|
-
name: "amountOut",
|
|
429
|
-
type: "uint256",
|
|
430
|
-
},
|
|
431
|
-
],
|
|
432
|
-
name: "ConvertedForExactTokensSupportingFeeOnTransferTokens",
|
|
433
|
-
type: "event",
|
|
434
|
-
},
|
|
435
|
-
{
|
|
436
|
-
anonymous: false,
|
|
437
|
-
inputs: [
|
|
438
|
-
{
|
|
439
|
-
indexed: true,
|
|
440
|
-
internalType: "address",
|
|
441
|
-
name: "oldConverterNetwork",
|
|
442
|
-
type: "address",
|
|
443
|
-
},
|
|
444
|
-
{
|
|
445
|
-
indexed: true,
|
|
446
|
-
internalType: "address",
|
|
447
|
-
name: "converterNetwork",
|
|
448
|
-
type: "address",
|
|
449
|
-
},
|
|
450
|
-
],
|
|
451
|
-
name: "ConverterNetworkAddressUpdated",
|
|
452
|
-
type: "event",
|
|
453
|
-
},
|
|
454
|
-
{
|
|
455
|
-
anonymous: false,
|
|
456
|
-
inputs: [
|
|
457
|
-
{
|
|
458
|
-
indexed: true,
|
|
459
|
-
internalType: "address",
|
|
460
|
-
name: "oldDestinationAddress",
|
|
461
|
-
type: "address",
|
|
462
|
-
},
|
|
463
|
-
{
|
|
464
|
-
indexed: true,
|
|
465
|
-
internalType: "address",
|
|
466
|
-
name: "destinationAddress",
|
|
467
|
-
type: "address",
|
|
468
|
-
},
|
|
469
|
-
],
|
|
470
|
-
name: "DestinationAddressUpdated",
|
|
471
|
-
type: "event",
|
|
472
|
-
},
|
|
473
|
-
{
|
|
474
|
-
anonymous: false,
|
|
475
|
-
inputs: [
|
|
476
|
-
{
|
|
477
|
-
indexed: false,
|
|
478
|
-
internalType: "uint8",
|
|
479
|
-
name: "version",
|
|
480
|
-
type: "uint8",
|
|
481
|
-
},
|
|
482
|
-
],
|
|
483
|
-
name: "Initialized",
|
|
484
|
-
type: "event",
|
|
485
|
-
},
|
|
486
|
-
{
|
|
487
|
-
anonymous: false,
|
|
488
|
-
inputs: [
|
|
489
|
-
{
|
|
490
|
-
indexed: false,
|
|
491
|
-
internalType: "uint256",
|
|
492
|
-
name: "oldMinAmountToConvert",
|
|
493
|
-
type: "uint256",
|
|
494
|
-
},
|
|
495
|
-
{
|
|
496
|
-
indexed: false,
|
|
497
|
-
internalType: "uint256",
|
|
498
|
-
name: "newMinAmountToConvert",
|
|
499
|
-
type: "uint256",
|
|
500
|
-
},
|
|
501
|
-
],
|
|
502
|
-
name: "MinAmountToConvertUpdated",
|
|
503
|
-
type: "event",
|
|
504
|
-
},
|
|
505
|
-
{
|
|
506
|
-
anonymous: false,
|
|
507
|
-
inputs: [
|
|
508
|
-
{
|
|
509
|
-
indexed: false,
|
|
510
|
-
internalType: "address",
|
|
511
|
-
name: "oldAccessControlManager",
|
|
512
|
-
type: "address",
|
|
513
|
-
},
|
|
514
|
-
{
|
|
515
|
-
indexed: false,
|
|
516
|
-
internalType: "address",
|
|
517
|
-
name: "newAccessControlManager",
|
|
518
|
-
type: "address",
|
|
519
|
-
},
|
|
520
|
-
],
|
|
521
|
-
name: "NewAccessControlManager",
|
|
522
|
-
type: "event",
|
|
523
|
-
},
|
|
524
|
-
{
|
|
525
|
-
anonymous: false,
|
|
526
|
-
inputs: [
|
|
527
|
-
{
|
|
528
|
-
indexed: true,
|
|
529
|
-
internalType: "address",
|
|
530
|
-
name: "previousOwner",
|
|
531
|
-
type: "address",
|
|
532
|
-
},
|
|
533
|
-
{
|
|
534
|
-
indexed: true,
|
|
535
|
-
internalType: "address",
|
|
536
|
-
name: "newOwner",
|
|
537
|
-
type: "address",
|
|
538
|
-
},
|
|
539
|
-
],
|
|
540
|
-
name: "OwnershipTransferStarted",
|
|
541
|
-
type: "event",
|
|
542
|
-
},
|
|
543
|
-
{
|
|
544
|
-
anonymous: false,
|
|
545
|
-
inputs: [
|
|
546
|
-
{
|
|
547
|
-
indexed: true,
|
|
548
|
-
internalType: "address",
|
|
549
|
-
name: "previousOwner",
|
|
550
|
-
type: "address",
|
|
551
|
-
},
|
|
552
|
-
{
|
|
553
|
-
indexed: true,
|
|
554
|
-
internalType: "address",
|
|
555
|
-
name: "newOwner",
|
|
556
|
-
type: "address",
|
|
557
|
-
},
|
|
558
|
-
],
|
|
559
|
-
name: "OwnershipTransferred",
|
|
560
|
-
type: "event",
|
|
561
|
-
},
|
|
562
|
-
{
|
|
563
|
-
anonymous: false,
|
|
564
|
-
inputs: [
|
|
565
|
-
{
|
|
566
|
-
indexed: true,
|
|
567
|
-
internalType: "contract ResilientOracle",
|
|
568
|
-
name: "oldPriceOracle",
|
|
569
|
-
type: "address",
|
|
570
|
-
},
|
|
571
|
-
{
|
|
572
|
-
indexed: true,
|
|
573
|
-
internalType: "contract ResilientOracle",
|
|
574
|
-
name: "priceOracle",
|
|
575
|
-
type: "address",
|
|
576
|
-
},
|
|
577
|
-
],
|
|
578
|
-
name: "PriceOracleUpdated",
|
|
579
|
-
type: "event",
|
|
580
|
-
},
|
|
581
|
-
{
|
|
582
|
-
anonymous: false,
|
|
583
|
-
inputs: [
|
|
584
|
-
{
|
|
585
|
-
indexed: true,
|
|
586
|
-
internalType: "address",
|
|
587
|
-
name: "token",
|
|
588
|
-
type: "address",
|
|
589
|
-
},
|
|
590
|
-
{
|
|
591
|
-
indexed: true,
|
|
592
|
-
internalType: "address",
|
|
593
|
-
name: "to",
|
|
594
|
-
type: "address",
|
|
595
|
-
},
|
|
596
|
-
{
|
|
597
|
-
indexed: false,
|
|
598
|
-
internalType: "uint256",
|
|
599
|
-
name: "amount",
|
|
600
|
-
type: "uint256",
|
|
601
|
-
},
|
|
602
|
-
],
|
|
603
|
-
name: "SweepToken",
|
|
604
|
-
type: "event",
|
|
605
|
-
},
|
|
606
|
-
{
|
|
607
|
-
inputs: [
|
|
608
|
-
{
|
|
609
|
-
internalType: "address",
|
|
610
|
-
name: "accessControlManager_",
|
|
611
|
-
type: "address",
|
|
612
|
-
},
|
|
613
|
-
{
|
|
614
|
-
internalType: "contract ResilientOracle",
|
|
615
|
-
name: "priceOracle_",
|
|
616
|
-
type: "address",
|
|
617
|
-
},
|
|
618
|
-
{
|
|
619
|
-
internalType: "address",
|
|
620
|
-
name: "destinationAddress_",
|
|
621
|
-
type: "address",
|
|
622
|
-
},
|
|
623
|
-
{
|
|
624
|
-
internalType: "uint256",
|
|
625
|
-
name: "minAmountToConvert_",
|
|
626
|
-
type: "uint256",
|
|
627
|
-
},
|
|
628
|
-
],
|
|
629
|
-
name: "AbstractTokenConverter_init",
|
|
630
|
-
outputs: [],
|
|
631
|
-
stateMutability: "nonpayable",
|
|
632
|
-
type: "function",
|
|
633
|
-
},
|
|
634
|
-
{
|
|
635
|
-
inputs: [],
|
|
636
|
-
name: "MAX_INCENTIVE",
|
|
637
|
-
outputs: [
|
|
638
|
-
{
|
|
639
|
-
internalType: "uint256",
|
|
640
|
-
name: "",
|
|
641
|
-
type: "uint256",
|
|
642
|
-
},
|
|
643
|
-
],
|
|
644
|
-
stateMutability: "view",
|
|
645
|
-
type: "function",
|
|
646
|
-
},
|
|
647
|
-
{
|
|
648
|
-
inputs: [],
|
|
649
|
-
name: "acceptOwnership",
|
|
650
|
-
outputs: [],
|
|
651
|
-
stateMutability: "nonpayable",
|
|
652
|
-
type: "function",
|
|
653
|
-
},
|
|
654
|
-
{
|
|
655
|
-
inputs: [],
|
|
656
|
-
name: "accessControlManager",
|
|
657
|
-
outputs: [
|
|
658
|
-
{
|
|
659
|
-
internalType: "contract IAccessControlManagerV8",
|
|
660
|
-
name: "",
|
|
661
|
-
type: "address",
|
|
662
|
-
},
|
|
663
|
-
],
|
|
664
|
-
stateMutability: "view",
|
|
665
|
-
type: "function",
|
|
666
|
-
},
|
|
667
|
-
{
|
|
668
|
-
inputs: [
|
|
669
|
-
{
|
|
670
|
-
internalType: "address",
|
|
671
|
-
name: "",
|
|
672
|
-
type: "address",
|
|
673
|
-
},
|
|
674
|
-
],
|
|
675
|
-
name: "assetsReserves",
|
|
676
|
-
outputs: [
|
|
677
|
-
{
|
|
678
|
-
internalType: "uint256",
|
|
679
|
-
name: "",
|
|
680
|
-
type: "uint256",
|
|
681
|
-
},
|
|
682
|
-
],
|
|
683
|
-
stateMutability: "view",
|
|
684
|
-
type: "function",
|
|
685
|
-
},
|
|
686
|
-
{
|
|
687
|
-
inputs: [
|
|
688
|
-
{
|
|
689
|
-
internalType: "address",
|
|
690
|
-
name: "tokenAddress",
|
|
691
|
-
type: "address",
|
|
692
|
-
},
|
|
693
|
-
],
|
|
694
|
-
name: "balanceOf",
|
|
695
|
-
outputs: [
|
|
696
|
-
{
|
|
697
|
-
internalType: "uint256",
|
|
698
|
-
name: "tokenBalance",
|
|
699
|
-
type: "uint256",
|
|
700
|
-
},
|
|
701
|
-
],
|
|
702
|
-
stateMutability: "view",
|
|
703
|
-
type: "function",
|
|
704
|
-
},
|
|
705
|
-
{
|
|
706
|
-
inputs: [
|
|
707
|
-
{
|
|
708
|
-
internalType: "address",
|
|
709
|
-
name: "",
|
|
710
|
-
type: "address",
|
|
711
|
-
},
|
|
712
|
-
{
|
|
713
|
-
internalType: "address",
|
|
714
|
-
name: "",
|
|
715
|
-
type: "address",
|
|
716
|
-
},
|
|
717
|
-
],
|
|
718
|
-
name: "conversionConfigurations",
|
|
719
|
-
outputs: [
|
|
720
|
-
{
|
|
721
|
-
internalType: "uint256",
|
|
722
|
-
name: "incentive",
|
|
723
|
-
type: "uint256",
|
|
724
|
-
},
|
|
725
|
-
{
|
|
726
|
-
internalType: "enum IAbstractTokenConverter.ConversionAccessibility",
|
|
727
|
-
name: "conversionAccess",
|
|
728
|
-
type: "uint8",
|
|
729
|
-
},
|
|
730
|
-
],
|
|
731
|
-
stateMutability: "view",
|
|
732
|
-
type: "function",
|
|
733
|
-
},
|
|
734
|
-
{
|
|
735
|
-
inputs: [],
|
|
736
|
-
name: "conversionPaused",
|
|
737
|
-
outputs: [
|
|
738
|
-
{
|
|
739
|
-
internalType: "bool",
|
|
740
|
-
name: "",
|
|
741
|
-
type: "bool",
|
|
742
|
-
},
|
|
743
|
-
],
|
|
744
|
-
stateMutability: "view",
|
|
745
|
-
type: "function",
|
|
746
|
-
},
|
|
747
|
-
{
|
|
748
|
-
inputs: [
|
|
749
|
-
{
|
|
750
|
-
internalType: "uint256",
|
|
751
|
-
name: "amountInMantissa",
|
|
752
|
-
type: "uint256",
|
|
753
|
-
},
|
|
754
|
-
{
|
|
755
|
-
internalType: "uint256",
|
|
756
|
-
name: "amountOutMinMantissa",
|
|
757
|
-
type: "uint256",
|
|
758
|
-
},
|
|
759
|
-
{
|
|
760
|
-
internalType: "address",
|
|
761
|
-
name: "tokenAddressIn",
|
|
762
|
-
type: "address",
|
|
763
|
-
},
|
|
764
|
-
{
|
|
765
|
-
internalType: "address",
|
|
766
|
-
name: "tokenAddressOut",
|
|
767
|
-
type: "address",
|
|
768
|
-
},
|
|
769
|
-
{
|
|
770
|
-
internalType: "address",
|
|
771
|
-
name: "to",
|
|
772
|
-
type: "address",
|
|
773
|
-
},
|
|
774
|
-
],
|
|
775
|
-
name: "convertExactTokens",
|
|
776
|
-
outputs: [
|
|
777
|
-
{
|
|
778
|
-
internalType: "uint256",
|
|
779
|
-
name: "actualAmountIn",
|
|
780
|
-
type: "uint256",
|
|
781
|
-
},
|
|
782
|
-
{
|
|
783
|
-
internalType: "uint256",
|
|
784
|
-
name: "actualAmountOut",
|
|
785
|
-
type: "uint256",
|
|
786
|
-
},
|
|
787
|
-
],
|
|
788
|
-
stateMutability: "nonpayable",
|
|
789
|
-
type: "function",
|
|
790
|
-
},
|
|
791
|
-
{
|
|
792
|
-
inputs: [
|
|
793
|
-
{
|
|
794
|
-
internalType: "uint256",
|
|
795
|
-
name: "amountInMantissa",
|
|
796
|
-
type: "uint256",
|
|
797
|
-
},
|
|
798
|
-
{
|
|
799
|
-
internalType: "uint256",
|
|
800
|
-
name: "amountOutMinMantissa",
|
|
801
|
-
type: "uint256",
|
|
802
|
-
},
|
|
803
|
-
{
|
|
804
|
-
internalType: "address",
|
|
805
|
-
name: "tokenAddressIn",
|
|
806
|
-
type: "address",
|
|
807
|
-
},
|
|
808
|
-
{
|
|
809
|
-
internalType: "address",
|
|
810
|
-
name: "tokenAddressOut",
|
|
811
|
-
type: "address",
|
|
812
|
-
},
|
|
813
|
-
{
|
|
814
|
-
internalType: "address",
|
|
815
|
-
name: "to",
|
|
816
|
-
type: "address",
|
|
817
|
-
},
|
|
818
|
-
],
|
|
819
|
-
name: "convertExactTokensSupportingFeeOnTransferTokens",
|
|
820
|
-
outputs: [
|
|
821
|
-
{
|
|
822
|
-
internalType: "uint256",
|
|
823
|
-
name: "actualAmountIn",
|
|
824
|
-
type: "uint256",
|
|
825
|
-
},
|
|
826
|
-
{
|
|
827
|
-
internalType: "uint256",
|
|
828
|
-
name: "actualAmountOut",
|
|
829
|
-
type: "uint256",
|
|
830
|
-
},
|
|
831
|
-
],
|
|
832
|
-
stateMutability: "nonpayable",
|
|
833
|
-
type: "function",
|
|
834
|
-
},
|
|
835
|
-
{
|
|
836
|
-
inputs: [
|
|
837
|
-
{
|
|
838
|
-
internalType: "uint256",
|
|
839
|
-
name: "amountInMaxMantissa",
|
|
840
|
-
type: "uint256",
|
|
841
|
-
},
|
|
842
|
-
{
|
|
843
|
-
internalType: "uint256",
|
|
844
|
-
name: "amountOutMantissa",
|
|
845
|
-
type: "uint256",
|
|
846
|
-
},
|
|
847
|
-
{
|
|
848
|
-
internalType: "address",
|
|
849
|
-
name: "tokenAddressIn",
|
|
850
|
-
type: "address",
|
|
851
|
-
},
|
|
852
|
-
{
|
|
853
|
-
internalType: "address",
|
|
854
|
-
name: "tokenAddressOut",
|
|
855
|
-
type: "address",
|
|
856
|
-
},
|
|
857
|
-
{
|
|
858
|
-
internalType: "address",
|
|
859
|
-
name: "to",
|
|
860
|
-
type: "address",
|
|
861
|
-
},
|
|
862
|
-
],
|
|
863
|
-
name: "convertForExactTokens",
|
|
864
|
-
outputs: [
|
|
865
|
-
{
|
|
866
|
-
internalType: "uint256",
|
|
867
|
-
name: "actualAmountIn",
|
|
868
|
-
type: "uint256",
|
|
869
|
-
},
|
|
870
|
-
{
|
|
871
|
-
internalType: "uint256",
|
|
872
|
-
name: "actualAmountOut",
|
|
873
|
-
type: "uint256",
|
|
874
|
-
},
|
|
875
|
-
],
|
|
876
|
-
stateMutability: "nonpayable",
|
|
877
|
-
type: "function",
|
|
878
|
-
},
|
|
879
|
-
{
|
|
880
|
-
inputs: [
|
|
881
|
-
{
|
|
882
|
-
internalType: "uint256",
|
|
883
|
-
name: "amountInMaxMantissa",
|
|
884
|
-
type: "uint256",
|
|
885
|
-
},
|
|
886
|
-
{
|
|
887
|
-
internalType: "uint256",
|
|
888
|
-
name: "amountOutMantissa",
|
|
889
|
-
type: "uint256",
|
|
890
|
-
},
|
|
891
|
-
{
|
|
892
|
-
internalType: "address",
|
|
893
|
-
name: "tokenAddressIn",
|
|
894
|
-
type: "address",
|
|
895
|
-
},
|
|
896
|
-
{
|
|
897
|
-
internalType: "address",
|
|
898
|
-
name: "tokenAddressOut",
|
|
899
|
-
type: "address",
|
|
900
|
-
},
|
|
901
|
-
{
|
|
902
|
-
internalType: "address",
|
|
903
|
-
name: "to",
|
|
904
|
-
type: "address",
|
|
905
|
-
},
|
|
906
|
-
],
|
|
907
|
-
name: "convertForExactTokensSupportingFeeOnTransferTokens",
|
|
908
|
-
outputs: [
|
|
909
|
-
{
|
|
910
|
-
internalType: "uint256",
|
|
911
|
-
name: "actualAmountIn",
|
|
912
|
-
type: "uint256",
|
|
913
|
-
},
|
|
914
|
-
{
|
|
915
|
-
internalType: "uint256",
|
|
916
|
-
name: "actualAmountOut",
|
|
917
|
-
type: "uint256",
|
|
918
|
-
},
|
|
919
|
-
],
|
|
920
|
-
stateMutability: "nonpayable",
|
|
921
|
-
type: "function",
|
|
922
|
-
},
|
|
923
|
-
{
|
|
924
|
-
inputs: [],
|
|
925
|
-
name: "converterNetwork",
|
|
926
|
-
outputs: [
|
|
927
|
-
{
|
|
928
|
-
internalType: "contract IConverterNetwork",
|
|
929
|
-
name: "",
|
|
930
|
-
type: "address",
|
|
931
|
-
},
|
|
932
|
-
],
|
|
933
|
-
stateMutability: "view",
|
|
934
|
-
type: "function",
|
|
935
|
-
},
|
|
936
|
-
{
|
|
937
|
-
inputs: [],
|
|
938
|
-
name: "destinationAddress",
|
|
939
|
-
outputs: [
|
|
940
|
-
{
|
|
941
|
-
internalType: "address",
|
|
942
|
-
name: "",
|
|
943
|
-
type: "address",
|
|
944
|
-
},
|
|
945
|
-
],
|
|
946
|
-
stateMutability: "view",
|
|
947
|
-
type: "function",
|
|
948
|
-
},
|
|
949
|
-
{
|
|
950
|
-
inputs: [
|
|
951
|
-
{
|
|
952
|
-
internalType: "uint256",
|
|
953
|
-
name: "amountOutMantissa",
|
|
954
|
-
type: "uint256",
|
|
955
|
-
},
|
|
956
|
-
{
|
|
957
|
-
internalType: "address",
|
|
958
|
-
name: "tokenAddressIn",
|
|
959
|
-
type: "address",
|
|
960
|
-
},
|
|
961
|
-
{
|
|
962
|
-
internalType: "address",
|
|
963
|
-
name: "tokenAddressOut",
|
|
964
|
-
type: "address",
|
|
965
|
-
},
|
|
966
|
-
],
|
|
967
|
-
name: "getAmountIn",
|
|
968
|
-
outputs: [
|
|
969
|
-
{
|
|
970
|
-
internalType: "uint256",
|
|
971
|
-
name: "amountConvertedMantissa",
|
|
972
|
-
type: "uint256",
|
|
973
|
-
},
|
|
974
|
-
{
|
|
975
|
-
internalType: "uint256",
|
|
976
|
-
name: "amountInMantissa",
|
|
977
|
-
type: "uint256",
|
|
978
|
-
},
|
|
979
|
-
],
|
|
980
|
-
stateMutability: "view",
|
|
981
|
-
type: "function",
|
|
982
|
-
},
|
|
983
|
-
{
|
|
984
|
-
inputs: [
|
|
985
|
-
{
|
|
986
|
-
internalType: "uint256",
|
|
987
|
-
name: "amountInMantissa",
|
|
988
|
-
type: "uint256",
|
|
989
|
-
},
|
|
990
|
-
{
|
|
991
|
-
internalType: "address",
|
|
992
|
-
name: "tokenAddressIn",
|
|
993
|
-
type: "address",
|
|
994
|
-
},
|
|
995
|
-
{
|
|
996
|
-
internalType: "address",
|
|
997
|
-
name: "tokenAddressOut",
|
|
998
|
-
type: "address",
|
|
999
|
-
},
|
|
1000
|
-
],
|
|
1001
|
-
name: "getAmountOut",
|
|
1002
|
-
outputs: [
|
|
1003
|
-
{
|
|
1004
|
-
internalType: "uint256",
|
|
1005
|
-
name: "amountConvertedMantissa",
|
|
1006
|
-
type: "uint256",
|
|
1007
|
-
},
|
|
1008
|
-
{
|
|
1009
|
-
internalType: "uint256",
|
|
1010
|
-
name: "amountOutMantissa",
|
|
1011
|
-
type: "uint256",
|
|
1012
|
-
},
|
|
1013
|
-
],
|
|
1014
|
-
stateMutability: "view",
|
|
1015
|
-
type: "function",
|
|
1016
|
-
},
|
|
1017
|
-
{
|
|
1018
|
-
inputs: [
|
|
1019
|
-
{
|
|
1020
|
-
internalType: "uint256",
|
|
1021
|
-
name: "amountOutMantissa",
|
|
1022
|
-
type: "uint256",
|
|
1023
|
-
},
|
|
1024
|
-
{
|
|
1025
|
-
internalType: "address",
|
|
1026
|
-
name: "tokenAddressIn",
|
|
1027
|
-
type: "address",
|
|
1028
|
-
},
|
|
1029
|
-
{
|
|
1030
|
-
internalType: "address",
|
|
1031
|
-
name: "tokenAddressOut",
|
|
1032
|
-
type: "address",
|
|
1033
|
-
},
|
|
1034
|
-
],
|
|
1035
|
-
name: "getUpdatedAmountIn",
|
|
1036
|
-
outputs: [
|
|
1037
|
-
{
|
|
1038
|
-
internalType: "uint256",
|
|
1039
|
-
name: "amountConvertedMantissa",
|
|
1040
|
-
type: "uint256",
|
|
1041
|
-
},
|
|
1042
|
-
{
|
|
1043
|
-
internalType: "uint256",
|
|
1044
|
-
name: "amountInMantissa",
|
|
1045
|
-
type: "uint256",
|
|
1046
|
-
},
|
|
1047
|
-
],
|
|
1048
|
-
stateMutability: "nonpayable",
|
|
1049
|
-
type: "function",
|
|
1050
|
-
},
|
|
1051
|
-
{
|
|
1052
|
-
inputs: [
|
|
1053
|
-
{
|
|
1054
|
-
internalType: "uint256",
|
|
1055
|
-
name: "amountInMantissa",
|
|
1056
|
-
type: "uint256",
|
|
1057
|
-
},
|
|
1058
|
-
{
|
|
1059
|
-
internalType: "address",
|
|
1060
|
-
name: "tokenAddressIn",
|
|
1061
|
-
type: "address",
|
|
1062
|
-
},
|
|
1063
|
-
{
|
|
1064
|
-
internalType: "address",
|
|
1065
|
-
name: "tokenAddressOut",
|
|
1066
|
-
type: "address",
|
|
1067
|
-
},
|
|
1068
|
-
],
|
|
1069
|
-
name: "getUpdatedAmountOut",
|
|
1070
|
-
outputs: [
|
|
1071
|
-
{
|
|
1072
|
-
internalType: "uint256",
|
|
1073
|
-
name: "amountConvertedMantissa",
|
|
1074
|
-
type: "uint256",
|
|
1075
|
-
},
|
|
1076
|
-
{
|
|
1077
|
-
internalType: "uint256",
|
|
1078
|
-
name: "amountOutMantissa",
|
|
1079
|
-
type: "uint256",
|
|
1080
|
-
},
|
|
1081
|
-
],
|
|
1082
|
-
stateMutability: "nonpayable",
|
|
1083
|
-
type: "function",
|
|
1084
|
-
},
|
|
1085
|
-
{
|
|
1086
|
-
inputs: [],
|
|
1087
|
-
name: "minAmountToConvert",
|
|
1088
|
-
outputs: [
|
|
1089
|
-
{
|
|
1090
|
-
internalType: "uint256",
|
|
1091
|
-
name: "",
|
|
1092
|
-
type: "uint256",
|
|
1093
|
-
},
|
|
1094
|
-
],
|
|
1095
|
-
stateMutability: "view",
|
|
1096
|
-
type: "function",
|
|
1097
|
-
},
|
|
1098
|
-
{
|
|
1099
|
-
inputs: [
|
|
1100
|
-
{
|
|
1101
|
-
internalType: "address",
|
|
1102
|
-
name: "comptroller",
|
|
1103
|
-
type: "address",
|
|
1104
|
-
},
|
|
1105
|
-
{
|
|
1106
|
-
internalType: "address",
|
|
1107
|
-
name: "tokenAddressOut",
|
|
1108
|
-
type: "address",
|
|
1109
|
-
},
|
|
1110
|
-
{
|
|
1111
|
-
internalType: "uint256",
|
|
1112
|
-
name: "balanceDiff",
|
|
1113
|
-
type: "uint256",
|
|
1114
|
-
},
|
|
1115
|
-
],
|
|
1116
|
-
name: "mockPrivateConversion",
|
|
1117
|
-
outputs: [],
|
|
1118
|
-
stateMutability: "nonpayable",
|
|
1119
|
-
type: "function",
|
|
1120
|
-
},
|
|
1121
|
-
{
|
|
1122
|
-
inputs: [],
|
|
1123
|
-
name: "owner",
|
|
1124
|
-
outputs: [
|
|
1125
|
-
{
|
|
1126
|
-
internalType: "address",
|
|
1127
|
-
name: "",
|
|
1128
|
-
type: "address",
|
|
1129
|
-
},
|
|
1130
|
-
],
|
|
1131
|
-
stateMutability: "view",
|
|
1132
|
-
type: "function",
|
|
1133
|
-
},
|
|
1134
|
-
{
|
|
1135
|
-
inputs: [],
|
|
1136
|
-
name: "pauseConversion",
|
|
1137
|
-
outputs: [],
|
|
1138
|
-
stateMutability: "nonpayable",
|
|
1139
|
-
type: "function",
|
|
1140
|
-
},
|
|
1141
|
-
{
|
|
1142
|
-
inputs: [],
|
|
1143
|
-
name: "pendingOwner",
|
|
1144
|
-
outputs: [
|
|
1145
|
-
{
|
|
1146
|
-
internalType: "address",
|
|
1147
|
-
name: "",
|
|
1148
|
-
type: "address",
|
|
1149
|
-
},
|
|
1150
|
-
],
|
|
1151
|
-
stateMutability: "view",
|
|
1152
|
-
type: "function",
|
|
1153
|
-
},
|
|
1154
|
-
{
|
|
1155
|
-
inputs: [
|
|
1156
|
-
{
|
|
1157
|
-
internalType: "address",
|
|
1158
|
-
name: "",
|
|
1159
|
-
type: "address",
|
|
1160
|
-
},
|
|
1161
|
-
{
|
|
1162
|
-
internalType: "address",
|
|
1163
|
-
name: "",
|
|
1164
|
-
type: "address",
|
|
1165
|
-
},
|
|
1166
|
-
],
|
|
1167
|
-
name: "poolsAssetsReserves",
|
|
1168
|
-
outputs: [
|
|
1169
|
-
{
|
|
1170
|
-
internalType: "uint256",
|
|
1171
|
-
name: "",
|
|
1172
|
-
type: "uint256",
|
|
1173
|
-
},
|
|
1174
|
-
],
|
|
1175
|
-
stateMutability: "view",
|
|
1176
|
-
type: "function",
|
|
1177
|
-
},
|
|
1178
|
-
{
|
|
1179
|
-
inputs: [],
|
|
1180
|
-
name: "priceOracle",
|
|
1181
|
-
outputs: [
|
|
1182
|
-
{
|
|
1183
|
-
internalType: "contract ResilientOracle",
|
|
1184
|
-
name: "",
|
|
1185
|
-
type: "address",
|
|
1186
|
-
},
|
|
1187
|
-
],
|
|
1188
|
-
stateMutability: "view",
|
|
1189
|
-
type: "function",
|
|
1190
|
-
},
|
|
1191
|
-
{
|
|
1192
|
-
inputs: [],
|
|
1193
|
-
name: "renounceOwnership",
|
|
1194
|
-
outputs: [],
|
|
1195
|
-
stateMutability: "nonpayable",
|
|
1196
|
-
type: "function",
|
|
1197
|
-
},
|
|
1198
|
-
{
|
|
1199
|
-
inputs: [],
|
|
1200
|
-
name: "resumeConversion",
|
|
1201
|
-
outputs: [],
|
|
1202
|
-
stateMutability: "nonpayable",
|
|
1203
|
-
type: "function",
|
|
1204
|
-
},
|
|
1205
|
-
{
|
|
1206
|
-
inputs: [
|
|
1207
|
-
{
|
|
1208
|
-
internalType: "address",
|
|
1209
|
-
name: "accessControlManager_",
|
|
1210
|
-
type: "address",
|
|
1211
|
-
},
|
|
1212
|
-
],
|
|
1213
|
-
name: "setAccessControlManager",
|
|
1214
|
-
outputs: [],
|
|
1215
|
-
stateMutability: "nonpayable",
|
|
1216
|
-
type: "function",
|
|
1217
|
-
},
|
|
1218
|
-
{
|
|
1219
|
-
inputs: [
|
|
1220
|
-
{
|
|
1221
|
-
internalType: "address",
|
|
1222
|
-
name: "tokenAddressIn",
|
|
1223
|
-
type: "address",
|
|
1224
|
-
},
|
|
1225
|
-
{
|
|
1226
|
-
internalType: "address",
|
|
1227
|
-
name: "tokenAddressOut",
|
|
1228
|
-
type: "address",
|
|
1229
|
-
},
|
|
1230
|
-
{
|
|
1231
|
-
components: [
|
|
1232
|
-
{
|
|
1233
|
-
internalType: "uint256",
|
|
1234
|
-
name: "incentive",
|
|
1235
|
-
type: "uint256",
|
|
1236
|
-
},
|
|
1237
|
-
{
|
|
1238
|
-
internalType:
|
|
1239
|
-
"enum IAbstractTokenConverter.ConversionAccessibility",
|
|
1240
|
-
name: "conversionAccess",
|
|
1241
|
-
type: "uint8",
|
|
1242
|
-
},
|
|
1243
|
-
],
|
|
1244
|
-
internalType: "struct IAbstractTokenConverter.ConversionConfig",
|
|
1245
|
-
name: "conversionConfig",
|
|
1246
|
-
type: "tuple",
|
|
1247
|
-
},
|
|
1248
|
-
],
|
|
1249
|
-
name: "setConversionConfig",
|
|
1250
|
-
outputs: [],
|
|
1251
|
-
stateMutability: "nonpayable",
|
|
1252
|
-
type: "function",
|
|
1253
|
-
},
|
|
1254
|
-
{
|
|
1255
|
-
inputs: [
|
|
1256
|
-
{
|
|
1257
|
-
internalType: "address",
|
|
1258
|
-
name: "tokenAddressIn",
|
|
1259
|
-
type: "address",
|
|
1260
|
-
},
|
|
1261
|
-
{
|
|
1262
|
-
internalType: "address[]",
|
|
1263
|
-
name: "tokenAddressesOut",
|
|
1264
|
-
type: "address[]",
|
|
1265
|
-
},
|
|
1266
|
-
{
|
|
1267
|
-
components: [
|
|
1268
|
-
{
|
|
1269
|
-
internalType: "uint256",
|
|
1270
|
-
name: "incentive",
|
|
1271
|
-
type: "uint256",
|
|
1272
|
-
},
|
|
1273
|
-
{
|
|
1274
|
-
internalType:
|
|
1275
|
-
"enum IAbstractTokenConverter.ConversionAccessibility",
|
|
1276
|
-
name: "conversionAccess",
|
|
1277
|
-
type: "uint8",
|
|
1278
|
-
},
|
|
1279
|
-
],
|
|
1280
|
-
internalType: "struct IAbstractTokenConverter.ConversionConfig[]",
|
|
1281
|
-
name: "conversionConfigs",
|
|
1282
|
-
type: "tuple[]",
|
|
1283
|
-
},
|
|
1284
|
-
],
|
|
1285
|
-
name: "setConversionConfigs",
|
|
1286
|
-
outputs: [],
|
|
1287
|
-
stateMutability: "nonpayable",
|
|
1288
|
-
type: "function",
|
|
1289
|
-
},
|
|
1290
|
-
{
|
|
1291
|
-
inputs: [
|
|
1292
|
-
{
|
|
1293
|
-
internalType: "contract IConverterNetwork",
|
|
1294
|
-
name: "converterNetwork_",
|
|
1295
|
-
type: "address",
|
|
1296
|
-
},
|
|
1297
|
-
],
|
|
1298
|
-
name: "setConverterNetwork",
|
|
1299
|
-
outputs: [],
|
|
1300
|
-
stateMutability: "nonpayable",
|
|
1301
|
-
type: "function",
|
|
1302
|
-
},
|
|
1303
|
-
{
|
|
1304
|
-
inputs: [
|
|
1305
|
-
{
|
|
1306
|
-
internalType: "address",
|
|
1307
|
-
name: "destinationAddress_",
|
|
1308
|
-
type: "address",
|
|
1309
|
-
},
|
|
1310
|
-
],
|
|
1311
|
-
name: "setDestination",
|
|
1312
|
-
outputs: [],
|
|
1313
|
-
stateMutability: "nonpayable",
|
|
1314
|
-
type: "function",
|
|
1315
|
-
},
|
|
1316
|
-
{
|
|
1317
|
-
inputs: [
|
|
1318
|
-
{
|
|
1319
|
-
internalType: "uint256",
|
|
1320
|
-
name: "minAmountToConvert_",
|
|
1321
|
-
type: "uint256",
|
|
1322
|
-
},
|
|
1323
|
-
],
|
|
1324
|
-
name: "setMinAmountToConvert",
|
|
1325
|
-
outputs: [],
|
|
1326
|
-
stateMutability: "nonpayable",
|
|
1327
|
-
type: "function",
|
|
1328
|
-
},
|
|
1329
|
-
{
|
|
1330
|
-
inputs: [
|
|
1331
|
-
{
|
|
1332
|
-
internalType: "contract ResilientOracle",
|
|
1333
|
-
name: "priceOracle_",
|
|
1334
|
-
type: "address",
|
|
1335
|
-
},
|
|
1336
|
-
],
|
|
1337
|
-
name: "setPriceOracle",
|
|
1338
|
-
outputs: [],
|
|
1339
|
-
stateMutability: "nonpayable",
|
|
1340
|
-
type: "function",
|
|
1341
|
-
},
|
|
1342
|
-
{
|
|
1343
|
-
inputs: [
|
|
1344
|
-
{
|
|
1345
|
-
internalType: "address",
|
|
1346
|
-
name: "tokenAddress",
|
|
1347
|
-
type: "address",
|
|
1348
|
-
},
|
|
1349
|
-
{
|
|
1350
|
-
internalType: "address",
|
|
1351
|
-
name: "to",
|
|
1352
|
-
type: "address",
|
|
1353
|
-
},
|
|
1354
|
-
{
|
|
1355
|
-
internalType: "uint256",
|
|
1356
|
-
name: "amount",
|
|
1357
|
-
type: "uint256",
|
|
1358
|
-
},
|
|
1359
|
-
],
|
|
1360
|
-
name: "sweepToken",
|
|
1361
|
-
outputs: [],
|
|
1362
|
-
stateMutability: "nonpayable",
|
|
1363
|
-
type: "function",
|
|
1364
|
-
},
|
|
1365
|
-
{
|
|
1366
|
-
inputs: [
|
|
1367
|
-
{
|
|
1368
|
-
internalType: "address",
|
|
1369
|
-
name: "newOwner",
|
|
1370
|
-
type: "address",
|
|
1371
|
-
},
|
|
1372
|
-
],
|
|
1373
|
-
name: "transferOwnership",
|
|
1374
|
-
outputs: [],
|
|
1375
|
-
stateMutability: "nonpayable",
|
|
1376
|
-
type: "function",
|
|
1377
|
-
},
|
|
1378
|
-
{
|
|
1379
|
-
inputs: [
|
|
1380
|
-
{
|
|
1381
|
-
internalType: "address",
|
|
1382
|
-
name: "comptroller",
|
|
1383
|
-
type: "address",
|
|
1384
|
-
},
|
|
1385
|
-
{
|
|
1386
|
-
internalType: "address",
|
|
1387
|
-
name: "asset",
|
|
1388
|
-
type: "address",
|
|
1389
|
-
},
|
|
1390
|
-
],
|
|
1391
|
-
name: "updateAssetsState",
|
|
1392
|
-
outputs: [],
|
|
1393
|
-
stateMutability: "nonpayable",
|
|
1394
|
-
type: "function",
|
|
1395
|
-
},
|
|
1396
|
-
];
|
|
1397
|
-
|
|
1398
|
-
const _bytecode =
|
|
1399
|
-
"0x608060405234801561001057600080fd5b50614142806100206000396000f3fe608060405234801561001057600080fd5b50600436106102775760003560e01c8063715018a611610160578063bc368b04116100d8578063e30c39781161008c578063f0dc7e9d11610071578063f0dc7e9d14610587578063f2fde38b1461059a578063fe3da984146105ad57600080fd5b8063e30c397814610563578063f04c31871461057457600080fd5b8063ca325469116100bd578063ca3254691461052e578063d8da14cd14610541578063e2ff7ea21461055457600080fd5b8063bc368b0414610513578063c06546461461051b57600080fd5b806390fa7b541161012f578063b491ddf711610114578063b491ddf7146104ac578063b4a0bdf3146104ef578063b6828c571461050057600080fd5b806390fa7b5414610486578063aac59a751461049957600080fd5b8063715018a614610452578063746460a91461045a57806379ba50971461046d5780638da5cb5b1461047557600080fd5b8063439b5517116101f35780635e1e6325116101c25780636daa463b116101a75780636daa463b146104195780636f1a30a81461042c57806370a082311461043f57600080fd5b80635e1e6325146103f357806364aff9ec1461040657600080fd5b8063439b5517146103a457806352e21a18146103c5578063530e784f146103d857806358b904df146103eb57600080fd5b80630a9a2b721161024a5780632630c12f1161022f5780632630c12f1461036b57806337b5411d1461037e578063439727a51461039157600080fd5b80630a9a2b72146103305780630e32cb861461035857600080fd5b806301e201781461027c578063050dd740146102ac57806307aa239e146102e65780630a0a05e61461031b575b600080fd5b60ff5461028f906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6102d86102ba3660046138ae565b61012e60209081526000928352604080842090915290825290205481565b6040519081526020016102a3565b60fe5461030b9074010000000000000000000000000000000000000000900460ff1681565b60405190151581526020016102a3565b61032e6103293660046138e7565b6105b6565b005b61034361033e366004613904565b6105ca565b604080519283526020830191909152016102a3565b61032e6103663660046138e7565b610678565b60fc5461028f906001600160a01b031681565b61032e61038c366004613946565b610689565b61034361039f366004613997565b61080e565b6102d86103b23660046138e7565b61012d6020526000908152604090205481565b61032e6103d33660046138e7565b61094c565b61032e6103e63660046138e7565b61095d565b61032e61096e565b610343610401366004613904565b610a54565b61032e6104143660046139f6565b610b3b565b610343610427366004613904565b610bd8565b61034361043a366004613904565b610ce1565b6102d861044d3660046138e7565b610de0565b61032e610e6d565b61032e610468366004613a37565b610e81565b61032e610ec8565b6033546001600160a01b031661028f565b610343610494366004613997565b610f53565b61032e6104a73660046138ae565b61103d565b6104e16104ba3660046138ae565b60fd6020908152600092835260408084209091529082529020805460019091015460ff1682565b6040516102a3929190613aba565b6097546001600160a01b031661028f565b61034361050e366004613997565b611053565b61032e61113d565b61032e610529366004613b1a565b6111ef565b60fe5461028f906001600160a01b031681565b61032e61054f3660046139f6565b61128d565b6102d86706f05b59d3b2000081565b6065546001600160a01b031661028f565b610343610582366004613997565b611298565b61032e610595366004613bce565b6113bb565b61032e6105a83660046138e7565b611764565b6102d860fb5481565b6105be6117ed565b6105c781611847565b50565b60008060026001600160a01b03808616600090815260fd602090815260408083209388168352929052206001015460ff16600381111561060c5761060c613a50565b03610643576040517f03410cd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600061064e84610de0565b90508581101561065c578095505b85925061066a8686866118c4565b508092505050935093915050565b6106806117ed565b6105c781611be8565b600054610100900460ff16158080156106a95750600054600160ff909116105b806106c35750303b1580156106c3575060005460ff166001145b61073a5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201527f647920696e697469616c697a656400000000000000000000000000000000000060648201526084015b60405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055801561079857600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff166101001790555b6107a485858585611cdd565b801561080757600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00ff169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050505050565b60008082858561081c611d76565b61082583611dcb565b816001600160a01b0316836001600160a01b031614806108565750806001600160a01b0316836001600160a01b0316145b1561088d576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610895611e0b565b6108a28a8a8a8a8a611e64565b90955093508985146108e0576040517fc214279600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516001600160a01b038a81168252602082018890529181018690528189169188169033907f795a235be939acb902ac69562805f86e1341a9b019c351b996e2aa2dfc34c67c906060015b60405180910390a461093f600160c955565b5050509550959350505050565b6109546117ed565b6105c781611eeb565b6109656117ed565b6105c781611f68565b6109ac6040518060400160405280601281526020017f726573756d65436f6e76657273696f6e28290000000000000000000000000000815250611fe5565b60fe5474010000000000000000000000000000000000000000900460ff166109ff576040517e6d8dbb00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fe80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16905560405133907f89b79206f08dadd78502cff5075d2b094fa0abea0b063cfafe4475e2a380c51f90600090a2565b60008060026001600160a01b03808616600090815260fd602090815260408083209388168352929052206001015460ff166003811115610a9657610a96613a50565b03610acd576040517f03410cd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b8491506000610add8686866120b1565b90925090506000610aed85610de0565b905082811015610b315781600181610b0d670de0b6b3a764000085613c6e565b610b179190613cab565b610b219190613cc3565b610b2b9190613cda565b93508092505b5050935093915050565b610b436117ed565b610b4b611e0b565b610b5483611dcb565b610b5d82611dcb565b610b66816123d2565b82610b7b6001600160a01b038216848461240c565b826001600160a01b0316846001600160a01b03167f6d25be279134f4ecaa4770aff0c3d916d9e7c5ef37b65ed95dbdba411f5d54d584604051610bc091815260200190565b60405180910390a350610bd3600160c955565b505050565b60fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600092839291169063b62cad6990602401600060405180830381600087803b158015610c3c57600080fd5b505af1158015610c50573d6000803e3d6000fd5b505060fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152909116925063b62cad699150602401600060405180830381600087803b158015610cb457600080fd5b505af1158015610cc8573d6000803e3d6000fd5b50505050610cd78585856120b1565b5094959350505050565b60fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038481166004830152600092839291169063b62cad6990602401600060405180830381600087803b158015610d4557600080fd5b505af1158015610d59573d6000803e3d6000fd5b505060fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038781166004830152909116925063b62cad699150602401600060405180830381600087803b158015610dbd57600080fd5b505af1158015610dd1573d6000803e3d6000fd5b50505050610cd78585856118c4565b6040517f70a0823100000000000000000000000000000000000000000000000000000000815230600482015260009082906001600160a01b038216906370a0823190602401602060405180830381865afa158015610e42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610e669190613d15565b9392505050565b610e756117ed565b610e7f60006124d3565b565b610ebf6040518060400160405280601e81526020017f7365744d696e416d6f756e74546f436f6e766572742875696e74323536290000815250611fe5565b6105c781612504565b60655433906001600160a01b03168114610f4a5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f74207468652060448201527f6e6577206f776e657200000000000000000000000000000000000000000000006064820152608401610731565b6105c7816124d3565b600080828585610f61611d76565b610f6a83611dcb565b816001600160a01b0316836001600160a01b03161480610f9b5750806001600160a01b0316836001600160a01b0316145b15610fd2576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b610fda611e0b565b610fe78a8a8a8a8a611e64565b9095509350604080516001600160a01b038a81168252602082018890529181018690528189169188169033907f93b7ba2a2b0e36320375853d7466af5685c07567804b871b4fdfd31e3bb771549060600161092d565b611045611e0b565b61104f600160c955565b5050565b600080828585611061611d76565b61106a83611dcb565b816001600160a01b0316836001600160a01b0316148061109b5750806001600160a01b0316836001600160a01b0316145b156110d2576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6110da611e0b565b6110e78a8a8a8a8a612a10565b9095509350604080516001600160a01b038a81168252602082018890529181018690528189169188169033907f9b7dc1d7d2974d015b4fc39889a09f3a3923add808f5863158f3162d997d4e829060600161092d565b61117b6040518060400160405280601181526020017f7061757365436f6e76657273696f6e2829000000000000000000000000000000815250611fe5565b611183611d76565b60fe80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff167401000000000000000000000000000000000000000017905560405133907f490bc639fd0d96f19c8adf77bc98d17fbefdee2e1e1864d21f041360d0ee065a90600090a2565b82818114611229576040517f4d5590f300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156112845761127c8787878481811061124a5761124a613d2e565b905060200201602081019061125f91906138e7565b86868581811061127157611271613d2e565b9050604002016113bb565b60010161122c565b50505050505050565b610bd383838361254e565b6000808285856112a6611d76565b6112af83611dcb565b816001600160a01b0316836001600160a01b031614806112e05750806001600160a01b0316836001600160a01b0316145b15611317576040517f8aa3a72f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b61131f611e0b565b61132c8a8a8a8a8a612aa2565b909550935088841461136a576040517fa8dc653c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516001600160a01b038a81168252602082018890529181018690528189169188169033907fcb4ea7de8d069b0f443b792cba6c6df5096508951bbc75c04ac42c9251efe0769060600161092d565b6113dc6040518060600160405280603581526020016140d860359139611fe5565b6113e583611dcb565b6113ee82611dcb565b6706f05b59d3b2000081351115611442576040517f9770caee000000000000000000000000000000000000000000000000000000008152813560048201526706f05b59d3b200006024820152604401610731565b816001600160a01b0316836001600160a01b0316148061147b5750611465612b5f565b6001600160a01b0316836001600160a01b031614155b806114c3575060006001600160a01b03808416600090815260fd602090815260408083209388168352929052206001015460ff1660038111156114c0576114c0613a50565b14155b156114fa576040517feebb5ac600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600261150c6040830160208401613d5d565b600381111561151d5761151d613a50565b14801561152a5750803515155b15611561576040517fd0d4aabe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60026115736040830160208401613d5d565b600381111561158457611584613a50565b14806115b05750600161159d6040830160208401613d5d565b60038111156115ae576115ae613a50565b145b80156115c5575060ff546001600160a01b0316155b156115fc576040517fe7c2c99400000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808416600081815260fd602090815260408083209487168084529482529182902080546001820154919594937f39fbfdd5da133303ed31b1b65e30a0ddf7a9236573368c66c859dceccc1dd12a93919288359260ff9091169161166c91908a01908a01613d5d565b60405161167c9493929190613d7e565b60405180910390a360006116966040840160208501613d5d565b60038111156116a7576116a7613a50565b03611704576001600160a01b03808516600090815260fd60209081526040808320938716835292905290812090815560010180547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905561175e565b813581556117186040830160208401613d5d565b6001808301805490917fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff009091169083600381111561175857611758613a50565b02179055505b50505050565b61176c6117ed565b606580546001600160a01b0383167fffffffffffffffffffffffff000000000000000000000000000000000000000090911681179091556117b56033546001600160a01b031690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b6033546001600160a01b03163314610e7f5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610731565b61185081611dcb565b60fe546040516001600160a01b038084169216907f9be3097b5c8b276786be52a244ee90d66efd34805d9eb16f168fb2b4aaae9a2b90600090a360fe80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b60008084600003611901576040517f42301c2300000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808516600090815260fd6020908152604080832093871683529281528282208351808501909452805484526001810154929392909183019060ff16600381111561195557611955613a50565b600381111561196657611966613a50565b905250905060008160200151600381111561198357611983613a50565b036119ba576040517f618ce59700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015260009216906341976e0990602401602060405180830381865afa158015611a1e573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611a429190613d15565b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152929350600092909116906341976e0990602401602060405180830381865afa158015611aab573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611acf9190613d15565b835160ff54919250906001600160a01b031615801590611b6f575060ff546040517f6c059fb10000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690636c059fb190602401602060405180830381865afa158015611b4b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611b6f9190613daf565b15611b78575060005b6000611b8c82670de0b6b3a7640000613cab565b905082611b998286613c6e565b611ba39190613cda565b955085600181611bbb670de0b6b3a76400008e613c6e565b611bc59190613cab565b611bcf9190613cc3565b611bd99190613cda565b96505050505050935093915050565b6001600160a01b038116611c645760405162461bcd60e51b815260206004820152602560248201527f696e76616c696420616365737320636f6e74726f6c206d616e6167657220616460448201527f64726573730000000000000000000000000000000000000000000000000000006064820152608401610731565b609780546001600160a01b038381167fffffffffffffffffffffffff000000000000000000000000000000000000000083168117909355604080519190921680825260208201939093527f66fd58e82f7b31a2a5c30e0888f3093efe4e111b00cd2b0c31fe014601293aa0910160405180910390a15050565b600054610100900460ff16611d5a5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b611d6384612beb565b611d6b612c79565b61175e838383612cfe565b60fe5474010000000000000000000000000000000000000000900460ff1615610e7f576040517f952bcf7f00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b0381166105c7576040517f8579befe00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600260c95403611e5d5760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610731565b600260c955565b600080611e718585612dc3565b611e7b8588612ee3565b9150611e88828686610bd8565b91505085811015611ecf576040517f228f8c110000000000000000000000000000000000000000000000000000000081526004810182905260248101879052604401610731565b611eda84848361302e565b9550959350505050565b600160c955565b611ef481611dcb565b60ff546040516001600160a01b038084169216907f50f1a16bf24734355b14ff800d132cc0a934808b8621d5623b41bc67f204881790600090a360ff80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b611f7181611dcb565b60fc546040516001600160a01b038084169216907f56b5f80d8cac1479698aa7d01605fd6111e90b15fc4d2b377417f46034876cbd90600090a360fc80547fffffffffffffffffffffffff0000000000000000000000000000000000000000166001600160a01b0392909216919091179055565b6097546040517f18c5e8ab0000000000000000000000000000000000000000000000000000000081526000916001600160a01b0316906318c5e8ab906120319033908690600401613e47565b602060405180830381865afa15801561204e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120729190613daf565b90508061104f573330836040517f4a3fa29300000000000000000000000000000000000000000000000000000000815260040161073193929190613e69565b600080846000036120ee576040517f098fb56100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6001600160a01b03808516600090815260fd6020908152604080832093871683529281528282208351808501909452805484526001810154929392909183019060ff16600381111561214257612142613a50565b600381111561215357612153613a50565b905250905060008160200151600381111561217057612170613a50565b036121a7576040517f618ce59700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015260009216906341976e0990602401602060405180830381865afa15801561220b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061222f9190613d15565b60fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152929350600092909116906341976e0990602401602060405180830381865afa158015612298573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906122bc9190613d15565b835160ff54919250906001600160a01b03161580159061235c575060ff546040517f6c059fb10000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690636c059fb190602401602060405180830381865afa158015612338573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061235c9190613daf565b15612365575060005b600061237982670de0b6b3a7640000613cab565b905061238d670de0b6b3a764000084613c6e565b81612398868d613c6e565b6123a29190613c6e565b6123ac9190613cda565b9650826123b98286613c6e565b6123c39190613cda565b95505050505050935093915050565b806000036105c7576040517f9cf8540c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040516001600160a01b038316602482015260448101829052610bd39084907fa9059cbb00000000000000000000000000000000000000000000000000000000906064015b604080517fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe08184030181529190526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167fffffffff000000000000000000000000000000000000000000000000000000009093169290921790915261308a565b606580547fffffffffffffffffffffffff00000000000000000000000000000000000000001690556105c781613172565b61250d816123d2565b60fb5460408051918252602082018390527fada67d0d38fa20c8ae6a5c17cb9d60b0fe7f2d4e4f27ac9ee55e54ac88de9d8d910160405180910390a160fb55565b6000612558612b5f565b60fe5460ff549192506001600160a01b039081169160009116156129fb5760ff546040517f4e9f8f390000000000000000000000000000000000000000000000000000000081526001600160a01b03878116600483015285811660248301526000928392911690634e9f8f39906044016000604051808303816000875af11580156125e7573d6000803e3d6000fd5b505050506040513d6000823e601f3d9081017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016820160405261262d9190810190613fa2565b8151919350915060005b818110156129f65782818151811061265157612651613d2e565b6020026020010151600003156129f657600084828151811061267557612675613d2e565b60200260200101516001600160a01b0316636f1a30a885848151811061269d5761269d613d2e565b60200260200101518c8b6040518463ffffffff1660e01b81526004016126df939291909283526001600160a01b03918216602084015216604082015260600190565b60408051808303816000875af11580156126fd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127219190614067565b9150508881111561272f5750875b612739818b6131dc565b61274357506129f6565b6040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038881166004830152600091908a16906370a0823190602401602060405180830381865afa1580156127a6573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906127ca9190613d15565b90508a6001600160a01b031663095ea7b38785815181106127ed576127ed613d2e565b6020026020010151846040518363ffffffff1660e01b81526004016128279291906001600160a01b03929092168252602082015260400190565b6020604051808303816000875af1158015612846573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061286a9190613daf565b5085838151811061287d5761287d613d2e565b60209081029190910101516040517f439727a500000000000000000000000000000000000000000000000000000000815260048101849052600060248201526001600160a01b038d811660448301528b811660648301528a811660848301529091169063439727a59060a40160408051808303816000875af1158015612907573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061292b9190614067565b50506040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b038981166004830152600091908b16906370a0823190602401602060405180830381865afa158015612990573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906129b49190613d15565b90506129c0838c613cc3565b9a506129cc8282613cc3565b6129d69089613cab565b97508a6000036129e8575050506129f6565b836001019350505050612637565b505050505b612a088684838888613314565b505050505050565b600080612a1d8585612dc3565b6000612a2a878787610ce1565b91505087811115612a71576040517f71b5f0c10000000000000000000000000000000000000000000000000000000081526004810182905260248101899052604401610731565b612a7b8682612ee3565b9250612a88838787610bd8565b9250612a97905085858461302e565b509550959350505050565b600080612aaf8585612dc3565b6000612abc878787610ce1565b915050612ac98682612ee3565b9250808314612b04576040517f0c5c1c2000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b87831115612b48576040517f71b5f0c10000000000000000000000000000000000000000000000000000000081526004810182905260248101899052604401610731565b612b5385858961302e565b50909694955050505050565b60fe54604080517fc8ecc0d300000000000000000000000000000000000000000000000000000000815290516000926001600160a01b03169163c8ecc0d39160048083019260209291908290030181865afa158015612bc2573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612be6919061408b565b905090565b600054610100900460ff16612c685760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b612c7061349c565b6105c781613521565b600054610100900460ff16612cf65760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b610e7f61359e565b600054610100900460ff16612d7b5760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b612d8483611f68565b612d8d82611847565b612d9681612504565b505060fe80547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16905550565b60ff546000906001600160a01b031615801590612e60575060ff546040517f6c059fb10000000000000000000000000000000000000000000000000000000081523360048201526001600160a01b0390911690636c059fb190602401602060405180830381865afa158015612e3c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612e609190613daf565b905080158015612eac575060026001600160a01b03808516600090815260fd602090815260408083209387168352929052206001015460ff166003811115612eaa57612eaa613a50565b145b15610bd3576040517f03410cd100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60fe546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b039182166004820152600091849183918316906370a0823190602401602060405180830381865afa158015612f4c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190612f709190613d15565b60fe54909150612f8f906001600160a01b03848116913391168761361b565b60fe546040517f70a082310000000000000000000000000000000000000000000000000000000081526001600160a01b0391821660048201526000918416906370a0823190602401602060405180830381865afa158015612ff4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906130189190613d15565b90506130248282613cc3565b9695505050505050565b600061303984610de0565b905081811015613075576040517f6bb2792900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b836108076001600160a01b038216858561240c565b60006130df826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b031661366c9092919063ffffffff16565b90508051600014806131005750808060200190518101906131009190613daf565b610bd35760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e60448201527f6f742073756363656564000000000000000000000000000000000000000000006064820152608401610731565b603380546001600160a01b038381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b60fc546040517fb62cad690000000000000000000000000000000000000000000000000000000081526001600160a01b038381166004830152600092169063b62cad6990602401600060405180830381600087803b15801561323d57600080fd5b505af1158015613251573d6000803e3d6000fd5b505060fc546040517f41976e090000000000000000000000000000000000000000000000000000000081526001600160a01b03868116600483015260009450670de0b6b3a76400009350879216906341976e0990602401602060405180830381865afa1580156132c5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906132e99190613d15565b6132f39190613c6e565b6132fd9190613cda565b905060fb54811061330d57600191505b5092915050565b82156133d5576001600160a01b038416600090815261012d602052604081208054859290613343908490613cab565b90915550506001600160a01b03808616600090815261012e6020908152604080832093881683529290529081208054859290613380908490613cab565b92505081905550836001600160a01b0316856001600160a01b03167fc39e3e80c0219fde334a8cb5d8468b628482e23388b6e809c90cb00c63c8ce38856040516133cc91815260200190565b60405180910390a35b8015610807576001600160a01b038216600090815261012d602052604081208054839290613404908490613cab565b90915550506001600160a01b03808616600090815261012e6020908152604080832093861683529290529081208054839290613441908490613cab565b92505081905550816001600160a01b0316856001600160a01b03167fc39e3e80c0219fde334a8cb5d8468b628482e23388b6e809c90cb00c63c8ce388360405161348d91815260200190565b60405180910390a35050505050565b600054610100900460ff166135195760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b610e7f613683565b600054610100900460ff166106805760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b600054610100900460ff16611ee45760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b6040516001600160a01b038085166024830152831660448201526064810182905261175e9085907f23b872dd0000000000000000000000000000000000000000000000000000000090608401612451565b606061367b8484600085613709565b949350505050565b600054610100900460ff166137005760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201527f6e697469616c697a696e670000000000000000000000000000000000000000006064820152608401610731565b610e7f336124d3565b6060824710156137815760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f60448201527f722063616c6c00000000000000000000000000000000000000000000000000006064820152608401610731565b600080866001600160a01b0316858760405161379d91906140a8565b60006040518083038185875af1925050503d80600081146137da576040519150601f19603f3d011682016040523d82523d6000602084013e6137df565b606091505b50915091506137f0878383876137fb565b979650505050505050565b6060831561386a578251600003613863576001600160a01b0385163b6138635760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610731565b508161367b565b61367b838381511561387f5781518083602001fd5b8060405162461bcd60e51b815260040161073191906140c4565b6001600160a01b03811681146105c757600080fd5b600080604083850312156138c157600080fd5b82356138cc81613899565b915060208301356138dc81613899565b809150509250929050565b6000602082840312156138f957600080fd5b8135610e6681613899565b60008060006060848603121561391957600080fd5b83359250602084013561392b81613899565b9150604084013561393b81613899565b809150509250925092565b6000806000806080858703121561395c57600080fd5b843561396781613899565b9350602085013561397781613899565b9250604085013561398781613899565b9396929550929360600135925050565b600080600080600060a086880312156139af57600080fd5b853594506020860135935060408601356139c881613899565b925060608601356139d881613899565b915060808601356139e881613899565b809150509295509295909350565b600080600060608486031215613a0b57600080fd5b8335613a1681613899565b92506020840135613a2681613899565b929592945050506040919091013590565b600060208284031215613a4957600080fd5b5035919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b60048110613ab6577f4e487b7100000000000000000000000000000000000000000000000000000000600052602160045260246000fd5b9052565b82815260408101610e666020830184613a7f565b60008083601f840112613ae057600080fd5b50813567ffffffffffffffff811115613af857600080fd5b6020830191508360208260061b8501011115613b1357600080fd5b9250929050565b600080600080600060608688031215613b3257600080fd5b8535613b3d81613899565b9450602086013567ffffffffffffffff80821115613b5a57600080fd5b818801915088601f830112613b6e57600080fd5b813581811115613b7d57600080fd5b8960208260051b8501011115613b9257600080fd5b602083019650809550506040880135915080821115613bb057600080fd5b50613bbd88828901613ace565b969995985093965092949392505050565b60008060008385036080811215613be457600080fd5b8435613bef81613899565b93506020850135613bff81613899565b925060407fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc082011215613c3157600080fd5b506040840190509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b6000817fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0483118215151615613ca657613ca6613c3f565b500290565b60008219821115613cbe57613cbe613c3f565b500190565b600082821015613cd557613cd5613c3f565b500390565b600082613d10577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b500490565b600060208284031215613d2757600080fd5b5051919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215613d6f57600080fd5b813560048110610e6657600080fd5b8481526020810184905260808101613d996040830185613a7f565b613da66060830184613a7f565b95945050505050565b600060208284031215613dc157600080fd5b81518015158114610e6657600080fd5b60005b83811015613dec578181015183820152602001613dd4565b8381111561175e5750506000910152565b60008151808452613e15816020860160208601613dd1565b601f017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0169290920160200192915050565b6001600160a01b038316815260406020820152600061367b6040830184613dfd565b60006001600160a01b03808616835280851660208401525060606040830152613da66060830184613dfd565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe016810167ffffffffffffffff81118282101715613f0b57613f0b613e95565b604052919050565b600067ffffffffffffffff821115613f2d57613f2d613e95565b5060051b60200190565b600082601f830112613f4857600080fd5b81516020613f5d613f5883613f13565b613ec4565b82815260059290921b84018101918181019086841115613f7c57600080fd5b8286015b84811015613f975780518352918301918301613f80565b509695505050505050565b60008060408385031215613fb557600080fd5b825167ffffffffffffffff80821115613fcd57600080fd5b818501915085601f830112613fe157600080fd5b81516020613ff1613f5883613f13565b82815260059290921b8401810191818101908984111561401057600080fd5b948201945b8386101561403757855161402881613899565b82529482019490820190614015565b9188015191965090935050508082111561405057600080fd5b5061405d85828601613f37565b9150509250929050565b6000806040838503121561407a57600080fd5b505080516020909101519092909150565b60006020828403121561409d57600080fd5b8151610e6681613899565b600082516140ba818460208701613dd1565b9190910192915050565b602081526000610e666020830184613dfd56fe736574436f6e76657273696f6e436f6e66696728616464726573732c616464726573732c436f6e76657273696f6e436f6e66696729a264697066735822122077fd1537e1ea93375cd0b1ed290a281975a51697252cabd2844897fb384e277864736f6c634300080d0033";
|
|
1400
|
-
|
|
1401
|
-
export class MockConverter__factory extends ContractFactory {
|
|
1402
|
-
constructor(
|
|
1403
|
-
...args: [signer: Signer] | ConstructorParameters<typeof ContractFactory>
|
|
1404
|
-
) {
|
|
1405
|
-
if (args.length === 1) {
|
|
1406
|
-
super(_abi, _bytecode, args[0]);
|
|
1407
|
-
} else {
|
|
1408
|
-
super(...args);
|
|
1409
|
-
}
|
|
1410
|
-
}
|
|
1411
|
-
|
|
1412
|
-
deploy(
|
|
1413
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1414
|
-
): Promise<MockConverter> {
|
|
1415
|
-
return super.deploy(overrides || {}) as Promise<MockConverter>;
|
|
1416
|
-
}
|
|
1417
|
-
getDeployTransaction(
|
|
1418
|
-
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1419
|
-
): TransactionRequest {
|
|
1420
|
-
return super.getDeployTransaction(overrides || {});
|
|
1421
|
-
}
|
|
1422
|
-
attach(address: string): MockConverter {
|
|
1423
|
-
return super.attach(address) as MockConverter;
|
|
1424
|
-
}
|
|
1425
|
-
connect(signer: Signer): MockConverter__factory {
|
|
1426
|
-
return super.connect(signer) as MockConverter__factory;
|
|
1427
|
-
}
|
|
1428
|
-
static readonly bytecode = _bytecode;
|
|
1429
|
-
static readonly abi = _abi;
|
|
1430
|
-
static createInterface(): MockConverterInterface {
|
|
1431
|
-
return new utils.Interface(_abi) as MockConverterInterface;
|
|
1432
|
-
}
|
|
1433
|
-
static connect(
|
|
1434
|
-
address: string,
|
|
1435
|
-
signerOrProvider: Signer | Provider
|
|
1436
|
-
): MockConverter {
|
|
1437
|
-
return new Contract(address, _abi, signerOrProvider) as MockConverter;
|
|
1438
|
-
}
|
|
1439
|
-
}
|