Skip to main content

delegate_call_slice_opt

Function delegate_call_slice_opt 

Source
pub fn delegate_call_slice_opt<const DATA_CAP: usize>(
    contract: [u8; 20],
    calldata: &[u8],
    gas: u64,
    offset: usize,
) -> Option<(usize, [u8; DATA_CAP])>
Expand description

Same as the other slice function, though returning Option if error.