分发钱包修改beginschedule,将sceduleId的计算改为线下
This commit is contained in:
parent
a7cd708678
commit
dc971a4d5c
File diff suppressed because one or more lines are too long
@ -214,6 +214,16 @@ contract BEMultiSigWallet is AccessControlEnumerable {
|
|||||||
emit ScheduleAdded(id);
|
emit ScheduleAdded(id);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @dev Schedule an operation containing a single transaction.
|
||||||
|
* Emits one {ScheduleAdded} event.
|
||||||
|
* Requirements:
|
||||||
|
* - the caller must have the 'proposer' role.
|
||||||
|
*/
|
||||||
|
function simpleSchedule(bytes32 id, uint256 delay) external onlyRoleOrOpenRole(PROPOSER_ROLE) {
|
||||||
|
_schedule(id, delay);
|
||||||
|
emit ScheduleAdded(id);
|
||||||
|
}
|
||||||
/**
|
/**
|
||||||
* @dev Schedule an operation that is to becomes valid after a given delay.
|
* @dev Schedule an operation that is to becomes valid after a given delay.
|
||||||
*/
|
*/
|
||||||
|
Loading…
x
Reference in New Issue
Block a user