IFluidVaultFactory

Git Source

Inherits: IERC721Enumerable

Functions

mint

Minting an NFT Vault for the user

function mint(uint256 vaultId_, address user_) external returns (uint256 tokenId_);

ownerOf

returns owner of Vault which is also an NFT

function ownerOf(uint256 tokenId) external view returns (address owner);

isGlobalAuth

Global auth is auth for all vaults

function isGlobalAuth(address auth_) external view returns (bool);

isVaultAuth

Vault auth is auth for a specific vault

function isVaultAuth(address vault_, address auth_) external view returns (bool);

totalVaults

Total vaults deployed.

function totalVaults() external view returns (uint256);

getVaultAddress

Compute vaultAddress

function getVaultAddress(uint256 vaultId) external view returns (address);

readFromStorage

read uint256 result_ for a storage slot_ key

function readFromStorage(bytes32 slot_) external view returns (uint256 result_);