MaverickV2PoolPermissioned

Inherits: MaverickV2Pool

State Variables

variableFeeAIn

uint128 private variableFeeAIn;

variableFeeBIn

uint128 private variableFeeBIn;

Functions

onlyAccessor

modifier onlyAccessor();

addLiquidity

function addLiquidity(address user, uint256 subaccount, AddLiquidityParams calldata params, bytes calldata data)
    public
    override
    onlyAccessor
    returns (uint256 tokenAAmount, uint256 tokenBAmount, uint32[] memory binIds);

migrateBinUpStack

function migrateBinUpStack(uint32 binId, uint32 maxRecursion) public override onlyAccessor;

removeLiquidity

function removeLiquidity(address recipient, uint256 subaccount, RemoveLiquidityParams calldata params)
    public
    override
    onlyAccessor
    returns (uint256 tokenAOut, uint256 tokenBOut);

swap

function swap(address recipient, SwapParams memory params, bytes calldata data)
    public
    override
    onlyAccessor
    returns (uint256 amountIn, uint256 amountOut);

setFee

function setFee(uint256 newFeeAIn, uint256 newFeeBIn) public override onlyAccessor;

fee

function fee(bool tokenAIn) public view override returns (uint256);

Last updated