@pendle/core-v2 0.2.0 → 0.2.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/contracts/core/PendleBaseToken.sol +0 -4
- package/contracts/core/PendleMarket.sol +4 -7
- package/contracts/core/PendleMarketFactory.sol +2 -2
- package/contracts/core/PendleOwnershipToken.sol +0 -2
- package/contracts/core/router/PendleRouterProxy.sol +15 -1
- package/contracts/core/router/PendleRouterStatic.sol +82 -0
- package/contracts/core/router/PendleRouterYTUpg.sol +2 -1
- package/contracts/interfaces/IPRouterStatic.sol +35 -0
- package/contracts/libraries/math/FixedPoint.sol +4 -7
- package/contracts/libraries/math/LogExpMath.sol +377 -365
- package/contracts/libraries/math/MarketMathLib.sol +25 -17
- package/package.json +1 -1
- package/typechain-types/IPRouterStatic.ts +307 -0
- package/typechain-types/IPRouterView.ts +307 -0
- package/typechain-types/PendleBaseToken.ts +0 -30
- package/typechain-types/PendleMarket.ts +19 -46
- package/typechain-types/PendleMarketFactory.ts +5 -5
- package/typechain-types/PendleOwnershipToken.ts +0 -30
- package/typechain-types/PendleRouterProxy.ts +21 -0
- package/typechain-types/PendleRouterStaticUpg.ts +307 -0
- package/typechain-types/PendleRouterViewUpg.ts +307 -0
- package/typechain-types/PendleYieldToken.ts +0 -30
- package/typechain-types/factories/IPRouterStatic__factory.ts +190 -0
- package/typechain-types/factories/IPRouterView__factory.ts +187 -0
- package/typechain-types/factories/PendleAaveV3SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleBaseToken__factory.ts +0 -38
- package/typechain-types/factories/PendleBenQiErc20SCY__factory.ts +1 -1
- package/typechain-types/factories/PendleBtrflyScy__factory.ts +1 -1
- package/typechain-types/factories/PendleMarketFactory__factory.ts +2 -2
- package/typechain-types/factories/PendleMarket__factory.ts +19 -57
- package/typechain-types/factories/PendleOwnershipToken__factory.ts +1 -39
- package/typechain-types/factories/PendleRouterCoreUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleRouterProxy__factory.ts +23 -1
- package/typechain-types/factories/PendleRouterStaticUpg__factory.ts +269 -0
- package/typechain-types/factories/PendleRouterViewUpg__factory.ts +265 -0
- package/typechain-types/factories/PendleRouterYTUpg__factory.ts +1 -1
- package/typechain-types/factories/PendleYearnVaultScy__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldContractFactory__factory.ts +1 -1
- package/typechain-types/factories/PendleYieldToken__factory.ts +1 -39
- package/typechain-types/hardhat.d.ts +18 -0
- package/typechain-types/index.ts +4 -0
|
@@ -253,14 +253,10 @@ export interface PendleYieldTokenInterface extends utils.Interface {
|
|
|
253
253
|
|
|
254
254
|
events: {
|
|
255
255
|
"Approval(address,address,uint256)": EventFragment;
|
|
256
|
-
"Burn(address,uint256)": EventFragment;
|
|
257
|
-
"Mint(address,uint256)": EventFragment;
|
|
258
256
|
"Transfer(address,address,uint256)": EventFragment;
|
|
259
257
|
};
|
|
260
258
|
|
|
261
259
|
getEvent(nameOrSignatureOrTopic: "Approval"): EventFragment;
|
|
262
|
-
getEvent(nameOrSignatureOrTopic: "Burn"): EventFragment;
|
|
263
|
-
getEvent(nameOrSignatureOrTopic: "Mint"): EventFragment;
|
|
264
260
|
getEvent(nameOrSignatureOrTopic: "Transfer"): EventFragment;
|
|
265
261
|
}
|
|
266
262
|
|
|
@@ -271,20 +267,6 @@ export type ApprovalEvent = TypedEvent<
|
|
|
271
267
|
|
|
272
268
|
export type ApprovalEventFilter = TypedEventFilter<ApprovalEvent>;
|
|
273
269
|
|
|
274
|
-
export type BurnEvent = TypedEvent<
|
|
275
|
-
[string, BigNumber],
|
|
276
|
-
{ user: string; amount: BigNumber }
|
|
277
|
-
>;
|
|
278
|
-
|
|
279
|
-
export type BurnEventFilter = TypedEventFilter<BurnEvent>;
|
|
280
|
-
|
|
281
|
-
export type MintEvent = TypedEvent<
|
|
282
|
-
[string, BigNumber],
|
|
283
|
-
{ user: string; amount: BigNumber }
|
|
284
|
-
>;
|
|
285
|
-
|
|
286
|
-
export type MintEventFilter = TypedEventFilter<MintEvent>;
|
|
287
|
-
|
|
288
270
|
export type TransferEvent = TypedEvent<
|
|
289
271
|
[string, string, BigNumber],
|
|
290
272
|
{ from: string; to: string; value: BigNumber }
|
|
@@ -740,18 +722,6 @@ export interface PendleYieldToken extends BaseContract {
|
|
|
740
722
|
value?: null
|
|
741
723
|
): ApprovalEventFilter;
|
|
742
724
|
|
|
743
|
-
"Burn(address,uint256)"(
|
|
744
|
-
user?: string | null,
|
|
745
|
-
amount?: null
|
|
746
|
-
): BurnEventFilter;
|
|
747
|
-
Burn(user?: string | null, amount?: null): BurnEventFilter;
|
|
748
|
-
|
|
749
|
-
"Mint(address,uint256)"(
|
|
750
|
-
user?: string | null,
|
|
751
|
-
amount?: null
|
|
752
|
-
): MintEventFilter;
|
|
753
|
-
Mint(user?: string | null, amount?: null): MintEventFilter;
|
|
754
|
-
|
|
755
725
|
"Transfer(address,address,uint256)"(
|
|
756
726
|
from?: string | null,
|
|
757
727
|
to?: string | null,
|
|
@@ -0,0 +1,190 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type {
|
|
8
|
+
IPRouterStatic,
|
|
9
|
+
IPRouterStaticInterface,
|
|
10
|
+
} from "../IPRouterStatic";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "address",
|
|
17
|
+
name: "market",
|
|
18
|
+
type: "address",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "uint256",
|
|
22
|
+
name: "scyDesired",
|
|
23
|
+
type: "uint256",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "uint256",
|
|
27
|
+
name: "otDesired",
|
|
28
|
+
type: "uint256",
|
|
29
|
+
},
|
|
30
|
+
],
|
|
31
|
+
name: "addLiquidityStatic",
|
|
32
|
+
outputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
name: "netLpOut",
|
|
36
|
+
type: "uint256",
|
|
37
|
+
},
|
|
38
|
+
{
|
|
39
|
+
internalType: "uint256",
|
|
40
|
+
name: "scyUsed",
|
|
41
|
+
type: "uint256",
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "otUsed",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "nonpayable",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [
|
|
54
|
+
{
|
|
55
|
+
internalType: "address",
|
|
56
|
+
name: "market",
|
|
57
|
+
type: "address",
|
|
58
|
+
},
|
|
59
|
+
],
|
|
60
|
+
name: "getOtImpliedYield",
|
|
61
|
+
outputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "int256",
|
|
64
|
+
name: "",
|
|
65
|
+
type: "int256",
|
|
66
|
+
},
|
|
67
|
+
],
|
|
68
|
+
stateMutability: "view",
|
|
69
|
+
type: "function",
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
inputs: [
|
|
73
|
+
{
|
|
74
|
+
internalType: "address",
|
|
75
|
+
name: "market",
|
|
76
|
+
type: "address",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
internalType: "uint256",
|
|
80
|
+
name: "lpToRemove",
|
|
81
|
+
type: "uint256",
|
|
82
|
+
},
|
|
83
|
+
],
|
|
84
|
+
name: "removeLiquidityStatic",
|
|
85
|
+
outputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "uint256",
|
|
88
|
+
name: "netScyOut",
|
|
89
|
+
type: "uint256",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
internalType: "uint256",
|
|
93
|
+
name: "netOtOut",
|
|
94
|
+
type: "uint256",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
stateMutability: "view",
|
|
98
|
+
type: "function",
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
inputs: [
|
|
102
|
+
{
|
|
103
|
+
internalType: "address",
|
|
104
|
+
name: "market",
|
|
105
|
+
type: "address",
|
|
106
|
+
},
|
|
107
|
+
],
|
|
108
|
+
name: "scyIndex",
|
|
109
|
+
outputs: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "SCYIndex",
|
|
112
|
+
name: "index",
|
|
113
|
+
type: "uint256",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
stateMutability: "nonpayable",
|
|
117
|
+
type: "function",
|
|
118
|
+
},
|
|
119
|
+
{
|
|
120
|
+
inputs: [
|
|
121
|
+
{
|
|
122
|
+
internalType: "address",
|
|
123
|
+
name: "market",
|
|
124
|
+
type: "address",
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
internalType: "uint256",
|
|
128
|
+
name: "exactOtIn",
|
|
129
|
+
type: "uint256",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
name: "swapOtForScyStatic",
|
|
133
|
+
outputs: [
|
|
134
|
+
{
|
|
135
|
+
internalType: "uint256",
|
|
136
|
+
name: "netScyOut",
|
|
137
|
+
type: "uint256",
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
internalType: "uint256",
|
|
141
|
+
name: "netScyFee",
|
|
142
|
+
type: "uint256",
|
|
143
|
+
},
|
|
144
|
+
],
|
|
145
|
+
stateMutability: "nonpayable",
|
|
146
|
+
type: "function",
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
inputs: [
|
|
150
|
+
{
|
|
151
|
+
internalType: "address",
|
|
152
|
+
name: "market",
|
|
153
|
+
type: "address",
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
internalType: "uint256",
|
|
157
|
+
name: "exactOtOut",
|
|
158
|
+
type: "uint256",
|
|
159
|
+
},
|
|
160
|
+
],
|
|
161
|
+
name: "swapScyForOtStatic",
|
|
162
|
+
outputs: [
|
|
163
|
+
{
|
|
164
|
+
internalType: "uint256",
|
|
165
|
+
name: "netScyIn",
|
|
166
|
+
type: "uint256",
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
internalType: "uint256",
|
|
170
|
+
name: "netScyFee",
|
|
171
|
+
type: "uint256",
|
|
172
|
+
},
|
|
173
|
+
],
|
|
174
|
+
stateMutability: "nonpayable",
|
|
175
|
+
type: "function",
|
|
176
|
+
},
|
|
177
|
+
];
|
|
178
|
+
|
|
179
|
+
export class IPRouterStatic__factory {
|
|
180
|
+
static readonly abi = _abi;
|
|
181
|
+
static createInterface(): IPRouterStaticInterface {
|
|
182
|
+
return new utils.Interface(_abi) as IPRouterStaticInterface;
|
|
183
|
+
}
|
|
184
|
+
static connect(
|
|
185
|
+
address: string,
|
|
186
|
+
signerOrProvider: Signer | Provider
|
|
187
|
+
): IPRouterStatic {
|
|
188
|
+
return new Contract(address, _abi, signerOrProvider) as IPRouterStatic;
|
|
189
|
+
}
|
|
190
|
+
}
|
|
@@ -0,0 +1,187 @@
|
|
|
1
|
+
/* Autogenerated file. Do not edit manually. */
|
|
2
|
+
/* tslint:disable */
|
|
3
|
+
/* eslint-disable */
|
|
4
|
+
|
|
5
|
+
import { Contract, Signer, utils } from "ethers";
|
|
6
|
+
import { Provider } from "@ethersproject/providers";
|
|
7
|
+
import type { IPRouterView, IPRouterViewInterface } from "../IPRouterView";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "address",
|
|
14
|
+
name: "market",
|
|
15
|
+
type: "address",
|
|
16
|
+
},
|
|
17
|
+
{
|
|
18
|
+
internalType: "uint256",
|
|
19
|
+
name: "scyDesired",
|
|
20
|
+
type: "uint256",
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
internalType: "uint256",
|
|
24
|
+
name: "otDesired",
|
|
25
|
+
type: "uint256",
|
|
26
|
+
},
|
|
27
|
+
],
|
|
28
|
+
name: "addLiquidityStatic",
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "netLpOut",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
internalType: "uint256",
|
|
37
|
+
name: "scyUsed",
|
|
38
|
+
type: "uint256",
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
internalType: "uint256",
|
|
42
|
+
name: "otUsed",
|
|
43
|
+
type: "uint256",
|
|
44
|
+
},
|
|
45
|
+
],
|
|
46
|
+
stateMutability: "nonpayable",
|
|
47
|
+
type: "function",
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
inputs: [
|
|
51
|
+
{
|
|
52
|
+
internalType: "address",
|
|
53
|
+
name: "market",
|
|
54
|
+
type: "address",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "getOtImpliedYield",
|
|
58
|
+
outputs: [
|
|
59
|
+
{
|
|
60
|
+
internalType: "int256",
|
|
61
|
+
name: "",
|
|
62
|
+
type: "int256",
|
|
63
|
+
},
|
|
64
|
+
],
|
|
65
|
+
stateMutability: "view",
|
|
66
|
+
type: "function",
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
inputs: [
|
|
70
|
+
{
|
|
71
|
+
internalType: "address",
|
|
72
|
+
name: "market",
|
|
73
|
+
type: "address",
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
internalType: "uint256",
|
|
77
|
+
name: "lpToRemove",
|
|
78
|
+
type: "uint256",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
name: "removeLiquidityStatic",
|
|
82
|
+
outputs: [
|
|
83
|
+
{
|
|
84
|
+
internalType: "uint256",
|
|
85
|
+
name: "netScyOut",
|
|
86
|
+
type: "uint256",
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
internalType: "uint256",
|
|
90
|
+
name: "netOtOut",
|
|
91
|
+
type: "uint256",
|
|
92
|
+
},
|
|
93
|
+
],
|
|
94
|
+
stateMutability: "view",
|
|
95
|
+
type: "function",
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
inputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "market",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: "scyIndex",
|
|
106
|
+
outputs: [
|
|
107
|
+
{
|
|
108
|
+
internalType: "SCYIndex",
|
|
109
|
+
name: "index",
|
|
110
|
+
type: "uint256",
|
|
111
|
+
},
|
|
112
|
+
],
|
|
113
|
+
stateMutability: "nonpayable",
|
|
114
|
+
type: "function",
|
|
115
|
+
},
|
|
116
|
+
{
|
|
117
|
+
inputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "address",
|
|
120
|
+
name: "market",
|
|
121
|
+
type: "address",
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
internalType: "uint256",
|
|
125
|
+
name: "exactOtIn",
|
|
126
|
+
type: "uint256",
|
|
127
|
+
},
|
|
128
|
+
],
|
|
129
|
+
name: "swapOtForScyStatic",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "uint256",
|
|
133
|
+
name: "netScyOut",
|
|
134
|
+
type: "uint256",
|
|
135
|
+
},
|
|
136
|
+
{
|
|
137
|
+
internalType: "uint256",
|
|
138
|
+
name: "netScyFee",
|
|
139
|
+
type: "uint256",
|
|
140
|
+
},
|
|
141
|
+
],
|
|
142
|
+
stateMutability: "nonpayable",
|
|
143
|
+
type: "function",
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
inputs: [
|
|
147
|
+
{
|
|
148
|
+
internalType: "address",
|
|
149
|
+
name: "market",
|
|
150
|
+
type: "address",
|
|
151
|
+
},
|
|
152
|
+
{
|
|
153
|
+
internalType: "uint256",
|
|
154
|
+
name: "exactOtOut",
|
|
155
|
+
type: "uint256",
|
|
156
|
+
},
|
|
157
|
+
],
|
|
158
|
+
name: "swapScyForOtStatic",
|
|
159
|
+
outputs: [
|
|
160
|
+
{
|
|
161
|
+
internalType: "uint256",
|
|
162
|
+
name: "netScyIn",
|
|
163
|
+
type: "uint256",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
internalType: "uint256",
|
|
167
|
+
name: "netScyFee",
|
|
168
|
+
type: "uint256",
|
|
169
|
+
},
|
|
170
|
+
],
|
|
171
|
+
stateMutability: "nonpayable",
|
|
172
|
+
type: "function",
|
|
173
|
+
},
|
|
174
|
+
];
|
|
175
|
+
|
|
176
|
+
export class IPRouterView__factory {
|
|
177
|
+
static readonly abi = _abi;
|
|
178
|
+
static createInterface(): IPRouterViewInterface {
|
|
179
|
+
return new utils.Interface(_abi) as IPRouterViewInterface;
|
|
180
|
+
}
|
|
181
|
+
static connect(
|
|
182
|
+
address: string,
|
|
183
|
+
signerOrProvider: Signer | Provider
|
|
184
|
+
): IPRouterView {
|
|
185
|
+
return new Contract(address, _abi, signerOrProvider) as IPRouterView;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
@@ -639,7 +639,7 @@ const _abi = [
|
|
|
639
639
|
];
|
|
640
640
|
|
|
641
641
|
const _bytecode =
|
|
642
|
-
"0x6101406040523480156200001257600080fd5b5060405162002fe038038062002fe08339810160408190526200003591620005ef565b8787878783838383838381600390805190602001906200005792919062000444565b5080516200006d90600490602084019062000444565b50505060ff9182166080521660a052505050506001600160a01b0384811661012081905287821660e05286821660c081905291851661010052620000c49350909150600019620000d2602090811b62000b3617901c565b5050505050505050620007be565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b1580156200011f57600080fd5b505afa15801562000134573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015a9190620006c9565b620001669190620006e3565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152919250620001c291869190620001c816565b50505050565b600062000224826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620002af60201b62000c22179092919060201c565b805190915015620002aa57808060200190518101906200024591906200070a565b620002aa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b505050565b6060620002c08484600085620002ca565b90505b9392505050565b6060824710156200032d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401620002a1565b6001600160a01b0385163b620003865760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620002a1565b600080866001600160a01b03168587604051620003a491906200072e565b60006040518083038185875af1925050503d8060008114620003e3576040519150601f19603f3d011682016040523d82523d6000602084013e620003e8565b606091505b509092509050620003fb82828662000406565b979650505050505050565b6060831562000417575081620002c3565b825115620004285782518084602001fd5b8160405162461bcd60e51b8152600401620002a191906200074c565b828054620004529062000781565b90600052602060002090601f016020900481019282620004765760008555620004c1565b82601f106200049157805160ff1916838001178555620004c1565b82800160010185558215620004c1579182015b82811115620004c1578251825591602001919060010190620004a4565b50620004cf929150620004d3565b5090565b5b80821115620004cf5760008155600101620004d4565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200051d57818101518382015260200162000503565b83811115620001c25750506000910152565b600082601f8301126200054157600080fd5b81516001600160401b03808211156200055e576200055e620004ea565b604051601f8301601f19908116603f01168101908282118183101715620005895762000589620004ea565b81604052838152866020858801011115620005a357600080fd5b620005b684602083016020890162000500565b9695505050505050565b805160ff81168114620005d257600080fd5b919050565b80516001600160a01b0381168114620005d257600080fd5b600080600080600080600080610100898b0312156200060d57600080fd5b88516001600160401b03808211156200062557600080fd5b620006338c838d016200052f565b995060208b01519150808211156200064a57600080fd5b50620006598b828c016200052f565b9750506200066a60408a01620005c0565b95506200067a60608a01620005c0565b94506200068a60808a01620005d7565b93506200069a60a08a01620005d7565b9250620006aa60c08a01620005d7565b9150620006ba60e08a01620005d7565b90509295985092959890939650565b600060208284031215620006dc57600080fd5b5051919050565b600082198211156200070557634e487b7160e01b600052601160045260246000fd5b500190565b6000602082840312156200071d57600080fd5b81518015158114620002c357600080fd5b600082516200074281846020870162000500565b9190910192915050565b60208152600082518060208401526200076d81604085016020870162000500565b601f01601f19169190910160400192915050565b600181811c908216806200079657607f821691505b60208210811415620007b857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051612731620008af6000396000818161034c01528181610836015281816108d201528181610a0901528181610ea701528181610fdf0152818161102d0152818161107c015281816116d401528181611726015281816118a9015281816119d00152611d8e0152600081816102b1015281816108a50152611de50152600081816101cb01528181610a8701528181610f5b01526119460152600081816102d8015281816107e2015281816109ce01528181610ab401528181610f230152818161190a01526119a7015260006103d20152600061021701526127316000f3fe608060405234801561001057600080fd5b506004361061015f5760003560e01c806306fdde0314610164578063095ea7b3146101825780630e6dfcd5146101a557806316f0115b146101c657806318160ddd146101fa57806323b872dd14610202578063313ce5671461021557806339509351146102495780635cbadbe41461025c5780636265bc85146102a35780636bb65f53146102ac5780636f307dc3146102d357806370a08231146102fa5780637695caa21461030d5780638e37b2691461031757806395d89b411461031f5780639a9c1db414610327578063a0c1f15e14610347578063a457c2d71461036e578063a9059cbb14610381578063b2427a6c14610394578063bed64c2f146103bb578063c2d41601146103d0578063c4f59f9b146103f6578063c6c3bbe6146103fe578063c6d6916c14610411578063c9c0c08214610424578063dd62ed3e14610437578063f65d6fc81461044a575b600080fd5b61016c610452565b6040516101799190612174565b60405180910390f35b6101956101903660046121bc565b6104e4565b6040519015158152602001610179565b6101b86101b33660046121e8565b6104fe565b604051908152602001610179565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101799190612229565b6002546101b8565b6101956102103660046121e8565b610596565b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff9091168152602001610179565b6101956102573660046121bc565b6105bc565b61028e61026a36600461223d565b60076020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610179565b6101b860085481565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b6101b8610308366004612276565b6105fb565b610315610616565b005b6008546101b8565b61016c610637565b61033a61033536600461223d565b610646565b6040516101799190612293565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b61019561037c3660046121bc565b610715565b61019561038f3660046121bc565b6107b2565b61028e6103a2366004612276565b6006602052600090815260409020805460019091015482565b6103c36107c0565b604051610179919061231b565b7f0000000000000000000000000000000000000000000000000000000000000000610237565b6103c361088b565b6101b861040c3660046121e8565b610953565b61031561041f366004612276565b6109bd565b610195610432366004612276565b6109ca565b6101b861044536600461223d565b610a42565b6101b8610a6d565b6060600380546104619061232e565b80601f016020809104026020016040519081016040528092919081815260200182805461048d9061232e565b80156104da5780601f106104af576101008083540402835291602001916104da565b820191906000526020600020905b8154815290600101906020018083116104bd57829003601f168201915b5050505050905090565b6000336104f2818585610c39565b60019150505b92915050565b6000610509836109ca565b61052e5760405162461bcd60e51b815260040161052590612369565b60405180910390fd5b6000610539306105fb565b90506105453082610d5e565b61054f8482610ea3565b9150828210156105715760405162461bcd60e51b815260040161052590612395565b6105856001600160a01b038516868461100c565b61058e8461102b565b509392505050565b6000336105a4858285611149565b6105af8585856111bd565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906104f290829086906105f69087906123d5565b610c39565b6001600160a01b031660009081526020819052604090205490565b600061062061088b565b90506106348161062f60025490565b611384565b50565b6060600480546104619061232e565b60606001600160a01b03831633146106b157826001600160a01b0316826001600160a01b0316146106ac5760405162461bcd60e51b815260206004820152601060248201526f34b73b30b634b2103932b1b2b4bb32b960811b6044820152606401610525565b6106f6565b6001600160a01b0382166106f65760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610525565b61070b83610703856105fb565b6002546114d2565b6105b583836114f3565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561079a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610525565b6107a78286868403610c39565b506001949350505050565b6000336104f28185856111bd565b60408051600280825260608083018452926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061081457610814612403565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061086857610868612403565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b604051636657732f60e01b81526060906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636657732f906108fa907f000000000000000000000000000000000000000000000000000000000000000090600401612229565b60006040518083038186803b15801561091257600080fd5b505afa158015610926573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261094e91908101906124e0565b905090565b600061095e836109ca565b61097a5760405162461bcd60e51b815260040161052590612369565b6000610985846116d0565b905061099184826118a5565b9150828210156109b35760405162461bcd60e51b815260040161052590612395565b61058e85836119f4565b61063481610703836105fb565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806104f857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60405163d15e005360e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d15e005390610adc907f000000000000000000000000000000000000000000000000000000000000000090600401612229565b60206040518083038186803b158015610af457600080fd5b505afa158015610b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2c9190612514565b6008819055919050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b158015610b8257600080fd5b505afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190612514565b610bc491906123d5565b9050610c1c8463095ea7b360e01b8584604051602401610be592919061252d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ace565b50505050565b6060610c318484600085611ba0565b949350505050565b6001600160a01b038316610c9b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610525565b6001600160a01b038216610cfc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610525565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610dbe5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610525565b610dca82600083611cd1565b6001600160a01b03821660009081526020819052604090205481811015610e3e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610525565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e6d908490612546565b90915550506040518281526000906001600160a01b038516906000805160206126dc83398151915290602001610d51565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161415610ef857610ef1610eea610a6d565b8390611d29565b90506104f8565b6000610f0c610f05610a6d565b8490611d29565b604051631a4ca37b60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390523060448301529192507f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec90606401602060405180830381600087803b158015610fa157600080fd5b505af1158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612514565b506110037f000000000000000000000000000000000000000000000000000000000000000061102b565b610c31846116d0565b610e9e8363a9059cbb60e01b8484604051602401610be592919061252d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316141561111d57604051630ed1279f60e11b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631da24f3e906110b1903090600401612229565b60206040518083038186803b1580156110c957600080fd5b505afa1580156110dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111019190612514565b6001600160a01b03821660009081526005602052604090205550565b6040516370a0823160e01b81526001600160a01b038216906370a08231906110b1903090600401612229565b60006111558484610a42565b90506000198114610c1c57818110156111b05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610525565b610c1c8484848403610c39565b6001600160a01b0383166112215760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610525565b6001600160a01b0382166112835760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610525565b61128e838383611cd1565b6001600160a01b038316600090815260208190526040902054818110156113065760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610525565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061133d9084906123d5565b92505081905550826001600160a01b0316846001600160a01b03166000805160206126dc8339815191528460405161137791815260200190565b60405180910390a3610c1c565b61138c611d6a565b61139582611e74565b60005b8251811015610e9e5760008382815181106113b5576113b5612403565b602002602001015190506000816001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016113ed9190612229565b60206040518083038186803b15801561140557600080fd5b505afa158015611419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143d9190612514565b905083156114a5576001600160a01b0382166000908152600660205260409020600101546114779085906114719084612546565b90611f17565b6001600160a01b0383166000908152600660205260408120805490919061149f9084906123d5565b90915550505b6001600160a01b039091166000908152600660205260409020600101556114cb8161255d565b9050611398565b60006114dc61088b565b90506114e88183611384565b610c1c818585611f4e565b606060006114ff61088b565b905080516001600160401b0381111561151a5761151a6123ed565b604051908082528060200260200182016040528015611543578160200160208202803683370190505b50915060005b81518110156116c857600082828151811061156657611566612403565b6020026020010151905060076000876001600160a01b03166001600160a01b031681526020019081526020016000206000826001600160a01b03166001600160a01b03168152602001908152602001600020600101548483815181106115ce576115ce612403565b6020908102919091018101919091526001600160a01b038088166000908152600783526040808220928516825291909252812060010155835184908390811061161957611619612403565b602002602001015160066000836001600160a01b03166001600160a01b0316815260200190815260200160002060010160008282546116589190612546565b9250508190555083828151811061167157611671612403565b60200260200101516000146116b7576116b78585848151811061169657611696612403565b6020026020010151836001600160a01b031661100c9092919063ffffffff16565b506116c18161255d565b9050611549565b505092915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561180057604051630ed1279f60e11b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631da24f3e9061175b903090600401612229565b60206040518083038186803b15801561177357600080fd5b505afa158015611787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ab9190612514565b90506117e16117b8610a6d565b6001600160a01b0385166000908152600560205260409020546117db9084612546565b90611d29565b6001600160a01b03939093166000908152600560205260409020555090565b6040516370a0823160e01b81526000906001600160a01b038416906370a082319061182f903090600401612229565b60206040518083038186803b15801561184757600080fd5b505afa15801561185b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187f9190612514565b6001600160a01b0384166000908152600560205260409020549091506117e19082612546565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614156118f357610ef16118ec610a6d565b83906120b1565b60405163617ba03760e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201849052306044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063617ba03790608401600060405180830381600087803b15801561198a57600080fd5b505af115801561199e573d6000803e3d6000fd5b505050506119cb7f000000000000000000000000000000000000000000000000000000000000000061102b565b6105b57f00000000000000000000000000000000000000000000000000000000000000006116d0565b6001600160a01b038216611a4a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610525565b611a5660008383611cd1565b8060026000828254611a6891906123d5565b90915550506001600160a01b03821660009081526020819052604081208054839290611a959084906123d5565b90915550506040518181526001600160a01b038316906000906000805160206126dc8339815191529060200160405180910390a35b5050565b6000611b23826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c229092919063ffffffff16565b805190915015610e9e5780806020019051810190611b419190612578565b610e9e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610525565b606082471015611c015760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610525565b6001600160a01b0385163b611c585760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610525565b600080866001600160a01b03168587604051611c74919061259a565b60006040518083038185875af1925050503d8060008114611cb1576040519150601f19603f3d011682016040523d82523d6000602084013e611cb6565b606091505b5091509150611cc68282866120ee565b979650505050505050565b6000611cdb61088b565b9050611cea8161062f60025490565b6001600160a01b03841615611d0c57611d0c8185611d07876105fb565b611f4e565b6001600160a01b03831615610c1c57610c1c8184611d07866105fb565b60008115676765c793fa10079d601a1b1983900484111517611d4a57600080fd5b50676765c793fa10079d601b1b9102676765c793fa10079d601a1b010490565b604080516001808252818301909252600091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611dc057611dc0612403565b6001600160a01b03928316602091820292909201015260405163bb492bf560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063bb492bf590611e1e90849030906004016125b6565b600060405180830381600087803b158015611e3857600080fd5b505af1158015611e4c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e9e91908101906125e0565b60005b8151811015611aca5760066000838381518110611e9657611e96612403565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000015460001415611f0757600160066000848481518110611ee257611ee2612403565b6020908102919091018101516001600160a01b03168252810191909152604001600020555b611f108161255d565b9050611e77565b600082611f26575060006104f8565b6000611f3a670de0b6b3a76400008561269a565b9050611f4683826126b9565b9150506104f8565b60005b8351811015610c1c576000848281518110611f6e57611f6e612403565b6020908102919091018101516001600160a01b03808716600090815260078452604080822092841682529184528181205460069094522054909250811415611fb75750506120a1565b80611ff357506001600160a01b0390811660008181526006602090815260408083205494881683526007825280832093835292905220556120a1565b6001600160a01b038216600090815260066020526040812054612017908390612546565b905060006120258683612127565b6001600160a01b0380891660009081526007602090815260408083209389168352929052908120600101805492935083929091906120649084906123d5565b9091555050506001600160a01b03928316600081815260066020908152604080832054968a16835260078252808320938352929052209290925550505b6120aa8161255d565b9050611f51565b60008115676765c793fa10079d601b1b600284041904841117156120d457600080fd5b50676765c793fa10079d601b1b9190910260028204010490565b606083156120fd5750816105b5565b82511561210d5782518084602001fd5b8160405162461bcd60e51b81526004016105259190612174565b600080612134838561269a565b9050610c31670de0b6b3a7640000826126b9565b60005b8381101561216357818101518382015260200161214b565b83811115610c1c5750506000910152565b6020815260008251806020840152612193816040850160208701612148565b601f01601f19169190910160400192915050565b6001600160a01b038116811461063457600080fd5b600080604083850312156121cf57600080fd5b82356121da816121a7565b946020939093013593505050565b6000806000606084860312156121fd57600080fd5b8335612208816121a7565b92506020840135612218816121a7565b929592945050506040919091013590565b6001600160a01b0391909116815260200190565b6000806040838503121561225057600080fd5b823561225b816121a7565b9150602083013561226b816121a7565b809150509250929050565b60006020828403121561228857600080fd5b81356105b5816121a7565b6020808252825182820181905260009190848201906040850190845b818110156122cb578351835292840192918401916001016122af565b50909695505050505050565b600081518084526020808501945080840160005b838110156123105781516001600160a01b0316875295820195908201906001016122eb565b509495945050505050565b6020815260006105b560208301846122d7565b600181811c9082168061234257607f821691505b6020821081141561236357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527134b73b30b634b2103130b9b2903a37b5b2b760711b604082015260600190565b60208082526010908201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156123e8576123e86123bf565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612441576124416123ed565b604052919050565b60006001600160401b03821115612462576124626123ed565b5060051b60200190565b600082601f83011261247d57600080fd5b8151602061249261248d83612449565b612419565b82815260059290921b840181019181810190868411156124b157600080fd5b8286015b848110156124d55780516124c8816121a7565b83529183019183016124b5565b509695505050505050565b6000602082840312156124f257600080fd5b81516001600160401b0381111561250857600080fd5b610c318482850161246c565b60006020828403121561252657600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b600082821015612558576125586123bf565b500390565b6000600019821415612571576125716123bf565b5060010190565b60006020828403121561258a57600080fd5b815180151581146105b557600080fd5b600082516125ac818460208701612148565b9190910192915050565b6040815260006125c960408301856122d7565b905060018060a01b03831660208301529392505050565b600080604083850312156125f357600080fd5b82516001600160401b038082111561260a57600080fd5b6126168683870161246c565b935060209150818501518181111561262d57600080fd5b85019050601f8101861361264057600080fd5b805161264e61248d82612449565b81815260059190911b8201830190838101908883111561266d57600080fd5b928401925b8284101561268b57835182529284019290840190612672565b80955050505050509250929050565b60008160001904831182151516156126b4576126b46123bf565b500290565b6000826126d657634e487b7160e01b600052601260045260246000fd5b50049056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220f53e48d2771dca53a8a39bdefc63a0a4eb147053b6f92c25deccca75fd086b3064736f6c63430008090033";
|
|
642
|
+
"0x6101406040523480156200001257600080fd5b5060405162002fe038038062002fe08339810160408190526200003591620005ef565b8787878783838383838381600390805190602001906200005792919062000444565b5080516200006d90600490602084019062000444565b50505060ff9182166080521660a052505050506001600160a01b0384811661012081905287821660e05286821660c081905291851661010052620000c49350909150600019620000d2602090811b62000b3617901c565b5050505050505050620007be565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b1580156200011f57600080fd5b505afa15801562000134573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200015a9190620006c9565b620001669190620006e3565b604080516001600160a01b038616602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b0390811663095ea7b360e01b17909152919250620001c291869190620001c816565b50505050565b600062000224826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316620002af60201b62000c22179092919060201c565b805190915015620002aa57808060200190518101906200024591906200070a565b620002aa5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084015b60405180910390fd5b505050565b6060620002c08484600085620002ca565b90505b9392505050565b6060824710156200032d5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401620002a1565b6001600160a01b0385163b620003865760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401620002a1565b600080866001600160a01b03168587604051620003a491906200072e565b60006040518083038185875af1925050503d8060008114620003e3576040519150601f19603f3d011682016040523d82523d6000602084013e620003e8565b606091505b509092509050620003fb82828662000406565b979650505050505050565b6060831562000417575081620002c3565b825115620004285782518084602001fd5b8160405162461bcd60e51b8152600401620002a191906200074c565b828054620004529062000781565b90600052602060002090601f016020900481019282620004765760008555620004c1565b82601f106200049157805160ff1916838001178555620004c1565b82800160010185558215620004c1579182015b82811115620004c1578251825591602001919060010190620004a4565b50620004cf929150620004d3565b5090565b5b80821115620004cf5760008155600101620004d4565b634e487b7160e01b600052604160045260246000fd5b60005b838110156200051d57818101518382015260200162000503565b83811115620001c25750506000910152565b600082601f8301126200054157600080fd5b81516001600160401b03808211156200055e576200055e620004ea565b604051601f8301601f19908116603f01168101908282118183101715620005895762000589620004ea565b81604052838152866020858801011115620005a357600080fd5b620005b684602083016020890162000500565b9695505050505050565b805160ff81168114620005d257600080fd5b919050565b80516001600160a01b0381168114620005d257600080fd5b600080600080600080600080610100898b0312156200060d57600080fd5b88516001600160401b03808211156200062557600080fd5b620006338c838d016200052f565b995060208b01519150808211156200064a57600080fd5b50620006598b828c016200052f565b9750506200066a60408a01620005c0565b95506200067a60608a01620005c0565b94506200068a60808a01620005d7565b93506200069a60a08a01620005d7565b9250620006aa60c08a01620005d7565b9150620006ba60e08a01620005d7565b90509295985092959890939650565b600060208284031215620006dc57600080fd5b5051919050565b600082198211156200070557634e487b7160e01b600052601160045260246000fd5b500190565b6000602082840312156200071d57600080fd5b81518015158114620002c357600080fd5b600082516200074281846020870162000500565b9190910192915050565b60208152600082518060208401526200076d81604085016020870162000500565b601f01601f19169190910160400192915050565b600181811c908216806200079657607f821691505b60208210811415620007b857634e487b7160e01b600052602260045260246000fd5b50919050565b60805160a05160c05160e0516101005161012051612731620008af6000396000818161034c01528181610836015281816108d201528181610a0901528181610ea701528181610fdf0152818161102d0152818161107c015281816116d401528181611726015281816118a9015281816119d00152611d8e0152600081816102b1015281816108a50152611de50152600081816101cb01528181610a8701528181610f5b01526119460152600081816102d8015281816107e2015281816109ce01528181610ab401528181610f230152818161190a01526119a7015260006103d20152600061021701526127316000f3fe608060405234801561001057600080fd5b506004361061015f5760003560e01c806306fdde0314610164578063095ea7b3146101825780630e6dfcd5146101a557806316f0115b146101c657806318160ddd146101fa57806323b872dd14610202578063313ce5671461021557806339509351146102495780635cbadbe41461025c5780636265bc85146102a35780636bb65f53146102ac5780636f307dc3146102d357806370a08231146102fa5780637695caa21461030d5780638e37b2691461031757806395d89b411461031f5780639a9c1db414610327578063a0c1f15e14610347578063a457c2d71461036e578063a9059cbb14610381578063b2427a6c14610394578063bed64c2f146103bb578063c2d41601146103d0578063c4f59f9b146103f6578063c6c3bbe6146103fe578063c6d6916c14610411578063c9c0c08214610424578063dd62ed3e14610437578063f65d6fc81461044a575b600080fd5b61016c610452565b6040516101799190612174565b60405180910390f35b6101956101903660046121bc565b6104e4565b6040519015158152602001610179565b6101b86101b33660046121e8565b6104fe565b604051908152602001610179565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b6040516101799190612229565b6002546101b8565b6101956102103660046121e8565b610596565b7f00000000000000000000000000000000000000000000000000000000000000005b60405160ff9091168152602001610179565b6101956102573660046121bc565b6105bc565b61028e61026a36600461223d565b60076020908152600092835260408084209091529082529020805460019091015482565b60408051928352602083019190915201610179565b6101b860085481565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b6101b8610308366004612276565b6105fb565b610315610616565b005b6008546101b8565b61016c610637565b61033a61033536600461223d565b610646565b6040516101799190612293565b6101ed7f000000000000000000000000000000000000000000000000000000000000000081565b61019561037c3660046121bc565b610715565b61019561038f3660046121bc565b6107b2565b61028e6103a2366004612276565b6006602052600090815260409020805460019091015482565b6103c36107c0565b604051610179919061231b565b7f0000000000000000000000000000000000000000000000000000000000000000610237565b6103c361088b565b6101b861040c3660046121e8565b610953565b61031561041f366004612276565b6109bd565b610195610432366004612276565b6109ca565b6101b861044536600461223d565b610a42565b6101b8610a6d565b6060600380546104619061232e565b80601f016020809104026020016040519081016040528092919081815260200182805461048d9061232e565b80156104da5780601f106104af576101008083540402835291602001916104da565b820191906000526020600020905b8154815290600101906020018083116104bd57829003601f168201915b5050505050905090565b6000336104f2818585610c39565b60019150505b92915050565b6000610509836109ca565b61052e5760405162461bcd60e51b815260040161052590612369565b60405180910390fd5b6000610539306105fb565b90506105453082610d5e565b61054f8482610ea3565b9150828210156105715760405162461bcd60e51b815260040161052590612395565b6105856001600160a01b038516868461100c565b61058e8461102b565b509392505050565b6000336105a4858285611149565b6105af8585856111bd565b60019150505b9392505050565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091906104f290829086906105f69087906123d5565b610c39565b6001600160a01b031660009081526020819052604090205490565b600061062061088b565b90506106348161062f60025490565b611384565b50565b6060600480546104619061232e565b60606001600160a01b03831633146106b157826001600160a01b0316826001600160a01b0316146106ac5760405162461bcd60e51b815260206004820152601060248201526f34b73b30b634b2103932b1b2b4bb32b960811b6044820152606401610525565b6106f6565b6001600160a01b0382166106f65760405162461bcd60e51b815260206004820152600c60248201526b7a65726f206164647265737360a01b6044820152606401610525565b61070b83610703856105fb565b6002546114d2565b6105b583836114f3565b3360008181526001602090815260408083206001600160a01b03871684529091528120549091908381101561079a5760405162461bcd60e51b815260206004820152602560248201527f45524332303a2064656372656173656420616c6c6f77616e63652062656c6f77604482015264207a65726f60d81b6064820152608401610525565b6107a78286868403610c39565b506001949350505050565b6000336104f28185856111bd565b60408051600280825260608083018452926020830190803683370190505090507f00000000000000000000000000000000000000000000000000000000000000008160008151811061081457610814612403565b60200260200101906001600160a01b031690816001600160a01b0316815250507f00000000000000000000000000000000000000000000000000000000000000008160018151811061086857610868612403565b60200260200101906001600160a01b031690816001600160a01b03168152505090565b604051636657732f60e01b81526060906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690636657732f906108fa907f000000000000000000000000000000000000000000000000000000000000000090600401612229565b60006040518083038186803b15801561091257600080fd5b505afa158015610926573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f1916820160405261094e91908101906124e0565b905090565b600061095e836109ca565b61097a5760405162461bcd60e51b815260040161052590612369565b6000610985846116d0565b905061099184826118a5565b9150828210156109b35760405162461bcd60e51b815260040161052590612395565b61058e85836119f4565b61063481610703836105fb565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b031614806104f857507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b03161492915050565b6001600160a01b03918216600090815260016020908152604080832093909416825291909152205490565b60405163d15e005360e01b81526000906001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000169063d15e005390610adc907f000000000000000000000000000000000000000000000000000000000000000090600401612229565b60206040518083038186803b158015610af457600080fd5b505afa158015610b08573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b2c9190612514565b6008819055919050565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e9060440160206040518083038186803b158015610b8257600080fd5b505afa158015610b96573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610bba9190612514565b610bc491906123d5565b9050610c1c8463095ea7b360e01b8584604051602401610be592919061252d565b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152611ace565b50505050565b6060610c318484600085611ba0565b949350505050565b6001600160a01b038316610c9b5760405162461bcd60e51b8152602060048201526024808201527f45524332303a20617070726f76652066726f6d20746865207a65726f206164646044820152637265737360e01b6064820152608401610525565b6001600160a01b038216610cfc5760405162461bcd60e51b815260206004820152602260248201527f45524332303a20617070726f766520746f20746865207a65726f206164647265604482015261737360f01b6064820152608401610525565b6001600160a01b0383811660008181526001602090815260408083209487168084529482529182902085905590518481527f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b92591015b60405180910390a3505050565b6001600160a01b038216610dbe5760405162461bcd60e51b815260206004820152602160248201527f45524332303a206275726e2066726f6d20746865207a65726f206164647265736044820152607360f81b6064820152608401610525565b610dca82600083611cd1565b6001600160a01b03821660009081526020819052604090205481811015610e3e5760405162461bcd60e51b815260206004820152602260248201527f45524332303a206275726e20616d6f756e7420657863656564732062616c616e604482015261636560f01b6064820152608401610525565b6001600160a01b0383166000908152602081905260408120838303905560028054849290610e6d908490612546565b90915550506040518281526000906001600160a01b038516906000805160206126dc83398151915290602001610d51565b505050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b03161415610ef857610ef1610eea610a6d565b8390611d29565b90506104f8565b6000610f0c610f05610a6d565b8490611d29565b604051631a4ca37b60e21b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390523060448301529192507f0000000000000000000000000000000000000000000000000000000000000000909116906369328dec90606401602060405180830381600087803b158015610fa157600080fd5b505af1158015610fb5573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610fd99190612514565b506110037f000000000000000000000000000000000000000000000000000000000000000061102b565b610c31846116d0565b610e9e8363a9059cbb60e01b8484604051602401610be592919061252d565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316816001600160a01b0316141561111d57604051630ed1279f60e11b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631da24f3e906110b1903090600401612229565b60206040518083038186803b1580156110c957600080fd5b505afa1580156110dd573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906111019190612514565b6001600160a01b03821660009081526005602052604090205550565b6040516370a0823160e01b81526001600160a01b038216906370a08231906110b1903090600401612229565b60006111558484610a42565b90506000198114610c1c57818110156111b05760405162461bcd60e51b815260206004820152601d60248201527f45524332303a20696e73756666696369656e7420616c6c6f77616e63650000006044820152606401610525565b610c1c8484848403610c39565b6001600160a01b0383166112215760405162461bcd60e51b815260206004820152602560248201527f45524332303a207472616e736665722066726f6d20746865207a65726f206164604482015264647265737360d81b6064820152608401610525565b6001600160a01b0382166112835760405162461bcd60e51b815260206004820152602360248201527f45524332303a207472616e7366657220746f20746865207a65726f206164647260448201526265737360e81b6064820152608401610525565b61128e838383611cd1565b6001600160a01b038316600090815260208190526040902054818110156113065760405162461bcd60e51b815260206004820152602660248201527f45524332303a207472616e7366657220616d6f756e7420657863656564732062604482015265616c616e636560d01b6064820152608401610525565b6001600160a01b0380851660009081526020819052604080822085850390559185168152908120805484929061133d9084906123d5565b92505081905550826001600160a01b0316846001600160a01b03166000805160206126dc8339815191528460405161137791815260200190565b60405180910390a3610c1c565b61138c611d6a565b61139582611e74565b60005b8251811015610e9e5760008382815181106113b5576113b5612403565b602002602001015190506000816001600160a01b03166370a08231306040518263ffffffff1660e01b81526004016113ed9190612229565b60206040518083038186803b15801561140557600080fd5b505afa158015611419573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061143d9190612514565b905083156114a5576001600160a01b0382166000908152600660205260409020600101546114779085906114719084612546565b90611f17565b6001600160a01b0383166000908152600660205260408120805490919061149f9084906123d5565b90915550505b6001600160a01b039091166000908152600660205260409020600101556114cb8161255d565b9050611398565b60006114dc61088b565b90506114e88183611384565b610c1c818585611f4e565b606060006114ff61088b565b905080516001600160401b0381111561151a5761151a6123ed565b604051908082528060200260200182016040528015611543578160200160208202803683370190505b50915060005b81518110156116c857600082828151811061156657611566612403565b6020026020010151905060076000876001600160a01b03166001600160a01b031681526020019081526020016000206000826001600160a01b03166001600160a01b03168152602001908152602001600020600101548483815181106115ce576115ce612403565b6020908102919091018101919091526001600160a01b038088166000908152600783526040808220928516825291909252812060010155835184908390811061161957611619612403565b602002602001015160066000836001600160a01b03166001600160a01b0316815260200190815260200160002060010160008282546116589190612546565b9250508190555083828151811061167157611671612403565b60200260200101516000146116b7576116b78585848151811061169657611696612403565b6020026020010151836001600160a01b031661100c9092919063ffffffff16565b506116c18161255d565b9050611549565b505092915050565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316826001600160a01b0316141561180057604051630ed1279f60e11b81526000906001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001690631da24f3e9061175b903090600401612229565b60206040518083038186803b15801561177357600080fd5b505afa158015611787573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906117ab9190612514565b90506117e16117b8610a6d565b6001600160a01b0385166000908152600560205260409020546117db9084612546565b90611d29565b6001600160a01b03939093166000908152600560205260409020555090565b6040516370a0823160e01b81526000906001600160a01b038416906370a082319061182f903090600401612229565b60206040518083038186803b15801561184757600080fd5b505afa15801561185b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061187f9190612514565b6001600160a01b0384166000908152600560205260409020549091506117e19082612546565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316836001600160a01b031614156118f357610ef16118ec610a6d565b83906120b1565b60405163617ba03760e01b81526001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116600483015260248201849052306044830152600060648301527f0000000000000000000000000000000000000000000000000000000000000000169063617ba03790608401600060405180830381600087803b15801561198a57600080fd5b505af115801561199e573d6000803e3d6000fd5b505050506119cb7f000000000000000000000000000000000000000000000000000000000000000061102b565b6105b57f00000000000000000000000000000000000000000000000000000000000000006116d0565b6001600160a01b038216611a4a5760405162461bcd60e51b815260206004820152601f60248201527f45524332303a206d696e7420746f20746865207a65726f2061646472657373006044820152606401610525565b611a5660008383611cd1565b8060026000828254611a6891906123d5565b90915550506001600160a01b03821660009081526020819052604081208054839290611a959084906123d5565b90915550506040518181526001600160a01b038316906000906000805160206126dc8339815191529060200160405180910390a35b5050565b6000611b23826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610c229092919063ffffffff16565b805190915015610e9e5780806020019051810190611b419190612578565b610e9e5760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b6064820152608401610525565b606082471015611c015760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b6064820152608401610525565b6001600160a01b0385163b611c585760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e74726163740000006044820152606401610525565b600080866001600160a01b03168587604051611c74919061259a565b60006040518083038185875af1925050503d8060008114611cb1576040519150601f19603f3d011682016040523d82523d6000602084013e611cb6565b606091505b5091509150611cc68282866120ee565b979650505050505050565b6000611cdb61088b565b9050611cea8161062f60025490565b6001600160a01b03841615611d0c57611d0c8185611d07876105fb565b611f4e565b6001600160a01b03831615610c1c57610c1c8184611d07866105fb565b60008115676765c793fa10079d601a1b1983900484111517611d4a57600080fd5b50676765c793fa10079d601b1b9102676765c793fa10079d601a1b010490565b604080516001808252818301909252600091602080830190803683370190505090507f000000000000000000000000000000000000000000000000000000000000000081600081518110611dc057611dc0612403565b6001600160a01b03928316602091820292909201015260405163bb492bf560e01b81527f00000000000000000000000000000000000000000000000000000000000000009091169063bb492bf590611e1e90849030906004016125b6565b600060405180830381600087803b158015611e3857600080fd5b505af1158015611e4c573d6000803e3d6000fd5b505050506040513d6000823e601f3d908101601f19168201604052610e9e91908101906125e0565b60005b8151811015611aca5760066000838381518110611e9657611e96612403565b60200260200101516001600160a01b03166001600160a01b031681526020019081526020016000206000015460001415611f0757600160066000848481518110611ee257611ee2612403565b6020908102919091018101516001600160a01b03168252810191909152604001600020555b611f108161255d565b9050611e77565b600082611f26575060006104f8565b6000611f3a670de0b6b3a76400008561269a565b9050611f4683826126b9565b9150506104f8565b60005b8351811015610c1c576000848281518110611f6e57611f6e612403565b6020908102919091018101516001600160a01b03808716600090815260078452604080822092841682529184528181205460069094522054909250811415611fb75750506120a1565b80611ff357506001600160a01b0390811660008181526006602090815260408083205494881683526007825280832093835292905220556120a1565b6001600160a01b038216600090815260066020526040812054612017908390612546565b905060006120258683612127565b6001600160a01b0380891660009081526007602090815260408083209389168352929052908120600101805492935083929091906120649084906123d5565b9091555050506001600160a01b03928316600081815260066020908152604080832054968a16835260078252808320938352929052209290925550505b6120aa8161255d565b9050611f51565b60008115676765c793fa10079d601b1b600284041904841117156120d457600080fd5b50676765c793fa10079d601b1b9190910260028204010490565b606083156120fd5750816105b5565b82511561210d5782518084602001fd5b8160405162461bcd60e51b81526004016105259190612174565b600080612134838561269a565b9050610c31670de0b6b3a7640000826126b9565b60005b8381101561216357818101518382015260200161214b565b83811115610c1c5750506000910152565b6020815260008251806020840152612193816040850160208701612148565b601f01601f19169190910160400192915050565b6001600160a01b038116811461063457600080fd5b600080604083850312156121cf57600080fd5b82356121da816121a7565b946020939093013593505050565b6000806000606084860312156121fd57600080fd5b8335612208816121a7565b92506020840135612218816121a7565b929592945050506040919091013590565b6001600160a01b0391909116815260200190565b6000806040838503121561225057600080fd5b823561225b816121a7565b9150602083013561226b816121a7565b809150509250929050565b60006020828403121561228857600080fd5b81356105b5816121a7565b6020808252825182820181905260009190848201906040850190845b818110156122cb578351835292840192918401916001016122af565b50909695505050505050565b600081518084526020808501945080840160005b838110156123105781516001600160a01b0316875295820195908201906001016122eb565b509495945050505050565b6020815260006105b560208301846122d7565b600181811c9082168061234257607f821691505b6020821081141561236357634e487b7160e01b600052602260045260246000fd5b50919050565b60208082526012908201527134b73b30b634b2103130b9b2903a37b5b2b760711b604082015260600190565b60208082526010908201526f1a5b9cdd59999a58da595b9d081bdd5d60821b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b600082198211156123e8576123e86123bf565b500190565b634e487b7160e01b600052604160045260246000fd5b634e487b7160e01b600052603260045260246000fd5b604051601f8201601f191681016001600160401b0381118282101715612441576124416123ed565b604052919050565b60006001600160401b03821115612462576124626123ed565b5060051b60200190565b600082601f83011261247d57600080fd5b8151602061249261248d83612449565b612419565b82815260059290921b840181019181810190868411156124b157600080fd5b8286015b848110156124d55780516124c8816121a7565b83529183019183016124b5565b509695505050505050565b6000602082840312156124f257600080fd5b81516001600160401b0381111561250857600080fd5b610c318482850161246c565b60006020828403121561252657600080fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b600082821015612558576125586123bf565b500390565b6000600019821415612571576125716123bf565b5060010190565b60006020828403121561258a57600080fd5b815180151581146105b557600080fd5b600082516125ac818460208701612148565b9190910192915050565b6040815260006125c960408301856122d7565b905060018060a01b03831660208301529392505050565b600080604083850312156125f357600080fd5b82516001600160401b038082111561260a57600080fd5b6126168683870161246c565b935060209150818501518181111561262d57600080fd5b85019050601f8101861361264057600080fd5b805161264e61248d82612449565b81815260059190911b8201830190838101908883111561266d57600080fd5b928401925b8284101561268b57835182529284019290840190612672565b80955050505050509250929050565b60008160001904831182151516156126b4576126b46123bf565b500290565b6000826126d657634e487b7160e01b600052601260045260246000fd5b50049056feddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa2646970667358221220b7e4c7249ad6bb434f3ae57528253c7294d1de235a5aeff4b1cb863ad7202aea64736f6c63430008090033";
|
|
643
643
|
|
|
644
644
|
type PendleAaveV3SCYConstructorParams =
|
|
645
645
|
| [signer?: Signer]
|
|
@@ -35,44 +35,6 @@ const _abi = [
|
|
|
35
35
|
name: "Approval",
|
|
36
36
|
type: "event",
|
|
37
37
|
},
|
|
38
|
-
{
|
|
39
|
-
anonymous: false,
|
|
40
|
-
inputs: [
|
|
41
|
-
{
|
|
42
|
-
indexed: true,
|
|
43
|
-
internalType: "address",
|
|
44
|
-
name: "user",
|
|
45
|
-
type: "address",
|
|
46
|
-
},
|
|
47
|
-
{
|
|
48
|
-
indexed: false,
|
|
49
|
-
internalType: "uint256",
|
|
50
|
-
name: "amount",
|
|
51
|
-
type: "uint256",
|
|
52
|
-
},
|
|
53
|
-
],
|
|
54
|
-
name: "Burn",
|
|
55
|
-
type: "event",
|
|
56
|
-
},
|
|
57
|
-
{
|
|
58
|
-
anonymous: false,
|
|
59
|
-
inputs: [
|
|
60
|
-
{
|
|
61
|
-
indexed: true,
|
|
62
|
-
internalType: "address",
|
|
63
|
-
name: "user",
|
|
64
|
-
type: "address",
|
|
65
|
-
},
|
|
66
|
-
{
|
|
67
|
-
indexed: false,
|
|
68
|
-
internalType: "uint256",
|
|
69
|
-
name: "amount",
|
|
70
|
-
type: "uint256",
|
|
71
|
-
},
|
|
72
|
-
],
|
|
73
|
-
name: "Mint",
|
|
74
|
-
type: "event",
|
|
75
|
-
},
|
|
76
38
|
{
|
|
77
39
|
anonymous: false,
|
|
78
40
|
inputs: [
|