YearnGovernance

Verified contract

Active on Ethereum with 31,861 txns
Deployed by via 0xc076f4db at 10553531
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
1 additional variable
ERC-20
Value $234,899.73
ERC-20
Value $209.25
ERC-20
Value $0
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
ERC-20
--
0x0d4b783d827287fdf12db884c70553979097756554548187cf5bbc9caca37593
0xeafc90b926d86d25843f3e0eebd9fda7ee5d5650566bc2d3de4f915a665c2cd8
0x7cf120ac0de0fda267f52357431cd3e79f06535c1c23a328bbdb9f672078f4ed
0xcf27e975e687dabebd8a4ce0f7d0ff9c98ba855bef439f6f47a22133412920ed
0x8dc28ea87793dfe10513074e91571012eb92efaf4908b8b9f7e90bec700c07ee
0xeb244aaafab4ae282a4894a2689f7c6538899d83d83a67deb131556fd28e1d2f
0x1f3f568d3bda4b7d6b0a8b1dda81780792ce023cf7e99322b9ce638f8ccedb19
0x9622a8cfe8e1f577041e64722871afbaf38b8cec51121786e63fb53ffd23982c
0x1fa51792143760d80a2e0052b85d6eb1ede14456ea4f48901781e19eae508b66
0x8f48423f45c2c3209c9c7fcfe24d7b08274e9879c808e7abeee817516aa40255

Functions
Getter at block 21260679
DURATION(view returns (uint256)
604800
breaker(view returns (bool)
true
config(view returns (bool)
false
governance(view returns (address)
0xfeb4acf3df3cdea7399794d0869ef76a6efaff52
isOwner(view returns (bool)
false
lastTimeRewardApplicable(view returns (uint256)
1613286754
lastUpdateTime(view returns (uint256)
1613286754
lock(view returns (uint256)
17280
minimum(view returns (uint256)
1000000000000000000
owner(view returns (address)
0x2d407ddb06311396fe14d4b49da5f0471447d45c
period(view returns (uint256)
17280
periodFinish(view returns (uint256)
1613286754
proposalCount(view returns (uint256)
48
quorum(view returns (uint256)
2000
rewardPerToken(view returns (uint256)
444622472786684569074
rewardPerTokenStored(view returns (uint256)
444622472786684569074
rewardRate(view returns (uint256)
75567597292674868
token(view returns (address)
0xdf5e0e81dff6faf3a7e52ba697820c5e32d806a8
totalSupply(view returns (uint256)
31742335726275688549
totalVotes(view returns (uint256)
21572696495339255239
vote(view returns (address)
0x0bc529c00c6401aef6d220be8c6ea1667f6ad93e
Read-only
balanceOf(address accountview returns (uint256)
earned(address accountview returns (uint256)
getStats(uint256 idview returns (uint256 _foruint256 _againstuint256 _quorum)
proposals(uint256view returns (uint256 idaddress proposeruint256 totalForVotesuint256 totalAgainstVotesuint256 startuint256 endaddress executorstring hashuint256 totalVotesAvailableuint256 quorumuint256 quorumRequiredbool open)
rewards(addressview returns (uint256)
userRewardPerTokenPaid(addressview returns (uint256)
voteLock(addressview returns (uint256)
voters(addressview returns (bool)
votes(addressview returns (uint256)
votesOf(address voterview returns (uint256)
State-modifying
execute(uint256 id
exit(
getReward(
initialize(uint256 id
notifyRewardAmount(uint256 reward
propose(address executorstring hash
register(
renounceOwnership(
revoke(
seize(address _tokenuint256 amount
setBreaker(bool _breaker
setGovernance(address _governance
setLock(uint256 _lock
setMinimum(uint256 _minimum
setPeriod(uint256 _period
setQuorum(uint256 _quorum
setRewardDistribution(address _rewardDistribution
stake(uint256 amount
tallyVotes(uint256 id
transferOwnership(address newOwner
voteAgainst(uint256 id
voteFor(uint256 id
withdraw(uint256 amount
Events
NewProposal(uint256 idaddress creatoruint256 startuint256 durationaddress executor
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
ProposalFinished(uint256 indexed iduint256 _foruint256 _againstbool quorumReached
RegisterVoter(address voteruint256 votesuint256 totalVotes
RevokeVoter(address voteruint256 votesuint256 totalVotes
RewardAdded(uint256 reward
RewardPaid(address indexed useruint256 reward
Staked(address indexed useruint256 amount
Vote(uint256 indexed idaddress indexed voterbool voteuint256 weight
Withdrawn(address indexed useruint256 amount
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.