mirror of
https://github.com/status-im/contracts.git
synced 2025-02-24 12:38:49 +00:00
Added Approved and Executed events to Identity contract
This commit is contained in:
parent
2824b8039a
commit
ab16457075
@ -117,6 +117,8 @@ contract Identity is ERC725, ERC735 {
|
||||
uint8 approvalCount;
|
||||
uint256 requiredKeyType;
|
||||
|
||||
Approved(_id, _approve);
|
||||
|
||||
if (trx.to == address(this)) {
|
||||
requiredKeyType = MANAGEMENT_KEY;
|
||||
if (keys[managerKeyHash].purpose == MANAGEMENT_KEY) {
|
||||
@ -130,7 +132,8 @@ contract Identity is ERC725, ERC735 {
|
||||
}
|
||||
|
||||
if (approvalCount >= minimumApprovalsByKeyType[requiredKeyType]) {
|
||||
success = trx.to.call.value(txx[_id].value)(txx[_id].data);
|
||||
Executed(_id, trx.to, trx.value, trx.data);
|
||||
success = trx.to.call.value(trx.value)(trx.data);
|
||||
}
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user