Function exchange
pub fn exchange<WIRE, H>(context: InstructionContext<'_, H, WIRE>)where
WIRE: InterpreterTypes,
H: ?Sized,Available on crate feature
evm only.Expand description
Implements the EXCHANGE instruction.
Swaps the N+1th stack item with the M+1th stack item, with N, M given by an immediate.