-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
067cc2a
commit 553b59d
Showing
22 changed files
with
165 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { arbitrumTokens } from './arbitrum'; | ||
|
||
describe('#arbitrumTokens', () => { | ||
for(const token of Object.values(arbitrumTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.ARBITRUM); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { avalancheTokens } from './avalance'; | ||
|
||
describe('#avalancheTokens', () => { | ||
for(const token of Object.values(avalancheTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.AVALANCHE); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { baseTokens } from './base'; | ||
|
||
describe('#baseTokens', () => { | ||
for(const token of Object.values(baseTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.BASE); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { blastTokens } from './blast'; | ||
|
||
describe('#blastTokens', () => { | ||
for(const token of Object.values(blastTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.BLAST); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { bscTokens } from './bsc'; | ||
|
||
describe('#bscTokens', () => { | ||
for(const token of Object.values(bscTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.BSC); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { ethereumTokens } from './ethereum'; | ||
|
||
describe('#ethereumTokens', () => { | ||
for(const token of Object.values(ethereumTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.ETHEREUM); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { fantomTokens } from './fantom'; | ||
|
||
describe('#fantomTokens', () => { | ||
for(const token of Object.values(fantomTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.FANTOM); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
|
@@ -17,6 +17,7 @@ test('exports', () => { | |
"metisSepoliaTokens", | ||
"blastTokens", | ||
"baseTokens", | ||
"zkLinkTokens", | ||
] | ||
`); | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { kavaTokens } from './kava'; | ||
|
||
describe('#kavaTokens', () => { | ||
for(const token of Object.values(kavaTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.KAVA); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,18 @@ | ||
import { ChainId } from '../../constants'; | ||
import { metisSepoliaTokens, metisTokens } from './metis'; | ||
|
||
describe('#metisTokens', () => { | ||
for(const token of Object.values(metisTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.METIS); | ||
}); | ||
} | ||
}); | ||
|
||
describe('#metisSepoliaTokens', () => { | ||
for(const token of Object.values(metisSepoliaTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.METIS_SEPOLIA); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { optimismTokens } from './optimism'; | ||
|
||
describe('#optimismTokens', () => { | ||
for(const token of Object.values(optimismTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.OPTIMISM); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { polygonTokens } from './polygon'; | ||
|
||
describe('#polygonTokens', () => { | ||
for(const token of Object.values(polygonTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.POLYGON); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { zkLinkTokens } from './zklink'; | ||
|
||
describe('#zkLinkTokens', () => { | ||
for(const token of Object.values(zkLinkTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.ZKLINK); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
import { Token } from '../../entities/token'; | ||
import { ChainId } from '../../constants/chains'; | ||
import { zeroAddress } from 'viem'; | ||
|
||
export const zkLinkTokens = { | ||
weth: new Token(ChainId.ZKLINK, '0x8280a4e7D5B3B658ec4580d3Bc30f5e50454F169', 18, 'WETH', 'Wrapped Ether'), | ||
wagmi: new Token(ChainId.ZKLINK, zeroAddress, 18, 'WAGMI', 'Wagmi'), | ||
usdt: new Token(ChainId.ZKLINK, '0x2F8A25ac62179B31D62D7F80884AE57464699059', 6, 'USDT', 'Nova Tether USD'), | ||
wbtc: new Token(ChainId.ZKLINK, '0xDa4AaEd3A53962c83B35697Cd138cc6df43aF71f', 8, 'WBTC', 'Nova Wrapped BTC'), | ||
usdc: new Token(ChainId.ZKLINK, '0x1a1A3b2ff016332e866787B311fcB63928464509', 6, 'USDC', 'Nova USD Coin'), | ||
dai: new Token(ChainId.ZKLINK, '0xF573fA04A73d5AC442F3DEa8741317fEaA3cDeab', 18, 'DAI', 'Nova Dai Stablecoin'), | ||
}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
import { ChainId } from '../../constants'; | ||
import { zkSyncTokens } from './zksync'; | ||
|
||
describe('#zkSyncTokens', () => { | ||
for(const token of Object.values(zkSyncTokens)){ | ||
it('should return true', () => { | ||
expect(token.chainId).toStrictEqual(ChainId.ZKSYNC); | ||
}); | ||
} | ||
}); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters