Skip to content

Commit

Permalink
add support for blast
Browse files Browse the repository at this point in the history
  • Loading branch information
malik672 committed Apr 28, 2024
1 parent c4f9ccf commit 6b8775c
Show file tree
Hide file tree
Showing 4 changed files with 5 additions and 7 deletions.
2 changes: 1 addition & 1 deletion Cargo.toml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
[package]
name = "uniswap-sdk-core"
version = "0.21.0"
version = "0.22.0"
edition = "2021"
authors = ["malik <[email protected]>", "Shuhui Luo <twitter.com/aureliano_law>"]
description = "The Uniswap SDK Core in Rust provides essential functionality for interacting with the Uniswap decentralized exchange"
Expand Down
2 changes: 0 additions & 2 deletions src/entities/token.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5,8 +5,6 @@ pub type Token = CurrencyLike<TokenMeta>;

/// Represents the metadata for an ERC20 token, including its address and optional fees.
#[derive(Clone, PartialEq, Debug)]

/// Represents the metadata for an ERC20 token, including its address and optional fees.
pub struct TokenMeta {
/// The address of the token.
pub address: Address,
Expand Down
2 changes: 1 addition & 1 deletion src/error.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,7 +42,7 @@ mod tests {
assert_eq!(error.to_string(), "Addresses are equal");
}

/// Test that `Error::MaxUint` displays the correct error messagit push ge.
/// Test that `Error::MaxUint` displays the correct error message.
#[test]
fn test_max_uint_error() {
let error = Error::MaxUint;
Expand Down
6 changes: 3 additions & 3 deletions src/utils/mod.rs
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
/// Module that contains various methods to comput price

pub mod compute_price_impact;

/// Module that contains various methods to sort

pub mod sorted_insert;
/// Module that contains various methods to compute square root

pub mod sqrt;
#[cfg(feature = "validate_parse_address")]
pub mod validate_and_parse_address;

0 comments on commit 6b8775c

Please sign in to comment.