@gearbox-protocol/sdk 18.3.1 → 18.4.0
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/abi/310/iKillSwitchProxy.js +130 -0
- 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/index.js +31 -0
- package/dist/cjs/permissionless/api/oracles/PermissionlessOracles.js +637 -65
- package/dist/cjs/permissionless/api/oracles/enrich.js +99 -0
- package/dist/cjs/permissionless/api/oracles/index.js +33 -0
- package/dist/cjs/permissionless/api/oracles/onchain-feed.js +25 -0
- package/dist/cjs/permissionless/api/oracles/schemas.js +84 -59
- package/dist/cjs/permissionless/api/oracles/score/formula.js +56 -0
- package/dist/cjs/permissionless/api/oracles/score/index.js +11 -0
- package/dist/cjs/permissionless/api/oracles/score/run.js +252 -0
- package/dist/cjs/permissionless/api/oracles/score/types.js +1 -0
- package/dist/cjs/permissionless/api/oracles/stress/classify.js +258 -0
- package/dist/cjs/permissionless/api/oracles/stress/index.js +24 -0
- package/dist/cjs/permissionless/api/oracles/stress/override.js +125 -0
- package/dist/cjs/permissionless/api/oracles/stress/run.js +485 -0
- package/dist/cjs/permissionless/api/oracles/stress/score.js +98 -0
- package/dist/cjs/permissionless/api/oracles/stress/types.js +1 -0
- package/dist/cjs/permissionless/api/schemas.js +0 -3
- package/dist/cjs/permissionless/api/transactions/InstanceOwnerTransactions.js +14 -3
- package/dist/cjs/permissionless/api/transactions/lp-price-feeds.js +10 -4
- package/dist/cjs/permissionless/bindings/bytecode-repository.js +8 -0
- package/dist/cjs/permissionless/bindings/governance/governor.js +1 -1
- package/dist/cjs/permissionless/bindings/index.js +8 -3
- package/dist/cjs/permissionless/bindings/kill-switch-proxy.js +188 -0
- package/dist/cjs/permissionless/bindings/market-configurator-factory.js +39 -1
- package/dist/cjs/permissionless/bindings/market-configurator.js +142 -0
- package/dist/cjs/permissionless/index.js +42 -3
- package/dist/cjs/permissionless/utils/index.js +3 -0
- package/dist/cjs/permissionless/utils/literals.js +2 -0
- package/dist/cjs/permissionless/utils/price-update/get-prices.js +64 -0
- package/dist/cjs/permissionless/utils/price-update/index.js +2 -0
- package/dist/cjs/testnets/TestnetsAPI.js +179 -0
- package/dist/cjs/testnets/errors/TestnetNotFoundError.js +15 -0
- package/dist/cjs/testnets/errors/TestnetRequestFailedError.js +24 -0
- package/dist/cjs/testnets/errors/TestnetStatusError.js +19 -0
- package/dist/cjs/testnets/errors/TestnetValidationError.js +24 -0
- package/dist/cjs/testnets/errors/TestnetWaitTimeoutError.js +30 -0
- package/dist/cjs/testnets/errors/TestnetsError.js +34 -0
- package/dist/cjs/testnets/errors/index.js +13 -0
- package/dist/cjs/testnets/index.js +32 -0
- package/dist/cjs/testnets/package.json +1 -0
- package/dist/cjs/testnets/schemas.js +242 -0
- package/dist/cjs/testnets/types.js +1 -0
- package/dist/esm/abi/310/iKillSwitchProxy.js +129 -0
- 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/index.js +7 -1
- package/dist/esm/permissionless/api/oracles/PermissionlessOracles.js +639 -67
- package/dist/esm/permissionless/api/oracles/enrich.js +94 -0
- package/dist/esm/permissionless/api/oracles/index.js +10 -1
- package/dist/esm/permissionless/api/oracles/onchain-feed.js +24 -0
- package/dist/esm/permissionless/api/oracles/schemas.js +80 -58
- package/dist/esm/permissionless/api/oracles/score/formula.js +51 -0
- package/dist/esm/permissionless/api/oracles/score/index.js +4 -0
- package/dist/esm/permissionless/api/oracles/score/run.js +250 -0
- package/dist/esm/permissionless/api/oracles/score/types.js +1 -0
- package/dist/esm/permissionless/api/oracles/stress/classify.js +256 -0
- package/dist/esm/permissionless/api/oracles/stress/index.js +6 -0
- package/dist/esm/permissionless/api/oracles/stress/override.js +119 -0
- package/dist/esm/permissionless/api/oracles/stress/run.js +478 -0
- package/dist/esm/permissionless/api/oracles/stress/score.js +95 -0
- package/dist/esm/permissionless/api/oracles/stress/types.js +1 -0
- package/dist/esm/permissionless/api/schemas.js +2 -4
- package/dist/esm/permissionless/api/transactions/InstanceOwnerTransactions.js +14 -3
- package/dist/esm/permissionless/api/transactions/lp-price-feeds.js +10 -4
- package/dist/esm/permissionless/bindings/bytecode-repository.js +8 -0
- package/dist/esm/permissionless/bindings/governance/governor.js +1 -1
- package/dist/esm/permissionless/bindings/index.js +5 -4
- package/dist/esm/permissionless/bindings/kill-switch-proxy.js +184 -0
- package/dist/esm/permissionless/bindings/market-configurator-factory.js +37 -0
- package/dist/esm/permissionless/bindings/market-configurator.js +143 -1
- package/dist/esm/permissionless/index.js +13 -6
- package/dist/esm/permissionless/utils/index.js +3 -3
- package/dist/esm/permissionless/utils/literals.js +2 -1
- package/dist/esm/permissionless/utils/price-update/get-prices.js +63 -1
- package/dist/esm/permissionless/utils/price-update/index.js +2 -2
- package/dist/esm/testnets/TestnetsAPI.js +178 -0
- package/dist/esm/testnets/errors/TestnetNotFoundError.js +14 -0
- package/dist/esm/testnets/errors/TestnetRequestFailedError.js +23 -0
- package/dist/esm/testnets/errors/TestnetStatusError.js +18 -0
- package/dist/esm/testnets/errors/TestnetValidationError.js +23 -0
- package/dist/esm/testnets/errors/TestnetWaitTimeoutError.js +29 -0
- package/dist/esm/testnets/errors/TestnetsError.js +33 -0
- package/dist/esm/testnets/errors/index.js +7 -0
- package/dist/esm/testnets/index.js +11 -0
- package/dist/esm/testnets/package.json +1 -0
- package/dist/esm/testnets/schemas.js +228 -0
- package/dist/esm/testnets/types.js +1 -0
- package/dist/types/abi/310/iKillSwitchProxy.d.ts +114 -0
- 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/index.d.ts +10 -2
- package/dist/types/permissionless/api/oracles/PermissionlessOracles.d.ts +237 -47
- package/dist/types/permissionless/api/oracles/enrich.d.ts +59 -0
- package/dist/types/permissionless/api/oracles/index.d.ts +12 -2
- package/dist/types/permissionless/api/oracles/onchain-feed.d.ts +15 -0
- package/dist/types/permissionless/api/oracles/schemas.d.ts +147 -41
- package/dist/types/permissionless/api/oracles/score/formula.d.ts +36 -0
- package/dist/types/permissionless/api/oracles/score/index.d.ts +4 -0
- package/dist/types/permissionless/api/oracles/score/run.d.ts +42 -0
- package/dist/types/permissionless/api/oracles/score/types.d.ts +118 -0
- package/dist/types/permissionless/api/oracles/stress/classify.d.ts +57 -0
- package/dist/types/permissionless/api/oracles/stress/index.d.ts +6 -0
- package/dist/types/permissionless/api/oracles/stress/override.d.ts +59 -0
- package/dist/types/permissionless/api/oracles/stress/run.d.ts +100 -0
- package/dist/types/permissionless/api/oracles/stress/score.d.ts +57 -0
- package/dist/types/permissionless/api/oracles/stress/types.d.ts +272 -0
- package/dist/types/permissionless/api/oracles/types.d.ts +320 -125
- package/dist/types/permissionless/api/schemas.d.ts +0 -2
- package/dist/types/permissionless/api/transactions/lp-price-feeds.d.ts +9 -1
- package/dist/types/permissionless/bindings/bytecode-repository.d.ts +10 -1
- package/dist/types/permissionless/bindings/index.d.ts +4 -3
- package/dist/types/permissionless/bindings/kill-switch-proxy.d.ts +205 -0
- package/dist/types/permissionless/bindings/market-configurator-factory.d.ts +30 -0
- package/dist/types/permissionless/bindings/market-configurator.d.ts +30 -1
- package/dist/types/permissionless/bindings/types.d.ts +27 -0
- package/dist/types/permissionless/index.d.ts +15 -6
- package/dist/types/permissionless/utils/index.d.ts +3 -3
- package/dist/types/permissionless/utils/literals.d.ts +1 -0
- package/dist/types/permissionless/utils/price-update/get-prices.d.ts +33 -0
- package/dist/types/permissionless/utils/price-update/index.d.ts +2 -2
- package/dist/types/testnets/TestnetsAPI.d.ts +108 -0
- package/dist/types/testnets/errors/TestnetNotFoundError.d.ts +12 -0
- package/dist/types/testnets/errors/TestnetRequestFailedError.d.ts +11 -0
- package/dist/types/testnets/errors/TestnetStatusError.d.ts +15 -0
- package/dist/types/testnets/errors/TestnetValidationError.d.ts +16 -0
- package/dist/types/testnets/errors/TestnetWaitTimeoutError.d.ts +21 -0
- package/dist/types/testnets/errors/TestnetsError.d.ts +47 -0
- package/dist/types/testnets/errors/index.d.ts +7 -0
- package/dist/types/testnets/index.d.ts +11 -0
- package/dist/types/testnets/schemas.d.ts +554 -0
- package/dist/types/testnets/types.d.ts +717 -0
- package/package.json +6 -1
package/dist/types/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.d.ts
ADDED
|
@@ -0,0 +1,481 @@
|
|
|
1
|
+
import { AssetsMap } from "../../../utils/AssetsMap.js";
|
|
2
|
+
import { DelayedWithdrawalClaim, DelayedWithdrawalRequest } from "../types.js";
|
|
3
|
+
import { AbstractAdapterContract, ConcreteAdapterContractOptions } from "./AbstractAdapter.js";
|
|
4
|
+
import { OnchainSDK } from "../../../OnchainSDK.js";
|
|
5
|
+
import "../../../utils/index.js";
|
|
6
|
+
import { Address, DecodeFunctionDataReturnType, Hex } from "viem";
|
|
7
|
+
//#region src/onchain/market/adapters/contracts/TreehouseRedemptionGatewayAdapterContract.d.ts
|
|
8
|
+
declare const abi: readonly [{
|
|
9
|
+
readonly type: "function";
|
|
10
|
+
readonly name: "contractType";
|
|
11
|
+
readonly inputs: readonly [];
|
|
12
|
+
readonly outputs: readonly [{
|
|
13
|
+
readonly name: "";
|
|
14
|
+
readonly type: "bytes32";
|
|
15
|
+
readonly internalType: "bytes32";
|
|
16
|
+
}];
|
|
17
|
+
readonly stateMutability: "view";
|
|
18
|
+
}, {
|
|
19
|
+
readonly type: "function";
|
|
20
|
+
readonly name: "creditManager";
|
|
21
|
+
readonly inputs: readonly [];
|
|
22
|
+
readonly outputs: readonly [{
|
|
23
|
+
readonly name: "";
|
|
24
|
+
readonly type: "address";
|
|
25
|
+
readonly internalType: "address";
|
|
26
|
+
}];
|
|
27
|
+
readonly stateMutability: "view";
|
|
28
|
+
}, {
|
|
29
|
+
readonly type: "function";
|
|
30
|
+
readonly name: "depositPhantomToken";
|
|
31
|
+
readonly inputs: readonly [{
|
|
32
|
+
readonly name: "token";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}, {
|
|
36
|
+
readonly name: "amount";
|
|
37
|
+
readonly type: "uint256";
|
|
38
|
+
readonly internalType: "uint256";
|
|
39
|
+
}];
|
|
40
|
+
readonly outputs: readonly [{
|
|
41
|
+
readonly name: "";
|
|
42
|
+
readonly type: "bool";
|
|
43
|
+
readonly internalType: "bool";
|
|
44
|
+
}];
|
|
45
|
+
readonly stateMutability: "nonpayable";
|
|
46
|
+
}, {
|
|
47
|
+
readonly type: "function";
|
|
48
|
+
readonly name: "finalizeRedeem";
|
|
49
|
+
readonly inputs: readonly [{
|
|
50
|
+
readonly name: "redeemer";
|
|
51
|
+
readonly type: "address";
|
|
52
|
+
readonly internalType: "address";
|
|
53
|
+
}];
|
|
54
|
+
readonly outputs: readonly [{
|
|
55
|
+
readonly name: "";
|
|
56
|
+
readonly type: "bool";
|
|
57
|
+
readonly internalType: "bool";
|
|
58
|
+
}];
|
|
59
|
+
readonly stateMutability: "nonpayable";
|
|
60
|
+
}, {
|
|
61
|
+
readonly type: "function";
|
|
62
|
+
readonly name: "phantomToken";
|
|
63
|
+
readonly inputs: readonly [];
|
|
64
|
+
readonly outputs: readonly [{
|
|
65
|
+
readonly name: "";
|
|
66
|
+
readonly type: "address";
|
|
67
|
+
readonly internalType: "address";
|
|
68
|
+
}];
|
|
69
|
+
readonly stateMutability: "view";
|
|
70
|
+
}, {
|
|
71
|
+
readonly type: "function";
|
|
72
|
+
readonly name: "redeem";
|
|
73
|
+
readonly inputs: readonly [{
|
|
74
|
+
readonly name: "shares";
|
|
75
|
+
readonly type: "uint256";
|
|
76
|
+
readonly internalType: "uint256";
|
|
77
|
+
}];
|
|
78
|
+
readonly outputs: readonly [{
|
|
79
|
+
readonly name: "";
|
|
80
|
+
readonly type: "bool";
|
|
81
|
+
readonly internalType: "bool";
|
|
82
|
+
}];
|
|
83
|
+
readonly stateMutability: "nonpayable";
|
|
84
|
+
}, {
|
|
85
|
+
readonly type: "function";
|
|
86
|
+
readonly name: "redeem";
|
|
87
|
+
readonly inputs: readonly [{
|
|
88
|
+
readonly name: "shares";
|
|
89
|
+
readonly type: "uint256";
|
|
90
|
+
readonly internalType: "uint256";
|
|
91
|
+
}, {
|
|
92
|
+
readonly name: "extraData";
|
|
93
|
+
readonly type: "bytes";
|
|
94
|
+
readonly internalType: "bytes";
|
|
95
|
+
}];
|
|
96
|
+
readonly outputs: readonly [{
|
|
97
|
+
readonly name: "";
|
|
98
|
+
readonly type: "bool";
|
|
99
|
+
readonly internalType: "bool";
|
|
100
|
+
}];
|
|
101
|
+
readonly stateMutability: "nonpayable";
|
|
102
|
+
}, {
|
|
103
|
+
readonly type: "function";
|
|
104
|
+
readonly name: "redeemDiff";
|
|
105
|
+
readonly inputs: readonly [{
|
|
106
|
+
readonly name: "leftoverShares";
|
|
107
|
+
readonly type: "uint256";
|
|
108
|
+
readonly internalType: "uint256";
|
|
109
|
+
}, {
|
|
110
|
+
readonly name: "extraData";
|
|
111
|
+
readonly type: "bytes";
|
|
112
|
+
readonly internalType: "bytes";
|
|
113
|
+
}];
|
|
114
|
+
readonly outputs: readonly [{
|
|
115
|
+
readonly name: "";
|
|
116
|
+
readonly type: "bool";
|
|
117
|
+
readonly internalType: "bool";
|
|
118
|
+
}];
|
|
119
|
+
readonly stateMutability: "nonpayable";
|
|
120
|
+
}, {
|
|
121
|
+
readonly type: "function";
|
|
122
|
+
readonly name: "redeemDiff";
|
|
123
|
+
readonly inputs: readonly [{
|
|
124
|
+
readonly name: "leftoverShares";
|
|
125
|
+
readonly type: "uint256";
|
|
126
|
+
readonly internalType: "uint256";
|
|
127
|
+
}];
|
|
128
|
+
readonly outputs: readonly [{
|
|
129
|
+
readonly name: "";
|
|
130
|
+
readonly type: "bool";
|
|
131
|
+
readonly internalType: "bool";
|
|
132
|
+
}];
|
|
133
|
+
readonly stateMutability: "nonpayable";
|
|
134
|
+
}, {
|
|
135
|
+
readonly type: "function";
|
|
136
|
+
readonly name: "rescueToken";
|
|
137
|
+
readonly inputs: readonly [{
|
|
138
|
+
readonly name: "redeemer";
|
|
139
|
+
readonly type: "address";
|
|
140
|
+
readonly internalType: "address";
|
|
141
|
+
}, {
|
|
142
|
+
readonly name: "token";
|
|
143
|
+
readonly type: "address";
|
|
144
|
+
readonly internalType: "address";
|
|
145
|
+
}];
|
|
146
|
+
readonly outputs: readonly [{
|
|
147
|
+
readonly name: "";
|
|
148
|
+
readonly type: "bool";
|
|
149
|
+
readonly internalType: "bool";
|
|
150
|
+
}];
|
|
151
|
+
readonly stateMutability: "nonpayable";
|
|
152
|
+
}, {
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
readonly name: "serialize";
|
|
155
|
+
readonly inputs: readonly [];
|
|
156
|
+
readonly outputs: readonly [{
|
|
157
|
+
readonly name: "serializedData";
|
|
158
|
+
readonly type: "bytes";
|
|
159
|
+
readonly internalType: "bytes";
|
|
160
|
+
}];
|
|
161
|
+
readonly stateMutability: "view";
|
|
162
|
+
}, {
|
|
163
|
+
readonly type: "function";
|
|
164
|
+
readonly name: "tAsset";
|
|
165
|
+
readonly inputs: readonly [];
|
|
166
|
+
readonly outputs: readonly [{
|
|
167
|
+
readonly name: "";
|
|
168
|
+
readonly type: "address";
|
|
169
|
+
readonly internalType: "address";
|
|
170
|
+
}];
|
|
171
|
+
readonly stateMutability: "view";
|
|
172
|
+
}, {
|
|
173
|
+
readonly type: "function";
|
|
174
|
+
readonly name: "targetContract";
|
|
175
|
+
readonly inputs: readonly [];
|
|
176
|
+
readonly outputs: readonly [{
|
|
177
|
+
readonly name: "";
|
|
178
|
+
readonly type: "address";
|
|
179
|
+
readonly internalType: "address";
|
|
180
|
+
}];
|
|
181
|
+
readonly stateMutability: "view";
|
|
182
|
+
}, {
|
|
183
|
+
readonly type: "function";
|
|
184
|
+
readonly name: "transferRedeemer";
|
|
185
|
+
readonly inputs: readonly [{
|
|
186
|
+
readonly name: "redeemer";
|
|
187
|
+
readonly type: "address";
|
|
188
|
+
readonly internalType: "address";
|
|
189
|
+
}, {
|
|
190
|
+
readonly name: "newAccount";
|
|
191
|
+
readonly type: "address";
|
|
192
|
+
readonly internalType: "address";
|
|
193
|
+
}];
|
|
194
|
+
readonly outputs: readonly [{
|
|
195
|
+
readonly name: "";
|
|
196
|
+
readonly type: "bool";
|
|
197
|
+
readonly internalType: "bool";
|
|
198
|
+
}];
|
|
199
|
+
readonly stateMutability: "nonpayable";
|
|
200
|
+
}, {
|
|
201
|
+
readonly type: "function";
|
|
202
|
+
readonly name: "vaultUnderlying";
|
|
203
|
+
readonly inputs: readonly [];
|
|
204
|
+
readonly outputs: readonly [{
|
|
205
|
+
readonly name: "";
|
|
206
|
+
readonly type: "address";
|
|
207
|
+
readonly internalType: "address";
|
|
208
|
+
}];
|
|
209
|
+
readonly stateMutability: "view";
|
|
210
|
+
}, {
|
|
211
|
+
readonly type: "function";
|
|
212
|
+
readonly name: "version";
|
|
213
|
+
readonly inputs: readonly [];
|
|
214
|
+
readonly outputs: readonly [{
|
|
215
|
+
readonly name: "";
|
|
216
|
+
readonly type: "uint256";
|
|
217
|
+
readonly internalType: "uint256";
|
|
218
|
+
}];
|
|
219
|
+
readonly stateMutability: "view";
|
|
220
|
+
}, {
|
|
221
|
+
readonly type: "function";
|
|
222
|
+
readonly name: "withdrawPhantomToken";
|
|
223
|
+
readonly inputs: readonly [{
|
|
224
|
+
readonly name: "token";
|
|
225
|
+
readonly type: "address";
|
|
226
|
+
readonly internalType: "address";
|
|
227
|
+
}, {
|
|
228
|
+
readonly name: "amount";
|
|
229
|
+
readonly type: "uint256";
|
|
230
|
+
readonly internalType: "uint256";
|
|
231
|
+
}];
|
|
232
|
+
readonly outputs: readonly [{
|
|
233
|
+
readonly name: "useSafePrices";
|
|
234
|
+
readonly type: "bool";
|
|
235
|
+
readonly internalType: "bool";
|
|
236
|
+
}];
|
|
237
|
+
readonly stateMutability: "nonpayable";
|
|
238
|
+
}, {
|
|
239
|
+
readonly type: "error";
|
|
240
|
+
readonly name: "IncorrectStakedPhantomTokenException";
|
|
241
|
+
readonly inputs: readonly [];
|
|
242
|
+
}];
|
|
243
|
+
type abi = typeof abi;
|
|
244
|
+
declare const protocolAbi: readonly [{
|
|
245
|
+
readonly type: "function";
|
|
246
|
+
readonly name: "contractType";
|
|
247
|
+
readonly inputs: readonly [];
|
|
248
|
+
readonly outputs: readonly [{
|
|
249
|
+
readonly name: "";
|
|
250
|
+
readonly type: "bytes32";
|
|
251
|
+
readonly internalType: "bytes32";
|
|
252
|
+
}];
|
|
253
|
+
readonly stateMutability: "view";
|
|
254
|
+
}, {
|
|
255
|
+
readonly type: "function";
|
|
256
|
+
readonly name: "finalizeRedeem";
|
|
257
|
+
readonly inputs: readonly [{
|
|
258
|
+
readonly name: "redeemer";
|
|
259
|
+
readonly type: "address";
|
|
260
|
+
readonly internalType: "address";
|
|
261
|
+
}];
|
|
262
|
+
readonly outputs: readonly [];
|
|
263
|
+
readonly stateMutability: "nonpayable";
|
|
264
|
+
}, {
|
|
265
|
+
readonly type: "function";
|
|
266
|
+
readonly name: "masterRedeemer";
|
|
267
|
+
readonly inputs: readonly [];
|
|
268
|
+
readonly outputs: readonly [{
|
|
269
|
+
readonly name: "";
|
|
270
|
+
readonly type: "address";
|
|
271
|
+
readonly internalType: "address";
|
|
272
|
+
}];
|
|
273
|
+
readonly stateMutability: "view";
|
|
274
|
+
}, {
|
|
275
|
+
readonly type: "function";
|
|
276
|
+
readonly name: "pendingAndClaimableAmounts";
|
|
277
|
+
readonly inputs: readonly [{
|
|
278
|
+
readonly name: "account";
|
|
279
|
+
readonly type: "address";
|
|
280
|
+
readonly internalType: "address";
|
|
281
|
+
}];
|
|
282
|
+
readonly outputs: readonly [{
|
|
283
|
+
readonly name: "pendingAmount";
|
|
284
|
+
readonly type: "uint256";
|
|
285
|
+
readonly internalType: "uint256";
|
|
286
|
+
}, {
|
|
287
|
+
readonly name: "claimableAmount";
|
|
288
|
+
readonly type: "uint256";
|
|
289
|
+
readonly internalType: "uint256";
|
|
290
|
+
}];
|
|
291
|
+
readonly stateMutability: "view";
|
|
292
|
+
}, {
|
|
293
|
+
readonly type: "function";
|
|
294
|
+
readonly name: "pendingRedeemers";
|
|
295
|
+
readonly inputs: readonly [{
|
|
296
|
+
readonly name: "account";
|
|
297
|
+
readonly type: "address";
|
|
298
|
+
readonly internalType: "address";
|
|
299
|
+
}];
|
|
300
|
+
readonly outputs: readonly [{
|
|
301
|
+
readonly name: "redeemers";
|
|
302
|
+
readonly type: "address[]";
|
|
303
|
+
readonly internalType: "address[]";
|
|
304
|
+
}];
|
|
305
|
+
readonly stateMutability: "view";
|
|
306
|
+
}, {
|
|
307
|
+
readonly type: "function";
|
|
308
|
+
readonly name: "phantomToken";
|
|
309
|
+
readonly inputs: readonly [];
|
|
310
|
+
readonly outputs: readonly [{
|
|
311
|
+
readonly name: "";
|
|
312
|
+
readonly type: "address";
|
|
313
|
+
readonly internalType: "address";
|
|
314
|
+
}];
|
|
315
|
+
readonly stateMutability: "view";
|
|
316
|
+
}, {
|
|
317
|
+
readonly type: "function";
|
|
318
|
+
readonly name: "redeem";
|
|
319
|
+
readonly inputs: readonly [{
|
|
320
|
+
readonly name: "shares";
|
|
321
|
+
readonly type: "uint256";
|
|
322
|
+
readonly internalType: "uint256";
|
|
323
|
+
}, {
|
|
324
|
+
readonly name: "extraData";
|
|
325
|
+
readonly type: "bytes";
|
|
326
|
+
readonly internalType: "bytes";
|
|
327
|
+
}];
|
|
328
|
+
readonly outputs: readonly [];
|
|
329
|
+
readonly stateMutability: "nonpayable";
|
|
330
|
+
}, {
|
|
331
|
+
readonly type: "function";
|
|
332
|
+
readonly name: "redeemers";
|
|
333
|
+
readonly inputs: readonly [{
|
|
334
|
+
readonly name: "account";
|
|
335
|
+
readonly type: "address";
|
|
336
|
+
readonly internalType: "address";
|
|
337
|
+
}];
|
|
338
|
+
readonly outputs: readonly [{
|
|
339
|
+
readonly name: "redeemers";
|
|
340
|
+
readonly type: "address[]";
|
|
341
|
+
readonly internalType: "address[]";
|
|
342
|
+
}];
|
|
343
|
+
readonly stateMutability: "view";
|
|
344
|
+
}, {
|
|
345
|
+
readonly type: "function";
|
|
346
|
+
readonly name: "redemptionLogger";
|
|
347
|
+
readonly inputs: readonly [];
|
|
348
|
+
readonly outputs: readonly [{
|
|
349
|
+
readonly name: "";
|
|
350
|
+
readonly type: "address";
|
|
351
|
+
readonly internalType: "address";
|
|
352
|
+
}];
|
|
353
|
+
readonly stateMutability: "view";
|
|
354
|
+
}, {
|
|
355
|
+
readonly type: "function";
|
|
356
|
+
readonly name: "redemptionV3";
|
|
357
|
+
readonly inputs: readonly [];
|
|
358
|
+
readonly outputs: readonly [{
|
|
359
|
+
readonly name: "";
|
|
360
|
+
readonly type: "address";
|
|
361
|
+
readonly internalType: "address";
|
|
362
|
+
}];
|
|
363
|
+
readonly stateMutability: "view";
|
|
364
|
+
}, {
|
|
365
|
+
readonly type: "function";
|
|
366
|
+
readonly name: "rescueToken";
|
|
367
|
+
readonly inputs: readonly [{
|
|
368
|
+
readonly name: "redeemer";
|
|
369
|
+
readonly type: "address";
|
|
370
|
+
readonly internalType: "address";
|
|
371
|
+
}, {
|
|
372
|
+
readonly name: "token";
|
|
373
|
+
readonly type: "address";
|
|
374
|
+
readonly internalType: "address";
|
|
375
|
+
}];
|
|
376
|
+
readonly outputs: readonly [];
|
|
377
|
+
readonly stateMutability: "nonpayable";
|
|
378
|
+
}, {
|
|
379
|
+
readonly type: "function";
|
|
380
|
+
readonly name: "tAsset";
|
|
381
|
+
readonly inputs: readonly [];
|
|
382
|
+
readonly outputs: readonly [{
|
|
383
|
+
readonly name: "";
|
|
384
|
+
readonly type: "address";
|
|
385
|
+
readonly internalType: "address";
|
|
386
|
+
}];
|
|
387
|
+
readonly stateMutability: "view";
|
|
388
|
+
}, {
|
|
389
|
+
readonly type: "function";
|
|
390
|
+
readonly name: "transferMaster";
|
|
391
|
+
readonly inputs: readonly [];
|
|
392
|
+
readonly outputs: readonly [{
|
|
393
|
+
readonly name: "";
|
|
394
|
+
readonly type: "address";
|
|
395
|
+
readonly internalType: "address";
|
|
396
|
+
}];
|
|
397
|
+
readonly stateMutability: "view";
|
|
398
|
+
}, {
|
|
399
|
+
readonly type: "function";
|
|
400
|
+
readonly name: "transferRedeemer";
|
|
401
|
+
readonly inputs: readonly [{
|
|
402
|
+
readonly name: "redeemer";
|
|
403
|
+
readonly type: "address";
|
|
404
|
+
readonly internalType: "address";
|
|
405
|
+
}, {
|
|
406
|
+
readonly name: "newAccount";
|
|
407
|
+
readonly type: "address";
|
|
408
|
+
readonly internalType: "address";
|
|
409
|
+
}];
|
|
410
|
+
readonly outputs: readonly [];
|
|
411
|
+
readonly stateMutability: "nonpayable";
|
|
412
|
+
}, {
|
|
413
|
+
readonly type: "function";
|
|
414
|
+
readonly name: "vaultUnderlying";
|
|
415
|
+
readonly inputs: readonly [];
|
|
416
|
+
readonly outputs: readonly [{
|
|
417
|
+
readonly name: "";
|
|
418
|
+
readonly type: "address";
|
|
419
|
+
readonly internalType: "address";
|
|
420
|
+
}];
|
|
421
|
+
readonly stateMutability: "view";
|
|
422
|
+
}, {
|
|
423
|
+
readonly type: "function";
|
|
424
|
+
readonly name: "version";
|
|
425
|
+
readonly inputs: readonly [];
|
|
426
|
+
readonly outputs: readonly [{
|
|
427
|
+
readonly name: "";
|
|
428
|
+
readonly type: "uint256";
|
|
429
|
+
readonly internalType: "uint256";
|
|
430
|
+
}];
|
|
431
|
+
readonly stateMutability: "view";
|
|
432
|
+
}, {
|
|
433
|
+
readonly type: "error";
|
|
434
|
+
readonly name: "MaxPendingRedeemersPerAccountException";
|
|
435
|
+
readonly inputs: readonly [];
|
|
436
|
+
}, {
|
|
437
|
+
readonly type: "error";
|
|
438
|
+
readonly name: "RedeemerNotOwnedByAccountException";
|
|
439
|
+
readonly inputs: readonly [];
|
|
440
|
+
}, {
|
|
441
|
+
readonly type: "error";
|
|
442
|
+
readonly name: "RedeemerStillPendingException";
|
|
443
|
+
readonly inputs: readonly [];
|
|
444
|
+
}, {
|
|
445
|
+
readonly type: "error";
|
|
446
|
+
readonly name: "RedeemerTransferNotAllowedException";
|
|
447
|
+
readonly inputs: readonly [];
|
|
448
|
+
}];
|
|
449
|
+
type protocolAbi = typeof protocolAbi;
|
|
450
|
+
export declare class TreehouseRedemptionGatewayAdapterContract extends AbstractAdapterContract<abi, protocolAbi> {
|
|
451
|
+
#private;
|
|
452
|
+
constructor(sdk: OnchainSDK, args: ConcreteAdapterContractOptions);
|
|
453
|
+
get tAsset(): Address;
|
|
454
|
+
get vaultUnderlying(): Address;
|
|
455
|
+
get phantomToken(): Address;
|
|
456
|
+
stateHuman(raw?: boolean): {
|
|
457
|
+
address: string;
|
|
458
|
+
version: number;
|
|
459
|
+
contractType?: string;
|
|
460
|
+
creditManager?: string;
|
|
461
|
+
targetContract?: string;
|
|
462
|
+
tAsset: string | undefined;
|
|
463
|
+
vaultUnderlying: string | undefined;
|
|
464
|
+
phantomToken: string | undefined;
|
|
465
|
+
};
|
|
466
|
+
/**
|
|
467
|
+
* `redeem` (the only request call the withdrawal compressor emits) spends
|
|
468
|
+
* the tAsset and mints the redemption phantom token; the vault underlying is
|
|
469
|
+
* received when the redemption is finalized. The 2-arg overload carries the
|
|
470
|
+
* intent `extraData`.
|
|
471
|
+
*/
|
|
472
|
+
parseDelayedWithdrawalRequest(calldata: Hex): DelayedWithdrawalRequest | undefined;
|
|
473
|
+
/**
|
|
474
|
+
* `finalizeRedeem(address redeemer)` claims a matured redemption from a
|
|
475
|
+
* redeemer contract.
|
|
476
|
+
*/
|
|
477
|
+
parseDelayedWithdrawalClaim(calldata: Hex): DelayedWithdrawalClaim | undefined;
|
|
478
|
+
protected applyBalanceChanges(balances: AssetsMap, decoded: DecodeFunctionDataReturnType<abi>): void;
|
|
479
|
+
}
|
|
480
|
+
//#endregion
|
|
481
|
+
export {};
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
import { AssetsMap } from "../../../utils/AssetsMap.js";
|
|
2
|
+
import { AbstractAdapterContract, ConcreteAdapterContractOptions } from "./AbstractAdapter.js";
|
|
3
|
+
import { OnchainSDK } from "../../../OnchainSDK.js";
|
|
4
|
+
import "../../../utils/index.js";
|
|
5
|
+
import { Address, DecodeFunctionDataReturnType } from "viem";
|
|
6
|
+
//#region src/onchain/market/adapters/contracts/TreehouseRouterAdapterContract.d.ts
|
|
7
|
+
declare const abi: readonly [{
|
|
8
|
+
readonly type: "function";
|
|
9
|
+
readonly name: "allowedAssets";
|
|
10
|
+
readonly inputs: readonly [];
|
|
11
|
+
readonly outputs: readonly [{
|
|
12
|
+
readonly name: "";
|
|
13
|
+
readonly type: "address[]";
|
|
14
|
+
readonly internalType: "address[]";
|
|
15
|
+
}];
|
|
16
|
+
readonly stateMutability: "view";
|
|
17
|
+
}, {
|
|
18
|
+
readonly type: "function";
|
|
19
|
+
readonly name: "contractType";
|
|
20
|
+
readonly inputs: readonly [];
|
|
21
|
+
readonly outputs: readonly [{
|
|
22
|
+
readonly name: "";
|
|
23
|
+
readonly type: "bytes32";
|
|
24
|
+
readonly internalType: "bytes32";
|
|
25
|
+
}];
|
|
26
|
+
readonly stateMutability: "view";
|
|
27
|
+
}, {
|
|
28
|
+
readonly type: "function";
|
|
29
|
+
readonly name: "creditManager";
|
|
30
|
+
readonly inputs: readonly [];
|
|
31
|
+
readonly outputs: readonly [{
|
|
32
|
+
readonly name: "";
|
|
33
|
+
readonly type: "address";
|
|
34
|
+
readonly internalType: "address";
|
|
35
|
+
}];
|
|
36
|
+
readonly stateMutability: "view";
|
|
37
|
+
}, {
|
|
38
|
+
readonly type: "function";
|
|
39
|
+
readonly name: "deposit";
|
|
40
|
+
readonly inputs: readonly [{
|
|
41
|
+
readonly name: "token";
|
|
42
|
+
readonly type: "address";
|
|
43
|
+
readonly internalType: "address";
|
|
44
|
+
}, {
|
|
45
|
+
readonly name: "amount";
|
|
46
|
+
readonly type: "uint256";
|
|
47
|
+
readonly internalType: "uint256";
|
|
48
|
+
}];
|
|
49
|
+
readonly outputs: readonly [{
|
|
50
|
+
readonly name: "";
|
|
51
|
+
readonly type: "bool";
|
|
52
|
+
readonly internalType: "bool";
|
|
53
|
+
}];
|
|
54
|
+
readonly stateMutability: "nonpayable";
|
|
55
|
+
}, {
|
|
56
|
+
readonly type: "function";
|
|
57
|
+
readonly name: "depositDiff";
|
|
58
|
+
readonly inputs: readonly [{
|
|
59
|
+
readonly name: "token";
|
|
60
|
+
readonly type: "address";
|
|
61
|
+
readonly internalType: "address";
|
|
62
|
+
}, {
|
|
63
|
+
readonly name: "leftoverAmount";
|
|
64
|
+
readonly type: "uint256";
|
|
65
|
+
readonly internalType: "uint256";
|
|
66
|
+
}];
|
|
67
|
+
readonly outputs: readonly [{
|
|
68
|
+
readonly name: "";
|
|
69
|
+
readonly type: "bool";
|
|
70
|
+
readonly internalType: "bool";
|
|
71
|
+
}];
|
|
72
|
+
readonly stateMutability: "nonpayable";
|
|
73
|
+
}, {
|
|
74
|
+
readonly type: "function";
|
|
75
|
+
readonly name: "isAssetAllowed";
|
|
76
|
+
readonly inputs: readonly [{
|
|
77
|
+
readonly name: "asset";
|
|
78
|
+
readonly type: "address";
|
|
79
|
+
readonly internalType: "address";
|
|
80
|
+
}];
|
|
81
|
+
readonly outputs: readonly [{
|
|
82
|
+
readonly name: "";
|
|
83
|
+
readonly type: "bool";
|
|
84
|
+
readonly internalType: "bool";
|
|
85
|
+
}];
|
|
86
|
+
readonly stateMutability: "view";
|
|
87
|
+
}, {
|
|
88
|
+
readonly type: "function";
|
|
89
|
+
readonly name: "serialize";
|
|
90
|
+
readonly inputs: readonly [];
|
|
91
|
+
readonly outputs: readonly [{
|
|
92
|
+
readonly name: "serializedData";
|
|
93
|
+
readonly type: "bytes";
|
|
94
|
+
readonly internalType: "bytes";
|
|
95
|
+
}];
|
|
96
|
+
readonly stateMutability: "view";
|
|
97
|
+
}, {
|
|
98
|
+
readonly type: "function";
|
|
99
|
+
readonly name: "setAssetStatusBatch";
|
|
100
|
+
readonly inputs: readonly [{
|
|
101
|
+
readonly name: "assets";
|
|
102
|
+
readonly type: "address[]";
|
|
103
|
+
readonly internalType: "address[]";
|
|
104
|
+
}, {
|
|
105
|
+
readonly name: "allowed";
|
|
106
|
+
readonly type: "bool[]";
|
|
107
|
+
readonly internalType: "bool[]";
|
|
108
|
+
}];
|
|
109
|
+
readonly outputs: readonly [];
|
|
110
|
+
readonly stateMutability: "nonpayable";
|
|
111
|
+
}, {
|
|
112
|
+
readonly type: "function";
|
|
113
|
+
readonly name: "targetContract";
|
|
114
|
+
readonly inputs: readonly [];
|
|
115
|
+
readonly outputs: readonly [{
|
|
116
|
+
readonly name: "";
|
|
117
|
+
readonly type: "address";
|
|
118
|
+
readonly internalType: "address";
|
|
119
|
+
}];
|
|
120
|
+
readonly stateMutability: "view";
|
|
121
|
+
}, {
|
|
122
|
+
readonly type: "function";
|
|
123
|
+
readonly name: "version";
|
|
124
|
+
readonly inputs: readonly [];
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly name: "";
|
|
127
|
+
readonly type: "uint256";
|
|
128
|
+
readonly internalType: "uint256";
|
|
129
|
+
}];
|
|
130
|
+
readonly stateMutability: "view";
|
|
131
|
+
}, {
|
|
132
|
+
readonly type: "event";
|
|
133
|
+
readonly name: "SetAssetStatus";
|
|
134
|
+
readonly inputs: readonly [{
|
|
135
|
+
readonly name: "asset";
|
|
136
|
+
readonly type: "address";
|
|
137
|
+
readonly indexed: true;
|
|
138
|
+
readonly internalType: "address";
|
|
139
|
+
}, {
|
|
140
|
+
readonly name: "allowed";
|
|
141
|
+
readonly type: "bool";
|
|
142
|
+
readonly indexed: false;
|
|
143
|
+
readonly internalType: "bool";
|
|
144
|
+
}];
|
|
145
|
+
readonly anonymous: false;
|
|
146
|
+
}, {
|
|
147
|
+
readonly type: "error";
|
|
148
|
+
readonly name: "InvalidAssetException";
|
|
149
|
+
readonly inputs: readonly [];
|
|
150
|
+
}];
|
|
151
|
+
type abi = typeof abi;
|
|
152
|
+
declare const protocolAbi: readonly [{
|
|
153
|
+
readonly type: "function";
|
|
154
|
+
readonly name: "TASSET";
|
|
155
|
+
readonly inputs: readonly [];
|
|
156
|
+
readonly outputs: readonly [{
|
|
157
|
+
readonly name: "";
|
|
158
|
+
readonly type: "address";
|
|
159
|
+
readonly internalType: "address";
|
|
160
|
+
}];
|
|
161
|
+
readonly stateMutability: "view";
|
|
162
|
+
}, {
|
|
163
|
+
readonly type: "function";
|
|
164
|
+
readonly name: "deposit";
|
|
165
|
+
readonly inputs: readonly [{
|
|
166
|
+
readonly name: "token";
|
|
167
|
+
readonly type: "address";
|
|
168
|
+
readonly internalType: "address";
|
|
169
|
+
}, {
|
|
170
|
+
readonly name: "amount";
|
|
171
|
+
readonly type: "uint256";
|
|
172
|
+
readonly internalType: "uint256";
|
|
173
|
+
}];
|
|
174
|
+
readonly outputs: readonly [];
|
|
175
|
+
readonly stateMutability: "nonpayable";
|
|
176
|
+
}];
|
|
177
|
+
type protocolAbi = typeof protocolAbi;
|
|
178
|
+
export declare class TreehouseRouterAdapterContract extends AbstractAdapterContract<abi, protocolAbi> {
|
|
179
|
+
#private;
|
|
180
|
+
constructor(sdk: OnchainSDK, args: ConcreteAdapterContractOptions);
|
|
181
|
+
get allowedAssets(): Address[];
|
|
182
|
+
stateHuman(raw?: boolean): {
|
|
183
|
+
address: string;
|
|
184
|
+
version: number;
|
|
185
|
+
contractType?: string;
|
|
186
|
+
creditManager?: string;
|
|
187
|
+
targetContract?: string;
|
|
188
|
+
allowedAssets: string[] | undefined;
|
|
189
|
+
};
|
|
190
|
+
protected applyBalanceChanges(balances: AssetsMap, decoded: DecodeFunctionDataReturnType<abi>): void;
|
|
191
|
+
}
|
|
192
|
+
//#endregion
|
|
193
|
+
export {};
|
|
@@ -31,10 +31,13 @@ import { SecuritizeOnRampAdapterContract } from "./SecuritizeOnRampAdapterContra
|
|
|
31
31
|
import { SecuritizeRedemptionGatewayAdapterContract } from "./SecuritizeRedemptionGatewayAdapterContract.js";
|
|
32
32
|
import { StakingRewardsAdapterContract } from "./StakingRewardsAdapterContract.js";
|
|
33
33
|
import { TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract } from "./TraderJoeRouterAdapterContract.js";
|
|
34
|
+
import { TreehouseFastlaneAdapterContract } from "./TreehouseFastlaneAdapterContract.js";
|
|
35
|
+
import { TreehouseRedemptionGatewayAdapterContract } from "./TreehouseRedemptionGatewayAdapterContract.js";
|
|
36
|
+
import { TreehouseRouterAdapterContract } from "./TreehouseRouterAdapterContract.js";
|
|
34
37
|
import { UniswapV2AdapterContract } from "./UniswapV2AdapterContract.js";
|
|
35
38
|
import { UniswapV3AdapterContract } from "./UniswapV3AdapterContract.js";
|
|
36
39
|
import { UniswapV4AdapterContract } from "./UniswapV4AdapterContract.js";
|
|
37
40
|
import { UpshiftVaultAdapterContract } from "./UpshiftVaultAdapterContract.js";
|
|
38
41
|
import { VelodromeV2RouterAdapterContract } from "./VelodromeV2AdapterContract.js";
|
|
39
42
|
import { WstETHV1AdapterContract } from "./WstETHV1AdapterContract.js";
|
|
40
|
-
export { AbstractAdapterContract, AbstractAdapterContractOptions, AccountMigratorAdapterContract, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, CamelotPool, CamelotV3AdapterContract, ConcreteAdapterContractOptions, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, DaiUsdsAdapterContract, ERC4626AdapterContract, ERC4626ReferralAdapterContract, FluidDexAdapterContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, LidoV1AdapterContract, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowWrapperAdapterContract, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasRedemptionVaultAdapterContract, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTokenType, SecuritizeOnRampAdapterContract, SecuritizeRedemptionGatewayAdapterContract, StakingRewardsAdapterContract, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpshiftVaultAdapterContract, VelodromeV2RouterAdapterContract, WstETHV1AdapterContract };
|
|
43
|
+
export { AbstractAdapterContract, AbstractAdapterContractOptions, AccountMigratorAdapterContract, BalancerV3Pool, BalancerV3PoolStatus, BalancerV3RouterAdapterContract, BalancerV3WrapperAdapterContract, CamelotPool, CamelotV3AdapterContract, ConcreteAdapterContractOptions, ConvexV1BaseRewardPoolAdapterContract, ConvexV1BoosterAdapterContract, Curve2AssetsAdapterContract, Curve3AssetsAdapterContract, Curve4AssetsAdapterContract, CurveV1AdapterStETHContract, CurveV1StableNGAdapterContract, DaiUsdsAdapterContract, ERC4626AdapterContract, ERC4626ReferralAdapterContract, FluidDexAdapterContract, InfinifiGatewayAdapterContract, InfinifiUnwindingGatewayAdapterContract, KelpLRTDepositPoolAdapterContract, KelpLRTWithdrawalManagerAdapterContract, LidoV1AdapterContract, MellowClaimerAdapterContract, MellowDVVAdapterContract, MellowERC4626VaultAdapterContract, MellowWrapperAdapterContract, MidasGatewayAdapterContract, MidasIssuanceVaultAdapterContract, MidasRedemptionVaultAdapterContract, PendlePair, PendlePairStatus, PendleRouterAdapterContract, PendleTokenType, SecuritizeOnRampAdapterContract, SecuritizeRedemptionGatewayAdapterContract, StakingRewardsAdapterContract, TraderJoePool, TraderJoePoolVersion, TraderJoeRouterAdapterContract, TreehouseFastlaneAdapterContract, TreehouseRedemptionGatewayAdapterContract, TreehouseRouterAdapterContract, UniswapV2AdapterContract, UniswapV3AdapterContract, UniswapV4AdapterContract, UpshiftVaultAdapterContract, VelodromeV2RouterAdapterContract, WstETHV1AdapterContract };
|