Blockwell

Food Coin

ERC20

This contract is an ERC20 token.

Name Food Coin
Symbol FC
Decimals 18
Total Supply 100,000,000 FC

Stats

Public Functions 89
Event Types 25
Code Size 39,753 bytes

Library Use

Uses SafeMath for uint256.
Uses BlockwellQuill for BlockwellQuill.Data.

AddedToGroup Event

Parameters help
groupId
uint8 help
account
address help

Approval Event

Parameters help
owner
address help
spender
address help
value
uint256 help

BwAddedAttorney Event

Parameters help
account
address help

BwAddressSet Event

Parameters help
index
uint8 help
account
address help
value
address help

BwChalkSet Event

Parameters help
index
uint8 help
account
address help
value
uint256 help

BwQuillSet Event

Parameters help
index
uint8 help
account
address help
value
string help

BwRemovedAdmin Event

Parameters help
account
address help

BwRemovedAttorney Event

Parameters help
account
address help

Locked Event

Parameters help
owner
address help
value
uint256 help
expiration
uint help

Mint Event

Parameters help
account
address help
value
uint256 help

MintEnabled Event

Parameters help
enabled
bool help

MintLimitRemoved Event

Parameters help
account
address help

MintLimited Event

Parameters help
account
address help
value
uint256 help

MultiTransferPrevented Event

Parameters help
from
address help
to
address help
value
uint256 help

Paused Event

Parameters help
account
address help
attorney
bool help

Payment Event

Parameters help
from
address help
to
address help
value
uint256 help
order
uint256 help

RemovedFromGroup Event

Parameters help
groupId
uint8 help
account
address help

SetNewUnlockTime Event

Parameters help
unlockTime
uint256 help

SuggestionCreated Event

Parameters help
suggestionId
uint256 help
text
string help

SwapFromChain Event

Parameters help
fromChain
string help
from
address help
to
address help
swapId
bytes32 help
value
uint256 help

SwapToChain Event

Parameters help
toChain
string help
from
address help
to
address help
swapId
bytes32 help
value
uint256 help

Transfer Event

Parameters help
from
address help
to
address help
value
uint256 help

Unlocked Event

Parameters help
owner
address help
value
uint256 help
expiration
uint help

Unpaused Event

Parameters help
account
address help

Votes Event

Parameters help
voter
address help
suggestionId
uint256 help
votes
uint256 help
totalVotes
uint256 help
comment
string help

Lock Event

Members
value
uint256 help
expiration
uint help

MintLimit Event

Members
limit
uint256 help
limited
bool help

Functions Expand All Collapse All

getVotes keyboard_arrow_up

Parameters help

Name Type
suggestionId
uint256 help

Properties

Visibility help public
Mutability help view

getAllVotes keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

getSuggestionText keyboard_arrow_up

Parameters help

Name Type
suggestionId
uint256 help

Properties

Visibility help public
Mutability help view

getAllSuggestionTexts keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

hasVoted keyboard_arrow_up

Parameters help

Name Type
account
address help
suggestionId
uint256 help

Properties

Visibility help public
Mutability help view

getAccountVotes keyboard_arrow_up

Parameters help

Name Type
account
address help
suggestionId
uint256 help

Properties

Visibility help public
Mutability help view

getSuggestionCreator keyboard_arrow_up

Parameters help

Name Type
suggestionId
uint256 help

Properties

Visibility help public
Mutability help view

getAllSuggestionCreators keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

addAttorney keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

bwAddAttorney keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyBwAdmin checks for the following:
null

removeAttorney keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

bwRemoveAttorney keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyBwAdmin checks for the following:
null

isAttorney keyboard_arrow_up

Parameters help

Name Type
account
address help

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

removeAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

bwRemoveAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyBwAdmin checks for the following:
null

isAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addBundler keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

removeBundler keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

isBundler keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addSwapper keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

removeSwapper keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

isSwapper keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addToWhitelist keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

removeFromWhitelist keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

isWhitelisted keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addBwAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyBwAdmin checks for the following:
null

renounceBwAdmin keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

isBwAdmin keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

freeze keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

unfreeze keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

multiFreeze keyboard_arrow_up

Parameters help

Name Type
account
address[] help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

Requirements help

multiUnfreeze keyboard_arrow_up

Parameters help

Name Type
account
address[] help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

Requirements help

isFrozen keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addDelegate keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

removeDelegate keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

isDelegate keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

addMinter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

removeMinter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

isMinter keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

paused keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

pausedByAttorney keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

enableMinting keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

disableMinting keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

setBwQuill1 keyboard_arrow_up

Parameters help

Name Type
account
address help
value
string help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

getBwQuill1 keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

setBwQuill2 keyboard_arrow_up

Parameters help

Name Type
account
address help
value
string help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

getBwQuill2 keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

setBwChalk1 keyboard_arrow_up

Parameters help

Name Type
account
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

getBwChalk1 keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

setBwAddress1 keyboard_arrow_up

Parameters help

Name Type
account
address help
value
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

getBwAddress1 keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

setSuggestionsRestricted keyboard_arrow_up

Parameters help

Name Type
restricted
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

setRequireBalanceForVote keyboard_arrow_up

Parameters help

Name Type
required
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

setRequireBalanceForCreateSuggestion keyboard_arrow_up

Parameters help

Name Type
required
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

setVoteCost keyboard_arrow_up

Parameters help

Name Type
cost
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

setOneVotePerAccount keyboard_arrow_up

Parameters help

Name Type
oneVote
bool help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

setAttorneyEmail keyboard_arrow_up

Parameters help

Name Type
email
string help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

pause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

unpause keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

whenPaused checks for the following:

setUnlockTime keyboard_arrow_up

Parameters help

Name Type
timestamp
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

totalSupply keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help view

balanceOf keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

allowance keyboard_arrow_up

Parameters help

Name Type
owner
address help
spender
address help

Properties

Visibility help public
Mutability help view

transfer keyboard_arrow_up

Parameters help

Name Type
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

multiTransfer keyboard_arrow_up

Parameters help

Name Type
to
address[] help
value
uint256[] help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyBundler checks for the following:
null

approve keyboard_arrow_up

Parameters help

Name Type
spender
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

transferFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

multiTransferFrom keyboard_arrow_up

Parameters help

Name Type
from
address help
to
address[] help
value
uint256[] help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyBundler checks for the following:
null

increaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
addedValue
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

decreaseAllowance keyboard_arrow_up

Parameters help

Name Type
spender
address help
subtractedValue
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

locksOf keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

unlock keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Requirements help

unlockedBalanceOf keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

transferAndLock keyboard_arrow_up

Parameters help

Name Type
to
address help
value
uint256 help
lockTime
uint256 help

Properties

Visibility help public
Mutability help transaction

Requirements help

totalLocked keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

totalUnlockable keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view

withdrawTokens keyboard_arrow_up

Parameters help

This function has no parameters.

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

null

swapToChain keyboard_arrow_up

Parameters help

Name Type
chain
string help
to
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

swapFromChain keyboard_arrow_up

Parameters help

Name Type
fromChain
string help
from
address help
to
address help
swapId
bytes32 help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlySwapper checks for the following:
null

Requirements help

payment keyboard_arrow_up

Parameters help

Name Type
to
address help
value
uint256 help
order
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

Requirements help

createSuggestion keyboard_arrow_up

Parameters help

Name Type
text
string help

Properties

Visibility help public
Mutability help transaction

vote keyboard_arrow_up

Parameters help

Name Type
suggestionId
uint256 help
comment
string help

Properties

Visibility help public
Mutability help transaction

multiVote keyboard_arrow_up

Parameters help

Name Type
suggestionId
uint256 help
votes
uint256 help
comment
string help

Properties

Visibility help public
Mutability help transaction

Requirements help

mint keyboard_arrow_up

Parameters help

Name Type
account
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

setMintLimit keyboard_arrow_up

Parameters help

Name Type
account
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

removeMintLimit keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

addMinterWithLimit keyboard_arrow_up

Parameters help

Name Type
account
address help
value
uint256 help

Properties

Visibility help public
Mutability help transaction

Modifiers help

onlyAdminOrAttorney checks for the following:
One or more of the following: -null - ORnull

getMintLimit keyboard_arrow_up

Parameters help

Name Type
account
address help

Properties

Visibility help public
Mutability help view