CliffRaffle
Verified contract
Active on
Ethereum with 136 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
0x1b9b…6669
0xee05…9cb2
Balances ($0.00)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
CLIFF | ERC-20 | 4.522287B | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 14190565 | 3 years ago | | | 0 | 0.0043401735 | |
| 14190427 | 3 years ago | | | 0 | 0.0070806946 | |
| 14190406 | 3 years ago | | | 0 | 0.0064223104 | |
| 14190309 | 3 years ago | | | 0 | 0.022698217 | |
| 14190173 | 3 years ago | | | 0 | 0.0070013620 | |
| 14190133 | 3 years ago | | | 0 | 0.0084528154 | |
| 14190077 | 3 years ago | | | 0 | 0.056130290 | |
| 14189913 | 3 years ago | | | 0 | 0.0078211496 | |
| 14189913 | 3 years ago | | | 0 | 0.0096334656 | |
| 14189909 | 3 years ago | | | 0 | 0.093123812 |
ABI
ABI objects
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 _discountDivisor, uint256 _priceTicket, uint256 _numberTickets) pure returns (uint256)
viewLottery(uint256 _lotteryId) view returns (struct CliffRaffleLottery)
viewRewardsForTicketId(uint256 _lotteryId, uint256 _ticketId) view returns (uint256)
viewStatusesForTicketIds(uint256[] _ticketIds) view returns (bool[])
viewUserInfoForLotteryId(address _user, uint256 _lotteryId, uint256 _cursor, uint256 _size) view returns (uint256[], bool[], uint256)
State-modifying
Events buyTickets(uint256 _lotteryId, uint256 _ticketCount)
changeRandomGenerator(address _randomGeneratorAddress)
claimTickets(uint256 _lotteryId, uint256[] _ticketIds)
closeLottery(uint256 _lotteryId)
drawFinalNumberAndMakeLotteryClaimable(uint256 _lotteryId)
injectFunds(uint256 _lotteryId, uint256 _amount)
recoverWrongTokens(address _tokenAddress, uint256 _tokenAmount)
renounceOwnership()
setMaxNumberTicketsPerBuy(uint256 _maxNumberTicketsPerBuy)
setMinAndMaxTicketPriceInCliff(uint256 _minPriceTicketInCliff, uint256 _maxPriceTicketInCliff)
setOperatorAndTreasuryAndInjectorAddresses(address _operatorAddress, address _treasuryAddress, address _injectorAddress)
startLottery(uint256 _priceTicketInCliff, uint256 _discountDivisor, uint256[5] _rewardsBreakdown)
transferOwnership(address newOwner)
AdminTokenRecovery(address token, uint256 amount)
LotteryClose(uint256 indexed lotteryId, uint256 firstTicketIdNextLottery)
LotteryInjection(uint256 indexed lotteryId, uint256 injectedAmount)
LotteryNumberDrawn(uint256 indexed lotteryId, uint256 finalNumber, uint8 winnerCount, uint256 winTicketId1, uint256 winTicketId2, uint256 winTicketId3)
LotteryOpen(uint256 indexed lotteryId, uint256 startTime, uint256 priceTicketInCliff, uint256 firstTicketId, uint256 injectedAmount)
NewOperatorAndTreasuryAndInjectorAddresses(address operator, address treasury, address injector)
NewRandomGenerator(address indexed randomGenerator)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
TicketsClaim(address indexed claimer, uint256 amount, uint256 indexed lotteryId, uint256 numberTickets)
TicketsPurchase(address indexed buyer, uint256 indexed lotteryId, uint256 numberTickets)
constructor(address _cliffTokenAddress, address _randomGeneratorAddress)
This contract contains no fallback and receive objects.
This contract contains no error objects.