@gearbox-protocol/sdk 18.2.0-next.14 → 18.2.0-next.16
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/dist/cjs/onchain/index.js +18 -0
- package/dist/cjs/onchain/market/adapters/abi/adapters/iTreehouseFastlaneAdapter.js +113 -0
- package/dist/cjs/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.js +258 -0
- package/dist/cjs/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.js +161 -0
- package/dist/cjs/onchain/market/adapters/abi/adapters/index.js +6 -0
- package/dist/cjs/onchain/market/adapters/abi/index.js +13 -0
- package/dist/cjs/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.js +39 -0
- package/dist/cjs/onchain/market/adapters/abi/treehouse/iTreehouseRedemptionGateway.js +230 -0
- package/dist/cjs/onchain/market/adapters/abi/treehouse/iTreehouseRouter.js +29 -0
- package/dist/cjs/onchain/market/adapters/abi/treehouse/index.js +7 -0
- package/dist/cjs/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.js +72 -0
- package/dist/cjs/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.js +117 -0
- package/dist/cjs/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.js +61 -0
- package/dist/cjs/onchain/market/adapters/contracts/index.js +6 -0
- package/dist/cjs/onchain/market/adapters/createAdapter.js +6 -0
- package/dist/cjs/onchain/market/adapters/index.js +18 -0
- package/dist/cjs/onchain/market/index.js +18 -0
- package/dist/cjs/permissionless/api/oracles/PermissionlessOracles.js +53 -7
- package/dist/cjs/permissionless/api/oracles/onchain-feed.js +25 -0
- package/dist/cjs/permissionless/api/transactions/InstanceOwnerTransactions.js +14 -3
- package/dist/cjs/permissionless/api/transactions/lp-price-feeds.js +10 -4
- package/dist/esm/onchain/index.js +10 -1
- package/dist/esm/onchain/market/adapters/abi/adapters/iTreehouseFastlaneAdapter.js +112 -0
- package/dist/esm/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.js +257 -0
- package/dist/esm/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.js +160 -0
- package/dist/esm/onchain/market/adapters/abi/adapters/index.js +4 -1
- package/dist/esm/onchain/market/adapters/abi/index.js +8 -1
- package/dist/esm/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.js +38 -0
- package/dist/esm/onchain/market/adapters/abi/treehouse/iTreehouseRedemptionGateway.js +229 -0
- package/dist/esm/onchain/market/adapters/abi/treehouse/iTreehouseRouter.js +28 -0
- package/dist/esm/onchain/market/adapters/abi/treehouse/index.js +4 -0
- package/dist/esm/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.js +71 -0
- package/dist/esm/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.js +116 -0
- package/dist/esm/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.js +60 -0
- package/dist/esm/onchain/market/adapters/contracts/index.js +4 -1
- package/dist/esm/onchain/market/adapters/createAdapter.js +6 -0
- package/dist/esm/onchain/market/adapters/index.js +10 -1
- package/dist/esm/onchain/market/index.js +10 -1
- package/dist/esm/permissionless/api/oracles/PermissionlessOracles.js +55 -9
- package/dist/esm/permissionless/api/oracles/onchain-feed.js +24 -0
- package/dist/esm/permissionless/api/transactions/InstanceOwnerTransactions.js +14 -3
- package/dist/esm/permissionless/api/transactions/lp-price-feeds.js +10 -4
- package/dist/types/onchain/index.d.ts +10 -1
- package/dist/types/onchain/market/adapters/abi/adapters/iTreehouseFastlaneAdapter.d.ts +101 -0
- package/dist/types/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.d.ts +237 -0
- package/dist/types/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.d.ts +146 -0
- package/dist/types/onchain/market/adapters/abi/adapters/index.d.ts +4 -1
- package/dist/types/onchain/market/adapters/abi/index.d.ts +8 -1
- package/dist/types/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.d.ts +33 -0
- package/dist/types/onchain/market/adapters/abi/treehouse/iTreehouseRedemptionGateway.d.ts +207 -0
- package/dist/types/onchain/market/adapters/abi/treehouse/iTreehouseRouter.d.ts +27 -0
- package/dist/types/onchain/market/adapters/abi/treehouse/index.d.ts +4 -0
- package/dist/types/onchain/market/adapters/contracts/TreehouseFastlaneAdapterContract.d.ts +156 -0
- package/dist/types/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.d.ts +481 -0
- package/dist/types/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.d.ts +193 -0
- package/dist/types/onchain/market/adapters/contracts/index.d.ts +4 -1
- package/dist/types/onchain/market/adapters/index.d.ts +10 -1
- package/dist/types/onchain/market/index.d.ts +10 -1
- package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +8 -2
- package/dist/types/permissionless/api/oracles/onchain-feed.d.ts +15 -0
- package/dist/types/permissionless/api/oracles/types.d.ts +12 -3
- package/dist/types/permissionless/api/transactions/lp-price-feeds.d.ts +9 -1
- package/package.json +1 -1
|
@@ -0,0 +1,257 @@
|
|
|
1
|
+
//#region src/onchain/market/adapters/abi/adapters/iTreehouseRedemptionGatewayAdapter.ts
|
|
2
|
+
const iTreehouseRedemptionGatewayAdapterAbi = [
|
|
3
|
+
{
|
|
4
|
+
type: "function",
|
|
5
|
+
name: "contractType",
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [{
|
|
8
|
+
name: "",
|
|
9
|
+
type: "bytes32",
|
|
10
|
+
internalType: "bytes32"
|
|
11
|
+
}],
|
|
12
|
+
stateMutability: "view"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
type: "function",
|
|
16
|
+
name: "creditManager",
|
|
17
|
+
inputs: [],
|
|
18
|
+
outputs: [{
|
|
19
|
+
name: "",
|
|
20
|
+
type: "address",
|
|
21
|
+
internalType: "address"
|
|
22
|
+
}],
|
|
23
|
+
stateMutability: "view"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "depositPhantomToken",
|
|
28
|
+
inputs: [{
|
|
29
|
+
name: "token",
|
|
30
|
+
type: "address",
|
|
31
|
+
internalType: "address"
|
|
32
|
+
}, {
|
|
33
|
+
name: "amount",
|
|
34
|
+
type: "uint256",
|
|
35
|
+
internalType: "uint256"
|
|
36
|
+
}],
|
|
37
|
+
outputs: [{
|
|
38
|
+
name: "",
|
|
39
|
+
type: "bool",
|
|
40
|
+
internalType: "bool"
|
|
41
|
+
}],
|
|
42
|
+
stateMutability: "nonpayable"
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
type: "function",
|
|
46
|
+
name: "finalizeRedeem",
|
|
47
|
+
inputs: [{
|
|
48
|
+
name: "redeemer",
|
|
49
|
+
type: "address",
|
|
50
|
+
internalType: "address"
|
|
51
|
+
}],
|
|
52
|
+
outputs: [{
|
|
53
|
+
name: "",
|
|
54
|
+
type: "bool",
|
|
55
|
+
internalType: "bool"
|
|
56
|
+
}],
|
|
57
|
+
stateMutability: "nonpayable"
|
|
58
|
+
},
|
|
59
|
+
{
|
|
60
|
+
type: "function",
|
|
61
|
+
name: "phantomToken",
|
|
62
|
+
inputs: [],
|
|
63
|
+
outputs: [{
|
|
64
|
+
name: "",
|
|
65
|
+
type: "address",
|
|
66
|
+
internalType: "address"
|
|
67
|
+
}],
|
|
68
|
+
stateMutability: "view"
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
type: "function",
|
|
72
|
+
name: "redeem",
|
|
73
|
+
inputs: [{
|
|
74
|
+
name: "shares",
|
|
75
|
+
type: "uint256",
|
|
76
|
+
internalType: "uint256"
|
|
77
|
+
}],
|
|
78
|
+
outputs: [{
|
|
79
|
+
name: "",
|
|
80
|
+
type: "bool",
|
|
81
|
+
internalType: "bool"
|
|
82
|
+
}],
|
|
83
|
+
stateMutability: "nonpayable"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
type: "function",
|
|
87
|
+
name: "redeem",
|
|
88
|
+
inputs: [{
|
|
89
|
+
name: "shares",
|
|
90
|
+
type: "uint256",
|
|
91
|
+
internalType: "uint256"
|
|
92
|
+
}, {
|
|
93
|
+
name: "extraData",
|
|
94
|
+
type: "bytes",
|
|
95
|
+
internalType: "bytes"
|
|
96
|
+
}],
|
|
97
|
+
outputs: [{
|
|
98
|
+
name: "",
|
|
99
|
+
type: "bool",
|
|
100
|
+
internalType: "bool"
|
|
101
|
+
}],
|
|
102
|
+
stateMutability: "nonpayable"
|
|
103
|
+
},
|
|
104
|
+
{
|
|
105
|
+
type: "function",
|
|
106
|
+
name: "redeemDiff",
|
|
107
|
+
inputs: [{
|
|
108
|
+
name: "leftoverShares",
|
|
109
|
+
type: "uint256",
|
|
110
|
+
internalType: "uint256"
|
|
111
|
+
}, {
|
|
112
|
+
name: "extraData",
|
|
113
|
+
type: "bytes",
|
|
114
|
+
internalType: "bytes"
|
|
115
|
+
}],
|
|
116
|
+
outputs: [{
|
|
117
|
+
name: "",
|
|
118
|
+
type: "bool",
|
|
119
|
+
internalType: "bool"
|
|
120
|
+
}],
|
|
121
|
+
stateMutability: "nonpayable"
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
type: "function",
|
|
125
|
+
name: "redeemDiff",
|
|
126
|
+
inputs: [{
|
|
127
|
+
name: "leftoverShares",
|
|
128
|
+
type: "uint256",
|
|
129
|
+
internalType: "uint256"
|
|
130
|
+
}],
|
|
131
|
+
outputs: [{
|
|
132
|
+
name: "",
|
|
133
|
+
type: "bool",
|
|
134
|
+
internalType: "bool"
|
|
135
|
+
}],
|
|
136
|
+
stateMutability: "nonpayable"
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
type: "function",
|
|
140
|
+
name: "rescueToken",
|
|
141
|
+
inputs: [{
|
|
142
|
+
name: "redeemer",
|
|
143
|
+
type: "address",
|
|
144
|
+
internalType: "address"
|
|
145
|
+
}, {
|
|
146
|
+
name: "token",
|
|
147
|
+
type: "address",
|
|
148
|
+
internalType: "address"
|
|
149
|
+
}],
|
|
150
|
+
outputs: [{
|
|
151
|
+
name: "",
|
|
152
|
+
type: "bool",
|
|
153
|
+
internalType: "bool"
|
|
154
|
+
}],
|
|
155
|
+
stateMutability: "nonpayable"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
type: "function",
|
|
159
|
+
name: "serialize",
|
|
160
|
+
inputs: [],
|
|
161
|
+
outputs: [{
|
|
162
|
+
name: "serializedData",
|
|
163
|
+
type: "bytes",
|
|
164
|
+
internalType: "bytes"
|
|
165
|
+
}],
|
|
166
|
+
stateMutability: "view"
|
|
167
|
+
},
|
|
168
|
+
{
|
|
169
|
+
type: "function",
|
|
170
|
+
name: "tAsset",
|
|
171
|
+
inputs: [],
|
|
172
|
+
outputs: [{
|
|
173
|
+
name: "",
|
|
174
|
+
type: "address",
|
|
175
|
+
internalType: "address"
|
|
176
|
+
}],
|
|
177
|
+
stateMutability: "view"
|
|
178
|
+
},
|
|
179
|
+
{
|
|
180
|
+
type: "function",
|
|
181
|
+
name: "targetContract",
|
|
182
|
+
inputs: [],
|
|
183
|
+
outputs: [{
|
|
184
|
+
name: "",
|
|
185
|
+
type: "address",
|
|
186
|
+
internalType: "address"
|
|
187
|
+
}],
|
|
188
|
+
stateMutability: "view"
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
type: "function",
|
|
192
|
+
name: "transferRedeemer",
|
|
193
|
+
inputs: [{
|
|
194
|
+
name: "redeemer",
|
|
195
|
+
type: "address",
|
|
196
|
+
internalType: "address"
|
|
197
|
+
}, {
|
|
198
|
+
name: "newAccount",
|
|
199
|
+
type: "address",
|
|
200
|
+
internalType: "address"
|
|
201
|
+
}],
|
|
202
|
+
outputs: [{
|
|
203
|
+
name: "",
|
|
204
|
+
type: "bool",
|
|
205
|
+
internalType: "bool"
|
|
206
|
+
}],
|
|
207
|
+
stateMutability: "nonpayable"
|
|
208
|
+
},
|
|
209
|
+
{
|
|
210
|
+
type: "function",
|
|
211
|
+
name: "vaultUnderlying",
|
|
212
|
+
inputs: [],
|
|
213
|
+
outputs: [{
|
|
214
|
+
name: "",
|
|
215
|
+
type: "address",
|
|
216
|
+
internalType: "address"
|
|
217
|
+
}],
|
|
218
|
+
stateMutability: "view"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
type: "function",
|
|
222
|
+
name: "version",
|
|
223
|
+
inputs: [],
|
|
224
|
+
outputs: [{
|
|
225
|
+
name: "",
|
|
226
|
+
type: "uint256",
|
|
227
|
+
internalType: "uint256"
|
|
228
|
+
}],
|
|
229
|
+
stateMutability: "view"
|
|
230
|
+
},
|
|
231
|
+
{
|
|
232
|
+
type: "function",
|
|
233
|
+
name: "withdrawPhantomToken",
|
|
234
|
+
inputs: [{
|
|
235
|
+
name: "token",
|
|
236
|
+
type: "address",
|
|
237
|
+
internalType: "address"
|
|
238
|
+
}, {
|
|
239
|
+
name: "amount",
|
|
240
|
+
type: "uint256",
|
|
241
|
+
internalType: "uint256"
|
|
242
|
+
}],
|
|
243
|
+
outputs: [{
|
|
244
|
+
name: "useSafePrices",
|
|
245
|
+
type: "bool",
|
|
246
|
+
internalType: "bool"
|
|
247
|
+
}],
|
|
248
|
+
stateMutability: "nonpayable"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
type: "error",
|
|
252
|
+
name: "IncorrectStakedPhantomTokenException",
|
|
253
|
+
inputs: []
|
|
254
|
+
}
|
|
255
|
+
];
|
|
256
|
+
//#endregion
|
|
257
|
+
export { iTreehouseRedemptionGatewayAdapterAbi };
|
|
@@ -0,0 +1,160 @@
|
|
|
1
|
+
//#region src/onchain/market/adapters/abi/adapters/iTreehouseRouterAdapter.ts
|
|
2
|
+
const iTreehouseRouterAdapterAbi = [
|
|
3
|
+
{
|
|
4
|
+
type: "function",
|
|
5
|
+
name: "allowedAssets",
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [{
|
|
8
|
+
name: "",
|
|
9
|
+
type: "address[]",
|
|
10
|
+
internalType: "address[]"
|
|
11
|
+
}],
|
|
12
|
+
stateMutability: "view"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
type: "function",
|
|
16
|
+
name: "contractType",
|
|
17
|
+
inputs: [],
|
|
18
|
+
outputs: [{
|
|
19
|
+
name: "",
|
|
20
|
+
type: "bytes32",
|
|
21
|
+
internalType: "bytes32"
|
|
22
|
+
}],
|
|
23
|
+
stateMutability: "view"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "creditManager",
|
|
28
|
+
inputs: [],
|
|
29
|
+
outputs: [{
|
|
30
|
+
name: "",
|
|
31
|
+
type: "address",
|
|
32
|
+
internalType: "address"
|
|
33
|
+
}],
|
|
34
|
+
stateMutability: "view"
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
type: "function",
|
|
38
|
+
name: "deposit",
|
|
39
|
+
inputs: [{
|
|
40
|
+
name: "token",
|
|
41
|
+
type: "address",
|
|
42
|
+
internalType: "address"
|
|
43
|
+
}, {
|
|
44
|
+
name: "amount",
|
|
45
|
+
type: "uint256",
|
|
46
|
+
internalType: "uint256"
|
|
47
|
+
}],
|
|
48
|
+
outputs: [{
|
|
49
|
+
name: "",
|
|
50
|
+
type: "bool",
|
|
51
|
+
internalType: "bool"
|
|
52
|
+
}],
|
|
53
|
+
stateMutability: "nonpayable"
|
|
54
|
+
},
|
|
55
|
+
{
|
|
56
|
+
type: "function",
|
|
57
|
+
name: "depositDiff",
|
|
58
|
+
inputs: [{
|
|
59
|
+
name: "token",
|
|
60
|
+
type: "address",
|
|
61
|
+
internalType: "address"
|
|
62
|
+
}, {
|
|
63
|
+
name: "leftoverAmount",
|
|
64
|
+
type: "uint256",
|
|
65
|
+
internalType: "uint256"
|
|
66
|
+
}],
|
|
67
|
+
outputs: [{
|
|
68
|
+
name: "",
|
|
69
|
+
type: "bool",
|
|
70
|
+
internalType: "bool"
|
|
71
|
+
}],
|
|
72
|
+
stateMutability: "nonpayable"
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
type: "function",
|
|
76
|
+
name: "isAssetAllowed",
|
|
77
|
+
inputs: [{
|
|
78
|
+
name: "asset",
|
|
79
|
+
type: "address",
|
|
80
|
+
internalType: "address"
|
|
81
|
+
}],
|
|
82
|
+
outputs: [{
|
|
83
|
+
name: "",
|
|
84
|
+
type: "bool",
|
|
85
|
+
internalType: "bool"
|
|
86
|
+
}],
|
|
87
|
+
stateMutability: "view"
|
|
88
|
+
},
|
|
89
|
+
{
|
|
90
|
+
type: "function",
|
|
91
|
+
name: "serialize",
|
|
92
|
+
inputs: [],
|
|
93
|
+
outputs: [{
|
|
94
|
+
name: "serializedData",
|
|
95
|
+
type: "bytes",
|
|
96
|
+
internalType: "bytes"
|
|
97
|
+
}],
|
|
98
|
+
stateMutability: "view"
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
type: "function",
|
|
102
|
+
name: "setAssetStatusBatch",
|
|
103
|
+
inputs: [{
|
|
104
|
+
name: "assets",
|
|
105
|
+
type: "address[]",
|
|
106
|
+
internalType: "address[]"
|
|
107
|
+
}, {
|
|
108
|
+
name: "allowed",
|
|
109
|
+
type: "bool[]",
|
|
110
|
+
internalType: "bool[]"
|
|
111
|
+
}],
|
|
112
|
+
outputs: [],
|
|
113
|
+
stateMutability: "nonpayable"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
type: "function",
|
|
117
|
+
name: "targetContract",
|
|
118
|
+
inputs: [],
|
|
119
|
+
outputs: [{
|
|
120
|
+
name: "",
|
|
121
|
+
type: "address",
|
|
122
|
+
internalType: "address"
|
|
123
|
+
}],
|
|
124
|
+
stateMutability: "view"
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
type: "function",
|
|
128
|
+
name: "version",
|
|
129
|
+
inputs: [],
|
|
130
|
+
outputs: [{
|
|
131
|
+
name: "",
|
|
132
|
+
type: "uint256",
|
|
133
|
+
internalType: "uint256"
|
|
134
|
+
}],
|
|
135
|
+
stateMutability: "view"
|
|
136
|
+
},
|
|
137
|
+
{
|
|
138
|
+
type: "event",
|
|
139
|
+
name: "SetAssetStatus",
|
|
140
|
+
inputs: [{
|
|
141
|
+
name: "asset",
|
|
142
|
+
type: "address",
|
|
143
|
+
indexed: true,
|
|
144
|
+
internalType: "address"
|
|
145
|
+
}, {
|
|
146
|
+
name: "allowed",
|
|
147
|
+
type: "bool",
|
|
148
|
+
indexed: false,
|
|
149
|
+
internalType: "bool"
|
|
150
|
+
}],
|
|
151
|
+
anonymous: false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
type: "error",
|
|
155
|
+
name: "InvalidAssetException",
|
|
156
|
+
inputs: []
|
|
157
|
+
}
|
|
158
|
+
];
|
|
159
|
+
//#endregion
|
|
160
|
+
export { iTreehouseRouterAdapterAbi };
|
|
@@ -26,6 +26,9 @@ import { iSecuritizeOnRampAdapterV310Abi } from "./iSecuritizeOnRampAdapterV310.
|
|
|
26
26
|
import { iSecuritizeRedemptionGatewayAdapterV311Abi } from "./iSecuritizeRedemptionGatewayAdapterV311.js";
|
|
27
27
|
import { iStakingRewardsAdapterAbi } from "./iStakingRewardsAdapter.js";
|
|
28
28
|
import { iTraderJoeRouterAdapterAbi } from "./iTraderJoeRouterAdapter.js";
|
|
29
|
+
import { iTreehouseFastlaneAdapterAbi } from "./iTreehouseFastlaneAdapter.js";
|
|
30
|
+
import { iTreehouseRedemptionGatewayAdapterAbi } from "./iTreehouseRedemptionGatewayAdapter.js";
|
|
31
|
+
import { iTreehouseRouterAdapterAbi } from "./iTreehouseRouterAdapter.js";
|
|
29
32
|
import { iUniswapV2AdapterAbi } from "./iUniswapV2Adapter.js";
|
|
30
33
|
import { iUniswapV3AdapterAbi } from "./iUniswapV3Adapter.js";
|
|
31
34
|
import { iUniswapV4AdapterAbi, iUniswapV4GatewayAbi } from "./iUniswapV4Adapter.js";
|
|
@@ -33,4 +36,4 @@ import { iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi } from "./iUpshiftVaul
|
|
|
33
36
|
import { iVelodromeV2RouterAdapterAbi } from "./iVelodromeV2RouterAdapter.js";
|
|
34
37
|
import { iwstEthv1AdapterAbi } from "./iwstEthv1Adapter.js";
|
|
35
38
|
import { mellowDvvAdapterAbi } from "./mellowDvvAdapter.js";
|
|
36
|
-
export { erc4626ReferralAdapterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAdapterAbi, iCamelotV3AdapterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAdapterAbi, iFluidDexAdapterAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAdapterAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAdapterAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iStakingRewardsAdapterAbi, iTraderJoeRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAdapterAbi, iwstEthv1AdapterAbi, mellowDvvAdapterAbi };
|
|
39
|
+
export { erc4626ReferralAdapterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAdapterAbi, iCamelotV3AdapterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAdapterAbi, iFluidDexAdapterAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAdapterAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAdapterAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iStakingRewardsAdapterAbi, iTraderJoeRouterAdapterAbi, iTreehouseFastlaneAdapterAbi, iTreehouseRedemptionGatewayAdapterAbi, iTreehouseRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAdapterAbi, iwstEthv1AdapterAbi, mellowDvvAdapterAbi };
|
|
@@ -27,6 +27,9 @@ import { iSecuritizeOnRampAdapterV310Abi } from "./adapters/iSecuritizeOnRampAda
|
|
|
27
27
|
import { iSecuritizeRedemptionGatewayAdapterV311Abi } from "./adapters/iSecuritizeRedemptionGatewayAdapterV311.js";
|
|
28
28
|
import { iStakingRewardsAdapterAbi } from "./adapters/iStakingRewardsAdapter.js";
|
|
29
29
|
import { iTraderJoeRouterAdapterAbi } from "./adapters/iTraderJoeRouterAdapter.js";
|
|
30
|
+
import { iTreehouseFastlaneAdapterAbi } from "./adapters/iTreehouseFastlaneAdapter.js";
|
|
31
|
+
import { iTreehouseRedemptionGatewayAdapterAbi } from "./adapters/iTreehouseRedemptionGatewayAdapter.js";
|
|
32
|
+
import { iTreehouseRouterAdapterAbi } from "./adapters/iTreehouseRouterAdapter.js";
|
|
30
33
|
import { iUniswapV2AdapterAbi } from "./adapters/iUniswapV2Adapter.js";
|
|
31
34
|
import { iUniswapV3AdapterAbi } from "./adapters/iUniswapV3Adapter.js";
|
|
32
35
|
import { iUniswapV4AdapterAbi, iUniswapV4GatewayAbi } from "./adapters/iUniswapV4Adapter.js";
|
|
@@ -43,5 +46,9 @@ import { iSecuritizeOnRampAbi } from "./securitize/iSecuritizeOnRamp.js";
|
|
|
43
46
|
import { iSecuritizeRedemptionGatewayV311Abi } from "./securitize/iSecuritizeRedemptionGatewayV311.js";
|
|
44
47
|
import "./securitize/index.js";
|
|
45
48
|
import { iBalancerV3RouterAbi, iBalancerV3WrapperAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3RouterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iDaiUsdsAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iInfinifiGatewayAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iMellowClaimerAbi, iMellowWrapperAbi, iMidasIssuanceVaultV310Abi, iPendleRouterAbi, iStakingRewardsAbi, iTraderJoeRouterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iVelodromeV2RouterAbi, iwstETHAbi, lidoV1_WETHGatewayAbi } from "./targetContractAbi.js";
|
|
49
|
+
import { iTreehouseFastlaneAbi } from "./treehouse/iTreehouseFastlane.js";
|
|
50
|
+
import { iTreehouseRedemptionGatewayAbi } from "./treehouse/iTreehouseRedemptionGateway.js";
|
|
51
|
+
import { iTreehouseRouterAbi } from "./treehouse/iTreehouseRouter.js";
|
|
52
|
+
import "./treehouse/index.js";
|
|
46
53
|
import { getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, hasAdapterDeployParamsAbi, parseAdapterAction, parseAdapterDeployParams } from "./utils.js";
|
|
47
|
-
export { adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, erc4626ReferralAdapterAbi, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, hasAdapterDeployParamsAbi, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, iwstETHAbi, iwstEthv1AdapterAbi, lidoV1_WETHGatewayAbi, mellowDvvAdapterAbi, parseAdapterAction, parseAdapterDeployParams };
|
|
54
|
+
export { adapterActionAbi, adapterActionSelectors, adapterActionSignatures, adapterConstructorAbi, erc4626ReferralAdapterAbi, getAdapterActionAbi, getAdapterDeployParamsAbi, getAdapterType, hasAdapterDeployParamsAbi, iBalancerV3RouterAbi, iBalancerV3RouterAdapterAbi, iBalancerV3WrapperAbi, iBalancerV3WrapperAdapterAbi, iBaseOnRampAbi, iBaseRewardPoolAbi, iBoosterAbi, iCamelotV3AdapterAbi, iCamelotV3RouterAbi, iConvexV1BaseRewardPoolAdapterAbi, iConvexV1BoosterAdapterAbi, iCurvePoolAbi, iCurvePoolStableNGAbi, iCurvePool_2Abi, iCurvePool_3Abi, iCurvePool_4Abi, iCurveV1StableNgAdapterAbi, iCurveV1_2AssetsAdapterAbi, iCurveV1_3AssetsAdapterAbi, iCurveV1_4AssetsAdapterAbi, iDaiUsdsAbi, iDaiUsdsAdapterAbi, iERC4626Abi, iERC4626ReferralAbi, iFluidDexAbi, iFluidDexAdapterAbi, iInfinifiGatewayAbi, iInfinifiGatewayAdapterAbi, iInfinifiUnwindingGatewayAbi, iInfinifiUnwindingGatewayAdapterAbi, iKelpLRTDepositPoolGatewayAbi, iKelpLRTWithdrawalManagerGatewayAbi, iKelpLrtDepositPoolAdapterAbi, iKelpLrtDepositPoolGatewayAbi, iKelpLrtWithdrawalManagerAdapterAbi, iKelpLrtWithdrawalManagerGatewayAbi, iLidoV1AdapterAbi, iMellow4626VaultAdapterAbi, iMellowClaimerAbi, iMellowClaimerAdapterAbi, iMellowWrapperAbi, iMellowWrapperAdapterAbi, iMidasGatewayAdapterV311Abi, iMidasGatewayV311Abi, iMidasIssuanceVaultAdapterV310Abi, iMidasIssuanceVaultV310Abi, iMidasRedemptionVaultAdapterV310Abi, iMidasRedemptionVaultGatewayV310Abi, iPendleRouterAbi, iPendleRouterAdapterAbi, iSecuritizeOnRampAbi, iSecuritizeOnRampAdapterV310Abi, iSecuritizeRedemptionGatewayAdapterV311Abi, iSecuritizeRedemptionGatewayV311Abi, iStakingRewardsAbi, iStakingRewardsAdapterAbi, iTraderJoeRouterAbi, iTraderJoeRouterAdapterAbi, iTreehouseFastlaneAbi, iTreehouseFastlaneAdapterAbi, iTreehouseRedemptionGatewayAbi, iTreehouseRedemptionGatewayAdapterAbi, iTreehouseRouterAbi, iTreehouseRouterAdapterAbi, iUniswapV2AdapterAbi, iUniswapV2Router02Abi, iUniswapV3Abi, iUniswapV3AdapterAbi, iUniswapV4AdapterAbi, iUniswapV4GatewayAbi, iUpshiftVaultAdapterAbi, iUpshiftVaultGatewayAbi, iVelodromeV2RouterAbi, iVelodromeV2RouterAdapterAbi, iwstETHAbi, iwstEthv1AdapterAbi, lidoV1_WETHGatewayAbi, mellowDvvAdapterAbi, parseAdapterAction, parseAdapterDeployParams };
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
//#region src/onchain/market/adapters/abi/treehouse/iTreehouseFastlane.ts
|
|
2
|
+
const iTreehouseFastlaneAbi = [
|
|
3
|
+
{
|
|
4
|
+
type: "function",
|
|
5
|
+
name: "TASSET",
|
|
6
|
+
inputs: [],
|
|
7
|
+
outputs: [{
|
|
8
|
+
name: "",
|
|
9
|
+
type: "address",
|
|
10
|
+
internalType: "address"
|
|
11
|
+
}],
|
|
12
|
+
stateMutability: "view"
|
|
13
|
+
},
|
|
14
|
+
{
|
|
15
|
+
type: "function",
|
|
16
|
+
name: "UNDERLYING",
|
|
17
|
+
inputs: [],
|
|
18
|
+
outputs: [{
|
|
19
|
+
name: "",
|
|
20
|
+
type: "address",
|
|
21
|
+
internalType: "address"
|
|
22
|
+
}],
|
|
23
|
+
stateMutability: "view"
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
type: "function",
|
|
27
|
+
name: "redeemAndFinalize",
|
|
28
|
+
inputs: [{
|
|
29
|
+
name: "_shares",
|
|
30
|
+
type: "uint96",
|
|
31
|
+
internalType: "uint96"
|
|
32
|
+
}],
|
|
33
|
+
outputs: [],
|
|
34
|
+
stateMutability: "nonpayable"
|
|
35
|
+
}
|
|
36
|
+
];
|
|
37
|
+
//#endregion
|
|
38
|
+
export { iTreehouseFastlaneAbi };
|