Skip to content

Commit

Permalink
contract and subgraph deployment for sepolia
Browse files Browse the repository at this point in the history
  • Loading branch information
portuu3 committed Oct 10, 2024
1 parent c3737b5 commit f0c79c6
Show file tree
Hide file tree
Showing 3 changed files with 157 additions and 2 deletions.
155 changes: 155 additions & 0 deletions packages/core/.openzeppelin/sepolia.json
Original file line number Diff line number Diff line change
@@ -0,0 +1,155 @@
{
"manifestVersion": "3.2",
"proxies": [
{
"address": "0xD6D347ba6987519B4e42EcED43dF98eFf5465a23",
"kind": "uups"
}
],
"impls": {
"8f46915f080bd2c4aa5a6afda740be550afce0a0e2bd86937e08cbf1a49344c3": {
"address": "0x3C14F4900F5f59F29f8B684394A2748a71531dd7",
"txHash": "0x35856a60378cc34e57106ed2f650cc463e8cab5abf727d431c2ee2f6cd99b8da",
"layout": {
"solcVersion": "0.8.23",
"storage": [
{
"label": "_initialized",
"offset": 0,
"slot": "0",
"type": "t_uint8",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:63",
"retypedFrom": "bool"
},
{
"label": "_initializing",
"offset": 1,
"slot": "0",
"type": "t_bool",
"contract": "Initializable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol:68"
},
{
"label": "__gap",
"offset": 0,
"slot": "1",
"type": "t_array(t_uint256)50_storage",
"contract": "ContextUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/utils/ContextUpgradeable.sol:40"
},
{
"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": "__gap",
"offset": 0,
"slot": "101",
"type": "t_array(t_uint256)50_storage",
"contract": "ERC1967UpgradeUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol:169"
},
{
"label": "__gap",
"offset": 0,
"slot": "151",
"type": "t_array(t_uint256)50_storage",
"contract": "UUPSUpgradeable",
"src": "@openzeppelin/contracts-upgradeable/proxy/utils/UUPSUpgradeable.sol:111"
},
{
"label": "counter",
"offset": 0,
"slot": "201",
"type": "t_uint256",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:16"
},
{
"label": "escrowCounters",
"offset": 0,
"slot": "202",
"type": "t_mapping(t_address,t_uint256)",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:17"
},
{
"label": "lastEscrow",
"offset": 0,
"slot": "203",
"type": "t_address",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:18"
},
{
"label": "staking",
"offset": 0,
"slot": "204",
"type": "t_address",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:19"
},
{
"label": "__gap",
"offset": 0,
"slot": "205",
"type": "t_array(t_uint256)46_storage",
"contract": "EscrowFactory",
"src": "contracts/EscrowFactory.sol:80"
}
],
"types": {
"t_address": {
"label": "address",
"numberOfBytes": "20"
},
"t_array(t_uint256)46_storage": {
"label": "uint256[46]",
"numberOfBytes": "1472"
},
"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_mapping(t_address,t_uint256)": {
"label": "mapping(address => uint256)",
"numberOfBytes": "32"
},
"t_uint256": {
"label": "uint256",
"numberOfBytes": "32"
},
"t_uint8": {
"label": "uint8",
"numberOfBytes": "1"
}
},
"namespaces": {}
},
"allAddresses": [
"0x3C14F4900F5f59F29f8B684394A2748a71531dd7"
]
}
}
}
Original file line number Diff line number Diff line change
Expand Up @@ -74,7 +74,7 @@ class OrderDirection(Enum):
"https://api.studio.thegraph.com/query/74256/sepolia/version/latest"
),
"subgraph_url_api_key": (
"https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmfCCRC1cGKWuoRtaj2ZJKyaw97Ry15TbGiC4u3veTq8iX"
"https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmfV43CMjRuzr4moz4t5f7eUuNaYb8Ycmpdt37vWRodetE"
),
"hmt_address": "0x792abbcC99c01dbDec49c9fa9A828a186Da45C33",
"factory_address": "0xD6D347ba6987519B4e42EcED43dF98eFf5465a23",
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ export const NETWORKS: {
subgraphUrl:
'https://api.studio.thegraph.com/query/74256/sepolia/version/latest',
subgraphUrlApiKey:
'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmfCCRC1cGKWuoRtaj2ZJKyaw97Ry15TbGiC4u3veTq8iX',
'https://gateway-arbitrum.network.thegraph.com/api/[SUBGRAPH_API_KEY]/deployments/id/QmfV43CMjRuzr4moz4t5f7eUuNaYb8Ycmpdt37vWRodetE',
oldSubgraphUrl: '',
oldFactoryAddress: '',
},
Expand Down

0 comments on commit f0c79c6

Please sign in to comment.