Skip to content

Commit

Permalink
add linea mainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
liuxiaobleach committed Jul 15, 2023
1 parent f4c19e8 commit 725e828
Show file tree
Hide file tree
Showing 7 changed files with 4,575 additions and 8 deletions.
14 changes: 8 additions & 6 deletions deploy/pegged-bridge/tokens/002_multi_bridge_token.ts
Original file line number Diff line number Diff line change
Expand Up @@ -9,15 +9,17 @@ const deployFunc: DeployFunction = async (hre: HardhatRuntimeEnvironment) => {
const { deploy } = deployments;
const { deployer } = await getNamedAccounts();

await deploy('MultiBridgeToken', {
const args = [
process.env.MULTI_BRIDGE_TOKEN_NAME,
process.env.MULTI_BRIDGE_TOKEN_SYMBOL,
process.env.MULTI_BRIDGE_TOKEN_DECIMALS
];
const multiBridgeToken = await deploy('MultiBridgeToken', {
from: deployer,
log: true,
args: [
process.env.MULTI_BRIDGE_TOKEN_NAME,
process.env.MULTI_BRIDGE_TOKEN_SYMBOL,
process.env.MULTI_BRIDGE_TOKEN_DECIMALS
]
args: args
});
await hre.run('verify:verify', { address: multiBridgeToken.address, constructorArguments: args });
};

deployFunc.tags = ['MultiBridgeToken'];
Expand Down
1 change: 1 addition & 0 deletions deployments/linea/.chainId
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
59144
Loading

0 comments on commit 725e828

Please sign in to comment.