Skip to content

Commit

Permalink
sepolia support
Browse files Browse the repository at this point in the history
  • Loading branch information
anshulforyou committed Jan 5, 2024
1 parent 59e8894 commit ce74c1b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/utils/ChainTypes.ts
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,13 @@ export enum ChainNames {
Matic = 'matic',
Mumbai = 'mumbai',
Goerli = 'goerli',
Sepolia = 'sepolia',
}

export enum ChainId {
MAINNET = 1,
GOERLI = 5,
SEPOLIA = 11155111,
POLYGON_MAINNET = 137,
POLYGON_MUMBAI = 80001,
ARBITRUM = 42161,
Expand Down
3 changes: 3 additions & 0 deletions src/utils/Constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -21,6 +21,7 @@ export const ETH_UNITS = BigNumber.from(10).pow(18);

interface GAS_TOKEN_ADDRESSES {
[ChainId.GOERLI]: string;
[ChainId.SEPOLIA]: string;
[ChainId.POLYGON_MUMBAI]: string;
[ChainId.MAINNET]: string;
[ChainId.POLYGON_MAINNET]: string;
Expand All @@ -37,6 +38,7 @@ export const GAS_TOKEN_ADDRESSES: GAS_TOKEN_ADDRESSES = {
[ChainId.MAINNET]: '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
[ChainId.POLYGON_MAINNET]: '0x0000000000000000000000000000000000001010',
[ChainId.GOERLI]: '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
[ChainId.SEPOLIA]: '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
[ChainId.POLYGON_MUMBAI]: '0x0000000000000000000000000000000000001010',
[ChainId.ARBITRUM]: '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
[ChainId.ARBITRUM_GOERLI]: '0xeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee',
Expand Down Expand Up @@ -68,6 +70,7 @@ export enum PERMIT_TX_TYPES {
export enum SAFE_TX_SERVICE_URLS {
'https://safe-transaction-mainnet.safe.global' = 1,
'https://safe-transaction-goerli.safe.global' = 5,
'https://safe-transaction-sepolia.safe.global' = 11155111,
'https://safe-transaction-arbitrum.safe.global' = 42161,
'https://safe-transaction-aurora.safe.global' = 1313161554,
'https://safe-transaction-avalanche.safe.global' = 43114,
Expand Down

0 comments on commit ce74c1b

Please sign in to comment.