0g-chain/x/earn/keeper
Derrick Lee ae181604ff
Add basic Earn module vault deposit/withdraw (#1277)
* Add basic earn types and interfaces

* Add VaultStrategy type

* Update params with allowedVaults, deposit/withdraw msgs

* Fill in Deposit method, add keeper methods

* Add testutil, params, codec

* Add withdraw

* emit vault events

* Implement vault viewer methods

* Update doc comments, strategies

* Add earn cli query/tx commands

* Add successfull balance withdraw tests

* Add ukava vault to dev genesis

* Add vault keeper method doc comments

* Update stablecoin strategy to only accept usdx

* Vault state tests

* VaultTotalSupplied tests

* msg server test
2022-07-20 16:14:43 -07:00
..
deposit_test.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
deposit.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
grpc_query_test.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
grpc_query.go Add basic empty Earn module (#1274) 2022-07-20 15:57:56 -07:00
invariants.go Add basic empty Earn module (#1274) 2022-07-20 15:57:56 -07:00
keeper.go Add basic empty Earn module (#1274) 2022-07-20 15:57:56 -07:00
msg_server_test.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
msg_server.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
params.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
strategy_stablecoin.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
strategy.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
vault_test.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
vault.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
withdraw_test.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
withdraw.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00