plutus_script

Macro plutus_script 

Source
macro_rules! plutus_script {
    ($lang:expr, $bytes:literal $(,)?) => { ... };
}
Expand description

Construct a PlutusScript from a PlutusVersion and a base16-encoded flat-serialised program.

See also:

ยงexample

let always_succeed = plutus_script!(PlutusVersion::V3, "5101010023259800a518a4d136564004ae69");