@@ -40,7 +40,7 @@ contract SignatureBouncer is Ownable, RBAC {
4040 /**
4141 * @dev requires that a valid signature of a bouncer was provided
4242 */
43- modifier onlyValidSignature (bytes _signature )
43+ modifier onlyValidSignature (bytes memory _signature )
4444 {
4545 require (isValidSignature (msg .sender , _signature));
4646 _;
@@ -49,7 +49,7 @@ contract SignatureBouncer is Ownable, RBAC {
4949 /**
5050 * @dev requires that a valid signature with a specifed method of a bouncer was provided
5151 */
52- modifier onlyValidSignatureAndMethod (bytes _signature )
52+ modifier onlyValidSignatureAndMethod (bytes memory _signature )
5353 {
5454 require (isValidSignatureAndMethod (msg .sender , _signature));
5555 _;
@@ -58,7 +58,7 @@ contract SignatureBouncer is Ownable, RBAC {
5858 /**
5959 * @dev requires that a valid signature with a specifed method and params of a bouncer was provided
6060 */
61- modifier onlyValidSignatureAndData (bytes _signature )
61+ modifier onlyValidSignatureAndData (bytes memory _signature )
6262 {
6363 require (isValidSignatureAndData (msg .sender , _signature));
6464 _;
@@ -89,7 +89,7 @@ contract SignatureBouncer is Ownable, RBAC {
8989 * @dev is the signature of `this + sender` from a bouncer?
9090 * @return bool
9191 */
92- function isValidSignature (address _address , bytes _signature )
92+ function isValidSignature (address _address , bytes memory _signature )
9393 internal
9494 view
9595 returns (bool )
@@ -104,7 +104,7 @@ contract SignatureBouncer is Ownable, RBAC {
104104 * @dev is the signature of `this + sender + methodId` from a bouncer?
105105 * @return bool
106106 */
107- function isValidSignatureAndMethod (address _address , bytes _signature )
107+ function isValidSignatureAndMethod (address _address , bytes memory _signature )
108108 internal
109109 view
110110 returns (bool )
@@ -124,7 +124,7 @@ contract SignatureBouncer is Ownable, RBAC {
124124 * @notice the _signature parameter of the method being validated must be the "last" parameter
125125 * @return bool
126126 */
127- function isValidSignatureAndData (address _address , bytes _signature )
127+ function isValidSignatureAndData (address _address , bytes memory _signature )
128128 internal
129129 view
130130 returns (bool )
@@ -145,7 +145,7 @@ contract SignatureBouncer is Ownable, RBAC {
145145 * and then recover the signature and check it against the bouncer role
146146 * @return bool
147147 */
148- function isValidDataHash (bytes32 _hash , bytes _signature )
148+ function isValidDataHash (bytes32 _hash , bytes memory _signature )
149149 internal
150150 view
151151 returns (bool )
0 commit comments