mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-12-27 00:35:18 +00:00
ded692d2f4
* 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 |
||
---|---|---|
.. | ||
deposit_test.go | ||
deposit.go | ||
grpc_query_test.go | ||
grpc_query.go | ||
hooks_test.go | ||
hooks.go | ||
invariants_test.go | ||
invariants.go | ||
keeper.go | ||
msg_server_test.go | ||
msg_server.go | ||
params.go | ||
strategy_hard_test.go | ||
strategy_hard.go | ||
strategy_savings_test.go | ||
strategy_savings.go | ||
strategy.go | ||
vault_record.go | ||
vault_share_record_test.go | ||
vault_share_record.go | ||
vault_share_test.go | ||
vault_share.go | ||
vault_test.go | ||
vault.go | ||
withdraw_test.go | ||
withdraw.go |