diff --git a/relayer-subgraph-inbox/build/VeaInbox/VeaInbox.wasm b/relayer-subgraph-inbox/build/VeaInbox/VeaInbox.wasm deleted file mode 100644 index 9dfa8a2e..00000000 Binary files a/relayer-subgraph-inbox/build/VeaInbox/VeaInbox.wasm and /dev/null differ diff --git a/relayer-subgraph-inbox/build/contracts/deployments/arbitrumGoerli/VeaInbox.json b/relayer-subgraph-inbox/build/contracts/deployments/arbitrumGoerli/VeaInbox.json deleted file mode 100644 index 2c977152..00000000 --- a/relayer-subgraph-inbox/build/contracts/deployments/arbitrumGoerli/VeaInbox.json +++ /dev/null @@ -1,222 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "_epochPeriod", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_veaOutbox", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "ticketId", - "type": "bytes32" - } - ], - "name": "Hearbeat", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "nodeData", - "type": "bytes" - } - ], - "name": "MessageSent", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "stateRoot", - "type": "bytes32" - } - ], - "name": "SnapshotSaved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "uint256", - "name": "epochSent", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "ticketId", - "type": "bytes32" - } - ], - "name": "SnapshotSent", - "type": "event" - }, - { - "inputs": [], - "name": "ARB_SYS", - "outputs": [ - { - "internalType": "contract IArbSys", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "count", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "epochPeriod", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "inbox", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "saveSnapshot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [], - "name": "sendHeartbeat", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "to", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "fnSelector", - "type": "bytes4" - }, - { - "internalType": "bytes", - "name": "data", - "type": "bytes" - } - ], - "name": "sendMessage", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "epochSend", - "type": "uint256" - } - ], - "name": "sendSnapshot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "snapshots", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "veaOutbox", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } -] diff --git a/relayer-subgraph-inbox/build/contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json b/relayer-subgraph-inbox/build/contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json deleted file mode 100644 index 9fb574af..00000000 --- a/relayer-subgraph-inbox/build/contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json +++ /dev/null @@ -1,269 +0,0 @@ -[ - { - "inputs": [ - { - "internalType": "uint256", - "name": "_epochPeriod", - "type": "uint256" - }, - { - "internalType": "address", - "name": "_veaOutboxArbToEth", - "type": "address" - } - ], - "stateMutability": "nonpayable", - "type": "constructor" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes", - "name": "_nodeData", - "type": "bytes" - } - ], - "name": "MessageSent", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": false, - "internalType": "bytes32", - "name": "_snapshot", - "type": "bytes32" - }, - { - "indexed": false, - "internalType": "uint256", - "name": "_epoch", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "uint64", - "name": "_count", - "type": "uint64" - } - ], - "name": "SnapshotSaved", - "type": "event" - }, - { - "anonymous": false, - "inputs": [ - { - "indexed": true, - "internalType": "uint256", - "name": "_epochSent", - "type": "uint256" - }, - { - "indexed": false, - "internalType": "bytes32", - "name": "_ticketId", - "type": "bytes32" - } - ], - "name": "SnapshotSent", - "type": "event" - }, - { - "inputs": [], - "name": "count", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_timestamp", - "type": "uint256" - } - ], - "name": "epochAt", - "outputs": [ - { - "internalType": "uint256", - "name": "epoch", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "epochFinalized", - "outputs": [ - { - "internalType": "uint256", - "name": "epoch", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "epochNow", - "outputs": [ - { - "internalType": "uint256", - "name": "epoch", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "epochPeriod", - "outputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "saveSnapshot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "address", - "name": "_to", - "type": "address" - }, - { - "internalType": "bytes4", - "name": "_fnSelector", - "type": "bytes4" - }, - { - "internalType": "bytes", - "name": "_data", - "type": "bytes" - } - ], - "name": "sendMessage", - "outputs": [ - { - "internalType": "uint64", - "name": "", - "type": "uint64" - } - ], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "_epoch", - "type": "uint256" - }, - { - "components": [ - { - "internalType": "bytes32", - "name": "stateRoot", - "type": "bytes32" - }, - { - "internalType": "address", - "name": "claimer", - "type": "address" - }, - { - "internalType": "uint32", - "name": "timestampClaimed", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "timestampVerification", - "type": "uint32" - }, - { - "internalType": "uint32", - "name": "blocknumberVerification", - "type": "uint32" - }, - { - "internalType": "enum Party", - "name": "honest", - "type": "uint8" - }, - { - "internalType": "address", - "name": "challenger", - "type": "address" - } - ], - "internalType": "struct Claim", - "name": "_claim", - "type": "tuple" - } - ], - "name": "sendSnapshot", - "outputs": [], - "stateMutability": "nonpayable", - "type": "function" - }, - { - "inputs": [ - { - "internalType": "uint256", - "name": "", - "type": "uint256" - } - ], - "name": "snapshots", - "outputs": [ - { - "internalType": "bytes32", - "name": "", - "type": "bytes32" - } - ], - "stateMutability": "view", - "type": "function" - }, - { - "inputs": [], - "name": "veaOutboxArbToEth", - "outputs": [ - { - "internalType": "address", - "name": "", - "type": "address" - } - ], - "stateMutability": "view", - "type": "function" - } -] diff --git a/relayer-subgraph-inbox/build/schema.graphql b/relayer-subgraph-inbox/build/schema.graphql deleted file mode 100644 index 17cb2475..00000000 --- a/relayer-subgraph-inbox/build/schema.graphql +++ /dev/null @@ -1,46 +0,0 @@ -type MessageSent @entity(immutable: true) { - id: Bytes! - nonce: BigInt! # uint64 - to: Receiver! # address - msgSender: Sender! # address - data: Bytes! # bytes - epoch: BigInt! # uint64 - node: Node! # bytes32 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type Node @entity(immutable: true) { - id: ID! - hash: Bytes! # bytes32 -} - -type Receiver @entity(immutable: true) { - id: Bytes! - messages: [MessageSent!]! @derivedFrom(field: "to") -} - -type Sender @entity(immutable: true) { - id: Bytes! - messages: [MessageSent!]! @derivedFrom(field: "msgSender") -} - -type SnapshotSaved @entity(immutable: true) { - id: Bytes! - stateRoot: Bytes! # bytes32 - epoch: BigInt! # uint64 - count: BigInt! # uint64 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SnapshotSent @entity(immutable: true) { - id: Bytes! - epochSent: BigInt! # uint256 - ticketId: Bytes! # bytes32 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} diff --git a/relayer-subgraph-inbox/build/subgraph.yaml b/relayer-subgraph-inbox/build/subgraph.yaml deleted file mode 100644 index c698c76d..00000000 --- a/relayer-subgraph-inbox/build/subgraph.yaml +++ /dev/null @@ -1,30 +0,0 @@ -specVersion: 0.0.5 -schema: - file: schema.graphql -dataSources: - - kind: ethereum - name: VeaInbox - network: arbitrum-sepolia - source: - address: "0x77e95F54032f467eC45c48C6affc203f93858783" - abi: VeaInbox - startBlock: 18210847 - mapping: - kind: ethereum/events - apiVersion: 0.0.7 - language: wasm/assemblyscript - entities: - - MessageSent - - SnapshotSaved - - StaterootSent - abis: - - name: VeaInbox - file: contracts/deployments/arbitrumSepolia/VeaInboxArbToEthDevnet.json - eventHandlers: - - event: MessageSent(bytes) - handler: handleMessageSent - - event: SnapshotSaved(bytes32,uint256,uint64) - handler: handleSnapshotSaved - - event: SnapshotSent(indexed uint256,bytes32) - handler: handleSnapshotSent - file: VeaInbox/VeaInbox.wasm