0g-chain/app
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
..
ante Add EIP712 ante (#1267) 2022-08-23 13:04:40 -04:00
params Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
_sim_test.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
_simulate_tx_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
_simulate_tx.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
app_test.go Add EVM Support (#1215) 2022-04-21 16:16:28 -04:00
app.go Add /incentive/apy query endpoint (#1328) 2022-10-05 11:39:50 -07:00
config.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
encoding.go Add EVM Support (#1215) 2022-04-21 16:16:28 -04:00
export.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
genesis.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
legacy_tx_broadcast_test.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
legacy_tx_broadcast.go Upgrade to sdk v0.44.5 and add IBC (#1106) 2022-01-07 17:39:27 -07:00
tally_handler.go Tally handler with liquid staking support (#1307) 2022-09-27 11:49:50 -04:00
test_builder.go gofumpt - apply format changes for readability and consistency (#1248) 2022-05-09 11:37:36 -07:00
test_common.go Revert per-module incentive claim denom multipliers (#1312) 2022-09-27 19:46:14 -07:00
upgrades.go Remove x/bridge & setup migration skeletion (#1295) 2022-09-01 16:20:37 -04:00