From 55eb1e5f706bc12187cf3e0ccb86d079c940d425 Mon Sep 17 00:00:00 2001 From: Keone Hon Date: Mon, 31 Jan 2022 17:22:25 -0600 Subject: [PATCH] add csv links from dest_* and source_* pages --- content/dest_avalanche.md | 2 ++ content/dest_bsc.md | 2 ++ content/dest_ethereum.md | 2 ++ content/dest_oasis.md | 2 ++ content/dest_polygon.md | 2 ++ content/dest_solana.md | 2 ++ content/dest_terra.md | 2 ++ content/source_avalanche.md | 3 ++- content/source_bsc.md | 3 ++- content/source_ethereum.md | 3 ++- content/source_oasis.md | 3 ++- content/source_polygon.md | 3 ++- content/source_solana.md | 3 ++- content/source_terra.md | 3 ++- src/gen.py | 5 ++++- 15 files changed, 32 insertions(+), 8 deletions(-) diff --git a/content/dest_avalanche.md b/content/dest_avalanche.md index 66c6d37..897cdcb 100644 --- a/content/dest_avalanche.md +++ b/content/dest_avalanche.md @@ -1,6 +1,8 @@ Known tokens (wormholed to Avalanche) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:---------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------|:---------|:---------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------|:-----------------| diff --git a/content/dest_bsc.md b/content/dest_bsc.md index e48e3bd..7ad1912 100644 --- a/content/dest_bsc.md +++ b/content/dest_bsc.md @@ -1,6 +1,8 @@ Known tokens (wormholed to BSC) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:--------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------|:----------|:---------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------|:-----------------| diff --git a/content/dest_ethereum.md b/content/dest_ethereum.md index 93cf6e8..1d8264c 100644 --- a/content/dest_ethereum.md +++ b/content/dest_ethereum.md @@ -1,6 +1,8 @@ Known tokens (wormholed to Ethereum) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------|:----------|:---------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|:-----------------| diff --git a/content/dest_oasis.md b/content/dest_oasis.md index ea0f61f..8aa403f 100644 --- a/content/dest_oasis.md +++ b/content/dest_oasis.md @@ -1,6 +1,8 @@ Known tokens (wormholed to Oasis) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | symbol | |:-----------------------------------------------------------------------------------------------------|:---------|:------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------|:----------|:-------------------------------------------------------------------------------------------------------------------------|:------------------------------------|:-----------------| diff --git a/content/dest_polygon.md b/content/dest_polygon.md index a537452..9a5dc94 100644 --- a/content/dest_polygon.md +++ b/content/dest_polygon.md @@ -1,6 +1,8 @@ Known tokens (wormholed to Polygon) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | symbol | |:-----------------------------------------------------------------------------------------------------|:---------|:----------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------|:----------|:------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:-----------------| diff --git a/content/dest_solana.md b/content/dest_solana.md index 1b03bef..46379b1 100644 --- a/content/dest_solana.md +++ b/content/dest_solana.md @@ -1,6 +1,8 @@ Known tokens (wormholed to Solana) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | serumAddressUSDC | serumAddressUSDT | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:----------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:----------|:---------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------|:---------------------------------------------|:-----------------| diff --git a/content/dest_terra.md b/content/dest_terra.md index da9a964..ed9a6a1 100644 --- a/content/dest_terra.md +++ b/content/dest_terra.md @@ -1,6 +1,8 @@ Known tokens (wormholed to Terra) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_dest.csv)) for a superset of this data in csv._ + | img | symbol | name | address | origin | sourceAddress | markets | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:----------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:----------|:-------------------------------------------------------------------------------------------------------------------------|:------------------------------------------|:-----------------| diff --git a/content/source_avalanche.md b/content/source_avalanche.md index fc5d9ea..265bf1e 100644 --- a/content/source_avalanche.md +++ b/content/source_avalanche.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from Avalanche) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | solAddress | solMarkets | ethAddress | ethMarkets | terraAddress | terraMarkets | bscAddress | bscMarkets | maticAddress | maticMarkets | oasisAddress | oasisMarkets | symbol | |:-----------------------------------------------------------------------------------------------------|:---------|:-----------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:-------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:---------------------------------------------------------------------------------------------------------------------|:-------------|:-------------------------------------------------------------------------------------------------------------------------|:---------------|:---------------------------------------------------------------------------------------------------------------------------------|:---------------|:-----------------| diff --git a/content/source_bsc.md b/content/source_bsc.md index cc96061..a892186 100644 --- a/content/source_bsc.md +++ b/content/source_bsc.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from BSC) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | solAddress | solMarkets | ethAddress | ethMarkets | terraAddress | terraMarkets | maticAddress | maticMarkets | avaxAddress | avaxMarkets | oasisAddress | oasisMarkets | symbol | |:-----------------------------------------------------------------------------------------------------|:---------|:-----------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:-------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:--------------|:---------------------------------------------------------------------------------------------------------------------------------|:---------------|:-----------------| diff --git a/content/source_ethereum.md b/content/source_ethereum.md index f856f2b..e0f7a59 100644 --- a/content/source_ethereum.md +++ b/content/source_ethereum.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from Ethereum) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | solAddress | solMarkets | terraAddress | terraMarkets | bscAddress | bscMarkets | maticAddress | maticMarkets | avaxAddress | avaxMarkets | oasisAddress | oasisMarkets | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:----------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------|:---------------------------------------------------------------------------------------------------------------------|:------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:--------------|:---------------------------------------------------------------------------------------------------------------------------------|:------------------------------------|:-----------------| diff --git a/content/source_oasis.md b/content/source_oasis.md index d1bcfa7..bf56d79 100644 --- a/content/source_oasis.md +++ b/content/source_oasis.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from Oasis) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | solAddress | solMarkets | ethAddress | ethMarkets | terraAddress | terraMarkets | bscAddress | bscMarkets | maticAddress | maticMarkets | avaxAddress | avaxMarkets | symbol | |:-------------------------------------------------------------------------------------------------|:---------|:---------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:-------------|:----------------------------------------------------------------------------------------------------------------------|:-------------|:---------------|:---------------|:---------------------------------------------------------------------------------------------------------------------|:-------------|:---------------|:---------------|:----------------------------------------------------------------------------------------------------------------------|:--------------|:-----------------| diff --git a/content/source_polygon.md b/content/source_polygon.md index 3aa558d..7e2acc8 100644 --- a/content/source_polygon.md +++ b/content/source_polygon.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from Polygon) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | solAddress | solMarkets | ethAddress | ethMarkets | terraAddress | terraMarkets | bscAddress | bscMarkets | avaxAddress | avaxMarkets | oasisAddress | oasisMarkets | symbol | |:-------------------------------------------------------------------------------------------------------|:---------|:---------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:---------------------------------------------------------------------------------------------------------------------|:------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:--------------|:---------------------------------------------------------------------------------------------------------------------------------|:---------------|:-----------------| diff --git a/content/source_solana.md b/content/source_solana.md index d44c83f..14fbfff 100644 --- a/content/source_solana.md +++ b/content/source_solana.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from Solana) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | ethAddress | ethMarkets | terraAddress | terraMarkets | bscAddress | bscMarkets | maticAddress | maticMarkets | avaxAddress | avaxMarkets | oasisAddress | oasisMarkets | symbol | |:-----------------------------------------------------------------------------------------------------|:---------|:------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:------------------------------------|:-------------------------------------------------------------------------------------------------------------------------------------------|:---------------|:---------------------------------------------------------------------------------------------------------------------|:------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|:---------------|:-----------------| diff --git a/content/source_terra.md b/content/source_terra.md index 5401d78..fc3cf0c 100644 --- a/content/source_terra.md +++ b/content/source_terra.md @@ -1,6 +1,7 @@ Resultant wrapped-asset addresses (wormholing from Terra) -=================================== +_See [by_source.csv](by_source.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/content/by_source.csv)) for a superset of this data in csv._ +========================================================================= | img | symbol | name | sourceAddress | solAddress | solMarkets | ethAddress | ethMarkets | bscAddress | bscMarkets | maticAddress | maticMarkets | avaxAddress | avaxMarkets | oasisAddress | oasisMarkets | symbol | |:-------------------------------------------------------------------------------------------------|:---------|:------------------------------------------------------------|:-------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------|:------------------------------------------------|:-------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------|:----------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------|:---------------|:-----------------| diff --git a/src/gen.py b/src/gen.py index eaee85d..ed33a0e 100644 --- a/src/gen.py +++ b/src/gen.py @@ -162,6 +162,8 @@ def gen_dest_info(dest): header = """ Known tokens (wormholed to %s) =================================== +_See [by_dest.csv](by_dest.csv) ([raw](https://raw.githubusercontent.com/certusone/wormhole-token-list/main/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()) with open(outpath, 'w') as f: @@ -239,7 +241,8 @@ 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/certusone/wormhole-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()) with open(outpath, 'w') as f: