pub trait ExecutableBuiltinTx {
    // Required method
    fn execute(
        &self,
        state_view: &dyn StateView,
        tx: &SignatureCheckedTransaction,
        spec: &Spec
    ) -> Result<Vec<ContractEvent>, VMStatus>;
}

Required Methods§

source

fn execute( &self, state_view: &dyn StateView, tx: &SignatureCheckedTransaction, spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

Implementations on Foreign Types§

source§

impl ExecutableBuiltinTx for PivotBlockDecision

source§

fn execute( &self, state_view: &dyn StateView, tx: &SignatureCheckedTransaction, spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

source§

impl ExecutableBuiltinTx for DisputePayload

source§

fn execute( &self, state_view: &dyn StateView, _tx: &SignatureCheckedTransaction, _spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

source§

impl ExecutableBuiltinTx for ElectionPayload

source§

fn execute( &self, state_view: &dyn StateView, _tx: &SignatureCheckedTransaction, spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

source§

impl ExecutableBuiltinTx for RegisterPayload

source§

fn execute( &self, _state_view: &dyn StateView, _tx: &SignatureCheckedTransaction, _spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

source§

impl ExecutableBuiltinTx for RetirePayload

source§

fn execute( &self, _state_view: &dyn StateView, _tx: &SignatureCheckedTransaction, _spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

source§

impl ExecutableBuiltinTx for UpdateVotingPowerPayload

source§

fn execute( &self, _state_view: &dyn StateView, _tx: &SignatureCheckedTransaction, _spec: &Spec ) -> Result<Vec<ContractEvent>, VMStatus>

Implementors§