Example subgraph, ethCall test to drive implementation (#18)

* Setup example subgraph.

* Implement eth_call in subgraph.

* eth-call test stub

Co-authored-by: nabarun <nabarun@deepstacksoft.com>
This commit is contained in:
Ashwin Phatak
2021-12-28 16:08:04 +05:30
committed by nabarun
co-authored by nabarun
parent f078db688a
commit d247815ce2
13 changed files with 3270 additions and 81 deletions
@@ -0,0 +1,10 @@
pragma solidity >=0.4.22 <0.8.0;
contract Example {
event Test(string param1, uint param2);
function getMethod() public view virtual returns (string memory)
{
return 'test';
}
}