eth_call and invoking event handler in WASM (#25)

* Perform eth_call and get result in js import

* Use dummy value for eth_call

* Called handler in wasm with event param

* Implement passing event to subgraph handler function

* Use generated event class Test for passing to handler

* Pass event params to handler

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Ashwin Phatak
2021-12-28 16:08:05 +05:30
committed by nabarun
co-authored by nabarun
parent 2bc40896b0
commit bf54e85d05
7 changed files with 211 additions and 21 deletions
@@ -6,7 +6,7 @@ dataSources:
name: Example1
network: mainnet
source:
address: "0xafAd925B5eAE1E370196cBa39893E858ff7257d5"
address: "0x3ebd8bb51fF52aDAc490117B31F5F137BB125A9D"
abi: Example1
mapping:
kind: ethereum/events