  - kind: ethereum/contract
    name: {id}
    network: {chain}
    source:
      address: '{address}'
      abi: ICrowdSale
      startBlock: {startBlock}
    mapping:
      kind: ethereum/events
      apiVersion: 0.0.5
      language: wasm/assemblyscript
      entities:
        - ExampleCrowdSale
      abis:
        - name: ICrowdSale
          file: {root}/out/ICrowdSale.sol/ICrowdSale.json
      eventHandlers:
        - event: TokensPurchased(indexed address,indexed address,uint256,uint256)
          handler: handleTokensPurchased
      file: {file}
