AddLiquidityData

Git Source

struct AddLiquidityData {
    uint256 amount0Max;
    uint256 amount1Max;
    uint256 amount0Min;
    uint256 amount1Min;
    uint256 amountSharesMin;
    address vault;
    address receiver;
}

Variables

NameTypeDescription
amount0Maxuint256Maximum amount of token0 to be transferred from msg.sender to the vault
amount1Maxuint256Maximum amount of token1 to be transferred from msg.sender to the vault
amount0Minuint256Minimum amount of token0 to be transferred from msg.sender to the vault
amount1Minuint256Minimum amount of token1 to be transferred from msg.sender to the vault
amountSharesMinuint256Minimum amount of vault shares to be received by receiver
vaultaddressAddress of the vault to add liquidity to
receiveraddressAddress of the receiver of the vault shares