@dhedge/trading-widget 1.2.4 → 1.2.6

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.
@@ -54,6 +54,20 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
54
54
  }];
55
55
  readonly stateMutability: "view";
56
56
  readonly type: "function";
57
+ }, {
58
+ readonly inputs: readonly [{
59
+ readonly internalType: "address";
60
+ readonly name: "member";
61
+ readonly type: "address";
62
+ }];
63
+ readonly name: "isMemberAllowed";
64
+ readonly outputs: readonly [{
65
+ readonly internalType: "bool";
66
+ readonly name: "";
67
+ readonly type: "bool";
68
+ }];
69
+ readonly stateMutability: "view";
70
+ readonly type: "function";
57
71
  }, {
58
72
  readonly inputs: readonly [];
59
73
  readonly name: "minDepositUSD";
@@ -132,6 +146,20 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
132
146
  }];
133
147
  readonly stateMutability: "view";
134
148
  readonly type: "function";
149
+ }, {
150
+ readonly inputs: readonly [{
151
+ readonly internalType: "address";
152
+ readonly name: "member";
153
+ readonly type: "address";
154
+ }];
155
+ readonly name: "isMemberAllowed";
156
+ readonly outputs: readonly [{
157
+ readonly internalType: "bool";
158
+ readonly name: "";
159
+ readonly type: "bool";
160
+ }];
161
+ readonly stateMutability: "view";
162
+ readonly type: "function";
135
163
  }, {
136
164
  readonly inputs: readonly [];
137
165
  readonly name: "minDepositUSD";
@@ -155,7 +183,101 @@ export declare const usePoolManagerStatic: ({ address, chainId, }: PoolContractC
155
183
  }];
156
184
  readonly functionName: "minDepositUSD";
157
185
  readonly chainId: number;
186
+ }, {
187
+ readonly address: `0x${string}`;
188
+ readonly abi: readonly [{
189
+ readonly inputs: readonly [];
190
+ readonly name: "getFundComposition";
191
+ readonly outputs: readonly [{
192
+ readonly components: readonly [{
193
+ readonly internalType: "address";
194
+ readonly name: "asset";
195
+ readonly type: "address";
196
+ }, {
197
+ readonly internalType: "bool";
198
+ readonly name: "isDeposit";
199
+ readonly type: "bool";
200
+ }];
201
+ readonly internalType: "struct IHasSupportedAsset.Asset[]";
202
+ readonly name: "assets";
203
+ readonly type: "tuple[]";
204
+ }, {
205
+ readonly internalType: "uint256[]";
206
+ readonly name: "balances";
207
+ readonly type: "uint256[]";
208
+ }, {
209
+ readonly internalType: "uint256[]";
210
+ readonly name: "rates";
211
+ readonly type: "uint256[]";
212
+ }];
213
+ readonly stateMutability: "view";
214
+ readonly type: "function";
215
+ }, {
216
+ readonly inputs: readonly [];
217
+ readonly name: "getFeeIncreaseInfo";
218
+ readonly outputs: readonly [{
219
+ readonly internalType: "uint256";
220
+ readonly name: "";
221
+ readonly type: "uint256";
222
+ }, {
223
+ readonly internalType: "uint256";
224
+ readonly name: "";
225
+ readonly type: "uint256";
226
+ }, {
227
+ readonly internalType: "uint256";
228
+ readonly name: "";
229
+ readonly type: "uint256";
230
+ }, {
231
+ readonly internalType: "uint256";
232
+ readonly name: "";
233
+ readonly type: "uint256";
234
+ }, {
235
+ readonly internalType: "uint256";
236
+ readonly name: "";
237
+ readonly type: "uint256";
238
+ }];
239
+ readonly stateMutability: "view";
240
+ readonly type: "function";
241
+ }, {
242
+ readonly inputs: readonly [{
243
+ readonly internalType: "address";
244
+ readonly name: "member";
245
+ readonly type: "address";
246
+ }];
247
+ readonly name: "isMemberAllowed";
248
+ readonly outputs: readonly [{
249
+ readonly internalType: "bool";
250
+ readonly name: "";
251
+ readonly type: "bool";
252
+ }];
253
+ readonly stateMutability: "view";
254
+ readonly type: "function";
255
+ }, {
256
+ readonly inputs: readonly [];
257
+ readonly name: "minDepositUSD";
258
+ readonly outputs: readonly [{
259
+ readonly internalType: "uint256";
260
+ readonly name: "";
261
+ readonly type: "uint256";
262
+ }];
263
+ readonly stateMutability: "view";
264
+ readonly type: "function";
265
+ }, {
266
+ readonly inputs: readonly [];
267
+ readonly name: "totalFundValueMutable";
268
+ readonly outputs: readonly [{
269
+ readonly internalType: "uint256";
270
+ readonly name: "";
271
+ readonly type: "uint256";
272
+ }];
273
+ readonly stateMutability: "nonpayable";
274
+ readonly type: "function";
275
+ }];
276
+ readonly functionName: "isMemberAllowed";
277
+ readonly args: readonly [`0x${string}`];
278
+ readonly chainId: number;
158
279
  }], true, {
159
280
  getFeeIncreaseInfo: readonly [bigint, bigint, bigint, bigint, bigint] | undefined;
160
281
  minDepositUSD: bigint | undefined;
282
+ isMemberAllowed: boolean | undefined;
161
283
  }>;