FiberInstructionProcessor

Trait FiberInstructionProcessor 

Source
pub trait FiberInstructionProcessor {
    // Required method
    fn get_instruction(&self, executor: &Pubkey) -> Result<Instruction>;
}
Expand description

Trait for processing fiber instructions

Required Methods§

Source

fn get_instruction(&self, executor: &Pubkey) -> Result<Instruction>

Get the decompiled instruction from the fiber’s compiled data, replacing PAYER_PUBKEY with the provided executor

Implementors§