Skip to content

ZkStaker Assembly Spec Issue #1

Description

@apbendi

This repo will be used to assemble, configure, and deploy a prospective Staker for the ZkSync DAO from the Staker library. This issue aims to document the full spec of what is needed, though not necessarily in the precise order of execution:

  • Set up the repository to use foundry-zksync
  • Add [Staker]((https://github.com/withtally/staker) as a dependency
  • Import the code, tests, and deploys scripts used in ArbStaker as a starting point
  • Deploy scripts and deploy script tests will be built in typescript for execution in hardhat.
  • Make sure things are building with foundry-zksync, make changes/fixes as needed to make it work
  • Update all names to go from ArbStaker -> ZkStaker
  • Update all configuration params for those appropriate for the ZKSync Era network, $ZK token, and other appropriate changes (partiall done, needs parameter verification)
  • Update the ZkStaker assembly to also use the StakerCapDeposits extension
  • Update the deploy script to deploy the MintRewardNotifier
  • Update the deploy script to deploy the IdentityEarningPowerCalculator

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions