Skip to main content

ProgrammableTransactionExt

Trait ProgrammableTransactionExt 

Source
pub trait ProgrammableTransactionExt: Sized + Sealed {
    // Required methods
    fn input_objects(&self) -> UserInputResult<Vec<InputObjectKind>>;
    fn receiving_objects(&self) -> Vec<ObjectRef>;
    fn validity_check(&self, config: &ProtocolConfig) -> UserInputResult;
    fn shared_input_objects(&self) -> impl Iterator<Item = SharedObjectRef>;
    fn move_calls(&self) -> Vec<(&ObjectId, &str, &str)>;
    fn non_system_packages_to_be_published(
        &self,
    ) -> impl Iterator<Item = &Vec<Vec<u8>>>;
}

Required Methods§

Dyn Compatibility§

This trait is not dyn compatible.

In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.

Implementations on Foreign Types§

Source§

impl ProgrammableTransactionExt for ProgrammableTransaction

Implementors§