specVersion: 0.0.2
description: PancakeSwap Timelock contract
repository: https://github.com/pancakeswap
schema:
  file: ./timelock.graphql
dataSources:
  - kind: ethereum/contract
    name: Timelock
    network: bsc
    source:
      address: '0xA1f482Dc58145Ba2210bC21878Ca34000E2e8fE4'
      abi: Timelock
      startBlock: 704262
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.4
      language: wasm/assemblyscript
      file: ../src/timelock/index.ts
      entities:
        - Timelock
      abis:
        - name: Timelock
          file: ../abis/Timelock.json
      eventHandlers:
        - event: CancelTransaction(indexed bytes32,indexed address,uint256,string,bytes,uint256)
          handler: handleCanceledTransaction
        - event: ExecuteTransaction(indexed bytes32,indexed address,uint256,string,bytes,uint256)
          handler: handleExecutedTransaction
        - event: QueueTransaction(indexed bytes32,indexed address,uint256,string,bytes,uint256)
          handler: handleQueuedTransaction
