ERC20Lean
Verified contract
Active on
Ethereum with 11,868 txns
Slot
XX
32
30
28
26
24
22
20
18
16
14
12
10
8
6
4
2
0
Balances ($353.22)
Native
Value
$153.02
Asset | Symbol | Type | Quantity | Price | Value |
---|---|---|---|---|---|
ETH | Native | 0.048 | $3,187.91 |
$153.02 | |
LINK | ERC-20 | 14 | $14.30 |
$200.2 |
Transactions
Txn hash | Method | Block | Age | From | To | Value (ETH) | Fee (ETH) |
---|---|---|---|---|---|---|---|
| 20574808 | 3 months ago | | | 0 | 0.000013524690 | |
| 20453449 | 3 months ago | | | 0 | 0.000026104000 | |
| 20453427 | 3 months ago | | | 0 | 0.000026104000 | |
| 20451760 | 3 months ago | | | 0 | 0.000021492000 | |
| 20395622 | 3 months ago | | | 0 | 0.000026104000 | |
| 20295423 | 4 months ago | | | 0 | 0.000026774013 | |
| 20193828 | 4 months ago | | | 0 | 0.000036545600 | |
| 20149621 | 5 months ago | | | 0 | 0.000044924397 | |
| 20149599 | 5 months ago | | | 0 | 0.000046309675 | |
| 19900381 | 6 months ago | | | 0 | 0.000058730000 |
ABI
ABI objects
Getter at block 21160806
DEFAULT_ADMIN_ROLE() view returns (bytes32)
0x0000000000000000000000000000000000000000000000000000000000000000
MINTERCONTRACT_ROLE() view returns (bytes32)
0xde5ee446972f4e39ab62c03aa34b2096680a875c3fdb3eb2f947cbb93341c058
OPERATOR_ROLE() view returns (bytes32)
0x523a704056dcd17bcf83bed8b68c59416dac1119be77755efe3bde0a64e46e0c
destinationWallet() view returns (address)
0x52a032cf59ea274f9d745f29b6d514fe95ba192d
Read-only
chainlinkRaffleInfo(bytes32) view returns (uint256 id, uint256 size)
entriesList(uint256, uint256) view returns (uint48 currentEntriesLength, address player)
freeEntriesPerWallet(bytes32) view returns (bool)
fundingList(uint256) view returns (uint128 minimumFundsInWeis, uint128 desiredFundsInWeis)
getEntriesBought(uint256 _raffleId) view returns (struct ERC20LeanEntriesBought[])
getRafflesEntryInfo(uint256 _raffleId) view returns (struct ERC20LeanEntryInfoStruct)
getRoleAdmin(bytes32 role) view returns (bytes32)
getWinnerAddressFromRandom(uint256 _raffleId, uint256 _normalizedRandomNumber) view returns (address)
hasRole(bytes32 role, address account) view returns (bool)
pricesList(uint256) view returns (uint256 id, uint48 numEntries, uint256 price)
raffles(uint256) view returns (uint48 platformPercentage, uint48 cancellingDate, uint256 prizeNumber, address prizeAddress, address winner, address seller, uint256 randomNumber)
rafflesEntryInfo(uint256) view returns (uint8 status, uint8 entryType, uint48 entriesLength, uint128 amountRaised)
requests(uint256) view returns (uint256 randomNumber, uint256 nomalizedRandomNumber)
supportsInterface(bytes4 interfaceId) view returns (bool)
State-modifying
Events buyEntry(uint256 _raffleId, uint256 _id) payable
cancelEntry(uint256 _raffleId, uint256[] entriesToCancel, address _player)
cancelRaffle(uint256 _raffleId)
createRaffle(uint128 _desiredFundsInWeis, address _prizeAddress, uint256 _prizeNumber, uint128 _minimumFundsInWeis, struct ERC20LeanPriceStructure[] _prices, uint48 _commissionInBasicPoints, uint8 _entryType) returns (uint256)
earlyCashOut(uint256 _raffleId)
giveBatchEntriesForFree(uint256 _raffleId, address[] _freePlayers)
grantRole(bytes32 role, address account)
rawFulfillRandomness(bytes32 requestId, uint256 randomness)
renounceRole(bytes32 role, address account)
revokeRole(bytes32 role, address account)
setDestinationAddress(address _newAddress)
setWinner(uint256 _raffleId)
stake(uint256 _raffleId)
transferRemainingFunds(uint256 _raffleId)
EarlyCashoutTriggered(uint256 indexed raffleId, uint256 amountRaised)
EntryCancelled(uint256 indexed raffleId, uint256 amountOfEntriesCanceled, address player)
EntrySold(uint256 indexed raffleId, address indexed buyer, uint256 currentSize, uint256 priceStructureId)
FeeTransferredToPlatform(uint256 indexed raffleId, uint256 amountTransferred)
FreeEntry(uint256 indexed raffleId, address[] buyer, uint256 amount, uint256 currentSize)
RaffleCancelled(uint256 indexed raffleId, uint256 amountRaised)
RaffleCreated(uint256 indexed raffleId, address indexed nftAddress, uint256 indexed nftId)
RaffleEnded(uint256 indexed raffleId, address indexed winner, uint256 amountRaised, uint256 randomNumber)
RaffleStarted(uint256 indexed raffleId, address indexed seller)
RandomNumberCreated(uint256 indexed idFromMetawin, uint256 randomNumber, uint256 normalizedRandomNumber)
Refund(uint256 indexed raffleId, uint256 amountInWeis, address indexed player)
RemainingFundsTransferred(uint256 indexed raffleId, uint256 amountInWeis)
RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole)
RoleGranted(bytes32 indexed role, address indexed account, address indexed sender)
RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender)
SetWinnerTriggered(uint256 indexed raffleId, uint256 amountRaised)
StatusChangedInEmergency(uint256 indexed raffleId, uint256 newStatus)
constructor(address _vrfCoordinator, address _linkToken, bytes32 _keyHash, bool _mainetFee)
This contract contains no fallback and receive objects.
CreateRaffleError(string errorType)
EntryNotAllowed(string errorType)