FluidVaultPositionsResolver

FluidVaultPositionsResolver__AddressZero

error FluidVaultPositionsResolver__AddressZero()

thrown if an input param address is zero

constructor

constructor(contract IFluidVaultResolver vaultResolver_, contract IFluidVaultFactory vaultFactory_) public

constructor sets the immutable vault resolver and vault factory address

getAllVaultNftIds

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

getPositionsForNftIds

function getPositionsForNftIds(uint256[] nftIds_) public view returns (struct Structs.UserPosition[] positions_)

getAllVaultPositions

function getAllVaultPositions(address vault_) public view returns (struct Structs.UserPosition[] positions_)

_vaultByNftId

function _vaultByNftId(uint256 nftId_) internal view returns (address vault_)

_getVaultPosition

function _getVaultPosition(address vault_, uint256 nftId_, uint256 vaultSupplyExchangePrice_, uint256 vaultBorrowExchangePrice_) internal view returns (struct Structs.UserPosition userPosition_)