Profile Modules

Related public methods of 5Degress ProfileNFT

setInfo()

Set you owner NFT info

function setInfo(string memory name, string memory image, string memory properties) 
external

image 支持多种格式:

  1. If set NFT ERC721 or ERC1155: eip155:chainId+/+erc721/erc1155+:+contract+/tokenId

eg: eip155:56/erc721:0xC9A1757A52F2E87A2144c8b8Ec9CB075C8b50B35/199

eip155:1/erc1155:0xC9A1757A52F2E87A2144c8b8Ec9CB075C8b50B35/199

2. If set ipfs: ipfs://xxxxxx or ipns://xxxxxx

3. If set URL: http://xxxxxx or https://xxxxxx

4. If set base64: data:image/png;base64,xxxxxx or data:image/jpeg;base64,xxxxxx or

data:image/gif;base64,xxxxxx or data:image/x-icon;base64,xxxxxx

properties: We suggest to use JSON and encode it to string through base64, which will help fast info extension.

increaseMaxSupply()

increase your Profile NFT's followers max supply

function increaseMaxSupply(uint256 newMax) external payable

About Fee:xxxxxx

Last updated