Fix JSDoc typings for getGasLimit function in parent fee oracle abstract class
This commit is contained in:
parent
fb772fa300
commit
583f3e90dd
@ -121,9 +121,10 @@ export abstract class TornadoFeeOracle implements ITornadoFeeOracle {
|
|||||||
* Estimates gas limit for transaction (or basic gas limit, if no tx data provided)
|
* Estimates gas limit for transaction (or basic gas limit, if no tx data provided)
|
||||||
* @param {TransactionData} tx Transaction data (object in web3 / ethers format)
|
* @param {TransactionData} tx Transaction data (object in web3 / ethers format)
|
||||||
* @param {TxType} type Tornado transaction type: withdrawal by user, withdrawal by relayer, relayer fee check or 'other'
|
* @param {TxType} type Tornado transaction type: withdrawal by user, withdrawal by relayer, relayer fee check or 'other'
|
||||||
|
* @param {number} bumpPercent Gas bump percent to prioritize transaction
|
||||||
* @returns {Promise<number>} Gas limit
|
* @returns {Promise<number>} Gas limit
|
||||||
*/
|
*/
|
||||||
abstract getGasLimit(tx?: TransactionData, type?: TxType): Promise<number>;
|
abstract getGasLimit(tx?: TransactionData, type?: TxType, bumpPercent?: number): Promise<number>;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* If user withdraw non-native tokens on ETH or Goerli, we need to calculate refund value:
|
* If user withdraw non-native tokens on ETH or Goerli, we need to calculate refund value:
|
||||||
|
Loading…
Reference in New Issue
Block a user