Skip to content

Commit

Permalink
fix: add missing networks
Browse files Browse the repository at this point in the history
  • Loading branch information
Aracki authored and krunicn committed Apr 3, 2024
1 parent b6829cc commit 33cb472
Show file tree
Hide file tree
Showing 2 changed files with 40 additions and 30 deletions.
5 changes: 5 additions & 0 deletions .changeset/lovely-goats-do.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
'@tenderly/sdk': patch
---

add missing networks support
65 changes: 35 additions & 30 deletions lib/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -2,43 +2,48 @@ export type Path = string;
export type Web3Address = string;

export enum Network {
MAINNET = 1,
GOERLI = 5,
OPTIMISTIC = 10,
CRONOS = 25,
RSK = 30,
RSK_TESTNET = 31,
KOVAN = 42,
ARBITRUM_ONE = 42161,
ARBITRUM_GOERLI = 421613,
ARBITRUM_NOVA = 42170,
ARBITRUM_SEPOLIA = 421614,
AVALANCHE = 43114,
AVALANCHE_FUJI = 43113,
BASE = 8453,
BASE_SEPOLIA = 84532,
BLAST = 81457,
BINANCE = 56,
OPTIMISTIC_KOVAN = 69,
RIALTO_BINANCE = 97,
POA = 99,
GNOSIS_CHAIN = 100,
POLYGON = 137,
FANTOM = 250,
BOBA_ETHEREUM = 288,
CRONOS_TESTNET = 338,
OPTIMISTIC_GOERLI = 420,
MOONBEAM = 1284,
MOONRIVER = 1285,
BOBA_MOONBEAM = 1294,
BOBA_MOONBASE = 1297,
BOBA_SEPOLIA = 28882,
BOBA_GOERLI = 2888,
FANTOM_TESTNET = 4002,
BOBA_AVALANCHE_FUJI = 4328,
BASE = 8453,
BOBA_BINANCE_RIALTO = 9728,
ARBITRUM_ONE = 42161,
AVALANCHE_FUJI = 43113,
AVALANCHE = 43114,
BOBA_AVALANCHE = 43288,
BOBA_SEPOLIA = 28882,
BOBA_BINANCE = 56288,
BOBA_BINANCE_RIALTO = 9728,
FANTOM = 250,
FANTOM_TESTNET = 4002,
FRAXTAL = 252,
FRAXTAL_HOLESKY = 2522,
GNOSIS_CHAIN = 100,
GOERLI = 5,
HOLESKY = 17000,
LINEA = 59144,
LINEA_GOERLI = 59140,
MAINNET = 1,
MANTLE = 5000,
MANTLE_SEPOLIA = 5003,
MOONBEAM = 1284,
MOONRIVER = 1285,
OPTIMISTIC = 10,
OPTIMISTIC_GOERLI = 420,
OPTIMISTIC_SEPOLIA = 11155420,
POLYGON = 137,
POLYGON_MUMBAI = 80001,
BASE_GOERLI = 84531,
ARBITRUM_GOERLI = 421613,
REAL = 111188,
RSK = 30,
RSK_TESTNET = 31,
SEPOLIA = 11155111,
MANTLE_SEPOLIA = 5003,
UNREAL = 18233,
ZORA = 7777777,
ZORA_SEPOLIA = 999999999,
}

export type TenderlyConfiguration = {
Expand Down

0 comments on commit 33cb472

Please sign in to comment.