diff --git a/script/Common.s.sol b/script/Common.s.sol index 6ec4a6c..730ae75 100644 --- a/script/Common.s.sol +++ b/script/Common.s.sol @@ -39,7 +39,7 @@ abstract contract Common is Script { uint256 _basePrice, uint256 _quotePrice, address _pool - ) internal returns (uint160 _sqrtPriceX96) { + ) internal view returns (uint160 _sqrtPriceX96) { address _token0 = IAlgebraPool(_pool).token0(); bytes32 _symbol = keccak256(abi.encodePacked(IERC20Metadata(_token0).symbol())); uint256 _price; diff --git a/script/Registry.s.sol b/script/Registry.s.sol index cfc2e0c..b3709c3 100644 --- a/script/Registry.s.sol +++ b/script/Registry.s.sol @@ -5,7 +5,7 @@ pragma solidity 0.7.6; address constant TEST_GOVERNOR = 0x37c5B029f9c3691B3d47cb024f84E5E257aEb0BB; // Registry of protocol deployment -address constant SEPOLIA_SYSTEM_COIN = 0x94beB5fC16824338Eaa538c3c857D7f7fFf4B2Ce; +address constant SEPOLIA_SYSTEM_COIN = 0xFEE6D2833274CDDFfDb641DCa990733c6917598B; address constant SEPOLIA_WETH = 0x980B62Da83eFf3D4576C647993b0c1D7faf17c73; // Testnet Params @@ -24,13 +24,16 @@ address constant ROUTER = 0x2a004eA6266eA1A340D1a7D78F1e0F4e9Ae2e685; // Camelot Relayer address constant CAMELOT_RELAYER_FACTORY = 0x92Bfb4D96f0b8dcA8F6e5E0fc4713DEa8243d9D6; // from pre-deployment -address constant RELAYER_ONE = 0xa430DD704aC39756fbA7C26FEAF9A220741c05b0; +address constant RELAYER_ONE = 0xa430DD704aC39756fbA7C26FEAF9A220741c05b0; // DEX pool relayer +address constant CAMELOT_RELAYER = address(0); // post setup // Chainlink Relayer address constant CHAINLINK_RELAYER_FACTORY = 0x321D55f347095cdA4Ec8d10B63cD099396D1eb29; // from pre-deployment +address constant CHAINLINK_RELAYER = address(0); // post setup // Denominated Oracle address constant DENOMINATED_ORACLE_FACTORY = 0xaF3A59b1794d0E51197CED02AEb87E14DEf07aCf; // from pre-deployment +address constant SYSTEM_ORACLE = address(0); // post setup // Chainlink feeds address constant SEPOLIA_CHAINLINK_ETH_USD_FEED = 0xd30e2101a97dcbAeBCBC04F14C3f624E67A35165;