Skip to content

IFluidVaultFactory ​

mint ​

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

Minting an NFT Vault for the user

ownerOf ​

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

returns owner of Vault which is also an NFT

isGlobalAuth ​

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

Global auth is auth for all vaults

isVaultAuth ​

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

Vault auth is auth for a specific vault

totalVaults ​

solidity
function totalVaults() external view returns (uint256)

Total vaults deployed.

getVaultAddress ​

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

Compute vaultAddress

readFromStorage ​

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

read uint256 result_ for a storage slot_ key