pub struct ExecutePublicAutomation {Show 15 fields
pub authority: Address,
pub satrush_config: Address,
pub board: Address,
pub round: Address,
pub public_automation: Address,
pub usd_mint: Address,
pub automation_usd_ata: Address,
pub board_usd_ata: Address,
pub public_deployment: Address,
pub miner: Address,
pub slot_hashes: Address,
pub token_program: Address,
pub system_program: Address,
pub event_authority: Address,
pub program: Address,
}Expand description
Accounts.
Fields§
The crank (round authority); pays the deployment rent, recovered at settle.
satrush_config: Address§board: Address§round: AddressRound the automation deploys into. Must be the board’s current round.
public_automation: AddressThe automation being executed; its authority field keys the
deployment and miner PDAs below. A regular Account (boxed): its fields
feed seeds, which LazyAccount cannot do.
usd_mint: Address§automation_usd_ata: AddressThe automation’s escrow the deploy is funded from.
board_usd_ata: AddressBoard’s USD deposit pool.
public_deployment: AddressPer-(user, round) deployment record. Init fails if the user already deployed into this round (manually or via this automation).
miner: AddressThe user’s miner profile; guaranteed to exist by
create_public_automation, so no init_if_needed here (stack + rent).
slot_hashes: Addressbecause the sysvar is too large to deserialize. Feeds Random-strategy mask generation only, but is always passed (cheap).
token_program: Address§system_program: Address§program: AddressImplementations§
Source§impl ExecutePublicAutomation
impl ExecutePublicAutomation
pub fn instruction( &self, args: ExecutePublicAutomationInstructionArgs, ) -> Instruction
pub fn instruction_with_remaining_accounts( &self, args: ExecutePublicAutomationInstructionArgs, remaining_accounts: &[AccountMeta], ) -> Instruction
Trait Implementations§
Auto Trait Implementations§
impl Freeze for ExecutePublicAutomation
impl RefUnwindSafe for ExecutePublicAutomation
impl Send for ExecutePublicAutomation
impl Sync for ExecutePublicAutomation
impl Unpin for ExecutePublicAutomation
impl UnsafeUnpin for ExecutePublicAutomation
impl UnwindSafe for ExecutePublicAutomation
Blanket Implementations§
Source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
Source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
impl<ST, DT> CastableFrom<ST, Initialized, Initialized> for DT
impl<ST, DT> CastableFrom<ST, Uninit, Uninit> for DT
Source§impl<T> Instrument for T
impl<T> Instrument for T
Source§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
Source§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left is true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
self into a Left variant of Either<Self, Self>
if into_left(&self) returns true.
Converts self into a Right variant of Either<Self, Self>
otherwise. Read more