Skip to content

Commit c663a41

Browse files
f: remove unused getters
1 parent 8c19446 commit c663a41

File tree

1 file changed

+0
-18
lines changed

1 file changed

+0
-18
lines changed

packages/subgraph-service/contracts/libraries/IndexingAgreement.sol

Lines changed: 0 additions & 18 deletions
Original file line numberDiff line numberDiff line change
@@ -3,11 +3,9 @@ pragma solidity 0.8.27;
33

44
import { IGraphPayments } from "@graphprotocol/horizon/contracts/interfaces/IGraphPayments.sol";
55
import { IRecurringCollector } from "@graphprotocol/horizon/contracts/interfaces/IRecurringCollector.sol";
6-
import { GraphDirectory } from "@graphprotocol/horizon/contracts/utilities/GraphDirectory.sol";
76

87
import { ISubgraphService } from "../interfaces/ISubgraphService.sol";
98
import { AllocationManager } from "../utilities/AllocationManager.sol";
10-
import { SubgraphService } from "../SubgraphService.sol";
119
import { Directory } from "../utilities/Directory.sol";
1210
import { Allocation } from "./Allocation.sol";
1311
import { IndexingAgreementDecoder } from "./IndexingAgreementDecoder.sol";
@@ -715,22 +713,6 @@ library IndexingAgreement {
715713
return Directory(address(this));
716714
}
717715

718-
/**
719-
* @notice Gets the Graph Directory
720-
* @return The Graph Directory contract
721-
*/
722-
function _graphDirectory() private view returns (GraphDirectory) {
723-
return GraphDirectory(address(this));
724-
}
725-
726-
/**
727-
* @notice Gets the Subgraph Service
728-
* @return The Subgraph Service contract
729-
*/
730-
function _subgraphService() private view returns (SubgraphService) {
731-
return SubgraphService(address(this));
732-
}
733-
734716
/**
735717
* @notice Gets the indexing agreement wrapper for a given agreement ID.
736718
* @dev This function retrieves the indexing agreement wrapper containing the agreement state and collector agreement data.

0 commit comments

Comments
 (0)