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