VotingChallenge
Verified contract
Active on
Ethereum with 8 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 "VotingChallenge"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 6784289 | 6 years ago | | | 0 | 0.00013152600 | |
| 6784286 | 6 years ago | | | 0 | 0.00012915600 | |
| 6784284 | 6 years ago | | | 0 | 0.00014847600 | |
| 6784283 | 6 years ago | | | 0 | 0.00014515200 | |
| 6784282 | 6 years ago | | | 0 | 0.00014847600 | |
| 6784281 | 6 years ago | | | 0 | 0.00058824000 | |
| 6782839 | 6 years ago | | | 0.01 | 0.00024172000 | |
| 6782782 | 6 years ago | | | 0 | 0.00037786500 |
ABI
ABI objects
Getter at block 21261291
beforeVoting() view returns (bool)
false
candidatesNumber() view returns (uint256)
2
challengeDuration() view returns (uint256)
21300
challengePrize() view returns (uint256)
30400000000000000
challengeStarted() view returns (uint256)
1543331064
creator() view returns (address)
0x4779c38fe442064e1e98d4b99d62f3350676ab4b
creatorFee() view returns (uint16)
25
creatorPrize() view returns (uint256)
0
cryptoVersusFee() view returns (uint16)
25
cryptoVersusPrize() view returns (uint256)
0
cryptoVersusWallet() view returns (address)
0xa0bede75cfeef0266f8a31b47074f5f9fbe1df80
getAllVotes() view returns (uint256[])
[0, 20000000000000000, 12000000000000000]
getTime() view returns (uint256)
1732495751
isVotingPeriod() view returns (bool)
false
winner() view returns (uint256)
1
Read-only
userVotesDistribution(address, uint256) view returns (uint256)
votes(uint256) view returns (uint256)
State-modifying
Events changeCreator(address newCreator)
changeWallet(address newWallet)
checkEndOfChallenge() returns (bool)
getReward()
sendCreatorReward()
sendCryptoVersusReward()
sendReward(address to)
startChallenge()
transferVotes(address to, uint256 candidate)
voteForCandidate(uint256 candidate) payable
voteForCandidate_(uint256 candidate, address sender) payable
ChallengeBegins(address _creator, uint16 _creatorFee, uint256 _candidatesNumber, uint256 _challengeDuration)
CreatorRewardWasPaid(address _creator, uint256 _amount)
CryptoVersusRewardWasPaid(address _cryptoVersusWallet, uint256 _amount)
EndOfChallenge(uint256 _winner, uint256 _winnerVotes, uint256 _challengePrize)
NewVotesFor(address _participant, uint256 _candidate, uint256 _votes)
RewardWasPaid(address _participant, uint256 _amount)
TransferVotes(address _from, address _to, uint256 _candidateIndex, uint256 _votes)
constructor(uint256 _challengeDuration, uint256 _candidatesNumber, uint16 _creatorFee)
This contract contains no fallback and receive objects.
This contract contains no error objects.