Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
Documentation
data AddrSpendingData Source #
Data which is bound to an address and must be revealed in order to spend lovelace belonging to this address.
VerKeyASD !VerificationKey | Funds can be spent by revealing a |
RedeemASD !RedeemVerificationKey | Funds can be spent by revealing a |
Instances
Type of an address. It corresponds to constructors of AddrSpendingData
.
It's separated, because Address
doesn't store AddrSpendingData
, but we
want to know its type.
Instances
addrSpendingDataToType ∷ AddrSpendingData → AddrType Source #
Convert AddrSpendingData
to the corresponding AddrType