Skip to content

Conversation

@nkuba
Copy link
Member

@nkuba nkuba commented Jun 17, 2020

This PR extracts some parts of code (mostly authorizations) from TokenStaking to a common contract. The code is common and is used also for ETH staking implemented in keep-network/keep-ecdsa#483.

Refs: keep-network/keep-ecdsa#483

nkuba added 2 commits June 17, 2020 16:37
Extracted parts related to authorization from TokenStaking to a
KeepStaking contact. KeepStaking is a base contract containing common
code used by different types of staking: KEEP Token and ETH only
staking in keep-ecdsa.
The library used just one function that is defined in StakeDelegatable
contract. We don't need to pull whole TokenStaking contract.
@nkuba
Copy link
Member Author

nkuba commented Jun 22, 2020

Closing this PR as the changes were covered by #1867

@nkuba nkuba closed this Jun 22, 2020
@nkuba nkuba deleted the token-staking-extract branch June 22, 2020 13:46
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants