Versions in this module Expand all Collapse all v1 v1.1.1 Dec 18, 2024 Changes in this version + var ErrWrongInType = errors.New("wrong input type") + var ErrWrongOutType = errors.New("wrong output type") + var IDsEmpty = IDs + var ThisTxID = ids.ID + func VerifyLockMode(ins []*avax.TransferableInput, outs []*avax.TransferableOutput, ...) error + func VerifyNoLocks(ins []*avax.TransferableInput, outs []*avax.TransferableOutput) error + type IDs struct + BondTxID ids.ID + DepositTxID ids.ID + func (lock *IDs) FixLockID(txID ids.ID, appliedLockState State) + func (lock *IDs) Match(lockState State, txIDs set.Set[ids.ID]) bool + func (lock IDs) IsLocked() bool + func (lock IDs) IsLockedWith(lockState State) bool + func (lock IDs) IsNewlyLockedWith(lockState State) bool + func (lock IDs) Lock(lockState State) IDs + func (lock IDs) LockState() State + func (lock IDs) Unlock(lockState State) IDs + type In struct + func (in *In) Equal(to any) bool + func (in *In) Verify() error + type Out struct + func (out *Out) Addresses() [][]byte + func (out *Out) Equal(to any) bool + func (out *Out) Verify() error + type State byte + const StateBonded + const StateDeposited + const StateDepositedBonded + const StateUnlocked + func (ls State) IsBonded() bool + func (ls State) IsDeposited() bool + func (ls State) IsDepositedBonded() bool + func (ls State) String() string + func (ls State) Verify() error