Skip to content

Commit

Permalink
🩺 updating urls
Browse files Browse the repository at this point in the history
  • Loading branch information
grantoesterling committed May 20, 2024
1 parent 8dc69c9 commit 16896ac
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/Classes/APIBots/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -223,11 +223,12 @@ export function getTokenUrl(
}

export function getProjectUrl(contractAddr: string, projectId: string): string {
return `https://www.artblocks.io/project/${contractAddr}-${projectId}`
// TODO: support new curated pages when ready
return `https://www.artblocks.io/marketplace/collections/${contractAddr}-${projectId}`
}

function buildArtBlocksTokenURL(contractAddr: string, tokenId: string): string {
return `https://www.artblocks.io/token/${contractAddr}-${tokenId}`
return `https://www.artblocks.io/marketplace/asset/${contractAddr}/${tokenId}`
}

export function buildOpenseaURL(contractAddr: string, tokenId: string): string {
Expand Down

0 comments on commit 16896ac

Please sign in to comment.