cardano::shelley namespace

Shelley era ledger types.

Classes

struct Block
Represents the structure of a block on the chain.
struct Certificate
A transaction certificate (base type).
struct GenesisKeyDelegation
A genesis key delegation certificate.
struct Header
A block header header = [ header_body , kes_signature : $kes_signature ].
struct HeaderBody
A block header body header_body = [ block_number : uint , slot : uint , prev_hash : $hash32 / null , issuer_vkey : $vkey , vrf_vkey : $vrf_vkey , nonce_vrf : $vrf_cert , leader_vrf : $vrf_cert , block_body_size : uint , block_body_hash : $hash32 ; merkle triple root , operational_cert , protocol_version ].
struct MoveInstantaneousReward
struct MoveInstantaneousRewardsCert
A move instantaneous rewards certificate.
struct MultisigAll
multisig_all = (1, [ * multisig_script ])
struct MultisigAny
multisig_any = (2, [ * multisig_script ])
struct MultisigNofK
multisig_n_of_k = (3, n: uint, [ * multisig_script ])
struct MultisigPubkey
multisig_pubkey = (0, addr_keyhash)
struct MultisigScript
struct OperationalCert
Stake pool operational certificate.
struct PoolParams
Stake pool parameters that are recorded on-chain.
struct PoolRegistration
A pool registration certificate.
struct PoolRetirement
A pool retirement certificate.
struct ProtocolVersion
Represent the protocol version. The CDDL description is: next_major_protocol_version = 3 major_protocol_version = 1..next_major_protocol_version protocol_version = (major_protocol_version, uint)
struct Relay
A stake pool relay registration (base type).
struct StakeCredential
A stake credential.
struct StakeDelegation
A stake delegation certificate.
struct StakeDeregistration
A stake deregistration certificate.
struct StakeRegistration
A stake registration certificate.
struct Transaction
A transaction.
struct TransactionBody
The body of a transaction.
struct TransactionInput
A transaction input.
struct TransactionOutput
A transaction output.
struct TransactionWitnessSet
Represent the witness set of a transaction.

Typedefs

using Nonce = std::tuple<Byte, Bytes32>
$nonce /= [ 0 // 1, bytes .size 32 ]
using ProposedProtocolParameterUpdate = std::vector<std::tuple<GenesisHash, ProtocolParamUpdate>>
Proposed protocol paramer updates.
using TransactionMetadatumLabel = Uint
transaction_metadatum_label = uint
using Update = std::tuple<ProposedProtocolParameterUpdate, Epoch>
An update proposal.
using VkeyWitness = std::tuple<Vkey, Signature>
Verification key witness vkeywitness = [ $vkey, $signature ].
using Withdrawals = std::vector<std::tuple<RewardAccount, Coin>>
Represent reward account withdrawals.

Typedef documentation

using cardano::shelley::ProposedProtocolParameterUpdate = std::vector<std::tuple<GenesisHash, ProtocolParamUpdate>>

Proposed protocol paramer updates.

proposed_protocol_parameter_updates =
    { * genesishash => protocol_param_update }

using cardano::shelley::Update = std::tuple<ProposedProtocolParameterUpdate, Epoch>

An update proposal.

update = [ proposed_protocol_parameter_updates
         , epoch
         ]

using cardano::shelley::Withdrawals = std::vector<std::tuple<RewardAccount, Coin>>

Represent reward account withdrawals.

withdrawals = { * reward_account => coin }