Errors cleanup
This commit is contained in:
parent
a0e39bafab
commit
6a3bea432c
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -23,11 +23,6 @@
|
|||||||
"name": "DecOverflow",
|
"name": "DecOverflow",
|
||||||
"type": "error"
|
"type": "error"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "DepositAlreadyExists",
|
|
||||||
"type": "error"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"inputs": [],
|
"inputs": [],
|
||||||
"name": "EmptyPixTarget",
|
"name": "EmptyPixTarget",
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -1,4 +1,4 @@
|
|||||||
{
|
{
|
||||||
"_format": "hh-sol-dbg-1",
|
"_format": "hh-sol-dbg-1",
|
||||||
"buildInfo": "../../build-info/901b067f80b6616939e558d795c555e5.json"
|
"buildInfo": "../../build-info/e4fd58ee172659ae7bbfbfbb00ad761b.json"
|
||||||
}
|
}
|
||||||
|
@ -54,11 +54,6 @@
|
|||||||
"name": "DecOverflow",
|
"name": "DecOverflow",
|
||||||
"type": "error"
|
"type": "error"
|
||||||
},
|
},
|
||||||
{
|
|
||||||
"inputs": [],
|
|
||||||
"name": "DepositAlreadyExists",
|
|
||||||
"type": "error"
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
"inputs": [],
|
"inputs": [],
|
||||||
"name": "EmptyPixTarget",
|
"name": "EmptyPixTarget",
|
||||||
|
@ -54,9 +54,6 @@ interface EventAndErrors {
|
|||||||
|
|
||||||
/// ███ Errors ████████████████████████████████████████████████████████████
|
/// ███ Errors ████████████████████████████████████████████████████████████
|
||||||
|
|
||||||
/// @dev Deposit already exist and it is still valid.
|
|
||||||
/// @dev 0xc44bd765
|
|
||||||
error DepositAlreadyExists();
|
|
||||||
/// @dev Only seller could call this function.
|
/// @dev Only seller could call this function.
|
||||||
/// @dev `msg.sender` and the seller differ.
|
/// @dev `msg.sender` and the seller differ.
|
||||||
/// @dev 0x85d1f726
|
/// @dev 0x85d1f726
|
||||||
@ -105,7 +102,6 @@ interface EventAndErrors {
|
|||||||
/// @dev Reverts on an expired lock.
|
/// @dev Reverts on an expired lock.
|
||||||
/// @dev 0xf6fafba0
|
/// @dev 0xf6fafba0
|
||||||
error LockExpired();
|
error LockExpired();
|
||||||
|
|
||||||
/// @dev 0xce3a3d37
|
/// @dev 0xce3a3d37
|
||||||
error DecOverflow();
|
error DecOverflow();
|
||||||
/// @dev 0xf3fb0eb9
|
/// @dev 0xf3fb0eb9
|
||||||
|
@ -654,6 +654,7 @@ contract P2PIX is
|
|||||||
_spendLimit := returnValue
|
_spendLimit := returnValue
|
||||||
// reverts if call does not succeed.
|
// reverts if call does not succeed.
|
||||||
if iszero(success) {
|
if iszero(success) {
|
||||||
|
// StaticCallFailed()
|
||||||
mstore(0x00, 0xe10bf1cc)
|
mstore(0x00, 0xe10bf1cc)
|
||||||
revert(0x1c, 0x04)
|
revert(0x1c, 0x04)
|
||||||
}
|
}
|
||||||
|
@ -30,11 +30,6 @@ const _abi = [
|
|||||||
name: "DecOverflow",
|
name: "DecOverflow",
|
||||||
type: "error",
|
type: "error",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
inputs: [],
|
|
||||||
name: "DepositAlreadyExists",
|
|
||||||
type: "error",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
inputs: [],
|
inputs: [],
|
||||||
name: "EmptyPixTarget",
|
name: "EmptyPixTarget",
|
||||||
|
@ -65,11 +65,6 @@ const _abi = [
|
|||||||
name: "DecOverflow",
|
name: "DecOverflow",
|
||||||
type: "error",
|
type: "error",
|
||||||
},
|
},
|
||||||
{
|
|
||||||
inputs: [],
|
|
||||||
name: "DepositAlreadyExists",
|
|
||||||
type: "error",
|
|
||||||
},
|
|
||||||
{
|
{
|
||||||
inputs: [],
|
inputs: [],
|
||||||
name: "EmptyPixTarget",
|
name: "EmptyPixTarget",
|
||||||
|
@ -1,5 +1,4 @@
|
|||||||
export enum P2PixErrors {
|
export enum P2PixErrors {
|
||||||
DepositAlreadyExists = "DepositAlreadyExists",
|
|
||||||
OnlySeller = "OnlySeller",
|
OnlySeller = "OnlySeller",
|
||||||
NotExpired = "NotExpired",
|
NotExpired = "NotExpired",
|
||||||
LoopOverflow = "LoopOverflow",
|
LoopOverflow = "LoopOverflow",
|
||||||
|
Loading…
x
Reference in New Issue
Block a user