Use hardhat-exposed to reduce the need for mocks (#3666)
Co-authored-by: Francisco <fg@frang.io>
This commit is contained in:
13
contracts/mocks/token/ERC777Mock.sol
Normal file
13
contracts/mocks/token/ERC777Mock.sol
Normal file
@ -0,0 +1,13 @@
|
||||
// SPDX-License-Identifier: MIT
|
||||
|
||||
pragma solidity ^0.8.0;
|
||||
|
||||
import "../../token/ERC777/ERC777.sol";
|
||||
|
||||
abstract contract ERC777Mock is ERC777 {
|
||||
event BeforeTokenTransfer();
|
||||
|
||||
function _beforeTokenTransfer(address, address, address, uint256) internal override {
|
||||
emit BeforeTokenTransfer();
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user