Versions in this module Expand all Collapse all v0 v0.6.5 Aug 18, 2023 Changes in this version + const ValidatorPubkeyLength + const ValidatorSignatureLength + var MinipoolDepositTypes = []string + var MinipoolStatuses = []string + var ProposalStates = []string + type MinipoolDeposit uint8 + const Empty + const Full + const Half + const None + const Variable + func StringToMinipoolDeposit(value string) (MinipoolDeposit, error) + func (d *MinipoolDeposit) UnmarshalJSON(data []byte) error + func (d MinipoolDeposit) MarshalJSON() ([]byte, error) + func (d MinipoolDeposit) String() string + type MinipoolStatus uint8 + const Dissolved + const Initialized + const Prelaunch + const Staking + const Withdrawable + func StringToMinipoolStatus(value string) (MinipoolStatus, error) + func (s *MinipoolStatus) UnmarshalJSON(data []byte) error + func (s MinipoolStatus) MarshalJSON() ([]byte, error) + func (s MinipoolStatus) String() string + type ProposalState uint8 + const Active + const Cancelled + const Defeated + const Executed + const Expired + const Pending + const Succeeded + func StringToProposalState(value string) (ProposalState, error) + func (s *ProposalState) UnmarshalJSON(data []byte) error + func (s ProposalState) MarshalJSON() ([]byte, error) + func (s ProposalState) String() string + type ValidatorPubkey [ValidatorPubkeyLength]byte + func BytesToValidatorPubkey(value []byte) ValidatorPubkey + func HexToValidatorPubkey(value string) (ValidatorPubkey, error) + func (v *ValidatorPubkey) UnmarshalJSON(data []byte) error + func (v ValidatorPubkey) Bytes() []byte + func (v ValidatorPubkey) Hex() string + func (v ValidatorPubkey) MarshalJSON() ([]byte, error) + func (v ValidatorPubkey) String() string + type ValidatorSignature [ValidatorSignatureLength]byte + func BytesToValidatorSignature(value []byte) ValidatorSignature + func HexToValidatorSignature(value string) (ValidatorSignature, error) + func (v *ValidatorSignature) UnmarshalJSON(data []byte) error + func (v ValidatorSignature) Bytes() []byte + func (v ValidatorSignature) Hex() string + func (v ValidatorSignature) MarshalJSON() ([]byte, error) + func (v ValidatorSignature) String() string