Optional authority?: SignerThe account paying for the storage fees
Optional authorityThe token account owned by the authority
Optional backendBackend authorisation signer
Optional bucket?: PublicKey | PdaThe address of the bucket account
Optional bucketThe token account owned by the bucket
The escrow account holding the funds. Should be a PDA, use streamflow_sdk::state::find_escrow_account to derive. Expects empty (non-initialized) account.
Internal program that handles fees for specified partners. If no partner fees are expected on behalf of the program integrating with streamflow, streamflow_treasury can be passed in here. Use constant streamflow_sdk::state::FEE_ORACLE_ADDRESS
Optional feeThe wallet where lock fees are sent
Optional genesisThe address of the genesis account
The account holding the contract parameters. Expects empty (non-initialized) account.
The address of the mint
Partner treasury account. If no partner fees are expected on behalf of the program. integrating with streamflow, streamflow_treasury can be passed in here.
Associated token account address of partner. If no partner fees are expected on behalf of the program integrating with streamflow, streamflow_treasury_tokens can be passed in here.
Wallet address of the recipient
Associated token account address of recipient
Optional rent?: PublicKey | PdaThe rent sysvar
Streamflow treasury account. Use constant streamflow_sdk::state::STRM_TREASURY
Associated token account address of streamflow_treasury
Optional systemThe system program
Streamflow protocol (alias timelock) program account. Use streamflow_sdk:id()
Optional tokenThe SPL Token program
Delegate account for automatically withdrawing contracts. Use constant streamflow_sdk::state::WITHDRAWOR_ADDRESS
Generated using TypeDoc
The Associated Token program