Skip to content

Commit

Permalink
variable naming MAINNET_ORACLE_DELAY
Browse files Browse the repository at this point in the history
  • Loading branch information
pi0neerpat committed Jul 9, 2024
1 parent b75810b commit 0bb0d95
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions script/predeployment/DeployRelayers.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -19,7 +19,7 @@ contract DeployODGCamelotRelayerMainnet is CommonMainnet {
function run() public {
vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));
camelotRelayerFactory.deployAlgebraRelayer(
MAINNET_ALGEBRA_FACTORY, MAINNET_PROTOCOL_TOKEN, MAINNET_WETH, uint32(MAINNET_ORACLE_INTERVAL)
MAINNET_ALGEBRA_FACTORY, MAINNET_PROTOCOL_TOKEN, MAINNET_WETH, uint32(MAINNET_ORACLE_DELAY)
);
vm.stopBroadcast();
}
Expand Down Expand Up @@ -56,7 +56,7 @@ contract DeployEthUsdChainlinkRelayerMainnet is CommonMainnet {

function run() public {
vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_ETH_USD_FEED, MAINNET_ORACLE_INTERVAL);
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_ETH_USD_FEED, MAINNET_ORACLE_DELAY);
vm.stopBroadcast();
}
}
Expand All @@ -73,7 +73,7 @@ contract DeployRethEthChainlinkRelayerMainnet is CommonMainnet {
function run() public {
vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));
IBaseOracle _chainlinkRethEthPriceFeed =
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_RETH_ETH_FEED, MAINNET_ORACLE_INTERVAL);
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_RETH_ETH_FEED, MAINNET_ORACLE_DELAY);

IBaseOracle _rethUsdOracle = denominatedOracleFactory.deployDenominatedOracle(
_chainlinkRethEthPriceFeed, IBaseOracle(MAINNET_CHAINLINK_ETH_USD_RELAYER), false
Expand All @@ -96,7 +96,7 @@ contract DeployWstethEthChainlinkRelayerMainnet is CommonMainnet {
function run() public {
vm.startBroadcast(vm.envUint('ARB_MAINNET_DEPLOYER_PK'));
IBaseOracle _chainlinkWstethEthPriceFeed =
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_WSTETH_ETH_FEED, MAINNET_ORACLE_INTERVAL);
chainlinkRelayerFactory.deployChainlinkRelayer(MAINNET_CHAINLINK_WSTETH_ETH_FEED, MAINNET_ORACLE_DELAY);

IBaseOracle _wstethUsdOracle = denominatedOracleFactory.deployDenominatedOracle(
_chainlinkWstethEthPriceFeed, IBaseOracle(MAINNET_CHAINLINK_ETH_USD_RELAYER), false
Expand Down

0 comments on commit 0bb0d95

Please sign in to comment.