VotingChallenge

Verified contract

Active on Ethereum with 8 txns
Deployed by via 0x41c0a0e4 at 6782769
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0

No balances found for "VotingChallenge"

0x9998aba0841e352965e4b8631f7ed5e9319a47850f308ed231a07b0cc0b3fc0e
0x09ae35d169ab2c0cf2bdd17999e7f81c44649e6ab086c7962db9413110b858bd
0x1b86413051fc75aafd9b7c80ad0db73600dc5be5a724db2aed52d3479115df5c
0x93688acbc382b5fb0ede7cb71051214af462eaf5d42cf1a2a659f7c92344d024
0xa6b5bf8a0f9413829c9e54c688aee30c79da77354fbf89d305e9b66fb0bf2314
0x4b20b7bfe16e0202cd7179863b3eab7727e08fef1f014e8aa55a6aef83f06027
0x0b5b75ffb56fa322a176f59f846b22fff06e5fc1f0684964ac930d15d4a921e0
0x9855b182be3314fbe73314df044a3eb09a1a7b1199e9c27698d0724b1e13303b

Functions
Getter at block 20918029
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)
1728356435
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.