We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Change specification and add additional functionality to YALLVerification.sol and Staking mediator: Changes to staking contract:
mapping (address => uint256) VerifiersDeposits
uint256 public MinVerifiersDepositAmount
onlyGovernance modifier
addVerifierDeposit ( uint256 _deposit amount)
StakeandAddVerifierDeposit ( uint256 _deposit amount)
function unstake(uint256 _amount)
Verifiers contract:
The text was updated successfully, but these errors were encountered:
chebykin
No branches or pull requests
Change specification and add additional functionality to YALLVerification.sol and Staking mediator:
Changes to staking contract:
mapping (address => uint256) VerifiersDeposits
// verifier address => deposit amount;uint256 public MinVerifiersDepositAmount
with setter withonlyGovernance modifier
. This variable can be set only by governance voting;addVerifierDeposit ( uint256 _deposit amount)
. Address with active stake can call this method and increase his vefiersDeposit ;StakeandAddVerifierDeposit ( uint256 _deposit amount)
; Address can increase its stake and verifiers deposit;function unstake(uint256 _amount)
: unstake amount should be less or equal than stake balance - Verifier Deposit;Verifiers contract:
The text was updated successfully, but these errors were encountered: