watcher-ts/packages/graph-node/test/contracts/Example.sol
Ashwin Phatak d247815ce2 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>
2021-12-28 16:08:04 +05:30

11 lines
205 B
Solidity

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';
}
}