Technical Specifications
Gauge Controller
Contract Address : 0x895D0A8A439616e737Dcfb3BD59C552CBA05251c
Public functions
/// @notice Allocate voting power for changing pool weights
/// @param _gAddr Gauge which `msg.sender` votes for
/// @param _userWeight Weight for a gauge in bps (units of 0.01%). Minimal is 0.01%. Ignored if 0
function voteForGaugeWeight(address _gAddr, uint256 _userWeight);
External;
/// @notice Checkpoint to fill data common for all gauges
function checkpoint() external;
/// @notice checkpoints gauge weight for missing weeks
function checkpointGauge(address _gAddr) external;
/// @notice Get gauge weight normalized to 1e18 and also fill all the unfilled
// values for type and gauge records
/// @dev Any address can call, however nothing is recorded if the values are filled a already
/// @param _gAddr Gauge address
/// @param _time Relative weight at the specified timestamp in the past or present
/// @return Value of relative weight normalized to 1e18
function gaugeRelativeWeightWrite(address _gAddr, uint256 _time)
external
returns (uint256);
/// @notice Get gauge weight normalized to 1e18 and also fill all the unfilled
// values for type and gauge records
/// @dev Gets the current week’s relative weight for the gauge.
function gaugeRelativeWeightWrite(address _gAddr)
external
returns (uint256);View functions
SPA Reward Manager
Public functions
View functions
Bribe Contract
Public functions
View functions
Last updated
Was this helpful?