Skip to main content

call_bool_opt

Function call_bool_opt 

Source
pub fn call_bool_opt(
    contract: [u8; 20],
    calldata: &[u8],
    value: &U,
    gas: u64,
) -> Option<()>
Expand description

Invoke call, only reading a single byte at the first word for a check. Returns Some if success.