0g-chain/x/earn
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
..
client/cli Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
keeper Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
testutil Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
types Update Earn requests and responses to use multiple strategies (#1284) 2022-09-12 09:43:59 -07:00
genesis_test.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
genesis.go Update Earn vaults to use sdk.Dec shares (#1283) 2022-09-12 09:23:26 -07:00
module.go Add basic Earn module vault deposit/withdraw (#1277) 2022-07-20 16:14:43 -07:00