Skip to content

Commit

Permalink
Add DeployArbUsdChainlinkRelayerMainnet
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0neerpat committed Apr 22, 2024
1 parent aaf2c3f commit d53577e
Showing 1 changed file with 16 additions and 0 deletions.
16 changes: 16 additions & 0 deletions script/predeployment/DeployRelayers.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -106,3 +106,19 @@ contract DeployWstethEthChainlinkRelayerMainnet is CommonMainnet {
vm.stopBroadcast();
}
}

// BROADCAST
// source .env && forge script DeployArbUsdChainlinkRelayerMainnet --with-gas-price 2000000000 -vvvvv --rpc-url $ARB_MAINNET_RPC --broadcast --verify --etherscan-api-key $ARB_ETHERSCAN_API_KEY

// SIMULATE
// source .env && forge script DeployArbUsdChainlinkRelayerMainnet --with-gas-price 2000000000 -vvvvv --rpc-url $ARB_MAINNET_RPC

contract DeployArbUsdChainlinkRelayerMainnet is CommonMainnet {
IAlgebraFactory public algebraFactory = IAlgebraFactory(MAINNET_ALGEBRA_FACTORY);

function run() public {
vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_ARB_USD_FEED, MAINNET_ORACLE_INTERVAL);
vm.stopBroadcast();
}
}

0 comments on commit d53577e

Please sign in to comment.