pub trait Kernel: ActorOps + BlockOps + CircSupplyOps + CryptoOps + DebugOps + GasOps + MessageOps + NetworkOps + RandomnessOps + SelfOps + SendOps + 'static {
    type CallManager: CallManager;

    fn into_call_manager(self) -> Self::CallManager
    where
        Self: Sized
; fn new(
        mgr: Self::CallManager,
        caller: ActorID,
        actor_id: ActorID,
        method: MethodNum,
        value_received: TokenAmount
    ) -> Self
    where
        Self: Sized
; }
Expand description

The “kernel” implements

Required Associated Types

Required Methods

Consume the Kernel and return the underlying CallManager.

Construct a new Kernel from the given CallManager.

  • caller is the ID of the immediate caller.
  • actor_id is the ID of this actor.
  • method is the method that has been invoked.
  • value_received is value received due to the current call.

Implementors