Skip to content

Commit 4f60b0c

Browse files
committed
chore: add security contact to the contracts
Signed-off-by: Tomás Migone <[email protected]>
1 parent 72066de commit 4f60b0c

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

47 files changed

+122
-1
lines changed

packages/horizon/contracts/data-service/DataService.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,8 @@ import { ProvisionManager } from "./utilities/ProvisionManager.sol";
2727
* will be required in the constructor.
2828
* - Note that in both cases if using {__DataService_init_unchained} variant the corresponding parent
2929
* initializers must be called in the implementation.
30+
* @custom:security-contact Please email [email protected] if you find any
31+
* bugs. We may have an active bug bounty program.
3032
*/
3133
abstract contract DataService is GraphDirectory, ProvisionManager, DataServiceV1Storage, IDataService {
3234
/**

packages/horizon/contracts/data-service/DataServiceStorage.sol

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
// SPDX-License-Identifier: GPL-3.0-or-later
22
pragma solidity 0.8.27;
33

4+
/**
5+
* @title DataServiceStorage
6+
* @dev This contract holds the storage variables for the DataService contract.
7+
* @custom:security-contact Please email [email protected] if you find any
8+
* bugs. We may have an active bug bounty program.
9+
*/
410
abstract contract DataServiceV1Storage {
511
/// @dev Gap to allow adding variables in future upgrades
612
/// Note that this contract is not upgradeable but might be inherited by an upgradeable contract

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import { DataServiceFeesV1Storage } from "./DataServiceFeesStorage.sol";
1616
* using a Horizon provision. See {IDataServiceFees} for more details.
1717
* @dev This contract inherits from {DataService} which needs to be initialized, please see
1818
* {DataService} for detailed instructions.
19+
* @custom:security-contact Please email [email protected] if you find any
20+
* bugs. We may have an active bug bounty program.
1921
*/
2022
abstract contract DataServiceFees is DataService, DataServiceFeesV1Storage, IDataServiceFees {
2123
using ProvisionTracker for mapping(address => uint256);

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,8 @@ import { LinkedList } from "../../libraries/LinkedList.sol";
77

88
/**
99
* @title Storage layout for the {DataServiceFees} extension contract.
10+
* @custom:security-contact Please email [email protected] if you find any
11+
* bugs. We may have an active bug bounty program.
1012
*/
1113
abstract contract DataServiceFeesV1Storage {
1214
mapping(address serviceProvider => uint256 tokens) public feesProvisionTracker;

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

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,8 @@ import { DataService } from "../DataService.sol";
1616
* guardians. This should be implemented in the derived contract.
1717
* @dev This contract inherits from {DataService} which needs to be initialized, please see
1818
* {DataService} for detailed instructions.
19+
* @custom:security-contact Please email [email protected] if you find any
20+
* bugs. We may have an active bug bounty program.
1921
*/
2022
abstract contract DataServicePausable is Pausable, DataService, IDataServicePausable {
2123
/// @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
@@ -12,6 +12,8 @@ import { DataService } from "../DataService.sol";
1212
* @dev Upgradeable version of the {DataServicePausable} contract.
1313
* @dev This contract inherits from {DataService} which needs to be initialized, please see
1414
* {DataService} for detailed instructions.
15+
* @custom:security-contact Please email [email protected] if you find any
16+
* bugs. We may have an active bug bounty program.
1517
*/
1618
abstract contract DataServicePausableUpgradeable is PausableUpgradeable, DataService, IDataServicePausable {
1719
/// @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
@@ -19,6 +19,8 @@ import { SafeERC20 } from "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.s
1919
* rescuers. This should be implemented in the derived contract.
2020
* @dev This contract inherits from {DataService} which needs to be initialized, please see
2121
* {DataService} for detailed instructions.
22+
* @custom:security-contact Please email [email protected] if you find any
23+
* bugs. We may have an active bug bounty program.
2224
*/
2325
abstract contract DataServiceRescuable is DataService, IDataServiceRescuable {
2426
/// @notice List of rescuers and their allowed status

packages/horizon/contracts/data-service/interfaces/IDataService.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -12,6 +12,8 @@ import { IGraphPayments } from "../../interfaces/IGraphPayments.sol";
1212
* the implementation code and the documentation.
1313
* @dev This interface is expected to be inherited and extended by a data service interface. It can be
1414
* used to interact with it however it's advised to use the more specific parent interface.
15+
* @custom:security-contact Please email [email protected] if you find any
16+
* bugs. We may have an active bug bounty program.
1517
*/
1618
interface IDataService {
1719
/**

packages/horizon/contracts/data-service/interfaces/IDataServiceFees.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,8 @@ import { IDataService } from "./IDataService.sol";
1818
* @dev Note that this implementation uses the entire provisioned stake as collateral for the payment.
1919
* It can be used to provide economic security for the payments collected as long as the provisioned
2020
* stake is not being used for other purposes.
21+
* @custom:security-contact Please email [email protected] if you find any
22+
* bugs. We may have an active bug bounty program.
2123
*/
2224
interface IDataServiceFees is IDataService {
2325
/**

packages/horizon/contracts/data-service/interfaces/IDataServicePausable.sol

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,8 @@ import { IDataService } from "./IDataService.sol";
88
* @notice Extension for the {IDataService} contract, adds pausing functionality
99
* to the data service. Pausing is controlled by privileged accounts called
1010
* pause guardians.
11+
* @custom:security-contact Please email [email protected] if you find any
12+
* bugs. We may have an active bug bounty program.
1113
*/
1214
interface IDataServicePausable is IDataService {
1315
/**

0 commit comments

Comments
 (0)