From 6172f1bcfad8db5f042f391ca3df2417c83eaa1b Mon Sep 17 00:00:00 2001 From: romeobuilderotti <144384895+romeobuilderotti@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:42:04 +0000 Subject: [PATCH 1/2] Add USDT address --- ethers-addressbook/src/contracts/contracts.json | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/ethers-addressbook/src/contracts/contracts.json b/ethers-addressbook/src/contracts/contracts.json index c852e0004..6a5166514 100644 --- a/ethers-addressbook/src/contracts/contracts.json +++ b/ethers-addressbook/src/contracts/contracts.json @@ -10,6 +10,11 @@ "mainnet": "0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48" } }, + "usdt": { + "addresses": { + "mainnet": "0xdAC17F958D2ee523a2206206994597C13D831ec7" + } + }, "weth": { "addresses": { "mainnet": "0xC02aaA39b223FE8D0A0e5C4F27eAD9083C756Cc2", From 0df707c5899661de5319f4432b9efd8298ba6846 Mon Sep 17 00:00:00 2001 From: romeobuilderotti <144384895+romeobuilderotti@users.noreply.github.com> Date: Thu, 21 Sep 2023 13:43:42 +0000 Subject: [PATCH 2/2] Add USDT test --- ethers-addressbook/src/lib.rs | 1 + 1 file changed, 1 insertion(+) diff --git a/ethers-addressbook/src/lib.rs b/ethers-addressbook/src/lib.rs index 3eddf8634..eda16efe9 100644 --- a/ethers-addressbook/src/lib.rs +++ b/ethers-addressbook/src/lib.rs @@ -41,6 +41,7 @@ mod tests { fn test_tokens() { assert!(contract("dai").is_some()); assert!(contract("usdc").is_some()); + assert!(contract("usdt").is_some()); assert!(contract("rand").is_none()); }