-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathsubgraph.yaml
115 lines (115 loc) · 3.99 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
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
specVersion: 0.0.4
schema:
file: ./schema.graphql
dataSources:
- kind: ethereum
name: AugmentedBondingCurve
network: xdai
source:
address: "0x74ade20c12067e2f9457c037809a73f35694f99f"
startBlock: 20087409
abi: AugmentedBondingCurve
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- MakeBuyOrder
- MakeSellOrder
abis:
- name: AugmentedBondingCurve
file: ./abis/AugmentedBondingCurve.json
- name: BondedToken
file: ./abis/BondedToken.json
- name: BondingCurveReserve
file: ./abis/BondingCurveReserve.json
eventHandlers:
- event: MakeBuyOrder(indexed address,indexed address,indexed
address,uint256,uint256,uint256,uint256)
handler: handleMakeBuyOrder
- event: MakeSellOrder(indexed address,indexed address,indexed
address,uint256,uint256,uint256,uint256)
handler: handleMakeSellOrder
file: ./src/augmented-bonding-curve.ts
- kind: ethereum
name: BondedToken
network: xdai
source:
address: "0x5dF8339c5E282ee48c0c7cE8A7d01a73D38B3B27"
startBlock: 20086944
abi: BondedToken
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- ClaimedTokens
- Transfer
- NewCloneToken
- Approval
- AuthorizationUsed
abis:
- name: BondedToken
file: ./abis/BondedToken.json
eventHandlers:
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
- event: ClaimedTokens(indexed address,indexed address,uint256)
handler: handleClaimedTokens
- event: NewCloneToken(indexed address,uint256)
handler: handleNewCloneToken
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
- event: AuthorizationUsed(indexed address,indexed bytes32)
handler: handleAuthorizationUsed
file: ./src/bonded-token.ts
- kind: ethereum
name: BondingCurveReserve
network: xdai
source:
address: "0x4a3C145c35Fa0daa58Cb5BD93CE905B086087246"
startBlock: 20087409
abi: BondingCurveReserve
mapping:
kind: ethereum/events
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- SafeExecute
- Execute
- AddProtectedToken
- RemoveProtectedToken
- PresignHash
- SetDesignatedSigner
- ReceiveERC721
- VaultTransfer
- VaultDeposit
- ScriptResult
- RecoverToVault
abis:
- name: BondingCurveReserve
file: ./abis/BondingCurveReserve.json
eventHandlers:
- event: SafeExecute(indexed address,indexed address,bytes)
handler: handleSafeExecute
- event: Execute(indexed address,indexed address,uint256,bytes)
handler: handleExecute
- event: AddProtectedToken(indexed address)
handler: handleAddProtectedToken
- event: RemoveProtectedToken(indexed address)
handler: handleRemoveProtectedToken
- event: PresignHash(indexed address,indexed bytes32)
handler: handlePresignHash
- event: SetDesignatedSigner(indexed address,indexed address,indexed address)
handler: handleSetDesignatedSigner
- event: ReceiveERC721(indexed address,indexed address,indexed address,uint256,bytes)
handler: handleReceiveERC721
- event: VaultTransfer(indexed address,indexed address,uint256)
handler: handleVaultTransfer
- event: VaultDeposit(indexed address,indexed address,uint256)
handler: handleVaultDeposit
- event: ScriptResult(indexed address,bytes,bytes,bytes)
handler: handleScriptResult
- event: RecoverToVault(indexed address,indexed address,uint256)
handler: handleRecoverToVault
file: ./src/bonding-curve-reserve.ts