VotingChallenge

Verified contract

Active on Ethereum with 15 txns
Deployed by via 0x4481f205 at 6665395
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Native
Value $0
0xb4b61fd8bfb960a05b709b450fc64a37905dbd1432286546fd49eb0c2b668ec2
0xab99586b7a420fae6b397280475e7cd13aca5f21dcbdfe2d5e5cd667176e2aaf
0x953cdc62655d2c3cefb034567ac254e5b36b06d769aaefd46303cd7c1863e743
0xb6206bbdc06d6af44c89c69530d7bcfcaf271f4ad053712846fddbdc0b5a9110
0x11e0cbad20dfcf89dfcfce25f024cf1a04f5cbc4125211b2807f202e6aeb8577
0xa00405c8e9ac49f61f2f30c15030c3a95e84c682d9dfacc20717402283f365c6
0x3b79cfe94dcb8498830088c03b59be4b873b377a3e22f6b036059c80d5f30b64
0x9a2a4ba0304dc1c84c842ce1b0bf657c9fc320c82ad32449e224dfdca836502b
0x034a65763fa50a638506005beceaa5f8dc4b15cc61d6423e1c6a7fcdf666e807
0x41a474f1e8b80c515ed28e410787e2910036562c39ebae120da0c5d84f57ad9d

Functions
Getter at block 21321238
beforeVoting(view returns (bool)
false
candidatesNumber(view returns (uint256)
2
challengeDuration(view returns (uint256)
21600
challengePrize(view returns (uint256)
399000000000000000
challengeStarted(view returns (uint256)
1541668022
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, 230000000000000000, 190000000000000000]
getTime(view returns (uint256)
1733219975
isVotingPeriod(view returns (bool)
false
winner(view returns (uint256)
1
Read-only
userVotesDistribution(addressuint256view returns (uint256)
votes(uint256view returns (uint256)
State-modifying
changeCreator(address newCreator
changeWallet(address newWallet
checkEndOfChallenge(returns (bool)
getReward(
sendCreatorReward(
sendCryptoVersusReward(
sendReward(address to
startChallenge(
transferVotes(address touint256 candidate
voteForCandidate(uint256 candidatepayable 
voteForCandidate_(uint256 candidateaddress senderpayable 
Events
ChallengeBegins(address _creatoruint16 _creatorFeeuint256 _candidatesNumberuint256 _challengeDuration
CreatorRewardWasPaid(address _creatoruint256 _amount
CryptoVersusRewardWasPaid(address _cryptoVersusWalletuint256 _amount
EndOfChallenge(uint256 _winneruint256 _winnerVotesuint256 _challengePrize
NewVotesFor(address _participantuint256 _candidateuint256 _votes
RewardWasPaid(address _participantuint256 _amount
TransferVotes(address _fromaddress _touint256 _candidateIndexuint256 _votes
Constructor
constructor(uint256 _challengeDurationuint256 _candidatesNumberuint16 _creatorFee
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.