Get desktop application:
View/edit binary Protocol Buffers messages
Msg defines the earn Msg service.
Deposit defines a method for depositing assets into a vault
MsgDeposit represents a message for depositing assedts into a vault
depositor represents the address to deposit funds from
Amount represents the token to deposit. The vault corresponds to the denom of the amount coin.
Strategy is the vault strategy to use.
MsgDepositResponse defines the Msg/Deposit response type.
Withdraw defines a method for withdrawing assets into a vault
MsgWithdraw represents a message for withdrawing liquidity from a vault
from represents the address we are withdrawing for
Amount represents the token to withdraw. The vault corresponds to the denom of the amount coin.
Strategy is the vault strategy to use.
MsgWithdrawResponse defines the Msg/Withdraw response type.
Query defines the gRPC querier service for earn module
Params queries all parameters of the earn module.
QueryParamsRequest defines the request type for querying x/earn parameters.
(message has no fields)
QueryParamsResponse defines the response type for querying x/earn parameters.
params represents the earn module parameters
Vaults queries all vaults
QueryVaultsRequest is the request type for the Query/Vaults RPC method.
(message has no fields)
QueryVaultsResponse is the response type for the Query/Vaults RPC method.
vaults represents the earn module vaults
Vault queries a single vault based on the vault denom
QueryVaultRequest is the request type for the Query/Vault RPC method.
vault filters vault by denom
QueryVaultResponse is the response type for the Query/Vault RPC method.
vault represents the queried earn module vault
Deposits queries deposit details based on depositor address and vault
QueryDepositsRequest is the request type for the Query/Deposits RPC method.
depositor optionally filters deposits by depositor
denom optionally filters deposits by vault denom
respond with vault value in ukava for bkava vaults
pagination defines an optional pagination for the request.
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
deposits returns the deposits matching the requested parameters
pagination defines the pagination in the response.
TotalSupply returns the total sum of all coins currently locked into the earn module.
QueryTotalSupplyRequest defines the request type for Query/TotalSupply method.
(message has no fields)
TotalSupplyResponse defines the response type for the Query/TotalSupply method.
Height is the block height at which these totals apply
Result is a list of coins supplied to earn
AllowedVault is a vault that is allowed to be created. These can be modified via parameter governance.
Used in:
Denom is the only supported denomination of the vault for deposits and withdrawals.
VaultStrategy is the strategy used for this vault.
IsPrivateVault is true if the vault only allows depositors contained in AllowedDepositors.
AllowedDepositors is a list of addresses that are allowed to deposit to this vault if IsPrivateVault is true. Addresses not contained in this list are not allowed to deposit into this vault. If IsPrivateVault is false, this should be empty and ignored.
CommunityPoolDepositProposal deposits from the community pool into an earn vault
CommunityPoolDepositProposalJSON defines a CommunityPoolDepositProposal with a deposit
CommunityPoolWithdrawProposal withdraws from an earn vault back to community pool
CommunityPoolWithdrawProposalJSON defines a CommunityPoolWithdrawProposal with a deposit
DepositResponse defines a deposit query response type.
Used in:
depositor represents the owner of the deposit.
Shares represent the issued shares from their corresponding vaults.
Value represents the total accumulated value of denom coins supplied to vaults. This may be greater than or equal to amount_supplied depending on the strategy.
GenesisState defines the earn module's genesis state.
params defines all the parameters related to earn
vault_records defines the available vaults
share_records defines the owned shares of each vault
Params defines the parameters of the earn module.
Used in:
,StrategyType is the type of strategy that a vault uses to optimize yields.
Used in:
, , ,STRATEGY_TYPE_UNSPECIFIED represents an unspecified or invalid strategy type.
STRATEGY_TYPE_HARD represents the strategy that deposits assets in the Hard module.
STRATEGY_TYPE_SAVINGS represents the strategy that deposits assets in the Savings module.
VaultRecord is the state of a vault.
Used in:
TotalShares is the total distributed number of shares in the vault.
VaultResponse is the response type for a vault.
Used in:
,denom represents the denom of the vault
VaultStrategy is the strategy used for this vault.
IsPrivateVault is true if the vault only allows depositors contained in AllowedDepositors.
AllowedDepositors is a list of addresses that are allowed to deposit to this vault if IsPrivateVault is true. Addresses not contained in this list are not allowed to deposit into this vault. If IsPrivateVault is false, this should be empty and ignored.
TotalShares is the total amount of shares issued to depositors.
TotalValue is the total value of denom coins supplied to the vault if the vault were to be liquidated.
VaultShare defines shares of a vault owned by a depositor.
Used in:
, , , ,VaultShareRecord defines the vault shares owned by a depositor.
Used in:
Depositor represents the owner of the shares
Shares represent the vault shares owned by the depositor.