ethers-rs/ethers-middleware/src/gas_oracle
Remco Bloemen 18b4ef4e47
Robust gas oracles (#1222)
* Pass reqwest Client to constructors

* Add Median oracle aggregator

* DRY

* Weighted median

* Add cache layer

* Simplify lifetimes

* Add with_client constructors

* Update GasNow urls

* Add u256_from_f64_saturating

* Add polygon oracle

* Fixes

* Fix lints

* Remove dbg statements
2022-05-06 08:16:43 -07:00
..
blocknative.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
cache.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
eth_gas_station.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
etherchain.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
etherscan.rs chore(clippy): make clippy happy (#705) 2021-12-19 06:28:38 +02:00
gas_now.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
median.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
middleware.rs chore: add rustfmt.toml (#537) 2021-10-29 14:29:35 +02:00
mod.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00
polygon.rs Robust gas oracles (#1222) 2022-05-06 08:16:43 -07:00