Commit Graph

3 Commits

Author SHA1 Message Date
3c1352ea41 Update to stable version 1.0.0:
- Change functions naming to more intuitive: 'getGasPrice' returns gas price in hexed number, 'getGasPriceParams' now returns legacy or EIP-1559 gas parameters
- The library has become more versatile for working with third-party libraries (without BigNumber from 'ethers' library in return values, only hexed string-numbers)
- Simplify functions for refund calculations, no need to provide transaction type, because we need to calculate refund only on user side
- Add interface for TokenPriceOracle and change typings
2023-08-22 06:40:18 -07:00
2e3273b7bc Stylistic changes in README 2023-08-21 09:18:49 -07:00
c50caf3a48 Add readme with examples 2023-08-18 23:01:33 -07:00