0g-chain/docs/core/proto-docs.md

5134 lines
146 KiB
Markdown
Raw Normal View History

<!-- This file is auto-generated. Please do not modify it yourself. -->
# Protobuf Documentation
<a name="top"></a>
## Table of Contents
2024-08-02 10:34:24 +00:00
- [crypto/vrf/keys.proto](#crypto/vrf/keys.proto)
- [PrivKey](#crypto.vrf.PrivKey)
- [PubKey](#crypto.vrf.PubKey)
- [zgc/bep3/v1beta1/bep3.proto](#zgc/bep3/v1beta1/bep3.proto)
- [AssetParam](#zgc.bep3.v1beta1.AssetParam)
- [AssetSupply](#zgc.bep3.v1beta1.AssetSupply)
- [AtomicSwap](#zgc.bep3.v1beta1.AtomicSwap)
- [Params](#zgc.bep3.v1beta1.Params)
- [SupplyLimit](#zgc.bep3.v1beta1.SupplyLimit)
- [SwapDirection](#zgc.bep3.v1beta1.SwapDirection)
- [SwapStatus](#zgc.bep3.v1beta1.SwapStatus)
- [zgc/bep3/v1beta1/genesis.proto](#zgc/bep3/v1beta1/genesis.proto)
- [GenesisState](#zgc.bep3.v1beta1.GenesisState)
- [zgc/bep3/v1beta1/query.proto](#zgc/bep3/v1beta1/query.proto)
- [AssetSupplyResponse](#zgc.bep3.v1beta1.AssetSupplyResponse)
- [AtomicSwapResponse](#zgc.bep3.v1beta1.AtomicSwapResponse)
- [QueryAssetSuppliesRequest](#zgc.bep3.v1beta1.QueryAssetSuppliesRequest)
- [QueryAssetSuppliesResponse](#zgc.bep3.v1beta1.QueryAssetSuppliesResponse)
- [QueryAssetSupplyRequest](#zgc.bep3.v1beta1.QueryAssetSupplyRequest)
- [QueryAssetSupplyResponse](#zgc.bep3.v1beta1.QueryAssetSupplyResponse)
- [QueryAtomicSwapRequest](#zgc.bep3.v1beta1.QueryAtomicSwapRequest)
- [QueryAtomicSwapResponse](#zgc.bep3.v1beta1.QueryAtomicSwapResponse)
- [QueryAtomicSwapsRequest](#zgc.bep3.v1beta1.QueryAtomicSwapsRequest)
- [QueryAtomicSwapsResponse](#zgc.bep3.v1beta1.QueryAtomicSwapsResponse)
- [QueryParamsRequest](#zgc.bep3.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#zgc.bep3.v1beta1.QueryParamsResponse)
- [Query](#zgc.bep3.v1beta1.Query)
- [zgc/bep3/v1beta1/tx.proto](#zgc/bep3/v1beta1/tx.proto)
- [MsgClaimAtomicSwap](#zgc.bep3.v1beta1.MsgClaimAtomicSwap)
- [MsgClaimAtomicSwapResponse](#zgc.bep3.v1beta1.MsgClaimAtomicSwapResponse)
- [MsgCreateAtomicSwap](#zgc.bep3.v1beta1.MsgCreateAtomicSwap)
- [MsgCreateAtomicSwapResponse](#zgc.bep3.v1beta1.MsgCreateAtomicSwapResponse)
- [MsgRefundAtomicSwap](#zgc.bep3.v1beta1.MsgRefundAtomicSwap)
- [MsgRefundAtomicSwapResponse](#zgc.bep3.v1beta1.MsgRefundAtomicSwapResponse)
- [Msg](#zgc.bep3.v1beta1.Msg)
- [zgc/committee/v1beta1/committee.proto](#zgc/committee/v1beta1/committee.proto)
- [BaseCommittee](#zgc.committee.v1beta1.BaseCommittee)
- [MemberCommittee](#zgc.committee.v1beta1.MemberCommittee)
- [TokenCommittee](#zgc.committee.v1beta1.TokenCommittee)
- [TallyOption](#zgc.committee.v1beta1.TallyOption)
- [zgc/committee/v1beta1/genesis.proto](#zgc/committee/v1beta1/genesis.proto)
- [GenesisState](#zgc.committee.v1beta1.GenesisState)
- [Proposal](#zgc.committee.v1beta1.Proposal)
- [Vote](#zgc.committee.v1beta1.Vote)
- [VoteType](#zgc.committee.v1beta1.VoteType)
- [zgc/committee/v1beta1/permissions.proto](#zgc/committee/v1beta1/permissions.proto)
- [AllowedParamsChange](#zgc.committee.v1beta1.AllowedParamsChange)
- [CommunityCDPRepayDebtPermission](#zgc.committee.v1beta1.CommunityCDPRepayDebtPermission)
- [CommunityCDPWithdrawCollateralPermission](#zgc.committee.v1beta1.CommunityCDPWithdrawCollateralPermission)
- [CommunityPoolLendWithdrawPermission](#zgc.committee.v1beta1.CommunityPoolLendWithdrawPermission)
- [GodPermission](#zgc.committee.v1beta1.GodPermission)
- [ParamsChangePermission](#zgc.committee.v1beta1.ParamsChangePermission)
- [SoftwareUpgradePermission](#zgc.committee.v1beta1.SoftwareUpgradePermission)
- [SubparamRequirement](#zgc.committee.v1beta1.SubparamRequirement)
- [TextPermission](#zgc.committee.v1beta1.TextPermission)
- [zgc/committee/v1beta1/proposal.proto](#zgc/committee/v1beta1/proposal.proto)
- [CommitteeChangeProposal](#zgc.committee.v1beta1.CommitteeChangeProposal)
- [CommitteeDeleteProposal](#zgc.committee.v1beta1.CommitteeDeleteProposal)
- [zgc/committee/v1beta1/query.proto](#zgc/committee/v1beta1/query.proto)
- [QueryCommitteeRequest](#zgc.committee.v1beta1.QueryCommitteeRequest)
- [QueryCommitteeResponse](#zgc.committee.v1beta1.QueryCommitteeResponse)
- [QueryCommitteesRequest](#zgc.committee.v1beta1.QueryCommitteesRequest)
- [QueryCommitteesResponse](#zgc.committee.v1beta1.QueryCommitteesResponse)
- [QueryNextProposalIDRequest](#zgc.committee.v1beta1.QueryNextProposalIDRequest)
- [QueryNextProposalIDResponse](#zgc.committee.v1beta1.QueryNextProposalIDResponse)
- [QueryProposalRequest](#zgc.committee.v1beta1.QueryProposalRequest)
- [QueryProposalResponse](#zgc.committee.v1beta1.QueryProposalResponse)
- [QueryProposalsRequest](#zgc.committee.v1beta1.QueryProposalsRequest)
- [QueryProposalsResponse](#zgc.committee.v1beta1.QueryProposalsResponse)
- [QueryRawParamsRequest](#zgc.committee.v1beta1.QueryRawParamsRequest)
- [QueryRawParamsResponse](#zgc.committee.v1beta1.QueryRawParamsResponse)
- [QueryTallyRequest](#zgc.committee.v1beta1.QueryTallyRequest)
- [QueryTallyResponse](#zgc.committee.v1beta1.QueryTallyResponse)
- [QueryVoteRequest](#zgc.committee.v1beta1.QueryVoteRequest)
- [QueryVoteResponse](#zgc.committee.v1beta1.QueryVoteResponse)
- [QueryVotesRequest](#zgc.committee.v1beta1.QueryVotesRequest)
- [QueryVotesResponse](#zgc.committee.v1beta1.QueryVotesResponse)
- [Query](#zgc.committee.v1beta1.Query)
- [zgc/committee/v1beta1/tx.proto](#zgc/committee/v1beta1/tx.proto)
- [MsgSubmitProposal](#zgc.committee.v1beta1.MsgSubmitProposal)
- [MsgSubmitProposalResponse](#zgc.committee.v1beta1.MsgSubmitProposalResponse)
- [MsgVote](#zgc.committee.v1beta1.MsgVote)
- [MsgVoteResponse](#zgc.committee.v1beta1.MsgVoteResponse)
- [Msg](#zgc.committee.v1beta1.Msg)
- [zgc/council/v1/genesis.proto](#zgc/council/v1/genesis.proto)
- [Ballot](#zgc.council.v1.Ballot)
- [Council](#zgc.council.v1.Council)
- [GenesisState](#zgc.council.v1.GenesisState)
- [Params](#zgc.council.v1.Params)
- [Vote](#zgc.council.v1.Vote)
- [zgc/council/v1/query.proto](#zgc/council/v1/query.proto)
- [QueryCurrentCouncilIDRequest](#zgc.council.v1.QueryCurrentCouncilIDRequest)
- [QueryCurrentCouncilIDResponse](#zgc.council.v1.QueryCurrentCouncilIDResponse)
- [QueryRegisteredVotersRequest](#zgc.council.v1.QueryRegisteredVotersRequest)
- [QueryRegisteredVotersResponse](#zgc.council.v1.QueryRegisteredVotersResponse)
- [Query](#zgc.council.v1.Query)
- [zgc/council/v1/tx.proto](#zgc/council/v1/tx.proto)
- [MsgRegister](#zgc.council.v1.MsgRegister)
- [MsgRegisterResponse](#zgc.council.v1.MsgRegisterResponse)
- [MsgVote](#zgc.council.v1.MsgVote)
- [MsgVoteResponse](#zgc.council.v1.MsgVoteResponse)
- [Msg](#zgc.council.v1.Msg)
- [zgc/dasigners/v1/dasigners.proto](#zgc/dasigners/v1/dasigners.proto)
- [Quorum](#zgc.dasigners.v1.Quorum)
- [Quorums](#zgc.dasigners.v1.Quorums)
- [Signer](#zgc.dasigners.v1.Signer)
- [zgc/dasigners/v1/genesis.proto](#zgc/dasigners/v1/genesis.proto)
- [GenesisState](#zgc.dasigners.v1.GenesisState)
- [Params](#zgc.dasigners.v1.Params)
- [zgc/dasigners/v1/query.proto](#zgc/dasigners/v1/query.proto)
- [QueryAggregatePubkeyG1Request](#zgc.dasigners.v1.QueryAggregatePubkeyG1Request)
- [QueryAggregatePubkeyG1Response](#zgc.dasigners.v1.QueryAggregatePubkeyG1Response)
- [QueryEpochNumberRequest](#zgc.dasigners.v1.QueryEpochNumberRequest)
- [QueryEpochNumberResponse](#zgc.dasigners.v1.QueryEpochNumberResponse)
- [QueryEpochQuorumRequest](#zgc.dasigners.v1.QueryEpochQuorumRequest)
- [QueryEpochQuorumResponse](#zgc.dasigners.v1.QueryEpochQuorumResponse)
- [QueryEpochQuorumRowRequest](#zgc.dasigners.v1.QueryEpochQuorumRowRequest)
- [QueryEpochQuorumRowResponse](#zgc.dasigners.v1.QueryEpochQuorumRowResponse)
- [QueryQuorumCountRequest](#zgc.dasigners.v1.QueryQuorumCountRequest)
- [QueryQuorumCountResponse](#zgc.dasigners.v1.QueryQuorumCountResponse)
- [QuerySignerRequest](#zgc.dasigners.v1.QuerySignerRequest)
- [QuerySignerResponse](#zgc.dasigners.v1.QuerySignerResponse)
- [Query](#zgc.dasigners.v1.Query)
- [zgc/dasigners/v1/tx.proto](#zgc/dasigners/v1/tx.proto)
- [MsgRegisterNextEpoch](#zgc.dasigners.v1.MsgRegisterNextEpoch)
- [MsgRegisterNextEpochResponse](#zgc.dasigners.v1.MsgRegisterNextEpochResponse)
- [MsgRegisterSigner](#zgc.dasigners.v1.MsgRegisterSigner)
- [MsgRegisterSignerResponse](#zgc.dasigners.v1.MsgRegisterSignerResponse)
- [MsgUpdateSocket](#zgc.dasigners.v1.MsgUpdateSocket)
- [MsgUpdateSocketResponse](#zgc.dasigners.v1.MsgUpdateSocketResponse)
- [Msg](#zgc.dasigners.v1.Msg)
- [zgc/evmutil/v1beta1/conversion_pair.proto](#zgc/evmutil/v1beta1/conversion_pair.proto)
- [AllowedCosmosCoinERC20Token](#zgc.evmutil.v1beta1.AllowedCosmosCoinERC20Token)
- [ConversionPair](#zgc.evmutil.v1beta1.ConversionPair)
- [zgc/evmutil/v1beta1/genesis.proto](#zgc/evmutil/v1beta1/genesis.proto)
- [Account](#zgc.evmutil.v1beta1.Account)
- [GenesisState](#zgc.evmutil.v1beta1.GenesisState)
- [Params](#zgc.evmutil.v1beta1.Params)
- [zgc/evmutil/v1beta1/query.proto](#zgc/evmutil/v1beta1/query.proto)
- [DeployedCosmosCoinContract](#zgc.evmutil.v1beta1.DeployedCosmosCoinContract)
- [QueryDeployedCosmosCoinContractsRequest](#zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest)
- [QueryDeployedCosmosCoinContractsResponse](#zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse)
- [QueryParamsRequest](#zgc.evmutil.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#zgc.evmutil.v1beta1.QueryParamsResponse)
- [Query](#zgc.evmutil.v1beta1.Query)
- [zgc/evmutil/v1beta1/tx.proto](#zgc/evmutil/v1beta1/tx.proto)
- [MsgConvertCoinToERC20](#zgc.evmutil.v1beta1.MsgConvertCoinToERC20)
- [MsgConvertCoinToERC20Response](#zgc.evmutil.v1beta1.MsgConvertCoinToERC20Response)
- [MsgConvertCosmosCoinFromERC20](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20)
- [MsgConvertCosmosCoinFromERC20Response](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response)
- [MsgConvertCosmosCoinToERC20](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20)
- [MsgConvertCosmosCoinToERC20Response](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response)
- [MsgConvertERC20ToCoin](#zgc.evmutil.v1beta1.MsgConvertERC20ToCoin)
- [MsgConvertERC20ToCoinResponse](#zgc.evmutil.v1beta1.MsgConvertERC20ToCoinResponse)
- [Msg](#zgc.evmutil.v1beta1.Msg)
- [zgc/issuance/v1beta1/genesis.proto](#zgc/issuance/v1beta1/genesis.proto)
- [Asset](#zgc.issuance.v1beta1.Asset)
- [AssetSupply](#zgc.issuance.v1beta1.AssetSupply)
- [GenesisState](#zgc.issuance.v1beta1.GenesisState)
- [Params](#zgc.issuance.v1beta1.Params)
- [RateLimit](#zgc.issuance.v1beta1.RateLimit)
- [zgc/issuance/v1beta1/query.proto](#zgc/issuance/v1beta1/query.proto)
- [QueryParamsRequest](#zgc.issuance.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#zgc.issuance.v1beta1.QueryParamsResponse)
- [Query](#zgc.issuance.v1beta1.Query)
- [zgc/issuance/v1beta1/tx.proto](#zgc/issuance/v1beta1/tx.proto)
- [MsgBlockAddress](#zgc.issuance.v1beta1.MsgBlockAddress)
- [MsgBlockAddressResponse](#zgc.issuance.v1beta1.MsgBlockAddressResponse)
- [MsgIssueTokens](#zgc.issuance.v1beta1.MsgIssueTokens)
- [MsgIssueTokensResponse](#zgc.issuance.v1beta1.MsgIssueTokensResponse)
- [MsgRedeemTokens](#zgc.issuance.v1beta1.MsgRedeemTokens)
- [MsgRedeemTokensResponse](#zgc.issuance.v1beta1.MsgRedeemTokensResponse)
- [MsgSetPauseStatus](#zgc.issuance.v1beta1.MsgSetPauseStatus)
- [MsgSetPauseStatusResponse](#zgc.issuance.v1beta1.MsgSetPauseStatusResponse)
- [MsgUnblockAddress](#zgc.issuance.v1beta1.MsgUnblockAddress)
- [MsgUnblockAddressResponse](#zgc.issuance.v1beta1.MsgUnblockAddressResponse)
- [Msg](#zgc.issuance.v1beta1.Msg)
- [zgc/pricefeed/v1beta1/store.proto](#zgc/pricefeed/v1beta1/store.proto)
- [CurrentPrice](#zgc.pricefeed.v1beta1.CurrentPrice)
- [Market](#zgc.pricefeed.v1beta1.Market)
- [Params](#zgc.pricefeed.v1beta1.Params)
- [PostedPrice](#zgc.pricefeed.v1beta1.PostedPrice)
- [zgc/pricefeed/v1beta1/genesis.proto](#zgc/pricefeed/v1beta1/genesis.proto)
- [GenesisState](#zgc.pricefeed.v1beta1.GenesisState)
- [zgc/pricefeed/v1beta1/query.proto](#zgc/pricefeed/v1beta1/query.proto)
- [CurrentPriceResponse](#zgc.pricefeed.v1beta1.CurrentPriceResponse)
- [MarketResponse](#zgc.pricefeed.v1beta1.MarketResponse)
- [PostedPriceResponse](#zgc.pricefeed.v1beta1.PostedPriceResponse)
- [QueryMarketsRequest](#zgc.pricefeed.v1beta1.QueryMarketsRequest)
- [QueryMarketsResponse](#zgc.pricefeed.v1beta1.QueryMarketsResponse)
- [QueryOraclesRequest](#zgc.pricefeed.v1beta1.QueryOraclesRequest)
- [QueryOraclesResponse](#zgc.pricefeed.v1beta1.QueryOraclesResponse)
- [QueryParamsRequest](#zgc.pricefeed.v1beta1.QueryParamsRequest)
- [QueryParamsResponse](#zgc.pricefeed.v1beta1.QueryParamsResponse)
- [QueryPriceRequest](#zgc.pricefeed.v1beta1.QueryPriceRequest)
- [QueryPriceResponse](#zgc.pricefeed.v1beta1.QueryPriceResponse)
- [QueryPricesRequest](#zgc.pricefeed.v1beta1.QueryPricesRequest)
- [QueryPricesResponse](#zgc.pricefeed.v1beta1.QueryPricesResponse)
- [QueryRawPricesRequest](#zgc.pricefeed.v1beta1.QueryRawPricesRequest)
- [QueryRawPricesResponse](#zgc.pricefeed.v1beta1.QueryRawPricesResponse)
- [Query](#zgc.pricefeed.v1beta1.Query)
- [zgc/pricefeed/v1beta1/tx.proto](#zgc/pricefeed/v1beta1/tx.proto)
- [MsgPostPrice](#zgc.pricefeed.v1beta1.MsgPostPrice)
- [MsgPostPriceResponse](#zgc.pricefeed.v1beta1.MsgPostPriceResponse)
- [Msg](#zgc.pricefeed.v1beta1.Msg)
2024-08-02 10:34:24 +00:00
- [kava/validatorvesting/v1beta1/query.proto](#kava/validatorvesting/v1beta1/query.proto)
- [QueryCirculatingSupplyHARDRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest)
- [QueryCirculatingSupplyHARDResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse)
- [QueryCirculatingSupplyRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyRequest)
- [QueryCirculatingSupplyResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyResponse)
- [QueryCirculatingSupplySWPRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest)
- [QueryCirculatingSupplySWPResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse)
- [QueryCirculatingSupplyUSDXRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest)
- [QueryCirculatingSupplyUSDXResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse)
- [QueryTotalSupplyHARDRequest](#kava.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest)
- [QueryTotalSupplyHARDResponse](#kava.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse)
- [QueryTotalSupplyRequest](#kava.validatorvesting.v1beta1.QueryTotalSupplyRequest)
- [QueryTotalSupplyResponse](#kava.validatorvesting.v1beta1.QueryTotalSupplyResponse)
- [QueryTotalSupplyUSDXRequest](#kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest)
- [QueryTotalSupplyUSDXResponse](#kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse)
- [Query](#kava.validatorvesting.v1beta1.Query)
- [Scalar Value Types](#scalar-value-types)
2024-08-02 10:34:24 +00:00
<a name="crypto/vrf/keys.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## crypto/vrf/keys.proto
Copyright Tharsis Labs Ltd.(Evmos)
SPDX-License-Identifier:ENCL-1.0(https://github.com/evmos/evmos/blob/main/LICENSE)
2024-08-02 10:34:24 +00:00
<a name="crypto.vrf.PrivKey"></a>
2024-08-02 10:34:24 +00:00
### PrivKey
PrivKey defines a type alias for an vrf.PrivateKey that implements
Vrf's PrivateKey interface.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `key` | [bytes](#bytes) | | key is the private key in byte form |
2024-08-02 10:34:24 +00:00
<a name="crypto.vrf.PubKey"></a>
2024-08-02 10:34:24 +00:00
### PubKey
PubKey defines a type alias for an vrf.PublicKey that implements
Vrf's PubKey interface. It represents the 32-byte compressed public
key format.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `key` | [bytes](#bytes) | | key is the public key in byte form |
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 21:24:35 +00:00
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/bep3/v1beta1/bep3.proto"></a>
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 21:24:35 +00:00
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/bep3/v1beta1/bep3.proto
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 21:24:35 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.AssetParam"></a>
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 21:24:35 +00:00
2024-08-02 10:34:24 +00:00
### AssetParam
AssetParam defines parameters for each bep3 asset.
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 21:24:35 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `denom` | [string](#string) | | denom represents the denominatin for this asset |
| `coin_id` | [int64](#int64) | | coin_id represents the registered coin type to use (https://github.com/satoshilabs/slips/blob/master/slip-0044.md) |
| `supply_limit` | [SupplyLimit](#zgc.bep3.v1beta1.SupplyLimit) | | supply_limit defines the maximum supply allowed for the asset - a total or time based rate limit |
| `active` | [bool](#bool) | | active specifies if the asset is live or paused |
| `deputy_address` | [bytes](#bytes) | | deputy_address the 0g-chain address of the deputy |
| `fixed_fee` | [string](#string) | | fixed_fee defines the fee for incoming swaps |
| `min_swap_amount` | [string](#string) | | min_swap_amount defines the minimum amount able to be swapped in a single message |
| `max_swap_amount` | [string](#string) | | max_swap_amount defines the maximum amount able to be swapped in a single message |
| `min_block_lock` | [uint64](#uint64) | | min_block_lock defined the minimum blocks to lock |
| `max_block_lock` | [uint64](#uint64) | | min_block_lock defined the maximum blocks to lock |
add x/kavamint & x/community modules (#1400) * add `x/kavamint` module (#1376) * stub out the x/kavamint module * mint staking rewards in x/kavamint BeginBlocker * calculate cumulative inflation from x/kavamint * cleanup, abstract bond denom, grpc query tests * store & use previous block time to calculate mints * move test suite to testutil * add test of x/kavamint BeginBlocker * cleanup & comments from @DracoLi review * fix x/incentive integration test * remove rest client grpc test * add x/kavamint module spec * track previous block time in genesis * suggested cleanup from PR review * bugfix incorrect module account check * add x/community module (#1388) * add x/community module * refactor and setup fund-community-pool tx * remove unused features (params, genesis state) * test x/community query and message * update with master branch deps * updates from review * indicate deprecated methods on module (still needed to fulfill interface) * remove legacy querier * derive msg Route() and Type() from sdk.MsgTypeURL(&msg) * use module name for message Route() * mint community pool inflation in x/kavamint (#1389) * mint community pool inflation in x/kavamint * refactor x/kavamint abci inflation test * test inflation from x/kavamint * default kavamint rates to 0% * rename kavamint account name variables * panic if genesis kavamint previous block time not set * emit event on kavamint begin blocker * add kavamint year of inflation sanity check test * update fund_community_pool message event * add x/community spec * refactor inflation accumulation into single func * use new comm pool in kavadist multispend proposal (#1403) the x/community module houses the new community pool. this commit points the CommunityPoolMultiSpendProposal at the new community pool so that multispend proposals can continue to be processed once original fee pool funds are move to x/community * updates from proto lint changes * update earn proposals to use new community pool originally the CommunityPoolDepositProposal & CommunityPoolWithdrawProposal used the vanilla community pool fee pool. this commit updates them both to use the new x/community module account. * spec formatting update * add x/community & x/kavamint to internal testnet genesis * increase test coverage of x/kavamint * increase test coverage of x/community * use string type for sdk.Dec proto fields; disable generation of getters for genesis and params (and other store objects) * follow sdk conventions for params endpoint naming * add kavamint to swagger; update swagger & proto docs * remove legacy querier; touch up module to match others * reduce max minting rate; refactor genesis to allow nil/zero block time; repace proto stringers and remove getters; keep sdk.Dec values strings in protos; increase validation of sdk.Dec values in params; increase coverage; add module account permission checks; ensure import and export of genesis does not change state * fix scaling of rate values -- should be yearly rates * revert key change * fix typo in test name * fix regression in running tests -- rename method Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com>
2022-12-09 21:24:35 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.AssetSupply"></a>
2024-08-02 10:34:24 +00:00
### AssetSupply
AssetSupply defines information about an asset's supply.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `incoming_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | incoming_supply represents the incoming supply of an asset |
| `outgoing_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | outgoing_supply represents the outgoing supply of an asset |
| `current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | current_supply represents the current on-chain supply of an asset |
| `time_limited_current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | time_limited_current_supply represents the time limited current supply of an asset |
| `time_elapsed` | [google.protobuf.Duration](#google.protobuf.Duration) | | time_elapsed represents the time elapsed |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.AtomicSwap"></a>
2024-08-02 10:34:24 +00:00
### AtomicSwap
AtomicSwap defines an atomic swap between chains for the pricefeed module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | amount represents the amount being swapped |
| `random_number_hash` | [bytes](#bytes) | | random_number_hash represents the hash of the random number |
| `expire_height` | [uint64](#uint64) | | expire_height represents the height when the swap expires |
| `timestamp` | [int64](#int64) | | timestamp represents the timestamp of the swap |
| `sender` | [bytes](#bytes) | | sender is the 0g-chain sender of the swap |
| `recipient` | [bytes](#bytes) | | recipient is the 0g-chain recipient of the swap |
| `sender_other_chain` | [string](#string) | | sender_other_chain is the sender on the other chain |
| `recipient_other_chain` | [string](#string) | | recipient_other_chain is the recipient on the other chain |
| `closed_block` | [int64](#int64) | | closed_block is the block when the swap is closed |
| `status` | [SwapStatus](#zgc.bep3.v1beta1.SwapStatus) | | status represents the current status of the swap |
| `cross_chain` | [bool](#bool) | | cross_chain identifies whether the atomic swap is cross chain |
| `direction` | [SwapDirection](#zgc.bep3.v1beta1.SwapDirection) | | direction identifies if the swap is incoming or outgoing |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.Params"></a>
2024-08-02 10:34:24 +00:00
### Params
Params defines the parameters for the bep3 module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `asset_params` | [AssetParam](#zgc.bep3.v1beta1.AssetParam) | repeated | asset_params define the parameters for each bep3 asset |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.SupplyLimit"></a>
2024-08-02 10:34:24 +00:00
### SupplyLimit
SupplyLimit define the absolute and time-based limits for an assets's supply.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `limit` | [string](#string) | | limit defines the total supply allowed |
| `time_limited` | [bool](#bool) | | time_limited enables or disables time based supply limiting |
| `time_period` | [google.protobuf.Duration](#google.protobuf.Duration) | | time_period specifies the duration that time_based_limit is evalulated |
| `time_based_limit` | [string](#string) | | time_based_limit defines the maximum supply that can be swapped within time_period |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.SwapDirection"></a>
2024-08-02 10:34:24 +00:00
### SwapDirection
SwapDirection is the direction of an AtomicSwap
2024-08-02 10:34:24 +00:00
| Name | Number | Description |
| ---- | ------ | ----------- |
| SWAP_DIRECTION_UNSPECIFIED | 0 | SWAP_DIRECTION_UNSPECIFIED represents unspecified or invalid swap direcation |
| SWAP_DIRECTION_INCOMING | 1 | SWAP_DIRECTION_INCOMING represents is incoming swap (to the 0g-chain) |
| SWAP_DIRECTION_OUTGOING | 2 | SWAP_DIRECTION_OUTGOING represents an outgoing swap (from the 0g-chain) |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.SwapStatus"></a>
2024-08-02 10:34:24 +00:00
### SwapStatus
SwapStatus is the status of an AtomicSwap
| Name | Number | Description |
| ---- | ------ | ----------- |
| SWAP_STATUS_UNSPECIFIED | 0 | SWAP_STATUS_UNSPECIFIED represents an unspecified status |
| SWAP_STATUS_OPEN | 1 | SWAP_STATUS_OPEN represents an open swap |
| SWAP_STATUS_COMPLETED | 2 | SWAP_STATUS_COMPLETED represents a completed swap |
| SWAP_STATUS_EXPIRED | 3 | SWAP_STATUS_EXPIRED represents an expired swap |
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/bep3/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/bep3/v1beta1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.GenesisState"></a>
2024-08-02 10:34:24 +00:00
### GenesisState
GenesisState defines the pricefeed module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#kava.bep3.v1beta1.Params) | | params defines all the parameters of the module. |
| `atomic_swaps` | [AtomicSwap](#kava.bep3.v1beta1.AtomicSwap) | repeated | atomic_swaps represents the state of stored atomic swaps |
| `supplies` | [AssetSupply](#kava.bep3.v1beta1.AssetSupply) | repeated | supplies represents the supply information of each atomic swap |
| `previous_block_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | previous_block_time represents the time of the previous block |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/bep3/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/bep3/v1beta1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.AssetSupplyResponse"></a>
2024-08-02 10:34:24 +00:00
### AssetSupplyResponse
AssetSupplyResponse defines information about an asset's supply.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `incoming_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | incoming_supply represents the incoming supply of an asset |
| `outgoing_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | outgoing_supply represents the outgoing supply of an asset |
| `current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | current_supply represents the current on-chain supply of an asset |
| `time_limited_current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | time_limited_current_supply represents the time limited current supply of an asset |
| `time_elapsed` | [google.protobuf.Duration](#google.protobuf.Duration) | | time_elapsed represents the time elapsed |
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.AtomicSwapResponse"></a>
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
### AtomicSwapResponse
AtomicSwapResponse represents the returned atomic swap properties
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `id` | [string](#string) | | id represents the id of the atomic swap |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | amount represents the amount being swapped |
| `random_number_hash` | [string](#string) | | random_number_hash represents the hash of the random number |
| `expire_height` | [uint64](#uint64) | | expire_height represents the height when the swap expires |
| `timestamp` | [int64](#int64) | | timestamp represents the timestamp of the swap |
| `sender` | [string](#string) | | sender is the 0g-chain sender of the swap |
| `recipient` | [string](#string) | | recipient is the 0g-chain recipient of the swap |
| `sender_other_chain` | [string](#string) | | sender_other_chain is the sender on the other chain |
| `recipient_other_chain` | [string](#string) | | recipient_other_chain is the recipient on the other chain |
| `closed_block` | [int64](#int64) | | closed_block is the block when the swap is closed |
| `status` | [SwapStatus](#zgc.bep3.v1beta1.SwapStatus) | | status represents the current status of the swap |
| `cross_chain` | [bool](#bool) | | cross_chain identifies whether the atomic swap is cross chain |
| `direction` | [SwapDirection](#zgc.bep3.v1beta1.SwapDirection) | | direction identifies if the swap is incoming or outgoing |
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAssetSuppliesRequest"></a>
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
### QueryAssetSuppliesRequest
QueryAssetSuppliesRequest is the request type for the Query/AssetSupplies RPC method.
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAssetSuppliesResponse"></a>
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
### QueryAssetSuppliesResponse
QueryAssetSuppliesResponse is the response type for the Query/AssetSupplies RPC method.
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `asset_supplies` | [AssetSupplyResponse](#zgc.bep3.v1beta1.AssetSupplyResponse) | repeated | asset_supplies represents the supplies of returned assets |
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAssetSupplyRequest"></a>
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
### QueryAssetSupplyRequest
QueryAssetSupplyRequest is the request type for the Query/AssetSupply RPC method.
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `denom` | [string](#string) | | denom filters the asset response for the specified denom |
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAssetSupplyResponse"></a>
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
### QueryAssetSupplyResponse
QueryAssetSupplyResponse is the response type for the Query/AssetSupply RPC method.
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `asset_supply` | [AssetSupplyResponse](#zgc.bep3.v1beta1.AssetSupplyResponse) | | asset_supply represents the supply of the asset |
feat: add proposals for community pool deposits/withdrawals (#1304) * feat: community pool deposit/withdraw proposals * fix: check community pool balance in tests * add new msg type definitions * add msg methods and tests * add module and keeper skeleton * add deposit and withdraw methods (no delegation) * untested depsit/withdraw with delegation methods * add cli cmds * fix cli argument parsing * add tests for delegate/undelegate msgs * emit un/delegate events * add godoc comments * tally handler with liquid staking support * clean up * update for liquid keeper changes * Exclude non-bkava denoms from aggregate underlying ukava calculation * wip Add claim * Add distr keeper and claiming * Add claim test * Update claim test with failures * wip Add staking rewards * -S Fix savings to earn incentive methods * Use a single accural time for all earn incentives * Add additional required liquid methods * Update genesis to only include 1 accrual time for earn * Revert "Update genesis to only include 1 accrual time for earn" This reverts commit cc7e35347298681c0c8a4a0b9bf9b9b296c25531. * Revert "Use a single accural time for all earn incentives" This reverts commit aeb49c4622d4e3d99dc6421c8830932b1b546be9. * Update tests with incentive distribution * Add earn to incentive rewards query * add earn cli tx * Update claim example to use ukava large * add proposal to gov router * fix example tx formating * add proposal handlers to gov app module * fix: define gov router after earn keeper * fix: correct proposal type * remove outdated comment * refactor withdraw so that fee pool is allows adjusted by the actual withdraw amount * fix: lint proto file * use non blocked module account instead of dist acc * add fund mod account to app, enable receiving * update to new withdraw interface * add human readable apy test cases * remove duplicate changes from previous merge * remove deprecated io/ioutil package * standardize proposal type as a pointer (also matches sdk) * minior comments and formatting * use withdraw amount in router msgs Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Draco <draco@dracoli.com> Co-authored-by: drklee3 <derrick@dlee.dev> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com>
2022-09-29 17:01:06 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAtomicSwapRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryAtomicSwapRequest
QueryAtomicSwapRequest is the request type for the Query/AtomicSwap RPC method.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `swap_id` | [string](#string) | | swap_id represents the id of the swap to query |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAtomicSwapResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryAtomicSwapResponse
QueryAtomicSwapResponse is the response type for the Query/AtomicSwap RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `atomic_swap` | [AtomicSwapResponse](#zgc.bep3.v1beta1.AtomicSwapResponse) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAtomicSwapsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryAtomicSwapsRequest
QueryAtomicSwapsRequest is the request type for the Query/AtomicSwaps RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `involve` | [string](#string) | | involve filters by address |
| `expiration` | [uint64](#uint64) | | expiration filters by expiration block height |
| `status` | [SwapStatus](#zgc.bep3.v1beta1.SwapStatus) | | status filters by swap status |
| `direction` | [SwapDirection](#zgc.bep3.v1beta1.SwapDirection) | | direction fitlers by swap direction |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryAtomicSwapsResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryAtomicSwapsResponse
QueryAtomicSwapsResponse is the response type for the Query/AtomicSwaps RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `atomic_swaps` | [AtomicSwapResponse](#zgc.bep3.v1beta1.AtomicSwapResponse) | repeated | atomic_swap represents the returned atomic swaps for the request |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryParamsRequest"></a>
### QueryParamsRequest
2024-08-02 10:34:24 +00:00
QueryParamsRequest defines the request type for querying x/bep3 parameters.
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.QueryParamsResponse"></a>
### QueryParamsResponse
2024-08-02 10:34:24 +00:00
QueryParamsResponse defines the response type for querying x/bep3 parameters.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#zgc.bep3.v1beta1.Params) | | params represents the parameters of the module |
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.Query"></a>
2024-08-02 10:34:24 +00:00
### Query
Query defines the gRPC querier service for bep3 module
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Params` | [QueryParamsRequest](#zgc.bep3.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#zgc.bep3.v1beta1.QueryParamsResponse) | Params queries module params | GET|/0g/bep3/v1beta1/params|
| `AssetSupply` | [QueryAssetSupplyRequest](#zgc.bep3.v1beta1.QueryAssetSupplyRequest) | [QueryAssetSupplyResponse](#zgc.bep3.v1beta1.QueryAssetSupplyResponse) | AssetSupply queries info about an asset's supply | GET|/0g/bep3/v1beta1/assetsupply/{denom}|
| `AssetSupplies` | [QueryAssetSuppliesRequest](#zgc.bep3.v1beta1.QueryAssetSuppliesRequest) | [QueryAssetSuppliesResponse](#zgc.bep3.v1beta1.QueryAssetSuppliesResponse) | AssetSupplies queries a list of asset supplies | GET|/0g/bep3/v1beta1/assetsupplies|
| `AtomicSwap` | [QueryAtomicSwapRequest](#zgc.bep3.v1beta1.QueryAtomicSwapRequest) | [QueryAtomicSwapResponse](#zgc.bep3.v1beta1.QueryAtomicSwapResponse) | AtomicSwap queries info about an atomic swap | GET|/0g/bep3/v1beta1/atomicswap/{swap_id}|
| `AtomicSwaps` | [QueryAtomicSwapsRequest](#zgc.bep3.v1beta1.QueryAtomicSwapsRequest) | [QueryAtomicSwapsResponse](#zgc.bep3.v1beta1.QueryAtomicSwapsResponse) | AtomicSwaps queries a list of atomic swaps | GET|/0g/bep3/v1beta1/atomicswaps|
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/bep3/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/bep3/v1beta1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.MsgClaimAtomicSwap"></a>
2024-08-02 10:34:24 +00:00
### MsgClaimAtomicSwap
MsgClaimAtomicSwap defines the Msg/ClaimAtomicSwap request type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `from` | [string](#string) | | |
| `swap_id` | [string](#string) | | |
| `random_number` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.MsgClaimAtomicSwapResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgClaimAtomicSwapResponse
MsgClaimAtomicSwapResponse defines the Msg/ClaimAtomicSwap response type.
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.MsgCreateAtomicSwap"></a>
2024-08-02 10:34:24 +00:00
### MsgCreateAtomicSwap
MsgCreateAtomicSwap defines the Msg/CreateAtomicSwap request type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `from` | [string](#string) | | |
| `to` | [string](#string) | | |
| `recipient_other_chain` | [string](#string) | | |
| `sender_other_chain` | [string](#string) | | |
| `random_number_hash` | [string](#string) | | |
| `timestamp` | [int64](#int64) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
| `height_span` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.MsgCreateAtomicSwapResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgCreateAtomicSwapResponse
MsgCreateAtomicSwapResponse defines the Msg/CreateAtomicSwap response type.
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.MsgRefundAtomicSwap"></a>
2024-08-02 10:34:24 +00:00
### MsgRefundAtomicSwap
MsgRefundAtomicSwap defines the Msg/RefundAtomicSwap request type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `from` | [string](#string) | | |
| `swap_id` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.MsgRefundAtomicSwapResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgRefundAtomicSwapResponse
MsgRefundAtomicSwapResponse defines the Msg/RefundAtomicSwap response type.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.bep3.v1beta1.Msg"></a>
2024-08-02 10:34:24 +00:00
### Msg
Msg defines the bep3 Msg service.
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `CreateAtomicSwap` | [MsgCreateAtomicSwap](#zgc.bep3.v1beta1.MsgCreateAtomicSwap) | [MsgCreateAtomicSwapResponse](#zgc.bep3.v1beta1.MsgCreateAtomicSwapResponse) | CreateAtomicSwap defines a method for creating an atomic swap | |
| `ClaimAtomicSwap` | [MsgClaimAtomicSwap](#zgc.bep3.v1beta1.MsgClaimAtomicSwap) | [MsgClaimAtomicSwapResponse](#zgc.bep3.v1beta1.MsgClaimAtomicSwapResponse) | ClaimAtomicSwap defines a method for claiming an atomic swap | |
| `RefundAtomicSwap` | [MsgRefundAtomicSwap](#zgc.bep3.v1beta1.MsgRefundAtomicSwap) | [MsgRefundAtomicSwapResponse](#zgc.bep3.v1beta1.MsgRefundAtomicSwapResponse) | RefundAtomicSwap defines a method for refunding an atomic swap | |
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/committee/v1beta1/committee.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/committee/v1beta1/committee.proto
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.CDP"></a>
2024-08-02 10:34:24 +00:00
### CDP
CDP defines the state of a single collateralized debt position.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `id` | [uint64](#uint64) | | |
| `owner` | [bytes](#bytes) | | |
| `type` | [string](#string) | | |
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `accumulated_fees` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `fees_updated` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
| `interest_factor` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.Deposit"></a>
2024-08-02 10:34:24 +00:00
### Deposit
Deposit defines an amount of coins deposited by an account to a cdp
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `cdp_id` | [uint64](#uint64) | | |
| `depositor` | [string](#string) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.OwnerCDPIndex"></a>
2024-08-02 10:34:24 +00:00
### OwnerCDPIndex
OwnerCDPIndex defines the cdp ids for a single cdp owner
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `cdp_ids` | [uint64](#uint64) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.TotalCollateral"></a>
2024-08-02 10:34:24 +00:00
### TotalCollateral
TotalCollateral defines the total collateral of a given collateral type
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `collateral_type` | [string](#string) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.TotalPrincipal"></a>
2024-08-02 10:34:24 +00:00
### TotalPrincipal
TotalPrincipal defines the total principal of a given collateral type
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `collateral_type` | [string](#string) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="kava/cdp/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## kava/cdp/v1beta1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.CollateralParam"></a>
2024-08-02 10:34:24 +00:00
### CollateralParam
CollateralParam defines governance parameters for each collateral type within the cdp module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `denom` | [string](#string) | | |
| `type` | [string](#string) | | |
| `liquidation_ratio` | [string](#string) | | |
| `debt_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `stability_fee` | [string](#string) | | |
| `auction_size` | [string](#string) | | |
| `liquidation_penalty` | [string](#string) | | |
| `spot_market_id` | [string](#string) | | |
| `liquidation_market_id` | [string](#string) | | |
| `keeper_reward_percentage` | [string](#string) | | |
| `check_collateralization_index_count` | [string](#string) | | |
| `conversion_factor` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.DebtParam"></a>
2024-08-02 10:34:24 +00:00
### DebtParam
DebtParam defines governance params for debt assets
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `denom` | [string](#string) | | |
| `reference_asset` | [string](#string) | | |
| `conversion_factor` | [string](#string) | | |
| `debt_floor` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.GenesisAccumulationTime"></a>
2024-08-02 10:34:24 +00:00
### GenesisAccumulationTime
GenesisAccumulationTime defines the previous distribution time and its corresponding denom
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `collateral_type` | [string](#string) | | |
| `previous_accumulation_time` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
| `interest_factor` | [string](#string) | | |
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.GenesisState"></a>
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
2024-08-02 10:34:24 +00:00
### GenesisState
GenesisState defines the cdp module's genesis state.
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#kava.cdp.v1beta1.Params) | | params defines all the parameters of the module. |
| `cdps` | [CDP](#kava.cdp.v1beta1.CDP) | repeated | |
| `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | |
| `starting_cdp_id` | [uint64](#uint64) | | |
| `debt_denom` | [string](#string) | | |
| `gov_denom` | [string](#string) | | |
| `previous_accumulation_times` | [GenesisAccumulationTime](#kava.cdp.v1beta1.GenesisAccumulationTime) | repeated | |
| `total_principals` | [GenesisTotalPrincipal](#kava.cdp.v1beta1.GenesisTotalPrincipal) | repeated | |
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.GenesisTotalPrincipal"></a>
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
2024-08-02 10:34:24 +00:00
### GenesisTotalPrincipal
GenesisTotalPrincipal defines the total principal and its corresponding collateral type
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `collateral_type` | [string](#string) | | |
| `total_principal` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.Params"></a>
### Params
2024-08-02 10:34:24 +00:00
Params defines the parameters for the cdp module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `collateral_params` | [CollateralParam](#kava.cdp.v1beta1.CollateralParam) | repeated | |
| `debt_param` | [DebtParam](#kava.cdp.v1beta1.DebtParam) | | |
| `global_debt_limit` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `surplus_auction_threshold` | [string](#string) | | |
| `surplus_auction_lot` | [string](#string) | | |
| `debt_auction_threshold` | [string](#string) | | |
| `debt_auction_lot` | [string](#string) | | |
| `circuit_breaker` | [bool](#bool) | | |
| `liquidation_block_interval` | [int64](#int64) | | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="kava/cdp/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## kava/cdp/v1beta1/query.proto
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.CDPResponse"></a>
2024-08-02 10:34:24 +00:00
### CDPResponse
CDPResponse defines the state of a single collateralized debt position.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `id` | [uint64](#uint64) | | |
| `owner` | [string](#string) | | |
| `type` | [string](#string) | | |
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `accumulated_fees` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `fees_updated` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
| `interest_factor` | [string](#string) | | |
| `collateral_value` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `collateralization_ratio` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryAccountsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryAccountsRequest
QueryAccountsRequest defines the request type for the Query/Accounts RPC method.
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryAccountsResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryAccountsResponse
QueryAccountsResponse defines the response type for the Query/Accounts RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `accounts` | [cosmos.auth.v1beta1.ModuleAccount](#cosmos.auth.v1beta1.ModuleAccount) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryCdpRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryCdpRequest
QueryCdpRequest defines the request type for the Query/Cdp RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `collateral_type` | [string](#string) | | |
| `owner` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryCdpResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryCdpResponse
QueryCdpResponse defines the response type for the Query/Cdp RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `cdp` | [CDPResponse](#kava.cdp.v1beta1.CDPResponse) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryCdpsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryCdpsRequest
QueryCdpsRequest is the params for a filtered CDP query, the request type for the Query/Cdps RPC method.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `collateral_type` | [string](#string) | | |
| `owner` | [string](#string) | | |
| `id` | [uint64](#uint64) | | |
| `ratio` | [string](#string) | | sdk.Dec as a string |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryCdpsResponse"></a>
### QueryCdpsResponse
QueryCdpsResponse defines the response type for the Query/Cdps RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `cdps` | [CDPResponse](#kava.cdp.v1beta1.CDPResponse) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryDepositsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryDepositsRequest
QueryDepositsRequest defines the request type for the Query/Deposits RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `collateral_type` | [string](#string) | | |
| `owner` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryDepositsResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryDepositsResponse
QueryDepositsResponse defines the response type for the Query/Deposits RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `deposits` | [Deposit](#kava.cdp.v1beta1.Deposit) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryParamsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryParamsRequest
QueryParamsRequest defines the request type for the Query/Params RPC method.
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryParamsResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryParamsResponse
QueryParamsResponse defines the response type for the Query/Params RPC method.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.cdp.v1beta1.Params) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryTotalCollateralRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryTotalCollateralRequest
QueryTotalCollateralRequest defines the request type for the Query/TotalCollateral RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `collateral_type` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryTotalCollateralResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryTotalCollateralResponse
QueryTotalCollateralResponse defines the response type for the Query/TotalCollateral RPC method.
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `total_collateral` | [TotalCollateral](#kava.cdp.v1beta1.TotalCollateral) | repeated | |
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryTotalPrincipalRequest"></a>
### QueryTotalPrincipalRequest
QueryTotalPrincipalRequest defines the request type for the Query/TotalPrincipal RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `collateral_type` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.QueryTotalPrincipalResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryTotalPrincipalResponse
QueryTotalPrincipalResponse defines the response type for the Query/TotalPrincipal RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `total_principal` | [TotalPrincipal](#kava.cdp.v1beta1.TotalPrincipal) | repeated | |
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.Query"></a>
2024-08-02 10:34:24 +00:00
### Query
Query defines the gRPC querier service for cdp module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `Params` | [QueryParamsRequest](#kava.cdp.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.cdp.v1beta1.QueryParamsResponse) | Params queries all parameters of the cdp module. | GET|/kava/cdp/v1beta1/params|
| `Accounts` | [QueryAccountsRequest](#kava.cdp.v1beta1.QueryAccountsRequest) | [QueryAccountsResponse](#kava.cdp.v1beta1.QueryAccountsResponse) | Accounts queries the CDP module accounts. | GET|/kava/cdp/v1beta1/accounts|
| `TotalPrincipal` | [QueryTotalPrincipalRequest](#kava.cdp.v1beta1.QueryTotalPrincipalRequest) | [QueryTotalPrincipalResponse](#kava.cdp.v1beta1.QueryTotalPrincipalResponse) | TotalPrincipal queries the total principal of a given collateral type. | GET|/kava/cdp/v1beta1/totalPrincipal|
| `TotalCollateral` | [QueryTotalCollateralRequest](#kava.cdp.v1beta1.QueryTotalCollateralRequest) | [QueryTotalCollateralResponse](#kava.cdp.v1beta1.QueryTotalCollateralResponse) | TotalCollateral queries the total collateral of a given collateral type. | GET|/kava/cdp/v1beta1/totalCollateral|
| `Cdps` | [QueryCdpsRequest](#kava.cdp.v1beta1.QueryCdpsRequest) | [QueryCdpsResponse](#kava.cdp.v1beta1.QueryCdpsResponse) | Cdps queries all active CDPs. | GET|/kava/cdp/v1beta1/cdps|
| `Cdp` | [QueryCdpRequest](#kava.cdp.v1beta1.QueryCdpRequest) | [QueryCdpResponse](#kava.cdp.v1beta1.QueryCdpResponse) | Cdp queries a CDP with the input owner address and collateral type. | GET|/kava/cdp/v1beta1/cdps/{owner}/{collateral_type}|
| `Deposits` | [QueryDepositsRequest](#kava.cdp.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.cdp.v1beta1.QueryDepositsResponse) | Deposits queries deposits associated with the CDP owned by an address for a collateral type. | GET|/kava/cdp/v1beta1/cdps/deposits/{owner}/{collateral_type}|
Add EVM Support (#1215) * ibc v3 upgrade * ibc no longer uses confio * add proofs proto for ibc/v3 * wip add ethermint module * update cosmos to 0.45.0 * add ethermint proto & bug fixes * remove todo * update docs * fix a number of bugs * minor comments update * fix breaking tests * Wrap bank keeper for EVM to convert decimals (#1154) * Add bankkeeper wrapper for evm * Remove agas from init-new-chain.sh, use ukava for evm_denom * Fix sdk.Coins conversion, require min 1 coin amount * Remove gas from init script idk how this happened lol * Remove debug logging stmt * Restore original init ukava amounts * Fix inplace coins conversion * Use evmtypes.BankKeeper interface insteadof banktypes * Add TestGetBalance * Add doc comments, remove temp actualAmt vars actualAmt vars replaced with inline calls to make it more clear that the converted value is being used, as opposed to accidentally reusing the raw EVM amt. * Add TestSetBalance * Add TestIdempotentConversion * Panic if converted coin from EVM is 0 This happens if a value is less than 1ukava * Deep copy coins instead of in place modification * Update test coins amount * Add panic tests for small EVM amounts * Use evmtypes.BankKeeper as NewEVMBankKeeper param * Tidy test setup * ensure sdk config is set when creating new apps * Respond EVM bank keeper GetBalance with SpendableCoins Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> * further speed up docker builds * feat: restore previous keys add defaults, add eth flag (#1172) * feat: restore previous keys add defaults, add eth flag * remove outdated comment * fix: remove redundant flag default * evm bank keeper with akava handling * fix issues * add remaining tests * add emv module to app * add missing imports * clean up comments * wip akava keeper * evm keeper * fix genesis import * reduce module permissions * add bank keeper tests * cleanup tests * genesis tests * change defaults * add eth faucet key & fix issues * switch to kava ethermint * add a lot of tests * add balances invariant * add evm tests * Remove panic if Swagger disabled in config (#1155) (#1183) Co-authored-by: Derrick Lee <derrick@dlee.dev> * add invariant to catch any akava balance > 1 ukava * clarify name of balances invariant * connect invariants to app * fix evmbankkeeper akava issues * add spec for evmutil * remove zero balance accounts from state * minor adustments * update to ethermint 0.10.0 * fix eth ante * add missing godoc comment * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update x/evmutil/spec/01_concepts.md Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> * Update ethermint to v0.12 (#1203) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * evm migrations for tesnet alpha 2 (#1206) * update to ethermint v0.12.2 * use app.Options for new evm options * fix missed references to app.Options * use ethermint branch while waiting on upstream fix * add upgrade handler for evm-alpha testnet 2 * v17 migration setup + evm modules * refactor migrate states * x/feemarket migration * v17 migrations setup + evm modules migration (#1210) * v17 migration setup + evm modules * refactor migrate states * update gen time * fix: update genesis time in test output Co-authored-by: karzak <kjydavis3@gmail.com> * add savings module to app blockers Co-authored-by: Derrick Lee <derrick@dlee.dev> Co-authored-by: Nick DeLuca <nickdeluca08@gmail.com> Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Kevin Davis <karzak@users.noreply.github.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: karzak <kjydavis3@gmail.com>
2022-04-21 20:16:28 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="kava/cdp/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## kava/cdp/v1beta1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgCreateCDP"></a>
2024-08-02 10:34:24 +00:00
### MsgCreateCDP
MsgCreateCDP defines a message to create a new CDP.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `sender` | [string](#string) | | |
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `collateral_type` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgCreateCDPResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgCreateCDPResponse
MsgCreateCDPResponse defines the Msg/CreateCDP response type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `cdp_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgDeposit"></a>
2024-08-02 10:34:24 +00:00
### MsgDeposit
MsgDeposit defines a message to deposit to a CDP.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `depositor` | [string](#string) | | |
| `owner` | [string](#string) | | |
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `collateral_type` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgDepositResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgDepositResponse
MsgDepositResponse defines the Msg/Deposit response type.
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgDrawDebt"></a>
2024-08-02 10:34:24 +00:00
### MsgDrawDebt
MsgDrawDebt defines a message to draw debt from a CDP.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `sender` | [string](#string) | | |
| `collateral_type` | [string](#string) | | |
| `principal` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgDrawDebtResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgDrawDebtResponse
MsgDrawDebtResponse defines the Msg/DrawDebt response type.
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgLiquidate"></a>
2024-08-02 10:34:24 +00:00
### MsgLiquidate
MsgLiquidate defines a message to attempt to liquidate a CDP whos
collateralization ratio is under its liquidation ratio.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `keeper` | [string](#string) | | |
| `borrower` | [string](#string) | | |
| `collateral_type` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgLiquidateResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgLiquidateResponse
MsgLiquidateResponse defines the Msg/Liquidate response type.
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgRepayDebt"></a>
2024-08-02 10:34:24 +00:00
### MsgRepayDebt
MsgRepayDebt defines a message to repay debt from a CDP.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `sender` | [string](#string) | | |
| `collateral_type` | [string](#string) | | |
| `payment` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgRepayDebtResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgRepayDebtResponse
MsgRepayDebtResponse defines the Msg/RepayDebt response type.
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgWithdraw"></a>
2024-08-02 10:34:24 +00:00
### MsgWithdraw
MsgWithdraw defines a message to withdraw collateral from a CDP.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `depositor` | [string](#string) | | |
| `owner` | [string](#string) | | |
| `collateral` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `collateral_type` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.MsgWithdrawResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgWithdrawResponse
MsgWithdrawResponse defines the Msg/Withdraw response type.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="kava.cdp.v1beta1.Msg"></a>
2024-08-02 10:34:24 +00:00
### Msg
Msg defines the cdp Msg service.
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `CreateCDP` | [MsgCreateCDP](#kava.cdp.v1beta1.MsgCreateCDP) | [MsgCreateCDPResponse](#kava.cdp.v1beta1.MsgCreateCDPResponse) | CreateCDP defines a method to create a new CDP. | |
| `Deposit` | [MsgDeposit](#kava.cdp.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.cdp.v1beta1.MsgDepositResponse) | Deposit defines a method to deposit to a CDP. | |
| `Withdraw` | [MsgWithdraw](#kava.cdp.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.cdp.v1beta1.MsgWithdrawResponse) | Withdraw defines a method to withdraw collateral from a CDP. | |
| `DrawDebt` | [MsgDrawDebt](#kava.cdp.v1beta1.MsgDrawDebt) | [MsgDrawDebtResponse](#kava.cdp.v1beta1.MsgDrawDebtResponse) | DrawDebt defines a method to draw debt from a CDP. | |
| `RepayDebt` | [MsgRepayDebt](#kava.cdp.v1beta1.MsgRepayDebt) | [MsgRepayDebtResponse](#kava.cdp.v1beta1.MsgRepayDebtResponse) | RepayDebt defines a method to repay debt from a CDP. | |
| `Liquidate` | [MsgLiquidate](#kava.cdp.v1beta1.MsgLiquidate) | [MsgLiquidateResponse](#kava.cdp.v1beta1.MsgLiquidateResponse) | Liquidate defines a method to attempt to liquidate a CDP whos collateralization ratio is under its liquidation ratio. | |
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="kava/committee/v1beta1/committee.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## kava/committee/v1beta1/committee.proto
2024-08-02 10:34:24 +00:00
<a name="kava.committee.v1beta1.BaseCommittee"></a>
2024-08-02 10:34:24 +00:00
### BaseCommittee
BaseCommittee is a common type shared by all Committees
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `id` | [uint64](#uint64) | | |
| `description` | [string](#string) | | |
| `members` | [bytes](#bytes) | repeated | |
| `permissions` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
| `vote_threshold` | [string](#string) | | Smallest percentage that must vote for a proposal to pass |
| `proposal_duration` | [google.protobuf.Duration](#google.protobuf.Duration) | | The length of time a proposal remains active for. Proposals will close earlier if they get enough votes. |
| `tally_option` | [TallyOption](#zgc.committee.v1beta1.TallyOption) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.MemberCommittee"></a>
2024-08-02 10:34:24 +00:00
### MemberCommittee
MemberCommittee is an alias of BaseCommittee
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `base_committee` | [BaseCommittee](#zgc.committee.v1beta1.BaseCommittee) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.TokenCommittee"></a>
2024-08-02 10:34:24 +00:00
### TokenCommittee
TokenCommittee supports voting on proposals by token holders
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `base_committee` | [BaseCommittee](#zgc.committee.v1beta1.BaseCommittee) | | |
| `quorum` | [string](#string) | | |
| `tally_denom` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.TallyOption"></a>
2024-08-02 10:34:24 +00:00
### TallyOption
TallyOption enumerates the valid types of a tally.
2024-08-02 10:34:24 +00:00
| Name | Number | Description |
| ---- | ------ | ----------- |
| TALLY_OPTION_UNSPECIFIED | 0 | TALLY_OPTION_UNSPECIFIED defines a null tally option. |
| TALLY_OPTION_FIRST_PAST_THE_POST | 1 | Votes are tallied each block and the proposal passes as soon as the vote threshold is reached |
| TALLY_OPTION_DEADLINE | 2 | Votes are tallied exactly once, when the deadline time is reached |
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/committee/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/committee/v1beta1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.GenesisState"></a>
2024-08-02 10:34:24 +00:00
### GenesisState
GenesisState defines the committee module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `next_proposal_id` | [uint64](#uint64) | | |
| `committees` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
| `proposals` | [Proposal](#zgc.committee.v1beta1.Proposal) | repeated | |
| `votes` | [Vote](#zgc.committee.v1beta1.Vote) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.Proposal"></a>
2024-08-02 10:34:24 +00:00
### Proposal
Proposal is an internal record of a governance proposal submitted to a committee.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `content` | [google.protobuf.Any](#google.protobuf.Any) | | |
| `id` | [uint64](#uint64) | | |
| `committee_id` | [uint64](#uint64) | | |
| `deadline` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.Vote"></a>
2024-08-02 10:34:24 +00:00
### Vote
Vote is an internal record of a single governance vote.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `proposal_id` | [uint64](#uint64) | | |
| `voter` | [bytes](#bytes) | | |
| `vote_type` | [VoteType](#zgc.committee.v1beta1.VoteType) | | |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.VoteType"></a>
2024-08-02 10:34:24 +00:00
### VoteType
VoteType enumerates the valid types of a vote.
2024-08-02 10:34:24 +00:00
| Name | Number | Description |
| ---- | ------ | ----------- |
| VOTE_TYPE_UNSPECIFIED | 0 | VOTE_TYPE_UNSPECIFIED defines a no-op vote option. |
| VOTE_TYPE_YES | 1 | VOTE_TYPE_YES defines a yes vote option. |
| VOTE_TYPE_NO | 2 | VOTE_TYPE_NO defines a no vote option. |
| VOTE_TYPE_ABSTAIN | 3 | VOTE_TYPE_ABSTAIN defines an abstain vote option. |
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/committee/v1beta1/permissions.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/committee/v1beta1/permissions.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.AllowedParamsChange"></a>
2024-08-02 10:34:24 +00:00
### AllowedParamsChange
AllowedParamsChange contains data on the allowed parameter changes for subspace, key, and sub params requirements.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `subspace` | [string](#string) | | |
| `key` | [string](#string) | | |
| `single_subparam_allowed_attrs` | [string](#string) | repeated | Requirements for when the subparam value is a single record. This contains list of allowed attribute keys that can be changed on the subparam record. |
| `multi_subparams_requirements` | [SubparamRequirement](#zgc.committee.v1beta1.SubparamRequirement) | repeated | Requirements for when the subparam value is a list of records. The requirements contains requirements for each record in the list. |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.CommunityCDPRepayDebtPermission"></a>
2024-08-02 10:34:24 +00:00
### CommunityCDPRepayDebtPermission
CommunityCDPRepayDebtPermission allows submission of CommunityCDPRepayDebtProposal
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.CommunityCDPWithdrawCollateralPermission"></a>
2024-08-02 10:34:24 +00:00
### CommunityCDPWithdrawCollateralPermission
CommunityCDPWithdrawCollateralPermission allows submission of CommunityCDPWithdrawCollateralProposal
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.CommunityPoolLendWithdrawPermission"></a>
2024-08-02 10:34:24 +00:00
### CommunityPoolLendWithdrawPermission
CommunityPoolLendWithdrawPermission allows submission of CommunityPoolLendWithdrawProposal
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.GodPermission"></a>
2024-08-02 10:34:24 +00:00
### GodPermission
GodPermission allows any governance proposal. It is used mainly for testing.
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.ParamsChangePermission"></a>
2024-08-02 10:34:24 +00:00
### ParamsChangePermission
ParamsChangePermission allows any parameter or sub parameter change proposal.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `allowed_params_changes` | [AllowedParamsChange](#zgc.committee.v1beta1.AllowedParamsChange) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.SoftwareUpgradePermission"></a>
2024-08-02 10:34:24 +00:00
### SoftwareUpgradePermission
SoftwareUpgradePermission permission type for software upgrade proposals
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.SubparamRequirement"></a>
2024-08-02 10:34:24 +00:00
### SubparamRequirement
SubparamRequirement contains requirements for a single record in a subparam value list
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `key` | [string](#string) | | The required attr key of the param record. |
| `val` | [string](#string) | | The required param value for the param record key. The key and value is used to match to the target param record. |
| `allowed_subparam_attr_changes` | [string](#string) | repeated | The sub param attrs that are allowed to be changed. |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.TextPermission"></a>
2024-08-02 10:34:24 +00:00
### TextPermission
TextPermission allows any text governance proposal.
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/committee/v1beta1/proposal.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/committee/v1beta1/proposal.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.CommitteeChangeProposal"></a>
2024-08-02 10:34:24 +00:00
### CommitteeChangeProposal
CommitteeChangeProposal is a gov proposal for creating a new committee or modifying an existing one.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `title` | [string](#string) | | |
| `description` | [string](#string) | | |
| `new_committee` | [google.protobuf.Any](#google.protobuf.Any) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.CommitteeDeleteProposal"></a>
2024-08-02 10:34:24 +00:00
### CommitteeDeleteProposal
CommitteeDeleteProposal is a gov proposal for removing a committee.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `title` | [string](#string) | | |
| `description` | [string](#string) | | |
| `committee_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/committee/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/committee/v1beta1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryCommitteeRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryCommitteeRequest
QueryCommitteeRequest defines the request type for querying x/committee committee.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `committee_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryCommitteeResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryCommitteeResponse
QueryCommitteeResponse defines the response type for querying x/committee committee.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `committee` | [google.protobuf.Any](#google.protobuf.Any) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryCommitteesRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryCommitteesRequest
QueryCommitteesRequest defines the request type for querying x/committee committees.
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryCommitteesResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryCommitteesResponse
QueryCommitteesResponse defines the response type for querying x/committee committees.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `committees` | [google.protobuf.Any](#google.protobuf.Any) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryNextProposalIDRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryNextProposalIDRequest
QueryNextProposalIDRequest defines the request type for querying x/committee NextProposalID.
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryNextProposalIDResponse"></a>
### QueryNextProposalIDResponse
QueryNextProposalIDRequest defines the response type for querying x/committee NextProposalID.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `next_proposal_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryProposalRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryProposalRequest
QueryProposalRequest defines the request type for querying x/committee proposal.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `proposal_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryProposalResponse"></a>
### QueryProposalResponse
QueryProposalResponse defines the response type for querying x/committee proposal.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `pub_proposal` | [google.protobuf.Any](#google.protobuf.Any) | | |
| `id` | [uint64](#uint64) | | |
| `committee_id` | [uint64](#uint64) | | |
| `deadline` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryProposalsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryProposalsRequest
QueryProposalsRequest defines the request type for querying x/committee proposals.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `committee_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryProposalsResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryProposalsResponse
QueryProposalsResponse defines the response type for querying x/committee proposals.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `proposals` | [QueryProposalResponse](#zgc.committee.v1beta1.QueryProposalResponse) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryRawParamsRequest"></a>
### QueryRawParamsRequest
QueryRawParamsRequest defines the request type for querying x/committee raw params.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `subspace` | [string](#string) | | |
| `key` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryRawParamsResponse"></a>
### QueryRawParamsResponse
QueryRawParamsResponse defines the response type for querying x/committee raw params.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `raw_data` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryTallyRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryTallyRequest
QueryTallyRequest defines the request type for querying x/committee tally.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `proposal_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryTallyResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryTallyResponse
QueryTallyResponse defines the response type for querying x/committee tally.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `proposal_id` | [uint64](#uint64) | | |
| `yes_votes` | [string](#string) | | |
| `no_votes` | [string](#string) | | |
| `current_votes` | [string](#string) | | |
| `possible_votes` | [string](#string) | | |
| `vote_threshold` | [string](#string) | | |
| `quorum` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryVoteRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryVoteRequest
QueryVoteRequest defines the request type for querying x/committee vote.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `proposal_id` | [uint64](#uint64) | | |
| `voter` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryVoteResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryVoteResponse
QueryVoteResponse defines the response type for querying x/committee vote.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `proposal_id` | [uint64](#uint64) | | |
| `voter` | [string](#string) | | |
| `vote_type` | [VoteType](#zgc.committee.v1beta1.VoteType) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryVotesRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryVotesRequest
QueryVotesRequest defines the request type for querying x/committee votes.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `proposal_id` | [uint64](#uint64) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.QueryVotesResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryVotesResponse
QueryVotesResponse defines the response type for querying x/committee votes.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `votes` | [QueryVoteResponse](#zgc.committee.v1beta1.QueryVoteResponse) | repeated | votes defined the queried votes. |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.Query"></a>
2024-08-02 10:34:24 +00:00
### Query
Query defines the gRPC querier service for committee module
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Committees` | [QueryCommitteesRequest](#zgc.committee.v1beta1.QueryCommitteesRequest) | [QueryCommitteesResponse](#zgc.committee.v1beta1.QueryCommitteesResponse) | Committees queries all committess of the committee module. | GET|/0g/committee/v1beta1/committees|
| `Committee` | [QueryCommitteeRequest](#zgc.committee.v1beta1.QueryCommitteeRequest) | [QueryCommitteeResponse](#zgc.committee.v1beta1.QueryCommitteeResponse) | Committee queries a committee based on committee ID. | GET|/0g/committee/v1beta1/committees/{committee_id}|
| `Proposals` | [QueryProposalsRequest](#zgc.committee.v1beta1.QueryProposalsRequest) | [QueryProposalsResponse](#zgc.committee.v1beta1.QueryProposalsResponse) | Proposals queries proposals based on committee ID. | GET|/0g/committee/v1beta1/proposals|
| `Proposal` | [QueryProposalRequest](#zgc.committee.v1beta1.QueryProposalRequest) | [QueryProposalResponse](#zgc.committee.v1beta1.QueryProposalResponse) | Deposits queries a proposal based on proposal ID. | GET|/0g/committee/v1beta1/proposals/{proposal_id}|
| `NextProposalID` | [QueryNextProposalIDRequest](#zgc.committee.v1beta1.QueryNextProposalIDRequest) | [QueryNextProposalIDResponse](#zgc.committee.v1beta1.QueryNextProposalIDResponse) | NextProposalID queries the next proposal ID of the committee module. | GET|/0g/committee/v1beta1/next-proposal-id|
| `Votes` | [QueryVotesRequest](#zgc.committee.v1beta1.QueryVotesRequest) | [QueryVotesResponse](#zgc.committee.v1beta1.QueryVotesResponse) | Votes queries all votes for a single proposal ID. | GET|/0g/committee/v1beta1/proposals/{proposal_id}/votes|
| `Vote` | [QueryVoteRequest](#zgc.committee.v1beta1.QueryVoteRequest) | [QueryVoteResponse](#zgc.committee.v1beta1.QueryVoteResponse) | Vote queries the vote of a single voter for a single proposal ID. | GET|/0g/committee/v1beta1/proposals/{proposal_id}/votes/{voter}|
| `Tally` | [QueryTallyRequest](#zgc.committee.v1beta1.QueryTallyRequest) | [QueryTallyResponse](#zgc.committee.v1beta1.QueryTallyResponse) | Tally queries the tally of a single proposal ID. | GET|/0g/committee/v1beta1/proposals/{proposal_id}/tally|
| `RawParams` | [QueryRawParamsRequest](#zgc.committee.v1beta1.QueryRawParamsRequest) | [QueryRawParamsResponse](#zgc.committee.v1beta1.QueryRawParamsResponse) | RawParams queries the raw params data of any subspace and key. | GET|/0g/committee/v1beta1/raw-params|
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/committee/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/committee/v1beta1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.MsgSubmitProposal"></a>
2024-08-02 10:34:24 +00:00
### MsgSubmitProposal
MsgSubmitProposal is used by committee members to create a new proposal that they can vote on.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `pub_proposal` | [google.protobuf.Any](#google.protobuf.Any) | | |
| `proposer` | [string](#string) | | |
| `committee_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.MsgSubmitProposalResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgSubmitProposalResponse
MsgSubmitProposalResponse defines the SubmitProposal response type
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `proposal_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.MsgVote"></a>
2024-08-02 10:34:24 +00:00
### MsgVote
MsgVote is submitted by committee members to vote on proposals.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `proposal_id` | [uint64](#uint64) | | |
| `voter` | [string](#string) | | |
| `vote_type` | [VoteType](#zgc.committee.v1beta1.VoteType) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.MsgVoteResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgVoteResponse
MsgVoteResponse defines the Vote response type
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.committee.v1beta1.Msg"></a>
2024-08-02 10:34:24 +00:00
### Msg
Msg defines the committee Msg service
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `SubmitProposal` | [MsgSubmitProposal](#zgc.committee.v1beta1.MsgSubmitProposal) | [MsgSubmitProposalResponse](#zgc.committee.v1beta1.MsgSubmitProposalResponse) | SubmitProposal defines a method for submitting a committee proposal | |
| `Vote` | [MsgVote](#zgc.committee.v1beta1.MsgVote) | [MsgVoteResponse](#zgc.committee.v1beta1.MsgVoteResponse) | Vote defines a method for voting on a proposal | |
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/council/v1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/council/v1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.Ballot"></a>
2024-08-02 10:34:24 +00:00
### Ballot
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `id` | [uint64](#uint64) | | |
| `content` | [bytes](#bytes) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.Council"></a>
2024-08-02 10:34:24 +00:00
### Council
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `id` | [uint64](#uint64) | | |
| `voting_start_height` | [uint64](#uint64) | | |
| `start_height` | [uint64](#uint64) | | |
| `end_height` | [uint64](#uint64) | | |
| `votes` | [Vote](#zgc.council.v1.Vote) | repeated | |
| `members` | [bytes](#bytes) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.GenesisState"></a>
2024-08-02 10:34:24 +00:00
### GenesisState
GenesisState defines the council module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#kava.community.v1beta1.Params) | | params defines all the parameters related to commmunity |
| `staking_rewards_state` | [StakingRewardsState](#kava.community.v1beta1.StakingRewardsState) | | StakingRewardsState stores the internal staking reward data required to track staking rewards across blocks |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.Params"></a>
2024-08-02 10:34:24 +00:00
### Params
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `council_size` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.Vote"></a>
2024-08-02 10:34:24 +00:00
### Vote
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `council_id` | [uint64](#uint64) | | |
| `voter` | [bytes](#bytes) | | |
| `ballots` | [Ballot](#zgc.council.v1.Ballot) | repeated | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/council/v1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/council/v1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.QueryCurrentCouncilIDRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryCurrentCouncilIDRequest
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.QueryCurrentCouncilIDResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryCurrentCouncilIDResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#kava.earn.v1beta1.Params) | | params defines all the parameters related to earn |
| `vault_records` | [VaultRecord](#kava.earn.v1beta1.VaultRecord) | repeated | vault_records defines the available vaults |
| `vault_share_records` | [VaultShareRecord](#kava.earn.v1beta1.VaultShareRecord) | repeated | share_records defines the owned shares of each vault |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.QueryRegisteredVotersRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryRegisteredVotersRequest
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.QueryRegisteredVotersResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryRegisteredVotersResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `voters` | [string](#string) | repeated | |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.Query"></a>
2024-08-02 10:34:24 +00:00
### Query
Query defines the gRPC querier service for council module
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `CurrentCouncilID` | [QueryCurrentCouncilIDRequest](#zgc.council.v1.QueryCurrentCouncilIDRequest) | [QueryCurrentCouncilIDResponse](#zgc.council.v1.QueryCurrentCouncilIDResponse) | | GET|/0gchain/council/v1/current-council-id|
| `RegisteredVoters` | [QueryRegisteredVotersRequest](#zgc.council.v1.QueryRegisteredVotersRequest) | [QueryRegisteredVotersResponse](#zgc.council.v1.QueryRegisteredVotersResponse) | | GET|/0gchain/council/v1/registered-voters|
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/council/v1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/council/v1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.MsgRegister"></a>
2024-08-02 10:34:24 +00:00
### MsgRegister
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `voter` | [string](#string) | | |
| `key` | [bytes](#bytes) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.MsgRegisterResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgRegisterResponse
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.MsgVote"></a>
2024-08-02 10:34:24 +00:00
### MsgVote
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `council_id` | [uint64](#uint64) | | |
| `voter` | [string](#string) | | |
| `ballots` | [Ballot](#zgc.council.v1.Ballot) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.MsgVoteResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgVoteResponse
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.council.v1.Msg"></a>
2024-08-02 10:34:24 +00:00
### Msg
Msg defines the council Msg service
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Register` | [MsgRegister](#zgc.council.v1.MsgRegister) | [MsgRegisterResponse](#zgc.council.v1.MsgRegisterResponse) | | |
| `Vote` | [MsgVote](#zgc.council.v1.MsgVote) | [MsgVoteResponse](#zgc.council.v1.MsgVoteResponse) | | |
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/dasigners/v1/dasigners.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/dasigners/v1/dasigners.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.Quorum"></a>
2024-08-02 10:34:24 +00:00
### Quorum
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `signers` | [string](#string) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.Quorums"></a>
2024-08-02 10:34:24 +00:00
### Quorums
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `quorums` | [Quorum](#zgc.dasigners.v1.Quorum) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.Signer"></a>
2024-08-02 10:34:24 +00:00
### Signer
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `account` | [string](#string) | | account defines the hex address of signer without 0x |
| `socket` | [string](#string) | | socket defines the da node socket address |
| `pubkey_g1` | [bytes](#bytes) | | pubkey_g1 defines the public key on bn254 G1 |
| `pubkey_g2` | [bytes](#bytes) | | pubkey_g1 defines the public key on bn254 G2 |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/dasigners/v1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## zgc/dasigners/v1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.GenesisState"></a>
2024-08-02 10:34:24 +00:00
### GenesisState
GenesisState defines the dasigners module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#zgc.dasigners.v1.Params) | | params defines all the parameters of related to deposit. |
| `epoch_number` | [uint64](#uint64) | | params epoch_number the epoch number |
| `signers` | [Signer](#zgc.dasigners.v1.Signer) | repeated | signers defines all signers information |
| `quorums_by_epoch` | [Quorums](#zgc.dasigners.v1.Quorums) | repeated | quorums_by_epoch defines chosen quorums by epoch |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.Params"></a>
2024-08-02 10:34:24 +00:00
### Params
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `tokens_per_vote` | [uint64](#uint64) | | |
| `max_votes_per_signer` | [uint64](#uint64) | | |
| `max_quorums` | [uint64](#uint64) | | |
| `epoch_blocks` | [uint64](#uint64) | | |
| `encoded_slices` | [uint64](#uint64) | | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/dasigners/v1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/dasigners/v1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryAggregatePubkeyG1Request"></a>
### QueryAggregatePubkeyG1Request
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `epoch_number` | [uint64](#uint64) | | |
| `quorum_id` | [uint64](#uint64) | | |
| `quorum_bitmap` | [bytes](#bytes) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryAggregatePubkeyG1Response"></a>
2024-08-02 10:34:24 +00:00
### QueryAggregatePubkeyG1Response
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `aggregate_pubkey_g1` | [bytes](#bytes) | | |
| `total` | [uint64](#uint64) | | |
| `hit` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryEpochNumberRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryEpochNumberRequest
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryEpochNumberResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryEpochNumberResponse
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `epoch_number` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryEpochQuorumRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryEpochQuorumRequest
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `epoch_number` | [uint64](#uint64) | | |
| `quorum_id` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryEpochQuorumResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryEpochQuorumResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `quorum` | [Quorum](#zgc.dasigners.v1.Quorum) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryEpochQuorumRowRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryEpochQuorumRowRequest
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `epoch_number` | [uint64](#uint64) | | |
| `quorum_id` | [uint64](#uint64) | | |
| `row_index` | [uint32](#uint32) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryEpochQuorumRowResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryEpochQuorumRowResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `signer` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryQuorumCountRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryQuorumCountRequest
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `epoch_number` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QueryQuorumCountResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryQuorumCountResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `quorum_count` | [uint64](#uint64) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QuerySignerRequest"></a>
2024-08-02 10:34:24 +00:00
### QuerySignerRequest
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `accounts` | [string](#string) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.QuerySignerResponse"></a>
### QuerySignerResponse
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `signer` | [Signer](#zgc.dasigners.v1.Signer) | repeated | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.Query"></a>
2024-08-02 10:34:24 +00:00
### Query
Query defines the gRPC querier service for the dasigners module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `EpochNumber` | [QueryEpochNumberRequest](#zgc.dasigners.v1.QueryEpochNumberRequest) | [QueryEpochNumberResponse](#zgc.dasigners.v1.QueryEpochNumberResponse) | | GET|/0g/dasigners/v1/epoch-number|
| `QuorumCount` | [QueryQuorumCountRequest](#zgc.dasigners.v1.QueryQuorumCountRequest) | [QueryQuorumCountResponse](#zgc.dasigners.v1.QueryQuorumCountResponse) | | GET|/0g/dasigners/v1/quorum-count|
| `EpochQuorum` | [QueryEpochQuorumRequest](#zgc.dasigners.v1.QueryEpochQuorumRequest) | [QueryEpochQuorumResponse](#zgc.dasigners.v1.QueryEpochQuorumResponse) | | GET|/0g/dasigners/v1/epoch-quorum|
| `EpochQuorumRow` | [QueryEpochQuorumRowRequest](#zgc.dasigners.v1.QueryEpochQuorumRowRequest) | [QueryEpochQuorumRowResponse](#zgc.dasigners.v1.QueryEpochQuorumRowResponse) | | GET|/0g/dasigners/v1/epoch-quorum-row|
| `AggregatePubkeyG1` | [QueryAggregatePubkeyG1Request](#zgc.dasigners.v1.QueryAggregatePubkeyG1Request) | [QueryAggregatePubkeyG1Response](#zgc.dasigners.v1.QueryAggregatePubkeyG1Response) | | GET|/0g/dasigners/v1/aggregate-pubkey-g1|
| `Signer` | [QuerySignerRequest](#zgc.dasigners.v1.QuerySignerRequest) | [QuerySignerResponse](#zgc.dasigners.v1.QuerySignerResponse) | | GET|/0g/dasigners/v1/signer|
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/dasigners/v1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/dasigners/v1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.MsgRegisterNextEpoch"></a>
### MsgRegisterNextEpoch
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `account` | [string](#string) | | |
| `signature` | [bytes](#bytes) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.MsgRegisterNextEpochResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgRegisterNextEpochResponse
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.MsgRegisterSigner"></a>
2024-08-02 10:34:24 +00:00
### MsgRegisterSigner
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `signer` | [Signer](#zgc.dasigners.v1.Signer) | | |
| `signature` | [bytes](#bytes) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.MsgRegisterSignerResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgRegisterSignerResponse
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.MsgUpdateSocket"></a>
2024-08-02 10:34:24 +00:00
### MsgUpdateSocket
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `account` | [string](#string) | | |
| `socket` | [string](#string) | | |
<a name="zgc.dasigners.v1.MsgUpdateSocketResponse"></a>
### MsgUpdateSocketResponse
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.dasigners.v1.Msg"></a>
### Msg
Msg defines the dasigners Msg service
2024-08-02 10:34:24 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `RegisterSigner` | [MsgRegisterSigner](#zgc.dasigners.v1.MsgRegisterSigner) | [MsgRegisterSignerResponse](#zgc.dasigners.v1.MsgRegisterSignerResponse) | | |
| `UpdateSocket` | [MsgUpdateSocket](#zgc.dasigners.v1.MsgUpdateSocket) | [MsgUpdateSocketResponse](#zgc.dasigners.v1.MsgUpdateSocketResponse) | | |
| `RegisterNextEpoch` | [MsgRegisterNextEpoch](#zgc.dasigners.v1.MsgRegisterNextEpoch) | [MsgRegisterNextEpochResponse](#zgc.dasigners.v1.MsgRegisterNextEpochResponse) | | |
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/evmutil/v1beta1/conversion_pair.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/evmutil/v1beta1/conversion_pair.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.AllowedCosmosCoinERC20Token"></a>
### AllowedCosmosCoinERC20Token
AllowedCosmosCoinERC20Token defines allowed cosmos-sdk denom & metadata
for evm token representations of sdk assets.
NOTE: once evm token contracts are deployed, changes to metadata for a given
cosmos_denom will not change metadata of deployed contract.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `cosmos_denom` | [string](#string) | | Denom of the sdk.Coin |
| `name` | [string](#string) | | Name of ERC20 contract |
| `symbol` | [string](#string) | | Symbol of ERC20 contract |
| `decimals` | [uint32](#uint32) | | Number of decimals ERC20 contract is deployed with. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.ConversionPair"></a>
2024-08-02 10:34:24 +00:00
### ConversionPair
ConversionPair defines a 0gChain ERC20 address and corresponding denom that is
allowed to be converted between ERC20 and sdk.Coin
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `zgchain_erc20_address` | [bytes](#bytes) | | ERC20 address of the token on the 0gChain EVM |
| `denom` | [string](#string) | | Denom of the corresponding sdk.Coin |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/evmutil/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/evmutil/v1beta1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.Account"></a>
2024-08-02 10:34:24 +00:00
### Account
BalanceAccount defines an account in the evmutil module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `address` | [bytes](#bytes) | | |
| `balance` | [string](#string) | | balance indicates the amount of neuron owned by the address. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.GenesisState"></a>
### GenesisState
GenesisState defines the evmutil module's genesis state.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `accounts` | [Account](#zgc.evmutil.v1beta1.Account) | repeated | |
| `params` | [Params](#zgc.evmutil.v1beta1.Params) | | params defines all the parameters of the module. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.Params"></a>
### Params
Params defines the evmutil module params
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `enabled_conversion_pairs` | [ConversionPair](#zgc.evmutil.v1beta1.ConversionPair) | repeated | enabled_conversion_pairs defines the list of conversion pairs allowed to be converted between 0gChain ERC20 and sdk.Coin |
| `allowed_cosmos_denoms` | [AllowedCosmosCoinERC20Token](#zgc.evmutil.v1beta1.AllowedCosmosCoinERC20Token) | repeated | allowed_cosmos_denoms is a list of denom & erc20 token metadata pairs. if a denom is in the list, it is allowed to be converted to an erc20 in the evm. |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/evmutil/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/evmutil/v1beta1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.DeployedCosmosCoinContract"></a>
2024-08-02 10:34:24 +00:00
### DeployedCosmosCoinContract
DeployedCosmosCoinContract defines a deployed token contract to the evm representing a native cosmos-sdk coin
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `cosmos_denom` | [string](#string) | | |
| `address` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryDeployedCosmosCoinContractsRequest
QueryDeployedCosmosCoinContractsRequest defines the request type for Query/DeployedCosmosCoinContracts method.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `cosmos_denoms` | [string](#string) | repeated | optional query param to only return specific denoms in the list denoms that do not have deployed contracts will be omitted from the result must request fewer than 100 denoms at a time. |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse"></a>
### QueryDeployedCosmosCoinContractsResponse
QueryDeployedCosmosCoinContractsResponse defines the response type for the Query/DeployedCosmosCoinContracts method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `deployed_cosmos_coin_contracts` | [DeployedCosmosCoinContract](#zgc.evmutil.v1beta1.DeployedCosmosCoinContract) | repeated | deployed_cosmos_coin_contracts is a list of cosmos-sdk coin denom and its deployed contract address |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.QueryParamsRequest"></a>
2024-08-02 10:34:24 +00:00
### QueryParamsRequest
QueryParamsRequest defines the request type for querying x/evmutil parameters.
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.QueryParamsResponse"></a>
2024-08-02 10:34:24 +00:00
### QueryParamsResponse
QueryParamsResponse defines the response type for querying x/evmutil parameters.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#zgc.evmutil.v1beta1.Params) | | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.Query"></a>
2024-08-02 10:34:24 +00:00
### Query
Query defines the gRPC querier service for evmutil module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `Params` | [QueryParamsRequest](#zgc.evmutil.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#zgc.evmutil.v1beta1.QueryParamsResponse) | Params queries all parameters of the evmutil module. | GET|/0g/evmutil/v1beta1/params|
| `DeployedCosmosCoinContracts` | [QueryDeployedCosmosCoinContractsRequest](#zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsRequest) | [QueryDeployedCosmosCoinContractsResponse](#zgc.evmutil.v1beta1.QueryDeployedCosmosCoinContractsResponse) | DeployedCosmosCoinContracts queries a list cosmos coin denom and their deployed erc20 address | GET|/0g/evmutil/v1beta1/deployed_cosmos_coin_contracts|
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/evmutil/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/evmutil/v1beta1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertCoinToERC20"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertCoinToERC20
MsgConvertCoinToERC20 defines a conversion from sdk.Coin to 0gChain ERC20 for EVM-native assets.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `initiator` | [string](#string) | | 0gChain bech32 address initiating the conversion. |
| `receiver` | [string](#string) | | EVM 0x hex address that will receive the converted 0gChain ERC20 tokens. |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount is the sdk.Coin amount to convert. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertCoinToERC20Response"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertCoinToERC20Response
MsgConvertCoinToERC20Response defines the response value from Msg/ConvertCoinToERC20.
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertCosmosCoinFromERC20
MsgConvertCosmosCoinFromERC20 defines a conversion from ERC20 to cosmos coins for cosmos-native assets.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `initiator` | [string](#string) | | EVM hex address initiating the conversion. |
| `receiver` | [string](#string) | | 0gChain bech32 address that will receive the cosmos coins. |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount is the amount to convert, expressed as a Cosmos coin. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertCosmosCoinFromERC20Response
MsgConvertCosmosCoinFromERC20Response defines the response value from Msg/MsgConvertCosmosCoinFromERC20.
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertCosmosCoinToERC20
MsgConvertCosmosCoinToERC20 defines a conversion from cosmos sdk.Coin to ERC20 for cosmos-native assets.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `initiator` | [string](#string) | | 0gChain bech32 address initiating the conversion. |
| `receiver` | [string](#string) | | EVM hex address that will receive the ERC20 tokens. |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | Amount is the sdk.Coin amount to convert. |
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertCosmosCoinToERC20Response
MsgConvertCosmosCoinToERC20Response defines the response value from Msg/MsgConvertCosmosCoinToERC20.
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.MsgConvertERC20ToCoin"></a>
2024-08-02 10:34:24 +00:00
### MsgConvertERC20ToCoin
MsgConvertERC20ToCoin defines a conversion from 0gChain ERC20 to sdk.Coin for EVM-native assets.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `initiator` | [string](#string) | | EVM 0x hex address initiating the conversion. |
| `receiver` | [string](#string) | | 0gChain bech32 address that will receive the converted sdk.Coin. |
| `zgchain_erc20_address` | [string](#string) | | EVM 0x hex address of the ERC20 contract. |
| `amount` | [string](#string) | | ERC20 token amount to convert. |
<a name="zgc.evmutil.v1beta1.MsgConvertERC20ToCoinResponse"></a>
### MsgConvertERC20ToCoinResponse
MsgConvertERC20ToCoinResponse defines the response value from
Msg/MsgConvertERC20ToCoin.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.evmutil.v1beta1.Msg"></a>
### Msg
Msg defines the evmutil Msg service.
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `ConvertCoinToERC20` | [MsgConvertCoinToERC20](#zgc.evmutil.v1beta1.MsgConvertCoinToERC20) | [MsgConvertCoinToERC20Response](#zgc.evmutil.v1beta1.MsgConvertCoinToERC20Response) | ConvertCoinToERC20 defines a method for converting sdk.Coin to 0gChain ERC20. | |
| `ConvertERC20ToCoin` | [MsgConvertERC20ToCoin](#zgc.evmutil.v1beta1.MsgConvertERC20ToCoin) | [MsgConvertERC20ToCoinResponse](#zgc.evmutil.v1beta1.MsgConvertERC20ToCoinResponse) | ConvertERC20ToCoin defines a method for converting 0gChain ERC20 to sdk.Coin. | |
| `ConvertCosmosCoinToERC20` | [MsgConvertCosmosCoinToERC20](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20) | [MsgConvertCosmosCoinToERC20Response](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinToERC20Response) | ConvertCosmosCoinToERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. | |
| `ConvertCosmosCoinFromERC20` | [MsgConvertCosmosCoinFromERC20](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20) | [MsgConvertCosmosCoinFromERC20Response](#zgc.evmutil.v1beta1.MsgConvertCosmosCoinFromERC20Response) | ConvertCosmosCoinFromERC20 defines a method for converting a cosmos sdk.Coin to an ERC20. | |
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/issuance/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/issuance/v1beta1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.Asset"></a>
2024-08-02 10:34:24 +00:00
### Asset
Asset type for assets in the issuance module
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `owner` | [string](#string) | | |
| `denom` | [string](#string) | | |
| `blocked_addresses` | [string](#string) | repeated | |
| `paused` | [bool](#bool) | | |
| `blockable` | [bool](#bool) | | |
| `rate_limit` | [RateLimit](#zgc.issuance.v1beta1.RateLimit) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.AssetSupply"></a>
2024-08-02 10:34:24 +00:00
### AssetSupply
AssetSupply contains information about an asset's rate-limited supply (the
total supply of the asset is tracked in the top-level supply module)
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `current_supply` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `time_elapsed` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.GenesisState"></a>
2024-08-02 10:34:24 +00:00
### GenesisState
GenesisState defines the issuance module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#kava.issuance.v1beta1.Params) | | params defines all the parameters of the module. |
| `supplies` | [AssetSupply](#kava.issuance.v1beta1.AssetSupply) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.Params"></a>
2024-08-02 10:34:24 +00:00
### Params
Params defines the parameters for the issuance module.
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `assets` | [Asset](#zgc.issuance.v1beta1.Asset) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.RateLimit"></a>
### RateLimit
RateLimit parameters for rate-limiting the supply of an issued asset
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `active` | [bool](#bool) | | |
| `limit` | [bytes](#bytes) | | |
| `time_period` | [google.protobuf.Duration](#google.protobuf.Duration) | | |
2024-08-02 10:34:24 +00:00
<!-- end messages -->
2024-08-02 10:34:24 +00:00
<!-- end enums -->
2024-08-02 10:34:24 +00:00
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/issuance/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/issuance/v1beta1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.QueryParamsRequest"></a>
### QueryParamsRequest
2024-08-02 10:34:24 +00:00
QueryParamsRequest defines the request type for querying x/issuance parameters.
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.QueryParamsResponse"></a>
### QueryParamsResponse
2024-08-02 10:34:24 +00:00
QueryParamsResponse defines the response type for querying x/issuance parameters.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#zgc.issuance.v1beta1.Params) | | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.Query"></a>
### Query
2024-08-02 10:34:24 +00:00
Query defines the gRPC querier service for issuance module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `Params` | [QueryParamsRequest](#zgc.issuance.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#zgc.issuance.v1beta1.QueryParamsResponse) | Params queries all parameters of the issuance module. | GET|/0g/issuance/v1beta1/params|
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/issuance/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/issuance/v1beta1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgBlockAddress"></a>
2024-08-02 10:34:24 +00:00
### MsgBlockAddress
MsgBlockAddress represents a message used by the issuer to block an address from holding or transferring tokens
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `sender` | [string](#string) | | |
| `denom` | [string](#string) | | |
| `blocked_address` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgBlockAddressResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgBlockAddressResponse
MsgBlockAddressResponse defines the Msg/BlockAddress response type.
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgIssueTokens"></a>
2024-08-02 10:34:24 +00:00
### MsgIssueTokens
MsgIssueTokens represents a message used by the issuer to issue new tokens
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `sender` | [string](#string) | | |
| `tokens` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
| `receiver` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgIssueTokensResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgIssueTokensResponse
MsgIssueTokensResponse defines the Msg/IssueTokens response type.
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgRedeemTokens"></a>
2024-08-02 10:34:24 +00:00
### MsgRedeemTokens
MsgRedeemTokens represents a message used by the issuer to redeem (burn) tokens
2024-08-02 10:34:24 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `sender` | [string](#string) | | |
| `tokens` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgRedeemTokensResponse"></a>
2024-08-02 10:34:24 +00:00
### MsgRedeemTokensResponse
MsgRedeemTokensResponse defines the Msg/RedeemTokens response type.
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgSetPauseStatus"></a>
### MsgSetPauseStatus
MsgSetPauseStatus message type used by the issuer to pause or unpause status
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `sender` | [string](#string) | | |
| `denom` | [string](#string) | | |
| `status` | [bool](#bool) | | |
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgSetPauseStatusResponse"></a>
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
### MsgSetPauseStatusResponse
MsgSetPauseStatusResponse defines the Msg/SetPauseStatus response type.
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgUnblockAddress"></a>
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
### MsgUnblockAddress
MsgUnblockAddress message type used by the issuer to unblock an address from holding or transferring tokens
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `sender` | [string](#string) | | |
| `denom` | [string](#string) | | |
| `blocked_address` | [string](#string) | | |
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.MsgUnblockAddressResponse"></a>
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
2024-08-02 10:34:24 +00:00
### MsgUnblockAddressResponse
MsgUnblockAddressResponse defines the Msg/UnblockAddress response type.
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.issuance.v1beta1.Msg"></a>
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
### Msg
2024-08-02 10:34:24 +00:00
Msg defines the issuance Msg service.
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `IssueTokens` | [MsgIssueTokens](#zgc.issuance.v1beta1.MsgIssueTokens) | [MsgIssueTokensResponse](#zgc.issuance.v1beta1.MsgIssueTokensResponse) | IssueTokens message type used by the issuer to issue new tokens | |
| `RedeemTokens` | [MsgRedeemTokens](#zgc.issuance.v1beta1.MsgRedeemTokens) | [MsgRedeemTokensResponse](#zgc.issuance.v1beta1.MsgRedeemTokensResponse) | RedeemTokens message type used by the issuer to redeem (burn) tokens | |
| `BlockAddress` | [MsgBlockAddress](#zgc.issuance.v1beta1.MsgBlockAddress) | [MsgBlockAddressResponse](#zgc.issuance.v1beta1.MsgBlockAddressResponse) | BlockAddress message type used by the issuer to block an address from holding or transferring tokens | |
| `UnblockAddress` | [MsgUnblockAddress](#zgc.issuance.v1beta1.MsgUnblockAddress) | [MsgUnblockAddressResponse](#zgc.issuance.v1beta1.MsgUnblockAddressResponse) | UnblockAddress message type used by the issuer to unblock an address from holding or transferring tokens | |
| `SetPauseStatus` | [MsgSetPauseStatus](#zgc.issuance.v1beta1.MsgSetPauseStatus) | [MsgSetPauseStatusResponse](#zgc.issuance.v1beta1.MsgSetPauseStatusResponse) | SetPauseStatus message type used to pause or unpause status | |
liquid staking (#1273) * proto types * proto generated types * liquidstaking top level files: module, genesis * liquidstaking types * liquidstaking keeper * liquidstaking client/cli * add liquidstaking to app, simapp * implement mint derivative * set up liquidstaking keeper test suite * test mint derivative * rename module to liquid * rename proto types, app.go to liquid * use sdk.Coin instead of shares * mint liquid tokens to delegator * burn derivative tokens to receive delegation * use conversion method instead of type cast * simplify delegation transfer logic * broaden delegation transfer tests * simplify transfer delegation method This removes a source of rounding errors * move derivative denom to keeper config * check for invalid coins in msg validation * block 0share transfers to avoid handling edge case * refactor MintDerivative to test calculations * simplify burn method so shares and tokens equal * convert TransferShares back to old design this makes handling vesting tokens easier * fix missed merge conflict * remove deprecated constants * tidy up msg.go * add msg tests * remove unused store key * fix msg event sender * remove unused params * tidy up documentation and errors * remove unused mocks * remove unused keepers from AppModule * tidy up msg return values keeper return values to be used in router msgs * reinstate unintentionally removed interface check * catch invalid input for MnitDerivative clear up test TODOs * clear up InitGenesis TODO * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * Update x/liquid/client/cli/tx.go Co-authored-by: Derrick Lee <derrick@dlee.dev> * show error logs in devnet * unblock mod account so it can receive dist rewards * catch zero amout msgs early * minor cli fixes Co-authored-by: rhuairahrighairigh <ruaridh.odonnell@gmail.com> Co-authored-by: Ruaridh <rhuairahrighairidh@users.noreply.github.com> Co-authored-by: Derrick Lee <derrick@dlee.dev>
2022-09-15 22:00:32 +00:00
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/pricefeed/v1beta1/store.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/pricefeed/v1beta1/store.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.CurrentPrice"></a>
### CurrentPrice
CurrentPrice defines a current price for a particular market in the pricefeed
module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
| `price` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.Market"></a>
### Market
Market defines an asset in the pricefeed.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
| `base_asset` | [string](#string) | | |
| `quote_asset` | [string](#string) | | |
| `oracles` | [bytes](#bytes) | repeated | |
| `active` | [bool](#bool) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.Params"></a>
### Params
Params defines the parameters for the pricefeed module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `markets` | [Market](#zgc.pricefeed.v1beta1.Market) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.PostedPrice"></a>
### PostedPrice
PostedPrice defines a price for market posted by a specific oracle.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
| `oracle_address` | [bytes](#bytes) | | |
| `price` | [string](#string) | | |
| `expiry` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/pricefeed/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/pricefeed/v1beta1/genesis.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.GenesisState"></a>
### GenesisState
GenesisState defines the pricefeed module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.pricefeed.v1beta1.Params) | | params defines all the parameters of the module. |
| `posted_prices` | [PostedPrice](#kava.pricefeed.v1beta1.PostedPrice) | repeated | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/pricefeed/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/pricefeed/v1beta1/query.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.CurrentPriceResponse"></a>
### CurrentPriceResponse
CurrentPriceResponse defines a current price for a particular market in the pricefeed
module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
| `price` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.MarketResponse"></a>
### MarketResponse
MarketResponse defines an asset in the pricefeed.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
| `base_asset` | [string](#string) | | |
| `quote_asset` | [string](#string) | | |
| `oracles` | [string](#string) | repeated | |
| `active` | [bool](#bool) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.PostedPriceResponse"></a>
### PostedPriceResponse
PostedPriceResponse defines a price for market posted by a specific oracle.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
| `oracle_address` | [string](#string) | | |
| `price` | [string](#string) | | |
| `expiry` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryMarketsRequest"></a>
### QueryMarketsRequest
QueryMarketsRequest is the request type for the Query/Markets RPC method.
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryMarketsResponse"></a>
### QueryMarketsResponse
QueryMarketsResponse is the response type for the Query/Markets RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `markets` | [MarketResponse](#zgc.pricefeed.v1beta1.MarketResponse) | repeated | List of markets |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryOraclesRequest"></a>
### QueryOraclesRequest
QueryOraclesRequest is the request type for the Query/Oracles RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryOraclesResponse"></a>
### QueryOraclesResponse
QueryOraclesResponse is the response type for the Query/Oracles RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `oracles` | [string](#string) | repeated | List of oracle addresses |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryParamsRequest"></a>
### QueryParamsRequest
QueryParamsRequest defines the request type for querying x/pricefeed
parameters.
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryParamsResponse"></a>
### QueryParamsResponse
QueryParamsResponse defines the response type for querying x/pricefeed
parameters.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `params` | [Params](#zgc.pricefeed.v1beta1.Params) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryPriceRequest"></a>
### QueryPriceRequest
QueryPriceRequest is the request type for the Query/PriceRequest RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryPriceResponse"></a>
### QueryPriceResponse
QueryPriceResponse is the response type for the Query/Prices RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `price` | [CurrentPriceResponse](#zgc.pricefeed.v1beta1.CurrentPriceResponse) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryPricesRequest"></a>
### QueryPricesRequest
QueryPricesRequest is the request type for the Query/Prices RPC method.
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryPricesResponse"></a>
### QueryPricesResponse
QueryPricesResponse is the response type for the Query/Prices RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `prices` | [CurrentPriceResponse](#zgc.pricefeed.v1beta1.CurrentPriceResponse) | repeated | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryRawPricesRequest"></a>
### QueryRawPricesRequest
QueryRawPricesRequest is the request type for the Query/RawPrices RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `market_id` | [string](#string) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.QueryRawPricesResponse"></a>
### QueryRawPricesResponse
QueryRawPricesResponse is the response type for the Query/RawPrices RPC
method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
2024-08-02 10:34:24 +00:00
| `raw_prices` | [PostedPriceResponse](#zgc.pricefeed.v1beta1.PostedPriceResponse) | repeated | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.Query"></a>
### Query
Query defines the gRPC querier service for pricefeed module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
2024-08-02 10:34:24 +00:00
| `Params` | [QueryParamsRequest](#zgc.pricefeed.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#zgc.pricefeed.v1beta1.QueryParamsResponse) | Params queries all parameters of the pricefeed module. | GET|/0g/pricefeed/v1beta1/params|
| `Price` | [QueryPriceRequest](#zgc.pricefeed.v1beta1.QueryPriceRequest) | [QueryPriceResponse](#zgc.pricefeed.v1beta1.QueryPriceResponse) | Price queries price details based on a market | GET|/0g/pricefeed/v1beta1/prices/{market_id}|
| `Prices` | [QueryPricesRequest](#zgc.pricefeed.v1beta1.QueryPricesRequest) | [QueryPricesResponse](#zgc.pricefeed.v1beta1.QueryPricesResponse) | Prices queries all prices | GET|/0g/pricefeed/v1beta1/prices|
| `RawPrices` | [QueryRawPricesRequest](#zgc.pricefeed.v1beta1.QueryRawPricesRequest) | [QueryRawPricesResponse](#zgc.pricefeed.v1beta1.QueryRawPricesResponse) | RawPrices queries all raw prices based on a market | GET|/0g/pricefeed/v1beta1/rawprices/{market_id}|
| `Oracles` | [QueryOraclesRequest](#zgc.pricefeed.v1beta1.QueryOraclesRequest) | [QueryOraclesResponse](#zgc.pricefeed.v1beta1.QueryOraclesResponse) | Oracles queries all oracles based on a market | GET|/0g/pricefeed/v1beta1/oracles/{market_id}|
| `Markets` | [QueryMarketsRequest](#zgc.pricefeed.v1beta1.QueryMarketsRequest) | [QueryMarketsResponse](#zgc.pricefeed.v1beta1.QueryMarketsResponse) | Markets queries all markets | GET|/0g/pricefeed/v1beta1/markets|
<!-- end services -->
2024-08-02 10:34:24 +00:00
<a name="zgc/pricefeed/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
2024-08-02 10:34:24 +00:00
## zgc/pricefeed/v1beta1/tx.proto
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.MsgPostPrice"></a>
### MsgPostPrice
MsgPostPrice represents a method for creating a new post price
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `from` | [string](#string) | | address of client |
| `market_id` | [string](#string) | | |
| `price` | [string](#string) | | |
| `expiry` | [google.protobuf.Timestamp](#google.protobuf.Timestamp) | | |
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.MsgPostPriceResponse"></a>
### MsgPostPriceResponse
MsgPostPriceResponse defines the Msg/PostPrice response type.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
2024-08-02 10:34:24 +00:00
<a name="zgc.pricefeed.v1beta1.Msg"></a>
### Msg
Msg defines the pricefeed Msg service.
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `PostPrice` | [MsgPostPrice](#kava.pricefeed.v1beta1.MsgPostPrice) | [MsgPostPriceResponse](#kava.pricefeed.v1beta1.MsgPostPriceResponse) | PostPrice defines a method for creating a new post price | |
<!-- end services -->
<a name="kava/router/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/router/v1beta1/tx.proto
<a name="kava.router.v1beta1.MsgDelegateMintDeposit"></a>
### MsgDelegateMintDeposit
MsgDelegateMintDeposit delegates tokens to a validator, then converts them into staking derivatives,
then deposits to an earn vault.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | depositor represents the owner of the tokens to delegate |
| `validator` | [string](#string) | | validator is the address of the validator to delegate to |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the tokens to delegate |
<a name="kava.router.v1beta1.MsgDelegateMintDepositResponse"></a>
### MsgDelegateMintDepositResponse
MsgDelegateMintDepositResponse defines the Msg/MsgDelegateMintDeposit response type.
<a name="kava.router.v1beta1.MsgMintDeposit"></a>
### MsgMintDeposit
MsgMintDeposit converts a delegation into staking derivatives and deposits it all into an earn vault.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | depositor represents the owner of the delegation to convert |
| `validator` | [string](#string) | | validator is the validator for the depositor's delegation |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the delegation balance to convert |
<a name="kava.router.v1beta1.MsgMintDepositResponse"></a>
### MsgMintDepositResponse
MsgMintDepositResponse defines the Msg/MsgMintDeposit response type.
<a name="kava.router.v1beta1.MsgWithdrawBurn"></a>
### MsgWithdrawBurn
MsgWithdrawBurn removes staking derivatives from an earn vault and converts them back to a staking delegation.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `from` | [string](#string) | | from is the owner of the earn vault to withdraw from |
| `validator` | [string](#string) | | validator is the address to select the derivative denom to withdraw |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the staked token equivalent to withdraw |
<a name="kava.router.v1beta1.MsgWithdrawBurnResponse"></a>
### MsgWithdrawBurnResponse
MsgWithdrawBurnResponse defines the Msg/MsgWithdrawBurn response type.
<a name="kava.router.v1beta1.MsgWithdrawBurnUndelegate"></a>
### MsgWithdrawBurnUndelegate
MsgWithdrawBurnUndelegate removes staking derivatives from an earn vault, converts them to a staking delegation,
then undelegates them from their validator.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `from` | [string](#string) | | from is the owner of the earn vault to withdraw from |
| `validator` | [string](#string) | | validator is the address to select the derivative denom to withdraw |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | amount is the staked token equivalent to withdraw |
<a name="kava.router.v1beta1.MsgWithdrawBurnUndelegateResponse"></a>
### MsgWithdrawBurnUndelegateResponse
MsgWithdrawBurnUndelegateResponse defines the Msg/MsgWithdrawBurnUndelegate response type.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<a name="kava.router.v1beta1.Msg"></a>
### Msg
Msg defines the router Msg service.
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `MintDeposit` | [MsgMintDeposit](#kava.router.v1beta1.MsgMintDeposit) | [MsgMintDepositResponse](#kava.router.v1beta1.MsgMintDepositResponse) | MintDeposit converts a delegation into staking derivatives and deposits it all into an earn vault. | |
| `DelegateMintDeposit` | [MsgDelegateMintDeposit](#kava.router.v1beta1.MsgDelegateMintDeposit) | [MsgDelegateMintDepositResponse](#kava.router.v1beta1.MsgDelegateMintDepositResponse) | DelegateMintDeposit delegates tokens to a validator, then converts them into staking derivatives, then deposits to an earn vault. | |
| `WithdrawBurn` | [MsgWithdrawBurn](#kava.router.v1beta1.MsgWithdrawBurn) | [MsgWithdrawBurnResponse](#kava.router.v1beta1.MsgWithdrawBurnResponse) | WithdrawBurn removes staking derivatives from an earn vault and converts them back to a staking delegation. | |
| `WithdrawBurnUndelegate` | [MsgWithdrawBurnUndelegate](#kava.router.v1beta1.MsgWithdrawBurnUndelegate) | [MsgWithdrawBurnUndelegateResponse](#kava.router.v1beta1.MsgWithdrawBurnUndelegateResponse) | WithdrawBurnUndelegate removes staking derivatives from an earn vault, converts them to a staking delegation, then undelegates them from their validator. | |
<!-- end services -->
<a name="kava/savings/v1beta1/store.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/savings/v1beta1/store.proto
<a name="kava.savings.v1beta1.Deposit"></a>
### Deposit
Deposit defines an amount of coins deposited into a savings module account.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
<a name="kava.savings.v1beta1.Params"></a>
### Params
Params defines the parameters for the savings module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `supported_denoms` | [string](#string) | repeated | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
<a name="kava/savings/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/savings/v1beta1/genesis.proto
<a name="kava.savings.v1beta1.GenesisState"></a>
### GenesisState
GenesisState defines the savings module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.savings.v1beta1.Params) | | params defines all the parameters of the module. |
| `deposits` | [Deposit](#kava.savings.v1beta1.Deposit) | repeated | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
<a name="kava/savings/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/savings/v1beta1/query.proto
<a name="kava.savings.v1beta1.QueryDepositsRequest"></a>
### QueryDepositsRequest
QueryDepositsRequest defines the request type for querying x/savings
deposits.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `denom` | [string](#string) | | |
| `owner` | [string](#string) | | |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | |
<a name="kava.savings.v1beta1.QueryDepositsResponse"></a>
### QueryDepositsResponse
QueryDepositsResponse defines the response type for querying x/savings
deposits.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `deposits` | [Deposit](#kava.savings.v1beta1.Deposit) | repeated | |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | |
<a name="kava.savings.v1beta1.QueryParamsRequest"></a>
### QueryParamsRequest
QueryParamsRequest defines the request type for querying x/savings
parameters.
<a name="kava.savings.v1beta1.QueryParamsResponse"></a>
### QueryParamsResponse
QueryParamsResponse defines the response type for querying x/savings
parameters.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.savings.v1beta1.Params) | | |
<a name="kava.savings.v1beta1.QueryTotalSupplyRequest"></a>
### QueryTotalSupplyRequest
QueryTotalSupplyRequest defines the request type for Query/TotalSupply method.
<a name="kava.savings.v1beta1.QueryTotalSupplyResponse"></a>
### QueryTotalSupplyResponse
TotalSupplyResponse defines the response type for the Query/TotalSupply method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `height` | [int64](#int64) | | Height is the block height at which these totals apply |
| `result` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | Result is a list of coins supplied to savings |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<a name="kava.savings.v1beta1.Query"></a>
### Query
Query defines the gRPC querier service for savings module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Params` | [QueryParamsRequest](#kava.savings.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.savings.v1beta1.QueryParamsResponse) | Params queries all parameters of the savings module. | GET|/kava/savings/v1beta1/params|
| `Deposits` | [QueryDepositsRequest](#kava.savings.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.savings.v1beta1.QueryDepositsResponse) | Deposits queries savings deposits. | GET|/kava/savings/v1beta1/deposits|
| `TotalSupply` | [QueryTotalSupplyRequest](#kava.savings.v1beta1.QueryTotalSupplyRequest) | [QueryTotalSupplyResponse](#kava.savings.v1beta1.QueryTotalSupplyResponse) | TotalSupply returns the total sum of all coins currently locked into the savings module. | GET|/kava/savings/v1beta1/total_supply|
<!-- end services -->
<a name="kava/savings/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/savings/v1beta1/tx.proto
<a name="kava.savings.v1beta1.MsgDeposit"></a>
### MsgDeposit
MsgDeposit defines the Msg/Deposit request type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
<a name="kava.savings.v1beta1.MsgDepositResponse"></a>
### MsgDepositResponse
MsgDepositResponse defines the Msg/Deposit response type.
<a name="kava.savings.v1beta1.MsgWithdraw"></a>
### MsgWithdraw
MsgWithdraw defines the Msg/Withdraw request type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | |
| `amount` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | |
<a name="kava.savings.v1beta1.MsgWithdrawResponse"></a>
### MsgWithdrawResponse
MsgWithdrawResponse defines the Msg/Withdraw response type.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<a name="kava.savings.v1beta1.Msg"></a>
### Msg
Msg defines the savings Msg service.
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Deposit` | [MsgDeposit](#kava.savings.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.savings.v1beta1.MsgDepositResponse) | Deposit defines a method for depositing funds to the savings module account | |
| `Withdraw` | [MsgWithdraw](#kava.savings.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.savings.v1beta1.MsgWithdrawResponse) | Withdraw defines a method for withdrawing funds to the savings module account | |
<!-- end services -->
<a name="kava/swap/v1beta1/swap.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/swap/v1beta1/swap.proto
<a name="kava.swap.v1beta1.AllowedPool"></a>
### AllowedPool
AllowedPool defines a pool that is allowed to be created
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `token_a` | [string](#string) | | token_a represents the a token allowed |
| `token_b` | [string](#string) | | token_b represents the b token allowed |
<a name="kava.swap.v1beta1.Params"></a>
### Params
Params defines the parameters for the swap module.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `allowed_pools` | [AllowedPool](#kava.swap.v1beta1.AllowedPool) | repeated | allowed_pools defines that pools that are allowed to be created |
| `swap_fee` | [string](#string) | | swap_fee defines the swap fee for all pools |
<a name="kava.swap.v1beta1.PoolRecord"></a>
### PoolRecord
PoolRecord represents the state of a liquidity pool
and is used to store the state of a denominated pool
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `pool_id` | [string](#string) | | pool_id represents the unique id of the pool |
| `reserves_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | reserves_a is the a token coin reserves |
| `reserves_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | reserves_b is the a token coin reserves |
| `total_shares` | [string](#string) | | total_shares is the total distrubuted shares of the pool |
<a name="kava.swap.v1beta1.ShareRecord"></a>
### ShareRecord
ShareRecord stores the shares owned for a depositor and pool
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [bytes](#bytes) | | depositor represents the owner of the shares |
| `pool_id` | [string](#string) | | pool_id represents the pool the shares belong to |
| `shares_owned` | [string](#string) | | shares_owned represents the number of shares owned by depsoitor for the pool_id |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
<a name="kava/swap/v1beta1/genesis.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/swap/v1beta1/genesis.proto
<a name="kava.swap.v1beta1.GenesisState"></a>
### GenesisState
GenesisState defines the swap module's genesis state.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.swap.v1beta1.Params) | | params defines all the parameters related to swap |
| `pool_records` | [PoolRecord](#kava.swap.v1beta1.PoolRecord) | repeated | pool_records defines the available pools |
| `share_records` | [ShareRecord](#kava.swap.v1beta1.ShareRecord) | repeated | share_records defines the owned shares of each pool |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<!-- end services -->
<a name="kava/swap/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/swap/v1beta1/query.proto
<a name="kava.swap.v1beta1.DepositResponse"></a>
### DepositResponse
DepositResponse defines a single deposit query response type.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | depositor represents the owner of the deposit |
| `pool_id` | [string](#string) | | pool_id represents the pool the deposit is for |
| `shares_owned` | [string](#string) | | shares_owned presents the shares owned by the depositor for the pool |
| `shares_value` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | shares_value represents the coin value of the shares_owned |
<a name="kava.swap.v1beta1.PoolResponse"></a>
### PoolResponse
Pool represents the state of a single pool
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `name` | [string](#string) | | name represents the name of the pool |
| `coins` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | repeated | coins represents the total reserves of the pool |
| `total_shares` | [string](#string) | | total_shares represents the total shares of the pool |
<a name="kava.swap.v1beta1.QueryDepositsRequest"></a>
### QueryDepositsRequest
QueryDepositsRequest is the request type for the Query/Deposits RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `owner` | [string](#string) | | owner optionally filters deposits by owner |
| `pool_id` | [string](#string) | | pool_id optionally fitlers deposits by pool id |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
<a name="kava.swap.v1beta1.QueryDepositsResponse"></a>
### QueryDepositsResponse
QueryDepositsResponse is the response type for the Query/Deposits RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `deposits` | [DepositResponse](#kava.swap.v1beta1.DepositResponse) | repeated | deposits returns the deposits matching the requested parameters |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
<a name="kava.swap.v1beta1.QueryParamsRequest"></a>
### QueryParamsRequest
QueryParamsRequest defines the request type for querying x/swap parameters.
<a name="kava.swap.v1beta1.QueryParamsResponse"></a>
### QueryParamsResponse
QueryParamsResponse defines the response type for querying x/swap parameters.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `params` | [Params](#kava.swap.v1beta1.Params) | | params represents the swap module parameters |
<a name="kava.swap.v1beta1.QueryPoolsRequest"></a>
### QueryPoolsRequest
QueryPoolsRequest is the request type for the Query/Pools RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `pool_id` | [string](#string) | | pool_id filters pools by id |
| `pagination` | [cosmos.base.query.v1beta1.PageRequest](#cosmos.base.query.v1beta1.PageRequest) | | pagination defines an optional pagination for the request. |
<a name="kava.swap.v1beta1.QueryPoolsResponse"></a>
### QueryPoolsResponse
QueryPoolsResponse is the response type for the Query/Pools RPC method.
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `pools` | [PoolResponse](#kava.swap.v1beta1.PoolResponse) | repeated | pools represents returned pools |
| `pagination` | [cosmos.base.query.v1beta1.PageResponse](#cosmos.base.query.v1beta1.PageResponse) | | pagination defines the pagination in the response. |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<a name="kava.swap.v1beta1.Query"></a>
### Query
Query defines the gRPC querier service for swap module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Params` | [QueryParamsRequest](#kava.swap.v1beta1.QueryParamsRequest) | [QueryParamsResponse](#kava.swap.v1beta1.QueryParamsResponse) | Params queries all parameters of the swap module. | GET|/kava/swap/v1beta1/params|
| `Pools` | [QueryPoolsRequest](#kava.swap.v1beta1.QueryPoolsRequest) | [QueryPoolsResponse](#kava.swap.v1beta1.QueryPoolsResponse) | Pools queries pools based on pool ID | GET|/kava/swap/v1beta1/pools|
| `Deposits` | [QueryDepositsRequest](#kava.swap.v1beta1.QueryDepositsRequest) | [QueryDepositsResponse](#kava.swap.v1beta1.QueryDepositsResponse) | Deposits queries deposit details based on owner address and pool | GET|/kava/swap/v1beta1/deposits|
<!-- end services -->
<a name="kava/swap/v1beta1/tx.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/swap/v1beta1/tx.proto
<a name="kava.swap.v1beta1.MsgDeposit"></a>
### MsgDeposit
MsgDeposit represents a message for depositing liquidity into a pool
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `depositor` | [string](#string) | | depositor represents the address to deposit funds from |
| `token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_a represents one token of deposit pair |
| `token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_b represents one token of deposit pair |
| `slippage` | [string](#string) | | slippage represents the max decimal percentage price change |
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the deposit by |
<a name="kava.swap.v1beta1.MsgDepositResponse"></a>
### MsgDepositResponse
MsgDepositResponse defines the Msg/Deposit response type.
<a name="kava.swap.v1beta1.MsgSwapExactForTokens"></a>
### MsgSwapExactForTokens
MsgSwapExactForTokens represents a message for trading exact coinA for coinB
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `requester` | [string](#string) | | represents the address swaping the tokens |
| `exact_token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | exact_token_a represents the exact amount to swap for token_b |
| `token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_b represents the desired token_b to swap for |
| `slippage` | [string](#string) | | slippage represents the maximum change in token_b allowed |
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the swap by |
<a name="kava.swap.v1beta1.MsgSwapExactForTokensResponse"></a>
### MsgSwapExactForTokensResponse
MsgSwapExactForTokensResponse defines the Msg/SwapExactForTokens response
type.
<a name="kava.swap.v1beta1.MsgSwapForExactTokens"></a>
### MsgSwapForExactTokens
MsgSwapForExactTokens represents a message for trading coinA for an exact
coinB
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `requester` | [string](#string) | | represents the address swaping the tokens |
| `token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | token_a represents the desired token_a to swap for |
| `exact_token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | exact_token_b represents the exact token b amount to swap for token a |
| `slippage` | [string](#string) | | slippage represents the maximum change in token_a allowed |
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the swap by |
<a name="kava.swap.v1beta1.MsgSwapForExactTokensResponse"></a>
### MsgSwapForExactTokensResponse
MsgSwapForExactTokensResponse defines the Msg/SwapForExactTokensResponse
response type.
<a name="kava.swap.v1beta1.MsgWithdraw"></a>
### MsgWithdraw
MsgWithdraw represents a message for withdrawing liquidity from a pool
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `from` | [string](#string) | | from represents the address we are withdrawing for |
| `shares` | [string](#string) | | shares represents the amount of shares to withdraw |
| `min_token_a` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | min_token_a represents the minimum a token to withdraw |
| `min_token_b` | [cosmos.base.v1beta1.Coin](#cosmos.base.v1beta1.Coin) | | min_token_a represents the minimum a token to withdraw |
| `deadline` | [int64](#int64) | | deadline represents the unix timestamp to complete the withdraw by |
<a name="kava.swap.v1beta1.MsgWithdrawResponse"></a>
### MsgWithdrawResponse
MsgWithdrawResponse defines the Msg/Withdraw response type.
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<a name="kava.swap.v1beta1.Msg"></a>
### Msg
Msg defines the swap Msg service.
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `Deposit` | [MsgDeposit](#kava.swap.v1beta1.MsgDeposit) | [MsgDepositResponse](#kava.swap.v1beta1.MsgDepositResponse) | Deposit defines a method for depositing liquidity into a pool | |
| `Withdraw` | [MsgWithdraw](#kava.swap.v1beta1.MsgWithdraw) | [MsgWithdrawResponse](#kava.swap.v1beta1.MsgWithdrawResponse) | Withdraw defines a method for withdrawing liquidity into a pool | |
| `SwapExactForTokens` | [MsgSwapExactForTokens](#kava.swap.v1beta1.MsgSwapExactForTokens) | [MsgSwapExactForTokensResponse](#kava.swap.v1beta1.MsgSwapExactForTokensResponse) | SwapExactForTokens represents a message for trading exact coinA for coinB | |
| `SwapForExactTokens` | [MsgSwapForExactTokens](#kava.swap.v1beta1.MsgSwapForExactTokens) | [MsgSwapForExactTokensResponse](#kava.swap.v1beta1.MsgSwapForExactTokensResponse) | SwapForExactTokens represents a message for trading coinA for an exact coinB | |
<!-- end services -->
<a name="kava/validatorvesting/v1beta1/query.proto"></a>
<p align="right"><a href="#top">Top</a></p>
## kava/validatorvesting/v1beta1/query.proto
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest"></a>
### QueryCirculatingSupplyHARDRequest
QueryCirculatingSupplyHARDRequest is the request type for the Query/CirculatingSupplyHARD RPC method
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse"></a>
### QueryCirculatingSupplyHARDResponse
QueryCirculatingSupplyHARDResponse is the response type for the Query/CirculatingSupplyHARD RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplyRequest"></a>
### QueryCirculatingSupplyRequest
QueryCirculatingSupplyRequest is the request type for the Query/CirculatingSupply RPC method
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplyResponse"></a>
### QueryCirculatingSupplyResponse
QueryCirculatingSupplyResponse is the response type for the Query/CirculatingSupply RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest"></a>
### QueryCirculatingSupplySWPRequest
QueryCirculatingSupplySWPRequest is the request type for the Query/CirculatingSupplySWP RPC method
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse"></a>
### QueryCirculatingSupplySWPResponse
QueryCirculatingSupplySWPResponse is the response type for the Query/CirculatingSupplySWP RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest"></a>
### QueryCirculatingSupplyUSDXRequest
QueryCirculatingSupplyUSDXRequest is the request type for the Query/CirculatingSupplyUSDX RPC method
<a name="kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse"></a>
### QueryCirculatingSupplyUSDXResponse
QueryCirculatingSupplyUSDXResponse is the response type for the Query/CirculatingSupplyUSDX RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<a name="kava.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest"></a>
### QueryTotalSupplyHARDRequest
QueryTotalSupplyHARDRequest is the request type for the Query/TotalSupplyHARD RPC method
<a name="kava.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse"></a>
### QueryTotalSupplyHARDResponse
QueryTotalSupplyHARDResponse is the response type for the Query/TotalSupplyHARD RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<a name="kava.validatorvesting.v1beta1.QueryTotalSupplyRequest"></a>
### QueryTotalSupplyRequest
QueryTotalSupplyRequest is the request type for the Query/TotalSupply RPC method
<a name="kava.validatorvesting.v1beta1.QueryTotalSupplyResponse"></a>
### QueryTotalSupplyResponse
QueryTotalSupplyResponse is the response type for the Query/TotalSupply RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<a name="kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest"></a>
### QueryTotalSupplyUSDXRequest
QueryTotalSupplyUSDXRequest is the request type for the Query/TotalSupplyUSDX RPC method
<a name="kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse"></a>
### QueryTotalSupplyUSDXResponse
QueryTotalSupplyUSDXResponse is the response type for the Query/TotalSupplyUSDX RPC method
| Field | Type | Label | Description |
| ----- | ---- | ----- | ----------- |
| `amount` | [string](#string) | | |
<!-- end messages -->
<!-- end enums -->
<!-- end HasExtensions -->
<a name="kava.validatorvesting.v1beta1.Query"></a>
### Query
Query defines the gRPC querier service for validator-vesting module
| Method Name | Request Type | Response Type | Description | HTTP Verb | Endpoint |
| ----------- | ------------ | ------------- | ------------| ------- | -------- |
| `CirculatingSupply` | [QueryCirculatingSupplyRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyRequest) | [QueryCirculatingSupplyResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyResponse) | CirculatingSupply returns the total amount of kava tokens in circulation | GET|/kava/validator-vesting/v1beta1/circulating_supply|
| `TotalSupply` | [QueryTotalSupplyRequest](#kava.validatorvesting.v1beta1.QueryTotalSupplyRequest) | [QueryTotalSupplyResponse](#kava.validatorvesting.v1beta1.QueryTotalSupplyResponse) | TotalSupply returns the total amount of kava tokens | GET|/kava/validator-vesting/v1beta1/total_supply|
| `CirculatingSupplyHARD` | [QueryCirculatingSupplyHARDRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDRequest) | [QueryCirculatingSupplyHARDResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyHARDResponse) | CirculatingSupplyHARD returns the total amount of hard tokens in circulation | GET|/kava/validator-vesting/v1beta1/circulating_supply_hard|
| `CirculatingSupplyUSDX` | [QueryCirculatingSupplyUSDXRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXRequest) | [QueryCirculatingSupplyUSDXResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplyUSDXResponse) | CirculatingSupplyUSDX returns the total amount of usdx tokens in circulation | GET|/kava/validator-vesting/v1beta1/circulating_supply_usdx|
| `CirculatingSupplySWP` | [QueryCirculatingSupplySWPRequest](#kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPRequest) | [QueryCirculatingSupplySWPResponse](#kava.validatorvesting.v1beta1.QueryCirculatingSupplySWPResponse) | CirculatingSupplySWP returns the total amount of swp tokens in circulation | GET|/kava/validator-vesting/v1beta1/circulating_supply_swp|
| `TotalSupplyHARD` | [QueryTotalSupplyHARDRequest](#kava.validatorvesting.v1beta1.QueryTotalSupplyHARDRequest) | [QueryTotalSupplyHARDResponse](#kava.validatorvesting.v1beta1.QueryTotalSupplyHARDResponse) | TotalSupplyHARD returns the total amount of hard tokens | GET|/kava/validator-vesting/v1beta1/total_supply_hard|
| `TotalSupplyUSDX` | [QueryTotalSupplyUSDXRequest](#kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXRequest) | [QueryTotalSupplyUSDXResponse](#kava.validatorvesting.v1beta1.QueryTotalSupplyUSDXResponse) | TotalSupplyUSDX returns the total amount of usdx tokens | GET|/kava/validator-vesting/v1beta1/total_supply_usdx|
<!-- end services -->
## Scalar Value Types
| .proto Type | Notes | C++ | Java | Python | Go | C# | PHP | Ruby |
| ----------- | ----- | --- | ---- | ------ | -- | -- | --- | ---- |
| <a name="double" /> double | | double | double | float | float64 | double | float | Float |
| <a name="float" /> float | | float | float | float | float32 | float | float | Float |
| <a name="int32" /> int32 | Uses variable-length encoding. Inefficient for encoding negative numbers if your field is likely to have negative values, use sint32 instead. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| <a name="int64" /> int64 | Uses variable-length encoding. Inefficient for encoding negative numbers if your field is likely to have negative values, use sint64 instead. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| <a name="uint32" /> uint32 | Uses variable-length encoding. | uint32 | int | int/long | uint32 | uint | integer | Bignum or Fixnum (as required) |
| <a name="uint64" /> uint64 | Uses variable-length encoding. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum or Fixnum (as required) |
| <a name="sint32" /> sint32 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int32s. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| <a name="sint64" /> sint64 | Uses variable-length encoding. Signed int value. These more efficiently encode negative numbers than regular int64s. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| <a name="fixed32" /> fixed32 | Always four bytes. More efficient than uint32 if values are often greater than 2^28. | uint32 | int | int | uint32 | uint | integer | Bignum or Fixnum (as required) |
| <a name="fixed64" /> fixed64 | Always eight bytes. More efficient than uint64 if values are often greater than 2^56. | uint64 | long | int/long | uint64 | ulong | integer/string | Bignum |
| <a name="sfixed32" /> sfixed32 | Always four bytes. | int32 | int | int | int32 | int | integer | Bignum or Fixnum (as required) |
| <a name="sfixed64" /> sfixed64 | Always eight bytes. | int64 | long | int/long | int64 | long | integer/string | Bignum |
| <a name="bool" /> bool | | bool | boolean | boolean | bool | bool | boolean | TrueClass/FalseClass |
| <a name="string" /> string | A string must always contain UTF-8 encoded or 7-bit ASCII text. | string | String | str/unicode | string | string | string | String (UTF-8) |
| <a name="bytes" /> bytes | May contain any arbitrary sequence of bytes. | string | ByteString | str | []byte | ByteString | string | String (ASCII-8BIT) |