pub struct PlutusScriptSource(_);Implementations§
source§impl PlutusScriptSource
impl PlutusScriptSource
pub fn new(script: &PlutusScript) -> Self
sourcepub fn new_ref_input(script_hash: &ScriptHash, input: &TransactionInput) -> Self
👎Deprecated since 11.3.0: This constructor has missed information about plutus script language vesrion. That can affect the script data hash calculation. Use .new_ref_input_with_lang_ver instead.
pub fn new_ref_input(script_hash: &ScriptHash, input: &TransactionInput) -> Self
.new_ref_input_with_lang_ver instead.!!! DEPRECATED !!!
This constructor has missed information about plutus script language vesrion. That can affect
the script data hash calculation.
Use .new_ref_input_with_lang_ver instead
pub fn new_ref_input_with_lang_ver(
script_hash: &ScriptHash,
input: &TransactionInput,
lang_ver: &Language
) -> Self
Trait Implementations§
source§impl Clone for PlutusScriptSource
impl Clone for PlutusScriptSource
source§fn clone(&self) -> PlutusScriptSource
fn clone(&self) -> PlutusScriptSource
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moresource§impl Debug for PlutusScriptSource
impl Debug for PlutusScriptSource
source§impl Ord for PlutusScriptSource
impl Ord for PlutusScriptSource
source§fn cmp(&self, other: &PlutusScriptSource) -> Ordering
fn cmp(&self, other: &PlutusScriptSource) -> Ordering
1.21.0 · source§fn max(self, other: Self) -> Selfwhere
Self: Sized,
fn max(self, other: Self) -> Selfwhere
Self: Sized,
Compares and returns the maximum of two values. Read more
source§impl PartialEq<PlutusScriptSource> for PlutusScriptSource
impl PartialEq<PlutusScriptSource> for PlutusScriptSource
source§fn eq(&self, other: &PlutusScriptSource) -> bool
fn eq(&self, other: &PlutusScriptSource) -> bool
This method tests for
self and other values to be equal, and is used
by ==.source§impl PartialOrd<PlutusScriptSource> for PlutusScriptSource
impl PartialOrd<PlutusScriptSource> for PlutusScriptSource
source§fn partial_cmp(&self, other: &PlutusScriptSource) -> Option<Ordering>
fn partial_cmp(&self, other: &PlutusScriptSource) -> Option<Ordering>
1.0.0 · source§fn le(&self, other: &Rhs) -> bool
fn le(&self, other: &Rhs) -> bool
This method tests less than or equal to (for
self and other) and is used by the <=
operator. Read more