* Merge GSNBouncerBase into GSNRecipient
* Remove emtpy implementations for _pre and _post
* Rename bouncers to recipients
* Rename bouncers documentation to strategies
* Rewrite guides and docstrings to use the strategy naming scheme
* Address review comments
* Apply suggestions from code review
Co-Authored-By: Francisco Giordano <frangio.1@gmail.com>
* change wording of docs
(cherry picked from commit aae95db4e0)
19 lines
546 B
Solidity
19 lines
546 B
Solidity
pragma solidity ^0.5.0;
|
|
|
|
import "../token/ERC721/ERC721.sol";
|
|
import "../GSN/GSNRecipient.sol";
|
|
import "../GSN/GSNRecipientSignature.sol";
|
|
|
|
/**
|
|
* @title ERC721GSNRecipientMock
|
|
* A simple ERC721 mock that has GSN support enabled
|
|
*/
|
|
contract ERC721GSNRecipientMock is ERC721, GSNRecipient, GSNRecipientSignature {
|
|
constructor(address trustedSigner) public GSNRecipientSignature(trustedSigner) { }
|
|
// solhint-disable-previous-line no-empty-blocks
|
|
|
|
function mint(uint256 tokenId) public {
|
|
_mint(_msgSender(), tokenId);
|
|
}
|
|
}
|