cardano::shelley::GenesisKeyDelegation struct

A genesis key delegation certificate.

CDDL:

genesis_key_delegation = (5,
    genesishash, genesis_delegate_hash, vrf_keyhash)

Base classes

struct Certificate
A transaction certificate (base type).

Public types

enum Type { stake_registration = 0, stake_deregistration = 1, stake_delegation = 2, pool_registration = 3, pool_retirement = 4, genesis_key_delegation = 5, move_instantaneous_rewards_cert = 6 }
The certificate type.

Public functions

auto serialize() const →  std::vector<uint8_t>
Serialize the object as a CBOR byte vector.
auto serializer() const →  cppbor::Array final
Create a pool deregistration CBOR object for serialization.

Public variables

const Certificate::Type type
Constant certificate type (must be set on construction).

Function documentation

cppbor::Array cardano::shelley::GenesisKeyDelegation::serializer() const final

Create a pool deregistration CBOR object for serialization.

Returns CBOR array object.