0g-chain/x/savings/keeper
Denali Marsh eaeaf20e83
Incentive savings hooks + init/sync of savings claims (#1209)
* update savings module macc balances getter

* add savings keeper to incentive module

* add savings keeper to incentive module #2

* savings reward syncing

* claim savings reward

* update txs, queries

* update txs, queries #2

* update claim test

* add savings keeper to incentive module in app.go

* re-commit files to disk

* define and call hooks

* keeper methods for init/sync savings reward

* update other tests for easier extendibility

* init savings reward test

* add helper methods to global incentive unit tester

* sync savings test progress

* savings init fix + completed tests

* sync savings updates + tests

* nit: simplify false check

* fix: calculate set difference of incoming deposit denoms

Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 16:19:03 +02:00
..
deposit_test.go Savings genesis state (#1198) 2022-03-29 11:45:04 +02:00
deposit.go Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
diff_test.go Incentive savings hooks + init/sync of savings claims (#1209) 2022-04-21 16:19:03 +02:00
grpc_query.go Savings module: deposit querier (#1193) 2022-03-24 17:43:03 +01:00
grpcquery_test.go Savings module: deposit querier (#1193) 2022-03-24 17:43:03 +01:00
hooks.go Implement savings module hooks interface/types (#1202) 2022-03-31 11:07:19 +02:00
invariants_test.go Savings module invariants (#1199) 2022-03-30 13:51:06 +02:00
invariants.go Incentive module: claim savings reward (#1208) 2022-04-20 13:08:57 +02:00
keeper_test.go Savings module deposits (#1192) 2022-03-23 15:34:23 +01:00
keeper.go Incentive module: claim savings reward (#1208) 2022-04-20 13:08:57 +02:00
msg_server.go Savings module withdrawals (#1197) 2022-03-28 13:53:42 +02:00
params_test.go Savings module params (#1190) 2022-03-23 14:27:54 +01:00
params.go Savings module deposits (#1192) 2022-03-23 15:34:23 +01:00
withdraw_test.go Savings genesis state (#1198) 2022-03-29 11:45:04 +02:00
withdraw.go Savings module withdrawals (#1197) 2022-03-28 13:53:42 +02:00