-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
46 lines (46 loc) · 1.53 KB
/
subgraph.yaml
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
specVersion: 0.0.5
description: 0x ExchangeProxy V4
repository: https://github.com/DexKit/0x-nft-v4-subgraph
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum/contract
name: ExchangeProxy
network: arbitrum-one
source:
abi: IZeroEx
address: "0xdef1c0ded9bec7f1a1670819833240f027b25eff"
startBlock: 4050713
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Transaction
- Token
- Fill
- Taker
- NativeOrderFill
- ERC721OrderFill
- ERC71155OrderFill
abis:
- name: IZeroEx
file: ./abis/IZeroEx.json
- name: ERC20
file: ./abis/ERC20.json
- name: ERC721
file: ./abis/ERC721.json
- name: IERC721Metadata
file: ./abis/IERC721Metadata.json
- name: ERC1155
file: ./abis/ERC1155Mintable.json
- name: ERC20SymbolBytes
file: ./abis/ERC20SymbolBytes.json
eventHandlers:
- event: LimitOrderFilled(bytes32,address,address,address,address,address,uint128,uint128,uint128,uint256,bytes32)
handler: handleLimitOrderFilledEvent
- event: ERC721OrderFilled(uint8,address,address,uint256,address,uint256,address,uint256,address)
handler: handleERC721OrderFilled
- event: ERC1155OrderFilled(uint8,address,address,uint256,address,uint256,address,uint256,uint128,address)
handler: handleERC1155OrderFilled
file: ./src/mappings/exchange-proxy.ts