@pendle/core-v2 4.4.4 → 4.4.5
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/Ethena/PendleUSDEL2SY.sol/PendleUSDEL2SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/{PendleUSDEMantleSY.sol/PendleUSDEMantleSY.json → PendleUSDEL2SY.sol/PendleUSDEL2SY.json} +4 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol/PendleStTAOSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol/PendleStTAOSY.json +1036 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeERC20SY.sol/PendleZtakeERC20SY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeERC20SY.sol/PendleZtakeERC20SY.json +1036 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeUSDESY.sol/PendleZtakeUSDESY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeUSDESY.sol/PendleZtakeUSDESY.json +1086 -0
- package/build/artifacts/contracts/interfaces/Tensorplex/ITensorplexStTAO.sol/ITensorplexStTAO.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Tensorplex/ITensorplexStTAO.sol/ITensorplexStTAO.json +106 -0
- package/contracts/core/StandardizedYield/implementations/Ethena/{PendleUSDEMantleSY.sol → PendleUSDEL2SY.sol} +1 -2
- package/contracts/core/StandardizedYield/implementations/Tensorplex/PendleStTAOSY.sol +106 -0
- package/contracts/core/StandardizedYield/implementations/Zircuit/{PendleZtakeWETHSY.sol → PendleZtakeERC20SY.sol} +16 -16
- package/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeUSDESY.sol +133 -0
- package/contracts/interfaces/Tensorplex/ITensorplexStTAO.sol +16 -0
- package/deployments/1-markets/STTAO-JUNE2024.json +13 -0
- package/deployments/1-markets/ZIRCUIT-USDE-JUNE2024.json +13 -0
- package/deployments/1-offchain-helper.json +2 -1
- package/deployments/10-offchain-helper.json +2 -1
- package/deployments/42161-markets/USDE-ARBITRUM-AUG2024.json +11 -0
- package/deployments/42161-offchain-helper.json +2 -1
- package/deployments/5000-offchain-helper.json +2 -1
- package/deployments/56-offchain-helper.json +2 -1
- package/package.json +1 -1
- package/typechain-types/ITensorplexStTAO.ts +221 -0
- package/typechain-types/PendleStTAOSY.ts +1314 -0
- package/typechain-types/PendleUSDEL2SY.ts +1363 -0
- package/typechain-types/PendleZtakeERC20SY.ts +1336 -0
- package/typechain-types/PendleZtakeUSDESY.ts +1393 -0
- package/typechain-types/factories/ITensorplexStTAO__factory.ts +121 -0
- package/typechain-types/factories/PendleStTAOSY__factory.ts +1088 -0
- package/typechain-types/factories/PendleUSDEL2SY__factory.ts +1110 -0
- package/typechain-types/factories/PendleZtakeERC20SY__factory.ts +1097 -0
- package/typechain-types/factories/PendleZtakeUSDESY__factory.ts +1147 -0
- package/typechain-types/hardhat.d.ts +45 -0
- package/typechain-types/index.ts +10 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ethena/PendleUSDEMantleSY.sol/PendleUSDEMantleSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol/PendleZtakeWETHSY.dbg.json +0 -4
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Zircuit/PendleZtakeWETHSY.sol/PendleZtakeWETHSY.json +0 -1025
|
@@ -0,0 +1,1088 @@
|
|
|
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 { PendleStTAOSY, PendleStTAOSYInterface } from "../PendleStTAOSY";
|
|
7
|
+
|
|
8
|
+
const _abi = [
|
|
9
|
+
{
|
|
10
|
+
inputs: [
|
|
11
|
+
{
|
|
12
|
+
internalType: "address",
|
|
13
|
+
name: "_stTAO",
|
|
14
|
+
type: "address",
|
|
15
|
+
},
|
|
16
|
+
],
|
|
17
|
+
stateMutability: "nonpayable",
|
|
18
|
+
type: "constructor",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
inputs: [
|
|
22
|
+
{
|
|
23
|
+
internalType: "uint256",
|
|
24
|
+
name: "amountTaoToWrap",
|
|
25
|
+
type: "uint256",
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
internalType: "uint256",
|
|
29
|
+
name: "maxTaoForWrap",
|
|
30
|
+
type: "uint256",
|
|
31
|
+
},
|
|
32
|
+
],
|
|
33
|
+
name: "MaxStTAOSupplyExceeded",
|
|
34
|
+
type: "error",
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "actualSharesOut",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "requiredSharesOut",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
name: "SYInsufficientSharesOut",
|
|
50
|
+
type: "error",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "uint256",
|
|
56
|
+
name: "actualTokenOut",
|
|
57
|
+
type: "uint256",
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
internalType: "uint256",
|
|
61
|
+
name: "requiredTokenOut",
|
|
62
|
+
type: "uint256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
name: "SYInsufficientTokenOut",
|
|
66
|
+
type: "error",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "address",
|
|
72
|
+
name: "token",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
],
|
|
76
|
+
name: "SYInvalidTokenIn",
|
|
77
|
+
type: "error",
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
inputs: [
|
|
81
|
+
{
|
|
82
|
+
internalType: "address",
|
|
83
|
+
name: "token",
|
|
84
|
+
type: "address",
|
|
85
|
+
},
|
|
86
|
+
],
|
|
87
|
+
name: "SYInvalidTokenOut",
|
|
88
|
+
type: "error",
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
inputs: [],
|
|
92
|
+
name: "SYZeroDeposit",
|
|
93
|
+
type: "error",
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
inputs: [],
|
|
97
|
+
name: "SYZeroRedeem",
|
|
98
|
+
type: "error",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
anonymous: false,
|
|
102
|
+
inputs: [
|
|
103
|
+
{
|
|
104
|
+
indexed: true,
|
|
105
|
+
internalType: "address",
|
|
106
|
+
name: "owner",
|
|
107
|
+
type: "address",
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
indexed: true,
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "spender",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
indexed: false,
|
|
117
|
+
internalType: "uint256",
|
|
118
|
+
name: "value",
|
|
119
|
+
type: "uint256",
|
|
120
|
+
},
|
|
121
|
+
],
|
|
122
|
+
name: "Approval",
|
|
123
|
+
type: "event",
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
anonymous: false,
|
|
127
|
+
inputs: [
|
|
128
|
+
{
|
|
129
|
+
indexed: true,
|
|
130
|
+
internalType: "address",
|
|
131
|
+
name: "user",
|
|
132
|
+
type: "address",
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
indexed: false,
|
|
136
|
+
internalType: "address[]",
|
|
137
|
+
name: "rewardTokens",
|
|
138
|
+
type: "address[]",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
indexed: false,
|
|
142
|
+
internalType: "uint256[]",
|
|
143
|
+
name: "rewardAmounts",
|
|
144
|
+
type: "uint256[]",
|
|
145
|
+
},
|
|
146
|
+
],
|
|
147
|
+
name: "ClaimRewards",
|
|
148
|
+
type: "event",
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
anonymous: false,
|
|
152
|
+
inputs: [
|
|
153
|
+
{
|
|
154
|
+
indexed: true,
|
|
155
|
+
internalType: "address",
|
|
156
|
+
name: "caller",
|
|
157
|
+
type: "address",
|
|
158
|
+
},
|
|
159
|
+
{
|
|
160
|
+
indexed: true,
|
|
161
|
+
internalType: "address",
|
|
162
|
+
name: "receiver",
|
|
163
|
+
type: "address",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
indexed: true,
|
|
167
|
+
internalType: "address",
|
|
168
|
+
name: "tokenIn",
|
|
169
|
+
type: "address",
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
indexed: false,
|
|
173
|
+
internalType: "uint256",
|
|
174
|
+
name: "amountDeposited",
|
|
175
|
+
type: "uint256",
|
|
176
|
+
},
|
|
177
|
+
{
|
|
178
|
+
indexed: false,
|
|
179
|
+
internalType: "uint256",
|
|
180
|
+
name: "amountSyOut",
|
|
181
|
+
type: "uint256",
|
|
182
|
+
},
|
|
183
|
+
],
|
|
184
|
+
name: "Deposit",
|
|
185
|
+
type: "event",
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
anonymous: false,
|
|
189
|
+
inputs: [],
|
|
190
|
+
name: "EIP712DomainChanged",
|
|
191
|
+
type: "event",
|
|
192
|
+
},
|
|
193
|
+
{
|
|
194
|
+
anonymous: false,
|
|
195
|
+
inputs: [
|
|
196
|
+
{
|
|
197
|
+
indexed: false,
|
|
198
|
+
internalType: "uint8",
|
|
199
|
+
name: "version",
|
|
200
|
+
type: "uint8",
|
|
201
|
+
},
|
|
202
|
+
],
|
|
203
|
+
name: "Initialized",
|
|
204
|
+
type: "event",
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
anonymous: false,
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
indexed: true,
|
|
211
|
+
internalType: "address",
|
|
212
|
+
name: "previousOwner",
|
|
213
|
+
type: "address",
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
indexed: true,
|
|
217
|
+
internalType: "address",
|
|
218
|
+
name: "newOwner",
|
|
219
|
+
type: "address",
|
|
220
|
+
},
|
|
221
|
+
],
|
|
222
|
+
name: "OwnershipTransferred",
|
|
223
|
+
type: "event",
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
anonymous: false,
|
|
227
|
+
inputs: [
|
|
228
|
+
{
|
|
229
|
+
indexed: false,
|
|
230
|
+
internalType: "address",
|
|
231
|
+
name: "account",
|
|
232
|
+
type: "address",
|
|
233
|
+
},
|
|
234
|
+
],
|
|
235
|
+
name: "Paused",
|
|
236
|
+
type: "event",
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
anonymous: false,
|
|
240
|
+
inputs: [
|
|
241
|
+
{
|
|
242
|
+
indexed: true,
|
|
243
|
+
internalType: "address",
|
|
244
|
+
name: "caller",
|
|
245
|
+
type: "address",
|
|
246
|
+
},
|
|
247
|
+
{
|
|
248
|
+
indexed: true,
|
|
249
|
+
internalType: "address",
|
|
250
|
+
name: "receiver",
|
|
251
|
+
type: "address",
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
indexed: true,
|
|
255
|
+
internalType: "address",
|
|
256
|
+
name: "tokenOut",
|
|
257
|
+
type: "address",
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
indexed: false,
|
|
261
|
+
internalType: "uint256",
|
|
262
|
+
name: "amountSyToRedeem",
|
|
263
|
+
type: "uint256",
|
|
264
|
+
},
|
|
265
|
+
{
|
|
266
|
+
indexed: false,
|
|
267
|
+
internalType: "uint256",
|
|
268
|
+
name: "amountTokenOut",
|
|
269
|
+
type: "uint256",
|
|
270
|
+
},
|
|
271
|
+
],
|
|
272
|
+
name: "Redeem",
|
|
273
|
+
type: "event",
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
anonymous: false,
|
|
277
|
+
inputs: [
|
|
278
|
+
{
|
|
279
|
+
indexed: true,
|
|
280
|
+
internalType: "address",
|
|
281
|
+
name: "from",
|
|
282
|
+
type: "address",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
indexed: true,
|
|
286
|
+
internalType: "address",
|
|
287
|
+
name: "to",
|
|
288
|
+
type: "address",
|
|
289
|
+
},
|
|
290
|
+
{
|
|
291
|
+
indexed: false,
|
|
292
|
+
internalType: "uint256",
|
|
293
|
+
name: "value",
|
|
294
|
+
type: "uint256",
|
|
295
|
+
},
|
|
296
|
+
],
|
|
297
|
+
name: "Transfer",
|
|
298
|
+
type: "event",
|
|
299
|
+
},
|
|
300
|
+
{
|
|
301
|
+
anonymous: false,
|
|
302
|
+
inputs: [
|
|
303
|
+
{
|
|
304
|
+
indexed: false,
|
|
305
|
+
internalType: "address",
|
|
306
|
+
name: "account",
|
|
307
|
+
type: "address",
|
|
308
|
+
},
|
|
309
|
+
],
|
|
310
|
+
name: "Unpaused",
|
|
311
|
+
type: "event",
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
inputs: [],
|
|
315
|
+
name: "DOMAIN_SEPARATOR",
|
|
316
|
+
outputs: [
|
|
317
|
+
{
|
|
318
|
+
internalType: "bytes32",
|
|
319
|
+
name: "",
|
|
320
|
+
type: "bytes32",
|
|
321
|
+
},
|
|
322
|
+
],
|
|
323
|
+
stateMutability: "view",
|
|
324
|
+
type: "function",
|
|
325
|
+
},
|
|
326
|
+
{
|
|
327
|
+
inputs: [
|
|
328
|
+
{
|
|
329
|
+
internalType: "address",
|
|
330
|
+
name: "",
|
|
331
|
+
type: "address",
|
|
332
|
+
},
|
|
333
|
+
],
|
|
334
|
+
name: "accruedRewards",
|
|
335
|
+
outputs: [
|
|
336
|
+
{
|
|
337
|
+
internalType: "uint256[]",
|
|
338
|
+
name: "rewardAmounts",
|
|
339
|
+
type: "uint256[]",
|
|
340
|
+
},
|
|
341
|
+
],
|
|
342
|
+
stateMutability: "view",
|
|
343
|
+
type: "function",
|
|
344
|
+
},
|
|
345
|
+
{
|
|
346
|
+
inputs: [
|
|
347
|
+
{
|
|
348
|
+
internalType: "address",
|
|
349
|
+
name: "owner",
|
|
350
|
+
type: "address",
|
|
351
|
+
},
|
|
352
|
+
{
|
|
353
|
+
internalType: "address",
|
|
354
|
+
name: "spender",
|
|
355
|
+
type: "address",
|
|
356
|
+
},
|
|
357
|
+
],
|
|
358
|
+
name: "allowance",
|
|
359
|
+
outputs: [
|
|
360
|
+
{
|
|
361
|
+
internalType: "uint256",
|
|
362
|
+
name: "",
|
|
363
|
+
type: "uint256",
|
|
364
|
+
},
|
|
365
|
+
],
|
|
366
|
+
stateMutability: "view",
|
|
367
|
+
type: "function",
|
|
368
|
+
},
|
|
369
|
+
{
|
|
370
|
+
inputs: [
|
|
371
|
+
{
|
|
372
|
+
internalType: "address",
|
|
373
|
+
name: "spender",
|
|
374
|
+
type: "address",
|
|
375
|
+
},
|
|
376
|
+
{
|
|
377
|
+
internalType: "uint256",
|
|
378
|
+
name: "amount",
|
|
379
|
+
type: "uint256",
|
|
380
|
+
},
|
|
381
|
+
],
|
|
382
|
+
name: "approve",
|
|
383
|
+
outputs: [
|
|
384
|
+
{
|
|
385
|
+
internalType: "bool",
|
|
386
|
+
name: "",
|
|
387
|
+
type: "bool",
|
|
388
|
+
},
|
|
389
|
+
],
|
|
390
|
+
stateMutability: "nonpayable",
|
|
391
|
+
type: "function",
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
inputs: [],
|
|
395
|
+
name: "assetInfo",
|
|
396
|
+
outputs: [
|
|
397
|
+
{
|
|
398
|
+
internalType: "enum IStandardizedYield.AssetType",
|
|
399
|
+
name: "assetType",
|
|
400
|
+
type: "uint8",
|
|
401
|
+
},
|
|
402
|
+
{
|
|
403
|
+
internalType: "address",
|
|
404
|
+
name: "assetAddress",
|
|
405
|
+
type: "address",
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
internalType: "uint8",
|
|
409
|
+
name: "assetDecimals",
|
|
410
|
+
type: "uint8",
|
|
411
|
+
},
|
|
412
|
+
],
|
|
413
|
+
stateMutability: "view",
|
|
414
|
+
type: "function",
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
inputs: [
|
|
418
|
+
{
|
|
419
|
+
internalType: "address",
|
|
420
|
+
name: "account",
|
|
421
|
+
type: "address",
|
|
422
|
+
},
|
|
423
|
+
],
|
|
424
|
+
name: "balanceOf",
|
|
425
|
+
outputs: [
|
|
426
|
+
{
|
|
427
|
+
internalType: "uint256",
|
|
428
|
+
name: "",
|
|
429
|
+
type: "uint256",
|
|
430
|
+
},
|
|
431
|
+
],
|
|
432
|
+
stateMutability: "view",
|
|
433
|
+
type: "function",
|
|
434
|
+
},
|
|
435
|
+
{
|
|
436
|
+
inputs: [],
|
|
437
|
+
name: "claimOwnership",
|
|
438
|
+
outputs: [],
|
|
439
|
+
stateMutability: "nonpayable",
|
|
440
|
+
type: "function",
|
|
441
|
+
},
|
|
442
|
+
{
|
|
443
|
+
inputs: [
|
|
444
|
+
{
|
|
445
|
+
internalType: "address",
|
|
446
|
+
name: "",
|
|
447
|
+
type: "address",
|
|
448
|
+
},
|
|
449
|
+
],
|
|
450
|
+
name: "claimRewards",
|
|
451
|
+
outputs: [
|
|
452
|
+
{
|
|
453
|
+
internalType: "uint256[]",
|
|
454
|
+
name: "rewardAmounts",
|
|
455
|
+
type: "uint256[]",
|
|
456
|
+
},
|
|
457
|
+
],
|
|
458
|
+
stateMutability: "nonpayable",
|
|
459
|
+
type: "function",
|
|
460
|
+
},
|
|
461
|
+
{
|
|
462
|
+
inputs: [],
|
|
463
|
+
name: "decimals",
|
|
464
|
+
outputs: [
|
|
465
|
+
{
|
|
466
|
+
internalType: "uint8",
|
|
467
|
+
name: "",
|
|
468
|
+
type: "uint8",
|
|
469
|
+
},
|
|
470
|
+
],
|
|
471
|
+
stateMutability: "view",
|
|
472
|
+
type: "function",
|
|
473
|
+
},
|
|
474
|
+
{
|
|
475
|
+
inputs: [
|
|
476
|
+
{
|
|
477
|
+
internalType: "address",
|
|
478
|
+
name: "receiver",
|
|
479
|
+
type: "address",
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
internalType: "address",
|
|
483
|
+
name: "tokenIn",
|
|
484
|
+
type: "address",
|
|
485
|
+
},
|
|
486
|
+
{
|
|
487
|
+
internalType: "uint256",
|
|
488
|
+
name: "amountTokenToDeposit",
|
|
489
|
+
type: "uint256",
|
|
490
|
+
},
|
|
491
|
+
{
|
|
492
|
+
internalType: "uint256",
|
|
493
|
+
name: "minSharesOut",
|
|
494
|
+
type: "uint256",
|
|
495
|
+
},
|
|
496
|
+
],
|
|
497
|
+
name: "deposit",
|
|
498
|
+
outputs: [
|
|
499
|
+
{
|
|
500
|
+
internalType: "uint256",
|
|
501
|
+
name: "amountSharesOut",
|
|
502
|
+
type: "uint256",
|
|
503
|
+
},
|
|
504
|
+
],
|
|
505
|
+
stateMutability: "payable",
|
|
506
|
+
type: "function",
|
|
507
|
+
},
|
|
508
|
+
{
|
|
509
|
+
inputs: [],
|
|
510
|
+
name: "eip712Domain",
|
|
511
|
+
outputs: [
|
|
512
|
+
{
|
|
513
|
+
internalType: "bytes1",
|
|
514
|
+
name: "fields",
|
|
515
|
+
type: "bytes1",
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
internalType: "string",
|
|
519
|
+
name: "name",
|
|
520
|
+
type: "string",
|
|
521
|
+
},
|
|
522
|
+
{
|
|
523
|
+
internalType: "string",
|
|
524
|
+
name: "version",
|
|
525
|
+
type: "string",
|
|
526
|
+
},
|
|
527
|
+
{
|
|
528
|
+
internalType: "uint256",
|
|
529
|
+
name: "chainId",
|
|
530
|
+
type: "uint256",
|
|
531
|
+
},
|
|
532
|
+
{
|
|
533
|
+
internalType: "address",
|
|
534
|
+
name: "verifyingContract",
|
|
535
|
+
type: "address",
|
|
536
|
+
},
|
|
537
|
+
{
|
|
538
|
+
internalType: "bytes32",
|
|
539
|
+
name: "salt",
|
|
540
|
+
type: "bytes32",
|
|
541
|
+
},
|
|
542
|
+
{
|
|
543
|
+
internalType: "uint256[]",
|
|
544
|
+
name: "extensions",
|
|
545
|
+
type: "uint256[]",
|
|
546
|
+
},
|
|
547
|
+
],
|
|
548
|
+
stateMutability: "view",
|
|
549
|
+
type: "function",
|
|
550
|
+
},
|
|
551
|
+
{
|
|
552
|
+
inputs: [],
|
|
553
|
+
name: "exchangeRate",
|
|
554
|
+
outputs: [
|
|
555
|
+
{
|
|
556
|
+
internalType: "uint256",
|
|
557
|
+
name: "",
|
|
558
|
+
type: "uint256",
|
|
559
|
+
},
|
|
560
|
+
],
|
|
561
|
+
stateMutability: "view",
|
|
562
|
+
type: "function",
|
|
563
|
+
},
|
|
564
|
+
{
|
|
565
|
+
inputs: [],
|
|
566
|
+
name: "getRewardTokens",
|
|
567
|
+
outputs: [
|
|
568
|
+
{
|
|
569
|
+
internalType: "address[]",
|
|
570
|
+
name: "rewardTokens",
|
|
571
|
+
type: "address[]",
|
|
572
|
+
},
|
|
573
|
+
],
|
|
574
|
+
stateMutability: "view",
|
|
575
|
+
type: "function",
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
inputs: [],
|
|
579
|
+
name: "getTokensIn",
|
|
580
|
+
outputs: [
|
|
581
|
+
{
|
|
582
|
+
internalType: "address[]",
|
|
583
|
+
name: "",
|
|
584
|
+
type: "address[]",
|
|
585
|
+
},
|
|
586
|
+
],
|
|
587
|
+
stateMutability: "view",
|
|
588
|
+
type: "function",
|
|
589
|
+
},
|
|
590
|
+
{
|
|
591
|
+
inputs: [],
|
|
592
|
+
name: "getTokensOut",
|
|
593
|
+
outputs: [
|
|
594
|
+
{
|
|
595
|
+
internalType: "address[]",
|
|
596
|
+
name: "",
|
|
597
|
+
type: "address[]",
|
|
598
|
+
},
|
|
599
|
+
],
|
|
600
|
+
stateMutability: "view",
|
|
601
|
+
type: "function",
|
|
602
|
+
},
|
|
603
|
+
{
|
|
604
|
+
inputs: [],
|
|
605
|
+
name: "initialize",
|
|
606
|
+
outputs: [],
|
|
607
|
+
stateMutability: "nonpayable",
|
|
608
|
+
type: "function",
|
|
609
|
+
},
|
|
610
|
+
{
|
|
611
|
+
inputs: [
|
|
612
|
+
{
|
|
613
|
+
internalType: "address",
|
|
614
|
+
name: "token",
|
|
615
|
+
type: "address",
|
|
616
|
+
},
|
|
617
|
+
],
|
|
618
|
+
name: "isValidTokenIn",
|
|
619
|
+
outputs: [
|
|
620
|
+
{
|
|
621
|
+
internalType: "bool",
|
|
622
|
+
name: "",
|
|
623
|
+
type: "bool",
|
|
624
|
+
},
|
|
625
|
+
],
|
|
626
|
+
stateMutability: "view",
|
|
627
|
+
type: "function",
|
|
628
|
+
},
|
|
629
|
+
{
|
|
630
|
+
inputs: [
|
|
631
|
+
{
|
|
632
|
+
internalType: "address",
|
|
633
|
+
name: "token",
|
|
634
|
+
type: "address",
|
|
635
|
+
},
|
|
636
|
+
],
|
|
637
|
+
name: "isValidTokenOut",
|
|
638
|
+
outputs: [
|
|
639
|
+
{
|
|
640
|
+
internalType: "bool",
|
|
641
|
+
name: "",
|
|
642
|
+
type: "bool",
|
|
643
|
+
},
|
|
644
|
+
],
|
|
645
|
+
stateMutability: "view",
|
|
646
|
+
type: "function",
|
|
647
|
+
},
|
|
648
|
+
{
|
|
649
|
+
inputs: [],
|
|
650
|
+
name: "name",
|
|
651
|
+
outputs: [
|
|
652
|
+
{
|
|
653
|
+
internalType: "string",
|
|
654
|
+
name: "",
|
|
655
|
+
type: "string",
|
|
656
|
+
},
|
|
657
|
+
],
|
|
658
|
+
stateMutability: "view",
|
|
659
|
+
type: "function",
|
|
660
|
+
},
|
|
661
|
+
{
|
|
662
|
+
inputs: [
|
|
663
|
+
{
|
|
664
|
+
internalType: "address",
|
|
665
|
+
name: "owner",
|
|
666
|
+
type: "address",
|
|
667
|
+
},
|
|
668
|
+
],
|
|
669
|
+
name: "nonces",
|
|
670
|
+
outputs: [
|
|
671
|
+
{
|
|
672
|
+
internalType: "uint256",
|
|
673
|
+
name: "",
|
|
674
|
+
type: "uint256",
|
|
675
|
+
},
|
|
676
|
+
],
|
|
677
|
+
stateMutability: "view",
|
|
678
|
+
type: "function",
|
|
679
|
+
},
|
|
680
|
+
{
|
|
681
|
+
inputs: [],
|
|
682
|
+
name: "owner",
|
|
683
|
+
outputs: [
|
|
684
|
+
{
|
|
685
|
+
internalType: "address",
|
|
686
|
+
name: "",
|
|
687
|
+
type: "address",
|
|
688
|
+
},
|
|
689
|
+
],
|
|
690
|
+
stateMutability: "view",
|
|
691
|
+
type: "function",
|
|
692
|
+
},
|
|
693
|
+
{
|
|
694
|
+
inputs: [],
|
|
695
|
+
name: "pause",
|
|
696
|
+
outputs: [],
|
|
697
|
+
stateMutability: "nonpayable",
|
|
698
|
+
type: "function",
|
|
699
|
+
},
|
|
700
|
+
{
|
|
701
|
+
inputs: [],
|
|
702
|
+
name: "paused",
|
|
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: "pendingOwner",
|
|
716
|
+
outputs: [
|
|
717
|
+
{
|
|
718
|
+
internalType: "address",
|
|
719
|
+
name: "",
|
|
720
|
+
type: "address",
|
|
721
|
+
},
|
|
722
|
+
],
|
|
723
|
+
stateMutability: "view",
|
|
724
|
+
type: "function",
|
|
725
|
+
},
|
|
726
|
+
{
|
|
727
|
+
inputs: [
|
|
728
|
+
{
|
|
729
|
+
internalType: "address",
|
|
730
|
+
name: "owner",
|
|
731
|
+
type: "address",
|
|
732
|
+
},
|
|
733
|
+
{
|
|
734
|
+
internalType: "address",
|
|
735
|
+
name: "spender",
|
|
736
|
+
type: "address",
|
|
737
|
+
},
|
|
738
|
+
{
|
|
739
|
+
internalType: "uint256",
|
|
740
|
+
name: "value",
|
|
741
|
+
type: "uint256",
|
|
742
|
+
},
|
|
743
|
+
{
|
|
744
|
+
internalType: "uint256",
|
|
745
|
+
name: "deadline",
|
|
746
|
+
type: "uint256",
|
|
747
|
+
},
|
|
748
|
+
{
|
|
749
|
+
internalType: "uint8",
|
|
750
|
+
name: "v",
|
|
751
|
+
type: "uint8",
|
|
752
|
+
},
|
|
753
|
+
{
|
|
754
|
+
internalType: "bytes32",
|
|
755
|
+
name: "r",
|
|
756
|
+
type: "bytes32",
|
|
757
|
+
},
|
|
758
|
+
{
|
|
759
|
+
internalType: "bytes32",
|
|
760
|
+
name: "s",
|
|
761
|
+
type: "bytes32",
|
|
762
|
+
},
|
|
763
|
+
],
|
|
764
|
+
name: "permit",
|
|
765
|
+
outputs: [],
|
|
766
|
+
stateMutability: "nonpayable",
|
|
767
|
+
type: "function",
|
|
768
|
+
},
|
|
769
|
+
{
|
|
770
|
+
inputs: [
|
|
771
|
+
{
|
|
772
|
+
internalType: "address",
|
|
773
|
+
name: "tokenIn",
|
|
774
|
+
type: "address",
|
|
775
|
+
},
|
|
776
|
+
{
|
|
777
|
+
internalType: "uint256",
|
|
778
|
+
name: "amountTokenToDeposit",
|
|
779
|
+
type: "uint256",
|
|
780
|
+
},
|
|
781
|
+
],
|
|
782
|
+
name: "previewDeposit",
|
|
783
|
+
outputs: [
|
|
784
|
+
{
|
|
785
|
+
internalType: "uint256",
|
|
786
|
+
name: "amountSharesOut",
|
|
787
|
+
type: "uint256",
|
|
788
|
+
},
|
|
789
|
+
],
|
|
790
|
+
stateMutability: "view",
|
|
791
|
+
type: "function",
|
|
792
|
+
},
|
|
793
|
+
{
|
|
794
|
+
inputs: [
|
|
795
|
+
{
|
|
796
|
+
internalType: "address",
|
|
797
|
+
name: "tokenOut",
|
|
798
|
+
type: "address",
|
|
799
|
+
},
|
|
800
|
+
{
|
|
801
|
+
internalType: "uint256",
|
|
802
|
+
name: "amountSharesToRedeem",
|
|
803
|
+
type: "uint256",
|
|
804
|
+
},
|
|
805
|
+
],
|
|
806
|
+
name: "previewRedeem",
|
|
807
|
+
outputs: [
|
|
808
|
+
{
|
|
809
|
+
internalType: "uint256",
|
|
810
|
+
name: "amountTokenOut",
|
|
811
|
+
type: "uint256",
|
|
812
|
+
},
|
|
813
|
+
],
|
|
814
|
+
stateMutability: "view",
|
|
815
|
+
type: "function",
|
|
816
|
+
},
|
|
817
|
+
{
|
|
818
|
+
inputs: [
|
|
819
|
+
{
|
|
820
|
+
internalType: "address",
|
|
821
|
+
name: "receiver",
|
|
822
|
+
type: "address",
|
|
823
|
+
},
|
|
824
|
+
{
|
|
825
|
+
internalType: "uint256",
|
|
826
|
+
name: "amountSharesToRedeem",
|
|
827
|
+
type: "uint256",
|
|
828
|
+
},
|
|
829
|
+
{
|
|
830
|
+
internalType: "address",
|
|
831
|
+
name: "tokenOut",
|
|
832
|
+
type: "address",
|
|
833
|
+
},
|
|
834
|
+
{
|
|
835
|
+
internalType: "uint256",
|
|
836
|
+
name: "minTokenOut",
|
|
837
|
+
type: "uint256",
|
|
838
|
+
},
|
|
839
|
+
{
|
|
840
|
+
internalType: "bool",
|
|
841
|
+
name: "burnFromInternalBalance",
|
|
842
|
+
type: "bool",
|
|
843
|
+
},
|
|
844
|
+
],
|
|
845
|
+
name: "redeem",
|
|
846
|
+
outputs: [
|
|
847
|
+
{
|
|
848
|
+
internalType: "uint256",
|
|
849
|
+
name: "amountTokenOut",
|
|
850
|
+
type: "uint256",
|
|
851
|
+
},
|
|
852
|
+
],
|
|
853
|
+
stateMutability: "nonpayable",
|
|
854
|
+
type: "function",
|
|
855
|
+
},
|
|
856
|
+
{
|
|
857
|
+
inputs: [],
|
|
858
|
+
name: "rewardIndexesCurrent",
|
|
859
|
+
outputs: [
|
|
860
|
+
{
|
|
861
|
+
internalType: "uint256[]",
|
|
862
|
+
name: "indexes",
|
|
863
|
+
type: "uint256[]",
|
|
864
|
+
},
|
|
865
|
+
],
|
|
866
|
+
stateMutability: "nonpayable",
|
|
867
|
+
type: "function",
|
|
868
|
+
},
|
|
869
|
+
{
|
|
870
|
+
inputs: [],
|
|
871
|
+
name: "rewardIndexesStored",
|
|
872
|
+
outputs: [
|
|
873
|
+
{
|
|
874
|
+
internalType: "uint256[]",
|
|
875
|
+
name: "indexes",
|
|
876
|
+
type: "uint256[]",
|
|
877
|
+
},
|
|
878
|
+
],
|
|
879
|
+
stateMutability: "view",
|
|
880
|
+
type: "function",
|
|
881
|
+
},
|
|
882
|
+
{
|
|
883
|
+
inputs: [],
|
|
884
|
+
name: "stTAO",
|
|
885
|
+
outputs: [
|
|
886
|
+
{
|
|
887
|
+
internalType: "address",
|
|
888
|
+
name: "",
|
|
889
|
+
type: "address",
|
|
890
|
+
},
|
|
891
|
+
],
|
|
892
|
+
stateMutability: "view",
|
|
893
|
+
type: "function",
|
|
894
|
+
},
|
|
895
|
+
{
|
|
896
|
+
inputs: [],
|
|
897
|
+
name: "symbol",
|
|
898
|
+
outputs: [
|
|
899
|
+
{
|
|
900
|
+
internalType: "string",
|
|
901
|
+
name: "",
|
|
902
|
+
type: "string",
|
|
903
|
+
},
|
|
904
|
+
],
|
|
905
|
+
stateMutability: "view",
|
|
906
|
+
type: "function",
|
|
907
|
+
},
|
|
908
|
+
{
|
|
909
|
+
inputs: [],
|
|
910
|
+
name: "totalSupply",
|
|
911
|
+
outputs: [
|
|
912
|
+
{
|
|
913
|
+
internalType: "uint256",
|
|
914
|
+
name: "",
|
|
915
|
+
type: "uint256",
|
|
916
|
+
},
|
|
917
|
+
],
|
|
918
|
+
stateMutability: "view",
|
|
919
|
+
type: "function",
|
|
920
|
+
},
|
|
921
|
+
{
|
|
922
|
+
inputs: [
|
|
923
|
+
{
|
|
924
|
+
internalType: "address",
|
|
925
|
+
name: "to",
|
|
926
|
+
type: "address",
|
|
927
|
+
},
|
|
928
|
+
{
|
|
929
|
+
internalType: "uint256",
|
|
930
|
+
name: "amount",
|
|
931
|
+
type: "uint256",
|
|
932
|
+
},
|
|
933
|
+
],
|
|
934
|
+
name: "transfer",
|
|
935
|
+
outputs: [
|
|
936
|
+
{
|
|
937
|
+
internalType: "bool",
|
|
938
|
+
name: "",
|
|
939
|
+
type: "bool",
|
|
940
|
+
},
|
|
941
|
+
],
|
|
942
|
+
stateMutability: "nonpayable",
|
|
943
|
+
type: "function",
|
|
944
|
+
},
|
|
945
|
+
{
|
|
946
|
+
inputs: [
|
|
947
|
+
{
|
|
948
|
+
internalType: "address",
|
|
949
|
+
name: "from",
|
|
950
|
+
type: "address",
|
|
951
|
+
},
|
|
952
|
+
{
|
|
953
|
+
internalType: "address",
|
|
954
|
+
name: "to",
|
|
955
|
+
type: "address",
|
|
956
|
+
},
|
|
957
|
+
{
|
|
958
|
+
internalType: "uint256",
|
|
959
|
+
name: "amount",
|
|
960
|
+
type: "uint256",
|
|
961
|
+
},
|
|
962
|
+
],
|
|
963
|
+
name: "transferFrom",
|
|
964
|
+
outputs: [
|
|
965
|
+
{
|
|
966
|
+
internalType: "bool",
|
|
967
|
+
name: "",
|
|
968
|
+
type: "bool",
|
|
969
|
+
},
|
|
970
|
+
],
|
|
971
|
+
stateMutability: "nonpayable",
|
|
972
|
+
type: "function",
|
|
973
|
+
},
|
|
974
|
+
{
|
|
975
|
+
inputs: [
|
|
976
|
+
{
|
|
977
|
+
internalType: "address",
|
|
978
|
+
name: "newOwner",
|
|
979
|
+
type: "address",
|
|
980
|
+
},
|
|
981
|
+
{
|
|
982
|
+
internalType: "bool",
|
|
983
|
+
name: "direct",
|
|
984
|
+
type: "bool",
|
|
985
|
+
},
|
|
986
|
+
{
|
|
987
|
+
internalType: "bool",
|
|
988
|
+
name: "renounce",
|
|
989
|
+
type: "bool",
|
|
990
|
+
},
|
|
991
|
+
],
|
|
992
|
+
name: "transferOwnership",
|
|
993
|
+
outputs: [],
|
|
994
|
+
stateMutability: "nonpayable",
|
|
995
|
+
type: "function",
|
|
996
|
+
},
|
|
997
|
+
{
|
|
998
|
+
inputs: [],
|
|
999
|
+
name: "unpause",
|
|
1000
|
+
outputs: [],
|
|
1001
|
+
stateMutability: "nonpayable",
|
|
1002
|
+
type: "function",
|
|
1003
|
+
},
|
|
1004
|
+
{
|
|
1005
|
+
inputs: [],
|
|
1006
|
+
name: "wTAO",
|
|
1007
|
+
outputs: [
|
|
1008
|
+
{
|
|
1009
|
+
internalType: "address",
|
|
1010
|
+
name: "",
|
|
1011
|
+
type: "address",
|
|
1012
|
+
},
|
|
1013
|
+
],
|
|
1014
|
+
stateMutability: "view",
|
|
1015
|
+
type: "function",
|
|
1016
|
+
},
|
|
1017
|
+
{
|
|
1018
|
+
inputs: [],
|
|
1019
|
+
name: "yieldToken",
|
|
1020
|
+
outputs: [
|
|
1021
|
+
{
|
|
1022
|
+
internalType: "address",
|
|
1023
|
+
name: "",
|
|
1024
|
+
type: "address",
|
|
1025
|
+
},
|
|
1026
|
+
],
|
|
1027
|
+
stateMutability: "view",
|
|
1028
|
+
type: "function",
|
|
1029
|
+
},
|
|
1030
|
+
{
|
|
1031
|
+
stateMutability: "payable",
|
|
1032
|
+
type: "receive",
|
|
1033
|
+
},
|
|
1034
|
+
];
|
|
1035
|
+
|
|
1036
|
+
const _bytecode =
|
|
1037
|
+
"0x6101006040523480156200001257600080fd5b506040516200379538038062003795833981016040819052620000359162000214565b80806001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801562000075573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200009b919062000246565b60ff16608052610134805460ff191690556001600160a01b031660a052620000c262000146565b6001600160a01b03811660c08190526040805163996c6cc360e01b8152905163996c6cc3916004808201926020929091908290030181865afa1580156200010d573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019062000133919062000214565b6001600160a01b031660e052506200026b565b600154600160a81b900460ff1615620001b55760405162461bcd60e51b815260206004820152602760248201527f496e697469616c697a61626c653a20636f6e747261637420697320696e697469604482015266616c697a696e6760c81b606482015260840160405180910390fd5b600154600160a01b900460ff9081161462000212576001805460ff60a01b191660ff60a01b17905560405160ff81527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b565b6000602082840312156200022757600080fd5b81516001600160a01b03811681146200023f57600080fd5b9392505050565b6000602082840312156200025957600080fd5b815160ff811681146200023f57600080fd5b60805160a05160c05160e051613464620003316000396000818161041201528181610a1701528181610f3a015281816110b0015281816110d101526113cc01526000818161031e0152818161076401528181610a3801528181610aeb01528181610db001528181610f5b015281816114070152818161162b01528181611670015281816116ad0152818161171701528181611d9501528181611f2501528181611f670152818161202701526120b30152600061049c0152600061035f01526134646000f3fe6080604052600436106101c45760003560e01c806306fdde03146101d0578063071bc3c9146101fb578063078dfbe71461021d578063095ea7b31461023f578063128fced11461026f57806318160ddd1461029c57806320e8c565146102c4578063213cae63146102d757806323b872dd146102ec5780632ceddfdd1461030c578063313ce5671461034d5780633644e515146103935780633ba0b9a9146103a85780633f4ba83a146103bd5780634e71e0c8146103d25780635c975abb146103e75780636cd2273b1461040057806370a0823114610434578063769f8e5d1461046a57806376d5de851461048a578063784367d6146104be5780637ecebe00146104de5780638129fc1c146104fe5780638456cb591461051357806384b0196e146105285780638da5cb5b1461055057806395d89b4114610570578063a40bee5014610585578063a9059cbb146105a9578063b8f82b26146105c9578063c4f59f9b146105e9578063cbe52ae31461060a578063d505accf1461062a578063da88ecb41461064a578063dd62ed3e1461066b578063e30c39781461068b578063ef5cfb8c1461026f578063f8b2f9911461064a578063fa5a4f06146106ab57600080fd5b366101cb57005b600080fd5b3480156101dc57600080fd5b506101e56106cb565b6040516101f29190612c66565b60405180910390f35b34801561020757600080fd5b5061021061075d565b6040516101f29190612c79565b34801561022957600080fd5b5061023d610238366004612cf0565b61078d565b005b34801561024b57600080fd5b5061025f61025a366004612d39565b610892565b60405190151581526020016101f2565b34801561027b57600080fd5b5061028f61028a366004612d63565b6108ac565b6040516101f29190612dba565b3480156102a857600080fd5b506004546001600160f81b03165b6040519081526020016101f2565b6102b66102d2366004612dcd565b6108c7565b3480156102e357600080fd5b50610210610a10565b3480156102f857600080fd5b5061025f610307366004612e0f565b610a5c565b34801561031857600080fd5b506103407f000000000000000000000000000000000000000000000000000000000000000081565b6040516101f29190612e4b565b34801561035957600080fd5b506103817f000000000000000000000000000000000000000000000000000000000000000081565b60405160ff90911681526020016101f2565b34801561039f57600080fd5b506102b6610ada565b3480156103b457600080fd5b506102b6610ae4565b3480156103c957600080fd5b5061023d610b7a565b3480156103de57600080fd5b5061023d610bae565b3480156103f357600080fd5b506101345460ff1661025f565b34801561040c57600080fd5b506103407f000000000000000000000000000000000000000000000000000000000000000081565b34801561044057600080fd5b506102b661044f366004612d63565b6001600160a01b031660009081526002602052604090205490565b34801561047657600080fd5b506102b6610485366004612e5f565b610c59565b34801561049657600080fd5b506103407f000000000000000000000000000000000000000000000000000000000000000081565b3480156104ca57600080fd5b5061025f6104d9366004612d63565b610dae565b3480156104ea57600080fd5b506102b66104f9366004612d63565b610de0565b34801561050a57600080fd5b5061023d610dfe565b34801561051f57600080fd5b5061023d610fc9565b34801561053457600080fd5b5061053d610ffb565b6040516101f29796959493929190612eba565b34801561055c57600080fd5b50600054610340906001600160a01b031681565b34801561057c57600080fd5b506101e5611099565b34801561059157600080fd5b5061059a6110a8565b6040516101f293929190612f40565b3480156105b557600080fd5b5061025f6105c4366004612d39565b61115c565b3480156105d557600080fd5b506102b66105e4366004612d39565b6111ce565b3480156105f557600080fd5b50604080516000815260208101909152610210565b34801561061657600080fd5b506102b6610625366004612d39565b611209565b34801561063657600080fd5b5061023d610645366004612f91565b611239565b34801561065657600080fd5b5060408051600081526020810190915261028f565b34801561067757600080fd5b506102b6610686366004612ffe565b61139d565b34801561069757600080fd5b50600154610340906001600160a01b031681565b3480156106b757600080fd5b5061025f6106c6366004612d63565b6113c8565b6060600580546106da90613031565b80601f016020809104026020016040519081016040528092919081815260200182805461070690613031565b80156107535780601f1061072857610100808354040283529160200191610753565b820191906000526020600020905b81548152906001019060200180831161073657829003601f168201915b5050505050905090565b60606107887f0000000000000000000000000000000000000000000000000000000000000000611440565b905090565b6000546001600160a01b031633146107c05760405162461bcd60e51b81526004016107b790613065565b60405180910390fd5b8115610871576001600160a01b0383161515806107da5750805b61081e5760405162461bcd60e51b81526020600482015260156024820152744f776e61626c653a207a65726f206164647265737360581b60448201526064016107b7565b600080546040516001600160a01b03808716939216916000805160206133ef83398151915291a3600080546001600160a01b0385166001600160a01b031991821617909155600180549091169055505050565b600180546001600160a01b0319166001600160a01b0385161790555b505050565b6000336108a081858561149b565b60019150505b92915050565b604080516000808252602082019092526060915b5092915050565b600454600090600119600160f81b90910460ff16016108f85760405162461bcd60e51b81526004016107b7906130b0565b600480546001600160f81b0316600160f91b179055610916846113c8565b61093557836040516315d57ce360e31b81526004016107b79190612e4b565b8260000361095657604051630a907f2f60e41b815260040160405180910390fd5b6109618433856115c0565b61096b8484611627565b905081811015610992578082604051635e38f95d60e11b81526004016107b79291906130e7565b61099c858261174d565b836001600160a01b0316856001600160a01b0316336001600160a01b03167f5fe47ed6d4225326d3303476197d782ded5a4e9c14f479dc9ec4992af4e85d5986856040516109eb9291906130e7565b60405180910390a4600480546001600160f81b0316600160f81b179055949350505050565b60606107887f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611865565b600454600090600119600160f81b90910460ff1601610a8d5760405162461bcd60e51b81526004016107b7906130b0565b600480546001600160f81b0316600160f91b17905533610aae8582856118f3565b610ab985858561196d565b6001915050600480546001600160f81b0316600160f81b1790559392505050565b6000610788611b8f565b60006107887f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316633ba0b9a96040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b47573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b6b91906130f5565b670de0b6b3a764000090611b99565b6000546001600160a01b03163314610ba45760405162461bcd60e51b81526004016107b790613065565b610bac611bc8565b565b6001546001600160a01b0316338114610c095760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c657220213d2070656e64696e67206f776e657260448201526064016107b7565b600080546040516001600160a01b03808516939216916000805160206133ef83398151915291a3600080546001600160a01b039092166001600160a01b0319928316179055600180549091169055565b600454600090600119600160f81b90910460ff1601610c8a5760405162461bcd60e51b81526004016107b7906130b0565b600480546001600160f81b0316600160f91b179055610ca884610dae565b610cc757836040516388a5056160e01b81526004016107b79190612e4b565b84600003610ce85760405163c3d83b0760e01b815260040160405180910390fd5b8115610cfd57610cf83086611c15565b610d07565b610d073386611c15565b610d12868587611d8e565b905082811015610d395780836040516305ff726560e51b81526004016107b79291906130e7565b836001600160a01b0316866001600160a01b0316336001600160a01b03167faee47cdf925cf525fdae94f9777ee5a06cac37e1c41220d0a8a89ed154f62d1c8885604051610d889291906130e7565b60405180910390a4600480546001600160f81b0316600160f81b17905595945050505050565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0390811691161490565b6001600160a01b0381166000908152609f60205260408120546108a6565b600154600160a81b900460ff1615808015610e24575060018054600160a01b900460ff16105b80610e4b5750610e3330611dbb565b158015610e4b575060018054600160a01b900460ff16145b610eae5760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b60648201526084016107b7565b6001805460ff60a01b1916600160a01b1790558015610edb576001805460ff60a81b1916600160a81b1790555b610f356040518060400160405280601881526020017753592054656e736f72706c6578205374616b65642054414f60401b8152506040518060400160405280600881526020016753592d737454414f60c01b815250611dca565b610f7f7f00000000000000000000000000000000000000000000000000000000000000007f0000000000000000000000000000000000000000000000000000000000000000611e05565b8015610fc6576001805460ff60a81b191681556040519081527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15b50565b6000546001600160a01b03163314610ff35760405162461bcd60e51b81526004016107b790613065565b610bac611ec5565b600060608060008060006060606b546000801b14801561101b5750606c54155b61105f5760405162461bcd60e51b81526020600482015260156024820152741152540dcc4c8e88155b9a5b9a5d1a585b1a5e9959605a1b60448201526064016107b7565b611067611f03565b61106f611f12565b60408051600080825260208201909252600f60f81b9b939a50919850469750309650945092509050565b6060600680546106da90613031565b6000806000807f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663313ce5676040518163ffffffff1660e01b8152600401602060405180830381865afa15801561112d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611151919061310e565b925092509250909192565b600454600090600119600160f81b90910460ff160161118d5760405162461bcd60e51b81526004016107b7906130b0565b600480546001600160f81b0316600160f91b179055336111ae81858561196d565b6001915050600480546001600160f81b0316600160f81b17905592915050565b60006111d9836113c8565b6111f857826040516315d57ce360e31b81526004016107b79190612e4b565b6112028383611f21565b9392505050565b600061121483610dae565b61123357826040516388a5056160e01b81526004016107b79190612e4b565b81611202565b834211156112895760405162461bcd60e51b815260206004820152601d60248201527f45524332305065726d69743a206578706972656420646561646c696e6500000060448201526064016107b7565b60007f6e71edae12b1b97f4d1f60370fef10105fa2faae0126114a169c64845d6126c98888886112b88c61212f565b6040805160208101969096526001600160a01b0394851690860152929091166060840152608083015260a082015260c0810186905260e001604051602081830303815290604052805190602001209050600061131382612157565b9050600061132382878787612184565b9050896001600160a01b0316816001600160a01b0316146113865760405162461bcd60e51b815260206004820152601e60248201527f45524332305065726d69743a20696e76616c6964207369676e6174757265000060448201526064016107b7565b6113918a8a8a61149b565b50505050505050505050565b6001600160a01b03918216600090815260036020908152604080832093909416825291909152205490565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806108a657507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6040805160018082528183019092526060916020808301908036833701905050905081816000815181106114765761147661312b565b60200260200101906001600160a01b031690816001600160a01b031681525050919050565b6001600160a01b0383166114fd5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b60648201526084016107b7565b6001600160a01b03821661155e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b60648201526084016107b7565b6001600160a01b0383811660008181526003602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b03831661160c5780341461088d5760405162461bcd60e51b815260206004820152600c60248201526b0cae8d040dad2e6dac2e8c6d60a31b60448201526064016107b7565b801561088d5761088d6001600160a01b0384168330846121ac565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b0316036116695750806108a6565b60006116947f0000000000000000000000000000000000000000000000000000000000000000612217565b604051630ea598cb60e41b8152600481018590529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063ea598cb090602401600060405180830381600087803b1580156116f957600080fd5b505af115801561170d573d6000803e3d6000fd5b505050508061173b7f0000000000000000000000000000000000000000000000000000000000000000612217565b6117459190613157565b949350505050565b6001600160a01b0382166117a35760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f20616464726573730060448201526064016107b7565b6117af600083836122a1565b6117b8816122a9565b600480546000906117d39084906001600160f81b031661316a565b92506101000a8154816001600160f81b0302191690836001600160f81b031602179055508060026000846001600160a01b03166001600160a01b03168152602001908152602001600020600082825461182c919061318a565b90915550506040518181526001600160a01b0383169060009060008051602061340f8339815191529060200160405180910390a35b5050565b604080516002808252606080830184529260208301908036833701905050905082816000815181106118995761189961312b565b60200260200101906001600160a01b031690816001600160a01b03168152505081816001815181106118cd576118cd61312b565b60200260200101906001600160a01b031690816001600160a01b03168152505092915050565b60006118ff848461139d565b90506000198114611967578181101561195a5760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e636500000060448201526064016107b7565b611967848484840361149b565b50505050565b6001600160a01b0383166119d15760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b60648201526084016107b7565b6001600160a01b038216611a335760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b60648201526084016107b7565b816001600160a01b0316836001600160a01b031603611a8e5760405162461bcd60e51b815260206004820152601760248201527622a92199181d103a3930b739b332b9103a379039b2b63360491b60448201526064016107b7565b611a998383836122a1565b6001600160a01b03831660009081526002602052604090205481811015611b115760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b60648201526084016107b7565b6001600160a01b03808516600090815260026020526040808220858503905591851681529081208054849290611b4890849061318a565b92505081905550826001600160a01b0316846001600160a01b031660008051602061340f83398151915284604051611b8291815260200190565b60405180910390a3611967565b60006107886122c3565b600080611bae670de0b6b3a76400008561319d565b9050828181611bbf57611bbf6131b4565b04949350505050565b611bd0612337565b610134805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b604051611c0b9190612e4b565b60405180910390a1565b6001600160a01b038216611c755760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b60648201526084016107b7565b611c81826000836122a1565b6001600160a01b03821660009081526002602052604090205481811015611cf55760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b60648201526084016107b7565b6001600160a01b03831660009081526002602052604090208282039055611d1b826122a9565b60048054600090611d369084906001600160f81b03166131ca565b92506101000a8154816001600160f81b0302191690836001600160f81b0316021790555060006001600160a01b0316836001600160a01b031660008051602061340f833981519152846040516115b391815260200190565b60006108c07f00000000000000000000000000000000000000000000000000000000000000008584612381565b6001600160a01b03163b151590565b600154600160a81b900460ff16611df35760405162461bcd60e51b81526004016107b7906131ea565b611dfd8282612445565b61186161249b565b6001600160a01b038216611e17575050565b611e2960026001600160601b03613235565b604051636eb1769f60e11b81523060048201526001600160a01b0383811660248301526001600160601b03929092169184169063dd62ed3e90604401602060405180830381865afa158015611e82573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611ea691906130f5565b101561186157611eb8828260006124d8565b61186182826000196124d8565b611ecd6125ec565b610134805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258611bfe3390565b6060606d80546106da90613031565b6060606e80546106da90613031565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031603611f635750806108a6565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316630e2388946040518163ffffffff1660e01b8152600401602060405180830381865afa158015611fc3573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190611fe791906130f5565b90508083111561200e578281604051635d2ccaf760e11b81526004016107b79291906130e7565b60405163e6c8a5f360e01b8152600481018490526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03169063e6c8a5f3906024016040805180830381865afa158015612075573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906120999190613269565b50604051632722741560e11b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634e44e82a90602401602060405180830381865afa158015612102573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061212691906130f5565b95945050505050565b6001600160a01b0381166000908152609f602052604090208054600181018255905b50919050565b60006108a6612164611b8f565b8360405161190160f01b8152600281019290925260228201526042902090565b600080600061219587878787612633565b915091506121a2816126ed565b5095945050505050565b6040516001600160a01b03808516602483015283166044820152606481018290526119679085906323b872dd60e01b906084015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152612832565b60006001600160a01b0382161561229a576040516370a0823160e01b81526001600160a01b038316906370a0823190612254903090600401612e4b565b602060405180830381865afa158015612271573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061229591906130f5565b6108a6565b4792915050565b61088d6125ec565b60006001600160f81b038211156122bf57600080fd5b5090565b60007f8b73c3c69bb8fe3d512ecc4cf759cc79239f7b179b0ffacaa9a75d522b39400f6122ee612907565b6122f6612960565b60408051602081019490945283019190915260608201524660808201523060a082015260c00160405160208183030381529060405280519060200120905090565b6101345460ff16610bac5760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016107b7565b8060000361238e57505050565b6001600160a01b038316612431576000826001600160a01b03168260405160006040518083038185875af1925050503d80600081146123e9576040519150601f19603f3d011682016040523d82523d6000602084013e6123ee565b606091505b50509050806119675760405162461bcd60e51b815260206004820152600f60248201526e195d1a081cd95b990819985a5b1959608a1b60448201526064016107b7565b61088d6001600160a01b0384168383612991565b600154600160a81b900460ff1661246e5760405162461bcd60e51b81526004016107b7906131ea565b61247882826129b0565b61186182604051806040016040528060018152602001603160f81b815250612a0c565b600154600160a81b900460ff166124c45760405162461bcd60e51b81526004016107b7906131ea565b600080546001600160a01b03191633179055565b600080846001600160a01b031663095ea7b360e01b858560405160240161250092919061328d565b60408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990941693909317909252905161253e91906132a6565b6000604051808303816000865af19150503d806000811461257b576040519150601f19603f3d011682016040523d82523d6000602084013e612580565b606091505b50915091508180156125aa5750805115806125aa5750808060200190518101906125aa91906132c2565b6125e55760405162461bcd60e51b815260206004820152600c60248201526b5361666520417070726f766560a01b60448201526064016107b7565b5050505050565b6101345460ff1615610bac5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016107b7565b6000806fa2a8918ca85bafe22016d0b997e4df60600160ff1b0383111561266057506000905060036126e4565b6040805160008082526020820180845289905260ff881692820192909252606081018690526080810185905260019060a0016020604051602081039080840390855afa1580156126b4573d6000803e3d6000fd5b5050604051601f1901519150506001600160a01b0381166126dd576000600192509250506126e4565b9150600090505b94509492505050565b600081600481111561270157612701612f2a565b036127095750565b600181600481111561271d5761271d612f2a565b036127655760405162461bcd60e51b815260206004820152601860248201527745434453413a20696e76616c6964207369676e617475726560401b60448201526064016107b7565b600281600481111561277957612779612f2a565b036127c65760405162461bcd60e51b815260206004820152601f60248201527f45434453413a20696e76616c6964207369676e6174757265206c656e6774680060448201526064016107b7565b60038160048111156127da576127da612f2a565b03610fc65760405162461bcd60e51b815260206004820152602260248201527f45434453413a20696e76616c6964207369676e6174757265202773272076616c604482015261756560f01b60648201526084016107b7565b6000612887826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316612a3f9092919063ffffffff16565b90508051600014806128a85750808060200190518101906128a891906132c2565b61088d5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016107b7565b600080612912611f03565b805190915015612929578051602090910120919050565b606b5480156129385792915050565b7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a4709250505090565b60008061296b611f12565b805190915015612982578051602090910120919050565b606c5480156129385792915050565b61088d8363a9059cbb60e01b84846040516024016121e092919061328d565b600154600160a81b900460ff166129d95760405162461bcd60e51b81526004016107b7906131ea565b60056129e5838261332f565b5060066129f2828261332f565b5050600480546001600160f81b0316600160f81b17905550565b600154600160a81b900460ff16612a355760405162461bcd60e51b81526004016107b7906131ea565b6118618282612a4e565b60606117458484600085612a9f565b600154600160a81b900460ff16612a775760405162461bcd60e51b81526004016107b7906131ea565b606d612a83838261332f565b50606e612a90828261332f565b50506000606b819055606c5550565b606082471015612b005760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016107b7565b600080866001600160a01b03168587604051612b1c91906132a6565b60006040518083038185875af1925050503d8060008114612b59576040519150601f19603f3d011682016040523d82523d6000602084013e612b5e565b606091505b5091509150612b6f87838387612b7a565b979650505050505050565b60608315612be7578251600003612be057612b9485611dbb565b612be05760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016107b7565b5081611745565b6117458383815115612bfc5781518083602001fd5b8060405162461bcd60e51b81526004016107b79190612c66565b60005b83811015612c31578181015183820152602001612c19565b50506000910152565b60008151808452612c52816020860160208601612c16565b601f01601f19169290920160200192915050565b6020815260006112026020830184612c3a565b6020808252825182820181905260009190848201906040850190845b81811015612cba5783516001600160a01b031683529284019291840191600101612c95565b50909695505050505050565b80356001600160a01b0381168114612cdd57600080fd5b919050565b8015158114610fc657600080fd5b600080600060608486031215612d0557600080fd5b612d0e84612cc6565b92506020840135612d1e81612ce2565b91506040840135612d2e81612ce2565b809150509250925092565b60008060408385031215612d4c57600080fd5b612d5583612cc6565b946020939093013593505050565b600060208284031215612d7557600080fd5b61120282612cc6565b60008151808452602080850194506020840160005b83811015612daf57815187529582019590820190600101612d93565b509495945050505050565b6020815260006112026020830184612d7e565b60008060008060808587031215612de357600080fd5b612dec85612cc6565b9350612dfa60208601612cc6565b93969395505050506040820135916060013590565b600080600060608486031215612e2457600080fd5b612e2d84612cc6565b9250612e3b60208501612cc6565b9150604084013590509250925092565b6001600160a01b0391909116815260200190565b600080600080600060a08688031215612e7757600080fd5b612e8086612cc6565b945060208601359350612e9560408701612cc6565b9250606086013591506080860135612eac81612ce2565b809150509295509295909350565b60ff60f81b8816815260e060208201526000612ed960e0830189612c3a565b8281036040840152612eeb8189612c3a565b606084018890526001600160a01b038716608085015260a0840186905283810360c08501529050612f1c8185612d7e565b9a9950505050505050505050565b634e487b7160e01b600052602160045260246000fd5b6060810160028510612f6257634e487b7160e01b600052602160045260246000fd5b9381526001600160a01b0392909216602083015260ff1660409091015290565b60ff81168114610fc657600080fd5b600080600080600080600060e0888a031215612fac57600080fd5b612fb588612cc6565b9650612fc360208901612cc6565b955060408801359450606088013593506080880135612fe181612f82565b9699959850939692959460a0840135945060c09093013592915050565b6000806040838503121561301157600080fd5b61301a83612cc6565b915061302860208401612cc6565b90509250929050565b600181811c9082168061304557607f821691505b60208210810361215157634e487b7160e01b600052602260045260246000fd5b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fd5b6020808252601f908201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00604082015260600190565b918252602082015260400190565b60006020828403121561310757600080fd5b5051919050565b60006020828403121561312057600080fd5b815161120281612f82565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b818103818111156108a6576108a6613141565b6001600160f81b038181168382160190808211156108c0576108c0613141565b808201808211156108a6576108a6613141565b80820281158282048414176108a6576108a6613141565b634e487b7160e01b600052601260045260246000fd5b6001600160f81b038281168282160390808211156108c0576108c0613141565b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b60006001600160601b038381168061325d57634e487b7160e01b600052601260045260246000fd5b92169190910492915050565b6000806040838503121561327c57600080fd5b505080516020909101519092909150565b6001600160a01b03929092168252602082015260400190565b600082516132b8818460208701612c16565b9190910192915050565b6000602082840312156132d457600080fd5b815161120281612ce2565b601f82111561088d576000816000526020600020601f850160051c810160208610156133085750805b601f850160051c820191505b8181101561332757828155600101613314565b505050505050565b81516001600160401b038111156133485761334861309a565b61335c816133568454613031565b846132df565b602080601f83116001811461339157600084156133795750858301515b600019600386901b1c1916600185901b178555613327565b600085815260208120601f198616915b828110156133c0578886015182559484019460019091019084016133a1565b50858210156133de5787850151600019600388901b60f8161c191681555b5050505050600190811b0190555056fe8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa264697066735822122078567eba1917c5df14eb177afc63b1c4b8440bb186600f3fbf5153277c604aea64736f6c63430008170033";
|
|
1038
|
+
|
|
1039
|
+
type PendleStTAOSYConstructorParams =
|
|
1040
|
+
| [signer?: Signer]
|
|
1041
|
+
| ConstructorParameters<typeof ContractFactory>;
|
|
1042
|
+
|
|
1043
|
+
const isSuperArgs = (
|
|
1044
|
+
xs: PendleStTAOSYConstructorParams
|
|
1045
|
+
): xs is ConstructorParameters<typeof ContractFactory> => xs.length > 1;
|
|
1046
|
+
|
|
1047
|
+
export class PendleStTAOSY__factory extends ContractFactory {
|
|
1048
|
+
constructor(...args: PendleStTAOSYConstructorParams) {
|
|
1049
|
+
if (isSuperArgs(args)) {
|
|
1050
|
+
super(...args);
|
|
1051
|
+
} else {
|
|
1052
|
+
super(_abi, _bytecode, args[0]);
|
|
1053
|
+
}
|
|
1054
|
+
this.contractName = "PendleStTAOSY";
|
|
1055
|
+
}
|
|
1056
|
+
|
|
1057
|
+
deploy(
|
|
1058
|
+
_stTAO: string,
|
|
1059
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1060
|
+
): Promise<PendleStTAOSY> {
|
|
1061
|
+
return super.deploy(_stTAO, overrides || {}) as Promise<PendleStTAOSY>;
|
|
1062
|
+
}
|
|
1063
|
+
getDeployTransaction(
|
|
1064
|
+
_stTAO: string,
|
|
1065
|
+
overrides?: Overrides & { from?: string | Promise<string> }
|
|
1066
|
+
): TransactionRequest {
|
|
1067
|
+
return super.getDeployTransaction(_stTAO, overrides || {});
|
|
1068
|
+
}
|
|
1069
|
+
attach(address: string): PendleStTAOSY {
|
|
1070
|
+
return super.attach(address) as PendleStTAOSY;
|
|
1071
|
+
}
|
|
1072
|
+
connect(signer: Signer): PendleStTAOSY__factory {
|
|
1073
|
+
return super.connect(signer) as PendleStTAOSY__factory;
|
|
1074
|
+
}
|
|
1075
|
+
static readonly contractName: "PendleStTAOSY";
|
|
1076
|
+
public readonly contractName: "PendleStTAOSY";
|
|
1077
|
+
static readonly bytecode = _bytecode;
|
|
1078
|
+
static readonly abi = _abi;
|
|
1079
|
+
static createInterface(): PendleStTAOSYInterface {
|
|
1080
|
+
return new utils.Interface(_abi) as PendleStTAOSYInterface;
|
|
1081
|
+
}
|
|
1082
|
+
static connect(
|
|
1083
|
+
address: string,
|
|
1084
|
+
signerOrProvider: Signer | Provider
|
|
1085
|
+
): PendleStTAOSY {
|
|
1086
|
+
return new Contract(address, _abi, signerOrProvider) as PendleStTAOSY;
|
|
1087
|
+
}
|
|
1088
|
+
}
|