Module

Cardano.Types

Re-exports from Cardano.Types.Address

Re-exports from Cardano.Types.Anchor

Re-exports from Cardano.Types.AnchorDataHash

Re-exports from Cardano.Types.Asset

Re-exports from Cardano.Types.AssetClass

Re-exports from Cardano.Types.AssetName

Re-exports from Cardano.Types.AuxiliaryData

Re-exports from Cardano.Types.AuxiliaryDataHash

Re-exports from Cardano.Types.Base58String

#Base58String

Re-exports from Cardano.Types.BaseAddress

#BaseAddress

type BaseAddress = { networkId :: NetworkId, paymentCredential :: PaymentCredential, stakeCredential :: StakeCredential }

Re-exports from Cardano.Types.Bech32String

#Bech32String

Re-exports from Cardano.Types.BigInt

Re-exports from Cardano.Types.BigNum

Re-exports from Cardano.Types.BootstrapWitness

Re-exports from Cardano.Types.ByronAddress

Re-exports from Cardano.Types.CborBytes

Re-exports from Cardano.Types.Certificate

Re-exports from Cardano.Types.Chain

#Tip

data Tip

Constructors

Instances

#ChainTip

newtype ChainTip

Constructors

Instances

Re-exports from Cardano.Types.Coin

Re-exports from Cardano.Types.Committee

Re-exports from Cardano.Types.Constitution

Re-exports from Cardano.Types.CostModel

Re-exports from Cardano.Types.Credential

Re-exports from Cardano.Types.DRep

Re-exports from Cardano.Types.DRepVotingThresholds

#DRepVotingThresholds

newtype DRepVotingThresholds

Constructors

Instances

Re-exports from Cardano.Types.DataHash

Re-exports from Cardano.Types.DelegationsAndRewards

#DelegationsAndRewards

type DelegationsAndRewards = { delegate :: Maybe PoolPubKeyHash, rewards :: Maybe Coin }

Re-exports from Cardano.Types.Ed25519KeyHash

Re-exports from Cardano.Types.Ed25519Signature

Re-exports from Cardano.Types.EnterpriseAddress

#EnterpriseAddress

type EnterpriseAddress = { networkId :: NetworkId, paymentCredential :: PaymentCredential }

Re-exports from Cardano.Types.Epoch

Re-exports from Cardano.Types.EraSummaries

#SafeZone

newtype SafeZone

Number of slots from the tip of the ledger in which it is guaranteed that no hard fork can take place. This should be (at least) the number of slots in which we are guaranteed to have k blocks.

Constructors

Instances

#RelativeTime

newtype RelativeTime

A time in seconds relative to another one (typically, system start or era start).

Constructors

Instances

#EraSummaryTime

newtype EraSummaryTime

time: Time in seconds relative to the start time of the network.

slot: Absolute slot number. Ogmios returns a number 0-18446744073709552000 but our Slot is a Rust u64 which has precision up to 18446744073709551615 (note 385 difference). We treat this as neglible instead of defining AbsSlot BigInt. See https://github.com/Plutonomicon/cardano-transaction-lib/issues/632 for details.

epoch: Epoch number.

Constructors

Instances

#EraSummaryParameters

newtype EraSummaryParameters

epochLength: Epoch length in number of slots.

slotLength: Slot length in milliseconds.

safe_zone: Zone in which it is guaranteed that no hard fork can take place.

Constructors

Instances

#EraSummary

newtype EraSummary

start: Era bound which captures the time, slot and epoch at which the era starts, relative to the start of the network.

end: Era bound which captures the time, slot and epoch at which the era ends, relative to the start of the network.

parameters: Era parameters that can vary across hard forks.

Constructors

Instances

Re-exports from Cardano.Types.ExUnitPrices

Re-exports from Cardano.Types.ExUnits

Re-exports from Cardano.Types.GeneralTransactionMetadata

Re-exports from Cardano.Types.GenesisHash

Re-exports from Cardano.Types.GovernanceAction

Re-exports from Cardano.Types.GovernanceActionId

Re-exports from Cardano.Types.HardForkInitiationAction

Re-exports from Cardano.Types.Ipv4

Re-exports from Cardano.Types.Ipv6

Re-exports from Cardano.Types.Language

Re-exports from Cardano.Types.Mint

Re-exports from Cardano.Types.MultiAsset

Re-exports from Cardano.Types.NativeScript

Re-exports from Cardano.Types.NetworkId

Re-exports from Cardano.Types.NewConstitutionAction

Re-exports from Cardano.Types.NoConfidenceAction

Re-exports from Cardano.Types.OutputDatum

Re-exports from Cardano.Types.ParameterChangeAction

Re-exports from Cardano.Types.PaymentCredential

Re-exports from Cardano.Types.PaymentPubKeyHash

Re-exports from Cardano.Types.PlutusData

Re-exports from Cardano.Types.PlutusScript

Re-exports from Cardano.Types.PointerAddress

Re-exports from Cardano.Types.PoolMetadata

Re-exports from Cardano.Types.PoolMetadataHash

Re-exports from Cardano.Types.PoolParams

#PoolParams

newtype PoolParams

Constructors

Instances

Re-exports from Cardano.Types.PoolPubKeyHash

Re-exports from Cardano.Types.PoolVotingThresholds

Re-exports from Cardano.Types.PrivateKey

Re-exports from Cardano.Types.ProtocolParamUpdate

#ProtocolParamUpdate

newtype ProtocolParamUpdate

Constructors

Instances

Re-exports from Cardano.Types.ProtocolVersion

Re-exports from Cardano.Types.PublicKey

Re-exports from Cardano.Types.RawBytes

Re-exports from Cardano.Types.Redeemer

Re-exports from Cardano.Types.RedeemerDatum

Re-exports from Cardano.Types.RedeemerTag

Re-exports from Cardano.Types.Relay

#Relay

data Relay

Constructors

Instances

Re-exports from Cardano.Types.RewardAddress

#RewardAddress

type RewardAddress = { networkId :: NetworkId, stakeCredential :: StakeCredential }

Re-exports from Cardano.Types.ScriptDataHash

Re-exports from Cardano.Types.ScriptHash

Re-exports from Cardano.Types.ScriptRef

Re-exports from Cardano.Types.Slot

Re-exports from Cardano.Types.StakeCredential

Re-exports from Cardano.Types.StakePubKeyHash

Re-exports from Cardano.Types.Transaction

Re-exports from Cardano.Types.TransactionBody

#TransactionBody

newtype TransactionBody

Constructors

Instances

Re-exports from Cardano.Types.TransactionHash

Re-exports from Cardano.Types.TransactionInput

Re-exports from Cardano.Types.TransactionMetadatum

Re-exports from Cardano.Types.TransactionOutput

Re-exports from Cardano.Types.TransactionUnspentOutput

Re-exports from Cardano.Types.TransactionWitnessSet

Re-exports from Cardano.Types.TreasuryWithdrawalsAction

Re-exports from Cardano.Types.URL

Re-exports from Cardano.Types.UnitInterval

Re-exports from Cardano.Types.UpdateCommitteeAction

Re-exports from Cardano.Types.UtxoMap

Re-exports from Cardano.Types.VRFKeyHash

Re-exports from Cardano.Types.Value

#Value

data Value

In Plutus, Ada is is stored inside the map (with currency symbol and token name being empty bytestrings). cardano-serialization-lib makes semantic distinction between native tokens and Ada, and we follow this convention.

Constructors

Instances

Re-exports from Cardano.Types.Vkey

Re-exports from Cardano.Types.Vkeywitness

Re-exports from Cardano.Types.Vote

Re-exports from Cardano.Types.Voter

Re-exports from Cardano.Types.VotingProcedure

Re-exports from Cardano.Types.VotingProcedures

Re-exports from Cardano.Types.VotingProposal

Modules