@@ -77,7 +77,7 @@ contract SubgraphService is
77
77
address owner ,
78
78
uint256 minimumProvisionTokens ,
79
79
uint32 maximumDelegationRatio ,
80
- uint256 stakeToFeesRatio
80
+ uint256 stakeToFeesRatio_
81
81
) external initializer {
82
82
__Ownable_init (owner);
83
83
__Multicall_init ();
@@ -87,7 +87,7 @@ contract SubgraphService is
87
87
88
88
_setProvisionTokensRange (minimumProvisionTokens, type (uint256 ).max);
89
89
_setDelegationRatio (maximumDelegationRatio);
90
- _setStakeToFeesRatio (stakeToFeesRatio );
90
+ _setStakeToFeesRatio (stakeToFeesRatio_ );
91
91
}
92
92
93
93
/**
@@ -113,7 +113,7 @@ contract SubgraphService is
113
113
address indexer ,
114
114
bytes calldata data
115
115
) external override onlyAuthorizedForProvision (indexer) onlyValidProvision (indexer) whenNotPaused {
116
- (string memory url , string memory geohash , address rewardsDestination ) = abi.decode (
116
+ (string memory url , string memory geohash , address rewardsDestination_ ) = abi.decode (
117
117
data,
118
118
(string , string , address )
119
119
);
@@ -124,8 +124,8 @@ contract SubgraphService is
124
124
125
125
// Register the indexer
126
126
indexers[indexer] = Indexer ({ registeredAt: block .timestamp , url: url, geoHash: geohash });
127
- if (rewardsDestination != address (0 )) {
128
- _setRewardsDestination (indexer, rewardsDestination );
127
+ if (rewardsDestination_ != address (0 )) {
128
+ _setRewardsDestination (indexer, rewardsDestination_ );
129
129
}
130
130
131
131
emit ServiceProviderRegistered (indexer, data);
@@ -345,8 +345,8 @@ contract SubgraphService is
345
345
}
346
346
347
347
/// @inheritdoc ISubgraphService
348
- function setRewardsDestination (address rewardsDestination ) external override {
349
- _setRewardsDestination (msg .sender , rewardsDestination );
348
+ function setRewardsDestination (address rewardsDestination_ ) external override {
349
+ _setRewardsDestination (msg .sender , rewardsDestination_ );
350
350
}
351
351
352
352
/// @inheritdoc ISubgraphService
@@ -365,8 +365,8 @@ contract SubgraphService is
365
365
}
366
366
367
367
/// @inheritdoc ISubgraphService
368
- function setMaxPOIStaleness (uint256 maxPOIStaleness ) external override onlyOwner {
369
- _setMaxPOIStaleness (maxPOIStaleness );
368
+ function setMaxPOIStaleness (uint256 maxPOIStaleness_ ) external override onlyOwner {
369
+ _setMaxPOIStaleness (maxPOIStaleness_ );
370
370
}
371
371
372
372
/// @inheritdoc ISubgraphService
0 commit comments