Skip to content

Commit

Permalink
feat: Add support for ACX (#422)
Browse files Browse the repository at this point in the history
  • Loading branch information
kevinuma authored Nov 28, 2022
1 parent 1895b87 commit 275d068
Show file tree
Hide file tree
Showing 3 changed files with 191 additions and 0 deletions.
4 changes: 4 additions & 0 deletions public/logos/acx-logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
180 changes: 180 additions & 0 deletions src/data/routes_1_0xc186fA914353c44b2E33eBE05f21846F1048bEda.json
Original file line number Diff line number Diff line change
Expand Up @@ -66,6 +66,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 1,
"toChain": 10,
"fromTokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F",
"fromSpokeAddress": "0x4D9079Bb4165aeb4084c526a32695dCfd2F77381",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 1,
"toChain": 137,
Expand Down Expand Up @@ -129,6 +138,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 1,
"toChain": 137,
"fromTokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F",
"fromSpokeAddress": "0x4D9079Bb4165aeb4084c526a32695dCfd2F77381",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 1,
"toChain": 288,
Expand Down Expand Up @@ -192,6 +210,15 @@
"isNative": false,
"l1TokenAddress": "0x42bBFa2e77757C645eeaAd1655E0911a7553Efbc"
},
{
"fromChain": 1,
"toChain": 288,
"fromTokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F",
"fromSpokeAddress": "0x4D9079Bb4165aeb4084c526a32695dCfd2F77381",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 1,
"toChain": 42161,
Expand Down Expand Up @@ -255,6 +282,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 1,
"toChain": 42161,
"fromTokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F",
"fromSpokeAddress": "0x4D9079Bb4165aeb4084c526a32695dCfd2F77381",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 10,
"toChain": 1,
Expand Down Expand Up @@ -318,6 +354,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 10,
"toChain": 1,
"fromTokenAddress": "0xFf733b2A3557a7ed6697007ab5D11B79FdD1b76B",
"fromSpokeAddress": "0xa420b2d1c0841415A695b81E5B867BCD07Dff8C9",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 10,
"toChain": 137,
Expand Down Expand Up @@ -381,6 +426,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 10,
"toChain": 137,
"fromTokenAddress": "0xFf733b2A3557a7ed6697007ab5D11B79FdD1b76B",
"fromSpokeAddress": "0xa420b2d1c0841415A695b81E5B867BCD07Dff8C9",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 10,
"toChain": 288,
Expand Down Expand Up @@ -435,6 +489,15 @@
"isNative": false,
"l1TokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
},
{
"fromChain": 10,
"toChain": 288,
"fromTokenAddress": "0xFf733b2A3557a7ed6697007ab5D11B79FdD1b76B",
"fromSpokeAddress": "0xa420b2d1c0841415A695b81E5B867BCD07Dff8C9",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 10,
"toChain": 42161,
Expand Down Expand Up @@ -498,6 +561,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 10,
"toChain": 42161,
"fromTokenAddress": "0xFf733b2A3557a7ed6697007ab5D11B79FdD1b76B",
"fromSpokeAddress": "0xa420b2d1c0841415A695b81E5B867BCD07Dff8C9",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 137,
"toChain": 1,
Expand Down Expand Up @@ -552,6 +624,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 137,
"toChain": 1,
"fromTokenAddress": "0xF328b73B6c685831F238c30a23Fc19140CB4D8FC",
"fromSpokeAddress": "0x69B5c72837769eF1e7C164Abc6515DcFf217F920",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 137,
"toChain": 10,
Expand Down Expand Up @@ -606,6 +687,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 137,
"toChain": 10,
"fromTokenAddress": "0xF328b73B6c685831F238c30a23Fc19140CB4D8FC",
"fromSpokeAddress": "0x69B5c72837769eF1e7C164Abc6515DcFf217F920",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 137,
"toChain": 288,
Expand Down Expand Up @@ -651,6 +741,15 @@
"isNative": false,
"l1TokenAddress": "0x2260FAC5E5542a773Aa44fBCfeDf7C193bc2C599"
},
{
"fromChain": 137,
"toChain": 288,
"fromTokenAddress": "0xF328b73B6c685831F238c30a23Fc19140CB4D8FC",
"fromSpokeAddress": "0x69B5c72837769eF1e7C164Abc6515DcFf217F920",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 137,
"toChain": 42161,
Expand Down Expand Up @@ -705,6 +804,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 137,
"toChain": 42161,
"fromTokenAddress": "0xF328b73B6c685831F238c30a23Fc19140CB4D8FC",
"fromSpokeAddress": "0x69B5c72837769eF1e7C164Abc6515DcFf217F920",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 288,
"toChain": 1,
Expand Down Expand Up @@ -768,6 +876,15 @@
"isNative": false,
"l1TokenAddress": "0x42bBFa2e77757C645eeaAd1655E0911a7553Efbc"
},
{
"fromChain": 288,
"toChain": 1,
"fromTokenAddress": "0x96821b258955587069F680729cD77369C0892B40",
"fromSpokeAddress": "0xBbc6009fEfFc27ce705322832Cb2068F8C1e0A58",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 288,
"toChain": 10,
Expand Down Expand Up @@ -822,6 +939,15 @@
"isNative": false,
"l1TokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
},
{
"fromChain": 288,
"toChain": 10,
"fromTokenAddress": "0x96821b258955587069F680729cD77369C0892B40",
"fromSpokeAddress": "0xBbc6009fEfFc27ce705322832Cb2068F8C1e0A58",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 288,
"toChain": 137,
Expand Down Expand Up @@ -876,6 +1002,15 @@
"isNative": false,
"l1TokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
},
{
"fromChain": 288,
"toChain": 137,
"fromTokenAddress": "0x96821b258955587069F680729cD77369C0892B40",
"fromSpokeAddress": "0xBbc6009fEfFc27ce705322832Cb2068F8C1e0A58",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 288,
"toChain": 42161,
Expand Down Expand Up @@ -931,6 +1066,15 @@
"isNative": false,
"l1TokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
},
{
"fromChain": 288,
"toChain": 42161,
"fromTokenAddress": "0x96821b258955587069F680729cD77369C0892B40",
"fromSpokeAddress": "0xBbc6009fEfFc27ce705322832Cb2068F8C1e0A58",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 42161,
"toChain": 1,
Expand Down Expand Up @@ -994,6 +1138,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 42161,
"toChain": 1,
"fromTokenAddress": "0x53691596d1BCe8CEa565b84d4915e69e03d9C99d",
"fromSpokeAddress": "0xB88690461dDbaB6f04Dfad7df66B7725942FEb9C",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 42161,
"toChain": 10,
Expand Down Expand Up @@ -1057,6 +1210,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 42161,
"toChain": 10,
"fromTokenAddress": "0x53691596d1BCe8CEa565b84d4915e69e03d9C99d",
"fromSpokeAddress": "0xB88690461dDbaB6f04Dfad7df66B7725942FEb9C",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 42161,
"toChain": 137,
Expand Down Expand Up @@ -1120,6 +1282,15 @@
"isNative": false,
"l1TokenAddress": "0xba100000625a3754423978a60c9317c58a424e3D"
},
{
"fromChain": 42161,
"toChain": 137,
"fromTokenAddress": "0x53691596d1BCe8CEa565b84d4915e69e03d9C99d",
"fromSpokeAddress": "0xB88690461dDbaB6f04Dfad7df66B7725942FEb9C",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
},
{
"fromChain": 42161,
"toChain": 288,
Expand Down Expand Up @@ -1173,6 +1344,15 @@
"fromTokenSymbol": "DAI",
"isNative": false,
"l1TokenAddress": "0x6B175474E89094C44Da98b954EedeAC495271d0F"
},
{
"fromChain": 42161,
"toChain": 288,
"fromTokenAddress": "0x53691596d1BCe8CEa565b84d4915e69e03d9C99d",
"fromSpokeAddress": "0xB88690461dDbaB6f04Dfad7df66B7725942FEb9C",
"fromTokenSymbol": "ACX",
"isNative": false,
"l1TokenAddress": "0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"
}
]
}
7 changes: 7 additions & 0 deletions src/utils/constants.ts
Original file line number Diff line number Diff line change
Expand Up @@ -407,6 +407,13 @@ export const tokenList: TokenInfoList = [
logoURI: "/logos/usdt-logo.svg",
mainnetAddress: getAddress("0xdAC17F958D2ee523a2206206994597C13D831ec7"),
},
{
name: "Across Protocol Token",
symbol: "ACX",
decimals: 18,
logoURI: "/logos/acx-logo.png",
mainnetAddress: getAddress("0x44108f0223A3C3028F5Fe7AEC7f9bb2E66beF82F"),
},
];

assert(
Expand Down

2 comments on commit 275d068

@vercel
Copy link

@vercel vercel bot commented on 275d068 Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Successfully deployed to the following URLs:

goerli-frontend-v2 – ./

goerli-frontend-v2.vercel.app
goerli-frontend-v2-uma.vercel.app
goerli-frontend-v2-git-master-uma.vercel.app

@vercel
Copy link

@vercel vercel bot commented on 275d068 Nov 28, 2022

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please sign in to comment.