Skip to content

Commit

Permalink
fix sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
hubsmoke committed Mar 18, 2024
1 parent ba5ad40 commit 17f998a
Show file tree
Hide file tree
Showing 14 changed files with 850 additions and 28 deletions.
167 changes: 167 additions & 0 deletions desci-contracts/.openzeppelin/old/sepoliaDev-dpid.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,167 @@
{
"manifestVersion": "3.2",
"admin": {
"address": "0x6FAD4bF532EbaA56Ecf5CFd0E59617F5Fe173aa2",
"txHash": "0x5b1e70832abbcd6f11d19f027119d0da3deb062f82deff25b63d100dd1990056"
},
"proxies": [
{
"address": "0xb9F1b29d9435Ff4772F57067C927367B337B0456",
"txHash": "0xcbf8a479adaab2755220d93e8cddcf61e7ec0d9eb6e024e4f064851a8a7ef3a8",
"kind": "transparent"
}
],
"impls": {
"7d36eb1fb5509724c9c86e5567a213c3dc9d83c3cbe4f6b633ad300b6ccc8728": {
"address": "0xC9bd4f323E037f5560Bb96f90c4Dc170bdD6E550",
"txHash": "0xd1081c86a9500a81fa498e3838ae05691b6185686e09c3de7133a83f262c704b",
"layout": {
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "_owner",
"offset": 0,
"slot": "51",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "52",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "organizations",
"offset": 0,
"slot": "101",
"type": "t_mapping(t_bytes32,t_struct(Organization)4485_storage)",
"contract": "DpidRegistry",
"src": "contracts/DpidRegistry.sol:36"
},
{
"label": "_fee",
"offset": 0,
"slot": "102",
"type": "t_uint256",
"contract": "DpidRegistry",
"src": "contracts/DpidRegistry.sol:39"
},
{
"label": "_orgFee",
"offset": 0,
"slot": "103",
"type": "t_uint256",
"contract": "DpidRegistry",
"src": "contracts/DpidRegistry.sol:42"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_address)dyn_storage": {
"label": "address[]",
"numberOfBytes": "32"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes32": {
"label": "bytes32",
"numberOfBytes": "32"
},
"t_mapping(t_bytes32,t_struct(Organization)4485_storage)": {
"label": "mapping(bytes32 => struct DpidRegistry.Organization)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_uint256)": {
"label": "mapping(uint256 => uint256)",
"numberOfBytes": "32"
},
"t_struct(Organization)4485_storage": {
"label": "struct DpidRegistry.Organization",
"members": [
{
"label": "prefix",
"type": "t_bytes32",
"offset": 0,
"slot": "0"
},
{
"label": "registrant",
"type": "t_address",
"offset": 0,
"slot": "1"
},
{
"label": "tokenGate",
"type": "t_array(t_address)dyn_storage",
"offset": 0,
"slot": "2"
},
{
"label": "entries",
"type": "t_mapping(t_uint256,t_uint256)",
"offset": 0,
"slot": "3"
},
{
"label": "count",
"type": "t_uint256",
"offset": 0,
"slot": "4"
}
],
"numberOfBytes": "160"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
}
}
}
211 changes: 211 additions & 0 deletions desci-contracts/.openzeppelin/old/sepoliaDev-research-object.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,211 @@
{
"manifestVersion": "3.2",
"admin": {
"address": "0x47104e854aFCd127D38C4912D08b56b8Ab725007",
"txHash": "0xfe2ea6623b8c198e374336daad878da5cc46d0c0fab93fbce4623a4b1e2da531"
},
"proxies": [
{
"address": "0x41198b022A912A0133cF8CefcE114F1af65daFAB",
"txHash": "0x8b103c7879308f05a845c1388ca511588eb90b09573fe2e2b81c0375e4ea6db9",
"kind": "transparent"
}
],
"impls": {
"a5c4d1541a917c4a437ff6778252fe52280f098d0ae95696d86f7642a6b8d3dc": {
"address": "0x506625f6269Ecc8ec31E4246eecF09C16cC49555",
"txHash": "0xbf9ef9650c46b825c3f76e19b1df47b609777b7c0dc5656a444931826e679490",
"layout": {
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:62",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:67"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:36"
},
{
"label": "__gap",
"offset": 0,
"slot": "51",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC165Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/introspection/ERC165Upgradeable.sol:41"
},
{
"label": "_name",
"offset": 0,
"slot": "101",
"type": "t_string_storage",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:25"
},
{
"label": "_symbol",
"offset": 0,
"slot": "102",
"type": "t_string_storage",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:28"
},
{
"label": "_owners",
"offset": 0,
"slot": "103",
"type": "t_mapping(t_uint256,t_address)",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:31"
},
{
"label": "_balances",
"offset": 0,
"slot": "104",
"type": "t_mapping(t_address,t_uint256)",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:34"
},
{
"label": "_tokenApprovals",
"offset": 0,
"slot": "105",
"type": "t_mapping(t_uint256,t_address)",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:37"
},
{
"label": "_operatorApprovals",
"offset": 0,
"slot": "106",
"type": "t_mapping(t_address,t_mapping(t_address,t_bool))",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:40"
},
{
"label": "__gap",
"offset": 0,
"slot": "107",
"type": "t_array(t_uint256)44_storage",
"contract": "ERC721Upgradeable",
"src": "@openzeppelin/contracts-upgradeable/token/ERC721/ERC721Upgradeable.sol:465"
},
{
"label": "_metadata",
"offset": 0,
"slot": "151",
"type": "t_mapping(t_uint256,t_bytes_storage)",
"contract": "VersionedERC721V2",
"src": "contracts/VersionedERC721V2.sol:8"
},
{
"label": "_owner",
"offset": 0,
"slot": "152",
"type": "t_address",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:22"
},
{
"label": "__gap",
"offset": 0,
"slot": "153",
"type": "t_array(t_uint256)49_storage",
"contract": "OwnableUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol:94"
},
{
"label": "_uri",
"offset": 0,
"slot": "202",
"type": "t_string_storage",
"contract": "ResearchObjectV2",
"src": "contracts/ResearchObjectV2.sol:9"
},
{
"label": "_dpidRegistry",
"offset": 0,
"slot": "203",
"type": "t_address",
"contract": "ResearchObjectV2",
"src": "contracts/ResearchObjectV2.sol:11"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint256)44_storage": {
"label": "uint256[44]",
"numberOfBytes": "1408"
},
"t_array(t_uint256)49_storage": {
"label": "uint256[49]",
"numberOfBytes": "1568"
},
"t_array(t_uint256)50_storage": {
"label": "uint256[50]",
"numberOfBytes": "1600"
},
"t_bool": {
"label": "bool",
"numberOfBytes": "1"
},
"t_bytes_storage": {
"label": "bytes",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_bool)": {
"label": "mapping(address => bool)",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_mapping(t_address,t_bool))": {
"label": "mapping(address => mapping(address => bool))",
"numberOfBytes": "32"
},
"t_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_address)": {
"label": "mapping(uint256 => address)",
"numberOfBytes": "32"
},
"t_mapping(t_uint256,t_bytes_storage)": {
"label": "mapping(uint256 => bytes)",
"numberOfBytes": "32"
},
"t_string_storage": {
"label": "string",
"numberOfBytes": "32"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
}
}
}
}
}
Loading

0 comments on commit 17f998a

Please sign in to comment.