evmos.proto.autogen.py.cosmos.staking.v1beta1

Classes

AuthorizationType(*values)

AuthorizationType defines the type of staking module authorization type .

BondStatus(*values)

BondStatus is the status of a validator.

Commission(commission_rates, update_time)

Commission defines commission parameters for a given validator.

CommissionRates(rate, max_rate, max_change_rate)

CommissionRates defines the initial commission rates to be used for creating a validator.

Delegation(delegator_address, ...)

Delegation represents the bond with tokens held by an account.

DelegationResponse(delegation, balance)

DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.

Description(moniker, identity, website, ...)

Description defines a validator description.

DvPair(delegator_address, validator_address)

DVPair is struct that just has a delegator-validator pair with no other data.

DvPairs(pairs)

DVPairs defines an array of DVPair objects.

DvvTriplet(delegator_address, ...)

DVVTriplet is struct that just has a delegator-validator-validator triplet with no other data.

DvvTriplets(triplets)

DVVTriplets defines an array of DVVTriplet objects.

GenesisState(params, last_total_power, ...)

GenesisState defines the staking module's genesis state.

HistoricalInfo(header, valset)

HistoricalInfo contains header and validator information for a given block.

Infraction(*values)

Infraction indicates the infraction a validator commited.

LastValidatorPower(address, power)

LastValidatorPower required for validator set update logic.

MsgBase()

MsgBeginRedelegate(delegator_address, ...)

MsgBeginRedelegate defines a SDK message for performing a redelegation of coins from a delegator and source validator to a destination validator.

MsgBeginRedelegateResponse(completion_time)

MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type.

MsgCancelUnbondingDelegation(...)

MsgCancelUnbondingDelegation defines the SDK message for performing a cancel unbonding delegation for delegator .

MsgCancelUnbondingDelegationResponse()

.

MsgCreateValidator(description, commission, ...)

MsgCreateValidator defines a SDK message for creating a new validator.

MsgCreateValidatorResponse()

MsgCreateValidatorResponse defines the Msg/CreateValidator response type.

MsgDelegate(delegator_address, ...)

MsgDelegate defines a SDK message for performing a delegation of coins from a delegator to a validator.

MsgDelegateResponse()

MsgDelegateResponse defines the Msg/Delegate response type.

MsgEditValidator(description, ...)

MsgEditValidator defines a SDK message for editing an existing validator.

MsgEditValidatorResponse()

MsgEditValidatorResponse defines the Msg/EditValidator response type.

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

MsgUndelegate(delegator_address, ...)

MsgUndelegate defines a SDK message for performing an undelegation from a delegate and a validator.

MsgUndelegateResponse(completion_time, amount)

MsgUndelegateResponse defines the Msg/Undelegate response type.

MsgUpdateParams(authority, params)

MsgUpdateParams is the Msg/UpdateParams request type.

MsgUpdateParamsResponse()

MsgUpdateParamsResponse defines the response structure for executing a MsgUpdateParams message.

Params(unbonding_time, max_validators, ...)

Params defines the parameters for the x/staking module.

Pool(not_bonded_tokens, bonded_tokens)

Pool is used for tracking bonded and not-bonded token supply of the bond denomination.

QueryBase()

QueryDelegationRequest(delegator_addr, ...)

QueryDelegationRequest is request type for the Query/Delegation RPC method.

QueryDelegationResponse(delegation_response)

QueryDelegationResponse is response type for the Query/Delegation RPC method.

QueryDelegatorDelegationsRequest(...)

QueryDelegatorDelegationsRequest is request type for the Query/DelegatorDelegations RPC method.

QueryDelegatorDelegationsResponse(...)

QueryDelegatorDelegationsResponse is response type for the Query/DelegatorDelegations RPC method.

QueryDelegatorUnbondingDelegationsRequest(...)

QueryDelegatorUnbondingDelegationsRequest is request type for the Query/DelegatorUnbondingDelegations RPC method.

QueryDelegatorUnbondingDelegationsResponse(...)

QueryUnbondingDelegatorDelegationsResponse is response type for the Query/UnbondingDelegatorDelegations RPC method.

QueryDelegatorValidatorRequest(...)

QueryDelegatorValidatorRequest is request type for the Query/DelegatorValidator RPC method.

QueryDelegatorValidatorResponse(validator)

QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method.

QueryDelegatorValidatorsRequest(...)

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

QueryDelegatorValidatorsResponse(validators, ...)

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

QueryHistoricalInfoRequest(height)

QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC method.

QueryHistoricalInfoResponse(hist)

QueryHistoricalInfoResponse is response type for the Query/HistoricalInfo RPC method.

QueryParamsRequest()

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

QueryParamsResponse(params)

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

QueryPoolRequest()

QueryPoolRequest is request type for the Query/Pool RPC method.

QueryPoolResponse(pool)

QueryPoolResponse is response type for the Query/Pool RPC method.

QueryRedelegationsRequest(delegator_addr, ...)

QueryRedelegationsRequest is request type for the Query/Redelegations RPC method.

QueryRedelegationsResponse(...)

QueryRedelegationsResponse is response type for the Query/Redelegations RPC method.

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

QueryUnbondingDelegationRequest(...)

QueryUnbondingDelegationRequest is request type for the Query/UnbondingDelegation RPC method.

QueryUnbondingDelegationResponse(unbond)

QueryDelegationResponse is response type for the Query/UnbondingDelegation RPC method.

QueryValidatorDelegationsRequest(...)

QueryValidatorDelegationsRequest is request type for the Query/ValidatorDelegations RPC method

QueryValidatorDelegationsResponse(...)

QueryValidatorDelegationsResponse is response type for the Query/ValidatorDelegations RPC method

QueryValidatorRequest(validator_addr)

QueryValidatorRequest is response type for the Query/Validator RPC method

QueryValidatorResponse(validator)

QueryValidatorResponse is response type for the Query/Validator RPC method

QueryValidatorUnbondingDelegationsRequest(...)

QueryValidatorUnbondingDelegationsRequest is required type for the Query/ValidatorUnbondingDelegations RPC method

QueryValidatorUnbondingDelegationsResponse(...)

QueryValidatorUnbondingDelegationsResponse is response type for the Query/ValidatorUnbondingDelegations RPC method.

QueryValidatorsRequest(status, pagination)

QueryValidatorsRequest is request type for Query/Validators RPC method.

QueryValidatorsResponse(validators, pagination)

QueryValidatorsResponse is response type for the Query/Validators RPC method

Redelegation(delegator_address, ...)

Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator.

RedelegationEntry(creation_height, ...)

RedelegationEntry defines a redelegation object with relevant metadata.

RedelegationEntryResponse(...)

RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.

RedelegationResponse(redelegation, entries)

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(max_tokens, allow_list, ...)

StakeAuthorization defines authorization for delegate/undelegate/redelegate.

StakeAuthorizationValidators(address)

Validators defines list of validator addresses.

UnbondingDelegation(delegator_address, ...)

UnbondingDelegation stores all of a single delegator's unbonding bonds for a single validator in an time-ordered list.

UnbondingDelegationEntry(creation_height, ...)

UnbondingDelegationEntry defines an unbonding object with relevant metadata.

ValAddresses(addresses)

ValAddresses defines a repeated set of validator addresses.

Validator(operator_address, ...)

Validator defines a validator, together with the total amount of the Validator's bond shares and their exchange rate to coins.

ValidatorUpdates(updates)

ValidatorUpdates defines an array of abci.ValidatorUpdate objects.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.AuthorizationType(*values)[source]

Bases: Enum

AuthorizationType 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: Enum

BondStatus 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: Message

Commission 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.

update_time: datetime = <object object>

update_time is the last time the commission rate was changed.

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: Message

CommissionRates 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.

max_rate: str = <object object>

max_rate defines the maximum commission rate which validator can ever charge, as a fraction.

rate: str = <object object>

rate is the commission rate charged to delegators, 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: Message

Delegation 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: str = <object object>

shares define the delegation shares received.

validator_address: str = <object object>

validator_address is the encoded address of the validator.

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: Message

DelegationResponse is equivalent to Delegation except that it contains a balance in addition to shares which is more suitable for client responses.

balance: Coin = <object object>
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: Message

Description defines a validator description.

details: str = <object object>

details define other optional details.

identity: str = <object object>

identity defines an optional identity signature (ex. UPort or Keybase).

moniker: str = <object object>

moniker defines a human-readable name for the validator.

security_contact: str = <object object>

security_contact defines an optional email for security contact.

website: str = <object object>

website defines an optional website link.

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

Bases: Message

DVPair 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.

delegator_address: str = <object object>
validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.DvPairs(pairs: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.DvPair] = <object object>)[source]

Bases: Message

DVPairs defines an array of DVPair objects.

pairs: List[DvPair] = <object object>
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: Message

DVVTriplet 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.

delegator_address: str = <object object>
validator_dst_address: str = <object object>
validator_src_address: str = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.DvvTriplets(triplets: ~typing.List[~evmos.proto.autogen.py.cosmos.staking.v1beta1.DvvTriplet] = <object object>)[source]

Bases: Message

DVVTriplets 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: Message

GenesisState 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.

params: Params = <object object>

params defines all the parameters of related to deposit.

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.

validators: List[Validator] = <object object>

validators defines the validator set 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: Message

HistoricalInfo contains header and validator information for a given block. It is stored as part of staking module’s state, which persists the n most recent HistoricalInfo (n is set by the staking module’s historical_entries parameter).

header: Header = <object object>
valset: List[Validator] = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.Infraction(*values)[source]

Bases: Enum

Infraction 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: Message

LastValidatorPower required for validator set update logic.

address: str = <object object>

address is the address of the validator.

power: int = <object object>

power defines the power of the validator.

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: Message

MsgBeginRedelegate defines a SDK message for performing a redelegation of coins from a delegator and source validator to a destination validator.

amount: Coin = <object object>
delegator_address: str = <object object>
validator_dst_address: str = <object object>
validator_src_address: str = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgBeginRedelegateResponse(completion_time: ~datetime.datetime = <object object>)[source]

Bases: Message

MsgBeginRedelegateResponse defines the Msg/BeginRedelegate response type.

completion_time: datetime = <object object>
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: Message

MsgCancelUnbondingDelegation 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

creation_height: int = <object object>

creation_height is the height which the unbonding took place.

delegator_address: str = <object object>
validator_address: str = <object object>
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: Message

MsgCreateValidator 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>
min_self_delegation: str = <object object>
pubkey: Any = <object object>
validator_address: str = <object object>
value: Coin = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgCreateValidatorResponse[source]

Bases: Message

MsgCreateValidatorResponse 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: Message

MsgDelegate defines a SDK message for performing a delegation of coins from a delegator to a validator.

amount: Coin = <object object>
delegator_address: str = <object object>
validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgDelegateResponse[source]

Bases: Message

MsgDelegateResponse 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: Message

MsgEditValidator 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>
min_self_delegation: str = <object object>
validator_address: str = <object object>
class evmos.proto.autogen.py.cosmos.staking.v1beta1.MsgEditValidatorResponse[source]

Bases: Message

MsgEditValidatorResponse 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: Message

MsgUndelegate defines a SDK message for performing an undelegation from a delegate and a validator.

amount: Coin = <object object>
delegator_address: str = <object object>
validator_address: str = <object object>
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: Message

MsgUndelegateResponse defines the Msg/Undelegate response type.

amount: Coin = <object object>

amount returns the amount of undelegated coins .. versionadded:: 0.50

completion_time: datetime = <object object>
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: 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/staking parameters to update. NOTE: All parameters must be supplied.

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

Bases: Message

MsgUpdateParamsResponse 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: Message

Params defines the parameters for the x/staking module.

bond_denom: str = <object object>

bond_denom defines the bondable coin denomination.

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).

max_validators: int = <object object>

max_validators is the maximum number of validators.

min_commission_rate: str = <object object>

min_commission_rate is the chain-wide minimum commission rate that a validator can charge their delegators

unbonding_time: timedelta = <object object>

unbonding_time is the time duration of unbonding.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.Pool(not_bonded_tokens: str = <object object>, bonded_tokens: str = <object object>)[source]

Bases: Message

Pool is used for tracking bonded and not-bonded token supply of the bond denomination.

bonded_tokens: str = <object object>
not_bonded_tokens: str = <object object>
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: Message

QueryDelegationRequest is request type for the Query/Delegation RPC method.

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

validator_addr: str = <object object>

validator_addr defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegationResponse(delegation_response: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.DelegationResponse = <object object>)[source]

Bases: Message

QueryDelegationResponse 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: Message

QueryDelegatorDelegationsRequest is request type for the Query/DelegatorDelegations RPC method.

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

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: Message

QueryDelegatorDelegationsResponse 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: Message

QueryDelegatorUnbondingDelegationsRequest is request type for the Query/DelegatorUnbondingDelegations RPC method.

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

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: Message

QueryUnbondingDelegatorDelegationsResponse 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: Message

QueryDelegatorValidatorRequest is request type for the Query/DelegatorValidator RPC method.

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

validator_addr: str = <object object>

validator_addr defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryDelegatorValidatorResponse(validator: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator = <object object>)[source]

Bases: Message

QueryDelegatorValidatorResponse response type for the Query/DelegatorValidator RPC method.

validator: Validator = <object object>

validator defines the validator info.

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: Message

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

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

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: Message

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

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

validators: List[Validator] = <object object>

validators defines the validators’ info of a delegator.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryHistoricalInfoRequest(height: int = <object object>)[source]

Bases: Message

QueryHistoricalInfoRequest is request type for the Query/HistoricalInfo RPC method.

height: int = <object object>

height defines at which height to query the historical info.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryHistoricalInfoResponse(hist: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.HistoricalInfo = <object object>)[source]

Bases: Message

QueryHistoricalInfoResponse 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: Message

QueryParamsRequest 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: Message

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

params: Params = <object object>

params holds all the parameters of this module.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryPoolRequest[source]

Bases: Message

QueryPoolRequest 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: Message

QueryPoolResponse is response type for the Query/Pool RPC method.

pool: Pool = <object object>

pool defines the pool info.

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: Message

QueryRedelegationsRequest is request type for the Query/Redelegations RPC method.

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

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.

src_validator_addr: str = <object object>

src_validator_addr defines the validator address to redelegate from.

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: Message

QueryRedelegationsResponse 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: Message

QueryUnbondingDelegationRequest is request type for the Query/UnbondingDelegation RPC method.

delegator_addr: str = <object object>

delegator_addr defines the delegator address to query for.

validator_addr: str = <object object>

validator_addr defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryUnbondingDelegationResponse(unbond: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.UnbondingDelegation = <object object>)[source]

Bases: Message

QueryDelegationResponse 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: Message

QueryValidatorDelegationsRequest is request type for the Query/ValidatorDelegations RPC method

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

validator_addr: str = <object object>

validator_addr defines the validator address to query for.

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: Message

QueryValidatorDelegationsResponse 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: Message

QueryValidatorRequest is response type for the Query/Validator RPC method

validator_addr: str = <object object>

validator_addr defines the validator address to query for.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.QueryValidatorResponse(validator: ~evmos.proto.autogen.py.cosmos.staking.v1beta1.Validator = <object object>)[source]

Bases: Message

QueryValidatorResponse is response type for the Query/Validator RPC method

validator: Validator = <object object>

validator defines the validator info.

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: Message

QueryValidatorUnbondingDelegationsRequest is required type for the Query/ValidatorUnbondingDelegations RPC method

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

validator_addr: str = <object object>

validator_addr defines the validator address to query for.

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: Message

QueryValidatorUnbondingDelegationsResponse 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: Message

QueryValidatorsRequest is request type for Query/Validators RPC method.

pagination: PageRequest = <object object>

pagination defines an optional pagination for the request.

status: str = <object object>

status enables to query for validators matching a given status.

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: Message

QueryValidatorsResponse is response type for the Query/Validators RPC method

pagination: PageResponse = <object object>

pagination defines the pagination in the response.

validators: List[Validator] = <object object>

validators contains all the queried validators.

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: Message

Redelegation 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.

validator_dst_address: str = <object object>

validator_dst_address is the validator redelegation destination operator address.

validator_src_address: str = <object object>

validator_src_address is the validator redelegation source operator address.

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: Message

RedelegationEntry 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: str = <object object>

shares_dst is the amount of destination-validator shares created by redelegation.

unbonding_id: int = <object object>

Incrementing id that uniquely identifies this entry

unbonding_on_hold_ref_count: int = <object object>

Strictly positive if this entry’s unbonding has been stopped by external modules

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: Message

RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.

balance: str = <object object>
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: Message

RedelegationResponse 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: Message

StakeAuthorization 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.

max_tokens: Coin = <object object>

max_tokens specifies the maximum amount of tokens can be delegate to a validator. If it is empty, there is no spend limit and any amount of coins can be delegated.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.StakeAuthorizationValidators(address: ~typing.List[str] = <object object>)[source]

Bases: Message

Validators defines list of validator addresses.

address: List[str] = <object object>
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: Message

UnbondingDelegation 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.

validator_address: str = <object object>

validator_address is the encoded address of the validator.

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: Message

UnbondingDelegationEntry defines an unbonding object with relevant metadata.

balance: str = <object object>

balance defines the tokens to receive at completion.

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.

initial_balance: str = <object object>

initial_balance defines the tokens initially scheduled to receive at completion.

unbonding_id: int = <object object>

Incrementing id that uniquely identifies this entry

unbonding_on_hold_ref_count: int = <object object>

Strictly positive if this entry’s unbonding has been stopped by external modules

class evmos.proto.autogen.py.cosmos.staking.v1beta1.ValAddresses(addresses: ~typing.List[str] = <object object>)[source]

Bases: Message

ValAddresses defines a repeated set of validator addresses.

addresses: List[str] = <object object>
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: Message

Validator 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: str = <object object>

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).

tokens: str = <object object>

tokens define the delegated tokens (incl. self-delegation).

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

unbonding_on_hold_ref_count: int = <object object>

strictly positive if this validator’s unbonding has been stopped by external modules

unbonding_time: datetime = <object object>

unbonding_time defines, if unbonding, the min time for the validator to complete unbonding.

class evmos.proto.autogen.py.cosmos.staking.v1beta1.ValidatorUpdates(updates: ~typing.List[~evmos.proto.autogen.py.tendermint.abci.ValidatorUpdate] = <object object>)[source]

Bases: Message

ValidatorUpdates 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>