Offertory

Verified contract

Active on Ethereum with 52 txns
Deployed by via 0xa6cba3a9 at 11610029
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
4 additional variables
ERC-20
--
0x15fe4f795a7a4eadb1db1166db20713babf894d54a1d142f8248c642483b7370
0x52148b9d8d254309dabe8f29321e52b4fecc865d151eccb5c6722656d3c5f6fa
0x36324b7b28715994c1e17c1bb1a71ef555df0c84c2e837bfdbffa6d918c810e5
0xe5b7234c25d7711ce421d7572e593937eb027c41eb6c6c1041c2a1db7c7a2335
0x2fdecf470303b6ba6eb10f18c142dc1ab766247de2852e5f5ad0308323e068f2
0x6b5d414c113d6ccc6192c705dfdc9987fcfe10b830d7f5b9381d1f3b7c626fd2
0x064a51d54cea46af1de3256e7a6851a40b2cbb54a558a4a24408c96d39274940
0x39a106b6d887a258fefeec4667802c1f7c37a74b3659ec0dcd6c199f7f5bbfd3
0xdffd1759bc8ecf638ef5988f25d26f1bd76b053bfae5b39e0549116887e65736
0xd55233177efa9c2f54c0539641d92422c84aded4c50f4191daa10c60273a1191

Functions
Getter at block 20982880
getAnnounceFee(view returns (uint256)
50000000000
getCurrentTarget(view returns (uint256)
0
getDealerDepositAmount(view returns (uint256)
2000000000000
getDealerWallet(view returns (address)
0x448b9e94cfbe7fbabcefef50f46cda5cc21cc302
 
getEstimatedETHforTicket(view returns (uint256[])
getGameInProgress(view returns (bool)
true
getLotteryEndTime(view returns (uint256)
1611518400
getLotteryStartTime(view returns (uint256)
1611086400
getMaxBuyableTicketCountInDay(view returns (uint256)
2
getMinDealerDepositAmount(view returns (uint256)
1000000000000
getMinPlayerCount(view returns (uint256)
10
getPlayerCount(view returns (uint256)
0
getPlayers(view returns (address[])
[]
getRefundPct(view returns (uint256)
97
getTicketCount(view returns (uint256)
5
getTicketPrice(view returns (uint256)
200000000000
 
getTotalPrizeAmount(view returns (uint256)
getTotalPrizeAmountAtAnnounce(view returns (uint256)
0
getWinner1(view returns (address)
0x0000000000000000000000000000000000000000
getWinner2(view returns (address)
0x0000000000000000000000000000000000000000
getWinner3(view returns (address)
0x0000000000000000000000000000000000000000
getWinnerPrizePct1(view returns (uint256)
97
getWinnerPrizePct2(view returns (uint256)
2
getWinnerPrizePct3(view returns (uint256)
1
getWinners(view returns (uint256uint256uint256)
(0, 0, 0)
owner(view returns (address)
0xca670bc7d254c2a4b050dbb05ad8f3db57fd43cd
rnGenerator(view returns (address)
0x613905e654b8a2c3ed913a87458cb4ed03c7b6ee
uniswapV2Router(view returns (address)
0x7a250d5630b4cf539739df2c5dacb4c659f2488d
Read-only
getBalance(address playerview returns (uint256)
getTicketCountOfPlayer(address playerview returns (uint256)
getTicketCountOfToday(address playerview returns (uint256)
State-modifying
announceWinners(
buyTicket(payable 
claim(
dealerDeposit(uint256 amount
pickWinner1(
pickWinner2(
pickWinner3(
renounceOwnership(
setAnnounceFee(uint256 _announceFee
setDealerWallet(address _dealerWallet
setLotteryEndTime(uint256 _lotteryEndTime
setLotteryStartTime(uint256 _lotteryStartTime
setMaxBuyableTicketCountInDay(uint256 _maxBuyableTicketCountInDay
setMinDealerDepositAmount(uint256 _minDealerDepositAmount
setMinPlayerCount(uint256 _minPlayerCount
setWinnerPrizePct(uint256 _winnerPrizePct1uint256 _winnerPrizePct2uint256 _winnerPrizePct3
transferOwnership(address newOwner
Events
AnnounceFeeUpdated(uint256 announceFee
AnnouncedWinners(address indexed winner1address indexed winner2address indexed winner3
BoughtTicket(address indexed playeruint256 amount
Claimed(address indexed playeruint256 amount
DealerDeposited(address indexed dealerWalletuint256 amount
DealerWalletUpdated(address indexed dealerWallet
LotteryEndTimeUpdated(uint256 lotteryEndTime
LotteryStartTimeUpdated(uint256 lotteryStartTime
MaxBuyableTicketCountInDayUpdated(uint256 maxBuyableTicketCountInDay
MinDealerDepositAmountUpdated(uint256 minDealerDepositAmount
MinPlayerCountUpdated(uint256 minPlayerCount
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
PlayerGaveup(address indexed playeruint256 amount
RefundPctUpdated(uint256 refundPct
TicketPriceUpdated(uint256 ticketPrice
WinnerPrizeUpdated(uint256 winnerPrizePct1uint256 winnerPrizePct2uint256 winnerPrizePct3
Constructor
constructor(address _uniswapV2Routeraddress _prophetContractaddress _dealerWalletuint256 _ticketPriceuint256 _minPlayerCountuint256 _winnerPrizePct1uint256 _winnerPrizePct2uint256 _winnerPrizePct3uint256 _refundPctuint256 _announceFee
Fallback and receive
receive(
Errors

This contract contains no error objects.