@dodoex/dodo-contract-request 1.3.0 → 1.5.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/.releaserc.json +11 -4
- package/CHANGELOG.md +21 -0
- package/dist/index.cjs +1 -0
- package/dist/index.js +1 -1
- package/dist/types/contract/BuyoutModel.d.ts +19 -19
- package/dist/types/contract/CP.d.ts +53 -47
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +42 -39
- package/dist/types/contract/CustomERC20.d.ts +27 -27
- package/dist/types/contract/CustomMintableERC20.d.ts +31 -31
- package/dist/types/contract/D3Proxy.d.ts +26 -26
- package/dist/types/contract/D3Vault.d.ts +144 -105
- package/dist/types/contract/DODOApprove.d.ts +15 -15
- package/dist/types/contract/DODOApproveProxy.d.ts +17 -17
- package/dist/types/contract/DODOCalleeHelper.d.ts +12 -12
- package/dist/types/contract/DODOCirculationHelper.d.ts +12 -12
- package/dist/types/contract/DODOCpProxy.d.ts +13 -13
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +12 -12
- package/dist/types/contract/DODODppProxy.d.ts +17 -17
- package/dist/types/contract/DODODspProxy.d.ts +27 -27
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +17 -17
- package/dist/types/contract/DODOIncentive.d.ts +29 -23
- package/dist/types/contract/DODOMineV2Factory.d.ts +18 -18
- package/dist/types/contract/DODOMineV3Proxy.d.ts +19 -19
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +18 -18
- package/dist/types/contract/DODOMineV3Registry.d.ts +13 -13
- package/dist/types/contract/DODONFT.d.ts +30 -30
- package/dist/types/contract/DODONFT1155.d.ts +23 -23
- package/dist/types/contract/DODONFTApprove.d.ts +22 -22
- package/dist/types/contract/DODONFTPoolProxy.d.ts +41 -41
- package/dist/types/contract/DODONFTProxy.d.ts +28 -28
- package/dist/types/contract/DODONFTRegistry.d.ts +17 -14
- package/dist/types/contract/DODONFTRouteHelper.d.ts +2 -2
- package/dist/types/contract/DODOSellHelper.d.ts +2 -2
- package/dist/types/contract/DODOStarterProxy.d.ts +6 -6
- package/dist/types/contract/DODOV1.d.ts +100 -97
- package/dist/types/contract/DODOV1Adapter.d.ts +3 -3
- package/dist/types/contract/DODOV1PmmHelper.d.ts +1 -1
- package/dist/types/contract/DODOV1Proxy.d.ts +14 -14
- package/dist/types/contract/DODOV2Proxy02.d.ts +93 -93
- package/dist/types/contract/DODOV2RouteHelper.d.ts +4 -4
- package/dist/types/contract/DPPAdvanced.d.ts +82 -50
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +25 -25
- package/dist/types/contract/DPPFactory.d.ts +33 -30
- package/dist/types/contract/DSP.d.ts +93 -61
- package/dist/types/contract/DSPFactory.d.ts +24 -21
- package/dist/types/contract/DVM.d.ts +86 -58
- package/dist/types/contract/DVMFactory.d.ts +24 -21
- package/dist/types/contract/ERC20.d.ts +15 -15
- package/dist/types/contract/ERC20Helper.d.ts +23 -4
- package/dist/types/contract/ERC20MineV3.d.ts +48 -38
- package/dist/types/contract/ERC20V3Factory.d.ts +37 -33
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +34 -25
- package/dist/types/contract/FeeRateModel.d.ts +8 -8
- package/dist/types/contract/GSP.d.ts +117 -82
- package/dist/types/contract/GSPFactory.d.ts +26 -23
- package/dist/types/contract/InitializableERC20.d.ts +16 -16
- package/dist/types/contract/LimitOrder.d.ts +38 -38
- package/dist/types/contract/LimitOrderBot.d.ts +18 -18
- package/dist/types/contract/MulticallWithValid.d.ts +8 -8
- package/dist/types/contract/PermissionManager.d.ts +13 -13
- package/dist/types/contract/UniswapV2Factory.d.ts +11 -11
- package/dist/types/contract/UniswapV2Pair.d.ts +45 -41
- package/dist/types/contract/UniswapV2Router02.d.ts +103 -103
- package/dist/types/contract/dodoTeam.d.ts +49 -46
- package/dist/types/contract/vDODOToken.d.ts +67 -55
- package/dist/types/contractRequests.d.ts +1 -1
- package/package.json +12 -1
- package/rollup.config.mjs +8 -0
- package/src/contract/BuyoutModel.ts +16 -16
- package/src/contract/CP.ts +39 -39
- package/src/contract/CrowdPoolingFactory.ts +34 -34
- package/src/contract/CustomERC20.ts +22 -22
- package/src/contract/CustomMintableERC20.ts +26 -26
- package/src/contract/D3Proxy.ts +24 -24
- package/src/contract/D3Vault.ts +79 -79
- package/src/contract/DODOApprove.ts +8 -8
- package/src/contract/DODOApproveProxy.ts +9 -9
- package/src/contract/DODOCalleeHelper.ts +12 -12
- package/src/contract/DODOCirculationHelper.ts +7 -7
- package/src/contract/DODOCpProxy.ts +13 -13
- package/src/contract/DODOCpProxyWithoutGlobalQuota.ts +12 -12
- package/src/contract/DODODppProxy.ts +17 -17
- package/src/contract/DODODspProxy.ts +27 -27
- package/src/contract/DODODspProxyWithoutGSP.ts +17 -17
- package/src/contract/DODOIncentive.ts +17 -17
- package/src/contract/DODOMineV2Factory.ts +11 -11
- package/src/contract/DODOMineV3Proxy.ts +15 -15
- package/src/contract/DODOMineV3ProxyWithoutPlatform.ts +14 -14
- package/src/contract/DODOMineV3Registry.ts +6 -6
- package/src/contract/DODONFT.ts +24 -24
- package/src/contract/DODONFT1155.ts +19 -19
- package/src/contract/DODONFTApprove.ts +14 -14
- package/src/contract/DODONFTPoolProxy.ts +34 -34
- package/src/contract/DODONFTProxy.ts +18 -18
- package/src/contract/DODONFTRegistry.ts +7 -7
- package/src/contract/DODONFTRouteHelper.ts +2 -2
- package/src/contract/DODOSellHelper.ts +2 -2
- package/src/contract/DODOStarterProxy.ts +6 -6
- package/src/contract/DODOV1.ts +80 -80
- package/src/contract/DODOV1Adapter.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV1Proxy.ts +11 -11
- package/src/contract/DODOV2Proxy02.ts +88 -88
- package/src/contract/DODOV2RouteHelper.ts +4 -4
- package/src/contract/DPPAdvanced.ts +44 -44
- package/src/contract/DPPAdvancedAdmin.ts +19 -19
- package/src/contract/DPPFactory.ts +18 -18
- package/src/contract/DSP.ts +57 -57
- package/src/contract/DSPFactory.ts +15 -15
- package/src/contract/DVM.ts +54 -54
- package/src/contract/DVMFactory.ts +15 -15
- package/src/contract/ERC20.ts +14 -14
- package/src/contract/ERC20Helper.ts +4 -4
- package/src/contract/ERC20MineV3.ts +32 -32
- package/src/contract/ERC20V3Factory.ts +26 -26
- package/src/contract/FeeRateDIP3Impl.ts +18 -18
- package/src/contract/FeeRateModel.ts +4 -4
- package/src/contract/GSP.ts +75 -75
- package/src/contract/GSPFactory.ts +16 -16
- package/src/contract/InitializableERC20.ts +16 -16
- package/src/contract/LimitOrder.ts +19 -19
- package/src/contract/LimitOrderBot.ts +11 -11
- package/src/contract/MulticallWithValid.ts +7 -7
- package/src/contract/PermissionManager.ts +4 -4
- package/src/contract/UniswapV2Factory.ts +9 -9
- package/src/contract/UniswapV2Pair.ts +36 -36
- package/src/contract/UniswapV2Router02.ts +91 -91
- package/src/contract/dodoTeam.ts +38 -38
- package/src/contract/vDODOToken.ts +48 -48
|
@@ -4,28 +4,28 @@
|
|
|
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): Promise<bigint>;
|
|
8
8
|
/**
|
|
9
9
|
* fetch _BASE_CAPITAL_RECEIVE_QUOTE_
|
|
10
10
|
* @param {number} chainId - number
|
|
11
11
|
* @param {string} __to - string
|
|
12
12
|
* @returns {bigint} __output0 - uint256
|
|
13
13
|
*/
|
|
14
|
-
export declare function fetchDODOV1_BASE_CAPITAL_RECEIVE_QUOTE_(chainId: number, __to: string):
|
|
14
|
+
export declare function fetchDODOV1_BASE_CAPITAL_RECEIVE_QUOTE_(chainId: number, __to: string): Promise<bigint>;
|
|
15
15
|
/**
|
|
16
16
|
* fetch _BASE_CAPITAL_TOKEN_
|
|
17
17
|
* @param {number} chainId - number
|
|
18
18
|
* @param {string} __to - string
|
|
19
19
|
* @returns {string} __output0 - address
|
|
20
20
|
*/
|
|
21
|
-
export declare function fetchDODOV1_BASE_CAPITAL_TOKEN_(chainId: number, __to: string):
|
|
21
|
+
export declare function fetchDODOV1_BASE_CAPITAL_TOKEN_(chainId: number, __to: string): Promise<string>;
|
|
22
22
|
/**
|
|
23
23
|
* fetch _BASE_TOKEN_
|
|
24
24
|
* @param {number} chainId - number
|
|
25
25
|
* @param {string} __to - string
|
|
26
26
|
* @returns {string} __output0 - address
|
|
27
27
|
*/
|
|
28
|
-
export declare function fetchDODOV1_BASE_TOKEN_(chainId: number, __to: string):
|
|
28
|
+
export declare function fetchDODOV1_BASE_TOKEN_(chainId: number, __to: string): Promise<string>;
|
|
29
29
|
/**
|
|
30
30
|
* fetch _CLAIMED_
|
|
31
31
|
* @param {number} chainId - number
|
|
@@ -33,147 +33,147 @@ export declare function fetchDODOV1_BASE_TOKEN_(chainId: number, __to: string):
|
|
|
33
33
|
* @param {string} __input1 - address
|
|
34
34
|
* @returns {boolean} __output0 - bool
|
|
35
35
|
*/
|
|
36
|
-
export declare function fetchDODOV1_CLAIMED_(chainId: number, __to: string, __input1: string):
|
|
36
|
+
export declare function fetchDODOV1_CLAIMED_(chainId: number, __to: string, __input1: string): Promise<boolean>;
|
|
37
37
|
/**
|
|
38
38
|
* fetch _CLOSED_
|
|
39
39
|
* @param {number} chainId - number
|
|
40
40
|
* @param {string} __to - string
|
|
41
41
|
* @returns {boolean} __output0 - bool
|
|
42
42
|
*/
|
|
43
|
-
export declare function fetchDODOV1_CLOSED_(chainId: number, __to: string):
|
|
43
|
+
export declare function fetchDODOV1_CLOSED_(chainId: number, __to: string): Promise<boolean>;
|
|
44
44
|
/**
|
|
45
45
|
* fetch _DEPOSIT_BASE_ALLOWED_
|
|
46
46
|
* @param {number} chainId - number
|
|
47
47
|
* @param {string} __to - string
|
|
48
48
|
* @returns {boolean} __output0 - bool
|
|
49
49
|
*/
|
|
50
|
-
export declare function fetchDODOV1_DEPOSIT_BASE_ALLOWED_(chainId: number, __to: string):
|
|
50
|
+
export declare function fetchDODOV1_DEPOSIT_BASE_ALLOWED_(chainId: number, __to: string): Promise<boolean>;
|
|
51
51
|
/**
|
|
52
52
|
* fetch _DEPOSIT_QUOTE_ALLOWED_
|
|
53
53
|
* @param {number} chainId - number
|
|
54
54
|
* @param {string} __to - string
|
|
55
55
|
* @returns {boolean} __output0 - bool
|
|
56
56
|
*/
|
|
57
|
-
export declare function fetchDODOV1_DEPOSIT_QUOTE_ALLOWED_(chainId: number, __to: string):
|
|
57
|
+
export declare function fetchDODOV1_DEPOSIT_QUOTE_ALLOWED_(chainId: number, __to: string): Promise<boolean>;
|
|
58
58
|
/**
|
|
59
59
|
* fetch _GAS_PRICE_LIMIT_
|
|
60
60
|
* @param {number} chainId - number
|
|
61
61
|
* @param {string} __to - string
|
|
62
62
|
* @returns {bigint} __output0 - uint256
|
|
63
63
|
*/
|
|
64
|
-
export declare function fetchDODOV1_GAS_PRICE_LIMIT_(chainId: number, __to: string):
|
|
64
|
+
export declare function fetchDODOV1_GAS_PRICE_LIMIT_(chainId: number, __to: string): Promise<bigint>;
|
|
65
65
|
/**
|
|
66
66
|
* fetch _K_
|
|
67
67
|
* @param {number} chainId - number
|
|
68
68
|
* @param {string} __to - string
|
|
69
69
|
* @returns {bigint} __output0 - uint256
|
|
70
70
|
*/
|
|
71
|
-
export declare function fetchDODOV1_K_(chainId: number, __to: string):
|
|
71
|
+
export declare function fetchDODOV1_K_(chainId: number, __to: string): Promise<bigint>;
|
|
72
72
|
/**
|
|
73
73
|
* fetch _LP_FEE_RATE_
|
|
74
74
|
* @param {number} chainId - number
|
|
75
75
|
* @param {string} __to - string
|
|
76
76
|
* @returns {bigint} __output0 - uint256
|
|
77
77
|
*/
|
|
78
|
-
export declare function fetchDODOV1_LP_FEE_RATE_(chainId: number, __to: string):
|
|
78
|
+
export declare function fetchDODOV1_LP_FEE_RATE_(chainId: number, __to: string): Promise<bigint>;
|
|
79
79
|
/**
|
|
80
80
|
* fetch _MAINTAINER_
|
|
81
81
|
* @param {number} chainId - number
|
|
82
82
|
* @param {string} __to - string
|
|
83
83
|
* @returns {string} __output0 - address
|
|
84
84
|
*/
|
|
85
|
-
export declare function fetchDODOV1_MAINTAINER_(chainId: number, __to: string):
|
|
85
|
+
export declare function fetchDODOV1_MAINTAINER_(chainId: number, __to: string): Promise<string>;
|
|
86
86
|
/**
|
|
87
87
|
* fetch _MT_FEE_RATE_
|
|
88
88
|
* @param {number} chainId - number
|
|
89
89
|
* @param {string} __to - string
|
|
90
90
|
* @returns {bigint} __output0 - uint256
|
|
91
91
|
*/
|
|
92
|
-
export declare function fetchDODOV1_MT_FEE_RATE_(chainId: number, __to: string):
|
|
92
|
+
export declare function fetchDODOV1_MT_FEE_RATE_(chainId: number, __to: string): Promise<bigint>;
|
|
93
93
|
/**
|
|
94
94
|
* fetch _NEW_OWNER_
|
|
95
95
|
* @param {number} chainId - number
|
|
96
96
|
* @param {string} __to - string
|
|
97
97
|
* @returns {string} __output0 - address
|
|
98
98
|
*/
|
|
99
|
-
export declare function fetchDODOV1_NEW_OWNER_(chainId: number, __to: string):
|
|
99
|
+
export declare function fetchDODOV1_NEW_OWNER_(chainId: number, __to: string): Promise<string>;
|
|
100
100
|
/**
|
|
101
101
|
* fetch _ORACLE_
|
|
102
102
|
* @param {number} chainId - number
|
|
103
103
|
* @param {string} __to - string
|
|
104
104
|
* @returns {string} __output0 - address
|
|
105
105
|
*/
|
|
106
|
-
export declare function fetchDODOV1_ORACLE_(chainId: number, __to: string):
|
|
106
|
+
export declare function fetchDODOV1_ORACLE_(chainId: number, __to: string): Promise<string>;
|
|
107
107
|
/**
|
|
108
108
|
* fetch _OWNER_
|
|
109
109
|
* @param {number} chainId - number
|
|
110
110
|
* @param {string} __to - string
|
|
111
111
|
* @returns {string} __output0 - address
|
|
112
112
|
*/
|
|
113
|
-
export declare function fetchDODOV1_OWNER_(chainId: number, __to: string):
|
|
113
|
+
export declare function fetchDODOV1_OWNER_(chainId: number, __to: string): Promise<string>;
|
|
114
114
|
/**
|
|
115
115
|
* fetch _QUOTE_BALANCE_
|
|
116
116
|
* @param {number} chainId - number
|
|
117
117
|
* @param {string} __to - string
|
|
118
118
|
* @returns {bigint} __output0 - uint256
|
|
119
119
|
*/
|
|
120
|
-
export declare function fetchDODOV1_QUOTE_BALANCE_(chainId: number, __to: string):
|
|
120
|
+
export declare function fetchDODOV1_QUOTE_BALANCE_(chainId: number, __to: string): Promise<bigint>;
|
|
121
121
|
/**
|
|
122
122
|
* fetch _QUOTE_CAPITAL_RECEIVE_BASE_
|
|
123
123
|
* @param {number} chainId - number
|
|
124
124
|
* @param {string} __to - string
|
|
125
125
|
* @returns {bigint} __output0 - uint256
|
|
126
126
|
*/
|
|
127
|
-
export declare function fetchDODOV1_QUOTE_CAPITAL_RECEIVE_BASE_(chainId: number, __to: string):
|
|
127
|
+
export declare function fetchDODOV1_QUOTE_CAPITAL_RECEIVE_BASE_(chainId: number, __to: string): Promise<bigint>;
|
|
128
128
|
/**
|
|
129
129
|
* fetch _QUOTE_CAPITAL_TOKEN_
|
|
130
130
|
* @param {number} chainId - number
|
|
131
131
|
* @param {string} __to - string
|
|
132
132
|
* @returns {string} __output0 - address
|
|
133
133
|
*/
|
|
134
|
-
export declare function fetchDODOV1_QUOTE_CAPITAL_TOKEN_(chainId: number, __to: string):
|
|
134
|
+
export declare function fetchDODOV1_QUOTE_CAPITAL_TOKEN_(chainId: number, __to: string): Promise<string>;
|
|
135
135
|
/**
|
|
136
136
|
* fetch _QUOTE_TOKEN_
|
|
137
137
|
* @param {number} chainId - number
|
|
138
138
|
* @param {string} __to - string
|
|
139
139
|
* @returns {string} __output0 - address
|
|
140
140
|
*/
|
|
141
|
-
export declare function fetchDODOV1_QUOTE_TOKEN_(chainId: number, __to: string):
|
|
141
|
+
export declare function fetchDODOV1_QUOTE_TOKEN_(chainId: number, __to: string): Promise<string>;
|
|
142
142
|
/**
|
|
143
143
|
* fetch _R_STATUS_
|
|
144
144
|
* @param {number} chainId - number
|
|
145
145
|
* @param {string} __to - string
|
|
146
146
|
* @returns {bigint} __output0 - uint8
|
|
147
147
|
*/
|
|
148
|
-
export declare function fetchDODOV1_R_STATUS_(chainId: number, __to: string):
|
|
148
|
+
export declare function fetchDODOV1_R_STATUS_(chainId: number, __to: string): Promise<bigint>;
|
|
149
149
|
/**
|
|
150
150
|
* fetch _SUPERVISOR_
|
|
151
151
|
* @param {number} chainId - number
|
|
152
152
|
* @param {string} __to - string
|
|
153
153
|
* @returns {string} __output0 - address
|
|
154
154
|
*/
|
|
155
|
-
export declare function fetchDODOV1_SUPERVISOR_(chainId: number, __to: string):
|
|
155
|
+
export declare function fetchDODOV1_SUPERVISOR_(chainId: number, __to: string): Promise<string>;
|
|
156
156
|
/**
|
|
157
157
|
* fetch _TARGET_BASE_TOKEN_AMOUNT_
|
|
158
158
|
* @param {number} chainId - number
|
|
159
159
|
* @param {string} __to - string
|
|
160
160
|
* @returns {bigint} __output0 - uint256
|
|
161
161
|
*/
|
|
162
|
-
export declare function fetchDODOV1_TARGET_BASE_TOKEN_AMOUNT_(chainId: number, __to: string):
|
|
162
|
+
export declare function fetchDODOV1_TARGET_BASE_TOKEN_AMOUNT_(chainId: number, __to: string): Promise<bigint>;
|
|
163
163
|
/**
|
|
164
164
|
* fetch _TARGET_QUOTE_TOKEN_AMOUNT_
|
|
165
165
|
* @param {number} chainId - number
|
|
166
166
|
* @param {string} __to - string
|
|
167
167
|
* @returns {bigint} __output0 - uint256
|
|
168
168
|
*/
|
|
169
|
-
export declare function fetchDODOV1_TARGET_QUOTE_TOKEN_AMOUNT_(chainId: number, __to: string):
|
|
169
|
+
export declare function fetchDODOV1_TARGET_QUOTE_TOKEN_AMOUNT_(chainId: number, __to: string): Promise<bigint>;
|
|
170
170
|
/**
|
|
171
171
|
* fetch _TRADE_ALLOWED_
|
|
172
172
|
* @param {number} chainId - number
|
|
173
173
|
* @param {string} __to - string
|
|
174
174
|
* @returns {boolean} __output0 - bool
|
|
175
175
|
*/
|
|
176
|
-
export declare function fetchDODOV1_TRADE_ALLOWED_(chainId: number, __to: string):
|
|
176
|
+
export declare function fetchDODOV1_TRADE_ALLOWED_(chainId: number, __to: string): Promise<boolean>;
|
|
177
177
|
/**
|
|
178
178
|
* fetch getBaseCapitalBalanceOf
|
|
179
179
|
* @param {number} chainId - number
|
|
@@ -181,7 +181,7 @@ export declare function fetchDODOV1_TRADE_ALLOWED_(chainId: number, __to: string
|
|
|
181
181
|
* @param {string} lp - address
|
|
182
182
|
* @returns {bigint} __output0 - uint256
|
|
183
183
|
*/
|
|
184
|
-
export declare function fetchDODOV1GetBaseCapitalBalanceOf(chainId: number, __to: string, lp: string):
|
|
184
|
+
export declare function fetchDODOV1GetBaseCapitalBalanceOf(chainId: number, __to: string, lp: string): Promise<bigint>;
|
|
185
185
|
/**
|
|
186
186
|
* fetch getExpectedTarget
|
|
187
187
|
* @param {number} chainId - number
|
|
@@ -189,7 +189,10 @@ export declare function fetchDODOV1GetBaseCapitalBalanceOf(chainId: number, __to
|
|
|
189
189
|
* @returns {bigint} baseTarget - uint256
|
|
190
190
|
* @returns {bigint} quoteTarget - uint256
|
|
191
191
|
*/
|
|
192
|
-
export declare function fetchDODOV1GetExpectedTarget(chainId: number, __to: string):
|
|
192
|
+
export declare function fetchDODOV1GetExpectedTarget(chainId: number, __to: string): Promise<{
|
|
193
|
+
baseTarget: bigint;
|
|
194
|
+
quoteTarget: bigint;
|
|
195
|
+
}>;
|
|
193
196
|
/**
|
|
194
197
|
* fetch getLpBaseBalance
|
|
195
198
|
* @param {number} chainId - number
|
|
@@ -197,7 +200,7 @@ export declare function fetchDODOV1GetExpectedTarget(chainId: number, __to: stri
|
|
|
197
200
|
* @param {string} lp - address
|
|
198
201
|
* @returns {bigint} lpBalance - uint256
|
|
199
202
|
*/
|
|
200
|
-
export declare function fetchDODOV1GetLpBaseBalance(chainId: number, __to: string, lp: string):
|
|
203
|
+
export declare function fetchDODOV1GetLpBaseBalance(chainId: number, __to: string, lp: string): Promise<bigint>;
|
|
201
204
|
/**
|
|
202
205
|
* fetch getLpQuoteBalance
|
|
203
206
|
* @param {number} chainId - number
|
|
@@ -205,21 +208,21 @@ export declare function fetchDODOV1GetLpBaseBalance(chainId: number, __to: strin
|
|
|
205
208
|
* @param {string} lp - address
|
|
206
209
|
* @returns {bigint} lpBalance - uint256
|
|
207
210
|
*/
|
|
208
|
-
export declare function fetchDODOV1GetLpQuoteBalance(chainId: number, __to: string, lp: string):
|
|
211
|
+
export declare function fetchDODOV1GetLpQuoteBalance(chainId: number, __to: string, lp: string): Promise<bigint>;
|
|
209
212
|
/**
|
|
210
213
|
* fetch getMidPrice
|
|
211
214
|
* @param {number} chainId - number
|
|
212
215
|
* @param {string} __to - string
|
|
213
216
|
* @returns {bigint} midPrice - uint256
|
|
214
217
|
*/
|
|
215
|
-
export declare function fetchDODOV1GetMidPrice(chainId: number, __to: string):
|
|
218
|
+
export declare function fetchDODOV1GetMidPrice(chainId: number, __to: string): Promise<bigint>;
|
|
216
219
|
/**
|
|
217
220
|
* fetch getOraclePrice
|
|
218
221
|
* @param {number} chainId - number
|
|
219
222
|
* @param {string} __to - string
|
|
220
223
|
* @returns {bigint} __output0 - uint256
|
|
221
224
|
*/
|
|
222
|
-
export declare function fetchDODOV1GetOraclePrice(chainId: number, __to: string):
|
|
225
|
+
export declare function fetchDODOV1GetOraclePrice(chainId: number, __to: string): Promise<bigint>;
|
|
223
226
|
/**
|
|
224
227
|
* fetch getQuoteCapitalBalanceOf
|
|
225
228
|
* @param {number} chainId - number
|
|
@@ -227,21 +230,21 @@ export declare function fetchDODOV1GetOraclePrice(chainId: number, __to: string)
|
|
|
227
230
|
* @param {string} lp - address
|
|
228
231
|
* @returns {bigint} __output0 - uint256
|
|
229
232
|
*/
|
|
230
|
-
export declare function fetchDODOV1GetQuoteCapitalBalanceOf(chainId: number, __to: string, lp: string):
|
|
233
|
+
export declare function fetchDODOV1GetQuoteCapitalBalanceOf(chainId: number, __to: string, lp: string): Promise<bigint>;
|
|
231
234
|
/**
|
|
232
235
|
* fetch getTotalBaseCapital
|
|
233
236
|
* @param {number} chainId - number
|
|
234
237
|
* @param {string} __to - string
|
|
235
238
|
* @returns {bigint} __output0 - uint256
|
|
236
239
|
*/
|
|
237
|
-
export declare function fetchDODOV1GetTotalBaseCapital(chainId: number, __to: string):
|
|
240
|
+
export declare function fetchDODOV1GetTotalBaseCapital(chainId: number, __to: string): Promise<bigint>;
|
|
238
241
|
/**
|
|
239
242
|
* fetch getTotalQuoteCapital
|
|
240
243
|
* @param {number} chainId - number
|
|
241
244
|
* @param {string} __to - string
|
|
242
245
|
* @returns {bigint} __output0 - uint256
|
|
243
246
|
*/
|
|
244
|
-
export declare function fetchDODOV1GetTotalQuoteCapital(chainId: number, __to: string):
|
|
247
|
+
export declare function fetchDODOV1GetTotalQuoteCapital(chainId: number, __to: string): Promise<bigint>;
|
|
245
248
|
/**
|
|
246
249
|
* fetch getWithdrawBasePenalty
|
|
247
250
|
* @param {number} chainId - number
|
|
@@ -249,7 +252,7 @@ export declare function fetchDODOV1GetTotalQuoteCapital(chainId: number, __to: s
|
|
|
249
252
|
* @param {number} amount - uint256
|
|
250
253
|
* @returns {bigint} penalty - uint256
|
|
251
254
|
*/
|
|
252
|
-
export declare function fetchDODOV1GetWithdrawBasePenalty(chainId: number, __to: string, amount: number):
|
|
255
|
+
export declare function fetchDODOV1GetWithdrawBasePenalty(chainId: number, __to: string, amount: number): Promise<bigint>;
|
|
253
256
|
/**
|
|
254
257
|
* fetch getWithdrawQuotePenalty
|
|
255
258
|
* @param {number} chainId - number
|
|
@@ -257,7 +260,7 @@ export declare function fetchDODOV1GetWithdrawBasePenalty(chainId: number, __to:
|
|
|
257
260
|
* @param {number} amount - uint256
|
|
258
261
|
* @returns {bigint} penalty - uint256
|
|
259
262
|
*/
|
|
260
|
-
export declare function fetchDODOV1GetWithdrawQuotePenalty(chainId: number, __to: string, amount: number):
|
|
263
|
+
export declare function fetchDODOV1GetWithdrawQuotePenalty(chainId: number, __to: string, amount: number): Promise<bigint>;
|
|
261
264
|
/**
|
|
262
265
|
* fetch queryBuyBaseToken
|
|
263
266
|
* @param {number} chainId - number
|
|
@@ -265,7 +268,7 @@ export declare function fetchDODOV1GetWithdrawQuotePenalty(chainId: number, __to
|
|
|
265
268
|
* @param {number} amount - uint256
|
|
266
269
|
* @returns {bigint} payQuote - uint256
|
|
267
270
|
*/
|
|
268
|
-
export declare function fetchDODOV1QueryBuyBaseToken(chainId: number, __to: string, amount: number):
|
|
271
|
+
export declare function fetchDODOV1QueryBuyBaseToken(chainId: number, __to: string, amount: number): Promise<bigint>;
|
|
269
272
|
/**
|
|
270
273
|
* fetch querySellBaseToken
|
|
271
274
|
* @param {number} chainId - number
|
|
@@ -273,114 +276,114 @@ export declare function fetchDODOV1QueryBuyBaseToken(chainId: number, __to: stri
|
|
|
273
276
|
* @param {number} amount - uint256
|
|
274
277
|
* @returns {bigint} receiveQuote - uint256
|
|
275
278
|
*/
|
|
276
|
-
export declare function fetchDODOV1QuerySellBaseToken(chainId: number, __to: string, amount: number):
|
|
279
|
+
export declare function fetchDODOV1QuerySellBaseToken(chainId: number, __to: string, amount: number): Promise<bigint>;
|
|
277
280
|
/**
|
|
278
281
|
* fetch version
|
|
279
282
|
* @param {number} chainId - number
|
|
280
283
|
* @param {string} __to - string
|
|
281
284
|
* @returns {bigint} __output0 - uint256
|
|
282
285
|
*/
|
|
283
|
-
export declare function fetchDODOV1Version(chainId: number, __to: string):
|
|
286
|
+
export declare function fetchDODOV1Version(chainId: number, __to: string): Promise<bigint>;
|
|
284
287
|
/**
|
|
285
288
|
* encode buyBaseToken
|
|
286
|
-
* @param {string} amount - uint256
|
|
287
|
-
* @param {string} maxPayQuote - uint256
|
|
289
|
+
* @param {string | number} amount - uint256
|
|
290
|
+
* @param {string | number} maxPayQuote - uint256
|
|
288
291
|
* @param {string} data - bytes
|
|
289
292
|
* @returns {string} encode data
|
|
290
293
|
*/
|
|
291
|
-
export declare function encodeDODOV1BuyBaseToken(amount: string, maxPayQuote: string, data: string):
|
|
294
|
+
export declare function encodeDODOV1BuyBaseToken(amount: string | number, maxPayQuote: string | number, data: string): string;
|
|
292
295
|
/**
|
|
293
296
|
* encode claimAssets
|
|
294
297
|
|
|
295
298
|
* @returns {string} encode data
|
|
296
299
|
*/
|
|
297
|
-
export declare function encodeDODOV1ClaimAssets():
|
|
300
|
+
export declare function encodeDODOV1ClaimAssets(): string;
|
|
298
301
|
/**
|
|
299
302
|
* encode claimOwnership
|
|
300
303
|
|
|
301
304
|
* @returns {string} encode data
|
|
302
305
|
*/
|
|
303
|
-
export declare function encodeDODOV1ClaimOwnership():
|
|
306
|
+
export declare function encodeDODOV1ClaimOwnership(): string;
|
|
304
307
|
/**
|
|
305
308
|
* encode depositBase
|
|
306
|
-
* @param {string} amount - uint256
|
|
309
|
+
* @param {string | number} amount - uint256
|
|
307
310
|
* @returns {string} encode data
|
|
308
311
|
*/
|
|
309
|
-
export declare function encodeDODOV1DepositBase(amount: string):
|
|
312
|
+
export declare function encodeDODOV1DepositBase(amount: string | number): string;
|
|
310
313
|
/**
|
|
311
314
|
* encode depositBaseTo
|
|
312
315
|
* @param {string} to - address
|
|
313
|
-
* @param {string} amount - uint256
|
|
316
|
+
* @param {string | number} amount - uint256
|
|
314
317
|
* @returns {string} encode data
|
|
315
318
|
*/
|
|
316
|
-
export declare function encodeDODOV1DepositBaseTo(to: string, amount: string):
|
|
319
|
+
export declare function encodeDODOV1DepositBaseTo(to: string, amount: string | number): string;
|
|
317
320
|
/**
|
|
318
321
|
* encode depositQuote
|
|
319
|
-
* @param {string} amount - uint256
|
|
322
|
+
* @param {string | number} amount - uint256
|
|
320
323
|
* @returns {string} encode data
|
|
321
324
|
*/
|
|
322
|
-
export declare function encodeDODOV1DepositQuote(amount: string):
|
|
325
|
+
export declare function encodeDODOV1DepositQuote(amount: string | number): string;
|
|
323
326
|
/**
|
|
324
327
|
* encode depositQuoteTo
|
|
325
328
|
* @param {string} to - address
|
|
326
|
-
* @param {string} amount - uint256
|
|
329
|
+
* @param {string | number} amount - uint256
|
|
327
330
|
* @returns {string} encode data
|
|
328
331
|
*/
|
|
329
|
-
export declare function encodeDODOV1DepositQuoteTo(to: string, amount: string):
|
|
332
|
+
export declare function encodeDODOV1DepositQuoteTo(to: string, amount: string | number): string;
|
|
330
333
|
/**
|
|
331
334
|
* encode disableBaseDeposit
|
|
332
335
|
|
|
333
336
|
* @returns {string} encode data
|
|
334
337
|
*/
|
|
335
|
-
export declare function encodeDODOV1DisableBaseDeposit():
|
|
338
|
+
export declare function encodeDODOV1DisableBaseDeposit(): string;
|
|
336
339
|
/**
|
|
337
340
|
* encode disableQuoteDeposit
|
|
338
341
|
|
|
339
342
|
* @returns {string} encode data
|
|
340
343
|
*/
|
|
341
|
-
export declare function encodeDODOV1DisableQuoteDeposit():
|
|
344
|
+
export declare function encodeDODOV1DisableQuoteDeposit(): string;
|
|
342
345
|
/**
|
|
343
346
|
* encode disableTrading
|
|
344
347
|
|
|
345
348
|
* @returns {string} encode data
|
|
346
349
|
*/
|
|
347
|
-
export declare function encodeDODOV1DisableTrading():
|
|
350
|
+
export declare function encodeDODOV1DisableTrading(): string;
|
|
348
351
|
/**
|
|
349
352
|
* encode donateBaseToken
|
|
350
|
-
* @param {string} amount - uint256
|
|
353
|
+
* @param {string | number} amount - uint256
|
|
351
354
|
* @returns {string} encode data
|
|
352
355
|
*/
|
|
353
|
-
export declare function encodeDODOV1DonateBaseToken(amount: string):
|
|
356
|
+
export declare function encodeDODOV1DonateBaseToken(amount: string | number): string;
|
|
354
357
|
/**
|
|
355
358
|
* encode donateQuoteToken
|
|
356
|
-
* @param {string} amount - uint256
|
|
359
|
+
* @param {string | number} amount - uint256
|
|
357
360
|
* @returns {string} encode data
|
|
358
361
|
*/
|
|
359
|
-
export declare function encodeDODOV1DonateQuoteToken(amount: string):
|
|
362
|
+
export declare function encodeDODOV1DonateQuoteToken(amount: string | number): string;
|
|
360
363
|
/**
|
|
361
364
|
* encode enableBaseDeposit
|
|
362
365
|
|
|
363
366
|
* @returns {string} encode data
|
|
364
367
|
*/
|
|
365
|
-
export declare function encodeDODOV1EnableBaseDeposit():
|
|
368
|
+
export declare function encodeDODOV1EnableBaseDeposit(): string;
|
|
366
369
|
/**
|
|
367
370
|
* encode enableQuoteDeposit
|
|
368
371
|
|
|
369
372
|
* @returns {string} encode data
|
|
370
373
|
*/
|
|
371
|
-
export declare function encodeDODOV1EnableQuoteDeposit():
|
|
374
|
+
export declare function encodeDODOV1EnableQuoteDeposit(): string;
|
|
372
375
|
/**
|
|
373
376
|
* encode enableTrading
|
|
374
377
|
|
|
375
378
|
* @returns {string} encode data
|
|
376
379
|
*/
|
|
377
|
-
export declare function encodeDODOV1EnableTrading():
|
|
380
|
+
export declare function encodeDODOV1EnableTrading(): string;
|
|
378
381
|
/**
|
|
379
382
|
* encode finalSettlement
|
|
380
383
|
|
|
381
384
|
* @returns {string} encode data
|
|
382
385
|
*/
|
|
383
|
-
export declare function encodeDODOV1FinalSettlement():
|
|
386
|
+
export declare function encodeDODOV1FinalSettlement(): string;
|
|
384
387
|
/**
|
|
385
388
|
* encode init
|
|
386
389
|
* @param {string} owner - address
|
|
@@ -389,123 +392,123 @@ export declare function encodeDODOV1FinalSettlement(): any;
|
|
|
389
392
|
* @param {string} baseToken - address
|
|
390
393
|
* @param {string} quoteToken - address
|
|
391
394
|
* @param {string} oracle - address
|
|
392
|
-
* @param {string} lpFeeRate - uint256
|
|
393
|
-
* @param {string} mtFeeRate - uint256
|
|
394
|
-
* @param {string} k - uint256
|
|
395
|
-
* @param {string} gasPriceLimit - uint256
|
|
395
|
+
* @param {string | number} lpFeeRate - uint256
|
|
396
|
+
* @param {string | number} mtFeeRate - uint256
|
|
397
|
+
* @param {string | number} k - uint256
|
|
398
|
+
* @param {string | number} gasPriceLimit - uint256
|
|
396
399
|
* @returns {string} encode data
|
|
397
400
|
*/
|
|
398
|
-
export declare function encodeDODOV1Init(owner: string, supervisor: string, maintainer: string, baseToken: string, quoteToken: string, oracle: string, lpFeeRate: string, mtFeeRate: string, k: string, gasPriceLimit: string):
|
|
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): string;
|
|
399
402
|
/**
|
|
400
403
|
* encode retrieve
|
|
401
404
|
* @param {string} token - address
|
|
402
|
-
* @param {string} amount - uint256
|
|
405
|
+
* @param {string | number} amount - uint256
|
|
403
406
|
* @returns {string} encode data
|
|
404
407
|
*/
|
|
405
|
-
export declare function encodeDODOV1Retrieve(token: string, amount: string):
|
|
408
|
+
export declare function encodeDODOV1Retrieve(token: string, amount: string | number): string;
|
|
406
409
|
/**
|
|
407
410
|
* encode sellBaseToken
|
|
408
|
-
* @param {string} amount - uint256
|
|
409
|
-
* @param {string} minReceiveQuote - uint256
|
|
411
|
+
* @param {string | number} amount - uint256
|
|
412
|
+
* @param {string | number} minReceiveQuote - uint256
|
|
410
413
|
* @param {string} data - bytes
|
|
411
414
|
* @returns {string} encode data
|
|
412
415
|
*/
|
|
413
|
-
export declare function encodeDODOV1SellBaseToken(amount: string, minReceiveQuote: string, data: string):
|
|
416
|
+
export declare function encodeDODOV1SellBaseToken(amount: string | number, minReceiveQuote: string | number, data: string): string;
|
|
414
417
|
/**
|
|
415
418
|
* encode setGasPriceLimit
|
|
416
|
-
* @param {string} newGasPriceLimit - uint256
|
|
419
|
+
* @param {string | number} newGasPriceLimit - uint256
|
|
417
420
|
* @returns {string} encode data
|
|
418
421
|
*/
|
|
419
|
-
export declare function encodeDODOV1SetGasPriceLimit(newGasPriceLimit: string):
|
|
422
|
+
export declare function encodeDODOV1SetGasPriceLimit(newGasPriceLimit: string | number): string;
|
|
420
423
|
/**
|
|
421
424
|
* encode setK
|
|
422
|
-
* @param {string} newK - uint256
|
|
425
|
+
* @param {string | number} newK - uint256
|
|
423
426
|
* @returns {string} encode data
|
|
424
427
|
*/
|
|
425
|
-
export declare function encodeDODOV1SetK(newK: string):
|
|
428
|
+
export declare function encodeDODOV1SetK(newK: string | number): string;
|
|
426
429
|
/**
|
|
427
430
|
* encode setLiquidityProviderFeeRate
|
|
428
|
-
* @param {string} newLiquidityPorviderFeeRate - uint256
|
|
431
|
+
* @param {string | number} newLiquidityPorviderFeeRate - uint256
|
|
429
432
|
* @returns {string} encode data
|
|
430
433
|
*/
|
|
431
|
-
export declare function encodeDODOV1SetLiquidityProviderFeeRate(newLiquidityPorviderFeeRate: string):
|
|
434
|
+
export declare function encodeDODOV1SetLiquidityProviderFeeRate(newLiquidityPorviderFeeRate: string | number): string;
|
|
432
435
|
/**
|
|
433
436
|
* encode setMaintainer
|
|
434
437
|
* @param {string} newMaintainer - address
|
|
435
438
|
* @returns {string} encode data
|
|
436
439
|
*/
|
|
437
|
-
export declare function encodeDODOV1SetMaintainer(newMaintainer: string):
|
|
440
|
+
export declare function encodeDODOV1SetMaintainer(newMaintainer: string): string;
|
|
438
441
|
/**
|
|
439
442
|
* encode setMaintainerFeeRate
|
|
440
|
-
* @param {string} newMaintainerFeeRate - uint256
|
|
443
|
+
* @param {string | number} newMaintainerFeeRate - uint256
|
|
441
444
|
* @returns {string} encode data
|
|
442
445
|
*/
|
|
443
|
-
export declare function encodeDODOV1SetMaintainerFeeRate(newMaintainerFeeRate: string):
|
|
446
|
+
export declare function encodeDODOV1SetMaintainerFeeRate(newMaintainerFeeRate: string | number): string;
|
|
444
447
|
/**
|
|
445
448
|
* encode setOracle
|
|
446
449
|
* @param {string} newOracle - address
|
|
447
450
|
* @returns {string} encode data
|
|
448
451
|
*/
|
|
449
|
-
export declare function encodeDODOV1SetOracle(newOracle: string):
|
|
452
|
+
export declare function encodeDODOV1SetOracle(newOracle: string): string;
|
|
450
453
|
/**
|
|
451
454
|
* encode setSupervisor
|
|
452
455
|
* @param {string} newSupervisor - address
|
|
453
456
|
* @returns {string} encode data
|
|
454
457
|
*/
|
|
455
|
-
export declare function encodeDODOV1SetSupervisor(newSupervisor: string):
|
|
458
|
+
export declare function encodeDODOV1SetSupervisor(newSupervisor: string): string;
|
|
456
459
|
/**
|
|
457
460
|
* encode transferOwnership
|
|
458
461
|
* @param {string} newOwner - address
|
|
459
462
|
* @returns {string} encode data
|
|
460
463
|
*/
|
|
461
|
-
export declare function encodeDODOV1TransferOwnership(newOwner: string):
|
|
464
|
+
export declare function encodeDODOV1TransferOwnership(newOwner: string): string;
|
|
462
465
|
/**
|
|
463
466
|
* encode withdrawAllBase
|
|
464
467
|
|
|
465
468
|
* @returns {string} encode data
|
|
466
469
|
*/
|
|
467
|
-
export declare function encodeDODOV1WithdrawAllBase():
|
|
470
|
+
export declare function encodeDODOV1WithdrawAllBase(): string;
|
|
468
471
|
/**
|
|
469
472
|
* encode withdrawAllBaseTo
|
|
470
473
|
* @param {string} to - address
|
|
471
474
|
* @returns {string} encode data
|
|
472
475
|
*/
|
|
473
|
-
export declare function encodeDODOV1WithdrawAllBaseTo(to: string):
|
|
476
|
+
export declare function encodeDODOV1WithdrawAllBaseTo(to: string): string;
|
|
474
477
|
/**
|
|
475
478
|
* encode withdrawAllQuote
|
|
476
479
|
|
|
477
480
|
* @returns {string} encode data
|
|
478
481
|
*/
|
|
479
|
-
export declare function encodeDODOV1WithdrawAllQuote():
|
|
482
|
+
export declare function encodeDODOV1WithdrawAllQuote(): string;
|
|
480
483
|
/**
|
|
481
484
|
* encode withdrawAllQuoteTo
|
|
482
485
|
* @param {string} to - address
|
|
483
486
|
* @returns {string} encode data
|
|
484
487
|
*/
|
|
485
|
-
export declare function encodeDODOV1WithdrawAllQuoteTo(to: string):
|
|
488
|
+
export declare function encodeDODOV1WithdrawAllQuoteTo(to: string): string;
|
|
486
489
|
/**
|
|
487
490
|
* encode withdrawBase
|
|
488
|
-
* @param {string} amount - uint256
|
|
491
|
+
* @param {string | number} amount - uint256
|
|
489
492
|
* @returns {string} encode data
|
|
490
493
|
*/
|
|
491
|
-
export declare function encodeDODOV1WithdrawBase(amount: string):
|
|
494
|
+
export declare function encodeDODOV1WithdrawBase(amount: string | number): string;
|
|
492
495
|
/**
|
|
493
496
|
* encode withdrawBaseTo
|
|
494
497
|
* @param {string} to - address
|
|
495
|
-
* @param {string} amount - uint256
|
|
498
|
+
* @param {string | number} amount - uint256
|
|
496
499
|
* @returns {string} encode data
|
|
497
500
|
*/
|
|
498
|
-
export declare function encodeDODOV1WithdrawBaseTo(to: string, amount: string):
|
|
501
|
+
export declare function encodeDODOV1WithdrawBaseTo(to: string, amount: string | number): string;
|
|
499
502
|
/**
|
|
500
503
|
* encode withdrawQuote
|
|
501
|
-
* @param {string} amount - uint256
|
|
504
|
+
* @param {string | number} amount - uint256
|
|
502
505
|
* @returns {string} encode data
|
|
503
506
|
*/
|
|
504
|
-
export declare function encodeDODOV1WithdrawQuote(amount: string):
|
|
507
|
+
export declare function encodeDODOV1WithdrawQuote(amount: string | number): string;
|
|
505
508
|
/**
|
|
506
509
|
* encode withdrawQuoteTo
|
|
507
510
|
* @param {string} to - address
|
|
508
|
-
* @param {string} amount - uint256
|
|
511
|
+
* @param {string | number} amount - uint256
|
|
509
512
|
* @returns {string} encode data
|
|
510
513
|
*/
|
|
511
|
-
export declare function encodeDODOV1WithdrawQuoteTo(to: string, amount: string):
|
|
514
|
+
export declare function encodeDODOV1WithdrawQuoteTo(to: string, amount: string | number): string;
|
|
@@ -4,7 +4,7 @@ export declare function getDODOV1AdapterContractAddressByChainId(chainId: number
|
|
|
4
4
|
* @param {number} chainId - number
|
|
5
5
|
* @returns {string} __output0 - address
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchDODOV1Adapter_DODO_SELL_HELPER_(chainId: number):
|
|
7
|
+
export declare function fetchDODOV1Adapter_DODO_SELL_HELPER_(chainId: number): Promise<string>;
|
|
8
8
|
/**
|
|
9
9
|
* encode sellBase
|
|
10
10
|
* @param {string} to - address
|
|
@@ -12,7 +12,7 @@ export declare function fetchDODOV1Adapter_DODO_SELL_HELPER_(chainId: number): a
|
|
|
12
12
|
* @param {string} __input1 - bytes
|
|
13
13
|
* @returns {string} encode data
|
|
14
14
|
*/
|
|
15
|
-
export declare function encodeDODOV1AdapterSellBase(to: string, pool: string, __input1: string):
|
|
15
|
+
export declare function encodeDODOV1AdapterSellBase(to: string, pool: string, __input1: string): string;
|
|
16
16
|
/**
|
|
17
17
|
* encode sellQuote
|
|
18
18
|
* @param {string} to - address
|
|
@@ -20,4 +20,4 @@ export declare function encodeDODOV1AdapterSellBase(to: string, pool: string, __
|
|
|
20
20
|
* @param {string} __input1 - bytes
|
|
21
21
|
* @returns {string} encode data
|
|
22
22
|
*/
|
|
23
|
-
export declare function encodeDODOV1AdapterSellQuote(to: string, pool: string, __input1: string):
|
|
23
|
+
export declare function encodeDODOV1AdapterSellQuote(to: string, pool: string, __input1: string): string;
|
|
@@ -5,4 +5,4 @@ export declare function getDODOV1PmmHelperContractAddressByChainId(chainId: numb
|
|
|
5
5
|
* @param {string} pool - address
|
|
6
6
|
* @returns {[bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, string, string, string, bigint]} res - tuple[]
|
|
7
7
|
*/
|
|
8
|
-
export declare function fetchDODOV1PmmHelperGetPairDetail(chainId: number, pool: string):
|
|
8
|
+
export declare function fetchDODOV1PmmHelperGetPairDetail(chainId: number, pool: string): Promise<[bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, bigint, string, string, string, bigint]>;
|