CliffRaffle

Verified contract

Active on Ethereum with 136 txns
Deployed by via 0x73e8d75e at 14092385
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
ERC-20
--
0x9264ec9c43b6c3734ffb147e29bdc1ff33d2620fb5369b0dae756900c29e491b
0x15df8166f80bd0d3fb79b9ea6f937e6f894c01726d8413e997e9a89b22c3fec2
0x6efa1aae8633be9e0cd7f17eade895f39f0ccd14d9ad8b82eade05414707506e
0xaaabf807d3fa43eb81e4ec11e6469cab3465df24224d94bb39402e486a8f0407
0x7a4b25bf74ecb253b92e42d4cd5dfa452d3b7e1ea6536104b3ea448318d46cd5
0x5ecafbd114f13e8edfc2ee267e89ed798333aa778f9f909601530dfde0efe3a2
0x97b8b613f2f2b3d6092f9ace99751ad8aa99dc1d7390deb9bd1b14461d2cdfd4
0xffaf5e2453d55752d6e41418a007dcbe28dd6748a7ccd024f671be394387b3bc
0x1665ccdcc322a93bce98014b17b17419d4946502da0fdd7d9f0e9e5045425d29
0xe320c2ebb250ff7c6a00d7caf82e480d76941a51142fec8e222e1043bdd4876d

Functions
Getter at block 21189128
MAX_TREASURY_FEE(view returns (uint256)
5000
MIN_DISCOUNT_DIVISOR(view returns (uint256)
300
cliffToken(view returns (address)
0x1b9baf2a3edea91ee431f02d449a1044d5726669
currentLotteryId(view returns (uint256)
1
currentTicketId(view returns (uint256)
341
injectorAddress(view returns (address)
0x81ed317154e4c6e829b0358f59c5578719e95ccb
maxNumberTicketsPerBuyOrClaim(view returns (uint256)
100
maxPriceTicketInCliff(view returns (uint256)
4500000000000000000000000
minPriceTicketInCliff(view returns (uint256)
4500000000000000000000000
operatorAddress(view returns (address)
0x81ed317154e4c6e829b0358f59c5578719e95ccb
owner(view returns (address)
0x81ed317154e4c6e829b0358f59c5578719e95ccb
pendingInjectionNextLottery(view returns (uint256)
0
randomGenerator(view returns (address)
0xee054fcd9de4497d78a33cffe396be542fbc9cb2
treasuryAddress(view returns (address)
0x000000000000000000000000000000000000dead
viewCurrentLotteryId(view returns (uint256)
1
Read-only
calculateTotalPriceForBulkTickets(uint256 _discountDivisoruint256 _priceTicketuint256 _numberTicketspure returns (uint256)
viewLottery(uint256 _lotteryIdview returns (struct CliffRaffleLottery)
viewRewardsForTicketId(uint256 _lotteryIduint256 _ticketIdview returns (uint256)
viewStatusesForTicketIds(uint256[] _ticketIdsview returns (bool[])
viewUserInfoForLotteryId(address _useruint256 _lotteryIduint256 _cursoruint256 _sizeview returns (uint256[]bool[]uint256)
State-modifying
buyTickets(uint256 _lotteryIduint256 _ticketCount
changeRandomGenerator(address _randomGeneratorAddress
claimTickets(uint256 _lotteryIduint256[] _ticketIds
closeLottery(uint256 _lotteryId
drawFinalNumberAndMakeLotteryClaimable(uint256 _lotteryId
injectFunds(uint256 _lotteryIduint256 _amount
recoverWrongTokens(address _tokenAddressuint256 _tokenAmount
renounceOwnership(
setMaxNumberTicketsPerBuy(uint256 _maxNumberTicketsPerBuy
setMinAndMaxTicketPriceInCliff(uint256 _minPriceTicketInCliffuint256 _maxPriceTicketInCliff
setOperatorAndTreasuryAndInjectorAddresses(address _operatorAddressaddress _treasuryAddressaddress _injectorAddress
startLottery(uint256 _priceTicketInCliffuint256 _discountDivisoruint256[5] _rewardsBreakdown
transferOwnership(address newOwner
Events
AdminTokenRecovery(address tokenuint256 amount
LotteryClose(uint256 indexed lotteryIduint256 firstTicketIdNextLottery
LotteryInjection(uint256 indexed lotteryIduint256 injectedAmount
LotteryNumberDrawn(uint256 indexed lotteryIduint256 finalNumberuint8 winnerCountuint256 winTicketId1uint256 winTicketId2uint256 winTicketId3
LotteryOpen(uint256 indexed lotteryIduint256 startTimeuint256 priceTicketInCliffuint256 firstTicketIduint256 injectedAmount
NewOperatorAndTreasuryAndInjectorAddresses(address operatoraddress treasuryaddress injector
NewRandomGenerator(address indexed randomGenerator
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
TicketsClaim(address indexed claimeruint256 amountuint256 indexed lotteryIduint256 numberTickets
TicketsPurchase(address indexed buyeruint256 indexed lotteryIduint256 numberTickets
Constructor
constructor(address _cliffTokenAddressaddress _randomGeneratorAddress
Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.