Skip to content

Commit c8ede7a

Browse files
committed
fix: clarify initialization needs for data service extensions (TRST-R06)
Signed-off-by: Tomás Migone <[email protected]>
1 parent 29ed2e6 commit c8ede7a

File tree

4 files changed

+8
-0
lines changed

4 files changed

+8
-0
lines changed

packages/horizon/contracts/data-service/extensions/DataServiceFees.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { DataServiceFeesV1Storage } from "./DataServiceFeesStorage.sol";
1414
* @dev Implementation of the {IDataServiceFees} interface.
1515
* @notice Extension for the {IDataService} contract to handle payment collateralization
1616
* using a Horizon provision. See {IDataServiceFees} for more details.
17+
* @dev This contract inherits from {DataService} which needs to be initialized, please see
18+
* {DataService} for detailed instructions.
1719
*/
1820
abstract contract DataServiceFees is DataService, DataServiceFeesV1Storage, IDataServiceFees {
1921
using ProvisionTracker for mapping(address => uint256);

packages/horizon/contracts/data-service/extensions/DataServicePausable.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ import { DataService } from "../DataService.sol";
1414
* pause guardians.
1515
* @dev Note that this extension does not provide an external function to set pause
1616
* guardians. This should be implemented in the derived contract.
17+
* @dev This contract inherits from {DataService} which needs to be initialized, please see
18+
* {DataService} for detailed instructions.
1719
*/
1820
abstract contract DataServicePausable is Pausable, DataService, IDataServicePausable {
1921
/// @notice List of pause guardians and their allowed status

packages/horizon/contracts/data-service/extensions/DataServicePausableUpgradeable.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -10,6 +10,8 @@ import { DataService } from "../DataService.sol";
1010
* @title DataServicePausableUpgradeable contract
1111
* @dev Implementation of the {IDataServicePausable} interface.
1212
* @dev Upgradeable version of the {DataServicePausable} contract.
13+
* @dev This contract inherits from {DataService} which needs to be initialized, please see
14+
* {DataService} for detailed instructions.
1315
*/
1416
abstract contract DataServicePausableUpgradeable is PausableUpgradeable, DataService, IDataServicePausable {
1517
/// @notice List of pause guardians and their allowed status

packages/horizon/contracts/data-service/extensions/DataServiceRescuable.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,8 @@ import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.s
1717
* that calls this contract's _rescueTokens.
1818
* @dev Note that this extension does not provide an external function to set
1919
* rescuers. This should be implemented in the derived contract.
20+
* @dev This contract inherits from {DataService} which needs to be initialized, please see
21+
* {DataService} for detailed instructions.
2022
*/
2123
abstract contract DataServiceRescuable is DataService, IDataServiceRescuable {
2224
/// @notice List of rescuers and their allowed status

0 commit comments

Comments
 (0)