@pendle/core-v2 2.13.2-mainnet → 2.14.0-mainnet
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/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol/CamelotRewardHelper.json +6 -6
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileCommon.sol/CamelotV1VolatileCommon.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol/CamelotV1VolatileLpHelper.json +0 -26
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatilePreview.sol/CamelotV1VolatilePreview.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.dbg.json +1 -1
- package/build/artifacts/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol/PendleCamelotV1VolatileSY.json +10 -41
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNFTPool.sol/ICamelotNFTPool.json +48 -0
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol/ICamelotNitroPoolFactory.json +638 -0
- package/build/artifacts/contracts/interfaces/Camelot/ICamelotPair.sol/ICamelotPair.dbg.json +1 -1
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotRewardHelper.sol +18 -10
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/CamelotV1VolatileLpHelper.sol +2 -10
- package/contracts/core/StandardizedYield/implementations/CamelotV1Volatile/PendleCamelotV1VolatileSY.sol +43 -41
- package/contracts/interfaces/Camelot/ICamelotNFTPool.sol +14 -0
- package/contracts/interfaces/Camelot/ICamelotNitroPoolFactory.sol +95 -0
- package/deployments/42161-markets/CAMELOT-ARBETH-27JUNE2024-ARBITRUM.json +10 -0
- package/deployments/42161-markets/CAMELOT-PEP-27JUNE2024-ARBITRUM.json +4 -4
- package/package.json +1 -1
- package/typechain-types/CamelotV1LpHelper.ts +203 -0
- package/typechain-types/CamelotV1Preview.ts +431 -0
- package/typechain-types/CamelotV1VolatileLpHelper.ts +0 -32
- package/typechain-types/ICamelotNFTPool.ts +85 -0
- package/typechain-types/ICamelotNitroPoolFactory.ts +1053 -0
- package/typechain-types/ICamelotSY.ts +100 -0
- package/typechain-types/IPendlePreviewHelper.ts +147 -0
- package/typechain-types/PendleCamelotV1SY.ts +2014 -0
- package/typechain-types/PendleCamelotV1VolatileSY.ts +14 -46
- package/typechain-types/factories/CamelotRewardHelper__factory.ts +24 -13
- package/typechain-types/factories/CamelotV1LpHelper__factory.ts +143 -0
- package/typechain-types/factories/CamelotV1Preview__factory.ts +309 -0
- package/typechain-types/factories/CamelotV1VolatileLpHelper__factory.ts +0 -26
- package/typechain-types/factories/ICamelotNFTPool__factory.ts +48 -0
- package/typechain-types/factories/ICamelotNitroPoolFactory__factory.ts +657 -0
- package/typechain-types/factories/ICamelotSY__factory.ts +49 -0
- package/typechain-types/factories/IPendlePreviewHelper__factory.ts +78 -0
- package/typechain-types/factories/PendleCamelotV1SY__factory.ts +1614 -0
- package/typechain-types/factories/PendleCamelotV1VolatileSY__factory.ts +25 -53
- package/typechain-types/hardhat.d.ts +9 -0
- package/typechain-types/index.ts +2 -0
|
@@ -0,0 +1,1614 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
import { Signer, utils, Contract, ContractFactory, Overrides } from "ethers";
|
|
5
|
+
import { Provider, TransactionRequest } from "@ethersproject/providers";
|
|
6
|
+
import type {
|
|
7
|
+
PendleCamelotV1SY,
|
|
8
|
+
PendleCamelotV1SYInterface,
|
|
9
|
+
} from "../PendleCamelotV1SY";
|
|
10
|
+
|
|
11
|
+
const _abi = [
|
|
12
|
+
{
|
|
13
|
+
inputs: [
|
|
14
|
+
{
|
|
15
|
+
internalType: "string",
|
|
16
|
+
name: "_name",
|
|
17
|
+
type: "string",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
internalType: "string",
|
|
21
|
+
name: "_symbol",
|
|
22
|
+
type: "string",
|
|
23
|
+
},
|
|
24
|
+
{
|
|
25
|
+
internalType: "address",
|
|
26
|
+
name: "_pair",
|
|
27
|
+
type: "address",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
internalType: "address",
|
|
31
|
+
name: "_factory",
|
|
32
|
+
type: "address",
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
internalType: "address",
|
|
36
|
+
name: "_router",
|
|
37
|
+
type: "address",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "_nftPool",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
internalType: "address",
|
|
46
|
+
name: "_nitroPool",
|
|
47
|
+
type: "address",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
internalType: "address",
|
|
51
|
+
name: "_referrer",
|
|
52
|
+
type: "address",
|
|
53
|
+
},
|
|
54
|
+
{
|
|
55
|
+
internalType: "contract IPendlePreviewHelper",
|
|
56
|
+
name: "_previewHelper",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
stateMutability: "nonpayable",
|
|
61
|
+
type: "constructor",
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
inputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "tokenId",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
internalType: "uint256",
|
|
72
|
+
name: "positionId",
|
|
73
|
+
type: "uint256",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "InvalidTokenId",
|
|
77
|
+
type: "error",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
internalType: "uint256",
|
|
83
|
+
name: "actualSharesOut",
|
|
84
|
+
type: "uint256",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
internalType: "uint256",
|
|
88
|
+
name: "requiredSharesOut",
|
|
89
|
+
type: "uint256",
|
|
90
|
+
},
|
|
91
|
+
],
|
|
92
|
+
name: "SYInsufficientSharesOut",
|
|
93
|
+
type: "error",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [
|
|
97
|
+
{
|
|
98
|
+
internalType: "uint256",
|
|
99
|
+
name: "actualTokenOut",
|
|
100
|
+
type: "uint256",
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
internalType: "uint256",
|
|
104
|
+
name: "requiredTokenOut",
|
|
105
|
+
type: "uint256",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "SYInsufficientTokenOut",
|
|
109
|
+
type: "error",
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
inputs: [
|
|
113
|
+
{
|
|
114
|
+
internalType: "address",
|
|
115
|
+
name: "token",
|
|
116
|
+
type: "address",
|
|
117
|
+
},
|
|
118
|
+
],
|
|
119
|
+
name: "SYInvalidTokenIn",
|
|
120
|
+
type: "error",
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
inputs: [
|
|
124
|
+
{
|
|
125
|
+
internalType: "address",
|
|
126
|
+
name: "token",
|
|
127
|
+
type: "address",
|
|
128
|
+
},
|
|
129
|
+
],
|
|
130
|
+
name: "SYInvalidTokenOut",
|
|
131
|
+
type: "error",
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
inputs: [],
|
|
135
|
+
name: "SYZeroDeposit",
|
|
136
|
+
type: "error",
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
inputs: [],
|
|
140
|
+
name: "SYZeroRedeem",
|
|
141
|
+
type: "error",
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
anonymous: false,
|
|
145
|
+
inputs: [
|
|
146
|
+
{
|
|
147
|
+
indexed: true,
|
|
148
|
+
internalType: "address",
|
|
149
|
+
name: "owner",
|
|
150
|
+
type: "address",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
indexed: true,
|
|
154
|
+
internalType: "address",
|
|
155
|
+
name: "spender",
|
|
156
|
+
type: "address",
|
|
157
|
+
},
|
|
158
|
+
{
|
|
159
|
+
indexed: false,
|
|
160
|
+
internalType: "uint256",
|
|
161
|
+
name: "value",
|
|
162
|
+
type: "uint256",
|
|
163
|
+
},
|
|
164
|
+
],
|
|
165
|
+
name: "Approval",
|
|
166
|
+
type: "event",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
anonymous: false,
|
|
170
|
+
inputs: [
|
|
171
|
+
{
|
|
172
|
+
indexed: true,
|
|
173
|
+
internalType: "address",
|
|
174
|
+
name: "user",
|
|
175
|
+
type: "address",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
indexed: false,
|
|
179
|
+
internalType: "address[]",
|
|
180
|
+
name: "rewardTokens",
|
|
181
|
+
type: "address[]",
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
indexed: false,
|
|
185
|
+
internalType: "uint256[]",
|
|
186
|
+
name: "rewardAmounts",
|
|
187
|
+
type: "uint256[]",
|
|
188
|
+
},
|
|
189
|
+
],
|
|
190
|
+
name: "ClaimRewards",
|
|
191
|
+
type: "event",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
anonymous: false,
|
|
195
|
+
inputs: [
|
|
196
|
+
{
|
|
197
|
+
indexed: true,
|
|
198
|
+
internalType: "address",
|
|
199
|
+
name: "caller",
|
|
200
|
+
type: "address",
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
indexed: true,
|
|
204
|
+
internalType: "address",
|
|
205
|
+
name: "receiver",
|
|
206
|
+
type: "address",
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
indexed: true,
|
|
210
|
+
internalType: "address",
|
|
211
|
+
name: "tokenIn",
|
|
212
|
+
type: "address",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
indexed: false,
|
|
216
|
+
internalType: "uint256",
|
|
217
|
+
name: "amountDeposited",
|
|
218
|
+
type: "uint256",
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
indexed: false,
|
|
222
|
+
internalType: "uint256",
|
|
223
|
+
name: "amountSyOut",
|
|
224
|
+
type: "uint256",
|
|
225
|
+
},
|
|
226
|
+
],
|
|
227
|
+
name: "Deposit",
|
|
228
|
+
type: "event",
|
|
229
|
+
},
|
|
230
|
+
{
|
|
231
|
+
anonymous: false,
|
|
232
|
+
inputs: [
|
|
233
|
+
{
|
|
234
|
+
indexed: false,
|
|
235
|
+
internalType: "uint8",
|
|
236
|
+
name: "version",
|
|
237
|
+
type: "uint8",
|
|
238
|
+
},
|
|
239
|
+
],
|
|
240
|
+
name: "Initialized",
|
|
241
|
+
type: "event",
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
anonymous: false,
|
|
245
|
+
inputs: [
|
|
246
|
+
{
|
|
247
|
+
indexed: true,
|
|
248
|
+
internalType: "address",
|
|
249
|
+
name: "previousOwner",
|
|
250
|
+
type: "address",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
indexed: true,
|
|
254
|
+
internalType: "address",
|
|
255
|
+
name: "newOwner",
|
|
256
|
+
type: "address",
|
|
257
|
+
},
|
|
258
|
+
],
|
|
259
|
+
name: "OwnershipTransferred",
|
|
260
|
+
type: "event",
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
anonymous: false,
|
|
264
|
+
inputs: [
|
|
265
|
+
{
|
|
266
|
+
indexed: false,
|
|
267
|
+
internalType: "address",
|
|
268
|
+
name: "account",
|
|
269
|
+
type: "address",
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
name: "Paused",
|
|
273
|
+
type: "event",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
anonymous: false,
|
|
277
|
+
inputs: [
|
|
278
|
+
{
|
|
279
|
+
indexed: true,
|
|
280
|
+
internalType: "address",
|
|
281
|
+
name: "caller",
|
|
282
|
+
type: "address",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
indexed: true,
|
|
286
|
+
internalType: "address",
|
|
287
|
+
name: "receiver",
|
|
288
|
+
type: "address",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
indexed: true,
|
|
292
|
+
internalType: "address",
|
|
293
|
+
name: "tokenOut",
|
|
294
|
+
type: "address",
|
|
295
|
+
},
|
|
296
|
+
{
|
|
297
|
+
indexed: false,
|
|
298
|
+
internalType: "uint256",
|
|
299
|
+
name: "amountSyToRedeem",
|
|
300
|
+
type: "uint256",
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
indexed: false,
|
|
304
|
+
internalType: "uint256",
|
|
305
|
+
name: "amountTokenOut",
|
|
306
|
+
type: "uint256",
|
|
307
|
+
},
|
|
308
|
+
],
|
|
309
|
+
name: "Redeem",
|
|
310
|
+
type: "event",
|
|
311
|
+
},
|
|
312
|
+
{
|
|
313
|
+
anonymous: false,
|
|
314
|
+
inputs: [
|
|
315
|
+
{
|
|
316
|
+
indexed: true,
|
|
317
|
+
internalType: "address",
|
|
318
|
+
name: "from",
|
|
319
|
+
type: "address",
|
|
320
|
+
},
|
|
321
|
+
{
|
|
322
|
+
indexed: true,
|
|
323
|
+
internalType: "address",
|
|
324
|
+
name: "to",
|
|
325
|
+
type: "address",
|
|
326
|
+
},
|
|
327
|
+
{
|
|
328
|
+
indexed: false,
|
|
329
|
+
internalType: "uint256",
|
|
330
|
+
name: "value",
|
|
331
|
+
type: "uint256",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
name: "Transfer",
|
|
335
|
+
type: "event",
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
anonymous: false,
|
|
339
|
+
inputs: [
|
|
340
|
+
{
|
|
341
|
+
indexed: false,
|
|
342
|
+
internalType: "address",
|
|
343
|
+
name: "account",
|
|
344
|
+
type: "address",
|
|
345
|
+
},
|
|
346
|
+
],
|
|
347
|
+
name: "Unpaused",
|
|
348
|
+
type: "event",
|
|
349
|
+
},
|
|
350
|
+
{
|
|
351
|
+
inputs: [],
|
|
352
|
+
name: "DOMAIN_SEPARATOR",
|
|
353
|
+
outputs: [
|
|
354
|
+
{
|
|
355
|
+
internalType: "bytes32",
|
|
356
|
+
name: "",
|
|
357
|
+
type: "bytes32",
|
|
358
|
+
},
|
|
359
|
+
],
|
|
360
|
+
stateMutability: "view",
|
|
361
|
+
type: "function",
|
|
362
|
+
},
|
|
363
|
+
{
|
|
364
|
+
inputs: [],
|
|
365
|
+
name: "GRAIL",
|
|
366
|
+
outputs: [
|
|
367
|
+
{
|
|
368
|
+
internalType: "address",
|
|
369
|
+
name: "",
|
|
370
|
+
type: "address",
|
|
371
|
+
},
|
|
372
|
+
],
|
|
373
|
+
stateMutability: "view",
|
|
374
|
+
type: "function",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
inputs: [
|
|
378
|
+
{
|
|
379
|
+
internalType: "address",
|
|
380
|
+
name: "user",
|
|
381
|
+
type: "address",
|
|
382
|
+
},
|
|
383
|
+
],
|
|
384
|
+
name: "accruedRewards",
|
|
385
|
+
outputs: [
|
|
386
|
+
{
|
|
387
|
+
internalType: "uint256[]",
|
|
388
|
+
name: "rewardAmounts",
|
|
389
|
+
type: "uint256[]",
|
|
390
|
+
},
|
|
391
|
+
],
|
|
392
|
+
stateMutability: "view",
|
|
393
|
+
type: "function",
|
|
394
|
+
},
|
|
395
|
+
{
|
|
396
|
+
inputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "address",
|
|
399
|
+
name: "owner",
|
|
400
|
+
type: "address",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
internalType: "address",
|
|
404
|
+
name: "spender",
|
|
405
|
+
type: "address",
|
|
406
|
+
},
|
|
407
|
+
],
|
|
408
|
+
name: "allowance",
|
|
409
|
+
outputs: [
|
|
410
|
+
{
|
|
411
|
+
internalType: "uint256",
|
|
412
|
+
name: "",
|
|
413
|
+
type: "uint256",
|
|
414
|
+
},
|
|
415
|
+
],
|
|
416
|
+
stateMutability: "view",
|
|
417
|
+
type: "function",
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
inputs: [
|
|
421
|
+
{
|
|
422
|
+
internalType: "address",
|
|
423
|
+
name: "spender",
|
|
424
|
+
type: "address",
|
|
425
|
+
},
|
|
426
|
+
{
|
|
427
|
+
internalType: "uint256",
|
|
428
|
+
name: "amount",
|
|
429
|
+
type: "uint256",
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
name: "approve",
|
|
433
|
+
outputs: [
|
|
434
|
+
{
|
|
435
|
+
internalType: "bool",
|
|
436
|
+
name: "",
|
|
437
|
+
type: "bool",
|
|
438
|
+
},
|
|
439
|
+
],
|
|
440
|
+
stateMutability: "nonpayable",
|
|
441
|
+
type: "function",
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
inputs: [],
|
|
445
|
+
name: "assetInfo",
|
|
446
|
+
outputs: [
|
|
447
|
+
{
|
|
448
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
449
|
+
name: "assetType",
|
|
450
|
+
type: "uint8",
|
|
451
|
+
},
|
|
452
|
+
{
|
|
453
|
+
internalType: "address",
|
|
454
|
+
name: "assetAddress",
|
|
455
|
+
type: "address",
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
internalType: "uint8",
|
|
459
|
+
name: "assetDecimals",
|
|
460
|
+
type: "uint8",
|
|
461
|
+
},
|
|
462
|
+
],
|
|
463
|
+
stateMutability: "view",
|
|
464
|
+
type: "function",
|
|
465
|
+
},
|
|
466
|
+
{
|
|
467
|
+
inputs: [
|
|
468
|
+
{
|
|
469
|
+
internalType: "address",
|
|
470
|
+
name: "account",
|
|
471
|
+
type: "address",
|
|
472
|
+
},
|
|
473
|
+
],
|
|
474
|
+
name: "balanceOf",
|
|
475
|
+
outputs: [
|
|
476
|
+
{
|
|
477
|
+
internalType: "uint256",
|
|
478
|
+
name: "",
|
|
479
|
+
type: "uint256",
|
|
480
|
+
},
|
|
481
|
+
],
|
|
482
|
+
stateMutability: "view",
|
|
483
|
+
type: "function",
|
|
484
|
+
},
|
|
485
|
+
{
|
|
486
|
+
inputs: [
|
|
487
|
+
{
|
|
488
|
+
internalType: "uint256",
|
|
489
|
+
name: "redeemIndex",
|
|
490
|
+
type: "uint256",
|
|
491
|
+
},
|
|
492
|
+
],
|
|
493
|
+
name: "cancelRedeem",
|
|
494
|
+
outputs: [],
|
|
495
|
+
stateMutability: "nonpayable",
|
|
496
|
+
type: "function",
|
|
497
|
+
},
|
|
498
|
+
{
|
|
499
|
+
inputs: [],
|
|
500
|
+
name: "claimOwnership",
|
|
501
|
+
outputs: [],
|
|
502
|
+
stateMutability: "nonpayable",
|
|
503
|
+
type: "function",
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
inputs: [
|
|
507
|
+
{
|
|
508
|
+
internalType: "address",
|
|
509
|
+
name: "user",
|
|
510
|
+
type: "address",
|
|
511
|
+
},
|
|
512
|
+
],
|
|
513
|
+
name: "claimRewards",
|
|
514
|
+
outputs: [
|
|
515
|
+
{
|
|
516
|
+
internalType: "uint256[]",
|
|
517
|
+
name: "rewardAmounts",
|
|
518
|
+
type: "uint256[]",
|
|
519
|
+
},
|
|
520
|
+
],
|
|
521
|
+
stateMutability: "nonpayable",
|
|
522
|
+
type: "function",
|
|
523
|
+
},
|
|
524
|
+
{
|
|
525
|
+
inputs: [],
|
|
526
|
+
name: "decimals",
|
|
527
|
+
outputs: [
|
|
528
|
+
{
|
|
529
|
+
internalType: "uint8",
|
|
530
|
+
name: "",
|
|
531
|
+
type: "uint8",
|
|
532
|
+
},
|
|
533
|
+
],
|
|
534
|
+
stateMutability: "view",
|
|
535
|
+
type: "function",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
inputs: [
|
|
539
|
+
{
|
|
540
|
+
internalType: "address",
|
|
541
|
+
name: "receiver",
|
|
542
|
+
type: "address",
|
|
543
|
+
},
|
|
544
|
+
{
|
|
545
|
+
internalType: "address",
|
|
546
|
+
name: "tokenIn",
|
|
547
|
+
type: "address",
|
|
548
|
+
},
|
|
549
|
+
{
|
|
550
|
+
internalType: "uint256",
|
|
551
|
+
name: "amountTokenToDeposit",
|
|
552
|
+
type: "uint256",
|
|
553
|
+
},
|
|
554
|
+
{
|
|
555
|
+
internalType: "uint256",
|
|
556
|
+
name: "minSharesOut",
|
|
557
|
+
type: "uint256",
|
|
558
|
+
},
|
|
559
|
+
],
|
|
560
|
+
name: "deposit",
|
|
561
|
+
outputs: [
|
|
562
|
+
{
|
|
563
|
+
internalType: "uint256",
|
|
564
|
+
name: "amountSharesOut",
|
|
565
|
+
type: "uint256",
|
|
566
|
+
},
|
|
567
|
+
],
|
|
568
|
+
stateMutability: "payable",
|
|
569
|
+
type: "function",
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
inputs: [],
|
|
573
|
+
name: "exchangeRate",
|
|
574
|
+
outputs: [
|
|
575
|
+
{
|
|
576
|
+
internalType: "uint256",
|
|
577
|
+
name: "",
|
|
578
|
+
type: "uint256",
|
|
579
|
+
},
|
|
580
|
+
],
|
|
581
|
+
stateMutability: "view",
|
|
582
|
+
type: "function",
|
|
583
|
+
},
|
|
584
|
+
{
|
|
585
|
+
inputs: [],
|
|
586
|
+
name: "factory",
|
|
587
|
+
outputs: [
|
|
588
|
+
{
|
|
589
|
+
internalType: "address",
|
|
590
|
+
name: "",
|
|
591
|
+
type: "address",
|
|
592
|
+
},
|
|
593
|
+
],
|
|
594
|
+
stateMutability: "view",
|
|
595
|
+
type: "function",
|
|
596
|
+
},
|
|
597
|
+
{
|
|
598
|
+
inputs: [
|
|
599
|
+
{
|
|
600
|
+
internalType: "uint256",
|
|
601
|
+
name: "redeemIndex",
|
|
602
|
+
type: "uint256",
|
|
603
|
+
},
|
|
604
|
+
],
|
|
605
|
+
name: "finalizeRedeem",
|
|
606
|
+
outputs: [],
|
|
607
|
+
stateMutability: "nonpayable",
|
|
608
|
+
type: "function",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
inputs: [],
|
|
612
|
+
name: "getRewardTokens",
|
|
613
|
+
outputs: [
|
|
614
|
+
{
|
|
615
|
+
internalType: "address[]",
|
|
616
|
+
name: "rewardTokens",
|
|
617
|
+
type: "address[]",
|
|
618
|
+
},
|
|
619
|
+
],
|
|
620
|
+
stateMutability: "view",
|
|
621
|
+
type: "function",
|
|
622
|
+
},
|
|
623
|
+
{
|
|
624
|
+
inputs: [],
|
|
625
|
+
name: "getTokensIn",
|
|
626
|
+
outputs: [
|
|
627
|
+
{
|
|
628
|
+
internalType: "address[]",
|
|
629
|
+
name: "res",
|
|
630
|
+
type: "address[]",
|
|
631
|
+
},
|
|
632
|
+
],
|
|
633
|
+
stateMutability: "view",
|
|
634
|
+
type: "function",
|
|
635
|
+
},
|
|
636
|
+
{
|
|
637
|
+
inputs: [],
|
|
638
|
+
name: "getTokensOut",
|
|
639
|
+
outputs: [
|
|
640
|
+
{
|
|
641
|
+
internalType: "address[]",
|
|
642
|
+
name: "res",
|
|
643
|
+
type: "address[]",
|
|
644
|
+
},
|
|
645
|
+
],
|
|
646
|
+
stateMutability: "view",
|
|
647
|
+
type: "function",
|
|
648
|
+
},
|
|
649
|
+
{
|
|
650
|
+
inputs: [],
|
|
651
|
+
name: "isRewardDisabled",
|
|
652
|
+
outputs: [
|
|
653
|
+
{
|
|
654
|
+
internalType: "bool",
|
|
655
|
+
name: "",
|
|
656
|
+
type: "bool",
|
|
657
|
+
},
|
|
658
|
+
],
|
|
659
|
+
stateMutability: "view",
|
|
660
|
+
type: "function",
|
|
661
|
+
},
|
|
662
|
+
{
|
|
663
|
+
inputs: [],
|
|
664
|
+
name: "isStable",
|
|
665
|
+
outputs: [
|
|
666
|
+
{
|
|
667
|
+
internalType: "bool",
|
|
668
|
+
name: "",
|
|
669
|
+
type: "bool",
|
|
670
|
+
},
|
|
671
|
+
],
|
|
672
|
+
stateMutability: "view",
|
|
673
|
+
type: "function",
|
|
674
|
+
},
|
|
675
|
+
{
|
|
676
|
+
inputs: [
|
|
677
|
+
{
|
|
678
|
+
internalType: "address",
|
|
679
|
+
name: "token",
|
|
680
|
+
type: "address",
|
|
681
|
+
},
|
|
682
|
+
],
|
|
683
|
+
name: "isValidTokenIn",
|
|
684
|
+
outputs: [
|
|
685
|
+
{
|
|
686
|
+
internalType: "bool",
|
|
687
|
+
name: "",
|
|
688
|
+
type: "bool",
|
|
689
|
+
},
|
|
690
|
+
],
|
|
691
|
+
stateMutability: "view",
|
|
692
|
+
type: "function",
|
|
693
|
+
},
|
|
694
|
+
{
|
|
695
|
+
inputs: [
|
|
696
|
+
{
|
|
697
|
+
internalType: "address",
|
|
698
|
+
name: "token",
|
|
699
|
+
type: "address",
|
|
700
|
+
},
|
|
701
|
+
],
|
|
702
|
+
name: "isValidTokenOut",
|
|
703
|
+
outputs: [
|
|
704
|
+
{
|
|
705
|
+
internalType: "bool",
|
|
706
|
+
name: "",
|
|
707
|
+
type: "bool",
|
|
708
|
+
},
|
|
709
|
+
],
|
|
710
|
+
stateMutability: "view",
|
|
711
|
+
type: "function",
|
|
712
|
+
},
|
|
713
|
+
{
|
|
714
|
+
inputs: [],
|
|
715
|
+
name: "lastRewardBlock",
|
|
716
|
+
outputs: [
|
|
717
|
+
{
|
|
718
|
+
internalType: "uint256",
|
|
719
|
+
name: "",
|
|
720
|
+
type: "uint256",
|
|
721
|
+
},
|
|
722
|
+
],
|
|
723
|
+
stateMutability: "view",
|
|
724
|
+
type: "function",
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
inputs: [],
|
|
728
|
+
name: "multiplier0",
|
|
729
|
+
outputs: [
|
|
730
|
+
{
|
|
731
|
+
internalType: "uint256",
|
|
732
|
+
name: "",
|
|
733
|
+
type: "uint256",
|
|
734
|
+
},
|
|
735
|
+
],
|
|
736
|
+
stateMutability: "view",
|
|
737
|
+
type: "function",
|
|
738
|
+
},
|
|
739
|
+
{
|
|
740
|
+
inputs: [],
|
|
741
|
+
name: "multiplier1",
|
|
742
|
+
outputs: [
|
|
743
|
+
{
|
|
744
|
+
internalType: "uint256",
|
|
745
|
+
name: "",
|
|
746
|
+
type: "uint256",
|
|
747
|
+
},
|
|
748
|
+
],
|
|
749
|
+
stateMutability: "view",
|
|
750
|
+
type: "function",
|
|
751
|
+
},
|
|
752
|
+
{
|
|
753
|
+
inputs: [],
|
|
754
|
+
name: "name",
|
|
755
|
+
outputs: [
|
|
756
|
+
{
|
|
757
|
+
internalType: "string",
|
|
758
|
+
name: "",
|
|
759
|
+
type: "string",
|
|
760
|
+
},
|
|
761
|
+
],
|
|
762
|
+
stateMutability: "view",
|
|
763
|
+
type: "function",
|
|
764
|
+
},
|
|
765
|
+
{
|
|
766
|
+
inputs: [],
|
|
767
|
+
name: "nftPool",
|
|
768
|
+
outputs: [
|
|
769
|
+
{
|
|
770
|
+
internalType: "address",
|
|
771
|
+
name: "",
|
|
772
|
+
type: "address",
|
|
773
|
+
},
|
|
774
|
+
],
|
|
775
|
+
stateMutability: "view",
|
|
776
|
+
type: "function",
|
|
777
|
+
},
|
|
778
|
+
{
|
|
779
|
+
inputs: [],
|
|
780
|
+
name: "nitroPool",
|
|
781
|
+
outputs: [
|
|
782
|
+
{
|
|
783
|
+
internalType: "address",
|
|
784
|
+
name: "",
|
|
785
|
+
type: "address",
|
|
786
|
+
},
|
|
787
|
+
],
|
|
788
|
+
stateMutability: "view",
|
|
789
|
+
type: "function",
|
|
790
|
+
},
|
|
791
|
+
{
|
|
792
|
+
inputs: [
|
|
793
|
+
{
|
|
794
|
+
internalType: "address",
|
|
795
|
+
name: "owner",
|
|
796
|
+
type: "address",
|
|
797
|
+
},
|
|
798
|
+
],
|
|
799
|
+
name: "nonces",
|
|
800
|
+
outputs: [
|
|
801
|
+
{
|
|
802
|
+
internalType: "uint256",
|
|
803
|
+
name: "",
|
|
804
|
+
type: "uint256",
|
|
805
|
+
},
|
|
806
|
+
],
|
|
807
|
+
stateMutability: "view",
|
|
808
|
+
type: "function",
|
|
809
|
+
},
|
|
810
|
+
{
|
|
811
|
+
inputs: [
|
|
812
|
+
{
|
|
813
|
+
internalType: "address",
|
|
814
|
+
name: "",
|
|
815
|
+
type: "address",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
internalType: "address",
|
|
819
|
+
name: "",
|
|
820
|
+
type: "address",
|
|
821
|
+
},
|
|
822
|
+
{
|
|
823
|
+
internalType: "uint256",
|
|
824
|
+
name: "tokenId",
|
|
825
|
+
type: "uint256",
|
|
826
|
+
},
|
|
827
|
+
{
|
|
828
|
+
internalType: "bytes",
|
|
829
|
+
name: "",
|
|
830
|
+
type: "bytes",
|
|
831
|
+
},
|
|
832
|
+
],
|
|
833
|
+
name: "onERC721Received",
|
|
834
|
+
outputs: [
|
|
835
|
+
{
|
|
836
|
+
internalType: "bytes4",
|
|
837
|
+
name: "",
|
|
838
|
+
type: "bytes4",
|
|
839
|
+
},
|
|
840
|
+
],
|
|
841
|
+
stateMutability: "view",
|
|
842
|
+
type: "function",
|
|
843
|
+
},
|
|
844
|
+
{
|
|
845
|
+
inputs: [
|
|
846
|
+
{
|
|
847
|
+
internalType: "address",
|
|
848
|
+
name: "",
|
|
849
|
+
type: "address",
|
|
850
|
+
},
|
|
851
|
+
{
|
|
852
|
+
internalType: "uint256",
|
|
853
|
+
name: "tokenId",
|
|
854
|
+
type: "uint256",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
internalType: "uint256",
|
|
858
|
+
name: "",
|
|
859
|
+
type: "uint256",
|
|
860
|
+
},
|
|
861
|
+
],
|
|
862
|
+
name: "onNFTAddToPosition",
|
|
863
|
+
outputs: [
|
|
864
|
+
{
|
|
865
|
+
internalType: "bool",
|
|
866
|
+
name: "",
|
|
867
|
+
type: "bool",
|
|
868
|
+
},
|
|
869
|
+
],
|
|
870
|
+
stateMutability: "view",
|
|
871
|
+
type: "function",
|
|
872
|
+
},
|
|
873
|
+
{
|
|
874
|
+
inputs: [
|
|
875
|
+
{
|
|
876
|
+
internalType: "address",
|
|
877
|
+
name: "",
|
|
878
|
+
type: "address",
|
|
879
|
+
},
|
|
880
|
+
{
|
|
881
|
+
internalType: "address",
|
|
882
|
+
name: "",
|
|
883
|
+
type: "address",
|
|
884
|
+
},
|
|
885
|
+
{
|
|
886
|
+
internalType: "uint256",
|
|
887
|
+
name: "tokenId",
|
|
888
|
+
type: "uint256",
|
|
889
|
+
},
|
|
890
|
+
{
|
|
891
|
+
internalType: "uint256",
|
|
892
|
+
name: "",
|
|
893
|
+
type: "uint256",
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
internalType: "uint256",
|
|
897
|
+
name: "",
|
|
898
|
+
type: "uint256",
|
|
899
|
+
},
|
|
900
|
+
],
|
|
901
|
+
name: "onNFTHarvest",
|
|
902
|
+
outputs: [
|
|
903
|
+
{
|
|
904
|
+
internalType: "bool",
|
|
905
|
+
name: "",
|
|
906
|
+
type: "bool",
|
|
907
|
+
},
|
|
908
|
+
],
|
|
909
|
+
stateMutability: "view",
|
|
910
|
+
type: "function",
|
|
911
|
+
},
|
|
912
|
+
{
|
|
913
|
+
inputs: [
|
|
914
|
+
{
|
|
915
|
+
internalType: "address",
|
|
916
|
+
name: "",
|
|
917
|
+
type: "address",
|
|
918
|
+
},
|
|
919
|
+
{
|
|
920
|
+
internalType: "uint256",
|
|
921
|
+
name: "tokenId",
|
|
922
|
+
type: "uint256",
|
|
923
|
+
},
|
|
924
|
+
{
|
|
925
|
+
internalType: "uint256",
|
|
926
|
+
name: "",
|
|
927
|
+
type: "uint256",
|
|
928
|
+
},
|
|
929
|
+
],
|
|
930
|
+
name: "onNFTWithdraw",
|
|
931
|
+
outputs: [
|
|
932
|
+
{
|
|
933
|
+
internalType: "bool",
|
|
934
|
+
name: "",
|
|
935
|
+
type: "bool",
|
|
936
|
+
},
|
|
937
|
+
],
|
|
938
|
+
stateMutability: "view",
|
|
939
|
+
type: "function",
|
|
940
|
+
},
|
|
941
|
+
{
|
|
942
|
+
inputs: [],
|
|
943
|
+
name: "owner",
|
|
944
|
+
outputs: [
|
|
945
|
+
{
|
|
946
|
+
internalType: "address",
|
|
947
|
+
name: "",
|
|
948
|
+
type: "address",
|
|
949
|
+
},
|
|
950
|
+
],
|
|
951
|
+
stateMutability: "view",
|
|
952
|
+
type: "function",
|
|
953
|
+
},
|
|
954
|
+
{
|
|
955
|
+
inputs: [],
|
|
956
|
+
name: "pair",
|
|
957
|
+
outputs: [
|
|
958
|
+
{
|
|
959
|
+
internalType: "address",
|
|
960
|
+
name: "",
|
|
961
|
+
type: "address",
|
|
962
|
+
},
|
|
963
|
+
],
|
|
964
|
+
stateMutability: "view",
|
|
965
|
+
type: "function",
|
|
966
|
+
},
|
|
967
|
+
{
|
|
968
|
+
inputs: [],
|
|
969
|
+
name: "pause",
|
|
970
|
+
outputs: [],
|
|
971
|
+
stateMutability: "nonpayable",
|
|
972
|
+
type: "function",
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
inputs: [],
|
|
976
|
+
name: "paused",
|
|
977
|
+
outputs: [
|
|
978
|
+
{
|
|
979
|
+
internalType: "bool",
|
|
980
|
+
name: "",
|
|
981
|
+
type: "bool",
|
|
982
|
+
},
|
|
983
|
+
],
|
|
984
|
+
stateMutability: "view",
|
|
985
|
+
type: "function",
|
|
986
|
+
},
|
|
987
|
+
{
|
|
988
|
+
inputs: [],
|
|
989
|
+
name: "pendingOwner",
|
|
990
|
+
outputs: [
|
|
991
|
+
{
|
|
992
|
+
internalType: "address",
|
|
993
|
+
name: "",
|
|
994
|
+
type: "address",
|
|
995
|
+
},
|
|
996
|
+
],
|
|
997
|
+
stateMutability: "view",
|
|
998
|
+
type: "function",
|
|
999
|
+
},
|
|
1000
|
+
{
|
|
1001
|
+
inputs: [
|
|
1002
|
+
{
|
|
1003
|
+
internalType: "address",
|
|
1004
|
+
name: "owner",
|
|
1005
|
+
type: "address",
|
|
1006
|
+
},
|
|
1007
|
+
{
|
|
1008
|
+
internalType: "address",
|
|
1009
|
+
name: "spender",
|
|
1010
|
+
type: "address",
|
|
1011
|
+
},
|
|
1012
|
+
{
|
|
1013
|
+
internalType: "uint256",
|
|
1014
|
+
name: "value",
|
|
1015
|
+
type: "uint256",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
internalType: "uint256",
|
|
1019
|
+
name: "deadline",
|
|
1020
|
+
type: "uint256",
|
|
1021
|
+
},
|
|
1022
|
+
{
|
|
1023
|
+
internalType: "uint8",
|
|
1024
|
+
name: "v",
|
|
1025
|
+
type: "uint8",
|
|
1026
|
+
},
|
|
1027
|
+
{
|
|
1028
|
+
internalType: "bytes32",
|
|
1029
|
+
name: "r",
|
|
1030
|
+
type: "bytes32",
|
|
1031
|
+
},
|
|
1032
|
+
{
|
|
1033
|
+
internalType: "bytes32",
|
|
1034
|
+
name: "s",
|
|
1035
|
+
type: "bytes32",
|
|
1036
|
+
},
|
|
1037
|
+
],
|
|
1038
|
+
name: "permit",
|
|
1039
|
+
outputs: [],
|
|
1040
|
+
stateMutability: "nonpayable",
|
|
1041
|
+
type: "function",
|
|
1042
|
+
},
|
|
1043
|
+
{
|
|
1044
|
+
inputs: [],
|
|
1045
|
+
name: "positionId",
|
|
1046
|
+
outputs: [
|
|
1047
|
+
{
|
|
1048
|
+
internalType: "uint256",
|
|
1049
|
+
name: "",
|
|
1050
|
+
type: "uint256",
|
|
1051
|
+
},
|
|
1052
|
+
],
|
|
1053
|
+
stateMutability: "view",
|
|
1054
|
+
type: "function",
|
|
1055
|
+
},
|
|
1056
|
+
{
|
|
1057
|
+
inputs: [
|
|
1058
|
+
{
|
|
1059
|
+
internalType: "address",
|
|
1060
|
+
name: "tokenIn",
|
|
1061
|
+
type: "address",
|
|
1062
|
+
},
|
|
1063
|
+
{
|
|
1064
|
+
internalType: "uint256",
|
|
1065
|
+
name: "amountTokenToDeposit",
|
|
1066
|
+
type: "uint256",
|
|
1067
|
+
},
|
|
1068
|
+
],
|
|
1069
|
+
name: "previewDeposit",
|
|
1070
|
+
outputs: [
|
|
1071
|
+
{
|
|
1072
|
+
internalType: "uint256",
|
|
1073
|
+
name: "amountSharesOut",
|
|
1074
|
+
type: "uint256",
|
|
1075
|
+
},
|
|
1076
|
+
],
|
|
1077
|
+
stateMutability: "view",
|
|
1078
|
+
type: "function",
|
|
1079
|
+
},
|
|
1080
|
+
{
|
|
1081
|
+
inputs: [],
|
|
1082
|
+
name: "previewHelper",
|
|
1083
|
+
outputs: [
|
|
1084
|
+
{
|
|
1085
|
+
internalType: "contract IPendlePreviewHelper",
|
|
1086
|
+
name: "",
|
|
1087
|
+
type: "address",
|
|
1088
|
+
},
|
|
1089
|
+
],
|
|
1090
|
+
stateMutability: "view",
|
|
1091
|
+
type: "function",
|
|
1092
|
+
},
|
|
1093
|
+
{
|
|
1094
|
+
inputs: [
|
|
1095
|
+
{
|
|
1096
|
+
internalType: "address",
|
|
1097
|
+
name: "tokenOut",
|
|
1098
|
+
type: "address",
|
|
1099
|
+
},
|
|
1100
|
+
{
|
|
1101
|
+
internalType: "uint256",
|
|
1102
|
+
name: "amountSharesToRedeem",
|
|
1103
|
+
type: "uint256",
|
|
1104
|
+
},
|
|
1105
|
+
],
|
|
1106
|
+
name: "previewRedeem",
|
|
1107
|
+
outputs: [
|
|
1108
|
+
{
|
|
1109
|
+
internalType: "uint256",
|
|
1110
|
+
name: "amountTokenOut",
|
|
1111
|
+
type: "uint256",
|
|
1112
|
+
},
|
|
1113
|
+
],
|
|
1114
|
+
stateMutability: "view",
|
|
1115
|
+
type: "function",
|
|
1116
|
+
},
|
|
1117
|
+
{
|
|
1118
|
+
inputs: [
|
|
1119
|
+
{
|
|
1120
|
+
internalType: "address",
|
|
1121
|
+
name: "receiver",
|
|
1122
|
+
type: "address",
|
|
1123
|
+
},
|
|
1124
|
+
{
|
|
1125
|
+
internalType: "uint256",
|
|
1126
|
+
name: "amountSharesToRedeem",
|
|
1127
|
+
type: "uint256",
|
|
1128
|
+
},
|
|
1129
|
+
{
|
|
1130
|
+
internalType: "address",
|
|
1131
|
+
name: "tokenOut",
|
|
1132
|
+
type: "address",
|
|
1133
|
+
},
|
|
1134
|
+
{
|
|
1135
|
+
internalType: "uint256",
|
|
1136
|
+
name: "minTokenOut",
|
|
1137
|
+
type: "uint256",
|
|
1138
|
+
},
|
|
1139
|
+
{
|
|
1140
|
+
internalType: "bool",
|
|
1141
|
+
name: "burnFromInternalBalance",
|
|
1142
|
+
type: "bool",
|
|
1143
|
+
},
|
|
1144
|
+
],
|
|
1145
|
+
name: "redeem",
|
|
1146
|
+
outputs: [
|
|
1147
|
+
{
|
|
1148
|
+
internalType: "uint256",
|
|
1149
|
+
name: "amountTokenOut",
|
|
1150
|
+
type: "uint256",
|
|
1151
|
+
},
|
|
1152
|
+
],
|
|
1153
|
+
stateMutability: "nonpayable",
|
|
1154
|
+
type: "function",
|
|
1155
|
+
},
|
|
1156
|
+
{
|
|
1157
|
+
inputs: [
|
|
1158
|
+
{
|
|
1159
|
+
internalType: "uint256",
|
|
1160
|
+
name: "xGrailAmount",
|
|
1161
|
+
type: "uint256",
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
internalType: "uint256",
|
|
1165
|
+
name: "duration",
|
|
1166
|
+
type: "uint256",
|
|
1167
|
+
},
|
|
1168
|
+
],
|
|
1169
|
+
name: "redeemXGrailOwner",
|
|
1170
|
+
outputs: [],
|
|
1171
|
+
stateMutability: "nonpayable",
|
|
1172
|
+
type: "function",
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
inputs: [],
|
|
1176
|
+
name: "referrerForSwap",
|
|
1177
|
+
outputs: [
|
|
1178
|
+
{
|
|
1179
|
+
internalType: "address",
|
|
1180
|
+
name: "",
|
|
1181
|
+
type: "address",
|
|
1182
|
+
},
|
|
1183
|
+
],
|
|
1184
|
+
stateMutability: "view",
|
|
1185
|
+
type: "function",
|
|
1186
|
+
},
|
|
1187
|
+
{
|
|
1188
|
+
inputs: [],
|
|
1189
|
+
name: "rewardIndexesCurrent",
|
|
1190
|
+
outputs: [
|
|
1191
|
+
{
|
|
1192
|
+
internalType: "uint256[]",
|
|
1193
|
+
name: "indexes",
|
|
1194
|
+
type: "uint256[]",
|
|
1195
|
+
},
|
|
1196
|
+
],
|
|
1197
|
+
stateMutability: "nonpayable",
|
|
1198
|
+
type: "function",
|
|
1199
|
+
},
|
|
1200
|
+
{
|
|
1201
|
+
inputs: [],
|
|
1202
|
+
name: "rewardIndexesStored",
|
|
1203
|
+
outputs: [
|
|
1204
|
+
{
|
|
1205
|
+
internalType: "uint256[]",
|
|
1206
|
+
name: "indexes",
|
|
1207
|
+
type: "uint256[]",
|
|
1208
|
+
},
|
|
1209
|
+
],
|
|
1210
|
+
stateMutability: "view",
|
|
1211
|
+
type: "function",
|
|
1212
|
+
},
|
|
1213
|
+
{
|
|
1214
|
+
inputs: [
|
|
1215
|
+
{
|
|
1216
|
+
internalType: "address",
|
|
1217
|
+
name: "",
|
|
1218
|
+
type: "address",
|
|
1219
|
+
},
|
|
1220
|
+
],
|
|
1221
|
+
name: "rewardState",
|
|
1222
|
+
outputs: [
|
|
1223
|
+
{
|
|
1224
|
+
internalType: "uint128",
|
|
1225
|
+
name: "index",
|
|
1226
|
+
type: "uint128",
|
|
1227
|
+
},
|
|
1228
|
+
{
|
|
1229
|
+
internalType: "uint128",
|
|
1230
|
+
name: "lastBalance",
|
|
1231
|
+
type: "uint128",
|
|
1232
|
+
},
|
|
1233
|
+
],
|
|
1234
|
+
stateMutability: "view",
|
|
1235
|
+
type: "function",
|
|
1236
|
+
},
|
|
1237
|
+
{
|
|
1238
|
+
inputs: [
|
|
1239
|
+
{
|
|
1240
|
+
internalType: "uint256",
|
|
1241
|
+
name: "",
|
|
1242
|
+
type: "uint256",
|
|
1243
|
+
},
|
|
1244
|
+
],
|
|
1245
|
+
name: "rewardTokens",
|
|
1246
|
+
outputs: [
|
|
1247
|
+
{
|
|
1248
|
+
internalType: "address",
|
|
1249
|
+
name: "",
|
|
1250
|
+
type: "address",
|
|
1251
|
+
},
|
|
1252
|
+
],
|
|
1253
|
+
stateMutability: "view",
|
|
1254
|
+
type: "function",
|
|
1255
|
+
},
|
|
1256
|
+
{
|
|
1257
|
+
inputs: [],
|
|
1258
|
+
name: "router",
|
|
1259
|
+
outputs: [
|
|
1260
|
+
{
|
|
1261
|
+
internalType: "address",
|
|
1262
|
+
name: "",
|
|
1263
|
+
type: "address",
|
|
1264
|
+
},
|
|
1265
|
+
],
|
|
1266
|
+
stateMutability: "view",
|
|
1267
|
+
type: "function",
|
|
1268
|
+
},
|
|
1269
|
+
{
|
|
1270
|
+
inputs: [
|
|
1271
|
+
{
|
|
1272
|
+
internalType: "address",
|
|
1273
|
+
name: "_nitroPool",
|
|
1274
|
+
type: "address",
|
|
1275
|
+
},
|
|
1276
|
+
],
|
|
1277
|
+
name: "setNewNitroPool",
|
|
1278
|
+
outputs: [],
|
|
1279
|
+
stateMutability: "nonpayable",
|
|
1280
|
+
type: "function",
|
|
1281
|
+
},
|
|
1282
|
+
{
|
|
1283
|
+
inputs: [
|
|
1284
|
+
{
|
|
1285
|
+
internalType: "address",
|
|
1286
|
+
name: "newReferrer",
|
|
1287
|
+
type: "address",
|
|
1288
|
+
},
|
|
1289
|
+
],
|
|
1290
|
+
name: "setReferrerForSwap",
|
|
1291
|
+
outputs: [],
|
|
1292
|
+
stateMutability: "nonpayable",
|
|
1293
|
+
type: "function",
|
|
1294
|
+
},
|
|
1295
|
+
{
|
|
1296
|
+
inputs: [
|
|
1297
|
+
{
|
|
1298
|
+
internalType: "bool",
|
|
1299
|
+
name: "doRewardIndexUpdate",
|
|
1300
|
+
type: "bool",
|
|
1301
|
+
},
|
|
1302
|
+
],
|
|
1303
|
+
name: "setRewardDisabled",
|
|
1304
|
+
outputs: [],
|
|
1305
|
+
stateMutability: "nonpayable",
|
|
1306
|
+
type: "function",
|
|
1307
|
+
},
|
|
1308
|
+
{
|
|
1309
|
+
inputs: [],
|
|
1310
|
+
name: "symbol",
|
|
1311
|
+
outputs: [
|
|
1312
|
+
{
|
|
1313
|
+
internalType: "string",
|
|
1314
|
+
name: "",
|
|
1315
|
+
type: "string",
|
|
1316
|
+
},
|
|
1317
|
+
],
|
|
1318
|
+
stateMutability: "view",
|
|
1319
|
+
type: "function",
|
|
1320
|
+
},
|
|
1321
|
+
{
|
|
1322
|
+
inputs: [],
|
|
1323
|
+
name: "token0",
|
|
1324
|
+
outputs: [
|
|
1325
|
+
{
|
|
1326
|
+
internalType: "address",
|
|
1327
|
+
name: "",
|
|
1328
|
+
type: "address",
|
|
1329
|
+
},
|
|
1330
|
+
],
|
|
1331
|
+
stateMutability: "view",
|
|
1332
|
+
type: "function",
|
|
1333
|
+
},
|
|
1334
|
+
{
|
|
1335
|
+
inputs: [],
|
|
1336
|
+
name: "token1",
|
|
1337
|
+
outputs: [
|
|
1338
|
+
{
|
|
1339
|
+
internalType: "address",
|
|
1340
|
+
name: "",
|
|
1341
|
+
type: "address",
|
|
1342
|
+
},
|
|
1343
|
+
],
|
|
1344
|
+
stateMutability: "view",
|
|
1345
|
+
type: "function",
|
|
1346
|
+
},
|
|
1347
|
+
{
|
|
1348
|
+
inputs: [],
|
|
1349
|
+
name: "totalSupply",
|
|
1350
|
+
outputs: [
|
|
1351
|
+
{
|
|
1352
|
+
internalType: "uint256",
|
|
1353
|
+
name: "",
|
|
1354
|
+
type: "uint256",
|
|
1355
|
+
},
|
|
1356
|
+
],
|
|
1357
|
+
stateMutability: "view",
|
|
1358
|
+
type: "function",
|
|
1359
|
+
},
|
|
1360
|
+
{
|
|
1361
|
+
inputs: [
|
|
1362
|
+
{
|
|
1363
|
+
internalType: "address",
|
|
1364
|
+
name: "to",
|
|
1365
|
+
type: "address",
|
|
1366
|
+
},
|
|
1367
|
+
{
|
|
1368
|
+
internalType: "uint256",
|
|
1369
|
+
name: "amount",
|
|
1370
|
+
type: "uint256",
|
|
1371
|
+
},
|
|
1372
|
+
],
|
|
1373
|
+
name: "transfer",
|
|
1374
|
+
outputs: [
|
|
1375
|
+
{
|
|
1376
|
+
internalType: "bool",
|
|
1377
|
+
name: "",
|
|
1378
|
+
type: "bool",
|
|
1379
|
+
},
|
|
1380
|
+
],
|
|
1381
|
+
stateMutability: "nonpayable",
|
|
1382
|
+
type: "function",
|
|
1383
|
+
},
|
|
1384
|
+
{
|
|
1385
|
+
inputs: [
|
|
1386
|
+
{
|
|
1387
|
+
internalType: "address",
|
|
1388
|
+
name: "from",
|
|
1389
|
+
type: "address",
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
internalType: "address",
|
|
1393
|
+
name: "to",
|
|
1394
|
+
type: "address",
|
|
1395
|
+
},
|
|
1396
|
+
{
|
|
1397
|
+
internalType: "uint256",
|
|
1398
|
+
name: "amount",
|
|
1399
|
+
type: "uint256",
|
|
1400
|
+
},
|
|
1401
|
+
],
|
|
1402
|
+
name: "transferFrom",
|
|
1403
|
+
outputs: [
|
|
1404
|
+
{
|
|
1405
|
+
internalType: "bool",
|
|
1406
|
+
name: "",
|
|
1407
|
+
type: "bool",
|
|
1408
|
+
},
|
|
1409
|
+
],
|
|
1410
|
+
stateMutability: "nonpayable",
|
|
1411
|
+
type: "function",
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
inputs: [
|
|
1415
|
+
{
|
|
1416
|
+
internalType: "address",
|
|
1417
|
+
name: "newOwner",
|
|
1418
|
+
type: "address",
|
|
1419
|
+
},
|
|
1420
|
+
{
|
|
1421
|
+
internalType: "bool",
|
|
1422
|
+
name: "direct",
|
|
1423
|
+
type: "bool",
|
|
1424
|
+
},
|
|
1425
|
+
{
|
|
1426
|
+
internalType: "bool",
|
|
1427
|
+
name: "renounce",
|
|
1428
|
+
type: "bool",
|
|
1429
|
+
},
|
|
1430
|
+
],
|
|
1431
|
+
name: "transferOwnership",
|
|
1432
|
+
outputs: [],
|
|
1433
|
+
stateMutability: "nonpayable",
|
|
1434
|
+
type: "function",
|
|
1435
|
+
},
|
|
1436
|
+
{
|
|
1437
|
+
inputs: [],
|
|
1438
|
+
name: "unpause",
|
|
1439
|
+
outputs: [],
|
|
1440
|
+
stateMutability: "nonpayable",
|
|
1441
|
+
type: "function",
|
|
1442
|
+
},
|
|
1443
|
+
{
|
|
1444
|
+
inputs: [],
|
|
1445
|
+
name: "updateRewardTokensList",
|
|
1446
|
+
outputs: [],
|
|
1447
|
+
stateMutability: "nonpayable",
|
|
1448
|
+
type: "function",
|
|
1449
|
+
},
|
|
1450
|
+
{
|
|
1451
|
+
inputs: [
|
|
1452
|
+
{
|
|
1453
|
+
internalType: "address",
|
|
1454
|
+
name: "",
|
|
1455
|
+
type: "address",
|
|
1456
|
+
},
|
|
1457
|
+
{
|
|
1458
|
+
internalType: "address",
|
|
1459
|
+
name: "",
|
|
1460
|
+
type: "address",
|
|
1461
|
+
},
|
|
1462
|
+
],
|
|
1463
|
+
name: "userReward",
|
|
1464
|
+
outputs: [
|
|
1465
|
+
{
|
|
1466
|
+
internalType: "uint128",
|
|
1467
|
+
name: "index",
|
|
1468
|
+
type: "uint128",
|
|
1469
|
+
},
|
|
1470
|
+
{
|
|
1471
|
+
internalType: "uint128",
|
|
1472
|
+
name: "accrued",
|
|
1473
|
+
type: "uint128",
|
|
1474
|
+
},
|
|
1475
|
+
],
|
|
1476
|
+
stateMutability: "view",
|
|
1477
|
+
type: "function",
|
|
1478
|
+
},
|
|
1479
|
+
{
|
|
1480
|
+
inputs: [],
|
|
1481
|
+
name: "xGRAIL",
|
|
1482
|
+
outputs: [
|
|
1483
|
+
{
|
|
1484
|
+
internalType: "address",
|
|
1485
|
+
name: "",
|
|
1486
|
+
type: "address",
|
|
1487
|
+
},
|
|
1488
|
+
],
|
|
1489
|
+
stateMutability: "view",
|
|
1490
|
+
type: "function",
|
|
1491
|
+
},
|
|
1492
|
+
{
|
|
1493
|
+
inputs: [],
|
|
1494
|
+
name: "yieldBooster",
|
|
1495
|
+
outputs: [
|
|
1496
|
+
{
|
|
1497
|
+
internalType: "address",
|
|
1498
|
+
name: "",
|
|
1499
|
+
type: "address",
|
|
1500
|
+
},
|
|
1501
|
+
],
|
|
1502
|
+
stateMutability: "view",
|
|
1503
|
+
type: "function",
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
inputs: [],
|
|
1507
|
+
name: "yieldToken",
|
|
1508
|
+
outputs: [
|
|
1509
|
+
{
|
|
1510
|
+
internalType: "address",
|
|
1511
|
+
name: "",
|
|
1512
|
+
type: "address",
|
|
1513
|
+
},
|
|
1514
|
+
],
|
|
1515
|
+
stateMutability: "view",
|
|
1516
|
+
type: "function",
|
|
1517
|
+
},
|
|
1518
|
+
{
|
|
1519
|
+
stateMutability: "payable",
|
|
1520
|
+
type: "receive",
|
|
1521
|
+
},
|
|
1522
|
+
];
|
|
1523
|
+
|
|
1524
|
+
const _bytecode =
|
|
1525
|
+
"0x610300604052600019603d553480156200001857600080fd5b50604051620077e3380380620077e38339810160408190526200003b9162000e83565b8686868487878e8e8e8282828282826001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000088573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000ae919062000f75565b6040805180820190915260018152603160f81b602082015283908184846003620000d9848262001030565b506004620000e8838262001030565b5060ff166080525050600280546001600160f81b0316600160f81b17905581516020808401919091208251918301919091206101008290526101208190524660c0527f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6200019b8184846040805160208101859052908101839052606081018290524660808201523060a082015260009060c0016040516020818303038152906040528051906020012090509392505050565b60a0523060e0526101405250506038805460ff191690555050600754600160a81b900460ff16159250829150508015620001e257506007546001600160a01b90910460ff16105b80620002195750620001ff306200080660201b620023dc1760201c565b158015620002195750600754600160a01b900460ff166001145b620002825760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084015b60405180910390fd5b6007805460ff60a01b1916600160a01b1790558015620002b0576007805460ff60a81b1916600160a81b1790555b6001600160a01b03821661016052620002c862000815565b801562000311576007805460ff60a81b19169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b5050603c80546001600160a01b0319166001600160a01b0388811691909117909155871661018081905260408051630c048d9160e31b81529051600097509195506360246c889450600480820194506101009350908290030181865afa15801562000380573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620003a69190620010fc565b5050506001600160a01b039283166101c05250509081166101a05261018051604080516368e5dab560e01b815290519394509116916368e5dab5916004808201926020929091908290030181865afa15801562000407573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200042d919062001180565b603e80546001600160a01b0319166001600160a01b0392909216919091179055610180516200045e90829062000898565b6101c051603e546040516330d83b4760e21b81526001600160a01b039283169263c360ed1c92620004999291169060001990600401620011a0565b600060405180830381600087803b158015620004b457600080fd5b505af1158015620004c9573d6000803e3d6000fd5b505050506001600160a01b038781166102008190528782166101e0528682166102c052603f80546001600160a01b0319169287169290921790915560408051639e548b7f60e01b81529051919450639e548b7f935060048082019350602092918290030181865afa15801562000543573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005699190620011b9565b151561022081151581525050610200516001600160a01b0316630dfe16816040518163ffffffff1660e01b8152600401602060405180830381865afa158015620005b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005dd919062001180565b6001600160a01b0316610240816001600160a01b031681525050610200516001600160a01b031663d21220a76040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000639573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200065f919062001180565b6001600160a01b0316610260816001600160a01b031681525050610200516001600160a01b0316633b9f1dc06040518163ffffffff1660e01b8152600401602060405180830381865afa158015620006bb573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006e19190620011dd565b6102808181525050610200516001600160a01b031663288e5d026040518163ffffffff1660e01b8152600401602060405180830381865afa1580156200072b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620007519190620011dd565b6102a052610240516102c05162000769919062000898565b62000781610260516102c0516200089860201b60201c565b62000799610200516102c0516200089860201b60201c565b50506101a05160408054600181018255600091909152600080516020620077c38339815191520180546001600160a01b0319166001600160a01b0390921691909117905550620007ea905062000967565b6001600160a01b03166102e05250620012d49650505050505050565b6001600160a01b03163b151590565b600754600160a81b900460ff16620008845760405162461bcd60e51b815260206004820152602b60248201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960448201526a6e697469616c697a696e6760a81b606482015260840162000279565b600680546001600160a01b03191633179055565b6001600160a01b038216620008ab575050565b620008bf60026001600160601b03620011f7565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa15801562000919573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200093f9190620011dd565b10156200096357620009548282600062000c03565b62000963828260001962000c03565b5050565b603c546001600160a01b03166200097a57565b603c54604080516344a85cd360e11b815290516000926001600160a01b031691638950b9a69160048083019260809291908290030181865afa158015620009c5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620009eb91906200122c565b6000015190506000603c60009054906101000a90046001600160a01b03166001600160a01b031663bc13c46e6040518163ffffffff1660e01b8152600401608060405180830381865afa15801562000a47573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000a6d91906200122c565b5190506001600160a01b0382161580159062000af75750604080548151602080830282018101845282825262000af5938693909183018282801562000adc57602002820191906000526020600020905b81546001600160a01b0316815260019091019060200180831162000abd575b505050505062000d2360201b620023eb1790919060201c565b155b1562000b385760408054600181018255600091909152600080516020620077c38339815191520180546001600160a01b0319166001600160a01b0384161790555b6001600160a01b0381161580159062000bbd5750604080548151602080830282018101845282825262000bbb938593909183018282801562000adc576020028201919060005260206000209081546001600160a01b0316815260019091019060200180831162000abd57505050505062000d2360201b620023eb1790919060201c565b155b15620009635760408054600181018255600091909152600080516020620077c38339815191520180546001600160a01b0383166001600160a01b03199091161790555050565b600080846001600160a01b031663095ea7b360e01b858560405160240162000c2d929190620011a0565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905162000c6d9190620012a0565b6000604051808303816000865af19150503d806000811462000cac576040519150601f19603f3d011682016040523d82523d6000602084013e62000cb1565b606091505b509150915081801562000cdf57508051158062000cdf57508080602001905181019062000cdf9190620011b9565b62000d1c5760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b604482015260640162000279565b5050505050565b8151600090815b8181101562000d7e57836001600160a01b031685828151811062000d525762000d52620012be565b60200260200101516001600160a01b03160362000d755760019250505062000d85565b60010162000d2a565b5060009150505b92915050565b634e487b7160e01b600052604160045260246000fd5b60005b8381101562000dbe57818101518382015260200162000da4565b50506000910152565b600082601f83011262000dd957600080fd5b81516001600160401b038082111562000df65762000df662000d8b565b604051601f8301601f19908116603f0116810190828211818310171562000e215762000e2162000d8b565b8160405283815286602085880101111562000e3b57600080fd5b62000e4e84602083016020890162000da1565b9695505050505050565b6001600160a01b038116811462000e6e57600080fd5b50565b805162000e7e8162000e58565b919050565b60008060008060008060008060006101208a8c03121562000ea357600080fd5b89516001600160401b038082111562000ebb57600080fd5b62000ec98d838e0162000dc7565b9a5060208c015191508082111562000ee057600080fd5b5062000eef8c828d0162000dc7565b98505060408a015162000f028162000e58565b60608b015190975062000f158162000e58565b955062000f2560808b0162000e71565b945062000f3560a08b0162000e71565b935062000f4560c08b0162000e71565b925062000f5560e08b0162000e71565b915062000f666101008b0162000e71565b90509295985092959850929598565b60006020828403121562000f8857600080fd5b815160ff8116811462000f9a57600080fd5b9392505050565b600181811c9082168062000fb657607f821691505b60208210810362000fd757634e487b7160e01b600052602260045260246000fd5b50919050565b601f8211156200102b57600081815260208120601f850160051c81016020861015620010065750805b601f850160051c820191505b81811015620010275782815560010162001012565b5050505b505050565b81516001600160401b038111156200104c576200104c62000d8b565b62001064816200105d845462000fa1565b8462000fdd565b602080601f8311600181146200109c5760008415620010835750858301515b600019600386901b1c1916600185901b17855562001027565b600085815260208120601f198616915b82811015620010cd57888601518255948401946001909101908401620010ac565b5085821015620010ec5787850151600019600388901b60f8161c191681555b5050505050600190811b01905550565b600080600080600080600080610100898b0312156200111a57600080fd5b8851620011278162000e58565b60208a01519098506200113a8162000e58565b60408a01519097506200114d8162000e58565b60608a015160808b015160a08c015160c08d015160e0909d01519b9e9a9d50929b919a9099929850909650945092505050565b6000602082840312156200119357600080fd5b815162000f9a8162000e58565b6001600160a01b03929092168252602082015260400190565b600060208284031215620011cc57600080fd5b8151801515811462000f9a57600080fd5b600060208284031215620011f057600080fd5b5051919050565b60006001600160601b03838116806200122057634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000608082840312156200123f57600080fd5b604051608081016001600160401b038111828210171562001264576200126462000d8b565b6040528251620012748162000e58565b808252506020830151602082015260408301516040820152606083015160608201528091505092915050565b60008251620012b481846020870162000da1565b9190910192915050565b634e487b7160e01b600052603260045260246000fd5b60805160a05160c05160e05161010051610120516101405161016051610180516101a0516101c0516101e05161020051610220516102405161026051610280516102a0516102c0516102e05161625a6200156960003960008181610316015281816132d601526133ae015260008181610c00015281816141fc015281816143d8015261458701526000818161047e0152614bf30152600081816106670152614bcc015260008181610ae101528181610d61015281816117bb01528181613aa00152818161412e015281816141a90152818161438a015281816144d50152614c1b0152600081816104c001528181610d0d0152818161178001528181613a6401528181613add01528181614096015281816140ed01528181614181015281816143620152818161447601526144af01526000818161041a01526149f00152600081816109ae01528181610db50152818161129401528181611330015281816117f70152818161195a0152818161197b0152818161263701528181612e01015281816132810152818161335901526149cb015260008181610a7801528181614ac00152614b590152600081816108c70152818161144b015281816115a401528181611c3a0152818161462f0152818161468001528181614d9c01528181614e7c01528181614efb01528181614f6f0152614f9d01526000818161083e01528181611bfd01528181611ca60152611cdb0152600081816103e601528181611b510152818161379e01528181613843015281816138db015281816139e001528181613bfd0152818161429b01528181614cd00152615053015260006107ea01526000612ae801526000612b3701526000612b1201526000612a6b01526000612a9501526000612abf015260006105a2015261625a6000f3fe6080604052600436106102f85760003560e01c80630390c839146103045780630416f06e1461034e57806306fdde031461036e578063071bc3c914610390578063078dfbe7146103b25780630828862d146103d457806309047bdd14610408578063095ea7b31461044c57806309675e121461046c5780630dfe1681146104ae578063128fced1146104e2578063150b7a021461050f57806318160ddd1461054857806320e8c5651461055d578063213cae631461039057806323b872dd14610570578063313ce5671461059057806334677c7a146105d65780633644e515146105f65780633ba0b9a91461060b5780633f4ba83a146106205780634b226c62146106355780634be28cfe146106555780634d6446d9146106895780634e71e0c8146106a9578063539ffb77146106be5780635c975abb146106de5780635cbadbe4146106f657806368e5dab51461076257806370a082311461078257806371640de3146107a2578063769f8e5d146107b857806376d5de85146107d8578063784367d61461080c5780637a2660381461082c5780637bb7bed1146108605780637ecebe00146108805780638456cb59146108a0578063896a21de146108b55780638da5cb5b146108e95780638fefb86114610909578063935b666c1461092957806395d89b4114610949578063a40bee501461095e578063a484177d14610982578063a8aa1b311461099c578063a9059cbb146109d0578063a9116458146109f0578063a9f8d18114610a10578063aff6cbf114610a26578063b8f82b2614610a46578063c45a015514610a66578063c4f59f9b14610a9a578063cbe52ae314610aaf578063d21220a714610acf578063d505accf14610b03578063da88ecb414610b23578063dd62ed3e14610b38578063e2b36dc3146105d6578063e30c397814610b58578063ea64a82014610b78578063ed10c91614610bb9578063ef5cfb8c14610bce578063f887ea4014610bee578063f8b2f99114610c22578063fa5a4f061461080c578063fe4ee96714610c3757600080fd5b366102ff57005b600080fd5b34801561031057600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b60405161034591906156c1565b60405180910390f35b34801561035a57600080fd5b50603f54610338906001600160a01b031681565b34801561037a57600080fd5b50610383610c57565b6040516103459190615725565b34801561039c57600080fd5b506103a5610ce9565b604051610345919061577c565b3480156103be57600080fd5b506103d26103cd3660046157b2565b610e0a565b005b3480156103e057600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b34801561041457600080fd5b5061043c7f000000000000000000000000000000000000000000000000000000000000000081565b6040519015158152602001610345565b34801561045857600080fd5b5061043c6104673660046157fd565b610f10565b34801561047857600080fd5b506104a07f000000000000000000000000000000000000000000000000000000000000000081565b604051908152602001610345565b3480156104ba57600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ee57600080fd5b506105026104fd366004615829565b610f2a565b6040516103459190615876565b34801561051b57600080fd5b5061052f61052a366004615889565b611036565b6040516001600160e01b03199091168152602001610345565b34801561055457600080fd5b506104a0611073565b6104a061056b366004615927565b611082565b34801561057c57600080fd5b5061043c61058b36600461596d565b6111cb565b34801561059c57600080fd5b506105c47f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff9091168152602001610345565b3480156105e257600080fd5b5061043c6105f13660046159ae565b611249565b34801561060257600080fd5b506104a061127e565b34801561061757600080fd5b506104a061128d565b34801561062c57600080fd5b506103d26113d6565b34801561064157600080fd5b506103d26106503660046159e3565b61140a565b34801561066157600080fd5b506104a07f000000000000000000000000000000000000000000000000000000000000000081565b34801561069557600080fd5b50603c54610338906001600160a01b031681565b3480156106b557600080fd5b506103d26114b8565b3480156106ca57600080fd5b506103d26106d9366004615a05565b611564565b3480156106ea57600080fd5b5060385460ff1661043c565b34801561070257600080fd5b50610742610711366004615a1e565b60396020908152600092835260408084209091529082529020546001600160801b0380821691600160801b90041682565b604080516001600160801b03938416815292909116602083015201610345565b34801561076e57600080fd5b50603e54610338906001600160a01b031681565b34801561078e57600080fd5b506104a061079d366004615829565b61160c565b3480156107ae57600080fd5b506104a0603d5481565b3480156107c457600080fd5b506104a06107d3366004615a57565b611627565b3480156107e457600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b34801561081857600080fd5b5061043c610827366004615829565b61177c565b34801561083857600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b34801561086c57600080fd5b5061033861087b366004615a05565b611830565b34801561088c57600080fd5b506104a061089b366004615829565b61185a565b3480156108ac57600080fd5b506103d2611878565b3480156108c157600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b3480156108f557600080fd5b50600654610338906001600160a01b031681565b34801561091557600080fd5b506103d2610924366004615829565b6118aa565b34801561093557600080fd5b506103d2610944366004615829565b6118f6565b34801561095557600080fd5b50610383611942565b34801561096a57600080fd5b50610973611951565b60405161034593929190615acc565b34801561098e57600080fd5b5060415461043c9060ff1681565b3480156109a857600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b3480156109dc57600080fd5b5061043c6109eb3660046157fd565b611a06565b3480156109fc57600080fd5b506103d2610a0b366004615b0e565b611a78565b348015610a1c57600080fd5b506104a0603a5481565b348015610a3257600080fd5b506103d2610a41366004615a05565b611bcc565b348015610a5257600080fd5b506104a0610a613660046157fd565b611d01565b348015610a7257600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b348015610aa657600080fd5b506103a5611d3c565b348015610abb57600080fd5b506104a0610aca3660046157fd565b611d46565b348015610adb57600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b348015610b0f57600080fd5b506103d2610b1e366004615b3a565b611d7a565b348015610b2f57600080fd5b50610502611efc565b348015610b4457600080fd5b506104a0610b53366004615a1e565b611fcd565b348015610b6457600080fd5b50600754610338906001600160a01b031681565b348015610b8457600080fd5b50610742610b93366004615829565b603b602052600090815260409020546001600160801b0380821691600160801b90041682565b348015610bc557600080fd5b506103d2611ff8565b348015610bda57600080fd5b50610502610be9366004615829565b612274565b348015610bfa57600080fd5b506103387f000000000000000000000000000000000000000000000000000000000000000081565b348015610c2e57600080fd5b50610502612333565b348015610c4357600080fd5b5061043c610c52366004615bab565b6123a5565b606060038054610c6690615bfc565b80601f0160208091040260200160405190810160405280929190818152602001828054610c9290615bfc565b8015610cdf5780601f10610cb457610100808354040283529160200191610cdf565b820191906000526020600020905b815481529060010190602001808311610cc257829003601f168201915b5050505050905090565b604080516003808252608082019092526060916020820183803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110610d3f57610d3f615c46565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600181518110610d9357610d93615c46565b60200260200101906001600160a01b031690816001600160a01b0316815250507f000000000000000000000000000000000000000000000000000000000000000081600281518110610de757610de7615c46565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b6006546001600160a01b03163314610e3d5760405162461bcd60e51b8152600401610e3490615c5c565b60405180910390fd5b8115610eef576001600160a01b038316151580610e575750805b610e9b5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b6044820152606401610e34565b6006546040516001600160a01b038086169216906000805160206161e583398151915290600090a3600680546001600160a01b0385166001600160a01b031991821617909155600780549091169055505050565b600780546001600160a01b0319166001600160a01b0385161790555b505050565b600033610f1e81858561244a565b60019150505b92915050565b60606000610f3661256f565b905080516001600160401b03811115610f5157610f51615c30565b604051908082528060200260200182016040528015610f7a578160200160208202803683370190505b50915060005b815181101561102f5760396000838381518110610f9f57610f9f615c46565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000856001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061101c5761101c615c46565b6020908102919091010152600101610f80565b5050919050565b600083603d54811461106057603d5460405163168a450960e21b8152610e34918391600401615c91565b50630a85bd0160e11b9695505050505050565b6002546001600160f81b031690565b600254600090600119600160f81b90910460ff16016110b35760405162461bcd60e51b8152600401610e3490615c9f565b600280546001600160f81b0316600160f91b1790556110d18461177c565b6110f057836040516315d57ce360e31b8152600401610e3491906156c1565b8260000361111157604051630a907f2f60e41b815260040160405180910390fd5b61111c8433856125cb565b6111268484612632565b90508181101561114d578082604051635e38f95d60e11b8152600401610e34929190615c91565b61115785826126ac565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516111a6929190615c91565b60405180910390a4600280546001600160f81b0316600160f81b179055949350505050565b600254600090600119600160f81b90910460ff16016111fc5760405162461bcd60e51b8152600401610e3490615c9f565b600280546001600160f81b0316600160f91b1790553361121d8582856127c2565b61122885858561283c565b6001915050600280546001600160f81b0316600160f81b1790559392505050565b600082603d54811461127357603d5460405163168a450960e21b8152610e34918391600401615c91565b506001949350505050565b6000611288612a5e565b905090565b60008060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630902f1ac6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156112f0573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113149190615cff565b50506001600160701b031691506001600160701b0316915060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b8152600401602060405180830381865afa15801561138c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906113b09190615d53565b90506113ce816113c86113c38587615d82565b612b85565b90612bf5565b935050505090565b6006546001600160a01b031633146114005760405162461bcd60e51b8152600401610e3490615c5c565b611408612c24565b565b6006546001600160a01b031633146114345760405162461bcd60e51b8152600401610e3490615c5c565b604051637cbc237360e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690637cbc2373906114829085908590600401615c91565b600060405180830381600087803b15801561149c57600080fd5b505af11580156114b0573d6000803e3d6000fd5b505050505050565b6007546001600160a01b03163381146115135760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e65726044820152606401610e34565b6006546040516001600160a01b038084169216906000805160206161e583398151915290600090a3600680546001600160a01b039092166001600160a01b0319928316179055600780549091169055565b6006546001600160a01b0316331461158e5760405162461bcd60e51b8152600401610e3490615c5c565b60405163539ffb7760e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063539ffb77906024015b600060405180830381600087803b1580156115f157600080fd5b505af1158015611605573d6000803e3d6000fd5b5050505050565b6001600160a01b031660009081526020819052604090205490565b600254600090600119600160f81b90910460ff16016116585760405162461bcd60e51b8152600401610e3490615c9f565b600280546001600160f81b0316600160f91b1790556116768461177c565b61169557836040516388a5056160e01b8152600401610e3491906156c1565b846000036116b65760405163c3d83b0760e01b815260040160405180910390fd5b81156116cb576116c63086612c70565b6116d5565b6116d53386612c70565b6116e0868587612de9565b9050828110156117075780836040516305ff726560e51b8152600401610e34929190615c91565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051611756929190615c91565b60405180910390a4600280546001600160f81b0316600160f81b17905595945050505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806117ef57507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316145b80610f2457507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6040818154811061184057600080fd5b6000918252602090912001546001600160a01b0316905081565b6001600160a01b038116600090815260056020526040812054610f24565b6006546001600160a01b031633146118a25760405162461bcd60e51b8152600401610e3490615c5c565b611408612e57565b6006546001600160a01b031633146118d45760405162461bcd60e51b8152600401610e3490615c5c565b603c80546001600160a01b0319166001600160a01b0392909216919091179055565b6006546001600160a01b031633146119205760405162461bcd60e51b8152600401610e3490615c5c565b603f80546001600160a01b0319166001600160a01b0392909216919091179055565b606060048054610c6690615bfc565b600080600060017f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa1580156119d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906119fb9190615d99565b925092509250909192565b600254600090600119600160f81b90910460ff1601611a375760405162461bcd60e51b8152600401610e3490615c9f565b600280546001600160f81b0316600160f91b17905533611a5881858561283c565b6001915050600280546001600160f81b0316600160f81b17905592915050565b6006546001600160a01b03163314611aa25760405162461bcd60e51b8152600401610e3490615c5c565b8015611ab357611ab0612e94565b50505b600019603d5414611bbc57603c546001600160a01b031615611b3757603c54603d54604051632989754760e11b81526001600160a01b0390921691635312ea8e91611b049160040190815260200190565b600060405180830381600087803b158015611b1e57600080fd5b505af1158015611b32573d6000803e3d6000fd5b505050505b603d54604051632989754760e11b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690635312ea8e90602401600060405180830381600087803b158015611b9d57600080fd5b505af1158015611bb1573d6000803e3d6000fd5b5050600019603d5550505b506041805460ff19166001179055565b6006546001600160a01b03163314611bf65760405162461bcd60e51b8152600401610e3490615c5c565b6000611c217f000000000000000000000000000000000000000000000000000000000000000061312f565b60405163aff6cbf160e01b8152600481018490529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063aff6cbf190602401600060405180830381600087803b158015611c8657600080fd5b505af1158015611c9a573d6000803e3d6000fd5b50505050600081611cca7f000000000000000000000000000000000000000000000000000000000000000061312f565b611cd49190615db6565b9050610f0b7f000000000000000000000000000000000000000000000000000000000000000033836131b9565b6000611d0c8361177c565b611d2b57826040516315d57ce360e31b8152600401610e3491906156c1565b611d35838361327d565b9392505050565b606061128861256f565b6000611d518361177c565b611d7057826040516388a5056160e01b8152600401610e3491906156c1565b611d358383613355565b83421115611dca5760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e650000006044820152606401610e34565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c9888888611e178c6001600160a01b0316600090815260056020526040902080546001810190915590565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e0016040516020818303038152906040528051906020012090506000611e72826133e5565b90506000611e8282878787613433565b9050896001600160a01b0316816001600160a01b031614611ee55760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e617475726500006044820152606401610e34565b611ef08a8a8a61244a565b50505050505050505050565b60606000611f0861256f565b905080516001600160401b03811115611f2357611f23615c30565b604051908082528060200260200182016040528015611f4c578160200160208202803683370190505b50915060005b8151811015611fc857603b6000838381518110611f7157611f71615c46565b6020908102919091018101516001600160a01b031682528101919091526040016000205483516001600160801b0390911690849083908110611fb557611fb5615c46565b6020908102919091010152600101611f52565b505090565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b603c546001600160a01b031661200a57565b603c54604080516344a85cd360e11b815290516000926001600160a01b031691638950b9a69160048083019260809291908290030181865afa158015612054573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120789190615dc9565b6000015190506000603c60009054906101000a90046001600160a01b03166001600160a01b031663bc13c46e6040518163ffffffff1660e01b8152600401608060405180830381865afa1580156120d3573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120f79190615dc9565b5190506001600160a01b0382161580159061217757506040805481516020808302820181018452828252612175938693909183018282801561216257602002820191906000526020600020905b81546001600160a01b03168152600190910190602001808311612144575b50505050506123eb90919063ffffffff16565b155b156121b657604080546001810182556000919091526000805160206161c58339815191520180546001600160a01b0319166001600160a01b0384161790555b6001600160a01b038116158015906122315750604080548151602080830282018101845282825261222f9385939091830182828015612162576020028201919060005260206000209081546001600160a01b031681526001909101906020018083116121445750505050506123eb90919063ffffffff16565b155b1561227057604080546001810182556000919091526000805160206161c58339815191520180546001600160a01b0319166001600160a01b0383161790555b5050565b600254606090600119600160f81b90910460ff16016122a55760405162461bcd60e51b8152600401610e3490615c9f565b600280546001600160f81b0316600160f91b1790556122c38261345b565b6122cd8283613469565b9050816001600160a01b03167f2193aa20a3717f5f4ac79482f4f553e5f0afe8f4e6ec3e3d1aa2e138adc4763f61230261256f565b83604051612311929190615e45565b60405180910390a2600280546001600160f81b0316600160f81b179055919050565b600254606090600119600160f81b90910460ff16016123645760405162461bcd60e51b8152600401610e3490615c9f565b600280546001600160f81b0316600160f91b179055612381612e94565b505061238b611efc565b9050600280546001600160f81b0316600160f81b17905590565b600083603d5481146123cf57603d5460405163168a450960e21b8152610e34918391600401615c91565b5060019695505050505050565b6001600160a01b03163b151590565b8151600090815b8181101561243f57836001600160a01b031685828151811061241657612416615c46565b60200260200101516001600160a01b03160361243757600192505050610f24565b6001016123f2565b506000949350505050565b6001600160a01b0383166124ac5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610e34565b6001600160a01b03821661250d5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610e34565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6040805481516020808302820181018452828252606093919290830182828015610cdf57602002820191906000526020600020905b81546001600160a01b031681526001909101906020018083116125a4575050505050905090565b6001600160a01b03831661261757803414610f0b5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b6044820152606401610e34565b8015610f0b57610f0b6001600160a01b038416833084613711565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316846001600160a01b031603612675575081612682565b61267f8484613769565b90505b60415460ff1615612694579050610f24565b61269d8161378f565b915050610f24565b5092915050565b6001600160a01b0382166127025760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610e34565b61270e60008383613949565b6127178161395b565b600280546000906127329084906001600160f81b0316615e6a565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555080600080846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461278a9190615e8a565b90915550506040518181526001600160a01b038316906000906000805160206162058339815191529060200160405180910390a35050565b60006127ce8484611fcd565b9050600019811461283657818110156128295760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610e34565b612836848484840361244a565b50505050565b6001600160a01b0383166128a05760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610e34565b6001600160a01b0382166129025760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610e34565b816001600160a01b0316836001600160a01b03160361295d5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b6044820152606401610e34565b612968838383613949565b6001600160a01b038316600090815260208190526040902054818110156129e05760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610e34565b6001600160a01b03808516600090815260208190526040808220858503905591851681529081208054849290612a17908490615e8a565b92505081905550826001600160a01b0316846001600160a01b031660008051602061620583398151915284604051612a5191815260200190565b60405180910390a3612836565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016148015612ab757507f000000000000000000000000000000000000000000000000000000000000000046145b15612ae157507f000000000000000000000000000000000000000000000000000000000000000090565b50604080517f00000000000000000000000000000000000000000000000000000000000000006020808301919091527f0000000000000000000000000000000000000000000000000000000000000000828401527f000000000000000000000000000000000000000000000000000000000000000060608301524660808301523060a0808401919091528351808403909101815260c0909201909252805191012090565b60006003821115612be65750806000612b9f600283615eb3565b612baa906001615e8a565b90505b81811015612be057905080600281612bc58186615eb3565b612bcf9190615e8a565b612bd99190615eb3565b9050612bad565b50919050565b8115612bf0575060015b919050565b600080612c0a670de0b6b3a764000085615d82565b9050828181612c1b57612c1b615e9d565b04949350505050565b612c2c613975565b6038805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051612c6691906156c1565b60405180910390a1565b6001600160a01b038216612cd05760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610e34565b612cdc82600083613949565b6001600160a01b03821660009081526020819052604090205481811015612d505760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610e34565b6001600160a01b03831660009081526020819052604090208282039055612d768261395b565b60028054600090612d919084906001600160f81b0316615ed5565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b03166000805160206162058339815191528460405161256291815260200190565b60415460009060ff16612dff57612dff826139be565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603612e3f575080612e4c565b612e498383613a50565b90505b611d358385836131b9565b612e5f613b0c565b6038805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258612c593390565b606080612e9f61256f565b915081516001600160401b03811115612eba57612eba615c30565b604051908082528060200260200182016040528015612ee3578160200160208202803683370190505b5090508151600003612ef3579091565b43603a54146130a75743603a556000612f0a613b52565b9050612f14613b5c565b60005b83518110156130a4576000848281518110612f3457612f34615c46565b6020908102919091018101516001600160a01b0381166000908152603b90925260408220548751919350600160801b90046001600160801b031690612f9290889086908110612f8557612f85615c46565b602002602001015161312f565b612f9c9190615db6565b6001600160a01b0383166000908152603b60205260408120549192506001600160801b0390911690819003612fcf575060015b8415612fec57612fdf8286612bf5565b612fe99082615e8a565b90505b612ff581613c69565b6001600160a01b0384166000908152603b6020526040902080546001600160801b0319166001600160801b039290921691909117905561303482613c69565b6001600160a01b0384166000908152603b60205260409020805460109061306c908490600160801b90046001600160801b0316615ef5565b92506101000a8154816001600160801b0302191690836001600160801b031602179055505050508061309d90615f15565b9050612f17565b50505b60005b825181101561312a57603b60008483815181106130c9576130c9615c46565b6020908102919091018101516001600160a01b031682528101919091526040016000205482516001600160801b039091169083908390811061310d5761310d615c46565b60209081029190910101528061312281615f15565b9150506130aa565b509091565b60006001600160a01b038216156131b2576040516370a0823160e01b81526001600160a01b038316906370a082319061316c9030906004016156c1565b602060405180830381865afa158015613189573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906131ad9190615d53565b610f24565b4792915050565b806000036131c657505050565b6001600160a01b038316613269576000826001600160a01b03168260405160006040518083038185875af1925050503d8060008114613221576040519150601f19603f3d011682016040523d82523d6000602084013e613226565b606091505b50509050806128365760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b6044820152606401610e34565b610f0b6001600160a01b0384168383613c7f565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036132bf575080610f24565b604051635c7c159360e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063b8f82b269061330d9086908690600401615f2e565b602060405180830381865afa15801561332a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061334e9190615d53565b9050610f24565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603613397575080610f24565b60405163cbe52ae360e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063cbe52ae39061330d9086908690600401615f2e565b6000610f246133f2612a5e565b8360405161190160f01b6020820152602281018390526042810182905260009060620160405160208183030381529060405280519060200120905092915050565b600080600061344487878787613c9e565b9150915061345181613d81565b5095945050505050565b613466816000613f32565b50565b6060600061347561256f565b905080516001600160401b0381111561349057613490615c30565b6040519080825280602002602001820160405280156134b9578160200160208202803683370190505b50915060005b815181101561370957603960008383815181106134de576134de615c46565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000866001600160a01b03166001600160a01b0316815260200190815260200160002060000160109054906101000a90046001600160801b03166001600160801b031683828151811061355b5761355b615c46565b60200260200101818152505082818151811061357957613579615c46565b60200260200101516000146136f7576000603960008484815181106135a0576135a0615c46565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000876001600160a01b03166001600160a01b0316815260200190815260200160002060000160106101000a8154816001600160801b0302191690836001600160801b0316021790555061363483828151811061362757613627615c46565b6020026020010151613c69565b603b600084848151811061364a5761364a615c46565b60200260200101516001600160a01b03166001600160a01b0316815260200190815260200160002060000160108282829054906101000a90046001600160801b03166136969190615f47565b92506101000a8154816001600160801b0302191690836001600160801b031602179055506136f78282815181106136cf576136cf615c46565b6020026020010151858584815181106136ea576136ea615c46565b60200260200101516131b9565b8061370181615f15565b9150506134bf565b505092915050565b612836846323b872dd60e01b85858560405160240161373293929190615f67565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152613fb2565b60008060006137788585614084565b91509150613786828261416b565b95945050505050565b6000600019603d54036138c1577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663f84ddf0b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156137fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061381e9190615d53565b613829906001615e8a565b603d5560405163d1aaef0560e01b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d1aaef059061387b908590600090600401615c91565b600060405180830381600087803b15801561389557600080fd5b505af11580156138a9573d6000803e3d6000fd5b505050506138b561426c565b610f246103e883615db6565b603d5460405163162a176f60e11b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691632c542ede9161391191908690600401615c91565b600060405180830381600087803b15801561392b57600080fd5b505af115801561393f573d6000803e3d6000fd5b5093949350505050565b613951613b0c565b610f0b8383613f32565b60006001600160f81b0382111561397157600080fd5b5090565b60385460ff166114085760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b6044820152606401610e34565b6139c6614304565b603d54604051633cb85acf60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169163f2e16b3c91613a1691908590600401615c91565b600060405180830381600087803b158015613a3057600080fd5b505af1158015613a44573d6000803e3d6000fd5b5050505061346661426c565b6000806000613a5e8461434b565b915091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b031603613ad857613ac57f00000000000000000000000000000000000000000000000000000000000000008261444d565b613acf9083615e8a565b92505050610f24565b613b027f00000000000000000000000000000000000000000000000000000000000000008361444d565b613acf9082615e8a565b60385460ff16156114085760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610e34565b6000611288611073565b60415460ff1615613b6957565b603c546001600160a01b031615613be357603c60009054906101000a90046001600160a01b03166001600160a01b0316634641257d6040518163ffffffff1660e01b8152600401600060405180830381600087803b158015613bca57600080fd5b505af1158015613bde573d6000803e3d6000fd5b505050505b603d5460405163107c74a760e11b815260048101919091527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906320f8e94e90602401600060405180830381600087803b158015613c4957600080fd5b505af1158015613c5d573d6000803e3d6000fd5b50505050611408614619565b60006001600160801b0382111561397157600080fd5b610f0b8363a9059cbb60e01b8484604051602401613732929190615f2e565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b03831115613ccb5750600090506003613d78565b8460ff16601b14158015613ce357508460ff16601c14155b15613cf45750600090506004613d78565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa158015613d48573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b038116613d7157600060019250925050613d78565b9150600090505b94509492505050565b6000816004811115613d9557613d95615ab6565b03613d9d5750565b6001816004811115613db157613db1615ab6565b03613df95760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b6044820152606401610e34565b6002816004811115613e0d57613e0d615ab6565b03613e5a5760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e677468006044820152606401610e34565b6003816004811115613e6e57613e6e615ab6565b03613ec65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b6064820152608401610e34565b6004816004811115613eda57613eda615ab6565b036134665760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202776272076616c604482015261756560f01b6064820152608401610e34565b600080613f3d612e94565b915091508151600003613f505750505050565b6001600160a01b03841615801590613f7157506001600160a01b0384163014155b15613f8157613f818483836146d0565b6001600160a01b03831615801590613fa257506001600160a01b0383163014155b15612836576128368383836146d0565b6000614007826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166149499092919063ffffffff16565b805190915015610f0b57808060200190518101906140259190615f8b565b610f0b5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610e34565b600080600061409285614960565b90507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b03160361411a5760006140da828787614c8c565b90506140e68186615db6565b93506141127f00000000000000000000000000000000000000000000000000000000000000008261444d565b925050614163565b6000614127828787614c8c565b90506141537f00000000000000000000000000000000000000000000000000000000000000008261444d565b935061415f8186615db6565b9250505b509250929050565b60405162e8e33760e81b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f000000000000000000000000000000000000000000000000000000000000000081166024830152604482018490526064820183905260006084830181905260a483018190523060c48401524260e4840152917f00000000000000000000000000000000000000000000000000000000000000009091169063e8e3370090610104016060604051808303816000875af1158015614248573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906137869190615fa8565b603c546001600160a01b031661427e57565b603c54603d54604051632142170760e11b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116936342842e0e936142d69330939290921691600401615f67565b600060405180830381600087803b1580156142f057600080fd5b505af1158015612836573d6000803e3d6000fd5b603c546001600160a01b031661431657565b603c54603d54604051632e1a7d4d60e01b81526001600160a01b0390921691632e1a7d4d916142d69160040190815260200190565b604051635d5155ef60e11b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811660048301527f00000000000000000000000000000000000000000000000000000000000000008116602483015260448201839052600060648301819052608483018190523060a48401524260c48401529182917f0000000000000000000000000000000000000000000000000000000000000000169063baa2abde9060e40160408051808303816000875af1158015614420573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906144449190615fd6565b91509150915091565b6040805160028082526060820183526000928392919060208301908036833701905050905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316146144d3577f00000000000000000000000000000000000000000000000000000000000000006144f5565b7f00000000000000000000000000000000000000000000000000000000000000005b9050848260008151811061450b5761450b615c46565b60200260200101906001600160a01b031690816001600160a01b031681525050808260018151811061453f5761453f615c46565b60200260200101906001600160a01b031690816001600160a01b031681525050600061456a8261312f565b603f5460405163561c49dd60e11b81529192506001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081169263ac3893ba926145c9928a926000928a9230929116904290600401615ffa565b600060405180830381600087803b1580156145e357600080fd5b505af11580156145f7573d6000803e3d6000fd5b50505050806146058361312f565b61460f9190615db6565b9695505050505050565b614621614cb1565b1561462857565b60006146537f000000000000000000000000000000000000000000000000000000000000000061312f565b9050806000036146605750565b600019603d54036146735761467361603e565b603e546001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811691631c75e3699116836146b261504f565b6040518463ffffffff1660e01b81526004016115d793929190616054565b6001600160a01b038316158015906146f157506001600160a01b0383163014155b6146fd576146fd61603e565b60006147088461509a565b905060005b835181101561160557600084828151811061472a5761472a615c46565b60200260200101519050600084838151811061474857614748615c46565b6020908102919091018101516001600160a01b038085166000908152603984526040808220928c168252919093528220549092506001600160801b0316908190036147e45761479682613c69565b6001600160a01b039384166000908152603960209081526040808320968c1683529590529390932080546001600160801b0319166001600160801b0390941693909317909255506149399050565b8181036147f357505050614939565b60006147ff8284615db6565b9050600061480d87836150a5565b6001600160a01b038681166000908152603960209081526040808320938f1683529290529081205491925090614854908390600160801b90046001600160801b0316615e8a565b9050604051806040016040528061486a87613c69565b6001600160801b0316815260200161488183613c69565b6001600160801b031681525060396000886001600160a01b03166001600160a01b0316815260200190815260200160002060008d6001600160a01b03166001600160a01b0316815260200190815260200160002060008201518160000160006101000a8154816001600160801b0302191690836001600160801b0316021790555060208201518160000160106101000a8154816001600160801b0302191690836001600160801b031602179055509050505050505050505b61494281615f15565b905061470d565b606061495884846000856150c3565b949350505050565b6149c160405180610140016040528060006001600160a01b0316815260200160001515815260200160008152602001600081526020016000815260200160008152602001600081526020016000815260200160008152602001600081525090565b6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000168082527f00000000000000000000000000000000000000000000000000000000000000001515602083015260408051630240bc6b60e21b81529051630902f1ac916004808201926080929091908290030181865afa158015614a51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614a759190615cff565b61ffff90811660a08601521660808401526001600160701b039081166060840152166040820152602081015115614c1957603f54604051631c60f51f60e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000811692637183d47c92614af99291909116906004016156c1565b602060405180830381865afa158015614b16573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614b3a9190615d53565b60c082015260408051634cadad5760e11b815281516001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169263995b5aae92600480820193918290030181865afa158015614ba0573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614bc4919061607b565b5060e08201527f00000000000000000000000000000000000000000000000000000000000000006101008201527f00000000000000000000000000000000000000000000000000000000000000006101208201525b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031603612bf057606081018051604083018051909252905260a081018051608083018051909252905261012081018051610100830180519092529052919050565b60008360200151614ca657614ca184836151f2565b614958565b6149588484846152dc565b600080603e60009054906101000a90046001600160a01b0316905060007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166368e5dab56040518163ffffffff1660e01b8152600401602060405180830381865afa158015614d2c573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614d5091906160a0565b9050806001600160a01b0316826001600160a01b031603614d745760009250505090565b6040516316617ae760e11b81523060048201526001600160a01b0383811660248301526000917f000000000000000000000000000000000000000000000000000000000000000090911690632cc2f5ce90604401602060405180830381865afa158015614de5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190614e099190615d53565b90508015614e6557826001600160a01b031663c72f55806040518163ffffffff1660e01b8152600401600060405180830381600087803b158015614e4c57600080fd5b505af1158015614e60573d6000803e3d6000fd5b505050505b6040516330d83b4760e21b81526001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063c360ed1c90614eb4908690600090600401615f2e565b600060405180830381600087803b158015614ece57600080fd5b505af1158015614ee2573d6000803e3d6000fd5b50506040516330d83b4760e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016925063c360ed1c9150614f3690859060001990600401615f2e565b600060405180830381600087803b158015614f5057600080fd5b505af1158015614f64573d6000803e3d6000fd5b505050506000614f937f000000000000000000000000000000000000000000000000000000000000000061312f565b90508015615025577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316631c75e3698483614fd461504f565b6040518463ffffffff1660e01b8152600401614ff293929190616054565b600060405180830381600087803b15801561500c57600080fd5b505af1158015615020573d6000803e3d6000fd5b505050505b5050603e80546001600160a01b0319166001600160a01b0392909216919091179055506001919050565b60607f0000000000000000000000000000000000000000000000000000000000000000603d54604051602001615086929190615f2e565b604051602081830303815290604052905090565b6000610f248261160c565b6000806150b28385615d82565b9050670de0b6b3a764000081612c1b565b6060824710156151245760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610e34565b61512d856123dc565b6151795760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610e34565b600080866001600160a01b0316858760405161519591906160bd565b60006040518083038185875af1925050503d80600081146151d2576040519150601f19603f3d011682016040523d82523d6000602084013e6151d7565b606091505b50915091506151e782828661543c565b979650505050505050565b60408201516080830151600091908061520f620186a06001615d82565b6152199190615db6565b615224906002615d82565b8282615234620186a06002615d82565b61523e9190615db6565b6152489190615d82565b6152c884878561525c620186a06001615d82565b6152669190615db6565b615274620186a06004615d82565b61527e9190615d82565b6152889190615d82565b6152929190615d82565b6152be86866152a5620186a06002615d82565b6152af9190615db6565b6152b99190615d82565b615475565b6113c39190615e8a565b6152d29190615db6565b6137869190615eb3565b6000806152e98386615481565b90505b602081015181511015615433578051602082015160029161530c91615e8a565b6153169190615eb3565b6040828101829052865190516378a051ad60e11b815260048101929092526001600160a01b038681166024840152169063f140a35a90604401602060405180830381865afa15801561536c573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906153909190615d53565b8160a00181815250506153ba8160400151866040015187608001518860c001518960e001516155e5565b606082015260408101516153ce9084615db6565b6080820152606081015160a08201516153e79190615d82565b856060015182608001516153fb9190615d82565b101561541c57600181604001516154129190615db6565b60208201526152ec565b604081015161542c906001615e8a565b81526152ec565b51949350505050565b6060831561544b575081611d35565b82511561545b5782518084602001fd5b8160405162461bcd60e51b8152600401610e349190615725565b6000610f248280615d82565b6154ba6040518060c001604052806000815260200160008152602001600081526020016000815260200160008152602001600081525090565b60006154d88361010001518460400151612bf590919063ffffffff16565b905060006154f88461012001518560600151612bf590919063ffffffff16565b905061551284610100015186612bf590919063ffffffff16565b9450600061552a6155238785615e8a565b8390612bf5565b9050600061555f61553b84806150a5565b61554586806150a5565b61554f9190615e8a565b61555986866150a5565b906150a5565b90506000826155728161555981806150a5565b61557c9190615e8a565b6101008801519091506155a690615559876155978686612bf5565b6155a19190615db6565b61568e565b865260808701516155ba90620186a0615db6565b86516155ca90620186a090615d82565b6155d49190615eb3565b602087015250939695505050505050565b6000806155f66002620186a06161b5565b84615601878a615d82565b61560b9190615d82565b6156159190615eb3565b90508261562585620186a0615db6565b61562f9190615d82565b925060006156416003620186a06161b5565b8461564c888b615d82565b6156569190615d82565b6156609190615eb3565b9050808261566e8a8a615e8a565b6156789190615db6565b6156829190615db6565b98975050505050505050565b60008061569a83612b85565b6156a890633b9aca00615d82565b90506156b381612b85565b611d3590633b9aca00615d82565b6001600160a01b0391909116815260200190565b60005b838110156156f05781810151838201526020016156d8565b50506000910152565b600081518084526157118160208601602086016156d5565b601f01601f19169290920160200192915050565b602081526000611d3560208301846156f9565b600081518084526020808501945080840160005b838110156157715781516001600160a01b03168752958201959082019060010161574c565b509495945050505050565b602081526000611d356020830184615738565b6001600160a01b038116811461346657600080fd5b801515811461346657600080fd5b6000806000606084860312156157c757600080fd5b83356157d28161578f565b925060208401356157e2816157a4565b915060408401356157f2816157a4565b809150509250925092565b6000806040838503121561581057600080fd5b823561581b8161578f565b946020939093013593505050565b60006020828403121561583b57600080fd5b8135611d358161578f565b600081518084526020808501945080840160005b838110156157715781518752958201959082019060010161585a565b602081526000611d356020830184615846565b6000806000806000608086880312156158a157600080fd5b85356158ac8161578f565b945060208601356158bc8161578f565b93506040860135925060608601356001600160401b03808211156158df57600080fd5b818801915088601f8301126158f357600080fd5b81358181111561590257600080fd5b89602082850101111561591457600080fd5b9699959850939650602001949392505050565b6000806000806080858703121561593d57600080fd5b84356159488161578f565b935060208501356159588161578f565b93969395505050506040820135916060013590565b60008060006060848603121561598257600080fd5b833561598d8161578f565b9250602084013561599d8161578f565b929592945050506040919091013590565b6000806000606084860312156159c357600080fd5b83356159ce8161578f565b95602085013595506040909401359392505050565b600080604083850312156159f657600080fd5b50508035926020909101359150565b600060208284031215615a1757600080fd5b5035919050565b60008060408385031215615a3157600080fd5b8235615a3c8161578f565b91506020830135615a4c8161578f565b809150509250929050565b600080600080600060a08688031215615a6f57600080fd5b8535615a7a8161578f565b9450602086013593506040860135615a918161578f565b9250606086013591506080860135615aa8816157a4565b809150509295509295909350565b634e487b7160e01b600052602160045260246000fd5b6060810160028510615aee57634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b600060208284031215615b2057600080fd5b8135611d35816157a4565b60ff8116811461346657600080fd5b600080600080600080600060e0888a031215615b5557600080fd5b8735615b608161578f565b96506020880135615b708161578f565b955060408801359450606088013593506080880135615b8e81615b2b565b9699959850939692959460a0840135945060c09093013592915050565b600080600080600060a08688031215615bc357600080fd5b8535615bce8161578f565b94506020860135615bde8161578f565b94979496505050506040830135926060810135926080909101359150565b600181811c90821680615c1057607f821691505b602082108103612be057634e487b7160e01b600052602260045260246000fd5b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b918252602082015260400190565b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b80516001600160701b0381168114612bf057600080fd5b805161ffff81168114612bf057600080fd5b60008060008060808587031215615d1557600080fd5b615d1e85615cd6565b9350615d2c60208601615cd6565b9250615d3a60408601615ced565b9150615d4860608601615ced565b905092959194509250565b600060208284031215615d6557600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b8082028115828204841417610f2457610f24615d6c565b600060208284031215615dab57600080fd5b8151611d3581615b2b565b81810381811115610f2457610f24615d6c565b600060808284031215615ddb57600080fd5b604051608081016001600160401b0381118282101715615e0b57634e487b7160e01b600052604160045260246000fd5b6040528251615e198161578f565b808252506020830151602082015260408301516040820152606083015160608201528091505092915050565b604081526000615e586040830185615738565b82810360208401526137868185615846565b6001600160f81b038181168382160190808211156126a5576126a5615d6c565b80820180821115610f2457610f24615d6c565b634e487b7160e01b600052601260045260246000fd5b600082615ed057634e487b7160e01b600052601260045260246000fd5b500490565b6001600160f81b038281168282160390808211156126a5576126a5615d6c565b6001600160801b038181168382160190808211156126a5576126a5615d6c565b600060018201615f2757615f27615d6c565b5060010190565b6001600160a01b03929092168252602082015260400190565b6001600160801b038281168282160390808211156126a5576126a5615d6c565b6001600160a01b039384168152919092166020820152604081019190915260600190565b600060208284031215615f9d57600080fd5b8151611d35816157a4565b600080600060608486031215615fbd57600080fd5b8351925060208401519150604084015190509250925092565b60008060408385031215615fe957600080fd5b505080516020909101519092909150565b86815285602082015260c06040820152600061601960c0830187615738565b6001600160a01b03958616606084015293909416608082015260a00152949350505050565b634e487b7160e01b600052600160045260246000fd5b60018060a01b038416815282602082015260606040820152600061378660608301846156f9565b6000806040838503121561608e57600080fd5b825191506020830151615a4c8161578f565b6000602082840312156160b257600080fd5b8151611d358161578f565b600082516160cf8184602087016156d5565b9190910192915050565b600181815b808511156141635781600019048211156160fa576160fa615d6c565b8085161561610757918102915b93841c93908002906160de565b60008261612357506001610f24565b8161613057506000610f24565b816001811461614657600281146161505761616c565b6001915050610f24565b60ff84111561616157616161615d6c565b50506001821b610f24565b5060208310610133831016604e8410600b841016171561618f575081810a610f24565b61619983836160d9565b80600019048211156161ad576161ad615d6c565b029392505050565b6000611d3560ff84168361611456fe352feee0eea125f11f791c1b77524172e9bc20f1b719b6cef0fc24f64db8e15e8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa26469706673582212200f8678b3d001a18d775b49480e707f75e75a0440c89789ad9ee22d21e410357464736f6c63430008110033352feee0eea125f11f791c1b77524172e9bc20f1b719b6cef0fc24f64db8e15e";
|
|
1526
|
+
|
|
1527
|
+
type PendleCamelotV1SYConstructorParams =
|
|
1528
|
+
| [signer?: Signer]
|
|
1529
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1530
|
+
|
|
1531
|
+
const isSuperArgs = (
|
|
1532
|
+
xs: PendleCamelotV1SYConstructorParams
|
|
1533
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1534
|
+
|
|
1535
|
+
export class PendleCamelotV1SY__factory extends ContractFactory {
|
|
1536
|
+
constructor(...args: PendleCamelotV1SYConstructorParams) {
|
|
1537
|
+
if (isSuperArgs(args)) {
|
|
1538
|
+
super(...args);
|
|
1539
|
+
} else {
|
|
1540
|
+
super(_abi, _bytecode, args[0]);
|
|
1541
|
+
}
|
|
1542
|
+
this.contractName = "PendleCamelotV1SY";
|
|
1543
|
+
}
|
|
1544
|
+
|
|
1545
|
+
deploy(
|
|
1546
|
+
_name: string,
|
|
1547
|
+
_symbol: string,
|
|
1548
|
+
_pair: string,
|
|
1549
|
+
_factory: string,
|
|
1550
|
+
_router: string,
|
|
1551
|
+
_nftPool: string,
|
|
1552
|
+
_nitroPool: string,
|
|
1553
|
+
_referrer: string,
|
|
1554
|
+
_previewHelper: string,
|
|
1555
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1556
|
+
): Promise<PendleCamelotV1SY> {
|
|
1557
|
+
return super.deploy(
|
|
1558
|
+
_name,
|
|
1559
|
+
_symbol,
|
|
1560
|
+
_pair,
|
|
1561
|
+
_factory,
|
|
1562
|
+
_router,
|
|
1563
|
+
_nftPool,
|
|
1564
|
+
_nitroPool,
|
|
1565
|
+
_referrer,
|
|
1566
|
+
_previewHelper,
|
|
1567
|
+
overrides || {}
|
|
1568
|
+
) as Promise<PendleCamelotV1SY>;
|
|
1569
|
+
}
|
|
1570
|
+
getDeployTransaction(
|
|
1571
|
+
_name: string,
|
|
1572
|
+
_symbol: string,
|
|
1573
|
+
_pair: string,
|
|
1574
|
+
_factory: string,
|
|
1575
|
+
_router: string,
|
|
1576
|
+
_nftPool: string,
|
|
1577
|
+
_nitroPool: string,
|
|
1578
|
+
_referrer: string,
|
|
1579
|
+
_previewHelper: string,
|
|
1580
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1581
|
+
): TransactionRequest {
|
|
1582
|
+
return super.getDeployTransaction(
|
|
1583
|
+
_name,
|
|
1584
|
+
_symbol,
|
|
1585
|
+
_pair,
|
|
1586
|
+
_factory,
|
|
1587
|
+
_router,
|
|
1588
|
+
_nftPool,
|
|
1589
|
+
_nitroPool,
|
|
1590
|
+
_referrer,
|
|
1591
|
+
_previewHelper,
|
|
1592
|
+
overrides || {}
|
|
1593
|
+
);
|
|
1594
|
+
}
|
|
1595
|
+
attach(address: string): PendleCamelotV1SY {
|
|
1596
|
+
return super.attach(address) as PendleCamelotV1SY;
|
|
1597
|
+
}
|
|
1598
|
+
connect(signer: Signer): PendleCamelotV1SY__factory {
|
|
1599
|
+
return super.connect(signer) as PendleCamelotV1SY__factory;
|
|
1600
|
+
}
|
|
1601
|
+
static readonly contractName: "PendleCamelotV1SY";
|
|
1602
|
+
public readonly contractName: "PendleCamelotV1SY";
|
|
1603
|
+
static readonly bytecode = _bytecode;
|
|
1604
|
+
static readonly abi = _abi;
|
|
1605
|
+
static createInterface(): PendleCamelotV1SYInterface {
|
|
1606
|
+
return new utils.Interface(_abi) as PendleCamelotV1SYInterface;
|
|
1607
|
+
}
|
|
1608
|
+
static connect(
|
|
1609
|
+
address: string,
|
|
1610
|
+
signerOrProvider: Signer | Provider
|
|
1611
|
+
): PendleCamelotV1SY {
|
|
1612
|
+
return new Contract(address, _abi, signerOrProvider) as PendleCamelotV1SY;
|
|
1613
|
+
}
|
|
1614
|
+
}
|