VoteWeighting

Verified contract

Active on Ethereum with 32 txns
Deployed by via 0xc4b0cd62 at 20312875
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "VoteWeighting"

0x61837e6ee2f2b4f7e1473a423befd1c8fed792d7a7f232d782c85f04c77a6374
0x96dc403b1e89f52a574cb0690e67d41612ca448ccf105efaddfa6dba3caf7f8b
0x36b1d2f1a16ca7d735c4e284adb3382f7b6fee741da98f81db49157e80ee8e8b
0x626d40e52e04dd0a953899f0b21cba477929b8a0c057e1345bd3ca4ab6dbeb8b
0x5bb790faa537184c8e7bf383f8864293ca792c23dbca5c4f67421ad9a36d5e97
0x1f3e3630c9f0c6c5b7ef11cf1f16ba1198fc4410250846619573f78247ed2a1d
0x79c3c17dd99c93b27cad04e3dbc101a75024e98ca735b575f326b8a19b295b04
0x91a8de5ed3d4342e53862864a492f3973bcf06f78d5c666f15631e0c9c68a8fd
0x1f4cfdab9780de529de41683ef918d8d5a1265972917c42901ea40eed630e0e4
0x0b45bb63221af01aae9b1d51fff0d0a0ed4aa1ccfe9e3358ded3604630d7f6c8

Functions
Getter at block 21258654
MAX_EVM_CHAIN_ID(view returns (uint256)
9223372036854775771
MAX_NUM_WEEKS(view returns (uint256)
250
MAX_WEIGHT(view returns (uint256)
10000
WEEK(view returns (uint256)
604800
WEIGHT_VOTE_DELAY(view returns (uint256)
864000
dispenser(view returns (address)
0x5650300fcbab43a0d7d02f8cb5d0f039402593f0
 
getAllNominees(view returns (struct Nominee[])
getAllRemovedNominees(view returns (struct Nominee[])
[(0x0000000000000000000000000000000000000000000000000000000000000000, 0)]
getNumNominees(view returns (uint256)
24
getNumRemovedNominees(view returns (uint256)
0
getWeightsSum(view returns (uint256)
173151034780067659728000
owner(view returns (address)
0xeb2a22b27c7ad5eee424fd90b376c745e60f914e
timeSum(view returns (uint256)
1730937600
ve(view returns (address)
0x7e01a500805f8a52fad229b3015ad130a332b7b3
Read-only
changesSum(uint256view returns (uint256)
changesWeight(bytes32uint256view returns (uint256)
getNextAllowedVotingTimes(bytes32[] accountsuint256[] chainIdsaddress[] votersview returns (uint256[] nextAllowedVotingTimes)
getNominee(uint256 idview returns (struct Nominee)
getNomineeId(bytes32 accountuint256 chainIdview returns (uint256)
getNomineeWeight(bytes32 accountuint256 chainIdview returns (uint256)
getRemovedNominee(uint256 idview returns (struct Nominee)
getRemovedNomineeId(bytes32 accountuint256 chainIdview returns (uint256)
lastUserVote(addressbytes32view returns (uint256)
mapNomineeIds(bytes32view returns (uint256)
mapRemovedNominees(bytes32view returns (uint256)
nomineeRelativeWeight(bytes32 accountuint256 chainIduint256 timeview returns (uint256 relativeWeightuint256 totalSum)
pointsSum(uint256view returns (uint256 biasuint256 slope)
pointsWeight(bytes32uint256view returns (uint256 biasuint256 slope)
setNominees(uint256view returns (bytes32 accountuint256 chainId)
setRemovedNominees(uint256view returns (bytes32 accountuint256 chainId)
timeWeight(bytes32view returns (uint256)
voteUserPower(addressview returns (uint256)
voteUserSlopes(addressbytes32view returns (uint256 slopeuint256 poweruint256 end)
State-modifying
addNomineeEVM(address accountuint256 chainId
addNomineeNonEVM(bytes32 accountuint256 chainId
changeDispenser(address newDispenser
changeOwner(address newOwner
checkpoint(
checkpointNominee(bytes32 accountuint256 chainId
nomineeRelativeWeightWrite(bytes32 accountuint256 chainIduint256 timereturns (uint256 relativeWeightuint256 totalSum)
removeNominee(bytes32 accountuint256 chainId
revokeRemovedNomineeVotingPower(bytes32 accountuint256 chainId
voteForNomineeWeights(bytes32 accountuint256 chainIduint256 weight
voteForNomineeWeightsBatch(bytes32[] accountsuint256[] chainIdsuint256[] weights
Events
AddNominee(bytes32 indexed accountuint256 chainIduint256 id
Checkpoint(address indexed senderuint256 sumBias
CheckpointNominee(address indexed senderbytes32 indexed nomineeAccountuint256 chainIduint256 nomineeWeightuint256 totalSum
DispenserUpdated(address indexed dispenser
NomineeRelativeWeightWrite(address indexed senderbytes32 indexed nomineeAccountuint256 chainIduint256 nomineeWeightuint256 totalSumuint256 relativeWeight
OwnerUpdated(address indexed owner
RemoveNominee(bytes32 indexed accountuint256 chainIduint256 newSum
VoteForNominee(address indexed userbytes32 indexed nomineeuint256 chainIduint256 weightuint256 powerUsed
VotingPowerRevoked(address indexed userbytes32 indexed nomineeuint256 chainIduint256 powerUsed
Constructor
constructor(address _ve
Fallback and receive

This contract contains no fallback and receive objects.

Errors
LockExpired(address accountuint256 deadlineuint256 curTime
NegativeSlope(address accountint128 slope
NomineeAlreadyExists(bytes32 accountuint256 chainId
NomineeDoesNotExist(bytes32 accountuint256 chainId
NomineeNotRemoved(bytes32 accountuint256 chainId
NomineeRemoved(bytes32 accountuint256 chainId
Overflow(uint256 provideduint256 max
OwnerOnly(address senderaddress owner
Underflow(uint256 provideduint256 expected
VoteTooOften(address voteruint256 curTimeuint256 nextAllowedVotingTime
WrongArrayLength(uint256 numValues1uint256 numValues2
ZeroAddress(
ZeroValue(