Skip to content

Commit

Permalink
setter for max deadline
Browse files Browse the repository at this point in the history
  • Loading branch information
Daniel Lima committed Sep 14, 2023
1 parent 45b8c6c commit 59045a7
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions contracts/OriumRentalProtocol.sol
Original file line number Diff line number Diff line change
Expand Up @@ -326,4 +326,8 @@ contract OriumRentalProtocol is Initializable, AccessControlUpgradeable, EIP712U
treasury: _treasury
});
}

function setMaxDeadline(uint256 _maxDeadline) external onlyRole(DEFAULT_ADMIN_ROLE) {
maxDeadline = _maxDeadline;
}
}

0 comments on commit 59045a7

Please sign in to comment.