SwagGovernance

Verified contract

Active on Ethereum with 2,755 txns
Deployed by via 0xb92de9a5 at 11067023
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables
ERC-20
Value $326,291.04
ERC-20
--
0xa96ebabf2aea218a82d53daf0923f6e5bc95f293f7b3ad43eab42477fbd987b5
0x2c683e3c778b9438af455bb9a91abb096dc0ad56102ab0b0d44593d258839477
0xd12ead41916d432f70f8191ba033bb83e195c4f21db6fba581610c1eb54a2563
0xa48aff9b820faddfcac770d5c589f94197fbed473c0d93746fbb5e0f3948cb1c
0xca6fa0c8961bd09b4b9783e86f03e9c8fc2c30135052d7fdc605f2ac2bccc49f
0xa758f1f40a702309e96ef1ee7ea2dcaf954b9531d624cad53a6fa7ba0c2004a6
0xc713fbe559ea87152c79304afb81dd2095ef111d5e35070c873e27ef35bdd7d9
0xae2939f724827fb87cd43b6404fc77b64fe9f38661a8d2fb4ce928a8f6e76a51
0x21782e0eab709a093c9c1a05ea78fa0f6dd20622b4edcac6583968011d5b110c
0x85f1bdf3666692cfbc501b01e0269a353321966d921ad5e242f501b43b748c9b

Functions
Getter at block 21284743
breaker(view returns (bool)
true
duration(view returns (uint256)
2073600
governance(view returns (address)
0x8673327a4b5a3c83919cfeca3813a36aa61c5719
isOwner(view returns (bool)
false
isRewardLock(view returns (bool)
true
lastTimeRewardApplicable(view returns (uint256)
1621510169
lastUpdateTime(view returns (uint256)
1621510169
lock(view returns (uint256)
44800
minimum(view returns (uint256)
0
minimumVote(view returns (uint256)
1000000000000000000
owner(view returns (address)
0x8673327a4b5a3c83919cfeca3813a36aa61c5719
period(view returns (uint256)
179200
periodFinish(view returns (uint256)
1621510169
proposalCount(view returns (uint256)
21
publicProposal(view returns (bool)
false
quorum(view returns (uint256)
2000
rewardPerToken(view returns (uint256)
20182
rewardPerTokenStored(view returns (uint256)
20182
rewardRate(view returns (uint256)
24112
token(view returns (address)
0xa0b86991c6218b36c1d19d4a2e9eb0ce3606eb48
totalSupply(view returns (uint256)
3930558377227899447147697
totalVotes(view returns (uint256)
3908598699569858389592328
vote(view returns (address)
0x87edffde3e14c7a66c9b9724747a1c5696b742e6
Read-only
balanceOf(address accountview returns (uint256)
earned(address accountview returns (uint256)
getStats(uint256 idview returns (uint256 _foruint256 _againstuint256 _quorum)
getStatsByUser(uint256 idaddress userview returns (uint256 _foruint256 _against)
proposals(uint256view returns (uint256 idaddress proposeruint256 totalForVotesuint256 totalAgainstVotesuint256 startuint256 endstring 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
exit(
getReward(
notifyRewardAmount(uint256 rewarduint256 day
propose(string hash
register(
renounceOwnership(
revoke(
seize(address _tokenuint256 amount
setBreaker(bool _breaker
setGovernance(address _governance
setLock(uint256 _lock
setMinimum(uint256 _minimum
setMinimumVote(uint256 _minimumVote
setPeriod(uint256 _period
setPublicProposal(bool _publicProposal
setQuorum(uint256 _quorum
setRewardDistribution(address _rewardDistribution
setRewardLock(bool _isLock
stake(uint256 amount
tallyVotes(uint256 id
transferOwnership(address newOwner
voteAgainst(uint256 id
voteFor(uint256 id
withdraw(uint256 amount
Events
NewProposal(uint256 idaddress creatoruint256 startuint256 duration
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
constructor(address _governanceaddress rewardaddress swag
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.