generated from okp4/template-oss
-
Notifications
You must be signed in to change notification settings - Fork 0
/
project.yaml
98 lines (98 loc) · 2.85 KB
/
project.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
specVersion: 1.0.0
name: subql-okp4
version: 1.0.1
runner:
node:
name: "@subql/node-cosmos"
version: "*"
query:
name: "@subql/query"
version: "*"
description: >-
This repository contains the SubQuery project that indexes the OKP4 blockchain.
repository: "https://github.com/okp4/subql-okp4"
schema:
file: ./schema.graphql
network:
chainId: okp4-nemeton-1
endpoint:
- https://api.testnet.okp4.network/rpc
chainTypes:
cosmos.base.v1beta1:
file: ./proto/cosmos/base/v1beta1/coin.proto
messages:
- Coin
cosmwasm.wasm.v1:
file: ./proto/cosmwasm/wasm/v1/tx.proto
messages:
- MsgExecuteContract
- MsgInstantiateContract
cosmos.slashing.v1beta1:
file: ./proto/cosmos/slashing/v1beta1/tx.proto
messages:
- MsgUnjail
cosmos.bank.v1beta1:
file: ./proto/cosmos/bank/v1beta1/tx.proto
messages:
- MsgSend
- MsgMultiSend
cosmos.gov.v1beta1:
file: ./proto/cosmos/gov/v1beta1/tx.proto
messages:
- MsgSubmitProposal
- MsgVote
- MsgVoteWeighted
- MsgDeposit
cosmos.upgrade.v1beta1:
file: ./proto/cosmos/upgrade/v1beta1/tx.proto
messages:
- MsgSoftwareUpgrade
- MsgCancelUpgrade
cosmos.staking.v1beta1:
file: ./proto/cosmos/staking/v1beta1/tx.proto
messages:
- MsgCreateValidator
- MsgEditValidator
- MsgDelegate
- MsgBeginRedelegate
- MsgUndelegate
- MsgCancelUnbondingDelegation
dataSources:
- kind: cosmos/Runtime
startBlock: 2731890 #MsgUnjail
mapping:
file: ./dist/index.js
handlers:
- handler: handleTransaction
kind: cosmos/TransactionHandler
- handler: handleMessage
kind: cosmos/MessageHandler
- handler: handleStoreObject
kind: cosmos/MessageHandler
filter:
type: /cosmwasm.wasm.v1.MsgExecuteContract
contractCall: store_object
- handler: handleForgetObject
kind: cosmos/MessageHandler
filter:
type: /cosmwasm.wasm.v1.MsgExecuteContract
contractCall: forget_object
- handler: handlePinObject
kind: cosmos/MessageHandler
filter:
type: /cosmwasm.wasm.v1.MsgExecuteContract
contractCall: pin_object
- handler: handleUnpinObject
kind: cosmos/MessageHandler
filter:
type: /cosmwasm.wasm.v1.MsgExecuteContract
contractCall: unpin_object
- handler: handleInitObjectarium
kind: cosmos/MessageHandler
filter:
type: /cosmwasm.wasm.v1.MsgInstantiateContract
contractCall: instantiate
- handler: handleStoreContract
kind: cosmos/MessageHandler
filter:
type: /cosmwasm.wasm.v1.MsgStoreCode