Theo pushed to proposal-29 at tornadocash/classic-ui 2023-08-27 22:35:47 +03:00
9210330208 Change gas & fees calculations:
fb0a5131f4 Update events & trees
d16449bcf8 Rename 'gasPrices' scope to 'fees', and use it to estimate all network withdrawal fee
d9ae37ebb2 Change relayer version validating to save backwards compatibility with on Ethereum Mainnet with old Tornado versions
7db929cc8c Make token price api faster & easier via lib @tornado/tornado-oracles
Compare 5 commits »
Theo pushed to proposal-29 at tornadocash/tornado-cli 2023-08-27 22:17:27 +03:00
e5ed7a7e12 Update cache
Theo created branch proposal-29 in tornadocash/tornado-cli 2023-08-27 19:44:13 +03:00
Theo pushed to proposal-29 at tornadocash/tornado-cli 2023-08-27 19:44:13 +03:00
fcfa782cf1 Fix send function
fadd50e801 Use @tornado/tornado-oracles lib instead of many custom functions to calculate fees
Compare 2 commits »
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-27 18:28:45 +03:00
583f3e90dd Fix JSDoc typings for getGasLimit function in parent fee oracle abstract class
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-27 15:00:47 +03:00
fb772fa300 Add Math.ceil while calculating relayer fee percent, because if relayer has 0.07% fee, in JS multiplication result of 0.07 * 1e10 is 700000000.0000001 & bump version to 1.3.2
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-27 10:42:22 +03:00
42b57f8734 Bump gas limit for any transaction type in V4 fee oracle, if bump percent provided & change lib version to 1.3.1
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-27 10:41:58 +03:00
60d6460662 Bump gas limit for any transaction type in V4 fee oracle, if bump percent provided & change lib version to 1.3.1
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-27 10:41:11 +03:00
168073af23 Bump gas limit for any transaction type in V4 fee oracle, if bump percent provided
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-26 19:56:36 +03:00
a0476b0e34 Add function to get all gas params - gas price, gas limit and L1 fee, if exists, in one object & bump lib version to 1.3.0
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-25 17:52:31 +03:00
de369f405c Speed up getGas function via Promise.all & bump version to 1.2.2
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-23 23:17:06 +03:00
4cdd5c7538 Fix typings & bump version to 1.2.1
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-22 21:57:21 +03:00
76a0ccea68 Fix refund calculation: we need to use different gas limits for each ERC tokens & bump lib version to 1.2.0
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-22 21:23:30 +03:00
40bf17177b Set function to get optimism l1 fee as public & bump version to 1.1.0
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-22 16:44:20 +03:00
3c1352ea41 Update to stable version 1.0.0:
1ace796f8a Don't prettify service files, abis and autogenerated contracts by typechain
Compare 2 commits »
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-21 19:30:28 +03:00
0aa15627f4 Add fallback from feeOracleV5 to V4 in getGasLimit method, if no tx object provided & bump package version to 0.3.0
96616d8cf4 Create public function in feeOracle to calculate refund in selected token & change typings
0d1ac74b11 Change node version to 14.21.3
2e3273b7bc Stylistic changes in README
Compare 4 commits »
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-20 21:49:20 +03:00
c63e6a320f Add getter to TokenPriceOracle for default token prices & bump version to 0.2.3
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-20 19:55:53 +03:00
f5244ae722 Update bump percent for V4 relayer withdrawals & bump version to 0.2.2
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-19 20:55:44 +03:00
03e6af5614 Fix tx object in getGas method & bump version to 0.2.1
Theo pushed to main at tornado-packages/tornado-oracles 2023-08-19 20:44:53 +03:00
85b057fbed Add specific Tornado transaction type - relayer_withdrawal_check_v4 - for backwards compatibility with old gas calculation algorithm