Skip to main content

PaymentDistributor

Trait PaymentDistributor 

Source
pub trait PaymentDistributor {
    // Required method
    fn distribute_payments<'info>(
        &self,
        thread_account: &AccountInfo<'info>,
        executor: &AccountInfo<'info>,
        admin: &AccountInfo<'info>,
        payments: &PaymentDetails,
    ) -> Result<()>;
}
Expand description

Trait for distributing payments

Required Methods§

Source

fn distribute_payments<'info>( &self, thread_account: &AccountInfo<'info>, executor: &AccountInfo<'info>, admin: &AccountInfo<'info>, payments: &PaymentDetails, ) -> Result<()>

Implementors§