@bloxchain/contracts 1.0.0-alpha.20 → 1.0.0-alpha.21

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.
@@ -1,5 +1,5 @@
1
1
  // SPDX-License-Identifier: MPL-2.0
2
- pragma solidity 0.8.34;
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 an update to the broadcaster at a specific location (index).
54
- * @param newBroadcaster The new broadcaster address (zero address to revoke at location)
55
- * @param location The index in the broadcaster role's authorized wallets set
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, uint256 location) external returns (uint256 txId);
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