pragma solidity ^0.4.16;

contract RpcTest {
    function fail() pure public {
        require(false);
    }

    function ret() pure public returns (uint) {
        return 1;
    }

    function loop(uint reps) pure public returns (uint) {
        uint result = 0;
        for (uint i=0; i<reps; i++) {
            result *= i;
        }
        return result;
    }

    event RpcEvent(
        uint _someNumber
    );

    function createEvent(uint _someId) public {
        RpcEvent(_someId);
    }
}
