Function prepareOptDepositStakingEscrowIntoAsset

  • Returns a transaction to opt deposit staking escrow into asset so that it can hold a given pool's f asset.

    Returns

    Transaction opt deposit staking escrow into asset transaction

    Parameters

    • depositStakingAppId: number

      deposit staking application of escrow

    • poolManagerAppId: number

      pool manager application

    • userAddr: string

      account address for the user

    • escrowAddr: string

      account address for the deposit staking escrow

    • pool: Pool

      pool to add f asset of

    • stakeIndex: number

      staking program index

    • params: SuggestedParams

      suggested params for the transactions with the fees overwritten

    Returns Transaction

Generated using TypeDoc