evmos.proto.autogen.py.cosmos.staking.v1beta1
Classes
|
AuthorizationType defines the type of staking module authorization type . |
|
BondStatus is the status of a validator. |
|
Commission defines commission parameters for a given validator. |
|
CommissionRates defines the initial commission rates to be used for creating a validator. |
|
Delegation represents the bond with tokens held by an account. |
|
DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses. |
|
Description defines a validator description. |
|
DVPair is struct that just has a delegator-validator pair with no other data. |
|
DVPairs defines an array of DVPair objects. |
|
DVVTriplet is struct that just has a delegator-validator-validator triplet with no other data. |
|
DVVTriplets defines an array of DVVTriplet objects. |
|
GenesisState defines the staking module's genesis state. |
|
HistoricalInfo contains header and validator information for a given block. |
|
Infraction indicates the infraction a validator commited. |
|
LastValidatorPower required for validator set update logic. |
|
|
|
MsgBeginRedelegate defines a SDK message for performing a redelegation of coins from a delegator and source validator to a destination validator. |
|
MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type. |
MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator . |
|
. |
|
|
MsgCreateValidator defines a SDK message for creating a new validator. |
MsgCreateValidatorResponse defines the Msg/CreateValidator response type. |
|
|
MsgDelegate defines a SDK message for performing a delegation of coins from a delegator to a validator. |
MsgDelegateResponse defines the Msg/Delegate response type. |
|
|
MsgEditValidator defines a SDK message for editing an existing validator. |
MsgEditValidatorResponse defines the Msg/EditValidator response type. |
|
|
|
|
MsgUndelegate defines a SDK message for performing an undelegation from a delegate and a validator. |
|
MsgUndelegateResponse defines the Msg/Undelegate response type. |
|
MsgUpdateParams is the Msg/UpdateParams request type. |
MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. |
|
|
Params defines the parameters for the x/staking module. |
|
Pool is used for tracking bonded and not-bonded token supply of the bond denomination. |
|
QueryDelegationRequest is request type for the Query/Delegation RPC method. |
|
QueryDelegationResponse is response type for the Query/Delegation RPC method. |
QueryDelegatorDelegationsRequest is request type for the Query/DelegatorDelegations RPC method. |
|
QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method. |
|
QueryDelegatorUnbondingDelegationsRequest is request type for the Query/DelegatorUnbondingDelegations RPC method. |
|
QueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method. |
|
QueryDelegatorValidatorRequest is request type for the Query/DelegatorValidator RPC method. |
|
|
QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method. |
QueryDelegatorValidatorsRequest is request type for the Query/DelegatorValidators RPC method. |
|
|
QueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method. |
|
QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC method. |
QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC method. |
|
QueryParamsRequest is request type for the Query/Params RPC method. |
|
|
QueryParamsResponse is response type for the Query/Params RPC method. |
QueryPoolRequest is request type for the Query/Pool RPC method. |
|
|
QueryPoolResponse is response type for the Query/Pool RPC method. |
|
QueryRedelegationsRequest is request type for the Query/Redelegations RPC method. |
QueryRedelegationsResponse is response type for the Query/Redelegations RPC method. |
|
|
|
QueryUnbondingDelegationRequest is request type for the Query/UnbondingDelegation RPC method. |
|
|
QueryDelegationResponse is response type for the Query/UnbondingDelegation RPC method. |
QueryValidatorDelegationsRequest is request type for the Query/ValidatorDelegations RPC method |
|
QueryValidatorDelegationsResponse is response type for the Query/ValidatorDelegations RPC method |
|
|
QueryValidatorRequest is response type for the Query/Validator RPC method |
|
QueryValidatorResponse is response type for the Query/Validator RPC method |
QueryValidatorUnbondingDelegationsRequest is required type for the Query/ValidatorUnbondingDelegations RPC method |
|
QueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method. |
|
|
QueryValidatorsRequest is request type for Query/Validators RPC method. |
|
QueryValidatorsResponse is response type for the Query/Validators RPC method |
|
Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator. |
|
RedelegationEntry defines a redelegation object with relevant metadata. |
RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses. |
|
|
RedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses. |
|
StakeAuthorization defines authorization for delegate/undelegate/redelegate. |
|
Validators defines list of validator addresses. |
|
UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list. |
|
UnbondingDelegationEntry defines an unbonding object with relevant metadata. |
|
ValAddresses defines a repeated set of validator addresses. |
|
Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins. |
|
ValidatorUpdates defines an array of abci.ValidatorUpdate objects. |
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.AuthorizationType(*values)[source]
Bases:
EnumAuthorizationType defines the type of staking module authorization type .. versionadded:: 0.43
- AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION = 4
AUTHORIZATION_TYPE_CANCEL_UNBONDING_DELEGATION defines an authorization type for Msg/MsgCancelUnbondingDelegation
- AUTHORIZATION_TYPE_DELEGATE = 1
AUTHORIZATION_TYPE_DELEGATE defines an authorization type for Msg/Delegate
- AUTHORIZATION_TYPE_REDELEGATE = 3
AUTHORIZATION_TYPE_REDELEGATE defines an authorization type for Msg/BeginRedelegate
- AUTHORIZATION_TYPE_UNDELEGATE = 2
AUTHORIZATION_TYPE_UNDELEGATE defines an authorization type for Msg/Undelegate
- AUTHORIZATION_TYPE_UNSPECIFIED = 0
AUTHORIZATION_TYPE_UNSPECIFIED specifies an unknown authorization type
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.BondStatus(*values)[source]
Bases:
EnumBondStatus is the status of a validator.
- BOND_STATUS_BONDED = 3
BONDED defines a validator that is bonded.
- BOND_STATUS_UNBONDED = 1
UNBONDED defines a validator that is not bonded.
- BOND_STATUS_UNBONDING = 2
UNBONDING defines a validator that is unbonding.
- BOND_STATUS_UNSPECIFIED = 0
UNSPECIFIED defines an invalid validator status.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Commission(commission_rates: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.CommissionRates = <object object>, update_time: ~datetime.datetime = <object object>)[source]
Bases:
MessageCommission defines commission parameters for a given validator.
- commission_rates: CommissionRates = <object object>
commission_rates defines the initial commission rates to be used for creating a validator.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.CommissionRates(rate: str = <object object>, max_rate: str = <object object>, max_change_rate: str = <object object>)[source]
Bases:
MessageCommissionRates defines the initial commission rates to be used for creating a validator.
- max_change_rate: str = <object object>
max_change_rate defines the maximum daily increase of the validator commission, as a fraction.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Delegation(delegator_address: str = <object object>, validator_address: str = <object object>, shares: str = <object object>)[source]
Bases:
MessageDelegation represents the bond with tokens held by an account. It is owned by one delegator, and is associated with the voting power of one validator.
- delegator_address: str = <object object>
delegator_address is the encoded address of the delegator.
shares define the delegation shares received.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.DelegationResponse(delegation: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Delegation = <object object>, balance: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]
Bases:
MessageDelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.
- delegation: Delegation = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Description(moniker: str = <object object>, identity: str = <object object>, website: str = <object object>, security_contact: str = <object object>, details: str = <object object>)[source]
Bases:
MessageDescription defines a validator description.
- identity: str = <object object>
identity defines an optional identity signature (ex. UPort or Keybase).
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.DvPair(delegator_address: str = <object object>, validator_address: str = <object object>)[source]
Bases:
MessageDVPair is struct that just has a delegator-validator pair with no other data. It is intended to be used as a marshalable pointer. For example, a DVPair can be used to construct the key to getting an UnbondingDelegation from state.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.DvPairs(pairs: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.DvPair] = <object object>)[source]
Bases:
MessageDVPairs defines an array of DVPair objects.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.DvvTriplet(delegator_address: str = <object object>, validator_src_address: str = <object object>, validator_dst_address: str = <object object>)[source]
Bases:
MessageDVVTriplet is struct that just has a delegator-validator-validator triplet with no other data. It is intended to be used as a marshalable pointer. For example, a DVVTriplet can be used to construct the key to getting a Redelegation from state.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.DvvTriplets(triplets: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.DvvTriplet] = <object object>)[source]
Bases:
MessageDVVTriplets defines an array of DVVTriplet objects.
- triplets: List[DvvTriplet] = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.GenesisState(params: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Params = <object object>, last_total_power: bytes = <object object>, last_validator_powers: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.LastValidatorPower] = <object object>, validators: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator] = <object object>, delegations: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.Delegation] = <object object>, unbonding_delegations: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegation] = <object object>, redelegations: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.Redelegation] = <object object>, exported: bool = <object object>)[source]
Bases:
MessageGenesisState defines the staking module’s genesis state.
- delegations: List[Delegation] = <object object>
delegations defines the delegations active at genesis.
- exported: bool = <object object>
exported defines a bool to identify whether the chain dealing with exported or initialized genesis.
- last_total_power: bytes = <object object>
last_total_power tracks the total amounts of bonded tokens recorded during the previous end block.
- last_validator_powers: List[LastValidatorPower] = <object object>
last_validator_powers is a special index that provides a historical list of the last-block’s bonded validators.
- redelegations: List[Redelegation] = <object object>
redelegations defines the redelegations active at genesis.
- unbonding_delegations: List[UnbondingDelegation] = <object object>
unbonding_delegations defines the unbonding delegations active at genesis.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.HistoricalInfo(header: ~evmos.proto.autogen.py.tendermint.types.Header = <object object>, valset: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator] = <object object>)[source]
Bases:
MessageHistoricalInfo contains header and validator information for a given block. It is stored as part of staking module’s state, which persists the
nmost recent HistoricalInfo (nis set by the staking module’shistorical_entriesparameter).
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Infraction(*values)[source]
Bases:
EnumInfraction indicates the infraction a validator commited.
- INFRACTION_DOUBLE_SIGN = 1
DOUBLE_SIGN defines a validator that double-signs a block.
- INFRACTION_DOWNTIME = 2
DOWNTIME defines a validator that missed signing too many blocks.
- INFRACTION_UNSPECIFIED = 0
UNSPECIFIED defines an empty infraction.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.LastValidatorPower(address: str = <object object>, power: int = <object object>)[source]
Bases:
MessageLastValidatorPower required for validator set update logic.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgBase[source]
Bases:
ServiceBase- async begin_redelegate(msg_begin_redelegate: MsgBeginRedelegate) MsgBeginRedelegateResponse[source]
- async cancel_unbonding_delegation(msg_cancel_unbonding_delegation: MsgCancelUnbondingDelegation) MsgCancelUnbondingDelegationResponse[source]
- async create_validator(msg_create_validator: MsgCreateValidator) MsgCreateValidatorResponse[source]
- async delegate(msg_delegate: MsgDelegate) MsgDelegateResponse[source]
- async edit_validator(msg_edit_validator: MsgEditValidator) MsgEditValidatorResponse[source]
- async undelegate(msg_undelegate: MsgUndelegate) MsgUndelegateResponse[source]
- async update_params(msg_update_params: MsgUpdateParams) MsgUpdateParamsResponse[source]
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgBeginRedelegate(delegator_address: str = <object object>, validator_src_address: str = <object object>, validator_dst_address: str = <object object>, amount: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]
Bases:
MessageMsgBeginRedelegate defines a SDK message for performing a redelegation of coins from a delegator and source validator to a destination validator.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgBeginRedelegateResponse(completion_time: ~datetime.datetime = <object object>)[source]
Bases:
MessageMsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgCancelUnbondingDelegation(delegator_address: str = <object object>, validator_address: str = <object object>, amount: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>, creation_height: int = <object object>)[source]
Bases:
MessageMsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator .. versionadded:: 0.46
- amount: Coin = <object object>
amount is always less than or equal to unbonding delegation entry balance
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgCancelUnbondingDelegationResponse[source]
Bases:
Message.. versionadded:: 0.46
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgCreateValidator(description: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Description = <object object>, commission: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.CommissionRates = <object object>, min_self_delegation: str = <object object>, delegator_address: str = <object object>, validator_address: str = <object object>, pubkey: ~betterproto.lib.google.protobuf.Any = <object object>, value: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]
Bases:
MessageMsgCreateValidator defines a SDK message for creating a new validator.
- commission: CommissionRates = <object object>
- delegator_address: str = <object object>
Use of Delegator Address in MsgCreateValidator is deprecated. The validator address bytes and delegator address bytes refer to the same account while creating validator (defer only in bech32 notation). :type: Deprecated
- description: Description = <object object>
- pubkey: Any = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgCreateValidatorResponse[source]
Bases:
MessageMsgCreateValidatorResponse defines the Msg/CreateValidator response type.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgDelegate(delegator_address: str = <object object>, validator_address: str = <object object>, amount: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]
Bases:
MessageMsgDelegate defines a SDK message for performing a delegation of coins from a delegator to a validator.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgDelegateResponse[source]
Bases:
MessageMsgDelegateResponse defines the Msg/Delegate response type.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgEditValidator(description: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Description = <object object>, validator_address: str = <object object>, commission_rate: str = <object object>, min_self_delegation: str = <object object>)[source]
Bases:
MessageMsgEditValidator defines a SDK message for editing an existing validator.
- commission_rate: str = <object object>
We pass a reference to the new commission rate and min self delegation as it’s not mandatory to update. If not updated, the deserialized rate will be zero with no way to distinguish if an update was intended. REF: #2373
- description: Description = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgEditValidatorResponse[source]
Bases:
MessageMsgEditValidatorResponse defines the Msg/EditValidator response type.
- class evmos.proto.autogen.py.cosmos.staking.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 begin_redelegate(msg_begin_redelegate: MsgBeginRedelegate, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgBeginRedelegateResponse[source]
- async cancel_unbonding_delegation(msg_cancel_unbonding_delegation: MsgCancelUnbondingDelegation, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgCancelUnbondingDelegationResponse[source]
- async create_validator(msg_create_validator: MsgCreateValidator, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgCreateValidatorResponse[source]
- async delegate(msg_delegate: MsgDelegate, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgDelegateResponse[source]
- async edit_validator(msg_edit_validator: MsgEditValidator, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgEditValidatorResponse[source]
- async undelegate(msg_undelegate: MsgUndelegate, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUndelegateResponse[source]
- async update_params(msg_update_params: MsgUpdateParams, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) MsgUpdateParamsResponse[source]
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgUndelegate(delegator_address: str = <object object>, validator_address: str = <object object>, amount: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]
Bases:
MessageMsgUndelegate defines a SDK message for performing an undelegation from a delegate and a validator.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgUndelegateResponse(completion_time: ~datetime.datetime = <object object>, amount: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>)[source]
Bases:
MessageMsgUndelegateResponse defines the Msg/Undelegate response type.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgUpdateParams(authority: str = <object object>, params: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Params = <object object>)[source]
Bases:
MessageMsgUpdateParams is the Msg/UpdateParams request type. .. versionadded:: 0.47
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgUpdateParamsResponse[source]
Bases:
MessageMsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message. .. versionadded:: 0.47
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Params(unbonding_time: ~datetime.timedelta = <object object>, max_validators: int = <object object>, max_entries: int = <object object>, historical_entries: int = <object object>, bond_denom: str = <object object>, min_commission_rate: str = <object object>)[source]
Bases:
MessageParams defines the parameters for the x/staking module.
- historical_entries: int = <object object>
historical_entries is the number of historical entries to persist.
- max_entries: int = <object object>
max_entries is the max entries for either unbonding delegation or redelegation (per pair/trio).
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Pool(not_bonded_tokens: str = <object object>, bonded_tokens: str = <object object>)[source]
Bases:
MessagePool is used for tracking bonded and not-bonded token supply of the bond denomination.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryBase[source]
Bases:
ServiceBase- async delegation(query_delegation_request: QueryDelegationRequest) QueryDelegationResponse[source]
- async delegator_delegations(query_delegator_delegations_request: QueryDelegatorDelegationsRequest) QueryDelegatorDelegationsResponse[source]
- async delegator_unbonding_delegations(query_delegator_unbonding_delegations_request: QueryDelegatorUnbondingDelegationsRequest) QueryDelegatorUnbondingDelegationsResponse[source]
- async delegator_validator(query_delegator_validator_request: QueryDelegatorValidatorRequest) QueryDelegatorValidatorResponse[source]
- async delegator_validators(query_delegator_validators_request: QueryDelegatorValidatorsRequest) QueryDelegatorValidatorsResponse[source]
- async historical_info(query_historical_info_request: QueryHistoricalInfoRequest) QueryHistoricalInfoResponse[source]
- async params(query_params_request: QueryParamsRequest) QueryParamsResponse[source]
- async pool(query_pool_request: QueryPoolRequest) QueryPoolResponse[source]
- async redelegations(query_redelegations_request: QueryRedelegationsRequest) QueryRedelegationsResponse[source]
- async unbonding_delegation(query_unbonding_delegation_request: QueryUnbondingDelegationRequest) QueryUnbondingDelegationResponse[source]
- async validator(query_validator_request: QueryValidatorRequest) QueryValidatorResponse[source]
- async validator_delegations(query_validator_delegations_request: QueryValidatorDelegationsRequest) QueryValidatorDelegationsResponse[source]
- async validator_unbonding_delegations(query_validator_unbonding_delegations_request: QueryValidatorUnbondingDelegationsRequest) QueryValidatorUnbondingDelegationsResponse[source]
- async validators(query_validators_request: QueryValidatorsRequest) QueryValidatorsResponse[source]
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegationRequest(delegator_addr: str = <object object>, validator_addr: str = <object object>)[source]
Bases:
MessageQueryDelegationRequest is request type for the Query/Delegation RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegationResponse(delegation_response: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.DelegationResponse = <object object>)[source]
Bases:
MessageQueryDelegationResponse is response type for the Query/Delegation RPC method.
- delegation_response: DelegationResponse = <object object>
delegation_responses defines the delegation info of a delegation.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorDelegationsRequest(delegator_addr: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryDelegatorDelegationsRequest is request type for the Query/DelegatorDelegations RPC method.
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorDelegationsResponse(delegation_responses: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.DelegationResponse] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method.
- delegation_responses: List[DelegationResponse] = <object object>
delegation_responses defines all the delegations’ info of a delegator.
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsRequest(delegator_addr: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryDelegatorUnbondingDelegationsRequest is request type for the Query/DelegatorUnbondingDelegations RPC method.
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorUnbondingDelegationsResponse(unbonding_responses: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegation] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method.
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- unbonding_responses: List[UnbondingDelegation] = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorValidatorRequest(delegator_addr: str = <object object>, validator_addr: str = <object object>)[source]
Bases:
MessageQueryDelegatorValidatorRequest is request type for the Query/DelegatorValidator RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse(validator: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator = <object object>)[source]
Bases:
MessageQueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorValidatorsRequest(delegator_addr: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryDelegatorValidatorsRequest is request type for the Query/DelegatorValidators RPC method.
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorValidatorsResponse(validators: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryDelegatorValidatorsResponse is response type for the Query/DelegatorValidators RPC method.
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryHistoricalInfoRequest(height: int = <object object>)[source]
Bases:
MessageQueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryHistoricalInfoResponse(hist: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.HistoricalInfo = <object object>)[source]
Bases:
MessageQueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC method.
- hist: HistoricalInfo = <object object>
hist defines the historical info at the given height.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryParamsRequest[source]
Bases:
MessageQueryParamsRequest is request type for the Query/Params RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryParamsResponse(params: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Params = <object object>)[source]
Bases:
MessageQueryParamsResponse is response type for the Query/Params RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryPoolRequest[source]
Bases:
MessageQueryPoolRequest is request type for the Query/Pool RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryPoolResponse(pool: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Pool = <object object>)[source]
Bases:
MessageQueryPoolResponse is response type for the Query/Pool RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryRedelegationsRequest(delegator_addr: str = <object object>, src_validator_addr: str = <object object>, dst_validator_addr: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryRedelegationsRequest is request type for the Query/Redelegations RPC method.
- dst_validator_addr: str = <object object>
dst_validator_addr defines the validator address to redelegate to.
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryRedelegationsResponse(redelegation_responses: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationResponse] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryRedelegationsResponse is response type for the Query/Redelegations RPC method.
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- redelegation_responses: List[RedelegationResponse] = <object object>
- class evmos.proto.autogen.py.cosmos.staking.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 delegation(query_delegation_request: QueryDelegationRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegationResponse[source]
- async delegator_delegations(query_delegator_delegations_request: QueryDelegatorDelegationsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegatorDelegationsResponse[source]
- async delegator_unbonding_delegations(query_delegator_unbonding_delegations_request: QueryDelegatorUnbondingDelegationsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegatorUnbondingDelegationsResponse[source]
- async delegator_validator(query_delegator_validator_request: QueryDelegatorValidatorRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegatorValidatorResponse[source]
- async delegator_validators(query_delegator_validators_request: QueryDelegatorValidatorsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryDelegatorValidatorsResponse[source]
- async historical_info(query_historical_info_request: QueryHistoricalInfoRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryHistoricalInfoResponse[source]
- async params(query_params_request: QueryParamsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryParamsResponse[source]
- async pool(query_pool_request: QueryPoolRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryPoolResponse[source]
- async redelegations(query_redelegations_request: QueryRedelegationsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryRedelegationsResponse[source]
- async unbonding_delegation(query_unbonding_delegation_request: QueryUnbondingDelegationRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryUnbondingDelegationResponse[source]
- async validator(query_validator_request: QueryValidatorRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorResponse[source]
- async validator_delegations(query_validator_delegations_request: QueryValidatorDelegationsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorDelegationsResponse[source]
- async validator_unbonding_delegations(query_validator_unbonding_delegations_request: QueryValidatorUnbondingDelegationsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorUnbondingDelegationsResponse[source]
- async validators(query_validators_request: QueryValidatorsRequest, *, timeout: float | None = None, deadline: Deadline | None = None, metadata: MetadataLike | None = None) QueryValidatorsResponse[source]
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryUnbondingDelegationRequest(delegator_addr: str = <object object>, validator_addr: str = <object object>)[source]
Bases:
MessageQueryUnbondingDelegationRequest is request type for the Query/UnbondingDelegation RPC method.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse(unbond: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegation = <object object>)[source]
Bases:
MessageQueryDelegationResponse is response type for the Query/UnbondingDelegation RPC method.
- unbond: UnbondingDelegation = <object object>
unbond defines the unbonding information of a delegation.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorDelegationsRequest(validator_addr: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryValidatorDelegationsRequest is request type for the Query/ValidatorDelegations RPC method
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorDelegationsResponse(delegation_responses: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.DelegationResponse] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryValidatorDelegationsResponse is response type for the Query/ValidatorDelegations RPC method
- delegation_responses: List[DelegationResponse] = <object object>
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorRequest(validator_addr: str = <object object>)[source]
Bases:
MessageQueryValidatorRequest is response type for the Query/Validator RPC method
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorResponse(validator: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator = <object object>)[source]
Bases:
MessageQueryValidatorResponse is response type for the Query/Validator RPC method
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsRequest(validator_addr: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryValidatorUnbondingDelegationsRequest is required type for the Query/ValidatorUnbondingDelegations RPC method
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorUnbondingDelegationsResponse(unbonding_responses: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegation] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method.
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- unbonding_responses: List[UnbondingDelegation] = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorsRequest(status: str = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageRequest = <object object>)[source]
Bases:
MessageQueryValidatorsRequest is request type for Query/Validators RPC method.
- pagination: PageRequest = <object object>
pagination defines an optional pagination for the request.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorsResponse(validators: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator] = <object object>, pagination: ~evmos.proto.autogen.py.cosmos.base.query.v1beta1.PageResponse = <object object>)[source]
Bases:
MessageQueryValidatorsResponse is response type for the Query/Validators RPC method
- pagination: PageResponse = <object object>
pagination defines the pagination in the response.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Redelegation(delegator_address: str = <object object>, validator_src_address: str = <object object>, validator_dst_address: str = <object object>, entries: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationEntry] = <object object>)[source]
Bases:
MessageRedelegation contains the list of a particular delegator’s redelegating bonds from a particular source validator to a particular destination validator.
- delegator_address: str = <object object>
delegator_address is the bech32-encoded address of the delegator.
- entries: List[RedelegationEntry] = <object object>
entries are the redelegation entries.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationEntry(creation_height: int = <object object>, completion_time: ~datetime.datetime = <object object>, initial_balance: str = <object object>, shares_dst: str = <object object>, unbonding_id: int = <object object>, unbonding_on_hold_ref_count: int = <object object>)[source]
Bases:
MessageRedelegationEntry defines a redelegation object with relevant metadata.
- completion_time: datetime = <object object>
completion_time defines the unix time for redelegation completion.
- creation_height: int = <object object>
creation_height defines the height which the redelegation took place.
- initial_balance: str = <object object>
initial_balance defines the initial balance when redelegation started.
shares_dst is the amount of destination-validator shares created by redelegation.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationEntryResponse(redelegation_entry: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationEntry = <object object>, balance: str = <object object>)[source]
Bases:
MessageRedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.
- redelegation_entry: RedelegationEntry = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationResponse(redelegation: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Redelegation = <object object>, entries: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.RedelegationEntryResponse] = <object object>)[source]
Bases:
MessageRedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.
- entries: List[RedelegationEntryResponse] = <object object>
- redelegation: Redelegation = <object object>
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.StakeAuthorization(max_tokens: ~evmos.proto.autogen.py.cosmos.base.v1beta1.Coin = <object object>, allow_list: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.StakeAuthorizationValidators = <object object>, deny_list: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.StakeAuthorizationValidators = <object object>, authorization_type: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.AuthorizationType = <object object>)[source]
Bases:
MessageStakeAuthorization defines authorization for delegate/undelegate/redelegate. .. versionadded:: 0.43
- allow_list: StakeAuthorizationValidators = <object object>
allow_list specifies list of validator addresses to whom grantee can delegate tokens on behalf of granter’s account.
- authorization_type: AuthorizationType = <object object>
authorization_type defines one of AuthorizationType.
- deny_list: StakeAuthorizationValidators = <object object>
deny_list specifies list of validator addresses to whom grantee can not delegate tokens.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.StakeAuthorizationValidators(address: ~typing.List[str] = <object object>)[source]
Bases:
MessageValidators defines list of validator addresses.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegation(delegator_address: str = <object object>, validator_address: str = <object object>, entries: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegationEntry] = <object object>)[source]
Bases:
MessageUnbondingDelegation stores all of a single delegator’s unbonding bonds for a single validator in an time-ordered list.
- delegator_address: str = <object object>
delegator_address is the encoded address of the delegator.
- entries: List[UnbondingDelegationEntry] = <object object>
entries are the unbonding delegation entries.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegationEntry(creation_height: int = <object object>, completion_time: ~datetime.datetime = <object object>, initial_balance: str = <object object>, balance: str = <object object>, unbonding_id: int = <object object>, unbonding_on_hold_ref_count: int = <object object>)[source]
Bases:
MessageUnbondingDelegationEntry defines an unbonding object with relevant metadata.
- completion_time: datetime = <object object>
completion_time is the unix time for unbonding completion.
- creation_height: int = <object object>
creation_height is the height which the unbonding took place.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.ValAddresses(addresses: ~typing.List[str] = <object object>)[source]
Bases:
MessageValAddresses defines a repeated set of validator addresses.
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator(operator_address: str = <object object>, consensus_pubkey: ~betterproto.lib.google.protobuf.Any = <object object>, jailed: bool = <object object>, status: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.BondStatus = <object object>, tokens: str = <object object>, delegator_shares: str = <object object>, description: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Description = <object object>, unbonding_height: int = <object object>, unbonding_time: ~datetime.datetime = <object object>, commission: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Commission = <object object>, min_self_delegation: str = <object object>, unbonding_on_hold_ref_count: int = <object object>, unbonding_ids: ~typing.List[int] = <object object>)[source]
Bases:
MessageValidator defines a validator, together with the total amount of the Validator’s bond shares and their exchange rate to coins. Slashing results in a decrease in the exchange rate, allowing correct calculation of future undelegations without iterating over delegators. When coins are delegated to this validator, the validator is credited with a delegation whose number of bond shares is based on the amount of coins delegated divided by the current exchange rate. Voting power can be calculated as total bonded shares multiplied by exchange rate.
- commission: Commission = <object object>
commission defines the commission parameters.
- consensus_pubkey: Any = <object object>
consensus_pubkey is the consensus public key of the validator, as a Protobuf Any.
delegator_shares defines total shares issued to a validator’s delegators.
- description: Description = <object object>
description defines the description terms for the validator.
- jailed: bool = <object object>
jailed defined whether the validator has been jailed from bonded status or not.
- min_self_delegation: str = <object object>
min_self_delegation is the validator’s self declared minimum self delegation. .. versionadded:: 0.46
- operator_address: str = <object object>
operator_address defines the address of the validator’s operator; bech encoded in JSON.
- status: BondStatus = <object object>
status is the validator status (bonded/unbonding/unbonded).
- unbonding_height: int = <object object>
unbonding_height defines, if unbonding, the height at which this validator has begun unbonding.
- unbonding_ids: List[int] = <object object>
list of unbonding ids, each uniquely identifing an unbonding of this validator
- class evmos.proto.autogen.py.cosmos.staking.v1beta1.ValidatorUpdates(updates: ~typing.List[~evmos.proto.autogen.py.tendermint.abci.ValidatorUpdate] = <object object>)[source]
Bases:
MessageValidatorUpdates defines an array of abci.ValidatorUpdate objects. TODO: explore moving this to proto/cosmos/base to separate modules from tendermint dependence
- updates: List[ValidatorUpdate] = <object object>