update vault events & limit delegates to 10
This commit is contained in:
parent
5a1539bda8
commit
aa4750fa03
|
@ -149,7 +149,7 @@ contract LPVault is Escapable {
|
|||
|
||||
p.dest.transfer(p.amount); // Transfers ETH denominated in wei
|
||||
|
||||
ConfirmPayment(_idPayment);
|
||||
ConfirmPayment(_idPayment, p.ref);
|
||||
}
|
||||
|
||||
/// @notice When `autopay` is `false` and after a payment has been authorized
|
||||
|
@ -170,7 +170,7 @@ contract LPVault is Escapable {
|
|||
|
||||
liquidPledging.cancelPayment(uint64(p.ref), p.amount);
|
||||
|
||||
CancelPayment(_idPayment);
|
||||
CancelPayment(_idPayment, p.ref);
|
||||
|
||||
}
|
||||
|
||||
|
@ -218,8 +218,8 @@ contract LPVault is Escapable {
|
|||
|
||||
event AutoPaySet();
|
||||
event EscapeFundsCalled(address token, uint amount);
|
||||
event ConfirmPayment(uint indexed idPayment);
|
||||
event CancelPayment(uint indexed idPayment);
|
||||
event ConfirmPayment(uint indexed idPayment, bytes32 indexed ref);
|
||||
event CancelPayment(uint indexed idPayment, bytes32 indexed ref);
|
||||
event AuthorizePayment(
|
||||
uint indexed idPayment,
|
||||
bytes32 indexed ref,
|
||||
|
|
|
@ -35,7 +35,7 @@ interface LPVault {
|
|||
contract LiquidPledgingBase is Escapable {
|
||||
|
||||
// Limits inserted to prevent large loops that could prevent canceling
|
||||
uint constant MAX_DELEGATES = 20;
|
||||
uint constant MAX_DELEGATES = 10;
|
||||
uint constant MAX_SUBPROJECT_LEVEL = 20;
|
||||
uint constant MAX_INTERPROJECT_LEVEL = 20;
|
||||
|
||||
|
|
Loading…
Reference in New Issue