Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch all logoUri to aws address and add tests #19

Merged
merged 5 commits into from
Feb 23, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .github/workflows/aws.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ name: Deploy to AWS S3

on:
push:
tags:
- "*"
branches:
- main

jobs:
deploy:
Expand Down
18 changes: 9 additions & 9 deletions src/gauges/devnet/defaultGaugeList.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,47 @@
{
"address": "0x0000746573745F5f5f5f5f726563656976657232",
"name": "DEFAULT GAUGE 1",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
{
"address": "0x0000746573745F5F5F5F5f726563656976657231",
"name": "DEFAULT GAUGE 2",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
{
"address": "0xa88572F08f79D28b8f864350f122c1CC0AbB0d96",
"name": "BERA-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
{
"address": "0x751524E7bAdd31d018A4CAF4e4924a21b0c13CD0",
"name": "WBTC-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/btc.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/btc.png"
},
{
"address": "0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434",
"name": "WETH-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/eth.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/eth.png"
},
{
"address": "0xAF569D6049651Cf8bF804d28b7cD2f29dE7f9Cb0",
"name": "aHONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
{
"address": "0x605fD73B339b82413B862966428eD8Ac52eC4227",
"name": "aWBTC",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
{
"address": "0xd4D3d26A30718090d523BD10c05F566837026cd7",
"name": "aWETH",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
{
"address": "0xC510A3c994f93e28395f4E371B6a9D4bcEF1663a",
"name": "bHONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/berps.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/berps.png"
}
],
"version": {
Expand Down
18 changes: 9 additions & 9 deletions src/gauges/testnet/defaultGaugeList.json
Original file line number Diff line number Diff line change
Expand Up @@ -4,47 +4,47 @@
{
"address": "0x0000746573745F5f5f5f5f726563656976657232",
"name": "DEFAULT GAUGE 1",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
{
"address": "0x0000746573745F5F5F5F5f726563656976657231",
"name": "DEFAULT GAUGE 2",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
{
"address": "0xa88572F08f79D28b8f864350f122c1CC0AbB0d96",
"name": "BERA-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
{
"address": "0x751524E7bAdd31d018A4CAF4e4924a21b0c13CD0",
"name": "WBTC-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/btc.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/btc.png"
},
{
"address": "0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434",
"name": "WETH-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/eth.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/eth.png"
},
{
"address": "0xAF569D6049651Cf8bF804d28b7cD2f29dE7f9Cb0",
"name": "aHONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
{
"address": "0x605fD73B339b82413B862966428eD8Ac52eC4227",
"name": "aWBTC",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
{
"address": "0xd4D3d26A30718090d523BD10c05F566837026cd7",
"name": "aWETH",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
{
"address": "0xC510A3c994f93e28395f4E371B6a9D4bcEF1663a",
"name": "bHONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/berps.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/berps.png"
}
],
"version": {
Expand Down
32 changes: 6 additions & 26 deletions src/tokens/devnet/defaultTokenList.json
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
"symbol": "WBERA",
"name": "Wrapped Berachain Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/wbera.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/wbera.png",
"tags": ["featured"]
},
{
Expand All @@ -37,7 +37,7 @@
"symbol": "BERA",
"name": "Berachain Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png",
"tags": ["featured"]
},
{
Expand All @@ -46,45 +46,25 @@
"symbol": "HONEY",
"name": "Honey",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/honey.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/honey.png",
"tags": ["stablecoin", "featured"]
}
],
"tokenMap": {
"0x5eB2ef04616cf2d2aC7Ba7F6B084bD9aF160A9f3": {
"chainId": 2061,
"address": "0x5eB2ef04616cf2d2aC7Ba7F6B084bD9aF160A9f3",
"symbol": "WBERA",
"name": "Wrapped Berachain Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png",
"tags": ["featured"]
},
"0xCEF2F9820A12Ce05adf0A41f87c29442E6fe987a": {
"chainId": 2061,
"address": "0xCEF2F9820A12Ce05adf0A41f87c29442E6fe987a",
"symbol": "HONEY",
"name": "Honey",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/honey.png",
"tags": ["stablecoin", "featured"]
}
},
"gaugeMap": {
"0x0000746573745F5f5f5f5f726563656976657232": {
"address": "0x0000746573745F5f5f5f5f726563656976657232",
"name": "DEFAULT GAUGE 1",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
"0x0000746573745F5F5F5F5f726563656976657231": {
"address": "0x0000746573745F5F5F5F5f726563656976657231",
"name": "DEFAULT GAUGE 2",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
"0x24A1d1aDB141cAC4Cd85e72FC16513891554Aaf8": {
"address": "0x24A1d1aDB141cAC4Cd85e72FC16513891554Aaf8",
"name": "BERPS GAUGE",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
"0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434": {
"address": "0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434",
Expand Down
96 changes: 24 additions & 72 deletions src/tokens/staging/defaultTokenList.json
Original file line number Diff line number Diff line change
@@ -1,4 +1,3 @@

{
"name": "Devnet Default Token List",
"logoURI": "ipfs://QmUSNbwUxUYNMvMksKypkgWs8unSm8dX2GjCPBVGZ7GGMr",
Expand Down Expand Up @@ -29,7 +28,7 @@
"symbol": "WBERA",
"name": "Wrapped Berachain Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/wbera.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/wbera.png",
"tags": ["featured"]
},
{
Expand All @@ -38,7 +37,7 @@
"symbol": "BERA",
"name": "Berachain Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png",
"tags": ["featured"]
},
{
Expand All @@ -47,7 +46,7 @@
"symbol": "BGT",
"name": "Bera Governance Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bgt.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bgt.png",
"tags": ["featured"]
},
{
Expand All @@ -65,7 +64,7 @@
"symbol": "HONEY",
"name": "Honey",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/honey.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/honey.png",
"tags": ["stablecoin", "featured"]
},
{
Expand All @@ -74,7 +73,7 @@
"symbol": "WBTC",
"name": "WBTC",
"decimals": 8,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/btc.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/btc.png",
"tags": ["featured"]
},
{
Expand All @@ -83,102 +82,55 @@
"symbol": "WETH",
"name": "WETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/eth.png",
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/eth.png",
"tags": ["featured"]
}
],
"tokenMap": {
"0x5806E416dA447b267cEA759358cF22Cc41FAE80F": {
"chainId": 2061,
"address": "0x5806E416dA447b267cEA759358cF22Cc41FAE80F",
"symbol": "WBERA",
"name": "Wrapped Berachain Token",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png",
"tags": ["featured"]
},
"0x1d0f659fF50d1830e449dD88E533cb11FB7a25E4": {
"chainId": 2061,
"address": "0x1d0f659fF50d1830e449dD88E533cb11FB7a25E4",
"symbol": "STGUSDC",
"name": "Stable Collateral USD Coin",
"decimals": 18,
"logoURI": "https://assets.coingecko.com/coins/images/6319/small/USD_Coin_icon.png?1547042389",
"tags": ["stablecoin", "collateral", "featured"]
},
"0x7EeCA4205fF31f947EdBd49195a7A88E6A91161B": {
"chainId": 2061,
"address": "0x7EeCA4205fF31f947EdBd49195a7A88E6A91161B",
"symbol": "HONEY",
"name": "Honey",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/honey.png",
"tags": ["stablecoin", "featured"]
},
"0xB64D1c4E2EC0ae631869c731b733bf9D49B9AbE1": {
"chainId": 2061,
"address": "0xB64D1c4E2EC0ae631869c731b733bf9D49B9AbE1",
"symbol": "WBTC",
"name": "WBTC",
"decimals": 8,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/btc.png",
"tags": ["featured"]
},
"0x43B1db7F1C8d2bbE6290F44Bef3A0B1FbcEEcaf1": {
"chainId": 2061,
"address": "0x43B1db7F1C8d2bbE6290F44Bef3A0B1FbcEEcaf1",
"symbol": "WETH",
"name": "WETH",
"decimals": 18,
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/eth.png",
"tags": ["featured"]
}
},
"gaugeMap": {
"0x0000746573745F5f5f5f5f726563656976657232": {
"address":"0x0000746573745F5f5f5f5f726563656976657232",
"address": "0x0000746573745F5f5f5f5f726563656976657232",
"name": "DEFAULT GAUGE 1",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
"0x0000746573745F5F5F5F5f726563656976657231": {
"address":"0x0000746573745F5F5F5F5f726563656976657231",
"address": "0x0000746573745F5F5F5F5f726563656976657231",
"name": "DEFAULT GAUGE 2",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
"0xa88572F08f79D28b8f864350f122c1CC0AbB0d96": {
"address":"0xa88572F08f79D28b8f864350f122c1CC0AbB0d96",
"address": "0xa88572F08f79D28b8f864350f122c1CC0AbB0d96",
"name": "BERA-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bera.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bera.png"
},
"0x751524E7bAdd31d018A4CAF4e4924a21b0c13CD0": {
"address":"0x751524E7bAdd31d018A4CAF4e4924a21b0c13CD0",
"address": "0x751524E7bAdd31d018A4CAF4e4924a21b0c13CD0",
"name": "WBTC-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/btc.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/btc.png"
},
"0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434": {
"address":"0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434",
"address": "0x101f52c804C1C02c0A1D33442ecA30ecb6fB2434",
"name": "WETH-HONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/eth.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/eth.png"
},
"0xAF569D6049651Cf8bF804d28b7cD2f29dE7f9Cb0": {
"address":"0xAF569D6049651Cf8bF804d28b7cD2f29dE7f9Cb0",
"address": "0xAF569D6049651Cf8bF804d28b7cD2f29dE7f9Cb0",
"name": "aHONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
"0x605fD73B339b82413B862966428eD8Ac52eC4227": {
"address":"0x605fD73B339b82413B862966428eD8Ac52eC4227",
"address": "0x605fD73B339b82413B862966428eD8Ac52eC4227",
"name": "aWBTC",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
"0xd4D3d26A30718090d523BD10c05F566837026cd7": {
"address":"0xd4D3d26A30718090d523BD10c05F566837026cd7",
"address": "0xd4D3d26A30718090d523BD10c05F566837026cd7",
"name": "aWETH",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/bend.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/bend.png"
},
"0xC510A3c994f93e28395f4E371B6a9D4bcEF1663a": {
"address":"0xC510A3c994f93e28395f4E371B6a9D4bcEF1663a",
"address": "0xC510A3c994f93e28395f4E371B6a9D4bcEF1663a",
"name": "bHONEY",
"logoURI": "https://raw.githubusercontent.com/berachain/default-token-list/main/src/assets/berps.png"
"logoURI": "https://artio-static-asset-public.s3.ap-southeast-1.amazonaws.com/assets/berps.png"
}
},
"version": {
Expand Down
Loading
Loading