Voter

Verified contract

Active on Base with 6,128 txns
Deployed by via 0xd0e753d9 at 6187004
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x2025f9781d0bcd4c81694997b2ed83ed71664f668a410fe68bc2b0d435823462
0x19defa3d758d3b14102a738ce45a0749fd4a74adf6fce421fd10416e42e30e46
0xc79edad3094a9c9e941c87943485cc2ac02b3085c0a15606ee0087ac0838f2f7
0x60f3dd37a0883f8502a8b3368ab490e38c140c968bbf6ce5bedb403c5aa22066
0x68ff356bd25cdd3747dc8af45a66f22f1996ba15a4fcf2d9e43d3e1230637cdd
0xa30374c6108693675f353670a3c9d78df486edd9ba52782fce4fde3bd6a8addc
0xdd6c63ba1c542c468ed6f9f1f6c732ba21a435113c77143af302a18471cf0685
0x544a07e7ff6a182420db950e42343f44ffff1d6e0c562463919077b08901580c
0x7bc223ef30bd3e9b667ebfda8443bc0e8f974479cedf4a89bfe7e056ca29292c
0x7ea6f58b025518363f27273e8d832cc99297ef635a89fcdd2dcc6f8912523c90

Functions
Getter at block 22761166
OTOKEN(view returns (address)
0xbe1053ec4ac137c9a5b4462d53d5c2c0b89a2b79
VTOKEN(view returns (address)
0x60c08737877a5262bdb1c1cac8fb90b5e5b11515
bribefactory(view returns (address)
0x9714412e8838337e60c8f7b4c2bc49247964c0fd
gaugefactory(view returns (address)
0xe23e1a116090a0829b7ab536a3af463a5a36a5a5
 
getPlugins(view returns (address[])
length(view returns (uint256)
38
minter(view returns (address)
0xf49222fccba2c149b3ff3ae9d3a30edb1f162576
owner(view returns (address)
0x46e77d8349ba8ae9137b89196a61ffee2c8c64b4
totalWeight(view returns (uint256)
10448662896914448455074
Read-only
bribes(addressview returns (address)
claimable(addressview returns (uint256)
gauges(addressview returns (address)
isAlive(addressview returns (bool)
isGauge(addressview returns (bool)
lastVoted(addressview returns (uint256)
pluginForGauge(addressview returns (address)
pluginVote(addressuint256view returns (address)
plugins(uint256view returns (address)
usedWeights(addressview returns (uint256)
votes(addressaddressview returns (uint256)
weights(addressview returns (uint256)
State-modifying
addBribeReward(address _bribeaddress _rewardToken
addPlugin(address _pluginreturns (address)
claimBribes(address[] _bribes
claimRewards(address[] _gauges
distribute(address _gauge
distribute(uint256 startuint256 finish
distributeToBribes(address[] _plugins
distro(
emitDeposit(address accountuint256 amount
emitWithdraw(address accountuint256 amount
initialize(address _minter
killGauge(address _gauge
notifyRewardAmount(uint256 amount
renounceOwnership(
reset(
reviveGauge(address _gauge
transferOwnership(address newOwner
updateAll(
updateFor(address[] _gauges
updateForRange(uint256 startuint256 end
updateGauge(address _gauge
vote(address[] _pluginsuint256[] _weights
Events
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Voter__Abstained(address accountuint256 weight
Voter__BribeRewardAdded(address indexed bribeaddress indexed reward
Voter__Deposit(address indexed pluginaddress indexed gaugeaddress accountuint256 amount
Voter__DistributeReward(address indexed senderaddress indexed gaugeuint256 amount
Voter__GaugeCreated(address creatoraddress indexed pluginaddress indexed gaugeaddress bribe
Voter__GaugeKilled(address indexed gauge
Voter__GaugeRevived(address indexed gauge
Voter__NotifyReward(address indexed senderaddress indexed rewarduint256 amount
Voter__Voted(address indexed voteruint256 weight
Voter__Withdraw(address indexed pluginaddress indexed gaugeaddress accountuint256 amount
Constructor
constructor(address _VTOKENaddress _gaugefactoryaddress _bribefactory
Fallback and receive

This contract contains no fallback and receive objects.

Errors
Voter__AlreadyVotedThisEpoch(
Voter__GaugeExists(
Voter__GaugeIsAlive(
Voter__GaugeIsDead(
Voter__InvalidZeroAddress(
Voter__NotAuthorizedGovernance(
Voter__NotAuthorizedMinter(
Voter__NotGauge(
Voter__NotMinter(
Voter__PluginLengthNotEqualToWeightLength(