Skip to content

Commit

Permalink
#724 - update token list references (#755)
Browse files Browse the repository at this point in the history
  • Loading branch information
sebastianscatularo authored Mar 8, 2024
1 parent 5b60745 commit 5fd1283
Show file tree
Hide file tree
Showing 3 changed files with 7 additions and 7 deletions.
6 changes: 3 additions & 3 deletions apps/token-list/package.json
Original file line number Diff line number Diff line change
@@ -1,9 +1,9 @@
{
"name": "@wormhole-foundation/wormhole-token-list",
"name": "@xlabs/token-list",
"version": "0.0.1",
"description": "A token list for featured markets",
"homepage": "https://wormholenetwork.com",
"repository": "https://github.com/wormhole-foundation/wormhole-token-list",
"homepage": "https://portalbridge.com",
"repository": "https://github.com/xlabs/portal-bridge-ui",
"scripts": {
"test": "jest --config jestconfig.json --verbose",
"gen": "python3 src/gen.py",
Expand Down
2 changes: 1 addition & 1 deletion apps/token-list/src/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -14,4 +14,4 @@ def get_logo_path(name, wormhole=True):


def get_logo_raw_url(name):
return 'https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/assets/%s_wh.png' % name
return 'https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/%s_wh.png' % name
6 changes: 3 additions & 3 deletions apps/token-list/src/gen.py
Original file line number Diff line number Diff line change
Expand Up @@ -72,7 +72,7 @@ def _link_source_address(source_chain, source_addr):
def _get_img(tok):
filepath = os.path.join(ASSET_PATH, '%s_wh.png' % tok)
if os.path.exists(filepath):
return '![%s](https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/assets/%s_wh.png)' % (tok, tok)
return '![%s](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/assets/%s_wh.png)' % (tok, tok)
else:
return ''

Expand Down Expand Up @@ -171,7 +171,7 @@ def gen_dest_info(dest):
header = """
Known tokens (wormholed to %s)
===================================
_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._
_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/content/by_dest.csv)) for a superset of this data in csv._
""" % dest_full
outpath = os.path.join(CONTENT_PATH, 'dest_%s.md' % dest_full.lower())
Expand Down Expand Up @@ -260,7 +260,7 @@ def gen_source_info(source):
txt = df.to_markdown(index=False).replace('symbol_reprise', 'symbol')
header = """
Resultant wrapped-asset addresses (wormholing from %s)
_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/wormhole-foundation/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._
_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/xlabs/portal-bridge-ui/main/apps/token-list/main/content/by_source.csv)) for a superset of this data in csv._
=========================================================================
""" % source_full
outpath = os.path.join(CONTENT_PATH, 'source_%s.md' % source_full.lower())
Expand Down

0 comments on commit 5fd1283

Please sign in to comment.