-
Notifications
You must be signed in to change notification settings - Fork 393
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge branch 'main' into fix/rsk/ledger
- Loading branch information
Showing
89 changed files
with
2,802 additions
and
701 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,70 @@ | ||
import { NetworkBaseAsset } from "../networks" | ||
|
||
const ETH: NetworkBaseAsset = { | ||
chainID: "1", | ||
name: "Ether", | ||
symbol: "ETH", | ||
decimals: 18, | ||
} | ||
|
||
const ARBITRUM_ONE_ETH: NetworkBaseAsset = { | ||
...ETH, | ||
chainID: "42161", | ||
} | ||
|
||
const ARBITRUM_NOVA_ETH: NetworkBaseAsset = { | ||
...ETH, | ||
chainID: "42170", | ||
} | ||
|
||
const OPTIMISTIC_ETH: NetworkBaseAsset = { | ||
...ETH, | ||
chainID: "10", | ||
} | ||
|
||
const GOERLI_ETH: NetworkBaseAsset = { | ||
...ETH, | ||
chainID: "5", | ||
} | ||
|
||
const RBTC: NetworkBaseAsset = { | ||
chainID: "30", | ||
name: "RSK Token", | ||
symbol: "RBTC", | ||
decimals: 18, | ||
} | ||
|
||
const MATIC: NetworkBaseAsset = { | ||
chainID: "137", | ||
name: "Matic Token", | ||
symbol: "MATIC", | ||
decimals: 18, | ||
} | ||
|
||
const AVAX: NetworkBaseAsset = { | ||
chainID: "43114", | ||
name: "Avalanche", | ||
symbol: "AVAX", | ||
decimals: 18, | ||
} | ||
|
||
const BNB: NetworkBaseAsset = { | ||
chainID: "56", | ||
name: "Binance Coin", | ||
symbol: "BNB", | ||
decimals: 18, | ||
} | ||
|
||
export const BASE_ASSETS_BY_CUSTOM_NAME = { | ||
ETH, | ||
MATIC, | ||
RBTC, | ||
AVAX, | ||
BNB, | ||
ARBITRUM_ONE_ETH, | ||
ARBITRUM_NOVA_ETH, | ||
OPTIMISTIC_ETH, | ||
GOERLI_ETH, | ||
} | ||
|
||
export const BASE_ASSETS = Object.values(BASE_ASSETS_BY_CUSTOM_NAME) |
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
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
Oops, something went wrong.