mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 10:05:18 +00:00
dc6f5c6c83
* extract borrow sync logic into separate func * fix borrow reward calculations Use the normalized borrow as the source shares in reward calculations. * extract supply sync logic into separate func * prepare to fix supply reward calculations * fix deposit reward calculations Use the normalized deposit as the source shares in reward calculations. * extract usdx sync logic into separate func * prepare to fix usdx reward calculations * fix cdp reward calculations Use the normalized cdp debt as the source shares in reward calculations. * fix compile error from messed up partial stage * Fix incentive usdx reward bug (#976) * minor test refactors * fix overpayment bug Init methods should not read params. Add test to cover bug * fix typos |
||
---|---|---|
.. | ||
client | ||
keeper | ||
legacy | ||
simulation | ||
spec | ||
types | ||
abci_test.go | ||
abci.go | ||
alias.go | ||
genesis_test.go | ||
genesis.go | ||
handler_test.go | ||
handler.go | ||
integration_test.go | ||
module.go |