Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Update addresses with checksummed versions #60

Open
fadeev opened this issue Jul 14, 2023 · 1 comment
Open

Update addresses with checksummed versions #60

fadeev opened this issue Jul 14, 2023 · 1 comment

Comments

@fadeev
Copy link
Member

fadeev commented Jul 14, 2023

Right now when using @uniswap/sdk, it complains about addresses returned by getAddress not being checksummed.

import { ChainId, Token, WETH, Fetcher, Route } from "@uniswap/sdk";
import { getAddress } from "@zetachain/protocol-contracts";

const tokenAddress = getAddress("zetaToken", hre.network.name as any);
const token = new Token(5, tokenAddress, 18);
Warning: 0x0000c304d2934c00db1d51995b9f6996affd17c0 is not checksummed.

I'm proposing we update addresses (like 0x0000c304d2934c00db1d51995b9f6996affd17c0) with checksummed versions (0x0000c304D2934c00Db1d51995b9f6996AffD17c0).

@fadeev
Copy link
Member Author

fadeev commented Jul 14, 2023

cc @andresaiello

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant