Store

Git Source

Inherits: ERC721, Delegatable

State Variables

baseURI

string public baseURI;

storeRootHash

mapping(uint256 => bytes32) public storeRootHash;

relays

mapping(uint256 => string[]) public relays;

Functions

constructor

constructor(string memory _name, string memory _symbol, string memory _baseURI)
    ERC721(_name, _symbol)
    Delegatable("ShopReg", "1");

mintTo

function mintTo(address recipient, uint256 id, bytes32 rootHash) public returns (uint256);

updateRootHash

function updateRootHash(uint256 id, bytes32 hash) public;

updateRelays

function updateRelays(uint256 id, string[] memory _relays) public;

_msgSender

function _msgSender() internal view virtual override(DelegatableCore, Context) returns (address sender);