You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: contracts/interfaces/native/IGaugeController.sol
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -11,9 +11,9 @@ import "./GaugeStructs.sol";
11
11
* Current gauge weights can be obtained through [`getGaugeWeight()`](#getgaugeweight) and [`getAllGaugeWeights()`](#getallgaugeweights)
12
12
*
13
13
* Only governance can make mutator calls to GaugeController.sol. There are no unpermissioned external mutator calls in this contract.
14
-
*
14
+
*
15
15
* After every epoch, governance must call [`updateGaugeWeights()`](#updategaugeweights). This will process the last epoch's votes (stored in this contract).
16
-
*
16
+
*
17
17
* Individual voters register and manage their vote through voting contracts that conform to IGaugeVoting.
18
18
*
19
19
* Governance can [`addGauge()`](#addgauge) or [`pauseGauge()`](#pausegauge).
@@ -27,7 +27,7 @@ interface IGaugeController {
27
27
/// @notice Thrown when zero address is given as an argument.
28
28
/// @param contractName Name of contract for which zero address was incorrectly provided.
29
29
error ZeroAddressInput(stringcontractName);
30
-
30
+
31
31
/// @notice Thrown when array arguments are mismatched in length;
32
32
error ArrayArgumentsLengthMismatch();
33
33
@@ -174,7 +174,7 @@ interface IGaugeController {
174
174
* @return numPausedGauges
175
175
*/
176
176
function getNumPausedGauges() externalviewreturns (uint256numPausedGauges);
177
-
177
+
178
178
/**
179
179
* @notice Get gauge name.
180
180
* @param gaugeID_ The ID of the gauge to query.
@@ -238,7 +238,7 @@ interface IGaugeController {
238
238
* @return votersCount Number of votes.
239
239
*/
240
240
function getVotersCount(addressvotingContract_) externalviewreturns (uint256votersCount);
241
-
241
+
242
242
/**
243
243
* @notice Get current epoch length in seconds.
244
244
* @return epochLength
@@ -337,7 +337,7 @@ interface IGaugeController {
337
337
* @param tokenholder_ Address of new tokenholder.
338
338
*/
339
339
function removeTokenholder(addresstokenholder_) external;
340
-
340
+
341
341
/**
342
342
* @notice Set annual rate-on-line for selected gaugeIDs
* Current gauge weights can be obtained through [`getGaugeWeight()`](#getgaugeweight) and [`getAllGaugeWeights()`](#getallgaugeweights)
19
19
*
20
20
* Only governance can make mutator calls to GaugeController.sol. There are no unpermissioned external mutator calls in this contract.
21
-
*
21
+
*
22
22
* After every epoch, governance must call [`updateGaugeWeights()`](#updategaugeweights). This will process the last epoch's votes (stored in this contract).
23
-
*
23
+
*
24
24
* Individual voters register and manage their vote through voting contracts that conform to IGaugeVoting.
25
25
*
26
26
* Governance can [`addGauge()`](#addgauge) or [`pauseGauge()`](#pausegauge).
0 commit comments