@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.
- package/core-kit/abi/pool-logic.d.ts +6 -593
- package/core-kit/abi/pool-manager-logic.d.ts +14 -0
- package/core-kit/hooks/pool/multicall/use-pool-manager.dynamic.d.ts +20 -593
- package/core-kit/hooks/pool/multicall/use-pool-manager.static.d.ts +122 -0
- package/core-kit/hooks/pool/multicall/use-pool.static.d.ts +42 -1462
- package/core-kit/hooks/pool/multicall/use-pools.dynamic.d.ts +240 -2001
- package/core-kit/hooks/state/action.d.ts +1 -1
- package/core-kit/hooks/state/meta.d.ts +1 -1
- package/index-49e86eb7.js +38959 -0
- package/index-8d970364.cjs +207 -0
- package/index.cjs +1 -1
- package/index.js +1 -1
- package/package.json +4 -4
- package/{pyth-adapter-0e4bd6c4.cjs → pyth-adapter-8eca747e.cjs} +1 -1
- package/{pyth-adapter-78b211e0.js → pyth-adapter-b5e265c0.js} +1 -1
- package/style.css +1 -1
- package/index-78ec0001.js +0 -37432
- package/index-8bf309ac.cjs +0 -207
|
@@ -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
|
}>;
|