Skip to content

Commit 6a64fa8

Browse files
committed
add dummy file
1 parent eb29317 commit 6a64fa8

File tree

1 file changed

+203
-0
lines changed

1 file changed

+203
-0
lines changed

subgraph.yaml

+203
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,203 @@
1+
specVersion: 0.0.3
2+
description: Ocean provides data sharing through IDOs
3+
repository: https://github.com/oceanprotocol/ocean-subgraph
4+
schema:
5+
file: ./schema.graphql
6+
dataSources:
7+
- kind: ethereum/contract
8+
name: ERC721Factory
9+
network: rinkeby
10+
source:
11+
address: '0x6Cd1A5ff1b882738D7D149F47F06f30E1D5f75b7'
12+
abi: ERC721Factory
13+
startBlock: 10166530
14+
mapping:
15+
kind: ethereum/events
16+
apiVersion: 0.0.6
17+
language: wasm/assemblyscript
18+
file: ./src/mappings/erc721Factory.ts
19+
entities:
20+
- ERC721Factory
21+
abis:
22+
- name: ERC721Factory
23+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/ERC721Factory.sol/ERC721Factory.json
24+
eventHandlers:
25+
- event: NFTCreated(indexed address,indexed address,string,address,string,string)
26+
handler: handleNftCreated
27+
- event: TokenCreated(indexed address,indexed address,string,string,uint256,address)
28+
handler: handleNewToken
29+
- kind: ethereum/contract
30+
name: FixedRateExchange
31+
network: rinkeby
32+
source:
33+
address: '0xEC6A90fF44255fE457D104CAFb28455505c77aDF'
34+
abi: FixedRateExchange
35+
startBlock: 10166530
36+
mapping:
37+
kind: ethereum/events
38+
apiVersion: 0.0.6
39+
language: wasm/assemblyscript
40+
file: ./src/mappings/fixedRateExchange.ts
41+
entities:
42+
- FixedRateExchange
43+
abis:
44+
- name: FixedRateExchange
45+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/fixedRate/FixedRateExchange.sol/FixedRateExchange.json
46+
- name: ERC20
47+
file: ./abis/ERC20.json
48+
eventHandlers:
49+
- event: ExchangeCreated(indexed bytes32,indexed address,indexed address,address,uint256)
50+
handler: handleExchangeCreated
51+
- event: ExchangeRateChanged(indexed bytes32,indexed address,uint256)
52+
handler: handleRateChange
53+
- event: ExchangeMintStateChanged(indexed bytes32,indexed address,bool)
54+
handler: handleMintStateChanged
55+
- event: ExchangeActivated(indexed bytes32,indexed address)
56+
handler: handleActivated
57+
- event: ExchangeDeactivated(indexed bytes32,indexed address)
58+
handler: handleDeactivated
59+
- event: ExchangeAllowedSwapperChanged(indexed bytes32,indexed address)
60+
handler: handleAllowedSwapperChanged
61+
- event: Swapped(indexed bytes32,indexed address,uint256,uint256,address,uint256,uint256)
62+
handler: handleSwap
63+
- kind: ethereum/contract
64+
name: Dispenser
65+
network: rinkeby
66+
source:
67+
address: '0xEC6A90fF44255fE457D104CAFb28455505c77aDF'
68+
abi: Dispenser
69+
startBlock: 10166530
70+
mapping:
71+
kind: ethereum/events
72+
apiVersion: 0.0.6
73+
language: wasm/assemblyscript
74+
file: ./src/mappings/dispenser.ts
75+
entities:
76+
- Dispenser
77+
abis:
78+
- name: Dispenser
79+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/dispenser/Dispenser.sol/Dispenser.json
80+
eventHandlers:
81+
- event: DispenserCreated(indexed address,indexed address,uint256,uint256,address)
82+
handler: handleNewDispenser
83+
- event: DispenserActivated(indexed address)
84+
handler: handleActivate
85+
- event: DispenserDeactivated(indexed address)
86+
handler: handleDeactivate
87+
- event: DispenserAllowedSwapperChanged(indexed address,indexed address)
88+
handler: handleAllowedSwapperChanged
89+
- event: TokensDispensed(indexed address,indexed address,uint256)
90+
handler: handleTokensDispensed
91+
- event: OwnerWithdrawed(indexed address,indexed address,uint256)
92+
handler: handleOwnerWinthdraw
93+
94+
- kind: ethereum/contract
95+
name: FactoryRouter
96+
network: rinkeby
97+
source:
98+
address: '0x1C45A7493C3AfbFE94Ff92593eE8d5D734B22f62'
99+
abi: FactoryRouter
100+
startBlock: 10166530
101+
mapping:
102+
kind: ethereum/events
103+
apiVersion: 0.0.6
104+
language: wasm/assemblyscript
105+
file: ./src/mappings/factoryRouter.ts
106+
entities:
107+
- FactoryRouter
108+
abis:
109+
- name: FactoryRouter
110+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/FactoryRouter.sol/FactoryRouter.json
111+
eventHandlers:
112+
- event: NewPool(indexed address,bool)
113+
handler: handleNewPool
114+
115+
templates:
116+
- name: ERC20Template
117+
kind: ethereum/contract
118+
network: rinkeby
119+
source:
120+
abi: ERC20Template
121+
mapping:
122+
kind: ethereum/events
123+
apiVersion: 0.0.6
124+
language: wasm/assemblyscript
125+
file: ./src/mappings/erc20Templates.ts
126+
entities:
127+
- ERC20Template
128+
abis:
129+
- name: ERC20Template
130+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/templates/ERC20Template.sol/ERC20Template.json
131+
- name: ERC20TemplateEnterprise
132+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/templates/ERC20TemplateEnterprise.sol/ERC20TemplateEnterprise.json
133+
- name: ERC20
134+
file: ./abis/ERC20.json
135+
- name: ERC20Roles
136+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/utils/ERC20Roles.sol/ERC20Roles.json
137+
eventHandlers:
138+
- event: OrderStarted(indexed address,address,uint256,uint256,uint256,indexed address,uint256)
139+
handler: handleOrderStarted
140+
- event: NewPaymentCollector(indexed address,indexed address,uint256,uint256)
141+
handler: handleNewPaymentCollector
142+
- event: PublishMarketFee(indexed address,indexed address,uint256)
143+
handler: handlePublishMarketFee
144+
145+
- name: BPool
146+
kind: ethereum/contract
147+
network: rinkeby
148+
source:
149+
abi: BPool
150+
mapping:
151+
kind: ethereum/events
152+
apiVersion: 0.0.6
153+
language: wasm/assemblyscript
154+
file: ./src/mappings/pool.ts
155+
entities:
156+
- BPool
157+
abis:
158+
- name: BPool
159+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/balancer/BPool.sol/BPool.json
160+
- name: BToken
161+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/balancer/BToken.sol/BToken.json
162+
- name: BMath
163+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/pools/balancer/BMath.sol/BMath.json
164+
- name: ERC20
165+
file: ./abis/ERC20.json
166+
eventHandlers:
167+
- event: LOG_SWAP(indexed address,indexed address,indexed address,uint256,uint256,uint256)
168+
handler: handleSwap
169+
- event: LOG_JOIN(indexed address,indexed address,uint256,uint256)
170+
handler: handleJoin
171+
- event: LOG_EXIT(indexed address,indexed address,uint256,uint256)
172+
handler: handleExit
173+
- event: LOG_SETUP(indexed address,indexed address,uint256,uint256,indexed address,uint256,uint256)
174+
handler: handleSetup
175+
- event: Transfer(indexed address,indexed address,uint256)
176+
handler: handlerBptTransfer
177+
178+
- name: ERC721Template
179+
kind: ethereum/contract
180+
network: rinkeby
181+
source:
182+
abi: ERC721Template
183+
mapping:
184+
kind: ethereum/events
185+
apiVersion: 0.0.6
186+
language: wasm/assemblyscript
187+
file: ./src/mappings/nftUpdate.ts
188+
entities:
189+
- ERC721Template
190+
abis:
191+
- name: ERC721Template
192+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/templates/ERC721Template.sol/ERC721Template.json
193+
- name: ERC721RolesAddress
194+
file: ./node_modules/@oceanprotocol/contracts/artifacts/contracts/utils/ERC721RolesAddress.sol/ERC721RolesAddress.json
195+
eventHandlers:
196+
- event: MetadataCreated(indexed address,uint8,string,bytes,bytes,bytes32,uint256,uint256)
197+
handler: handleCreated
198+
- event: MetadataUpdated(indexed address,uint8,string,bytes,bytes,bytes32,uint256,uint256)
199+
handler: handleUpdated
200+
- event: MetadataState(indexed address,uint8,uint256,uint256)
201+
handler: handleState
202+
- event: TokenURIUpdate(indexed address,string,uint256,uint256,uint256)
203+
handler: handleTokenUriUpdate

0 commit comments

Comments
 (0)