You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
54 lines
999 B
54 lines
999 B
pragma solidity ^0.4.24;
|
|
|
|
import "../access/SignatureBouncer.sol";
|
|
|
|
|
|
contract SignatureBouncerMock is SignatureBouncer {
|
|
function checkValidSignature(address _address, bytes _sig)
|
|
public
|
|
view
|
|
returns (bool)
|
|
{
|
|
return isValidSignature(_address, _sig);
|
|
}
|
|
|
|
function onlyWithValidSignature(bytes _sig)
|
|
onlyValidSignature(_sig)
|
|
public
|
|
view
|
|
{
|
|
|
|
}
|
|
|
|
function checkValidSignatureAndMethod(address _address, bytes _sig)
|
|
public
|
|
view
|
|
returns (bool)
|
|
{
|
|
return isValidSignatureAndMethod(_address, _sig);
|
|
}
|
|
|
|
function onlyWithValidSignatureAndMethod(bytes _sig)
|
|
onlyValidSignatureAndMethod(_sig)
|
|
public
|
|
view
|
|
{
|
|
|
|
}
|
|
|
|
function checkValidSignatureAndData(address _address, bytes _bytes, uint _val, bytes _sig)
|
|
public
|
|
view
|
|
returns (bool)
|
|
{
|
|
return isValidSignatureAndData(_address, _sig);
|
|
}
|
|
|
|
function onlyWithValidSignatureAndData(uint _val, bytes _sig)
|
|
onlyValidSignatureAndData(_sig)
|
|
public
|
|
view
|
|
{
|
|
|
|
}
|
|
}
|
|
|