staking/script
r4bbit f259286e98
feat: introduce `VaultFactory` (#38)
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
2023-11-07 09:49:22 +01:00
..
Base.s.sol refactor: migrate repository to foundry-template (#6) 2023-09-12 18:37:30 +02:00
Deploy.s.sol feat: introduce `VaultFactory` (#38) 2023-11-07 09:49:22 +01:00
DeploymentConfig.s.sol test(StakeManager): expand on deployment test (#27) 2023-10-10 13:53:03 +02:00