staking/contracts
r4bbit 74ff357142 fix(StakeVault): make unstaking actually work
Unstaking didn't actually work because it was using `transferFrom()` on the
`StakeVault` with the `from` address being the vault itself.
This would result in an approval error because the vault isn't creating
any approvals to spend its own funds.

The solution is to use `transfer` instead and ensuring the return value
is checked.
2024-01-19 09:57:34 +01:00
..
StakeManager.sol fix(StakeManager): add checks for whether lockup period is in range (#39) 2023-12-06 12:10:07 +01:00
StakeVault.sol fix(StakeVault): make unstaking actually work 2024-01-19 09:57:34 +01:00
VaultFactory.sol feat: introduce `VaultFactory` (#38) 2023-11-07 09:49:22 +01:00