Skip to content

Commit

Permalink
replace mumbai with polygon amoy testnet (#1440)
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanio authored Apr 10, 2024
1 parent 7a9adcf commit 4bd0a05
Show file tree
Hide file tree
Showing 3 changed files with 9 additions and 9 deletions.
2 changes: 1 addition & 1 deletion package.json
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
{
"name": "opensea-js",
"version": "7.1.4",
"version": "7.1.5",
"description": "TypeScript SDK for the OpenSea marketplace helps developers build new experiences using NFTs and our marketplace data",
"license": "MIT",
"author": "OpenSea Developers",
Expand Down
10 changes: 5 additions & 5 deletions src/types.ts
Original file line number Diff line number Diff line change
Expand Up @@ -128,8 +128,8 @@ export enum Chain {
// ⚠️NOTE: When adding to this list, also add to the util function `isTestChain`
/** Sepolia */
Sepolia = "sepolia",
/** Polygon Testchain Mumbai */
Mumbai = "mumbai",
/** Polygon Amoy */
Amoy = "amoy",
/** Klaytn Baobab */
Baobab = "baobab",
/** Base Testnet */
Expand All @@ -138,11 +138,11 @@ export enum Chain {
BlastSepolia = "blast_sepolia",
/** Binance Smart Chain Testnet */
BNBTestnet = "bsctestnet",
/** Arbitrum Testnet */
/** Arbitrum Sepolia */
ArbitrumSepolia = "arbitrum_sepolia",
/** Avalanche Fuji Testnet */
/** Avalanche Fuji */
Fuji = "avalanche_fuji",
/** Optimism Sepolia Testnet */
/** Optimism Sepolia */
OptimismSepolia = "optimism_sepolia",
/** Solana Devnet */
SolanaDevnet = "soldev",
Expand Down
6 changes: 3 additions & 3 deletions src/utils/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -174,8 +174,8 @@ export const getWETHAddress = (chain: Chain) => {
return "0xc02aaa39b223fe8d0a0e5c4f27ead9083c756cc2";
case Chain.Polygon:
return "0x7ceB23fD6bC0adD59E62ac25578270cFf1b9f619";
case Chain.Mumbai:
return "0xa6fa4fb5f76172d178d61b04b0ecd319c5d1c0aa";
case Chain.Amoy:
return "0x52eF3d68BaB452a294342DC3e5f464d7f610f72E";
case Chain.Sepolia:
return "0x7b79995e5f793a07bc00c21412e50ecae098e7f9";
case Chain.Klaytn:
Expand Down Expand Up @@ -262,7 +262,7 @@ export const basisPointsForFee = (fee: Fee): bigint => {
export const isTestChain = (chain: Chain): boolean => {
switch (chain) {
case Chain.Sepolia:
case Chain.Mumbai:
case Chain.Amoy:
case Chain.Baobab:
case Chain.BaseSepolia:
case Chain.BlastSepolia:
Expand Down

0 comments on commit 4bd0a05

Please sign in to comment.