ValidatorMetadataV1Interface
type ValidatorMetadataV1Interface
A typed view of a `0x3::validator::ValidatorMetadataV1`.
type ValidatorMetadataV1Interface interface {
// Public key bytes for signing transactions (also serves as the
// authority name).
AuthorityPubkeyBytes() []byte
Description() string
ImageUrl() string
// The IOTA address of the validator.
IotaAddress() *Address
// A unique human-readable validator name.
Name() string
// Network address of the validator.
NetAddress() string
// Public key bytes for TLS connections.
NetworkPubkeyBytes() []byte
// `next_epoch_*` metadata only takes effect in the next epoch. If
// `None`, the current value stays unchanged.
NextEpochAuthorityPubkeyBytes() *[]byte
NextEpochNetAddress() *string
NextEpochNetworkPubkeyBytes() *[]byte
NextEpochP2pAddress() *string
NextEpochPrimaryAddress() *string
NextEpochProofOfPossession() *[]byte
NextEpochProtocolPubkeyBytes() *[]byte
// Address of the validator used for p2p activities such as state sync.
P2pAddress() string
// Primary address of the consensus.
PrimaryAddress() string
ProjectUrl() string
// Proof that the validator owns the private key.
ProofOfPossession() []byte
// Public key bytes for signing consensus blocks.
ProtocolPubkeyBytes() []byte
}