pub trait FeeAccount {
// Required methods
fn new(&mut self, authority: Pubkey) -> Result<()>;
fn claim_admin_balance(
&mut self,
amount: u64,
pay_to: &mut SystemAccount<'_>,
) -> Result<()>;
fn claim_worker_balance(
&mut self,
amount: u64,
pay_to: &mut SystemAccount<'_>,
) -> Result<()>;
fn pay_to_admin(&mut self, request: &mut Account<'_, Request>) -> Result<()>;
fn pay_to_worker(
&mut self,
request: &mut Account<'_, Request>,
) -> Result<()>;
}Expand description
FeeAccount