struct
StakeRegistrationA stake registration certificate.
CDDL:
stake_registration = (0, stake_credential)
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
- StakeRegistration()
- Construct a new StakeRegistration certificate 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
- StakeCredential stake_credential
- The certificate stake credential.
-
const Certificate::
Type type - Constant certificate type (must be set on construction).
Function documentation
cppbor::Array cardano:: shelley:: StakeRegistration:: serializer() const final
Create a pool registration CBOR object for serialization.
Returns | CBOR array object. |
---|