* rename proposals directory to drafts directory * move TokenVesting and SignatureBouncer to drafts/ * rename BouncerMock.sol to SignatureBouncerMock.sol
67 lines
1.1 KiB
Solidity
67 lines
1.1 KiB
Solidity
pragma solidity ^0.4.24;
|
|
|
|
import "../drafts/SignatureBouncer.sol";
|
|
|
|
|
|
contract SignatureBouncerMock is SignatureBouncer {
|
|
function checkValidSignature(address _address, bytes _signature)
|
|
public
|
|
view
|
|
returns (bool)
|
|
{
|
|
return _isValidSignature(_address, _signature);
|
|
}
|
|
|
|
function onlyWithValidSignature(bytes _signature)
|
|
public
|
|
onlyValidSignature(_signature)
|
|
view
|
|
{
|
|
|
|
}
|
|
|
|
function checkValidSignatureAndMethod(address _address, bytes _signature)
|
|
public
|
|
view
|
|
returns (bool)
|
|
{
|
|
return _isValidSignatureAndMethod(_address, _signature);
|
|
}
|
|
|
|
function onlyWithValidSignatureAndMethod(bytes _signature)
|
|
public
|
|
onlyValidSignatureAndMethod(_signature)
|
|
view
|
|
{
|
|
|
|
}
|
|
|
|
function checkValidSignatureAndData(
|
|
address _address,
|
|
bytes,
|
|
uint,
|
|
bytes _signature
|
|
)
|
|
public
|
|
view
|
|
returns (bool)
|
|
{
|
|
return _isValidSignatureAndData(_address, _signature);
|
|
}
|
|
|
|
function onlyWithValidSignatureAndData(uint, bytes _signature)
|
|
public
|
|
onlyValidSignatureAndData(_signature)
|
|
view
|
|
{
|
|
|
|
}
|
|
|
|
function theWrongMethod(bytes)
|
|
public
|
|
pure
|
|
{
|
|
|
|
}
|
|
}
|