Macro plutus_script

Source
macro_rules! plutus_script {
    ($ps:expr $(,$args:expr)*) => { ... };
    (@inner, $ps:expr) => { ... };
    (@inner, $ps:expr, $arg:expr $(,$args:expr)*) => { ... };
}
Expand description

Applies arguments to a Plutus script. The first argument is the script, the rest of the arguments are the datums that will be applied.

Example:

plutus_script![SOME_SCRIPT, genesis_utxo, plutus::Datum::ListDatum(Vec::new())]