mirror of
https://github.com/cerc-io/watcher-ts
synced 2026-09-08 08:54:05 +00:00
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:
@@ -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';
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user