-
Notifications
You must be signed in to change notification settings - Fork 2
/
Copy pathxspa.yaml
42 lines (42 loc) · 1.33 KB
/
xspa.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
specVersion: 0.0.5
schema:
file: ./xspa.graphql
dataSources:
- kind: ethereum
name: xSPA
network: arbitrum-one
source:
address: "0x0966E72256d6055145902F72F9D3B6a194B9cCc3"
abi: xSPA
startBlock: 128257830
mapping:
kind: ethereum/events
apiVersion: 0.0.7
language: wasm/assemblyscript
entities:
- Approval
- Initialized
- OwnershipTransferred
- RedemptionRequested
- SPARedeemed
- StakedInVeSPA
- Transfer
abis:
- name: xSPA
file: ./abis/xSPA.json
eventHandlers:
- event: Approval(indexed address,indexed address,uint256)
handler: handleApproval
- event: Initialized(uint8)
handler: handleInitialized
- event: OwnershipTransferred(indexed address,indexed address)
handler: handleOwnershipTransferred
- event: RedemptionRequested(indexed address,uint256,uint256,uint256)
handler: handleRedemptionRequested
- event: SPARedeemed(indexed address,indexed address,uint256,uint256)
handler: handleSPARedeemed
- event: StakedInVeSPA(indexed address,uint128)
handler: handleStakedInVeSPA
- event: Transfer(indexed address,indexed address,uint256)
handler: handleTransfer
file: ./src/x-spa.ts