Fixed most of the nits
This commit is contained in:
committed by
Amir Bandeali
parent
9b787a6bc2
commit
fc96df63fd
@@ -2,6 +2,7 @@ pragma solidity ^0.5.9;
|
|||||||
|
|
||||||
|
|
||||||
contract IExchangeRichErrors {
|
contract IExchangeRichErrors {
|
||||||
|
|
||||||
enum AssetProxyDispatchErrorCodes {
|
enum AssetProxyDispatchErrorCodes {
|
||||||
INVALID_ASSET_DATA_LENGTH,
|
INVALID_ASSET_DATA_LENGTH,
|
||||||
UNKNOWN_ASSET_PROXY
|
UNKNOWN_ASSET_PROXY
|
||||||
|
|||||||
@@ -20,6 +20,7 @@ pragma solidity ^0.5.9;
|
|||||||
|
|
||||||
|
|
||||||
contract RichErrors {
|
contract RichErrors {
|
||||||
|
|
||||||
// bytes4(keccak256("Error(string)"))
|
// bytes4(keccak256("Error(string)"))
|
||||||
bytes4 internal constant STANDARD_ERROR_SELECTOR =
|
bytes4 internal constant STANDARD_ERROR_SELECTOR =
|
||||||
0x08c379a0;
|
0x08c379a0;
|
||||||
|
|||||||
Reference in New Issue
Block a user