Skip to content

Commit

Permalink
add Lisk chain
Browse files Browse the repository at this point in the history
  • Loading branch information
Alex-Dovgopoly committed Sep 26, 2024
1 parent a35d40d commit baf9552
Show file tree
Hide file tree
Showing 6 changed files with 35 additions and 2 deletions.
5 changes: 5 additions & 0 deletions .idea/.gitignore

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

12 changes: 12 additions & 0 deletions .idea/fathom-swap-sdk.iml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

8 changes: 8 additions & 0 deletions .idea/modules.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

6 changes: 6 additions & 0 deletions .idea/vcs.xml

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

3 changes: 2 additions & 1 deletion src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,8 @@ export type BigintIsh = JSBI | bigint | string
export enum ChainId {
XDC = 50,
AXDC = 51,
SEPOLIA = 11155111
SEPOLIA = 11155111,
LISK = 1135
}

export enum TradeType {
Expand Down
3 changes: 2 additions & 1 deletion src/entities/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,6 @@ export function currencyEquals(currencyA: Currency, currencyB: Currency): boolea
export const WETH = {
[ChainId.XDC]: new Token(ChainId.XDC, '0x951857744785E80e2De051c32EE7b25f9c458C42', 18, 'WXDC', 'Wrapped XDC'),
[ChainId.AXDC]: new Token(ChainId.AXDC, '0xE99500AB4A413164DA49Af83B9824749059b46ce', 18, 'WXDC', 'Wrapped XDC'),
[ChainId.SEPOLIA]: new Token(ChainId.SEPOLIA, '0xD0dF82dE051244f04BfF3A8bB1f62E1cD39eED92', 18, 'WETH', 'Wrapped ETH')
[ChainId.SEPOLIA]: new Token(ChainId.SEPOLIA, '0xD0dF82dE051244f04BfF3A8bB1f62E1cD39eED92', 18, 'WETH', 'Wrapped ETH'),
[ChainId.LISK]: new Token(ChainId.LISK, '0x4200000000000000000000000000000000000006', 18, 'WETH', 'Wrapped ETH')
}

0 comments on commit baf9552

Please sign in to comment.