Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: update rewards payout formula (#896)
* fix propotional apy cap * add more tests * wip * wip * cleanup math * add more tests * add more tests * fix tests * clippy * cleanup wip * more tests passing * more tests passing * fix expired locks * all tests passing * cleanup * add proper error type * cleanup reward vault creation * fix pot creation accounts * split functions as per role * transfer from pot * implement decay rate * add decay tests * cleanup * cleanup * chore: update tangle-subxt * chore: update js types --------- Co-authored-by: shekohex <[email protected]>
- Loading branch information