uniswap-rs 0.4.0

Unofficial Rust SDK library for Uniswap smart contracts.
Documentation
//! Constants

use ethers_core::types::{Address, U256};

// Convenience re-export of the pair code hash constants
#[doc(hidden)]
pub use crate::protocol::pair_code_hashes::*;

/// [0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE](https://etherscan.io/address/0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE)
///
/// A unique address to differentiate the native token from any other ERC20 token.
pub const NATIVE_ADDRESS: Address = Address::repeat_byte(0xee);

pub(crate) const BPS_U256: U256 = U256([10_000u64, 0, 0, 0]);