Skip to content
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

feat: introduce VaultFactory #38

Merged
merged 1 commit into from
Nov 7, 2023
Merged

feat: introduce VaultFactory #38

merged 1 commit into from
Nov 7, 2023

Commits on Nov 7, 2023

  1. feat: introduce VaultFactory

    This commit introduces a first version of a `VaultFactory` that later
    will be extended to be capable of instantiating reward vaults and
    possible keep track of vault instances per owner.
    
    As a first step, this implementation comes with a `createVault()`
    function which takes care of creating vaults.
    
    Because `VaultFactory` also knows about `StakeManager` it can derive the
    manager's address and stake token from it when creating vaults, allowing
    the API to be without arguments.
    
    Partially addresses #37
    0x-r4bbit committed Nov 7, 2023
    Configuration menu
    Copy the full SHA
    8e2b9f1 View commit details
    Browse the repository at this point in the history