@dodoex/dodo-contract-request 1.6.0-alpha.3 → 1.6.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/CHANGELOG.md +0 -27
- package/dist/types/contract/BuyoutModel.d.ts +12 -12
- package/dist/types/contract/CP.d.ts +80 -68
- package/dist/types/contract/CrowdPoolingFactory.d.ts +44 -38
- package/dist/types/contract/CustomERC20.d.ts +22 -22
- package/dist/types/contract/CustomMintableERC20.d.ts +22 -22
- package/dist/types/contract/D3Proxy.d.ts +8 -8
- package/dist/types/contract/D3Vault.d.ts +174 -96
- package/dist/types/contract/DODOApprove.d.ts +12 -12
- package/dist/types/contract/DODOApproveProxy.d.ts +14 -14
- package/dist/types/contract/DODOCalleeHelper.d.ts +2 -2
- package/dist/types/contract/DODOCirculationHelper.d.ts +14 -14
- package/dist/types/contract/DODOCpProxy.d.ts +6 -6
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +6 -6
- package/dist/types/contract/DODODppProxy.d.ts +6 -6
- package/dist/types/contract/DODODspProxy.d.ts +8 -8
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +6 -6
- package/dist/types/contract/DODOIncentive.d.ts +34 -22
- package/dist/types/contract/DODOMineV2Factory.d.ts +14 -14
- package/dist/types/contract/DODOMineV3Proxy.d.ts +12 -12
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +12 -12
- package/dist/types/contract/DODOMineV3Registry.d.ts +12 -12
- package/dist/types/contract/DODONFT.d.ts +28 -28
- package/dist/types/contract/DODONFT1155.d.ts +16 -16
- package/dist/types/contract/DODONFTApprove.d.ts +12 -12
- package/dist/types/contract/DODONFTPoolProxy.d.ts +20 -20
- package/dist/types/contract/DODONFTProxy.d.ts +24 -24
- package/dist/types/contract/DODONFTRegistry.d.ts +20 -14
- package/dist/types/contract/DODONFTRouteHelper.d.ts +4 -4
- package/dist/types/contract/DODOSellHelper.d.ts +4 -4
- package/dist/types/contract/DODOStarterProxy.d.ts +4 -4
- package/dist/types/contract/DODOV1.d.ts +84 -78
- package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV1PmmHelper.d.ts +2 -2
- package/dist/types/contract/DODOV1Proxy.d.ts +2 -2
- package/dist/types/contract/DODOV2Proxy02.d.ts +26 -26
- package/dist/types/contract/DODOV2RouteHelper.d.ts +8 -8
- package/dist/types/contract/DPPAdvanced.d.ts +118 -54
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +14 -14
- package/dist/types/contract/DPPFactory.d.ts +34 -28
- package/dist/types/contract/DSP.d.ts +134 -70
- package/dist/types/contract/DSPFactory.d.ts +28 -22
- package/dist/types/contract/DVM.d.ts +120 -64
- package/dist/types/contract/DVMFactory.d.ts +28 -22
- package/dist/types/contract/ERC20.d.ts +12 -12
- package/dist/types/contract/ERC20Helper.d.ts +46 -8
- package/dist/types/contract/ERC20MineV3.d.ts +46 -26
- package/dist/types/contract/ERC20V3Factory.d.ts +30 -22
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +38 -20
- package/dist/types/contract/FeeRateModel.d.ts +8 -8
- package/dist/types/contract/GSP.d.ts +152 -82
- package/dist/types/contract/GSPFactory.d.ts +26 -20
- package/dist/types/contract/InitializableERC20.d.ts +14 -14
- package/dist/types/contract/LimitOrder.d.ts +20 -20
- package/dist/types/contract/LimitOrderBot.d.ts +12 -12
- package/dist/types/contract/MulticallWithValid.d.ts +14 -14
- package/dist/types/contract/PermissionManager.d.ts +8 -8
- package/dist/types/contract/UniswapV2Factory.d.ts +10 -10
- package/dist/types/contract/UniswapV2Pair.d.ts +46 -38
- package/dist/types/contract/UniswapV2Router02.d.ts +14 -14
- package/dist/types/contract/dodoTeam.d.ts +34 -28
- package/dist/types/contract/vDODOToken.d.ts +84 -60
- package/package.json +2 -2
- package/src/contract/BuyoutModel.ts +6 -6
- package/src/contract/CP.ts +40 -34
- package/src/contract/CrowdPoolingFactory.ts +22 -19
- package/src/contract/CustomERC20.ts +11 -11
- package/src/contract/CustomMintableERC20.ts +11 -11
- package/src/contract/D3Proxy.ts +4 -4
- package/src/contract/D3Vault.ts +87 -48
- package/src/contract/DODOApprove.ts +6 -6
- package/src/contract/DODOApproveProxy.ts +7 -7
- package/src/contract/DODOCalleeHelper.ts +1 -1
- package/src/contract/DODOCirculationHelper.ts +7 -7
- package/src/contract/DODOCpProxy.ts +3 -3
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +3 -3
- package/src/contract/DODODppProxy.ts +3 -3
- package/src/contract/DODODspProxy.ts +4 -4
- package/src/contract/DODODspProxyWithoutGSP.ts +3 -3
- package/src/contract/DODOIncentive.ts +17 -11
- package/src/contract/DODOMineV2Factory.ts +7 -7
- package/src/contract/DODOMineV3Proxy.ts +6 -6
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +6 -6
- package/src/contract/DODOMineV3Registry.ts +6 -6
- package/src/contract/DODONFT.ts +14 -14
- package/src/contract/DODONFT1155.ts +8 -8
- package/src/contract/DODONFTApprove.ts +6 -6
- package/src/contract/DODONFTPoolProxy.ts +10 -10
- package/src/contract/DODONFTProxy.ts +12 -12
- package/src/contract/DODONFTRegistry.ts +10 -7
- package/src/contract/DODONFTRouteHelper.ts +2 -2
- package/src/contract/DODOSellHelper.ts +2 -2
- package/src/contract/DODOStarterProxy.ts +2 -2
- package/src/contract/DODOV1.ts +42 -39
- package/src/contract/DODOV1Adapter.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV1Proxy.ts +1 -1
- package/src/contract/DODOV2Proxy02.ts +13 -13
- package/src/contract/DODOV2RouteHelper.ts +4 -4
- package/src/contract/DPPAdvanced.ts +51 -27
- package/src/contract/DPPAdvancedAdmin.ts +7 -7
- package/src/contract/DPPFactory.ts +17 -14
- package/src/contract/DSP.ts +59 -35
- package/src/contract/DSPFactory.ts +14 -11
- package/src/contract/DVM.ts +52 -32
- package/src/contract/DVMFactory.ts +14 -11
- package/src/contract/ERC20.ts +6 -6
- package/src/contract/ERC20Helper.ts +23 -4
- package/src/contract/ERC20MineV3.ts +23 -13
- package/src/contract/ERC20V3Factory.ts +15 -11
- package/src/contract/FeeRateDIP3Impl.ts +19 -10
- package/src/contract/FeeRateModel.ts +4 -4
- package/src/contract/GSP.ts +68 -41
- package/src/contract/GSPFactory.ts +13 -10
- package/src/contract/InitializableERC20.ts +7 -7
- package/src/contract/LimitOrder.ts +10 -10
- package/src/contract/LimitOrderBot.ts +6 -6
- package/src/contract/MulticallWithValid.ts +7 -7
- package/src/contract/PermissionManager.ts +4 -4
- package/src/contract/UniswapV2Factory.ts +5 -5
- package/src/contract/UniswapV2Pair.ts +23 -19
- package/src/contract/UniswapV2Router02.ts +7 -7
- package/src/contract/dodoTeam.ts +17 -14
- package/src/contract/vDODOToken.ts +42 -30
|
@@ -4,11 +4,11 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {string} __output0 - bytes32
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchGSPDOMAIN_SEPARATOR(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchGSPDOMAIN_SEPARATOR(chainId: number, __to: string): Promise<string>;
|
|
8
8
|
export declare function getFetchGSPDOMAIN_SEPARATORQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
9
9
|
queryKey: (string | number | undefined)[];
|
|
10
10
|
enabled: boolean;
|
|
11
|
-
queryFn: () =>
|
|
11
|
+
queryFn: () => Promise<string>;
|
|
12
12
|
};
|
|
13
13
|
/**
|
|
14
14
|
* fetch PERMIT_TYPEHASH
|
|
@@ -16,11 +16,11 @@ export declare function getFetchGSPDOMAIN_SEPARATORQueryOptions(chainId: number
|
|
|
16
16
|
* @param {string} __to - string
|
|
17
17
|
* @returns {string} __output0 - bytes32
|
|
18
18
|
*/
|
|
19
|
-
export declare function fetchGSPPERMIT_TYPEHASH(chainId: number, __to: string):
|
|
19
|
+
export declare function fetchGSPPERMIT_TYPEHASH(chainId: number, __to: string): Promise<string>;
|
|
20
20
|
export declare function getFetchGSPPERMIT_TYPEHASHQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
21
21
|
queryKey: (string | number | undefined)[];
|
|
22
22
|
enabled: boolean;
|
|
23
|
-
queryFn: () =>
|
|
23
|
+
queryFn: () => Promise<string>;
|
|
24
24
|
};
|
|
25
25
|
/**
|
|
26
26
|
* fetch _ADMIN_
|
|
@@ -28,11 +28,11 @@ export declare function getFetchGSPPERMIT_TYPEHASHQueryOptions(chainId: number |
|
|
|
28
28
|
* @param {string} __to - string
|
|
29
29
|
* @returns {string} __output0 - address
|
|
30
30
|
*/
|
|
31
|
-
export declare function fetchGSP_ADMIN_(chainId: number, __to: string):
|
|
31
|
+
export declare function fetchGSP_ADMIN_(chainId: number, __to: string): Promise<string>;
|
|
32
32
|
export declare function getFetchGSP_ADMIN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
33
33
|
queryKey: (string | number | undefined)[];
|
|
34
34
|
enabled: boolean;
|
|
35
|
-
queryFn: () =>
|
|
35
|
+
queryFn: () => Promise<string>;
|
|
36
36
|
};
|
|
37
37
|
/**
|
|
38
38
|
* fetch _BASE_PRICE_CUMULATIVE_LAST_
|
|
@@ -40,11 +40,11 @@ export declare function getFetchGSP_ADMIN_QueryOptions(chainId: number | undefin
|
|
|
40
40
|
* @param {string} __to - string
|
|
41
41
|
* @returns {bigint} __output0 - uint256
|
|
42
42
|
*/
|
|
43
|
-
export declare function fetchGSP_BASE_PRICE_CUMULATIVE_LAST_(chainId: number, __to: string):
|
|
43
|
+
export declare function fetchGSP_BASE_PRICE_CUMULATIVE_LAST_(chainId: number, __to: string): Promise<bigint>;
|
|
44
44
|
export declare function getFetchGSP_BASE_PRICE_CUMULATIVE_LAST_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
45
45
|
queryKey: (string | number | undefined)[];
|
|
46
46
|
enabled: boolean;
|
|
47
|
-
queryFn: () =>
|
|
47
|
+
queryFn: () => Promise<bigint>;
|
|
48
48
|
};
|
|
49
49
|
/**
|
|
50
50
|
* fetch _BASE_RESERVE_
|
|
@@ -52,11 +52,11 @@ export declare function getFetchGSP_BASE_PRICE_CUMULATIVE_LAST_QueryOptions(chai
|
|
|
52
52
|
* @param {string} __to - string
|
|
53
53
|
* @returns {bigint} __output0 - uint112
|
|
54
54
|
*/
|
|
55
|
-
export declare function fetchGSP_BASE_RESERVE_(chainId: number, __to: string):
|
|
55
|
+
export declare function fetchGSP_BASE_RESERVE_(chainId: number, __to: string): Promise<bigint>;
|
|
56
56
|
export declare function getFetchGSP_BASE_RESERVE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
57
57
|
queryKey: (string | number | undefined)[];
|
|
58
58
|
enabled: boolean;
|
|
59
|
-
queryFn: () =>
|
|
59
|
+
queryFn: () => Promise<bigint>;
|
|
60
60
|
};
|
|
61
61
|
/**
|
|
62
62
|
* fetch _BASE_TARGET_
|
|
@@ -64,11 +64,11 @@ export declare function getFetchGSP_BASE_RESERVE_QueryOptions(chainId: number |
|
|
|
64
64
|
* @param {string} __to - string
|
|
65
65
|
* @returns {bigint} __output0 - uint112
|
|
66
66
|
*/
|
|
67
|
-
export declare function fetchGSP_BASE_TARGET_(chainId: number, __to: string):
|
|
67
|
+
export declare function fetchGSP_BASE_TARGET_(chainId: number, __to: string): Promise<bigint>;
|
|
68
68
|
export declare function getFetchGSP_BASE_TARGET_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
69
69
|
queryKey: (string | number | undefined)[];
|
|
70
70
|
enabled: boolean;
|
|
71
|
-
queryFn: () =>
|
|
71
|
+
queryFn: () => Promise<bigint>;
|
|
72
72
|
};
|
|
73
73
|
/**
|
|
74
74
|
* fetch _BASE_TOKEN_
|
|
@@ -76,11 +76,11 @@ export declare function getFetchGSP_BASE_TARGET_QueryOptions(chainId: number | u
|
|
|
76
76
|
* @param {string} __to - string
|
|
77
77
|
* @returns {string} __output0 - address
|
|
78
78
|
*/
|
|
79
|
-
export declare function fetchGSP_BASE_TOKEN_(chainId: number, __to: string):
|
|
79
|
+
export declare function fetchGSP_BASE_TOKEN_(chainId: number, __to: string): Promise<string>;
|
|
80
80
|
export declare function getFetchGSP_BASE_TOKEN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
81
81
|
queryKey: (string | number | undefined)[];
|
|
82
82
|
enabled: boolean;
|
|
83
|
-
queryFn: () =>
|
|
83
|
+
queryFn: () => Promise<string>;
|
|
84
84
|
};
|
|
85
85
|
/**
|
|
86
86
|
* fetch _BLOCK_TIMESTAMP_LAST_
|
|
@@ -88,11 +88,11 @@ export declare function getFetchGSP_BASE_TOKEN_QueryOptions(chainId: number | un
|
|
|
88
88
|
* @param {string} __to - string
|
|
89
89
|
* @returns {bigint} __output0 - uint32
|
|
90
90
|
*/
|
|
91
|
-
export declare function fetchGSP_BLOCK_TIMESTAMP_LAST_(chainId: number, __to: string):
|
|
91
|
+
export declare function fetchGSP_BLOCK_TIMESTAMP_LAST_(chainId: number, __to: string): Promise<bigint>;
|
|
92
92
|
export declare function getFetchGSP_BLOCK_TIMESTAMP_LAST_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
93
93
|
queryKey: (string | number | undefined)[];
|
|
94
94
|
enabled: boolean;
|
|
95
|
-
queryFn: () =>
|
|
95
|
+
queryFn: () => Promise<bigint>;
|
|
96
96
|
};
|
|
97
97
|
/**
|
|
98
98
|
* fetch _IS_OPEN_TWAP_
|
|
@@ -100,11 +100,11 @@ export declare function getFetchGSP_BLOCK_TIMESTAMP_LAST_QueryOptions(chainId: n
|
|
|
100
100
|
* @param {string} __to - string
|
|
101
101
|
* @returns {boolean} __output0 - bool
|
|
102
102
|
*/
|
|
103
|
-
export declare function fetchGSP_IS_OPEN_TWAP_(chainId: number, __to: string):
|
|
103
|
+
export declare function fetchGSP_IS_OPEN_TWAP_(chainId: number, __to: string): Promise<boolean>;
|
|
104
104
|
export declare function getFetchGSP_IS_OPEN_TWAP_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
105
105
|
queryKey: (string | number | undefined)[];
|
|
106
106
|
enabled: boolean;
|
|
107
|
-
queryFn: () =>
|
|
107
|
+
queryFn: () => Promise<boolean>;
|
|
108
108
|
};
|
|
109
109
|
/**
|
|
110
110
|
* fetch _I_
|
|
@@ -112,11 +112,11 @@ export declare function getFetchGSP_IS_OPEN_TWAP_QueryOptions(chainId: number |
|
|
|
112
112
|
* @param {string} __to - string
|
|
113
113
|
* @returns {bigint} __output0 - uint256
|
|
114
114
|
*/
|
|
115
|
-
export declare function fetchGSP_I_(chainId: number, __to: string):
|
|
115
|
+
export declare function fetchGSP_I_(chainId: number, __to: string): Promise<bigint>;
|
|
116
116
|
export declare function getFetchGSP_I_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
117
117
|
queryKey: (string | number | undefined)[];
|
|
118
118
|
enabled: boolean;
|
|
119
|
-
queryFn: () =>
|
|
119
|
+
queryFn: () => Promise<bigint>;
|
|
120
120
|
};
|
|
121
121
|
/**
|
|
122
122
|
* fetch _K_
|
|
@@ -124,11 +124,11 @@ export declare function getFetchGSP_I_QueryOptions(chainId: number | undefined,
|
|
|
124
124
|
* @param {string} __to - string
|
|
125
125
|
* @returns {bigint} __output0 - uint256
|
|
126
126
|
*/
|
|
127
|
-
export declare function fetchGSP_K_(chainId: number, __to: string):
|
|
127
|
+
export declare function fetchGSP_K_(chainId: number, __to: string): Promise<bigint>;
|
|
128
128
|
export declare function getFetchGSP_K_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
129
129
|
queryKey: (string | number | undefined)[];
|
|
130
130
|
enabled: boolean;
|
|
131
|
-
queryFn: () =>
|
|
131
|
+
queryFn: () => Promise<bigint>;
|
|
132
132
|
};
|
|
133
133
|
/**
|
|
134
134
|
* fetch _LP_FEE_RATE_
|
|
@@ -136,11 +136,11 @@ export declare function getFetchGSP_K_QueryOptions(chainId: number | undefined,
|
|
|
136
136
|
* @param {string} __to - string
|
|
137
137
|
* @returns {bigint} __output0 - uint256
|
|
138
138
|
*/
|
|
139
|
-
export declare function fetchGSP_LP_FEE_RATE_(chainId: number, __to: string):
|
|
139
|
+
export declare function fetchGSP_LP_FEE_RATE_(chainId: number, __to: string): Promise<bigint>;
|
|
140
140
|
export declare function getFetchGSP_LP_FEE_RATE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
141
141
|
queryKey: (string | number | undefined)[];
|
|
142
142
|
enabled: boolean;
|
|
143
|
-
queryFn: () =>
|
|
143
|
+
queryFn: () => Promise<bigint>;
|
|
144
144
|
};
|
|
145
145
|
/**
|
|
146
146
|
* fetch _MAINTAINER_
|
|
@@ -148,11 +148,11 @@ export declare function getFetchGSP_LP_FEE_RATE_QueryOptions(chainId: number | u
|
|
|
148
148
|
* @param {string} __to - string
|
|
149
149
|
* @returns {string} __output0 - address
|
|
150
150
|
*/
|
|
151
|
-
export declare function fetchGSP_MAINTAINER_(chainId: number, __to: string):
|
|
151
|
+
export declare function fetchGSP_MAINTAINER_(chainId: number, __to: string): Promise<string>;
|
|
152
152
|
export declare function getFetchGSP_MAINTAINER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
153
153
|
queryKey: (string | number | undefined)[];
|
|
154
154
|
enabled: boolean;
|
|
155
|
-
queryFn: () =>
|
|
155
|
+
queryFn: () => Promise<string>;
|
|
156
156
|
};
|
|
157
157
|
/**
|
|
158
158
|
* fetch _MT_FEE_BASE_
|
|
@@ -160,11 +160,11 @@ export declare function getFetchGSP_MAINTAINER_QueryOptions(chainId: number | un
|
|
|
160
160
|
* @param {string} __to - string
|
|
161
161
|
* @returns {bigint} __output0 - uint256
|
|
162
162
|
*/
|
|
163
|
-
export declare function fetchGSP_MT_FEE_BASE_(chainId: number, __to: string):
|
|
163
|
+
export declare function fetchGSP_MT_FEE_BASE_(chainId: number, __to: string): Promise<bigint>;
|
|
164
164
|
export declare function getFetchGSP_MT_FEE_BASE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
165
165
|
queryKey: (string | number | undefined)[];
|
|
166
166
|
enabled: boolean;
|
|
167
|
-
queryFn: () =>
|
|
167
|
+
queryFn: () => Promise<bigint>;
|
|
168
168
|
};
|
|
169
169
|
/**
|
|
170
170
|
* fetch _MT_FEE_QUOTE_
|
|
@@ -172,11 +172,11 @@ export declare function getFetchGSP_MT_FEE_BASE_QueryOptions(chainId: number | u
|
|
|
172
172
|
* @param {string} __to - string
|
|
173
173
|
* @returns {bigint} __output0 - uint256
|
|
174
174
|
*/
|
|
175
|
-
export declare function fetchGSP_MT_FEE_QUOTE_(chainId: number, __to: string):
|
|
175
|
+
export declare function fetchGSP_MT_FEE_QUOTE_(chainId: number, __to: string): Promise<bigint>;
|
|
176
176
|
export declare function getFetchGSP_MT_FEE_QUOTE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
177
177
|
queryKey: (string | number | undefined)[];
|
|
178
178
|
enabled: boolean;
|
|
179
|
-
queryFn: () =>
|
|
179
|
+
queryFn: () => Promise<bigint>;
|
|
180
180
|
};
|
|
181
181
|
/**
|
|
182
182
|
* fetch _MT_FEE_RATE_
|
|
@@ -184,11 +184,11 @@ export declare function getFetchGSP_MT_FEE_QUOTE_QueryOptions(chainId: number |
|
|
|
184
184
|
* @param {string} __to - string
|
|
185
185
|
* @returns {bigint} __output0 - uint256
|
|
186
186
|
*/
|
|
187
|
-
export declare function fetchGSP_MT_FEE_RATE_(chainId: number, __to: string):
|
|
187
|
+
export declare function fetchGSP_MT_FEE_RATE_(chainId: number, __to: string): Promise<bigint>;
|
|
188
188
|
export declare function getFetchGSP_MT_FEE_RATE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
189
189
|
queryKey: (string | number | undefined)[];
|
|
190
190
|
enabled: boolean;
|
|
191
|
-
queryFn: () =>
|
|
191
|
+
queryFn: () => Promise<bigint>;
|
|
192
192
|
};
|
|
193
193
|
/**
|
|
194
194
|
* fetch _MT_FEE_RATE_MODEL_
|
|
@@ -196,11 +196,11 @@ export declare function getFetchGSP_MT_FEE_RATE_QueryOptions(chainId: number | u
|
|
|
196
196
|
* @param {string} __to - string
|
|
197
197
|
* @returns {string} __output0 - address
|
|
198
198
|
*/
|
|
199
|
-
export declare function fetchGSP_MT_FEE_RATE_MODEL_(chainId: number, __to: string):
|
|
199
|
+
export declare function fetchGSP_MT_FEE_RATE_MODEL_(chainId: number, __to: string): Promise<string>;
|
|
200
200
|
export declare function getFetchGSP_MT_FEE_RATE_MODEL_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
201
201
|
queryKey: (string | number | undefined)[];
|
|
202
202
|
enabled: boolean;
|
|
203
|
-
queryFn: () =>
|
|
203
|
+
queryFn: () => Promise<string>;
|
|
204
204
|
};
|
|
205
205
|
/**
|
|
206
206
|
* fetch _PRICE_LIMIT_
|
|
@@ -208,11 +208,11 @@ export declare function getFetchGSP_MT_FEE_RATE_MODEL_QueryOptions(chainId: numb
|
|
|
208
208
|
* @param {string} __to - string
|
|
209
209
|
* @returns {bigint} __output0 - uint256
|
|
210
210
|
*/
|
|
211
|
-
export declare function fetchGSP_PRICE_LIMIT_(chainId: number, __to: string):
|
|
211
|
+
export declare function fetchGSP_PRICE_LIMIT_(chainId: number, __to: string): Promise<bigint>;
|
|
212
212
|
export declare function getFetchGSP_PRICE_LIMIT_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
213
213
|
queryKey: (string | number | undefined)[];
|
|
214
214
|
enabled: boolean;
|
|
215
|
-
queryFn: () =>
|
|
215
|
+
queryFn: () => Promise<bigint>;
|
|
216
216
|
};
|
|
217
217
|
/**
|
|
218
218
|
* fetch _QUOTE_RESERVE_
|
|
@@ -220,11 +220,11 @@ export declare function getFetchGSP_PRICE_LIMIT_QueryOptions(chainId: number | u
|
|
|
220
220
|
* @param {string} __to - string
|
|
221
221
|
* @returns {bigint} __output0 - uint112
|
|
222
222
|
*/
|
|
223
|
-
export declare function fetchGSP_QUOTE_RESERVE_(chainId: number, __to: string):
|
|
223
|
+
export declare function fetchGSP_QUOTE_RESERVE_(chainId: number, __to: string): Promise<bigint>;
|
|
224
224
|
export declare function getFetchGSP_QUOTE_RESERVE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
225
225
|
queryKey: (string | number | undefined)[];
|
|
226
226
|
enabled: boolean;
|
|
227
|
-
queryFn: () =>
|
|
227
|
+
queryFn: () => Promise<bigint>;
|
|
228
228
|
};
|
|
229
229
|
/**
|
|
230
230
|
* fetch _QUOTE_TARGET_
|
|
@@ -232,11 +232,11 @@ export declare function getFetchGSP_QUOTE_RESERVE_QueryOptions(chainId: number |
|
|
|
232
232
|
* @param {string} __to - string
|
|
233
233
|
* @returns {bigint} __output0 - uint112
|
|
234
234
|
*/
|
|
235
|
-
export declare function fetchGSP_QUOTE_TARGET_(chainId: number, __to: string):
|
|
235
|
+
export declare function fetchGSP_QUOTE_TARGET_(chainId: number, __to: string): Promise<bigint>;
|
|
236
236
|
export declare function getFetchGSP_QUOTE_TARGET_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
237
237
|
queryKey: (string | number | undefined)[];
|
|
238
238
|
enabled: boolean;
|
|
239
|
-
queryFn: () =>
|
|
239
|
+
queryFn: () => Promise<bigint>;
|
|
240
240
|
};
|
|
241
241
|
/**
|
|
242
242
|
* fetch _QUOTE_TOKEN_
|
|
@@ -244,11 +244,11 @@ export declare function getFetchGSP_QUOTE_TARGET_QueryOptions(chainId: number |
|
|
|
244
244
|
* @param {string} __to - string
|
|
245
245
|
* @returns {string} __output0 - address
|
|
246
246
|
*/
|
|
247
|
-
export declare function fetchGSP_QUOTE_TOKEN_(chainId: number, __to: string):
|
|
247
|
+
export declare function fetchGSP_QUOTE_TOKEN_(chainId: number, __to: string): Promise<string>;
|
|
248
248
|
export declare function getFetchGSP_QUOTE_TOKEN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
249
249
|
queryKey: (string | number | undefined)[];
|
|
250
250
|
enabled: boolean;
|
|
251
|
-
queryFn: () =>
|
|
251
|
+
queryFn: () => Promise<string>;
|
|
252
252
|
};
|
|
253
253
|
/**
|
|
254
254
|
* fetch _RState_
|
|
@@ -256,11 +256,11 @@ export declare function getFetchGSP_QUOTE_TOKEN_QueryOptions(chainId: number | u
|
|
|
256
256
|
* @param {string} __to - string
|
|
257
257
|
* @returns {bigint} __output0 - uint32
|
|
258
258
|
*/
|
|
259
|
-
export declare function fetchGSP_RState_(chainId: number, __to: string):
|
|
259
|
+
export declare function fetchGSP_RState_(chainId: number, __to: string): Promise<bigint>;
|
|
260
260
|
export declare function getFetchGSP_RState_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
261
261
|
queryKey: (string | number | undefined)[];
|
|
262
262
|
enabled: boolean;
|
|
263
|
-
queryFn: () =>
|
|
263
|
+
queryFn: () => Promise<bigint>;
|
|
264
264
|
};
|
|
265
265
|
/**
|
|
266
266
|
* fetch addressToShortString
|
|
@@ -269,11 +269,11 @@ export declare function getFetchGSP_RState_QueryOptions(chainId: number | undefi
|
|
|
269
269
|
* @param {string} _addr - address
|
|
270
270
|
* @returns {string} __output0 - string
|
|
271
271
|
*/
|
|
272
|
-
export declare function fetchGSPAddressToShortString(chainId: number, __to: string, _addr: string):
|
|
272
|
+
export declare function fetchGSPAddressToShortString(chainId: number, __to: string, _addr: string): Promise<string>;
|
|
273
273
|
export declare function getFetchGSPAddressToShortStringQueryOptions(chainId: number | undefined, __to: string | undefined, _addr: string | undefined): {
|
|
274
274
|
queryKey: (string | number | undefined)[];
|
|
275
275
|
enabled: boolean;
|
|
276
|
-
queryFn: () =>
|
|
276
|
+
queryFn: () => Promise<string>;
|
|
277
277
|
};
|
|
278
278
|
/**
|
|
279
279
|
* fetch allowance
|
|
@@ -283,11 +283,11 @@ export declare function getFetchGSPAddressToShortStringQueryOptions(chainId: num
|
|
|
283
283
|
* @param {string} spender - address
|
|
284
284
|
* @returns {bigint} __output0 - uint256
|
|
285
285
|
*/
|
|
286
|
-
export declare function fetchGSPAllowance(chainId: number, __to: string, owner: string, spender: string):
|
|
286
|
+
export declare function fetchGSPAllowance(chainId: number, __to: string, owner: string, spender: string): Promise<bigint>;
|
|
287
287
|
export declare function getFetchGSPAllowanceQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined, spender: string | undefined): {
|
|
288
288
|
queryKey: (string | number | undefined)[];
|
|
289
289
|
enabled: boolean;
|
|
290
|
-
queryFn: () =>
|
|
290
|
+
queryFn: () => Promise<bigint>;
|
|
291
291
|
};
|
|
292
292
|
/**
|
|
293
293
|
* fetch balanceOf
|
|
@@ -296,11 +296,11 @@ export declare function getFetchGSPAllowanceQueryOptions(chainId: number | undef
|
|
|
296
296
|
* @param {string} owner - address
|
|
297
297
|
* @returns {bigint} balance - uint256
|
|
298
298
|
*/
|
|
299
|
-
export declare function fetchGSPBalanceOf(chainId: number, __to: string, owner: string):
|
|
299
|
+
export declare function fetchGSPBalanceOf(chainId: number, __to: string, owner: string): Promise<bigint>;
|
|
300
300
|
export declare function getFetchGSPBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, owner: string | undefined): {
|
|
301
301
|
queryKey: (string | number | undefined)[];
|
|
302
302
|
enabled: boolean;
|
|
303
|
-
queryFn: () =>
|
|
303
|
+
queryFn: () => Promise<bigint>;
|
|
304
304
|
};
|
|
305
305
|
/**
|
|
306
306
|
* fetch decimals
|
|
@@ -308,11 +308,11 @@ export declare function getFetchGSPBalanceOfQueryOptions(chainId: number | undef
|
|
|
308
308
|
* @param {string} __to - string
|
|
309
309
|
* @returns {bigint} __output0 - uint8
|
|
310
310
|
*/
|
|
311
|
-
export declare function fetchGSPDecimals(chainId: number, __to: string):
|
|
311
|
+
export declare function fetchGSPDecimals(chainId: number, __to: string): Promise<bigint>;
|
|
312
312
|
export declare function getFetchGSPDecimalsQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
313
313
|
queryKey: (string | number | undefined)[];
|
|
314
314
|
enabled: boolean;
|
|
315
|
-
queryFn: () =>
|
|
315
|
+
queryFn: () => Promise<bigint>;
|
|
316
316
|
};
|
|
317
317
|
/**
|
|
318
318
|
* fetch getBaseInput
|
|
@@ -320,11 +320,11 @@ export declare function getFetchGSPDecimalsQueryOptions(chainId: number | undefi
|
|
|
320
320
|
* @param {string} __to - string
|
|
321
321
|
* @returns {bigint} input - uint256
|
|
322
322
|
*/
|
|
323
|
-
export declare function fetchGSPGetBaseInput(chainId: number, __to: string):
|
|
323
|
+
export declare function fetchGSPGetBaseInput(chainId: number, __to: string): Promise<bigint>;
|
|
324
324
|
export declare function getFetchGSPGetBaseInputQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
325
325
|
queryKey: (string | number | undefined)[];
|
|
326
326
|
enabled: boolean;
|
|
327
|
-
queryFn: () =>
|
|
327
|
+
queryFn: () => Promise<bigint>;
|
|
328
328
|
};
|
|
329
329
|
/**
|
|
330
330
|
* fetch getMidPrice
|
|
@@ -332,11 +332,11 @@ export declare function getFetchGSPGetBaseInputQueryOptions(chainId: number | un
|
|
|
332
332
|
* @param {string} __to - string
|
|
333
333
|
* @returns {bigint} midPrice - uint256
|
|
334
334
|
*/
|
|
335
|
-
export declare function fetchGSPGetMidPrice(chainId: number, __to: string):
|
|
335
|
+
export declare function fetchGSPGetMidPrice(chainId: number, __to: string): Promise<bigint>;
|
|
336
336
|
export declare function getFetchGSPGetMidPriceQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
337
337
|
queryKey: (string | number | undefined)[];
|
|
338
338
|
enabled: boolean;
|
|
339
|
-
queryFn: () =>
|
|
339
|
+
queryFn: () => Promise<bigint>;
|
|
340
340
|
};
|
|
341
341
|
/**
|
|
342
342
|
* fetch getMtFeeTotal
|
|
@@ -345,11 +345,17 @@ export declare function getFetchGSPGetMidPriceQueryOptions(chainId: number | und
|
|
|
345
345
|
* @returns {bigint} mtFeeBase - uint256
|
|
346
346
|
* @returns {bigint} mtFeeQuote - uint256
|
|
347
347
|
*/
|
|
348
|
-
export declare function fetchGSPGetMtFeeTotal(chainId: number, __to: string):
|
|
348
|
+
export declare function fetchGSPGetMtFeeTotal(chainId: number, __to: string): Promise<{
|
|
349
|
+
mtFeeBase: bigint;
|
|
350
|
+
mtFeeQuote: bigint;
|
|
351
|
+
}>;
|
|
349
352
|
export declare function getFetchGSPGetMtFeeTotalQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
350
353
|
queryKey: (string | number | undefined)[];
|
|
351
354
|
enabled: boolean;
|
|
352
|
-
queryFn: () =>
|
|
355
|
+
queryFn: () => Promise<{
|
|
356
|
+
mtFeeBase: bigint;
|
|
357
|
+
mtFeeQuote: bigint;
|
|
358
|
+
}>;
|
|
353
359
|
};
|
|
354
360
|
/**
|
|
355
361
|
* fetch getPMMState
|
|
@@ -357,11 +363,27 @@ export declare function getFetchGSPGetMtFeeTotalQueryOptions(chainId: number | u
|
|
|
357
363
|
* @param {string} __to - string
|
|
358
364
|
* @returns {{i: bigint; K: bigint; B: bigint; Q: bigint; B0: bigint; Q0: bigint; R: bigint}} state - tuple
|
|
359
365
|
*/
|
|
360
|
-
export declare function fetchGSPGetPMMState(chainId: number, __to: string):
|
|
366
|
+
export declare function fetchGSPGetPMMState(chainId: number, __to: string): Promise<{
|
|
367
|
+
i: bigint;
|
|
368
|
+
K: bigint;
|
|
369
|
+
B: bigint;
|
|
370
|
+
Q: bigint;
|
|
371
|
+
B0: bigint;
|
|
372
|
+
Q0: bigint;
|
|
373
|
+
R: bigint;
|
|
374
|
+
}>;
|
|
361
375
|
export declare function getFetchGSPGetPMMStateQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
362
376
|
queryKey: (string | number | undefined)[];
|
|
363
377
|
enabled: boolean;
|
|
364
|
-
queryFn: () =>
|
|
378
|
+
queryFn: () => Promise<{
|
|
379
|
+
i: bigint;
|
|
380
|
+
K: bigint;
|
|
381
|
+
B: bigint;
|
|
382
|
+
Q: bigint;
|
|
383
|
+
B0: bigint;
|
|
384
|
+
Q0: bigint;
|
|
385
|
+
R: bigint;
|
|
386
|
+
}>;
|
|
365
387
|
};
|
|
366
388
|
/**
|
|
367
389
|
* fetch getPMMStateForCall
|
|
@@ -375,11 +397,27 @@ export declare function getFetchGSPGetPMMStateQueryOptions(chainId: number | und
|
|
|
375
397
|
* @returns {bigint} Q0 - uint256
|
|
376
398
|
* @returns {bigint} R - uint256
|
|
377
399
|
*/
|
|
378
|
-
export declare function fetchGSPGetPMMStateForCall(chainId: number, __to: string):
|
|
400
|
+
export declare function fetchGSPGetPMMStateForCall(chainId: number, __to: string): Promise<{
|
|
401
|
+
i: bigint;
|
|
402
|
+
K: bigint;
|
|
403
|
+
B: bigint;
|
|
404
|
+
Q: bigint;
|
|
405
|
+
B0: bigint;
|
|
406
|
+
Q0: bigint;
|
|
407
|
+
R: bigint;
|
|
408
|
+
}>;
|
|
379
409
|
export declare function getFetchGSPGetPMMStateForCallQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
380
410
|
queryKey: (string | number | undefined)[];
|
|
381
411
|
enabled: boolean;
|
|
382
|
-
queryFn: () =>
|
|
412
|
+
queryFn: () => Promise<{
|
|
413
|
+
i: bigint;
|
|
414
|
+
K: bigint;
|
|
415
|
+
B: bigint;
|
|
416
|
+
Q: bigint;
|
|
417
|
+
B0: bigint;
|
|
418
|
+
Q0: bigint;
|
|
419
|
+
R: bigint;
|
|
420
|
+
}>;
|
|
383
421
|
};
|
|
384
422
|
/**
|
|
385
423
|
* fetch getQuoteInput
|
|
@@ -387,11 +425,11 @@ export declare function getFetchGSPGetPMMStateForCallQueryOptions(chainId: numbe
|
|
|
387
425
|
* @param {string} __to - string
|
|
388
426
|
* @returns {bigint} input - uint256
|
|
389
427
|
*/
|
|
390
|
-
export declare function fetchGSPGetQuoteInput(chainId: number, __to: string):
|
|
428
|
+
export declare function fetchGSPGetQuoteInput(chainId: number, __to: string): Promise<bigint>;
|
|
391
429
|
export declare function getFetchGSPGetQuoteInputQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
392
430
|
queryKey: (string | number | undefined)[];
|
|
393
431
|
enabled: boolean;
|
|
394
|
-
queryFn: () =>
|
|
432
|
+
queryFn: () => Promise<bigint>;
|
|
395
433
|
};
|
|
396
434
|
/**
|
|
397
435
|
* fetch getUserFeeRate
|
|
@@ -401,11 +439,17 @@ export declare function getFetchGSPGetQuoteInputQueryOptions(chainId: number | u
|
|
|
401
439
|
* @returns {bigint} lpFeeRate - uint256
|
|
402
440
|
* @returns {bigint} mtFeeRate - uint256
|
|
403
441
|
*/
|
|
404
|
-
export declare function fetchGSPGetUserFeeRate(chainId: number, __to: string, user: string):
|
|
442
|
+
export declare function fetchGSPGetUserFeeRate(chainId: number, __to: string, user: string): Promise<{
|
|
443
|
+
lpFeeRate: bigint;
|
|
444
|
+
mtFeeRate: bigint;
|
|
445
|
+
}>;
|
|
405
446
|
export declare function getFetchGSPGetUserFeeRateQueryOptions(chainId: number | undefined, __to: string | undefined, user: string | undefined): {
|
|
406
447
|
queryKey: (string | number | undefined)[];
|
|
407
448
|
enabled: boolean;
|
|
408
|
-
queryFn: () =>
|
|
449
|
+
queryFn: () => Promise<{
|
|
450
|
+
lpFeeRate: bigint;
|
|
451
|
+
mtFeeRate: bigint;
|
|
452
|
+
}>;
|
|
409
453
|
};
|
|
410
454
|
/**
|
|
411
455
|
* fetch getVaultReserve
|
|
@@ -414,11 +458,17 @@ export declare function getFetchGSPGetUserFeeRateQueryOptions(chainId: number |
|
|
|
414
458
|
* @returns {bigint} baseReserve - uint256
|
|
415
459
|
* @returns {bigint} quoteReserve - uint256
|
|
416
460
|
*/
|
|
417
|
-
export declare function fetchGSPGetVaultReserve(chainId: number, __to: string):
|
|
461
|
+
export declare function fetchGSPGetVaultReserve(chainId: number, __to: string): Promise<{
|
|
462
|
+
baseReserve: bigint;
|
|
463
|
+
quoteReserve: bigint;
|
|
464
|
+
}>;
|
|
418
465
|
export declare function getFetchGSPGetVaultReserveQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
419
466
|
queryKey: (string | number | undefined)[];
|
|
420
467
|
enabled: boolean;
|
|
421
|
-
queryFn: () =>
|
|
468
|
+
queryFn: () => Promise<{
|
|
469
|
+
baseReserve: bigint;
|
|
470
|
+
quoteReserve: bigint;
|
|
471
|
+
}>;
|
|
422
472
|
};
|
|
423
473
|
/**
|
|
424
474
|
* fetch name
|
|
@@ -426,11 +476,11 @@ export declare function getFetchGSPGetVaultReserveQueryOptions(chainId: number |
|
|
|
426
476
|
* @param {string} __to - string
|
|
427
477
|
* @returns {string} __output0 - string
|
|
428
478
|
*/
|
|
429
|
-
export declare function fetchGSPName(chainId: number, __to: string):
|
|
479
|
+
export declare function fetchGSPName(chainId: number, __to: string): Promise<string>;
|
|
430
480
|
export declare function getFetchGSPNameQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
431
481
|
queryKey: (string | number | undefined)[];
|
|
432
482
|
enabled: boolean;
|
|
433
|
-
queryFn: () =>
|
|
483
|
+
queryFn: () => Promise<string>;
|
|
434
484
|
};
|
|
435
485
|
/**
|
|
436
486
|
* fetch nonces
|
|
@@ -439,11 +489,11 @@ export declare function getFetchGSPNameQueryOptions(chainId: number | undefined,
|
|
|
439
489
|
* @param {string} __input1 - address
|
|
440
490
|
* @returns {bigint} __output0 - uint256
|
|
441
491
|
*/
|
|
442
|
-
export declare function fetchGSPNonces(chainId: number, __to: string, __input1: string):
|
|
492
|
+
export declare function fetchGSPNonces(chainId: number, __to: string, __input1: string): Promise<bigint>;
|
|
443
493
|
export declare function getFetchGSPNoncesQueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
444
494
|
queryKey: (string | number | undefined)[];
|
|
445
495
|
enabled: boolean;
|
|
446
|
-
queryFn: () =>
|
|
496
|
+
queryFn: () => Promise<bigint>;
|
|
447
497
|
};
|
|
448
498
|
/**
|
|
449
499
|
* fetch querySellBase
|
|
@@ -456,11 +506,21 @@ export declare function getFetchGSPNoncesQueryOptions(chainId: number | undefine
|
|
|
456
506
|
* @returns {bigint} newRState - uint8
|
|
457
507
|
* @returns {bigint} newBaseTarget - uint256
|
|
458
508
|
*/
|
|
459
|
-
export declare function fetchGSPQuerySellBase(chainId: number, __to: string, trader: string, payBaseAmount: number):
|
|
509
|
+
export declare function fetchGSPQuerySellBase(chainId: number, __to: string, trader: string, payBaseAmount: number): Promise<{
|
|
510
|
+
receiveQuoteAmount: bigint;
|
|
511
|
+
mtFee: bigint;
|
|
512
|
+
newRState: bigint;
|
|
513
|
+
newBaseTarget: bigint;
|
|
514
|
+
}>;
|
|
460
515
|
export declare function getFetchGSPQuerySellBaseQueryOptions(chainId: number | undefined, __to: string | undefined, trader: string | undefined, payBaseAmount: number | undefined): {
|
|
461
516
|
queryKey: (string | number | undefined)[];
|
|
462
517
|
enabled: boolean;
|
|
463
|
-
queryFn: () =>
|
|
518
|
+
queryFn: () => Promise<{
|
|
519
|
+
receiveQuoteAmount: bigint;
|
|
520
|
+
mtFee: bigint;
|
|
521
|
+
newRState: bigint;
|
|
522
|
+
newBaseTarget: bigint;
|
|
523
|
+
}>;
|
|
464
524
|
};
|
|
465
525
|
/**
|
|
466
526
|
* fetch querySellQuote
|
|
@@ -473,11 +533,21 @@ export declare function getFetchGSPQuerySellBaseQueryOptions(chainId: number | u
|
|
|
473
533
|
* @returns {bigint} newRState - uint8
|
|
474
534
|
* @returns {bigint} newQuoteTarget - uint256
|
|
475
535
|
*/
|
|
476
|
-
export declare function fetchGSPQuerySellQuote(chainId: number, __to: string, trader: string, payQuoteAmount: number):
|
|
536
|
+
export declare function fetchGSPQuerySellQuote(chainId: number, __to: string, trader: string, payQuoteAmount: number): Promise<{
|
|
537
|
+
receiveBaseAmount: bigint;
|
|
538
|
+
mtFee: bigint;
|
|
539
|
+
newRState: bigint;
|
|
540
|
+
newQuoteTarget: bigint;
|
|
541
|
+
}>;
|
|
477
542
|
export declare function getFetchGSPQuerySellQuoteQueryOptions(chainId: number | undefined, __to: string | undefined, trader: string | undefined, payQuoteAmount: number | undefined): {
|
|
478
543
|
queryKey: (string | number | undefined)[];
|
|
479
544
|
enabled: boolean;
|
|
480
|
-
queryFn: () =>
|
|
545
|
+
queryFn: () => Promise<{
|
|
546
|
+
receiveBaseAmount: bigint;
|
|
547
|
+
mtFee: bigint;
|
|
548
|
+
newRState: bigint;
|
|
549
|
+
newQuoteTarget: bigint;
|
|
550
|
+
}>;
|
|
481
551
|
};
|
|
482
552
|
/**
|
|
483
553
|
* fetch symbol
|
|
@@ -485,11 +555,11 @@ export declare function getFetchGSPQuerySellQuoteQueryOptions(chainId: number |
|
|
|
485
555
|
* @param {string} __to - string
|
|
486
556
|
* @returns {string} __output0 - string
|
|
487
557
|
*/
|
|
488
|
-
export declare function fetchGSPSymbol(chainId: number, __to: string):
|
|
558
|
+
export declare function fetchGSPSymbol(chainId: number, __to: string): Promise<string>;
|
|
489
559
|
export declare function getFetchGSPSymbolQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
490
560
|
queryKey: (string | number | undefined)[];
|
|
491
561
|
enabled: boolean;
|
|
492
|
-
queryFn: () =>
|
|
562
|
+
queryFn: () => Promise<string>;
|
|
493
563
|
};
|
|
494
564
|
/**
|
|
495
565
|
* fetch totalSupply
|
|
@@ -497,11 +567,11 @@ export declare function getFetchGSPSymbolQueryOptions(chainId: number | undefine
|
|
|
497
567
|
* @param {string} __to - string
|
|
498
568
|
* @returns {bigint} __output0 - uint256
|
|
499
569
|
*/
|
|
500
|
-
export declare function fetchGSPTotalSupply(chainId: number, __to: string):
|
|
570
|
+
export declare function fetchGSPTotalSupply(chainId: number, __to: string): Promise<bigint>;
|
|
501
571
|
export declare function getFetchGSPTotalSupplyQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
502
572
|
queryKey: (string | number | undefined)[];
|
|
503
573
|
enabled: boolean;
|
|
504
|
-
queryFn: () =>
|
|
574
|
+
queryFn: () => Promise<bigint>;
|
|
505
575
|
};
|
|
506
576
|
/**
|
|
507
577
|
* fetch version
|
|
@@ -509,11 +579,11 @@ export declare function getFetchGSPTotalSupplyQueryOptions(chainId: number | und
|
|
|
509
579
|
* @param {string} __to - string
|
|
510
580
|
* @returns {string} __output0 - string
|
|
511
581
|
*/
|
|
512
|
-
export declare function fetchGSPVersion(chainId: number, __to: string):
|
|
582
|
+
export declare function fetchGSPVersion(chainId: number, __to: string): Promise<string>;
|
|
513
583
|
export declare function getFetchGSPVersionQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
514
584
|
queryKey: (string | number | undefined)[];
|
|
515
585
|
enabled: boolean;
|
|
516
|
-
queryFn: () =>
|
|
586
|
+
queryFn: () => Promise<string>;
|
|
517
587
|
};
|
|
518
588
|
/**
|
|
519
589
|
* encode adjustK
|