Blockwell

Food Coin Lotto

About

Stats

Public Functions 27
Event Types 9
Code Size 14,410 bytes

Library Use

Uses SafeMath for uint256.

AddedToGroup Event

Parameters help
groupId
uint8 help
account
address help

ItemAdded Event

Parameters help
token
address help
dropRate
uint256 help
dropAmount
uint256 help

ItemDropped Event

Parameters help
winner
address help
token
address help
dropRate
uint256 help
dropAmount
uint256 help

ItemRemoved Event

Parameters help
token
address help
dropRate
uint256 help
dropAmount
uint256 help

Paused Event

Parameters help
account
address help

RandomRangeSet Event

Parameters help
uint256 help

RemovedFromGroup Event

Parameters help
groupId
uint8 help
account
address help

TokenWin Event

Parameters help
winner
address help
token
address help
value
uint256 help

Unpaused Event

Parameters help
account
address help

Item Event

Members
token
Erc20 help
dropRate
uint256 help
dropAmount
uint256 help

Functions Expand All Collapse All

paused keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

addAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

removeAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

isAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

dropTableLength keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getDropToken keyboard_arrow_up

Parameters help

Name Type
index
uint256 help

Properties

Visibility help public
Mutability help view

getDropRate keyboard_arrow_up

Parameters help

Name Type
index
uint256 help

Properties

Visibility help public
Mutability help view

getDropAmount keyboard_arrow_up

Parameters help

Name Type
index
uint256 help

Properties

Visibility help public
Mutability help view

getAllDropTokens keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getAllDropRates keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getAllDropAmounts keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getReturnChances keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getReturnAmounts keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

setRandomRange keyboard_arrow_up

Parameters help

Name Type
range
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

setFreePlays keyboard_arrow_up

Parameters help

Name Type
plays
uint8 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

addItem keyboard_arrow_up

Parameters help

Name Type
token_
Erc20 help
dropRate
uint256 help
dropAmount
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

removeItem keyboard_arrow_up

Parameters help

Name Type
index
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

playItemDrops keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

play keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

setPrice keyboard_arrow_up

Parameters help

Name Type
newPrice
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

setToken keyboard_arrow_up

Parameters help

Name Type
newToken
Erc20 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

useReturns keyboard_arrow_up

Parameters help

Name Type
use
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

setReturns keyboard_arrow_up

Parameters help

Name Type
chances
uint256[] help
amounts
uint256[] help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

withdrawTokens keyboard_arrow_up

Parameters help

Name Type
_token
Erc20 help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null

withdraw keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdmin checks for the following:
null