Skip to main content

amaru_kernel/
cardano.rs

1// Copyright 2026 PRAGMA
2//
3// Licensed under the Apache License, Version 2.0 (the "License");
4// you may not use this file except in compliance with the License.
5// You may obtain a copy of the License at
6//
7//     http://www.apache.org/licenses/LICENSE-2.0
8//
9// Unless required by applicable law or agreed to in writing, software
10// distributed under the License is distributed on an "AS IS" BASIS,
11// WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
12// See the License for the specific language governing permissions and
13// limitations under the License.
14
15pub mod account;
16pub mod address;
17pub mod anchor;
18pub mod asset_name;
19pub mod auxiliary_data;
20pub mod ballot;
21pub mod ballot_id;
22pub mod bigint;
23pub mod block;
24pub mod block_header;
25pub mod block_height;
26pub mod bootstrap_witness;
27pub mod bytes;
28pub mod certificate;
29pub mod certificate_pointer;
30pub mod constitution;
31pub mod constitutional_committee;
32pub mod cost_model;
33pub mod cost_models;
34pub mod drep;
35pub mod drep_registration;
36pub mod drep_state;
37pub mod drep_voting_thresholds;
38pub mod epoch;
39pub mod era_history;
40pub mod era_name;
41pub mod era_params;
42pub mod ex_units;
43pub mod ex_units_prices;
44pub mod governance_action;
45pub mod hash;
46// TODO: BlockHeader vs Header
47//
48// We have two types that seemingly fulfill the same function. They shall be unified.
49pub mod era_bound;
50pub mod era_summary;
51pub mod header;
52pub mod header_body;
53pub mod int;
54pub mod language;
55pub mod lovelace;
56pub mod memoized;
57pub mod metadatum;
58pub mod native_script;
59pub mod network;
60pub mod network_block;
61pub mod network_id;
62pub mod network_magic;
63pub mod network_name;
64pub mod non_zero_int;
65pub mod nonce;
66pub mod ordered_redeemer;
67pub mod peer;
68pub mod plutus_data;
69pub mod plutus_script;
70pub mod point;
71pub mod pool_metadata;
72pub mod pool_params;
73pub mod pool_voting_thresholds;
74pub mod positive_coin;
75pub mod proposal;
76pub mod proposal_id;
77pub mod proposal_pointer;
78pub mod proposal_state;
79pub mod protocol_parameters;
80pub mod protocol_parameters_update;
81pub mod protocol_version;
82pub mod rational_number;
83pub mod raw_block;
84pub mod redeemer;
85pub mod redeemer_key;
86pub mod redeemers;
87pub mod relay;
88pub mod required_script;
89pub mod reward;
90pub mod reward_account;
91pub mod reward_kind;
92pub mod script_kind;
93pub mod script_purpose;
94pub mod slot;
95pub mod stake_credential;
96pub mod stake_credential_kind;
97pub mod tip;
98pub mod transaction;
99pub mod transaction_body;
100pub mod transaction_input;
101pub mod transaction_pointer;
102pub mod value;
103pub mod vkey_witness;
104pub mod vote;
105pub mod voter;
106pub mod voter_kind;
107pub mod voting_procedure;
108pub mod witness_set;