Skip to content

Commit

Permalink
Merge pull request #24 from desync-labs/add-lisk
Browse files Browse the repository at this point in the history
  • Loading branch information
TonioMacaronio authored Sep 26, 2024
2 parents a35d40d + 93fcba2 commit 0e9b17c
Show file tree
Hide file tree
Showing 7 changed files with 42 additions and 3 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.

2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "into-the-fathom-swap-sdk",
"version": "1.5.1",
"version": "1.5.2",
"description": "🛠 An SDK for building applications on top of Fathom Swap.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
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
9 changes: 8 additions & 1 deletion src/entities/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,5 +59,12 @@ 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 0e9b17c

Please sign in to comment.