Base Argument object for methods.

interface AddLiquidityArgs {
    amount1Desired: string | number;
    amount1Min: string | number;
    amount2Desired: string | number;
    amount2Min: string | number;
    asset1: AnyJson;
    asset2: AnyJson;
    mintTo: string;
}

Hierarchy (view full)

  • Args
    • AddLiquidityArgs

Properties

amount1Desired: string | number

Amount of the first asset willing to provide the liquidity pool with.

amount1Min: string | number

Minimum amount of the first asset willing to provide the liquidity pool with.

amount2Desired: string | number

Amount of the second asset willing to provide the liquidity pool with.

amount2Min: string | number

Minimum amount of the second asset willing to provide the liquidity pool with.

asset1: AnyJson

The identifier of the first asset of the pool.

asset2: AnyJson

The identifier of the second asset of the pool.

mintTo: string

Recipient of the liquidity tokens that represent this share of the pool.