LotteryToken

Verified contract

Implementation

Active on Ethereum with 0 txns
Deployed by via 0xa45e2913 at 11746998
Slot
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
-
variable spans 49 additional slots
-
variable spans 49 additional slots
-
variable spans 48 additional slots

No balances found for "LotteryToken"

No transactions found for "LotteryToken"


Functions
Getter at block 20867666
GAMES_PER_EPOCH(view returns (uint256)
30
PRECISION(view returns (uint256)
1000000000000000000
TOTAL_ALLOCATED(view returns (uint256)
2000000000
decimals(view returns (uint8)
0
epochsCount(view returns (uint256)
0
isTransferLocked(view returns (bool)
false
 
lastEpoch(view returns (struct ILotteryTokenEpoch epoch)
lastLottery(view returns (struct ILotteryTokenLottery lottery)
(0, 0, 0, 0, 0, 0x0000000000000000000000000000000000000000, 0, 0, false)
lotteriesCount(view returns (uint256)
0
lotteryGame(view returns (address)
0x0000000000000000000000000000000000000000
name(view returns (string)
owner(view returns (address)
0x0000000000000000000000000000000000000000
participantsCount(view returns (uint256)
0
symbol(view returns (string)
totalSupply(view returns (uint256)
0
Read-only
allowance(address owneraddress spenderview returns (uint256)
balanceOf(address accountview returns (uint256)
balances(addressview returns (uint256 lastGameIduint256 balanceuint256 at)
epochs(uint256view returns (uint256 totalFeesuint256 minParticipationFeeuint256 firstLotteryIduint256 lastLotteryId)
lotteries(uint256view returns (uint256 iduint256 participationFeeuint256 startedAtuint256 finishedAtuint256 participantsaddress winneruint256 epochIduint256 winningPrizebool isActive)
participants(uint256view returns (address)
participantsBalances(uint256 fromuint256 countview returns (address[] participantAddressesuint256[] participantBalances)
State-modifying
approve(address spenderuint256 amountreturns (bool)
burn(address accountuint256 amount
decreaseAllowance(address spenderuint256 subtractedValuereturns (bool)
finishLottery(uint256 _participantsaddress _winnerAddressaddress _marketingAddressuint256 _winningPrizeValueuint256 _marketingFeeValuereturns (struct ILotteryTokenLottery finishedLotteryGame)
increaseAllowance(address spenderuint256 addedValuereturns (bool)
initialize(address _lotteryGameaddress _addressTyler
lockTransfer(
renounceOwnership(
startLottery(uint256 _participationFeereturns (struct ILotteryTokenLottery _lotteryGame)
transfer(address recipientuint256 amountreturns (bool)
transferFrom(address senderaddress recipientuint256 amountreturns (bool)
transferOwnership(address newOwner
unlockTransfer(
Events
Approval(address indexed owneraddress indexed spenderuint256 value
OwnershipTransferred(address indexed previousOwneraddress indexed newOwner
Transfer(address indexed fromaddress indexed touint256 value
Constructor

This contract contains no constructor objects.

Fallback and receive

This contract contains no fallback and receive objects.

Errors

This contract contains no error objects.