Skip to content

Commit

Permalink
add blast
Browse files Browse the repository at this point in the history
  • Loading branch information
fewensa committed Mar 5, 2024
1 parent fc9b11f commit c943de4
Showing 1 changed file with 99 additions and 0 deletions.
99 changes: 99 additions & 0 deletions thegraph/packages/ormpipe/subgraph-blast.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,99 @@
specVersion: 0.0.5
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: OrmpOracle
network: blast-mainnet
source:
address: "0x0000000003ebeF32D8f0ED406a5CA8805c80AFba"
abi: OrmpOracle
startBlock: 364290
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Assigned
- ImportedMessageRoot
- OwnershipTransferred
- SetApproved
- SetFee
- Withdrawal
abis:
- name: OrmpOracle
file: ./abis/OrmpOracle.json
eventHandlers:
- event: Assigned(indexed bytes32,uint256)
handler: handleAssigned
- event: ImportedMessageRoot(indexed uint256,indexed uint256,bytes32)
handler: handleImportedMessageRoot
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: SetApproved(address,bool)
handler: handleSetApproved
- event: SetFee(indexed uint256,uint256)
handler: handleSetFee
- event: Withdrawal(indexed address,uint256)
handler: handleWithdrawal
file: ./src/ormp-oracle.ts
- kind: ethereum
name: OrmpRelayer
network: blast-mainnet
source:
address: "0x0000000000808fE9bDCc1d180EfbF5C53552a6b1"
abi: OrmpRelayer
startBlock: 364290
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: blast-mainnet
source:
address: "0x00000000001523057a05d6293C1e5171eE33eE0A"
abi: OrmpProtocol
startBlock: 364290
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

0 comments on commit c943de4

Please sign in to comment.