uNFT Registry
UNFTRegistry.sol
This contract is where we store the information regarding the uNFTs.
The proxies and the implementations are created and stored.
getUNFTAddresses
function getUNFTAddresses(address nftAsset) external view returns (address uNftProxy, address uNftImpl)
Returns the uNFT address
The address of the underlying NFT asset
the address of the proxy created for the underlying asset
the address of the implementation created for the underlying asset
getUNFTAddressesByIndex
function getUNFTAddressesByIndex(uint16 index) external view returns (address uNftProxy, address uNftImpl)
Returns the uNFT proxy and implementation address by index
the address of the proxy created for the underlying asset
the address of the implementation created for the underlying asset
getUNFTAssetList
function getUNFTAssetList() external view returns (address[])
Returns the list of uNFTs addresses.
array of addresses (address[])
the addresses stored in the contract when created.
allUNFTAssetLength
function allUNFTAssetLength() external view returns (uint256)
Returns the length of the list of uNFTs addresses.
the length of addresses in the list
function createUNFT(address nftAsset) external returns (address uNftProxy)
Create uNFT proxy and implement it, then initialize it.
The address of the underlying asset of the UNFT
the address of the proxy created for the underlying asset