@dhedge/trading-widget 0.0.7 → 0.0.8

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.
@@ -12,3 +12,4 @@ export { useSynthetixV3AssetBalance } from './synthetixV3/use-synthetix-v3-asset
12
12
  export { useTotalFundValueMutable } from './synthetixV3/use-total-funds-value-mutable';
13
13
  export { useInvalidatePoolContractData } from './use-invalidate-pool-contract-data';
14
14
  export { usePoolsDynamic } from './multicall';
15
+ export { useFmedVestedPoints } from './use-fmed-vested-points';
@@ -0,0 +1,71 @@
1
+ interface UseFmedVestedPointsProps {
2
+ enabled?: boolean;
3
+ }
4
+ export declare const useFmedVestedPoints: ({ enabled, }?: UseFmedVestedPointsProps | undefined) => import("wagmi").UseReadContractsReturnType<{
5
+ address: `0x${string}`;
6
+ chainId: 8453;
7
+ abi: readonly [{
8
+ readonly inputs: readonly [{
9
+ readonly internalType: "address";
10
+ readonly name: "account";
11
+ readonly type: "address";
12
+ }];
13
+ readonly name: "balanceOf";
14
+ readonly outputs: readonly [{
15
+ readonly internalType: "uint256";
16
+ readonly name: "";
17
+ readonly type: "uint256";
18
+ }];
19
+ readonly stateMutability: "view";
20
+ readonly type: "function";
21
+ }, {
22
+ readonly inputs: readonly [{
23
+ readonly internalType: "address";
24
+ readonly name: "account";
25
+ readonly type: "address";
26
+ }];
27
+ readonly name: "getUnlockTax";
28
+ readonly outputs: readonly [{
29
+ readonly internalType: "uint256";
30
+ readonly name: "unlockTax";
31
+ readonly type: "uint256";
32
+ }];
33
+ readonly stateMutability: "view";
34
+ readonly type: "function";
35
+ }, {
36
+ readonly inputs: readonly [{
37
+ readonly internalType: "address";
38
+ readonly name: "account";
39
+ readonly type: "address";
40
+ }];
41
+ readonly name: "lockedBalance";
42
+ readonly outputs: readonly [{
43
+ readonly internalType: "uint256";
44
+ readonly name: "amount";
45
+ readonly type: "uint256";
46
+ }];
47
+ readonly stateMutability: "view";
48
+ readonly type: "function";
49
+ }, {
50
+ readonly inputs: readonly [{
51
+ readonly internalType: "address";
52
+ readonly name: "account";
53
+ readonly type: "address";
54
+ }];
55
+ readonly name: "unlockTime";
56
+ readonly outputs: readonly [{
57
+ readonly internalType: "uint256";
58
+ readonly name: "unlockTime";
59
+ readonly type: "uint256";
60
+ }];
61
+ readonly stateMutability: "view";
62
+ readonly type: "function";
63
+ }];
64
+ functionName: string;
65
+ args: string[];
66
+ }[], true, {
67
+ lockedVaultPointsBalance: bigint | undefined;
68
+ unlockTaxInPercents: bigint | undefined;
69
+ unlockTime: bigint | undefined;
70
+ }>;
71
+ export {};
@@ -1,69 +1,10 @@
1
- export declare const useFlatmoneyPointsUserBalances: () => import("wagmi").UseReadContractsReturnType<{
2
- address: `0x${string}`;
3
- chainId: 8453;
4
- abi: readonly [{
5
- readonly inputs: readonly [{
6
- readonly internalType: "address";
7
- readonly name: "account";
8
- readonly type: "address";
9
- }];
10
- readonly name: "balanceOf";
11
- readonly outputs: readonly [{
12
- readonly internalType: "uint256";
13
- readonly name: "";
14
- readonly type: "uint256";
15
- }];
16
- readonly stateMutability: "view";
17
- readonly type: "function";
18
- }, {
19
- readonly inputs: readonly [{
20
- readonly internalType: "address";
21
- readonly name: "account";
22
- readonly type: "address";
23
- }];
24
- readonly name: "getUnlockTax";
25
- readonly outputs: readonly [{
26
- readonly internalType: "uint256";
27
- readonly name: "unlockTax";
28
- readonly type: "uint256";
29
- }];
30
- readonly stateMutability: "view";
31
- readonly type: "function";
32
- }, {
33
- readonly inputs: readonly [{
34
- readonly internalType: "address";
35
- readonly name: "account";
36
- readonly type: "address";
37
- }];
38
- readonly name: "lockedBalance";
39
- readonly outputs: readonly [{
40
- readonly internalType: "uint256";
41
- readonly name: "amount";
42
- readonly type: "uint256";
43
- }];
44
- readonly stateMutability: "view";
45
- readonly type: "function";
46
- }, {
47
- readonly inputs: readonly [{
48
- readonly internalType: "address";
49
- readonly name: "account";
50
- readonly type: "address";
51
- }];
52
- readonly name: "unlockTime";
53
- readonly outputs: readonly [{
54
- readonly internalType: "uint256";
55
- readonly name: "unlockTime";
56
- readonly type: "uint256";
57
- }];
58
- readonly stateMutability: "view";
59
- readonly type: "function";
60
- }];
61
- functionName: string;
62
- args: string[];
63
- }[], true, {
1
+ interface UseFlatmoneyPointsUserBalancesData {
64
2
  userPortionOfLockedPointsBalance: string;
65
3
  unlockTaxAmount: string;
66
4
  vestedPointsAmount: string;
67
5
  unlockTimestamp: number | null;
68
6
  unlockDate: string | null;
69
- }>;
7
+ isLoading: boolean;
8
+ }
9
+ export declare const useFlatmoneyPointsUserBalances: () => UseFlatmoneyPointsUserBalancesData;
10
+ export {};