cardano::shelley::PoolRegistration struct

A pool registration certificate.

CDDL:

pool_registration = (3, pool_params)

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.

Constructors, destructors, conversion operators

PoolRegistration()
Construct a new PoolRegistration object.

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 registration CBOR object for serialization.

Public variables

PoolParams pool_params
The parameters of a stake pool.
const Certificate::Type type
Constant certificate type (must be set on construction).

Function documentation

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

Create a pool registration CBOR object for serialization.

Returns CBOR array object.