struct
StakeDelegationA stake delegation certificate.
CDDL:
stake_delegation = (2, stake_credential, pool_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.
Constructors, destructors, conversion operators
- StakeDelegation()
- Construct a new StakeDelegation 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.
- PoolKeyHash pool_keyhash
- The identity of the stake pool intended for delegation.
-
const Certificate::
Type type - Constant certificate type (must be set on construction).
Function documentation
cppbor::Array cardano:: shelley:: StakeDelegation:: serializer() const final
Create a pool registration CBOR object for serialization.
Returns | CBOR array object. |
---|