Skip to main content

call_word

Function call_word 

Source
pub fn call_word(
    contract: [u8; 20],
    calldata: &[u8],
    value: &U,
    gas: u64,
    offset: usize,
) -> (bool, U)
Expand description

Call a contract, returning a word of the returndata/revertdata. Complains if the other party does not write exactly a word, regardless of the reason!