# Functions
DefaultValidatorOutput returns a ValidatorOutput with default values.
FormatConsensusPubkey format ConsensusPubkey into a base64 string.
LoadABI loads the staking ABI from the embedded abi.json file for the staking precompile.
NewDelegationRequest creates a new QueryDelegationRequest instance and does sanity checks on the given arguments before populating the request.
NewMsgCancelUnbondingDelegation creates a new MsgCancelUnbondingDelegation instance and does sanity checks on the given arguments before populating the message.
NewMsgCreateValidator creates a new MsgCreateValidator instance and does sanity checks on the given arguments before populating the message.
NewMsgDelegate creates a new MsgDelegate instance and does sanity checks on the given arguments before populating the message.
NewMsgEditValidator creates a new MsgEditValidator instance and does sanity checks on the given arguments before populating the message.
NewMsgRedelegate creates a new MsgRedelegate instance and does sanity checks on the given arguments before populating the message.
NewMsgUndelegate creates a new MsgUndelegate instance and does sanity checks on the given arguments before populating the message.
NewPrecompile creates a new staking Precompile instance as a PrecompiledContract interface.
NewRedelegationRequest create a new QueryRedelegationRequest instance and does sanity checks on the given arguments before populating the request.
NewRedelegationsRequest create a new QueryRedelegationsRequest instance and does sanity checks on the given arguments before populating the request.
NewUnbondingDelegationRequest creates a new QueryUnbondingDelegationRequest instance and does sanity checks on the given arguments before populating the request.
NewValidatorRequest create a new QueryValidatorRequest instance and does sanity checks on the given arguments before populating the request.
NewValidatorsRequest create a new QueryValidatorsRequest instance and does sanity checks on the given arguments before populating the request.
# Constants
CancelUnbondingDelegationAuthz defines the authorization type for the staking.
CancelUnbondingDelegationMethod defines the ABI method name for the staking CancelUnbondingDelegation transaction.
CreateValidatorMethod defines the ABI method name for the staking create validator transaction.
DelegateAuthz defines the authorization type for the staking Delegate.
DelegateMethod defines the ABI method name for the staking Delegate transaction.
DelegationMethod defines the ABI method name for the staking Delegation query.
DoNotModifyCommissionRate constant used in flags to indicate that commission rate field should not be updated.
DoNotModifyMinSelfDelegation constant used in flags to indicate that min self delegation field should not be updated.
EditValidatorMethod defines the ABI method name for the staking edit validator transaction.
ErrCannotCallFromContract is raised when a function cannot be called from a smart contract.
ErrDecreaseAmountTooBig is raised when the amount by which the allowance should be decreased is greater than the authorization limit.
ErrDifferentOriginFromDelegator is raised when the origin address is not the same as the delegator address.
ErrDifferentOriginFromValidator is raised when the origin address is not the same as the validator address.
ErrNoDelegationFound is raised when no delegation is found for the given delegator and validator addresses.
EventTypeCancelUnbondingDelegation defines the event type for the staking CancelUnbondingDelegation transaction.
EventTypeCreateValidator defines the event type for the staking CreateValidator transaction.
EventTypeDelegate defines the event type for the staking Delegate transaction.
EventTypeEditValidator defines the event type for the staking EditValidator transaction.
EventTypeRedelegate defines the event type for the staking Redelegate transaction.
EventTypeUnbond defines the event type for the staking Undelegate transaction.
RedelegateAuthz defines the authorization type for the staking Redelegate.
RedelegateMethod defines the ABI method name for the staking Redelegate transaction.
RedelegationMethod defines the ABI method name for the staking Redelegation query.
RedelegationsMethod defines the ABI method name for the staking Redelegations query.
UnbondingDelegationMethod defines the ABI method name for the staking UnbondingDelegationMethod query.
UndelegateAuthz defines the authorization type for the staking Undelegate.
UndelegateMethod defines the ABI method name for the staking Undelegate transaction.
ValidatorMethod defines the ABI method name for the staking Validator query.
ValidatorsMethod defines the ABI method name for the staking Validators query.
# Variables
CancelUnbondingDelegationMsg defines the authorization type for MsgCancelUnbondingDelegation.
DelegateMsg defines the authorization type for MsgDelegate.
RedelegateMsg defines the authorization type for MsgRedelegate.
UndelegateMsg defines the authorization type for MsgUndelegate.
# Structs
Commission use golang type alias defines a validator commission.
DelegationOutput is a struct to represent the key information from a delegation response.
Description use golang type alias defines a validator description.
EventCancelUnbonding defines the event data for the staking CancelUnbond transaction.
EventCreateValidator defines the event data for the staking CreateValidator transaction.
EventDelegate defines the event data for the staking Delegate transaction.
EventEditValidator defines the event data for the staking EditValidator transaction.
EventRedelegate defines the event data for the staking Redelegate transaction.
EventUnbond defines the event data for the staking Undelegate transaction.
Precompile defines the precompiled contract for staking.
Redelegation contains the list of a particular delegator's redelegating bonds from a particular source validator to a particular destination validator.
RedelegationEntry is a struct to represent the key information from a redelegation entry response.
RedelegationEntryResponse is equivalent to a RedelegationEntry except that it contains a balance in addition to shares which is more suitable for client responses.
RedelegationOutput returns the output for a redelegation query.
RedelegationRequest is a struct that contains the information to pass into a redelegation query.
RedelegationResponse is equivalent to a Redelegation except that its entries contain a balance in addition to shares which is more suitable for client responses.
RedelegationsInput is a struct to represent the input information for the redelegations query.
RedelegationsOutput is a struct to represent the key information from a redelegations response.
RedelegationsRequest is a struct that contains the information to pass into a redelegations query.
RedelegationValues is a struct to represent the key information from a redelegation response.
UnbondingDelegationEntry is a struct that contains the information about an unbonding delegation entry.
UnbondingDelegationOutput is the output response returned by the query method.
UnbondingDelegationResponse is a struct that contains the information about an unbonding delegation.
ValidatorInfo is a struct to represent the key information from a validator response.
No description provided by the author
ValidatorsInput is a struct to represent the input information for the validators query.
ValidatorsOutput is a struct to represent the key information from a validators response.