@pendle/core-v2 0.19.0-testnet → 0.20.1-testnet
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/Market/PendleGauge.sol/PendleGauge.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManager.sol/RewardManager.dbg.json +1 -1
- package/build/artifacts/contracts/core/RewardManager/RewardManagerAbstract.sol/RewardManagerAbstract.dbg.json +1 -1
- package/build/artifacts/contracts/core/libraries/ArrayLib.sol/ArrayLib.dbg.json +1 -1
- package/build/artifacts/contracts/interfaces/ConvexCurve/IRewards.sol/IRewards.dbg.json +1 -1
- package/deployments/43113-helper.json +1 -1
- package/deployments/80001-helper.json +3 -0
- package/package.json +1 -1
- package/typechain-types/ComposableStablePreview.ts +217 -0
- package/typechain-types/IBalancerFees.ts +89 -0
- package/typechain-types/IBalancerStablePreview.ts +217 -0
- package/typechain-types/IBasePool.ts +482 -0
- package/typechain-types/IComposableStable.ts +730 -0
- package/typechain-types/IGauge.ts +160 -0
- package/typechain-types/ILiquidityGaugeFactory.ts +99 -0
- package/typechain-types/IMetaStablePool.ts +619 -0
- package/typechain-types/IRateProvider.ts +81 -0
- package/typechain-types/IVault.ts +410 -0
- package/typechain-types/MetaStableMath.ts +113 -0
- package/typechain-types/MetaStablePreview.ts +501 -0
- package/typechain-types/Multicall2.ts +437 -0
- package/typechain-types/PendleAura3EthSY.ts +1639 -0
- package/typechain-types/PendleAuraBalancerStableLPSY.ts +1523 -0
- package/typechain-types/PendleAuraCbethWstethSY.ts +1626 -0
- package/typechain-types/PendleAuraWethRethSY.ts +1549 -0
- package/typechain-types/PendleAuraWethWstethSY.ts +1562 -0
- package/typechain-types/StEthHelper.ts +107 -0
- package/typechain-types/StablePreviewBase.ts +217 -0
- package/typechain-types/factories/ComposableStablePreview__factory.ts +190 -0
- package/typechain-types/factories/IBalancerFees__factory.ts +36 -0
- package/typechain-types/factories/IBalancerStablePreview__factory.ts +152 -0
- package/typechain-types/factories/IBasePool__factory.ts +340 -0
- package/typechain-types/factories/IComposableStable__factory.ts +482 -0
- package/typechain-types/factories/IGauge__factory.ts +70 -0
- package/typechain-types/factories/ILiquidityGaugeFactory__factory.ts +49 -0
- package/typechain-types/factories/IMetaStablePool__factory.ts +413 -0
- package/typechain-types/factories/IRateProvider__factory.ts +36 -0
- package/typechain-types/factories/IVault__factory.ts +287 -0
- package/typechain-types/factories/MetaStableMath__factory.ts +93 -0
- package/typechain-types/factories/MetaStablePreview__factory.ts +375 -0
- package/typechain-types/factories/Multicall2__factory.ts +372 -0
- package/typechain-types/factories/PendleAura3EthSY__factory.ts +1365 -0
- package/typechain-types/factories/PendleAuraBalancerStableLPSY__factory.ts +1190 -0
- package/typechain-types/factories/PendleAuraCbethWstethSY__factory.ts +1356 -0
- package/typechain-types/factories/PendleAuraWethRethSY__factory.ts +1291 -0
- package/typechain-types/factories/PendleAuraWethWstethSY__factory.ts +1304 -0
- package/typechain-types/factories/StEthHelper__factory.ts +62 -0
- package/typechain-types/factories/StablePreviewBase__factory.ts +148 -0
- package/typechain-types/hardhat.d.ts +180 -9
- package/typechain-types/index.ts +40 -2
- package/deployments/1-markets/APE-JUNE-29.json +0 -8
|
@@ -0,0 +1,152 @@
|
|
|
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
|
+
IBalancerStablePreview,
|
|
9
|
+
IBalancerStablePreviewInterface,
|
|
10
|
+
} from "../IBalancerStablePreview";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [
|
|
15
|
+
{
|
|
16
|
+
internalType: "bytes32",
|
|
17
|
+
name: "poolId",
|
|
18
|
+
type: "bytes32",
|
|
19
|
+
},
|
|
20
|
+
{
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "sender",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
internalType: "address",
|
|
27
|
+
name: "recipient",
|
|
28
|
+
type: "address",
|
|
29
|
+
},
|
|
30
|
+
{
|
|
31
|
+
components: [
|
|
32
|
+
{
|
|
33
|
+
internalType: "address[]",
|
|
34
|
+
name: "assets",
|
|
35
|
+
type: "address[]",
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
internalType: "uint256[]",
|
|
39
|
+
name: "minAmountsOut",
|
|
40
|
+
type: "uint256[]",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
internalType: "bytes",
|
|
44
|
+
name: "userData",
|
|
45
|
+
type: "bytes",
|
|
46
|
+
},
|
|
47
|
+
{
|
|
48
|
+
internalType: "bool",
|
|
49
|
+
name: "toInternalBalance",
|
|
50
|
+
type: "bool",
|
|
51
|
+
},
|
|
52
|
+
],
|
|
53
|
+
internalType: "struct IVault.ExitPoolRequest",
|
|
54
|
+
name: "request",
|
|
55
|
+
type: "tuple",
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
internalType: "bytes",
|
|
59
|
+
name: "data",
|
|
60
|
+
type: "bytes",
|
|
61
|
+
},
|
|
62
|
+
],
|
|
63
|
+
name: "exitPoolPreview",
|
|
64
|
+
outputs: [
|
|
65
|
+
{
|
|
66
|
+
internalType: "uint256",
|
|
67
|
+
name: "amountTokenOut",
|
|
68
|
+
type: "uint256",
|
|
69
|
+
},
|
|
70
|
+
],
|
|
71
|
+
stateMutability: "view",
|
|
72
|
+
type: "function",
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
inputs: [
|
|
76
|
+
{
|
|
77
|
+
internalType: "bytes32",
|
|
78
|
+
name: "poolId",
|
|
79
|
+
type: "bytes32",
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
internalType: "address",
|
|
83
|
+
name: "sender",
|
|
84
|
+
type: "address",
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "recipient",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
components: [
|
|
93
|
+
{
|
|
94
|
+
internalType: "address[]",
|
|
95
|
+
name: "assets",
|
|
96
|
+
type: "address[]",
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
internalType: "uint256[]",
|
|
100
|
+
name: "maxAmountsIn",
|
|
101
|
+
type: "uint256[]",
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
internalType: "bytes",
|
|
105
|
+
name: "userData",
|
|
106
|
+
type: "bytes",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
internalType: "bool",
|
|
110
|
+
name: "fromInternalBalance",
|
|
111
|
+
type: "bool",
|
|
112
|
+
},
|
|
113
|
+
],
|
|
114
|
+
internalType: "struct IVault.JoinPoolRequest",
|
|
115
|
+
name: "request",
|
|
116
|
+
type: "tuple",
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
internalType: "bytes",
|
|
120
|
+
name: "data",
|
|
121
|
+
type: "bytes",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
name: "joinPoolPreview",
|
|
125
|
+
outputs: [
|
|
126
|
+
{
|
|
127
|
+
internalType: "uint256",
|
|
128
|
+
name: "amountBptOut",
|
|
129
|
+
type: "uint256",
|
|
130
|
+
},
|
|
131
|
+
],
|
|
132
|
+
stateMutability: "view",
|
|
133
|
+
type: "function",
|
|
134
|
+
},
|
|
135
|
+
];
|
|
136
|
+
|
|
137
|
+
export class IBalancerStablePreview__factory {
|
|
138
|
+
static readonly abi = _abi;
|
|
139
|
+
static createInterface(): IBalancerStablePreviewInterface {
|
|
140
|
+
return new utils.Interface(_abi) as IBalancerStablePreviewInterface;
|
|
141
|
+
}
|
|
142
|
+
static connect(
|
|
143
|
+
address: string,
|
|
144
|
+
signerOrProvider: Signer | Provider
|
|
145
|
+
): IBalancerStablePreview {
|
|
146
|
+
return new Contract(
|
|
147
|
+
address,
|
|
148
|
+
_abi,
|
|
149
|
+
signerOrProvider
|
|
150
|
+
) as IBalancerStablePreview;
|
|
151
|
+
}
|
|
152
|
+
}
|
|
@@ -0,0 +1,340 @@
|
|
|
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 { IBasePool, IBasePoolInterface } from "../IBasePool";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
anonymous: false,
|
|
12
|
+
inputs: [
|
|
13
|
+
{
|
|
14
|
+
indexed: true,
|
|
15
|
+
internalType: "address",
|
|
16
|
+
name: "owner",
|
|
17
|
+
type: "address",
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
indexed: true,
|
|
21
|
+
internalType: "address",
|
|
22
|
+
name: "spender",
|
|
23
|
+
type: "address",
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
indexed: false,
|
|
27
|
+
internalType: "uint256",
|
|
28
|
+
name: "value",
|
|
29
|
+
type: "uint256",
|
|
30
|
+
},
|
|
31
|
+
],
|
|
32
|
+
name: "Approval",
|
|
33
|
+
type: "event",
|
|
34
|
+
},
|
|
35
|
+
{
|
|
36
|
+
anonymous: false,
|
|
37
|
+
inputs: [
|
|
38
|
+
{
|
|
39
|
+
indexed: true,
|
|
40
|
+
internalType: "address",
|
|
41
|
+
name: "from",
|
|
42
|
+
type: "address",
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
indexed: true,
|
|
46
|
+
internalType: "address",
|
|
47
|
+
name: "to",
|
|
48
|
+
type: "address",
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
indexed: false,
|
|
52
|
+
internalType: "uint256",
|
|
53
|
+
name: "value",
|
|
54
|
+
type: "uint256",
|
|
55
|
+
},
|
|
56
|
+
],
|
|
57
|
+
name: "Transfer",
|
|
58
|
+
type: "event",
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
inputs: [
|
|
62
|
+
{
|
|
63
|
+
internalType: "address",
|
|
64
|
+
name: "owner",
|
|
65
|
+
type: "address",
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
internalType: "address",
|
|
69
|
+
name: "spender",
|
|
70
|
+
type: "address",
|
|
71
|
+
},
|
|
72
|
+
],
|
|
73
|
+
name: "allowance",
|
|
74
|
+
outputs: [
|
|
75
|
+
{
|
|
76
|
+
internalType: "uint256",
|
|
77
|
+
name: "",
|
|
78
|
+
type: "uint256",
|
|
79
|
+
},
|
|
80
|
+
],
|
|
81
|
+
stateMutability: "view",
|
|
82
|
+
type: "function",
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
inputs: [
|
|
86
|
+
{
|
|
87
|
+
internalType: "address",
|
|
88
|
+
name: "spender",
|
|
89
|
+
type: "address",
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
internalType: "uint256",
|
|
93
|
+
name: "amount",
|
|
94
|
+
type: "uint256",
|
|
95
|
+
},
|
|
96
|
+
],
|
|
97
|
+
name: "approve",
|
|
98
|
+
outputs: [
|
|
99
|
+
{
|
|
100
|
+
internalType: "bool",
|
|
101
|
+
name: "",
|
|
102
|
+
type: "bool",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
stateMutability: "nonpayable",
|
|
106
|
+
type: "function",
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
inputs: [
|
|
110
|
+
{
|
|
111
|
+
internalType: "address",
|
|
112
|
+
name: "account",
|
|
113
|
+
type: "address",
|
|
114
|
+
},
|
|
115
|
+
],
|
|
116
|
+
name: "balanceOf",
|
|
117
|
+
outputs: [
|
|
118
|
+
{
|
|
119
|
+
internalType: "uint256",
|
|
120
|
+
name: "",
|
|
121
|
+
type: "uint256",
|
|
122
|
+
},
|
|
123
|
+
],
|
|
124
|
+
stateMutability: "view",
|
|
125
|
+
type: "function",
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
inputs: [],
|
|
129
|
+
name: "getPoolId",
|
|
130
|
+
outputs: [
|
|
131
|
+
{
|
|
132
|
+
internalType: "bytes32",
|
|
133
|
+
name: "",
|
|
134
|
+
type: "bytes32",
|
|
135
|
+
},
|
|
136
|
+
],
|
|
137
|
+
stateMutability: "view",
|
|
138
|
+
type: "function",
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
inputs: [],
|
|
142
|
+
name: "getSwapFeePercentage",
|
|
143
|
+
outputs: [
|
|
144
|
+
{
|
|
145
|
+
internalType: "uint256",
|
|
146
|
+
name: "",
|
|
147
|
+
type: "uint256",
|
|
148
|
+
},
|
|
149
|
+
],
|
|
150
|
+
stateMutability: "view",
|
|
151
|
+
type: "function",
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
inputs: [
|
|
155
|
+
{
|
|
156
|
+
internalType: "bytes32",
|
|
157
|
+
name: "poolId",
|
|
158
|
+
type: "bytes32",
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
internalType: "address",
|
|
162
|
+
name: "sender",
|
|
163
|
+
type: "address",
|
|
164
|
+
},
|
|
165
|
+
{
|
|
166
|
+
internalType: "address",
|
|
167
|
+
name: "recipient",
|
|
168
|
+
type: "address",
|
|
169
|
+
},
|
|
170
|
+
{
|
|
171
|
+
internalType: "uint256[]",
|
|
172
|
+
name: "balances",
|
|
173
|
+
type: "uint256[]",
|
|
174
|
+
},
|
|
175
|
+
{
|
|
176
|
+
internalType: "uint256",
|
|
177
|
+
name: "lastChangeBlock",
|
|
178
|
+
type: "uint256",
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
internalType: "uint256",
|
|
182
|
+
name: "protocolSwapFeePercentage",
|
|
183
|
+
type: "uint256",
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
internalType: "bytes",
|
|
187
|
+
name: "userData",
|
|
188
|
+
type: "bytes",
|
|
189
|
+
},
|
|
190
|
+
],
|
|
191
|
+
name: "onExitPool",
|
|
192
|
+
outputs: [
|
|
193
|
+
{
|
|
194
|
+
internalType: "uint256[]",
|
|
195
|
+
name: "amountsOut",
|
|
196
|
+
type: "uint256[]",
|
|
197
|
+
},
|
|
198
|
+
{
|
|
199
|
+
internalType: "uint256[]",
|
|
200
|
+
name: "dueProtocolFeeAmounts",
|
|
201
|
+
type: "uint256[]",
|
|
202
|
+
},
|
|
203
|
+
],
|
|
204
|
+
stateMutability: "nonpayable",
|
|
205
|
+
type: "function",
|
|
206
|
+
},
|
|
207
|
+
{
|
|
208
|
+
inputs: [
|
|
209
|
+
{
|
|
210
|
+
internalType: "bytes32",
|
|
211
|
+
name: "poolId",
|
|
212
|
+
type: "bytes32",
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
internalType: "address",
|
|
216
|
+
name: "sender",
|
|
217
|
+
type: "address",
|
|
218
|
+
},
|
|
219
|
+
{
|
|
220
|
+
internalType: "address",
|
|
221
|
+
name: "recipient",
|
|
222
|
+
type: "address",
|
|
223
|
+
},
|
|
224
|
+
{
|
|
225
|
+
internalType: "uint256[]",
|
|
226
|
+
name: "balances",
|
|
227
|
+
type: "uint256[]",
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
internalType: "uint256",
|
|
231
|
+
name: "lastChangeBlock",
|
|
232
|
+
type: "uint256",
|
|
233
|
+
},
|
|
234
|
+
{
|
|
235
|
+
internalType: "uint256",
|
|
236
|
+
name: "protocolSwapFeePercentage",
|
|
237
|
+
type: "uint256",
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
internalType: "bytes",
|
|
241
|
+
name: "userData",
|
|
242
|
+
type: "bytes",
|
|
243
|
+
},
|
|
244
|
+
],
|
|
245
|
+
name: "onJoinPool",
|
|
246
|
+
outputs: [
|
|
247
|
+
{
|
|
248
|
+
internalType: "uint256[]",
|
|
249
|
+
name: "amountsIn",
|
|
250
|
+
type: "uint256[]",
|
|
251
|
+
},
|
|
252
|
+
{
|
|
253
|
+
internalType: "uint256[]",
|
|
254
|
+
name: "dueProtocolFeeAmounts",
|
|
255
|
+
type: "uint256[]",
|
|
256
|
+
},
|
|
257
|
+
],
|
|
258
|
+
stateMutability: "nonpayable",
|
|
259
|
+
type: "function",
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
inputs: [],
|
|
263
|
+
name: "totalSupply",
|
|
264
|
+
outputs: [
|
|
265
|
+
{
|
|
266
|
+
internalType: "uint256",
|
|
267
|
+
name: "",
|
|
268
|
+
type: "uint256",
|
|
269
|
+
},
|
|
270
|
+
],
|
|
271
|
+
stateMutability: "view",
|
|
272
|
+
type: "function",
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
inputs: [
|
|
276
|
+
{
|
|
277
|
+
internalType: "address",
|
|
278
|
+
name: "to",
|
|
279
|
+
type: "address",
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
internalType: "uint256",
|
|
283
|
+
name: "amount",
|
|
284
|
+
type: "uint256",
|
|
285
|
+
},
|
|
286
|
+
],
|
|
287
|
+
name: "transfer",
|
|
288
|
+
outputs: [
|
|
289
|
+
{
|
|
290
|
+
internalType: "bool",
|
|
291
|
+
name: "",
|
|
292
|
+
type: "bool",
|
|
293
|
+
},
|
|
294
|
+
],
|
|
295
|
+
stateMutability: "nonpayable",
|
|
296
|
+
type: "function",
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
inputs: [
|
|
300
|
+
{
|
|
301
|
+
internalType: "address",
|
|
302
|
+
name: "from",
|
|
303
|
+
type: "address",
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
internalType: "address",
|
|
307
|
+
name: "to",
|
|
308
|
+
type: "address",
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
internalType: "uint256",
|
|
312
|
+
name: "amount",
|
|
313
|
+
type: "uint256",
|
|
314
|
+
},
|
|
315
|
+
],
|
|
316
|
+
name: "transferFrom",
|
|
317
|
+
outputs: [
|
|
318
|
+
{
|
|
319
|
+
internalType: "bool",
|
|
320
|
+
name: "",
|
|
321
|
+
type: "bool",
|
|
322
|
+
},
|
|
323
|
+
],
|
|
324
|
+
stateMutability: "nonpayable",
|
|
325
|
+
type: "function",
|
|
326
|
+
},
|
|
327
|
+
];
|
|
328
|
+
|
|
329
|
+
export class IBasePool__factory {
|
|
330
|
+
static readonly abi = _abi;
|
|
331
|
+
static createInterface(): IBasePoolInterface {
|
|
332
|
+
return new utils.Interface(_abi) as IBasePoolInterface;
|
|
333
|
+
}
|
|
334
|
+
static connect(
|
|
335
|
+
address: string,
|
|
336
|
+
signerOrProvider: Signer | Provider
|
|
337
|
+
): IBasePool {
|
|
338
|
+
return new Contract(address, _abi, signerOrProvider) as IBasePool;
|
|
339
|
+
}
|
|
340
|
+
}
|