Function prepareOptDepositEscrowIntoAssetInDeposits
- prepareOptDepositEscrowIntoAssetInDeposits(
depositsAppId: number,
poolManagerAppId: number,
userAddr: string,
escrowAddr: string,
pool: Pool,
params: SuggestedParams,
): Transaction Parameters
- depositsAppId: number
deposits application of escrow
- poolManagerAppId: number
pool manager application
- userAddr: string
account address for the user
- escrowAddr: string
account address for the deposit escrow
- pool: Pool
pool to add f asset of
- params: SuggestedParams
suggested params for the transactions with the fees overwritten
Returns Transaction
Transaction opt deposit escrow into asset transaction
- depositsAppId: number
Returns a transaction to opt deposits escrow into asset so that it can hold a given pool's f asset.