[][src]Function casperlabs_contract::contract_api::runtime::get_arg

pub fn get_arg<T: FromBytes>(i: u32) -> Option<Result<T, Error>>

Returns the i-th 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.