LotteryToken
Verified contract
Implementation
Active on
Ethereum with 0 txns
Storage
Map
Table
Raw
Constants and immutables
3
Slot
XX
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
Balances ($0.00)
No balances found for "LotteryToken"
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|
No transactions found for "LotteryToken"
ABI
ABI objects
Getter at block 21217824 lastEpoch() view returns (struct ILotteryTokenEpoch epoch)
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
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 owner, address spender) view returns (uint256)
balanceOf(address account) view returns (uint256)
balances(address) view returns (uint256 lastGameId, uint256 balance, uint256 at)
epochs(uint256) view returns (uint256 totalFees, uint256 minParticipationFee, uint256 firstLotteryId, uint256 lastLotteryId)
lotteries(uint256) view returns (uint256 id, uint256 participationFee, uint256 startedAt, uint256 finishedAt, uint256 participants, address winner, uint256 epochId, uint256 winningPrize, bool isActive)
participants(uint256) view returns (address)
participantsBalances(uint256 from, uint256 count) view returns (address[] participantAddresses, uint256[] participantBalances)
State-modifying
Events approve(address spender, uint256 amount) returns (bool)
burn(address account, uint256 amount)
decreaseAllowance(address spender, uint256 subtractedValue) returns (bool)
finishLottery(uint256 _participants, address _winnerAddress, address _marketingAddress, uint256 _winningPrizeValue, uint256 _marketingFeeValue) returns (struct ILotteryTokenLottery finishedLotteryGame)
increaseAllowance(address spender, uint256 addedValue) returns (bool)
initialize(address _lotteryGame, address _addressTyler)
lockTransfer()
renounceOwnership()
startLottery(uint256 _participationFee) returns (struct ILotteryTokenLottery _lotteryGame)
transfer(address recipient, uint256 amount) returns (bool)
transferFrom(address sender, address recipient, uint256 amount) returns (bool)
transferOwnership(address newOwner)
unlockTransfer()
Approval(address indexed owner, address indexed spender, uint256 value)
OwnershipTransferred(address indexed previousOwner, address indexed newOwner)
Transfer(address indexed from, address indexed to, uint256 value)
This contract contains no constructor objects.
This contract contains no fallback and receive objects.
This contract contains no error objects.