-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
89 lines (89 loc) · 2.56 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
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
specVersion: 0.0.5
features:
- fullTextSearch
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: CollateralJoinFactory
network: sepolia
source:
abi: CollateralJoinFactory
address: "0xFEDc247b1f3212754988204c35c36D09653e37CD"
startBlock: 4658803
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AssetClass
abis:
- name: CollateralJoinFactory
file: ./abis/CollateralJoinFactory.json
eventHandlers:
- event: DeployCollateralJoin(indexed bytes32,indexed address,indexed address)
handler: handleDeployCollateralJoin
file: ./src/collateralJoinFactory.ts
- kind: ethereum
name: HaiProxyFactory
network: sepolia
source:
abi: HaiProxyFactory
address: "0xf7406d0D2Ad8a68c82032CD38410783F439ed34a"
startBlock: 4658804
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AssetClass
abis:
- name: HaiProxyFactory
file: ./abis/HaiProxyFactory.json
eventHandlers:
- event: Created(indexed address,indexed address,address)
handler: handleCreated
file: ./src/haiProxyFactory.ts
- kind: ethereum
name: StabilityModule
network: sepolia
source:
abi: StabilityModule
address: "0x21676aadaC3693a2C65f71C7096829EeA80652e5"
startBlock: 4664374
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- AssetClass
abis:
- name: StabilityModule
file: ./abis/StabilityModule.json
eventHandlers:
- event: ExpandDebt(indexed int256,indexed int256,indexed uint256,uint256)
handler: handleExpandDebt
- event: ContractDebt(indexed int256,indexed int256,indexed uint256,uint256)
handler: handleContractDebt
- event: Deposit(indexed uint256)
handler: handleDeposit
file: ./src/stabilityModule.ts
templates:
- name: BasicActionsMock
kind: ethereum/contract
network: sepolia
source:
abi: BasicActionsMock
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
file: ./src/basicActionsMock.ts
entities:
- Key
abis:
- name: BasicActionsMock
file: ./abis/BasicActionsMock.json
eventHandlers:
- event: CreateSafe(indexed address,indexed uint256,indexed uint256,bytes32)
handler: handleCreateSafe