mirror of
https://github.com/0glabs/0g-chain.git
synced 2024-11-10 18:15:19 +00:00
0efe7f2281
* add annualized_reward query proto * use sdkmath.LegacyDec to match RPS param... * add AnnualizedRewards grpc query * add changelog entry * simplify calculation & expand test cases
7883 lines
233 KiB
Markdown
7883 lines
233 KiB
Markdown
<!-- This file is auto-generated. Please do not modify it yourself. -->
|
||
# Protobuf Documentation
|
||
<a name="top"></a>
|
||
|
||
## Table of Contents
|
||
|
||
- [kava/auction/v1beta1/auction.proto](#kava/auction/v1beta1/auction.proto)
|
||
- [BaseAuction](#kava.auction.v1beta1.BaseAuction)
|
||
- [CollateralAuction](#kava.auction.v1beta1.CollateralAuction)
|
||
- [DebtAuction](#kava.auction.v1beta1.DebtAuction)
|
||
- [SurplusAuction](#kava.auction.v1beta1.SurplusAuction)
|
||
- [WeightedAddresses](#kava.auction.v1beta1.WeightedAddresses)
|
||
|
||
- [kava/auction/v1beta1/genesis.proto](#kava/auction/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.auction.v1beta1.GenesisState)
|
||
- [Params](#kava.auction.v1beta1.Params)
|
||
|
||
- [kava/auction/v1beta1/query.proto](#kava/auction/v1beta1/query.proto)
|
||
- [QueryAuctionRequest](#kava.auction.v1beta1.QueryAuctionRequest)
|
||
- [QueryAuctionResponse](#kava.auction.v1beta1.QueryAuctionResponse)
|
||
- [QueryAuctionsRequest](#kava.auction.v1beta1.QueryAuctionsRequest)
|
||
- [QueryAuctionsResponse](#kava.auction.v1beta1.QueryAuctionsResponse)
|
||
- [QueryNextAuctionIDRequest](#kava.auction.v1beta1.QueryNextAuctionIDRequest)
|
||
- [QueryNextAuctionIDResponse](#kava.auction.v1beta1.QueryNextAuctionIDResponse)
|
||
- [QueryParamsRequest](#kava.auction.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.auction.v1beta1.QueryParamsResponse)
|
||
|
||
- [Query](#kava.auction.v1beta1.Query)
|
||
|
||
- [kava/auction/v1beta1/tx.proto](#kava/auction/v1beta1/tx.proto)
|
||
- [MsgPlaceBid](#kava.auction.v1beta1.MsgPlaceBid)
|
||
- [MsgPlaceBidResponse](#kava.auction.v1beta1.MsgPlaceBidResponse)
|
||
|
||
- [Msg](#kava.auction.v1beta1.Msg)
|
||
|
||
- [kava/bep3/v1beta1/bep3.proto](#kava/bep3/v1beta1/bep3.proto)
|
||
- [AssetParam](#kava.bep3.v1beta1.AssetParam)
|
||
- [AssetSupply](#kava.bep3.v1beta1.AssetSupply)
|
||
- [AtomicSwap](#kava.bep3.v1beta1.AtomicSwap)
|
||
- [Params](#kava.bep3.v1beta1.Params)
|
||
- [SupplyLimit](#kava.bep3.v1beta1.SupplyLimit)
|
||
|
||
- [SwapDirection](#kava.bep3.v1beta1.SwapDirection)
|
||
- [SwapStatus](#kava.bep3.v1beta1.SwapStatus)
|
||
|
||
- [kava/bep3/v1beta1/genesis.proto](#kava/bep3/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.bep3.v1beta1.GenesisState)
|
||
|
||
- [kava/bep3/v1beta1/query.proto](#kava/bep3/v1beta1/query.proto)
|
||
- [AssetSupplyResponse](#kava.bep3.v1beta1.AssetSupplyResponse)
|
||
- [AtomicSwapResponse](#kava.bep3.v1beta1.AtomicSwapResponse)
|
||
- [QueryAssetSuppliesRequest](#kava.bep3.v1beta1.QueryAssetSuppliesRequest)
|
||
- [QueryAssetSuppliesResponse](#kava.bep3.v1beta1.QueryAssetSuppliesResponse)
|
||
- [QueryAssetSupplyRequest](#kava.bep3.v1beta1.QueryAssetSupplyRequest)
|
||
- [QueryAssetSupplyResponse](#kava.bep3.v1beta1.QueryAssetSupplyResponse)
|
||
- [QueryAtomicSwapRequest](#kava.bep3.v1beta1.QueryAtomicSwapRequest)
|
||
- [QueryAtomicSwapResponse](#kava.bep3.v1beta1.QueryAtomicSwapResponse)
|
||
- [QueryAtomicSwapsRequest](#kava.bep3.v1beta1.QueryAtomicSwapsRequest)
|
||
- [QueryAtomicSwapsResponse](#kava.bep3.v1beta1.QueryAtomicSwapsResponse)
|
||
- [QueryParamsRequest](#kava.bep3.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.bep3.v1beta1.QueryParamsResponse)
|
||
|
||
- [Query](#kava.bep3.v1beta1.Query)
|
||
|
||
- [kava/bep3/v1beta1/tx.proto](#kava/bep3/v1beta1/tx.proto)
|
||
- [MsgClaimAtomicSwap](#kava.bep3.v1beta1.MsgClaimAtomicSwap)
|
||
- [MsgClaimAtomicSwapResponse](#kava.bep3.v1beta1.MsgClaimAtomicSwapResponse)
|
||
- [MsgCreateAtomicSwap](#kava.bep3.v1beta1.MsgCreateAtomicSwap)
|
||
- [MsgCreateAtomicSwapResponse](#kava.bep3.v1beta1.MsgCreateAtomicSwapResponse)
|
||
- [MsgRefundAtomicSwap](#kava.bep3.v1beta1.MsgRefundAtomicSwap)
|
||
- [MsgRefundAtomicSwapResponse](#kava.bep3.v1beta1.MsgRefundAtomicSwapResponse)
|
||
|
||
- [Msg](#kava.bep3.v1beta1.Msg)
|
||
|
||
- [kava/cdp/v1beta1/cdp.proto](#kava/cdp/v1beta1/cdp.proto)
|
||
- [CDP](#kava.cdp.v1beta1.CDP)
|
||
- [Deposit](#kava.cdp.v1beta1.Deposit)
|
||
- [OwnerCDPIndex](#kava.cdp.v1beta1.OwnerCDPIndex)
|
||
- [TotalCollateral](#kava.cdp.v1beta1.TotalCollateral)
|
||
- [TotalPrincipal](#kava.cdp.v1beta1.TotalPrincipal)
|
||
|
||
- [kava/cdp/v1beta1/genesis.proto](#kava/cdp/v1beta1/genesis.proto)
|
||
- [CollateralParam](#kava.cdp.v1beta1.CollateralParam)
|
||
- [DebtParam](#kava.cdp.v1beta1.DebtParam)
|
||
- [GenesisAccumulationTime](#kava.cdp.v1beta1.GenesisAccumulationTime)
|
||
- [GenesisState](#kava.cdp.v1beta1.GenesisState)
|
||
- [GenesisTotalPrincipal](#kava.cdp.v1beta1.GenesisTotalPrincipal)
|
||
- [Params](#kava.cdp.v1beta1.Params)
|
||
|
||
- [kava/cdp/v1beta1/query.proto](#kava/cdp/v1beta1/query.proto)
|
||
- [CDPResponse](#kava.cdp.v1beta1.CDPResponse)
|
||
- [QueryAccountsRequest](#kava.cdp.v1beta1.QueryAccountsRequest)
|
||
- [QueryAccountsResponse](#kava.cdp.v1beta1.QueryAccountsResponse)
|
||
- [QueryCdpRequest](#kava.cdp.v1beta1.QueryCdpRequest)
|
||
- [QueryCdpResponse](#kava.cdp.v1beta1.QueryCdpResponse)
|
||
- [QueryCdpsRequest](#kava.cdp.v1beta1.QueryCdpsRequest)
|
||
- [QueryCdpsResponse](#kava.cdp.v1beta1.QueryCdpsResponse)
|
||
- [QueryDepositsRequest](#kava.cdp.v1beta1.QueryDepositsRequest)
|
||
- [QueryDepositsResponse](#kava.cdp.v1beta1.QueryDepositsResponse)
|
||
- [QueryParamsRequest](#kava.cdp.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.cdp.v1beta1.QueryParamsResponse)
|
||
- [QueryTotalCollateralRequest](#kava.cdp.v1beta1.QueryTotalCollateralRequest)
|
||
- [QueryTotalCollateralResponse](#kava.cdp.v1beta1.QueryTotalCollateralResponse)
|
||
- [QueryTotalPrincipalRequest](#kava.cdp.v1beta1.QueryTotalPrincipalRequest)
|
||
- [QueryTotalPrincipalResponse](#kava.cdp.v1beta1.QueryTotalPrincipalResponse)
|
||
|
||
- [Query](#kava.cdp.v1beta1.Query)
|
||
|
||
- [kava/cdp/v1beta1/tx.proto](#kava/cdp/v1beta1/tx.proto)
|
||
- [MsgCreateCDP](#kava.cdp.v1beta1.MsgCreateCDP)
|
||
- [MsgCreateCDPResponse](#kava.cdp.v1beta1.MsgCreateCDPResponse)
|
||
- [MsgDeposit](#kava.cdp.v1beta1.MsgDeposit)
|
||
- [MsgDepositResponse](#kava.cdp.v1beta1.MsgDepositResponse)
|
||
- [MsgDrawDebt](#kava.cdp.v1beta1.MsgDrawDebt)
|
||
- [MsgDrawDebtResponse](#kava.cdp.v1beta1.MsgDrawDebtResponse)
|
||
- [MsgLiquidate](#kava.cdp.v1beta1.MsgLiquidate)
|
||
- [MsgLiquidateResponse](#kava.cdp.v1beta1.MsgLiquidateResponse)
|
||
- [MsgRepayDebt](#kava.cdp.v1beta1.MsgRepayDebt)
|
||
- [MsgRepayDebtResponse](#kava.cdp.v1beta1.MsgRepayDebtResponse)
|
||
- [MsgWithdraw](#kava.cdp.v1beta1.MsgWithdraw)
|
||
- [MsgWithdrawResponse](#kava.cdp.v1beta1.MsgWithdrawResponse)
|
||
|
||
- [Msg](#kava.cdp.v1beta1.Msg)
|
||
|
||
- [kava/committee/v1beta1/committee.proto](#kava/committee/v1beta1/committee.proto)
|
||
- [BaseCommittee](#kava.committee.v1beta1.BaseCommittee)
|
||
- [MemberCommittee](#kava.committee.v1beta1.MemberCommittee)
|
||
- [TokenCommittee](#kava.committee.v1beta1.TokenCommittee)
|
||
|
||
- [TallyOption](#kava.committee.v1beta1.TallyOption)
|
||
|
||
- [kava/committee/v1beta1/genesis.proto](#kava/committee/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.committee.v1beta1.GenesisState)
|
||
- [Proposal](#kava.committee.v1beta1.Proposal)
|
||
- [Vote](#kava.committee.v1beta1.Vote)
|
||
|
||
- [VoteType](#kava.committee.v1beta1.VoteType)
|
||
|
||
- [kava/committee/v1beta1/permissions.proto](#kava/committee/v1beta1/permissions.proto)
|
||
- [AllowedParamsChange](#kava.committee.v1beta1.AllowedParamsChange)
|
||
- [CommunityCDPRepayDebtPermission](#kava.committee.v1beta1.CommunityCDPRepayDebtPermission)
|
||
- [CommunityCDPWithdrawCollateralPermission](#kava.committee.v1beta1.CommunityCDPWithdrawCollateralPermission)
|
||
- [CommunityPoolLendWithdrawPermission](#kava.committee.v1beta1.CommunityPoolLendWithdrawPermission)
|
||
- [GodPermission](#kava.committee.v1beta1.GodPermission)
|
||
- [ParamsChangePermission](#kava.committee.v1beta1.ParamsChangePermission)
|
||
- [SoftwareUpgradePermission](#kava.committee.v1beta1.SoftwareUpgradePermission)
|
||
- [SubparamRequirement](#kava.committee.v1beta1.SubparamRequirement)
|
||
- [TextPermission](#kava.committee.v1beta1.TextPermission)
|
||
|
||
- [kava/committee/v1beta1/proposal.proto](#kava/committee/v1beta1/proposal.proto)
|
||
- [CommitteeChangeProposal](#kava.committee.v1beta1.CommitteeChangeProposal)
|
||
- [CommitteeDeleteProposal](#kava.committee.v1beta1.CommitteeDeleteProposal)
|
||
|
||
- [kava/committee/v1beta1/query.proto](#kava/committee/v1beta1/query.proto)
|
||
- [QueryCommitteeRequest](#kava.committee.v1beta1.QueryCommitteeRequest)
|
||
- [QueryCommitteeResponse](#kava.committee.v1beta1.QueryCommitteeResponse)
|
||
- [QueryCommitteesRequest](#kava.committee.v1beta1.QueryCommitteesRequest)
|
||
- [QueryCommitteesResponse](#kava.committee.v1beta1.QueryCommitteesResponse)
|
||
- [QueryNextProposalIDRequest](#kava.committee.v1beta1.QueryNextProposalIDRequest)
|
||
- [QueryNextProposalIDResponse](#kava.committee.v1beta1.QueryNextProposalIDResponse)
|
||
- [QueryProposalRequest](#kava.committee.v1beta1.QueryProposalRequest)
|
||
- [QueryProposalResponse](#kava.committee.v1beta1.QueryProposalResponse)
|
||
- [QueryProposalsRequest](#kava.committee.v1beta1.QueryProposalsRequest)
|
||
- [QueryProposalsResponse](#kava.committee.v1beta1.QueryProposalsResponse)
|
||
- [QueryRawParamsRequest](#kava.committee.v1beta1.QueryRawParamsRequest)
|
||
- [QueryRawParamsResponse](#kava.committee.v1beta1.QueryRawParamsResponse)
|
||
- [QueryTallyRequest](#kava.committee.v1beta1.QueryTallyRequest)
|
||
- [QueryTallyResponse](#kava.committee.v1beta1.QueryTallyResponse)
|
||
- [QueryVoteRequest](#kava.committee.v1beta1.QueryVoteRequest)
|
||
- [QueryVoteResponse](#kava.committee.v1beta1.QueryVoteResponse)
|
||
- [QueryVotesRequest](#kava.committee.v1beta1.QueryVotesRequest)
|
||
- [QueryVotesResponse](#kava.committee.v1beta1.QueryVotesResponse)
|
||
|
||
- [Query](#kava.committee.v1beta1.Query)
|
||
|
||
- [kava/committee/v1beta1/tx.proto](#kava/committee/v1beta1/tx.proto)
|
||
- [MsgSubmitProposal](#kava.committee.v1beta1.MsgSubmitProposal)
|
||
- [MsgSubmitProposalResponse](#kava.committee.v1beta1.MsgSubmitProposalResponse)
|
||
- [MsgVote](#kava.committee.v1beta1.MsgVote)
|
||
- [MsgVoteResponse](#kava.committee.v1beta1.MsgVoteResponse)
|
||
|
||
- [Msg](#kava.committee.v1beta1.Msg)
|
||
|
||
- [kava/community/v1beta1/params.proto](#kava/community/v1beta1/params.proto)
|
||
- [Params](#kava.community.v1beta1.Params)
|
||
|
||
- [kava/community/v1beta1/staking.proto](#kava/community/v1beta1/staking.proto)
|
||
- [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState)
|
||
|
||
- [kava/community/v1beta1/genesis.proto](#kava/community/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.community.v1beta1.GenesisState)
|
||
|
||
- [kava/community/v1beta1/proposal.proto](#kava/community/v1beta1/proposal.proto)
|
||
- [CommunityCDPRepayDebtProposal](#kava.community.v1beta1.CommunityCDPRepayDebtProposal)
|
||
- [CommunityCDPWithdrawCollateralProposal](#kava.community.v1beta1.CommunityCDPWithdrawCollateralProposal)
|
||
- [CommunityPoolLendDepositProposal](#kava.community.v1beta1.CommunityPoolLendDepositProposal)
|
||
- [CommunityPoolLendWithdrawProposal](#kava.community.v1beta1.CommunityPoolLendWithdrawProposal)
|
||
|
||
- [kava/community/v1beta1/query.proto](#kava/community/v1beta1/query.proto)
|
||
- [QueryAnnualizedRewardsRequest](#kava.community.v1beta1.QueryAnnualizedRewardsRequest)
|
||
- [QueryAnnualizedRewardsResponse](#kava.community.v1beta1.QueryAnnualizedRewardsResponse)
|
||
- [QueryBalanceRequest](#kava.community.v1beta1.QueryBalanceRequest)
|
||
- [QueryBalanceResponse](#kava.community.v1beta1.QueryBalanceResponse)
|
||
- [QueryParamsRequest](#kava.community.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.community.v1beta1.QueryParamsResponse)
|
||
- [QueryTotalBalanceRequest](#kava.community.v1beta1.QueryTotalBalanceRequest)
|
||
- [QueryTotalBalanceResponse](#kava.community.v1beta1.QueryTotalBalanceResponse)
|
||
|
||
- [Query](#kava.community.v1beta1.Query)
|
||
|
||
- [kava/community/v1beta1/tx.proto](#kava/community/v1beta1/tx.proto)
|
||
- [MsgFundCommunityPool](#kava.community.v1beta1.MsgFundCommunityPool)
|
||
- [MsgFundCommunityPoolResponse](#kava.community.v1beta1.MsgFundCommunityPoolResponse)
|
||
- [MsgUpdateParams](#kava.community.v1beta1.MsgUpdateParams)
|
||
- [MsgUpdateParamsResponse](#kava.community.v1beta1.MsgUpdateParamsResponse)
|
||
|
||
- [Msg](#kava.community.v1beta1.Msg)
|
||
|
||
- [kava/earn/v1beta1/strategy.proto](#kava/earn/v1beta1/strategy.proto)
|
||
- [StrategyType](#kava.earn.v1beta1.StrategyType)
|
||
|
||
- [kava/earn/v1beta1/vault.proto](#kava/earn/v1beta1/vault.proto)
|
||
- [AllowedVault](#kava.earn.v1beta1.AllowedVault)
|
||
- [VaultRecord](#kava.earn.v1beta1.VaultRecord)
|
||
- [VaultShare](#kava.earn.v1beta1.VaultShare)
|
||
- [VaultShareRecord](#kava.earn.v1beta1.VaultShareRecord)
|
||
|
||
- [kava/earn/v1beta1/params.proto](#kava/earn/v1beta1/params.proto)
|
||
- [Params](#kava.earn.v1beta1.Params)
|
||
|
||
- [kava/earn/v1beta1/genesis.proto](#kava/earn/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.earn.v1beta1.GenesisState)
|
||
|
||
- [kava/earn/v1beta1/proposal.proto](#kava/earn/v1beta1/proposal.proto)
|
||
- [CommunityPoolDepositProposal](#kava.earn.v1beta1.CommunityPoolDepositProposal)
|
||
- [CommunityPoolDepositProposalJSON](#kava.earn.v1beta1.CommunityPoolDepositProposalJSON)
|
||
- [CommunityPoolWithdrawProposal](#kava.earn.v1beta1.CommunityPoolWithdrawProposal)
|
||
- [CommunityPoolWithdrawProposalJSON](#kava.earn.v1beta1.CommunityPoolWithdrawProposalJSON)
|
||
|
||
- [kava/earn/v1beta1/query.proto](#kava/earn/v1beta1/query.proto)
|
||
- [DepositResponse](#kava.earn.v1beta1.DepositResponse)
|
||
- [QueryDepositsRequest](#kava.earn.v1beta1.QueryDepositsRequest)
|
||
- [QueryDepositsResponse](#kava.earn.v1beta1.QueryDepositsResponse)
|
||
- [QueryParamsRequest](#kava.earn.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.earn.v1beta1.QueryParamsResponse)
|
||
- [QueryTotalSupplyRequest](#kava.earn.v1beta1.QueryTotalSupplyRequest)
|
||
- [QueryTotalSupplyResponse](#kava.earn.v1beta1.QueryTotalSupplyResponse)
|
||
- [QueryVaultRequest](#kava.earn.v1beta1.QueryVaultRequest)
|
||
- [QueryVaultResponse](#kava.earn.v1beta1.QueryVaultResponse)
|
||
- [QueryVaultsRequest](#kava.earn.v1beta1.QueryVaultsRequest)
|
||
- [QueryVaultsResponse](#kava.earn.v1beta1.QueryVaultsResponse)
|
||
- [VaultResponse](#kava.earn.v1beta1.VaultResponse)
|
||
|
||
- [Query](#kava.earn.v1beta1.Query)
|
||
|
||
- [kava/earn/v1beta1/tx.proto](#kava/earn/v1beta1/tx.proto)
|
||
- [MsgDeposit](#kava.earn.v1beta1.MsgDeposit)
|
||
- [MsgDepositResponse](#kava.earn.v1beta1.MsgDepositResponse)
|
||
- [MsgWithdraw](#kava.earn.v1beta1.MsgWithdraw)
|
||
- [MsgWithdrawResponse](#kava.earn.v1beta1.MsgWithdrawResponse)
|
||
|
||
- [Msg](#kava.earn.v1beta1.Msg)
|
||
|
||
- [kava/evmutil/v1beta1/conversion_pair.proto](#kava/evmutil/v1beta1/conversion_pair.proto)
|
||
- [AllowedCosmosCoinERC20Token](#kava.evmutil.v1beta1.AllowedCosmosCoinERC20Token)
|
||
- [ConversionPair](#kava.evmutil.v1beta1.ConversionPair)
|
||
|
||
- [kava/evmutil/v1beta1/genesis.proto](#kava/evmutil/v1beta1/genesis.proto)
|
||
- [Account](#kava.evmutil.v1beta1.Account)
|
||
- [GenesisState](#kava.evmutil.v1beta1.GenesisState)
|
||
- [Params](#kava.evmutil.v1beta1.Params)
|
||
|
||
- [kava/evmutil/v1beta1/query.proto](#kava/evmutil/v1beta1/query.proto)
|
||
- [DeployedCosmosCoinContract](#kava.evmutil.v1beta1.DeployedCosmosCoinContract)
|
||
- [QueryDeployedCosmosCoinContractsRequest](#kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest)
|
||
- [QueryDeployedCosmosCoinContractsResponse](#kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse)
|
||
- [QueryParamsRequest](#kava.evmutil.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.evmutil.v1beta1.QueryParamsResponse)
|
||
|
||
- [Query](#kava.evmutil.v1beta1.Query)
|
||
|
||
- [kava/evmutil/v1beta1/tx.proto](#kava/evmutil/v1beta1/tx.proto)
|
||
- [MsgConvertCoinToERC20](#kava.evmutil.v1beta1.MsgConvertCoinToERC20)
|
||
- [MsgConvertCoinToERC20Response](#kava.evmutil.v1beta1.MsgConvertCoinToERC20Response)
|
||
- [MsgConvertCosmosCoinFromERC20](#kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20)
|
||
- [MsgConvertCosmosCoinFromERC20Response](#kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response)
|
||
- [MsgConvertCosmosCoinToERC20](#kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20)
|
||
- [MsgConvertCosmosCoinToERC20Response](#kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response)
|
||
- [MsgConvertERC20ToCoin](#kava.evmutil.v1beta1.MsgConvertERC20ToCoin)
|
||
- [MsgConvertERC20ToCoinResponse](#kava.evmutil.v1beta1.MsgConvertERC20ToCoinResponse)
|
||
|
||
- [Msg](#kava.evmutil.v1beta1.Msg)
|
||
|
||
- [kava/hard/v1beta1/hard.proto](#kava/hard/v1beta1/hard.proto)
|
||
- [Borrow](#kava.hard.v1beta1.Borrow)
|
||
- [BorrowInterestFactor](#kava.hard.v1beta1.BorrowInterestFactor)
|
||
- [BorrowLimit](#kava.hard.v1beta1.BorrowLimit)
|
||
- [CoinsProto](#kava.hard.v1beta1.CoinsProto)
|
||
- [Deposit](#kava.hard.v1beta1.Deposit)
|
||
- [InterestRateModel](#kava.hard.v1beta1.InterestRateModel)
|
||
- [MoneyMarket](#kava.hard.v1beta1.MoneyMarket)
|
||
- [Params](#kava.hard.v1beta1.Params)
|
||
- [SupplyInterestFactor](#kava.hard.v1beta1.SupplyInterestFactor)
|
||
|
||
- [kava/hard/v1beta1/genesis.proto](#kava/hard/v1beta1/genesis.proto)
|
||
- [GenesisAccumulationTime](#kava.hard.v1beta1.GenesisAccumulationTime)
|
||
- [GenesisState](#kava.hard.v1beta1.GenesisState)
|
||
|
||
- [kava/hard/v1beta1/query.proto](#kava/hard/v1beta1/query.proto)
|
||
- [BorrowInterestFactorResponse](#kava.hard.v1beta1.BorrowInterestFactorResponse)
|
||
- [BorrowResponse](#kava.hard.v1beta1.BorrowResponse)
|
||
- [DepositResponse](#kava.hard.v1beta1.DepositResponse)
|
||
- [InterestFactor](#kava.hard.v1beta1.InterestFactor)
|
||
- [MoneyMarketInterestRate](#kava.hard.v1beta1.MoneyMarketInterestRate)
|
||
- [QueryAccountsRequest](#kava.hard.v1beta1.QueryAccountsRequest)
|
||
- [QueryAccountsResponse](#kava.hard.v1beta1.QueryAccountsResponse)
|
||
- [QueryBorrowsRequest](#kava.hard.v1beta1.QueryBorrowsRequest)
|
||
- [QueryBorrowsResponse](#kava.hard.v1beta1.QueryBorrowsResponse)
|
||
- [QueryDepositsRequest](#kava.hard.v1beta1.QueryDepositsRequest)
|
||
- [QueryDepositsResponse](#kava.hard.v1beta1.QueryDepositsResponse)
|
||
- [QueryInterestFactorsRequest](#kava.hard.v1beta1.QueryInterestFactorsRequest)
|
||
- [QueryInterestFactorsResponse](#kava.hard.v1beta1.QueryInterestFactorsResponse)
|
||
- [QueryInterestRateRequest](#kava.hard.v1beta1.QueryInterestRateRequest)
|
||
- [QueryInterestRateResponse](#kava.hard.v1beta1.QueryInterestRateResponse)
|
||
- [QueryParamsRequest](#kava.hard.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.hard.v1beta1.QueryParamsResponse)
|
||
- [QueryReservesRequest](#kava.hard.v1beta1.QueryReservesRequest)
|
||
- [QueryReservesResponse](#kava.hard.v1beta1.QueryReservesResponse)
|
||
- [QueryTotalBorrowedRequest](#kava.hard.v1beta1.QueryTotalBorrowedRequest)
|
||
- [QueryTotalBorrowedResponse](#kava.hard.v1beta1.QueryTotalBorrowedResponse)
|
||
- [QueryTotalDepositedRequest](#kava.hard.v1beta1.QueryTotalDepositedRequest)
|
||
- [QueryTotalDepositedResponse](#kava.hard.v1beta1.QueryTotalDepositedResponse)
|
||
- [QueryUnsyncedBorrowsRequest](#kava.hard.v1beta1.QueryUnsyncedBorrowsRequest)
|
||
- [QueryUnsyncedBorrowsResponse](#kava.hard.v1beta1.QueryUnsyncedBorrowsResponse)
|
||
- [QueryUnsyncedDepositsRequest](#kava.hard.v1beta1.QueryUnsyncedDepositsRequest)
|
||
- [QueryUnsyncedDepositsResponse](#kava.hard.v1beta1.QueryUnsyncedDepositsResponse)
|
||
- [SupplyInterestFactorResponse](#kava.hard.v1beta1.SupplyInterestFactorResponse)
|
||
|
||
- [Query](#kava.hard.v1beta1.Query)
|
||
|
||
- [kava/hard/v1beta1/tx.proto](#kava/hard/v1beta1/tx.proto)
|
||
- [MsgBorrow](#kava.hard.v1beta1.MsgBorrow)
|
||
- [MsgBorrowResponse](#kava.hard.v1beta1.MsgBorrowResponse)
|
||
- [MsgDeposit](#kava.hard.v1beta1.MsgDeposit)
|
||
- [MsgDepositResponse](#kava.hard.v1beta1.MsgDepositResponse)
|
||
- [MsgLiquidate](#kava.hard.v1beta1.MsgLiquidate)
|
||
- [MsgLiquidateResponse](#kava.hard.v1beta1.MsgLiquidateResponse)
|
||
- [MsgRepay](#kava.hard.v1beta1.MsgRepay)
|
||
- [MsgRepayResponse](#kava.hard.v1beta1.MsgRepayResponse)
|
||
- [MsgWithdraw](#kava.hard.v1beta1.MsgWithdraw)
|
||
- [MsgWithdrawResponse](#kava.hard.v1beta1.MsgWithdrawResponse)
|
||
|
||
- [Msg](#kava.hard.v1beta1.Msg)
|
||
|
||
- [kava/incentive/v1beta1/apy.proto](#kava/incentive/v1beta1/apy.proto)
|
||
- [Apy](#kava.incentive.v1beta1.Apy)
|
||
|
||
- [kava/incentive/v1beta1/claims.proto](#kava/incentive/v1beta1/claims.proto)
|
||
- [BaseClaim](#kava.incentive.v1beta1.BaseClaim)
|
||
- [BaseMultiClaim](#kava.incentive.v1beta1.BaseMultiClaim)
|
||
- [DelegatorClaim](#kava.incentive.v1beta1.DelegatorClaim)
|
||
- [EarnClaim](#kava.incentive.v1beta1.EarnClaim)
|
||
- [HardLiquidityProviderClaim](#kava.incentive.v1beta1.HardLiquidityProviderClaim)
|
||
- [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex)
|
||
- [MultiRewardIndexesProto](#kava.incentive.v1beta1.MultiRewardIndexesProto)
|
||
- [RewardIndex](#kava.incentive.v1beta1.RewardIndex)
|
||
- [RewardIndexesProto](#kava.incentive.v1beta1.RewardIndexesProto)
|
||
- [SavingsClaim](#kava.incentive.v1beta1.SavingsClaim)
|
||
- [SwapClaim](#kava.incentive.v1beta1.SwapClaim)
|
||
- [USDXMintingClaim](#kava.incentive.v1beta1.USDXMintingClaim)
|
||
|
||
- [kava/incentive/v1beta1/params.proto](#kava/incentive/v1beta1/params.proto)
|
||
- [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod)
|
||
- [Multiplier](#kava.incentive.v1beta1.Multiplier)
|
||
- [MultipliersPerDenom](#kava.incentive.v1beta1.MultipliersPerDenom)
|
||
- [Params](#kava.incentive.v1beta1.Params)
|
||
- [RewardPeriod](#kava.incentive.v1beta1.RewardPeriod)
|
||
|
||
- [kava/incentive/v1beta1/genesis.proto](#kava/incentive/v1beta1/genesis.proto)
|
||
- [AccumulationTime](#kava.incentive.v1beta1.AccumulationTime)
|
||
- [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState)
|
||
- [GenesisState](#kava.incentive.v1beta1.GenesisState)
|
||
|
||
- [kava/incentive/v1beta1/query.proto](#kava/incentive/v1beta1/query.proto)
|
||
- [QueryApyRequest](#kava.incentive.v1beta1.QueryApyRequest)
|
||
- [QueryApyResponse](#kava.incentive.v1beta1.QueryApyResponse)
|
||
- [QueryParamsRequest](#kava.incentive.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.incentive.v1beta1.QueryParamsResponse)
|
||
- [QueryRewardFactorsRequest](#kava.incentive.v1beta1.QueryRewardFactorsRequest)
|
||
- [QueryRewardFactorsResponse](#kava.incentive.v1beta1.QueryRewardFactorsResponse)
|
||
- [QueryRewardsRequest](#kava.incentive.v1beta1.QueryRewardsRequest)
|
||
- [QueryRewardsResponse](#kava.incentive.v1beta1.QueryRewardsResponse)
|
||
|
||
- [Query](#kava.incentive.v1beta1.Query)
|
||
|
||
- [kava/incentive/v1beta1/tx.proto](#kava/incentive/v1beta1/tx.proto)
|
||
- [MsgClaimDelegatorReward](#kava.incentive.v1beta1.MsgClaimDelegatorReward)
|
||
- [MsgClaimDelegatorRewardResponse](#kava.incentive.v1beta1.MsgClaimDelegatorRewardResponse)
|
||
- [MsgClaimEarnReward](#kava.incentive.v1beta1.MsgClaimEarnReward)
|
||
- [MsgClaimEarnRewardResponse](#kava.incentive.v1beta1.MsgClaimEarnRewardResponse)
|
||
- [MsgClaimHardReward](#kava.incentive.v1beta1.MsgClaimHardReward)
|
||
- [MsgClaimHardRewardResponse](#kava.incentive.v1beta1.MsgClaimHardRewardResponse)
|
||
- [MsgClaimSavingsReward](#kava.incentive.v1beta1.MsgClaimSavingsReward)
|
||
- [MsgClaimSavingsRewardResponse](#kava.incentive.v1beta1.MsgClaimSavingsRewardResponse)
|
||
- [MsgClaimSwapReward](#kava.incentive.v1beta1.MsgClaimSwapReward)
|
||
- [MsgClaimSwapRewardResponse](#kava.incentive.v1beta1.MsgClaimSwapRewardResponse)
|
||
- [MsgClaimUSDXMintingReward](#kava.incentive.v1beta1.MsgClaimUSDXMintingReward)
|
||
- [MsgClaimUSDXMintingRewardResponse](#kava.incentive.v1beta1.MsgClaimUSDXMintingRewardResponse)
|
||
- [Selection](#kava.incentive.v1beta1.Selection)
|
||
|
||
- [Msg](#kava.incentive.v1beta1.Msg)
|
||
|
||
- [kava/issuance/v1beta1/genesis.proto](#kava/issuance/v1beta1/genesis.proto)
|
||
- [Asset](#kava.issuance.v1beta1.Asset)
|
||
- [AssetSupply](#kava.issuance.v1beta1.AssetSupply)
|
||
- [GenesisState](#kava.issuance.v1beta1.GenesisState)
|
||
- [Params](#kava.issuance.v1beta1.Params)
|
||
- [RateLimit](#kava.issuance.v1beta1.RateLimit)
|
||
|
||
- [kava/issuance/v1beta1/query.proto](#kava/issuance/v1beta1/query.proto)
|
||
- [QueryParamsRequest](#kava.issuance.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.issuance.v1beta1.QueryParamsResponse)
|
||
|
||
- [Query](#kava.issuance.v1beta1.Query)
|
||
|
||
- [kava/issuance/v1beta1/tx.proto](#kava/issuance/v1beta1/tx.proto)
|
||
- [MsgBlockAddress](#kava.issuance.v1beta1.MsgBlockAddress)
|
||
- [MsgBlockAddressResponse](#kava.issuance.v1beta1.MsgBlockAddressResponse)
|
||
- [MsgIssueTokens](#kava.issuance.v1beta1.MsgIssueTokens)
|
||
- [MsgIssueTokensResponse](#kava.issuance.v1beta1.MsgIssueTokensResponse)
|
||
- [MsgRedeemTokens](#kava.issuance.v1beta1.MsgRedeemTokens)
|
||
- [MsgRedeemTokensResponse](#kava.issuance.v1beta1.MsgRedeemTokensResponse)
|
||
- [MsgSetPauseStatus](#kava.issuance.v1beta1.MsgSetPauseStatus)
|
||
- [MsgSetPauseStatusResponse](#kava.issuance.v1beta1.MsgSetPauseStatusResponse)
|
||
- [MsgUnblockAddress](#kava.issuance.v1beta1.MsgUnblockAddress)
|
||
- [MsgUnblockAddressResponse](#kava.issuance.v1beta1.MsgUnblockAddressResponse)
|
||
|
||
- [Msg](#kava.issuance.v1beta1.Msg)
|
||
|
||
- [kava/kavadist/v1beta1/params.proto](#kava/kavadist/v1beta1/params.proto)
|
||
- [CoreReward](#kava.kavadist.v1beta1.CoreReward)
|
||
- [InfrastructureParams](#kava.kavadist.v1beta1.InfrastructureParams)
|
||
- [Params](#kava.kavadist.v1beta1.Params)
|
||
- [PartnerReward](#kava.kavadist.v1beta1.PartnerReward)
|
||
- [Period](#kava.kavadist.v1beta1.Period)
|
||
|
||
- [kava/kavadist/v1beta1/genesis.proto](#kava/kavadist/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.kavadist.v1beta1.GenesisState)
|
||
|
||
- [kava/kavadist/v1beta1/proposal.proto](#kava/kavadist/v1beta1/proposal.proto)
|
||
- [CommunityPoolMultiSpendProposal](#kava.kavadist.v1beta1.CommunityPoolMultiSpendProposal)
|
||
- [CommunityPoolMultiSpendProposalJSON](#kava.kavadist.v1beta1.CommunityPoolMultiSpendProposalJSON)
|
||
- [MultiSpendRecipient](#kava.kavadist.v1beta1.MultiSpendRecipient)
|
||
|
||
- [kava/kavadist/v1beta1/query.proto](#kava/kavadist/v1beta1/query.proto)
|
||
- [QueryBalanceRequest](#kava.kavadist.v1beta1.QueryBalanceRequest)
|
||
- [QueryBalanceResponse](#kava.kavadist.v1beta1.QueryBalanceResponse)
|
||
- [QueryParamsRequest](#kava.kavadist.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.kavadist.v1beta1.QueryParamsResponse)
|
||
|
||
- [Query](#kava.kavadist.v1beta1.Query)
|
||
|
||
- [kava/liquid/v1beta1/query.proto](#kava/liquid/v1beta1/query.proto)
|
||
- [QueryDelegatedBalanceRequest](#kava.liquid.v1beta1.QueryDelegatedBalanceRequest)
|
||
- [QueryDelegatedBalanceResponse](#kava.liquid.v1beta1.QueryDelegatedBalanceResponse)
|
||
- [QueryTotalSupplyRequest](#kava.liquid.v1beta1.QueryTotalSupplyRequest)
|
||
- [QueryTotalSupplyResponse](#kava.liquid.v1beta1.QueryTotalSupplyResponse)
|
||
|
||
- [Query](#kava.liquid.v1beta1.Query)
|
||
|
||
- [kava/liquid/v1beta1/tx.proto](#kava/liquid/v1beta1/tx.proto)
|
||
- [MsgBurnDerivative](#kava.liquid.v1beta1.MsgBurnDerivative)
|
||
- [MsgBurnDerivativeResponse](#kava.liquid.v1beta1.MsgBurnDerivativeResponse)
|
||
- [MsgMintDerivative](#kava.liquid.v1beta1.MsgMintDerivative)
|
||
- [MsgMintDerivativeResponse](#kava.liquid.v1beta1.MsgMintDerivativeResponse)
|
||
|
||
- [Msg](#kava.liquid.v1beta1.Msg)
|
||
|
||
- [kava/pricefeed/v1beta1/store.proto](#kava/pricefeed/v1beta1/store.proto)
|
||
- [CurrentPrice](#kava.pricefeed.v1beta1.CurrentPrice)
|
||
- [Market](#kava.pricefeed.v1beta1.Market)
|
||
- [Params](#kava.pricefeed.v1beta1.Params)
|
||
- [PostedPrice](#kava.pricefeed.v1beta1.PostedPrice)
|
||
|
||
- [kava/pricefeed/v1beta1/genesis.proto](#kava/pricefeed/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.pricefeed.v1beta1.GenesisState)
|
||
|
||
- [kava/pricefeed/v1beta1/query.proto](#kava/pricefeed/v1beta1/query.proto)
|
||
- [CurrentPriceResponse](#kava.pricefeed.v1beta1.CurrentPriceResponse)
|
||
- [MarketResponse](#kava.pricefeed.v1beta1.MarketResponse)
|
||
- [PostedPriceResponse](#kava.pricefeed.v1beta1.PostedPriceResponse)
|
||
- [QueryMarketsRequest](#kava.pricefeed.v1beta1.QueryMarketsRequest)
|
||
- [QueryMarketsResponse](#kava.pricefeed.v1beta1.QueryMarketsResponse)
|
||
- [QueryOraclesRequest](#kava.pricefeed.v1beta1.QueryOraclesRequest)
|
||
- [QueryOraclesResponse](#kava.pricefeed.v1beta1.QueryOraclesResponse)
|
||
- [QueryParamsRequest](#kava.pricefeed.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.pricefeed.v1beta1.QueryParamsResponse)
|
||
- [QueryPriceRequest](#kava.pricefeed.v1beta1.QueryPriceRequest)
|
||
- [QueryPriceResponse](#kava.pricefeed.v1beta1.QueryPriceResponse)
|
||
- [QueryPricesRequest](#kava.pricefeed.v1beta1.QueryPricesRequest)
|
||
- [QueryPricesResponse](#kava.pricefeed.v1beta1.QueryPricesResponse)
|
||
- [QueryRawPricesRequest](#kava.pricefeed.v1beta1.QueryRawPricesRequest)
|
||
- [QueryRawPricesResponse](#kava.pricefeed.v1beta1.QueryRawPricesResponse)
|
||
|
||
- [Query](#kava.pricefeed.v1beta1.Query)
|
||
|
||
- [kava/pricefeed/v1beta1/tx.proto](#kava/pricefeed/v1beta1/tx.proto)
|
||
- [MsgPostPrice](#kava.pricefeed.v1beta1.MsgPostPrice)
|
||
- [MsgPostPriceResponse](#kava.pricefeed.v1beta1.MsgPostPriceResponse)
|
||
|
||
- [Msg](#kava.pricefeed.v1beta1.Msg)
|
||
|
||
- [kava/router/v1beta1/tx.proto](#kava/router/v1beta1/tx.proto)
|
||
- [MsgDelegateMintDeposit](#kava.router.v1beta1.MsgDelegateMintDeposit)
|
||
- [MsgDelegateMintDepositResponse](#kava.router.v1beta1.MsgDelegateMintDepositResponse)
|
||
- [MsgMintDeposit](#kava.router.v1beta1.MsgMintDeposit)
|
||
- [MsgMintDepositResponse](#kava.router.v1beta1.MsgMintDepositResponse)
|
||
- [MsgWithdrawBurn](#kava.router.v1beta1.MsgWithdrawBurn)
|
||
- [MsgWithdrawBurnResponse](#kava.router.v1beta1.MsgWithdrawBurnResponse)
|
||
- [MsgWithdrawBurnUndelegate](#kava.router.v1beta1.MsgWithdrawBurnUndelegate)
|
||
- [MsgWithdrawBurnUndelegateResponse](#kava.router.v1beta1.MsgWithdrawBurnUndelegateResponse)
|
||
|
||
- [Msg](#kava.router.v1beta1.Msg)
|
||
|
||
- [kava/savings/v1beta1/store.proto](#kava/savings/v1beta1/store.proto)
|
||
- [Deposit](#kava.savings.v1beta1.Deposit)
|
||
- [Params](#kava.savings.v1beta1.Params)
|
||
|
||
- [kava/savings/v1beta1/genesis.proto](#kava/savings/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.savings.v1beta1.GenesisState)
|
||
|
||
- [kava/savings/v1beta1/query.proto](#kava/savings/v1beta1/query.proto)
|
||
- [QueryDepositsRequest](#kava.savings.v1beta1.QueryDepositsRequest)
|
||
- [QueryDepositsResponse](#kava.savings.v1beta1.QueryDepositsResponse)
|
||
- [QueryParamsRequest](#kava.savings.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.savings.v1beta1.QueryParamsResponse)
|
||
- [QueryTotalSupplyRequest](#kava.savings.v1beta1.QueryTotalSupplyRequest)
|
||
- [QueryTotalSupplyResponse](#kava.savings.v1beta1.QueryTotalSupplyResponse)
|
||
|
||
- [Query](#kava.savings.v1beta1.Query)
|
||
|
||
- [kava/savings/v1beta1/tx.proto](#kava/savings/v1beta1/tx.proto)
|
||
- [MsgDeposit](#kava.savings.v1beta1.MsgDeposit)
|
||
- [MsgDepositResponse](#kava.savings.v1beta1.MsgDepositResponse)
|
||
- [MsgWithdraw](#kava.savings.v1beta1.MsgWithdraw)
|
||
- [MsgWithdrawResponse](#kava.savings.v1beta1.MsgWithdrawResponse)
|
||
|
||
- [Msg](#kava.savings.v1beta1.Msg)
|
||
|
||
- [kava/swap/v1beta1/swap.proto](#kava/swap/v1beta1/swap.proto)
|
||
- [AllowedPool](#kava.swap.v1beta1.AllowedPool)
|
||
- [Params](#kava.swap.v1beta1.Params)
|
||
- [PoolRecord](#kava.swap.v1beta1.PoolRecord)
|
||
- [ShareRecord](#kava.swap.v1beta1.ShareRecord)
|
||
|
||
- [kava/swap/v1beta1/genesis.proto](#kava/swap/v1beta1/genesis.proto)
|
||
- [GenesisState](#kava.swap.v1beta1.GenesisState)
|
||
|
||
- [kava/swap/v1beta1/query.proto](#kava/swap/v1beta1/query.proto)
|
||
- [DepositResponse](#kava.swap.v1beta1.DepositResponse)
|
||
- [PoolResponse](#kava.swap.v1beta1.PoolResponse)
|
||
- [QueryDepositsRequest](#kava.swap.v1beta1.QueryDepositsRequest)
|
||
- [QueryDepositsResponse](#kava.swap.v1beta1.QueryDepositsResponse)
|
||
- [QueryParamsRequest](#kava.swap.v1beta1.QueryParamsRequest)
|
||
- [QueryParamsResponse](#kava.swap.v1beta1.QueryParamsResponse)
|
||
- [QueryPoolsRequest](#kava.swap.v1beta1.QueryPoolsRequest)
|
||
- [QueryPoolsResponse](#kava.swap.v1beta1.QueryPoolsResponse)
|
||
|
||
- [Query](#kava.swap.v1beta1.Query)
|
||
|
||
- [kava/swap/v1beta1/tx.proto](#kava/swap/v1beta1/tx.proto)
|
||
- [MsgDeposit](#kava.swap.v1beta1.MsgDeposit)
|
||
- [MsgDepositResponse](#kava.swap.v1beta1.MsgDepositResponse)
|
||
- [MsgSwapExactForTokens](#kava.swap.v1beta1.MsgSwapExactForTokens)
|
||
- [MsgSwapExactForTokensResponse](#kava.swap.v1beta1.MsgSwapExactForTokensResponse)
|
||
- [MsgSwapForExactTokens](#kava.swap.v1beta1.MsgSwapForExactTokens)
|
||
- [MsgSwapForExactTokensResponse](#kava.swap.v1beta1.MsgSwapForExactTokensResponse)
|
||
- [MsgWithdraw](#kava.swap.v1beta1.MsgWithdraw)
|
||
- [MsgWithdrawResponse](#kava.swap.v1beta1.MsgWithdrawResponse)
|
||
|
||
- [Msg](#kava.swap.v1beta1.Msg)
|
||
|
||
- [Scalar Value Types](#scalar-value-types)
|
||
|
||
|
||
|
||
<a name="kava/auction/v1beta1/auction.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/auction/v1beta1/auction.proto
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.BaseAuction"></a>
|
||
|
||
### BaseAuction
|
||
BaseAuction defines common attributes of all auctions
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `initiator` | [string](#string) | | |
|
||
| `lot` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `bidder` | [bytes](#bytes) | | |
|
||
| `bid` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `has_received_bids` | [bool](#bool) | | |
|
||
| `end_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `max_end_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.CollateralAuction"></a>
|
||
|
||
### CollateralAuction
|
||
CollateralAuction is a two phase auction.
|
||
Initially, in forward auction phase, bids can be placed up to a max bid.
|
||
Then it switches to a reverse auction phase, where the initial amount up for auction is bid down.
|
||
Unsold Lot is sent to LotReturns, being divided among the addresses by weight.
|
||
Collateral auctions are normally used to sell off collateral seized from CDPs.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_auction` | [BaseAuction](#kava.auction.v1beta1.BaseAuction) | | |
|
||
| `corresponding_debt` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `max_bid` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `lot_returns` | [WeightedAddresses](#kava.auction.v1beta1.WeightedAddresses) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.DebtAuction"></a>
|
||
|
||
### DebtAuction
|
||
DebtAuction is a reverse auction that mints what it pays out.
|
||
It is normally used to acquire pegged asset to cover the CDP system's debts that were not covered by selling
|
||
collateral.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_auction` | [BaseAuction](#kava.auction.v1beta1.BaseAuction) | | |
|
||
| `corresponding_debt` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.SurplusAuction"></a>
|
||
|
||
### SurplusAuction
|
||
SurplusAuction is a forward auction that burns what it receives from bids.
|
||
It is normally used to sell off excess pegged asset acquired by the CDP system.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_auction` | [BaseAuction](#kava.auction.v1beta1.BaseAuction) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.WeightedAddresses"></a>
|
||
|
||
### WeightedAddresses
|
||
WeightedAddresses is a type for storing some addresses and associated weights.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `addresses` | [bytes](#bytes) | repeated | |
|
||
| `weights` | [bytes](#bytes) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/auction/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/auction/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the auction module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `next_auction_id` | [uint64](#uint64) | | |
|
||
| `params` | [Params](#kava.auction.v1beta1.Params) | | |
|
||
| `auctions` | [google.protobuf.Any](#google.protobuf.Any) | repeated | Genesis auctions |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the issuance module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `max_auction_duration` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
|
||
| `forward_bid_duration` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
|
||
| `reverse_bid_duration` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
|
||
| `increment_surplus` | [bytes](#bytes) | | |
|
||
| `increment_debt` | [bytes](#bytes) | | |
|
||
| `increment_collateral` | [bytes](#bytes) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/auction/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/auction/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryAuctionRequest"></a>
|
||
|
||
### QueryAuctionRequest
|
||
QueryAuctionRequest is the request type for the Query/Auction RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `auction_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryAuctionResponse"></a>
|
||
|
||
### QueryAuctionResponse
|
||
QueryAuctionResponse is the response type for the Query/Auction RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `auction` | [google.protobuf.Any](#google.protobuf.Any) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryAuctionsRequest"></a>
|
||
|
||
### QueryAuctionsRequest
|
||
QueryAuctionsRequest is the request type for the Query/Auctions RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `type` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `denom` | [string](#string) | | |
|
||
| `phase` | [string](#string) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryAuctionsResponse"></a>
|
||
|
||
### QueryAuctionsResponse
|
||
QueryAuctionsResponse is the response type for the Query/Auctions RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `auctions` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryNextAuctionIDRequest"></a>
|
||
|
||
### QueryNextAuctionIDRequest
|
||
QueryNextAuctionIDRequest defines the request type for querying x/auction next auction ID.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryNextAuctionIDResponse"></a>
|
||
|
||
### QueryNextAuctionIDResponse
|
||
QueryNextAuctionIDResponse defines the response type for querying x/auction next auction ID.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/auction parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/auction parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.auction.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.auction.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for auction module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.auction.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.auction.v1beta1.QueryParamsResponse) | Params queries all parameters of the auction module. | GET|/kava/auction/v1beta1/params|
|
||
| `Auction` | [QueryAuctionRequest](#kava.auction.v1beta1.QueryAuctionRequest) | [QueryAuctionResponse](#kava.auction.v1beta1.QueryAuctionResponse) | Auction queries an individual Auction by auction ID | GET|/kava/auction/v1beta1/auctions/{auction_id}|
|
||
| `Auctions` | [QueryAuctionsRequest](#kava.auction.v1beta1.QueryAuctionsRequest) | [QueryAuctionsResponse](#kava.auction.v1beta1.QueryAuctionsResponse) | Auctions queries auctions filtered by asset denom, owner address, phase, and auction type | GET|/kava/auction/v1beta1/auctions|
|
||
| `NextAuctionID` | [QueryNextAuctionIDRequest](#kava.auction.v1beta1.QueryNextAuctionIDRequest) | [QueryNextAuctionIDResponse](#kava.auction.v1beta1.QueryNextAuctionIDResponse) | NextAuctionID queries the next auction ID | GET|/kava/auction/v1beta1/next-auction-id|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/auction/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/auction/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.MsgPlaceBid"></a>
|
||
|
||
### MsgPlaceBid
|
||
MsgPlaceBid represents a message used by bidders to place bids on auctions
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `auction_id` | [uint64](#uint64) | | |
|
||
| `bidder` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.auction.v1beta1.MsgPlaceBidResponse"></a>
|
||
|
||
### MsgPlaceBidResponse
|
||
MsgPlaceBidResponse defines the Msg/PlaceBid response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.auction.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the auction Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `PlaceBid` | [MsgPlaceBid](#kava.auction.v1beta1.MsgPlaceBid) | [MsgPlaceBidResponse](#kava.auction.v1beta1.MsgPlaceBidResponse) | PlaceBid message type used by bidders to place bids on auctions | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/bep3/v1beta1/bep3.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/bep3/v1beta1/bep3.proto
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.AssetParam"></a>
|
||
|
||
### AssetParam
|
||
AssetParam defines parameters for each bep3 asset.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | denom represents the denominatin for this asset |
|
||
| `coin_id` | [int64](#int64) | | coin_id represents the registered coin type to use (https://github.com/satoshilabs/slips/blob/master/slip-0044.md) |
|
||
| `supply_limit` | [SupplyLimit](#kava.bep3.v1beta1.SupplyLimit) | | supply_limit defines the maximum supply allowed for the asset - a total or time based rate limit |
|
||
| `active` | [bool](#bool) | | active specifies if the asset is live or paused |
|
||
| `deputy_address` | [bytes](#bytes) | | deputy_address the kava address of the deputy |
|
||
| `fixed_fee` | [string](#string) | | fixed_fee defines the fee for incoming swaps |
|
||
| `min_swap_amount` | [string](#string) | | min_swap_amount defines the minimum amount able to be swapped in a single message |
|
||
| `max_swap_amount` | [string](#string) | | max_swap_amount defines the maximum amount able to be swapped in a single message |
|
||
| `min_block_lock` | [uint64](#uint64) | | min_block_lock defined the minimum blocks to lock |
|
||
| `max_block_lock` | [uint64](#uint64) | | min_block_lock defined the maximum blocks to lock |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.AssetSupply"></a>
|
||
|
||
### AssetSupply
|
||
AssetSupply defines information about an asset's supply.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `incoming_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | incoming_supply represents the incoming supply of an asset |
|
||
| `outgoing_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | outgoing_supply represents the outgoing supply of an asset |
|
||
| `current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | current_supply represents the current on-chain supply of an asset |
|
||
| `time_limited_current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | time_limited_current_supply represents the time limited current supply of an asset |
|
||
| `time_elapsed` | [google.protobuf.Duration](#google.protobuf.Duration) | | time_elapsed represents the time elapsed |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.AtomicSwap"></a>
|
||
|
||
### AtomicSwap
|
||
AtomicSwap defines an atomic swap between chains for the pricefeed module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | amount represents the amount being swapped |
|
||
| `random_number_hash` | [bytes](#bytes) | | random_number_hash represents the hash of the random number |
|
||
| `expire_height` | [uint64](#uint64) | | expire_height represents the height when the swap expires |
|
||
| `timestamp` | [int64](#int64) | | timestamp represents the timestamp of the swap |
|
||
| `sender` | [bytes](#bytes) | | sender is the kava chain sender of the swap |
|
||
| `recipient` | [bytes](#bytes) | | recipient is the kava chain recipient of the swap |
|
||
| `sender_other_chain` | [string](#string) | | sender_other_chain is the sender on the other chain |
|
||
| `recipient_other_chain` | [string](#string) | | recipient_other_chain is the recipient on the other chain |
|
||
| `closed_block` | [int64](#int64) | | closed_block is the block when the swap is closed |
|
||
| `status` | [SwapStatus](#kava.bep3.v1beta1.SwapStatus) | | status represents the current status of the swap |
|
||
| `cross_chain` | [bool](#bool) | | cross_chain identifies whether the atomic swap is cross chain |
|
||
| `direction` | [SwapDirection](#kava.bep3.v1beta1.SwapDirection) | | direction identifies if the swap is incoming or outgoing |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the bep3 module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `asset_params` | [AssetParam](#kava.bep3.v1beta1.AssetParam) | repeated | asset_params define the parameters for each bep3 asset |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.SupplyLimit"></a>
|
||
|
||
### SupplyLimit
|
||
SupplyLimit define the absolute and time-based limits for an assets's supply.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `limit` | [string](#string) | | limit defines the total supply allowed |
|
||
| `time_limited` | [bool](#bool) | | time_limited enables or disables time based supply limiting |
|
||
| `time_period` | [google.protobuf.Duration](#google.protobuf.Duration) | | time_period specifies the duration that time_based_limit is evalulated |
|
||
| `time_based_limit` | [string](#string) | | time_based_limit defines the maximum supply that can be swapped within time_period |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.SwapDirection"></a>
|
||
|
||
### SwapDirection
|
||
SwapDirection is the direction of an AtomicSwap
|
||
|
||
| Name | Number | Description |
|
||
| ---- | ------ | ----------- |
|
||
| SWAP_DIRECTION_UNSPECIFIED | 0 | SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation |
|
||
| SWAP_DIRECTION_INCOMING | 1 | SWAP_DIRECTION_INCOMING represents is incoming swap (to the kava chain) |
|
||
| SWAP_DIRECTION_OUTGOING | 2 | SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the kava chain) |
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.SwapStatus"></a>
|
||
|
||
### SwapStatus
|
||
SwapStatus is the status of an AtomicSwap
|
||
|
||
| Name | Number | Description |
|
||
| ---- | ------ | ----------- |
|
||
| SWAP_STATUS_UNSPECIFIED | 0 | SWAP_STATUS_UNSPECIFIED represents an unspecified status |
|
||
| SWAP_STATUS_OPEN | 1 | SWAP_STATUS_OPEN represents an open swap |
|
||
| SWAP_STATUS_COMPLETED | 2 | SWAP_STATUS_COMPLETED represents a completed swap |
|
||
| SWAP_STATUS_EXPIRED | 3 | SWAP_STATUS_EXPIRED represents an expired swap |
|
||
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/bep3/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/bep3/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the pricefeed module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.bep3.v1beta1.Params) | | params defines all the paramaters of the module. |
|
||
| `atomic_swaps` | [AtomicSwap](#kava.bep3.v1beta1.AtomicSwap) | repeated | atomic_swaps represents the state of stored atomic swaps |
|
||
| `supplies` | [AssetSupply](#kava.bep3.v1beta1.AssetSupply) | repeated | supplies represents the supply information of each atomic swap |
|
||
| `previous_block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | previous_block_time represents the time of the previous block |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/bep3/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/bep3/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.AssetSupplyResponse"></a>
|
||
|
||
### AssetSupplyResponse
|
||
AssetSupplyResponse defines information about an asset's supply.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `incoming_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | incoming_supply represents the incoming supply of an asset |
|
||
| `outgoing_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | outgoing_supply represents the outgoing supply of an asset |
|
||
| `current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | current_supply represents the current on-chain supply of an asset |
|
||
| `time_limited_current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | time_limited_current_supply represents the time limited current supply of an asset |
|
||
| `time_elapsed` | [google.protobuf.Duration](#google.protobuf.Duration) | | time_elapsed represents the time elapsed |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.AtomicSwapResponse"></a>
|
||
|
||
### AtomicSwapResponse
|
||
AtomicSwapResponse represents the returned atomic swap properties
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `id` | [string](#string) | | id represents the id of the atomic swap |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | amount represents the amount being swapped |
|
||
| `random_number_hash` | [string](#string) | | random_number_hash represents the hash of the random number |
|
||
| `expire_height` | [uint64](#uint64) | | expire_height represents the height when the swap expires |
|
||
| `timestamp` | [int64](#int64) | | timestamp represents the timestamp of the swap |
|
||
| `sender` | [string](#string) | | sender is the kava chain sender of the swap |
|
||
| `recipient` | [string](#string) | | recipient is the kava chain recipient of the swap |
|
||
| `sender_other_chain` | [string](#string) | | sender_other_chain is the sender on the other chain |
|
||
| `recipient_other_chain` | [string](#string) | | recipient_other_chain is the recipient on the other chain |
|
||
| `closed_block` | [int64](#int64) | | closed_block is the block when the swap is closed |
|
||
| `status` | [SwapStatus](#kava.bep3.v1beta1.SwapStatus) | | status represents the current status of the swap |
|
||
| `cross_chain` | [bool](#bool) | | cross_chain identifies whether the atomic swap is cross chain |
|
||
| `direction` | [SwapDirection](#kava.bep3.v1beta1.SwapDirection) | | direction identifies if the swap is incoming or outgoing |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAssetSuppliesRequest"></a>
|
||
|
||
### QueryAssetSuppliesRequest
|
||
QueryAssetSuppliesRequest is the request type for the Query/AssetSupplies RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAssetSuppliesResponse"></a>
|
||
|
||
### QueryAssetSuppliesResponse
|
||
QueryAssetSuppliesResponse is the response type for the Query/AssetSupplies RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `asset_supplies` | [AssetSupplyResponse](#kava.bep3.v1beta1.AssetSupplyResponse) | repeated | asset_supplies represents the supplies of returned assets |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAssetSupplyRequest"></a>
|
||
|
||
### QueryAssetSupplyRequest
|
||
QueryAssetSupplyRequest is the request type for the Query/AssetSupply RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | denom filters the asset response for the specified denom |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAssetSupplyResponse"></a>
|
||
|
||
### QueryAssetSupplyResponse
|
||
QueryAssetSupplyResponse is the response type for the Query/AssetSupply RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `asset_supply` | [AssetSupplyResponse](#kava.bep3.v1beta1.AssetSupplyResponse) | | asset_supply represents the supply of the asset |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAtomicSwapRequest"></a>
|
||
|
||
### QueryAtomicSwapRequest
|
||
QueryAtomicSwapRequest is the request type for the Query/AtomicSwap RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `swap_id` | [string](#string) | | swap_id represents the id of the swap to query |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAtomicSwapResponse"></a>
|
||
|
||
### QueryAtomicSwapResponse
|
||
QueryAtomicSwapResponse is the response type for the Query/AtomicSwap RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `atomic_swap` | [AtomicSwapResponse](#kava.bep3.v1beta1.AtomicSwapResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAtomicSwapsRequest"></a>
|
||
|
||
### QueryAtomicSwapsRequest
|
||
QueryAtomicSwapsRequest is the request type for the Query/AtomicSwaps RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `involve` | [string](#string) | | involve filters by address |
|
||
| `expiration` | [uint64](#uint64) | | expiration filters by expiration block height |
|
||
| `status` | [SwapStatus](#kava.bep3.v1beta1.SwapStatus) | | status filters by swap status |
|
||
| `direction` | [SwapDirection](#kava.bep3.v1beta1.SwapDirection) | | direction fitlers by swap direction |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryAtomicSwapsResponse"></a>
|
||
|
||
### QueryAtomicSwapsResponse
|
||
QueryAtomicSwapsResponse is the response type for the Query/AtomicSwaps RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `atomic_swaps` | [AtomicSwapResponse](#kava.bep3.v1beta1.AtomicSwapResponse) | repeated | atomic_swap represents the returned atomic swaps for the request |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/bep3 parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/bep3 parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.bep3.v1beta1.Params) | | params represents the parameters of the module |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for bep3 module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.bep3.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.bep3.v1beta1.QueryParamsResponse) | Params queries module params | GET|/kava/bep3/v1beta1/params|
|
||
| `AssetSupply` | [QueryAssetSupplyRequest](#kava.bep3.v1beta1.QueryAssetSupplyRequest) | [QueryAssetSupplyResponse](#kava.bep3.v1beta1.QueryAssetSupplyResponse) | AssetSupply queries info about an asset's supply | GET|/kava/bep3/v1beta1/assetsupply/{denom}|
|
||
| `AssetSupplies` | [QueryAssetSuppliesRequest](#kava.bep3.v1beta1.QueryAssetSuppliesRequest) | [QueryAssetSuppliesResponse](#kava.bep3.v1beta1.QueryAssetSuppliesResponse) | AssetSupplies queries a list of asset supplies | GET|/kava/bep3/v1beta1/assetsupplies|
|
||
| `AtomicSwap` | [QueryAtomicSwapRequest](#kava.bep3.v1beta1.QueryAtomicSwapRequest) | [QueryAtomicSwapResponse](#kava.bep3.v1beta1.QueryAtomicSwapResponse) | AtomicSwap queries info about an atomic swap | GET|/kava/bep3/v1beta1/atomicswap/{swap_id}|
|
||
| `AtomicSwaps` | [QueryAtomicSwapsRequest](#kava.bep3.v1beta1.QueryAtomicSwapsRequest) | [QueryAtomicSwapsResponse](#kava.bep3.v1beta1.QueryAtomicSwapsResponse) | AtomicSwaps queries a list of atomic swaps | GET|/kava/bep3/v1beta1/atomicswaps|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/bep3/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/bep3/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.MsgClaimAtomicSwap"></a>
|
||
|
||
### MsgClaimAtomicSwap
|
||
MsgClaimAtomicSwap defines the Msg/ClaimAtomicSwap request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | |
|
||
| `swap_id` | [string](#string) | | |
|
||
| `random_number` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.MsgClaimAtomicSwapResponse"></a>
|
||
|
||
### MsgClaimAtomicSwapResponse
|
||
MsgClaimAtomicSwapResponse defines the Msg/ClaimAtomicSwap response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.MsgCreateAtomicSwap"></a>
|
||
|
||
### MsgCreateAtomicSwap
|
||
MsgCreateAtomicSwap defines the Msg/CreateAtomicSwap request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | |
|
||
| `to` | [string](#string) | | |
|
||
| `recipient_other_chain` | [string](#string) | | |
|
||
| `sender_other_chain` | [string](#string) | | |
|
||
| `random_number_hash` | [string](#string) | | |
|
||
| `timestamp` | [int64](#int64) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `height_span` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.MsgCreateAtomicSwapResponse"></a>
|
||
|
||
### MsgCreateAtomicSwapResponse
|
||
MsgCreateAtomicSwapResponse defines the Msg/CreateAtomicSwap response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.MsgRefundAtomicSwap"></a>
|
||
|
||
### MsgRefundAtomicSwap
|
||
MsgRefundAtomicSwap defines the Msg/RefundAtomicSwap request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | |
|
||
| `swap_id` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.MsgRefundAtomicSwapResponse"></a>
|
||
|
||
### MsgRefundAtomicSwapResponse
|
||
MsgRefundAtomicSwapResponse defines the Msg/RefundAtomicSwap response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.bep3.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the bep3 Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `CreateAtomicSwap` | [MsgCreateAtomicSwap](#kava.bep3.v1beta1.MsgCreateAtomicSwap) | [MsgCreateAtomicSwapResponse](#kava.bep3.v1beta1.MsgCreateAtomicSwapResponse) | CreateAtomicSwap defines a method for creating an atomic swap | |
|
||
| `ClaimAtomicSwap` | [MsgClaimAtomicSwap](#kava.bep3.v1beta1.MsgClaimAtomicSwap) | [MsgClaimAtomicSwapResponse](#kava.bep3.v1beta1.MsgClaimAtomicSwapResponse) | ClaimAtomicSwap defines a method for claiming an atomic swap | |
|
||
| `RefundAtomicSwap` | [MsgRefundAtomicSwap](#kava.bep3.v1beta1.MsgRefundAtomicSwap) | [MsgRefundAtomicSwapResponse](#kava.bep3.v1beta1.MsgRefundAtomicSwapResponse) | RefundAtomicSwap defines a method for refunding an atomic swap | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/cdp/v1beta1/cdp.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/cdp/v1beta1/cdp.proto
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.CDP"></a>
|
||
|
||
### CDP
|
||
CDP defines the state of a single collateralized debt position.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `owner` | [bytes](#bytes) | | |
|
||
| `type` | [string](#string) | | |
|
||
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `accumulated_fees` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `fees_updated` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `interest_factor` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.Deposit"></a>
|
||
|
||
### Deposit
|
||
Deposit defines an amount of coins deposited by an account to a cdp
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cdp_id` | [uint64](#uint64) | | |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.OwnerCDPIndex"></a>
|
||
|
||
### OwnerCDPIndex
|
||
OwnerCDPIndex defines the cdp ids for a single cdp owner
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cdp_ids` | [uint64](#uint64) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.TotalCollateral"></a>
|
||
|
||
### TotalCollateral
|
||
TotalCollateral defines the total collateral of a given collateral type
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.TotalPrincipal"></a>
|
||
|
||
### TotalPrincipal
|
||
TotalPrincipal defines the total principal of a given collateral type
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/cdp/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/cdp/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.CollateralParam"></a>
|
||
|
||
### CollateralParam
|
||
CollateralParam defines governance parameters for each collateral type within the cdp module
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `type` | [string](#string) | | |
|
||
| `liquidation_ratio` | [string](#string) | | |
|
||
| `debt_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `stability_fee` | [string](#string) | | |
|
||
| `auction_size` | [string](#string) | | |
|
||
| `liquidation_penalty` | [string](#string) | | |
|
||
| `spot_market_id` | [string](#string) | | |
|
||
| `liquidation_market_id` | [string](#string) | | |
|
||
| `keeper_reward_percentage` | [string](#string) | | |
|
||
| `check_collateralization_index_count` | [string](#string) | | |
|
||
| `conversion_factor` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.DebtParam"></a>
|
||
|
||
### DebtParam
|
||
DebtParam defines governance params for debt assets
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `reference_asset` | [string](#string) | | |
|
||
| `conversion_factor` | [string](#string) | | |
|
||
| `debt_floor` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.GenesisAccumulationTime"></a>
|
||
|
||
### GenesisAccumulationTime
|
||
GenesisAccumulationTime defines the previous distribution time and its corresponding denom
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `previous_accumulation_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `interest_factor` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the cdp module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.cdp.v1beta1.Params) | | params defines all the paramaters of the module. |
|
||
| `cdps` | [CDP](#kava.cdp.v1beta1.CDP) | repeated | |
|
||
| `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | |
|
||
| `starting_cdp_id` | [uint64](#uint64) | | |
|
||
| `debt_denom` | [string](#string) | | |
|
||
| `gov_denom` | [string](#string) | | |
|
||
| `previous_accumulation_times` | [GenesisAccumulationTime](#kava.cdp.v1beta1.GenesisAccumulationTime) | repeated | |
|
||
| `total_principals` | [GenesisTotalPrincipal](#kava.cdp.v1beta1.GenesisTotalPrincipal) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.GenesisTotalPrincipal"></a>
|
||
|
||
### GenesisTotalPrincipal
|
||
GenesisTotalPrincipal defines the total principal and its corresponding collateral type
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `total_principal` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the cdp module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_params` | [CollateralParam](#kava.cdp.v1beta1.CollateralParam) | repeated | |
|
||
| `debt_param` | [DebtParam](#kava.cdp.v1beta1.DebtParam) | | |
|
||
| `global_debt_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `surplus_auction_threshold` | [string](#string) | | |
|
||
| `surplus_auction_lot` | [string](#string) | | |
|
||
| `debt_auction_threshold` | [string](#string) | | |
|
||
| `debt_auction_lot` | [string](#string) | | |
|
||
| `circuit_breaker` | [bool](#bool) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/cdp/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/cdp/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.CDPResponse"></a>
|
||
|
||
### CDPResponse
|
||
CDPResponse defines the state of a single collateralized debt position.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `type` | [string](#string) | | |
|
||
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `accumulated_fees` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `fees_updated` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `interest_factor` | [string](#string) | | |
|
||
| `collateral_value` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `collateralization_ratio` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryAccountsRequest"></a>
|
||
|
||
### QueryAccountsRequest
|
||
QueryAccountsRequest defines the request type for the Query/Accounts RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryAccountsResponse"></a>
|
||
|
||
### QueryAccountsResponse
|
||
QueryAccountsResponse defines the response type for the Query/Accounts RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `accounts` | [cosmos.auth.v1beta1.ModuleAccount](#cosmos.auth.v1beta1.ModuleAccount) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryCdpRequest"></a>
|
||
|
||
### QueryCdpRequest
|
||
QueryCdpRequest defines the request type for the Query/Cdp RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryCdpResponse"></a>
|
||
|
||
### QueryCdpResponse
|
||
QueryCdpResponse defines the response type for the Query/Cdp RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cdp` | [CDPResponse](#kava.cdp.v1beta1.CDPResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryCdpsRequest"></a>
|
||
|
||
### QueryCdpsRequest
|
||
QueryCdpsRequest is the params for a filtered CDP query, the request type for the Query/Cdps RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `ratio` | [string](#string) | | sdk.Dec as a string |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryCdpsResponse"></a>
|
||
|
||
### QueryCdpsResponse
|
||
QueryCdpsResponse defines the response type for the Query/Cdps RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cdps` | [CDPResponse](#kava.cdp.v1beta1.CDPResponse) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryDepositsRequest"></a>
|
||
|
||
### QueryDepositsRequest
|
||
QueryDepositsRequest defines the request type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryDepositsResponse"></a>
|
||
|
||
### QueryDepositsResponse
|
||
QueryDepositsResponse defines the response type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for the Query/Params RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for the Query/Params RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.cdp.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryTotalCollateralRequest"></a>
|
||
|
||
### QueryTotalCollateralRequest
|
||
QueryTotalCollateralRequest defines the request type for the Query/TotalCollateral RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryTotalCollateralResponse"></a>
|
||
|
||
### QueryTotalCollateralResponse
|
||
QueryTotalCollateralResponse defines the response type for the Query/TotalCollateral RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `total_collateral` | [TotalCollateral](#kava.cdp.v1beta1.TotalCollateral) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryTotalPrincipalRequest"></a>
|
||
|
||
### QueryTotalPrincipalRequest
|
||
QueryTotalPrincipalRequest defines the request type for the Query/TotalPrincipal RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.QueryTotalPrincipalResponse"></a>
|
||
|
||
### QueryTotalPrincipalResponse
|
||
QueryTotalPrincipalResponse defines the response type for the Query/TotalPrincipal RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `total_principal` | [TotalPrincipal](#kava.cdp.v1beta1.TotalPrincipal) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for cdp module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.cdp.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.cdp.v1beta1.QueryParamsResponse) | Params queries all parameters of the cdp module. | GET|/kava/cdp/v1beta1/params|
|
||
| `Accounts` | [QueryAccountsRequest](#kava.cdp.v1beta1.QueryAccountsRequest) | [QueryAccountsResponse](#kava.cdp.v1beta1.QueryAccountsResponse) | Accounts queries the CDP module accounts. | GET|/kava/cdp/v1beta1/accounts|
|
||
| `TotalPrincipal` | [QueryTotalPrincipalRequest](#kava.cdp.v1beta1.QueryTotalPrincipalRequest) | [QueryTotalPrincipalResponse](#kava.cdp.v1beta1.QueryTotalPrincipalResponse) | TotalPrincipal queries the total principal of a given collateral type. | GET|/kava/cdp/v1beta1/totalPrincipal|
|
||
| `TotalCollateral` | [QueryTotalCollateralRequest](#kava.cdp.v1beta1.QueryTotalCollateralRequest) | [QueryTotalCollateralResponse](#kava.cdp.v1beta1.QueryTotalCollateralResponse) | TotalCollateral queries the total collateral of a given collateral type. | GET|/kava/cdp/v1beta1/totalCollateral|
|
||
| `Cdps` | [QueryCdpsRequest](#kava.cdp.v1beta1.QueryCdpsRequest) | [QueryCdpsResponse](#kava.cdp.v1beta1.QueryCdpsResponse) | Cdps queries all active CDPs. | GET|/kava/cdp/v1beta1/cdps|
|
||
| `Cdp` | [QueryCdpRequest](#kava.cdp.v1beta1.QueryCdpRequest) | [QueryCdpResponse](#kava.cdp.v1beta1.QueryCdpResponse) | Cdp queries a CDP with the input owner address and collateral type. | GET|/kava/cdp/v1beta1/cdps/{owner}/{collateral_type}|
|
||
| `Deposits` | [QueryDepositsRequest](#kava.cdp.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.cdp.v1beta1.QueryDepositsResponse) | Deposits queries deposits associated with the CDP owned by an address for a collateral type. | GET|/kava/cdp/v1beta1/cdps/deposits/{owner}/{collateral_type}|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/cdp/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/cdp/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgCreateCDP"></a>
|
||
|
||
### MsgCreateCDP
|
||
MsgCreateCDP defines a message to create a new CDP.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgCreateCDPResponse"></a>
|
||
|
||
### MsgCreateCDPResponse
|
||
MsgCreateCDPResponse defines the Msg/CreateCDP response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cdp_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgDeposit"></a>
|
||
|
||
### MsgDeposit
|
||
MsgDeposit defines a message to deposit to a CDP.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgDepositResponse"></a>
|
||
|
||
### MsgDepositResponse
|
||
MsgDepositResponse defines the Msg/Deposit response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgDrawDebt"></a>
|
||
|
||
### MsgDrawDebt
|
||
MsgDrawDebt defines a message to draw debt from a CDP.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgDrawDebtResponse"></a>
|
||
|
||
### MsgDrawDebtResponse
|
||
MsgDrawDebtResponse defines the Msg/DrawDebt response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgLiquidate"></a>
|
||
|
||
### MsgLiquidate
|
||
MsgLiquidate defines a message to attempt to liquidate a CDP whos
|
||
collateralization ratio is under its liquidation ratio.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `keeper` | [string](#string) | | |
|
||
| `borrower` | [string](#string) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgLiquidateResponse"></a>
|
||
|
||
### MsgLiquidateResponse
|
||
MsgLiquidateResponse defines the Msg/Liquidate response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgRepayDebt"></a>
|
||
|
||
### MsgRepayDebt
|
||
MsgRepayDebt defines a message to repay debt from a CDP.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `payment` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgRepayDebtResponse"></a>
|
||
|
||
### MsgRepayDebtResponse
|
||
MsgRepayDebtResponse defines the Msg/RepayDebt response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgWithdraw"></a>
|
||
|
||
### MsgWithdraw
|
||
MsgWithdraw defines a message to withdraw collateral from a CDP.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.MsgWithdrawResponse"></a>
|
||
|
||
### MsgWithdrawResponse
|
||
MsgWithdrawResponse defines the Msg/Withdraw response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.cdp.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the cdp Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `CreateCDP` | [MsgCreateCDP](#kava.cdp.v1beta1.MsgCreateCDP) | [MsgCreateCDPResponse](#kava.cdp.v1beta1.MsgCreateCDPResponse) | CreateCDP defines a method to create a new CDP. | |
|
||
| `Deposit` | [MsgDeposit](#kava.cdp.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.cdp.v1beta1.MsgDepositResponse) | Deposit defines a method to deposit to a CDP. | |
|
||
| `Withdraw` | [MsgWithdraw](#kava.cdp.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.cdp.v1beta1.MsgWithdrawResponse) | Withdraw defines a method to withdraw collateral from a CDP. | |
|
||
| `DrawDebt` | [MsgDrawDebt](#kava.cdp.v1beta1.MsgDrawDebt) | [MsgDrawDebtResponse](#kava.cdp.v1beta1.MsgDrawDebtResponse) | DrawDebt defines a method to draw debt from a CDP. | |
|
||
| `RepayDebt` | [MsgRepayDebt](#kava.cdp.v1beta1.MsgRepayDebt) | [MsgRepayDebtResponse](#kava.cdp.v1beta1.MsgRepayDebtResponse) | RepayDebt defines a method to repay debt from a CDP. | |
|
||
| `Liquidate` | [MsgLiquidate](#kava.cdp.v1beta1.MsgLiquidate) | [MsgLiquidateResponse](#kava.cdp.v1beta1.MsgLiquidateResponse) | Liquidate defines a method to attempt to liquidate a CDP whos collateralization ratio is under its liquidation ratio. | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/committee/v1beta1/committee.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/committee/v1beta1/committee.proto
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.BaseCommittee"></a>
|
||
|
||
### BaseCommittee
|
||
BaseCommittee is a common type shared by all Committees
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `members` | [bytes](#bytes) | repeated | |
|
||
| `permissions` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
|
||
| `vote_threshold` | [string](#string) | | Smallest percentage that must vote for a proposal to pass |
|
||
| `proposal_duration` | [google.protobuf.Duration](#google.protobuf.Duration) | | The length of time a proposal remains active for. Proposals will close earlier if they get enough votes. |
|
||
| `tally_option` | [TallyOption](#kava.committee.v1beta1.TallyOption) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.MemberCommittee"></a>
|
||
|
||
### MemberCommittee
|
||
MemberCommittee is an alias of BaseCommittee
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_committee` | [BaseCommittee](#kava.committee.v1beta1.BaseCommittee) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.TokenCommittee"></a>
|
||
|
||
### TokenCommittee
|
||
TokenCommittee supports voting on proposals by token holders
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_committee` | [BaseCommittee](#kava.committee.v1beta1.BaseCommittee) | | |
|
||
| `quorum` | [string](#string) | | |
|
||
| `tally_denom` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
|
||
<a name="kava.committee.v1beta1.TallyOption"></a>
|
||
|
||
### TallyOption
|
||
TallyOption enumerates the valid types of a tally.
|
||
|
||
| Name | Number | Description |
|
||
| ---- | ------ | ----------- |
|
||
| TALLY_OPTION_UNSPECIFIED | 0 | TALLY_OPTION_UNSPECIFIED defines a null tally option. |
|
||
| TALLY_OPTION_FIRST_PAST_THE_POST | 1 | Votes are tallied each block and the proposal passes as soon as the vote threshold is reached |
|
||
| TALLY_OPTION_DEADLINE | 2 | Votes are tallied exactly once, when the deadline time is reached |
|
||
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/committee/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/committee/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the committee module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `next_proposal_id` | [uint64](#uint64) | | |
|
||
| `committees` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
|
||
| `proposals` | [Proposal](#kava.committee.v1beta1.Proposal) | repeated | |
|
||
| `votes` | [Vote](#kava.committee.v1beta1.Vote) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.Proposal"></a>
|
||
|
||
### Proposal
|
||
Proposal is an internal record of a governance proposal submitted to a committee.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `content` | [google.protobuf.Any](#google.protobuf.Any) | | |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `committee_id` | [uint64](#uint64) | | |
|
||
| `deadline` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.Vote"></a>
|
||
|
||
### Vote
|
||
Vote is an internal record of a single governance vote.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
| `voter` | [bytes](#bytes) | | |
|
||
| `vote_type` | [VoteType](#kava.committee.v1beta1.VoteType) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
|
||
<a name="kava.committee.v1beta1.VoteType"></a>
|
||
|
||
### VoteType
|
||
VoteType enumerates the valid types of a vote.
|
||
|
||
| Name | Number | Description |
|
||
| ---- | ------ | ----------- |
|
||
| VOTE_TYPE_UNSPECIFIED | 0 | VOTE_TYPE_UNSPECIFIED defines a no-op vote option. |
|
||
| VOTE_TYPE_YES | 1 | VOTE_TYPE_YES defines a yes vote option. |
|
||
| VOTE_TYPE_NO | 2 | VOTE_TYPE_NO defines a no vote option. |
|
||
| VOTE_TYPE_ABSTAIN | 3 | VOTE_TYPE_ABSTAIN defines an abstain vote option. |
|
||
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/committee/v1beta1/permissions.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/committee/v1beta1/permissions.proto
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.AllowedParamsChange"></a>
|
||
|
||
### AllowedParamsChange
|
||
AllowedParamsChange contains data on the allowed parameter changes for subspace, key, and sub params requirements.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `subspace` | [string](#string) | | |
|
||
| `key` | [string](#string) | | |
|
||
| `single_subparam_allowed_attrs` | [string](#string) | repeated | Requirements for when the subparam value is a single record. This contains list of allowed attribute keys that can be changed on the subparam record. |
|
||
| `multi_subparams_requirements` | [SubparamRequirement](#kava.committee.v1beta1.SubparamRequirement) | repeated | Requirements for when the subparam value is a list of records. The requirements contains requirements for each record in the list. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.CommunityCDPRepayDebtPermission"></a>
|
||
|
||
### CommunityCDPRepayDebtPermission
|
||
CommunityCDPRepayDebtPermission allows submission of CommunityCDPRepayDebtProposal
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.CommunityCDPWithdrawCollateralPermission"></a>
|
||
|
||
### CommunityCDPWithdrawCollateralPermission
|
||
CommunityCDPWithdrawCollateralPermission allows submission of CommunityCDPWithdrawCollateralProposal
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.CommunityPoolLendWithdrawPermission"></a>
|
||
|
||
### CommunityPoolLendWithdrawPermission
|
||
CommunityPoolLendWithdrawPermission allows submission of CommunityPoolLendWithdrawProposal
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.GodPermission"></a>
|
||
|
||
### GodPermission
|
||
GodPermission allows any governance proposal. It is used mainly for testing.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.ParamsChangePermission"></a>
|
||
|
||
### ParamsChangePermission
|
||
ParamsChangePermission allows any parameter or sub parameter change proposal.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `allowed_params_changes` | [AllowedParamsChange](#kava.committee.v1beta1.AllowedParamsChange) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.SoftwareUpgradePermission"></a>
|
||
|
||
### SoftwareUpgradePermission
|
||
SoftwareUpgradePermission permission type for software upgrade proposals
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.SubparamRequirement"></a>
|
||
|
||
### SubparamRequirement
|
||
SubparamRequirement contains requirements for a single record in a subparam value list
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `key` | [string](#string) | | The required attr key of the param record. |
|
||
| `val` | [string](#string) | | The required param value for the param record key. The key and value is used to match to the target param record. |
|
||
| `allowed_subparam_attr_changes` | [string](#string) | repeated | The sub param attrs that are allowed to be changed. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.TextPermission"></a>
|
||
|
||
### TextPermission
|
||
TextPermission allows any text governance proposal.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/committee/v1beta1/proposal.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/committee/v1beta1/proposal.proto
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.CommitteeChangeProposal"></a>
|
||
|
||
### CommitteeChangeProposal
|
||
CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `new_committee` | [google.protobuf.Any](#google.protobuf.Any) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.CommitteeDeleteProposal"></a>
|
||
|
||
### CommitteeDeleteProposal
|
||
CommitteeDeleteProposal is a gov proposal for removing a committee.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `committee_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/committee/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/committee/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryCommitteeRequest"></a>
|
||
|
||
### QueryCommitteeRequest
|
||
QueryCommitteeRequest defines the request type for querying x/committee committee.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `committee_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryCommitteeResponse"></a>
|
||
|
||
### QueryCommitteeResponse
|
||
QueryCommitteeResponse defines the response type for querying x/committee committee.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `committee` | [google.protobuf.Any](#google.protobuf.Any) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryCommitteesRequest"></a>
|
||
|
||
### QueryCommitteesRequest
|
||
QueryCommitteesRequest defines the request type for querying x/committee committees.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryCommitteesResponse"></a>
|
||
|
||
### QueryCommitteesResponse
|
||
QueryCommitteesResponse defines the response type for querying x/committee committees.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `committees` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryNextProposalIDRequest"></a>
|
||
|
||
### QueryNextProposalIDRequest
|
||
QueryNextProposalIDRequest defines the request type for querying x/committee NextProposalID.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryNextProposalIDResponse"></a>
|
||
|
||
### QueryNextProposalIDResponse
|
||
QueryNextProposalIDRequest defines the response type for querying x/committee NextProposalID.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `next_proposal_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryProposalRequest"></a>
|
||
|
||
### QueryProposalRequest
|
||
QueryProposalRequest defines the request type for querying x/committee proposal.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryProposalResponse"></a>
|
||
|
||
### QueryProposalResponse
|
||
QueryProposalResponse defines the response type for querying x/committee proposal.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `pub_proposal` | [google.protobuf.Any](#google.protobuf.Any) | | |
|
||
| `id` | [uint64](#uint64) | | |
|
||
| `committee_id` | [uint64](#uint64) | | |
|
||
| `deadline` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryProposalsRequest"></a>
|
||
|
||
### QueryProposalsRequest
|
||
QueryProposalsRequest defines the request type for querying x/committee proposals.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `committee_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryProposalsResponse"></a>
|
||
|
||
### QueryProposalsResponse
|
||
QueryProposalsResponse defines the response type for querying x/committee proposals.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposals` | [QueryProposalResponse](#kava.committee.v1beta1.QueryProposalResponse) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryRawParamsRequest"></a>
|
||
|
||
### QueryRawParamsRequest
|
||
QueryRawParamsRequest defines the request type for querying x/committee raw params.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `subspace` | [string](#string) | | |
|
||
| `key` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryRawParamsResponse"></a>
|
||
|
||
### QueryRawParamsResponse
|
||
QueryRawParamsResponse defines the response type for querying x/committee raw params.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `raw_data` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryTallyRequest"></a>
|
||
|
||
### QueryTallyRequest
|
||
QueryTallyRequest defines the request type for querying x/committee tally.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryTallyResponse"></a>
|
||
|
||
### QueryTallyResponse
|
||
QueryTallyResponse defines the response type for querying x/committee tally.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
| `yes_votes` | [string](#string) | | |
|
||
| `no_votes` | [string](#string) | | |
|
||
| `current_votes` | [string](#string) | | |
|
||
| `possible_votes` | [string](#string) | | |
|
||
| `vote_threshold` | [string](#string) | | |
|
||
| `quorum` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryVoteRequest"></a>
|
||
|
||
### QueryVoteRequest
|
||
QueryVoteRequest defines the request type for querying x/committee vote.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
| `voter` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryVoteResponse"></a>
|
||
|
||
### QueryVoteResponse
|
||
QueryVoteResponse defines the response type for querying x/committee vote.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
| `voter` | [string](#string) | | |
|
||
| `vote_type` | [VoteType](#kava.committee.v1beta1.VoteType) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryVotesRequest"></a>
|
||
|
||
### QueryVotesRequest
|
||
QueryVotesRequest defines the request type for querying x/committee votes.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.QueryVotesResponse"></a>
|
||
|
||
### QueryVotesResponse
|
||
QueryVotesResponse defines the response type for querying x/committee votes.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `votes` | [QueryVoteResponse](#kava.committee.v1beta1.QueryVoteResponse) | repeated | votes defined the queried votes. |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.committee.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for committee module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Committees` | [QueryCommitteesRequest](#kava.committee.v1beta1.QueryCommitteesRequest) | [QueryCommitteesResponse](#kava.committee.v1beta1.QueryCommitteesResponse) | Committees queries all committess of the committee module. | GET|/kava/committee/v1beta1/committees|
|
||
| `Committee` | [QueryCommitteeRequest](#kava.committee.v1beta1.QueryCommitteeRequest) | [QueryCommitteeResponse](#kava.committee.v1beta1.QueryCommitteeResponse) | Committee queries a committee based on committee ID. | GET|/kava/committee/v1beta1/committees/{committee_id}|
|
||
| `Proposals` | [QueryProposalsRequest](#kava.committee.v1beta1.QueryProposalsRequest) | [QueryProposalsResponse](#kava.committee.v1beta1.QueryProposalsResponse) | Proposals queries proposals based on committee ID. | GET|/kava/committee/v1beta1/proposals|
|
||
| `Proposal` | [QueryProposalRequest](#kava.committee.v1beta1.QueryProposalRequest) | [QueryProposalResponse](#kava.committee.v1beta1.QueryProposalResponse) | Deposits queries a proposal based on proposal ID. | GET|/kava/committee/v1beta1/proposals/{proposal_id}|
|
||
| `NextProposalID` | [QueryNextProposalIDRequest](#kava.committee.v1beta1.QueryNextProposalIDRequest) | [QueryNextProposalIDResponse](#kava.committee.v1beta1.QueryNextProposalIDResponse) | NextProposalID queries the next proposal ID of the committee module. | GET|/kava/committee/v1beta1/next-proposal-id|
|
||
| `Votes` | [QueryVotesRequest](#kava.committee.v1beta1.QueryVotesRequest) | [QueryVotesResponse](#kava.committee.v1beta1.QueryVotesResponse) | Votes queries all votes for a single proposal ID. | GET|/kava/committee/v1beta1/proposals/{proposal_id}/votes|
|
||
| `Vote` | [QueryVoteRequest](#kava.committee.v1beta1.QueryVoteRequest) | [QueryVoteResponse](#kava.committee.v1beta1.QueryVoteResponse) | Vote queries the vote of a single voter for a single proposal ID. | GET|/kava/committee/v1beta1/proposals/{proposal_id}/votes/{voter}|
|
||
| `Tally` | [QueryTallyRequest](#kava.committee.v1beta1.QueryTallyRequest) | [QueryTallyResponse](#kava.committee.v1beta1.QueryTallyResponse) | Tally queries the tally of a single proposal ID. | GET|/kava/committee/v1beta1/proposals/{proposal_id}/tally|
|
||
| `RawParams` | [QueryRawParamsRequest](#kava.committee.v1beta1.QueryRawParamsRequest) | [QueryRawParamsResponse](#kava.committee.v1beta1.QueryRawParamsResponse) | RawParams queries the raw params data of any subspace and key. | GET|/kava/committee/v1beta1/raw-params|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/committee/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/committee/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.MsgSubmitProposal"></a>
|
||
|
||
### MsgSubmitProposal
|
||
MsgSubmitProposal is used by committee members to create a new proposal that they can vote on.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `pub_proposal` | [google.protobuf.Any](#google.protobuf.Any) | | |
|
||
| `proposer` | [string](#string) | | |
|
||
| `committee_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.MsgSubmitProposalResponse"></a>
|
||
|
||
### MsgSubmitProposalResponse
|
||
MsgSubmitProposalResponse defines the SubmitProposal response type
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.MsgVote"></a>
|
||
|
||
### MsgVote
|
||
MsgVote is submitted by committee members to vote on proposals.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `proposal_id` | [uint64](#uint64) | | |
|
||
| `voter` | [string](#string) | | |
|
||
| `vote_type` | [VoteType](#kava.committee.v1beta1.VoteType) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.committee.v1beta1.MsgVoteResponse"></a>
|
||
|
||
### MsgVoteResponse
|
||
MsgVoteResponse defines the Vote response type
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.committee.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the committee Msg service
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `SubmitProposal` | [MsgSubmitProposal](#kava.committee.v1beta1.MsgSubmitProposal) | [MsgSubmitProposalResponse](#kava.committee.v1beta1.MsgSubmitProposalResponse) | SubmitProposal defines a method for submitting a committee proposal | |
|
||
| `Vote` | [MsgVote](#kava.committee.v1beta1.MsgVote) | [MsgVoteResponse](#kava.committee.v1beta1.MsgVoteResponse) | Vote defines a method for voting on a proposal | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/community/v1beta1/params.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/community/v1beta1/params.proto
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters of the community module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `upgrade_time_disable_inflation` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | upgrade_time_disable_inflation is the time at which to disable mint and kavadist module inflation. If set to 0, inflation will be disabled from block 1. |
|
||
| `staking_rewards_per_second` | [string](#string) | | staking_rewards_per_second is the amount paid out to delegators each block from the community account |
|
||
| `upgrade_time_set_staking_rewards_per_second` | [string](#string) | | upgrade_time_set_staking_rewards_per_second is the initial staking_rewards_per_second to set and use when the disable inflation time is reached |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/community/v1beta1/staking.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/community/v1beta1/staking.proto
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.StakingRewardsState"></a>
|
||
|
||
### StakingRewardsState
|
||
StakingRewardsState represents the state of staking reward accumulation between blocks.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `last_accumulation_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | last_accumulation_time represents the last block time which rewards where calculated and distributed. This may be zero to signal accumulation should start on the next interval. |
|
||
| `last_truncation_error` | [string](#string) | | accumulated_truncation_error represents the sum of previous errors due to truncation on payout This value will always be on the interval [0, 1). |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/community/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/community/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the community module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the paramaters related to commmunity |
|
||
| `staking_rewards_state` | [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState) | | StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/community/v1beta1/proposal.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/community/v1beta1/proposal.proto
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.CommunityCDPRepayDebtProposal"></a>
|
||
|
||
### CommunityCDPRepayDebtProposal
|
||
CommunityCDPRepayDebtProposal repays a cdp debt position owned by the community module
|
||
This proposal exists primarily to allow committees to repay community module cdp debts.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `payment` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.CommunityCDPWithdrawCollateralProposal"></a>
|
||
|
||
### CommunityCDPWithdrawCollateralProposal
|
||
CommunityCDPWithdrawCollateralProposal withdraws cdp collateral owned by the community module
|
||
This proposal exists primarily to allow committees to withdraw community module cdp collateral.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.CommunityPoolLendDepositProposal"></a>
|
||
|
||
### CommunityPoolLendDepositProposal
|
||
CommunityPoolLendDepositProposal deposits from the community pool into lend
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.CommunityPoolLendWithdrawProposal"></a>
|
||
|
||
### CommunityPoolLendWithdrawProposal
|
||
CommunityPoolLendWithdrawProposal withdraws a lend position back to the community pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/community/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/community/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryAnnualizedRewardsRequest"></a>
|
||
|
||
### QueryAnnualizedRewardsRequest
|
||
QueryAnnualizedRewardsRequest defines the request type for querying the annualized rewards.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryAnnualizedRewardsResponse"></a>
|
||
|
||
### QueryAnnualizedRewardsResponse
|
||
QueryAnnualizedRewardsResponse defines the response type for querying the annualized rewards.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `staking_rewards` | [string](#string) | | staking_rewards is the calculated annualized staking rewards percentage rate |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryBalanceRequest"></a>
|
||
|
||
### QueryBalanceRequest
|
||
QueryBalanceRequest defines the request type for querying x/community balance.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryBalanceResponse"></a>
|
||
|
||
### QueryBalanceResponse
|
||
QueryBalanceResponse defines the response type for querying x/community balance.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParams defines the request type for querying x/community params.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/community params.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.community.v1beta1.Params) | | params represents the community module parameters |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryTotalBalanceRequest"></a>
|
||
|
||
### QueryTotalBalanceRequest
|
||
QueryTotalBalanceRequest defines the request type for querying total community pool balance.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.QueryTotalBalanceResponse"></a>
|
||
|
||
### QueryTotalBalanceResponse
|
||
QueryTotalBalanceResponse defines the response type for querying total
|
||
community pool balance. This matches the x/distribution CommunityPool query response.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `pool` | [cosmos.base.v1beta1.DecCoin](#cosmos.base.v1beta1.DecCoin) | repeated | pool defines community pool's coins. |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.community.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for x/community.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.community.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.community.v1beta1.QueryParamsResponse) | Params queires the module params. | GET|/kava/community/v1beta1/params|
|
||
| `Balance` | [QueryBalanceRequest](#kava.community.v1beta1.QueryBalanceRequest) | [QueryBalanceResponse](#kava.community.v1beta1.QueryBalanceResponse) | Balance queries the balance of all coins of x/community module. | GET|/kava/community/v1beta1/balance|
|
||
| `TotalBalance` | [QueryTotalBalanceRequest](#kava.community.v1beta1.QueryTotalBalanceRequest) | [QueryTotalBalanceResponse](#kava.community.v1beta1.QueryTotalBalanceResponse) | TotalBalance queries the balance of all coins, including x/distribution, x/community, and supplied balances. | GET|/kava/community/v1beta1/total_balance|
|
||
| `AnnualizedRewards` | [QueryAnnualizedRewardsRequest](#kava.community.v1beta1.QueryAnnualizedRewardsRequest) | [QueryAnnualizedRewardsResponse](#kava.community.v1beta1.QueryAnnualizedRewardsResponse) | AnnualizedRewards calculates and returns the current annualized reward percentages, like staking rewards, for the chain. | GET|/kava/community/v1beta1/annualized_rewards|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/community/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/community/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.MsgFundCommunityPool"></a>
|
||
|
||
### MsgFundCommunityPool
|
||
MsgFundCommunityPool allows an account to directly fund the community module account.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `depositor` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.MsgFundCommunityPoolResponse"></a>
|
||
|
||
### MsgFundCommunityPoolResponse
|
||
MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.MsgUpdateParams"></a>
|
||
|
||
### MsgUpdateParams
|
||
MsgUpdateParams allows an account to update the community module parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `authority` | [string](#string) | | authority is the address that controls the module (defaults to x/gov unless overwritten). |
|
||
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines the x/community parameters to update. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.community.v1beta1.MsgUpdateParamsResponse"></a>
|
||
|
||
### MsgUpdateParamsResponse
|
||
MsgUpdateParamsResponse defines the Msg/UpdateParams response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.community.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the community Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `FundCommunityPool` | [MsgFundCommunityPool](#kava.community.v1beta1.MsgFundCommunityPool) | [MsgFundCommunityPoolResponse](#kava.community.v1beta1.MsgFundCommunityPoolResponse) | FundCommunityPool defines a method to allow an account to directly fund the community module account. | |
|
||
| `UpdateParams` | [MsgUpdateParams](#kava.community.v1beta1.MsgUpdateParams) | [MsgUpdateParamsResponse](#kava.community.v1beta1.MsgUpdateParamsResponse) | UpdateParams defines a method to allow an account to update the community module parameters. | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/strategy.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/strategy.proto
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
|
||
<a name="kava.earn.v1beta1.StrategyType"></a>
|
||
|
||
### StrategyType
|
||
StrategyType is the type of strategy that a vault uses to optimize yields.
|
||
|
||
| Name | Number | Description |
|
||
| ---- | ------ | ----------- |
|
||
| STRATEGY_TYPE_UNSPECIFIED | 0 | STRATEGY_TYPE_UNSPECIFIED represents an unspecified or invalid strategy type. |
|
||
| STRATEGY_TYPE_HARD | 1 | STRATEGY_TYPE_HARD represents the strategy that deposits assets in the Hard module. |
|
||
| STRATEGY_TYPE_SAVINGS | 2 | STRATEGY_TYPE_SAVINGS represents the strategy that deposits assets in the Savings module. |
|
||
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/vault.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/vault.proto
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.AllowedVault"></a>
|
||
|
||
### AllowedVault
|
||
AllowedVault is a vault that is allowed to be created. These can be
|
||
modified via parameter governance.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | Denom is the only supported denomination of the vault for deposits and withdrawals. |
|
||
| `strategies` | [StrategyType](#kava.earn.v1beta1.StrategyType) | repeated | VaultStrategy is the strategy used for this vault. |
|
||
| `is_private_vault` | [bool](#bool) | | IsPrivateVault is true if the vault only allows depositors contained in AllowedDepositors. |
|
||
| `allowed_depositors` | [bytes](#bytes) | repeated | 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. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.VaultRecord"></a>
|
||
|
||
### VaultRecord
|
||
VaultRecord is the state of a vault.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `total_shares` | [VaultShare](#kava.earn.v1beta1.VaultShare) | | TotalShares is the total distributed number of shares in the vault. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.VaultShare"></a>
|
||
|
||
### VaultShare
|
||
VaultShare defines shares of a vault owned by a depositor.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `amount` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.VaultShareRecord"></a>
|
||
|
||
### VaultShareRecord
|
||
VaultShareRecord defines the vault shares owned by a depositor.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [bytes](#bytes) | | Depositor represents the owner of the shares |
|
||
| `shares` | [VaultShare](#kava.earn.v1beta1.VaultShare) | repeated | Shares represent the vault shares owned by the depositor. |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/params.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/params.proto
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters of the earn module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `allowed_vaults` | [AllowedVault](#kava.earn.v1beta1.AllowedVault) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the earn module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.earn.v1beta1.Params) | | params defines all the paramaters related to earn |
|
||
| `vault_records` | [VaultRecord](#kava.earn.v1beta1.VaultRecord) | repeated | vault_records defines the available vaults |
|
||
| `vault_share_records` | [VaultShareRecord](#kava.earn.v1beta1.VaultShareRecord) | repeated | share_records defines the owned shares of each vault |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/proposal.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/proposal.proto
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.CommunityPoolDepositProposal"></a>
|
||
|
||
### CommunityPoolDepositProposal
|
||
CommunityPoolDepositProposal deposits from the community pool into an earn vault
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.CommunityPoolDepositProposalJSON"></a>
|
||
|
||
### CommunityPoolDepositProposalJSON
|
||
CommunityPoolDepositProposalJSON defines a CommunityPoolDepositProposal with a deposit
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.CommunityPoolWithdrawProposal"></a>
|
||
|
||
### CommunityPoolWithdrawProposal
|
||
CommunityPoolWithdrawProposal withdraws from an earn vault back to community pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.CommunityPoolWithdrawProposalJSON"></a>
|
||
|
||
### CommunityPoolWithdrawProposalJSON
|
||
CommunityPoolWithdrawProposalJSON defines a CommunityPoolWithdrawProposal with a deposit
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.DepositResponse"></a>
|
||
|
||
### DepositResponse
|
||
DepositResponse defines a deposit query response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor represents the owner of the deposit. |
|
||
| `shares` | [VaultShare](#kava.earn.v1beta1.VaultShare) | repeated | Shares represent the issued shares from their corresponding vaults. |
|
||
| `value` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | 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. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryDepositsRequest"></a>
|
||
|
||
### QueryDepositsRequest
|
||
QueryDepositsRequest is the request type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor optionally filters deposits by depositor |
|
||
| `denom` | [string](#string) | | denom optionally filters deposits by vault denom |
|
||
| `value_in_staked_tokens` | [bool](#bool) | | respond with vault value in ukava for bkava vaults |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryDepositsResponse"></a>
|
||
|
||
### QueryDepositsResponse
|
||
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deposits` | [DepositResponse](#kava.earn.v1beta1.DepositResponse) | repeated | deposits returns the deposits matching the requested parameters |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/earn parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/earn parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.earn.v1beta1.Params) | | params represents the earn module parameters |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryTotalSupplyRequest"></a>
|
||
|
||
### QueryTotalSupplyRequest
|
||
QueryTotalSupplyRequest defines the request type for Query/TotalSupply method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryTotalSupplyResponse"></a>
|
||
|
||
### QueryTotalSupplyResponse
|
||
TotalSupplyResponse defines the response type for the Query/TotalSupply method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `height` | [int64](#int64) | | Height is the block height at which these totals apply |
|
||
| `result` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Result is a list of coins supplied to earn |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryVaultRequest"></a>
|
||
|
||
### QueryVaultRequest
|
||
QueryVaultRequest is the request type for the Query/Vault RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | vault filters vault by denom |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryVaultResponse"></a>
|
||
|
||
### QueryVaultResponse
|
||
QueryVaultResponse is the response type for the Query/Vault RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `vault` | [VaultResponse](#kava.earn.v1beta1.VaultResponse) | | vault represents the queried earn module vault |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryVaultsRequest"></a>
|
||
|
||
### QueryVaultsRequest
|
||
QueryVaultsRequest is the request type for the Query/Vaults RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.QueryVaultsResponse"></a>
|
||
|
||
### QueryVaultsResponse
|
||
QueryVaultsResponse is the response type for the Query/Vaults RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `vaults` | [VaultResponse](#kava.earn.v1beta1.VaultResponse) | repeated | vaults represents the earn module vaults |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.VaultResponse"></a>
|
||
|
||
### VaultResponse
|
||
VaultResponse is the response type for a vault.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | denom represents the denom of the vault |
|
||
| `strategies` | [StrategyType](#kava.earn.v1beta1.StrategyType) | repeated | VaultStrategy is the strategy used for this vault. |
|
||
| `is_private_vault` | [bool](#bool) | | IsPrivateVault is true if the vault only allows depositors contained in AllowedDepositors. |
|
||
| `allowed_depositors` | [string](#string) | repeated | 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. |
|
||
| `total_shares` | [string](#string) | | TotalShares is the total amount of shares issued to depositors. |
|
||
| `total_value` | [string](#string) | | TotalValue is the total value of denom coins supplied to the vault if the vault were to be liquidated. |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.earn.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for earn module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.earn.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.earn.v1beta1.QueryParamsResponse) | Params queries all parameters of the earn module. | GET|/kava/earn/v1beta1/params|
|
||
| `Vaults` | [QueryVaultsRequest](#kava.earn.v1beta1.QueryVaultsRequest) | [QueryVaultsResponse](#kava.earn.v1beta1.QueryVaultsResponse) | Vaults queries all vaults | GET|/kava/earn/v1beta1/vaults|
|
||
| `Vault` | [QueryVaultRequest](#kava.earn.v1beta1.QueryVaultRequest) | [QueryVaultResponse](#kava.earn.v1beta1.QueryVaultResponse) | Vault queries a single vault based on the vault denom | GET|/kava/earn/v1beta1/vaults/{denom=**}|
|
||
| `Deposits` | [QueryDepositsRequest](#kava.earn.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.earn.v1beta1.QueryDepositsResponse) | Deposits queries deposit details based on depositor address and vault | GET|/kava/earn/v1beta1/deposits|
|
||
| `TotalSupply` | [QueryTotalSupplyRequest](#kava.earn.v1beta1.QueryTotalSupplyRequest) | [QueryTotalSupplyResponse](#kava.earn.v1beta1.QueryTotalSupplyResponse) | TotalSupply returns the total sum of all coins currently locked into the earn module. | GET|/kava/earn/v1beta1/total_supply|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/earn/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/earn/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.MsgDeposit"></a>
|
||
|
||
### MsgDeposit
|
||
MsgDeposit represents a message for depositing assedts into a vault
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor represents the address to deposit funds from |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount represents the token to deposit. The vault corresponds to the denom of the amount coin. |
|
||
| `strategy` | [StrategyType](#kava.earn.v1beta1.StrategyType) | | Strategy is the vault strategy to use. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.MsgDepositResponse"></a>
|
||
|
||
### MsgDepositResponse
|
||
MsgDepositResponse defines the Msg/Deposit response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `shares` | [VaultShare](#kava.earn.v1beta1.VaultShare) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.MsgWithdraw"></a>
|
||
|
||
### MsgWithdraw
|
||
MsgWithdraw represents a message for withdrawing liquidity from a vault
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | from represents the address we are withdrawing for |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount represents the token to withdraw. The vault corresponds to the denom of the amount coin. |
|
||
| `strategy` | [StrategyType](#kava.earn.v1beta1.StrategyType) | | Strategy is the vault strategy to use. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.earn.v1beta1.MsgWithdrawResponse"></a>
|
||
|
||
### MsgWithdrawResponse
|
||
MsgWithdrawResponse defines the Msg/Withdraw response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `shares` | [VaultShare](#kava.earn.v1beta1.VaultShare) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.earn.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the earn Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Deposit` | [MsgDeposit](#kava.earn.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.earn.v1beta1.MsgDepositResponse) | Deposit defines a method for depositing assets into a vault | |
|
||
| `Withdraw` | [MsgWithdraw](#kava.earn.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.earn.v1beta1.MsgWithdrawResponse) | Withdraw defines a method for withdrawing assets into a vault | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/evmutil/v1beta1/conversion_pair.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/evmutil/v1beta1/conversion_pair.proto
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.AllowedCosmosCoinERC20Token"></a>
|
||
|
||
### AllowedCosmosCoinERC20Token
|
||
AllowedCosmosCoinERC20Token defines allowed cosmos-sdk denom & metadata
|
||
for evm token representations of sdk assets.
|
||
NOTE: once evm token contracts are deployed, changes to metadata for a given
|
||
cosmos_denom will not change metadata of deployed contract.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cosmos_denom` | [string](#string) | | Denom of the sdk.Coin |
|
||
| `name` | [string](#string) | | Name of ERC20 contract |
|
||
| `symbol` | [string](#string) | | Symbol of ERC20 contract |
|
||
| `decimals` | [uint32](#uint32) | | Number of decimals ERC20 contract is deployed with. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.ConversionPair"></a>
|
||
|
||
### ConversionPair
|
||
ConversionPair defines a Kava ERC20 address and corresponding denom that is
|
||
allowed to be converted between ERC20 and sdk.Coin
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `kava_erc20_address` | [bytes](#bytes) | | ERC20 address of the token on the Kava EVM |
|
||
| `denom` | [string](#string) | | Denom of the corresponding sdk.Coin |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/evmutil/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/evmutil/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.Account"></a>
|
||
|
||
### Account
|
||
BalanceAccount defines an account in the evmutil module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `address` | [bytes](#bytes) | | |
|
||
| `balance` | [string](#string) | | balance indicates the amount of akava owned by the address. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the evmutil module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `accounts` | [Account](#kava.evmutil.v1beta1.Account) | repeated | |
|
||
| `params` | [Params](#kava.evmutil.v1beta1.Params) | | params defines all the parameters of the module. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the evmutil module params
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `enabled_conversion_pairs` | [ConversionPair](#kava.evmutil.v1beta1.ConversionPair) | repeated | enabled_conversion_pairs defines the list of conversion pairs allowed to be converted between Kava ERC20 and sdk.Coin |
|
||
| `allowed_cosmos_denoms` | [AllowedCosmosCoinERC20Token](#kava.evmutil.v1beta1.AllowedCosmosCoinERC20Token) | repeated | allowed_cosmos_denoms is a list of denom & erc20 token metadata pairs. if a denom is in the list, it is allowed to be converted to an erc20 in the evm. |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/evmutil/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/evmutil/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.DeployedCosmosCoinContract"></a>
|
||
|
||
### DeployedCosmosCoinContract
|
||
DeployedCosmosCoinContract defines a deployed token contract to the evm representing a native cosmos-sdk coin
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cosmos_denom` | [string](#string) | | |
|
||
| `address` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest"></a>
|
||
|
||
### QueryDeployedCosmosCoinContractsRequest
|
||
QueryDeployedCosmosCoinContractsRequest defines the request type for Query/DeployedCosmosCoinContracts method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `cosmos_denoms` | [string](#string) | repeated | optional query param to only return specific denoms in the list denoms that do not have deployed contracts will be omitted from the result must request fewer than 100 denoms at a time. |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse"></a>
|
||
|
||
### QueryDeployedCosmosCoinContractsResponse
|
||
QueryDeployedCosmosCoinContractsResponse defines the response type for the Query/DeployedCosmosCoinContracts method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deployed_cosmos_coin_contracts` | [DeployedCosmosCoinContract](#kava.evmutil.v1beta1.DeployedCosmosCoinContract) | repeated | deployed_cosmos_coin_contracts is a list of cosmos-sdk coin denom and its deployed contract address |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/evmutil parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/evmutil parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.evmutil.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for evmutil module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.evmutil.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.evmutil.v1beta1.QueryParamsResponse) | Params queries all parameters of the evmutil module. | GET|/kava/evmutil/v1beta1/params|
|
||
| `DeployedCosmosCoinContracts` | [QueryDeployedCosmosCoinContractsRequest](#kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest) | [QueryDeployedCosmosCoinContractsResponse](#kava.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse) | DeployedCosmosCoinContracts queries a list cosmos coin denom and their deployed erc20 address | GET|/kava/evmutil/v1beta1/deployed_cosmos_coin_contracts|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/evmutil/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/evmutil/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertCoinToERC20"></a>
|
||
|
||
### MsgConvertCoinToERC20
|
||
MsgConvertCoinToERC20 defines a conversion from sdk.Coin to Kava ERC20 for EVM-native assets.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `initiator` | [string](#string) | | Kava bech32 address initiating the conversion. |
|
||
| `receiver` | [string](#string) | | EVM 0x hex address that will receive the converted Kava ERC20 tokens. |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount is the sdk.Coin amount to convert. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertCoinToERC20Response"></a>
|
||
|
||
### MsgConvertCoinToERC20Response
|
||
MsgConvertCoinToERC20Response defines the response value from Msg/ConvertCoinToERC20.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20"></a>
|
||
|
||
### MsgConvertCosmosCoinFromERC20
|
||
MsgConvertCosmosCoinFromERC20 defines a conversion from ERC20 to cosmos coins for cosmos-native assets.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `initiator` | [string](#string) | | EVM hex address initiating the conversion. |
|
||
| `receiver` | [string](#string) | | Kava bech32 address that will receive the cosmos coins. |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount is the amount to convert, expressed as a Cosmos coin. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response"></a>
|
||
|
||
### MsgConvertCosmosCoinFromERC20Response
|
||
MsgConvertCosmosCoinFromERC20Response defines the response value from Msg/MsgConvertCosmosCoinFromERC20.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20"></a>
|
||
|
||
### MsgConvertCosmosCoinToERC20
|
||
MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `initiator` | [string](#string) | | Kava bech32 address initiating the conversion. |
|
||
| `receiver` | [string](#string) | | EVM hex address that will receive the ERC20 tokens. |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount is the sdk.Coin amount to convert. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response"></a>
|
||
|
||
### MsgConvertCosmosCoinToERC20Response
|
||
MsgConvertCosmosCoinToERC20Response defines the response value from Msg/MsgConvertCosmosCoinToERC20.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertERC20ToCoin"></a>
|
||
|
||
### MsgConvertERC20ToCoin
|
||
MsgConvertERC20ToCoin defines a conversion from Kava ERC20 to sdk.Coin for EVM-native assets.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `initiator` | [string](#string) | | EVM 0x hex address initiating the conversion. |
|
||
| `receiver` | [string](#string) | | Kava bech32 address that will receive the converted sdk.Coin. |
|
||
| `kava_erc20_address` | [string](#string) | | EVM 0x hex address of the ERC20 contract. |
|
||
| `amount` | [string](#string) | | ERC20 token amount to convert. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.MsgConvertERC20ToCoinResponse"></a>
|
||
|
||
### MsgConvertERC20ToCoinResponse
|
||
MsgConvertERC20ToCoinResponse defines the response value from
|
||
Msg/MsgConvertERC20ToCoin.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.evmutil.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the evmutil Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `ConvertCoinToERC20` | [MsgConvertCoinToERC20](#kava.evmutil.v1beta1.MsgConvertCoinToERC20) | [MsgConvertCoinToERC20Response](#kava.evmutil.v1beta1.MsgConvertCoinToERC20Response) | ConvertCoinToERC20 defines a method for converting sdk.Coin to Kava ERC20. | |
|
||
| `ConvertERC20ToCoin` | [MsgConvertERC20ToCoin](#kava.evmutil.v1beta1.MsgConvertERC20ToCoin) | [MsgConvertERC20ToCoinResponse](#kava.evmutil.v1beta1.MsgConvertERC20ToCoinResponse) | ConvertERC20ToCoin defines a method for converting Kava ERC20 to sdk.Coin. | |
|
||
| `ConvertCosmosCoinToERC20` | [MsgConvertCosmosCoinToERC20](#kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20) | [MsgConvertCosmosCoinToERC20Response](#kava.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response) | ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. | |
|
||
| `ConvertCosmosCoinFromERC20` | [MsgConvertCosmosCoinFromERC20](#kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20) | [MsgConvertCosmosCoinFromERC20Response](#kava.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response) | ConvertCosmosCoinFromERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/hard/v1beta1/hard.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/hard/v1beta1/hard.proto
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.Borrow"></a>
|
||
|
||
### Borrow
|
||
Borrow defines an amount of coins borrowed from a hard module account.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `borrower` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `index` | [BorrowInterestFactor](#kava.hard.v1beta1.BorrowInterestFactor) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.BorrowInterestFactor"></a>
|
||
|
||
### BorrowInterestFactor
|
||
BorrowInterestFactor defines an individual borrow interest factor.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `value` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.BorrowLimit"></a>
|
||
|
||
### BorrowLimit
|
||
BorrowLimit enforces restrictions on a money market.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `has_max_limit` | [bool](#bool) | | |
|
||
| `maximum_limit` | [string](#string) | | |
|
||
| `loan_to_value` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.CoinsProto"></a>
|
||
|
||
### CoinsProto
|
||
CoinsProto defines a Protobuf wrapper around a Coins slice
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.Deposit"></a>
|
||
|
||
### Deposit
|
||
Deposit defines an amount of coins deposited into a hard module account.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `index` | [SupplyInterestFactor](#kava.hard.v1beta1.SupplyInterestFactor) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.InterestRateModel"></a>
|
||
|
||
### InterestRateModel
|
||
InterestRateModel contains information about an asset's interest rate.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_rate_apy` | [string](#string) | | |
|
||
| `base_multiplier` | [string](#string) | | |
|
||
| `kink` | [string](#string) | | |
|
||
| `jump_multiplier` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MoneyMarket"></a>
|
||
|
||
### MoneyMarket
|
||
MoneyMarket is a money market for an individual asset.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `borrow_limit` | [BorrowLimit](#kava.hard.v1beta1.BorrowLimit) | | |
|
||
| `spot_market_id` | [string](#string) | | |
|
||
| `conversion_factor` | [string](#string) | | |
|
||
| `interest_rate_model` | [InterestRateModel](#kava.hard.v1beta1.InterestRateModel) | | |
|
||
| `reserve_factor` | [string](#string) | | |
|
||
| `keeper_reward_percentage` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the hard module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `money_markets` | [MoneyMarket](#kava.hard.v1beta1.MoneyMarket) | repeated | |
|
||
| `minimum_borrow_usd_value` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.SupplyInterestFactor"></a>
|
||
|
||
### SupplyInterestFactor
|
||
SupplyInterestFactor defines an individual borrow interest factor.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `value` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/hard/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/hard/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.GenesisAccumulationTime"></a>
|
||
|
||
### GenesisAccumulationTime
|
||
GenesisAccumulationTime stores the previous distribution time and its corresponding denom.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `previous_accumulation_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `supply_interest_factor` | [string](#string) | | |
|
||
| `borrow_interest_factor` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the hard module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.hard.v1beta1.Params) | | |
|
||
| `previous_accumulation_times` | [GenesisAccumulationTime](#kava.hard.v1beta1.GenesisAccumulationTime) | repeated | |
|
||
| `deposits` | [Deposit](#kava.hard.v1beta1.Deposit) | repeated | |
|
||
| `borrows` | [Borrow](#kava.hard.v1beta1.Borrow) | repeated | |
|
||
| `total_supplied` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `total_borrowed` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `total_reserves` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/hard/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/hard/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.BorrowInterestFactorResponse"></a>
|
||
|
||
### BorrowInterestFactorResponse
|
||
BorrowInterestFactorResponse defines an individual borrow interest factor.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `value` | [string](#string) | | sdk.Dec as string |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.BorrowResponse"></a>
|
||
|
||
### BorrowResponse
|
||
BorrowResponse defines an amount of coins borrowed from a hard module account.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `borrower` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `index` | [BorrowInterestFactorResponse](#kava.hard.v1beta1.BorrowInterestFactorResponse) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.DepositResponse"></a>
|
||
|
||
### DepositResponse
|
||
DepositResponse defines an amount of coins deposited into a hard module account.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
| `index` | [SupplyInterestFactorResponse](#kava.hard.v1beta1.SupplyInterestFactorResponse) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.InterestFactor"></a>
|
||
|
||
### InterestFactor
|
||
InterestFactor is a unique type returned by interest factor queries
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `borrow_interest_factor` | [string](#string) | | sdk.Dec as String |
|
||
| `supply_interest_factor` | [string](#string) | | sdk.Dec as String |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MoneyMarketInterestRate"></a>
|
||
|
||
### MoneyMarketInterestRate
|
||
MoneyMarketInterestRate is a unique type returned by interest rate queries
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `supply_interest_rate` | [string](#string) | | sdk.Dec as String |
|
||
| `borrow_interest_rate` | [string](#string) | | sdk.Dec as String |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryAccountsRequest"></a>
|
||
|
||
### QueryAccountsRequest
|
||
QueryAccountsRequest is the request type for the Query/Accounts RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryAccountsResponse"></a>
|
||
|
||
### QueryAccountsResponse
|
||
QueryAccountsResponse is the response type for the Query/Accounts RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `accounts` | [cosmos.auth.v1beta1.ModuleAccount](#cosmos.auth.v1beta1.ModuleAccount) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryBorrowsRequest"></a>
|
||
|
||
### QueryBorrowsRequest
|
||
QueryBorrowsRequest is the request type for the Query/Borrows RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryBorrowsResponse"></a>
|
||
|
||
### QueryBorrowsResponse
|
||
QueryBorrowsResponse is the response type for the Query/Borrows RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `borrows` | [BorrowResponse](#kava.hard.v1beta1.BorrowResponse) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryDepositsRequest"></a>
|
||
|
||
### QueryDepositsRequest
|
||
QueryDepositsRequest is the request type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryDepositsResponse"></a>
|
||
|
||
### QueryDepositsResponse
|
||
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deposits` | [DepositResponse](#kava.hard.v1beta1.DepositResponse) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryInterestFactorsRequest"></a>
|
||
|
||
### QueryInterestFactorsRequest
|
||
QueryInterestFactorsRequest is the request type for the Query/InterestFactors RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryInterestFactorsResponse"></a>
|
||
|
||
### QueryInterestFactorsResponse
|
||
QueryInterestFactorsResponse is the response type for the Query/InterestFactors RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `interest_factors` | [InterestFactor](#kava.hard.v1beta1.InterestFactor) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryInterestRateRequest"></a>
|
||
|
||
### QueryInterestRateRequest
|
||
QueryInterestRateRequest is the request type for the Query/InterestRate RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryInterestRateResponse"></a>
|
||
|
||
### QueryInterestRateResponse
|
||
QueryInterestRateResponse is the response type for the Query/InterestRate RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `interest_rates` | [MoneyMarketInterestRate](#kava.hard.v1beta1.MoneyMarketInterestRate) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest is the request type for the Query/Params RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse is the response type for the Query/Params RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.hard.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryReservesRequest"></a>
|
||
|
||
### QueryReservesRequest
|
||
QueryReservesRequest is the request type for the Query/Reserves RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryReservesResponse"></a>
|
||
|
||
### QueryReservesResponse
|
||
QueryReservesResponse is the response type for the Query/Reserves RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryTotalBorrowedRequest"></a>
|
||
|
||
### QueryTotalBorrowedRequest
|
||
QueryTotalBorrowedRequest is the request type for the Query/TotalBorrowed RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryTotalBorrowedResponse"></a>
|
||
|
||
### QueryTotalBorrowedResponse
|
||
QueryTotalBorrowedResponse is the response type for the Query/TotalBorrowed RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `borrowed_coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryTotalDepositedRequest"></a>
|
||
|
||
### QueryTotalDepositedRequest
|
||
QueryTotalDepositedRequest is the request type for the Query/TotalDeposited RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryTotalDepositedResponse"></a>
|
||
|
||
### QueryTotalDepositedResponse
|
||
QueryTotalDepositedResponse is the response type for the Query/TotalDeposited RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `supplied_coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryUnsyncedBorrowsRequest"></a>
|
||
|
||
### QueryUnsyncedBorrowsRequest
|
||
QueryUnsyncedBorrowsRequest is the request type for the Query/UnsyncedBorrows RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryUnsyncedBorrowsResponse"></a>
|
||
|
||
### QueryUnsyncedBorrowsResponse
|
||
QueryUnsyncedBorrowsResponse is the response type for the Query/UnsyncedBorrows RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `borrows` | [BorrowResponse](#kava.hard.v1beta1.BorrowResponse) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryUnsyncedDepositsRequest"></a>
|
||
|
||
### QueryUnsyncedDepositsRequest
|
||
QueryUnsyncedDepositsRequest is the request type for the Query/UnsyncedDeposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.QueryUnsyncedDepositsResponse"></a>
|
||
|
||
### QueryUnsyncedDepositsResponse
|
||
QueryUnsyncedDepositsResponse is the response type for the Query/UnsyncedDeposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deposits` | [DepositResponse](#kava.hard.v1beta1.DepositResponse) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.SupplyInterestFactorResponse"></a>
|
||
|
||
### SupplyInterestFactorResponse
|
||
SupplyInterestFactorResponse defines an individual borrow interest factor.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `value` | [string](#string) | | sdk.Dec as string |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.hard.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for bep3 module.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.hard.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.hard.v1beta1.QueryParamsResponse) | Params queries module params. | GET|/kava/hard/v1beta1/params|
|
||
| `Accounts` | [QueryAccountsRequest](#kava.hard.v1beta1.QueryAccountsRequest) | [QueryAccountsResponse](#kava.hard.v1beta1.QueryAccountsResponse) | Accounts queries module accounts. | GET|/kava/hard/v1beta1/accounts|
|
||
| `Deposits` | [QueryDepositsRequest](#kava.hard.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.hard.v1beta1.QueryDepositsResponse) | Deposits queries hard deposits. | GET|/kava/hard/v1beta1/deposits|
|
||
| `UnsyncedDeposits` | [QueryUnsyncedDepositsRequest](#kava.hard.v1beta1.QueryUnsyncedDepositsRequest) | [QueryUnsyncedDepositsResponse](#kava.hard.v1beta1.QueryUnsyncedDepositsResponse) | UnsyncedDeposits queries unsynced deposits. | GET|/kava/hard/v1beta1/unsynced-deposits|
|
||
| `TotalDeposited` | [QueryTotalDepositedRequest](#kava.hard.v1beta1.QueryTotalDepositedRequest) | [QueryTotalDepositedResponse](#kava.hard.v1beta1.QueryTotalDepositedResponse) | TotalDeposited queries total coins deposited to hard liquidity pools. | GET|/kava/hard/v1beta1/total-deposited|
|
||
| `Borrows` | [QueryBorrowsRequest](#kava.hard.v1beta1.QueryBorrowsRequest) | [QueryBorrowsResponse](#kava.hard.v1beta1.QueryBorrowsResponse) | Borrows queries hard borrows. | GET|/kava/hard/v1beta1/borrows|
|
||
| `UnsyncedBorrows` | [QueryUnsyncedBorrowsRequest](#kava.hard.v1beta1.QueryUnsyncedBorrowsRequest) | [QueryUnsyncedBorrowsResponse](#kava.hard.v1beta1.QueryUnsyncedBorrowsResponse) | UnsyncedBorrows queries unsynced borrows. | GET|/kava/hard/v1beta1/unsynced-borrows|
|
||
| `TotalBorrowed` | [QueryTotalBorrowedRequest](#kava.hard.v1beta1.QueryTotalBorrowedRequest) | [QueryTotalBorrowedResponse](#kava.hard.v1beta1.QueryTotalBorrowedResponse) | TotalBorrowed queries total coins borrowed from hard liquidity pools. | GET|/kava/hard/v1beta1/total-borrowed|
|
||
| `InterestRate` | [QueryInterestRateRequest](#kava.hard.v1beta1.QueryInterestRateRequest) | [QueryInterestRateResponse](#kava.hard.v1beta1.QueryInterestRateResponse) | InterestRate queries the hard module interest rates. | GET|/kava/hard/v1beta1/interest-rate|
|
||
| `Reserves` | [QueryReservesRequest](#kava.hard.v1beta1.QueryReservesRequest) | [QueryReservesResponse](#kava.hard.v1beta1.QueryReservesResponse) | Reserves queries total hard reserve coins. | GET|/kava/hard/v1beta1/reserves|
|
||
| `InterestFactors` | [QueryInterestFactorsRequest](#kava.hard.v1beta1.QueryInterestFactorsRequest) | [QueryInterestFactorsResponse](#kava.hard.v1beta1.QueryInterestFactorsResponse) | InterestFactors queries hard module interest factors. | GET|/kava/hard/v1beta1/interest-factors|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/hard/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/hard/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgBorrow"></a>
|
||
|
||
### MsgBorrow
|
||
MsgBorrow defines the Msg/Borrow request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `borrower` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgBorrowResponse"></a>
|
||
|
||
### MsgBorrowResponse
|
||
MsgBorrowResponse defines the Msg/Borrow response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgDeposit"></a>
|
||
|
||
### MsgDeposit
|
||
MsgDeposit defines the Msg/Deposit request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgDepositResponse"></a>
|
||
|
||
### MsgDepositResponse
|
||
MsgDepositResponse defines the Msg/Deposit response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgLiquidate"></a>
|
||
|
||
### MsgLiquidate
|
||
MsgLiquidate defines the Msg/Liquidate request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `keeper` | [string](#string) | | |
|
||
| `borrower` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgLiquidateResponse"></a>
|
||
|
||
### MsgLiquidateResponse
|
||
MsgLiquidateResponse defines the Msg/Liquidate response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgRepay"></a>
|
||
|
||
### MsgRepay
|
||
MsgRepay defines the Msg/Repay request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgRepayResponse"></a>
|
||
|
||
### MsgRepayResponse
|
||
MsgRepayResponse defines the Msg/Repay response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgWithdraw"></a>
|
||
|
||
### MsgWithdraw
|
||
MsgWithdraw defines the Msg/Withdraw request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.hard.v1beta1.MsgWithdrawResponse"></a>
|
||
|
||
### MsgWithdrawResponse
|
||
MsgWithdrawResponse defines the Msg/Withdraw response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.hard.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the hard Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Deposit` | [MsgDeposit](#kava.hard.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.hard.v1beta1.MsgDepositResponse) | Deposit defines a method for depositing funds to hard liquidity pool. | |
|
||
| `Withdraw` | [MsgWithdraw](#kava.hard.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.hard.v1beta1.MsgWithdrawResponse) | Withdraw defines a method for withdrawing funds from hard liquidity pool. | |
|
||
| `Borrow` | [MsgBorrow](#kava.hard.v1beta1.MsgBorrow) | [MsgBorrowResponse](#kava.hard.v1beta1.MsgBorrowResponse) | Borrow defines a method for borrowing funds from hard liquidity pool. | |
|
||
| `Repay` | [MsgRepay](#kava.hard.v1beta1.MsgRepay) | [MsgRepayResponse](#kava.hard.v1beta1.MsgRepayResponse) | Repay defines a method for repaying funds borrowed from hard liquidity pool. | |
|
||
| `Liquidate` | [MsgLiquidate](#kava.hard.v1beta1.MsgLiquidate) | [MsgLiquidateResponse](#kava.hard.v1beta1.MsgLiquidateResponse) | Liquidate defines a method for attempting to liquidate a borrower that is over their loan-to-value. | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/incentive/v1beta1/apy.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/incentive/v1beta1/apy.proto
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.Apy"></a>
|
||
|
||
### Apy
|
||
Apy contains the calculated APY for a given collateral type at a specific
|
||
instant in time.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `apy` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/incentive/v1beta1/claims.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/incentive/v1beta1/claims.proto
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.BaseClaim"></a>
|
||
|
||
### BaseClaim
|
||
BaseClaim is a claim with a single reward coin types
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `owner` | [bytes](#bytes) | | |
|
||
| `reward` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.BaseMultiClaim"></a>
|
||
|
||
### BaseMultiClaim
|
||
BaseMultiClaim is a claim with multiple reward coin types
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `owner` | [bytes](#bytes) | | |
|
||
| `reward` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.DelegatorClaim"></a>
|
||
|
||
### DelegatorClaim
|
||
DelegatorClaim stores delegation rewards that can be claimed by owner
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_claim` | [BaseMultiClaim](#kava.incentive.v1beta1.BaseMultiClaim) | | |
|
||
| `reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.EarnClaim"></a>
|
||
|
||
### EarnClaim
|
||
EarnClaim stores the earn rewards that can be claimed by owner
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_claim` | [BaseMultiClaim](#kava.incentive.v1beta1.BaseMultiClaim) | | |
|
||
| `reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.HardLiquidityProviderClaim"></a>
|
||
|
||
### HardLiquidityProviderClaim
|
||
HardLiquidityProviderClaim stores the hard liquidity provider rewards that can be claimed by owner
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_claim` | [BaseMultiClaim](#kava.incentive.v1beta1.BaseMultiClaim) | | |
|
||
| `supply_reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
| `borrow_reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MultiRewardIndex"></a>
|
||
|
||
### MultiRewardIndex
|
||
MultiRewardIndex stores reward accumulation information on multiple reward types
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `reward_indexes` | [RewardIndex](#kava.incentive.v1beta1.RewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MultiRewardIndexesProto"></a>
|
||
|
||
### MultiRewardIndexesProto
|
||
MultiRewardIndexesProto defines a Protobuf wrapper around a MultiRewardIndexes slice
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `multi_reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.RewardIndex"></a>
|
||
|
||
### RewardIndex
|
||
RewardIndex stores reward accumulation information
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `reward_factor` | [bytes](#bytes) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.RewardIndexesProto"></a>
|
||
|
||
### RewardIndexesProto
|
||
RewardIndexesProto defines a Protobuf wrapper around a RewardIndexes slice
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `reward_indexes` | [RewardIndex](#kava.incentive.v1beta1.RewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.SavingsClaim"></a>
|
||
|
||
### SavingsClaim
|
||
SavingsClaim stores the savings rewards that can be claimed by owner
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_claim` | [BaseMultiClaim](#kava.incentive.v1beta1.BaseMultiClaim) | | |
|
||
| `reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.SwapClaim"></a>
|
||
|
||
### SwapClaim
|
||
SwapClaim stores the swap rewards that can be claimed by owner
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_claim` | [BaseMultiClaim](#kava.incentive.v1beta1.BaseMultiClaim) | | |
|
||
| `reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.USDXMintingClaim"></a>
|
||
|
||
### USDXMintingClaim
|
||
USDXMintingClaim is for USDX minting rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `base_claim` | [BaseClaim](#kava.incentive.v1beta1.BaseClaim) | | |
|
||
| `reward_indexes` | [RewardIndex](#kava.incentive.v1beta1.RewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/incentive/v1beta1/params.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/incentive/v1beta1/params.proto
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MultiRewardPeriod"></a>
|
||
|
||
### MultiRewardPeriod
|
||
MultiRewardPeriod supports multiple reward types
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `active` | [bool](#bool) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `start` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `end` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `rewards_per_second` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.Multiplier"></a>
|
||
|
||
### Multiplier
|
||
Multiplier amount the claim rewards get increased by, along with how long the claim rewards are locked
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `name` | [string](#string) | | |
|
||
| `months_lockup` | [int64](#int64) | | |
|
||
| `factor` | [bytes](#bytes) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MultipliersPerDenom"></a>
|
||
|
||
### MultipliersPerDenom
|
||
MultipliersPerDenom is a map of denoms to a set of multipliers
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `multipliers` | [Multiplier](#kava.incentive.v1beta1.Multiplier) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `usdx_minting_reward_periods` | [RewardPeriod](#kava.incentive.v1beta1.RewardPeriod) | repeated | |
|
||
| `hard_supply_reward_periods` | [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod) | repeated | |
|
||
| `hard_borrow_reward_periods` | [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod) | repeated | |
|
||
| `delegator_reward_periods` | [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod) | repeated | |
|
||
| `swap_reward_periods` | [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod) | repeated | |
|
||
| `claim_multipliers` | [MultipliersPerDenom](#kava.incentive.v1beta1.MultipliersPerDenom) | repeated | |
|
||
| `claim_end` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `savings_reward_periods` | [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod) | repeated | |
|
||
| `earn_reward_periods` | [MultiRewardPeriod](#kava.incentive.v1beta1.MultiRewardPeriod) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.RewardPeriod"></a>
|
||
|
||
### RewardPeriod
|
||
RewardPeriod stores the state of an ongoing reward
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `active` | [bool](#bool) | | |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `start` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `end` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
| `rewards_per_second` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/incentive/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/incentive/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.AccumulationTime"></a>
|
||
|
||
### AccumulationTime
|
||
AccumulationTime stores the previous reward distribution time and its corresponding collateral type
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `collateral_type` | [string](#string) | | |
|
||
| `previous_accumulation_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.GenesisRewardState"></a>
|
||
|
||
### GenesisRewardState
|
||
GenesisRewardState groups together the global state for a particular reward so it can be exported in genesis.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `accumulation_times` | [AccumulationTime](#kava.incentive.v1beta1.AccumulationTime) | repeated | |
|
||
| `multi_reward_indexes` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState is the state that must be provided at genesis.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.incentive.v1beta1.Params) | | |
|
||
| `usdx_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `hard_supply_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `hard_borrow_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `delegator_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `swap_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `usdx_minting_claims` | [USDXMintingClaim](#kava.incentive.v1beta1.USDXMintingClaim) | repeated | |
|
||
| `hard_liquidity_provider_claims` | [HardLiquidityProviderClaim](#kava.incentive.v1beta1.HardLiquidityProviderClaim) | repeated | |
|
||
| `delegator_claims` | [DelegatorClaim](#kava.incentive.v1beta1.DelegatorClaim) | repeated | |
|
||
| `swap_claims` | [SwapClaim](#kava.incentive.v1beta1.SwapClaim) | repeated | |
|
||
| `savings_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `savings_claims` | [SavingsClaim](#kava.incentive.v1beta1.SavingsClaim) | repeated | |
|
||
| `earn_reward_state` | [GenesisRewardState](#kava.incentive.v1beta1.GenesisRewardState) | | |
|
||
| `earn_claims` | [EarnClaim](#kava.incentive.v1beta1.EarnClaim) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/incentive/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/incentive/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryApyRequest"></a>
|
||
|
||
### QueryApyRequest
|
||
QueryApysRequest is the request type for the Query/Apys RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryApyResponse"></a>
|
||
|
||
### QueryApyResponse
|
||
QueryApysResponse is the response type for the Query/Apys RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `earn` | [Apy](#kava.incentive.v1beta1.Apy) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest is the request type for the Query/Params RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse is the response type for the Query/Params RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.incentive.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryRewardFactorsRequest"></a>
|
||
|
||
### QueryRewardFactorsRequest
|
||
QueryRewardFactorsRequest is the request type for the Query/RewardFactors RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryRewardFactorsResponse"></a>
|
||
|
||
### QueryRewardFactorsResponse
|
||
QueryRewardFactorsResponse is the response type for the Query/RewardFactors RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `usdx_minting_reward_factors` | [RewardIndex](#kava.incentive.v1beta1.RewardIndex) | repeated | |
|
||
| `hard_supply_reward_factors` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
| `hard_borrow_reward_factors` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
| `delegator_reward_factors` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
| `swap_reward_factors` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
| `savings_reward_factors` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
| `earn_reward_factors` | [MultiRewardIndex](#kava.incentive.v1beta1.MultiRewardIndex) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryRewardsRequest"></a>
|
||
|
||
### QueryRewardsRequest
|
||
QueryRewardsRequest is the request type for the Query/Rewards RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `owner` | [string](#string) | | owner is the address of the user to query rewards for. |
|
||
| `reward_type` | [string](#string) | | reward_type is the type of reward to query rewards for, e.g. hard, earn, swap. |
|
||
| `unsynchronized` | [bool](#bool) | | unsynchronized is a flag to query rewards that are not simulated for reward synchronized for the current block. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.QueryRewardsResponse"></a>
|
||
|
||
### QueryRewardsResponse
|
||
QueryRewardsResponse is the response type for the Query/Rewards RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `usdx_minting_claims` | [USDXMintingClaim](#kava.incentive.v1beta1.USDXMintingClaim) | repeated | |
|
||
| `hard_liquidity_provider_claims` | [HardLiquidityProviderClaim](#kava.incentive.v1beta1.HardLiquidityProviderClaim) | repeated | |
|
||
| `delegator_claims` | [DelegatorClaim](#kava.incentive.v1beta1.DelegatorClaim) | repeated | |
|
||
| `swap_claims` | [SwapClaim](#kava.incentive.v1beta1.SwapClaim) | repeated | |
|
||
| `savings_claims` | [SavingsClaim](#kava.incentive.v1beta1.SavingsClaim) | repeated | |
|
||
| `earn_claims` | [EarnClaim](#kava.incentive.v1beta1.EarnClaim) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for incentive module.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.incentive.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.incentive.v1beta1.QueryParamsResponse) | Params queries module params. | GET|/kava/incentive/v1beta1/params|
|
||
| `Rewards` | [QueryRewardsRequest](#kava.incentive.v1beta1.QueryRewardsRequest) | [QueryRewardsResponse](#kava.incentive.v1beta1.QueryRewardsResponse) | Rewards queries reward information for a given user. | GET|/kava/incentive/v1beta1/rewards|
|
||
| `RewardFactors` | [QueryRewardFactorsRequest](#kava.incentive.v1beta1.QueryRewardFactorsRequest) | [QueryRewardFactorsResponse](#kava.incentive.v1beta1.QueryRewardFactorsResponse) | Rewards queries the reward factors. | GET|/kava/incentive/v1beta1/reward_factors|
|
||
| `Apy` | [QueryApyRequest](#kava.incentive.v1beta1.QueryApyRequest) | [QueryApyResponse](#kava.incentive.v1beta1.QueryApyResponse) | Apy queries incentive reward apy for a reward. | GET|/kava/incentive/v1beta1/apy|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/incentive/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/incentive/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimDelegatorReward"></a>
|
||
|
||
### MsgClaimDelegatorReward
|
||
MsgClaimDelegatorReward message type used to claim delegator rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denoms_to_claim` | [Selection](#kava.incentive.v1beta1.Selection) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimDelegatorRewardResponse"></a>
|
||
|
||
### MsgClaimDelegatorRewardResponse
|
||
MsgClaimDelegatorRewardResponse defines the Msg/ClaimDelegatorReward response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimEarnReward"></a>
|
||
|
||
### MsgClaimEarnReward
|
||
MsgClaimEarnReward message type used to claim earn rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denoms_to_claim` | [Selection](#kava.incentive.v1beta1.Selection) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimEarnRewardResponse"></a>
|
||
|
||
### MsgClaimEarnRewardResponse
|
||
MsgClaimEarnRewardResponse defines the Msg/ClaimEarnReward response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimHardReward"></a>
|
||
|
||
### MsgClaimHardReward
|
||
MsgClaimHardReward message type used to claim Hard liquidity provider rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denoms_to_claim` | [Selection](#kava.incentive.v1beta1.Selection) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimHardRewardResponse"></a>
|
||
|
||
### MsgClaimHardRewardResponse
|
||
MsgClaimHardRewardResponse defines the Msg/ClaimHardReward response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimSavingsReward"></a>
|
||
|
||
### MsgClaimSavingsReward
|
||
MsgClaimSavingsReward message type used to claim savings rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denoms_to_claim` | [Selection](#kava.incentive.v1beta1.Selection) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimSavingsRewardResponse"></a>
|
||
|
||
### MsgClaimSavingsRewardResponse
|
||
MsgClaimSavingsRewardResponse defines the Msg/ClaimSavingsReward response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimSwapReward"></a>
|
||
|
||
### MsgClaimSwapReward
|
||
MsgClaimSwapReward message type used to claim delegator rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denoms_to_claim` | [Selection](#kava.incentive.v1beta1.Selection) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimSwapRewardResponse"></a>
|
||
|
||
### MsgClaimSwapRewardResponse
|
||
MsgClaimSwapRewardResponse defines the Msg/ClaimSwapReward response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimUSDXMintingReward"></a>
|
||
|
||
### MsgClaimUSDXMintingReward
|
||
MsgClaimUSDXMintingReward message type used to claim USDX minting rewards
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `multiplier_name` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.MsgClaimUSDXMintingRewardResponse"></a>
|
||
|
||
### MsgClaimUSDXMintingRewardResponse
|
||
MsgClaimUSDXMintingRewardResponse defines the Msg/ClaimUSDXMintingReward response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.Selection"></a>
|
||
|
||
### Selection
|
||
Selection is a pair of denom and multiplier name. It holds the choice of multiplier a user makes when they claim a
|
||
denom.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `multiplier_name` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.incentive.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the incentive Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `ClaimUSDXMintingReward` | [MsgClaimUSDXMintingReward](#kava.incentive.v1beta1.MsgClaimUSDXMintingReward) | [MsgClaimUSDXMintingRewardResponse](#kava.incentive.v1beta1.MsgClaimUSDXMintingRewardResponse) | ClaimUSDXMintingReward is a message type used to claim USDX minting rewards | |
|
||
| `ClaimHardReward` | [MsgClaimHardReward](#kava.incentive.v1beta1.MsgClaimHardReward) | [MsgClaimHardRewardResponse](#kava.incentive.v1beta1.MsgClaimHardRewardResponse) | ClaimHardReward is a message type used to claim Hard liquidity provider rewards | |
|
||
| `ClaimDelegatorReward` | [MsgClaimDelegatorReward](#kava.incentive.v1beta1.MsgClaimDelegatorReward) | [MsgClaimDelegatorRewardResponse](#kava.incentive.v1beta1.MsgClaimDelegatorRewardResponse) | ClaimDelegatorReward is a message type used to claim delegator rewards | |
|
||
| `ClaimSwapReward` | [MsgClaimSwapReward](#kava.incentive.v1beta1.MsgClaimSwapReward) | [MsgClaimSwapRewardResponse](#kava.incentive.v1beta1.MsgClaimSwapRewardResponse) | ClaimSwapReward is a message type used to claim swap rewards | |
|
||
| `ClaimSavingsReward` | [MsgClaimSavingsReward](#kava.incentive.v1beta1.MsgClaimSavingsReward) | [MsgClaimSavingsRewardResponse](#kava.incentive.v1beta1.MsgClaimSavingsRewardResponse) | ClaimSavingsReward is a message type used to claim savings rewards | |
|
||
| `ClaimEarnReward` | [MsgClaimEarnReward](#kava.incentive.v1beta1.MsgClaimEarnReward) | [MsgClaimEarnRewardResponse](#kava.incentive.v1beta1.MsgClaimEarnRewardResponse) | ClaimEarnReward is a message type used to claim earn rewards | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/issuance/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/issuance/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.Asset"></a>
|
||
|
||
### Asset
|
||
Asset type for assets in the issuance module
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `owner` | [string](#string) | | |
|
||
| `denom` | [string](#string) | | |
|
||
| `blocked_addresses` | [string](#string) | repeated | |
|
||
| `paused` | [bool](#bool) | | |
|
||
| `blockable` | [bool](#bool) | | |
|
||
| `rate_limit` | [RateLimit](#kava.issuance.v1beta1.RateLimit) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.AssetSupply"></a>
|
||
|
||
### AssetSupply
|
||
AssetSupply contains information about an asset's rate-limited supply (the
|
||
total supply of the asset is tracked in the top-level supply module)
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `time_elapsed` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the issuance module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.issuance.v1beta1.Params) | | params defines all the paramaters of the module. |
|
||
| `supplies` | [AssetSupply](#kava.issuance.v1beta1.AssetSupply) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the issuance module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `assets` | [Asset](#kava.issuance.v1beta1.Asset) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.RateLimit"></a>
|
||
|
||
### RateLimit
|
||
RateLimit parameters for rate-limiting the supply of an issued asset
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `active` | [bool](#bool) | | |
|
||
| `limit` | [bytes](#bytes) | | |
|
||
| `time_period` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/issuance/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/issuance/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/issuance parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/issuance parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.issuance.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for issuance module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.issuance.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.issuance.v1beta1.QueryParamsResponse) | Params queries all parameters of the issuance module. | GET|/kava/issuance/v1beta1/params|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/issuance/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/issuance/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgBlockAddress"></a>
|
||
|
||
### MsgBlockAddress
|
||
MsgBlockAddress represents a message used by the issuer to block an address from holding or transferring tokens
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denom` | [string](#string) | | |
|
||
| `blocked_address` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgBlockAddressResponse"></a>
|
||
|
||
### MsgBlockAddressResponse
|
||
MsgBlockAddressResponse defines the Msg/BlockAddress response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgIssueTokens"></a>
|
||
|
||
### MsgIssueTokens
|
||
MsgIssueTokens represents a message used by the issuer to issue new tokens
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `tokens` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
| `receiver` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgIssueTokensResponse"></a>
|
||
|
||
### MsgIssueTokensResponse
|
||
MsgIssueTokensResponse defines the Msg/IssueTokens response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgRedeemTokens"></a>
|
||
|
||
### MsgRedeemTokens
|
||
MsgRedeemTokens represents a message used by the issuer to redeem (burn) tokens
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `tokens` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgRedeemTokensResponse"></a>
|
||
|
||
### MsgRedeemTokensResponse
|
||
MsgRedeemTokensResponse defines the Msg/RedeemTokens response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgSetPauseStatus"></a>
|
||
|
||
### MsgSetPauseStatus
|
||
MsgSetPauseStatus message type used by the issuer to pause or unpause status
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denom` | [string](#string) | | |
|
||
| `status` | [bool](#bool) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgSetPauseStatusResponse"></a>
|
||
|
||
### MsgSetPauseStatusResponse
|
||
MsgSetPauseStatusResponse defines the Msg/SetPauseStatus response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgUnblockAddress"></a>
|
||
|
||
### MsgUnblockAddress
|
||
MsgUnblockAddress message type used by the issuer to unblock an address from holding or transferring tokens
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | |
|
||
| `denom` | [string](#string) | | |
|
||
| `blocked_address` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.MsgUnblockAddressResponse"></a>
|
||
|
||
### MsgUnblockAddressResponse
|
||
MsgUnblockAddressResponse defines the Msg/UnblockAddress response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.issuance.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the issuance Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `IssueTokens` | [MsgIssueTokens](#kava.issuance.v1beta1.MsgIssueTokens) | [MsgIssueTokensResponse](#kava.issuance.v1beta1.MsgIssueTokensResponse) | IssueTokens message type used by the issuer to issue new tokens | |
|
||
| `RedeemTokens` | [MsgRedeemTokens](#kava.issuance.v1beta1.MsgRedeemTokens) | [MsgRedeemTokensResponse](#kava.issuance.v1beta1.MsgRedeemTokensResponse) | RedeemTokens message type used by the issuer to redeem (burn) tokens | |
|
||
| `BlockAddress` | [MsgBlockAddress](#kava.issuance.v1beta1.MsgBlockAddress) | [MsgBlockAddressResponse](#kava.issuance.v1beta1.MsgBlockAddressResponse) | BlockAddress message type used by the issuer to block an address from holding or transferring tokens | |
|
||
| `UnblockAddress` | [MsgUnblockAddress](#kava.issuance.v1beta1.MsgUnblockAddress) | [MsgUnblockAddressResponse](#kava.issuance.v1beta1.MsgUnblockAddressResponse) | UnblockAddress message type used by the issuer to unblock an address from holding or transferring tokens | |
|
||
| `SetPauseStatus` | [MsgSetPauseStatus](#kava.issuance.v1beta1.MsgSetPauseStatus) | [MsgSetPauseStatusResponse](#kava.issuance.v1beta1.MsgSetPauseStatusResponse) | SetPauseStatus message type used to pause or unpause status | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/kavadist/v1beta1/params.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/kavadist/v1beta1/params.proto
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.CoreReward"></a>
|
||
|
||
### CoreReward
|
||
CoreReward defines the reward weights for core infrastructure providers.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `address` | [bytes](#bytes) | | |
|
||
| `weight` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.InfrastructureParams"></a>
|
||
|
||
### InfrastructureParams
|
||
InfrastructureParams define the parameters for infrastructure rewards.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `infrastructure_periods` | [Period](#kava.kavadist.v1beta1.Period) | repeated | |
|
||
| `core_rewards` | [CoreReward](#kava.kavadist.v1beta1.CoreReward) | repeated | |
|
||
| `partner_rewards` | [PartnerReward](#kava.kavadist.v1beta1.PartnerReward) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params governance parameters for kavadist module
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `active` | [bool](#bool) | | |
|
||
| `periods` | [Period](#kava.kavadist.v1beta1.Period) | repeated | |
|
||
| `infrastructure_params` | [InfrastructureParams](#kava.kavadist.v1beta1.InfrastructureParams) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.PartnerReward"></a>
|
||
|
||
### PartnerReward
|
||
PartnerRewards defines the reward schedule for partner infrastructure providers.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `address` | [bytes](#bytes) | | |
|
||
| `rewards_per_second` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.Period"></a>
|
||
|
||
### Period
|
||
Period stores the specified start and end dates, and the inflation, expressed as a decimal
|
||
representing the yearly APR of KAVA tokens that will be minted during that period
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `start` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | example "2020-03-01T15:20:00Z" |
|
||
| `end` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | example "2020-06-01T15:20:00Z" |
|
||
| `inflation` | [bytes](#bytes) | | example "1.000000003022265980" - 10% inflation |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/kavadist/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/kavadist/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the kavadist module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.kavadist.v1beta1.Params) | | |
|
||
| `previous_block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/kavadist/v1beta1/proposal.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/kavadist/v1beta1/proposal.proto
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.CommunityPoolMultiSpendProposal"></a>
|
||
|
||
### CommunityPoolMultiSpendProposal
|
||
CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more
|
||
addresses
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `recipient_list` | [MultiSpendRecipient](#kava.kavadist.v1beta1.MultiSpendRecipient) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.CommunityPoolMultiSpendProposalJSON"></a>
|
||
|
||
### CommunityPoolMultiSpendProposalJSON
|
||
CommunityPoolMultiSpendProposalJSON defines a CommunityPoolMultiSpendProposal with a deposit
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `title` | [string](#string) | | |
|
||
| `description` | [string](#string) | | |
|
||
| `recipient_list` | [MultiSpendRecipient](#kava.kavadist.v1beta1.MultiSpendRecipient) | repeated | |
|
||
| `deposit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.MultiSpendRecipient"></a>
|
||
|
||
### MultiSpendRecipient
|
||
MultiSpendRecipient defines a recipient and the amount of coins they are receiving
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `address` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/kavadist/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/kavadist/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.QueryBalanceRequest"></a>
|
||
|
||
### QueryBalanceRequest
|
||
QueryBalanceRequest defines the request type for querying x/kavadist balance.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.QueryBalanceResponse"></a>
|
||
|
||
### QueryBalanceResponse
|
||
QueryBalanceResponse defines the response type for querying x/kavadist balance.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/kavadist parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/kavadist parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.kavadist.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.kavadist.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.kavadist.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.kavadist.v1beta1.QueryParamsResponse) | Params queries the parameters of x/kavadist module. | GET|/kava/kavadist/v1beta1/parameters|
|
||
| `Balance` | [QueryBalanceRequest](#kava.kavadist.v1beta1.QueryBalanceRequest) | [QueryBalanceResponse](#kava.kavadist.v1beta1.QueryBalanceResponse) | Balance queries the balance of all coins of x/kavadist module. | GET|/kava/kavadist/v1beta1/balance|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/liquid/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/liquid/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.QueryDelegatedBalanceRequest"></a>
|
||
|
||
### QueryDelegatedBalanceRequest
|
||
QueryDelegatedBalanceRequest defines the request type for Query/DelegatedBalance method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `delegator` | [string](#string) | | delegator is the address of the account to query |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.QueryDelegatedBalanceResponse"></a>
|
||
|
||
### QueryDelegatedBalanceResponse
|
||
DelegatedBalanceResponse defines the response type for the Query/DelegatedBalance method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `vested` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | vested is the amount of all delegated coins that have vested (ie not locked) |
|
||
| `vesting` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | vesting is the amount of all delegated coins that are still vesting (ie locked) |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.QueryTotalSupplyRequest"></a>
|
||
|
||
### QueryTotalSupplyRequest
|
||
QueryTotalSupplyRequest defines the request type for Query/TotalSupply method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.QueryTotalSupplyResponse"></a>
|
||
|
||
### QueryTotalSupplyResponse
|
||
TotalSupplyResponse defines the response type for the Query/TotalSupply method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `height` | [int64](#int64) | | Height is the block height at which these totals apply |
|
||
| `result` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Result is a list of coins supplied to liquid |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for liquid module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `DelegatedBalance` | [QueryDelegatedBalanceRequest](#kava.liquid.v1beta1.QueryDelegatedBalanceRequest) | [QueryDelegatedBalanceResponse](#kava.liquid.v1beta1.QueryDelegatedBalanceResponse) | DelegatedBalance returns an account's vesting and vested coins currently delegated to validators. It ignores coins in unbonding delegations. | GET|/kava/liquid/v1beta1/delegated_balance/{delegator}|
|
||
| `TotalSupply` | [QueryTotalSupplyRequest](#kava.liquid.v1beta1.QueryTotalSupplyRequest) | [QueryTotalSupplyResponse](#kava.liquid.v1beta1.QueryTotalSupplyResponse) | TotalSupply returns the total sum of all coins currently locked into the liquid module. | GET|/kava/liquid/v1beta1/total_supply|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/liquid/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/liquid/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.MsgBurnDerivative"></a>
|
||
|
||
### MsgBurnDerivative
|
||
MsgBurnDerivative defines the Msg/BurnDerivative request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | sender is the owner of the derivatives to be converted |
|
||
| `validator` | [string](#string) | | validator is the validator of the derivatives to be converted |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the quantity of derivatives to be converted |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.MsgBurnDerivativeResponse"></a>
|
||
|
||
### MsgBurnDerivativeResponse
|
||
MsgBurnDerivativeResponse defines the Msg/BurnDerivative response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `received` | [string](#string) | | received is the number of delegation shares sent to the sender |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.MsgMintDerivative"></a>
|
||
|
||
### MsgMintDerivative
|
||
MsgMintDerivative defines the Msg/MintDerivative request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `sender` | [string](#string) | | sender is the owner of the delegation to be converted |
|
||
| `validator` | [string](#string) | | validator is the validator of the delegation to be converted |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the quantity of staked assets to be converted |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.MsgMintDerivativeResponse"></a>
|
||
|
||
### MsgMintDerivativeResponse
|
||
MsgMintDerivativeResponse defines the Msg/MintDerivative response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `received` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | received is the amount of staking derivative minted and sent to the sender |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.liquid.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the liquid Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `MintDerivative` | [MsgMintDerivative](#kava.liquid.v1beta1.MsgMintDerivative) | [MsgMintDerivativeResponse](#kava.liquid.v1beta1.MsgMintDerivativeResponse) | MintDerivative defines a method for converting a delegation into staking deriviatives. | |
|
||
| `BurnDerivative` | [MsgBurnDerivative](#kava.liquid.v1beta1.MsgBurnDerivative) | [MsgBurnDerivativeResponse](#kava.liquid.v1beta1.MsgBurnDerivativeResponse) | BurnDerivative defines a method for converting staking deriviatives into a delegation. | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/pricefeed/v1beta1/store.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/pricefeed/v1beta1/store.proto
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.CurrentPrice"></a>
|
||
|
||
### CurrentPrice
|
||
CurrentPrice defines a current price for a particular market in the pricefeed
|
||
module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
| `price` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.Market"></a>
|
||
|
||
### Market
|
||
Market defines an asset in the pricefeed.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
| `base_asset` | [string](#string) | | |
|
||
| `quote_asset` | [string](#string) | | |
|
||
| `oracles` | [bytes](#bytes) | repeated | |
|
||
| `active` | [bool](#bool) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the pricefeed module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `markets` | [Market](#kava.pricefeed.v1beta1.Market) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.PostedPrice"></a>
|
||
|
||
### PostedPrice
|
||
PostedPrice defines a price for market posted by a specific oracle.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
| `oracle_address` | [bytes](#bytes) | | |
|
||
| `price` | [string](#string) | | |
|
||
| `expiry` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/pricefeed/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/pricefeed/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the pricefeed module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | params defines all the paramaters of the module. |
|
||
| `posted_prices` | [PostedPrice](#kava.pricefeed.v1beta1.PostedPrice) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/pricefeed/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/pricefeed/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.CurrentPriceResponse"></a>
|
||
|
||
### CurrentPriceResponse
|
||
CurrentPriceResponse defines a current price for a particular market in the pricefeed
|
||
module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
| `price` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.MarketResponse"></a>
|
||
|
||
### MarketResponse
|
||
MarketResponse defines an asset in the pricefeed.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
| `base_asset` | [string](#string) | | |
|
||
| `quote_asset` | [string](#string) | | |
|
||
| `oracles` | [string](#string) | repeated | |
|
||
| `active` | [bool](#bool) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.PostedPriceResponse"></a>
|
||
|
||
### PostedPriceResponse
|
||
PostedPriceResponse defines a price for market posted by a specific oracle.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
| `oracle_address` | [string](#string) | | |
|
||
| `price` | [string](#string) | | |
|
||
| `expiry` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryMarketsRequest"></a>
|
||
|
||
### QueryMarketsRequest
|
||
QueryMarketsRequest is the request type for the Query/Markets RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryMarketsResponse"></a>
|
||
|
||
### QueryMarketsResponse
|
||
QueryMarketsResponse is the response type for the Query/Markets RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `markets` | [MarketResponse](#kava.pricefeed.v1beta1.MarketResponse) | repeated | List of markets |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryOraclesRequest"></a>
|
||
|
||
### QueryOraclesRequest
|
||
QueryOraclesRequest is the request type for the Query/Oracles RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryOraclesResponse"></a>
|
||
|
||
### QueryOraclesResponse
|
||
QueryOraclesResponse is the response type for the Query/Oracles RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `oracles` | [string](#string) | repeated | List of oracle addresses |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/pricefeed
|
||
parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/pricefeed
|
||
parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryPriceRequest"></a>
|
||
|
||
### QueryPriceRequest
|
||
QueryPriceRequest is the request type for the Query/PriceRequest RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryPriceResponse"></a>
|
||
|
||
### QueryPriceResponse
|
||
QueryPriceResponse is the response type for the Query/Prices RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `price` | [CurrentPriceResponse](#kava.pricefeed.v1beta1.CurrentPriceResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryPricesRequest"></a>
|
||
|
||
### QueryPricesRequest
|
||
QueryPricesRequest is the request type for the Query/Prices RPC method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryPricesResponse"></a>
|
||
|
||
### QueryPricesResponse
|
||
QueryPricesResponse is the response type for the Query/Prices RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `prices` | [CurrentPriceResponse](#kava.pricefeed.v1beta1.CurrentPriceResponse) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryRawPricesRequest"></a>
|
||
|
||
### QueryRawPricesRequest
|
||
QueryRawPricesRequest is the request type for the Query/RawPrices RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `market_id` | [string](#string) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.QueryRawPricesResponse"></a>
|
||
|
||
### QueryRawPricesResponse
|
||
QueryRawPricesResponse is the response type for the Query/RawPrices RPC
|
||
method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `raw_prices` | [PostedPriceResponse](#kava.pricefeed.v1beta1.PostedPriceResponse) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for pricefeed module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.pricefeed.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.pricefeed.v1beta1.QueryParamsResponse) | Params queries all parameters of the pricefeed module. | GET|/kava/pricefeed/v1beta1/params|
|
||
| `Price` | [QueryPriceRequest](#kava.pricefeed.v1beta1.QueryPriceRequest) | [QueryPriceResponse](#kava.pricefeed.v1beta1.QueryPriceResponse) | Price queries price details based on a market | GET|/kava/pricefeed/v1beta1/prices/{market_id}|
|
||
| `Prices` | [QueryPricesRequest](#kava.pricefeed.v1beta1.QueryPricesRequest) | [QueryPricesResponse](#kava.pricefeed.v1beta1.QueryPricesResponse) | Prices queries all prices | GET|/kava/pricefeed/v1beta1/prices|
|
||
| `RawPrices` | [QueryRawPricesRequest](#kava.pricefeed.v1beta1.QueryRawPricesRequest) | [QueryRawPricesResponse](#kava.pricefeed.v1beta1.QueryRawPricesResponse) | RawPrices queries all raw prices based on a market | GET|/kava/pricefeed/v1beta1/rawprices/{market_id}|
|
||
| `Oracles` | [QueryOraclesRequest](#kava.pricefeed.v1beta1.QueryOraclesRequest) | [QueryOraclesResponse](#kava.pricefeed.v1beta1.QueryOraclesResponse) | Oracles queries all oracles based on a market | GET|/kava/pricefeed/v1beta1/oracles/{market_id}|
|
||
| `Markets` | [QueryMarketsRequest](#kava.pricefeed.v1beta1.QueryMarketsRequest) | [QueryMarketsResponse](#kava.pricefeed.v1beta1.QueryMarketsResponse) | Markets queries all markets | GET|/kava/pricefeed/v1beta1/markets|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/pricefeed/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/pricefeed/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.MsgPostPrice"></a>
|
||
|
||
### MsgPostPrice
|
||
MsgPostPrice represents a method for creating a new post price
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | address of client |
|
||
| `market_id` | [string](#string) | | |
|
||
| `price` | [string](#string) | | |
|
||
| `expiry` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.MsgPostPriceResponse"></a>
|
||
|
||
### MsgPostPriceResponse
|
||
MsgPostPriceResponse defines the Msg/PostPrice response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.pricefeed.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the pricefeed Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `PostPrice` | [MsgPostPrice](#kava.pricefeed.v1beta1.MsgPostPrice) | [MsgPostPriceResponse](#kava.pricefeed.v1beta1.MsgPostPriceResponse) | PostPrice defines a method for creating a new post price | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/router/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/router/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgDelegateMintDeposit"></a>
|
||
|
||
### MsgDelegateMintDeposit
|
||
MsgDelegateMintDeposit delegates tokens to a validator, then converts them into staking derivatives,
|
||
then deposits to an earn vault.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor represents the owner of the tokens to delegate |
|
||
| `validator` | [string](#string) | | validator is the address of the validator to delegate to |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the tokens to delegate |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgDelegateMintDepositResponse"></a>
|
||
|
||
### MsgDelegateMintDepositResponse
|
||
MsgDelegateMintDepositResponse defines the Msg/MsgDelegateMintDeposit response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgMintDeposit"></a>
|
||
|
||
### MsgMintDeposit
|
||
MsgMintDeposit converts a delegation into staking derivatives and deposits it all into an earn vault.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor represents the owner of the delegation to convert |
|
||
| `validator` | [string](#string) | | validator is the validator for the depositor's delegation |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the delegation balance to convert |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgMintDepositResponse"></a>
|
||
|
||
### MsgMintDepositResponse
|
||
MsgMintDepositResponse defines the Msg/MsgMintDeposit response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgWithdrawBurn"></a>
|
||
|
||
### MsgWithdrawBurn
|
||
MsgWithdrawBurn removes staking derivatives from an earn vault and converts them back to a staking delegation.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | from is the owner of the earn vault to withdraw from |
|
||
| `validator` | [string](#string) | | validator is the address to select the derivative denom to withdraw |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the staked token equivalent to withdraw |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgWithdrawBurnResponse"></a>
|
||
|
||
### MsgWithdrawBurnResponse
|
||
MsgWithdrawBurnResponse defines the Msg/MsgWithdrawBurn response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgWithdrawBurnUndelegate"></a>
|
||
|
||
### MsgWithdrawBurnUndelegate
|
||
MsgWithdrawBurnUndelegate removes staking derivatives from an earn vault, converts them to a staking delegation,
|
||
then undelegates them from their validator.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | from is the owner of the earn vault to withdraw from |
|
||
| `validator` | [string](#string) | | validator is the address to select the derivative denom to withdraw |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the staked token equivalent to withdraw |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.router.v1beta1.MsgWithdrawBurnUndelegateResponse"></a>
|
||
|
||
### MsgWithdrawBurnUndelegateResponse
|
||
MsgWithdrawBurnUndelegateResponse defines the Msg/MsgWithdrawBurnUndelegate response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.router.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the router Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `MintDeposit` | [MsgMintDeposit](#kava.router.v1beta1.MsgMintDeposit) | [MsgMintDepositResponse](#kava.router.v1beta1.MsgMintDepositResponse) | MintDeposit converts a delegation into staking derivatives and deposits it all into an earn vault. | |
|
||
| `DelegateMintDeposit` | [MsgDelegateMintDeposit](#kava.router.v1beta1.MsgDelegateMintDeposit) | [MsgDelegateMintDepositResponse](#kava.router.v1beta1.MsgDelegateMintDepositResponse) | DelegateMintDeposit delegates tokens to a validator, then converts them into staking derivatives, then deposits to an earn vault. | |
|
||
| `WithdrawBurn` | [MsgWithdrawBurn](#kava.router.v1beta1.MsgWithdrawBurn) | [MsgWithdrawBurnResponse](#kava.router.v1beta1.MsgWithdrawBurnResponse) | WithdrawBurn removes staking derivatives from an earn vault and converts them back to a staking delegation. | |
|
||
| `WithdrawBurnUndelegate` | [MsgWithdrawBurnUndelegate](#kava.router.v1beta1.MsgWithdrawBurnUndelegate) | [MsgWithdrawBurnUndelegateResponse](#kava.router.v1beta1.MsgWithdrawBurnUndelegateResponse) | WithdrawBurnUndelegate removes staking derivatives from an earn vault, converts them to a staking delegation, then undelegates them from their validator. | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/savings/v1beta1/store.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/savings/v1beta1/store.proto
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.Deposit"></a>
|
||
|
||
### Deposit
|
||
Deposit defines an amount of coins deposited into a savings module account.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the savings module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `supported_denoms` | [string](#string) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/savings/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/savings/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the savings module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.savings.v1beta1.Params) | | params defines all the parameters of the module. |
|
||
| `deposits` | [Deposit](#kava.savings.v1beta1.Deposit) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/savings/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/savings/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.QueryDepositsRequest"></a>
|
||
|
||
### QueryDepositsRequest
|
||
QueryDepositsRequest defines the request type for querying x/savings
|
||
deposits.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `denom` | [string](#string) | | |
|
||
| `owner` | [string](#string) | | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.QueryDepositsResponse"></a>
|
||
|
||
### QueryDepositsResponse
|
||
QueryDepositsResponse defines the response type for querying x/savings
|
||
deposits.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deposits` | [Deposit](#kava.savings.v1beta1.Deposit) | repeated | |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/savings
|
||
parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/savings
|
||
parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.savings.v1beta1.Params) | | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.QueryTotalSupplyRequest"></a>
|
||
|
||
### QueryTotalSupplyRequest
|
||
QueryTotalSupplyRequest defines the request type for Query/TotalSupply method.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.QueryTotalSupplyResponse"></a>
|
||
|
||
### QueryTotalSupplyResponse
|
||
TotalSupplyResponse defines the response type for the Query/TotalSupply method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `height` | [int64](#int64) | | Height is the block height at which these totals apply |
|
||
| `result` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Result is a list of coins supplied to savings |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.savings.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for savings module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.savings.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.savings.v1beta1.QueryParamsResponse) | Params queries all parameters of the savings module. | GET|/kava/savings/v1beta1/params|
|
||
| `Deposits` | [QueryDepositsRequest](#kava.savings.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.savings.v1beta1.QueryDepositsResponse) | Deposits queries savings deposits. | GET|/kava/savings/v1beta1/deposits|
|
||
| `TotalSupply` | [QueryTotalSupplyRequest](#kava.savings.v1beta1.QueryTotalSupplyRequest) | [QueryTotalSupplyResponse](#kava.savings.v1beta1.QueryTotalSupplyResponse) | TotalSupply returns the total sum of all coins currently locked into the savings module. | GET|/kava/savings/v1beta1/total_supply|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/savings/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/savings/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.MsgDeposit"></a>
|
||
|
||
### MsgDeposit
|
||
MsgDeposit defines the Msg/Deposit request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.MsgDepositResponse"></a>
|
||
|
||
### MsgDepositResponse
|
||
MsgDepositResponse defines the Msg/Deposit response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.MsgWithdraw"></a>
|
||
|
||
### MsgWithdraw
|
||
MsgWithdraw defines the Msg/Withdraw request type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | |
|
||
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.savings.v1beta1.MsgWithdrawResponse"></a>
|
||
|
||
### MsgWithdrawResponse
|
||
MsgWithdrawResponse defines the Msg/Withdraw response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.savings.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the savings Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Deposit` | [MsgDeposit](#kava.savings.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.savings.v1beta1.MsgDepositResponse) | Deposit defines a method for depositing funds to the savings module account | |
|
||
| `Withdraw` | [MsgWithdraw](#kava.savings.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.savings.v1beta1.MsgWithdrawResponse) | Withdraw defines a method for withdrawing funds to the savings module account | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/swap/v1beta1/swap.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/swap/v1beta1/swap.proto
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.AllowedPool"></a>
|
||
|
||
### AllowedPool
|
||
AllowedPool defines a pool that is allowed to be created
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `token_a` | [string](#string) | | token_a represents the a token allowed |
|
||
| `token_b` | [string](#string) | | token_b represents the b token allowed |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.Params"></a>
|
||
|
||
### Params
|
||
Params defines the parameters for the swap module.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `allowed_pools` | [AllowedPool](#kava.swap.v1beta1.AllowedPool) | repeated | allowed_pools defines that pools that are allowed to be created |
|
||
| `swap_fee` | [string](#string) | | swap_fee defines the swap fee for all pools |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.PoolRecord"></a>
|
||
|
||
### PoolRecord
|
||
PoolRecord represents the state of a liquidity pool
|
||
and is used to store the state of a denominated pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `pool_id` | [string](#string) | | pool_id represents the unique id of the pool |
|
||
| `reserves_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | reserves_a is the a token coin reserves |
|
||
| `reserves_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | reserves_b is the a token coin reserves |
|
||
| `total_shares` | [string](#string) | | total_shares is the total distrubuted shares of the pool |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.ShareRecord"></a>
|
||
|
||
### ShareRecord
|
||
ShareRecord stores the shares owned for a depositor and pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [bytes](#bytes) | | depositor represents the owner of the shares |
|
||
| `pool_id` | [string](#string) | | pool_id represents the pool the shares belong to |
|
||
| `shares_owned` | [string](#string) | | shares_owned represents the number of shares owned by depsoitor for the pool_id |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/swap/v1beta1/genesis.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/swap/v1beta1/genesis.proto
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.GenesisState"></a>
|
||
|
||
### GenesisState
|
||
GenesisState defines the swap module's genesis state.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.swap.v1beta1.Params) | | params defines all the paramaters related to swap |
|
||
| `pool_records` | [PoolRecord](#kava.swap.v1beta1.PoolRecord) | repeated | pool_records defines the available pools |
|
||
| `share_records` | [ShareRecord](#kava.swap.v1beta1.ShareRecord) | repeated | share_records defines the owned shares of each pool |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/swap/v1beta1/query.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/swap/v1beta1/query.proto
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.DepositResponse"></a>
|
||
|
||
### DepositResponse
|
||
DepositResponse defines a single deposit query response type.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor represents the owner of the deposit |
|
||
| `pool_id` | [string](#string) | | pool_id represents the pool the deposit is for |
|
||
| `shares_owned` | [string](#string) | | shares_owned presents the shares owned by the depositor for the pool |
|
||
| `shares_value` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | shares_value represents the coin value of the shares_owned |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.PoolResponse"></a>
|
||
|
||
### PoolResponse
|
||
Pool represents the state of a single pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `name` | [string](#string) | | name represents the name of the pool |
|
||
| `coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | coins represents the total reserves of the pool |
|
||
| `total_shares` | [string](#string) | | total_shares represents the total shares of the pool |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.QueryDepositsRequest"></a>
|
||
|
||
### QueryDepositsRequest
|
||
QueryDepositsRequest is the request type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `owner` | [string](#string) | | owner optionally filters deposits by owner |
|
||
| `pool_id` | [string](#string) | | pool_id optionally fitlers deposits by pool id |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.QueryDepositsResponse"></a>
|
||
|
||
### QueryDepositsResponse
|
||
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `deposits` | [DepositResponse](#kava.swap.v1beta1.DepositResponse) | repeated | deposits returns the deposits matching the requested parameters |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.QueryParamsRequest"></a>
|
||
|
||
### QueryParamsRequest
|
||
QueryParamsRequest defines the request type for querying x/swap parameters.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.QueryParamsResponse"></a>
|
||
|
||
### QueryParamsResponse
|
||
QueryParamsResponse defines the response type for querying x/swap parameters.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `params` | [Params](#kava.swap.v1beta1.Params) | | params represents the swap module parameters |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.QueryPoolsRequest"></a>
|
||
|
||
### QueryPoolsRequest
|
||
QueryPoolsRequest is the request type for the Query/Pools RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `pool_id` | [string](#string) | | pool_id filters pools by id |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.QueryPoolsResponse"></a>
|
||
|
||
### QueryPoolsResponse
|
||
QueryPoolsResponse is the response type for the Query/Pools RPC method.
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `pools` | [PoolResponse](#kava.swap.v1beta1.PoolResponse) | repeated | pools represents returned pools |
|
||
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.swap.v1beta1.Query"></a>
|
||
|
||
### Query
|
||
Query defines the gRPC querier service for swap module
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Params` | [QueryParamsRequest](#kava.swap.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.swap.v1beta1.QueryParamsResponse) | Params queries all parameters of the swap module. | GET|/kava/swap/v1beta1/params|
|
||
| `Pools` | [QueryPoolsRequest](#kava.swap.v1beta1.QueryPoolsRequest) | [QueryPoolsResponse](#kava.swap.v1beta1.QueryPoolsResponse) | Pools queries pools based on pool ID | GET|/kava/swap/v1beta1/pools|
|
||
| `Deposits` | [QueryDepositsRequest](#kava.swap.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.swap.v1beta1.QueryDepositsResponse) | Deposits queries deposit details based on owner address and pool | GET|/kava/swap/v1beta1/deposits|
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
<a name="kava/swap/v1beta1/tx.proto"></a>
|
||
<p align="right"><a href="#top">Top</a></p>
|
||
|
||
## kava/swap/v1beta1/tx.proto
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgDeposit"></a>
|
||
|
||
### MsgDeposit
|
||
MsgDeposit represents a message for depositing liquidity into a pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `depositor` | [string](#string) | | depositor represents the address to deposit funds from |
|
||
| `token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_a represents one token of deposit pair |
|
||
| `token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_b represents one token of deposit pair |
|
||
| `slippage` | [string](#string) | | slippage represents the max decimal percentage price change |
|
||
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the deposit by |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgDepositResponse"></a>
|
||
|
||
### MsgDepositResponse
|
||
MsgDepositResponse defines the Msg/Deposit response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgSwapExactForTokens"></a>
|
||
|
||
### MsgSwapExactForTokens
|
||
MsgSwapExactForTokens represents a message for trading exact coinA for coinB
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `requester` | [string](#string) | | represents the address swaping the tokens |
|
||
| `exact_token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | exact_token_a represents the exact amount to swap for token_b |
|
||
| `token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_b represents the desired token_b to swap for |
|
||
| `slippage` | [string](#string) | | slippage represents the maximum change in token_b allowed |
|
||
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the swap by |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgSwapExactForTokensResponse"></a>
|
||
|
||
### MsgSwapExactForTokensResponse
|
||
MsgSwapExactForTokensResponse defines the Msg/SwapExactForTokens response
|
||
type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgSwapForExactTokens"></a>
|
||
|
||
### MsgSwapForExactTokens
|
||
MsgSwapForExactTokens represents a message for trading coinA for an exact
|
||
coinB
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `requester` | [string](#string) | | represents the address swaping the tokens |
|
||
| `token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_a represents the desired token_a to swap for |
|
||
| `exact_token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | exact_token_b represents the exact token b amount to swap for token a |
|
||
| `slippage` | [string](#string) | | slippage represents the maximum change in token_a allowed |
|
||
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the swap by |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgSwapForExactTokensResponse"></a>
|
||
|
||
### MsgSwapForExactTokensResponse
|
||
MsgSwapForExactTokensResponse defines the Msg/SwapForExactTokensResponse
|
||
response type.
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgWithdraw"></a>
|
||
|
||
### MsgWithdraw
|
||
MsgWithdraw represents a message for withdrawing liquidity from a pool
|
||
|
||
|
||
| Field | Type | Label | Description |
|
||
| ----- | ---- | ----- | ----------- |
|
||
| `from` | [string](#string) | | from represents the address we are withdrawing for |
|
||
| `shares` | [string](#string) | | shares represents the amount of shares to withdraw |
|
||
| `min_token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | min_token_a represents the minimum a token to withdraw |
|
||
| `min_token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | min_token_a represents the minimum a token to withdraw |
|
||
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the withdraw by |
|
||
|
||
|
||
|
||
|
||
|
||
|
||
<a name="kava.swap.v1beta1.MsgWithdrawResponse"></a>
|
||
|
||
### MsgWithdrawResponse
|
||
MsgWithdrawResponse defines the Msg/Withdraw response type.
|
||
|
||
|
||
|
||
|
||
|
||
<!-- end messages -->
|
||
|
||
<!-- end enums -->
|
||
|
||
<!-- end HasExtensions -->
|
||
|
||
|
||
<a name="kava.swap.v1beta1.Msg"></a>
|
||
|
||
### Msg
|
||
Msg defines the swap Msg service.
|
||
|
||
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
|
||
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
|
||
| `Deposit` | [MsgDeposit](#kava.swap.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.swap.v1beta1.MsgDepositResponse) | Deposit defines a method for depositing liquidity into a pool | |
|
||
| `Withdraw` | [MsgWithdraw](#kava.swap.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.swap.v1beta1.MsgWithdrawResponse) | Withdraw defines a method for withdrawing liquidity into a pool | |
|
||
| `SwapExactForTokens` | [MsgSwapExactForTokens](#kava.swap.v1beta1.MsgSwapExactForTokens) | [MsgSwapExactForTokensResponse](#kava.swap.v1beta1.MsgSwapExactForTokensResponse) | SwapExactForTokens represents a message for trading exact coinA for coinB | |
|
||
| `SwapForExactTokens` | [MsgSwapForExactTokens](#kava.swap.v1beta1.MsgSwapForExactTokens) | [MsgSwapForExactTokensResponse](#kava.swap.v1beta1.MsgSwapForExactTokensResponse) | SwapForExactTokens represents a message for trading coinA for an exact coinB | |
|
||
|
||
<!-- end services -->
|
||
|
||
|
||
|
||
## Scalar Value Types
|
||
|
||
| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
|
||
| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- |
|
||
| <a name="double" /> double | | double | double | float | float64 | double | float | Float |
|
||
| <a name="float" /> float | | float | float | float | float32 | float | float | Float |
|
||
| <a name="int32" /> int32 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
|
||
| <a name="int64" /> int64 | Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
|
||
| <a name="uint32" /> uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
|
||
| <a name="uint64" /> uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
|
||
| <a name="sint32" /> sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
|
||
| <a name="sint64" /> sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
|
||
| <a name="fixed32" /> fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
|
||
| <a name="fixed64" /> fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
|
||
| <a name="sfixed32" /> sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
|
||
| <a name="sfixed64" /> sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
|
||
| <a name="bool" /> bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass |
|
||
| <a name="string" /> string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
|
||
| <a name="bytes" /> bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |
|
||
|