Skip to content

contract.IERC721Community

Aleksey Bykhun edited this page Jan 18, 2023 · 1 revision

IERC721Community

Git Source

Functions

saleStarted

function saleStarted() external view returns (bool);

isExtensionAdded

function isExtensionAdded(address extension) external view returns (bool);

data

Extra information stored for each tokenId. Optional, provided on mint

function data(uint256 tokenId) external view returns (bytes32);

mintExternal

Mint from NFTExtension contract. Optionally provide data parameter.

function mintExternal(uint256 amount, address to, bytes32 data) external payable;

addExtension

function addExtension(address extension) external;

revokeExtension

function revokeExtension(address extension) external;

withdraw

function withdraw() external;

royaltyInfo

Recommended royalty for tokenId sale.

function royaltyInfo(uint256 tokenId, uint256 salePrice)
    external
    view
    returns (address receiver, uint256 royaltyAmount);

setRoyaltyReceiver

function setRoyaltyReceiver(address receiver) external;

setRoyaltyFee

function setRoyaltyFee(uint256 fee) external;
Clone this wiki locally