ERC-20
Overview
Max Total Supply
143,400,522 HAK
Holders
4,843
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Filtered by Token Holder
Status: Research & Development MultiSigBalance
100 HAKValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
ShakaToken
Compiler Version
v0.4.25+commit.59dbf8f1
Optimization Enabled:
Yes with 200 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2019-01-15 */ pragma solidity ^0.4.25; // File: openzeppelin-solidity/contracts/token/ERC20/IERC20.sol /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ interface IERC20 { function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); function transfer(address to, uint256 value) external returns (bool); function approve(address spender, uint256 value) external returns (bool); function transferFrom(address from, address to, uint256 value) external returns (bool); event Transfer( address indexed from, address indexed to, uint256 value ); event Approval( address indexed owner, address indexed spender, uint256 value ); } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Detailed.sol /** * @title ERC20Detailed token * @dev The decimals are only for visualization purposes. * All the operations are done using the smallest and indivisible token unit, * just as on Ethereum all the operations are done in wei. */ contract ERC20Detailed is IERC20 { string private _name; string private _symbol; uint8 private _decimals; constructor(string name, string symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns(string) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns(string) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns(uint8) { return _decimals; } } // File: openzeppelin-solidity/contracts/math/SafeMath.sol /** * @title SafeMath * @dev Math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two numbers, reverts on overflow. */ function mul(uint256 a, uint256 b) internal pure returns (uint256) { // Gas optimization: this is cheaper than requiring 'a' not being zero, but the // benefit is lost if 'b' is also tested. // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522 if (a == 0) { return 0; } uint256 c = a * b; require(c / a == b); return c; } /** * @dev Integer division of two numbers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { require(b > 0); // Solidity only automatically asserts when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } /** * @dev Subtracts two numbers, reverts on overflow (i.e. if subtrahend is greater than minuend). */ function sub(uint256 a, uint256 b) internal pure returns (uint256) { require(b <= a); uint256 c = a - b; return c; } /** * @dev Adds two numbers, reverts on overflow. */ function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; require(c >= a); return c; } /** * @dev Divides two numbers and returns the remainder (unsigned integer modulo), * reverts when dividing by zero. */ function mod(uint256 a, uint256 b) internal pure returns (uint256) { require(b != 0); return a % b; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-20.md * Originally based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract ERC20 is IERC20 { using SafeMath for uint256; mapping (address => uint256) private _balances; mapping (address => mapping (address => uint256)) private _allowed; uint256 private _totalSupply; /** * @dev Total number of tokens in existence */ function totalSupply() public view returns (uint256) { return _totalSupply; } /** * @dev Gets the balance of the specified address. * @param owner The address to query the balance of. * @return An uint256 representing the amount owned by the passed address. */ function balanceOf(address owner) public view returns (uint256) { return _balances[owner]; } /** * @dev Function to check the amount of tokens that an owner allowed to a spender. * @param owner address The address which owns the funds. * @param spender address The address which will spend the funds. * @return A uint256 specifying the amount of tokens still available for the spender. */ function allowance( address owner, address spender ) public view returns (uint256) { return _allowed[owner][spender]; } /** * @dev Transfer token for a specified address * @param to The address to transfer to. * @param value The amount to be transferred. */ function transfer(address to, uint256 value) public returns (bool) { _transfer(msg.sender, to, value); return true; } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender The address which will spend the funds. * @param value The amount of tokens to be spent. */ function approve(address spender, uint256 value) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = value; emit Approval(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 the amount of tokens to be transferred */ function transferFrom( address from, address to, uint256 value ) public returns (bool) { require(value <= _allowed[from][msg.sender]); _allowed[from][msg.sender] = _allowed[from][msg.sender].sub(value); _transfer(from, to, value); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To increment * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param spender The address which will spend the funds. * @param addedValue The amount of tokens to increase the allowance by. */ function increaseAllowance( address spender, uint256 addedValue ) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = ( _allowed[msg.sender][spender].add(addedValue)); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when allowed_[_spender] == 0. To decrement * allowed value is better to use this function to avoid 2 calls (and wait until * the first transaction is mined) * From MonolithDAO Token.sol * @param spender The address which will spend the funds. * @param subtractedValue The amount of tokens to decrease the allowance by. */ function decreaseAllowance( address spender, uint256 subtractedValue ) public returns (bool) { require(spender != address(0)); _allowed[msg.sender][spender] = ( _allowed[msg.sender][spender].sub(subtractedValue)); emit Approval(msg.sender, spender, _allowed[msg.sender][spender]); return true; } /** * @dev Transfer token for a specified addresses * @param from The address to transfer from. * @param to The address to transfer to. * @param value The amount to be transferred. */ function _transfer(address from, address to, uint256 value) internal { require(value <= _balances[from]); require(to != address(0)); _balances[from] = _balances[from].sub(value); _balances[to] = _balances[to].add(value); emit Transfer(from, to, value); } /** * @dev Internal function that mints an amount of the token and assigns it to * an account. This encapsulates the modification of balances such that the * proper events are emitted. * @param account The account that will receive the created tokens. * @param value The amount that will be created. */ function _mint(address account, uint256 value) internal { require(account != 0); _totalSupply = _totalSupply.add(value); _balances[account] = _balances[account].add(value); emit Transfer(address(0), account, value); } /** * @dev Internal function that burns an amount of the token of a given * account. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { require(account != 0); require(value <= _balances[account]); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Internal function that burns an amount of the token of a given * account, deducting from the sender's allowance for said account. Uses the * internal burn function. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { require(value <= _allowed[account][msg.sender]); // Should https://github.com/OpenZeppelin/zeppelin-solidity/issues/707 be accepted, // this function needs to emit an event with the updated approval. _allowed[account][msg.sender] = _allowed[account][msg.sender].sub( value); _burn(account, value); } } // File: openzeppelin-solidity/contracts/access/Roles.sol /** * @title Roles * @dev Library for managing addresses assigned to a Role. */ library Roles { struct Role { mapping (address => bool) bearer; } /** * @dev give an account access to this role */ function add(Role storage role, address account) internal { require(account != address(0)); require(!has(role, account)); role.bearer[account] = true; } /** * @dev remove an account's access to this role */ function remove(Role storage role, address account) internal { require(account != address(0)); require(has(role, account)); role.bearer[account] = false; } /** * @dev check if an account has this role * @return bool */ function has(Role storage role, address account) internal view returns (bool) { require(account != address(0)); return role.bearer[account]; } } // File: openzeppelin-solidity/contracts/access/roles/MinterRole.sol contract MinterRole { using Roles for Roles.Role; event MinterAdded(address indexed account); event MinterRemoved(address indexed account); Roles.Role private minters; constructor() internal { _addMinter(msg.sender); } modifier onlyMinter() { require(isMinter(msg.sender)); _; } function isMinter(address account) public view returns (bool) { return minters.has(account); } function addMinter(address account) public onlyMinter { _addMinter(account); } function renounceMinter() public { _removeMinter(msg.sender); } function _addMinter(address account) internal { minters.add(account); emit MinterAdded(account); } function _removeMinter(address account) internal { minters.remove(account); emit MinterRemoved(account); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Mintable.sol /** * @title ERC20Mintable * @dev ERC20 minting logic */ contract ERC20Mintable is ERC20, MinterRole { /** * @dev Function to mint tokens * @param to The address that will receive the minted tokens. * @param value The amount of tokens to mint. * @return A boolean that indicates if the operation was successful. */ function mint( address to, uint256 value ) public onlyMinter returns (bool) { _mint(to, value); return true; } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Capped.sol /** * @title Capped token * @dev Mintable token with a token cap. */ contract ERC20Capped is ERC20Mintable { uint256 private _cap; constructor(uint256 cap) public { require(cap > 0); _cap = cap; } /** * @return the cap for the token minting. */ function cap() public view returns(uint256) { return _cap; } function _mint(address account, uint256 value) internal { require(totalSupply().add(value) <= _cap); super._mint(account, value); } } // File: openzeppelin-solidity/contracts/token/ERC20/ERC20Burnable.sol /** * @title Burnable Token * @dev Token that can be irreversibly burned (destroyed). */ contract ERC20Burnable is ERC20 { /** * @dev Burns a specific amount of tokens. * @param value The amount of token to be burned. */ function burn(uint256 value) public { _burn(msg.sender, value); } /** * @dev Burns a specific amount of tokens from the target address and decrements allowance * @param from address The address which you want to send tokens from * @param value uint256 The amount of token to be burned */ function burnFrom(address from, uint256 value) public { _burnFrom(from, value); } } // File: openzeppelin-solidity/contracts/utils/Address.sol /** * Utility library of inline functions on addresses */ library Address { /** * Returns whether the target address is a contract * @dev This function will return false if invoked during the constructor of a contract, * as the code is not actually created until after the constructor finishes. * @param account address of the account to check * @return whether the target address is a contract */ function isContract(address account) internal view returns (bool) { uint256 size; // XXX Currently there is no better way to check if there is a contract in an address // than to check the size of the code at that address. // See https://ethereum.stackexchange.com/a/14016/36603 // for more details about how this works. // TODO Check this again before the Serenity release, because all addresses will be // contracts then. // solium-disable-next-line security/no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } } // File: openzeppelin-solidity/contracts/introspection/ERC165Checker.sol /** * @title ERC165Checker * @dev Use `using ERC165Checker for address`; to include this library * https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ library ERC165Checker { // As per the EIP-165 spec, no interface should ever match 0xffffffff bytes4 private constant _InterfaceId_Invalid = 0xffffffff; bytes4 private constant _InterfaceId_ERC165 = 0x01ffc9a7; /** * 0x01ffc9a7 === * bytes4(keccak256('supportsInterface(bytes4)')) */ /** * @notice Query if a contract supports ERC165 * @param account The address of the contract to query for support of ERC165 * @return true if the contract at account implements ERC165 */ function _supportsERC165(address account) internal view returns (bool) { // Any contract that implements ERC165 must explicitly indicate support of // InterfaceId_ERC165 and explicitly indicate non-support of InterfaceId_Invalid return _supportsERC165Interface(account, _InterfaceId_ERC165) && !_supportsERC165Interface(account, _InterfaceId_Invalid); } /** * @notice Query if a contract implements an interface, also checks support of ERC165 * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return true if the contract at account indicates support of the interface with * identifier interfaceId, false otherwise * @dev Interface identification is specified in ERC-165. */ function _supportsInterface(address account, bytes4 interfaceId) internal view returns (bool) { // query support of both ERC165 as per the spec and support of _interfaceId return _supportsERC165(account) && _supportsERC165Interface(account, interfaceId); } /** * @notice Query if a contract implements interfaces, also checks support of ERC165 * @param account The address of the contract to query for support of an interface * @param interfaceIds A list of interface identifiers, as specified in ERC-165 * @return true if the contract at account indicates support all interfaces in the * interfaceIds list, false otherwise * @dev Interface identification is specified in ERC-165. */ function _supportsAllInterfaces(address account, bytes4[] interfaceIds) internal view returns (bool) { // query support of ERC165 itself if (!_supportsERC165(account)) { return false; } // query support of each interface in _interfaceIds for (uint256 i = 0; i < interfaceIds.length; i++) { if (!_supportsERC165Interface(account, interfaceIds[i])) { return false; } } // all interfaces supported return true; } /** * @notice Query if a contract implements an interface, does not check ERC165 support * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return true if the contract at account indicates support of the interface with * identifier interfaceId, false otherwise * @dev Assumes that account contains a contract that supports ERC165, otherwise * the behavior of this method is undefined. This precondition can be checked * with the `supportsERC165` method in this library. * Interface identification is specified in ERC-165. */ function _supportsERC165Interface(address account, bytes4 interfaceId) private view returns (bool) { // success determines whether the staticcall succeeded and result determines // whether the contract at account indicates support of _interfaceId (bool success, bool result) = _callERC165SupportsInterface( account, interfaceId); return (success && result); } /** * @notice Calls the function with selector 0x01ffc9a7 (ERC165) and suppresses throw * @param account The address of the contract to query for support of an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @return success true if the STATICCALL succeeded, false otherwise * @return result true if the STATICCALL succeeded and the contract at account * indicates support of the interface with identifier interfaceId, false otherwise */ function _callERC165SupportsInterface( address account, bytes4 interfaceId ) private view returns (bool success, bool result) { bytes memory encodedParams = abi.encodeWithSelector( _InterfaceId_ERC165, interfaceId ); // solium-disable-next-line security/no-inline-assembly assembly { let encodedParams_data := add(0x20, encodedParams) let encodedParams_size := mload(encodedParams) let output := mload(0x40) // Find empty storage location using "free memory pointer" mstore(output, 0x0) success := staticcall( 30000, // 30k gas account, // To addr encodedParams_data, encodedParams_size, output, 0x20 // Outputs are 32 bytes long ) result := mload(output) // Load the result } } } // File: openzeppelin-solidity/contracts/introspection/IERC165.sol /** * @title IERC165 * @dev https://github.com/ethereum/EIPs/blob/master/EIPS/eip-165.md */ interface IERC165 { /** * @notice Query if a contract implements an interface * @param interfaceId The interface identifier, as specified in ERC-165 * @dev Interface identification is specified in ERC-165. This function * uses less than 30,000 gas. */ function supportsInterface(bytes4 interfaceId) external view returns (bool); } // File: openzeppelin-solidity/contracts/introspection/ERC165.sol /** * @title ERC165 * @author Matt Condon (@shrugs) * @dev Implements ERC165 using a lookup table. */ contract ERC165 is IERC165 { bytes4 private constant _InterfaceId_ERC165 = 0x01ffc9a7; /** * 0x01ffc9a7 === * bytes4(keccak256('supportsInterface(bytes4)')) */ /** * @dev a mapping of interface id to whether or not it's supported */ mapping(bytes4 => bool) private _supportedInterfaces; /** * @dev A contract implementing SupportsInterfaceWithLookup * implement ERC165 itself */ constructor() internal { _registerInterface(_InterfaceId_ERC165); } /** * @dev implement supportsInterface(bytes4) using a lookup table */ function supportsInterface(bytes4 interfaceId) external view returns (bool) { return _supportedInterfaces[interfaceId]; } /** * @dev internal method for registering an interface */ function _registerInterface(bytes4 interfaceId) internal { require(interfaceId != 0xffffffff); _supportedInterfaces[interfaceId] = true; } } // File: erc-payable-token/contracts/token/ERC1363/IERC1363.sol /** * @title IERC1363 Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for a Payable Token contract as defined in * https://github.com/ethereum/EIPs/issues/1363 */ contract IERC1363 is IERC20, ERC165 { /* * Note: the ERC-165 identifier for this interface is 0x4bbee2df. * 0x4bbee2df === * bytes4(keccak256('transferAndCall(address,uint256)')) ^ * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) */ /* * Note: the ERC-165 identifier for this interface is 0xfb9ec8ce. * 0xfb9ec8ce === * bytes4(keccak256('approveAndCall(address,uint256)')) ^ * bytes4(keccak256('approveAndCall(address,uint256,bytes)')) */ /** * @notice Transfer tokens from `msg.sender` to another address * and then call `onTransferReceived` on receiver * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @return true unless throwing */ function transferAndCall(address to, uint256 value) public returns (bool); /** * @notice Transfer tokens from `msg.sender` to another address * and then call `onTransferReceived` on receiver * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @param data bytes Additional data with no specified format, sent in call to `to` * @return true unless throwing */ function transferAndCall(address to, uint256 value, bytes data) public returns (bool); // solium-disable-line max-len /** * @notice Transfer tokens from one address to another * and then call `onTransferReceived` on receiver * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @return true unless throwing */ function transferFromAndCall(address from, address to, uint256 value) public returns (bool); // solium-disable-line max-len /** * @notice Transfer tokens from one address to another * and then call `onTransferReceived` on receiver * @param from address The address which you want to send tokens from * @param to address The address which you want to transfer to * @param value uint256 The amount of tokens to be transferred * @param data bytes Additional data with no specified format, sent in call to `to` * @return true unless throwing */ function transferFromAndCall(address from, address to, uint256 value, bytes data) public returns (bool); // solium-disable-line max-len, arg-overflow /** * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender * and then call `onApprovalReceived` on spender * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender address The address which will spend the funds * @param value uint256 The amount of tokens to be spent */ function approveAndCall(address spender, uint256 value) public returns (bool); // solium-disable-line max-len /** * @notice Approve the passed address to spend the specified amount of tokens on behalf of msg.sender * and then call `onApprovalReceived` on spender * Beware that changing an allowance with this method brings the risk that someone may use both the old * and the new allowance by unfortunate transaction ordering. One possible solution to mitigate this * race condition is to first reduce the spender's allowance to 0 and set the desired value afterwards: * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 * @param spender address The address which will spend the funds * @param value uint256 The amount of tokens to be spent * @param data bytes Additional data with no specified format, sent in call to `spender` */ function approveAndCall(address spender, uint256 value, bytes data) public returns (bool); // solium-disable-line max-len } // File: erc-payable-token/contracts/token/ERC1363/IERC1363Receiver.sol /** * @title IERC1363Receiver Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for any contract that wants to support transferAndCall or transferFromAndCall * from ERC1363 token contracts as defined in * https://github.com/ethereum/EIPs/issues/1363 */ contract IERC1363Receiver { /* * Note: the ERC-165 identifier for this interface is 0x88a7ca5c. * 0x88a7ca5c === bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)")) */ /** * @notice Handle the receipt of ERC1363 tokens * @dev Any ERC1363 smart contract calls this function on the recipient * after a `transfer` or a `transferFrom`. This function MAY throw to revert and reject the * transfer. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the token contract address is always the message sender. * @param operator address The address which called `transferAndCall` or `transferFromAndCall` function * @param from address The address which are token transferred from * @param value uint256 The amount of tokens transferred * @param data bytes Additional data with no specified format * @return `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` * unless throwing */ function onTransferReceived(address operator, address from, uint256 value, bytes data) external returns (bytes4); // solium-disable-line max-len, arg-overflow } // File: erc-payable-token/contracts/token/ERC1363/IERC1363Spender.sol /** * @title IERC1363Spender Interface * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Interface for any contract that wants to support approveAndCall * from ERC1363 token contracts as defined in * https://github.com/ethereum/EIPs/issues/1363 */ contract IERC1363Spender { /* * Note: the ERC-165 identifier for this interface is 0x7b04a2d0. * 0x7b04a2d0 === bytes4(keccak256("onApprovalReceived(address,uint256,bytes)")) */ /** * @notice Handle the approval of ERC1363 tokens * @dev Any ERC1363 smart contract calls this function on the recipient * after an `approve`. This function MAY throw to revert and reject the * approval. Return of other than the magic value MUST result in the * transaction being reverted. * Note: the token contract address is always the message sender. * @param owner address The address which called `approveAndCall` function * @param value uint256 The amount of tokens to be spent * @param data bytes Additional data with no specified format * @return `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))` * unless throwing */ function onApprovalReceived(address owner, uint256 value, bytes data) external returns (bytes4); // solium-disable-line max-len } // File: erc-payable-token/contracts/token/ERC1363/ERC1363.sol /** * @title ERC1363 * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of an ERC1363 interface */ contract ERC1363 is ERC20, IERC1363 { // solium-disable-line max-len using Address for address; /* * Note: the ERC-165 identifier for this interface is 0x4bbee2df. * 0x4bbee2df === * bytes4(keccak256('transferAndCall(address,uint256)')) ^ * bytes4(keccak256('transferAndCall(address,uint256,bytes)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256)')) ^ * bytes4(keccak256('transferFromAndCall(address,address,uint256,bytes)')) */ bytes4 internal constant _InterfaceId_ERC1363Transfer = 0x4bbee2df; /* * Note: the ERC-165 identifier for this interface is 0xfb9ec8ce. * 0xfb9ec8ce === * bytes4(keccak256('approveAndCall(address,uint256)')) ^ * bytes4(keccak256('approveAndCall(address,uint256,bytes)')) */ bytes4 internal constant _InterfaceId_ERC1363Approve = 0xfb9ec8ce; // Equals to `bytes4(keccak256("onTransferReceived(address,address,uint256,bytes)"))` // which can be also obtained as `IERC1363Receiver(0).onTransferReceived.selector` bytes4 private constant _ERC1363_RECEIVED = 0x88a7ca5c; // Equals to `bytes4(keccak256("onApprovalReceived(address,uint256,bytes)"))` // which can be also obtained as `IERC1363Spender(0).onApprovalReceived.selector` bytes4 private constant _ERC1363_APPROVED = 0x7b04a2d0; constructor() public { // register the supported interfaces to conform to ERC1363 via ERC165 _registerInterface(_InterfaceId_ERC1363Transfer); _registerInterface(_InterfaceId_ERC1363Approve); } function transferAndCall( address to, uint256 value ) public returns (bool) { return transferAndCall(to, value, ""); } function transferAndCall( address to, uint256 value, bytes data ) public returns (bool) { require(transfer(to, value)); require( _checkAndCallTransfer( msg.sender, to, value, data ) ); return true; } function transferFromAndCall( address from, address to, uint256 value ) public returns (bool) { // solium-disable-next-line arg-overflow return transferFromAndCall(from, to, value, ""); } function transferFromAndCall( address from, address to, uint256 value, bytes data ) public returns (bool) { require(transferFrom(from, to, value)); require( _checkAndCallTransfer( from, to, value, data ) ); return true; } function approveAndCall( address spender, uint256 value ) public returns (bool) { return approveAndCall(spender, value, ""); } function approveAndCall( address spender, uint256 value, bytes data ) public returns (bool) { approve(spender, value); require( _checkAndCallApprove( spender, value, data ) ); return true; } /** * @dev Internal function to invoke `onTransferReceived` on a target address * The call is not executed if the target address is not a contract * @param from address Representing the previous owner of the given token value * @param to address Target address that will receive the tokens * @param value uint256 The amount mount of tokens to be transferred * @param data bytes Optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkAndCallTransfer( address from, address to, uint256 value, bytes data ) internal returns (bool) { if (!to.isContract()) { return false; } bytes4 retval = IERC1363Receiver(to).onTransferReceived( msg.sender, from, value, data ); return (retval == _ERC1363_RECEIVED); } /** * @dev Internal function to invoke `onApprovalReceived` on a target address * The call is not executed if the target address is not a contract * @param spender address The address which will spend the funds * @param value uint256 The amount of tokens to be spent * @param data bytes Optional data to send along with the call * @return whether the call correctly returned the expected magic value */ function _checkAndCallApprove( address spender, uint256 value, bytes data ) internal returns (bool) { if (!spender.isContract()) { return false; } bytes4 retval = IERC1363Spender(spender).onApprovalReceived( msg.sender, value, data ); return (retval == _ERC1363_APPROVED); } } // File: openzeppelin-solidity/contracts/ownership/Ownable.sol /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address private _owner; event OwnershipTransferred( address indexed previousOwner, address indexed newOwner ); /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ constructor() internal { _owner = msg.sender; emit OwnershipTransferred(address(0), _owner); } /** * @return the address of the owner. */ function owner() public view returns(address) { return _owner; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(isOwner()); _; } /** * @return true if `msg.sender` is the owner of the contract. */ function isOwner() public view returns(bool) { return msg.sender == _owner; } /** * @dev Allows the current owner to relinquish control of the contract. * @notice Renouncing to ownership will leave the contract without an owner. * It will not be possible to call the functions with the `onlyOwner` * modifier anymore. */ function renounceOwnership() public onlyOwner { emit OwnershipTransferred(_owner, address(0)); _owner = address(0); } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { _transferOwnership(newOwner); } /** * @dev Transfers control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function _transferOwnership(address newOwner) internal { require(newOwner != address(0)); emit OwnershipTransferred(_owner, newOwner); _owner = newOwner; } } // File: eth-token-recover/contracts/TokenRecover.sol /** * @title TokenRecover * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Allow to recover any ERC20 sent into the contract for error */ contract TokenRecover is Ownable { /** * @dev Remember that only owner can call so be careful when use on contracts generated from other contracts. * @param tokenAddress The token contract address * @param tokenAmount Number of tokens to be sent */ function recoverERC20( address tokenAddress, uint256 tokenAmount ) public onlyOwner { IERC20(tokenAddress).transfer(owner(), tokenAmount); } } // File: contracts/access/roles/OperatorRole.sol contract OperatorRole { using Roles for Roles.Role; event OperatorAdded(address indexed account); event OperatorRemoved(address indexed account); Roles.Role private _operators; constructor() internal { _addOperator(msg.sender); } modifier onlyOperator() { require(isOperator(msg.sender)); _; } function isOperator(address account) public view returns (bool) { return _operators.has(account); } function addOperator(address account) public onlyOperator { _addOperator(account); } function renounceOperator() public { _removeOperator(msg.sender); } function _addOperator(address account) internal { _operators.add(account); emit OperatorAdded(account); } function _removeOperator(address account) internal { _operators.remove(account); emit OperatorRemoved(account); } } // File: contracts/token/BaseToken.sol /** * @title BaseToken * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of the BaseToken */ contract BaseToken is ERC20Detailed, ERC20Capped, ERC20Burnable, ERC1363, OperatorRole, TokenRecover { event MintFinished(); event TransferEnabled(); // indicates if minting is finished bool private _mintingFinished = false; // indicates if transfer is enabled bool private _transferEnabled = false; /** * @dev Tokens can be minted only before minting finished */ modifier canMint() { require(!_mintingFinished); _; } /** * @dev Tokens can be moved only after if transfer enabled or if you are an approved operator */ modifier canTransfer(address from) { require(_transferEnabled || isOperator(from)); _; } /** * @param name Name of the token * @param symbol A symbol to be used as ticker * @param decimals Number of decimals. All the operations are done using the smallest and indivisible token unit * @param cap Maximum number of tokens mintable * @param initialSupply Initial token supply */ constructor( string name, string symbol, uint8 decimals, uint256 cap, uint256 initialSupply ) ERC20Detailed(name, symbol, decimals) ERC20Capped(cap) public { if (initialSupply > 0) { _mint(owner(), initialSupply); } } /** * @return if minting is finished or not */ function mintingFinished() public view returns (bool) { return _mintingFinished; } /** * @return if transfer is enabled or not */ function transferEnabled() public view returns (bool) { return _transferEnabled; } function mint(address to, uint256 value) public canMint returns (bool) { return super.mint(to, value); } function transfer(address to, uint256 value) public canTransfer(msg.sender) returns (bool) { return super.transfer(to, value); } function transferFrom(address from, address to, uint256 value) public canTransfer(from) returns (bool) { return super.transferFrom(from, to, value); } /** * @dev Function to stop minting new tokens */ function finishMinting() public onlyOwner canMint { _mintingFinished = true; _transferEnabled = true; emit MintFinished(); emit TransferEnabled(); } /** * @dev Function to enable transfers. */ function enableTransfer() public onlyOwner { _transferEnabled = true; emit TransferEnabled(); } /** * @dev remove the `operator` role from address * @param account Address you want to remove role */ function removeOperator(address account) public onlyOwner { _removeOperator(account); } /** * @dev remove the `minter` role from address * @param account Address you want to remove role */ function removeMinter(address account) public onlyOwner { _removeMinter(account); } } // File: contracts/token/ShakaToken.sol /** * @title ShakaToken * @author Vittorio Minacori (https://github.com/vittominacori) * @dev Implementation of the Shaka Token */ contract ShakaToken is BaseToken { /** * @param name Name of the token * @param symbol A symbol to be used as ticker * @param decimals Number of decimals. All the operations are done using the smallest and indivisible token unit * @param cap Maximum number of tokens mintable * @param initialSupply Initial token supply */ constructor( string name, string symbol, uint8 decimals, uint256 cap, uint256 initialSupply ) BaseToken( name, symbol, decimals, cap, initialSupply ) public {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"constant":true,"inputs":[{"name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintingFinished","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"name","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"removeMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"}],"name":"approveAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"cap","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"addedValue","type":"uint256"}],"name":"increaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"}],"name":"transferAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"mint","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"value","type":"uint256"}],"name":"burn","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"transferEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isOperator","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"value","type":"uint256"}],"name":"burnFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishMinting","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"tokenAddress","type":"address"},{"name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isOwner","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"renounceMinter","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"subtractedValue","type":"uint256"}],"name":"decreaseAllowance","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transfer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isMinter","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"removeOperator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"}],"name":"transferFromAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"spender","type":"address"},{"name":"value","type":"uint256"},{"name":"data","type":"bytes"}],"name":"approveAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"from","type":"address"},{"name":"to","type":"address"},{"name":"value","type":"uint256"}],"name":"transferFromAndCall","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"owner","type":"address"},{"name":"spender","type":"address"}],"name":"allowance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"enableTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"name","type":"string"},{"name":"symbol","type":"string"},{"name":"decimals","type":"uint8"},{"name":"cap","type":"uint256"},{"name":"initialSupply","type":"uint256"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[],"name":"MintFinished","type":"event"},{"anonymous":false,"inputs":[],"name":"TransferEnabled","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"OperatorAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"OperatorRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"MinterRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Transfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"owner","type":"address"},{"indexed":true,"name":"spender","type":"address"},{"indexed":false,"name":"value","type":"uint256"}],"name":"Approval","type":"event"}]
Contract Creation Code
6080604052600a805460a060020a61ffff02191690553480156200002257600080fd5b5060405162001f6138038062001f6183398101604090815281516020808401519284015160608501516080860151938601805190969590950194919390929091869186918691869186918391879187918791620000859160009186019062000504565b5081516200009b90600190602085019062000504565b506002805460ff191660ff9290921691909117905550620000c790503364010000000062000215810204565b60008111620000d557600080fd5b6007556200010c7f01ffc9a70000000000000000000000000000000000000000000000000000000064010000000062000267810204565b620001407f4bbee2df0000000000000000000000000000000000000000000000000000000064010000000062000267810204565b620001747ffb9ec8ce0000000000000000000000000000000000000000000000000000000064010000000062000267810204565b6200018833640100000000620002d4810204565b600a8054600160a060020a031916331790819055604051600160a060020a0391909116906000907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a36000811115620002055762000205620001f564010000000062000326810204565b8264010000000062000336810204565b50505050505050505050620005a6565b62000230600682640100000000620018856200039082021704565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b7fffffffff0000000000000000000000000000000000000000000000000000000080821614156200029757600080fd5b7fffffffff00000000000000000000000000000000000000000000000000000000166000908152600860205260409020805460ff19166001179055565b620002ef600982640100000000620018856200039082021704565b604051600160a060020a038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b600a54600160a060020a03165b90565b600754620003668262000351640100000000620003eb810204565b9064010000000062001148620003f182021704565b11156200037257600080fd5b6200038c8282640100000000620018d36200040b82021704565b5050565b600160a060020a0381161515620003a657600080fd5b620003bb8282640100000000620004cc810204565b15620003c657600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b60055490565b6000828201838110156200040457600080fd5b9392505050565b600160a060020a03821615156200042157600080fd5b6005546200043e908264010000000062001148620003f182021704565b600555600160a060020a03821660009081526003602052604090205462000474908264010000000062001148620003f182021704565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b6000600160a060020a0382161515620004e457600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200054757805160ff191683800117855562000577565b8280016001018555821562000577579182015b82811115620005775782518255916020019190600101906200055a565b506200058592915062000589565b5090565b6200033391905b8082111562000585576000815560010162000590565b6119ab80620005b66000396000f3006080604052600436106101c95763ffffffff60e060020a60003504166301ffc9a781146101ce57806305d2035b1461020457806306fdde0314610219578063095ea7b3146102a35780631296ee62146102c757806318160ddd146102eb57806323b872dd146103125780632ab6f8db1461033c5780633092afd514610353578063313ce567146103745780633177029f1461039f578063355274ea146103c357806339509351146103d85780634000aea0146103fc57806340c10f191461046557806342966c68146104895780634cd412d5146104a15780636d70f7ae146104b657806370a08231146104d7578063715018a6146104f857806379cc67901461050d5780637d64bcb4146105315780638980f11f146105465780638da5cb5b1461056a5780638f32d59b1461059b57806395d89b41146105b0578063983b2d56146105c557806398650275146105e65780639870d7fe146105fb578063a457c2d71461061c578063a9059cbb14610640578063aa271e1a14610664578063ac8a584a14610685578063c1d34b89146106a6578063cae9ca5114610715578063d8fbe9941461077e578063dd62ed3e146107a8578063f1b50c1d146107cf578063f2fde38b146107e4575b600080fd5b3480156101da57600080fd5b506101f0600160e060020a031960043516610805565b604080519115158252519081900360200190f35b34801561021057600080fd5b506101f0610824565b34801561022557600080fd5b5061022e610845565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610268578181015183820152602001610250565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102af57600080fd5b506101f0600160a060020a03600435166024356108db565b3480156102d357600080fd5b506101f0600160a060020a0360043516602435610959565b3480156102f757600080fd5b5061030061097d565b60408051918252519081900360200190f35b34801561031e57600080fd5b506101f0600160a060020a0360043581169060243516604435610983565b34801561034857600080fd5b506103516109c5565b005b34801561035f57600080fd5b50610351600160a060020a03600435166109d0565b34801561038057600080fd5b506103896109ef565b6040805160ff9092168252519081900360200190f35b3480156103ab57600080fd5b506101f0600160a060020a03600435166024356109f8565b3480156103cf57600080fd5b50610300610a15565b3480156103e457600080fd5b506101f0600160a060020a0360043516602435610a1b565b34801561040857600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101f0948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610acb9650505050505050565b34801561047157600080fd5b506101f0600160a060020a0360043516602435610b03565b34801561049557600080fd5b50610351600435610b38565b3480156104ad57600080fd5b506101f0610b42565b3480156104c257600080fd5b506101f0600160a060020a0360043516610b52565b3480156104e357600080fd5b50610300600160a060020a0360043516610b6b565b34801561050457600080fd5b50610351610b86565b34801561051957600080fd5b50610351600160a060020a0360043516602435610bf0565b34801561053d57600080fd5b50610351610bfe565b34801561055257600080fd5b50610351600160a060020a0360043516602435610ce3565b34801561057657600080fd5b5061057f610d90565b60408051600160a060020a039092168252519081900360200190f35b3480156105a757600080fd5b506101f0610d9f565b3480156105bc57600080fd5b5061022e610db0565b3480156105d157600080fd5b50610351600160a060020a0360043516610e10565b3480156105f257600080fd5b50610351610e2d565b34801561060757600080fd5b50610351600160a060020a0360043516610e36565b34801561062857600080fd5b506101f0600160a060020a0360043516602435610e53565b34801561064c57600080fd5b506101f0600160a060020a0360043516602435610e9e565b34801561067057600080fd5b506101f0600160a060020a0360043516610edc565b34801561069157600080fd5b50610351600160a060020a0360043516610eef565b3480156106b257600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526101f094600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610f0b9650505050505050565b34801561072157600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101f0948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610f459650505050505050565b34801561078a57600080fd5b506101f0600160a060020a0360043581169060243516604435610f5d565b3480156107b457600080fd5b50610300600160a060020a0360043581169060243516610f7b565b3480156107db57600080fd5b50610351610fa6565b3480156107f057600080fd5b50610351600160a060020a0360043516611009565b600160e060020a03191660009081526008602052604090205460ff1690565b600a5474010000000000000000000000000000000000000000900460ff1690565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d15780601f106108a6576101008083540402835291602001916108d1565b820191906000526020600020905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b6000600160a060020a03831615156108f257600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600061097683836020604051908101604052806000815250610acb565b9392505050565b60055490565b600a54600090849060a860020a900460ff16806109a457506109a481610b52565b15156109af57600080fd5b6109ba858585611025565b91505b509392505050565b6109ce336110b8565b565b6109d8610d9f565b15156109e357600080fd5b6109ec81611100565b50565b60025460ff1690565b600061097683836020604051908101604052806000815250610f45565b60075490565b6000600160a060020a0383161515610a3257600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610a66908363ffffffff61114816565b336000818152600460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000610ad78484610e9e565b1515610ae257600080fd5b610aee3385858561115a565b1515610af957600080fd5b5060019392505050565b600a5460009074010000000000000000000000000000000000000000900460ff1615610b2e57600080fd5b61097683836112c7565b6109ec33826112f0565b600a5460a860020a900460ff1690565b6000610b6560098363ffffffff6113c016565b92915050565b600160a060020a031660009081526003602052604090205490565b610b8e610d9f565b1515610b9957600080fd5b600a54604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a805473ffffffffffffffffffffffffffffffffffffffff19169055565b610bfa82826113f7565b5050565b610c06610d9f565b1515610c1157600080fd5b600a5474010000000000000000000000000000000000000000900460ff1615610c3957600080fd5b600a805475ff0000000000000000000000000000000000000000001974ff00000000000000000000000000000000000000001990911674010000000000000000000000000000000000000000171660a860020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a16040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b610ceb610d9f565b1515610cf657600080fd5b81600160a060020a031663a9059cbb610d0d610d90565b836040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610d6057600080fd5b505af1158015610d74573d6000803e3d6000fd5b505050506040513d6020811015610d8a57600080fd5b50505050565b600a54600160a060020a031690565b600a54600160a060020a0316331490565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d15780601f106108a6576101008083540402835291602001916108d1565b610e1933610edc565b1515610e2457600080fd5b6109ec81611489565b6109ce33611100565b610e3f33610b52565b1515610e4a57600080fd5b6109ec816114d1565b6000600160a060020a0383161515610e6a57600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610a66908363ffffffff61151916565b600a54600090339060a860020a900460ff1680610ebf5750610ebf81610b52565b1515610eca57600080fd5b610ed48484611530565b949350505050565b6000610b6560068363ffffffff6113c016565b610ef7610d9f565b1515610f0257600080fd5b6109ec816110b8565b6000610f18858585610983565b1515610f2357600080fd5b610f2f8585858561115a565b1515610f3a57600080fd5b506001949350505050565b6000610f5184846108db565b50610aee84848461153d565b6000610ed48484846020604051908101604052806000815250610f0b565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b610fae610d9f565b1515610fb957600080fd5b600a805475ff000000000000000000000000000000000000000000191660a860020a1790556040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b611011610d9f565b151561101c57600080fd5b6109ec8161168f565b600160a060020a038316600090815260046020908152604080832033845290915281205482111561105557600080fd5b600160a060020a0384166000908152600460209081526040808320338452909152902054611089908363ffffffff61151916565b600160a060020a0385166000908152600460209081526040808320338452909152902055610af984848461170d565b6110c960098263ffffffff61180116565b604051600160a060020a038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b61111160068263ffffffff61180116565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60008282018381101561097657600080fd5b60008061116f85600160a060020a031661184d565b151561117e57600091506112be565b6040517f88a7ca5c0000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a16946388a7ca5c94938c938b938b93909160a490910190602085019080838360005b838110156112115781810151838201526020016111f9565b50505050905090810190601f16801561123e5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561126057600080fd5b505af1158015611274573d6000803e3d6000fd5b505050506040513d602081101561128a57600080fd5b5051600160e060020a031981167f88a7ca5c0000000000000000000000000000000000000000000000000000000014925090505b50949350505050565b60006112d233610edc565b15156112dd57600080fd5b6112e78383611855565b50600192915050565b600160a060020a038216151561130557600080fd5b600160a060020a03821660009081526003602052604090205481111561132a57600080fd5b60055461133d908263ffffffff61151916565b600555600160a060020a038216600090815260036020526040902054611369908263ffffffff61151916565b600160a060020a0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6000600160a060020a03821615156113d757600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b600160a060020a038216600090815260046020908152604080832033845290915290205481111561142757600080fd5b600160a060020a038216600090815260046020908152604080832033845290915290205461145b908263ffffffff61151916565b600160a060020a0383166000908152600460209081526040808320338452909152902055610bfa82826112f0565b61149a60068263ffffffff61188516565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6114e260098263ffffffff61188516565b604051600160a060020a038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b6000808383111561152957600080fd5b5050900390565b60006112e733848461170d565b60008061155285600160a060020a031661184d565b151561156157600091506109bd565b84600160a060020a0316637b04a2d03386866040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115e05781810151838201526020016115c8565b50505050905090810190601f16801561160d5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561162e57600080fd5b505af1158015611642573d6000803e3d6000fd5b505050506040513d602081101561165857600080fd5b5051600160e060020a0319167f7b04a2d0000000000000000000000000000000000000000000000000000000001495945050505050565b600160a060020a03811615156116a457600080fd5b600a54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03831660009081526003602052604090205481111561173257600080fd5b600160a060020a038216151561174757600080fd5b600160a060020a038316600090815260036020526040902054611770908263ffffffff61151916565b600160a060020a0380851660009081526003602052604080822093909355908416815220546117a5908263ffffffff61114816565b600160a060020a0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600160a060020a038116151561181657600080fd5b61182082826113c0565b151561182b57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b6000903b1190565b6007546118708261186461097d565b9063ffffffff61114816565b111561187b57600080fd5b610bfa82826118d3565b600160a060020a038116151561189a57600080fd5b6118a482826113c0565b156118ae57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600160a060020a03821615156118e857600080fd5b6005546118fb908263ffffffff61114816565b600555600160a060020a038216600090815260036020526040902054611927908263ffffffff61114816565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350505600a165627a7a72305820359dfddb10143212a6a7ba8b5b270fcabbf818db5d186db91f7de23db0256b63002900000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000073ce27351811f40c00000000000000000000000000000000000000000000000000000000000000000000055368616b61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348414b0000000000000000000000000000000000000000000000000000000000
Deployed Bytecode
0x6080604052600436106101c95763ffffffff60e060020a60003504166301ffc9a781146101ce57806305d2035b1461020457806306fdde0314610219578063095ea7b3146102a35780631296ee62146102c757806318160ddd146102eb57806323b872dd146103125780632ab6f8db1461033c5780633092afd514610353578063313ce567146103745780633177029f1461039f578063355274ea146103c357806339509351146103d85780634000aea0146103fc57806340c10f191461046557806342966c68146104895780634cd412d5146104a15780636d70f7ae146104b657806370a08231146104d7578063715018a6146104f857806379cc67901461050d5780637d64bcb4146105315780638980f11f146105465780638da5cb5b1461056a5780638f32d59b1461059b57806395d89b41146105b0578063983b2d56146105c557806398650275146105e65780639870d7fe146105fb578063a457c2d71461061c578063a9059cbb14610640578063aa271e1a14610664578063ac8a584a14610685578063c1d34b89146106a6578063cae9ca5114610715578063d8fbe9941461077e578063dd62ed3e146107a8578063f1b50c1d146107cf578063f2fde38b146107e4575b600080fd5b3480156101da57600080fd5b506101f0600160e060020a031960043516610805565b604080519115158252519081900360200190f35b34801561021057600080fd5b506101f0610824565b34801561022557600080fd5b5061022e610845565b6040805160208082528351818301528351919283929083019185019080838360005b83811015610268578181015183820152602001610250565b50505050905090810190601f1680156102955780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156102af57600080fd5b506101f0600160a060020a03600435166024356108db565b3480156102d357600080fd5b506101f0600160a060020a0360043516602435610959565b3480156102f757600080fd5b5061030061097d565b60408051918252519081900360200190f35b34801561031e57600080fd5b506101f0600160a060020a0360043581169060243516604435610983565b34801561034857600080fd5b506103516109c5565b005b34801561035f57600080fd5b50610351600160a060020a03600435166109d0565b34801561038057600080fd5b506103896109ef565b6040805160ff9092168252519081900360200190f35b3480156103ab57600080fd5b506101f0600160a060020a03600435166024356109f8565b3480156103cf57600080fd5b50610300610a15565b3480156103e457600080fd5b506101f0600160a060020a0360043516602435610a1b565b34801561040857600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101f0948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610acb9650505050505050565b34801561047157600080fd5b506101f0600160a060020a0360043516602435610b03565b34801561049557600080fd5b50610351600435610b38565b3480156104ad57600080fd5b506101f0610b42565b3480156104c257600080fd5b506101f0600160a060020a0360043516610b52565b3480156104e357600080fd5b50610300600160a060020a0360043516610b6b565b34801561050457600080fd5b50610351610b86565b34801561051957600080fd5b50610351600160a060020a0360043516602435610bf0565b34801561053d57600080fd5b50610351610bfe565b34801561055257600080fd5b50610351600160a060020a0360043516602435610ce3565b34801561057657600080fd5b5061057f610d90565b60408051600160a060020a039092168252519081900360200190f35b3480156105a757600080fd5b506101f0610d9f565b3480156105bc57600080fd5b5061022e610db0565b3480156105d157600080fd5b50610351600160a060020a0360043516610e10565b3480156105f257600080fd5b50610351610e2d565b34801561060757600080fd5b50610351600160a060020a0360043516610e36565b34801561062857600080fd5b506101f0600160a060020a0360043516602435610e53565b34801561064c57600080fd5b506101f0600160a060020a0360043516602435610e9e565b34801561067057600080fd5b506101f0600160a060020a0360043516610edc565b34801561069157600080fd5b50610351600160a060020a0360043516610eef565b3480156106b257600080fd5b50604080516020601f6064356004818101359283018490048402850184019095528184526101f094600160a060020a038135811695602480359092169560443595369560849401918190840183828082843750949750610f0b9650505050505050565b34801561072157600080fd5b50604080516020600460443581810135601f81018490048402850184019095528484526101f0948235600160a060020a0316946024803595369594606494920191908190840183828082843750949750610f459650505050505050565b34801561078a57600080fd5b506101f0600160a060020a0360043581169060243516604435610f5d565b3480156107b457600080fd5b50610300600160a060020a0360043581169060243516610f7b565b3480156107db57600080fd5b50610351610fa6565b3480156107f057600080fd5b50610351600160a060020a0360043516611009565b600160e060020a03191660009081526008602052604090205460ff1690565b600a5474010000000000000000000000000000000000000000900460ff1690565b60008054604080516020601f60026000196101006001881615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d15780601f106108a6576101008083540402835291602001916108d1565b820191906000526020600020905b8154815290600101906020018083116108b457829003601f168201915b5050505050905090565b6000600160a060020a03831615156108f257600080fd5b336000818152600460209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a350600192915050565b600061097683836020604051908101604052806000815250610acb565b9392505050565b60055490565b600a54600090849060a860020a900460ff16806109a457506109a481610b52565b15156109af57600080fd5b6109ba858585611025565b91505b509392505050565b6109ce336110b8565b565b6109d8610d9f565b15156109e357600080fd5b6109ec81611100565b50565b60025460ff1690565b600061097683836020604051908101604052806000815250610f45565b60075490565b6000600160a060020a0383161515610a3257600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610a66908363ffffffff61114816565b336000818152600460209081526040808320600160a060020a0389168085529083529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a350600192915050565b6000610ad78484610e9e565b1515610ae257600080fd5b610aee3385858561115a565b1515610af957600080fd5b5060019392505050565b600a5460009074010000000000000000000000000000000000000000900460ff1615610b2e57600080fd5b61097683836112c7565b6109ec33826112f0565b600a5460a860020a900460ff1690565b6000610b6560098363ffffffff6113c016565b92915050565b600160a060020a031660009081526003602052604090205490565b610b8e610d9f565b1515610b9957600080fd5b600a54604051600091600160a060020a0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600a805473ffffffffffffffffffffffffffffffffffffffff19169055565b610bfa82826113f7565b5050565b610c06610d9f565b1515610c1157600080fd5b600a5474010000000000000000000000000000000000000000900460ff1615610c3957600080fd5b600a805475ff0000000000000000000000000000000000000000001974ff00000000000000000000000000000000000000001990911674010000000000000000000000000000000000000000171660a860020a1790556040517fae5184fba832cb2b1f702aca6117b8d265eaf03ad33eb133f19dde0f5920fa0890600090a16040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b610ceb610d9f565b1515610cf657600080fd5b81600160a060020a031663a9059cbb610d0d610d90565b836040518363ffffffff1660e060020a0281526004018083600160a060020a0316600160a060020a0316815260200182815260200192505050602060405180830381600087803b158015610d6057600080fd5b505af1158015610d74573d6000803e3d6000fd5b505050506040513d6020811015610d8a57600080fd5b50505050565b600a54600160a060020a031690565b600a54600160a060020a0316331490565b60018054604080516020601f600260001961010087891615020190951694909404938401819004810282018101909252828152606093909290918301828280156108d15780601f106108a6576101008083540402835291602001916108d1565b610e1933610edc565b1515610e2457600080fd5b6109ec81611489565b6109ce33611100565b610e3f33610b52565b1515610e4a57600080fd5b6109ec816114d1565b6000600160a060020a0383161515610e6a57600080fd5b336000908152600460209081526040808320600160a060020a0387168452909152902054610a66908363ffffffff61151916565b600a54600090339060a860020a900460ff1680610ebf5750610ebf81610b52565b1515610eca57600080fd5b610ed48484611530565b949350505050565b6000610b6560068363ffffffff6113c016565b610ef7610d9f565b1515610f0257600080fd5b6109ec816110b8565b6000610f18858585610983565b1515610f2357600080fd5b610f2f8585858561115a565b1515610f3a57600080fd5b506001949350505050565b6000610f5184846108db565b50610aee84848461153d565b6000610ed48484846020604051908101604052806000815250610f0b565b600160a060020a03918216600090815260046020908152604080832093909416825291909152205490565b610fae610d9f565b1515610fb957600080fd5b600a805475ff000000000000000000000000000000000000000000191660a860020a1790556040517f75fce015c314a132947a3e42f6ab79ab8e05397dabf35b4d742dea228bbadc2d90600090a1565b611011610d9f565b151561101c57600080fd5b6109ec8161168f565b600160a060020a038316600090815260046020908152604080832033845290915281205482111561105557600080fd5b600160a060020a0384166000908152600460209081526040808320338452909152902054611089908363ffffffff61151916565b600160a060020a0385166000908152600460209081526040808320338452909152902055610af984848461170d565b6110c960098263ffffffff61180116565b604051600160a060020a038216907f80c0b871b97b595b16a7741c1b06fed0c6f6f558639f18ccbce50724325dc40d90600090a250565b61111160068263ffffffff61180116565b604051600160a060020a038216907fe94479a9f7e1952cc78f2d6baab678adc1b772d936c6583def489e524cb6669290600090a250565b60008282018381101561097657600080fd5b60008061116f85600160a060020a031661184d565b151561117e57600091506112be565b6040517f88a7ca5c0000000000000000000000000000000000000000000000000000000081523360048201818152600160a060020a03898116602485015260448401889052608060648501908152875160848601528751918a16946388a7ca5c94938c938b938b93909160a490910190602085019080838360005b838110156112115781810151838201526020016111f9565b50505050905090810190601f16801561123e5780820380516001836020036101000a031916815260200191505b5095505050505050602060405180830381600087803b15801561126057600080fd5b505af1158015611274573d6000803e3d6000fd5b505050506040513d602081101561128a57600080fd5b5051600160e060020a031981167f88a7ca5c0000000000000000000000000000000000000000000000000000000014925090505b50949350505050565b60006112d233610edc565b15156112dd57600080fd5b6112e78383611855565b50600192915050565b600160a060020a038216151561130557600080fd5b600160a060020a03821660009081526003602052604090205481111561132a57600080fd5b60055461133d908263ffffffff61151916565b600555600160a060020a038216600090815260036020526040902054611369908263ffffffff61151916565b600160a060020a0383166000818152600360209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b6000600160a060020a03821615156113d757600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b600160a060020a038216600090815260046020908152604080832033845290915290205481111561142757600080fd5b600160a060020a038216600090815260046020908152604080832033845290915290205461145b908263ffffffff61151916565b600160a060020a0383166000908152600460209081526040808320338452909152902055610bfa82826112f0565b61149a60068263ffffffff61188516565b604051600160a060020a038216907f6ae172837ea30b801fbfcdd4108aa1d5bf8ff775444fd70256b44e6bf3dfc3f690600090a250565b6114e260098263ffffffff61188516565b604051600160a060020a038216907fac6fa858e9350a46cec16539926e0fde25b7629f84b5a72bffaae4df888ae86d90600090a250565b6000808383111561152957600080fd5b5050900390565b60006112e733848461170d565b60008061155285600160a060020a031661184d565b151561156157600091506109bd565b84600160a060020a0316637b04a2d03386866040518463ffffffff1660e060020a0281526004018084600160a060020a0316600160a060020a0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156115e05781810151838201526020016115c8565b50505050905090810190601f16801561160d5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561162e57600080fd5b505af1158015611642573d6000803e3d6000fd5b505050506040513d602081101561165857600080fd5b5051600160e060020a0319167f7b04a2d0000000000000000000000000000000000000000000000000000000001495945050505050565b600160a060020a03811615156116a457600080fd5b600a54604051600160a060020a038084169216907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a3600a805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600160a060020a03831660009081526003602052604090205481111561173257600080fd5b600160a060020a038216151561174757600080fd5b600160a060020a038316600090815260036020526040902054611770908263ffffffff61151916565b600160a060020a0380851660009081526003602052604080822093909355908416815220546117a5908263ffffffff61114816565b600160a060020a0380841660008181526003602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b600160a060020a038116151561181657600080fd5b61182082826113c0565b151561182b57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19169055565b6000903b1190565b6007546118708261186461097d565b9063ffffffff61114816565b111561187b57600080fd5b610bfa82826118d3565b600160a060020a038116151561189a57600080fd5b6118a482826113c0565b156118ae57600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b600160a060020a03821615156118e857600080fd5b6005546118fb908263ffffffff61114816565b600555600160a060020a038216600090815260036020526040902054611927908263ffffffff61114816565b600160a060020a03831660008181526003602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a350505600a165627a7a72305820359dfddb10143212a6a7ba8b5b270fcabbf818db5d186db91f7de23db0256b630029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
00000000000000000000000000000000000000000000000000000000000000a000000000000000000000000000000000000000000000000000000000000000e00000000000000000000000000000000000000000000000000000000000000012000000000000000000000000000000000000000000a56fa5b99019a5c800000000000000000000000000000000000000000000000073ce27351811f40c00000000000000000000000000000000000000000000000000000000000000000000055368616b61000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000348414b0000000000000000000000000000000000000000000000000000000000
-----Decoded View---------------
Arg [0] : name (string): Shaka
Arg [1] : symbol (string): HAK
Arg [2] : decimals (uint8): 18
Arg [3] : cap (uint256): 200000000000000000000000000
Arg [4] : initialSupply (uint256): 140000000000000000000000000
-----Encoded View---------------
9 Constructor Arguments found :
Arg [0] : 00000000000000000000000000000000000000000000000000000000000000a0
Arg [1] : 00000000000000000000000000000000000000000000000000000000000000e0
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000012
Arg [3] : 000000000000000000000000000000000000000000a56fa5b99019a5c8000000
Arg [4] : 00000000000000000000000000000000000000000073ce27351811f40c000000
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [6] : 5368616b61000000000000000000000000000000000000000000000000000000
Arg [7] : 0000000000000000000000000000000000000000000000000000000000000003
Arg [8] : 48414b0000000000000000000000000000000000000000000000000000000000
Swarm Source
bzzr://359dfddb10143212a6a7ba8b5b270fcabbf818db5d186db91f7de23db0256b63
Loading...
Loading
Loading...
Loading
[ Download: CSV Export ]
[ Download: CSV Export ]
A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.