mirror of
https://github.com/oceanprotocol/ocean-subgraph.git
synced 2024-12-02 05:57:29 +01:00
Revert "Removing pool events from subgraph.template.yaml"
This reverts commit 07ce9398a6
.
This commit is contained in:
parent
493a6d2546
commit
a733b27fa1
@ -49,6 +49,8 @@ dataSources:
|
|||||||
- name: ERC20
|
- name: ERC20
|
||||||
file: ./abis/ERC20.json
|
file: ./abis/ERC20.json
|
||||||
eventHandlers:
|
eventHandlers:
|
||||||
|
- event: NewPool(indexed address,bool)
|
||||||
|
handler: handleNewPool
|
||||||
- event: TokenAdded(indexed address,indexed address)
|
- event: TokenAdded(indexed address,indexed address)
|
||||||
handler: handleTokenAdded
|
handler: handleTokenAdded
|
||||||
- event: TokenRemoved(indexed address,indexed address)
|
- event: TokenRemoved(indexed address,indexed address)
|
||||||
@ -114,6 +116,43 @@ templates:
|
|||||||
- event: ProviderFee(indexed address,indexed address,uint256,bytes,uint8,bytes32,bytes32,uint256)
|
- event: ProviderFee(indexed address,indexed address,uint256,bytes,uint8,bytes32,bytes32,uint256)
|
||||||
handler: handleProviderFee
|
handler: handleProviderFee
|
||||||
|
|
||||||
|
- name: BPool
|
||||||
|
kind: ethereum/contract
|
||||||
|
network: __NETWORK__
|
||||||
|
source:
|
||||||
|
abi: BPool
|
||||||
|
mapping:
|
||||||
|
kind: ethereum/events
|
||||||
|
apiVersion: 0.0.6
|
||||||
|
language: wasm/assemblyscript
|
||||||
|
file: ./src/mappings/pool.ts
|
||||||
|
entities:
|
||||||
|
- BPool
|
||||||
|
abis:
|
||||||
|
- name: BPool
|
||||||
|
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/balancer/BPool.sol/BPool.json
|
||||||
|
- name: BToken
|
||||||
|
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/balancer/BToken.sol/BToken.json
|
||||||
|
- name: BMath
|
||||||
|
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/balancer/BMath.sol/BMath.json
|
||||||
|
- name: ERC20
|
||||||
|
file: ./abis/ERC20.json
|
||||||
|
eventHandlers:
|
||||||
|
- event: LOG_SWAP(indexed address,indexed address,indexed address,uint256,uint256,uint256,uint256,uint256,uint256)
|
||||||
|
handler: handleSwap
|
||||||
|
- event: LOG_JOIN(indexed address,indexed address,uint256,uint256)
|
||||||
|
handler: handleJoin
|
||||||
|
- event: LOG_EXIT(indexed address,indexed address,uint256,uint256)
|
||||||
|
handler: handleExit
|
||||||
|
- event: LOG_SETUP(indexed address,indexed address,uint256,uint256,indexed address,uint256,uint256)
|
||||||
|
handler: handleSetup
|
||||||
|
- event: Transfer(indexed address,indexed address,uint256)
|
||||||
|
handler: handlerBptTransfer
|
||||||
|
- event: PublishMarketFeeChanged(address,address,uint256)
|
||||||
|
handler: handlePublishMarketFeeChanged
|
||||||
|
- event: SwapFeeChanged(address,uint256)
|
||||||
|
handler: handleSwapFeeChanged
|
||||||
|
|
||||||
- name: ERC721Template
|
- name: ERC721Template
|
||||||
kind: ethereum/contract
|
kind: ethereum/contract
|
||||||
network: __NETWORK__
|
network: __NETWORK__
|
||||||
|
Loading…
Reference in New Issue
Block a user