Type alias LockStreamflowV1InstructionAccounts

LockStreamflowV1InstructionAccounts: {
    associatedTokenProgram: PublicKey | Pda;
    authority?: Signer;
    authorityTokenAccount?: PublicKey | Pda;
    backendSigner?: Signer;
    bucket?: PublicKey | Pda;
    bucketTokenAccount?: PublicKey | Pda;
    escrowTokens: PublicKey | Pda;
    feeOracle: PublicKey | Pda;
    feeWallet?: PublicKey | Pda;
    genesisAccount?: PublicKey | Pda;
    metadata: Signer;
    mint: PublicKey | Pda;
    partner: PublicKey | Pda;
    partnerTokens: PublicKey | Pda;
    recipient: PublicKey | Pda;
    recipientTokens: PublicKey | Pda;
    rent?: PublicKey | Pda;
    streamflowTreasury: PublicKey | Pda;
    streamflowTreasuryTokens: PublicKey | Pda;
    systemProgram?: PublicKey | Pda;
    timelockProgram: PublicKey | Pda;
    tokenProgram?: PublicKey | Pda;
    withdrawor: PublicKey | Pda;
}

Type declaration

  • associatedTokenProgram: PublicKey | Pda

    The Associated Token program

  • Optional authority?: Signer

    The account paying for the storage fees

  • Optional authorityTokenAccount?: PublicKey | Pda

    The token account owned by the authority

  • Optional backendSigner?: Signer

    Backend authorisation signer

  • Optional bucket?: PublicKey | Pda

    The address of the bucket account

  • Optional bucketTokenAccount?: PublicKey | Pda

    The token account owned by the bucket

  • escrowTokens: PublicKey | Pda

    The escrow account holding the funds. Should be a PDA, use streamflow_sdk::state::find_escrow_account to derive. Expects empty (non-initialized) account.

  • feeOracle: PublicKey | Pda

    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 feeWallet?: PublicKey | Pda

    The wallet where lock fees are sent

  • Optional genesisAccount?: PublicKey | Pda

    The address of the genesis account

  • metadata: Signer

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

  • mint: PublicKey | Pda

    The address of the mint

  • partner: PublicKey | Pda

    Partner treasury account. If no partner fees are expected on behalf of the program. integrating with streamflow, streamflow_treasury can be passed in here.

  • partnerTokens: PublicKey | Pda

    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.

  • recipient: PublicKey | Pda

    Wallet address of the recipient

  • recipientTokens: PublicKey | Pda

    Associated token account address of recipient

  • Optional rent?: PublicKey | Pda

    The rent sysvar

  • streamflowTreasury: PublicKey | Pda

    Streamflow treasury account. Use constant streamflow_sdk::state::STRM_TREASURY

  • streamflowTreasuryTokens: PublicKey | Pda

    Associated token account address of streamflow_treasury

  • Optional systemProgram?: PublicKey | Pda

    The system program

  • timelockProgram: PublicKey | Pda

    Streamflow protocol (alias timelock) program account. Use streamflow_sdk:id()

  • Optional tokenProgram?: PublicKey | Pda

    The SPL Token program

  • withdrawor: PublicKey | Pda

    Delegate account for automatically withdrawing contracts. Use constant streamflow_sdk::state::WITHDRAWOR_ADDRESS

Generated using TypeDoc