@pendle/core-v2 2.22.0 → 2.22.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Ankr/PendleAnkrBNBSY.sol/PendleAnkrBNBSY.json +1027 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/BalancerStable/PendleAuraWstethAnkreth.sol/PendleAuraWstethAnkreth.json +1171 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.dbg.json +4 -0
- package/build/artifacts/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol/SwETHSY.json +961 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrBNB.sol/IAnkrBNB.json +62 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/Ankr/IAnkrLiquidStaking.sol/IAnkrLiquidStaking.json +108 -0
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.dbg.json +4 -0
- package/build/artifacts/contracts/interfaces/ISwETH.sol/ISwETH.json +44 -0
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendleLpOracleLib.sol/PendleLpOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracle.sol/PendlePtOracle.json +2 -2
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/PendlePtOracleLib.sol/PendlePtOracleLib.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendleLpGlpOracle.sol/PendleLpGlpOracle.json +2 -2
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.dbg.json +1 -1
- package/build/artifacts/contracts/oracles/samples/PendlePtGlpOracle.sol/PendlePtGlpOracle.json +2 -2
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/I1inchAggregationRouterV5.sol/I1inchAggregationRouterV5.json +160 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.dbg.json +4 -0
- package/build/artifacts/contracts/router/swap-aggregator/1inch/OneInchAggregationRouterHelper.sol/OneInchAggregationRouterHelper.json +10 -0
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/PendleSwap.sol/PendleSwap.json +18 -2
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol/IExecutorHelper.json +76 -118
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol/KyberInputScalingHelper.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.dbg.json +1 -1
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol/ScalingDataLib.json +2 -2
- package/contracts/core/StandardizedYield/implementations/Swell/PendleSwETH.sol +1 -9
- package/contracts/oracles/PendleLpOracleLib.sol +21 -40
- package/contracts/oracles/PendlePtOracleLib.sol +33 -28
- package/contracts/router/swap-aggregator/kyberswap/IExecutorHelper.sol +110 -118
- package/contracts/router/swap-aggregator/kyberswap/KyberInputScalingHelper.sol +22 -21
- package/contracts/router/swap-aggregator/kyberswap/ScalingDataLib.sol +22 -2
- package/deployments/1-core.json +4 -3
- package/deployments/1-markets/SWETH-DEC2024.json +12 -0
- package/deployments/42161-core.json +4 -3
- package/deployments/42161-markets/WSTETH-ARBITRUM-DEC2023.json +10 -0
- package/deployments/56-core.json +2 -2
- package/package.json +1 -1
- package/typechain-types/IAnkrBNB.ts +150 -0
- package/typechain-types/IAnkrLiquidStaking.ts +253 -0
- package/typechain-types/IExecutorHelper.ts +310 -331
- package/typechain-types/ISwETH.ts +123 -0
- package/typechain-types/PendleAnkrBNBSY.ts +1235 -0
- package/typechain-types/PendleAuraWstethAnkreth.ts +1511 -0
- package/typechain-types/SwETHSY.ts +1216 -0
- package/typechain-types/factories/IAnkrBNB__factory.ts +74 -0
- package/typechain-types/factories/IAnkrLiquidStaking__factory.ts +123 -0
- package/typechain-types/factories/IExecutorHelper__factory.ts +74 -116
- package/typechain-types/factories/ISwETH__factory.ts +53 -0
- package/typechain-types/factories/PendleAnkrBNBSY__factory.ts +1100 -0
- package/typechain-types/factories/PendleAuraWstethAnkreth__factory.ts +1244 -0
- package/typechain-types/factories/PendleLpGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtGlpOracle__factory.ts +1 -1
- package/typechain-types/factories/PendlePtOracle__factory.ts +1 -1
- package/typechain-types/factories/PendleSwap__factory.ts +17 -1
- package/typechain-types/factories/SwETHSY__factory.ts +1022 -0
- package/typechain-types/hardhat.d.ts +63 -0
- package/typechain-types/index.ts +14 -0
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.dbg.json +0 -4
- package/build/artifacts/contracts/router/swap-aggregator/kyberswap/IHashflow.sol/IHashflow.json +0 -101
- package/contracts/router/swap-aggregator/kyberswap/IHashflow.sol +0 -30
- /package/deployments/1-markets/{APE-JUNE-29.json → deprecated/APE-JUNE-29.json} +0 -0
- /package/deployments/1-markets/{STETH-JUNE29.json → deprecated/STETH-JUNE29.json} +0 -0
|
@@ -0,0 +1,74 @@
|
|
|
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 { IAnkrBNB, IAnkrBNBInterface } from "../IAnkrBNB";
|
|
8
|
+
|
|
9
|
+
const _abi = [
|
|
10
|
+
{
|
|
11
|
+
inputs: [
|
|
12
|
+
{
|
|
13
|
+
internalType: "uint256",
|
|
14
|
+
name: "amount",
|
|
15
|
+
type: "uint256",
|
|
16
|
+
},
|
|
17
|
+
],
|
|
18
|
+
name: "bondsToShares",
|
|
19
|
+
outputs: [
|
|
20
|
+
{
|
|
21
|
+
internalType: "uint256",
|
|
22
|
+
name: "",
|
|
23
|
+
type: "uint256",
|
|
24
|
+
},
|
|
25
|
+
],
|
|
26
|
+
stateMutability: "view",
|
|
27
|
+
type: "function",
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
inputs: [],
|
|
31
|
+
name: "ratio",
|
|
32
|
+
outputs: [
|
|
33
|
+
{
|
|
34
|
+
internalType: "uint256",
|
|
35
|
+
name: "",
|
|
36
|
+
type: "uint256",
|
|
37
|
+
},
|
|
38
|
+
],
|
|
39
|
+
stateMutability: "view",
|
|
40
|
+
type: "function",
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
inputs: [
|
|
44
|
+
{
|
|
45
|
+
internalType: "uint256",
|
|
46
|
+
name: "amount",
|
|
47
|
+
type: "uint256",
|
|
48
|
+
},
|
|
49
|
+
],
|
|
50
|
+
name: "sharesToBonds",
|
|
51
|
+
outputs: [
|
|
52
|
+
{
|
|
53
|
+
internalType: "uint256",
|
|
54
|
+
name: "",
|
|
55
|
+
type: "uint256",
|
|
56
|
+
},
|
|
57
|
+
],
|
|
58
|
+
stateMutability: "view",
|
|
59
|
+
type: "function",
|
|
60
|
+
},
|
|
61
|
+
];
|
|
62
|
+
|
|
63
|
+
export class IAnkrBNB__factory {
|
|
64
|
+
static readonly abi = _abi;
|
|
65
|
+
static createInterface(): IAnkrBNBInterface {
|
|
66
|
+
return new utils.Interface(_abi) as IAnkrBNBInterface;
|
|
67
|
+
}
|
|
68
|
+
static connect(
|
|
69
|
+
address: string,
|
|
70
|
+
signerOrProvider: Signer | Provider
|
|
71
|
+
): IAnkrBNB {
|
|
72
|
+
return new Contract(address, _abi, signerOrProvider) as IAnkrBNB;
|
|
73
|
+
}
|
|
74
|
+
}
|
|
@@ -0,0 +1,123 @@
|
|
|
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
|
+
IAnkrLiquidStaking,
|
|
9
|
+
IAnkrLiquidStakingInterface,
|
|
10
|
+
} from "../IAnkrLiquidStaking";
|
|
11
|
+
|
|
12
|
+
const _abi = [
|
|
13
|
+
{
|
|
14
|
+
inputs: [],
|
|
15
|
+
name: "flashPoolCapacity",
|
|
16
|
+
outputs: [
|
|
17
|
+
{
|
|
18
|
+
internalType: "uint256",
|
|
19
|
+
name: "",
|
|
20
|
+
type: "uint256",
|
|
21
|
+
},
|
|
22
|
+
],
|
|
23
|
+
stateMutability: "view",
|
|
24
|
+
type: "function",
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
inputs: [],
|
|
28
|
+
name: "getFlashUnstakeFee",
|
|
29
|
+
outputs: [
|
|
30
|
+
{
|
|
31
|
+
internalType: "uint256",
|
|
32
|
+
name: "",
|
|
33
|
+
type: "uint256",
|
|
34
|
+
},
|
|
35
|
+
],
|
|
36
|
+
stateMutability: "view",
|
|
37
|
+
type: "function",
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
inputs: [],
|
|
41
|
+
name: "getFreeBalance",
|
|
42
|
+
outputs: [
|
|
43
|
+
{
|
|
44
|
+
internalType: "uint256",
|
|
45
|
+
name: "",
|
|
46
|
+
type: "uint256",
|
|
47
|
+
},
|
|
48
|
+
],
|
|
49
|
+
stateMutability: "view",
|
|
50
|
+
type: "function",
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
inputs: [],
|
|
54
|
+
name: "getMinStake",
|
|
55
|
+
outputs: [
|
|
56
|
+
{
|
|
57
|
+
internalType: "uint256",
|
|
58
|
+
name: "",
|
|
59
|
+
type: "uint256",
|
|
60
|
+
},
|
|
61
|
+
],
|
|
62
|
+
stateMutability: "view",
|
|
63
|
+
type: "function",
|
|
64
|
+
},
|
|
65
|
+
{
|
|
66
|
+
inputs: [],
|
|
67
|
+
name: "getMinUnstake",
|
|
68
|
+
outputs: [
|
|
69
|
+
{
|
|
70
|
+
internalType: "uint256",
|
|
71
|
+
name: "",
|
|
72
|
+
type: "uint256",
|
|
73
|
+
},
|
|
74
|
+
],
|
|
75
|
+
stateMutability: "view",
|
|
76
|
+
type: "function",
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
inputs: [],
|
|
80
|
+
name: "stakeBonds",
|
|
81
|
+
outputs: [],
|
|
82
|
+
stateMutability: "payable",
|
|
83
|
+
type: "function",
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
inputs: [],
|
|
87
|
+
name: "stakeCerts",
|
|
88
|
+
outputs: [],
|
|
89
|
+
stateMutability: "payable",
|
|
90
|
+
type: "function",
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
inputs: [
|
|
94
|
+
{
|
|
95
|
+
internalType: "uint256",
|
|
96
|
+
name: "shares",
|
|
97
|
+
type: "uint256",
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
internalType: "address",
|
|
101
|
+
name: "receiverAddress",
|
|
102
|
+
type: "address",
|
|
103
|
+
},
|
|
104
|
+
],
|
|
105
|
+
name: "swap",
|
|
106
|
+
outputs: [],
|
|
107
|
+
stateMutability: "nonpayable",
|
|
108
|
+
type: "function",
|
|
109
|
+
},
|
|
110
|
+
];
|
|
111
|
+
|
|
112
|
+
export class IAnkrLiquidStaking__factory {
|
|
113
|
+
static readonly abi = _abi;
|
|
114
|
+
static createInterface(): IAnkrLiquidStakingInterface {
|
|
115
|
+
return new utils.Interface(_abi) as IAnkrLiquidStakingInterface;
|
|
116
|
+
}
|
|
117
|
+
static connect(
|
|
118
|
+
address: string,
|
|
119
|
+
signerOrProvider: Signer | Provider
|
|
120
|
+
): IAnkrLiquidStaking {
|
|
121
|
+
return new Contract(address, _abi, signerOrProvider) as IAnkrLiquidStaking;
|
|
122
|
+
}
|
|
123
|
+
}
|
|
@@ -12,11 +12,6 @@ import type {
|
|
|
12
12
|
const _abi = [
|
|
13
13
|
{
|
|
14
14
|
inputs: [
|
|
15
|
-
{
|
|
16
|
-
internalType: "uint256",
|
|
17
|
-
name: "index",
|
|
18
|
-
type: "uint256",
|
|
19
|
-
},
|
|
20
15
|
{
|
|
21
16
|
internalType: "bytes",
|
|
22
17
|
name: "data",
|
|
@@ -24,11 +19,11 @@ const _abi = [
|
|
|
24
19
|
},
|
|
25
20
|
{
|
|
26
21
|
internalType: "uint256",
|
|
27
|
-
name: "
|
|
22
|
+
name: "flagsAndPrevAmountOut",
|
|
28
23
|
type: "uint256",
|
|
29
24
|
},
|
|
30
25
|
],
|
|
31
|
-
name: "
|
|
26
|
+
name: "executeBalV2",
|
|
32
27
|
outputs: [
|
|
33
28
|
{
|
|
34
29
|
internalType: "uint256",
|
|
@@ -41,11 +36,6 @@ const _abi = [
|
|
|
41
36
|
},
|
|
42
37
|
{
|
|
43
38
|
inputs: [
|
|
44
|
-
{
|
|
45
|
-
internalType: "uint256",
|
|
46
|
-
name: "index",
|
|
47
|
-
type: "uint256",
|
|
48
|
-
},
|
|
49
39
|
{
|
|
50
40
|
internalType: "bytes",
|
|
51
41
|
name: "data",
|
|
@@ -53,11 +43,11 @@ const _abi = [
|
|
|
53
43
|
},
|
|
54
44
|
{
|
|
55
45
|
internalType: "uint256",
|
|
56
|
-
name: "
|
|
46
|
+
name: "flagsAndPrevAmountOut",
|
|
57
47
|
type: "uint256",
|
|
58
48
|
},
|
|
59
49
|
],
|
|
60
|
-
name: "
|
|
50
|
+
name: "executeCamelot",
|
|
61
51
|
outputs: [
|
|
62
52
|
{
|
|
63
53
|
internalType: "uint256",
|
|
@@ -70,11 +60,6 @@ const _abi = [
|
|
|
70
60
|
},
|
|
71
61
|
{
|
|
72
62
|
inputs: [
|
|
73
|
-
{
|
|
74
|
-
internalType: "uint256",
|
|
75
|
-
name: "index",
|
|
76
|
-
type: "uint256",
|
|
77
|
-
},
|
|
78
63
|
{
|
|
79
64
|
internalType: "bytes",
|
|
80
65
|
name: "data",
|
|
@@ -82,11 +67,11 @@ const _abi = [
|
|
|
82
67
|
},
|
|
83
68
|
{
|
|
84
69
|
internalType: "uint256",
|
|
85
|
-
name: "
|
|
70
|
+
name: "flagsAndPrevAmountOut",
|
|
86
71
|
type: "uint256",
|
|
87
72
|
},
|
|
88
73
|
],
|
|
89
|
-
name: "
|
|
74
|
+
name: "executeCurve",
|
|
90
75
|
outputs: [
|
|
91
76
|
{
|
|
92
77
|
internalType: "uint256",
|
|
@@ -99,11 +84,6 @@ const _abi = [
|
|
|
99
84
|
},
|
|
100
85
|
{
|
|
101
86
|
inputs: [
|
|
102
|
-
{
|
|
103
|
-
internalType: "uint256",
|
|
104
|
-
name: "index",
|
|
105
|
-
type: "uint256",
|
|
106
|
-
},
|
|
107
87
|
{
|
|
108
88
|
internalType: "bytes",
|
|
109
89
|
name: "data",
|
|
@@ -111,11 +91,11 @@ const _abi = [
|
|
|
111
91
|
},
|
|
112
92
|
{
|
|
113
93
|
internalType: "uint256",
|
|
114
|
-
name: "
|
|
94
|
+
name: "flagsAndPrevAmountOut",
|
|
115
95
|
type: "uint256",
|
|
116
96
|
},
|
|
117
97
|
],
|
|
118
|
-
name: "
|
|
98
|
+
name: "executeDODO",
|
|
119
99
|
outputs: [
|
|
120
100
|
{
|
|
121
101
|
internalType: "uint256",
|
|
@@ -128,11 +108,6 @@ const _abi = [
|
|
|
128
108
|
},
|
|
129
109
|
{
|
|
130
110
|
inputs: [
|
|
131
|
-
{
|
|
132
|
-
internalType: "uint256",
|
|
133
|
-
name: "index",
|
|
134
|
-
type: "uint256",
|
|
135
|
-
},
|
|
136
111
|
{
|
|
137
112
|
internalType: "bytes",
|
|
138
113
|
name: "data",
|
|
@@ -140,11 +115,11 @@ const _abi = [
|
|
|
140
115
|
},
|
|
141
116
|
{
|
|
142
117
|
internalType: "uint256",
|
|
143
|
-
name: "
|
|
118
|
+
name: "flagsAndPrevAmountOut",
|
|
144
119
|
type: "uint256",
|
|
145
120
|
},
|
|
146
121
|
],
|
|
147
|
-
name: "
|
|
122
|
+
name: "executeFrax",
|
|
148
123
|
outputs: [
|
|
149
124
|
{
|
|
150
125
|
internalType: "uint256",
|
|
@@ -157,11 +132,6 @@ const _abi = [
|
|
|
157
132
|
},
|
|
158
133
|
{
|
|
159
134
|
inputs: [
|
|
160
|
-
{
|
|
161
|
-
internalType: "uint256",
|
|
162
|
-
name: "index",
|
|
163
|
-
type: "uint256",
|
|
164
|
-
},
|
|
165
135
|
{
|
|
166
136
|
internalType: "bytes",
|
|
167
137
|
name: "data",
|
|
@@ -169,11 +139,11 @@ const _abi = [
|
|
|
169
139
|
},
|
|
170
140
|
{
|
|
171
141
|
internalType: "uint256",
|
|
172
|
-
name: "
|
|
142
|
+
name: "flagsAndPrevAmountOut",
|
|
173
143
|
type: "uint256",
|
|
174
144
|
},
|
|
175
145
|
],
|
|
176
|
-
name: "
|
|
146
|
+
name: "executeGMX",
|
|
177
147
|
outputs: [
|
|
178
148
|
{
|
|
179
149
|
internalType: "uint256",
|
|
@@ -186,11 +156,6 @@ const _abi = [
|
|
|
186
156
|
},
|
|
187
157
|
{
|
|
188
158
|
inputs: [
|
|
189
|
-
{
|
|
190
|
-
internalType: "uint256",
|
|
191
|
-
name: "index",
|
|
192
|
-
type: "uint256",
|
|
193
|
-
},
|
|
194
159
|
{
|
|
195
160
|
internalType: "bytes",
|
|
196
161
|
name: "data",
|
|
@@ -198,11 +163,11 @@ const _abi = [
|
|
|
198
163
|
},
|
|
199
164
|
{
|
|
200
165
|
internalType: "uint256",
|
|
201
|
-
name: "
|
|
166
|
+
name: "flagsAndPrevAmountOut",
|
|
202
167
|
type: "uint256",
|
|
203
168
|
},
|
|
204
169
|
],
|
|
205
|
-
name: "
|
|
170
|
+
name: "executeHashflow",
|
|
206
171
|
outputs: [
|
|
207
172
|
{
|
|
208
173
|
internalType: "uint256",
|
|
@@ -215,11 +180,6 @@ const _abi = [
|
|
|
215
180
|
},
|
|
216
181
|
{
|
|
217
182
|
inputs: [
|
|
218
|
-
{
|
|
219
|
-
internalType: "uint256",
|
|
220
|
-
name: "index",
|
|
221
|
-
type: "uint256",
|
|
222
|
-
},
|
|
223
183
|
{
|
|
224
184
|
internalType: "bytes",
|
|
225
185
|
name: "data",
|
|
@@ -227,11 +187,11 @@ const _abi = [
|
|
|
227
187
|
},
|
|
228
188
|
{
|
|
229
189
|
internalType: "uint256",
|
|
230
|
-
name: "
|
|
190
|
+
name: "flagsAndPrevAmountOut",
|
|
231
191
|
type: "uint256",
|
|
232
192
|
},
|
|
233
193
|
],
|
|
234
|
-
name: "
|
|
194
|
+
name: "executeKSClassic",
|
|
235
195
|
outputs: [
|
|
236
196
|
{
|
|
237
197
|
internalType: "uint256",
|
|
@@ -244,11 +204,6 @@ const _abi = [
|
|
|
244
204
|
},
|
|
245
205
|
{
|
|
246
206
|
inputs: [
|
|
247
|
-
{
|
|
248
|
-
internalType: "uint256",
|
|
249
|
-
name: "index",
|
|
250
|
-
type: "uint256",
|
|
251
|
-
},
|
|
252
207
|
{
|
|
253
208
|
internalType: "bytes",
|
|
254
209
|
name: "data",
|
|
@@ -256,7 +211,7 @@ const _abi = [
|
|
|
256
211
|
},
|
|
257
212
|
{
|
|
258
213
|
internalType: "uint256",
|
|
259
|
-
name: "
|
|
214
|
+
name: "flagsAndPrevAmountOut",
|
|
260
215
|
type: "uint256",
|
|
261
216
|
},
|
|
262
217
|
],
|
|
@@ -273,11 +228,6 @@ const _abi = [
|
|
|
273
228
|
},
|
|
274
229
|
{
|
|
275
230
|
inputs: [
|
|
276
|
-
{
|
|
277
|
-
internalType: "uint256",
|
|
278
|
-
name: "index",
|
|
279
|
-
type: "uint256",
|
|
280
|
-
},
|
|
281
231
|
{
|
|
282
232
|
internalType: "bytes",
|
|
283
233
|
name: "data",
|
|
@@ -285,11 +235,11 @@ const _abi = [
|
|
|
285
235
|
},
|
|
286
236
|
{
|
|
287
237
|
internalType: "uint256",
|
|
288
|
-
name: "
|
|
238
|
+
name: "flagsAndPrevAmountOut",
|
|
289
239
|
type: "uint256",
|
|
290
240
|
},
|
|
291
241
|
],
|
|
292
|
-
name: "
|
|
242
|
+
name: "executeMaverick",
|
|
293
243
|
outputs: [
|
|
294
244
|
{
|
|
295
245
|
internalType: "uint256",
|
|
@@ -302,11 +252,6 @@ const _abi = [
|
|
|
302
252
|
},
|
|
303
253
|
{
|
|
304
254
|
inputs: [
|
|
305
|
-
{
|
|
306
|
-
internalType: "uint256",
|
|
307
|
-
name: "index",
|
|
308
|
-
type: "uint256",
|
|
309
|
-
},
|
|
310
255
|
{
|
|
311
256
|
internalType: "bytes",
|
|
312
257
|
name: "data",
|
|
@@ -314,11 +259,11 @@ const _abi = [
|
|
|
314
259
|
},
|
|
315
260
|
{
|
|
316
261
|
internalType: "uint256",
|
|
317
|
-
name: "
|
|
262
|
+
name: "flagsAndPrevAmountOut",
|
|
318
263
|
type: "uint256",
|
|
319
264
|
},
|
|
320
265
|
],
|
|
321
|
-
name: "
|
|
266
|
+
name: "executePSM",
|
|
322
267
|
outputs: [
|
|
323
268
|
{
|
|
324
269
|
internalType: "uint256",
|
|
@@ -331,11 +276,30 @@ const _abi = [
|
|
|
331
276
|
},
|
|
332
277
|
{
|
|
333
278
|
inputs: [
|
|
279
|
+
{
|
|
280
|
+
internalType: "bytes",
|
|
281
|
+
name: "data",
|
|
282
|
+
type: "bytes",
|
|
283
|
+
},
|
|
284
|
+
{
|
|
285
|
+
internalType: "uint256",
|
|
286
|
+
name: "flagsAndPrevAmountOut",
|
|
287
|
+
type: "uint256",
|
|
288
|
+
},
|
|
289
|
+
],
|
|
290
|
+
name: "executePlatypus",
|
|
291
|
+
outputs: [
|
|
334
292
|
{
|
|
335
293
|
internalType: "uint256",
|
|
336
|
-
name: "
|
|
294
|
+
name: "",
|
|
337
295
|
type: "uint256",
|
|
338
296
|
},
|
|
297
|
+
],
|
|
298
|
+
stateMutability: "payable",
|
|
299
|
+
type: "function",
|
|
300
|
+
},
|
|
301
|
+
{
|
|
302
|
+
inputs: [
|
|
339
303
|
{
|
|
340
304
|
internalType: "bytes",
|
|
341
305
|
name: "data",
|
|
@@ -343,11 +307,11 @@ const _abi = [
|
|
|
343
307
|
},
|
|
344
308
|
{
|
|
345
309
|
internalType: "uint256",
|
|
346
|
-
name: "
|
|
310
|
+
name: "flagsAndPrevAmountOut",
|
|
347
311
|
type: "uint256",
|
|
348
312
|
},
|
|
349
313
|
],
|
|
350
|
-
name: "
|
|
314
|
+
name: "executeRfq",
|
|
351
315
|
outputs: [
|
|
352
316
|
{
|
|
353
317
|
internalType: "uint256",
|
|
@@ -360,11 +324,30 @@ const _abi = [
|
|
|
360
324
|
},
|
|
361
325
|
{
|
|
362
326
|
inputs: [
|
|
327
|
+
{
|
|
328
|
+
internalType: "bytes",
|
|
329
|
+
name: "data",
|
|
330
|
+
type: "bytes",
|
|
331
|
+
},
|
|
332
|
+
{
|
|
333
|
+
internalType: "uint256",
|
|
334
|
+
name: "flagsAndPrevAmountOut",
|
|
335
|
+
type: "uint256",
|
|
336
|
+
},
|
|
337
|
+
],
|
|
338
|
+
name: "executeStEth",
|
|
339
|
+
outputs: [
|
|
363
340
|
{
|
|
364
341
|
internalType: "uint256",
|
|
365
|
-
name: "
|
|
342
|
+
name: "",
|
|
366
343
|
type: "uint256",
|
|
367
344
|
},
|
|
345
|
+
],
|
|
346
|
+
stateMutability: "payable",
|
|
347
|
+
type: "function",
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
inputs: [
|
|
368
351
|
{
|
|
369
352
|
internalType: "bytes",
|
|
370
353
|
name: "data",
|
|
@@ -372,7 +355,7 @@ const _abi = [
|
|
|
372
355
|
},
|
|
373
356
|
{
|
|
374
357
|
internalType: "uint256",
|
|
375
|
-
name: "
|
|
358
|
+
name: "flagsAndPrevAmountOut",
|
|
376
359
|
type: "uint256",
|
|
377
360
|
},
|
|
378
361
|
],
|
|
@@ -389,11 +372,6 @@ const _abi = [
|
|
|
389
372
|
},
|
|
390
373
|
{
|
|
391
374
|
inputs: [
|
|
392
|
-
{
|
|
393
|
-
internalType: "uint256",
|
|
394
|
-
name: "index",
|
|
395
|
-
type: "uint256",
|
|
396
|
-
},
|
|
397
375
|
{
|
|
398
376
|
internalType: "bytes",
|
|
399
377
|
name: "data",
|
|
@@ -401,11 +379,11 @@ const _abi = [
|
|
|
401
379
|
},
|
|
402
380
|
{
|
|
403
381
|
internalType: "uint256",
|
|
404
|
-
name: "
|
|
382
|
+
name: "flagsAndPrevAmountOut",
|
|
405
383
|
type: "uint256",
|
|
406
384
|
},
|
|
407
385
|
],
|
|
408
|
-
name: "
|
|
386
|
+
name: "executeSynthetix",
|
|
409
387
|
outputs: [
|
|
410
388
|
{
|
|
411
389
|
internalType: "uint256",
|
|
@@ -418,11 +396,6 @@ const _abi = [
|
|
|
418
396
|
},
|
|
419
397
|
{
|
|
420
398
|
inputs: [
|
|
421
|
-
{
|
|
422
|
-
internalType: "uint256",
|
|
423
|
-
name: "index",
|
|
424
|
-
type: "uint256",
|
|
425
|
-
},
|
|
426
399
|
{
|
|
427
400
|
internalType: "bytes",
|
|
428
401
|
name: "data",
|
|
@@ -430,11 +403,11 @@ const _abi = [
|
|
|
430
403
|
},
|
|
431
404
|
{
|
|
432
405
|
internalType: "uint256",
|
|
433
|
-
name: "
|
|
406
|
+
name: "flagsAndPrevAmountOut",
|
|
434
407
|
type: "uint256",
|
|
435
408
|
},
|
|
436
409
|
],
|
|
437
|
-
name: "
|
|
410
|
+
name: "executeUniV3KSElastic",
|
|
438
411
|
outputs: [
|
|
439
412
|
{
|
|
440
413
|
internalType: "uint256",
|
|
@@ -447,11 +420,6 @@ const _abi = [
|
|
|
447
420
|
},
|
|
448
421
|
{
|
|
449
422
|
inputs: [
|
|
450
|
-
{
|
|
451
|
-
internalType: "uint256",
|
|
452
|
-
name: "index",
|
|
453
|
-
type: "uint256",
|
|
454
|
-
},
|
|
455
423
|
{
|
|
456
424
|
internalType: "bytes",
|
|
457
425
|
name: "data",
|
|
@@ -459,11 +427,11 @@ const _abi = [
|
|
|
459
427
|
},
|
|
460
428
|
{
|
|
461
429
|
internalType: "uint256",
|
|
462
|
-
name: "
|
|
430
|
+
name: "flagsAndPrevAmountOut",
|
|
463
431
|
type: "uint256",
|
|
464
432
|
},
|
|
465
433
|
],
|
|
466
|
-
name: "
|
|
434
|
+
name: "executeUniswap",
|
|
467
435
|
outputs: [
|
|
468
436
|
{
|
|
469
437
|
internalType: "uint256",
|
|
@@ -476,11 +444,6 @@ const _abi = [
|
|
|
476
444
|
},
|
|
477
445
|
{
|
|
478
446
|
inputs: [
|
|
479
|
-
{
|
|
480
|
-
internalType: "uint256",
|
|
481
|
-
name: "index",
|
|
482
|
-
type: "uint256",
|
|
483
|
-
},
|
|
484
447
|
{
|
|
485
448
|
internalType: "bytes",
|
|
486
449
|
name: "data",
|
|
@@ -488,11 +451,11 @@ const _abi = [
|
|
|
488
451
|
},
|
|
489
452
|
{
|
|
490
453
|
internalType: "uint256",
|
|
491
|
-
name: "
|
|
454
|
+
name: "flagsAndPrevAmountOut",
|
|
492
455
|
type: "uint256",
|
|
493
456
|
},
|
|
494
457
|
],
|
|
495
|
-
name: "
|
|
458
|
+
name: "executeVelodrome",
|
|
496
459
|
outputs: [
|
|
497
460
|
{
|
|
498
461
|
internalType: "uint256",
|
|
@@ -505,11 +468,6 @@ const _abi = [
|
|
|
505
468
|
},
|
|
506
469
|
{
|
|
507
470
|
inputs: [
|
|
508
|
-
{
|
|
509
|
-
internalType: "uint256",
|
|
510
|
-
name: "index",
|
|
511
|
-
type: "uint256",
|
|
512
|
-
},
|
|
513
471
|
{
|
|
514
472
|
internalType: "bytes",
|
|
515
473
|
name: "data",
|
|
@@ -517,11 +475,11 @@ const _abi = [
|
|
|
517
475
|
},
|
|
518
476
|
{
|
|
519
477
|
internalType: "uint256",
|
|
520
|
-
name: "
|
|
478
|
+
name: "flagsAndPrevAmountOut",
|
|
521
479
|
type: "uint256",
|
|
522
480
|
},
|
|
523
481
|
],
|
|
524
|
-
name: "
|
|
482
|
+
name: "executeWrappedstETH",
|
|
525
483
|
outputs: [
|
|
526
484
|
{
|
|
527
485
|
internalType: "uint256",
|