Skip to content

Commit

Permalink
Add another TODO
Browse files Browse the repository at this point in the history
  • Loading branch information
oldchili committed Dec 6, 2023
1 parent 2c5f9b3 commit 765a0d7
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/StickyOracle.sol
Original file line number Diff line number Diff line change
Expand Up @@ -143,6 +143,8 @@ contract StickyOracle {
emit Poke(today, cap, pokePrice_);
}

// TODO: should we add stop functionality? the stop can set the cap to 0 and then we need to make sure poke() doesn't ovreride it

function read() external view toll returns (uint128) {
uint128 cap_ = cap;
require(cap_ > 0, "StickyOracle/cap-not-set"); // TODO: decide if we need the cap_ require
Expand Down

0 comments on commit 765a0d7

Please sign in to comment.