StorageLib

Git Source

State Variables

CHARACTERS_MAPPING_SLOT

uint256 public constant CHARACTERS_MAPPING_SLOT = 10;

CHARACTER_ID_BY_HANDLE_HASH_MAPPING_SLOT

uint256 public constant CHARACTER_ID_BY_HANDLE_HASH_MAPPING_SLOT = 11;

PRIMARY_CHARACTER_BY_ADDRESS_MAPPING_SLOT

uint256 public constant PRIMARY_CHARACTER_BY_ADDRESS_MAPPING_SLOT = 12;
uint256 public constant ATTACHED_LINK_LISTS_MAPPING_SLOT = 13;

NOTES_MAPPING_SLOT

uint256 public constant NOTES_MAPPING_SLOT = 14;
uint256 public constant LINK_MODULE_4_LINKLIST_MAPPING_SLOT = 15;
uint256 public constant LINK_MODULE_4_ERC721_MAPPING_SLOT = 16;
uint256 public constant LINK_MODULE_4_ADDRESS_MAPPING_SLOT = 17;

CHARACTER_COUNTER_SLOG

uint256 public constant CHARACTER_COUNTER_SLOG = 18;
uint256 public constant LINKLIST_SLOT = 19;

MINT_NFT_IMPL_SLOT

uint256 public constant MINT_NFT_IMPL_SLOT = 20;

PERIPHERY_SLOT

uint256 public constant PERIPHERY_SLOT = 21;

OPERATORS_BY_CHARACTER_MAPPING_SLOT

uint256 public constant OPERATORS_BY_CHARACTER_MAPPING_SLOT = 24;

OPERATORS_PERMISSION_BIT_MAP_MAPPING_SLOT

uint256 public constant OPERATORS_PERMISSION_BIT_MAP_MAPPING_SLOT = 25;

OPERATOR_FOR_NOTE_MAPPING_SLOT

uint256 public constant OPERATOR_FOR_NOTE_MAPPING_SLOT = 26;

NEWBIE_VILLA_SLOT

uint256 public constant NEWBIE_VILLA_SLOT = 27;

SIG_NONCES_MAPPING_SLOT

uint256 public constant SIG_NONCES_MAPPING_SLOT = 28;

Functions

setOperatorsPermissionBitMap

function setOperatorsPermissionBitMap(uint256 characterId, address operator, uint256 permissionBitMap) internal;

setAttachedLinklistId

function setAttachedLinklistId(uint256 characterId, bytes32 linkType, uint256 linklistId) internal;

deleteAttachedLinklistId

function deleteAttachedLinklistId(uint256 characterId, bytes32 linkType) internal;

getAttachedLinklistId

function getAttachedLinklistId(uint256 characterId, bytes32 linkType) internal view returns (uint256 _linklistId);

nonces

function nonces() internal pure returns (mapping(address => uint256) storage _nonces);

getCharacter

function getCharacter(uint256 characterId) internal pure returns (DataTypes.Character storage _character);

getNote

function getNote(uint256 characterId, uint256 noteId) internal pure returns (DataTypes.Note storage _note);

characterIdByHandleHash

function characterIdByHandleHash()
    internal
    pure
    returns (mapping(bytes32 => uint256) storage _characterIdByHandleHash);

operatorsByCharacter

function operatorsByCharacter()
    internal
    pure
    returns (mapping(uint256 => EnumerableSet.AddressSet) storage _operatorsByCharacter);

getOperators4Note

function getOperators4Note(uint256 characterId, uint256 noteId)
    internal
    pure
    returns (DataTypes.Operators4Note storage _operators4Note);