Commit Graph

4 Commits

Author SHA1 Message Date
Ricardo Guilherme Schmidt ff94f5e46c
chore(contracts): Normalize function signatures 2024-11-25 12:22:27 -03:00
Ricardo Guilherme Schmidt 6af73d3883
refactor(StakeManager): Extract Updated StakeManager to its own contract, to remove logic not interesting for first contract.
refactor(StakeManager): Move Epoch logic to EpochMath.sol
refactor(MutliplierPointMath): rename functions
feat(MutliplierPointMath):  Add missing functions from spec
feat(StakeMath): change to use custom errors
fix(StakeMath): fix _estimateLockTime
chore(IStakeConstants): remove unused import
refactor(StakeManager): move Account struct to
IStakeManager
refactor(StakeManager): move Epoch struct to EpochMath
refactor(IStakeManger): move errors to StakeMath
chore(.vscode): Fix remappings on IDE
2024-11-25 10:31:10 -03:00
Ricardo Guilherme Schmidt 3f4f6a7aaf chore: update interface and update Solidity version to 0.8.27 across all files 2024-11-15 02:40:11 -03:00
Ricardo Guilherme Schmidt 2289457daf update math 2024-11-15 02:40:11 -03:00