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