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)