Skip to content

Commit

Permalink
N-07 Explicit visibility (#423)
Browse files Browse the repository at this point in the history
* Explicit visibility

* Explicit visibility

---------

Co-authored-by: Shahul Hameed <10547529+shahthepro@users.noreply.github.com>
  • Loading branch information
DanielVF and shahthepro authored May 28, 2024
1 parent 9671e9f commit 95b3443
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions contracts/ExponentialStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,8 +21,8 @@ contract ExponentialStaking is ERC20Votes {
RewardsSource public immutable rewardsSource;
uint256 public immutable minStakeDuration; // in seconds
uint256 public constant maxStakeDuration = 365 days;
uint256 constant YEAR_BASE = 14e17;
int256 constant NEW_STAKE = -1;
uint256 public constant YEAR_BASE = 14e17;
int256 public constant NEW_STAKE = -1;

// 2. Staking and Lockup Storage
struct Lockup {
Expand Down
2 changes: 1 addition & 1 deletion contracts/OgvStaking.sol
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ contract OgvStaking is ERC20Votes {
uint256 public immutable minStakeDuration; // in seconds

// 2. Staking and Lockup Storage
uint256 constant YEAR_BASE = 18e17;
uint256 public constant YEAR_BASE = 18e17;

struct Lockup {
uint128 amount;
Expand Down

0 comments on commit 95b3443

Please sign in to comment.