Skip to main content

Protobuf Documentation

Table of Contents

Top

kava/auction/v1beta1/auction.proto

BaseAuction

BaseAuction defines common attributes of all auctions

FieldTypeLabelDescription
iduint64
initiatorstring
lotcosmos.base.v1beta1.Coin
bidderbytes
bidcosmos.base.v1beta1.Coin
has_received_bidsbool
end_timegoogle.protobuf.Timestamp
max_end_timegoogle.protobuf.Timestamp

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.

FieldTypeLabelDescription
base_auctionBaseAuction
corresponding_debtcosmos.base.v1beta1.Coin
max_bidcosmos.base.v1beta1.Coin
lot_returnsWeightedAddresses

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.

FieldTypeLabelDescription
base_auctionBaseAuction
corresponding_debtcosmos.base.v1beta1.Coin

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.

FieldTypeLabelDescription
base_auctionBaseAuction

WeightedAddresses

WeightedAddresses is a type for storing some addresses and associated weights.

FieldTypeLabelDescription
addressesbytesrepeated
weightsbytesrepeated

Top

kava/auction/v1beta1/genesis.proto

GenesisState

GenesisState defines the auction module's genesis state.

FieldTypeLabelDescription
next_auction_iduint64
paramsParams
auctionsgoogle.protobuf.AnyrepeatedGenesis auctions

Params

Params defines the parameters for the issuance module.

FieldTypeLabelDescription
max_auction_durationgoogle.protobuf.Duration
forward_bid_durationgoogle.protobuf.Duration
reverse_bid_durationgoogle.protobuf.Duration
increment_surplusbytes
increment_debtbytes
increment_collateralbytes

Top

kava/auction/v1beta1/query.proto

QueryAuctionRequest

QueryAuctionRequest is the request type for the Query/Auction RPC method.

FieldTypeLabelDescription
auction_iduint64

QueryAuctionResponse

QueryAuctionResponse is the response type for the Query/Auction RPC method.

FieldTypeLabelDescription
auctiongoogle.protobuf.Any

QueryAuctionsRequest

QueryAuctionsRequest is the request type for the Query/Auctions RPC method.

FieldTypeLabelDescription
typestring
ownerstring
denomstring
phasestring
paginationcosmos.base.query.v1beta1.PageRequestpagination defines an optional pagination for the request.

QueryAuctionsResponse

QueryAuctionsResponse is the response type for the Query/Auctions RPC method.

FieldTypeLabelDescription
auctionsgoogle.protobuf.Anyrepeated
paginationcosmos.base.query.v1beta1.PageResponsepagination defines the pagination in the response.

QueryNextAuctionIDRequest

QueryNextAuctionIDRequest defines the request type for querying x/auction next auction ID.

QueryNextAuctionIDResponse

QueryNextAuctionIDResponse defines the response type for querying x/auction next auction ID.

FieldTypeLabelDescription
iduint64

QueryParamsRequest

QueryParamsRequest defines the request type for querying x/auction parameters.

QueryParamsResponse

QueryParamsResponse defines the response type for querying x/auction parameters.

FieldTypeLabelDescription
paramsParams

Query

Query defines the gRPC querier service for auction module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries all parameters of the auction module.GET/kava/auction/v1beta1/params
AuctionQueryAuctionRequestQueryAuctionResponseAuction queries an individual Auction by auction IDGET/kava/auction/v1beta1/auctions/{auction_id}
AuctionsQueryAuctionsRequestQueryAuctionsResponseAuctions queries auctions filtered by asset denom, owner address, phase, and auction typeGET/kava/auction/v1beta1/auctions
NextAuctionIDQueryNextAuctionIDRequestQueryNextAuctionIDResponseNextAuctionID queries the next auction IDGET/kava/auction/v1beta1/next-auction-id

Top

kava/auction/v1beta1/tx.proto

MsgPlaceBid

MsgPlaceBid represents a message used by bidders to place bids on auctions

FieldTypeLabelDescription
auction_iduint64
bidderstring
amountcosmos.base.v1beta1.Coin

MsgPlaceBidResponse

MsgPlaceBidResponse defines the Msg/PlaceBid response type.

Msg

Msg defines the auction Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
PlaceBidMsgPlaceBidMsgPlaceBidResponsePlaceBid message type used by bidders to place bids on auctions

Top

kava/bep3/v1beta1/bep3.proto

AssetParam

AssetParam defines parameters for each bep3 asset.

FieldTypeLabelDescription
denomstringdenom represents the denominatin for this asset
coin_idint64coin_id represents the registered coin type to use (https://github.com/satoshilabs/slips/blob/master/slip-0044.md)
supply_limitSupplyLimitsupply_limit defines the maximum supply allowed for the asset - a total or time based rate limit
activeboolactive specifies if the asset is live or paused
deputy_addressbytesdeputy_address the kava address of the deputy
fixed_feestringfixed_fee defines the fee for incoming swaps
min_swap_amountstringmin_swap_amount defines the minimum amount able to be swapped in a single message
max_swap_amountstringmax_swap_amount defines the maximum amount able to be swapped in a single message
min_block_lockuint64min_block_lock defined the minimum blocks to lock
max_block_lockuint64min_block_lock defined the maximum blocks to lock

AssetSupply

AssetSupply defines information about an asset's supply.

FieldTypeLabelDescription
incoming_supplycosmos.base.v1beta1.Coinincoming_supply represents the incoming supply of an asset
outgoing_supplycosmos.base.v1beta1.Coinoutgoing_supply represents the outgoing supply of an asset
current_supplycosmos.base.v1beta1.Coincurrent_supply represents the current on-chain supply of an asset
time_limited_current_supplycosmos.base.v1beta1.Cointime_limited_current_supply represents the time limited current supply of an asset
time_elapsedgoogle.protobuf.Durationtime_elapsed represents the time elapsed

AtomicSwap

AtomicSwap defines an atomic swap between chains for the pricefeed module.

FieldTypeLabelDescription
amountcosmos.base.v1beta1.Coinrepeatedamount represents the amount being swapped
random_number_hashbytesrandom_number_hash represents the hash of the random number
expire_heightuint64expire_height represents the height when the swap expires
timestampint64timestamp represents the timestamp of the swap
senderbytessender is the kava chain sender of the swap
recipientbytesrecipient is the kava chain recipient of the swap
sender_other_chainstringsender_other_chain is the sender on the other chain
recipient_other_chainstringrecipient_other_chain is the recipient on the other chain
closed_blockint64closed_block is the block when the swap is closed
statusSwapStatusstatus represents the current status of the swap
cross_chainboolcross_chain identifies whether the atomic swap is cross chain
directionSwapDirectiondirection identifies if the swap is incoming or outgoing

Params

Params defines the parameters for the bep3 module.

FieldTypeLabelDescription
asset_paramsAssetParamrepeatedasset_params define the parameters for each bep3 asset

SupplyLimit

SupplyLimit define the absolute and time-based limits for an assets's supply.

FieldTypeLabelDescription
limitstringlimit defines the total supply allowed
time_limitedbooltime_limited enables or disables time based supply limiting
time_periodgoogle.protobuf.Durationtime_period specifies the duration that time_based_limit is evalulated
time_based_limitstringtime_based_limit defines the maximum supply that can be swapped within time_period

SwapDirection

SwapDirection is the direction of an AtomicSwap

NameNumberDescription
SWAP_DIRECTION_UNSPECIFIED0SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation
SWAP_DIRECTION_INCOMING1SWAP_DIRECTION_INCOMING represents is incoming swap (to the kava chain)
SWAP_DIRECTION_OUTGOING2SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the kava chain)

SwapStatus

SwapStatus is the status of an AtomicSwap

NameNumberDescription
SWAP_STATUS_UNSPECIFIED0SWAP_STATUS_UNSPECIFIED represents an unspecified status
SWAP_STATUS_OPEN1SWAP_STATUS_OPEN represents an open swap
SWAP_STATUS_COMPLETED2SWAP_STATUS_COMPLETED represents a completed swap
SWAP_STATUS_EXPIRED3SWAP_STATUS_EXPIRED represents an expired swap

Top

kava/bep3/v1beta1/genesis.proto

GenesisState

GenesisState defines the pricefeed module's genesis state.

FieldTypeLabelDescription
paramsParamsparams defines all the paramaters of the module.
atomic_swapsAtomicSwaprepeatedatomic_swaps represents the state of stored atomic swaps
suppliesAssetSupplyrepeatedsupplies represents the supply information of each atomic swap
previous_block_timegoogle.protobuf.Timestampprevious_block_time represents the time of the previous block

Top

kava/bep3/v1beta1/query.proto

AssetSupplyResponse

AssetSupplyResponse defines information about an asset's supply.

FieldTypeLabelDescription
incoming_supplycosmos.base.v1beta1.Coinincoming_supply represents the incoming supply of an asset
outgoing_supplycosmos.base.v1beta1.Coinoutgoing_supply represents the outgoing supply of an asset
current_supplycosmos.base.v1beta1.Coincurrent_supply represents the current on-chain supply of an asset
time_limited_current_supplycosmos.base.v1beta1.Cointime_limited_current_supply represents the time limited current supply of an asset
time_elapsedgoogle.protobuf.Durationtime_elapsed represents the time elapsed

AtomicSwapResponse

AtomicSwapResponse represents the returned atomic swap properties

FieldTypeLabelDescription
idstringid represents the id of the atomic swap
amountcosmos.base.v1beta1.Coinrepeatedamount represents the amount being swapped
random_number_hashstringrandom_number_hash represents the hash of the random number
expire_heightuint64expire_height represents the height when the swap expires
timestampint64timestamp represents the timestamp of the swap
senderstringsender is the kava chain sender of the swap
recipientstringrecipient is the kava chain recipient of the swap
sender_other_chainstringsender_other_chain is the sender on the other chain
recipient_other_chainstringrecipient_other_chain is the recipient on the other chain
closed_blockint64closed_block is the block when the swap is closed
statusSwapStatusstatus represents the current status of the swap
cross_chainboolcross_chain identifies whether the atomic swap is cross chain
directionSwapDirectiondirection identifies if the swap is incoming or outgoing

QueryAssetSuppliesRequest

QueryAssetSuppliesRequest is the request type for the Query/AssetSupplies RPC method.

QueryAssetSuppliesResponse

QueryAssetSuppliesResponse is the response type for the Query/AssetSupplies RPC method.

FieldTypeLabelDescription
asset_suppliesAssetSupplyResponserepeatedasset_supplies represents the supplies of returned assets

QueryAssetSupplyRequest

QueryAssetSupplyRequest is the request type for the Query/AssetSupply RPC method.

FieldTypeLabelDescription
denomstringdenom filters the asset response for the specified denom

QueryAssetSupplyResponse

QueryAssetSupplyResponse is the response type for the Query/AssetSupply RPC method.

FieldTypeLabelDescription
asset_supplyAssetSupplyResponseasset_supply represents the supply of the asset

QueryAtomicSwapRequest

QueryAtomicSwapRequest is the request type for the Query/AtomicSwap RPC method.

FieldTypeLabelDescription
swap_idstringswap_id represents the id of the swap to query

QueryAtomicSwapResponse

QueryAtomicSwapResponse is the response type for the Query/AtomicSwap RPC method.

FieldTypeLabelDescription
atomic_swapAtomicSwapResponse

QueryAtomicSwapsRequest

QueryAtomicSwapsRequest is the request type for the Query/AtomicSwaps RPC method.

FieldTypeLabelDescription
involvestringinvolve filters by address
expirationuint64expiration filters by expiration block height
statusSwapStatusstatus filters by swap status
directionSwapDirectiondirection fitlers by swap direction
paginationcosmos.base.query.v1beta1.PageRequest

QueryAtomicSwapsResponse

QueryAtomicSwapsResponse is the response type for the Query/AtomicSwaps RPC method.

FieldTypeLabelDescription
atomic_swapsAtomicSwapResponserepeatedatomic_swap represents the returned atomic swaps for the request
paginationcosmos.base.query.v1beta1.PageResponse

QueryParamsRequest

QueryParamsRequest defines the request type for querying x/bep3 parameters.

QueryParamsResponse

QueryParamsResponse defines the response type for querying x/bep3 parameters.

FieldTypeLabelDescription
paramsParamsparams represents the parameters of the module

Query

Query defines the gRPC querier service for bep3 module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries module paramsGET/kava/bep3/v1beta1/params
AssetSupplyQueryAssetSupplyRequestQueryAssetSupplyResponseAssetSupply queries info about an asset's supplyGET/kava/bep3/v1beta1/assetsupply/{denom}
AssetSuppliesQueryAssetSuppliesRequestQueryAssetSuppliesResponseAssetSupplies queries a list of asset suppliesGET/kava/bep3/v1beta1/assetsupplies
AtomicSwapQueryAtomicSwapRequestQueryAtomicSwapResponseAtomicSwap queries info about an atomic swapGET/kava/bep3/v1beta1/atomicswap/{swap_id}
AtomicSwapsQueryAtomicSwapsRequestQueryAtomicSwapsResponseAtomicSwaps queries a list of atomic swapsGET/kava/bep3/v1beta1/atomicswaps

Top

kava/bep3/v1beta1/tx.proto

MsgClaimAtomicSwap

MsgClaimAtomicSwap defines the Msg/ClaimAtomicSwap request type.

FieldTypeLabelDescription
fromstring
swap_idstring
random_numberstring

MsgClaimAtomicSwapResponse

MsgClaimAtomicSwapResponse defines the Msg/ClaimAtomicSwap response type.

MsgCreateAtomicSwap

MsgCreateAtomicSwap defines the Msg/CreateAtomicSwap request type.

FieldTypeLabelDescription
fromstring
tostring
recipient_other_chainstring
sender_other_chainstring
random_number_hashstring
timestampint64
amountcosmos.base.v1beta1.Coinrepeated
height_spanuint64

MsgCreateAtomicSwapResponse

MsgCreateAtomicSwapResponse defines the Msg/CreateAtomicSwap response type.

MsgRefundAtomicSwap

MsgRefundAtomicSwap defines the Msg/RefundAtomicSwap request type.

FieldTypeLabelDescription
fromstring
swap_idstring

MsgRefundAtomicSwapResponse

MsgRefundAtomicSwapResponse defines the Msg/RefundAtomicSwap response type.

Msg

Msg defines the bep3 Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
CreateAtomicSwapMsgCreateAtomicSwapMsgCreateAtomicSwapResponseCreateAtomicSwap defines a method for creating an atomic swap
ClaimAtomicSwapMsgClaimAtomicSwapMsgClaimAtomicSwapResponseClaimAtomicSwap defines a method for claiming an atomic swap
RefundAtomicSwapMsgRefundAtomicSwapMsgRefundAtomicSwapResponseRefundAtomicSwap defines a method for refunding an atomic swap

Top

kava/cdp/v1beta1/cdp.proto

CDP

CDP defines the state of a single collateralized debt position.

FieldTypeLabelDescription
iduint64
ownerbytes
typestring
collateralcosmos.base.v1beta1.Coin
principalcosmos.base.v1beta1.Coin
accumulated_feescosmos.base.v1beta1.Coin
fees_updatedgoogle.protobuf.Timestamp
interest_factorstring

Deposit

Deposit defines an amount of coins deposited by an account to a cdp

FieldTypeLabelDescription
cdp_iduint64
depositorstring
amountcosmos.base.v1beta1.Coin

OwnerCDPIndex

OwnerCDPIndex defines the cdp ids for a single cdp owner

FieldTypeLabelDescription
cdp_idsuint64repeated

TotalCollateral

TotalCollateral defines the total collateral of a given collateral type

FieldTypeLabelDescription
collateral_typestring
amountcosmos.base.v1beta1.Coin

TotalPrincipal

TotalPrincipal defines the total principal of a given collateral type

FieldTypeLabelDescription
collateral_typestring
amountcosmos.base.v1beta1.Coin

Top

kava/cdp/v1beta1/genesis.proto

CollateralParam

CollateralParam defines governance parameters for each collateral type within the cdp module

FieldTypeLabelDescription
denomstring
typestring
liquidation_ratiostring
debt_limitcosmos.base.v1beta1.Coin
stability_feestring
auction_sizestring
liquidation_penaltystring
spot_market_idstring
liquidation_market_idstring
keeper_reward_percentagestring
check_collateralization_index_countstring
conversion_factorstring

DebtParam

DebtParam defines governance params for debt assets

FieldTypeLabelDescription
denomstring
reference_assetstring
conversion_factorstring
debt_floorstring

GenesisAccumulationTime

GenesisAccumulationTime defines the previous distribution time and its corresponding denom

FieldTypeLabelDescription
collateral_typestring
previous_accumulation_timegoogle.protobuf.Timestamp
interest_factorstring

GenesisState

GenesisState defines the cdp module's genesis state.

FieldTypeLabelDescription
paramsParamsparams defines all the paramaters of the module.
cdpsCDPrepeated
depositsDepositrepeated
starting_cdp_iduint64
debt_denomstring
gov_denomstring
previous_accumulation_timesGenesisAccumulationTimerepeated
total_principalsGenesisTotalPrincipalrepeated

GenesisTotalPrincipal

GenesisTotalPrincipal defines the total principal and its corresponding collateral type

FieldTypeLabelDescription
collateral_typestring
total_principalstring

Params

Params defines the parameters for the cdp module.

FieldTypeLabelDescription
collateral_paramsCollateralParamrepeated
debt_paramDebtParam
global_debt_limitcosmos.base.v1beta1.Coin
surplus_auction_thresholdstring
surplus_auction_lotstring
debt_auction_thresholdstring
debt_auction_lotstring
circuit_breakerbool

Top

kava/cdp/v1beta1/query.proto

CDPResponse

CDPResponse defines the state of a single collateralized debt position.

FieldTypeLabelDescription
iduint64
ownerstring
typestring
collateralcosmos.base.v1beta1.Coin
principalcosmos.base.v1beta1.Coin
accumulated_feescosmos.base.v1beta1.Coin
fees_updatedgoogle.protobuf.Timestamp
interest_factorstring
collateral_valuecosmos.base.v1beta1.Coin
collateralization_ratiostring

QueryAccountsRequest

QueryAccountsRequest defines the request type for the Query/Accounts RPC method.

QueryAccountsResponse

QueryAccountsResponse defines the response type for the Query/Accounts RPC method.

FieldTypeLabelDescription
accountscosmos.auth.v1beta1.ModuleAccountrepeated

QueryCdpRequest

QueryCdpRequest defines the request type for the Query/Cdp RPC method.

FieldTypeLabelDescription
collateral_typestring
ownerstring

QueryCdpResponse

QueryCdpResponse defines the response type for the Query/Cdp RPC method.

FieldTypeLabelDescription
cdpCDPResponse

QueryCdpsRequest

QueryCdpsRequest is the params for a filtered CDP query, the request type for the Query/Cdps RPC method.

FieldTypeLabelDescription
collateral_typestring
ownerstring
iduint64
ratiostringsdk.Dec as a string
paginationcosmos.base.query.v1beta1.PageRequest

QueryCdpsResponse

QueryCdpsResponse defines the response type for the Query/Cdps RPC method.

FieldTypeLabelDescription
cdpsCDPResponserepeated
paginationcosmos.base.query.v1beta1.PageResponse

QueryDepositsRequest

QueryDepositsRequest defines the request type for the Query/Deposits RPC method.

FieldTypeLabelDescription
collateral_typestring
ownerstring

QueryDepositsResponse

QueryDepositsResponse defines the response type for the Query/Deposits RPC method.

FieldTypeLabelDescription
depositsDepositrepeated

QueryParamsRequest

QueryParamsRequest defines the request type for the Query/Params RPC method.

QueryParamsResponse

QueryParamsResponse defines the response type for the Query/Params RPC method.

FieldTypeLabelDescription
paramsParams

QueryTotalCollateralRequest

QueryTotalCollateralRequest defines the request type for the Query/TotalCollateral RPC method.

FieldTypeLabelDescription
collateral_typestring

QueryTotalCollateralResponse

QueryTotalCollateralResponse defines the response type for the Query/TotalCollateral RPC method.

FieldTypeLabelDescription
total_collateralTotalCollateralrepeated

QueryTotalPrincipalRequest

QueryTotalPrincipalRequest defines the request type for the Query/TotalPrincipal RPC method.

FieldTypeLabelDescription
collateral_typestring

QueryTotalPrincipalResponse

QueryTotalPrincipalResponse defines the response type for the Query/TotalPrincipal RPC method.

FieldTypeLabelDescription
total_principalTotalPrincipalrepeated

Query

Query defines the gRPC querier service for cdp module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries all parameters of the cdp module.GET/kava/cdp/v1beta1/params
AccountsQueryAccountsRequestQueryAccountsResponseAccounts queries the CDP module accounts.GET/kava/cdp/v1beta1/accounts
TotalPrincipalQueryTotalPrincipalRequestQueryTotalPrincipalResponseTotalPrincipal queries the total principal of a given collateral type.GET/kava/cdp/v1beta1/totalPrincipal
TotalCollateralQueryTotalCollateralRequestQueryTotalCollateralResponseTotalCollateral queries the total collateral of a given collateral type.GET/kava/cdp/v1beta1/totalCollateral
CdpsQueryCdpsRequestQueryCdpsResponseCdps queries all active CDPs.GET/kava/cdp/v1beta1/cdps
CdpQueryCdpRequestQueryCdpResponseCdp queries a CDP with the input owner address and collateral type.GET/kava/cdp/v1beta1/cdps/{owner}/{collateral_type}
DepositsQueryDepositsRequestQueryDepositsResponseDeposits queries deposits associated with the CDP owned by an address for a collateral type.GET/kava/cdp/v1beta1/cdps/deposits/{owner}/{collateral_type}

Top

kava/cdp/v1beta1/tx.proto

MsgCreateCDP

MsgCreateCDP defines a message to create a new CDP.

FieldTypeLabelDescription
senderstring
collateralcosmos.base.v1beta1.Coin
principalcosmos.base.v1beta1.Coin
collateral_typestring

MsgCreateCDPResponse

MsgCreateCDPResponse defines the Msg/CreateCDP response type.

FieldTypeLabelDescription
cdp_iduint64

MsgDeposit

MsgDeposit defines a message to deposit to a CDP.

FieldTypeLabelDescription
depositorstring
ownerstring
collateralcosmos.base.v1beta1.Coin
collateral_typestring

MsgDepositResponse

MsgDepositResponse defines the Msg/Deposit response type.

MsgDrawDebt

MsgDrawDebt defines a message to draw debt from a CDP.

FieldTypeLabelDescription
senderstring
collateral_typestring
principalcosmos.base.v1beta1.Coin

MsgDrawDebtResponse

MsgDrawDebtResponse defines the Msg/DrawDebt response type.

MsgLiquidate

MsgLiquidate defines a message to attempt to liquidate a CDP whos collateralization ratio is under its liquidation ratio.

FieldTypeLabelDescription
keeperstring
borrowerstring
collateral_typestring

MsgLiquidateResponse

MsgLiquidateResponse defines the Msg/Liquidate response type.

MsgRepayDebt

MsgRepayDebt defines a message to repay debt from a CDP.

FieldTypeLabelDescription
senderstring
collateral_typestring
paymentcosmos.base.v1beta1.Coin

MsgRepayDebtResponse

MsgRepayDebtResponse defines the Msg/RepayDebt response type.

MsgWithdraw

MsgWithdraw defines a message to withdraw collateral from a CDP.

FieldTypeLabelDescription
depositorstring
ownerstring
collateralcosmos.base.v1beta1.Coin
collateral_typestring

MsgWithdrawResponse

MsgWithdrawResponse defines the Msg/Withdraw response type.

Msg

Msg defines the cdp Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
CreateCDPMsgCreateCDPMsgCreateCDPResponseCreateCDP defines a method to create a new CDP.
DepositMsgDepositMsgDepositResponseDeposit defines a method to deposit to a CDP.
WithdrawMsgWithdrawMsgWithdrawResponseWithdraw defines a method to withdraw collateral from a CDP.
DrawDebtMsgDrawDebtMsgDrawDebtResponseDrawDebt defines a method to draw debt from a CDP.
RepayDebtMsgRepayDebtMsgRepayDebtResponseRepayDebt defines a method to repay debt from a CDP.
LiquidateMsgLiquidateMsgLiquidateResponseLiquidate defines a method to attempt to liquidate a CDP whos collateralization ratio is under its liquidation ratio.

Top

kava/committee/v1beta1/committee.proto

BaseCommittee

BaseCommittee is a common type shared by all Committees

FieldTypeLabelDescription
iduint64
descriptionstring
membersbytesrepeated
permissionsgoogle.protobuf.Anyrepeated
vote_thresholdstringSmallest percentage that must vote for a proposal to pass
proposal_durationgoogle.protobuf.DurationThe length of time a proposal remains active for. Proposals will close earlier if they get enough votes.
tally_optionTallyOption

MemberCommittee

MemberCommittee is an alias of BaseCommittee

FieldTypeLabelDescription
base_committeeBaseCommittee

TokenCommittee

TokenCommittee supports voting on proposals by token holders

FieldTypeLabelDescription
base_committeeBaseCommittee
quorumstring
tally_denomstring

TallyOption

TallyOption enumerates the valid types of a tally.

NameNumberDescription
TALLY_OPTION_UNSPECIFIED0TALLY_OPTION_UNSPECIFIED defines a null tally option.
TALLY_OPTION_FIRST_PAST_THE_POST1Votes are tallied each block and the proposal passes as soon as the vote threshold is reached
TALLY_OPTION_DEADLINE2Votes are tallied exactly once, when the deadline time is reached

Top

kava/committee/v1beta1/genesis.proto

GenesisState

GenesisState defines the committee module's genesis state.

FieldTypeLabelDescription
next_proposal_iduint64
committeesgoogle.protobuf.Anyrepeated
proposalsProposalrepeated
votesVoterepeated

Proposal

Proposal is an internal record of a governance proposal submitted to a committee.

FieldTypeLabelDescription
contentgoogle.protobuf.Any
iduint64
committee_iduint64
deadlinegoogle.protobuf.Timestamp

Vote

Vote is an internal record of a single governance vote.

FieldTypeLabelDescription
proposal_iduint64
voterbytes
vote_typeVoteType

VoteType

VoteType enumerates the valid types of a vote.

NameNumberDescription
VOTE_TYPE_UNSPECIFIED0VOTE_TYPE_UNSPECIFIED defines a no-op vote option.
VOTE_TYPE_YES1VOTE_TYPE_YES defines a yes vote option.
VOTE_TYPE_NO2VOTE_TYPE_NO defines a no vote option.
VOTE_TYPE_ABSTAIN3VOTE_TYPE_ABSTAIN defines an abstain vote option.

Top

kava/committee/v1beta1/permissions.proto

AllowedParamsChange

AllowedParamsChange contains data on the allowed parameter changes for subspace, key, and sub params requirements.

FieldTypeLabelDescription
subspacestring
keystring
single_subparam_allowed_attrsstringrepeatedRequirements 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_requirementsSubparamRequirementrepeatedRequirements for when the subparam value is a list of records. The requirements contains requirements for each record in the list.

GodPermission

GodPermission allows any governance proposal. It is used mainly for testing.

ParamsChangePermission

ParamsChangePermission allows any parameter or sub parameter change proposal.

FieldTypeLabelDescription
allowed_params_changesAllowedParamsChangerepeated

SoftwareUpgradePermission

SoftwareUpgradePermission permission type for software upgrade proposals

SubparamRequirement

SubparamRequirement contains requirements for a single record in a subparam value list

FieldTypeLabelDescription
keystringThe required attr key of the param record.
valstringThe required param value for the param record key. The key and value is used to match to the target param record.
allowed_subparam_attr_changesstringrepeatedThe sub param attrs that are allowed to be changed.

TextPermission

TextPermission allows any text governance proposal.

Top

kava/committee/v1beta1/proposal.proto

CommitteeChangeProposal

CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.

FieldTypeLabelDescription
titlestring
descriptionstring
new_committeegoogle.protobuf.Any

CommitteeDeleteProposal

CommitteeDeleteProposal is a gov proposal for removing a committee.

FieldTypeLabelDescription
titlestring
descriptionstring
committee_iduint64

Top

kava/committee/v1beta1/query.proto

QueryCommitteeRequest

QueryCommitteeRequest defines the request type for querying x/committee committee.

FieldTypeLabelDescription
committee_iduint64

QueryCommitteeResponse

QueryCommitteeResponse defines the response type for querying x/committee committee.

FieldTypeLabelDescription
committeegoogle.protobuf.Any

QueryCommitteesRequest

QueryCommitteesRequest defines the request type for querying x/committee committees.

QueryCommitteesResponse

QueryCommitteesResponse defines the response type for querying x/committee committees.

FieldTypeLabelDescription
committeesgoogle.protobuf.Anyrepeated

QueryNextProposalIDRequest

QueryNextProposalIDRequest defines the request type for querying x/committee NextProposalID.

QueryNextProposalIDResponse

QueryNextProposalIDRequest defines the response type for querying x/committee NextProposalID.

FieldTypeLabelDescription
next_proposal_iduint64

QueryProposalRequest

QueryProposalRequest defines the request type for querying x/committee proposal.

FieldTypeLabelDescription
proposal_iduint64

QueryProposalResponse

QueryProposalResponse defines the response type for querying x/committee proposal.

FieldTypeLabelDescription
pub_proposalgoogle.protobuf.Any
iduint64
committee_iduint64
deadlinegoogle.protobuf.Timestamp

QueryProposalsRequest

QueryProposalsRequest defines the request type for querying x/committee proposals.

FieldTypeLabelDescription
committee_iduint64

QueryProposalsResponse

QueryProposalsResponse defines the response type for querying x/committee proposals.

FieldTypeLabelDescription
proposalsQueryProposalResponserepeated

QueryRawParamsRequest

QueryRawParamsRequest defines the request type for querying x/committee raw params.

FieldTypeLabelDescription
subspacestring
keystring

QueryRawParamsResponse

QueryRawParamsResponse defines the response type for querying x/committee raw params.

FieldTypeLabelDescription
raw_datastring

QueryTallyRequest

QueryTallyRequest defines the request type for querying x/committee tally.

FieldTypeLabelDescription
proposal_iduint64

QueryTallyResponse

QueryTallyResponse defines the response type for querying x/committee tally.

FieldTypeLabelDescription
proposal_iduint64
yes_votesstring
no_votesstring
current_votesstring
possible_votesstring
vote_thresholdstring
quorumstring

QueryVoteRequest

QueryVoteRequest defines the request type for querying x/committee vote.

FieldTypeLabelDescription
proposal_iduint64
voterstring

QueryVoteResponse

QueryVoteResponse defines the response type for querying x/committee vote.

FieldTypeLabelDescription
proposal_iduint64
voterstring
vote_typeVoteType

QueryVotesRequest

QueryVotesRequest defines the request type for querying x/committee votes.

FieldTypeLabelDescription
proposal_iduint64
paginationcosmos.base.query.v1beta1.PageRequest

QueryVotesResponse

QueryVotesResponse defines the response type for querying x/committee votes.

FieldTypeLabelDescription
votesQueryVoteResponserepeatedvotes defined the queried votes.
paginationcosmos.base.query.v1beta1.PageResponsepagination defines the pagination in the response.

Query

Query defines the gRPC querier service for committee module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
CommitteesQueryCommitteesRequestQueryCommitteesResponseCommittees queries all committess of the committee module.GET/kava/committee/v1beta1/committees
CommitteeQueryCommitteeRequestQueryCommitteeResponseCommittee queries a committee based on committee ID.GET/kava/committee/v1beta1/committees/{committee_id}
ProposalsQueryProposalsRequestQueryProposalsResponseProposals queries proposals based on committee ID.GET/kava/committee/v1beta1/proposals
ProposalQueryProposalRequestQueryProposalResponseDeposits queries a proposal based on proposal ID.GET/kava/committee/v1beta1/proposals/{proposal_id}
NextProposalIDQueryNextProposalIDRequestQueryNextProposalIDResponseNextProposalID queries the next proposal ID of the committee module.GET/kava/committee/v1beta1/next-proposal-id
VotesQueryVotesRequestQueryVotesResponseVotes queries all votes for a single proposal ID.GET/kava/committee/v1beta1/proposals/{proposal_id}/votes
VoteQueryVoteRequestQueryVoteResponseVote queries the vote of a single voter for a single proposal ID.GET/kava/committee/v1beta1/proposals/{proposal_id}/votes/{voter}
TallyQueryTallyRequestQueryTallyResponseTally queries the tally of a single proposal ID.GET/kava/committee/v1beta1/proposals/{proposal_id}/tally
RawParamsQueryRawParamsRequestQueryRawParamsResponseRawParams queries the raw params data of any subspace and key.GET/kava/committee/v1beta1/raw-params

Top

kava/committee/v1beta1/tx.proto

MsgSubmitProposal

MsgSubmitProposal is used by committee members to create a new proposal that they can vote on.

FieldTypeLabelDescription
pub_proposalgoogle.protobuf.Any
proposerstring
committee_iduint64

MsgSubmitProposalResponse

MsgSubmitProposalResponse defines the SubmitProposal response type

FieldTypeLabelDescription
proposal_iduint64

MsgVote

MsgVote is submitted by committee members to vote on proposals.

FieldTypeLabelDescription
proposal_iduint64
voterstring
vote_typeVoteType

MsgVoteResponse

MsgVoteResponse defines the Vote response type

Msg

Msg defines the committee Msg service

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
SubmitProposalMsgSubmitProposalMsgSubmitProposalResponseSubmitProposal defines a method for submitting a committee proposal
VoteMsgVoteMsgVoteResponseVote defines a method for voting on a proposal

Top

kava/hard/v1beta1/hard.proto

Borrow

Borrow defines an amount of coins borrowed from a hard module account.

FieldTypeLabelDescription
borrowerstring
amountcosmos.base.v1beta1.Coinrepeated
indexBorrowInterestFactorrepeated

BorrowInterestFactor

BorrowInterestFactor defines an individual borrow interest factor.

FieldTypeLabelDescription
denomstring
valuestring

BorrowLimit

BorrowLimit enforces restrictions on a money market.

FieldTypeLabelDescription
has_max_limitbool
maximum_limitstring
loan_to_valuestring

CoinsProto

CoinsProto defines a Protobuf wrapper around a Coins slice

FieldTypeLabelDescription
coinscosmos.base.v1beta1.Coinrepeated

Deposit

Deposit defines an amount of coins deposited into a hard module account.

FieldTypeLabelDescription
depositorstring
amountcosmos.base.v1beta1.Coinrepeated
indexSupplyInterestFactorrepeated

InterestRateModel

InterestRateModel contains information about an asset's interest rate.

FieldTypeLabelDescription
base_rate_apystring
base_multiplierstring
kinkstring
jump_multiplierstring

MoneyMarket

MoneyMarket is a money market for an individual asset.

FieldTypeLabelDescription
denomstring
borrow_limitBorrowLimit
spot_market_idstring
conversion_factorstring
interest_rate_modelInterestRateModel
reserve_factorstring
keeper_reward_percentagestring

Params

Params defines the parameters for the hard module.

FieldTypeLabelDescription
money_marketsMoneyMarketrepeated
minimum_borrow_usd_valuestring

SupplyInterestFactor

SupplyInterestFactor defines an individual borrow interest factor.

FieldTypeLabelDescription
denomstring
valuestring

Top

kava/hard/v1beta1/genesis.proto

GenesisAccumulationTime

GenesisAccumulationTime stores the previous distribution time and its corresponding denom.

FieldTypeLabelDescription
collateral_typestring
previous_accumulation_timegoogle.protobuf.Timestamp
supply_interest_factorstring
borrow_interest_factorstring

GenesisState

GenesisState defines the hard module's genesis state.

FieldTypeLabelDescription
paramsParams
previous_accumulation_timesGenesisAccumulationTimerepeated
depositsDepositrepeated
borrowsBorrowrepeated
total_suppliedcosmos.base.v1beta1.Coinrepeated
total_borrowedcosmos.base.v1beta1.Coinrepeated
total_reservescosmos.base.v1beta1.Coinrepeated

Top

kava/hard/v1beta1/query.proto

BorrowInterestFactorResponse

BorrowInterestFactorResponse defines an individual borrow interest factor.

FieldTypeLabelDescription
denomstring
valuestringsdk.Dec as string

BorrowResponse

BorrowResponse defines an amount of coins borrowed from a hard module account.

FieldTypeLabelDescription
borrowerstring
amountcosmos.base.v1beta1.Coinrepeated
indexBorrowInterestFactorResponserepeated

DepositResponse

DepositResponse defines an amount of coins deposited into a hard module account.

FieldTypeLabelDescription
depositorstring
amountcosmos.base.v1beta1.Coinrepeated
indexSupplyInterestFactorResponserepeated

InterestFactor

InterestFactor is a unique type returned by interest factor queries

FieldTypeLabelDescription
denomstring
borrow_interest_factorstringsdk.Dec as String
supply_interest_factorstringsdk.Dec as String

MoneyMarketInterestRate

MoneyMarketInterestRate is a unique type returned by interest rate queries

FieldTypeLabelDescription
denomstring
supply_interest_ratestringsdk.Dec as String
borrow_interest_ratestringsdk.Dec as String

QueryAccountsRequest

QueryAccountsRequest is the request type for the Query/Accounts RPC method.

QueryAccountsResponse

QueryAccountsResponse is the response type for the Query/Accounts RPC method.

FieldTypeLabelDescription
accountscosmos.auth.v1beta1.ModuleAccountrepeated

QueryBorrowsRequest

QueryBorrowsRequest is the request type for the Query/Borrows RPC method.

FieldTypeLabelDescription
denomstring
ownerstring
paginationcosmos.base.query.v1beta1.PageRequest

QueryBorrowsResponse

QueryBorrowsResponse is the response type for the Query/Borrows RPC method.

FieldTypeLabelDescription
borrowsBorrowResponserepeated
paginationcosmos.base.query.v1beta1.PageResponse

QueryDepositsRequest

QueryDepositsRequest is the request type for the Query/Deposits RPC method.

FieldTypeLabelDescription
denomstring
ownerstring
paginationcosmos.base.query.v1beta1.PageRequest

QueryDepositsResponse

QueryDepositsResponse is the response type for the Query/Deposits RPC method.

FieldTypeLabelDescription
depositsDepositResponserepeated
paginationcosmos.base.query.v1beta1.PageResponse

QueryInterestFactorsRequest

QueryInterestFactorsRequest is the request type for the Query/InterestFactors RPC method.

FieldTypeLabelDescription
denomstring

QueryInterestFactorsResponse

QueryInterestFactorsResponse is the response type for the Query/InterestFactors RPC method.

FieldTypeLabelDescription
interest_factorsInterestFactorrepeated

QueryInterestRateRequest

QueryInterestRateRequest is the request type for the Query/InterestRate RPC method.

FieldTypeLabelDescription
denomstring

QueryInterestRateResponse

QueryInterestRateResponse is the response type for the Query/InterestRate RPC method.

FieldTypeLabelDescription
interest_ratesMoneyMarketInterestRaterepeated

QueryParamsRequest

QueryParamsRequest is the request type for the Query/Params RPC method.

QueryParamsResponse

QueryParamsResponse is the response type for the Query/Params RPC method.

FieldTypeLabelDescription
paramsParams

QueryReservesRequest

QueryReservesRequest is the request type for the Query/Reserves RPC method.

FieldTypeLabelDescription
denomstring

QueryReservesResponse

QueryReservesResponse is the response type for the Query/Reserves RPC method.

FieldTypeLabelDescription
amountcosmos.base.v1beta1.Coinrepeated

QueryTotalBorrowedRequest

QueryTotalBorrowedRequest is the request type for the Query/TotalBorrowed RPC method.

FieldTypeLabelDescription
denomstring

QueryTotalBorrowedResponse

QueryTotalBorrowedResponse is the response type for the Query/TotalBorrowed RPC method.

FieldTypeLabelDescription
borrowed_coinscosmos.base.v1beta1.Coinrepeated

QueryTotalDepositedRequest

QueryTotalDepositedRequest is the request type for the Query/TotalDeposited RPC method.

FieldTypeLabelDescription
denomstring

QueryTotalDepositedResponse

QueryTotalDepositedResponse is the response type for the Query/TotalDeposited RPC method.

FieldTypeLabelDescription
supplied_coinscosmos.base.v1beta1.Coinrepeated

QueryUnsyncedBorrowsRequest

QueryUnsyncedBorrowsRequest is the request type for the Query/UnsyncedBorrows RPC method.

FieldTypeLabelDescription
denomstring
ownerstring
paginationcosmos.base.query.v1beta1.PageRequest

QueryUnsyncedBorrowsResponse

QueryUnsyncedBorrowsResponse is the response type for the Query/UnsyncedBorrows RPC method.

FieldTypeLabelDescription
borrowsBorrowResponserepeated
paginationcosmos.base.query.v1beta1.PageResponse

QueryUnsyncedDepositsRequest

QueryUnsyncedDepositsRequest is the request type for the Query/UnsyncedDeposits RPC method.

FieldTypeLabelDescription
denomstring
ownerstring
paginationcosmos.base.query.v1beta1.PageRequest

QueryUnsyncedDepositsResponse

QueryUnsyncedDepositsResponse is the response type for the Query/UnsyncedDeposits RPC method.

FieldTypeLabelDescription
depositsDepositResponserepeated
paginationcosmos.base.query.v1beta1.PageResponse

SupplyInterestFactorResponse

SupplyInterestFactorResponse defines an individual borrow interest factor.

FieldTypeLabelDescription
denomstring
valuestringsdk.Dec as string

Query

Query defines the gRPC querier service for bep3 module.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries module params.GET/kava/hard/v1beta1/params
AccountsQueryAccountsRequestQueryAccountsResponseAccounts queries module accounts.GET/kava/hard/v1beta1/accounts
DepositsQueryDepositsRequestQueryDepositsResponseDeposits queries hard deposits.GET/kava/hard/v1beta1/deposits
UnsyncedDepositsQueryUnsyncedDepositsRequestQueryUnsyncedDepositsResponseUnsyncedDeposits queries unsynced deposits.GET/kava/hard/v1beta1/unsynced-deposits
TotalDepositedQueryTotalDepositedRequestQueryTotalDepositedResponseTotalDeposited queries total coins deposited to hard liquidity pools.GET/kava/hard/v1beta1/total-deposited/{denom}
BorrowsQueryBorrowsRequestQueryBorrowsResponseBorrows queries hard borrows.GET/kava/hard/v1beta1/borrows
UnsyncedBorrowsQueryUnsyncedBorrowsRequestQueryUnsyncedBorrowsResponseUnsyncedBorrows queries unsynced borrows.GET/kava/hard/v1beta1/unsynced-borrows
TotalBorrowedQueryTotalBorrowedRequestQueryTotalBorrowedResponseTotalBorrowed queries total coins borrowed from hard liquidity pools.GET/kava/hard/v1beta1/total-borrowed/{denom}
InterestRateQueryInterestRateRequestQueryInterestRateResponseInterestRate queries the hard module interest rates.GET/kava/hard/v1beta1/interest-rate/{denom}
ReservesQueryReservesRequestQueryReservesResponseReserves queries total hard reserve coins.GET/kava/hard/v1beta1/reserves/{denom}
InterestFactorsQueryInterestFactorsRequestQueryInterestFactorsResponseInterestFactors queries hard module interest factors.GET/kava/hard/v1beta1/interest-factors/{denom}

Top

kava/hard/v1beta1/tx.proto

MsgBorrow

MsgBorrow defines the Msg/Borrow request type.

FieldTypeLabelDescription
borrowerstring
amountcosmos.base.v1beta1.Coinrepeated

MsgBorrowResponse

MsgBorrowResponse defines the Msg/Borrow response type.

MsgDeposit

MsgDeposit defines the Msg/Deposit request type.

FieldTypeLabelDescription
depositorstring
amountcosmos.base.v1beta1.Coinrepeated

MsgDepositResponse

MsgDepositResponse defines the Msg/Deposit response type.

MsgLiquidate

MsgLiquidate defines the Msg/Liquidate request type.

FieldTypeLabelDescription
keeperstring
borrowerstring

MsgLiquidateResponse

MsgLiquidateResponse defines the Msg/Liquidate response type.

MsgRepay

MsgRepay defines the Msg/Repay request type.

FieldTypeLabelDescription
senderstring
ownerstring
amountcosmos.base.v1beta1.Coinrepeated

MsgRepayResponse

MsgRepayResponse defines the Msg/Repay response type.

MsgWithdraw

MsgWithdraw defines the Msg/Withdraw request type.

FieldTypeLabelDescription
depositorstring
amountcosmos.base.v1beta1.Coinrepeated

MsgWithdrawResponse

MsgWithdrawResponse defines the Msg/Withdraw response type.

Msg

Msg defines the hard Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
DepositMsgDepositMsgDepositResponseDeposit defines a method for depositing funds to hard liquidity pool.
WithdrawMsgWithdrawMsgWithdrawResponseWithdraw defines a method for withdrawing funds from hard liquidity pool.
BorrowMsgBorrowMsgBorrowResponseBorrow defines a method for borrowing funds from hard liquidity pool.
RepayMsgRepayMsgRepayResponseRepay defines a method for repaying funds borrowed from hard liquidity pool.
LiquidateMsgLiquidateMsgLiquidateResponseLiquidate defines a method for attempting to liquidate a borrower that is over their loan-to-value.

Top

kava/incentive/v1beta1/claims.proto

BaseClaim

BaseClaim is a claim with a single reward coin types

FieldTypeLabelDescription
ownerbytes
rewardcosmos.base.v1beta1.Coin

BaseMultiClaim

BaseMultiClaim is a claim with multiple reward coin types

FieldTypeLabelDescription
ownerbytes
rewardcosmos.base.v1beta1.Coinrepeated

DelegatorClaim

DelegatorClaim stores delegation rewards that can be claimed by owner

FieldTypeLabelDescription
base_claimBaseMultiClaim
reward_indexesMultiRewardIndexrepeated

HardLiquidityProviderClaim

HardLiquidityProviderClaim stores the hard liquidity provider rewards that can be claimed by owner

FieldTypeLabelDescription
base_claimBaseMultiClaim
supply_reward_indexesMultiRewardIndexrepeated
borrow_reward_indexesMultiRewardIndexrepeated

MultiRewardIndex

MultiRewardIndex stores reward accumulation information on multiple reward types

FieldTypeLabelDescription
collateral_typestring
reward_indexesRewardIndexrepeated

MultiRewardIndexesProto

MultiRewardIndexesProto defines a Protobuf wrapper around a MultiRewardIndexes slice

FieldTypeLabelDescription
multi_reward_indexesMultiRewardIndexrepeated

RewardIndex

RewardIndex stores reward accumulation information

FieldTypeLabelDescription
collateral_typestring
reward_factorbytes

RewardIndexesProto

RewardIndexesProto defines a Protobuf wrapper around a RewardIndexes slice

FieldTypeLabelDescription
reward_indexesRewardIndexrepeated

SwapClaim

SwapClaim stores the swap rewards that can be claimed by owner

FieldTypeLabelDescription
base_claimBaseMultiClaim
reward_indexesMultiRewardIndexrepeated

USDXMintingClaim

USDXMintingClaim is for USDX minting rewards

FieldTypeLabelDescription
base_claimBaseClaim
reward_indexesRewardIndexrepeated

Top

kava/incentive/v1beta1/params.proto

MultiRewardPeriod

MultiRewardPeriod supports multiple reward types

FieldTypeLabelDescription
activebool
collateral_typestring
startgoogle.protobuf.Timestamp
endgoogle.protobuf.Timestamp
rewards_per_secondcosmos.base.v1beta1.Coinrepeated

Multiplier

Multiplier amount the claim rewards get increased by, along with how long the claim rewards are locked

FieldTypeLabelDescription
namestring
months_lockupint64
factorbytes

MultipliersPerDenom

MultipliersPerDenom is a map of denoms to a set of multipliers

FieldTypeLabelDescription
denomstring
multipliersMultiplierrepeated

Params

Params

FieldTypeLabelDescription
usdx_minting_reward_periodsRewardPeriodrepeated
hard_supply_reward_periodsMultiRewardPeriodrepeated
hard_borrow_reward_periodsMultiRewardPeriodrepeated
delegator_reward_periodsMultiRewardPeriodrepeated
swap_reward_periodsMultiRewardPeriodrepeated
claim_multipliersMultipliersPerDenomrepeated
claim_endgoogle.protobuf.Timestamp

RewardPeriod

RewardPeriod stores the state of an ongoing reward

FieldTypeLabelDescription
activebool
collateral_typestring
startgoogle.protobuf.Timestamp
endgoogle.protobuf.Timestamp
rewards_per_secondcosmos.base.v1beta1.Coin

Top

kava/incentive/v1beta1/genesis.proto

AccumulationTime

AccumulationTime stores the previous reward distribution time and its corresponding collateral type

FieldTypeLabelDescription
collateral_typestring
previous_accumulation_timegoogle.protobuf.Timestamp

GenesisRewardState

GenesisRewardState groups together the global state for a particular reward so it can be exported in genesis.

FieldTypeLabelDescription
accumulation_timesAccumulationTimerepeated
multi_reward_indexesMultiRewardIndexrepeated

GenesisState

GenesisState is the state that must be provided at genesis.

FieldTypeLabelDescription
paramsParams
usdx_reward_stateGenesisRewardState
hard_supply_reward_stateGenesisRewardState
hard_borrow_reward_stateGenesisRewardState
delegator_reward_stateGenesisRewardState
swap_reward_stateGenesisRewardState
usdx_minting_claimsUSDXMintingClaimrepeated
hard_liquidity_provider_claimsHardLiquidityProviderClaimrepeated
delegator_claimsDelegatorClaimrepeated
swap_claimsSwapClaimrepeated

Top

kava/incentive/v1beta1/tx.proto

MsgClaimDelegatorReward

MsgClaimDelegatorReward message type used to claim delegator rewards

FieldTypeLabelDescription
senderstring
denoms_to_claimSelectionrepeated

MsgClaimDelegatorRewardResponse

MsgClaimDelegatorRewardResponse defines the Msg/ClaimDelegatorReward response type.

MsgClaimHardReward

MsgClaimHardReward message type used to claim Hard liquidity provider rewards

FieldTypeLabelDescription
senderstring
denoms_to_claimSelectionrepeated

MsgClaimHardRewardResponse

MsgClaimHardRewardResponse defines the Msg/ClaimHardReward response type.

MsgClaimSwapReward

MsgClaimSwapReward message type used to claim delegator rewards

FieldTypeLabelDescription
senderstring
denoms_to_claimSelectionrepeated

MsgClaimSwapRewardResponse

MsgClaimSwapRewardResponse defines the Msg/ClaimSwapReward response type.

MsgClaimUSDXMintingReward

MsgClaimUSDXMintingReward message type used to claim USDX minting rewards

FieldTypeLabelDescription
senderstring
multiplier_namestring

MsgClaimUSDXMintingRewardResponse

MsgClaimUSDXMintingRewardResponse defines the Msg/ClaimUSDXMintingReward response type.

Selection

Selection is a pair of denom and multiplier name. It holds the choice of multiplier a user makes when they claim a denom.

FieldTypeLabelDescription
denomstring
multiplier_namestring

Msg

Msg defines the incentive Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ClaimUSDXMintingRewardMsgClaimUSDXMintingRewardMsgClaimUSDXMintingRewardResponseClaimUSDXMintingReward is a message type used to claim USDX minting rewards
ClaimHardRewardMsgClaimHardRewardMsgClaimHardRewardResponseClaimHardReward is a message type used to claim Hard liquidity provider rewards
ClaimDelegatorRewardMsgClaimDelegatorRewardMsgClaimDelegatorRewardResponseClaimDelegatorReward is a message type used to claim delegator rewards
ClaimSwapRewardMsgClaimSwapRewardMsgClaimSwapRewardResponseClaimSwapReward is a message type used to claim delegator rewards

Top

kava/issuance/v1beta1/genesis.proto

Asset

Asset type for assets in the issuance module

FieldTypeLabelDescription
ownerstring
denomstring
blocked_addressesstringrepeated
pausedbool
blockablebool
rate_limitRateLimit

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)

FieldTypeLabelDescription
current_supplycosmos.base.v1beta1.Coin
time_elapsedgoogle.protobuf.Duration

GenesisState

GenesisState defines the issuance module's genesis state.

FieldTypeLabelDescription
paramsParamsparams defines all the paramaters of the module.
suppliesAssetSupplyrepeated

Params

Params defines the parameters for the issuance module.

FieldTypeLabelDescription
assetsAssetrepeated

RateLimit

RateLimit parameters for rate-limiting the supply of an issued asset

FieldTypeLabelDescription
activebool
limitbytes
time_periodgoogle.protobuf.Duration

Top

kava/issuance/v1beta1/query.proto

QueryParamsRequest

QueryParamsRequest defines the request type for querying x/issuance parameters.

QueryParamsResponse

QueryParamsResponse defines the response type for querying x/issuance parameters.

FieldTypeLabelDescription
paramsParams

Query

Query defines the gRPC querier service for issuance module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries all parameters of the issuance module.GET/kava/issuance/v1beta1/params

Top

kava/issuance/v1beta1/tx.proto

MsgBlockAddress

MsgBlockAddress represents a message used by the issuer to block an address from holding or transferring tokens

FieldTypeLabelDescription
senderstring
denomstring
blocked_addressstring

MsgBlockAddressResponse

MsgBlockAddressResponse defines the Msg/BlockAddress response type.

MsgIssueTokens

MsgIssueTokens represents a message used by the issuer to issue new tokens

FieldTypeLabelDescription
senderstring
tokenscosmos.base.v1beta1.Coin
receiverstring

MsgIssueTokensResponse

MsgIssueTokensResponse defines the Msg/IssueTokens response type.

MsgRedeemTokens

MsgRedeemTokens represents a message used by the issuer to redeem (burn) tokens

FieldTypeLabelDescription
senderstring
tokenscosmos.base.v1beta1.Coin

MsgRedeemTokensResponse

MsgRedeemTokensResponse defines the Msg/RedeemTokens response type.

MsgSetPauseStatus

MsgSetPauseStatus message type used by the issuer to pause or unpause status

FieldTypeLabelDescription
senderstring
denomstring
statusbool

MsgSetPauseStatusResponse

MsgSetPauseStatusResponse defines the Msg/SetPauseStatus response type.

MsgUnblockAddress

MsgUnblockAddress message type used by the issuer to unblock an address from holding or transferring tokens

FieldTypeLabelDescription
senderstring
denomstring
blocked_addressstring

MsgUnblockAddressResponse

MsgUnblockAddressResponse defines the Msg/UnblockAddress response type.

Msg

Msg defines the issuance Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
IssueTokensMsgIssueTokensMsgIssueTokensResponseIssueTokens message type used by the issuer to issue new tokens
RedeemTokensMsgRedeemTokensMsgRedeemTokensResponseRedeemTokens message type used by the issuer to redeem (burn) tokens
BlockAddressMsgBlockAddressMsgBlockAddressResponseBlockAddress message type used by the issuer to block an address from holding or transferring tokens
UnblockAddressMsgUnblockAddressMsgUnblockAddressResponseUnblockAddress message type used by the issuer to unblock an address from holding or transferring tokens
SetPauseStatusMsgSetPauseStatusMsgSetPauseStatusResponseSetPauseStatus message type used to pause or unpause status

Top

kava/kavadist/v1beta1/params.proto

Params

Params governance parameters for kavadist module

FieldTypeLabelDescription
activebool
periodsPeriodrepeated

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

FieldTypeLabelDescription
startgoogle.protobuf.Timestampexample "2020-03-01T15:20:00Z"
endgoogle.protobuf.Timestampexample "2020-06-01T15:20:00Z"
inflationbytesexample "1.000000003022265980" - 10% inflation

Top

kava/kavadist/v1beta1/genesis.proto

GenesisState

GenesisState defines the kavadist module's genesis state.

FieldTypeLabelDescription
paramsParams
previous_block_timegoogle.protobuf.Timestamp

Top

kava/kavadist/v1beta1/proposal.proto

CommunityPoolMultiSpendProposal

CommunityPoolMultiSpendProposal spends from the community pool by sending to one or more addresses

FieldTypeLabelDescription
titlestring
descriptionstring
recipient_listMultiSpendRecipientrepeated

CommunityPoolMultiSpendProposalJSON

CommunityPoolMultiSpendProposalJSON defines a CommunityPoolMultiSpendProposal with a deposit

FieldTypeLabelDescription
titlestring
descriptionstring
recipient_listMultiSpendRecipientrepeated
depositcosmos.base.v1beta1.Coinrepeated

MultiSpendRecipient

MultiSpendRecipient defines a recipient and the amount of coins they are receiving

FieldTypeLabelDescription
addressstring
amountcosmos.base.v1beta1.Coinrepeated

Top

kava/kavadist/v1beta1/query.proto

QueryBalanceRequest

QueryBalanceRequest defines the request type for querying x/kavadist balance.

QueryBalanceResponse

QueryBalanceResponse defines the response type for querying x/kavadist balance.

FieldTypeLabelDescription
coinscosmos.base.v1beta1.Coinrepeated

QueryParamsRequest

QueryParamsRequest defines the request type for querying x/kavadist parameters.

QueryParamsResponse

QueryParamsResponse defines the response type for querying x/kavadist parameters.

FieldTypeLabelDescription
paramsParams

Query

Query defines the gRPC querier service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries the parameters of x/kavadist module.GET/kava/kavadist/v1beta1/parameters
BalanceQueryBalanceRequestQueryBalanceResponseBalance queries the balance of all coins of x/kavadist module.GET/kava/kavadist/v1beta1/balance

Top

kava/pricefeed/v1beta1/store.proto

CurrentPrice

CurrentPrice defines a current price for a particular market in the pricefeed module.

FieldTypeLabelDescription
market_idstring
pricestring

Market

Market defines an asset in the pricefeed.

FieldTypeLabelDescription
market_idstring
base_assetstring
quote_assetstring
oraclesbytesrepeated
activebool

Params

Params defines the parameters for the pricefeed module.

FieldTypeLabelDescription
marketsMarketrepeated

PostedPrice

PostedPrice defines a price for market posted by a specific oracle.

FieldTypeLabelDescription
market_idstring
oracle_addressbytes
pricestring
expirygoogle.protobuf.Timestamp

Top

kava/pricefeed/v1beta1/genesis.proto

GenesisState

GenesisState defines the pricefeed module's genesis state.

FieldTypeLabelDescription
paramsParamsparams defines all the paramaters of the module.
posted_pricesPostedPricerepeated

Top

kava/pricefeed/v1beta1/query.proto

CurrentPriceResponse

CurrentPriceResponse defines a current price for a particular market in the pricefeed module.

FieldTypeLabelDescription
market_idstring
pricestring

MarketResponse

MarketResponse defines an asset in the pricefeed.

FieldTypeLabelDescription
market_idstring
base_assetstring
quote_assetstring
oraclesstringrepeated
activebool

PostedPriceResponse

PostedPriceResponse defines a price for market posted by a specific oracle.

FieldTypeLabelDescription
market_idstring
oracle_addressstring
pricestring
expirygoogle.protobuf.Timestamp

QueryMarketsRequest

QueryMarketsRequest is the request type for the Query/Markets RPC method.

QueryMarketsResponse

QueryMarketsResponse is the response type for the Query/Markets RPC method.

FieldTypeLabelDescription
marketsMarketResponserepeatedList of markets

QueryOraclesRequest

QueryOraclesRequest is the request type for the Query/Oracles RPC method.

FieldTypeLabelDescription
market_idstring

QueryOraclesResponse

QueryOraclesResponse is the response type for the Query/Oracles RPC method.

FieldTypeLabelDescription
oraclesstringrepeatedList of oracle addresses

QueryParamsRequest

QueryParamsRequest defines the request type for querying x/pricefeed parameters.

QueryParamsResponse

QueryParamsResponse defines the response type for querying x/pricefeed parameters.

FieldTypeLabelDescription
paramsParams

QueryPriceRequest

QueryPriceRequest is the request type for the Query/PriceRequest RPC method.

FieldTypeLabelDescription
market_idstring

QueryPriceResponse

QueryPriceResponse is the response type for the Query/Prices RPC method.

FieldTypeLabelDescription
priceCurrentPriceResponse

QueryPricesRequest

QueryPricesRequest is the request type for the Query/Prices RPC method.

QueryPricesResponse

QueryPricesResponse is the response type for the Query/Prices RPC method.

FieldTypeLabelDescription
pricesCurrentPriceResponserepeated

QueryRawPricesRequest

QueryRawPricesRequest is the request type for the Query/RawPrices RPC method.

FieldTypeLabelDescription
market_idstring

QueryRawPricesResponse

QueryRawPricesResponse is the response type for the Query/RawPrices RPC method.

FieldTypeLabelDescription
raw_pricesPostedPriceResponserepeated

Query

Query defines the gRPC querier service for pricefeed module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries all parameters of the pricefeed module.GET/kava/pricefeed/v1beta1/params
PriceQueryPriceRequestQueryPriceResponsePrice queries price details based on a marketGET/kava/pricefeed/v1beta1/prices/{market_id}
PricesQueryPricesRequestQueryPricesResponsePrices queries all pricesGET/kava/pricefeed/v1beta1/prices
RawPricesQueryRawPricesRequestQueryRawPricesResponseRawPrices queries all raw prices based on a marketGET/kava/pricefeed/v1beta1/rawprices/{market_id}
OraclesQueryOraclesRequestQueryOraclesResponseOracles queries all oracles based on a marketGET/kava/pricefeed/v1beta1/oracles/{market_id}
MarketsQueryMarketsRequestQueryMarketsResponseMarkets queries all marketsGET/kava/pricefeed/v1beta1/markets

Top

kava/pricefeed/v1beta1/tx.proto

MsgPostPrice

MsgPostPrice represents a method for creating a new post price

FieldTypeLabelDescription
fromstringaddress of client
market_idstring
pricestring
expirygoogle.protobuf.Timestamp

MsgPostPriceResponse

MsgPostPriceResponse defines the Msg/PostPrice response type.

Msg

Msg defines the pricefeed Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
PostPriceMsgPostPriceMsgPostPriceResponsePostPrice defines a method for creating a new post price

Top

kava/swap/v1beta1/swap.proto

AllowedPool

AllowedPool defines a pool that is allowed to be created

FieldTypeLabelDescription
token_astringtoken_a represents the a token allowed
token_bstringtoken_b represents the b token allowed

Params

Params defines the parameters for the swap module.

FieldTypeLabelDescription
allowed_poolsAllowedPoolrepeatedallowed_pools defines that pools that are allowed to be created
swap_feestringswap_fee defines the swap fee for all pools

PoolRecord

PoolRecord represents the state of a liquidity pool and is used to store the state of a denominated pool

FieldTypeLabelDescription
pool_idstringpool_id represents the unique id of the pool
reserves_acosmos.base.v1beta1.Coinreserves_a is the a token coin reserves
reserves_bcosmos.base.v1beta1.Coinreserves_b is the a token coin reserves
total_sharesstringtotal_shares is the total distrubuted shares of the pool

ShareRecord

ShareRecord stores the shares owned for a depositor and pool

FieldTypeLabelDescription
depositorbytesdepositor represents the owner of the shares
pool_idstringpool_id represents the pool the shares belong to
shares_ownedstringshares_owned represents the number of shares owned by depsoitor for the pool_id

Top

kava/swap/v1beta1/genesis.proto

GenesisState

GenesisState defines the swap module's genesis state.

FieldTypeLabelDescription
paramsParamsparams defines all the paramaters related to swap
pool_recordsPoolRecordrepeatedpool_records defines the available pools
share_recordsShareRecordrepeatedshare_records defines the owned shares of each pool

Top

kava/swap/v1beta1/query.proto

DepositResponse

DepositResponse defines a single deposit query response type.

FieldTypeLabelDescription
depositorstringdepositor represents the owner of the deposit
pool_idstringpool_id represents the pool the deposit is for
shares_ownedstringshares_owned presents the shares owned by the depositor for the pool
shares_valuecosmos.base.v1beta1.Coinrepeatedshares_value represents the coin value of the shares_owned

PoolResponse

Pool represents the state of a single pool

FieldTypeLabelDescription
namestringname represents the name of the pool
coinscosmos.base.v1beta1.Coinrepeatedcoins represents the total reserves of the pool
total_sharesstringtotal_shares represents the total shares of the pool

QueryDepositsRequest

QueryDepositsRequest is the request type for the Query/Deposits RPC method.

FieldTypeLabelDescription
ownerstringowner optionally filters deposits by owner
pool_idstringpool_id optionally fitlers deposits by pool id
paginationcosmos.base.query.v1beta1.PageRequestpagination defines an optional pagination for the request.

QueryDepositsResponse

QueryDepositsResponse is the response type for the Query/Deposits RPC method.

FieldTypeLabelDescription
depositsDepositResponserepeateddeposits returns the deposits matching the requested parameters
paginationcosmos.base.query.v1beta1.PageResponsepagination defines the pagination in the response.

QueryParamsRequest

QueryParamsRequest defines the request type for querying x/swap parameters.

QueryParamsResponse

QueryParamsResponse defines the response type for querying x/swap parameters.

FieldTypeLabelDescription
paramsParamsparams represents the swap module parameters

QueryPoolsRequest

QueryPoolsRequest is the request type for the Query/Pools RPC method.

FieldTypeLabelDescription
pool_idstringpool_id filters pools by id
paginationcosmos.base.query.v1beta1.PageRequestpagination defines an optional pagination for the request.

QueryPoolsResponse

QueryPoolsResponse is the response type for the Query/Pools RPC method.

FieldTypeLabelDescription
poolsPoolResponserepeatedpools represents returned pools
paginationcosmos.base.query.v1beta1.PageResponsepagination defines the pagination in the response.

Query

Query defines the gRPC querier service for swap module

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
ParamsQueryParamsRequestQueryParamsResponseParams queries all parameters of the swap module.GET/kava/swap/v1beta1/params
PoolsQueryPoolsRequestQueryPoolsResponsePools queries pools based on pool IDGET/kava/swap/v1beta1/pools
DepositsQueryDepositsRequestQueryDepositsResponseDeposits queries deposit details based on owner address and poolGET/kava/swap/v1beta1/deposits

Top

kava/swap/v1beta1/tx.proto

MsgDeposit

MsgDeposit represents a message for depositing liquidity into a pool

FieldTypeLabelDescription
depositorstringdepositor represents the address to deposit funds from
token_acosmos.base.v1beta1.Cointoken_a represents one token of deposit pair
token_bcosmos.base.v1beta1.Cointoken_b represents one token of deposit pair
slippagestringslippage represents the max decimal percentage price change
deadlineint64deadline represents the unix timestamp to complete the deposit by

MsgDepositResponse

MsgDepositResponse defines the Msg/Deposit response type.

MsgSwapExactForTokens

MsgSwapExactForTokens represents a message for trading exact coinA for coinB

FieldTypeLabelDescription
requesterstringrepresents the address swaping the tokens
exact_token_acosmos.base.v1beta1.Coinexact_token_a represents the exact amount to swap for token_b
token_bcosmos.base.v1beta1.Cointoken_b represents the desired token_b to swap for
slippagestringslippage represents the maximum change in token_b allowed
deadlineint64deadline represents the unix timestamp to complete the swap by

MsgSwapExactForTokensResponse

MsgSwapExactForTokensResponse defines the Msg/SwapExactForTokens response type.

MsgSwapForExactTokens

MsgSwapForExactTokens represents a message for trading coinA for an exact coinB

FieldTypeLabelDescription
requesterstringrepresents the address swaping the tokens
token_acosmos.base.v1beta1.Cointoken_a represents the desired token_a to swap for
exact_token_bcosmos.base.v1beta1.Coinexact_token_b represents the exact token b amount to swap for token a
slippagestringslippage represents the maximum change in token_a allowed
deadlineint64deadline represents the unix timestamp to complete the swap by

MsgSwapForExactTokensResponse

MsgSwapForExactTokensResponse defines the Msg/SwapForExactTokensResponse response type.

MsgWithdraw

MsgWithdraw represents a message for withdrawing liquidity from a pool

FieldTypeLabelDescription
fromstringfrom represents the address we are withdrawing for
sharesstringshares represents the amount of shares to withdraw
min_token_acosmos.base.v1beta1.Coinmin_token_a represents the minimum a token to withdraw
min_token_bcosmos.base.v1beta1.Coinmin_token_a represents the minimum a token to withdraw
deadlineint64deadline represents the unix timestamp to complete the withdraw by

MsgWithdrawResponse

MsgWithdrawResponse defines the Msg/Withdraw response type.

Msg

Msg defines the swap Msg service.

Method NameRequest TypeResponse TypeDescriptionHTTP VerbEndpoint
DepositMsgDepositMsgDepositResponseDeposit defines a method for depositing liquidity into a pool
WithdrawMsgWithdrawMsgWithdrawResponseWithdraw defines a method for withdrawing liquidity into a pool
SwapExactForTokensMsgSwapExactForTokensMsgSwapExactForTokensResponseSwapExactForTokens represents a message for trading exact coinA for coinB
SwapForExactTokensMsgSwapForExactTokensMsgSwapForExactTokensResponseSwapForExactTokens represents a message for trading coinA for an exact coinB

Scalar Value Types

.proto TypeNotesC++JavaPythonGoC#PHPRuby
doubledoubledoublefloatfloat64doublefloatFloat
floatfloatfloatfloatfloat32floatfloatFloat
int32Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint32 instead.int32intintint32intintegerBignum or Fixnum (as required)
int64Uses variable-length encoding. Inefficient for encoding negative numbers – if your field is likely to have negative values, use sint64 instead.int64longint/longint64longinteger/stringBignum
uint32Uses variable-length encoding.uint32intint/longuint32uintintegerBignum or Fixnum (as required)
uint64Uses variable-length encoding.uint64longint/longuint64ulonginteger/stringBignum or Fixnum (as required)
sint32Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s.int32intintint32intintegerBignum or Fixnum (as required)
sint64Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s.int64longint/longint64longinteger/stringBignum
fixed32Always four bytes. More efficient than uint32 if values are often greater than 2^28.uint32intintuint32uintintegerBignum or Fixnum (as required)
fixed64Always eight bytes. More efficient than uint64 if values are often greater than 2^56.uint64longint/longuint64ulonginteger/stringBignum
sfixed32Always four bytes.int32intintint32intintegerBignum or Fixnum (as required)
sfixed64Always eight bytes.int64longint/longint64longinteger/stringBignum
boolboolbooleanbooleanboolboolbooleanTrueClass/FalseClass
stringA string must always contain UTF-8 encoded or 7-bit ASCII text.stringStringstr/unicodestringstringstringString (UTF-8)
bytesMay contain any arbitrary sequence of bytes.stringByteStringstr[]byteByteStringstringString (ASCII-8BIT)