IFluidVaultFactory ​
Inherits: IERC721Enumerable
Functions ​
mint ​
Minting an NFT Vault for the user
solidity
function mint(uint256 vaultId_, address user_) external returns (uint256 tokenId_);
ownerOf ​
returns owner of Vault which is also an NFT
solidity
function ownerOf(uint256 tokenId) external view returns (address owner);
isGlobalAuth ​
Global auth is auth for all vaults
solidity
function isGlobalAuth(address auth_) external view returns (bool);
isVaultAuth ​
Vault auth is auth for a specific vault
solidity
function isVaultAuth(address vault_, address auth_) external view returns (bool);
totalVaults ​
Total vaults deployed.
solidity
function totalVaults() external view returns (uint256);
getVaultAddress ​
Compute vaultAddress
solidity
function getVaultAddress(uint256 vaultId) external view returns (address);
readFromStorage ​
read uint256 result_
for a storage slot_
key
solidity
function readFromStorage(bytes32 slot_) external view returns (uint256 result_);