@dodoex/dodo-contract-request 1.33.0 → 1.34.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 +7 -0
- package/contract-config/eni.json +65 -0
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/eni.d.ts +29 -0
- package/dist/types/config/index.d.ts +2 -0
- package/dist/types/contract/AlgebraPool.d.ts +15 -15
- package/dist/types/contract/BuyoutModel.d.ts +6 -6
- package/dist/types/contract/CP.d.ts +11 -11
- package/dist/types/contract/CloneFactory.d.ts +1 -1
- package/dist/types/contract/CrowdPoolingFactory.d.ts +12 -12
- package/dist/types/contract/CustomERC20.d.ts +9 -9
- package/dist/types/contract/CustomMintableERC20.d.ts +11 -11
- package/dist/types/contract/D3Proxy.d.ts +9 -9
- package/dist/types/contract/D3Vault.d.ts +36 -36
- package/dist/types/contract/DODOApprove.d.ts +8 -8
- package/dist/types/contract/DODOApproveProxy.d.ts +9 -9
- package/dist/types/contract/DODOCalleeHelper.d.ts +4 -4
- package/dist/types/contract/DODOCirculationHelper.d.ts +5 -5
- package/dist/types/contract/DODOCpProxy.d.ts +2 -2
- package/dist/types/contract/DODOCpProxyWithoutGlobalQuota.d.ts +2 -2
- package/dist/types/contract/DODODppProxy.d.ts +2 -2
- package/dist/types/contract/DODODspProxy.d.ts +3 -3
- package/dist/types/contract/DODODspProxyWithoutGSP.d.ts +2 -2
- package/dist/types/contract/DODOFeeRouteProxy1.d.ts +13 -13
- package/dist/types/contract/DODOFeeRouteProxy2.d.ts +13 -13
- package/dist/types/contract/DODOIncentive.d.ts +9 -9
- package/dist/types/contract/DODOMineV2Factory.d.ts +8 -8
- package/dist/types/contract/DODOMineV3Proxy.d.ts +7 -7
- package/dist/types/contract/DODOMineV3ProxyWithoutPlatform.d.ts +7 -7
- package/dist/types/contract/DODOMineV3Registry.d.ts +7 -7
- package/dist/types/contract/DODONFT.d.ts +11 -11
- package/dist/types/contract/DODONFT1155.d.ts +8 -8
- package/dist/types/contract/DODONFTApprove.d.ts +11 -11
- package/dist/types/contract/DODONFTPoolProxy.d.ts +14 -14
- package/dist/types/contract/DODONFTProxy.d.ts +12 -12
- package/dist/types/contract/DODONFTRegistry.d.ts +7 -7
- package/dist/types/contract/DODOStarterProxy.d.ts +1 -1
- package/dist/types/contract/DODOV1.d.ts +35 -35
- package/dist/types/contract/DODOV1Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV1Proxy.d.ts +7 -7
- package/dist/types/contract/DODOV2Adapter.d.ts +2 -2
- package/dist/types/contract/DODOV2Proxy02.d.ts +19 -19
- package/dist/types/contract/DPPAdvanced.d.ts +10 -10
- package/dist/types/contract/DPPAdvancedAdmin.d.ts +9 -9
- package/dist/types/contract/DPPFactory.d.ts +13 -13
- package/dist/types/contract/DSP.d.ts +11 -11
- package/dist/types/contract/DSPFactory.d.ts +7 -7
- package/dist/types/contract/DVM.d.ts +11 -11
- package/dist/types/contract/DVMFactory.d.ts +7 -7
- package/dist/types/contract/ERC20.d.ts +5 -5
- package/dist/types/contract/ERC20MineV2.d.ts +13 -13
- package/dist/types/contract/ERC20MineV3.d.ts +13 -13
- package/dist/types/contract/ERC20V3Factory.d.ts +11 -11
- package/dist/types/contract/FeeRateDIP3Impl.d.ts +11 -11
- package/dist/types/contract/FeeRateModel.d.ts +4 -4
- package/dist/types/contract/GSP.d.ts +19 -19
- package/dist/types/contract/GSPFactory.d.ts +8 -8
- package/dist/types/contract/InitializableERC20.d.ts +4 -4
- package/dist/types/contract/LimitOrder.d.ts +11 -11
- package/dist/types/contract/LimitOrderBot.d.ts +9 -9
- package/dist/types/contract/LockedTokenVault.d.ts +9 -9
- package/dist/types/contract/MerkleDistributor.d.ts +1 -1
- package/dist/types/contract/Multicall.d.ts +1 -1
- package/dist/types/contract/MulticallWithValid.d.ts +1 -1
- package/dist/types/contract/NonfungiblePositionManager.d.ts +21 -21
- package/dist/types/contract/NonfungiblePositionManagerAlgebra.d.ts +24 -24
- package/dist/types/contract/PermissionManager.d.ts +9 -9
- package/dist/types/contract/UniswapV2Factory.d.ts +4 -4
- package/dist/types/contract/UniswapV2FactoryFixedFee.d.ts +3 -3
- package/dist/types/contract/UniswapV2Pair.d.ts +12 -12
- package/dist/types/contract/UniswapV2Router02.d.ts +17 -17
- package/dist/types/contract/UniswapV2Router02FixedFee.d.ts +17 -17
- package/dist/types/contract/UniswapV3Factory.d.ts +3 -3
- package/dist/types/contract/dodoTeam.d.ts +16 -16
- package/dist/types/contract/vDODOToken.d.ts +16 -16
- package/dist/types/contractRequests.d.ts +1 -1
- package/package.json +1 -1
- package/src/config/eni.ts +4 -0
- package/src/config/index.ts +5 -1
- package/src/contract/CrowdPoolingFactory.ts +1 -1
- package/src/contract/DODOApprove.ts +1 -1
- package/src/contract/DODOApproveProxy.ts +1 -1
- package/src/contract/DODOCalleeHelper.ts +1 -1
- package/src/contract/DODOCpProxy.ts +1 -1
- package/src/contract/DODODppProxy.ts +1 -1
- package/src/contract/DODODspProxy.ts +1 -1
- package/src/contract/DODOFeeRouteProxy1.ts +1 -1
- package/src/contract/DODOFeeRouteProxy2.ts +1 -1
- package/src/contract/DODOMineV2Factory.ts +1 -1
- package/src/contract/DODOMineV3Proxy.ts +1 -1
- package/src/contract/DODOMineV3Registry.ts +1 -1
- package/src/contract/DODOSellHelper.ts +1 -1
- package/src/contract/DODOSwapCalcHelper.ts +1 -1
- package/src/contract/DODOV1PmmHelper.ts +1 -1
- package/src/contract/DODOV2Adapter.ts +1 -1
- package/src/contract/DODOV2Proxy02.ts +1 -1
- package/src/contract/DODOV2RouteHelper.ts +1 -1
- package/src/contract/DPPFactory.ts +1 -1
- package/src/contract/DSPFactory.ts +1 -1
- package/src/contract/DVMFactory.ts +1 -1
- package/src/contract/ERC20Helper.ts +1 -1
- package/src/contract/ERC20V3Factory.ts +1 -1
- package/src/contract/GSPFactory.ts +1 -1
- package/src/contract/Multicall.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
|
@@ -145,13 +145,13 @@ export declare function getFetchDVMFactoryGetDODOPoolByUserQueryOptions(chainId:
|
|
|
145
145
|
* @param {string} pool - address
|
|
146
146
|
* @returns {string} encode data
|
|
147
147
|
*/
|
|
148
|
-
export declare function encodeDVMFactoryAddPoolByAdmin(creator: string, baseToken: string, quoteToken: string, pool: string):
|
|
148
|
+
export declare function encodeDVMFactoryAddPoolByAdmin(creator: string, baseToken: string, quoteToken: string, pool: string): any;
|
|
149
149
|
/**
|
|
150
150
|
* encode claimOwnership
|
|
151
151
|
|
|
152
152
|
* @returns {string} encode data
|
|
153
153
|
*/
|
|
154
|
-
export declare function encodeDVMFactoryClaimOwnership():
|
|
154
|
+
export declare function encodeDVMFactoryClaimOwnership(): any;
|
|
155
155
|
/**
|
|
156
156
|
* encode createDODOVendingMachine
|
|
157
157
|
* @param {string} baseToken - address
|
|
@@ -162,13 +162,13 @@ export declare function encodeDVMFactoryClaimOwnership(): string;
|
|
|
162
162
|
* @param {boolean} isOpenTWAP - bool
|
|
163
163
|
* @returns {string} encode data
|
|
164
164
|
*/
|
|
165
|
-
export declare function encodeDVMFactoryCreateDODOVendingMachine(baseToken: string, quoteToken: string, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTWAP: boolean):
|
|
165
|
+
export declare function encodeDVMFactoryCreateDODOVendingMachine(baseToken: string, quoteToken: string, lpFeeRate: string | number, i: string | number, k: string | number, isOpenTWAP: boolean): any;
|
|
166
166
|
/**
|
|
167
167
|
* encode initOwner
|
|
168
168
|
* @param {string} newOwner - address
|
|
169
169
|
* @returns {string} encode data
|
|
170
170
|
*/
|
|
171
|
-
export declare function encodeDVMFactoryInitOwner(newOwner: string):
|
|
171
|
+
export declare function encodeDVMFactoryInitOwner(newOwner: string): any;
|
|
172
172
|
/**
|
|
173
173
|
* encode removePoolByAdmin
|
|
174
174
|
* @param {string} creator - address
|
|
@@ -177,16 +177,16 @@ export declare function encodeDVMFactoryInitOwner(newOwner: string): string;
|
|
|
177
177
|
* @param {string} pool - address
|
|
178
178
|
* @returns {string} encode data
|
|
179
179
|
*/
|
|
180
|
-
export declare function encodeDVMFactoryRemovePoolByAdmin(creator: string, baseToken: string, quoteToken: string, pool: string):
|
|
180
|
+
export declare function encodeDVMFactoryRemovePoolByAdmin(creator: string, baseToken: string, quoteToken: string, pool: string): any;
|
|
181
181
|
/**
|
|
182
182
|
* encode transferOwnership
|
|
183
183
|
* @param {string} newOwner - address
|
|
184
184
|
* @returns {string} encode data
|
|
185
185
|
*/
|
|
186
|
-
export declare function encodeDVMFactoryTransferOwnership(newOwner: string):
|
|
186
|
+
export declare function encodeDVMFactoryTransferOwnership(newOwner: string): any;
|
|
187
187
|
/**
|
|
188
188
|
* encode updateDvmTemplate
|
|
189
189
|
* @param {string} _newDVMTemplate - address
|
|
190
190
|
* @returns {string} encode data
|
|
191
191
|
*/
|
|
192
|
-
export declare function encodeDVMFactoryUpdateDvmTemplate(_newDVMTemplate: string):
|
|
192
|
+
export declare function encodeDVMFactoryUpdateDvmTemplate(_newDVMTemplate: string): any;
|
|
@@ -79,7 +79,7 @@ export declare function getFetchERC20AllowanceQueryOptions(chainId: number | und
|
|
|
79
79
|
* @param {string | number} wad - uint256
|
|
80
80
|
* @returns {string} encode data
|
|
81
81
|
*/
|
|
82
|
-
export declare function encodeERC20Approve(guy: string, wad: string | number):
|
|
82
|
+
export declare function encodeERC20Approve(guy: string, wad: string | number): any;
|
|
83
83
|
/**
|
|
84
84
|
* encode transferFrom
|
|
85
85
|
* @param {string} src - address
|
|
@@ -87,23 +87,23 @@ export declare function encodeERC20Approve(guy: string, wad: string | number): s
|
|
|
87
87
|
* @param {string | number} wad - uint256
|
|
88
88
|
* @returns {string} encode data
|
|
89
89
|
*/
|
|
90
|
-
export declare function encodeERC20TransferFrom(src: string, dst: string, wad: string | number):
|
|
90
|
+
export declare function encodeERC20TransferFrom(src: string, dst: string, wad: string | number): any;
|
|
91
91
|
/**
|
|
92
92
|
* encode withdraw
|
|
93
93
|
* @param {string | number} wad - uint256
|
|
94
94
|
* @returns {string} encode data
|
|
95
95
|
*/
|
|
96
|
-
export declare function encodeERC20Withdraw(wad: string | number):
|
|
96
|
+
export declare function encodeERC20Withdraw(wad: string | number): any;
|
|
97
97
|
/**
|
|
98
98
|
* encode transfer
|
|
99
99
|
* @param {string} dst - address
|
|
100
100
|
* @param {string | number} wad - uint256
|
|
101
101
|
* @returns {string} encode data
|
|
102
102
|
*/
|
|
103
|
-
export declare function encodeERC20Transfer(dst: string, wad: string | number):
|
|
103
|
+
export declare function encodeERC20Transfer(dst: string, wad: string | number): any;
|
|
104
104
|
/**
|
|
105
105
|
* encode deposit
|
|
106
106
|
|
|
107
107
|
* @returns {string} encode data
|
|
108
108
|
*/
|
|
109
|
-
export declare function encodeERC20Deposit():
|
|
109
|
+
export declare function encodeERC20Deposit(): any;
|
|
@@ -168,80 +168,80 @@ export declare function getFetchERC20MineV2TotalSupplyQueryOptions(chainId: numb
|
|
|
168
168
|
* @param {string | number} endBlock - uint256
|
|
169
169
|
* @returns {string} encode data
|
|
170
170
|
*/
|
|
171
|
-
export declare function encodeERC20MineV2AddRewardToken(rewardToken: string, rewardPerBlock: string | number, startBlock: string | number, endBlock: string | number):
|
|
171
|
+
export declare function encodeERC20MineV2AddRewardToken(rewardToken: string, rewardPerBlock: string | number, startBlock: string | number, endBlock: string | number): any;
|
|
172
172
|
/**
|
|
173
173
|
* encode claimAllRewards
|
|
174
174
|
|
|
175
175
|
* @returns {string} encode data
|
|
176
176
|
*/
|
|
177
|
-
export declare function encodeERC20MineV2ClaimAllRewards():
|
|
177
|
+
export declare function encodeERC20MineV2ClaimAllRewards(): any;
|
|
178
178
|
/**
|
|
179
179
|
* encode claimOwnership
|
|
180
180
|
|
|
181
181
|
* @returns {string} encode data
|
|
182
182
|
*/
|
|
183
|
-
export declare function encodeERC20MineV2ClaimOwnership():
|
|
183
|
+
export declare function encodeERC20MineV2ClaimOwnership(): any;
|
|
184
184
|
/**
|
|
185
185
|
* encode claimReward
|
|
186
186
|
* @param {string | number} i - uint256
|
|
187
187
|
* @returns {string} encode data
|
|
188
188
|
*/
|
|
189
|
-
export declare function encodeERC20MineV2ClaimReward(i: string | number):
|
|
189
|
+
export declare function encodeERC20MineV2ClaimReward(i: string | number): any;
|
|
190
190
|
/**
|
|
191
191
|
* encode deposit
|
|
192
192
|
* @param {string | number} amount - uint256
|
|
193
193
|
* @returns {string} encode data
|
|
194
194
|
*/
|
|
195
|
-
export declare function encodeERC20MineV2Deposit(amount: string | number):
|
|
195
|
+
export declare function encodeERC20MineV2Deposit(amount: string | number): any;
|
|
196
196
|
/**
|
|
197
197
|
* encode init
|
|
198
198
|
* @param {string} owner - address
|
|
199
199
|
* @param {string} token - address
|
|
200
200
|
* @returns {string} encode data
|
|
201
201
|
*/
|
|
202
|
-
export declare function encodeERC20MineV2Init(owner: string, token: string):
|
|
202
|
+
export declare function encodeERC20MineV2Init(owner: string, token: string): any;
|
|
203
203
|
/**
|
|
204
204
|
* encode initOwner
|
|
205
205
|
* @param {string} newOwner - address
|
|
206
206
|
* @returns {string} encode data
|
|
207
207
|
*/
|
|
208
|
-
export declare function encodeERC20MineV2InitOwner(newOwner: string):
|
|
208
|
+
export declare function encodeERC20MineV2InitOwner(newOwner: string): any;
|
|
209
209
|
/**
|
|
210
210
|
* encode removeRewardToken
|
|
211
211
|
* @param {string} rewardToken - address
|
|
212
212
|
* @returns {string} encode data
|
|
213
213
|
*/
|
|
214
|
-
export declare function encodeERC20MineV2RemoveRewardToken(rewardToken: string):
|
|
214
|
+
export declare function encodeERC20MineV2RemoveRewardToken(rewardToken: string): any;
|
|
215
215
|
/**
|
|
216
216
|
* encode setEndBlock
|
|
217
217
|
* @param {string | number} i - uint256
|
|
218
218
|
* @param {string | number} newEndBlock - uint256
|
|
219
219
|
* @returns {string} encode data
|
|
220
220
|
*/
|
|
221
|
-
export declare function encodeERC20MineV2SetEndBlock(i: string | number, newEndBlock: string | number):
|
|
221
|
+
export declare function encodeERC20MineV2SetEndBlock(i: string | number, newEndBlock: string | number): any;
|
|
222
222
|
/**
|
|
223
223
|
* encode setReward
|
|
224
224
|
* @param {string | number} i - uint256
|
|
225
225
|
* @param {string | number} newRewardPerBlock - uint256
|
|
226
226
|
* @returns {string} encode data
|
|
227
227
|
*/
|
|
228
|
-
export declare function encodeERC20MineV2SetReward(i: string | number, newRewardPerBlock: string | number):
|
|
228
|
+
export declare function encodeERC20MineV2SetReward(i: string | number, newRewardPerBlock: string | number): any;
|
|
229
229
|
/**
|
|
230
230
|
* encode transferOwnership
|
|
231
231
|
* @param {string} newOwner - address
|
|
232
232
|
* @returns {string} encode data
|
|
233
233
|
*/
|
|
234
|
-
export declare function encodeERC20MineV2TransferOwnership(newOwner: string):
|
|
234
|
+
export declare function encodeERC20MineV2TransferOwnership(newOwner: string): any;
|
|
235
235
|
/**
|
|
236
236
|
* encode withdraw
|
|
237
237
|
* @param {string | number} amount - uint256
|
|
238
238
|
* @returns {string} encode data
|
|
239
239
|
*/
|
|
240
|
-
export declare function encodeERC20MineV2Withdraw(amount: string | number):
|
|
240
|
+
export declare function encodeERC20MineV2Withdraw(amount: string | number): any;
|
|
241
241
|
/**
|
|
242
242
|
* encode withdrawLeftOver
|
|
243
243
|
* @param {string | number} i - uint256
|
|
244
244
|
* @param {string | number} amount - uint256
|
|
245
245
|
* @returns {string} encode data
|
|
246
246
|
*/
|
|
247
|
-
export declare function encodeERC20MineV2WithdrawLeftOver(i: string | number, amount: string | number):
|
|
247
|
+
export declare function encodeERC20MineV2WithdrawLeftOver(i: string | number, amount: string | number): any;
|
|
@@ -200,80 +200,80 @@ export declare function getFetchERC20MineV3TotalSupplyQueryOptions(chainId: numb
|
|
|
200
200
|
* @param {string | number} endBlock - uint256
|
|
201
201
|
* @returns {string} encode data
|
|
202
202
|
*/
|
|
203
|
-
export declare function encodeERC20MineV3AddRewardToken(rewardToken: string, rewardPerBlock: string | number, startBlock: string | number, endBlock: string | number):
|
|
203
|
+
export declare function encodeERC20MineV3AddRewardToken(rewardToken: string, rewardPerBlock: string | number, startBlock: string | number, endBlock: string | number): any;
|
|
204
204
|
/**
|
|
205
205
|
* encode claimAllRewards
|
|
206
206
|
|
|
207
207
|
* @returns {string} encode data
|
|
208
208
|
*/
|
|
209
|
-
export declare function encodeERC20MineV3ClaimAllRewards():
|
|
209
|
+
export declare function encodeERC20MineV3ClaimAllRewards(): any;
|
|
210
210
|
/**
|
|
211
211
|
* encode claimOwnership
|
|
212
212
|
|
|
213
213
|
* @returns {string} encode data
|
|
214
214
|
*/
|
|
215
|
-
export declare function encodeERC20MineV3ClaimOwnership():
|
|
215
|
+
export declare function encodeERC20MineV3ClaimOwnership(): any;
|
|
216
216
|
/**
|
|
217
217
|
* encode claimReward
|
|
218
218
|
* @param {string | number} i - uint256
|
|
219
219
|
* @returns {string} encode data
|
|
220
220
|
*/
|
|
221
|
-
export declare function encodeERC20MineV3ClaimReward(i: string | number):
|
|
221
|
+
export declare function encodeERC20MineV3ClaimReward(i: string | number): any;
|
|
222
222
|
/**
|
|
223
223
|
* encode deposit
|
|
224
224
|
* @param {string | number} amount - uint256
|
|
225
225
|
* @returns {string} encode data
|
|
226
226
|
*/
|
|
227
|
-
export declare function encodeERC20MineV3Deposit(amount: string | number):
|
|
227
|
+
export declare function encodeERC20MineV3Deposit(amount: string | number): any;
|
|
228
228
|
/**
|
|
229
229
|
* encode directTransferOwnership
|
|
230
230
|
* @param {string} newOwner - address
|
|
231
231
|
* @returns {string} encode data
|
|
232
232
|
*/
|
|
233
|
-
export declare function encodeERC20MineV3DirectTransferOwnership(newOwner: string):
|
|
233
|
+
export declare function encodeERC20MineV3DirectTransferOwnership(newOwner: string): any;
|
|
234
234
|
/**
|
|
235
235
|
* encode init
|
|
236
236
|
* @param {string} owner - address
|
|
237
237
|
* @param {string} token - address
|
|
238
238
|
* @returns {string} encode data
|
|
239
239
|
*/
|
|
240
|
-
export declare function encodeERC20MineV3Init(owner: string, token: string):
|
|
240
|
+
export declare function encodeERC20MineV3Init(owner: string, token: string): any;
|
|
241
241
|
/**
|
|
242
242
|
* encode initOwner
|
|
243
243
|
* @param {string} newOwner - address
|
|
244
244
|
* @returns {string} encode data
|
|
245
245
|
*/
|
|
246
|
-
export declare function encodeERC20MineV3InitOwner(newOwner: string):
|
|
246
|
+
export declare function encodeERC20MineV3InitOwner(newOwner: string): any;
|
|
247
247
|
/**
|
|
248
248
|
* encode setEndBlock
|
|
249
249
|
* @param {string | number} i - uint256
|
|
250
250
|
* @param {string | number} newEndBlock - uint256
|
|
251
251
|
* @returns {string} encode data
|
|
252
252
|
*/
|
|
253
|
-
export declare function encodeERC20MineV3SetEndBlock(i: string | number, newEndBlock: string | number):
|
|
253
|
+
export declare function encodeERC20MineV3SetEndBlock(i: string | number, newEndBlock: string | number): any;
|
|
254
254
|
/**
|
|
255
255
|
* encode setReward
|
|
256
256
|
* @param {string | number} i - uint256
|
|
257
257
|
* @param {string | number} newRewardPerBlock - uint256
|
|
258
258
|
* @returns {string} encode data
|
|
259
259
|
*/
|
|
260
|
-
export declare function encodeERC20MineV3SetReward(i: string | number, newRewardPerBlock: string | number):
|
|
260
|
+
export declare function encodeERC20MineV3SetReward(i: string | number, newRewardPerBlock: string | number): any;
|
|
261
261
|
/**
|
|
262
262
|
* encode transferOwnership
|
|
263
263
|
* @param {string} newOwner - address
|
|
264
264
|
* @returns {string} encode data
|
|
265
265
|
*/
|
|
266
|
-
export declare function encodeERC20MineV3TransferOwnership(newOwner: string):
|
|
266
|
+
export declare function encodeERC20MineV3TransferOwnership(newOwner: string): any;
|
|
267
267
|
/**
|
|
268
268
|
* encode withdraw
|
|
269
269
|
* @param {string | number} amount - uint256
|
|
270
270
|
* @returns {string} encode data
|
|
271
271
|
*/
|
|
272
|
-
export declare function encodeERC20MineV3Withdraw(amount: string | number):
|
|
272
|
+
export declare function encodeERC20MineV3Withdraw(amount: string | number): any;
|
|
273
273
|
/**
|
|
274
274
|
* encode withdrawLeftOver
|
|
275
275
|
* @param {string | number} i - uint256
|
|
276
276
|
* @param {string | number} amount - uint256
|
|
277
277
|
* @returns {string} encode data
|
|
278
278
|
*/
|
|
279
|
-
export declare function encodeERC20MineV3WithdrawLeftOver(i: string | number, amount: string | number):
|
|
279
|
+
export declare function encodeERC20MineV3WithdrawLeftOver(i: string | number, amount: string | number): any;
|
|
@@ -142,13 +142,13 @@ export declare function getFetchERC20V3FactoryGetTokenByUserQueryOptions(chainId
|
|
|
142
142
|
* @param {string | number} newFee - uint256
|
|
143
143
|
* @returns {string} encode data
|
|
144
144
|
*/
|
|
145
|
-
export declare function encodeERC20V3FactoryChangeCreateFee(newFee: string | number):
|
|
145
|
+
export declare function encodeERC20V3FactoryChangeCreateFee(newFee: string | number): any;
|
|
146
146
|
/**
|
|
147
147
|
* encode claimOwnership
|
|
148
148
|
|
|
149
149
|
* @returns {string} encode data
|
|
150
150
|
*/
|
|
151
|
-
export declare function encodeERC20V3FactoryClaimOwnership():
|
|
151
|
+
export declare function encodeERC20V3FactoryClaimOwnership(): any;
|
|
152
152
|
/**
|
|
153
153
|
* encode createCustomERC20
|
|
154
154
|
* @param {string | number} totalSupply - uint256
|
|
@@ -160,7 +160,7 @@ export declare function encodeERC20V3FactoryClaimOwnership(): string;
|
|
|
160
160
|
* @param {string} teamAccount - address
|
|
161
161
|
* @returns {string} encode data
|
|
162
162
|
*/
|
|
163
|
-
export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string):
|
|
163
|
+
export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string): any;
|
|
164
164
|
/**
|
|
165
165
|
* encode createCustomMintableERC20
|
|
166
166
|
* @param {string | number} initSupply - uint256
|
|
@@ -172,7 +172,7 @@ export declare function encodeERC20V3FactoryCreateCustomERC20(totalSupply: strin
|
|
|
172
172
|
* @param {string} teamAccount - address
|
|
173
173
|
* @returns {string} encode data
|
|
174
174
|
*/
|
|
175
|
-
export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string):
|
|
175
|
+
export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply: string | number, name: string, symbol: string, decimals: string | number, tradeBurnRatio: string | number, tradeFeeRatio: string | number, teamAccount: string): any;
|
|
176
176
|
/**
|
|
177
177
|
* encode createStdERC20
|
|
178
178
|
* @param {string | number} totalSupply - uint256
|
|
@@ -181,40 +181,40 @@ export declare function encodeERC20V3FactoryCreateCustomMintableERC20(initSupply
|
|
|
181
181
|
* @param {string | number} decimals - uint8
|
|
182
182
|
* @returns {string} encode data
|
|
183
183
|
*/
|
|
184
|
-
export declare function encodeERC20V3FactoryCreateStdERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number):
|
|
184
|
+
export declare function encodeERC20V3FactoryCreateStdERC20(totalSupply: string | number, name: string, symbol: string, decimals: string | number): any;
|
|
185
185
|
/**
|
|
186
186
|
* encode initOwner
|
|
187
187
|
* @param {string} newOwner - address
|
|
188
188
|
* @returns {string} encode data
|
|
189
189
|
*/
|
|
190
|
-
export declare function encodeERC20V3FactoryInitOwner(newOwner: string):
|
|
190
|
+
export declare function encodeERC20V3FactoryInitOwner(newOwner: string): any;
|
|
191
191
|
/**
|
|
192
192
|
* encode transferOwnership
|
|
193
193
|
* @param {string} newOwner - address
|
|
194
194
|
* @returns {string} encode data
|
|
195
195
|
*/
|
|
196
|
-
export declare function encodeERC20V3FactoryTransferOwnership(newOwner: string):
|
|
196
|
+
export declare function encodeERC20V3FactoryTransferOwnership(newOwner: string): any;
|
|
197
197
|
/**
|
|
198
198
|
* encode updateCustomMintableTemplate
|
|
199
199
|
* @param {string} newCustomMintableTemplate - address
|
|
200
200
|
* @returns {string} encode data
|
|
201
201
|
*/
|
|
202
|
-
export declare function encodeERC20V3FactoryUpdateCustomMintableTemplate(newCustomMintableTemplate: string):
|
|
202
|
+
export declare function encodeERC20V3FactoryUpdateCustomMintableTemplate(newCustomMintableTemplate: string): any;
|
|
203
203
|
/**
|
|
204
204
|
* encode updateCustomTemplate
|
|
205
205
|
* @param {string} newCustomTemplate - address
|
|
206
206
|
* @returns {string} encode data
|
|
207
207
|
*/
|
|
208
|
-
export declare function encodeERC20V3FactoryUpdateCustomTemplate(newCustomTemplate: string):
|
|
208
|
+
export declare function encodeERC20V3FactoryUpdateCustomTemplate(newCustomTemplate: string): any;
|
|
209
209
|
/**
|
|
210
210
|
* encode updateStdTemplate
|
|
211
211
|
* @param {string} newStdTemplate - address
|
|
212
212
|
* @returns {string} encode data
|
|
213
213
|
*/
|
|
214
|
-
export declare function encodeERC20V3FactoryUpdateStdTemplate(newStdTemplate: string):
|
|
214
|
+
export declare function encodeERC20V3FactoryUpdateStdTemplate(newStdTemplate: string): any;
|
|
215
215
|
/**
|
|
216
216
|
* encode withdraw
|
|
217
217
|
|
|
218
218
|
* @returns {string} encode data
|
|
219
219
|
*/
|
|
220
|
-
export declare function encodeERC20V3FactoryWithdraw():
|
|
220
|
+
export declare function encodeERC20V3FactoryWithdraw(): any;
|
|
@@ -144,7 +144,7 @@ export declare function getFetchFeeRateDIP3ImplVersionQueryOptions(chainId: numb
|
|
|
144
144
|
* @param {string} userAddr - address
|
|
145
145
|
* @returns {string} encode data
|
|
146
146
|
*/
|
|
147
|
-
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string):
|
|
147
|
+
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): any;
|
|
148
148
|
/**
|
|
149
149
|
* encode addCpPoolInfo
|
|
150
150
|
* @param {string} cpPool - address
|
|
@@ -154,25 +154,25 @@ export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): str
|
|
|
154
154
|
* @param {string} quotaAddr - address
|
|
155
155
|
* @returns {string} encode data
|
|
156
156
|
*/
|
|
157
|
-
export declare function encodeFeeRateDIP3ImplAddCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string):
|
|
157
|
+
export declare function encodeFeeRateDIP3ImplAddCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string): any;
|
|
158
158
|
/**
|
|
159
159
|
* encode claimOwnership
|
|
160
160
|
|
|
161
161
|
* @returns {string} encode data
|
|
162
162
|
*/
|
|
163
|
-
export declare function encodeFeeRateDIP3ImplClaimOwnership():
|
|
163
|
+
export declare function encodeFeeRateDIP3ImplClaimOwnership(): any;
|
|
164
164
|
/**
|
|
165
165
|
* encode initOwner
|
|
166
166
|
* @param {string} newOwner - address
|
|
167
167
|
* @returns {string} encode data
|
|
168
168
|
*/
|
|
169
|
-
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string):
|
|
169
|
+
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string): any;
|
|
170
170
|
/**
|
|
171
171
|
* encode removeAdminList
|
|
172
172
|
* @param {string} userAddr - address
|
|
173
173
|
* @returns {string} encode data
|
|
174
174
|
*/
|
|
175
|
-
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
175
|
+
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string): any;
|
|
176
176
|
/**
|
|
177
177
|
* encode setCpPoolInfo
|
|
178
178
|
* @param {string} cpPool - address
|
|
@@ -182,36 +182,36 @@ export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
|
182
182
|
* @param {string} quotaAddr - address
|
|
183
183
|
* @returns {string} encode data
|
|
184
184
|
*/
|
|
185
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string):
|
|
185
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolInfo(cpPool: string, quoteToken: string, globalQuota: string | number, feeAddr: string, quotaAddr: string): any;
|
|
186
186
|
/**
|
|
187
187
|
* encode setCpPoolQuotaAddr
|
|
188
188
|
* @param {string} cpPool - address
|
|
189
189
|
* @param {string} quotaAddr - address
|
|
190
190
|
* @returns {string} encode data
|
|
191
191
|
*/
|
|
192
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string):
|
|
192
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string): any;
|
|
193
193
|
/**
|
|
194
194
|
* encode setLpMtRatio
|
|
195
195
|
* @param {string | number} newLpMtRatio - uint256
|
|
196
196
|
* @returns {string} encode data
|
|
197
197
|
*/
|
|
198
|
-
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string | number):
|
|
198
|
+
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string | number): any;
|
|
199
199
|
/**
|
|
200
200
|
* encode setPoolHeartBeat
|
|
201
201
|
* @param {string} newPoolHeartBeat - address
|
|
202
202
|
* @returns {string} encode data
|
|
203
203
|
*/
|
|
204
|
-
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string):
|
|
204
|
+
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string): any;
|
|
205
205
|
/**
|
|
206
206
|
* encode setSpecPoolList
|
|
207
207
|
* @param {string} poolAddr - address
|
|
208
208
|
* @param {string | number} mtFeeRate - uint256
|
|
209
209
|
* @returns {string} encode data
|
|
210
210
|
*/
|
|
211
|
-
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string | number):
|
|
211
|
+
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string | number): any;
|
|
212
212
|
/**
|
|
213
213
|
* encode transferOwnership
|
|
214
214
|
* @param {string} newOwner - address
|
|
215
215
|
* @returns {string} encode data
|
|
216
216
|
*/
|
|
217
|
-
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string):
|
|
217
|
+
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string): any;
|
|
@@ -52,22 +52,22 @@ export declare function getFetchFeeRateModelGetFeeRateQueryOptions(chainId: numb
|
|
|
52
52
|
|
|
53
53
|
* @returns {string} encode data
|
|
54
54
|
*/
|
|
55
|
-
export declare function encodeFeeRateModelClaimOwnership():
|
|
55
|
+
export declare function encodeFeeRateModelClaimOwnership(): any;
|
|
56
56
|
/**
|
|
57
57
|
* encode initOwner
|
|
58
58
|
* @param {string} newOwner - address
|
|
59
59
|
* @returns {string} encode data
|
|
60
60
|
*/
|
|
61
|
-
export declare function encodeFeeRateModelInitOwner(newOwner: string):
|
|
61
|
+
export declare function encodeFeeRateModelInitOwner(newOwner: string): any;
|
|
62
62
|
/**
|
|
63
63
|
* encode setFeeProxy
|
|
64
64
|
* @param {string} _feeRateImpl - address
|
|
65
65
|
* @returns {string} encode data
|
|
66
66
|
*/
|
|
67
|
-
export declare function encodeFeeRateModelSetFeeProxy(_feeRateImpl: string):
|
|
67
|
+
export declare function encodeFeeRateModelSetFeeProxy(_feeRateImpl: string): any;
|
|
68
68
|
/**
|
|
69
69
|
* encode transferOwnership
|
|
70
70
|
* @param {string} newOwner - address
|
|
71
71
|
* @returns {string} encode data
|
|
72
72
|
*/
|
|
73
|
-
export declare function encodeFeeRateModelTransferOwnership(newOwner: string):
|
|
73
|
+
export declare function encodeFeeRateModelTransferOwnership(newOwner: string): any;
|
|
@@ -590,56 +590,56 @@ export declare function getFetchGSPVersionQueryOptions(chainId: number | undefin
|
|
|
590
590
|
* @param {string | number} k - uint256
|
|
591
591
|
* @returns {string} encode data
|
|
592
592
|
*/
|
|
593
|
-
export declare function encodeGSPAdjustK(k: string | number):
|
|
593
|
+
export declare function encodeGSPAdjustK(k: string | number): any;
|
|
594
594
|
/**
|
|
595
595
|
* encode adjustLpFeeRate
|
|
596
596
|
* @param {string | number} lpFeeRate - uint256
|
|
597
597
|
* @returns {string} encode data
|
|
598
598
|
*/
|
|
599
|
-
export declare function encodeGSPAdjustLpFeeRate(lpFeeRate: string | number):
|
|
599
|
+
export declare function encodeGSPAdjustLpFeeRate(lpFeeRate: string | number): any;
|
|
600
600
|
/**
|
|
601
601
|
* encode adjustMtFeeRate
|
|
602
602
|
* @param {string | number} mtFeeRate - uint256
|
|
603
603
|
* @returns {string} encode data
|
|
604
604
|
*/
|
|
605
|
-
export declare function encodeGSPAdjustMtFeeRate(mtFeeRate: string | number):
|
|
605
|
+
export declare function encodeGSPAdjustMtFeeRate(mtFeeRate: string | number): any;
|
|
606
606
|
/**
|
|
607
607
|
* encode adjustPrice
|
|
608
608
|
* @param {string | number} i - uint256
|
|
609
609
|
* @returns {string} encode data
|
|
610
610
|
*/
|
|
611
|
-
export declare function encodeGSPAdjustPrice(i: string | number):
|
|
611
|
+
export declare function encodeGSPAdjustPrice(i: string | number): any;
|
|
612
612
|
/**
|
|
613
613
|
* encode adjustPriceLimit
|
|
614
614
|
* @param {string | number} priceLimit - uint256
|
|
615
615
|
* @returns {string} encode data
|
|
616
616
|
*/
|
|
617
|
-
export declare function encodeGSPAdjustPriceLimit(priceLimit: string | number):
|
|
617
|
+
export declare function encodeGSPAdjustPriceLimit(priceLimit: string | number): any;
|
|
618
618
|
/**
|
|
619
619
|
* encode approve
|
|
620
620
|
* @param {string} spender - address
|
|
621
621
|
* @param {string | number} amount - uint256
|
|
622
622
|
* @returns {string} encode data
|
|
623
623
|
*/
|
|
624
|
-
export declare function encodeGSPApprove(spender: string, amount: string | number):
|
|
624
|
+
export declare function encodeGSPApprove(spender: string, amount: string | number): any;
|
|
625
625
|
/**
|
|
626
626
|
* encode buildDomainSeparator
|
|
627
627
|
|
|
628
628
|
* @returns {string} encode data
|
|
629
629
|
*/
|
|
630
|
-
export declare function encodeGSPBuildDomainSeparator():
|
|
630
|
+
export declare function encodeGSPBuildDomainSeparator(): any;
|
|
631
631
|
/**
|
|
632
632
|
* encode buyShares
|
|
633
633
|
* @param {string} to - address
|
|
634
634
|
* @returns {string} encode data
|
|
635
635
|
*/
|
|
636
|
-
export declare function encodeGSPBuyShares(to: string):
|
|
636
|
+
export declare function encodeGSPBuyShares(to: string): any;
|
|
637
637
|
/**
|
|
638
638
|
* encode correctRState
|
|
639
639
|
|
|
640
640
|
* @returns {string} encode data
|
|
641
641
|
*/
|
|
642
|
-
export declare function encodeGSPCorrectRState():
|
|
642
|
+
export declare function encodeGSPCorrectRState(): any;
|
|
643
643
|
/**
|
|
644
644
|
* encode flashLoan
|
|
645
645
|
* @param {string | number} baseAmount - uint256
|
|
@@ -648,7 +648,7 @@ export declare function encodeGSPCorrectRState(): string;
|
|
|
648
648
|
* @param {string} data - bytes
|
|
649
649
|
* @returns {string} encode data
|
|
650
650
|
*/
|
|
651
|
-
export declare function encodeGSPFlashLoan(baseAmount: string | number, quoteAmount: string | number, assetTo: string, data: string):
|
|
651
|
+
export declare function encodeGSPFlashLoan(baseAmount: string | number, quoteAmount: string | number, assetTo: string, data: string): any;
|
|
652
652
|
/**
|
|
653
653
|
* encode init
|
|
654
654
|
* @param {string} maintainer - address
|
|
@@ -663,7 +663,7 @@ export declare function encodeGSPFlashLoan(baseAmount: string | number, quoteAmo
|
|
|
663
663
|
* @param {boolean} isOpenTWAP - bool
|
|
664
664
|
* @returns {string} encode data
|
|
665
665
|
*/
|
|
666
|
-
export declare function encodeGSPInit(maintainer: string, admin: string, baseTokenAddress: string, quoteTokenAddress: string, lpFeeRate: string | number, mtFeeRate: string | number, i: string | number, k: string | number, priceLimit: string | number, isOpenTWAP: boolean):
|
|
666
|
+
export declare function encodeGSPInit(maintainer: string, admin: string, baseTokenAddress: string, quoteTokenAddress: string, lpFeeRate: string | number, mtFeeRate: string | number, i: string | number, k: string | number, priceLimit: string | number, isOpenTWAP: boolean): any;
|
|
667
667
|
/**
|
|
668
668
|
* encode permit
|
|
669
669
|
* @param {string} owner - address
|
|
@@ -675,19 +675,19 @@ export declare function encodeGSPInit(maintainer: string, admin: string, baseTok
|
|
|
675
675
|
* @param {string} s - bytes32
|
|
676
676
|
* @returns {string} encode data
|
|
677
677
|
*/
|
|
678
|
-
export declare function encodeGSPPermit(owner: string, spender: string, value: string | number, deadline: string | number, v: string | number, r: string, s: string):
|
|
678
|
+
export declare function encodeGSPPermit(owner: string, spender: string, value: string | number, deadline: string | number, v: string | number, r: string, s: string): any;
|
|
679
679
|
/**
|
|
680
680
|
* encode sellBase
|
|
681
681
|
* @param {string} to - address
|
|
682
682
|
* @returns {string} encode data
|
|
683
683
|
*/
|
|
684
|
-
export declare function encodeGSPSellBase(to: string):
|
|
684
|
+
export declare function encodeGSPSellBase(to: string): any;
|
|
685
685
|
/**
|
|
686
686
|
* encode sellQuote
|
|
687
687
|
* @param {string} to - address
|
|
688
688
|
* @returns {string} encode data
|
|
689
689
|
*/
|
|
690
|
-
export declare function encodeGSPSellQuote(to: string):
|
|
690
|
+
export declare function encodeGSPSellQuote(to: string): any;
|
|
691
691
|
/**
|
|
692
692
|
* encode sellShares
|
|
693
693
|
* @param {string | number} shareAmount - uint256
|
|
@@ -698,20 +698,20 @@ export declare function encodeGSPSellQuote(to: string): string;
|
|
|
698
698
|
* @param {string | number} deadline - uint256
|
|
699
699
|
* @returns {string} encode data
|
|
700
700
|
*/
|
|
701
|
-
export declare function encodeGSPSellShares(shareAmount: string | number, to: string, baseMinAmount: string | number, quoteMinAmount: string | number, data: string, deadline: string | number):
|
|
701
|
+
export declare function encodeGSPSellShares(shareAmount: string | number, to: string, baseMinAmount: string | number, quoteMinAmount: string | number, data: string, deadline: string | number): any;
|
|
702
702
|
/**
|
|
703
703
|
* encode sync
|
|
704
704
|
|
|
705
705
|
* @returns {string} encode data
|
|
706
706
|
*/
|
|
707
|
-
export declare function encodeGSPSync():
|
|
707
|
+
export declare function encodeGSPSync(): any;
|
|
708
708
|
/**
|
|
709
709
|
* encode transfer
|
|
710
710
|
* @param {string} to - address
|
|
711
711
|
* @param {string | number} amount - uint256
|
|
712
712
|
* @returns {string} encode data
|
|
713
713
|
*/
|
|
714
|
-
export declare function encodeGSPTransfer(to: string, amount: string | number):
|
|
714
|
+
export declare function encodeGSPTransfer(to: string, amount: string | number): any;
|
|
715
715
|
/**
|
|
716
716
|
* encode transferFrom
|
|
717
717
|
* @param {string} from - address
|
|
@@ -719,10 +719,10 @@ export declare function encodeGSPTransfer(to: string, amount: string | number):
|
|
|
719
719
|
* @param {string | number} amount - uint256
|
|
720
720
|
* @returns {string} encode data
|
|
721
721
|
*/
|
|
722
|
-
export declare function encodeGSPTransferFrom(from: string, to: string, amount: string | number):
|
|
722
|
+
export declare function encodeGSPTransferFrom(from: string, to: string, amount: string | number): any;
|
|
723
723
|
/**
|
|
724
724
|
* encode withdrawMtFeeTotal
|
|
725
725
|
|
|
726
726
|
* @returns {string} encode data
|
|
727
727
|
*/
|
|
728
|
-
export declare function encodeGSPWithdrawMtFeeTotal():
|
|
728
|
+
export declare function encodeGSPWithdrawMtFeeTotal(): any;
|