@dhedge/trading-widget 3.2.0-alpha.0 → 3.2.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/README.md +1 -5
- package/core-kit/abi/easy-swapper-v2.d.ts +0 -48
- package/core-kit/abi/index.d.ts +2 -3
- package/core-kit/abi/pool-logic.d.ts +124 -878
- package/core-kit/abi/pool-manager-logic.d.ts +0 -19
- package/core-kit/const/contracts/base.d.ts +1 -1
- package/core-kit/const/contracts/polygon.d.ts +0 -2
- package/core-kit/const/default-data.d.ts +1 -1
- package/core-kit/const/synthetix.d.ts +1 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +190 -75
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +0 -57
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +5 -878
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +214 -3315
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +0 -1
- package/core-kit/hooks/pool/use-pool-fees.d.ts +1 -0
- package/core-kit/hooks/state/action.d.ts +0 -3
- package/core-kit/hooks/state/index.d.ts +1 -2
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +0 -48
- package/core-kit/hooks/trading/use-swaps-data-query.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction-arguments.d.ts +1 -6
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +0 -48
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +0 -48
- package/core-kit/hooks/web3/use-static-call-query.d.ts +6 -7
- package/core-kit/types/index.d.ts +0 -1
- package/core-kit/types/state.types.d.ts +0 -8
- package/core-kit/types/web3.types.d.ts +12 -0
- package/core-kit/utils/transaction.d.ts +3 -14
- package/core-kit/utils/web3.d.ts +2 -0
- package/index-8d920656.cjs +217 -0
- package/{index-97262ee5.js → index-d62956b7.js} +10949 -12275
- package/index.cjs +1 -1
- package/index.d.ts +3 -3
- package/index.js +203 -204
- package/package.json +1 -1
- package/{pyth-adapter-3dec6847.cjs → pyth-adapter-c8d76d79.cjs} +1 -1
- package/{pyth-adapter-4822ae26.js → pyth-adapter-e278f630.js} +1 -1
- package/style.css +1 -1
- package/trading-widget/components/deposit/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +0 -3
- package/trading-widget/components/widget/widget-buttons/approve-button/approve-button.hooks.d.ts +0 -1
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-deposit-swap-quote-button/reload-deposit-swap-quote-button.hooks.d.ts +1 -2
- package/trading-widget/components/widget/widget-buttons/reload-swap-quote-button/reload-withdraw-swap-quote-button/reload-withdraw-swap-quote-button.hooks.d.ts +1 -2
- package/trading-widget/components/widget/widget-overlay/index.d.ts +0 -1
- package/trading-widget/components/withdraw/init-step/meta/transaction-disclosure/transaction-disclosure.hooks.d.ts +0 -3
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +0 -1
- package/trading-widget/providers/translation-provider/translation-provider.types.d.ts +0 -1
- package/core-kit/abi/aave/aave-asset-guard.d.ts +0 -50
- package/core-kit/hooks/state/meta.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params.d.ts +0 -6
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +0 -5
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-aave-swap-data.d.ts +0 -5
- package/core-kit/types/contract.types.d.ts +0 -28
- package/index-3ff0a312.cjs +0 -217
- package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.d.ts +0 -2
- package/trading-widget/components/widget/widget-overlay/pending-approval-overlay/pending-approval-overlay.hooks.d.ts +0 -3
- package/trading-widget/components/widget/widget-overlay/trading-overlay/trading-summary/claim-summary.d.ts +0 -7
- /package/core-kit/abi/{aave/aave-lending-pool.d.ts → aave-lending-pool.d.ts} +0 -0
|
@@ -85,23 +85,4 @@ export declare const PoolManagerLogicAbi: readonly [{
|
|
|
85
85
|
}];
|
|
86
86
|
readonly stateMutability: "nonpayable";
|
|
87
87
|
readonly type: "function";
|
|
88
|
-
}, {
|
|
89
|
-
readonly inputs: readonly [];
|
|
90
|
-
readonly name: "getSupportedAssets";
|
|
91
|
-
readonly outputs: readonly [{
|
|
92
|
-
readonly components: readonly [{
|
|
93
|
-
readonly internalType: "address";
|
|
94
|
-
readonly name: "asset";
|
|
95
|
-
readonly type: "address";
|
|
96
|
-
}, {
|
|
97
|
-
readonly internalType: "bool";
|
|
98
|
-
readonly name: "isDeposit";
|
|
99
|
-
readonly type: "bool";
|
|
100
|
-
}];
|
|
101
|
-
readonly internalType: "struct IHasSupportedAsset.Asset[]";
|
|
102
|
-
readonly name: "";
|
|
103
|
-
readonly type: "tuple[]";
|
|
104
|
-
}];
|
|
105
|
-
readonly stateMutability: "view";
|
|
106
|
-
readonly type: "function";
|
|
107
88
|
}];
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export declare const FACTORY_ADDRESS_BASE = "0x49Afe3abCf66CF09Fab86cb1139D8811C8afe56F";
|
|
2
2
|
export declare const SYNTHETIX_V3_CORE_ADDRESS_BASE = "0x32C222A9A159782aFD7529c87FA34b96CA72C696";
|
|
3
3
|
export declare const EASY_SWAPPER_V2_ADDRESS_BASE = "0xf067575Eb60c7587C11e867907AA7284833704d1";
|
|
4
|
-
export declare const AAVE_LENDING_POOL_V3_ADDRESS_BASE = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5";
|
|
5
4
|
export declare const FLATCOIN_POINTS_MODULE_ADDRESS_BASE = "0x59525b9b23adc475ef91d98dae06b568ba574ce5";
|
|
6
5
|
export declare const FLATMONEY_EARLY_DEPOSITOR_VAULT_ADDRESS_BASE = "0xa907504d7a4c415b4e6e1d0866d96afe8202f0e5";
|
|
7
6
|
export declare const FLATMONEY_DHT_STAKING_VAULT_ADDRESS_BASE = "0x1849324228d852a67eb7443e42d967e480ffe95d";
|
|
7
|
+
export declare const AAVE_LENDING_POOL_V3_ADDRESS_BASE = "0xa238dd80c259a72e81d7e4664a9801593f98d1c5";
|
|
@@ -1,6 +1,4 @@
|
|
|
1
1
|
export declare const FACTORY_ADDRESS_POLYGON = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0";
|
|
2
|
-
export declare const DEV_FACTORY_ADDRESS_POLYGON = "0xDd87eCdB10cFF7004276AAbAbd30e7a08F69bb53";
|
|
3
2
|
export declare const AAVE_LENDING_POOL_V2_ADDRESS_POLYGON = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf";
|
|
4
3
|
export declare const AAVE_LENDING_POOL_V3_ADDRESS_POLYGON = "0x794a61358D6845594F94dc1DB02A252b5b4814aD";
|
|
5
4
|
export declare const EASY_SWAPPER_V2_ADDRESS_POLYGON = "0x45b90480D6F643dE2f128db091A357C3c90399f2";
|
|
6
|
-
export declare const DEV_EASY_SWAPPER_V2_ADDRESS_POLYGON = "0xfc02889E9459Ebc56840a79cB364924Fe3F054EB";
|
|
@@ -25,4 +25,4 @@ export declare const MANAGER_FEE_DENOMINATOR = 10000;
|
|
|
25
25
|
export declare const DEFAULT_PROMISE_TIMEOUT_MS = 13000;
|
|
26
26
|
export declare const DEFAULT_VISIBLE_ASSETS_LIMIT = 3;
|
|
27
27
|
export declare const SWAP_QUOTE_REFRESH_INTERVAL_MS = 20000;
|
|
28
|
-
export declare const DEFAULT_NOTIFICATION_DURATION_MS =
|
|
28
|
+
export declare const DEFAULT_NOTIFICATION_DURATION_MS = 15000;
|
|
@@ -3,3 +3,4 @@ export declare const DHEDGE_SYNTHETIX_V3_ASSETS_MAP: Record<ChainId, Address>;
|
|
|
3
3
|
export declare const DHEDGE_SYNTHETIX_V3_VAULT_ADDRESSES: Address[];
|
|
4
4
|
export declare const SYNTHETIX_V3_VAULTS_WITHDRAW_ASSET_SYMBOL_MAP: Record<string, string>;
|
|
5
5
|
export declare const SYNTHETIX_V3_POSITION_DEBT_ARGUMENTS: Record<string, string[]>;
|
|
6
|
+
export declare const WITHDRAWAL_FEE_MAP: Map<`0x${string}`, number>;
|
|
@@ -88,143 +88,258 @@ export declare const usePoolManagerDynamic: ({ address, chainId, }: PoolContract
|
|
|
88
88
|
}];
|
|
89
89
|
readonly stateMutability: "nonpayable";
|
|
90
90
|
readonly type: "function";
|
|
91
|
-
}, {
|
|
92
|
-
readonly inputs: readonly [];
|
|
93
|
-
readonly name: "getSupportedAssets";
|
|
94
|
-
readonly outputs: readonly [{
|
|
95
|
-
readonly components: readonly [{
|
|
96
|
-
readonly internalType: "address";
|
|
97
|
-
readonly name: "asset";
|
|
98
|
-
readonly type: "address";
|
|
99
|
-
}, {
|
|
100
|
-
readonly internalType: "bool";
|
|
101
|
-
readonly name: "isDeposit";
|
|
102
|
-
readonly type: "bool";
|
|
103
|
-
}];
|
|
104
|
-
readonly internalType: "struct IHasSupportedAsset.Asset[]";
|
|
105
|
-
readonly name: "";
|
|
106
|
-
readonly type: "tuple[]";
|
|
107
|
-
}];
|
|
108
|
-
readonly stateMutability: "view";
|
|
109
|
-
readonly type: "function";
|
|
110
91
|
}];
|
|
111
92
|
readonly functionName: "getFundComposition";
|
|
112
93
|
readonly chainId: number;
|
|
113
94
|
}, {
|
|
114
95
|
readonly address: `0x${string}`;
|
|
115
96
|
readonly abi: readonly [{
|
|
116
|
-
readonly inputs: readonly [
|
|
117
|
-
|
|
118
|
-
|
|
119
|
-
readonly
|
|
120
|
-
readonly internalType: "address";
|
|
121
|
-
readonly name: "asset";
|
|
122
|
-
readonly type: "address";
|
|
123
|
-
}, {
|
|
124
|
-
readonly internalType: "bool";
|
|
125
|
-
readonly name: "isDeposit";
|
|
126
|
-
readonly type: "bool";
|
|
127
|
-
}];
|
|
128
|
-
readonly internalType: "struct IHasSupportedAsset.Asset[]";
|
|
129
|
-
readonly name: "assets";
|
|
130
|
-
readonly type: "tuple[]";
|
|
131
|
-
}, {
|
|
132
|
-
readonly internalType: "uint256[]";
|
|
133
|
-
readonly name: "balances";
|
|
134
|
-
readonly type: "uint256[]";
|
|
97
|
+
readonly inputs: readonly [{
|
|
98
|
+
readonly internalType: "address";
|
|
99
|
+
readonly name: "owner";
|
|
100
|
+
readonly type: "address";
|
|
135
101
|
}, {
|
|
136
|
-
readonly internalType: "
|
|
137
|
-
readonly name: "
|
|
138
|
-
readonly type: "
|
|
102
|
+
readonly internalType: "address";
|
|
103
|
+
readonly name: "spender";
|
|
104
|
+
readonly type: "address";
|
|
139
105
|
}];
|
|
140
|
-
readonly
|
|
141
|
-
readonly type: "function";
|
|
142
|
-
}, {
|
|
143
|
-
readonly inputs: readonly [];
|
|
144
|
-
readonly name: "getFeeIncreaseInfo";
|
|
106
|
+
readonly name: "allowance";
|
|
145
107
|
readonly outputs: readonly [{
|
|
146
108
|
readonly internalType: "uint256";
|
|
147
109
|
readonly name: "";
|
|
148
110
|
readonly type: "uint256";
|
|
111
|
+
}];
|
|
112
|
+
readonly stateMutability: "view";
|
|
113
|
+
readonly type: "function";
|
|
114
|
+
}, {
|
|
115
|
+
readonly inputs: readonly [{
|
|
116
|
+
readonly internalType: "address";
|
|
117
|
+
readonly name: "spender";
|
|
118
|
+
readonly type: "address";
|
|
149
119
|
}, {
|
|
150
120
|
readonly internalType: "uint256";
|
|
151
|
-
readonly name: "";
|
|
152
|
-
readonly type: "uint256";
|
|
153
|
-
}, {
|
|
154
|
-
readonly internalType: "uint256";
|
|
155
|
-
readonly name: "";
|
|
156
|
-
readonly type: "uint256";
|
|
157
|
-
}, {
|
|
158
|
-
readonly internalType: "uint256";
|
|
159
|
-
readonly name: "";
|
|
121
|
+
readonly name: "amount";
|
|
160
122
|
readonly type: "uint256";
|
|
161
|
-
}
|
|
162
|
-
|
|
123
|
+
}];
|
|
124
|
+
readonly name: "approve";
|
|
125
|
+
readonly outputs: readonly [{
|
|
126
|
+
readonly internalType: "bool";
|
|
163
127
|
readonly name: "";
|
|
164
|
-
readonly type: "
|
|
128
|
+
readonly type: "bool";
|
|
165
129
|
}];
|
|
166
|
-
readonly stateMutability: "
|
|
130
|
+
readonly stateMutability: "nonpayable";
|
|
167
131
|
readonly type: "function";
|
|
168
132
|
}, {
|
|
169
133
|
readonly inputs: readonly [{
|
|
170
134
|
readonly internalType: "address";
|
|
171
|
-
readonly name: "
|
|
135
|
+
readonly name: "account";
|
|
172
136
|
readonly type: "address";
|
|
173
137
|
}];
|
|
174
|
-
readonly name: "
|
|
138
|
+
readonly name: "balanceOf";
|
|
175
139
|
readonly outputs: readonly [{
|
|
176
|
-
readonly internalType: "
|
|
140
|
+
readonly internalType: "uint256";
|
|
177
141
|
readonly name: "";
|
|
178
|
-
readonly type: "
|
|
142
|
+
readonly type: "uint256";
|
|
179
143
|
}];
|
|
180
144
|
readonly stateMutability: "view";
|
|
181
145
|
readonly type: "function";
|
|
182
146
|
}, {
|
|
183
|
-
readonly inputs: readonly [
|
|
184
|
-
|
|
147
|
+
readonly inputs: readonly [{
|
|
148
|
+
readonly internalType: "uint256";
|
|
149
|
+
readonly name: "fundValue";
|
|
150
|
+
readonly type: "uint256";
|
|
151
|
+
}];
|
|
152
|
+
readonly name: "calculateAvailableManagerFee";
|
|
185
153
|
readonly outputs: readonly [{
|
|
186
154
|
readonly internalType: "uint256";
|
|
187
|
-
readonly name: "";
|
|
155
|
+
readonly name: "fee";
|
|
188
156
|
readonly type: "uint256";
|
|
189
157
|
}];
|
|
190
158
|
readonly stateMutability: "view";
|
|
191
159
|
readonly type: "function";
|
|
192
160
|
}, {
|
|
193
161
|
readonly inputs: readonly [];
|
|
194
|
-
readonly name: "
|
|
162
|
+
readonly name: "decimals";
|
|
195
163
|
readonly outputs: readonly [{
|
|
196
|
-
readonly internalType: "
|
|
164
|
+
readonly internalType: "uint8";
|
|
197
165
|
readonly name: "";
|
|
166
|
+
readonly type: "uint8";
|
|
167
|
+
}];
|
|
168
|
+
readonly stateMutability: "view";
|
|
169
|
+
readonly type: "function";
|
|
170
|
+
}, {
|
|
171
|
+
readonly inputs: readonly [{
|
|
172
|
+
readonly internalType: "address";
|
|
173
|
+
readonly name: "_asset";
|
|
174
|
+
readonly type: "address";
|
|
175
|
+
}, {
|
|
176
|
+
readonly internalType: "uint256";
|
|
177
|
+
readonly name: "_amount";
|
|
178
|
+
readonly type: "uint256";
|
|
179
|
+
}];
|
|
180
|
+
readonly name: "deposit";
|
|
181
|
+
readonly outputs: readonly [{
|
|
182
|
+
readonly internalType: "uint256";
|
|
183
|
+
readonly name: "liquidityMinted";
|
|
198
184
|
readonly type: "uint256";
|
|
199
185
|
}];
|
|
200
186
|
readonly stateMutability: "nonpayable";
|
|
201
187
|
readonly type: "function";
|
|
188
|
+
}, {
|
|
189
|
+
readonly inputs: readonly [{
|
|
190
|
+
readonly internalType: "address";
|
|
191
|
+
readonly name: "sender";
|
|
192
|
+
readonly type: "address";
|
|
193
|
+
}];
|
|
194
|
+
readonly name: "getExitRemainingCooldown";
|
|
195
|
+
readonly outputs: readonly [{
|
|
196
|
+
readonly internalType: "uint256";
|
|
197
|
+
readonly name: "remaining";
|
|
198
|
+
readonly type: "uint256";
|
|
199
|
+
}];
|
|
200
|
+
readonly stateMutability: "view";
|
|
201
|
+
readonly type: "function";
|
|
202
202
|
}, {
|
|
203
203
|
readonly inputs: readonly [];
|
|
204
|
-
readonly name: "
|
|
204
|
+
readonly name: "getFundSummary";
|
|
205
205
|
readonly outputs: readonly [{
|
|
206
206
|
readonly components: readonly [{
|
|
207
|
+
readonly internalType: "string";
|
|
208
|
+
readonly name: "name";
|
|
209
|
+
readonly type: "string";
|
|
210
|
+
}, {
|
|
211
|
+
readonly internalType: "uint256";
|
|
212
|
+
readonly name: "totalSupply";
|
|
213
|
+
readonly type: "uint256";
|
|
214
|
+
}, {
|
|
215
|
+
readonly internalType: "uint256";
|
|
216
|
+
readonly name: "totalFundValue";
|
|
217
|
+
readonly type: "uint256";
|
|
218
|
+
}, {
|
|
207
219
|
readonly internalType: "address";
|
|
208
|
-
readonly name: "
|
|
220
|
+
readonly name: "manager";
|
|
209
221
|
readonly type: "address";
|
|
222
|
+
}, {
|
|
223
|
+
readonly internalType: "string";
|
|
224
|
+
readonly name: "managerName";
|
|
225
|
+
readonly type: "string";
|
|
226
|
+
}, {
|
|
227
|
+
readonly internalType: "uint256";
|
|
228
|
+
readonly name: "creationTime";
|
|
229
|
+
readonly type: "uint256";
|
|
210
230
|
}, {
|
|
211
231
|
readonly internalType: "bool";
|
|
212
|
-
readonly name: "
|
|
232
|
+
readonly name: "privatePool";
|
|
213
233
|
readonly type: "bool";
|
|
234
|
+
}, {
|
|
235
|
+
readonly internalType: "uint256";
|
|
236
|
+
readonly name: "performanceFeeNumerator";
|
|
237
|
+
readonly type: "uint256";
|
|
238
|
+
}, {
|
|
239
|
+
readonly internalType: "uint256";
|
|
240
|
+
readonly name: "managerFeeNumerator";
|
|
241
|
+
readonly type: "uint256";
|
|
242
|
+
}, {
|
|
243
|
+
readonly internalType: "uint256";
|
|
244
|
+
readonly name: "managerFeeDenominator";
|
|
245
|
+
readonly type: "uint256";
|
|
246
|
+
}, {
|
|
247
|
+
readonly internalType: "uint256";
|
|
248
|
+
readonly name: "exitFeeNumerator";
|
|
249
|
+
readonly type: "uint256";
|
|
250
|
+
}, {
|
|
251
|
+
readonly internalType: "uint256";
|
|
252
|
+
readonly name: "exitFeeDenominator";
|
|
253
|
+
readonly type: "uint256";
|
|
254
|
+
}, {
|
|
255
|
+
readonly internalType: "uint256";
|
|
256
|
+
readonly name: "entryFeeNumerator";
|
|
257
|
+
readonly type: "uint256";
|
|
214
258
|
}];
|
|
215
|
-
readonly internalType: "struct
|
|
259
|
+
readonly internalType: "struct PoolLogic.FundSummary";
|
|
216
260
|
readonly name: "";
|
|
217
|
-
readonly type: "tuple
|
|
261
|
+
readonly type: "tuple";
|
|
218
262
|
}];
|
|
219
263
|
readonly stateMutability: "view";
|
|
220
264
|
readonly type: "function";
|
|
265
|
+
}, {
|
|
266
|
+
readonly inputs: readonly [];
|
|
267
|
+
readonly name: "mintManagerFee";
|
|
268
|
+
readonly outputs: readonly [];
|
|
269
|
+
readonly stateMutability: "nonpayable";
|
|
270
|
+
readonly type: "function";
|
|
271
|
+
}, {
|
|
272
|
+
readonly inputs: readonly [];
|
|
273
|
+
readonly name: "name";
|
|
274
|
+
readonly outputs: readonly [{
|
|
275
|
+
readonly internalType: "string";
|
|
276
|
+
readonly name: "";
|
|
277
|
+
readonly type: "string";
|
|
278
|
+
}];
|
|
279
|
+
readonly stateMutability: "view";
|
|
280
|
+
readonly type: "function";
|
|
281
|
+
}, {
|
|
282
|
+
readonly inputs: readonly [];
|
|
283
|
+
readonly name: "poolManagerLogic";
|
|
284
|
+
readonly outputs: readonly [{
|
|
285
|
+
readonly internalType: "address";
|
|
286
|
+
readonly name: "";
|
|
287
|
+
readonly type: "address";
|
|
288
|
+
}];
|
|
289
|
+
readonly stateMutability: "view";
|
|
290
|
+
readonly type: "function";
|
|
291
|
+
}, {
|
|
292
|
+
readonly inputs: readonly [];
|
|
293
|
+
readonly name: "symbol";
|
|
294
|
+
readonly outputs: readonly [{
|
|
295
|
+
readonly internalType: "string";
|
|
296
|
+
readonly name: "";
|
|
297
|
+
readonly type: "string";
|
|
298
|
+
}];
|
|
299
|
+
readonly stateMutability: "view";
|
|
300
|
+
readonly type: "function";
|
|
301
|
+
}, {
|
|
302
|
+
readonly inputs: readonly [];
|
|
303
|
+
readonly name: "tokenPrice";
|
|
304
|
+
readonly outputs: readonly [{
|
|
305
|
+
readonly internalType: "uint256";
|
|
306
|
+
readonly name: "price";
|
|
307
|
+
readonly type: "uint256";
|
|
308
|
+
}];
|
|
309
|
+
readonly stateMutability: "view";
|
|
310
|
+
readonly type: "function";
|
|
311
|
+
}, {
|
|
312
|
+
readonly inputs: readonly [];
|
|
313
|
+
readonly name: "totalSupply";
|
|
314
|
+
readonly outputs: readonly [{
|
|
315
|
+
readonly internalType: "uint256";
|
|
316
|
+
readonly name: "";
|
|
317
|
+
readonly type: "uint256";
|
|
318
|
+
}];
|
|
319
|
+
readonly stateMutability: "view";
|
|
320
|
+
readonly type: "function";
|
|
321
|
+
}, {
|
|
322
|
+
readonly inputs: readonly [{
|
|
323
|
+
readonly internalType: "uint256";
|
|
324
|
+
readonly name: "_fundTokenAmount";
|
|
325
|
+
readonly type: "uint256";
|
|
326
|
+
}, {
|
|
327
|
+
readonly internalType: "uint256";
|
|
328
|
+
readonly name: "_slippageTolerance";
|
|
329
|
+
readonly type: "uint256";
|
|
330
|
+
}];
|
|
331
|
+
readonly name: "withdrawSafe";
|
|
332
|
+
readonly outputs: readonly [];
|
|
333
|
+
readonly stateMutability: "nonpayable";
|
|
334
|
+
readonly type: "function";
|
|
221
335
|
}];
|
|
222
|
-
readonly functionName: "
|
|
336
|
+
readonly functionName: "getExitRemainingCooldown";
|
|
223
337
|
readonly chainId: number;
|
|
338
|
+
readonly args: readonly [`0x${string}`];
|
|
224
339
|
}], true, {
|
|
225
340
|
getFundComposition: readonly [readonly {
|
|
226
341
|
asset: `0x${string}`;
|
|
227
342
|
isDeposit: boolean;
|
|
228
343
|
}[], readonly bigint[], readonly bigint[]] | undefined;
|
|
229
|
-
|
|
344
|
+
getExitRemainingCooldown: bigint | undefined;
|
|
230
345
|
}>;
|
|
@@ -88,25 +88,6 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
|
|
|
88
88
|
}];
|
|
89
89
|
readonly stateMutability: "nonpayable";
|
|
90
90
|
readonly type: "function";
|
|
91
|
-
}, {
|
|
92
|
-
readonly inputs: readonly [];
|
|
93
|
-
readonly name: "getSupportedAssets";
|
|
94
|
-
readonly outputs: readonly [{
|
|
95
|
-
readonly components: readonly [{
|
|
96
|
-
readonly internalType: "address";
|
|
97
|
-
readonly name: "asset";
|
|
98
|
-
readonly type: "address";
|
|
99
|
-
}, {
|
|
100
|
-
readonly internalType: "bool";
|
|
101
|
-
readonly name: "isDeposit";
|
|
102
|
-
readonly type: "bool";
|
|
103
|
-
}];
|
|
104
|
-
readonly internalType: "struct IHasSupportedAsset.Asset[]";
|
|
105
|
-
readonly name: "";
|
|
106
|
-
readonly type: "tuple[]";
|
|
107
|
-
}];
|
|
108
|
-
readonly stateMutability: "view";
|
|
109
|
-
readonly type: "function";
|
|
110
91
|
}];
|
|
111
92
|
readonly functionName: "getFeeIncreaseInfo";
|
|
112
93
|
readonly chainId: number;
|
|
@@ -199,25 +180,6 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
|
|
|
199
180
|
}];
|
|
200
181
|
readonly stateMutability: "nonpayable";
|
|
201
182
|
readonly type: "function";
|
|
202
|
-
}, {
|
|
203
|
-
readonly inputs: readonly [];
|
|
204
|
-
readonly name: "getSupportedAssets";
|
|
205
|
-
readonly outputs: readonly [{
|
|
206
|
-
readonly components: readonly [{
|
|
207
|
-
readonly internalType: "address";
|
|
208
|
-
readonly name: "asset";
|
|
209
|
-
readonly type: "address";
|
|
210
|
-
}, {
|
|
211
|
-
readonly internalType: "bool";
|
|
212
|
-
readonly name: "isDeposit";
|
|
213
|
-
readonly type: "bool";
|
|
214
|
-
}];
|
|
215
|
-
readonly internalType: "struct IHasSupportedAsset.Asset[]";
|
|
216
|
-
readonly name: "";
|
|
217
|
-
readonly type: "tuple[]";
|
|
218
|
-
}];
|
|
219
|
-
readonly stateMutability: "view";
|
|
220
|
-
readonly type: "function";
|
|
221
183
|
}];
|
|
222
184
|
readonly functionName: "minDepositUSD";
|
|
223
185
|
readonly chainId: number;
|
|
@@ -310,25 +272,6 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
|
|
|
310
272
|
}];
|
|
311
273
|
readonly stateMutability: "nonpayable";
|
|
312
274
|
readonly type: "function";
|
|
313
|
-
}, {
|
|
314
|
-
readonly inputs: readonly [];
|
|
315
|
-
readonly name: "getSupportedAssets";
|
|
316
|
-
readonly outputs: readonly [{
|
|
317
|
-
readonly components: readonly [{
|
|
318
|
-
readonly internalType: "address";
|
|
319
|
-
readonly name: "asset";
|
|
320
|
-
readonly type: "address";
|
|
321
|
-
}, {
|
|
322
|
-
readonly internalType: "bool";
|
|
323
|
-
readonly name: "isDeposit";
|
|
324
|
-
readonly type: "bool";
|
|
325
|
-
}];
|
|
326
|
-
readonly internalType: "struct IHasSupportedAsset.Asset[]";
|
|
327
|
-
readonly name: "";
|
|
328
|
-
readonly type: "tuple[]";
|
|
329
|
-
}];
|
|
330
|
-
readonly stateMutability: "view";
|
|
331
|
-
readonly type: "function";
|
|
332
275
|
}];
|
|
333
276
|
readonly functionName: "isMemberAllowed";
|
|
334
277
|
readonly args: readonly [`0x${string}`];
|