From 57ffcbf5eaddbabc20d5f0d5fc3ffe0b014c8c9c Mon Sep 17 00:00:00 2001 From: fewensa Date: Wed, 22 Nov 2023 02:54:47 +0000 Subject: [PATCH] update contract address and add sepolia --- thegraph/packages/ormpipe/networks.json | 10 +- thegraph/packages/ormpipe/schema.graphql | 155 +++++++++--------- .../ormpipe/subgraph-arbitrum-sepolia.yaml | 41 ----- .../packages/ormpipe/subgraph-arbitrum.yaml | 82 ++++----- thegraph/packages/ormpipe/subgraph-crab.yaml | 83 +++++----- .../packages/ormpipe/subgraph-darwinia.yaml | 83 +++++----- .../packages/ormpipe/subgraph-sepolia.yaml | 135 +++++++++++++++ 7 files changed, 342 insertions(+), 247 deletions(-) create mode 100644 thegraph/packages/ormpipe/subgraph-sepolia.yaml diff --git a/thegraph/packages/ormpipe/networks.json b/thegraph/packages/ormpipe/networks.json index 665f90f..53abfff 100644 --- a/thegraph/packages/ormpipe/networks.json +++ b/thegraph/packages/ormpipe/networks.json @@ -1,7 +1,7 @@ { "arbitrum-sepolia": { "Subapi": { - "address": "0x00000000007317c91F57D86A410934A490E62E1E" + "address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" }, "OrmpOracle": { "address": "0x0000000000ba03146Cc235509E802873D418a6bc" @@ -15,7 +15,7 @@ }, "crab": { "Subapi": { - "address": "0x00000000007317c91F57D86A410934A490E62E1E" + "address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" }, "OrmpOracle": { "address": "0x0000000000ba03146Cc235509E802873D418a6bc" @@ -29,7 +29,7 @@ }, "darwinia": { "Subapi": { - "address": "0x00000000007317c91F57D86A410934A490E62E1E" + "address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" }, "OrmpOracle": { "address": "0x0000000000ba03146Cc235509E802873D418a6bc" @@ -43,7 +43,7 @@ }, "arbitrum": { "Subapi": { - "address": "0x00000000007317c91F57D86A410934A490E62E1E" + "address": "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" }, "OrmpOracle": { "address": "0x0000000000ba03146Cc235509E802873D418a6bc" @@ -55,4 +55,4 @@ "address": "0x00000000001523057a05d6293C1e5171eE33eE0A" } } -} +} \ No newline at end of file diff --git a/thegraph/packages/ormpipe/schema.graphql b/thegraph/packages/ormpipe/schema.graphql index 9f696a7..4b92ffa 100644 --- a/thegraph/packages/ormpipe/schema.graphql +++ b/thegraph/packages/ormpipe/schema.graphql @@ -1,81 +1,3 @@ -## === subapi - -type SubapiAddBeacon @entity(immutable: true) { - id: Bytes! - beaconId: Bytes! # bytes32 - beacon_airnode: Bytes! # address - beacon_endpointId: Bytes! # bytes32 - beacon_sponsor: Bytes! # address - beacon_sponsorWallet: Bytes! # address - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiAggregatedORMPData @entity(immutable: true) { - id: Bytes! - ormpData_count: BigInt! # uint256 - ormpData_root: Bytes! # bytes32 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiAirnodeRrpCompleted @entity(immutable: true) { - id: Bytes! - beaconId: Bytes! # bytes32 - requestId: Bytes! # bytes32 - data: Bytes! # bytes - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiAirnodeRrpRequested @entity(immutable: true) { - id: Bytes! - beaconId: Bytes! # bytes32 - requestId: Bytes! # bytes32 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiOwnershipTransferStarted @entity(immutable: true) { - id: Bytes! - previousOwner: Bytes! # address - newOwner: Bytes! # address - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiOwnershipTransferred @entity(immutable: true) { - id: Bytes! - previousOwner: Bytes! # address - newOwner: Bytes! # address - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiRemoveBeacon @entity(immutable: true) { - id: Bytes! - beaconId: Bytes! # bytes32 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - -type SubapiSubAPIFeedUpdated @entity(immutable: true) { - id: Bytes! - beaconId: Bytes! # bytes32 - msgRoot_count: BigInt! # uint256 - msgRoot_root: Bytes! # bytes32 - blockNumber: BigInt! - blockTimestamp: BigInt! - transactionHash: Bytes! -} - ## ======= ormp oracle type OrmpOracleAssigned @entity(immutable: true) { id: Bytes! @@ -201,3 +123,80 @@ type OrmpProtocolSetDefaultConfig @entity(immutable: true) { blockTimestamp: BigInt! transactionHash: Bytes! } + +# == +type SubapiAddBeacon @entity(immutable: true) { + id: Bytes! + beaconId: Bytes! # bytes32 + beacon_airnode: Bytes! # address + beacon_endpointId: Bytes! # bytes32 + beacon_sponsor: Bytes! # address + beacon_sponsorWallet: Bytes! # address + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiAggregatedORMPData @entity(immutable: true) { + id: Bytes! + ormpData_count: BigInt! # uint256 + ormpData_root: Bytes! # bytes32 + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiAirnodeRrpCompleted @entity(immutable: true) { + id: Bytes! + beaconId: Bytes! # bytes32 + requestId: Bytes! # bytes32 + data: Bytes! # bytes + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiAirnodeRrpRequested @entity(immutable: true) { + id: Bytes! + beaconId: Bytes! # bytes32 + requestId: Bytes! # bytes32 + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiOwnershipTransferStarted @entity(immutable: true) { + id: Bytes! + previousOwner: Bytes! # address + newOwner: Bytes! # address + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiOwnershipTransferred @entity(immutable: true) { + id: Bytes! + previousOwner: Bytes! # address + newOwner: Bytes! # address + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiRemoveBeacon @entity(immutable: true) { + id: Bytes! + beaconId: Bytes! # bytes32 + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} + +type SubapiSubAPIFeedUpdated @entity(immutable: true) { + id: Bytes! + beaconId: Bytes! # bytes32 + msgRoot_count: BigInt! # uint256 + msgRoot_root: Bytes! # bytes32 + blockNumber: BigInt! + blockTimestamp: BigInt! + transactionHash: Bytes! +} diff --git a/thegraph/packages/ormpipe/subgraph-arbitrum-sepolia.yaml b/thegraph/packages/ormpipe/subgraph-arbitrum-sepolia.yaml index 3434e38..488fed0 100644 --- a/thegraph/packages/ormpipe/subgraph-arbitrum-sepolia.yaml +++ b/thegraph/packages/ormpipe/subgraph-arbitrum-sepolia.yaml @@ -2,47 +2,6 @@ specVersion: 0.0.5 schema: file: ./schema.graphql dataSources: - - kind: ethereum - name: Subapi - network: arbitrum-sepolia - source: - address: "0x00000000007317c91F57D86A410934A490E62E1E" - abi: Subapi - startBlock: 860721 - mapping: - kind: ethereum/events - apiVersion: 0.0.7 - language: wasm/assemblyscript - entities: - - SubapiAddBeacon - - SubapiAggregatedORMPData - - SubapiAirnodeRrpCompleted - - SubapiAirnodeRrpRequested - - SubapiOwnershipTransferStarted - - SubapiOwnershipTransferred - - SubapiRemoveBeacon - - SubapiSubAPIFeedUpdated - abis: - - name: Subapi - file: ./abis/Subapi.json - eventHandlers: - - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) - handler: handleAddBeacon - - event: AggregatedORMPData((uint256,bytes32)) - handler: handleAggregatedORMPData - - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) - handler: handleAirnodeRrpCompleted - - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) - handler: handleAirnodeRrpRequested - - event: OwnershipTransferStarted(indexed address,indexed address) - handler: handleOwnershipTransferStarted - - event: OwnershipTransferred(indexed address,indexed address) - handler: handleOwnershipTransferred - - event: RemoveBeacon(indexed bytes32) - handler: handleRemoveBeacon - - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) - handler: handleSubAPIFeedUpdated - file: ./src/subapi.ts - kind: ethereum name: OrmpOracle network: arbitrum-sepolia diff --git a/thegraph/packages/ormpipe/subgraph-arbitrum.yaml b/thegraph/packages/ormpipe/subgraph-arbitrum.yaml index 6ce758d..1503680 100644 --- a/thegraph/packages/ormpipe/subgraph-arbitrum.yaml +++ b/thegraph/packages/ormpipe/subgraph-arbitrum.yaml @@ -2,47 +2,6 @@ specVersion: 0.0.5 schema: file: ./schema.graphql dataSources: - - kind: ethereum - name: Subapi - network: arbitrum - source: - address: "0x00000000007317c91F57D86A410934A490E62E1E" - abi: Subapi - startBlock: 148559805 - mapping: - kind: ethereum/events - apiVersion: 0.0.7 - language: wasm/assemblyscript - entities: - - SubapiAddBeacon - - SubapiAggregatedORMPData - - SubapiAirnodeRrpCompleted - - SubapiAirnodeRrpRequested - - SubapiOwnershipTransferStarted - - SubapiOwnershipTransferred - - SubapiRemoveBeacon - - SubapiSubAPIFeedUpdated - abis: - - name: Subapi - file: ./abis/Subapi.json - eventHandlers: - - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) - handler: handleAddBeacon - - event: AggregatedORMPData((uint256,bytes32)) - handler: handleAggregatedORMPData - - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) - handler: handleAirnodeRrpCompleted - - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) - handler: handleAirnodeRrpRequested - - event: OwnershipTransferStarted(indexed address,indexed address) - handler: handleOwnershipTransferStarted - - event: OwnershipTransferred(indexed address,indexed address) - handler: handleOwnershipTransferred - - event: RemoveBeacon(indexed bytes32) - handler: handleRemoveBeacon - - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) - handler: handleSubAPIFeedUpdated - file: ./src/subapi.ts - kind: ethereum name: OrmpOracle network: arbitrum @@ -131,4 +90,45 @@ dataSources: - event: SetDefaultConfig(address,address) handler: handleSetDefaultConfig file: ./src/ormp-protocol.ts + - kind: ethereum + name: Subapi + network: arbitrum + source: + address: "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" + abi: Subapi + startBlock: 0 # todo: update this. + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - SubapiAddBeacon + - SubapiAggregatedORMPData + - SubapiAirnodeRrpCompleted + - SubapiAirnodeRrpRequested + - SubapiOwnershipTransferStarted + - SubapiOwnershipTransferred + - SubapiRemoveBeacon + - SubapiSubAPIFeedUpdated + abis: + - name: Subapi + file: ./abis/Subapi.json + eventHandlers: + - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) + handler: handleAddBeacon + - event: AggregatedORMPData((uint256,bytes32)) + handler: handleAggregatedORMPData + - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) + handler: handleAirnodeRrpCompleted + - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) + handler: handleAirnodeRrpRequested + - event: OwnershipTransferStarted(indexed address,indexed address) + handler: handleOwnershipTransferStarted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: RemoveBeacon(indexed bytes32) + handler: handleRemoveBeacon + - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) + handler: handleSubAPIFeedUpdated + file: ./src/subapi.ts diff --git a/thegraph/packages/ormpipe/subgraph-crab.yaml b/thegraph/packages/ormpipe/subgraph-crab.yaml index a3fd262..10c19a5 100644 --- a/thegraph/packages/ormpipe/subgraph-crab.yaml +++ b/thegraph/packages/ormpipe/subgraph-crab.yaml @@ -2,47 +2,6 @@ specVersion: 0.0.5 schema: file: ./schema.graphql dataSources: - - kind: ethereum - name: Subapi - network: crab - source: - address: "0x00000000007317c91F57D86A410934A490E62E1E" - abi: Subapi - startBlock: 1658402 - mapping: - kind: ethereum/events - apiVersion: 0.0.7 - language: wasm/assemblyscript - entities: - - SubapiAddBeacon - - SubapiAggregatedORMPData - - SubapiAirnodeRrpCompleted - - SubapiAirnodeRrpRequested - - SubapiOwnershipTransferStarted - - SubapiOwnershipTransferred - - SubapiRemoveBeacon - - SubapiSubAPIFeedUpdated - abis: - - name: Subapi - file: ./abis/Subapi.json - eventHandlers: - - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) - handler: handleAddBeacon - - event: AggregatedORMPData((uint256,bytes32)) - handler: handleAggregatedORMPData - - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) - handler: handleAirnodeRrpCompleted - - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) - handler: handleAirnodeRrpRequested - - event: OwnershipTransferStarted(indexed address,indexed address) - handler: handleOwnershipTransferStarted - - event: OwnershipTransferred(indexed address,indexed address) - handler: handleOwnershipTransferred - - event: RemoveBeacon(indexed bytes32) - handler: handleRemoveBeacon - - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) - handler: handleSubAPIFeedUpdated - file: ./src/subapi.ts - kind: ethereum name: OrmpOracle network: crab @@ -131,4 +90,46 @@ dataSources: - event: SetDefaultConfig(address,address) handler: handleSetDefaultConfig file: ./src/ormp-protocol.ts + - kind: ethereum + name: Subapi + network: arbitrum + source: + address: "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" + abi: Subapi + startBlock: 1751241 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - SubapiAddBeacon + - SubapiAggregatedORMPData + - SubapiAirnodeRrpCompleted + - SubapiAirnodeRrpRequested + - SubapiOwnershipTransferStarted + - SubapiOwnershipTransferred + - SubapiRemoveBeacon + - SubapiSubAPIFeedUpdated + abis: + - name: Subapi + file: ./abis/Subapi.json + eventHandlers: + - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) + handler: handleAddBeacon + - event: AggregatedORMPData((uint256,bytes32)) + handler: handleAggregatedORMPData + - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) + handler: handleAirnodeRrpCompleted + - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) + handler: handleAirnodeRrpRequested + - event: OwnershipTransferStarted(indexed address,indexed address) + handler: handleOwnershipTransferStarted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: RemoveBeacon(indexed bytes32) + handler: handleRemoveBeacon + - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) + handler: handleSubAPIFeedUpdated + file: ./src/subapi.ts + diff --git a/thegraph/packages/ormpipe/subgraph-darwinia.yaml b/thegraph/packages/ormpipe/subgraph-darwinia.yaml index 868e7fb..73a7f44 100644 --- a/thegraph/packages/ormpipe/subgraph-darwinia.yaml +++ b/thegraph/packages/ormpipe/subgraph-darwinia.yaml @@ -2,47 +2,6 @@ specVersion: 0.0.5 schema: file: ./schema.graphql dataSources: - - kind: ethereum - name: Subapi - network: darwinia - source: - address: "0x00000000007317c91F57D86A410934A490E62E1E" - abi: Subapi - startBlock: 1389567 - mapping: - kind: ethereum/events - apiVersion: 0.0.7 - language: wasm/assemblyscript - entities: - - SubapiAddBeacon - - SubapiAggregatedORMPData - - SubapiAirnodeRrpCompleted - - SubapiAirnodeRrpRequested - - SubapiOwnershipTransferStarted - - SubapiOwnershipTransferred - - SubapiRemoveBeacon - - SubapiSubAPIFeedUpdated - abis: - - name: Subapi - file: ./abis/Subapi.json - eventHandlers: - - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) - handler: handleAddBeacon - - event: AggregatedORMPData((uint256,bytes32)) - handler: handleAggregatedORMPData - - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) - handler: handleAirnodeRrpCompleted - - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) - handler: handleAirnodeRrpRequested - - event: OwnershipTransferStarted(indexed address,indexed address) - handler: handleOwnershipTransferStarted - - event: OwnershipTransferred(indexed address,indexed address) - handler: handleOwnershipTransferred - - event: RemoveBeacon(indexed bytes32) - handler: handleRemoveBeacon - - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) - handler: handleSubAPIFeedUpdated - file: ./src/subapi.ts - kind: ethereum name: OrmpOracle network: darwinia @@ -131,4 +90,46 @@ dataSources: - event: SetDefaultConfig(address,address) handler: handleSetDefaultConfig file: ./src/ormp-protocol.ts + - kind: ethereum + name: Subapi + network: arbitrum + source: + address: "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" + abi: Subapi + startBlock: 0 # todo: update this. + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - SubapiAddBeacon + - SubapiAggregatedORMPData + - SubapiAirnodeRrpCompleted + - SubapiAirnodeRrpRequested + - SubapiOwnershipTransferStarted + - SubapiOwnershipTransferred + - SubapiRemoveBeacon + - SubapiSubAPIFeedUpdated + abis: + - name: Subapi + file: ./abis/Subapi.json + eventHandlers: + - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) + handler: handleAddBeacon + - event: AggregatedORMPData((uint256,bytes32)) + handler: handleAggregatedORMPData + - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) + handler: handleAirnodeRrpCompleted + - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) + handler: handleAirnodeRrpRequested + - event: OwnershipTransferStarted(indexed address,indexed address) + handler: handleOwnershipTransferStarted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: RemoveBeacon(indexed bytes32) + handler: handleRemoveBeacon + - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) + handler: handleSubAPIFeedUpdated + file: ./src/subapi.ts + diff --git a/thegraph/packages/ormpipe/subgraph-sepolia.yaml b/thegraph/packages/ormpipe/subgraph-sepolia.yaml new file mode 100644 index 0000000..2ff18f0 --- /dev/null +++ b/thegraph/packages/ormpipe/subgraph-sepolia.yaml @@ -0,0 +1,135 @@ +specVersion: 0.0.5 +schema: + file: ./schema.graphql +dataSources: + - kind: ethereum + name: OrmpOracle + network: crab + source: + address: "0x0000000000ba03146Cc235509E802873D418a6bc" + abi: OrmpOracle + startBlock: 4728915 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - OrmpOracleAssigned + - OrmpOracleSetApproved + - OrmpOracleSetDapi + - OrmpOracleSetFee + abis: + - name: OrmpOracle + file: ./abis/OrmpOracle.json + eventHandlers: + - event: Assigned(indexed bytes32,uint256) + handler: handleAssigned + - event: SetApproved(address,bool) + handler: handleSetApproved + - event: SetDapi(indexed uint256,address) + handler: handleSetDapi + - event: SetFee(indexed uint256,uint256) + handler: handleSetFee + file: ./src/ormp-oracle.ts + - kind: ethereum + name: OrmpRelayer + network: crab + source: + address: "0x0000000000808fE9bDCc1d180EfbF5C53552a6b1" + abi: OrmpRelayer + startBlock: 4728915 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - OrmpRelayerAssigned + - OrmpRelayerSetApproved + - OrmpRelayerSetDstConfig + - OrmpRelayerSetDstPrice + abis: + - name: OrmpRelayer + file: ./abis/OrmpRelayer.json + eventHandlers: + - event: Assigned(indexed bytes32,uint256,bytes,bytes32[32]) + handler: handleAssigned + - event: SetApproved(address,bool) + handler: handleSetApproved + - event: SetDstConfig(indexed uint256,uint64,uint64) + handler: handleSetDstConfig + - event: SetDstPrice(indexed uint256,uint128,uint128) + handler: handleSetDstPrice + file: ./src/ormp-relayer.ts + - kind: ethereum + name: OrmpProtocol + network: crab + source: + address: "0x00000000001523057a05d6293C1e5171eE33eE0A" + abi: OrmpProtocol + startBlock: 4728915 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - OrmpProtocolAppConfigUpdated + - OrmpProtocolMessageAccepted + - OrmpProtocolMessageDispatched + - OrmpProtocolSetDefaultConfig + abis: + - name: OrmpProtocol + file: ./abis/OrmpProtocol.json + eventHandlers: + - event: AppConfigUpdated(indexed address,address,address) + handler: handleAppConfigUpdated + - event: MessageAccepted(indexed + bytes32,bytes32,(address,uint256,uint256,address,uint256,address,uint256,bytes)) + handler: handleMessageAccepted + - event: MessageDispatched(indexed bytes32,bool) + handler: handleMessageDispatched + - event: SetDefaultConfig(address,address) + handler: handleSetDefaultConfig + file: ./src/ormp-protocol.ts + - kind: ethereum + name: Subapi + network: arbitrum + source: + address: "0x00000000096c285629Fe3EAb3dd042c27b9dcBa6" + abi: Subapi + startBlock: 4735403 + mapping: + kind: ethereum/events + apiVersion: 0.0.7 + language: wasm/assemblyscript + entities: + - SubapiAddBeacon + - SubapiAggregatedORMPData + - SubapiAirnodeRrpCompleted + - SubapiAirnodeRrpRequested + - SubapiOwnershipTransferStarted + - SubapiOwnershipTransferred + - SubapiRemoveBeacon + - SubapiSubAPIFeedUpdated + abis: + - name: Subapi + file: ./abis/Subapi.json + eventHandlers: + - event: AddBeacon(indexed bytes32,(address,bytes32,address,address)) + handler: handleAddBeacon + - event: AggregatedORMPData((uint256,bytes32)) + handler: handleAggregatedORMPData + - event: AirnodeRrpCompleted(indexed bytes32,indexed bytes32,bytes) + handler: handleAirnodeRrpCompleted + - event: AirnodeRrpRequested(indexed bytes32,indexed bytes32) + handler: handleAirnodeRrpRequested + - event: OwnershipTransferStarted(indexed address,indexed address) + handler: handleOwnershipTransferStarted + - event: OwnershipTransferred(indexed address,indexed address) + handler: handleOwnershipTransferred + - event: RemoveBeacon(indexed bytes32) + handler: handleRemoveBeacon + - event: SubAPIFeedUpdated(indexed bytes32,(uint256,bytes32)) + handler: handleSubAPIFeedUpdated + file: ./src/subapi.ts + +