Copyright | (c) 2023 GYELD GMBH |
---|---|
License | Apache 2.0 |
Maintainer | [email protected] |
Stability | develop |
Safe Haskell | Safe-Inferred |
Language | GHC2021 |
Synopsis
- data GYPaymentCredential
- paymentCredentialToApi ∷ GYPaymentCredential → PaymentCredential
- paymentCredentialFromApi ∷ PaymentCredential → GYPaymentCredential
- paymentCredentialToLedger ∷ GYPaymentCredential → Credential Payment StandardCrypto
- paymentCredentialFromLedger ∷ Credential Payment StandardCrypto → GYPaymentCredential
- paymentCredentialToPlutus ∷ GYPaymentCredential → Credential
- paymentCredentialToHexText ∷ GYPaymentCredential → Text
- paymentCredentialToBech32 ∷ GYPaymentCredential → Text
- data GYStakeCredential
- stakeCredentialToApi ∷ GYStakeCredential → StakeCredential
- stakeCredentialFromApi ∷ StakeCredential → GYStakeCredential
- stakeCredentialToLedger ∷ GYStakeCredential → Credential Staking StandardCrypto
- stakeCredentialFromLedger ∷ Credential Staking StandardCrypto → GYStakeCredential
- stakeCredentialToPlutus ∷ GYStakeCredential → Credential
- stakeCredentialToHexText ∷ GYStakeCredential → Text
Payment credential.
data GYPaymentCredential #
Payment credential.
Instances
paymentCredentialToApi ∷ GYPaymentCredential → PaymentCredential #
Convert GY
type to corresponding type in cardano-node
library.
paymentCredentialFromApi ∷ PaymentCredential → GYPaymentCredential #
Get GY
type from corresponding type in cardano-node
library.
paymentCredentialToLedger ∷ GYPaymentCredential → Credential Payment StandardCrypto #
Convert to corresponding ledger representation.
paymentCredentialToPlutus ∷ GYPaymentCredential → Credential #
Convert GY
type to corresponding type in plutus
library.
paymentCredentialToHexText ∷ GYPaymentCredential → Text #
Get hexadecimal value of payment credential.
paymentCredentialToBech32 ∷ GYPaymentCredential → Text #
Get the bech32 encoding for the given credential.
Stake credential.
data GYStakeCredential #
Stake credential.
Instances
stakeCredentialToApi ∷ GYStakeCredential → StakeCredential #
Convert GY
type to corresponding type in cardano-api
library.
stakeCredentialFromApi ∷ StakeCredential → GYStakeCredential #
Get GY
type from corresponding type in cardano-api
library.
stakeCredentialToLedger ∷ GYStakeCredential → Credential Staking StandardCrypto #
Convert to corresponding ledger type.
stakeCredentialFromLedger ∷ Credential Staking StandardCrypto → GYStakeCredential #
Convert from corresponding ledger type.
stakeCredentialToPlutus ∷ GYStakeCredential → Credential #
Convert GY
type to corresponding type in plutus
library.
stakeCredentialToHexText ∷ GYStakeCredential → Text #
Get hexadecimal value of stake credential.