Skip to main content

mutate

Function mutate 

Source
pub(crate) fn mutate<T: SolCall>(
    call: T,
    sender: Address,
    f: impl FnOnce(Address, T) -> Result<T::Return>,
) -> PrecompileResult
Expand description

Dispatches a state-mutating call that returns ABI-encoded data.

Rejects static calls with StaticCallNotAllowed.