-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathsubgraph.near-testnet.yaml
46 lines (46 loc) · 1.43 KB
/
subgraph.near-testnet.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.4
schema:
file: ./schema.near.graphql # link to the schema file
dataSources:
- kind: near
name: nativePayment
network: near-testnet
source:
account: "dev-1631521265288-35171138540673" # This data source will monitor this account
startBlock: 63278257 # Required for NEAR
mapping:
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Payment
receiptHandlers:
- handler: handleReceipt # the function name in the mapping file
file: ./src/near/native.ts # link to the file with the Assemblyscript mappings
- kind: near
name: nativeConversionPayment
network: near-testnet
source:
account: "native.conversion.reqnetwork.testnet" # This data source will monitor this account
startBlock: 101340356
mapping:
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- Payment
receiptHandlers:
- handler: handleReceipt # the function name in the mapping file
file: ./src/near/native.conversion.ts # link to the file with the Assemblyscript mappings
- kind: near
name: fungiblePayment
network: near-testnet
source:
account: "pay.reqnetwork.testnet"
startBlock: 120566834
mapping:
apiVersion: 0.0.6
language: wasm/assemblyscript
entities:
- FungiblePayment
receiptHandlers:
- handler: handleReceipt
file: ./src/near/fungible.ts