HasNoTokens
contract HasNoTokens
This blocks incoming ERC223 tokens to prevent accidental loss of tokens. Should tokens (any ERC20Basic compatible) end up in the contract, it allows the owner to reclaim the tokens.
Source: ownership/HasNoTokens.sol
Index
Reference
Functions
tokenFallback
function tokenFallback(address from_, uint256 value_, bytes data_) external
Reject all ERC223 compatible tokens.
- Parameters:
from_
- address The address that is transferring the tokensvalue_
- uint256 the amount of the specified tokendata_
- Bytes The data passed from the caller.