FluidVaultPositionsResolver

Git Source

Inherits:Variables, Structs

Functions

constructor

constructor sets the immutable vault resolver and vault factory address

constructor(IFluidVaultResolver vaultResolver_, IFluidVaultFactory vaultFactory_)
    Variables(vaultResolver_, vaultFactory_);

getAllVaultNftIds

function getAllVaultNftIds(address vault_) public view returns (uint256[] memory nftIds_);

getPositionsForNftIds

get total positions for vault: Next 32 bits => 210-241 => Total positions

function getPositionsForNftIds(uint256[] memory nftIds_) public view returns (UserPosition[] memory positions_);

getAllVaultPositions

function getAllVaultPositions(address vault_) public view returns (UserPosition[] memory positions_);

Errors

FluidVaultPositionsResolver__AddressZero

thrown if an input param address is zero

error FluidVaultPositionsResolver__AddressZero();