0g-chain/x/earn/keeper
Derrick Lee b38cd850df
Update Earn requests and responses to use multiple strategies (#1284)
* Add multiple strategies to params, queries, txs

* Check deposit/withdraw strategy if supported by vault

* Add note for deposit strategy

* Add strategy type to messages

* Update swagger docs, ignore ethermint proto linting errors

* Update strategy test, move single strategy support to strategytype

* Simplify NewStrategyTypeFromString
2022-09-12 09:43:59 -07:00
..
deposit_test.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
deposit.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
grpc_query_test.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
grpc_query.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
invariants.go Add basic empty Earn module (#1274) 2022-07-20 15:57:56 -07:00
keeper.go Implement Hard strategy for Earn vaults (#1278) 2022-07-28 09:39:57 -07:00
msg_server_test.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
msg_server.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
params.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00
strategy_hard_test.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
strategy_hard.go Implement Hard strategy for Earn vaults (#1278) 2022-07-28 09:39:57 -07:00
strategy.go Add Earn grpc query service and cli query commands (#1279) 2022-07-28 09:50:59 -07:00
vault_record.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_share_record_test.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_share_record.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_share_test.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_share.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
vault_test.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
vault.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
withdraw_test.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
withdraw.go Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00