@dodoex/dodo-contract-request 1.25.0-alpha.1 → 1.25.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 +22 -69
- package/contract-config/berachain.json +2 -4
- package/contract-config/sepolia.json +1 -3
- package/dist/index.cjs +1 -1
- package/dist/index.js +1 -1
- package/dist/types/config/index.d.ts +0 -6
- package/dist/types/config/sepolia.d.ts +0 -2
- 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 +10 -10
- 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 +32 -41
- 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/dist/types/index.d.ts +0 -4
- package/package.json +1 -1
- package/src/config/index.ts +1 -13
- package/src/config/sepolia.ts +1 -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/DODODspProxyWithoutGSP.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/FeeRateDIP3Impl.ts +75 -61
- package/src/contract/GSPFactory.ts +1 -1
- package/src/contract/Multicall.ts +1 -1
- package/src/contract/MulticallWithValid.ts +1 -1
- package/src/contract/NonfungiblePositionManager.ts +1 -1
- package/src/contract/UniswapV2Factory.ts +1 -1
- package/src/contract/UniswapV2Router02.ts +1 -1
- package/src/contract/UniswapV3Factory.ts +1 -1
- package/src/index.ts +0 -4
- package/.cache/contract-info/DFTManager.json +0 -2832
- package/.cache/contract-info/ICHIVault.json +0 -787
- package/.cache/contract-info/RWAManager.json +0 -1
- package/.cache/contract-info/RWAToken.json +0 -1
- package/contract-config/birdlayer.json +0 -66
- package/contract-config/zetachain-testnet.json +0 -68
- package/contract-config/zetachain.json +0 -61
- package/dist/types/config/birdlayer.d.ts +0 -29
- package/dist/types/config/zetachain-testnet.d.ts +0 -32
- package/dist/types/config/zetachain.d.ts +0 -30
- package/dist/types/contract/DFTManager.d.ts +0 -994
- package/dist/types/contract/ICHIVault.d.ts +0 -516
- package/dist/types/contract/RWAManager.d.ts +0 -264
- package/dist/types/contract/RWAToken.d.ts +0 -179
- package/src/config/birdlayer.ts +0 -4
- package/src/config/zetachain-testnet.ts +0 -4
- package/src/config/zetachain.ts +0 -4
- package/src/contract/DFTManager.ts +0 -1222
- package/src/contract/ICHIVault.ts +0 -863
- package/src/contract/RWAManager.ts +0 -479
- package/src/contract/RWAToken.ts +0 -330
|
@@ -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): string;
|
|
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(): string;
|
|
155
155
|
/**
|
|
156
156
|
* encode createDODOVendingMachine
|
|
157
157
|
* @param {string} baseToken - address
|
|
@@ -162,13 +162,13 @@ export declare function encodeDVMFactoryClaimOwnership(): any;
|
|
|
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): string;
|
|
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): string;
|
|
172
172
|
/**
|
|
173
173
|
* encode removePoolByAdmin
|
|
174
174
|
* @param {string} creator - address
|
|
@@ -177,16 +177,16 @@ export declare function encodeDVMFactoryInitOwner(newOwner: string): any;
|
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
@@ -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): string;
|
|
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): a
|
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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(): string;
|
|
@@ -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): string;
|
|
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(): string;
|
|
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(): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
@@ -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): string;
|
|
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(): string;
|
|
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(): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
@@ -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): string;
|
|
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(): string;
|
|
152
152
|
/**
|
|
153
153
|
* encode createCustomERC20
|
|
154
154
|
* @param {string | number} totalSupply - uint256
|
|
@@ -160,7 +160,7 @@ export declare function encodeERC20V3FactoryClaimOwnership(): any;
|
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|
|
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(): string;
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
+
export declare function getFeeRateDIP3ImplContractAddressByChainId(chainId: number): string;
|
|
1
2
|
/**
|
|
2
3
|
* fetch _LP_MT_RATIO_
|
|
3
4
|
* @param {number} chainId - number
|
|
4
|
-
* @param {string} __to - string
|
|
5
5
|
* @returns {bigint} __output0 - uint256
|
|
6
6
|
*/
|
|
7
|
-
export declare function fetchFeeRateDIP3Impl_LP_MT_RATIO_(chainId: number
|
|
8
|
-
export declare function getFetchFeeRateDIP3Impl_LP_MT_RATIO_QueryOptions(chainId: number | undefined
|
|
7
|
+
export declare function fetchFeeRateDIP3Impl_LP_MT_RATIO_(chainId: number): Promise<bigint>;
|
|
8
|
+
export declare function getFetchFeeRateDIP3Impl_LP_MT_RATIO_QueryOptions(chainId: number | undefined): {
|
|
9
9
|
queryKey: (string | number | undefined)[];
|
|
10
10
|
enabled: boolean;
|
|
11
11
|
queryFn: () => Promise<bigint>;
|
|
@@ -13,11 +13,10 @@ export declare function getFetchFeeRateDIP3Impl_LP_MT_RATIO_QueryOptions(chainId
|
|
|
13
13
|
/**
|
|
14
14
|
* fetch _NEW_OWNER_
|
|
15
15
|
* @param {number} chainId - number
|
|
16
|
-
* @param {string} __to - string
|
|
17
16
|
* @returns {string} __output0 - address
|
|
18
17
|
*/
|
|
19
|
-
export declare function fetchFeeRateDIP3Impl_NEW_OWNER_(chainId: number
|
|
20
|
-
export declare function getFetchFeeRateDIP3Impl_NEW_OWNER_QueryOptions(chainId: number | undefined
|
|
18
|
+
export declare function fetchFeeRateDIP3Impl_NEW_OWNER_(chainId: number): Promise<string>;
|
|
19
|
+
export declare function getFetchFeeRateDIP3Impl_NEW_OWNER_QueryOptions(chainId: number | undefined): {
|
|
21
20
|
queryKey: (string | number | undefined)[];
|
|
22
21
|
enabled: boolean;
|
|
23
22
|
queryFn: () => Promise<string>;
|
|
@@ -25,11 +24,10 @@ export declare function getFetchFeeRateDIP3Impl_NEW_OWNER_QueryOptions(chainId:
|
|
|
25
24
|
/**
|
|
26
25
|
* fetch _OWNER_
|
|
27
26
|
* @param {number} chainId - number
|
|
28
|
-
* @param {string} __to - string
|
|
29
27
|
* @returns {string} __output0 - address
|
|
30
28
|
*/
|
|
31
|
-
export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number
|
|
32
|
-
export declare function getFetchFeeRateDIP3Impl_OWNER_QueryOptions(chainId: number | undefined
|
|
29
|
+
export declare function fetchFeeRateDIP3Impl_OWNER_(chainId: number): Promise<string>;
|
|
30
|
+
export declare function getFetchFeeRateDIP3Impl_OWNER_QueryOptions(chainId: number | undefined): {
|
|
33
31
|
queryKey: (string | number | undefined)[];
|
|
34
32
|
enabled: boolean;
|
|
35
33
|
queryFn: () => Promise<string>;
|
|
@@ -37,20 +35,19 @@ export declare function getFetchFeeRateDIP3Impl_OWNER_QueryOptions(chainId: numb
|
|
|
37
35
|
/**
|
|
38
36
|
* fetch cpPools
|
|
39
37
|
* @param {number} chainId - number
|
|
40
|
-
* @param {string} __to - string
|
|
41
38
|
* @param {string} __input1 - address
|
|
42
39
|
* @returns {string} quoteToken - address
|
|
43
40
|
* @returns {bigint} globalQuota - int256
|
|
44
41
|
* @returns {string} feeAddr - address
|
|
45
42
|
* @returns {string} quotaAddr - address
|
|
46
43
|
*/
|
|
47
|
-
export declare function fetchFeeRateDIP3ImplCpPools(chainId: number,
|
|
44
|
+
export declare function fetchFeeRateDIP3ImplCpPools(chainId: number, __input1: string): Promise<{
|
|
48
45
|
quoteToken: string;
|
|
49
46
|
globalQuota: bigint;
|
|
50
47
|
feeAddr: string;
|
|
51
48
|
quotaAddr: string;
|
|
52
49
|
}>;
|
|
53
|
-
export declare function getFetchFeeRateDIP3ImplCpPoolsQueryOptions(chainId: number | undefined,
|
|
50
|
+
export declare function getFetchFeeRateDIP3ImplCpPoolsQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
54
51
|
queryKey: (string | number | undefined)[];
|
|
55
52
|
enabled: boolean;
|
|
56
53
|
queryFn: () => Promise<{
|
|
@@ -63,19 +60,18 @@ export declare function getFetchFeeRateDIP3ImplCpPoolsQueryOptions(chainId: numb
|
|
|
63
60
|
/**
|
|
64
61
|
* fetch getCPInfoByUser
|
|
65
62
|
* @param {number} chainId - number
|
|
66
|
-
* @param {string} __to - string
|
|
67
63
|
* @param {string} pool - address
|
|
68
64
|
* @param {string} user - address
|
|
69
65
|
* @returns {boolean} isHaveCap - bool
|
|
70
66
|
* @returns {bigint} curQuota - int256
|
|
71
67
|
* @returns {bigint} userFee - uint256
|
|
72
68
|
*/
|
|
73
|
-
export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number,
|
|
69
|
+
export declare function fetchFeeRateDIP3ImplGetCPInfoByUser(chainId: number, pool: string, user: string): Promise<{
|
|
74
70
|
isHaveCap: boolean;
|
|
75
71
|
curQuota: bigint;
|
|
76
72
|
userFee: bigint;
|
|
77
73
|
}>;
|
|
78
|
-
export declare function getFetchFeeRateDIP3ImplGetCPInfoByUserQueryOptions(chainId: number | undefined,
|
|
74
|
+
export declare function getFetchFeeRateDIP3ImplGetCPInfoByUserQueryOptions(chainId: number | undefined, pool: string | undefined, user: string | undefined): {
|
|
79
75
|
queryKey: (string | number | undefined)[];
|
|
80
76
|
enabled: boolean;
|
|
81
77
|
queryFn: () => Promise<{
|
|
@@ -87,13 +83,12 @@ export declare function getFetchFeeRateDIP3ImplGetCPInfoByUserQueryOptions(chain
|
|
|
87
83
|
/**
|
|
88
84
|
* fetch getFeeRate
|
|
89
85
|
* @param {number} chainId - number
|
|
90
|
-
* @param {string} __to - string
|
|
91
86
|
* @param {string} pool - address
|
|
92
87
|
* @param {string} user - address
|
|
93
88
|
* @returns {bigint} __output0 - uint256
|
|
94
89
|
*/
|
|
95
|
-
export declare function fetchFeeRateDIP3ImplGetFeeRate(chainId: number,
|
|
96
|
-
export declare function getFetchFeeRateDIP3ImplGetFeeRateQueryOptions(chainId: number | undefined,
|
|
90
|
+
export declare function fetchFeeRateDIP3ImplGetFeeRate(chainId: number, pool: string, user: string): Promise<bigint>;
|
|
91
|
+
export declare function getFetchFeeRateDIP3ImplGetFeeRateQueryOptions(chainId: number | undefined, pool: string | undefined, user: string | undefined): {
|
|
97
92
|
queryKey: (string | number | undefined)[];
|
|
98
93
|
enabled: boolean;
|
|
99
94
|
queryFn: () => Promise<bigint>;
|
|
@@ -101,12 +96,11 @@ export declare function getFetchFeeRateDIP3ImplGetFeeRateQueryOptions(chainId: n
|
|
|
101
96
|
/**
|
|
102
97
|
* fetch isAdminListed
|
|
103
98
|
* @param {number} chainId - number
|
|
104
|
-
* @param {string} __to - string
|
|
105
99
|
* @param {string} __input1 - address
|
|
106
100
|
* @returns {boolean} __output0 - bool
|
|
107
101
|
*/
|
|
108
|
-
export declare function fetchFeeRateDIP3ImplIsAdminListed(chainId: number,
|
|
109
|
-
export declare function getFetchFeeRateDIP3ImplIsAdminListedQueryOptions(chainId: number | undefined,
|
|
102
|
+
export declare function fetchFeeRateDIP3ImplIsAdminListed(chainId: number, __input1: string): Promise<boolean>;
|
|
103
|
+
export declare function getFetchFeeRateDIP3ImplIsAdminListedQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
110
104
|
queryKey: (string | number | undefined)[];
|
|
111
105
|
enabled: boolean;
|
|
112
106
|
queryFn: () => Promise<boolean>;
|
|
@@ -114,11 +108,10 @@ export declare function getFetchFeeRateDIP3ImplIsAdminListedQueryOptions(chainId
|
|
|
114
108
|
/**
|
|
115
109
|
* fetch poolHeartBeat
|
|
116
110
|
* @param {number} chainId - number
|
|
117
|
-
* @param {string} __to - string
|
|
118
111
|
* @returns {string} __output0 - address
|
|
119
112
|
*/
|
|
120
|
-
export declare function fetchFeeRateDIP3ImplPoolHeartBeat(chainId: number
|
|
121
|
-
export declare function getFetchFeeRateDIP3ImplPoolHeartBeatQueryOptions(chainId: number | undefined
|
|
113
|
+
export declare function fetchFeeRateDIP3ImplPoolHeartBeat(chainId: number): Promise<string>;
|
|
114
|
+
export declare function getFetchFeeRateDIP3ImplPoolHeartBeatQueryOptions(chainId: number | undefined): {
|
|
122
115
|
queryKey: (string | number | undefined)[];
|
|
123
116
|
enabled: boolean;
|
|
124
117
|
queryFn: () => Promise<string>;
|
|
@@ -126,12 +119,11 @@ export declare function getFetchFeeRateDIP3ImplPoolHeartBeatQueryOptions(chainId
|
|
|
126
119
|
/**
|
|
127
120
|
* fetch specPoolList
|
|
128
121
|
* @param {number} chainId - number
|
|
129
|
-
* @param {string} __to - string
|
|
130
122
|
* @param {string} __input1 - address
|
|
131
123
|
* @returns {bigint} __output0 - uint256
|
|
132
124
|
*/
|
|
133
|
-
export declare function fetchFeeRateDIP3ImplSpecPoolList(chainId: number,
|
|
134
|
-
export declare function getFetchFeeRateDIP3ImplSpecPoolListQueryOptions(chainId: number | undefined,
|
|
125
|
+
export declare function fetchFeeRateDIP3ImplSpecPoolList(chainId: number, __input1: string): Promise<bigint>;
|
|
126
|
+
export declare function getFetchFeeRateDIP3ImplSpecPoolListQueryOptions(chainId: number | undefined, __input1: string | undefined): {
|
|
135
127
|
queryKey: (string | number | undefined)[];
|
|
136
128
|
enabled: boolean;
|
|
137
129
|
queryFn: () => Promise<bigint>;
|
|
@@ -139,11 +131,10 @@ export declare function getFetchFeeRateDIP3ImplSpecPoolListQueryOptions(chainId:
|
|
|
139
131
|
/**
|
|
140
132
|
* fetch version
|
|
141
133
|
* @param {number} chainId - number
|
|
142
|
-
* @param {string} __to - string
|
|
143
134
|
* @returns {string} __output0 - string
|
|
144
135
|
*/
|
|
145
|
-
export declare function fetchFeeRateDIP3ImplVersion(chainId: number
|
|
146
|
-
export declare function getFetchFeeRateDIP3ImplVersionQueryOptions(chainId: number | undefined
|
|
136
|
+
export declare function fetchFeeRateDIP3ImplVersion(chainId: number): Promise<string>;
|
|
137
|
+
export declare function getFetchFeeRateDIP3ImplVersionQueryOptions(chainId: number | undefined): {
|
|
147
138
|
queryKey: (string | number | undefined)[];
|
|
148
139
|
enabled: boolean;
|
|
149
140
|
queryFn: () => Promise<string>;
|
|
@@ -153,7 +144,7 @@ export declare function getFetchFeeRateDIP3ImplVersionQueryOptions(chainId: numb
|
|
|
153
144
|
* @param {string} userAddr - address
|
|
154
145
|
* @returns {string} encode data
|
|
155
146
|
*/
|
|
156
|
-
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string):
|
|
147
|
+
export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): string;
|
|
157
148
|
/**
|
|
158
149
|
* encode addCpPoolInfo
|
|
159
150
|
* @param {string} cpPool - address
|
|
@@ -163,25 +154,25 @@ export declare function encodeFeeRateDIP3ImplAddAdminList(userAddr: string): any
|
|
|
163
154
|
* @param {string} quotaAddr - address
|
|
164
155
|
* @returns {string} encode data
|
|
165
156
|
*/
|
|
166
|
-
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): string;
|
|
167
158
|
/**
|
|
168
159
|
* encode claimOwnership
|
|
169
160
|
|
|
170
161
|
* @returns {string} encode data
|
|
171
162
|
*/
|
|
172
|
-
export declare function encodeFeeRateDIP3ImplClaimOwnership():
|
|
163
|
+
export declare function encodeFeeRateDIP3ImplClaimOwnership(): string;
|
|
173
164
|
/**
|
|
174
165
|
* encode initOwner
|
|
175
166
|
* @param {string} newOwner - address
|
|
176
167
|
* @returns {string} encode data
|
|
177
168
|
*/
|
|
178
|
-
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string):
|
|
169
|
+
export declare function encodeFeeRateDIP3ImplInitOwner(newOwner: string): string;
|
|
179
170
|
/**
|
|
180
171
|
* encode removeAdminList
|
|
181
172
|
* @param {string} userAddr - address
|
|
182
173
|
* @returns {string} encode data
|
|
183
174
|
*/
|
|
184
|
-
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
175
|
+
export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string): string;
|
|
185
176
|
/**
|
|
186
177
|
* encode setCpPoolInfo
|
|
187
178
|
* @param {string} cpPool - address
|
|
@@ -191,36 +182,36 @@ export declare function encodeFeeRateDIP3ImplRemoveAdminList(userAddr: string):
|
|
|
191
182
|
* @param {string} quotaAddr - address
|
|
192
183
|
* @returns {string} encode data
|
|
193
184
|
*/
|
|
194
|
-
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): string;
|
|
195
186
|
/**
|
|
196
187
|
* encode setCpPoolQuotaAddr
|
|
197
188
|
* @param {string} cpPool - address
|
|
198
189
|
* @param {string} quotaAddr - address
|
|
199
190
|
* @returns {string} encode data
|
|
200
191
|
*/
|
|
201
|
-
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string):
|
|
192
|
+
export declare function encodeFeeRateDIP3ImplSetCpPoolQuotaAddr(cpPool: string, quotaAddr: string): string;
|
|
202
193
|
/**
|
|
203
194
|
* encode setLpMtRatio
|
|
204
195
|
* @param {string | number} newLpMtRatio - uint256
|
|
205
196
|
* @returns {string} encode data
|
|
206
197
|
*/
|
|
207
|
-
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string | number):
|
|
198
|
+
export declare function encodeFeeRateDIP3ImplSetLpMtRatio(newLpMtRatio: string | number): string;
|
|
208
199
|
/**
|
|
209
200
|
* encode setPoolHeartBeat
|
|
210
201
|
* @param {string} newPoolHeartBeat - address
|
|
211
202
|
* @returns {string} encode data
|
|
212
203
|
*/
|
|
213
|
-
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string):
|
|
204
|
+
export declare function encodeFeeRateDIP3ImplSetPoolHeartBeat(newPoolHeartBeat: string): string;
|
|
214
205
|
/**
|
|
215
206
|
* encode setSpecPoolList
|
|
216
207
|
* @param {string} poolAddr - address
|
|
217
208
|
* @param {string | number} mtFeeRate - uint256
|
|
218
209
|
* @returns {string} encode data
|
|
219
210
|
*/
|
|
220
|
-
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string | number):
|
|
211
|
+
export declare function encodeFeeRateDIP3ImplSetSpecPoolList(poolAddr: string, mtFeeRate: string | number): string;
|
|
221
212
|
/**
|
|
222
213
|
* encode transferOwnership
|
|
223
214
|
* @param {string} newOwner - address
|
|
224
215
|
* @returns {string} encode data
|
|
225
216
|
*/
|
|
226
|
-
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string):
|
|
217
|
+
export declare function encodeFeeRateDIP3ImplTransferOwnership(newOwner: string): string;
|
|
@@ -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(): string;
|
|
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): string;
|
|
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): string;
|
|
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): string;
|