State Variables
baseUri
Base Contract URIcounter
Functions
constructor
Constructor for the Example ERC721 token. Initializes the token with a name and symbol.setCallingContractAdmin
Override the default setCallingContractAdmin and add onlyOwner modifier to prevent unauthorized accesssetRulesEngineAddress
Override the default setRulesEngineAddress and add onlyOwner modifier to prevent unauthorized accesssafeMint
Mints a new token to the specified address. The token ID is incremented by 1 from the previous minted token. This function is payable to allow child contracts to override it with a priced mint function.safeTransferFrom
Safely transfers a token from one address to another. This function overrides the ERC721-safeTransferFrom function and interacts with the Rules Engine to ensure compliance with transfer policies. It includes additional checks for policy compliance.transferFrom
Transfers a token from one address to another. This function overrides the ERC721-transferFrom function and interacts with the Rules Engine to ensure compliance with transfer policies. It includes additional checks for policy compliance.supportsInterface
Returns true if this contract implements the interface defined byinterfaceId. See the corresponding
https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
to learn more about how these ids are created.
This function call must use less than 30 000 gas.