0g-chain/x
Derrick Lee be7242d86d
Add /incentive/apy query endpoint (#1328)
* Add /incentive/apy query endpoint

* Add APY calculation using usd value

* Fix maths for adding bkava incentive rewards

Signed-off-by: drklee3 <derrick@dlee.dev>

* Fix apy calculation with community tax, remove infra tax

* Fix pricefeed market mismatches, fix division by zero

* Remove unused kavadist expected keeper

Signed-off-by: drklee3 <derrick@dlee.dev>
2022-10-05 11:39:50 -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 Earn deposits value_in_staked_tokens query parameter (#1325) 2022-10-03 16:37:29 -07:00
evmutil Remove x/bridge & setup migration skeletion (#1295) 2022-09-01 16:20:37 -04:00
hard Return empty coins instead of error when query x/hard total supplied and total borrowed (#1319) 2022-09-29 13:28:10 -06:00
incentive Add /incentive/apy query endpoint (#1328) 2022-10-05 11:39:50 -07:00
issuance gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
kavadist Implement infrastructure proposal (#1306) 2022-09-29 13:27:40 -06:00
liquid Add liquid staking reward redistribution via incentive (#1308) 2022-09-28 13:20:01 -07:00
pricefeed gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
router feat: add proposals for community pool deposits/withdrawals (#1304) 2022-09-29 18:01:06 +01:00
savings Disable savings incentives (#1320) 2022-09-29 21:18:06 +01: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