Skip to main content

static_call_word

Function static_call_word 

Source
pub fn static_call_word(
    contract: [u8; 20],
    calldata: &[u8],
    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!