Skip to content

Commit

Permalink
Update ormpipe index (#147)
Browse files Browse the repository at this point in the history
* update contract address and add sepolia

* update subgraph config

* update config

* Update subapi contract

* Updat subgraph

* update contract address

* update oracle contract address

* update start block for oracle contract

* merge oracle and relayer to message accepted

* remove dispatched from message accepted

* update ipfs server

* update contract

* rename arbitrum to arbitrum-one
  • Loading branch information
fewensa authored Dec 12, 2023
1 parent b160483 commit cb33e93
Show file tree
Hide file tree
Showing 15 changed files with 737 additions and 299 deletions.
99 changes: 67 additions & 32 deletions thegraph/packages/ormpipe/abis/Subapi.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@
{
"inputs": [
{ "internalType": "address", "name": "dao", "type": "address" },
{ "internalType": "address", "name": "rrp", "type": "address" },
{ "internalType": "address", "name": "ormp", "type": "address" }
],
"stateMutability": "nonpayable",
Expand All @@ -10,6 +11,12 @@
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
Expand All @@ -18,6 +25,7 @@
},
{
"components": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "address", "name": "airnode", "type": "address" },
{
"internalType": "bytes32",
Expand All @@ -43,6 +51,12 @@
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
},
{
"components": [
{ "internalType": "uint256", "name": "count", "type": "uint256" },
Expand Down Expand Up @@ -85,6 +99,12 @@
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
Expand Down Expand Up @@ -142,6 +162,12 @@
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "chainId",
"type": "uint256"
},
{
"indexed": true,
"internalType": "bytes32",
Expand All @@ -152,6 +178,19 @@
"name": "RemoveBeacon",
"type": "event"
},
{
"anonymous": false,
"inputs": [
{
"indexed": true,
"internalType": "uint256",
"name": "fee",
"type": "uint256"
}
],
"name": "SetFee",
"type": "event"
},
{
"anonymous": false,
"inputs": [
Expand Down Expand Up @@ -191,8 +230,10 @@
},
{
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{
"components": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "address", "name": "airnode", "type": "address" },
{
"internalType": "bytes32",
Expand All @@ -218,6 +259,7 @@
},
{
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "bytes32[]", "name": "beaconIds", "type": "bytes32[]" }
],
"name": "aggregateBeacons",
Expand All @@ -239,8 +281,10 @@
"type": "function"
},
{
"inputs": [],
"name": "beaconsLength",
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" }
],
"name": "beaconsLengthOf",
"outputs": [{ "internalType": "uint256", "name": "", "type": "uint256" }],
"stateMutability": "view",
"type": "function"
Expand All @@ -249,6 +293,7 @@
"inputs": [
{
"components": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "address", "name": "airnode", "type": "address" },
{
"internalType": "bytes32",
Expand Down Expand Up @@ -346,8 +391,10 @@
"type": "function"
},
{
"inputs": [],
"name": "getRequestFee",
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" }
],
"name": "getRequestFeeOf",
"outputs": [
{ "internalType": "address", "name": "", "type": "address" },
{ "internalType": "uint256", "name": "", "type": "uint256" }
Expand All @@ -366,6 +413,7 @@
},
{
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "bytes32", "name": "beaconId", "type": "bytes32" }
],
"name": "isBeaconExist",
Expand All @@ -376,24 +424,22 @@
{
"inputs": [],
"name": "localCommitment",
"outputs": [{ "internalType": "bytes", "name": "", "type": "bytes" }],
"outputs": [
{ "internalType": "uint256", "name": "count", "type": "uint256" },
{ "internalType": "bytes32", "name": "root", "type": "bytes32" }
],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "messageRoot",
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" }
],
"name": "messageRootOf",
"outputs": [{ "internalType": "bytes32", "name": "", "type": "bytes32" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [],
"name": "name",
"outputs": [{ "internalType": "string", "name": "", "type": "string" }],
"stateMutability": "view",
"type": "function"
},
{
"inputs": [
{
Expand Down Expand Up @@ -435,8 +481,10 @@
"type": "function"
},
{
"inputs": [],
"name": "remoteCommitment",
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" }
],
"name": "remoteCommitmentOf",
"outputs": [
{ "internalType": "uint256", "name": "count", "type": "uint256" },
{ "internalType": "bytes32", "name": "root", "type": "bytes32" }
Expand All @@ -446,6 +494,7 @@
},
{
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "bytes32", "name": "beaconId", "type": "bytes32" }
],
"name": "removeBeacon",
Expand All @@ -462,8 +511,10 @@
},
{
"inputs": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{
"components": [
{ "internalType": "uint256", "name": "chainId", "type": "uint256" },
{ "internalType": "address", "name": "airnode", "type": "address" },
{
"internalType": "bytes32",
Expand All @@ -487,15 +538,6 @@
"stateMutability": "payable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "_airnodeRrp", "type": "address" }
],
"name": "setAirnodeRrp",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "uint256", "name": "fee_", "type": "uint256" }
Expand All @@ -505,13 +547,6 @@
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [{ "internalType": "string", "name": "name_", "type": "string" }],
"name": "setName",
"outputs": [],
"stateMutability": "nonpayable",
"type": "function"
},
{
"inputs": [
{ "internalType": "address", "name": "newOwner", "type": "address" }
Expand Down
16 changes: 8 additions & 8 deletions thegraph/packages/ormpipe/networks.json
Original file line number Diff line number Diff line change
@@ -1,10 +1,10 @@
{
"arbitrum-sepolia": {
"Subapi": {
"address": "0x00000000007317c91F57D86A410934A490E62E1E"
"address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6"
},
"OrmpOracle": {
"address": "0x0000000000ba03146Cc235509E802873D418a6bc"
"address": "0x00000000046bc530804d66B6b64f7aF69B4E4E81"
},
"OrmpRelayer": {
"address": "0x0000000000808fE9bDCc1d180EfbF5C53552a6b1"
Expand All @@ -15,10 +15,10 @@
},
"crab": {
"Subapi": {
"address": "0x00000000007317c91F57D86A410934A490E62E1E"
"address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6"
},
"OrmpOracle": {
"address": "0x0000000000ba03146Cc235509E802873D418a6bc"
"address": "0x00000000046bc530804d66B6b64f7aF69B4E4E81"
},
"OrmpRelayer": {
"address": "0x0000000000808fE9bDCc1d180EfbF5C53552a6b1"
Expand All @@ -29,10 +29,10 @@
},
"darwinia": {
"Subapi": {
"address": "0x00000000007317c91F57D86A410934A490E62E1E"
"address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6"
},
"OrmpOracle": {
"address": "0x0000000000ba03146Cc235509E802873D418a6bc"
"address": "0x00000000046bc530804d66B6b64f7aF69B4E4E81"
},
"OrmpRelayer": {
"address": "0x0000000000808fE9bDCc1d180EfbF5C53552a6b1"
Expand All @@ -43,10 +43,10 @@
},
"arbitrum": {
"Subapi": {
"address": "0x00000000007317c91F57D86A410934A490E62E1E"
"address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6"
},
"OrmpOracle": {
"address": "0x0000000000ba03146Cc235509E802873D418a6bc"
"address": "0x00000000046bc530804d66B6b64f7aF69B4E4E81"
},
"OrmpRelayer": {
"address": "0x0000000000808fE9bDCc1d180EfbF5C53552a6b1"
Expand Down
Loading

0 comments on commit cb33e93

Please sign in to comment.