diff --git a/script/OjoPointsOracle.s.sol b/script/OjoPendleOracle.s.sol similarity index 63% rename from script/OjoPointsOracle.s.sol rename to script/OjoPendleOracle.s.sol index 7204077..9f8d057 100644 --- a/script/OjoPointsOracle.s.sol +++ b/script/OjoPendleOracle.s.sol @@ -2,20 +2,20 @@ pragma solidity 0.8.19; import {Script} from "forge-std/Script.sol"; -import {OjoPointsOracle} from "src/OjoPointsOracle.sol"; +import {OjoPendleOracle} from "src/OjoPendleOracle.sol"; import {console} from "forge-std/console.sol"; -contract DeployOjoPointsOracle is Script { +contract DeployOjoPendleOracle is Script { function run() external { address _pt = vm.envAddress("PT_ADDRESS"); uint256 _baseDiscountPerYear = vm.envUint("BASE_DISCOUNT_PER_YEAR"); vm.startBroadcast(); - OjoPointsOracle ojoPointsOracle = new OjoPointsOracle(_pt, _baseDiscountPerYear); + OjoPendleOracle ojoPendleOracle = new OjoPendleOracle(_pt, _baseDiscountPerYear); vm.stopBroadcast(); - console.log("OjoPointsOracle Address:", address(ojoPointsOracle)); + console.log("OjoPendleOracle Address:", address(ojoPendleOracle)); } } diff --git a/src/OjoPointsOracle.sol b/src/OjoPendleOracle.sol similarity index 98% rename from src/OjoPointsOracle.sol rename to src/OjoPendleOracle.sol index d6abecb..ec0fd04 100644 --- a/src/OjoPointsOracle.sol +++ b/src/OjoPendleOracle.sol @@ -1,7 +1,7 @@ // SPDX-License-Identifier: SEE LICENSE IN LICENSE pragma solidity ^0.8.19; -contract OjoPointsOracle { +contract OjoPendleOracle { uint256 private constant SECONDS_PER_YEAR = 365 days; uint256 private constant ONE = 1e18;