SwagGovernance
Verified contract
Active on
Ethereum with 2,755 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional
variables
Balances ($326,291.04)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
USDC | ERC-20 | 326.545094K | $0.999222 |
$326,291.04 | |
SWAG | ERC-20 | 3.930558M | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20991924 | a month ago | | | 0 | 0.0016792347 | |
| 20991906 | a month ago | | | 0 | 0.00087062020 | |
| 20391921 | 4 months ago | | | 0 | 0.00053955754 | |
| 20217185 | 5 months ago | | | 0 | 0.00042380437 | |
| 20187220 | 5 months ago | | | 0 | 0.00049250890 | |
| 20177388 | 5 months ago | | | 0 | 0.0015181298 | |
| 19558731 | 8 months ago | | | 0 | 0.0013896969 | |
| 19464712 | 8 months ago | | | 0 | 0.0020488090 | |
| 19424936 | 9 months ago | | | 0 | 0.0047371937 | |
| 19402137 | 9 months ago | | | 0 | 0.0049199007 |
ABI
ABI objects
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 account) view returns (uint256)
earned(address account) view returns (uint256)
getStats(uint256 id) view returns (uint256 _for, uint256 _against, uint256 _quorum)
getStatsByUser(uint256 id, address user) view returns (uint256 _for, uint256 _against)
proposals(uint256) view returns (uint256 id, address proposer, uint256 totalForVotes, uint256 totalAgainstVotes, uint256 start, uint256 end, string hash, uint256 totalVotesAvailable, uint256 quorum, uint256 quorumRequired, bool open)
rewards(address) view returns (uint256)
userRewardPerTokenPaid(address) view returns (uint256)
voteLock(address) view returns (uint256)
voters(address) view returns (bool)
votes(address) view returns (uint256)
votesOf(address voter) view returns (uint256)
State-modifying
Events exit()
getReward()
notifyRewardAmount(uint256 reward, uint256 day)
propose(string hash)
register()
renounceOwnership()
revoke()
seize(address _token, uint256 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)
NewProposal(uint256 id, address creator, uint256 start, uint256 duration)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
ProposalFinished(uint256 indexed id, uint256 _for, uint256 _against, bool quorumReached)
RegisterVoter(address voter, uint256 votes, uint256 totalVotes)
RevokeVoter(address voter, uint256 votes, uint256 totalVotes)
RewardAdded(uint256 reward)
RewardPaid(address indexed user, uint256 reward)
Staked(address indexed user, uint256 amount)
Vote(uint256 indexed id, address indexed voter, bool vote, uint256 weight)
Withdrawn(address indexed user, uint256 amount)
constructor(address _governance, address reward, address swag)
This contract contains no fallback and receive objects.
This contract contains no error objects.