0g-chain/x
Derrick Lee 651de460ca
Add weighted bkava support for earn incentives (#1299)
* Add bkava handler for earn incentives

* Add bkava accum tests

* Add bkava denoms in index state

* Set storeTimeEquals to default value

* Add supply expected keepers

* Add tests for proportional adjustment

* Add liquid keeper to incentive keeper

* Use weighted reward periods for bkava

* Add liquid keeper to tests

* Add Accumulate override rewards period with deccoins

* Adjust test to handle sub unit coins

* Add liquid keeper to test

* Fix div by zero for proportional rewards

* Update test for actual expected values

* Update expected indexes to be same for different vaults

* Allow no stored time for vaults that have no indexes or state

* Add test for partial bkava deposit

* Add math check to test

* Deterministically iterate over bkava denoms

* Remove unused expected liquid method GetAllDerivativeDenoms
2022-09-23 09:38:22 -07:00
..
auction gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
bep3 gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
cdp gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
committee Remove x/bridge & setup migration skeletion (#1295) 2022-09-01 16:20:37 -04:00
earn Add base earn incentives (#1292) 2022-09-22 11:26:08 -07:00
evmutil Remove x/bridge & setup migration skeletion (#1295) 2022-09-01 16:20:37 -04:00
hard gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
incentive Add weighted bkava support for earn incentives (#1299) 2022-09-23 09:38:22 -07:00
issuance gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
kavadist gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
liquid Add specific /vaults/bkava and /deposits query handler to get aggregated bkava amounts (#1293) 2022-09-20 19:52:40 +01:00
pricefeed gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
savings gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
swap Update default account to BaseAccount (#1263) 2022-06-06 12:04:13 -05:00
validator-vesting gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00