evmos.proto.autogen.py.cosmos.distribution.v1beta1

Classes

CommunityPoolSpendProposal(title, ...)

CommunityPoolSpendProposal details a proposal for use of community funds, together with how many coins are proposed to be spent, and to which recipient account.

CommunityPoolSpendProposalWithDeposit(title, ...)

CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal with a deposit

DelegationDelegatorReward(validator_address, ...)

DelegationDelegatorReward represents the properties of a delegator's delegation reward.

DelegatorStartingInfo(previous_period, ...)

DelegatorStartingInfo represents the starting info for a delegator reward period.

DelegatorStartingInfoRecord(...)

DelegatorStartingInfoRecord used for import / export via genesis json.

DelegatorWithdrawInfo(delegator_address, ...)

DelegatorWithdrawInfo is the address for where distributions rewards are withdrawn to by default this struct is only used at genesis to feed in default withdraw addresses.

FeePool(community_pool)

FeePool is the global fee pool for distribution.

GenesisState(params, fee_pool, ...)

GenesisState defines the distribution module's genesis state.

MsgBase()

MsgCommunityPoolSpend(authority, recipient, ...)

MsgCommunityPoolSpend defines a message for sending tokens from the community pool to another account.

MsgCommunityPoolSpendResponse()

MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message.

MsgDepositValidatorRewardsPool(depositor, ...)

DepositValidatorRewardsPool defines the request structure to provide additional rewards to delegators from a specific validator.

MsgDepositValidatorRewardsPoolResponse()

MsgDepositValidatorRewardsPoolResponse defines the response to executing a MsgDepositValidatorRewardsPool message.

MsgFundCommunityPool(amount, depositor)

MsgFundCommunityPool allows an account to directly fund the community pool.

MsgFundCommunityPoolResponse()

MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.

MsgSetWithdrawAddress(delegator_address, ...)

MsgSetWithdrawAddress sets the withdraw address for a delegator (or validator self-delegation).

MsgSetWithdrawAddressResponse()

MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.

MsgStub(channel, *[, timeout, deadline, ...])

MsgUpdateParams(authority, params)

MsgUpdateParams is the Msg/UpdateParams request type.

MsgUpdateParamsResponse()

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

MsgWithdrawDelegatorReward(...)

MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.

MsgWithdrawDelegatorRewardResponse(amount)

MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.

MsgWithdrawValidatorCommission(validator_address)

MsgWithdrawValidatorCommission withdraws the full commission to the validator address.

MsgWithdrawValidatorCommissionResponse(amount)

MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.

Params(community_tax, base_proposer_reward, ...)

Params defines the set of params for the distribution module.

QueryBase()

QueryCommunityPoolRequest()

QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.

QueryCommunityPoolResponse(pool)

QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.

QueryDelegationRewardsRequest(...)

QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.

QueryDelegationRewardsResponse(rewards)

QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.

QueryDelegationTotalRewardsRequest(...)

QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.

QueryDelegationTotalRewardsResponse(rewards, ...)

QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.

QueryDelegatorValidatorsRequest(...)

QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.

QueryDelegatorValidatorsResponse(validators)

QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.

QueryDelegatorWithdrawAddressRequest(...)

QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.

QueryDelegatorWithdrawAddressResponse(...)

QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.

QueryParamsRequest()

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

QueryParamsResponse(params)

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

QueryStub(channel, *[, timeout, deadline, ...])

QueryValidatorCommissionRequest(...)

QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method

QueryValidatorCommissionResponse(commission)

QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method

QueryValidatorDistributionInfoRequest(...)

QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method.

QueryValidatorDistributionInfoResponse(...)

QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method.

QueryValidatorOutstandingRewardsRequest(...)

QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.

QueryValidatorOutstandingRewardsResponse(rewards)

QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.

QueryValidatorSlashesRequest(...)

QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method

QueryValidatorSlashesResponse(slashes, ...)

QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.

ValidatorAccumulatedCommission(commission)

ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.

ValidatorAccumulatedCommissionRecord(...)

ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.

ValidatorCurrentRewards(rewards, period)

ValidatorCurrentRewards represents current rewards and current period for a validator kept as a running counter and incremented each block as long as the validator's tokens remain constant.

ValidatorCurrentRewardsRecord(...)

ValidatorCurrentRewardsRecord is used for import / export via genesis json.

ValidatorHistoricalRewards(...)

ValidatorHistoricalRewards represents historical rewards for a validator.

ValidatorHistoricalRewardsRecord(...)

ValidatorHistoricalRewardsRecord is used for import / export via genesis json.

ValidatorOutstandingRewards(rewards)

ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.

ValidatorOutstandingRewardsRecord(...)

ValidatorOutstandingRewardsRecord is used for import/export via genesis json.

ValidatorSlashEvent(validator_period, fraction)

ValidatorSlashEvent represents a validator slash event.

ValidatorSlashEventRecord(validator_address, ...)

ValidatorSlashEventRecord is used for import / export via genesis json.

ValidatorSlashEvents(validator_slash_events)

ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.CommunityPoolSpendProposal(title: str = <object object>, description: str = <object object>, recipient: str = <object object>, amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

CommunityPoolSpendProposal details a proposal for use of community funds, together with how many coins are proposed to be spent, and to which recipient account. Deprecated: Do not use. As of the Cosmos SDK release v0.47.x, there is no longer a need for an explicit CommunityPoolSpendProposal. To spend community pool funds, a simple MsgCommunityPoolSpend can be invoked from the x/gov module via a v1 governance proposal.

amount: List[Coin] = <object object>
description: str = <object object>
recipient: str = <object object>
title: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.CommunityPoolSpendProposalWithDeposit(title: str = <object object>, description: str = <object object>, recipient: str = <object object>, amount: str = <object object>, deposit: str = <object object>)[source]

Bases: Message

CommunityPoolSpendProposalWithDeposit defines a CommunityPoolSpendProposal with a deposit

amount: str = <object object>
deposit: str = <object object>
description: str = <object object>
recipient: str = <object object>
title: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegationDelegatorReward(validator_address: str = <object object>, reward: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

DelegationDelegatorReward represents the properties of a delegator’s delegation reward.

reward: List[DecCoin] = <object object>
validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegatorStartingInfo(previous_period: int = <object object>, stake: str = <object object>, height: int = <object object>)[source]

Bases: Message

DelegatorStartingInfo represents the starting info for a delegator reward period. It tracks the previous validator period, the delegation’s amount of staking token, and the creation height (to check later on if any slashes have occurred). NOTE: Even though validators are slashed to whole staking tokens, the delegators within the validator may be left with less than a full token, thus sdk.Dec is used.

height: int = <object object>
previous_period: int = <object object>
stake: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegatorStartingInfoRecord(delegator_address: str = <object object>, validator_address: str = <object object>, starting_info: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegatorStartingInfo = <object object>)[source]

Bases: Message

DelegatorStartingInfoRecord used for import / export via genesis json.

delegator_address: str = <object object>

delegator_address is the address of the delegator.

starting_info: DelegatorStartingInfo = <object object>

starting_info defines the starting info of a delegator.

validator_address: str = <object object>

validator_address is the address of the validator.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegatorWithdrawInfo(delegator_address: str = <object object>, withdraw_address: str = <object object>)[source]

Bases: Message

DelegatorWithdrawInfo is the address for where distributions rewards are withdrawn to by default this struct is only used at genesis to feed in default withdraw addresses.

delegator_address: str = <object object>

delegator_address is the address of the delegator.

withdraw_address: str = <object object>

withdraw_address is the address to withdraw the delegation rewards to.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.FeePool(community_pool: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

FeePool is the global fee pool for distribution.

community_pool: List[DecCoin] = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.GenesisState(params: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.Params = <object object>, fee_pool: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.FeePool = <object object>, delegator_withdraw_infos: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegatorWithdrawInfo] = <object object>, previous_proposer: str = <object object>, outstanding_rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord] = <object object>, validator_accumulated_commissions: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord] = <object object>, validator_historical_rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord] = <object object>, validator_current_rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord] = <object object>, delegator_starting_infos: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegatorStartingInfoRecord] = <object object>, validator_slash_events: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEventRecord] = <object object>)[source]

Bases: Message

GenesisState defines the distribution module’s genesis state.

delegator_starting_infos: List[DelegatorStartingInfoRecord] = <object object>

fee_pool defines the delegator starting infos at genesis.

delegator_withdraw_infos: List[DelegatorWithdrawInfo] = <object object>

fee_pool defines the delegator withdraw infos at genesis.

fee_pool: FeePool = <object object>

fee_pool defines the fee pool at genesis.

outstanding_rewards: List[ValidatorOutstandingRewardsRecord] = <object object>

fee_pool defines the outstanding rewards of all validators at genesis.

params: Params = <object object>

params defines all the parameters of the module.

previous_proposer: str = <object object>

fee_pool defines the previous proposer at genesis.

validator_accumulated_commissions: List[ValidatorAccumulatedCommissionRecord] = <object object>

fee_pool defines the accumulated commissions of all validators at genesis.

validator_current_rewards: List[ValidatorCurrentRewardsRecord] = <object object>

fee_pool defines the current rewards of all validators at genesis.

validator_historical_rewards: List[ValidatorHistoricalRewardsRecord] = <object object>

fee_pool defines the historical rewards of all validators at genesis.

validator_slash_events: List[ValidatorSlashEventRecord] = <object object>

fee_pool defines the validator slash events at genesis.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgBase[source]

Bases: ServiceBase

async community_pool_spend(msg_community_pool_spend: MsgCommunityPoolSpend) MsgCommunityPoolSpendResponse[source]
async deposit_validator_rewards_pool(msg_deposit_validator_rewards_pool: MsgDepositValidatorRewardsPool) MsgDepositValidatorRewardsPoolResponse[source]
async fund_community_pool(msg_fund_community_pool: MsgFundCommunityPool) MsgFundCommunityPoolResponse[source]
async set_withdraw_address(msg_set_withdraw_address: MsgSetWithdrawAddress) MsgSetWithdrawAddressResponse[source]
async update_params(msg_update_params: MsgUpdateParams) MsgUpdateParamsResponse[source]
async withdraw_delegator_reward(msg_withdraw_delegator_reward: MsgWithdrawDelegatorReward) MsgWithdrawDelegatorRewardResponse[source]
async withdraw_validator_commission(msg_withdraw_validator_commission: MsgWithdrawValidatorCommission) MsgWithdrawValidatorCommissionResponse[source]
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgCommunityPoolSpend(authority: str = <object object>, recipient: str = <object object>, amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

MsgCommunityPoolSpend defines a message for sending tokens from the community pool to another account. This message is typically executed via a governance proposal with the governance module being the executing authority. .. versionadded:: 0.47

amount: List[Coin] = <object object>
authority: str = <object object>

authority is the address that controls the module (defaults to x/gov unless overwritten).

recipient: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgCommunityPoolSpendResponse[source]

Bases: Message

MsgCommunityPoolSpendResponse defines the response to executing a MsgCommunityPoolSpend message. .. versionadded:: 0.47

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPool(depositor: str = <object object>, validator_address: str = <object object>, amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

DepositValidatorRewardsPool defines the request structure to provide additional rewards to delegators from a specific validator. .. versionadded:: 0.50

amount: List[Coin] = <object object>
depositor: str = <object object>
validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgDepositValidatorRewardsPoolResponse[source]

Bases: Message

MsgDepositValidatorRewardsPoolResponse defines the response to executing a MsgDepositValidatorRewardsPool message. .. versionadded:: 0.50

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgFundCommunityPool(amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>, depositor: str = <object object>)[source]

Bases: Message

MsgFundCommunityPool allows an account to directly fund the community pool.

amount: List[Coin] = <object object>
depositor: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgFundCommunityPoolResponse[source]

Bases: Message

MsgFundCommunityPoolResponse defines the Msg/FundCommunityPool response type.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgSetWithdrawAddress(delegator_address: str = <object object>, withdraw_address: str = <object object>)[source]

Bases: Message

MsgSetWithdrawAddress sets the withdraw address for a delegator (or validator self-delegation).

delegator_address: str = <object object>
withdraw_address: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgSetWithdrawAddressResponse[source]

Bases: Message

MsgSetWithdrawAddressResponse defines the Msg/SetWithdrawAddress response type.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async community_pool_spend(msg_community_pool_spend: MsgCommunityPoolSpend, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgCommunityPoolSpendResponse[source]
async deposit_validator_rewards_pool(msg_deposit_validator_rewards_pool: MsgDepositValidatorRewardsPool, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgDepositValidatorRewardsPoolResponse[source]
async fund_community_pool(msg_fund_community_pool: MsgFundCommunityPool, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgFundCommunityPoolResponse[source]
async set_withdraw_address(msg_set_withdraw_address: MsgSetWithdrawAddress, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgSetWithdrawAddressResponse[source]
async update_params(msg_update_params: MsgUpdateParams, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUpdateParamsResponse[source]
async withdraw_delegator_reward(msg_withdraw_delegator_reward: MsgWithdrawDelegatorReward, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgWithdrawDelegatorRewardResponse[source]
async withdraw_validator_commission(msg_withdraw_validator_commission: MsgWithdrawValidatorCommission, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgWithdrawValidatorCommissionResponse[source]
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgUpdateParams(authority: str = <object object>, params: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.Params = <object object>)[source]

Bases: Message

MsgUpdateParams is the Msg/UpdateParams request type. .. versionadded:: 0.47

authority: str = <object object>

authority is the address that controls the module (defaults to x/gov unless overwritten).

params: Params = <object object>

params defines the x/distribution parameters to update. NOTE: All parameters must be supplied.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgUpdateParamsResponse[source]

Bases: Message

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. .. versionadded:: 0.47

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgWithdrawDelegatorReward(delegator_address: str = <object object>, validator_address: str = <object object>)[source]

Bases: Message

MsgWithdrawDelegatorReward represents delegation withdrawal to a delegator from a single validator.

delegator_address: str = <object object>
validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgWithdrawDelegatorRewardResponse(amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

MsgWithdrawDelegatorRewardResponse defines the Msg/WithdrawDelegatorReward response type.

amount: List[Coin] = <object object>

cosmos-sdk 0.46 :type: Since

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommission(validator_address: str = <object object>)[source]

Bases: Message

MsgWithdrawValidatorCommission withdraws the full commission to the validator address.

validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.MsgWithdrawValidatorCommissionResponse(amount: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin] = <object object>)[source]

Bases: Message

MsgWithdrawValidatorCommissionResponse defines the Msg/WithdrawValidatorCommission response type.

amount: List[Coin] = <object object>

cosmos-sdk 0.46 :type: Since

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.Params(community_tax: str = <object object>, base_proposer_reward: str = <object object>, bonus_proposer_reward: str = <object object>, withdraw_addr_enabled: bool = <object object>)[source]

Bases: Message

Params defines the set of params for the distribution module.

base_proposer_reward: str = <object object>

The base_proposer_reward field is deprecated and is no longer used in the x/distribution module’s reward mechanism. :type: Deprecated

bonus_proposer_reward: str = <object object>

The bonus_proposer_reward field is deprecated and is no longer used in the x/distribution module’s reward mechanism. :type: Deprecated

community_tax: str = <object object>
withdraw_addr_enabled: bool = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryBase[source]

Bases: ServiceBase

async community_pool(query_community_pool_request: QueryCommunityPoolRequest) QueryCommunityPoolResponse[source]
async delegation_rewards(query_delegation_rewards_request: QueryDelegationRewardsRequest) QueryDelegationRewardsResponse[source]
async delegation_total_rewards(query_delegation_total_rewards_request: QueryDelegationTotalRewardsRequest) QueryDelegationTotalRewardsResponse[source]
async delegator_validators(query_delegator_validators_request: QueryDelegatorValidatorsRequest) QueryDelegatorValidatorsResponse[source]
async delegator_withdraw_address(query_delegator_withdraw_address_request: QueryDelegatorWithdrawAddressRequest) QueryDelegatorWithdrawAddressResponse[source]
async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
async validator_commission(query_validator_commission_request: QueryValidatorCommissionRequest) QueryValidatorCommissionResponse[source]
async validator_distribution_info(query_validator_distribution_info_request: QueryValidatorDistributionInfoRequest) QueryValidatorDistributionInfoResponse[source]
async validator_outstanding_rewards(query_validator_outstanding_rewards_request: QueryValidatorOutstandingRewardsRequest) QueryValidatorOutstandingRewardsResponse[source]
async validator_slashes(query_validator_slashes_request: QueryValidatorSlashesRequest) QueryValidatorSlashesResponse[source]
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryCommunityPoolRequest[source]

Bases: Message

QueryCommunityPoolRequest is the request type for the Query/CommunityPool RPC method.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryCommunityPoolResponse(pool: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

QueryCommunityPoolResponse is the response type for the Query/CommunityPool RPC method.

pool: List[DecCoin] = <object object>

pool defines community pool’s coins.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegationRewardsRequest(delegator_address: str = <object object>, validator_address: str = <object object>)[source]

Bases: Message

QueryDelegationRewardsRequest is the request type for the Query/DelegationRewards RPC method.

delegator_address: str = <object object>

delegator_address defines the delegator address to query for.

validator_address: str = <object object>

validator_address defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegationRewardsResponse(rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

QueryDelegationRewardsResponse is the response type for the Query/DelegationRewards RPC method.

rewards: List[DecCoin] = <object object>

rewards defines the rewards accrued by a delegation.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsRequest(delegator_address: str = <object object>)[source]

Bases: Message

QueryDelegationTotalRewardsRequest is the request type for the Query/DelegationTotalRewards RPC method.

delegator_address: str = <object object>

delegator_address defines the delegator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegationTotalRewardsResponse(rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.DelegationDelegatorReward] = <object object>, total: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

QueryDelegationTotalRewardsResponse is the response type for the Query/DelegationTotalRewards RPC method.

rewards: List[DelegationDelegatorReward] = <object object>

rewards defines all the rewards accrued by a delegator.

total: List[DecCoin] = <object object>

total defines the sum of all the rewards.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegatorValidatorsRequest(delegator_address: str = <object object>)[source]

Bases: Message

QueryDelegatorValidatorsRequest is the request type for the Query/DelegatorValidators RPC method.

delegator_address: str = <object object>

delegator_address defines the delegator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegatorValidatorsResponse(validators: ~typing.List[str] = <object object>)[source]

Bases: Message

QueryDelegatorValidatorsResponse is the response type for the Query/DelegatorValidators RPC method.

validators: List[str] = <object object>

validators defines the validators a delegator is delegating for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressRequest(delegator_address: str = <object object>)[source]

Bases: Message

QueryDelegatorWithdrawAddressRequest is the request type for the Query/DelegatorWithdrawAddress RPC method.

delegator_address: str = <object object>

delegator_address defines the delegator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryDelegatorWithdrawAddressResponse(withdraw_address: str = <object object>)[source]

Bases: Message

QueryDelegatorWithdrawAddressResponse is the response type for the Query/DelegatorWithdrawAddress RPC method.

withdraw_address: str = <object object>

withdraw_address defines the delegator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryParamsRequest[source]

Bases: Message

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

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryParamsResponse(params: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.Params = <object object>)[source]

Bases: Message

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

params: Params = <object object>

params defines the parameters of the module.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryStub(channel: Channel, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: Mapping[str, str | bytes] | Collection[Tuple[str, str | bytes]] | None = None)[source]

Bases: ServiceStub

async community_pool(query_community_pool_request: QueryCommunityPoolRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryCommunityPoolResponse[source]
async delegation_rewards(query_delegation_rewards_request: QueryDelegationRewardsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegationRewardsResponse[source]
async delegation_total_rewards(query_delegation_total_rewards_request: QueryDelegationTotalRewardsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegationTotalRewardsResponse[source]
async delegator_validators(query_delegator_validators_request: QueryDelegatorValidatorsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegatorValidatorsResponse[source]
async delegator_withdraw_address(query_delegator_withdraw_address_request: QueryDelegatorWithdrawAddressRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegatorWithdrawAddressResponse[source]
async params(query_params_request: QueryParamsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryParamsResponse[source]
async validator_commission(query_validator_commission_request: QueryValidatorCommissionRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorCommissionResponse[source]
async validator_distribution_info(query_validator_distribution_info_request: QueryValidatorDistributionInfoRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorDistributionInfoResponse[source]
async validator_outstanding_rewards(query_validator_outstanding_rewards_request: QueryValidatorOutstandingRewardsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorOutstandingRewardsResponse[source]
async validator_slashes(query_validator_slashes_request: QueryValidatorSlashesRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorSlashesResponse[source]
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorCommissionRequest(validator_address: str = <object object>)[source]

Bases: Message

QueryValidatorCommissionRequest is the request type for the Query/ValidatorCommission RPC method

validator_address: str = <object object>

validator_address defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorCommissionResponse(commission: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorAccumulatedCommission = <object object>)[source]

Bases: Message

QueryValidatorCommissionResponse is the response type for the Query/ValidatorCommission RPC method

commission: ValidatorAccumulatedCommission = <object object>

commission defines the commission the validator received.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoRequest(validator_address: str = <object object>)[source]

Bases: Message

QueryValidatorDistributionInfoRequest is the request type for the Query/ValidatorDistributionInfo RPC method.

validator_address: str = <object object>

validator_address defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorDistributionInfoResponse(operator_address: str = <object object>, self_bond_rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>, commission: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

QueryValidatorDistributionInfoResponse is the response type for the Query/ValidatorDistributionInfo RPC method.

commission: List[DecCoin] = <object object>

commission defines the commission the validator received.

operator_address: str = <object object>

operator_address defines the validator operator address.

self_bond_rewards: List[DecCoin] = <object object>

self_bond_rewards defines the self delegations rewards.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsRequest(validator_address: str = <object object>)[source]

Bases: Message

QueryValidatorOutstandingRewardsRequest is the request type for the Query/ValidatorOutstandingRewards RPC method.

validator_address: str = <object object>

validator_address defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorOutstandingRewardsResponse(rewards: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorOutstandingRewards = <object object>)[source]

Bases: Message

QueryValidatorOutstandingRewardsResponse is the response type for the Query/ValidatorOutstandingRewards RPC method.

rewards: ValidatorOutstandingRewards = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorSlashesRequest(validator_address: str = <object object>, starting_height: int = <object object>, ending_height: int = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]

Bases: Message

QueryValidatorSlashesRequest is the request type for the Query/ValidatorSlashes RPC method

ending_height: int = <object object>

starting_height defines the optional ending height to query the slashes.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

starting_height: int = <object object>

starting_height defines the optional starting height to query the slashes.

validator_address: str = <object object>

validator_address defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.QueryValidatorSlashesResponse(slashes: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEvent] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]

Bases: Message

QueryValidatorSlashesResponse is the response type for the Query/ValidatorSlashes RPC method.

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

slashes: List[ValidatorSlashEvent] = <object object>

slashes defines the slashes the validator received.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorAccumulatedCommission(commission: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

ValidatorAccumulatedCommission represents accumulated commission for a validator kept as a running counter, can be withdrawn at any time.

commission: List[DecCoin] = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorAccumulatedCommissionRecord(validator_address: str = <object object>, accumulated: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorAccumulatedCommission = <object object>)[source]

Bases: Message

ValidatorAccumulatedCommissionRecord is used for import / export via genesis json.

accumulated: ValidatorAccumulatedCommission = <object object>

accumulated is the accumulated commission of a validator.

validator_address: str = <object object>

validator_address is the address of the validator.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorCurrentRewards(rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>, period: int = <object object>)[source]

Bases: Message

ValidatorCurrentRewards represents current rewards and current period for a validator kept as a running counter and incremented each block as long as the validator’s tokens remain constant.

period: int = <object object>
rewards: List[DecCoin] = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorCurrentRewardsRecord(validator_address: str = <object object>, rewards: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorCurrentRewards = <object object>)[source]

Bases: Message

ValidatorCurrentRewardsRecord is used for import / export via genesis json.

rewards: ValidatorCurrentRewards = <object object>

rewards defines the current rewards of a validator.

validator_address: str = <object object>

validator_address is the address of the validator.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorHistoricalRewards(cumulative_reward_ratio: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>, reference_count: int = <object object>)[source]

Bases: Message

ValidatorHistoricalRewards represents historical rewards for a validator. Height is implicit within the store key. Cumulative reward ratio is the sum from the zeroeth period until this period of rewards / tokens, per the spec. The reference count indicates the number of objects which might need to reference this historical entry at any point. ReferenceCount = number of outstanding delegations which ended the associated period (and might need to read that record) + number of slashes which ended the associated period (and might need to read that record) + one per validator for the zeroeth period, set on initialization

cumulative_reward_ratio: List[DecCoin] = <object object>
reference_count: int = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorHistoricalRewardsRecord(validator_address: str = <object object>, period: int = <object object>, rewards: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorHistoricalRewards = <object object>)[source]

Bases: Message

ValidatorHistoricalRewardsRecord is used for import / export via genesis json.

period: int = <object object>

period defines the period the historical rewards apply to.

rewards: ValidatorHistoricalRewards = <object object>

rewards defines the historical rewards of a validator.

validator_address: str = <object object>

validator_address is the address of the validator.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorOutstandingRewards(rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

ValidatorOutstandingRewards represents outstanding (un-withdrawn) rewards for a validator inexpensive to track, allows simple sanity checks.

rewards: List[DecCoin] = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorOutstandingRewardsRecord(validator_address: str = <object object>, outstanding_rewards: ~typing.List[~evmos.proto.autogen.py.cosmos.base.v1beta1.DecCoin] = <object object>)[source]

Bases: Message

ValidatorOutstandingRewardsRecord is used for import/export via genesis json.

outstanding_rewards: List[DecCoin] = <object object>

outstanding_rewards represents the outstanding rewards of a validator.

validator_address: str = <object object>

validator_address is the address of the validator.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEvent(validator_period: int = <object object>, fraction: str = <object object>)[source]

Bases: Message

ValidatorSlashEvent represents a validator slash event. Height is implicit within the store key. This is needed to calculate appropriate amount of staking tokens for delegations which are withdrawn after a slash has occurred.

fraction: str = <object object>
validator_period: int = <object object>
class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEventRecord(validator_address: str = <object object>, height: int = <object object>, period: int = <object object>, validator_slash_event: ~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEvent = <object object>)[source]

Bases: Message

ValidatorSlashEventRecord is used for import / export via genesis json.

height: int = <object object>

height defines the block height at which the slash event occurred.

period: int = <object object>

period is the period of the slash event.

validator_address: str = <object object>

validator_address is the address of the validator.

validator_slash_event: ValidatorSlashEvent = <object object>

validator_slash_event describes the slash event.

class evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEvents(validator_slash_events: ~typing.List[~evmos.proto.autogen.py.cosmos.distribution.v1beta1.ValidatorSlashEvent] = <object object>)[source]

Bases: Message

ValidatorSlashEvents is a collection of ValidatorSlashEvent messages.

validator_slash_events: List[ValidatorSlashEvent] = <object object>