Skip to content

Instantly share code, notes, and snippets.

@wong2
Created June 22, 2022 10:22
Show Gist options
  • Save wong2/6463bb7280cb36cc4ebcbc6425d5fa2e to your computer and use it in GitHub Desktop.
Save wong2/6463bb7280cb36cc4ebcbc6425d5fa2e to your computer and use it in GitHub Desktop.
{
"contracts": {
"@openzeppelin/contracts/access/Ownable.sol": {
"Ownable": {
"storageLayout": {
"storage": [
{
"astId": 7,
"contract": "@openzeppelin/contracts/access/Ownable.sol:Ownable",
"label": "_owner",
"offset": 0,
"slot": "0",
"type": "t_address"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
}
}
}
}
},
"@openzeppelin/contracts/security/ReentrancyGuard.sol": {
"ReentrancyGuard": {
"storageLayout": {
"storage": [
{
"astId": 114,
"contract": "@openzeppelin/contracts/security/ReentrancyGuard.sol:ReentrancyGuard",
"label": "_status",
"offset": 0,
"slot": "0",
"type": "t_uint256"
}
],
"types": {
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
}
}
}
}
},
"@openzeppelin/contracts/token/ERC721/IERC721.sol": {
"IERC721": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
"IERC721Receiver": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol": {
"IERC721Enumerable": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": {
"IERC721Metadata": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/utils/Address.sol": {
"Address": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/utils/Context.sol": {
"Context": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/utils/Strings.sol": {
"Strings": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/utils/introspection/ERC165.sol": {
"ERC165": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"IERC165": {
"storageLayout": {
"storage": [],
"types": null
}
}
},
"contracts/Azuki.sol": {
"Azuki": {
"storageLayout": {
"storage": [
{
"astId": 7,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_owner",
"offset": 0,
"slot": "0",
"type": "t_address"
},
{
"astId": 1591,
"contract": "contracts/Azuki.sol:Azuki",
"label": "currentIndex",
"offset": 0,
"slot": "1",
"type": "t_uint256"
},
{
"astId": 1597,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_name",
"offset": 0,
"slot": "2",
"type": "t_string_storage"
},
{
"astId": 1599,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_symbol",
"offset": 0,
"slot": "3",
"type": "t_string_storage"
},
{
"astId": 1604,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_ownerships",
"offset": 0,
"slot": "4",
"type": "t_mapping(t_uint256,t_struct(TokenOwnership)1583_storage)"
},
{
"astId": 1609,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_addressData",
"offset": 0,
"slot": "5",
"type": "t_mapping(t_address,t_struct(AddressData)1588_storage)"
},
{
"astId": 1613,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_tokenApprovals",
"offset": 0,
"slot": "6",
"type": "t_mapping(t_uint256,t_address)"
},
{
"astId": 1619,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_operatorApprovals",
"offset": 0,
"slot": "7",
"type": "t_mapping(t_address,t_mapping(t_address,t_bool))"
},
{
"astId": 2562,
"contract": "contracts/Azuki.sol:Azuki",
"label": "nextOwnerToExplicitlySet",
"offset": 0,
"slot": "8",
"type": "t_uint256"
},
{
"astId": 114,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_status",
"offset": 0,
"slot": "9",
"type": "t_uint256"
},
{
"astId": 923,
"contract": "contracts/Azuki.sol:Azuki",
"label": "saleConfig",
"offset": 0,
"slot": "10",
"type": "t_struct(SaleConfig)920_storage"
},
{
"astId": 927,
"contract": "contracts/Azuki.sol:Azuki",
"label": "allowlist",
"offset": 0,
"slot": "11",
"type": "t_mapping(t_address,t_uint256)"
},
{
"astId": 1463,
"contract": "contracts/Azuki.sol:Azuki",
"label": "_baseTokenURI",
"offset": 0,
"slot": "12",
"type": "t_string_storage"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
},
"t_bool": {
"encoding": "inplace",
"label": "bool",
"numberOfBytes": "1"
},
"t_mapping(t_address,t_bool)": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => bool)",
"numberOfBytes": "32",
"value": "t_bool"
},
"t_mapping(t_address,t_mapping(t_address,t_bool))": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => mapping(address => bool))",
"numberOfBytes": "32",
"value": "t_mapping(t_address,t_bool)"
},
"t_mapping(t_address,t_struct(AddressData)1588_storage)": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => struct ERC721A.AddressData)",
"numberOfBytes": "32",
"value": "t_struct(AddressData)1588_storage"
},
"t_mapping(t_address,t_uint256)": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => uint256)",
"numberOfBytes": "32",
"value": "t_uint256"
},
"t_mapping(t_uint256,t_address)": {
"encoding": "mapping",
"key": "t_uint256",
"label": "mapping(uint256 => address)",
"numberOfBytes": "32",
"value": "t_address"
},
"t_mapping(t_uint256,t_struct(TokenOwnership)1583_storage)": {
"encoding": "mapping",
"key": "t_uint256",
"label": "mapping(uint256 => struct ERC721A.TokenOwnership)",
"numberOfBytes": "32",
"value": "t_struct(TokenOwnership)1583_storage"
},
"t_string_storage": {
"encoding": "bytes",
"label": "string",
"numberOfBytes": "32"
},
"t_struct(AddressData)1588_storage": {
"encoding": "inplace",
"label": "struct ERC721A.AddressData",
"members": [
{
"astId": 1585,
"contract": "contracts/Azuki.sol:Azuki",
"label": "balance",
"offset": 0,
"slot": "0",
"type": "t_uint128"
},
{
"astId": 1587,
"contract": "contracts/Azuki.sol:Azuki",
"label": "numberMinted",
"offset": 16,
"slot": "0",
"type": "t_uint128"
}
],
"numberOfBytes": "32"
},
"t_struct(SaleConfig)920_storage": {
"encoding": "inplace",
"label": "struct Azuki.SaleConfig",
"members": [
{
"astId": 911,
"contract": "contracts/Azuki.sol:Azuki",
"label": "auctionSaleStartTime",
"offset": 0,
"slot": "0",
"type": "t_uint32"
},
{
"astId": 913,
"contract": "contracts/Azuki.sol:Azuki",
"label": "publicSaleStartTime",
"offset": 4,
"slot": "0",
"type": "t_uint32"
},
{
"astId": 915,
"contract": "contracts/Azuki.sol:Azuki",
"label": "mintlistPrice",
"offset": 8,
"slot": "0",
"type": "t_uint64"
},
{
"astId": 917,
"contract": "contracts/Azuki.sol:Azuki",
"label": "publicPrice",
"offset": 16,
"slot": "0",
"type": "t_uint64"
},
{
"astId": 919,
"contract": "contracts/Azuki.sol:Azuki",
"label": "publicSaleKey",
"offset": 24,
"slot": "0",
"type": "t_uint32"
}
],
"numberOfBytes": "32"
},
"t_struct(TokenOwnership)1583_storage": {
"encoding": "inplace",
"label": "struct ERC721A.TokenOwnership",
"members": [
{
"astId": 1580,
"contract": "contracts/Azuki.sol:Azuki",
"label": "addr",
"offset": 0,
"slot": "0",
"type": "t_address"
},
{
"astId": 1582,
"contract": "contracts/Azuki.sol:Azuki",
"label": "startTimestamp",
"offset": 20,
"slot": "0",
"type": "t_uint64"
}
],
"numberOfBytes": "32"
},
"t_uint128": {
"encoding": "inplace",
"label": "uint128",
"numberOfBytes": "16"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint32": {
"encoding": "inplace",
"label": "uint32",
"numberOfBytes": "4"
},
"t_uint64": {
"encoding": "inplace",
"label": "uint64",
"numberOfBytes": "8"
}
}
}
}
},
"contracts/ERC721A.sol": {
"ERC721A": {
"storageLayout": {
"storage": [
{
"astId": 1591,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "currentIndex",
"offset": 0,
"slot": "0",
"type": "t_uint256"
},
{
"astId": 1597,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "_name",
"offset": 0,
"slot": "1",
"type": "t_string_storage"
},
{
"astId": 1599,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "_symbol",
"offset": 0,
"slot": "2",
"type": "t_string_storage"
},
{
"astId": 1604,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "_ownerships",
"offset": 0,
"slot": "3",
"type": "t_mapping(t_uint256,t_struct(TokenOwnership)1583_storage)"
},
{
"astId": 1609,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "_addressData",
"offset": 0,
"slot": "4",
"type": "t_mapping(t_address,t_struct(AddressData)1588_storage)"
},
{
"astId": 1613,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "_tokenApprovals",
"offset": 0,
"slot": "5",
"type": "t_mapping(t_uint256,t_address)"
},
{
"astId": 1619,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "_operatorApprovals",
"offset": 0,
"slot": "6",
"type": "t_mapping(t_address,t_mapping(t_address,t_bool))"
},
{
"astId": 2562,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "nextOwnerToExplicitlySet",
"offset": 0,
"slot": "7",
"type": "t_uint256"
}
],
"types": {
"t_address": {
"encoding": "inplace",
"label": "address",
"numberOfBytes": "20"
},
"t_bool": {
"encoding": "inplace",
"label": "bool",
"numberOfBytes": "1"
},
"t_mapping(t_address,t_bool)": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => bool)",
"numberOfBytes": "32",
"value": "t_bool"
},
"t_mapping(t_address,t_mapping(t_address,t_bool))": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => mapping(address => bool))",
"numberOfBytes": "32",
"value": "t_mapping(t_address,t_bool)"
},
"t_mapping(t_address,t_struct(AddressData)1588_storage)": {
"encoding": "mapping",
"key": "t_address",
"label": "mapping(address => struct ERC721A.AddressData)",
"numberOfBytes": "32",
"value": "t_struct(AddressData)1588_storage"
},
"t_mapping(t_uint256,t_address)": {
"encoding": "mapping",
"key": "t_uint256",
"label": "mapping(uint256 => address)",
"numberOfBytes": "32",
"value": "t_address"
},
"t_mapping(t_uint256,t_struct(TokenOwnership)1583_storage)": {
"encoding": "mapping",
"key": "t_uint256",
"label": "mapping(uint256 => struct ERC721A.TokenOwnership)",
"numberOfBytes": "32",
"value": "t_struct(TokenOwnership)1583_storage"
},
"t_string_storage": {
"encoding": "bytes",
"label": "string",
"numberOfBytes": "32"
},
"t_struct(AddressData)1588_storage": {
"encoding": "inplace",
"label": "struct ERC721A.AddressData",
"members": [
{
"astId": 1585,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "balance",
"offset": 0,
"slot": "0",
"type": "t_uint128"
},
{
"astId": 1587,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "numberMinted",
"offset": 16,
"slot": "0",
"type": "t_uint128"
}
],
"numberOfBytes": "32"
},
"t_struct(TokenOwnership)1583_storage": {
"encoding": "inplace",
"label": "struct ERC721A.TokenOwnership",
"members": [
{
"astId": 1580,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "addr",
"offset": 0,
"slot": "0",
"type": "t_address"
},
{
"astId": 1582,
"contract": "contracts/ERC721A.sol:ERC721A",
"label": "startTimestamp",
"offset": 20,
"slot": "0",
"type": "t_uint64"
}
],
"numberOfBytes": "32"
},
"t_uint128": {
"encoding": "inplace",
"label": "uint128",
"numberOfBytes": "16"
},
"t_uint256": {
"encoding": "inplace",
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint64": {
"encoding": "inplace",
"label": "uint64",
"numberOfBytes": "8"
}
}
}
}
}
},
"sources": {
"@openzeppelin/contracts/access/Ownable.sol": {
"id": 0
},
"@openzeppelin/contracts/security/ReentrancyGuard.sol": {
"id": 1
},
"@openzeppelin/contracts/token/ERC721/IERC721.sol": {
"id": 2
},
"@openzeppelin/contracts/token/ERC721/IERC721Receiver.sol": {
"id": 3
},
"@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol": {
"id": 4
},
"@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol": {
"id": 5
},
"@openzeppelin/contracts/utils/Address.sol": {
"id": 6
},
"@openzeppelin/contracts/utils/Context.sol": {
"id": 7
},
"@openzeppelin/contracts/utils/Strings.sol": {
"id": 8
},
"@openzeppelin/contracts/utils/introspection/ERC165.sol": {
"id": 9
},
"@openzeppelin/contracts/utils/introspection/IERC165.sol": {
"id": 10
},
"contracts/Azuki.sol": {
"id": 11
},
"contracts/ERC721A.sol": {
"id": 12
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment