@dhedge/trading-widget 3.2.0 → 3.3.0-alpha.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 -0
- package/core-kit/abi/aave/aave-asset-guard.d.ts +50 -0
- package/core-kit/abi/easy-swapper-v2.d.ts +92 -0
- package/core-kit/abi/index.d.ts +3 -2
- package/core-kit/abi/pool-logic.d.ts +875 -121
- package/core-kit/abi/pool-manager-logic.d.ts +19 -0
- package/core-kit/const/contracts/polygon.d.ts +2 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +75 -190
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +57 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +981 -20
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +3331 -230
- package/core-kit/hooks/pool/use-pool-dynamic-contract-data.d.ts +1 -0
- package/core-kit/hooks/trading/deposit-v2/use-deposit-quote-contract-read.d.ts +92 -0
- package/core-kit/hooks/trading/use-swaps-data-query.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/index.d.ts +1 -1
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-aave-swap-params.d.ts +6 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-fetch-init-withdraw-complex-asset-data.d.ts +5 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-aave-swap-data.d.ts +5 -0
- package/core-kit/hooks/trading/withdraw-v2/init-step/use-init-withdraw-transaction-arguments.d.ts +6 -1
- package/core-kit/hooks/trading/withdraw-v2/use-withdrawal-vault-address.d.ts +92 -0
- package/core-kit/hooks/user/multicall/use-user-multicall.d.ts +92 -0
- package/core-kit/hooks/web3/use-static-call-query.d.ts +7 -6
- package/core-kit/types/contract.types.d.ts +28 -0
- package/core-kit/types/index.d.ts +1 -0
- package/core-kit/types/web3.types.d.ts +0 -12
- package/core-kit/utils/transaction.d.ts +14 -3
- package/core-kit/utils/web3.d.ts +0 -2
- package/index-486e8b60.cjs +217 -0
- package/{index-d62956b7.js → index-a29190ba.js} +10593 -9573
- package/index.cjs +1 -1
- package/index.d.ts +1 -1
- package/index.js +125 -126
- package/package.json +1 -1
- package/{pyth-adapter-e278f630.js → pyth-adapter-330946d6.js} +1 -1
- package/{pyth-adapter-c8d76d79.cjs → pyth-adapter-a81f3e9c.cjs} +1 -1
- package/trading-widget/providers/config-provider/config-provider.types.d.ts +1 -0
- package/index-8d920656.cjs +0 -217
- /package/core-kit/abi/{aave-lending-pool.d.ts → aave/aave-lending-pool.d.ts} +0 -0
|
@@ -85,4 +85,23 @@ 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";
|
|
88
107
|
}];
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
export declare const FACTORY_ADDRESS_POLYGON = "0xfdc7b8bFe0DD3513Cc669bB8d601Cb83e2F69cB0";
|
|
2
|
+
export declare const DEV_FACTORY_ADDRESS_POLYGON = "0xDd87eCdB10cFF7004276AAbAbd30e7a08F69bb53";
|
|
2
3
|
export declare const AAVE_LENDING_POOL_V2_ADDRESS_POLYGON = "0x8dFf5E27EA6b7AC08EbFdf9eB090F32ee9a30fcf";
|
|
3
4
|
export declare const AAVE_LENDING_POOL_V3_ADDRESS_POLYGON = "0x794a61358D6845594F94dc1DB02A252b5b4814aD";
|
|
4
5
|
export declare const EASY_SWAPPER_V2_ADDRESS_POLYGON = "0x45b90480D6F643dE2f128db091A357C3c90399f2";
|
|
6
|
+
export declare const DEV_EASY_SWAPPER_V2_ADDRESS_POLYGON = "0xfc02889E9459Ebc56840a79cB364924Fe3F054EB";
|
|
@@ -88,258 +88,143 @@ 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";
|
|
91
110
|
}];
|
|
92
111
|
readonly functionName: "getFundComposition";
|
|
93
112
|
readonly chainId: number;
|
|
94
113
|
}, {
|
|
95
114
|
readonly address: `0x${string}`;
|
|
96
115
|
readonly abi: readonly [{
|
|
97
|
-
readonly inputs: readonly [
|
|
98
|
-
|
|
99
|
-
readonly name: "owner";
|
|
100
|
-
readonly type: "address";
|
|
101
|
-
}, {
|
|
102
|
-
readonly internalType: "address";
|
|
103
|
-
readonly name: "spender";
|
|
104
|
-
readonly type: "address";
|
|
105
|
-
}];
|
|
106
|
-
readonly name: "allowance";
|
|
116
|
+
readonly inputs: readonly [];
|
|
117
|
+
readonly name: "getFundComposition";
|
|
107
118
|
readonly outputs: readonly [{
|
|
108
|
-
readonly
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
117
|
-
readonly
|
|
118
|
-
readonly
|
|
119
|
+
readonly components: 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[]";
|
|
119
131
|
}, {
|
|
120
|
-
readonly internalType: "uint256";
|
|
121
|
-
readonly name: "
|
|
122
|
-
readonly type: "uint256";
|
|
123
|
-
}
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
readonly
|
|
127
|
-
readonly name: "";
|
|
128
|
-
readonly type: "bool";
|
|
132
|
+
readonly internalType: "uint256[]";
|
|
133
|
+
readonly name: "balances";
|
|
134
|
+
readonly type: "uint256[]";
|
|
135
|
+
}, {
|
|
136
|
+
readonly internalType: "uint256[]";
|
|
137
|
+
readonly name: "rates";
|
|
138
|
+
readonly type: "uint256[]";
|
|
129
139
|
}];
|
|
130
|
-
readonly stateMutability: "
|
|
140
|
+
readonly stateMutability: "view";
|
|
131
141
|
readonly type: "function";
|
|
132
142
|
}, {
|
|
133
|
-
readonly inputs: readonly [
|
|
134
|
-
|
|
135
|
-
readonly name: "account";
|
|
136
|
-
readonly type: "address";
|
|
137
|
-
}];
|
|
138
|
-
readonly name: "balanceOf";
|
|
143
|
+
readonly inputs: readonly [];
|
|
144
|
+
readonly name: "getFeeIncreaseInfo";
|
|
139
145
|
readonly outputs: readonly [{
|
|
140
146
|
readonly internalType: "uint256";
|
|
141
147
|
readonly name: "";
|
|
142
148
|
readonly type: "uint256";
|
|
143
|
-
}
|
|
144
|
-
readonly stateMutability: "view";
|
|
145
|
-
readonly type: "function";
|
|
146
|
-
}, {
|
|
147
|
-
readonly inputs: readonly [{
|
|
149
|
+
}, {
|
|
148
150
|
readonly internalType: "uint256";
|
|
149
|
-
readonly name: "
|
|
151
|
+
readonly name: "";
|
|
150
152
|
readonly type: "uint256";
|
|
151
|
-
}
|
|
152
|
-
readonly name: "calculateAvailableManagerFee";
|
|
153
|
-
readonly outputs: readonly [{
|
|
153
|
+
}, {
|
|
154
154
|
readonly internalType: "uint256";
|
|
155
|
-
readonly name: "fee";
|
|
156
|
-
readonly type: "uint256";
|
|
157
|
-
}];
|
|
158
|
-
readonly stateMutability: "view";
|
|
159
|
-
readonly type: "function";
|
|
160
|
-
}, {
|
|
161
|
-
readonly inputs: readonly [];
|
|
162
|
-
readonly name: "decimals";
|
|
163
|
-
readonly outputs: readonly [{
|
|
164
|
-
readonly internalType: "uint8";
|
|
165
155
|
readonly name: "";
|
|
166
|
-
readonly type: "
|
|
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";
|
|
156
|
+
readonly type: "uint256";
|
|
175
157
|
}, {
|
|
176
158
|
readonly internalType: "uint256";
|
|
177
|
-
readonly name: "
|
|
159
|
+
readonly name: "";
|
|
178
160
|
readonly type: "uint256";
|
|
179
|
-
}
|
|
180
|
-
readonly name: "deposit";
|
|
181
|
-
readonly outputs: readonly [{
|
|
161
|
+
}, {
|
|
182
162
|
readonly internalType: "uint256";
|
|
183
|
-
readonly name: "
|
|
163
|
+
readonly name: "";
|
|
184
164
|
readonly type: "uint256";
|
|
185
165
|
}];
|
|
186
|
-
readonly stateMutability: "
|
|
166
|
+
readonly stateMutability: "view";
|
|
187
167
|
readonly type: "function";
|
|
188
168
|
}, {
|
|
189
169
|
readonly inputs: readonly [{
|
|
190
170
|
readonly internalType: "address";
|
|
191
|
-
readonly name: "
|
|
171
|
+
readonly name: "member";
|
|
192
172
|
readonly type: "address";
|
|
193
173
|
}];
|
|
194
|
-
readonly name: "
|
|
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
|
-
}, {
|
|
203
|
-
readonly inputs: readonly [];
|
|
204
|
-
readonly name: "getFundSummary";
|
|
205
|
-
readonly outputs: readonly [{
|
|
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
|
-
}, {
|
|
219
|
-
readonly internalType: "address";
|
|
220
|
-
readonly name: "manager";
|
|
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";
|
|
230
|
-
}, {
|
|
231
|
-
readonly internalType: "bool";
|
|
232
|
-
readonly name: "privatePool";
|
|
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";
|
|
258
|
-
}];
|
|
259
|
-
readonly internalType: "struct PoolLogic.FundSummary";
|
|
260
|
-
readonly name: "";
|
|
261
|
-
readonly type: "tuple";
|
|
262
|
-
}];
|
|
263
|
-
readonly stateMutability: "view";
|
|
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";
|
|
174
|
+
readonly name: "isMemberAllowed";
|
|
284
175
|
readonly outputs: readonly [{
|
|
285
|
-
readonly internalType: "
|
|
176
|
+
readonly internalType: "bool";
|
|
286
177
|
readonly name: "";
|
|
287
|
-
readonly type: "
|
|
178
|
+
readonly type: "bool";
|
|
288
179
|
}];
|
|
289
180
|
readonly stateMutability: "view";
|
|
290
181
|
readonly type: "function";
|
|
291
182
|
}, {
|
|
292
183
|
readonly inputs: readonly [];
|
|
293
|
-
readonly name: "
|
|
184
|
+
readonly name: "minDepositUSD";
|
|
294
185
|
readonly outputs: readonly [{
|
|
295
|
-
readonly internalType: "
|
|
186
|
+
readonly internalType: "uint256";
|
|
296
187
|
readonly name: "";
|
|
297
|
-
readonly type: "
|
|
188
|
+
readonly type: "uint256";
|
|
298
189
|
}];
|
|
299
190
|
readonly stateMutability: "view";
|
|
300
191
|
readonly type: "function";
|
|
301
192
|
}, {
|
|
302
193
|
readonly inputs: readonly [];
|
|
303
|
-
readonly name: "
|
|
194
|
+
readonly name: "totalFundValueMutable";
|
|
304
195
|
readonly outputs: readonly [{
|
|
305
196
|
readonly internalType: "uint256";
|
|
306
|
-
readonly name: "
|
|
197
|
+
readonly name: "";
|
|
307
198
|
readonly type: "uint256";
|
|
308
199
|
}];
|
|
309
|
-
readonly stateMutability: "
|
|
200
|
+
readonly stateMutability: "nonpayable";
|
|
310
201
|
readonly type: "function";
|
|
311
202
|
}, {
|
|
312
203
|
readonly inputs: readonly [];
|
|
313
|
-
readonly name: "
|
|
204
|
+
readonly name: "getSupportedAssets";
|
|
314
205
|
readonly outputs: readonly [{
|
|
315
|
-
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[]";
|
|
316
216
|
readonly name: "";
|
|
317
|
-
readonly type: "
|
|
217
|
+
readonly type: "tuple[]";
|
|
318
218
|
}];
|
|
319
219
|
readonly stateMutability: "view";
|
|
320
220
|
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";
|
|
335
221
|
}];
|
|
336
|
-
readonly functionName: "
|
|
222
|
+
readonly functionName: "getSupportedAssets";
|
|
337
223
|
readonly chainId: number;
|
|
338
|
-
readonly args: readonly [`0x${string}`];
|
|
339
224
|
}], true, {
|
|
340
225
|
getFundComposition: readonly [readonly {
|
|
341
226
|
asset: `0x${string}`;
|
|
342
227
|
isDeposit: boolean;
|
|
343
228
|
}[], readonly bigint[], readonly bigint[]] | undefined;
|
|
344
|
-
|
|
229
|
+
getSupportedAssets: `0x${string}`[] | undefined;
|
|
345
230
|
}>;
|
|
@@ -88,6 +88,25 @@ 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";
|
|
91
110
|
}];
|
|
92
111
|
readonly functionName: "getFeeIncreaseInfo";
|
|
93
112
|
readonly chainId: number;
|
|
@@ -180,6 +199,25 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
|
|
|
180
199
|
}];
|
|
181
200
|
readonly stateMutability: "nonpayable";
|
|
182
201
|
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";
|
|
183
221
|
}];
|
|
184
222
|
readonly functionName: "minDepositUSD";
|
|
185
223
|
readonly chainId: number;
|
|
@@ -272,6 +310,25 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
|
|
|
272
310
|
}];
|
|
273
311
|
readonly stateMutability: "nonpayable";
|
|
274
312
|
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";
|
|
275
332
|
}];
|
|
276
333
|
readonly functionName: "isMemberAllowed";
|
|
277
334
|
readonly args: readonly [`0x${string}`];
|