Skip to content

Commit

Permalink
Merge pull request #23 from Into-the-Fathom/add-sepolia
Browse files Browse the repository at this point in the history
Add Sepolia network
  • Loading branch information
TonioMacaronio authored May 13, 2024
2 parents 4398333 + e051f1f commit a35d40d
Show file tree
Hide file tree
Showing 5 changed files with 5,561 additions and 5,440 deletions.
18 changes: 9 additions & 9 deletions package-lock.json

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.0",
"version": "1.5.1",
"description": "🛠 An SDK for building applications on top of Fathom Swap.",
"main": "dist/index.js",
"typings": "dist/index.d.ts",
Expand Down
6 changes: 4 additions & 2 deletions src/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@ export type BigintIsh = JSBI | bigint | string

export enum ChainId {
XDC = 50,
AXDC = 51
AXDC = 51,
SEPOLIA = 11155111
}

export enum TradeType {
Expand All @@ -21,7 +22,8 @@ export enum Rounding {

export const FACTORY_ADDRESS: { [key: string]: string } = {
[ChainId.XDC]: '0x9fAb572F75008A42c6aF80b36Ab20C76a38ABc4B',
[ChainId.AXDC]: '0xe011699276055eDAd1E3fd2F98667068f7c8814A'
[ChainId.AXDC]: '0xe011699276055eDAd1E3fd2F98667068f7c8814A',
[ChainId.SEPOLIA]: '0x97989DFf5568F450970d404770f1975056834F93'
}

export const INIT_CODE_HASH = '0xa6d23746864049fd29713adbbf145eeecdddd2f9a91be053c057394dd5d7d9ad'
Expand Down
3 changes: 2 additions & 1 deletion src/entities/token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -58,5 +58,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.AXDC]: new Token(ChainId.AXDC, '0xE99500AB4A413164DA49Af83B9824749059b46ce', 18, 'WXDC', 'Wrapped XDC'),
[ChainId.SEPOLIA]: new Token(ChainId.SEPOLIA, '0xD0dF82dE051244f04BfF3A8bB1f62E1cD39eED92', 18, 'WETH', 'Wrapped ETH')
}
Loading

0 comments on commit a35d40d

Please sign in to comment.