mirror of
https://github.com/cerc-io/watcher-ts
synced 2025-02-03 16:52:49 +00:00
d247815ce2
* Setup example subgraph. * Implement eth_call in subgraph. * eth-call test stub Co-authored-by: nabarun <nabarun@deepstacksoft.com>
11 lines
205 B
Solidity
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';
|
|
}
|
|
}
|