Skip to content

Commit

Permalink
Merge pull request #1 from skip-mev/ws/gas_tokens
Browse files Browse the repository at this point in the history
Add Polygon Mumbai, change ETH symbols to gas token symbols
  • Loading branch information
wllmshao authored Nov 2, 2023
2 parents cc8de2c + 3cef144 commit 89a9c26
Showing 1 changed file with 15 additions and 6 deletions.
21 changes: 15 additions & 6 deletions test/Environment.sol
Original file line number Diff line number Diff line change
Expand Up @@ -32,6 +32,8 @@ contract Environment is Test {
0xe432150cce91c13a887f7D836923d5597adD8E31;
address public constant AXELAR_GATEWAY_KAVA =
0xe432150cce91c13a887f7D836923d5597adD8E31;
address public constant AXELAR_GATEWAY_POLYGON_MUMBAI =
0xBF62ef1486468a6bd26Dd669C06db43dEd5B849B;

address public constant AXELAR_GAS_SERVICE_MAINNET =
0x2d5d7d31F671F86C782533cc367F14109a082712;
Expand Down Expand Up @@ -61,21 +63,24 @@ contract Environment is Test {
0x2d5d7d31F671F86C782533cc367F14109a082712;
address public constant AXELAR_GAS_SERVICE_KAVA =
0x2d5d7d31F671F86C782533cc367F14109a082712;
address public constant AXELAR_GAS_SERVICE_POLYGON_MUMBAI =
0xbE406F0189A0B4cf3A05C286473D23791Dd44Cc6;

string public constant AXELAR_WETH_SYMBOL_MAINNET = "WETH";
string public constant AXELAR_WETH_SYMBOL_BNB = "axlETH";
string public constant AXELAR_WETH_SYMBOL_POLYGON = "axlETH";
string public constant AXELAR_WETH_SYMBOL_AVALANCHE = "axlETH";
string public constant AXELAR_WETH_SYMBOL_BNB = "WBNB";
string public constant AXELAR_WETH_SYMBOL_POLYGON = "WMATIC";
string public constant AXELAR_WETH_SYMBOL_AVALANCHE = "WAVAX";
string public constant AXELAR_WETH_SYMBOL_ARBITRUM = "axlETH";
string public constant AXELAR_WETH_SYMBOL_OPTIMISM = "axlETH";
string public constant AXELAR_WETH_SYMBOL_BASE = "axlETH";
string public constant AXELAR_WETH_SYMBOL_LINEA = "axlETH";
string public constant AXELAR_WETH_SYMBOL_MANTLE = "axlETH";
string public constant AXELAR_WETH_SYMBOL_FANTOM = "axlETH";
string public constant AXELAR_WETH_SYMBOL_MOONBEAM = "axlETH";
string public constant AXELAR_WETH_SYMBOL_FANTOM = "WFTM";
string public constant AXELAR_WETH_SYMBOL_MOONBEAM = "WGLMR";
string public constant AXELAR_WETH_SYMBOL_CELO = "axlETH";
string public constant AXELAR_WETH_SYMBOL_FILECOIN = "axlETH";
string public constant AXELAR_WETH_SYMBOL_FILECOIN = "WFIL";
string public constant AXELAR_WETH_SYMBOL_KAVA = "axlETH";
string public constant AXELAR_WETH_SYMBOL_POLYGON_MUMBAI = "WMATIC";

address public gateway;
address public gasService;
Expand Down Expand Up @@ -138,6 +143,10 @@ contract Environment is Test {
gateway = AXELAR_GATEWAY_KAVA;
gasService = AXELAR_GAS_SERVICE_KAVA;
wethSymbol = AXELAR_WETH_SYMBOL_KAVA;
} else if (chainId == 80001) {
gateway = AXELAR_GATEWAY_POLYGON_MUMBAI;
gasService = AXELAR_GAS_SERVICE_POLYGON_MUMBAI;
wethSymbol = AXELAR_WETH_SYMBOL_POLYGON_MUMBAI;
} else {
revert("CHAIN UNSUPPORTED");
}
Expand Down

0 comments on commit 89a9c26

Please sign in to comment.