@0x/contracts-utils
: Add LibEIP1271.sol
This commit is contained in:
parent
2ff3735adc
commit
ddbe2acbf5
@ -17,6 +17,10 @@
|
||||
{
|
||||
"note": "Break out types/interaces from `MRichErrors` into `MRichErrorTypes`.",
|
||||
"pr": 1790
|
||||
},
|
||||
{
|
||||
"note": "Add LibEIP1271.sol",
|
||||
"pr": 1885
|
||||
}
|
||||
]
|
||||
},
|
||||
|
@ -26,6 +26,7 @@
|
||||
"contracts": [
|
||||
"src/LibAddress.sol",
|
||||
"src/LibBytes.sol",
|
||||
"src/LibEIP1271.sol",
|
||||
"src/LibEIP712.sol",
|
||||
"src/Ownable.sol",
|
||||
"src/ReentrancyGuard.sol",
|
||||
|
26
contracts/utils/contracts/src/LibEIP1271.sol
Normal file
26
contracts/utils/contracts/src/LibEIP1271.sol
Normal file
@ -0,0 +1,26 @@
|
||||
/*
|
||||
|
||||
Copyright 2019 ZeroEx Intl.
|
||||
|
||||
Licensed under the Apache License, Version 2.0 (the "License");
|
||||
you may not use this file except in compliance with the License.
|
||||
You may obtain a copy of the License at
|
||||
|
||||
http://www.apache.org/licenses/LICENSE-2.0
|
||||
|
||||
Unless required by applicable law or agreed to in writing, software
|
||||
distributed under the License is distributed on an "AS IS" BASIS,
|
||||
WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
|
||||
See the License for the specific language governing permissions and
|
||||
limitations under the License.
|
||||
|
||||
*/
|
||||
|
||||
pragma solidity ^0.5.9;
|
||||
|
||||
|
||||
contract LibEIP1271 {
|
||||
|
||||
// Magic bytes returned by EIP1271 wallets on success.
|
||||
bytes4 constant public EIP1271_MAGIC_VALUE = 0x20c13b0b;
|
||||
}
|
Loading…
x
Reference in New Issue
Block a user