ERC20
This contract is an ERC20 token.
Name
NewPrime
Symbol
NEWP
Decimals
18
Total Supply
12,345 NEWP
About
Stats
Public Functions
76
Event Types
20
Code Size
36,761 bytes
Library Use
Uses SafeMath for uint256.
Uses BlockwellQuill for BlockwellQuill.Data.
Events (20) keyboard_arrow_up
Constants (41) keyboard_arrow_up
State Variables (26) keyboard_arrow_up
Functions
getVotes keyboard_arrow_up
getAllVotes keyboard_arrow_up
getSuggestionText keyboard_arrow_up
getAllSuggestionTexts keyboard_arrow_up
hasVoted keyboard_arrow_up
getAccountVotes keyboard_arrow_up
getSuggestionCreator keyboard_arrow_up
getAllSuggestionCreators keyboard_arrow_up
addAttorney keyboard_arrow_up
bwAddAttorney keyboard_arrow_up
removeAttorney keyboard_arrow_up
bwRemoveAttorney keyboard_arrow_up
isAttorney keyboard_arrow_up
addAdmin keyboard_arrow_up
removeAdmin keyboard_arrow_up
bwRemoveAdmin keyboard_arrow_up
isAdmin keyboard_arrow_up
addBundler keyboard_arrow_up
removeBundler keyboard_arrow_up
isBundler keyboard_arrow_up
addSwapper keyboard_arrow_up
removeSwapper keyboard_arrow_up
isSwapper keyboard_arrow_up
addToWhitelist keyboard_arrow_up
removeFromWhitelist keyboard_arrow_up
isWhitelisted keyboard_arrow_up
addBwAdmin keyboard_arrow_up
renounceBwAdmin keyboard_arrow_up
isBwAdmin keyboard_arrow_up
freeze keyboard_arrow_up
unfreeze keyboard_arrow_up
multiFreeze keyboard_arrow_up
multiUnfreeze keyboard_arrow_up
isFrozen keyboard_arrow_up
addDelegate keyboard_arrow_up
removeDelegate keyboard_arrow_up
isDelegate keyboard_arrow_up
paused keyboard_arrow_up
pausedByAttorney keyboard_arrow_up
setBwQuill1 keyboard_arrow_up
getBwQuill1 keyboard_arrow_up
setBwChalk1 keyboard_arrow_up
getBwChalk1 keyboard_arrow_up
setBwAddress1 keyboard_arrow_up
getBwAddress1 keyboard_arrow_up
setSuggestionsRestricted keyboard_arrow_up
setRequireBalanceForVote keyboard_arrow_up
setRequireBalanceForCreateSuggestion keyboard_arrow_up
setVoteCost keyboard_arrow_up
setOneVotePerAccount keyboard_arrow_up
setAttorneyEmail keyboard_arrow_up
pause keyboard_arrow_up
unpause keyboard_arrow_up
setUnlockTime keyboard_arrow_up
totalSupply keyboard_arrow_up
balanceOf keyboard_arrow_up
allowance keyboard_arrow_up
transfer keyboard_arrow_up
Modifiers help
whenNotPaused checks for the following:
whenUnlocked checks for the following:
Requirements help
value
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address
multiTransfer keyboard_arrow_up
approve keyboard_arrow_up
Modifiers help
isNotFrozen checks for the following:
whenNotPaused checks for the following:
whenUnlocked checks for the following:
transferFrom keyboard_arrow_up
Modifiers help
whenNotPaused checks for the following:
whenUnlocked checks for the following:
Requirements help
value
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address
multiTransferFrom keyboard_arrow_up
increaseAllowance keyboard_arrow_up
Modifiers help
isNotFrozen checks for the following:
whenNotPaused checks for the following:
whenUnlocked checks for the following:
decreaseAllowance keyboard_arrow_up
Modifiers help
isNotFrozen checks for the following:
whenNotPaused checks for the following:
whenUnlocked checks for the following:
locksOf keyboard_arrow_up
unlockedBalanceOf keyboard_arrow_up
transferAndLock keyboard_arrow_up
Requirements help
value
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address
totalLocked keyboard_arrow_up
totalUnlockable keyboard_arrow_up
withdrawTokens keyboard_arrow_up
Parameters help
This function has no parameters.
Modifiers help
whenNotPaused checks for the following:
Requirements help
null
the result of calling balanceOf with UNKNOWN ARGUMENT
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address
swapToChain keyboard_arrow_up
Modifiers help
whenNotPaused checks for the following:
whenUnlocked checks for the following:
Requirements help
the result of calling balanceOf with UNKNOWN ARGUMENT
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address
swapFromChain keyboard_arrow_up
Parameters help
Modifiers help
whenNotPaused checks for the following:
onlySwapper checks for the following:
null
Requirements help
the result of calling balanceOf with UNKNOWN ARGUMENT
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address
createSuggestion keyboard_arrow_up
vote keyboard_arrow_up
Internal Functions
Internal functions are parts of the contract that can't be used directly, but instead are used by the public functions listed above.
internal PrimeToken.init keyboard_arrow_up
internal PrimeToken.getSwapNonce keyboard_arrow_up
internal PrimeToken._transfer keyboard_arrow_up
Requirements help
the result of calling balanceOf with UNKNOWN ARGUMENT
must be less than or equal to
the result of calling unlockedBalanceOf with the sender's address