plutus_ledger_api::csl::csl_to_pla

Trait FromCSL

Source
pub trait FromCSL<T> {
    // Required method
    fn from_csl(value: &T) -> Self
       where Self: Sized;
}
Expand description

Convert a cardano-serialization-lib type to its plutus-ledger-api counterpart

Required Methods§

Source

fn from_csl(value: &T) -> Self
where Self: Sized,

Implementations on Foreign Types§

Source§

impl FromCSL<u32> for BigInt

Source§

fn from_csl(value: &u32) -> Self

Source§

impl FromCSL<Assets> for BTreeMap<TokenName, BigInt>

Source§

fn from_csl(value: &Assets) -> Self

Source§

impl FromCSL<BigNum> for BigInt

Source§

fn from_csl(value: &BigNum) -> Self

Source§

impl FromCSL<Ed25519KeyHashes> for Vec<Ed25519PubKeyHash>

Source§

fn from_csl(value: &RequiredSigners) -> Self

Source§

impl FromCSL<Int> for BigInt

Source§

fn from_csl(value: &Int) -> Self

Source§

impl FromCSL<MintAssets> for BTreeMap<TokenName, BigInt>

Source§

fn from_csl(m_ass: &MintAssets) -> Self

Source§

impl FromCSL<MintsAssets> for BTreeMap<TokenName, BigInt>

Source§

fn from_csl(value: &MintsAssets) -> Self

Source§

impl FromCSL<TransactionInputs> for Vec<TransactionInput>

Source§

fn from_csl(value: &TransactionInputs) -> Self

Source§

impl FromCSL<TransactionInputs> for Vec<TransactionInput>

Source§

fn from_csl(value: &TransactionInputs) -> Self

Implementors§

Source§

impl FromCSL<AssetName> for TokenName

Source§

impl FromCSL<BigNum> for CertificateIndex

Source§

impl FromCSL<BigNum> for Slot

Source§

impl FromCSL<BigNum> for TransactionIndex

Source§

impl FromCSL<Credential> for Credential

Source§

impl FromCSL<Credential> for StakingCredential

Source§

impl FromCSL<DataHash> for DatumHash

Source§

impl FromCSL<Ed25519KeyHash> for Ed25519PubKeyHash

Source§

impl FromCSL<Mint> for Value

Source§

impl FromCSL<MultiAsset> for Value

Source§

impl FromCSL<Pointer> for StakingCredential

Source§

impl FromCSL<Pointer> for ChainPointer

Source§

impl FromCSL<ScriptHash> for MintingPolicyHash

Source§

impl FromCSL<ScriptHash> for ScriptHash

Source§

impl FromCSL<ScriptHash> for ValidatorHash

Source§

impl FromCSL<TransactionHash> for plutus_ledger_api::v1::transaction::TransactionHash

Source§

impl FromCSL<TransactionHash> for plutus_ledger_api::v3::transaction::TransactionHash

Source§

impl FromCSL<TransactionInput> for plutus_ledger_api::v1::transaction::TransactionInput

Source§

impl FromCSL<TransactionInput> for plutus_ledger_api::v3::transaction::TransactionInput

Source§

impl FromCSL<Value> for Value