dataSources:
  - kind: ethereum
    mapping:
      abis:
        - file:
            /: /ipfs/QmTVu6wFAJujpXSWZDVQtQyGcH26xPRRR2YcmkjToTQe36
          name: PoolFactory
        - file:
            /: /ipfs/QmQVRDAV3TxF3AVUhNb6zMGY75uSYGbkybuuitF35Hj7ba
          name: PresalePool
        - file:
            /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2
          name: ERC20
      apiVersion: 0.0.6
      entities:
        - PoolFactory
      eventHandlers:
        - event: >-
            PresalePoolCreated(indexed
            address,(address,uint256,uint256,address,address,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,uint256,bool,uint256,(uint256,uint256)))
          handler: handlePresalePoolCreated
      file:
        /: /ipfs/QmWRdz5kPfUjcuUKM6sqmwpL8MMX64KpQNauAykgXQHsgP
      kind: ethereum/events
      language: wasm/assemblyscript
    name: PoolFactory
    network: bsc
    source:
      abi: PoolFactory
      address: '0x64cE12eAd2fBF51Ff9bFb36DFB69FAE0Af3BccEe'
      startBlock: 31645318
schema:
  file:
    /: /ipfs/QmSutQgqPQ91KDeyTPKybwQsJPA2AVDAeMD1Qq4Vi5iz2F
specVersion: 0.0.4
templates:
  - kind: ethereum/contract
    mapping:
      abis:
        - file:
            /: /ipfs/QmQVRDAV3TxF3AVUhNb6zMGY75uSYGbkybuuitF35Hj7ba
          name: PresalePool
        - file:
            /: /ipfs/QmXuTbDkNrN27VydxbS2huvKRk62PMgUTdPDWkxcr2w7j2
          name: ERC20
      apiVersion: 0.0.6
      entities:
        - PoolFactory
        - PoolContributor
      eventHandlers:
        - event: 'Finalized(indexed address,address,address,uint256,uint256)'
          handler: handleFinalized
        - event: 'Contributed(indexed address,uint256,address,uint256)'
          handler: handleContributed
        - event: 'Claimed(indexed address,uint256,uint256,address)'
          handler: handleClaimed
        - event: 'Cancelled(indexed address,uint256)'
          handler: handleCancelled
        - event: 'ContributionWithdrawn(indexed address,uint256,uint256,address)'
          handler: handleContributionWithdrawn
        - event: 'PoolTierChanged(uint256,uint256,uint256)'
          handler: handleTierChanged
        - event: 'PoolPublicStartAtChanged(uint256,uint256)'
          handler: handlePoolPublicStartAtChanged
      file:
        /: /ipfs/QmRK17fhNhMSyKCJfC96ZQBZDAcdt5xwsDoTSN52QfGXPY
      kind: ethereum/events
      language: wasm/assemblyscript
    name: PresalePool
    network: bsc
    source:
      abi: PresalePool