@bloxchain/contracts 1.0.0-alpha.20 → 1.0.0-alpha.22
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -6
- package/abi/BaseStateMachine.abi.json +780 -775
- package/abi/EngineBlox.abi.json +545 -538
- package/abi/GuardController.abi.json +1590 -1585
- package/abi/GuardControllerDefinitions.abi.json +231 -226
- package/abi/IDefinition.abi.json +54 -49
- package/abi/RuntimeRBAC.abi.json +832 -827
- package/abi/RuntimeRBACDefinitions.abi.json +212 -207
- package/abi/SecureOwnable.abi.json +1359 -1321
- package/abi/SecureOwnableDefinitions.abi.json +171 -166
- package/core/access/RuntimeRBAC.sol +7 -9
- package/core/access/interface/IRuntimeRBAC.sol +1 -1
- package/core/access/lib/definitions/RuntimeRBACDefinitions.sol +5 -3
- package/core/base/BaseStateMachine.sol +7 -3
- package/core/base/interface/IBaseStateMachine.sol +1 -1
- package/core/execution/GuardController.sol +2 -1
- package/core/execution/interface/IGuardController.sol +1 -1
- package/core/execution/lib/definitions/GuardControllerDefinitions.sol +21 -9
- package/core/lib/EngineBlox.sol +71 -118
- package/core/lib/interfaces/IDefinition.sol +1 -1
- package/core/lib/interfaces/IEventForwarder.sol +35 -33
- package/core/lib/utils/SharedValidation.sol +9 -15
- package/core/pattern/Account.sol +1 -1
- package/core/security/SecureOwnable.sol +446 -456
- package/core/security/interface/ISecureOwnable.sol +5 -5
- package/core/security/lib/definitions/SecureOwnableDefinitions.sol +818 -802
- package/package.json +3 -3
- package/standards/behavior/ICopyable.sol +1 -1
- package/standards/hooks/IOnActionHook.sol +1 -1
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// SPDX-License-Identifier: MPL-2.0
|
|
2
|
-
pragma solidity 0.8.
|
|
2
|
+
pragma solidity 0.8.35;
|
|
3
3
|
|
|
4
4
|
// Contracts imports
|
|
5
5
|
import "../../lib/EngineBlox.sol";
|
|
@@ -50,12 +50,12 @@ interface ISecureOwnable {
|
|
|
50
50
|
// ============ BROADCASTER MANAGEMENT ============
|
|
51
51
|
|
|
52
52
|
/**
|
|
53
|
-
* @dev Requests
|
|
54
|
-
* @param newBroadcaster
|
|
55
|
-
* @param
|
|
53
|
+
* @dev Requests a broadcaster role change identified by addresses.
|
|
54
|
+
* @param newBroadcaster New broadcaster (zero address to revoke `currentBroadcaster`)
|
|
55
|
+
* @param currentBroadcaster Existing broadcaster to replace or revoke; zero address to add `newBroadcaster`
|
|
56
56
|
* @return txId The transaction ID (use getTransaction(txId) for full record)
|
|
57
57
|
*/
|
|
58
|
-
function updateBroadcasterRequest(address newBroadcaster,
|
|
58
|
+
function updateBroadcasterRequest(address newBroadcaster, address currentBroadcaster) external returns (uint256 txId);
|
|
59
59
|
|
|
60
60
|
/**
|
|
61
61
|
* @dev Approves a pending broadcaster update transaction after the release time
|