This package contains the source code of the core interfaces of the VNFT protocol and the implementation of which to represent splittable, composable Financial NFTs.
-
[IVNFT] (./contracts/interface/IVNFT.sol):
IVNFTdefines all interfaces and events for the standard VNFT protocol, which must be implemented for creating a new VNFT token.
-
VNFTCoreis an abstract contract which interits from bothIVNFTandERC721, representing splittable, composable Financial NFTs. On the basis of ERC721 compatibility,VNFTCoreprovides extra implementations ofIVNFTinterfaces to support core abilities such as splitting, merging, partially transferring and approving.
-
AssetLibrarydescribes the data structure and the internal logic of the underlying assets, including minting, burning, merging and transferring, etc.