laconicd-deprecated/tests-solidity/suites/proxy/contracts/test/ProxyTarget.sol
Brett Sun c9639c3860
tests: add solidity test suites (#487)
* tests: add solidity test suite

* tests: remove require strings

* Update tests-solidity/init-test-node.sh

* Update tests-solidity/init-test-node.sh

Co-authored-by: Federico Kunze <31522760+fedekunze@users.noreply.github.com>
2020-09-01 17:16:28 -04:00

18 lines
301 B
Solidity

pragma solidity 0.4.24;
contract ProxyTargetWithoutFallback {
event Pong();
function ping() external {
emit Pong();
}
}
contract ProxyTargetWithFallback is ProxyTargetWithoutFallback {
event ReceivedEth();
function () external payable {
emit ReceivedEth();
}
}