Skip to content

Commit

Permalink
feat: Adds Goerli support
Browse files Browse the repository at this point in the history
  • Loading branch information
johnrjj committed Sep 5, 2022
1 parent 207562c commit 5782d11
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 1 deletion.
3 changes: 2 additions & 1 deletion src/sdk/v4/NftSwapV4.ts
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,7 @@ import { arrayify } from '@ethersproject/bytes';
export enum SupportedChainIdsV4 {
Mainnet = 1,
Ropsten = 3,
Goerli = 5,
Ubiq = 8,
Ganache = 1337,
Polygon = 137,
Expand All @@ -86,11 +87,11 @@ export enum SupportedChainIdsV4 {
}

export const SupportedChainsForV4OrderbookStatusMonitoring = [
SupportedChainIdsV4.Ropsten,
SupportedChainIdsV4.Polygon,
SupportedChainIdsV4.PolygonMumbai,
SupportedChainIdsV4.Mainnet,
SupportedChainIdsV4.Optimism,
SupportedChainIdsV4.Goerli,
];

export interface INftSwapV4 extends BaseNftSwap {
Expand Down
4 changes: 4 additions & 0 deletions src/sdk/v4/addresses.json
Original file line number Diff line number Diff line change
Expand Up @@ -11,6 +11,10 @@
"exchange": "0xdef1c0ded9bec7f1a1670819833240f027b25eff",
"wrappedNativeToken": "0xc778417e063141139fce010982780140aa0cd5ab"
},
"5": {
"exchange": "0xf91bb752490473b8342a3e964e855b9f9a2a668e",
"wrappedNativeToken": "0xb4fbf271143f4fbf7b91a5ded31805e42b2208d6"
},
"8": {
"exchange": "0x19aaD856cE8c4C7e813233b21d56dA97796cC052",
"wrappedNativeToken": "0x1FA6A37c64804C0D797bA6bC1955E50068FbF362"
Expand Down

0 comments on commit 5782d11

Please sign in to comment.