🏦
Fractional
  • Fractional
  • Security
  • For Curators
  • For Fractional NFT Owners
  • Smart Contract Breakdown
    • Settings
    • Vault Factory
    • Token Vault
Powered by GitBook
On this page
  • View Functions
  • Fractionalizing An NFT

Was this helpful?

  1. Smart Contract Breakdown

Vault Factory

View Functions

/// @notice the number of ERC721 vaults
uint256 public vaultCount;
  /// @notice the mapping of vault number to vault contract
  mapping(uint256 => TokenVault) public vaults;
  /// @notice a settings contract controlled by governance
  address public settings;

Fractionalizing An NFT

When calling mint you must have approved the vault contract

function mint(string memory _name, string memory _symbol, address _token, uint256 _id, uint256 _supply, uint256 _listPrice, uint256 _fee) external returns(uint256)
  • name: the name of the ERC20 token which will represent the fractional ownership of your locked up NFT

  • symbol: the token symbol of the ERC20 token

  • token: the ethereum address of the NFT which you are fractionalizing

  • id: the unique identifier used for your NFT in its respective smart contract

  • supply: the desired total supply of the ERC20 token

  • listPrice: the desired reserve price at the start of the fractional ownership

  • fee: the curator fee which will be paid to the owner of the fractional asset

PreviousSettingsNextToken Vault

Last updated 3 years ago

Was this helpful?