Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
Plutarch.Api.V1.Address
Contents
Documentation
data PCredential (s :: S) Source #
Constructors
PPubKeyCredential (Term s (PDataRecord '["_0" := PPubKeyHash])) | |
PScriptCredential (Term s (PDataRecord '["_0" := PScriptHash])) |
Instances
data PStakingCredential (s :: S) Source #
Constructors
PStakingHash (Term s (PDataRecord '["_0" := PCredential])) | |
PStakingPtr (Term s (PDataRecord '["_0" := PInteger, "_1" := PInteger, "_2" := PInteger])) |
Instances
newtype PAddress (s :: S) Source #
Constructors
PAddress (Term s (PDataRecord '["credential" := PCredential, "stakingCredential" := PMaybeData PStakingCredential])) |
Instances
Orphan instances
PConstantDecl Address Source # | |
Methods pconstantToRepr :: Address -> PConstantRepr Address Source # pconstantFromRepr :: PConstantRepr Address -> Maybe Address Source # | |
PConstantDecl Credential Source # | |
Methods pconstantToRepr :: Credential -> PConstantRepr Credential Source # pconstantFromRepr :: PConstantRepr Credential -> Maybe Credential Source # | |
PConstantDecl StakingCredential Source # | |
Associated Types type PConstantRepr StakingCredential Source # type PConstanted StakingCredential :: PType Source # |