mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-11 18:24:05 +00:00
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:
@@ -6,7 +6,7 @@ dataSources:
|
||||
name: Example1
|
||||
network: mainnet
|
||||
source:
|
||||
address: "0xafAd925B5eAE1E370196cBa39893E858ff7257d5"
|
||||
address: "0x3ebd8bb51fF52aDAc490117B31F5F137BB125A9D"
|
||||
abi: Example1
|
||||
mapping:
|
||||
kind: ethereum/events
|
||||
|
||||
Reference in New Issue
Block a user