cardano-ledger-shelley-0.1.0.0
Safe Haskell None
Language Haskell2010

Cardano.Ledger.Shelley.TxBody

Synopsis

Documentation

data DCert crypto Source #

A heavyweight certificate.

Instances

Instances details
Crypto era ~ crypto => HasField "certs" ( TxBody era) ( StrictSeq ( DCert crypto)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Eq ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( DCert crypto) :: Type -> Type Source #

Methods

from :: DCert crypto -> Rep ( DCert crypto) x Source #

to :: Rep ( DCert crypto) x -> DCert crypto Source #

NFData ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: DCert crypto -> () Source #

Crypto crypto => ToCBOR ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBOR ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( DCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data DelegCert crypto Source #

Constructors

RegKey !( StakeCredential crypto)

A stake key registration certificate.

DeRegKey !( StakeCredential crypto)

A stake key deregistration certificate.

Delegate !( Delegation crypto)

A stake delegation certificate.

Instances

Instances details
Eq ( DelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( DelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( DelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( DelegCert crypto) :: Type -> Type Source #

NFData ( DelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: DelegCert crypto -> () Source #

NoThunks ( DelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( DelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data Delegation crypto Source #

The delegation of one stake key to another.

Instances

Instances details
Eq ( Delegation crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( Delegation crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( Delegation crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( Delegation crypto) :: Type -> Type Source #

NFData ( Delegation crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: Delegation crypto -> () Source #

NoThunks ( Delegation crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( Delegation crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( Delegation crypto) = D1 (' MetaData "Delegation" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' False ) ( C1 (' MetaCons "Delegation" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_delegator") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( StakeCredential crypto)) :*: S1 (' MetaSel (' Just "_delegatee") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( KeyHash ' StakePool crypto))))

data GenesisDelegCert crypto Source #

Genesis key delegation certificate

Constructors

GenesisDelegCert !( KeyHash ' Genesis crypto) !( KeyHash ' GenesisDelegate crypto) !( Hash crypto ( VerKeyVRF crypto))

Instances

Instances details
Eq ( GenesisDelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( GenesisDelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( GenesisDelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( GenesisDelegCert crypto) :: Type -> Type Source #

NFData ( GenesisDelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( GenesisDelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( GenesisDelegCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data MIRCert crypto Source #

Move instantaneous rewards certificate

Instances

Instances details
Eq ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( MIRCert crypto) :: Type -> Type Source #

NFData ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: MIRCert crypto -> () Source #

Crypto crypto => ToCBOR ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBOR ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( MIRCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( MIRCert crypto) = D1 (' MetaData "MIRCert" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' False ) ( C1 (' MetaCons "MIRCert" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "mirPot") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 MIRPot ) :*: S1 (' MetaSel (' Just "mirRewards") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( MIRTarget crypto))))

data MIRPot Source #

Instances

Instances details
Bounded MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Enum MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Eq MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Ord MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NFData MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

ToCBOR MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

FromCBOR MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep MIRPot Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep MIRPot = D1 (' MetaData "MIRPot" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' False ) ( C1 (' MetaCons "ReservesMIR" ' PrefixI ' False ) ( U1 :: Type -> Type ) :+: C1 (' MetaCons "TreasuryMIR" ' PrefixI ' False ) ( U1 :: Type -> Type ))

data MIRTarget crypto Source #

MIRTarget specifies if funds from either the reserves or the treasury are to be handed out to a collection of reward accounts or instead transfered to the opposite pot.

Instances

Instances details
Eq ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( MIRTarget crypto) :: Type -> Type Source #

NFData ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: MIRTarget crypto -> () Source #

Crypto crypto => ToCBOR ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBOR ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( MIRTarget crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data PoolCert crypto Source #

Constructors

RegPool !( PoolParams crypto)

A stake pool registration certificate.

RetirePool !( KeyHash ' StakePool crypto) ! EpochNo

A stake pool retirement certificate.

Instances

Instances details
Eq ( PoolCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( PoolCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( PoolCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( PoolCert crypto) :: Type -> Type Source #

NFData ( PoolCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: PoolCert crypto -> () Source #

NoThunks ( PoolCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( PoolCert crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data PoolMetadata Source #

Instances

Instances details
Eq PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Ord PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NFData PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

ToJSON PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

FromJSON PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

ToCBOR PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

FromCBOR PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep PoolMetadata Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep PoolMetadata = D1 (' MetaData "PoolMetadata" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' False ) ( C1 (' MetaCons "PoolMetadata" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "_poolMDUrl") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Url ) :*: S1 (' MetaSel (' Just "_poolMDHash") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ByteString )))

data PoolParams crypto Source #

A stake pool.

Instances

Instances details
Eq ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Ord ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( PoolParams crypto) :: Type -> Type Source #

NFData ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: PoolParams crypto -> () Source #

Crypto crypto => ToJSON ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromJSON ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => ToCBOR ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBOR ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => ToCBORGroup ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBORGroup ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => Default ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

NoThunks ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( PoolParams crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data Ptr Source #

Pointer to a slot number, transaction index and an index in certificate list.

Instances

Instances details
Eq Ptr
Instance details

Defined in Cardano.Ledger.Credential

Ord Ptr
Instance details

Defined in Cardano.Ledger.Credential

Show Ptr
Instance details

Defined in Cardano.Ledger.Credential

Generic Ptr
Instance details

Defined in Cardano.Ledger.Credential

Associated Types

type Rep Ptr :: Type -> Type Source #

NFData Ptr
Instance details

Defined in Cardano.Ledger.Credential

Methods

rnf :: Ptr -> () Source #

ToCBOR Ptr
Instance details

Defined in Cardano.Ledger.Credential

FromCBOR Ptr
Instance details

Defined in Cardano.Ledger.Credential

ToCBORGroup Ptr
Instance details

Defined in Cardano.Ledger.Credential

FromCBORGroup Ptr
Instance details

Defined in Cardano.Ledger.Credential

NoThunks Ptr
Instance details

Defined in Cardano.Ledger.Credential

type Rep Ptr
Instance details

Defined in Cardano.Ledger.Credential

data RewardAcnt crypto Source #

An account based address for rewards

Instances

Instances details
Eq ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Ord ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Show ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Generic ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Associated Types

type Rep ( RewardAcnt crypto) :: Type -> Type Source #

NFData ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Methods

rnf :: RewardAcnt crypto -> () Source #

Crypto crypto => ToJSON ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Crypto crypto => ToJSONKey ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Crypto crypto => FromJSON ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Crypto crypto => FromJSONKey ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Crypto crypto => ToCBOR ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Crypto crypto => FromCBOR ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

Crypto crypto => Default ( RewardAcnt crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.RewardProvenance

NoThunks ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

type Rep ( RewardAcnt crypto)
Instance details

Defined in Cardano.Ledger.Address

type Rep ( RewardAcnt crypto) = D1 (' MetaData "RewardAcnt" "Cardano.Ledger.Address" "cardano-ledger-core-0.1.0.0-3EJt5rxsPizAWHDEqGPh9V" ' False ) ( C1 (' MetaCons "RewardAcnt" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "getRwdNetwork") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 Network ) :*: S1 (' MetaSel (' Just "getRwdCred") ' NoSourceUnpackedness ' SourceStrict ' DecidedStrict ) ( Rec0 ( Credential ' Staking crypto))))

newtype StakeCreds crypto Source #

Instances

Instances details
Eq ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( StakeCreds crypto) :: Type -> Type Source #

NFData ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: StakeCreds crypto -> () Source #

Crypto crypto => ToJSON ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromJSON ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => ToCBOR ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBOR ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

HasExp ( StakeCreds era) ( Map ( Credential ' Staking era) SlotNo ) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Embed ( StakeCreds era) ( Map ( Credential ' Staking era) SlotNo ) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( StakeCreds crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( StakeCreds crypto) = D1 (' MetaData "StakeCreds" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' True ) ( C1 (' MetaCons "StakeCreds" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unStakeCreds") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Map ( Credential ' Staking crypto) SlotNo ))))

data StakePoolRelay Source #

Instances

Instances details
Eq StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Ord StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NFData StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

ToJSON StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

FromJSON StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

ToCBOR StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

FromCBOR StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep StakePoolRelay Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

newtype TxBody era Source #

Instances

Instances details
HasField "ttl" ( TxBody era) SlotNo Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

HasField "txfee" ( TxBody era) Coin Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto era ~ crypto => HasField "adHash" ( TxBody era) ( StrictMaybe ( AuxiliaryDataHash crypto)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto era ~ crypto => HasField "certs" ( TxBody era) ( StrictSeq ( DCert crypto)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto era ~ crypto => HasField "inputs" ( TxBody era) ( Set ( TxIn crypto)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

c ~ Crypto era => HasField "minted" ( TxBody era) ( Set ( ScriptHash c)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

TxOut era ~ out => HasField "outputs" ( TxBody era) ( StrictSeq out) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

c ~ Crypto era => HasField "txinputs_fee" ( TxBody era) ( Set ( TxIn c)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

HasField "update" ( TxBody era) ( StrictMaybe ( Update era)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto era ~ crypto => HasField "wdrls" ( TxBody era) ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, TransTxBody Eq era) => Eq ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, TransTxBody Show era) => Show ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( TxBody era) :: Type -> Type Source #

( NFData ( TxOut era), Crypto ( Crypto era), NFData ( PParamsDelta era)) => NFData ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: TxBody era -> () Source #

Era era => ToCBOR ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, FromCBOR ( TxOut era), FromCBOR ( PParamsDelta era), ToCBOR ( PParamsDelta era)) => FromCBOR ( Annotator ( TxBody era)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

SafeToHash ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( TransTxBody NoThunks era, Typeable era) => NoThunks ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, c ~ Crypto era) => HashAnnotated ( TxBody era) EraIndependentTxBody c Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( TxBody era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( TxBody era) = D1 (' MetaData "TxBody" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' True ) ( C1 (' MetaCons "TxBodyConstr" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( MemoBytes ( TxBodyRaw era)))))

data TxBodyRaw era Source #

Instances

Instances details
( Era era, TransTxBody Eq era) => Eq ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, TransTxBody Show era) => Show ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( TxBodyRaw era) :: Type -> Type Source #

( NFData ( TxOut era), Crypto ( Crypto era), NFData ( PParamsDelta era)) => NFData ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: TxBodyRaw era -> () Source #

( Era era, FromCBOR ( PParamsDelta era), TransTxBody ToCBOR era) => ToCBOR ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( TransTxBody FromCBOR era, ToCBOR ( PParamsDelta era), Era era) => FromCBOR ( Annotator ( TxBodyRaw era)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( FromCBOR ( TxOut era), Era era, FromCBOR ( PParamsDelta era), ToCBOR ( PParamsDelta era)) => FromCBOR ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

TransTxBody NoThunks era => NoThunks ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( TxBodyRaw era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data TxOut era Source #

The output of a UTxO.

Bundled Patterns

pattern TxOut :: ( Era era, Show ( Value era), Compactible ( Value era)) => Addr ( Crypto era) -> Value era -> TxOut era

Instances

Instances details
( Compactible v, v ~ Value era) => HasField "value" ( TxOut era) v Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

TransTxOut Eq era => Eq ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( TransTxOut Show era, Era era) => Show ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NFData ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: TxOut era -> () Source #

( Era era, TransTxOut ToCBOR era) => ToCBOR ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, TransTxOut DecodeNonNegative era, Show ( Value era)) => FromCBOR ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Era era, TransTxOut DecodeNonNegative era, Show ( Value era)) => FromSharedCBOR ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Share ( TxOut era) Source #

( Crypto ( Crypto era), HeapWords ( CompactForm ( Value era))) => HeapWords ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Share ( TxOut era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

data Url Source #

Instances

Instances details
Eq Url
Instance details

Defined in Cardano.Ledger.BaseTypes

Ord Url
Instance details

Defined in Cardano.Ledger.BaseTypes

Show Url
Instance details

Defined in Cardano.Ledger.BaseTypes

Generic Url
Instance details

Defined in Cardano.Ledger.BaseTypes

Associated Types

type Rep Url :: Type -> Type Source #

NFData Url
Instance details

Defined in Cardano.Ledger.BaseTypes

Methods

rnf :: Url -> () Source #

ToJSON Url
Instance details

Defined in Cardano.Ledger.BaseTypes

FromJSON Url
Instance details

Defined in Cardano.Ledger.BaseTypes

ToCBOR Url
Instance details

Defined in Cardano.Ledger.BaseTypes

FromCBOR Url
Instance details

Defined in Cardano.Ledger.BaseTypes

NoThunks Url
Instance details

Defined in Cardano.Ledger.BaseTypes

type Rep Url
Instance details

Defined in Cardano.Ledger.BaseTypes

type Rep Url = D1 (' MetaData "Url" "Cardano.Ledger.BaseTypes" "cardano-ledger-core-0.1.0.0-3EJt5rxsPizAWHDEqGPh9V" ' True ) ( C1 (' MetaCons "Url" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "urlToText") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 Text )))

newtype Wdrl crypto Source #

Constructors

Wdrl

Instances

Instances details
Crypto era ~ crypto => HasField "wdrls" ( TxBody era) ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Eq ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Show ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( Wdrl crypto) :: Type -> Type Source #

Methods

from :: Wdrl crypto -> Rep ( Wdrl crypto) x Source #

to :: Rep ( Wdrl crypto) x -> Wdrl crypto Source #

NFData ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: Wdrl crypto -> () Source #

Crypto crypto => ToCBOR ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => FromCBOR ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

NoThunks ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( Wdrl crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( Wdrl crypto) = D1 (' MetaData "Wdrl" "Cardano.Ledger.Shelley.TxBody" "cardano-ledger-shelley-0.1.0.0-4LNBTpyKcsy6EW18a3tTt2" ' True ) ( C1 (' MetaCons "Wdrl" ' PrefixI ' True ) ( S1 (' MetaSel (' Just "unWdrl") ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Map ( RewardAcnt crypto) Coin ))))

data WitVKey kr crypto where Source #

Proof/Witness that a transaction is authorized by the given key holder.

Bundled Patterns

pattern WitVKey :: ( Typeable kr, Crypto crypto) => VKey kr crypto -> SignedDSIGN crypto ( Hash crypto EraIndependentTxBody ) -> WitVKey kr crypto

Instances

Instances details
(c ~ Crypto era, Witnesses era ~ WitnessSet era) => HasField "addrWits" ( WitnessSet era) ( Set ( WitVKey ' Witness c)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Tx

(c ~ Crypto era, Witnesses era ~ WitnessSet era) => HasField "addrWits" ( Tx era) ( Set ( WitVKey ' Witness c)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Tx

( Typeable kr, Crypto crypto) => FromCBOR ( Annotator ( WitVKey kr crypto)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => Eq ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

(==) :: WitVKey kr crypto -> WitVKey kr crypto -> Bool Source #

(/=) :: WitVKey kr crypto -> WitVKey kr crypto -> Bool Source #

( Typeable kr, Crypto crypto) => Ord ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Crypto crypto => Show ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Generic ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Associated Types

type Rep ( WitVKey kr crypto) :: Type -> Type Source #

Methods

from :: WitVKey kr crypto -> Rep ( WitVKey kr crypto) x Source #

to :: Rep ( WitVKey kr crypto) x -> WitVKey kr crypto Source #

NFData ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

Methods

rnf :: WitVKey kr crypto -> () Source #

( Typeable kr, Crypto crypto) => ToCBOR ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

( Crypto crypto, Typeable kr) => NoThunks ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody

type Rep ( WitVKey kr crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.TxBody