VoteWeighting
Verified contract
Active on
Ethereum with 32 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($0.00)
No balances found for "VoteWeighting"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21104766 | 21 days ago | | | 0 | 0.0012641578 | |
| 21080130 | 25 days ago | | | 0 | 0.071867487 | |
| 21080043 | 25 days ago | | | 0 | 0.0028151595 | |
| 21079997 | 25 days ago | | | 0 | 0.0025226300 | |
| 21079975 | 25 days ago | | | 0 | 0.0026699241 | |
| 21079971 | 25 days ago | | | 0 | 0.0028063518 | |
| 21079967 | 25 days ago | | | 0 | 0.0030642179 | |
| 21079893 | 25 days ago | | | 0 | 0.0034317318 | |
| 21079890 | 25 days ago | | | 0 | 0.0032067081 | |
| 21079757 | 25 days ago | | | 0 | 0.0030677941 |
ABI
ABI objects
Getter at block 21258654 getAllNominees() view returns (struct Nominee[])
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
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(uint256) view returns (uint256)
changesWeight(bytes32, uint256) view returns (uint256)
getNextAllowedVotingTimes(bytes32[] accounts, uint256[] chainIds, address[] voters) view returns (uint256[] nextAllowedVotingTimes)
getNominee(uint256 id) view returns (struct Nominee)
getNomineeId(bytes32 account, uint256 chainId) view returns (uint256)
getNomineeWeight(bytes32 account, uint256 chainId) view returns (uint256)
getRemovedNominee(uint256 id) view returns (struct Nominee)
getRemovedNomineeId(bytes32 account, uint256 chainId) view returns (uint256)
lastUserVote(address, bytes32) view returns (uint256)
mapNomineeIds(bytes32) view returns (uint256)
mapRemovedNominees(bytes32) view returns (uint256)
nomineeRelativeWeight(bytes32 account, uint256 chainId, uint256 time) view returns (uint256 relativeWeight, uint256 totalSum)
pointsSum(uint256) view returns (uint256 bias, uint256 slope)
pointsWeight(bytes32, uint256) view returns (uint256 bias, uint256 slope)
setNominees(uint256) view returns (bytes32 account, uint256 chainId)
setRemovedNominees(uint256) view returns (bytes32 account, uint256 chainId)
timeWeight(bytes32) view returns (uint256)
voteUserPower(address) view returns (uint256)
voteUserSlopes(address, bytes32) view returns (uint256 slope, uint256 power, uint256 end)
State-modifying
Events addNomineeEVM(address account, uint256 chainId)
addNomineeNonEVM(bytes32 account, uint256 chainId)
changeDispenser(address newDispenser)
changeOwner(address newOwner)
checkpoint()
checkpointNominee(bytes32 account, uint256 chainId)
nomineeRelativeWeightWrite(bytes32 account, uint256 chainId, uint256 time) returns (uint256 relativeWeight, uint256 totalSum)
removeNominee(bytes32 account, uint256 chainId)
revokeRemovedNomineeVotingPower(bytes32 account, uint256 chainId)
voteForNomineeWeights(bytes32 account, uint256 chainId, uint256 weight)
voteForNomineeWeightsBatch(bytes32[] accounts, uint256[] chainIds, uint256[] weights)
AddNominee(bytes32 indexed account, uint256 chainId, uint256 id)
Checkpoint(address indexed sender, uint256 sumBias)
CheckpointNominee(address indexed sender, bytes32 indexed nomineeAccount, uint256 chainId, uint256 nomineeWeight, uint256 totalSum)
DispenserUpdated(address indexed dispenser)
NomineeRelativeWeightWrite(address indexed sender, bytes32 indexed nomineeAccount, uint256 chainId, uint256 nomineeWeight, uint256 totalSum, uint256 relativeWeight)
OwnerUpdated(address indexed owner)
RemoveNominee(bytes32 indexed account, uint256 chainId, uint256 newSum)
VoteForNominee(address indexed user, bytes32 indexed nominee, uint256 chainId, uint256 weight, uint256 powerUsed)
VotingPowerRevoked(address indexed user, bytes32 indexed nominee, uint256 chainId, uint256 powerUsed)
constructor(address _ve)
This contract contains no fallback and receive objects.
LockExpired(address account, uint256 deadline, uint256 curTime)
NegativeSlope(address account, int128 slope)
NomineeAlreadyExists(bytes32 account, uint256 chainId)
NomineeDoesNotExist(bytes32 account, uint256 chainId)
NomineeNotRemoved(bytes32 account, uint256 chainId)
NomineeRemoved(bytes32 account, uint256 chainId)
Overflow(uint256 provided, uint256 max)
OwnerOnly(address sender, address owner)
Underflow(uint256 provided, uint256 expected)
VoteTooOften(address voter, uint256 curTime, uint256 nextAllowedVotingTime)
WrongArrayLength(uint256 numValues1, uint256 numValues2)
ZeroAddress()
ZeroValue()