Function casper_contract::contract_api::runtime::get_named_arg[][src]

pub fn get_named_arg<T: FromBytes>(name: &str) -> T
Expand description

Returns given named argument passed to the host for the current module invocation.

Note that this is only relevant to contracts stored on-chain since a contract deployed directly is not invoked with any arguments.