pub struct CreateAccounts<'a> {
Show 16 fields pub sender: AccountInfo<'a>, pub sender_tokens: AccountInfo<'a>, pub recipient: AccountInfo<'a>, pub recipient_tokens: AccountInfo<'a>, pub metadata: AccountInfo<'a>, pub escrow_tokens: AccountInfo<'a>, pub streamflow_treasury: AccountInfo<'a>, pub streamflow_treasury_tokens: AccountInfo<'a>, pub partner: AccountInfo<'a>, pub partner_tokens: AccountInfo<'a>, pub mint: AccountInfo<'a>, pub fee_oracle: AccountInfo<'a>, pub rent: AccountInfo<'a>, pub token_program: AccountInfo<'a>, pub associated_token_program: AccountInfo<'a>, pub system_program: AccountInfo<'a>,
}

Fields

sender: AccountInfo<'a>

Wallet of the stream creator.

sender_tokens: AccountInfo<'a>

Associated token account address of sender.

recipient: AccountInfo<'a>

Wallet address of the recipient.

recipient_tokens: AccountInfo<'a>

Associated token account address of recipient.

metadata: AccountInfo<'a>

The account holding the stream parameters. Expects empty (non-initialized) account.

escrow_tokens: AccountInfo<'a>

The escrow account holding the funds. Expects a non-initialized account.

streamflow_treasury: AccountInfo<'a>

Streamflow treasury account

streamflow_treasury_tokens: AccountInfo<'a>

Streamflow treasury’s associated token account

partner: AccountInfo<'a>

Partner treasury account

partner_tokens: AccountInfo<'a>

Partner’s associated token account

mint: AccountInfo<'a>

The SPL token mint account

fee_oracle: AccountInfo<'a>

Internal program that handles fees for specified partners

rent: AccountInfo<'a>

The Rent Sysvar account

token_program: AccountInfo<'a>

The SPL program needed in case an associated account for the new recipient is being created.

associated_token_program: AccountInfo<'a>

The Associated Token program needed in case associated account for the new recipient is being created.

system_program: AccountInfo<'a>

The Solana system program needed for account creation

Trait Implementations

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

Formats the value using the given formatter. Read more

Auto Trait Implementations

Blanket Implementations

Gets the TypeId of self. Read more

Immutably borrows from an owned value. Read more

Mutably borrows from an owned value. Read more

Performs the conversion.

Performs the conversion.

Should always be Self

The resulting type after obtaining ownership.

Creates owned data from borrowed data, usually by cloning. Read more

🔬 This is a nightly-only experimental API. (toowned_clone_into)

Uses borrowed data to replace owned data, usually by cloning. Read more

The type returned in the event of a conversion error.

Performs the conversion.

The type returned in the event of a conversion error.

Performs the conversion.