Lotto
Verified contract
Proxy
Active on
Ethereum with 4,221 txns
Unified storage
Map
Table
Raw
Constants and immutables
2
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
0x472f…7c7f
Balances ($1.57)
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
DAI | ERC-20 | 1.564994 | $1.002 |
$1.57 | |
LOTTO | ERC-20 | 27.09 | -- | -- |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 21284107 | 6 days ago | | | 0 | 0.00040251177 | |
| 21195994 | 19 days ago | | | 0 | 0.00077571154 | |
| 20876518 | 2 months ago | | | 0 | 0.00035149755 | |
| 20725255 | 3 months ago | | | 0 | 0.000087406825 | |
| 20721068 | 3 months ago | | | 0 | 0.00028232065 | |
| 20626284 | 3 months ago | | | 0 | 0.000069399769 | |
| 20551282 | 4 months ago | | | 0 | 0.000034144114 | |
| 20493009 | 4 months ago | | | 0 | 0.00015617732 | |
| 20479247 | 4 months ago | | | 0 | 0.00035917441 | |
| 20320268 | 5 months ago | | | 0 | 0.00069405643 |
ABI
ABI objects
Getter at block 21330076 lastLottery() view returns (struct ILotteryTokenLottery lottery)
GAMES_PER_EPOCH() view returns (uint256)
30
PRECISION() view returns (uint256)
1000000000000000000
TOTAL_ALLOCATED() view returns (uint256)
2000000000
decimals() view returns (uint8)
18
epochsCount() view returns (uint256)
3
isTransferLocked() view returns (bool)
false
lastEpoch() view returns (struct ILotteryTokenEpoch epoch)
(923200000000000000000, 54950000000000000000, 60, 72)
lotteriesCount() view returns (uint256)
73
lotteryGame() view returns (address)
0x472f41ca844d37bef98b4f89b47e716652247c7f
name() view returns (string)
Lotto
owner() view returns (address)
0x0b06f49915f3457f8a7c3819632de7713a43d1fb
participantsCount() view returns (uint256)
6280
symbol() view returns (string)
LOTTO
totalSupply() view returns (uint256)
2000000000000000000000000000
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 admin() returns (address)
changeAdmin(address newAdmin)
implementation() returns (address)
upgradeTo(address newImplementation)
upgradeToAndCall(address newImplementation, bytes data) payable
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()
AdminChanged(address previousAdmin, address newAdmin)
Upgraded(address indexed implementation)
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)
constructor(address _logic, address _admin, bytes _data)
fallback()
receive()
This contract contains no error objects.