-
Notifications
You must be signed in to change notification settings - Fork 0
/
subgraph.yaml
80 lines (80 loc) · 3.4 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
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: HubPool
network: mainnet
source:
address: "0xc186fA914353c44b2E33eBE05f21846F1048bEda"
abi: HubPool
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- BondSet
- CrossChainContractsSet
- EmergencyRootBundleDeleted
- IdentifierSet
- L1TokenEnabledForLiquidityProvision
- L2TokenDisabledForLiquidityProvision
- LiquidityAdded
- LiquidityRemoved
- LivenessSet
- OwnershipTransferred
- Paused
- ProposeRootBundle
- ProtocolFeeCaptureSet
- ProtocolFeesCapturedClaimed
- RootBundleCanceled
- RootBundleDisputed
- RootBundleExecuted
- SetEnableDepositRoute
- SetPoolRebalanceRoute
- SpokePoolAdminFunctionTriggered
abis:
- name: HubPool
file: ./abis/HubPool.json
eventHandlers:
- event: BondSet(indexed address,uint256)
handler: handleBondSet
- event: CrossChainContractsSet(uint256,address,address)
handler: handleCrossChainContractsSet
- event: EmergencyRootBundleDeleted(indexed bytes32,indexed bytes32,bytes32,indexed address)
handler: handleEmergencyRootBundleDeleted
- event: IdentifierSet(bytes32)
handler: handleIdentifierSet
- event: L1TokenEnabledForLiquidityProvision(address,address)
handler: handleL1TokenEnabledForLiquidityProvision
- event: L2TokenDisabledForLiquidityProvision(address,address)
handler: handleL2TokenDisabledForLiquidityProvision
- event: LiquidityAdded(indexed address,uint256,uint256,indexed address)
handler: handleLiquidityAdded
- event: LiquidityRemoved(indexed address,uint256,uint256,indexed address)
handler: handleLiquidityRemoved
- event: LivenessSet(uint256)
handler: handleLivenessSet
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: Paused(indexed bool)
handler: handlePaused
- event: ProposeRootBundle(uint32,uint8,uint256[],indexed bytes32,indexed bytes32,bytes32,indexed address)
handler: handleProposeRootBundle
- event: ProtocolFeeCaptureSet(indexed address,indexed uint256)
handler: handleProtocolFeeCaptureSet
- event: ProtocolFeesCapturedClaimed(indexed address,indexed uint256)
handler: handleProtocolFeesCapturedClaimed
- event: RootBundleCanceled(indexed address,uint256)
handler: handleRootBundleCanceled
- event: RootBundleDisputed(indexed address,uint256)
handler: handleRootBundleDisputed
- event: RootBundleExecuted(uint256,indexed uint256,indexed uint256,address[],uint256[],int256[],int256[],indexed address)
handler: handleRootBundleExecuted
- event: SetEnableDepositRoute(indexed uint256,indexed uint256,indexed address,bool)
handler: handleSetEnableDepositRoute
- event: SetPoolRebalanceRoute(indexed uint256,indexed address,indexed address)
handler: handleSetPoolRebalanceRoute
- event: SpokePoolAdminFunctionTriggered(indexed uint256,bytes)
handler: handleSpokePoolAdminFunctionTriggered
file: ./src/mappings/hub-pool.ts