GSNBouncerERC20FeeMock.sol 633 B

1234567891011121314151617181920
  1. pragma solidity ^0.5.0;
  2. import "../GSN/GSNRecipient.sol";
  3. import "../GSN/bouncers/GSNBouncerERC20Fee.sol";
  4. contract GSNBouncerERC20FeeMock is GSNRecipient, GSNBouncerERC20Fee {
  5. constructor(string memory name, string memory symbol, uint8 decimals) public GSNBouncerERC20Fee(name, symbol, decimals) {
  6. // solhint-disable-previous-line no-empty-blocks
  7. }
  8. function mint(address account, uint256 amount) public {
  9. _mint(account, amount);
  10. }
  11. event MockFunctionCalled(uint256 senderBalance);
  12. function mockFunction() public {
  13. emit MockFunctionCalled(token().balanceOf(_msgSender()));
  14. }
  15. }