* Add earn deposits query param to return individual vaults value as ukava
* Add value_in_staked_tokens param handler to specific vault query
* Use separate ukava coins when querying deposits in ukava
Avoid usd of sdk.Coins.Add() as those will aggregate ukava amounts
* Add basic savings strategy
Supports ukava
* Use clearer error message for ErrInvalidVaultStrategy
* Add invariants
* Separate specific vault/all vaults query, update depositor inconsistencies
* Update swagger
* Use single bkava AllowedVault for all bkava variants
* Do not use allowedVault.Denom for value
* Fix vault balance query
* Update query to list bkava vaults
* Add vaults query doc
* Update grpc query test with no supply
* Add earn hooks
* Handle errors
* Update outdated doc comments, make getAllowedVault_Raw private
* Fix outdated comments, lints
* Fix comment maths
* Use AccAddressFromBech32 to validate message addresses
* 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
* Add query methods
* Add TotalDeposited rpc query
* All accounts and all denoms query wip
* Add query deposits
* Remove IsDenomSupported strategy method
This is not necessary and is already set in params allowed vaults
* Add Vaults, TotalDeposited queries
* Deposits query tests and fixes
* proto lints
* Add earn swagger docs
* Add cli query cmds
* Update init-new-chain.sh with usdx strategy and funds
* Add denom url query path for vaults
* Return a list of coins for each depositor instead of multiple deposit entries
* add deposits to genesis state
* import/export genesis with deposits
* add helper keeper method + update tests
* invariants + tests
* register invariants on module
* fix genesis test invariant init
* clean up invariants test
* remove comment from test file
* fix invariants test
* run 'make proto-all'
* add back proto docs template
* ignore all third party packages from proto lint
* generate missing proto docs/linting
* update old branch name for proto-check-breaking
* remove dependency changes from proto generation
* remove no longer needed docs cmds from makefile
* use v0.3 dev image w/ go 1.17; add go mod tidy back
Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
* Add ibc swagger fetch in Makefile proto-update-deps
* Update third_party proto files
* Update swagger to include all Kava modules and IBC
* Add api url to swagger config
* Remove old swagger-ui directory
* Add cleaned legacy-swagger.yml
* Remove cosmos endpoints from legacy swagger
* Remove invalid values, add legacy-swagger to merge config
* Remove unused definitions
* Fix legacy swagger type errors
* Clean up mismatch names, deprecate legacy endpoints
* Remove separate incentive-legacy-swagger.yml
* Update title
* Include legacy in title
* Re-build swagger conf with updated title