Skip to content

Commit

Permalink
fix: naming
Browse files Browse the repository at this point in the history
  • Loading branch information
rbajollari committed Nov 25, 2024
1 parent 93631e7 commit 26a475c
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions script/OjoPointsOracle.s.sol → script/OjoPendleOracle.s.sol
Original file line number Diff line number Diff line change
Expand Up @@ -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));
}
}
2 changes: 1 addition & 1 deletion src/OjoPointsOracle.sol → src/OjoPendleOracle.sol
Original file line number Diff line number Diff line change
@@ -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;

Expand Down

0 comments on commit 26a475c

Please sign in to comment.