Skip to main content

ControllerStorage

ControllerStorage

votingEscrow

contract IVotingEscrow votingEscrow

p12CoinFactory

address p12CoinFactory

nGaugeTypes

int128 nGaugeTypes

nGauges

int128 nGauges

timeTotal

uint256 timeTotal

__gap

uint256[45] __gap

gaugeTypeNames

mapping(int128 => string) gaugeTypeNames

gauges

mapping(int128 => address) gauges

gaugeTypes

mapping(address => int128) gaugeTypes

voteUserSlopes

mapping(address => mapping(address => struct ControllerStorage.VotedSlope)) voteUserSlopes

voteUserPower

mapping(address => uint256) voteUserPower

lastUserVote

mapping(address => mapping(address => uint256)) lastUserVote

pointsWeight

mapping(address => mapping(uint256 => struct ControllerStorage.Point)) pointsWeight

changesWeight

mapping(address => mapping(uint256 => uint256)) changesWeight

timeWeight

mapping(address => uint256) timeWeight

pointsSum

mapping(int128 => mapping(uint256 => struct ControllerStorage.Point)) pointsSum

changesSum

mapping(int128 => mapping(uint256 => uint256)) changesSum

timeSum

mapping(int128 => uint256) timeSum

pointsTotal

mapping(uint256 => uint256) pointsTotal

pointsTypeWeight

mapping(int128 => mapping(uint256 => uint256)) pointsTypeWeight

timeTypeWeight

mapping(int128 => uint256) timeTypeWeight

Point

struct Point {
uint256 bias;
uint256 slope;
}

VotedSlope

struct VotedSlope {
uint256 slope;
uint256 power;
uint256 end;
}

TmpBiasAndSlope

struct TmpBiasAndSlope {
uint256 oldWeightBias;
uint256 oldWeightSlope;
uint256 oldSumBias;
uint256 oldSumSlope;
}

TmpBias

struct TmpBias {
uint256 oldBias;
uint256 newBias;
}