-
Notifications
You must be signed in to change notification settings - Fork 6
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add fn that allows owner to update staking params
Add function that updates parameters of staking. Only owner can update these parameters so here we also use the `Ownable` contract from `OZ` library to use the `onlyOwner` modifier. Requirements: - Minimum deposit amount must be greater than zero, - Minimum deposit amount must be greater than or equal to the minimum deposit amount in the tBTC system, - Maximum total assets must be greater than zero.
- Loading branch information
1 parent
0efc202
commit 2fda404
Showing
1 changed file
with
63 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters