@dodoex/dodo-contract-request 1.5.0 → 1.6.0-alpha.2
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/.releaserc.json +8 -3
- package/CHANGELOG.md +15 -25
- package/contract-config/sepolia.json +2 -2
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/contract/BuyoutModel.d.ts +42 -12
- package/dist/types/contract/CP.d.ts +214 -50
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +126 -34
- package/dist/types/contract/CustomERC20.d.ts +75 -20
- package/dist/types/contract/CustomMintableERC20.d.ts +77 -22
- package/dist/types/contract/D3Proxy.d.ts +33 -13
- package/dist/types/contract/D3Vault.d.ts +324 -123
- package/dist/types/contract/DODOApprove.d.ts +44 -14
- package/dist/types/contract/DODOApproveProxy.d.ts +51 -16
- package/dist/types/contract/DODOCalleeHelper.d.ts +10 -5
- package/dist/types/contract/DODOCirculationHelper.d.ts +47 -12
- package/dist/types/contract/DODOCpProxy.d.ts +20 -5
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +20 -5
- package/dist/types/contract/DODODppProxy.d.ts +20 -5
- package/dist/types/contract/DODODspProxy.d.ts +27 -7
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +20 -5
- package/dist/types/contract/DODOIncentive.d.ts +75 -26
- package/dist/types/contract/DODOMineV2Factory.d.ts +50 -15
- package/dist/types/contract/DODOMineV3Proxy.d.ts +43 -13
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +43 -13
- package/dist/types/contract/DODOMineV3Registry.d.ts +43 -13
- package/dist/types/contract/DODONFT.d.ts +95 -25
- package/dist/types/contract/DODONFT1155.d.ts +56 -16
- package/dist/types/contract/DODONFTApprove.d.ts +47 -17
- package/dist/types/contract/DODONFTPoolProxy.d.ts +74 -24
- package/dist/types/contract/DODONFTProxy.d.ts +84 -24
- package/dist/types/contract/DODONFTRegistry.d.ts +49 -17
- package/dist/types/contract/DODONFTRouteHelper.d.ts +12 -2
- package/dist/types/contract/DODOSellHelper.d.ts +12 -2
- package/dist/types/contract/DODOStarterProxy.d.ts +13 -3
- package/dist/types/contract/DODOV1.d.ts +269 -77
- package/dist/types/contract/DODOV1Adapter.d.ts +8 -3
- package/dist/types/contract/DODOV1PmmHelper.d.ts +6 -1
- package/dist/types/contract/DODOV1Proxy.d.ts +13 -8
- package/dist/types/contract/DODOV2Proxy02.d.ts +97 -32
- package/dist/types/contract/DODOV2RouteHelper.d.ts +24 -4
- package/dist/types/contract/DPPAdvanced.d.ts +172 -69
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +51 -16
- package/dist/types/contract/DPPFactory.d.ts +97 -30
- package/dist/types/contract/DSP.d.ts +221 -78
- package/dist/types/contract/DSPFactory.d.ts +73 -21
- package/dist/types/contract/DVM.d.ts +203 -71
- package/dist/types/contract/DVMFactory.d.ts +73 -21
- package/dist/types/contract/ERC20.d.ts +41 -11
- package/dist/types/contract/ERC20Helper.d.ts +24 -23
- package/dist/types/contract/ERC20MineV3.d.ts +91 -36
- package/dist/types/contract/ERC20V3Factory.d.ts +77 -26
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +71 -30
- package/dist/types/contract/FeeRateModel.d.ts +28 -8
- package/dist/types/contract/GSP.d.ts +265 -95
- package/dist/types/contract/GSPFactory.d.ts +68 -21
- package/dist/types/contract/InitializableERC20.d.ts +46 -11
- package/dist/types/contract/LimitOrder.d.ts +71 -21
- package/dist/types/contract/LimitOrderBot.d.ts +45 -15
- package/dist/types/contract/MulticallWithValid.d.ts +43 -8
- package/dist/types/contract/PermissionManager.d.ts +33 -13
- package/dist/types/contract/UniswapV2Factory.d.ts +34 -9
- package/dist/types/contract/UniswapV2Pair.d.ts +126 -35
- package/dist/types/contract/UniswapV2Router02.d.ts +59 -24
- package/dist/types/contract/dodoTeam.d.ts +100 -33
- package/dist/types/contract/vDODOToken.d.ts +196 -58
- package/dist/types/contractRequests.d.ts +1 -1
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
- package/scripts/contract-generate.ts +8 -1
- package/src/config/sepolia.ts +1 -1
- package/src/contract/BuyoutModel.ts +60 -0
- package/src/contract/CP.ts +340 -0
- package/src/contract/CrowdPoolingFactory.ts +190 -0
- package/src/contract/CustomERC20.ts +110 -0
- package/src/contract/CustomMintableERC20.ts +110 -0
- package/src/contract/D3Proxy.ts +40 -0
- package/src/contract/D3Vault.ts +480 -0
- package/src/contract/DODOApprove.ts +60 -0
- package/src/contract/DODOApproveProxy.ts +70 -0
- package/src/contract/DODOCalleeHelper.ts +10 -0
- package/src/contract/DODOCirculationHelper.ts +70 -0
- package/src/contract/DODOCpProxy.ts +30 -0
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +30 -0
- package/src/contract/DODODppProxy.ts +30 -0
- package/src/contract/DODODspProxy.ts +40 -0
- package/src/contract/DODODspProxyWithoutGSP.ts +30 -0
- package/src/contract/DODOIncentive.ts +110 -0
- package/src/contract/DODOMineV2Factory.ts +70 -0
- package/src/contract/DODOMineV3Proxy.ts +60 -0
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +60 -0
- package/src/contract/DODOMineV3Registry.ts +60 -0
- package/src/contract/DODONFT.ts +140 -0
- package/src/contract/DODONFT1155.ts +80 -0
- package/src/contract/DODONFTApprove.ts +60 -0
- package/src/contract/DODONFTPoolProxy.ts +100 -0
- package/src/contract/DODONFTProxy.ts +120 -0
- package/src/contract/DODONFTRegistry.ts +70 -0
- package/src/contract/DODONFTRouteHelper.ts +20 -0
- package/src/contract/DODOSellHelper.ts +20 -0
- package/src/contract/DODOStarterProxy.ts +20 -0
- package/src/contract/DODOV1.ts +390 -0
- package/src/contract/DODOV1Adapter.ts +10 -0
- package/src/contract/DODOV1PmmHelper.ts +10 -0
- package/src/contract/DODOV1Proxy.ts +10 -0
- package/src/contract/DODOV2Proxy02.ts +130 -0
- package/src/contract/DODOV2RouteHelper.ts +40 -0
- package/src/contract/DPPAdvanced.ts +270 -0
- package/src/contract/DPPAdvancedAdmin.ts +70 -0
- package/src/contract/DPPFactory.ts +140 -0
- package/src/contract/DSP.ts +350 -0
- package/src/contract/DSPFactory.ts +110 -0
- package/src/contract/DVM.ts +320 -0
- package/src/contract/DVMFactory.ts +110 -0
- package/src/contract/ERC20.ts +60 -0
- package/src/contract/ERC20Helper.ts +40 -0
- package/src/contract/ERC20MineV3.ts +130 -0
- package/src/contract/ERC20V3Factory.ts +110 -0
- package/src/contract/FeeRateDIP3Impl.ts +100 -0
- package/src/contract/FeeRateModel.ts +40 -0
- package/src/contract/GSP.ts +410 -0
- package/src/contract/GSPFactory.ts +100 -0
- package/src/contract/InitializableERC20.ts +70 -0
- package/src/contract/LimitOrder.ts +100 -0
- package/src/contract/LimitOrderBot.ts +60 -0
- package/src/contract/MulticallWithValid.ts +70 -0
- package/src/contract/PermissionManager.ts +40 -0
- package/src/contract/UniswapV2Factory.ts +51 -1
- package/src/contract/UniswapV2Pair.ts +190 -0
- package/src/contract/UniswapV2Router02.ts +71 -1
- package/src/contract/dodoTeam.ts +140 -0
- package/src/contract/vDODOToken.ts +300 -0
- package/src/index.ts +2 -1
|
@@ -4,28 +4,48 @@
|
|
|
4
4
|
* @param {string} __to - string
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOV1_BASE_BALANCE_(chainId: number, __to: string):
|
|
7
|
+
export declare function fetchDODOV1_BASE_BALANCE_(chainId: number, __to: string): any;
|
|
8
|
+
export declare function getFetchDODOV1_BASE_BALANCE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
9
|
+
queryKey: (string | number | undefined)[];
|
|
10
|
+
enabled: boolean[];
|
|
11
|
+
queryFn: () => any;
|
|
12
|
+
};
|
|
8
13
|
/**
|
|
9
14
|
* fetch _BASE_CAPITAL_RECEIVE_QUOTE_
|
|
10
15
|
* @param {number} chainId - number
|
|
11
16
|
* @param {string} __to - string
|
|
12
17
|
* @returns {bigint} __output0 - uint256
|
|
13
18
|
*/
|
|
14
|
-
export declare function fetchDODOV1_BASE_CAPITAL_RECEIVE_QUOTE_(chainId: number, __to: string):
|
|
19
|
+
export declare function fetchDODOV1_BASE_CAPITAL_RECEIVE_QUOTE_(chainId: number, __to: string): any;
|
|
20
|
+
export declare function getFetchDODOV1_BASE_CAPITAL_RECEIVE_QUOTE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
21
|
+
queryKey: (string | number | undefined)[];
|
|
22
|
+
enabled: boolean[];
|
|
23
|
+
queryFn: () => any;
|
|
24
|
+
};
|
|
15
25
|
/**
|
|
16
26
|
* fetch _BASE_CAPITAL_TOKEN_
|
|
17
27
|
* @param {number} chainId - number
|
|
18
28
|
* @param {string} __to - string
|
|
19
29
|
* @returns {string} __output0 - address
|
|
20
30
|
*/
|
|
21
|
-
export declare function fetchDODOV1_BASE_CAPITAL_TOKEN_(chainId: number, __to: string):
|
|
31
|
+
export declare function fetchDODOV1_BASE_CAPITAL_TOKEN_(chainId: number, __to: string): any;
|
|
32
|
+
export declare function getFetchDODOV1_BASE_CAPITAL_TOKEN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
33
|
+
queryKey: (string | number | undefined)[];
|
|
34
|
+
enabled: boolean[];
|
|
35
|
+
queryFn: () => any;
|
|
36
|
+
};
|
|
22
37
|
/**
|
|
23
38
|
* fetch _BASE_TOKEN_
|
|
24
39
|
* @param {number} chainId - number
|
|
25
40
|
* @param {string} __to - string
|
|
26
41
|
* @returns {string} __output0 - address
|
|
27
42
|
*/
|
|
28
|
-
export declare function fetchDODOV1_BASE_TOKEN_(chainId: number, __to: string):
|
|
43
|
+
export declare function fetchDODOV1_BASE_TOKEN_(chainId: number, __to: string): any;
|
|
44
|
+
export declare function getFetchDODOV1_BASE_TOKEN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
45
|
+
queryKey: (string | number | undefined)[];
|
|
46
|
+
enabled: boolean[];
|
|
47
|
+
queryFn: () => any;
|
|
48
|
+
};
|
|
29
49
|
/**
|
|
30
50
|
* fetch _CLAIMED_
|
|
31
51
|
* @param {number} chainId - number
|
|
@@ -33,147 +53,252 @@ export declare function fetchDODOV1_BASE_TOKEN_(chainId: number, __to: string):
|
|
|
33
53
|
* @param {string} __input1 - address
|
|
34
54
|
* @returns {boolean} __output0 - bool
|
|
35
55
|
*/
|
|
36
|
-
export declare function fetchDODOV1_CLAIMED_(chainId: number, __to: string, __input1: string):
|
|
56
|
+
export declare function fetchDODOV1_CLAIMED_(chainId: number, __to: string, __input1: string): any;
|
|
57
|
+
export declare function getFetchDODOV1_CLAIMED_QueryOptions(chainId: number | undefined, __to: string | undefined, __input1: string | undefined): {
|
|
58
|
+
queryKey: (string | number | undefined)[];
|
|
59
|
+
enabled: boolean[];
|
|
60
|
+
queryFn: () => any;
|
|
61
|
+
};
|
|
37
62
|
/**
|
|
38
63
|
* fetch _CLOSED_
|
|
39
64
|
* @param {number} chainId - number
|
|
40
65
|
* @param {string} __to - string
|
|
41
66
|
* @returns {boolean} __output0 - bool
|
|
42
67
|
*/
|
|
43
|
-
export declare function fetchDODOV1_CLOSED_(chainId: number, __to: string):
|
|
68
|
+
export declare function fetchDODOV1_CLOSED_(chainId: number, __to: string): any;
|
|
69
|
+
export declare function getFetchDODOV1_CLOSED_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
70
|
+
queryKey: (string | number | undefined)[];
|
|
71
|
+
enabled: boolean[];
|
|
72
|
+
queryFn: () => any;
|
|
73
|
+
};
|
|
44
74
|
/**
|
|
45
75
|
* fetch _DEPOSIT_BASE_ALLOWED_
|
|
46
76
|
* @param {number} chainId - number
|
|
47
77
|
* @param {string} __to - string
|
|
48
78
|
* @returns {boolean} __output0 - bool
|
|
49
79
|
*/
|
|
50
|
-
export declare function fetchDODOV1_DEPOSIT_BASE_ALLOWED_(chainId: number, __to: string):
|
|
80
|
+
export declare function fetchDODOV1_DEPOSIT_BASE_ALLOWED_(chainId: number, __to: string): any;
|
|
81
|
+
export declare function getFetchDODOV1_DEPOSIT_BASE_ALLOWED_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
82
|
+
queryKey: (string | number | undefined)[];
|
|
83
|
+
enabled: boolean[];
|
|
84
|
+
queryFn: () => any;
|
|
85
|
+
};
|
|
51
86
|
/**
|
|
52
87
|
* fetch _DEPOSIT_QUOTE_ALLOWED_
|
|
53
88
|
* @param {number} chainId - number
|
|
54
89
|
* @param {string} __to - string
|
|
55
90
|
* @returns {boolean} __output0 - bool
|
|
56
91
|
*/
|
|
57
|
-
export declare function fetchDODOV1_DEPOSIT_QUOTE_ALLOWED_(chainId: number, __to: string):
|
|
92
|
+
export declare function fetchDODOV1_DEPOSIT_QUOTE_ALLOWED_(chainId: number, __to: string): any;
|
|
93
|
+
export declare function getFetchDODOV1_DEPOSIT_QUOTE_ALLOWED_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
94
|
+
queryKey: (string | number | undefined)[];
|
|
95
|
+
enabled: boolean[];
|
|
96
|
+
queryFn: () => any;
|
|
97
|
+
};
|
|
58
98
|
/**
|
|
59
99
|
* fetch _GAS_PRICE_LIMIT_
|
|
60
100
|
* @param {number} chainId - number
|
|
61
101
|
* @param {string} __to - string
|
|
62
102
|
* @returns {bigint} __output0 - uint256
|
|
63
103
|
*/
|
|
64
|
-
export declare function fetchDODOV1_GAS_PRICE_LIMIT_(chainId: number, __to: string):
|
|
104
|
+
export declare function fetchDODOV1_GAS_PRICE_LIMIT_(chainId: number, __to: string): any;
|
|
105
|
+
export declare function getFetchDODOV1_GAS_PRICE_LIMIT_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
106
|
+
queryKey: (string | number | undefined)[];
|
|
107
|
+
enabled: boolean[];
|
|
108
|
+
queryFn: () => any;
|
|
109
|
+
};
|
|
65
110
|
/**
|
|
66
111
|
* fetch _K_
|
|
67
112
|
* @param {number} chainId - number
|
|
68
113
|
* @param {string} __to - string
|
|
69
114
|
* @returns {bigint} __output0 - uint256
|
|
70
115
|
*/
|
|
71
|
-
export declare function fetchDODOV1_K_(chainId: number, __to: string):
|
|
116
|
+
export declare function fetchDODOV1_K_(chainId: number, __to: string): any;
|
|
117
|
+
export declare function getFetchDODOV1_K_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
118
|
+
queryKey: (string | number | undefined)[];
|
|
119
|
+
enabled: boolean[];
|
|
120
|
+
queryFn: () => any;
|
|
121
|
+
};
|
|
72
122
|
/**
|
|
73
123
|
* fetch _LP_FEE_RATE_
|
|
74
124
|
* @param {number} chainId - number
|
|
75
125
|
* @param {string} __to - string
|
|
76
126
|
* @returns {bigint} __output0 - uint256
|
|
77
127
|
*/
|
|
78
|
-
export declare function fetchDODOV1_LP_FEE_RATE_(chainId: number, __to: string):
|
|
128
|
+
export declare function fetchDODOV1_LP_FEE_RATE_(chainId: number, __to: string): any;
|
|
129
|
+
export declare function getFetchDODOV1_LP_FEE_RATE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
130
|
+
queryKey: (string | number | undefined)[];
|
|
131
|
+
enabled: boolean[];
|
|
132
|
+
queryFn: () => any;
|
|
133
|
+
};
|
|
79
134
|
/**
|
|
80
135
|
* fetch _MAINTAINER_
|
|
81
136
|
* @param {number} chainId - number
|
|
82
137
|
* @param {string} __to - string
|
|
83
138
|
* @returns {string} __output0 - address
|
|
84
139
|
*/
|
|
85
|
-
export declare function fetchDODOV1_MAINTAINER_(chainId: number, __to: string):
|
|
140
|
+
export declare function fetchDODOV1_MAINTAINER_(chainId: number, __to: string): any;
|
|
141
|
+
export declare function getFetchDODOV1_MAINTAINER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
142
|
+
queryKey: (string | number | undefined)[];
|
|
143
|
+
enabled: boolean[];
|
|
144
|
+
queryFn: () => any;
|
|
145
|
+
};
|
|
86
146
|
/**
|
|
87
147
|
* fetch _MT_FEE_RATE_
|
|
88
148
|
* @param {number} chainId - number
|
|
89
149
|
* @param {string} __to - string
|
|
90
150
|
* @returns {bigint} __output0 - uint256
|
|
91
151
|
*/
|
|
92
|
-
export declare function fetchDODOV1_MT_FEE_RATE_(chainId: number, __to: string):
|
|
152
|
+
export declare function fetchDODOV1_MT_FEE_RATE_(chainId: number, __to: string): any;
|
|
153
|
+
export declare function getFetchDODOV1_MT_FEE_RATE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
154
|
+
queryKey: (string | number | undefined)[];
|
|
155
|
+
enabled: boolean[];
|
|
156
|
+
queryFn: () => any;
|
|
157
|
+
};
|
|
93
158
|
/**
|
|
94
159
|
* fetch _NEW_OWNER_
|
|
95
160
|
* @param {number} chainId - number
|
|
96
161
|
* @param {string} __to - string
|
|
97
162
|
* @returns {string} __output0 - address
|
|
98
163
|
*/
|
|
99
|
-
export declare function fetchDODOV1_NEW_OWNER_(chainId: number, __to: string):
|
|
164
|
+
export declare function fetchDODOV1_NEW_OWNER_(chainId: number, __to: string): any;
|
|
165
|
+
export declare function getFetchDODOV1_NEW_OWNER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
166
|
+
queryKey: (string | number | undefined)[];
|
|
167
|
+
enabled: boolean[];
|
|
168
|
+
queryFn: () => any;
|
|
169
|
+
};
|
|
100
170
|
/**
|
|
101
171
|
* fetch _ORACLE_
|
|
102
172
|
* @param {number} chainId - number
|
|
103
173
|
* @param {string} __to - string
|
|
104
174
|
* @returns {string} __output0 - address
|
|
105
175
|
*/
|
|
106
|
-
export declare function fetchDODOV1_ORACLE_(chainId: number, __to: string):
|
|
176
|
+
export declare function fetchDODOV1_ORACLE_(chainId: number, __to: string): any;
|
|
177
|
+
export declare function getFetchDODOV1_ORACLE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
178
|
+
queryKey: (string | number | undefined)[];
|
|
179
|
+
enabled: boolean[];
|
|
180
|
+
queryFn: () => any;
|
|
181
|
+
};
|
|
107
182
|
/**
|
|
108
183
|
* fetch _OWNER_
|
|
109
184
|
* @param {number} chainId - number
|
|
110
185
|
* @param {string} __to - string
|
|
111
186
|
* @returns {string} __output0 - address
|
|
112
187
|
*/
|
|
113
|
-
export declare function fetchDODOV1_OWNER_(chainId: number, __to: string):
|
|
188
|
+
export declare function fetchDODOV1_OWNER_(chainId: number, __to: string): any;
|
|
189
|
+
export declare function getFetchDODOV1_OWNER_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
190
|
+
queryKey: (string | number | undefined)[];
|
|
191
|
+
enabled: boolean[];
|
|
192
|
+
queryFn: () => any;
|
|
193
|
+
};
|
|
114
194
|
/**
|
|
115
195
|
* fetch _QUOTE_BALANCE_
|
|
116
196
|
* @param {number} chainId - number
|
|
117
197
|
* @param {string} __to - string
|
|
118
198
|
* @returns {bigint} __output0 - uint256
|
|
119
199
|
*/
|
|
120
|
-
export declare function fetchDODOV1_QUOTE_BALANCE_(chainId: number, __to: string):
|
|
200
|
+
export declare function fetchDODOV1_QUOTE_BALANCE_(chainId: number, __to: string): any;
|
|
201
|
+
export declare function getFetchDODOV1_QUOTE_BALANCE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
202
|
+
queryKey: (string | number | undefined)[];
|
|
203
|
+
enabled: boolean[];
|
|
204
|
+
queryFn: () => any;
|
|
205
|
+
};
|
|
121
206
|
/**
|
|
122
207
|
* fetch _QUOTE_CAPITAL_RECEIVE_BASE_
|
|
123
208
|
* @param {number} chainId - number
|
|
124
209
|
* @param {string} __to - string
|
|
125
210
|
* @returns {bigint} __output0 - uint256
|
|
126
211
|
*/
|
|
127
|
-
export declare function fetchDODOV1_QUOTE_CAPITAL_RECEIVE_BASE_(chainId: number, __to: string):
|
|
212
|
+
export declare function fetchDODOV1_QUOTE_CAPITAL_RECEIVE_BASE_(chainId: number, __to: string): any;
|
|
213
|
+
export declare function getFetchDODOV1_QUOTE_CAPITAL_RECEIVE_BASE_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
214
|
+
queryKey: (string | number | undefined)[];
|
|
215
|
+
enabled: boolean[];
|
|
216
|
+
queryFn: () => any;
|
|
217
|
+
};
|
|
128
218
|
/**
|
|
129
219
|
* fetch _QUOTE_CAPITAL_TOKEN_
|
|
130
220
|
* @param {number} chainId - number
|
|
131
221
|
* @param {string} __to - string
|
|
132
222
|
* @returns {string} __output0 - address
|
|
133
223
|
*/
|
|
134
|
-
export declare function fetchDODOV1_QUOTE_CAPITAL_TOKEN_(chainId: number, __to: string):
|
|
224
|
+
export declare function fetchDODOV1_QUOTE_CAPITAL_TOKEN_(chainId: number, __to: string): any;
|
|
225
|
+
export declare function getFetchDODOV1_QUOTE_CAPITAL_TOKEN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
226
|
+
queryKey: (string | number | undefined)[];
|
|
227
|
+
enabled: boolean[];
|
|
228
|
+
queryFn: () => any;
|
|
229
|
+
};
|
|
135
230
|
/**
|
|
136
231
|
* fetch _QUOTE_TOKEN_
|
|
137
232
|
* @param {number} chainId - number
|
|
138
233
|
* @param {string} __to - string
|
|
139
234
|
* @returns {string} __output0 - address
|
|
140
235
|
*/
|
|
141
|
-
export declare function fetchDODOV1_QUOTE_TOKEN_(chainId: number, __to: string):
|
|
236
|
+
export declare function fetchDODOV1_QUOTE_TOKEN_(chainId: number, __to: string): any;
|
|
237
|
+
export declare function getFetchDODOV1_QUOTE_TOKEN_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
238
|
+
queryKey: (string | number | undefined)[];
|
|
239
|
+
enabled: boolean[];
|
|
240
|
+
queryFn: () => any;
|
|
241
|
+
};
|
|
142
242
|
/**
|
|
143
243
|
* fetch _R_STATUS_
|
|
144
244
|
* @param {number} chainId - number
|
|
145
245
|
* @param {string} __to - string
|
|
146
246
|
* @returns {bigint} __output0 - uint8
|
|
147
247
|
*/
|
|
148
|
-
export declare function fetchDODOV1_R_STATUS_(chainId: number, __to: string):
|
|
248
|
+
export declare function fetchDODOV1_R_STATUS_(chainId: number, __to: string): any;
|
|
249
|
+
export declare function getFetchDODOV1_R_STATUS_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
250
|
+
queryKey: (string | number | undefined)[];
|
|
251
|
+
enabled: boolean[];
|
|
252
|
+
queryFn: () => any;
|
|
253
|
+
};
|
|
149
254
|
/**
|
|
150
255
|
* fetch _SUPERVISOR_
|
|
151
256
|
* @param {number} chainId - number
|
|
152
257
|
* @param {string} __to - string
|
|
153
258
|
* @returns {string} __output0 - address
|
|
154
259
|
*/
|
|
155
|
-
export declare function fetchDODOV1_SUPERVISOR_(chainId: number, __to: string):
|
|
260
|
+
export declare function fetchDODOV1_SUPERVISOR_(chainId: number, __to: string): any;
|
|
261
|
+
export declare function getFetchDODOV1_SUPERVISOR_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
262
|
+
queryKey: (string | number | undefined)[];
|
|
263
|
+
enabled: boolean[];
|
|
264
|
+
queryFn: () => any;
|
|
265
|
+
};
|
|
156
266
|
/**
|
|
157
267
|
* fetch _TARGET_BASE_TOKEN_AMOUNT_
|
|
158
268
|
* @param {number} chainId - number
|
|
159
269
|
* @param {string} __to - string
|
|
160
270
|
* @returns {bigint} __output0 - uint256
|
|
161
271
|
*/
|
|
162
|
-
export declare function fetchDODOV1_TARGET_BASE_TOKEN_AMOUNT_(chainId: number, __to: string):
|
|
272
|
+
export declare function fetchDODOV1_TARGET_BASE_TOKEN_AMOUNT_(chainId: number, __to: string): any;
|
|
273
|
+
export declare function getFetchDODOV1_TARGET_BASE_TOKEN_AMOUNT_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
274
|
+
queryKey: (string | number | undefined)[];
|
|
275
|
+
enabled: boolean[];
|
|
276
|
+
queryFn: () => any;
|
|
277
|
+
};
|
|
163
278
|
/**
|
|
164
279
|
* fetch _TARGET_QUOTE_TOKEN_AMOUNT_
|
|
165
280
|
* @param {number} chainId - number
|
|
166
281
|
* @param {string} __to - string
|
|
167
282
|
* @returns {bigint} __output0 - uint256
|
|
168
283
|
*/
|
|
169
|
-
export declare function fetchDODOV1_TARGET_QUOTE_TOKEN_AMOUNT_(chainId: number, __to: string):
|
|
284
|
+
export declare function fetchDODOV1_TARGET_QUOTE_TOKEN_AMOUNT_(chainId: number, __to: string): any;
|
|
285
|
+
export declare function getFetchDODOV1_TARGET_QUOTE_TOKEN_AMOUNT_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
286
|
+
queryKey: (string | number | undefined)[];
|
|
287
|
+
enabled: boolean[];
|
|
288
|
+
queryFn: () => any;
|
|
289
|
+
};
|
|
170
290
|
/**
|
|
171
291
|
* fetch _TRADE_ALLOWED_
|
|
172
292
|
* @param {number} chainId - number
|
|
173
293
|
* @param {string} __to - string
|
|
174
294
|
* @returns {boolean} __output0 - bool
|
|
175
295
|
*/
|
|
176
|
-
export declare function fetchDODOV1_TRADE_ALLOWED_(chainId: number, __to: string):
|
|
296
|
+
export declare function fetchDODOV1_TRADE_ALLOWED_(chainId: number, __to: string): any;
|
|
297
|
+
export declare function getFetchDODOV1_TRADE_ALLOWED_QueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
298
|
+
queryKey: (string | number | undefined)[];
|
|
299
|
+
enabled: boolean[];
|
|
300
|
+
queryFn: () => any;
|
|
301
|
+
};
|
|
177
302
|
/**
|
|
178
303
|
* fetch getBaseCapitalBalanceOf
|
|
179
304
|
* @param {number} chainId - number
|
|
@@ -181,7 +306,12 @@ export declare function fetchDODOV1_TRADE_ALLOWED_(chainId: number, __to: string
|
|
|
181
306
|
* @param {string} lp - address
|
|
182
307
|
* @returns {bigint} __output0 - uint256
|
|
183
308
|
*/
|
|
184
|
-
export declare function fetchDODOV1GetBaseCapitalBalanceOf(chainId: number, __to: string, lp: string):
|
|
309
|
+
export declare function fetchDODOV1GetBaseCapitalBalanceOf(chainId: number, __to: string, lp: string): any;
|
|
310
|
+
export declare function getFetchDODOV1GetBaseCapitalBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, lp: string | undefined): {
|
|
311
|
+
queryKey: (string | number | undefined)[];
|
|
312
|
+
enabled: boolean[];
|
|
313
|
+
queryFn: () => any;
|
|
314
|
+
};
|
|
185
315
|
/**
|
|
186
316
|
* fetch getExpectedTarget
|
|
187
317
|
* @param {number} chainId - number
|
|
@@ -189,10 +319,12 @@ export declare function fetchDODOV1GetBaseCapitalBalanceOf(chainId: number, __to
|
|
|
189
319
|
* @returns {bigint} baseTarget - uint256
|
|
190
320
|
* @returns {bigint} quoteTarget - uint256
|
|
191
321
|
*/
|
|
192
|
-
export declare function fetchDODOV1GetExpectedTarget(chainId: number, __to: string):
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
322
|
+
export declare function fetchDODOV1GetExpectedTarget(chainId: number, __to: string): any;
|
|
323
|
+
export declare function getFetchDODOV1GetExpectedTargetQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
324
|
+
queryKey: (string | number | undefined)[];
|
|
325
|
+
enabled: boolean[];
|
|
326
|
+
queryFn: () => any;
|
|
327
|
+
};
|
|
196
328
|
/**
|
|
197
329
|
* fetch getLpBaseBalance
|
|
198
330
|
* @param {number} chainId - number
|
|
@@ -200,7 +332,12 @@ export declare function fetchDODOV1GetExpectedTarget(chainId: number, __to: stri
|
|
|
200
332
|
* @param {string} lp - address
|
|
201
333
|
* @returns {bigint} lpBalance - uint256
|
|
202
334
|
*/
|
|
203
|
-
export declare function fetchDODOV1GetLpBaseBalance(chainId: number, __to: string, lp: string):
|
|
335
|
+
export declare function fetchDODOV1GetLpBaseBalance(chainId: number, __to: string, lp: string): any;
|
|
336
|
+
export declare function getFetchDODOV1GetLpBaseBalanceQueryOptions(chainId: number | undefined, __to: string | undefined, lp: string | undefined): {
|
|
337
|
+
queryKey: (string | number | undefined)[];
|
|
338
|
+
enabled: boolean[];
|
|
339
|
+
queryFn: () => any;
|
|
340
|
+
};
|
|
204
341
|
/**
|
|
205
342
|
* fetch getLpQuoteBalance
|
|
206
343
|
* @param {number} chainId - number
|
|
@@ -208,21 +345,36 @@ export declare function fetchDODOV1GetLpBaseBalance(chainId: number, __to: strin
|
|
|
208
345
|
* @param {string} lp - address
|
|
209
346
|
* @returns {bigint} lpBalance - uint256
|
|
210
347
|
*/
|
|
211
|
-
export declare function fetchDODOV1GetLpQuoteBalance(chainId: number, __to: string, lp: string):
|
|
348
|
+
export declare function fetchDODOV1GetLpQuoteBalance(chainId: number, __to: string, lp: string): any;
|
|
349
|
+
export declare function getFetchDODOV1GetLpQuoteBalanceQueryOptions(chainId: number | undefined, __to: string | undefined, lp: string | undefined): {
|
|
350
|
+
queryKey: (string | number | undefined)[];
|
|
351
|
+
enabled: boolean[];
|
|
352
|
+
queryFn: () => any;
|
|
353
|
+
};
|
|
212
354
|
/**
|
|
213
355
|
* fetch getMidPrice
|
|
214
356
|
* @param {number} chainId - number
|
|
215
357
|
* @param {string} __to - string
|
|
216
358
|
* @returns {bigint} midPrice - uint256
|
|
217
359
|
*/
|
|
218
|
-
export declare function fetchDODOV1GetMidPrice(chainId: number, __to: string):
|
|
360
|
+
export declare function fetchDODOV1GetMidPrice(chainId: number, __to: string): any;
|
|
361
|
+
export declare function getFetchDODOV1GetMidPriceQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
362
|
+
queryKey: (string | number | undefined)[];
|
|
363
|
+
enabled: boolean[];
|
|
364
|
+
queryFn: () => any;
|
|
365
|
+
};
|
|
219
366
|
/**
|
|
220
367
|
* fetch getOraclePrice
|
|
221
368
|
* @param {number} chainId - number
|
|
222
369
|
* @param {string} __to - string
|
|
223
370
|
* @returns {bigint} __output0 - uint256
|
|
224
371
|
*/
|
|
225
|
-
export declare function fetchDODOV1GetOraclePrice(chainId: number, __to: string):
|
|
372
|
+
export declare function fetchDODOV1GetOraclePrice(chainId: number, __to: string): any;
|
|
373
|
+
export declare function getFetchDODOV1GetOraclePriceQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
374
|
+
queryKey: (string | number | undefined)[];
|
|
375
|
+
enabled: boolean[];
|
|
376
|
+
queryFn: () => any;
|
|
377
|
+
};
|
|
226
378
|
/**
|
|
227
379
|
* fetch getQuoteCapitalBalanceOf
|
|
228
380
|
* @param {number} chainId - number
|
|
@@ -230,21 +382,36 @@ export declare function fetchDODOV1GetOraclePrice(chainId: number, __to: string)
|
|
|
230
382
|
* @param {string} lp - address
|
|
231
383
|
* @returns {bigint} __output0 - uint256
|
|
232
384
|
*/
|
|
233
|
-
export declare function fetchDODOV1GetQuoteCapitalBalanceOf(chainId: number, __to: string, lp: string):
|
|
385
|
+
export declare function fetchDODOV1GetQuoteCapitalBalanceOf(chainId: number, __to: string, lp: string): any;
|
|
386
|
+
export declare function getFetchDODOV1GetQuoteCapitalBalanceOfQueryOptions(chainId: number | undefined, __to: string | undefined, lp: string | undefined): {
|
|
387
|
+
queryKey: (string | number | undefined)[];
|
|
388
|
+
enabled: boolean[];
|
|
389
|
+
queryFn: () => any;
|
|
390
|
+
};
|
|
234
391
|
/**
|
|
235
392
|
* fetch getTotalBaseCapital
|
|
236
393
|
* @param {number} chainId - number
|
|
237
394
|
* @param {string} __to - string
|
|
238
395
|
* @returns {bigint} __output0 - uint256
|
|
239
396
|
*/
|
|
240
|
-
export declare function fetchDODOV1GetTotalBaseCapital(chainId: number, __to: string):
|
|
397
|
+
export declare function fetchDODOV1GetTotalBaseCapital(chainId: number, __to: string): any;
|
|
398
|
+
export declare function getFetchDODOV1GetTotalBaseCapitalQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
399
|
+
queryKey: (string | number | undefined)[];
|
|
400
|
+
enabled: boolean[];
|
|
401
|
+
queryFn: () => any;
|
|
402
|
+
};
|
|
241
403
|
/**
|
|
242
404
|
* fetch getTotalQuoteCapital
|
|
243
405
|
* @param {number} chainId - number
|
|
244
406
|
* @param {string} __to - string
|
|
245
407
|
* @returns {bigint} __output0 - uint256
|
|
246
408
|
*/
|
|
247
|
-
export declare function fetchDODOV1GetTotalQuoteCapital(chainId: number, __to: string):
|
|
409
|
+
export declare function fetchDODOV1GetTotalQuoteCapital(chainId: number, __to: string): any;
|
|
410
|
+
export declare function getFetchDODOV1GetTotalQuoteCapitalQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
411
|
+
queryKey: (string | number | undefined)[];
|
|
412
|
+
enabled: boolean[];
|
|
413
|
+
queryFn: () => any;
|
|
414
|
+
};
|
|
248
415
|
/**
|
|
249
416
|
* fetch getWithdrawBasePenalty
|
|
250
417
|
* @param {number} chainId - number
|
|
@@ -252,7 +419,12 @@ export declare function fetchDODOV1GetTotalQuoteCapital(chainId: number, __to: s
|
|
|
252
419
|
* @param {number} amount - uint256
|
|
253
420
|
* @returns {bigint} penalty - uint256
|
|
254
421
|
*/
|
|
255
|
-
export declare function fetchDODOV1GetWithdrawBasePenalty(chainId: number, __to: string, amount: number):
|
|
422
|
+
export declare function fetchDODOV1GetWithdrawBasePenalty(chainId: number, __to: string, amount: number): any;
|
|
423
|
+
export declare function getFetchDODOV1GetWithdrawBasePenaltyQueryOptions(chainId: number | undefined, __to: string | undefined, amount: number | undefined): {
|
|
424
|
+
queryKey: (string | number | undefined)[];
|
|
425
|
+
enabled: boolean[];
|
|
426
|
+
queryFn: () => any;
|
|
427
|
+
};
|
|
256
428
|
/**
|
|
257
429
|
* fetch getWithdrawQuotePenalty
|
|
258
430
|
* @param {number} chainId - number
|
|
@@ -260,7 +432,12 @@ export declare function fetchDODOV1GetWithdrawBasePenalty(chainId: number, __to:
|
|
|
260
432
|
* @param {number} amount - uint256
|
|
261
433
|
* @returns {bigint} penalty - uint256
|
|
262
434
|
*/
|
|
263
|
-
export declare function fetchDODOV1GetWithdrawQuotePenalty(chainId: number, __to: string, amount: number):
|
|
435
|
+
export declare function fetchDODOV1GetWithdrawQuotePenalty(chainId: number, __to: string, amount: number): any;
|
|
436
|
+
export declare function getFetchDODOV1GetWithdrawQuotePenaltyQueryOptions(chainId: number | undefined, __to: string | undefined, amount: number | undefined): {
|
|
437
|
+
queryKey: (string | number | undefined)[];
|
|
438
|
+
enabled: boolean[];
|
|
439
|
+
queryFn: () => any;
|
|
440
|
+
};
|
|
264
441
|
/**
|
|
265
442
|
* fetch queryBuyBaseToken
|
|
266
443
|
* @param {number} chainId - number
|
|
@@ -268,7 +445,12 @@ export declare function fetchDODOV1GetWithdrawQuotePenalty(chainId: number, __to
|
|
|
268
445
|
* @param {number} amount - uint256
|
|
269
446
|
* @returns {bigint} payQuote - uint256
|
|
270
447
|
*/
|
|
271
|
-
export declare function fetchDODOV1QueryBuyBaseToken(chainId: number, __to: string, amount: number):
|
|
448
|
+
export declare function fetchDODOV1QueryBuyBaseToken(chainId: number, __to: string, amount: number): any;
|
|
449
|
+
export declare function getFetchDODOV1QueryBuyBaseTokenQueryOptions(chainId: number | undefined, __to: string | undefined, amount: number | undefined): {
|
|
450
|
+
queryKey: (string | number | undefined)[];
|
|
451
|
+
enabled: boolean[];
|
|
452
|
+
queryFn: () => any;
|
|
453
|
+
};
|
|
272
454
|
/**
|
|
273
455
|
* fetch querySellBaseToken
|
|
274
456
|
* @param {number} chainId - number
|
|
@@ -276,14 +458,24 @@ export declare function fetchDODOV1QueryBuyBaseToken(chainId: number, __to: stri
|
|
|
276
458
|
* @param {number} amount - uint256
|
|
277
459
|
* @returns {bigint} receiveQuote - uint256
|
|
278
460
|
*/
|
|
279
|
-
export declare function fetchDODOV1QuerySellBaseToken(chainId: number, __to: string, amount: number):
|
|
461
|
+
export declare function fetchDODOV1QuerySellBaseToken(chainId: number, __to: string, amount: number): any;
|
|
462
|
+
export declare function getFetchDODOV1QuerySellBaseTokenQueryOptions(chainId: number | undefined, __to: string | undefined, amount: number | undefined): {
|
|
463
|
+
queryKey: (string | number | undefined)[];
|
|
464
|
+
enabled: boolean[];
|
|
465
|
+
queryFn: () => any;
|
|
466
|
+
};
|
|
280
467
|
/**
|
|
281
468
|
* fetch version
|
|
282
469
|
* @param {number} chainId - number
|
|
283
470
|
* @param {string} __to - string
|
|
284
471
|
* @returns {bigint} __output0 - uint256
|
|
285
472
|
*/
|
|
286
|
-
export declare function fetchDODOV1Version(chainId: number, __to: string):
|
|
473
|
+
export declare function fetchDODOV1Version(chainId: number, __to: string): any;
|
|
474
|
+
export declare function getFetchDODOV1VersionQueryOptions(chainId: number | undefined, __to: string | undefined): {
|
|
475
|
+
queryKey: (string | number | undefined)[];
|
|
476
|
+
enabled: boolean[];
|
|
477
|
+
queryFn: () => any;
|
|
478
|
+
};
|
|
287
479
|
/**
|
|
288
480
|
* encode buyBaseToken
|
|
289
481
|
* @param {string | number} amount - uint256
|
|
@@ -291,99 +483,99 @@ export declare function fetchDODOV1Version(chainId: number, __to: string): Promi
|
|
|
291
483
|
* @param {string} data - bytes
|
|
292
484
|
* @returns {string} encode data
|
|
293
485
|
*/
|
|
294
|
-
export declare function encodeDODOV1BuyBaseToken(amount: string | number, maxPayQuote: string | number, data: string):
|
|
486
|
+
export declare function encodeDODOV1BuyBaseToken(amount: string | number, maxPayQuote: string | number, data: string): any;
|
|
295
487
|
/**
|
|
296
488
|
* encode claimAssets
|
|
297
489
|
|
|
298
490
|
* @returns {string} encode data
|
|
299
491
|
*/
|
|
300
|
-
export declare function encodeDODOV1ClaimAssets():
|
|
492
|
+
export declare function encodeDODOV1ClaimAssets(): any;
|
|
301
493
|
/**
|
|
302
494
|
* encode claimOwnership
|
|
303
495
|
|
|
304
496
|
* @returns {string} encode data
|
|
305
497
|
*/
|
|
306
|
-
export declare function encodeDODOV1ClaimOwnership():
|
|
498
|
+
export declare function encodeDODOV1ClaimOwnership(): any;
|
|
307
499
|
/**
|
|
308
500
|
* encode depositBase
|
|
309
501
|
* @param {string | number} amount - uint256
|
|
310
502
|
* @returns {string} encode data
|
|
311
503
|
*/
|
|
312
|
-
export declare function encodeDODOV1DepositBase(amount: string | number):
|
|
504
|
+
export declare function encodeDODOV1DepositBase(amount: string | number): any;
|
|
313
505
|
/**
|
|
314
506
|
* encode depositBaseTo
|
|
315
507
|
* @param {string} to - address
|
|
316
508
|
* @param {string | number} amount - uint256
|
|
317
509
|
* @returns {string} encode data
|
|
318
510
|
*/
|
|
319
|
-
export declare function encodeDODOV1DepositBaseTo(to: string, amount: string | number):
|
|
511
|
+
export declare function encodeDODOV1DepositBaseTo(to: string, amount: string | number): any;
|
|
320
512
|
/**
|
|
321
513
|
* encode depositQuote
|
|
322
514
|
* @param {string | number} amount - uint256
|
|
323
515
|
* @returns {string} encode data
|
|
324
516
|
*/
|
|
325
|
-
export declare function encodeDODOV1DepositQuote(amount: string | number):
|
|
517
|
+
export declare function encodeDODOV1DepositQuote(amount: string | number): any;
|
|
326
518
|
/**
|
|
327
519
|
* encode depositQuoteTo
|
|
328
520
|
* @param {string} to - address
|
|
329
521
|
* @param {string | number} amount - uint256
|
|
330
522
|
* @returns {string} encode data
|
|
331
523
|
*/
|
|
332
|
-
export declare function encodeDODOV1DepositQuoteTo(to: string, amount: string | number):
|
|
524
|
+
export declare function encodeDODOV1DepositQuoteTo(to: string, amount: string | number): any;
|
|
333
525
|
/**
|
|
334
526
|
* encode disableBaseDeposit
|
|
335
527
|
|
|
336
528
|
* @returns {string} encode data
|
|
337
529
|
*/
|
|
338
|
-
export declare function encodeDODOV1DisableBaseDeposit():
|
|
530
|
+
export declare function encodeDODOV1DisableBaseDeposit(): any;
|
|
339
531
|
/**
|
|
340
532
|
* encode disableQuoteDeposit
|
|
341
533
|
|
|
342
534
|
* @returns {string} encode data
|
|
343
535
|
*/
|
|
344
|
-
export declare function encodeDODOV1DisableQuoteDeposit():
|
|
536
|
+
export declare function encodeDODOV1DisableQuoteDeposit(): any;
|
|
345
537
|
/**
|
|
346
538
|
* encode disableTrading
|
|
347
539
|
|
|
348
540
|
* @returns {string} encode data
|
|
349
541
|
*/
|
|
350
|
-
export declare function encodeDODOV1DisableTrading():
|
|
542
|
+
export declare function encodeDODOV1DisableTrading(): any;
|
|
351
543
|
/**
|
|
352
544
|
* encode donateBaseToken
|
|
353
545
|
* @param {string | number} amount - uint256
|
|
354
546
|
* @returns {string} encode data
|
|
355
547
|
*/
|
|
356
|
-
export declare function encodeDODOV1DonateBaseToken(amount: string | number):
|
|
548
|
+
export declare function encodeDODOV1DonateBaseToken(amount: string | number): any;
|
|
357
549
|
/**
|
|
358
550
|
* encode donateQuoteToken
|
|
359
551
|
* @param {string | number} amount - uint256
|
|
360
552
|
* @returns {string} encode data
|
|
361
553
|
*/
|
|
362
|
-
export declare function encodeDODOV1DonateQuoteToken(amount: string | number):
|
|
554
|
+
export declare function encodeDODOV1DonateQuoteToken(amount: string | number): any;
|
|
363
555
|
/**
|
|
364
556
|
* encode enableBaseDeposit
|
|
365
557
|
|
|
366
558
|
* @returns {string} encode data
|
|
367
559
|
*/
|
|
368
|
-
export declare function encodeDODOV1EnableBaseDeposit():
|
|
560
|
+
export declare function encodeDODOV1EnableBaseDeposit(): any;
|
|
369
561
|
/**
|
|
370
562
|
* encode enableQuoteDeposit
|
|
371
563
|
|
|
372
564
|
* @returns {string} encode data
|
|
373
565
|
*/
|
|
374
|
-
export declare function encodeDODOV1EnableQuoteDeposit():
|
|
566
|
+
export declare function encodeDODOV1EnableQuoteDeposit(): any;
|
|
375
567
|
/**
|
|
376
568
|
* encode enableTrading
|
|
377
569
|
|
|
378
570
|
* @returns {string} encode data
|
|
379
571
|
*/
|
|
380
|
-
export declare function encodeDODOV1EnableTrading():
|
|
572
|
+
export declare function encodeDODOV1EnableTrading(): any;
|
|
381
573
|
/**
|
|
382
574
|
* encode finalSettlement
|
|
383
575
|
|
|
384
576
|
* @returns {string} encode data
|
|
385
577
|
*/
|
|
386
|
-
export declare function encodeDODOV1FinalSettlement():
|
|
578
|
+
export declare function encodeDODOV1FinalSettlement(): any;
|
|
387
579
|
/**
|
|
388
580
|
* encode init
|
|
389
581
|
* @param {string} owner - address
|
|
@@ -398,14 +590,14 @@ export declare function encodeDODOV1FinalSettlement(): string;
|
|
|
398
590
|
* @param {string | number} gasPriceLimit - uint256
|
|
399
591
|
* @returns {string} encode data
|
|
400
592
|
*/
|
|
401
|
-
export declare function encodeDODOV1Init(owner: string, supervisor: string, maintainer: string, baseToken: string, quoteToken: string, oracle: string, lpFeeRate: string | number, mtFeeRate: string | number, k: string | number, gasPriceLimit: string | number):
|
|
593
|
+
export declare function encodeDODOV1Init(owner: string, supervisor: string, maintainer: string, baseToken: string, quoteToken: string, oracle: string, lpFeeRate: string | number, mtFeeRate: string | number, k: string | number, gasPriceLimit: string | number): any;
|
|
402
594
|
/**
|
|
403
595
|
* encode retrieve
|
|
404
596
|
* @param {string} token - address
|
|
405
597
|
* @param {string | number} amount - uint256
|
|
406
598
|
* @returns {string} encode data
|
|
407
599
|
*/
|
|
408
|
-
export declare function encodeDODOV1Retrieve(token: string, amount: string | number):
|
|
600
|
+
export declare function encodeDODOV1Retrieve(token: string, amount: string | number): any;
|
|
409
601
|
/**
|
|
410
602
|
* encode sellBaseToken
|
|
411
603
|
* @param {string | number} amount - uint256
|
|
@@ -413,102 +605,102 @@ export declare function encodeDODOV1Retrieve(token: string, amount: string | num
|
|
|
413
605
|
* @param {string} data - bytes
|
|
414
606
|
* @returns {string} encode data
|
|
415
607
|
*/
|
|
416
|
-
export declare function encodeDODOV1SellBaseToken(amount: string | number, minReceiveQuote: string | number, data: string):
|
|
608
|
+
export declare function encodeDODOV1SellBaseToken(amount: string | number, minReceiveQuote: string | number, data: string): any;
|
|
417
609
|
/**
|
|
418
610
|
* encode setGasPriceLimit
|
|
419
611
|
* @param {string | number} newGasPriceLimit - uint256
|
|
420
612
|
* @returns {string} encode data
|
|
421
613
|
*/
|
|
422
|
-
export declare function encodeDODOV1SetGasPriceLimit(newGasPriceLimit: string | number):
|
|
614
|
+
export declare function encodeDODOV1SetGasPriceLimit(newGasPriceLimit: string | number): any;
|
|
423
615
|
/**
|
|
424
616
|
* encode setK
|
|
425
617
|
* @param {string | number} newK - uint256
|
|
426
618
|
* @returns {string} encode data
|
|
427
619
|
*/
|
|
428
|
-
export declare function encodeDODOV1SetK(newK: string | number):
|
|
620
|
+
export declare function encodeDODOV1SetK(newK: string | number): any;
|
|
429
621
|
/**
|
|
430
622
|
* encode setLiquidityProviderFeeRate
|
|
431
623
|
* @param {string | number} newLiquidityPorviderFeeRate - uint256
|
|
432
624
|
* @returns {string} encode data
|
|
433
625
|
*/
|
|
434
|
-
export declare function encodeDODOV1SetLiquidityProviderFeeRate(newLiquidityPorviderFeeRate: string | number):
|
|
626
|
+
export declare function encodeDODOV1SetLiquidityProviderFeeRate(newLiquidityPorviderFeeRate: string | number): any;
|
|
435
627
|
/**
|
|
436
628
|
* encode setMaintainer
|
|
437
629
|
* @param {string} newMaintainer - address
|
|
438
630
|
* @returns {string} encode data
|
|
439
631
|
*/
|
|
440
|
-
export declare function encodeDODOV1SetMaintainer(newMaintainer: string):
|
|
632
|
+
export declare function encodeDODOV1SetMaintainer(newMaintainer: string): any;
|
|
441
633
|
/**
|
|
442
634
|
* encode setMaintainerFeeRate
|
|
443
635
|
* @param {string | number} newMaintainerFeeRate - uint256
|
|
444
636
|
* @returns {string} encode data
|
|
445
637
|
*/
|
|
446
|
-
export declare function encodeDODOV1SetMaintainerFeeRate(newMaintainerFeeRate: string | number):
|
|
638
|
+
export declare function encodeDODOV1SetMaintainerFeeRate(newMaintainerFeeRate: string | number): any;
|
|
447
639
|
/**
|
|
448
640
|
* encode setOracle
|
|
449
641
|
* @param {string} newOracle - address
|
|
450
642
|
* @returns {string} encode data
|
|
451
643
|
*/
|
|
452
|
-
export declare function encodeDODOV1SetOracle(newOracle: string):
|
|
644
|
+
export declare function encodeDODOV1SetOracle(newOracle: string): any;
|
|
453
645
|
/**
|
|
454
646
|
* encode setSupervisor
|
|
455
647
|
* @param {string} newSupervisor - address
|
|
456
648
|
* @returns {string} encode data
|
|
457
649
|
*/
|
|
458
|
-
export declare function encodeDODOV1SetSupervisor(newSupervisor: string):
|
|
650
|
+
export declare function encodeDODOV1SetSupervisor(newSupervisor: string): any;
|
|
459
651
|
/**
|
|
460
652
|
* encode transferOwnership
|
|
461
653
|
* @param {string} newOwner - address
|
|
462
654
|
* @returns {string} encode data
|
|
463
655
|
*/
|
|
464
|
-
export declare function encodeDODOV1TransferOwnership(newOwner: string):
|
|
656
|
+
export declare function encodeDODOV1TransferOwnership(newOwner: string): any;
|
|
465
657
|
/**
|
|
466
658
|
* encode withdrawAllBase
|
|
467
659
|
|
|
468
660
|
* @returns {string} encode data
|
|
469
661
|
*/
|
|
470
|
-
export declare function encodeDODOV1WithdrawAllBase():
|
|
662
|
+
export declare function encodeDODOV1WithdrawAllBase(): any;
|
|
471
663
|
/**
|
|
472
664
|
* encode withdrawAllBaseTo
|
|
473
665
|
* @param {string} to - address
|
|
474
666
|
* @returns {string} encode data
|
|
475
667
|
*/
|
|
476
|
-
export declare function encodeDODOV1WithdrawAllBaseTo(to: string):
|
|
668
|
+
export declare function encodeDODOV1WithdrawAllBaseTo(to: string): any;
|
|
477
669
|
/**
|
|
478
670
|
* encode withdrawAllQuote
|
|
479
671
|
|
|
480
672
|
* @returns {string} encode data
|
|
481
673
|
*/
|
|
482
|
-
export declare function encodeDODOV1WithdrawAllQuote():
|
|
674
|
+
export declare function encodeDODOV1WithdrawAllQuote(): any;
|
|
483
675
|
/**
|
|
484
676
|
* encode withdrawAllQuoteTo
|
|
485
677
|
* @param {string} to - address
|
|
486
678
|
* @returns {string} encode data
|
|
487
679
|
*/
|
|
488
|
-
export declare function encodeDODOV1WithdrawAllQuoteTo(to: string):
|
|
680
|
+
export declare function encodeDODOV1WithdrawAllQuoteTo(to: string): any;
|
|
489
681
|
/**
|
|
490
682
|
* encode withdrawBase
|
|
491
683
|
* @param {string | number} amount - uint256
|
|
492
684
|
* @returns {string} encode data
|
|
493
685
|
*/
|
|
494
|
-
export declare function encodeDODOV1WithdrawBase(amount: string | number):
|
|
686
|
+
export declare function encodeDODOV1WithdrawBase(amount: string | number): any;
|
|
495
687
|
/**
|
|
496
688
|
* encode withdrawBaseTo
|
|
497
689
|
* @param {string} to - address
|
|
498
690
|
* @param {string | number} amount - uint256
|
|
499
691
|
* @returns {string} encode data
|
|
500
692
|
*/
|
|
501
|
-
export declare function encodeDODOV1WithdrawBaseTo(to: string, amount: string | number):
|
|
693
|
+
export declare function encodeDODOV1WithdrawBaseTo(to: string, amount: string | number): any;
|
|
502
694
|
/**
|
|
503
695
|
* encode withdrawQuote
|
|
504
696
|
* @param {string | number} amount - uint256
|
|
505
697
|
* @returns {string} encode data
|
|
506
698
|
*/
|
|
507
|
-
export declare function encodeDODOV1WithdrawQuote(amount: string | number):
|
|
699
|
+
export declare function encodeDODOV1WithdrawQuote(amount: string | number): any;
|
|
508
700
|
/**
|
|
509
701
|
* encode withdrawQuoteTo
|
|
510
702
|
* @param {string} to - address
|
|
511
703
|
* @param {string | number} amount - uint256
|
|
512
704
|
* @returns {string} encode data
|
|
513
705
|
*/
|
|
514
|
-
export declare function encodeDODOV1WithdrawQuoteTo(to: string, amount: string | number):
|
|
706
|
+
export declare function encodeDODOV1WithdrawQuoteTo(to: string, amount: string | number): any;
|