-
Notifications
You must be signed in to change notification settings - Fork 6
New issue
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
release v 1.1 #67
Open
bulbozaur
wants to merge
401
commits into
master
Choose a base branch
from
develop
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
release v 1.1 #67
Conversation
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
…ure/update-spent-amount-tests
…ests feat: update spent amount tests
- test_top_up_motion_ended_and_enacted_in_next_period - test_top_up_spendable_renewal_if_period_duration_changed
- test_spendable_amount_renewal_if_period_duration_changed
…rrectly ans fails to create evm script if sum exceeds limit
- also fixes during review - also add 2 unresolved yet TODOs related to date-time
feat: make dates more readable
…ime-lib feat: add property-based tests for date-time lib
chore: shanghai hardfork
* feat: deploy script * feat: acceptance deploy script
Co-authored-by: Eugene Mamin <TheDZhon@gmail.com>
…-improvements Deploy script for updateTargetValidatorLimits
…nto feature/extra-nor-factories-vebo-improvements
…nto feature/extra-nor-factories-vebo-improvements
Staking Router + CSM
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Overview
This pull request introduces features for payments and node operators registry management.
Generalized payments with limit
Plug-in factories for Easy Track to be used by the Lido DAO committees with intrusive on-chain enforcement of periodically spendable limits.
Contracts based on the existing RewardPrograms set (RewardProgramsRegistry, AddRewardProgram, RemoveRewardProgram, TopUpRewardProgram) have the following differences from the existing ones:
AllowedRecipientsBuilder
- provide ability to deploy payments setup with checksAllowedRecipientsFactory
- Factory for pauments related contractsAllowedRecipientsRegistry
- Registry of recipients and limitsAddAllowedRecipient
- creates EVMScript to add recipient from registryRemoveAllowedRecipient
- creates EVMScript to remove recipient from registryTopUpAllowedRecipients
- creates EVMScript to transfer ERC-20 token to recipientLimitsChecker
- stores limits params and provides limit-enforcement logicADR LIP-18 Audit
Factories set for node operators registry management
This bench of EasyTrack EVM factories to manage an instance of the Simple DVT NodeOperatorsRegistry. The high-view overview of the management flow is presented in the below diagram.
ActivateNodeOperators
- creates EVMScript to activate several node operatorsAddNodeOperators
- creates EVMScript to add a new batch of node operatorsDeactivateNodeOperators
- creates EVMScript to deactivate several node operatorsChangeNodeOperatorManagers
- creates EVMScript to change signing keys manager for several node operatorsIncreaseVettedValidatorsLimit
- creates EVMScript to increase the staking limit for a node operatorSetNodeOperatorNames
- creates EVMScript to set the name of several node operatorsSetNodeOperatorRewardAddresses
- creates EVMScript to set the reward address of several node operatorsSetVettedValidatorsLimits
- creates EVMScript to set the staking limit for node operatorsUpdateTargetValidatorLimits
- creates EVMScript to set the node operator's target validators limitSpecification Audit
Utils