GSNRecipientERC20FeeMock.sol 545 B

123456789101112131415161718
  1. pragma solidity ^0.6.0;
  2. import "../GSN/GSNRecipient.sol";
  3. import "../GSN/GSNRecipientERC20Fee.sol";
  4. contract GSNRecipientERC20FeeMock is GSNRecipient, GSNRecipientERC20Fee {
  5. constructor(string memory name, string memory symbol) public GSNRecipientERC20Fee(name, symbol) { }
  6. function mint(address account, uint256 amount) public {
  7. _mint(account, amount);
  8. }
  9. event MockFunctionCalled(uint256 senderBalance);
  10. function mockFunction() public {
  11. emit MockFunctionCalled(token().balanceOf(_msgSender()));
  12. }
  13. }