Skip to content

Commit

Permalink
feat: Add muster tokenlist (#130)
Browse files Browse the repository at this point in the history
* feat: Add muster tokenlist

* Update confirmPeriodBlocks
  • Loading branch information
chrstph-dvx authored Feb 22, 2024
1 parent 0772763 commit 628cabc
Show file tree
Hide file tree
Showing 3 changed files with 47 additions and 0 deletions.
6 changes: 6 additions & 0 deletions .github/workflows/generate-token-lists.yml
Original file line number Diff line number Diff line change
Expand Up @@ -164,6 +164,12 @@ jobs:
version: true
command: yarn arbify --l2NetworkID 1380012617 --prevArbifiedList https://tokenlist.arbitrum.io/ArbTokenLists/1380012617_arbed_uniswap_labs.json --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/1380012617_arbed_uniswap_labs.json

- name: Muster Arbify Uniswap
paths:
- ArbTokenLists/4078_arbed_uniswap_labs.json
version: true
command: yarn arbify --l2NetworkID 4078 --ignorePreviousList --tokenList https://tokenlist.arbitrum.io/ArbTokenLists/arbed_uniswap_labs.json --newArbifiedList ./src/ArbTokenLists/4078_arbed_uniswap_labs.json

env:
INFURA_KEY: '${{ secrets.INFURA_KEY }}'
MAINNET_RPC: 'https://mainnet.infura.io/v3/${{ secrets.INFURA_KEY }}'
Expand Down
1 change: 1 addition & 0 deletions src/lib/instantiate_bridge.ts
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,7 @@ export const getNetworkConfig = async () => {
421614: 'https://sepolia-rollup.arbitrum.io/rpc',
660279: 'https://xai-chain.net/rpc',
1380012617: 'https://mainnet.rpc.rarichain.org/http',
4078: 'https://muster.alt.technology',
}[networkID];

if (!childRpc) {
Expand Down
40 changes: 40 additions & 0 deletions src/main.ts
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,47 @@ const rari: L2Network = {
blockTime: arbConstants.ARB_MINIMUM_BLOCK_TIME_IN_SECONDS,
};

const muster: L2Network = {
chainID: 4078,
confirmPeriodBlocks: 7200,
ethBridge: {
bridge: '0xB0EC3C1368AF7d9C2CAE6B7f8E022Cc14d59D2b1',
inbox: '0x18BB8310E3a3DF4EFcCb6B3E9AeCB8bE6d4af07f',
outbox: '0xD17550876106645988051ffDd31dFc3cDaA29F9c',
rollup: '0x73CA76d9B04661604fF950fB8DBc9f18F1B853f1',
sequencerInbox: '0xfb27e42E964F3364630F76D62EB295ae792BD4FA',
},
explorerUrl: 'https://muster-explorer.alt.technology',
isArbitrum: true,
isCustom: true,
name: 'Muster',
partnerChainID: 42161,
partnerChainIDs: [],
retryableLifetimeSeconds: 604800,
tokenBridge: {
l1CustomGateway: '0x6085B32d97be137cC2D6447DcB3BF684C0835D2F',
l1ERC20Gateway: '0x6551eF99126253B7a838Cf46340030C8eD5342c2',
l1GatewayRouter: '0x5040981c42fD61219cc567e255129166A840938e',
l1MultiCall: '0x90B02D9F861017844F30dFbdF725b6aa84E63822',
l1ProxyAdmin: '0x37119EAcFBc1c83DDAf80F6705b6B19630C101C4',
l1Weth: '0x82aF49447D8a07e3bd95BD0d56f35241523fBab1',
l1WethGateway: '0x5e833dd255e2aafFcfB32E874F5e2dFA17A109Ee',
l2CustomGateway: '0x9FcC7aC2c40eFD0443D8B641e482F04310F113f6',
l2ERC20Gateway: '0xFdEb5b89bb8FCA61BF77f205B9F89aC3C5fA5dB8',
l2GatewayRouter: '0xDcF4964Dbb526e91CD6354ac3d1247Ce93C21fc4',
l2Multicall: '0xaA6669a609862871ce72c91a93E70F1ef7590271',
l2ProxyAdmin: '0xf10D50B24eDd74ECF3B6Bc22aE74b7F9843e0fDD',
l2Weth: '0x869Bf8814d77106323745758135b999D34C79a87',
l2WethGateway: '0xB6145BFd3fA9D270871037238003c66B984787f4',
},
nitroGenesisBlock: 0,
nitroGenesisL1Block: 0,
depositTimeout: 1800000,
blockTime: arbConstants.ARB_MINIMUM_BLOCK_TIME_IN_SECONDS,
};

addCustomNetwork({ customL2Network: xai });
addCustomNetwork({ customL2Network: rari });
addCustomNetwork({ customL2Network: muster });

export { update, yargsInstance };

0 comments on commit 628cabc

Please sign in to comment.