namespace
babbageBabbage era ledger types.
Classes
- struct PostAlonzoTransactionOutput
- PostAlonzoTransactionOutput.
- struct Transaction
- A transaction.
- struct TransactionBody
- The body of a transaction.
- struct TransactionWitnessSet
- Structure to hold the witnesses for a transaction.
Typedefs
-
using Certificate = shelley::
Certificate - A transaction certificate (base type).
-
using GenesisKeyDelegation = shelley::
GenesisKeyDelegation - A genesis key delegation certificate.
-
using MoveInstantaneousRewardsCert = shelley::
MoveInstantaneousRewardsCert - A move instantaneous rewards certificate.
-
using PoolParams = shelley::
PoolParams - Stake pool parameters that are recorded on-chain.
-
using PoolRegistration = shelley::
PoolRegistration - A pool registration certificate.
-
using PoolRetirement = shelley::
PoolRetirement - A pool retirement certificate.
-
using PreBabbageTransactionOutput = alonzo::
TransactionOutput - LegacyTransactionOutput.
-
using ProposedProtocolParameterUpdate = shelley::
ProposedProtocolParameterUpdate - Proposed protocol paramer updates.
-
using ScriptDataHash = alonzo::
ScriptDataHash - This is a hash of data which may affect evaluation of a script.
-
using StakeDelegation = shelley::
StakeDelegation - A stake delegation certificate.
-
using StakeDeregistration = shelley::
StakeDeregistration - A stake deregistration certificate.
-
using StakeRegistration = shelley::
StakeRegistration - A stake registration certificate.
-
using TransactionInput = shelley::
TransactionInput - A transaction input.
-
using TransactionOutput = std::
variant<PreBabbageTransactionOutput, PostAlonzoTransactionOutput> - Represent a transaction output.
-
using Update = shelley::
Update - An update proposal.
-
using VkeyWitness = shelley::
VkeyWitness - Verification key witness.
-
using Withdrawals = shelley::
Withdrawals - Represent reward account withdrawals.
Typedef documentation
using cardano:: babbage:: Certificate = shelley:: Certificate
A transaction certificate (base type).
CDDL description:
certificate = [ stake_registration // stake_deregistration // stake_delegation // pool_registration // pool_retirement // genesis_key_delegation // move_instantaneous_rewards_cert ]
using cardano:: babbage:: GenesisKeyDelegation = shelley:: GenesisKeyDelegation
A genesis key delegation certificate.
CDDL:
genesis_key_delegation = (5 , genesishash , genesis_delegate_hash , vrf_keyhash )
using cardano:: babbage:: MoveInstantaneousRewardsCert = shelley:: MoveInstantaneousRewardsCert
A move instantaneous rewards certificate.
CDDL:
move_instantaneous_rewards_cert = (6, move_instantaneous_reward)
using cardano:: babbage:: PoolParams = shelley:: PoolParams
Stake pool parameters that are recorded on-chain.
pool_params = ( operator: pool_keyhash , vrf_keyhash: vrf_keyhash , pledge: coin , cost: coin , margin: unit_interval , reward_account: reward_account , pool_owners: set<addr_keyhash> , relays: [* relay] , pool_metadata: pool_metadata / null )
using cardano:: babbage:: PoolRegistration = shelley:: PoolRegistration
A pool registration certificate.
CDDL:
pool_registration = (3, pool_params)
using cardano:: babbage:: PoolRetirement = shelley:: PoolRetirement
A pool retirement certificate.
CDDL:
pool_retirement = (4, pool_keyhash, epoch)
using cardano:: babbage:: PreBabbageTransactionOutput = alonzo:: TransactionOutput
LegacyTransactionOutput.
pre_babbage_transaction_output = [ address , amount : value , ? datum_hash : $hash32 ]
using cardano:: babbage:: ProposedProtocolParameterUpdate = shelley:: ProposedProtocolParameterUpdate
Proposed protocol paramer updates.
proposed_protocol_parameter_updates = { * genesishash => protocol_param_update }
using cardano:: babbage:: StakeDelegation = shelley:: StakeDelegation
A stake delegation certificate.
CDDL:
stake_delegation = (2, stake_credential, pool_keyhash)
using cardano:: babbage:: StakeDeregistration = shelley:: StakeDeregistration
A stake deregistration certificate.
CDDL:
stake_deregistration = (1, stake_credential)
using cardano:: babbage:: StakeRegistration = shelley:: StakeRegistration
A stake registration certificate.
CDDL:
stake_registration = (0, stake_credential)
using cardano:: babbage:: TransactionInput = shelley:: TransactionInput
A transaction input.
transaction_input = [ transaction_id : $hash32 , index : uint ]
using cardano:: babbage:: TransactionOutput = std:: variant<PreBabbageTransactionOutput, PostAlonzoTransactionOutput>
Represent a transaction output.
transaction_output = legacy_transaction_output / post_alonzo_transaction_output ; New
Both of the Alonzo and Babbage style TxOut formats are equally valid and can be used interchangeably.
using cardano:: babbage:: Update = shelley:: Update
An update proposal.
update = [ proposed_protocol_parameter_updates , epoch ]
using cardano:: babbage:: VkeyWitness = shelley:: VkeyWitness
Verification key witness.
vkeywitness = [ $vkey, $signature ]
using cardano:: babbage:: Withdrawals = shelley:: Withdrawals
Represent reward account withdrawals.
withdrawals = { * reward_account => coin }