struct
PoolRetirementA pool retirement certificate.
CDDL:
pool_retirement = (4, pool_keyhash, epoch)
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
- PoolRetirement()
- Construct a new PoolRetirement 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 deregistration CBOR object for serialization.
Public variables
- PoolKeyHash pool_keyhash
- Blake2b_224 hash of the stake pool verification key.
- Epoch epoch
- The epoch when the pool will be retired.
-
const Certificate::
Type type - Constant certificate type (must be set on construction).
Function documentation
cppbor::Array cardano:: shelley:: PoolRetirement:: serializer() const final
Create a pool deregistration CBOR object for serialization.
Returns | CBOR array object. |
---|