Skip to content

Commit 3ee80fb

Browse files
authored
Contract upgrades (#3830)
1 parent ce8bd91 commit 3ee80fb

File tree

6 files changed

+560
-3
lines changed

6 files changed

+560
-3
lines changed

packages/core/.openzeppelin/bsc.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,171 @@
17291729
},
17301730
"namespaces": {}
17311731
}
1732+
},
1733+
"0f95cf567f8918b75255368d276f9d1d3ff01313866d4084b4a734938d09a6e6": {
1734+
"address": "0x8C39c41Bd6257B2Fa3aF58511825D5eAD4921279",
1735+
"txHash": "0x6c92b19d5bb9196d090c29b37da44e31539e54321141642418575c2265e567dc",
1736+
"layout": {
1737+
"solcVersion": "0.8.23",
1738+
"storage": [
1739+
{
1740+
"label": "_initialized",
1741+
"offset": 0,
1742+
"slot": "0",
1743+
"type": "t_uint8",
1744+
"contract": "Initializable",
1745+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
1746+
"retypedFrom": "bool"
1747+
},
1748+
{
1749+
"label": "_initializing",
1750+
"offset": 1,
1751+
"slot": "0",
1752+
"type": "t_bool",
1753+
"contract": "Initializable",
1754+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
1755+
},
1756+
{
1757+
"label": "__gap",
1758+
"offset": 0,
1759+
"slot": "1",
1760+
"type": "t_array(t_uint256)50_storage",
1761+
"contract": "ContextUpgradeable",
1762+
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
1763+
},
1764+
{
1765+
"label": "_owner",
1766+
"offset": 0,
1767+
"slot": "51",
1768+
"type": "t_address",
1769+
"contract": "OwnableUpgradeable",
1770+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
1771+
},
1772+
{
1773+
"label": "__gap",
1774+
"offset": 0,
1775+
"slot": "52",
1776+
"type": "t_array(t_uint256)49_storage",
1777+
"contract": "OwnableUpgradeable",
1778+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
1779+
},
1780+
{
1781+
"label": "__gap",
1782+
"offset": 0,
1783+
"slot": "101",
1784+
"type": "t_array(t_uint256)50_storage",
1785+
"contract": "ERC1967UpgradeUpgradeable",
1786+
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169"
1787+
},
1788+
{
1789+
"label": "__gap",
1790+
"offset": 0,
1791+
"slot": "151",
1792+
"type": "t_array(t_uint256)50_storage",
1793+
"contract": "UUPSUpgradeable",
1794+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111"
1795+
},
1796+
{
1797+
"label": "counter",
1798+
"offset": 0,
1799+
"slot": "201",
1800+
"type": "t_uint256",
1801+
"contract": "EscrowFactory",
1802+
"src": "contracts/EscrowFactory.sol:17"
1803+
},
1804+
{
1805+
"label": "escrowCounters",
1806+
"offset": 0,
1807+
"slot": "202",
1808+
"type": "t_mapping(t_address,t_uint256)",
1809+
"contract": "EscrowFactory",
1810+
"src": "contracts/EscrowFactory.sol:18"
1811+
},
1812+
{
1813+
"label": "lastEscrow",
1814+
"offset": 0,
1815+
"slot": "203",
1816+
"type": "t_address",
1817+
"contract": "EscrowFactory",
1818+
"src": "contracts/EscrowFactory.sol:19"
1819+
},
1820+
{
1821+
"label": "staking",
1822+
"offset": 0,
1823+
"slot": "204",
1824+
"type": "t_address",
1825+
"contract": "EscrowFactory",
1826+
"src": "contracts/EscrowFactory.sol:20"
1827+
},
1828+
{
1829+
"label": "minimumStake",
1830+
"offset": 0,
1831+
"slot": "205",
1832+
"type": "t_uint256",
1833+
"contract": "EscrowFactory",
1834+
"src": "contracts/EscrowFactory.sol:21"
1835+
},
1836+
{
1837+
"label": "admin",
1838+
"offset": 0,
1839+
"slot": "206",
1840+
"type": "t_address",
1841+
"contract": "EscrowFactory",
1842+
"src": "contracts/EscrowFactory.sol:22"
1843+
},
1844+
{
1845+
"label": "kvstore",
1846+
"offset": 0,
1847+
"slot": "207",
1848+
"type": "t_address",
1849+
"contract": "EscrowFactory",
1850+
"src": "contracts/EscrowFactory.sol:23"
1851+
},
1852+
{
1853+
"label": "__gap",
1854+
"offset": 0,
1855+
"slot": "208",
1856+
"type": "t_array(t_uint256)43_storage",
1857+
"contract": "EscrowFactory",
1858+
"src": "contracts/EscrowFactory.sol:195"
1859+
}
1860+
],
1861+
"types": {
1862+
"t_address": {
1863+
"label": "address",
1864+
"numberOfBytes": "20"
1865+
},
1866+
"t_array(t_uint256)43_storage": {
1867+
"label": "uint256[43]",
1868+
"numberOfBytes": "1376"
1869+
},
1870+
"t_array(t_uint256)49_storage": {
1871+
"label": "uint256[49]",
1872+
"numberOfBytes": "1568"
1873+
},
1874+
"t_array(t_uint256)50_storage": {
1875+
"label": "uint256[50]",
1876+
"numberOfBytes": "1600"
1877+
},
1878+
"t_bool": {
1879+
"label": "bool",
1880+
"numberOfBytes": "1"
1881+
},
1882+
"t_mapping(t_address,t_uint256)": {
1883+
"label": "mapping(address => uint256)",
1884+
"numberOfBytes": "32"
1885+
},
1886+
"t_uint256": {
1887+
"label": "uint256",
1888+
"numberOfBytes": "32"
1889+
},
1890+
"t_uint8": {
1891+
"label": "uint8",
1892+
"numberOfBytes": "1"
1893+
}
1894+
},
1895+
"namespaces": {}
1896+
}
17321897
}
17331898
}
17341899
}

packages/core/.openzeppelin/mainnet.json

Lines changed: 165 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1729,6 +1729,171 @@
17291729
},
17301730
"namespaces": {}
17311731
}
1732+
},
1733+
"0f95cf567f8918b75255368d276f9d1d3ff01313866d4084b4a734938d09a6e6": {
1734+
"address": "0x182f882690c2B35Eb5885849Bb4331888857CF78",
1735+
"txHash": "0xd7100a2f0e6097eee27507ce2d4b1bee3ecf18cdda6b86326d7a2aea42f6a0d7",
1736+
"layout": {
1737+
"solcVersion": "0.8.23",
1738+
"storage": [
1739+
{
1740+
"label": "_initialized",
1741+
"offset": 0,
1742+
"slot": "0",
1743+
"type": "t_uint8",
1744+
"contract": "Initializable",
1745+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
1746+
"retypedFrom": "bool"
1747+
},
1748+
{
1749+
"label": "_initializing",
1750+
"offset": 1,
1751+
"slot": "0",
1752+
"type": "t_bool",
1753+
"contract": "Initializable",
1754+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
1755+
},
1756+
{
1757+
"label": "__gap",
1758+
"offset": 0,
1759+
"slot": "1",
1760+
"type": "t_array(t_uint256)50_storage",
1761+
"contract": "ContextUpgradeable",
1762+
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
1763+
},
1764+
{
1765+
"label": "_owner",
1766+
"offset": 0,
1767+
"slot": "51",
1768+
"type": "t_address",
1769+
"contract": "OwnableUpgradeable",
1770+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
1771+
},
1772+
{
1773+
"label": "__gap",
1774+
"offset": 0,
1775+
"slot": "52",
1776+
"type": "t_array(t_uint256)49_storage",
1777+
"contract": "OwnableUpgradeable",
1778+
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
1779+
},
1780+
{
1781+
"label": "__gap",
1782+
"offset": 0,
1783+
"slot": "101",
1784+
"type": "t_array(t_uint256)50_storage",
1785+
"contract": "ERC1967UpgradeUpgradeable",
1786+
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169"
1787+
},
1788+
{
1789+
"label": "__gap",
1790+
"offset": 0,
1791+
"slot": "151",
1792+
"type": "t_array(t_uint256)50_storage",
1793+
"contract": "UUPSUpgradeable",
1794+
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111"
1795+
},
1796+
{
1797+
"label": "counter",
1798+
"offset": 0,
1799+
"slot": "201",
1800+
"type": "t_uint256",
1801+
"contract": "EscrowFactory",
1802+
"src": "contracts/EscrowFactory.sol:17"
1803+
},
1804+
{
1805+
"label": "escrowCounters",
1806+
"offset": 0,
1807+
"slot": "202",
1808+
"type": "t_mapping(t_address,t_uint256)",
1809+
"contract": "EscrowFactory",
1810+
"src": "contracts/EscrowFactory.sol:18"
1811+
},
1812+
{
1813+
"label": "lastEscrow",
1814+
"offset": 0,
1815+
"slot": "203",
1816+
"type": "t_address",
1817+
"contract": "EscrowFactory",
1818+
"src": "contracts/EscrowFactory.sol:19"
1819+
},
1820+
{
1821+
"label": "staking",
1822+
"offset": 0,
1823+
"slot": "204",
1824+
"type": "t_address",
1825+
"contract": "EscrowFactory",
1826+
"src": "contracts/EscrowFactory.sol:20"
1827+
},
1828+
{
1829+
"label": "minimumStake",
1830+
"offset": 0,
1831+
"slot": "205",
1832+
"type": "t_uint256",
1833+
"contract": "EscrowFactory",
1834+
"src": "contracts/EscrowFactory.sol:21"
1835+
},
1836+
{
1837+
"label": "admin",
1838+
"offset": 0,
1839+
"slot": "206",
1840+
"type": "t_address",
1841+
"contract": "EscrowFactory",
1842+
"src": "contracts/EscrowFactory.sol:22"
1843+
},
1844+
{
1845+
"label": "kvstore",
1846+
"offset": 0,
1847+
"slot": "207",
1848+
"type": "t_address",
1849+
"contract": "EscrowFactory",
1850+
"src": "contracts/EscrowFactory.sol:23"
1851+
},
1852+
{
1853+
"label": "__gap",
1854+
"offset": 0,
1855+
"slot": "208",
1856+
"type": "t_array(t_uint256)43_storage",
1857+
"contract": "EscrowFactory",
1858+
"src": "contracts/EscrowFactory.sol:195"
1859+
}
1860+
],
1861+
"types": {
1862+
"t_address": {
1863+
"label": "address",
1864+
"numberOfBytes": "20"
1865+
},
1866+
"t_array(t_uint256)43_storage": {
1867+
"label": "uint256[43]",
1868+
"numberOfBytes": "1376"
1869+
},
1870+
"t_array(t_uint256)49_storage": {
1871+
"label": "uint256[49]",
1872+
"numberOfBytes": "1568"
1873+
},
1874+
"t_array(t_uint256)50_storage": {
1875+
"label": "uint256[50]",
1876+
"numberOfBytes": "1600"
1877+
},
1878+
"t_bool": {
1879+
"label": "bool",
1880+
"numberOfBytes": "1"
1881+
},
1882+
"t_mapping(t_address,t_uint256)": {
1883+
"label": "mapping(address => uint256)",
1884+
"numberOfBytes": "32"
1885+
},
1886+
"t_uint256": {
1887+
"label": "uint256",
1888+
"numberOfBytes": "32"
1889+
},
1890+
"t_uint8": {
1891+
"label": "uint8",
1892+
"numberOfBytes": "1"
1893+
}
1894+
},
1895+
"namespaces": {}
1896+
}
17321897
}
17331898
}
17341899
}

0 commit comments

Comments
 (0)