Versions in this module Expand all Collapse all v0 v0.2.0 Oct 15, 2025 v0.1.0 Oct 12, 2025 Changes in this version + var ErrBondingPeriod = errors.New("validator in bonding period") + var ErrCommitteeJoinLimitExceeded = errors.New(...) + var ErrCommitteeLeaveLimitExceeded = errors.New(...) + var ErrExpiredSortition = errors.New("expired sortition") + var ErrInsufficientFunds = errors.New("insufficient funds") + var ErrInvalidSortitionProof = errors.New("invalid sortition proof") + var ErrOldestValidatorNotProposed = errors.New("oldest validator has not proposed any block yet") + var ErrPublicKeyAlreadySet = errors.New("public key is already set") + var ErrPublicKeyNotSet = errors.New("public key is not set") + var ErrUnbondingPeriod = errors.New("validator in unbonding period") + var ErrValidatorBonded = errors.New("validator is bonded") + var ErrValidatorInCommittee = errors.New("validator is in the committee") + var ErrValidatorUnbonded = errors.New("validator has unbonded") + type AccountNotFoundError struct + Address crypto.Address + func (e AccountNotFoundError) Error() string + type BatchTransferExecutor struct + func (e *BatchTransferExecutor) Check(_ bool) error + func (e *BatchTransferExecutor) Execute() + type BondExecutor struct + func (e *BondExecutor) Check(strict bool) error + func (e *BondExecutor) Execute() + type Executor interface + Check func(strict bool) error + Execute func() + func MakeExecutor(trx *tx.Tx, sbx sandbox.Sandbox) (Executor, error) + type InvalidPayloadTypeError struct + PayloadType payload.Type + func (e InvalidPayloadTypeError) Error() string + type MaximumStakeError struct + Maximum amount.Amount + func (e MaximumStakeError) Error() string + type SmallStakeError struct + Minimum amount.Amount + func (e SmallStakeError) Error() string + type SortitionExecutor struct + func (e *SortitionExecutor) Check(strict bool) error + func (e *SortitionExecutor) Execute() + type TransferExecutor struct + func (e *TransferExecutor) Check(_ bool) error + func (e *TransferExecutor) Execute() + type UnbondExecutor struct + func (e *UnbondExecutor) Check(strict bool) error + func (e *UnbondExecutor) Execute() + type ValidatorNotFoundError struct + Address crypto.Address + func (e ValidatorNotFoundError) Error() string + type WithdrawExecutor struct + func (e *WithdrawExecutor) Check(_ bool) error + func (e *WithdrawExecutor) Execute()