Skip to main content

coinbase

Function coinbase 

pub fn coinbase<IT, H>(
    context: InstructionContext<'_, H, IT>,
) -> Result<(), InstructionResult>
where IT: InterpreterTypes, H: Host + ?Sized,
Expand description

Implements the COINBASE instruction.

Pushes the current block’s beneficiary address onto the stack.