Skip to content
Lattice

ERC1155Storage

Git Source

Storage struct for ERC-1155 module.

Note:

  • storage-location: erc7201:lattice.storage.ERC1155
struct ERC1155Storage {
    mapping(uint256 id => mapping(address account => uint256)) _balances;
    mapping(address account => mapping(address operator => bool)) _operatorApprovals;
    string _uri;
}

Properties

NameTypeDescription
_balancesmapping(uint256 id => mapping(address account => uint256))
_operatorApprovalsmapping(address account => mapping(address operator => bool))
_uristring