diff --git a/package.json b/package.json index b24a7a6..12affa6 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "@tornado/tornado-oracles", - "version": "1.2.0", + "version": "1.2.1", "description": "Gas oracle for Tornado-specific transactions", "main": "./lib/index.js", "types": "./lib/index.d.ts", diff --git a/src/feeOracle.ts b/src/feeOracle.ts index 20bbcaf..2dfa716 100644 --- a/src/feeOracle.ts +++ b/src/feeOracle.ts @@ -138,7 +138,7 @@ export abstract class TornadoFeeOracle implements ITornadoFeeOracle { * @param {AvailableTokenSymbols | Uppercase} currency Currency symbol * @param {number | string } amount Withdrawal amount in selected currency * @param {number | string } decimals Token (currency) decimals - * @param {BigNumberish} [refund=0] Refund in ETH, if withdrawed other tokens on Mainnet (not ETH) + * @param {BigNumberish} [refundInEth=0] Refund in ETH, if withdrawed other tokens on Mainnet (not ETH) * @param {BigNumberish} [tokenPriceInEth] If withdrawing other token on Mainnet or Goerli, need to provide token price in ETH (in WEI) * @returns {Promise} Fee in WEI (hexed string) */ diff --git a/src/types.ts b/src/types.ts index fe707a1..e5ace0a 100644 --- a/src/types.ts +++ b/src/types.ts @@ -50,7 +50,7 @@ export interface ITornadoFeeOracle { currency: AvailableTokenSymbols, amount: string, decimals: number, - refund: BigNumberish, + refundInEth: BigNumberish, tokenPriceInEth?: BigNumberish, ) => Promise; }