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

Cardano.Ledger.Shelley.Scripts

Documentation

data MultiSig crypto where Source #

Bundled Patterns

pattern RequireAllOf :: Crypto crypto => [ MultiSig crypto] -> MultiSig crypto
pattern RequireAnyOf :: Crypto crypto => [ MultiSig crypto] -> MultiSig crypto
pattern RequireSignature :: Crypto crypto => KeyHash ' Witness crypto -> MultiSig crypto
pattern RequireMOf :: Crypto crypto => Int -> [ MultiSig crypto] -> MultiSig crypto

Instances

Instances details
Eq ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Ord ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Show ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Generic ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Associated Types

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

NFData ( MultiSig era) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Methods

rnf :: MultiSig era -> () Source #

Typeable crypto => ToCBOR ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Crypto crypto => FromCBOR ( Annotator ( MultiSig crypto)) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

SafeToHash ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

Typeable crypto => NoThunks ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

type Rep ( MultiSig crypto) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Scripts

type Rep ( MultiSig crypto)

newtype ScriptHash crypto Source #

Instances

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

Defined in Cardano.Ledger.Shelley.TxBody

(c ~ Crypto era, script ~ Script era, Witnesses era ~ WitnessSet era) => HasField "scriptWits" ( WitnessSet era) ( Map ( ScriptHash c) script) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Tx

(c ~ Crypto era, script ~ Script era, Witnesses era ~ WitnessSet era) => HasField "scriptWits" ( Tx era) ( Map ( ScriptHash c) script) Source #
Instance details

Defined in Cardano.Ledger.Shelley.Tx

Eq ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Ord ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Show ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Generic ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Associated Types

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

NFData ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Methods

rnf :: ScriptHash crypto -> () Source #

Crypto crypto => ToJSON ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Crypto crypto => FromJSON ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Crypto crypto => ToCBOR ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

Crypto crypto => FromCBOR ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

NoThunks ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

type Rep ( ScriptHash crypto)
Instance details

Defined in Cardano.Ledger.Hashes

type Rep ( ScriptHash crypto) = D1 (' MetaData "ScriptHash" "Cardano.Ledger.Hashes" "cardano-ledger-core-0.1.0.0-3EJt5rxsPizAWHDEqGPh9V" ' True ) ( C1 (' MetaCons "ScriptHash" ' PrefixI ' False ) ( S1 (' MetaSel (' Nothing :: Maybe Symbol ) ' NoSourceUnpackedness ' NoSourceStrictness ' DecidedLazy ) ( Rec0 ( Hash ( ADDRHASH crypto) EraIndependentScript ))))