GSNRecipientMock.sol 746 B

12345678910111213141516171819202122232425
  1. pragma solidity ^0.5.0;
  2. import "../GSN/GSNRecipient.sol";
  3. contract GSNRecipientMock is GSNRecipient {
  4. function withdrawDeposits(uint256 amount, address payable payee) public {
  5. _withdrawDeposits(amount, payee);
  6. }
  7. function acceptRelayedCall(address, address, bytes calldata, uint256, uint256, uint256, uint256, bytes calldata, uint256)
  8. external
  9. view
  10. returns (uint256, bytes memory)
  11. {
  12. return (0, "");
  13. }
  14. function preRelayedCall(bytes calldata) external returns (bytes32) {
  15. // solhint-disable-previous-line no-empty-blocks
  16. }
  17. function postRelayedCall(bytes calldata, bool, uint256, bytes32) external {
  18. // solhint-disable-previous-line no-empty-blocks
  19. }
  20. }