0g-chain/x/earn
Derrick Lee e8242ace80
fix: Use correct share values for earn incentive hooks (#1347)
* Call earn hooks with correct share values

User's shares instead of total vault shares

* Use different amounts for different accounts

* Add claim test with staking claims

* Remove logging statements

* Remove log

* Pass suite.T() to mock earn hooks

* Use begin blocker for staking reward distribution

* Remove unused beginblocker

* Remove log
2022-10-12 14:35:09 -07:00
..
client Add Earn deposits value_in_staked_tokens query parameter (#1325) 2022-10-03 16:37:29 -07:00
keeper fix: Use correct share values for earn incentive hooks (#1347) 2022-10-12 14:35:09 -07:00
testutil Add Earn deposits value_in_staked_tokens query parameter (#1325) 2022-10-03 16:37:29 -07:00
types Add Earn deposits value_in_staked_tokens query parameter (#1325) 2022-10-03 16:37:29 -07:00
genesis_test.go Add private Earn vault with allowed depositors (#1289) 2022-09-12 10:29:35 -07:00
genesis.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
handler.go feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
module.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00