For the complete documentation index, see llms.txt. This page is also available as Markdown.

MagnifyERC721V1

Git Source Inherits: ERC721, Ownable

State Variables

baseURI

string public baseURI;

magnifyCash

address public magnifyCash;

_name

string private _name;

_symbol

string private _symbol;

Functions

onlyMagnifyCash

Requires caller to be the Magnify Cash contract

modifier onlyMagnifyCash();

constructor

constructor(string memory name, string memory symbol, string memory _baseURI, address initialOwner);

name

symbol

tokenURI

setMagnifyCash

Set Magnify Cash contract address, requires caller to be owner

setBaseURI

Update base URI but requires caller to be owner

mint

Call _mint but requires caller to be the Magnify Cash contract

burn

Call _burn but requires caller to be the Magnify Cash contract

Events

Initialized

BaseURISet

MagnifyCashSet

Errors

NameIsEmpty

SymbolIsEmpty

BaseURIIsEmpty

CallerIsNotMagnifyCash

MintToZeroAddress

MagnifyCashIsZeroAddress

Last updated