Feature Tip: Add private address tag to any address under My Name Tag !
ERC-20
Overview
Max Total Supply
149,843.74 HYDRA
Holders
87
Market
Onchain Market Cap
$0.00
Circulating Supply Market Cap
-
Other Info
Token Contract (WITH 18 Decimals)
Balance
2,000 HYDRAValue
$0.00Loading...
Loading
Loading...
Loading
Loading...
Loading
# | Exchange | Pair | Price | 24H Volume | % Volume |
---|
Contract Name:
HydraToken
Compiler Version
v0.5.4+commit.9549d8ff
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
constantinople EvmVersion
Contract Source Code (Solidity Standard Json-Input format)
pragma solidity 0.5.4; import "./external/openzeppelin-solidity-2.2.0/contracts/token/ERC20/ERC20Detailed.sol"; import "./external/tenx/interfaces/IModerator.sol"; import "./external/tenx/token/ERC1400.sol"; // 1594 - Moderated, issuable // 1644 - Controllable /** * @notice Hydra Token */ contract HydraToken is ERC1400, ERC20Detailed("Hydra DAO", "HYDRA", 18) { constructor(IModerator _moderator) public ERC1400(_moderator) {} }
pragma solidity ^0.5.2; /** * @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]; } }
pragma solidity ^0.5.2; /** * @title SafeMath * @dev Unsigned math operations with safety checks that revert on error */ library SafeMath { /** * @dev Multiplies two unsigned integers, 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 unsigned integers truncating the quotient, reverts on division by zero. */ function div(uint256 a, uint256 b) internal pure returns (uint256) { // Solidity only automatically asserts when dividing by 0 require(b > 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 unsigned integers, 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 unsigned integers, 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 unsigned integers 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; } }
pragma solidity ^0.5.2; import "./IERC20.sol"; import "../../math/SafeMath.sol"; /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * https://eips.ethereum.org/EIPS/eip-20 * Originally based on code by FirstBlood: * https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol * * This implementation emits additional Approval events, allowing applications to reconstruct the allowance status for * all accounts just by listening to said events. Note that this isn't required by the specification, and other * compliant implementations may not do it. */ 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 A 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 to 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) { _approve(msg.sender, spender, value); return true; } /** * @dev Transfer tokens from one address to another. * Note that while this function emits an Approval event, this is not required as per the specification, * and other compliant implementations may not emit the event. * @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) { _transfer(from, to, value); _approve(from, msg.sender, _allowed[from][msg.sender].sub(value)); return true; } /** * @dev Increase the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][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 * Emits an Approval event. * @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) { _approve(msg.sender, spender, _allowed[msg.sender][spender].add(addedValue)); return true; } /** * @dev Decrease the amount of tokens that an owner allowed to a spender. * approve should be called when _allowed[msg.sender][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 * Emits an Approval event. * @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) { _approve(msg.sender, spender, _allowed[msg.sender][spender].sub(subtractedValue)); 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(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 != address(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 != address(0)); _totalSupply = _totalSupply.sub(value); _balances[account] = _balances[account].sub(value); emit Transfer(account, address(0), value); } /** * @dev Approve an address to spend another addresses' tokens. * @param owner The address that owns the tokens. * @param spender The address that will spend the tokens. * @param value The number of tokens that can be spent. */ function _approve(address owner, address spender, uint256 value) internal { require(spender != address(0)); require(owner != address(0)); _allowed[owner][spender] = value; emit Approval(owner, spender, 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. * Emits an Approval event (reflecting the reduced allowance). * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burnFrom(address account, uint256 value) internal { _burn(account, value); _approve(account, msg.sender, _allowed[account][msg.sender].sub(value)); } }
pragma solidity ^0.5.2; import "./IERC20.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 memory name, string memory symbol, uint8 decimals) public { _name = name; _symbol = symbol; _decimals = decimals; } /** * @return the name of the token. */ function name() public view returns (string memory) { return _name; } /** * @return the symbol of the token. */ function symbol() public view returns (string memory) { return _symbol; } /** * @return the number of decimals of the token. */ function decimals() public view returns (uint8) { return _decimals; } }
pragma solidity ^0.5.2; /** * @title ERC20 interface * @dev see https://eips.ethereum.org/EIPS/eip-20 */ interface IERC20 { 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); function totalSupply() external view returns (uint256); function balanceOf(address who) external view returns (uint256); function allowance(address owner, address spender) external view returns (uint256); event Transfer(address indexed from, address indexed to, uint256 value); event Approval(address indexed owner, address indexed spender, uint256 value); }
pragma solidity ^0.5.2; /** * 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. // solhint-disable-next-line no-inline-assembly assembly { size := extcodesize(account) } return size > 0; } }
pragma solidity 0.5.4; import "../../openzeppelin-solidity-2.2.0/contracts/utils/Address.sol"; import "../interfaces/IModerator.sol"; import "../roles/ControllerRole.sol"; contract Moderated is ControllerRole { IModerator public moderator; // External moderator contract event ModeratorUpdated(address moderator); constructor(IModerator _moderator) public { moderator = _moderator; } /** * @notice Links a Moderator contract to this contract. * @param _moderator Moderator contract address. */ function setModerator(IModerator _moderator) external onlyController { require(address(moderator) != address(0), "Moderator address must not be a zero address."); require(Address.isContract(address(_moderator)), "Address must point to a contract."); moderator = _moderator; emit ModeratorUpdated(address(_moderator)); } }
pragma solidity 0.5.4; /// @title IERC1594 Security Token Standard /// @dev See https://github.com/SecurityTokenStandard/EIP-Spec interface IERC1594 { // Issuance / Redemption Events event Issued(address indexed _operator, address indexed _to, uint256 _value, bytes _data); event Redeemed(address indexed _operator, address indexed _from, uint256 _value, bytes _data); // Transfers function transferWithData(address _to, uint256 _value, bytes calldata _data) external; function transferFromWithData(address _from, address _to, uint256 _value, bytes calldata _data) external; // Token Redemption function redeem(uint256 _value, bytes calldata _data) external; function redeemFrom(address _tokenHolder, uint256 _value, bytes calldata _data) external; // Token Issuance function issue(address _tokenHolder, uint256 _value, bytes calldata _data) external; function isIssuable() external view returns (bool); // Transfer Validity function canTransfer(address _to, uint256 _value, bytes calldata _data) external view returns (bool, byte, bytes32); function canTransferFrom(address _from, address _to, uint256 _value, bytes calldata _data) external view returns (bool, byte, bytes32); }
pragma solidity 0.5.4; import "../../openzeppelin-solidity-2.2.0/contracts/token/ERC20/IERC20.sol"; /// @title IERC1644 Controller Token Operation (part of the ERC1400 Security Token Standards) /// @dev See https://github.com/SecurityTokenStandard/EIP-Spec interface IERC1644 { // Controller Events event ControllerTransfer( address _controller, address indexed _from, address indexed _to, uint256 _value, bytes _data, bytes _operatorData ); event ControllerRedemption( address _controller, address indexed _tokenHolder, uint256 _value, bytes _data, bytes _operatorData ); // Controller Operation function controllerTransfer(address _from, address _to, uint256 _value, bytes calldata _data, bytes calldata _operatorData) external; function controllerRedeem(address _tokenHolder, uint256 _value, bytes calldata _data, bytes calldata _operatorData) external; function isControllable() external view returns (bool); }
pragma solidity 0.5.4; interface IHasIssuership { event IssuershipTransferred(address indexed from, address indexed to); function transferIssuership(address newIssuer) external; }
pragma solidity 0.5.4; interface IModerator { function verifyIssue(address _tokenHolder, uint256 _value, bytes calldata _data) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); function verifyTransfer(address _from, address _to, uint256 _amount, bytes calldata _data) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); function verifyTransferFrom(address _from, address _to, address _forwarder, uint256 _amount, bytes calldata _data) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); function verifyRedeem(address _sender, uint256 _amount, bytes calldata _data) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); function verifyRedeemFrom(address _sender, address _tokenHolder, uint256 _amount, bytes calldata _data) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); function verifyControllerTransfer(address _controller, address _from, address _to, uint256 _value, bytes calldata _data, bytes calldata _operatorData) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); function verifyControllerRedeem(address _controller, address _tokenHolder, uint256 _value, bytes calldata _data, bytes calldata _operatorData) external view returns (bool allowed, byte statusCode, bytes32 applicationCode); }
pragma solidity 0.5.4; import "../../openzeppelin-solidity-2.2.0/contracts/access/Roles.sol"; // @notice Controllers are capable of performing ERC1644 forced transfers. contract ControllerRole { using Roles for Roles.Role; event ControllerAdded(address indexed account); event ControllerRemoved(address indexed account); Roles.Role internal _controllers; modifier onlyController() { require(isController(msg.sender), "Only Controllers can execute this function."); _; } constructor() internal { _addController(msg.sender); } function isController(address account) public view returns (bool) { return _controllers.has(account); } function addController(address account) public onlyController { _addController(account); } function renounceController() public { _removeController(msg.sender); } function _addController(address account) internal { _controllers.add(account); emit ControllerAdded(account); } function _removeController(address account) internal { _controllers.remove(account); emit ControllerRemoved(account); } }
pragma solidity 0.5.4; import "../../openzeppelin-solidity-2.2.0/contracts/access/Roles.sol"; // @notice Issuers are capable of issuing new TENX tokens from the TENXToken contract. contract IssuerRole { using Roles for Roles.Role; event IssuerAdded(address indexed account); event IssuerRemoved(address indexed account); Roles.Role internal _issuers; modifier onlyIssuer() { require(isIssuer(msg.sender), "Only Issuers can execute this function."); _; } constructor() internal { _addIssuer(msg.sender); } function isIssuer(address account) public view returns (bool) { return _issuers.has(account); } function addIssuer(address account) public onlyIssuer { _addIssuer(account); } function renounceIssuer() public { _removeIssuer(msg.sender); } function _addIssuer(address account) internal { _issuers.add(account); emit IssuerAdded(account); } function _removeIssuer(address account) internal { _issuers.remove(account); emit IssuerRemoved(account); } }
pragma solidity 0.5.4; import "./ERC1594.sol"; import "./ERC1644.sol"; import "../interfaces/IModerator.sol"; contract ERC1400 is ERC1594, ERC1644 { constructor(IModerator _moderator) public Moderated(_moderator) {} }
pragma solidity 0.5.4; import "../token/ERC20Redeemable.sol"; import "../interfaces/IERC1594.sol"; import "../interfaces/IHasIssuership.sol"; import "../interfaces/IModerator.sol"; import "../roles/IssuerRole.sol"; import "../compliance/Moderated.sol"; contract ERC1594 is IERC1594, IHasIssuership, Moderated, ERC20Redeemable, IssuerRole { bool public isIssuable = true; event Issued(address indexed operator, address indexed to, uint256 value, bytes data); event Redeemed(address indexed operator, address indexed from, uint256 value, bytes data); event IssuershipTransferred(address indexed from, address indexed to); event IssuanceFinished(); /** * @notice Modifier to check token issuance status */ modifier whenIssuable() { require(isIssuable, "Issuance period has ended."); _; } /** * @notice Transfer the token's singleton Issuer role to another address. */ function transferIssuership(address _newIssuer) public whenIssuable onlyIssuer { require(_newIssuer != address(0), "New Issuer cannot be zero address."); require(msg.sender != _newIssuer, "New Issuer cannot have the same address as the old issuer."); _addIssuer(_newIssuer); _removeIssuer(msg.sender); emit IssuershipTransferred(msg.sender, _newIssuer); } /** * @notice End token issuance period permanently. */ function finishIssuance() public whenIssuable onlyIssuer { isIssuable = false; emit IssuanceFinished(); } function issue(address _tokenHolder, uint256 _value, bytes memory _data) public whenIssuable onlyIssuer { bool allowed; (allowed, , ) = moderator.verifyIssue(_tokenHolder, _value, _data); require(allowed, "Issue is not allowed."); _mint(_tokenHolder, _value); emit Issued(msg.sender, _tokenHolder, _value, _data); } function redeem(uint256 _value, bytes memory _data) public { bool allowed; (allowed, , ) = moderator.verifyRedeem(msg.sender, _value, _data); require(allowed, "Redeem is not allowed."); _burn(msg.sender, _value); emit Redeemed(msg.sender, msg.sender, _value, _data); } function redeemFrom(address _tokenHolder, uint256 _value, bytes memory _data) public { bool allowed; (allowed, , ) = moderator.verifyRedeemFrom(msg.sender, _tokenHolder, _value, _data); require(allowed, "RedeemFrom is not allowed."); _burnFrom(_tokenHolder, _value); emit Redeemed(msg.sender, _tokenHolder, _value, _data); } function transfer(address _to, uint256 _value) public returns (bool success) { bool allowed; (allowed, , ) = canTransfer(_to, _value, ""); require(allowed, "Transfer is not allowed."); success = super.transfer(_to, _value); } function transferWithData(address _to, uint256 _value, bytes memory _data) public { bool allowed; (allowed, , ) = canTransfer(_to, _value, _data); require(allowed, "Transfer is not allowed."); require(super.transfer(_to, _value), "Transfer failed."); } function transferFrom(address _from, address _to, uint256 _value) public returns (bool success) { bool allowed; (allowed, , ) = canTransferFrom(_from, _to, _value, ""); require(allowed, "TransferFrom is not allowed."); success = super.transferFrom(_from, _to, _value); } function transferFromWithData(address _from, address _to, uint256 _value, bytes memory _data) public { bool allowed; (allowed, , ) = canTransferFrom(_from, _to, _value, _data); require(allowed, "TransferFrom is not allowed."); require(super.transferFrom(_from, _to, _value), "TransferFrom failed."); } function canTransfer(address _to, uint256 _value, bytes memory _data) public view returns (bool success, byte statusCode, bytes32 applicationCode) { return moderator.verifyTransfer(msg.sender, _to, _value, _data); } function canTransferFrom(address _from, address _to, uint256 _value, bytes memory _data) public view returns (bool success, byte statusCode, bytes32 applicationCode) { return moderator.verifyTransferFrom(_from, _to, msg.sender, _value, _data); } }
pragma solidity 0.5.4; import "../../openzeppelin-solidity-2.2.0/contracts/utils/Address.sol"; import "../token/ERC20Redeemable.sol"; import "../interfaces/IERC1644.sol"; import "../interfaces/IModerator.sol"; import "../compliance/Moderated.sol"; contract ERC1644 is IERC1644, Moderated, ERC20Redeemable { event ControllerTransfer( address controller, address indexed from, address indexed to, uint256 value, bytes data, bytes operatorData ); event ControllerRedemption( address controller, address indexed tokenHolder, uint256 value, bytes data, bytes operatorData ); function controllerTransfer( address _from, address _to, uint256 _value, bytes memory _data, bytes memory _operatorData ) public onlyController { bool allowed; (allowed, , ) = moderator.verifyControllerTransfer( msg.sender, _from, _to, _value, _data, _operatorData ); require(allowed, "controllerTransfer is not allowed."); require(_value <= balanceOf(_from), "Insufficient balance."); _transfer(_from, _to, _value); emit ControllerTransfer(msg.sender, _from, _to, _value, _data, _operatorData); } function controllerRedeem( address _tokenHolder, uint256 _value, bytes memory _data, bytes memory _operatorData ) public onlyController { bool allowed; (allowed, , ) = moderator.verifyControllerRedeem( msg.sender, _tokenHolder, _value, _data, _operatorData ); require(allowed, "controllerRedeem is not allowed."); require(_value <= balanceOf(_tokenHolder), "Insufficient balance."); _burn(_tokenHolder, _value); emit ControllerRedemption(msg.sender, _tokenHolder, _value, _data, _operatorData); } function isControllable() public view returns (bool) { return true; } }
pragma solidity 0.5.4; import "../../openzeppelin-solidity-2.2.0/contracts/token/ERC20/ERC20.sol"; import "../../openzeppelin-solidity-2.2.0/contracts/math/SafeMath.sol"; contract ERC20Redeemable is ERC20 { using SafeMath for uint256; uint256 public totalRedeemed; /** * @dev Internal function that burns an amount of the token of a given * account. Overriden to track totalRedeemed. * @param account The account whose tokens will be burnt. * @param value The amount that will be burnt. */ function _burn(address account, uint256 value) internal { totalRedeemed = totalRedeemed.add(value); // Keep track of total for Rewards calculation super._burn(account, value); } }
{ "remappings": [ "ds-test/=lib/forge-std/lib/ds-test/src/", "forge-std/=lib/forge-std/src/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "solmate/=lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": {}, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "constantinople", "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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":true,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"canTransferFrom","outputs":[{"name":"success","type":"bool"},{"name":"statusCode","type":"bytes1"},{"name":"applicationCode","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"totalSupply","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"canTransfer","outputs":[{"name":"success","type":"bool"},{"name":"statusCode","type":"bytes1"},{"name":"applicationCode","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"account","type":"address"}],"name":"addIssuer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_from","type":"address"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transferFrom","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"transferWithData","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_tokenHolder","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"},{"name":"_operatorData","type":"bytes"}],"name":"controllerRedeem","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isIssuable","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"decimals","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"moderator","outputs":[{"name":"","type":"address"}],"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":true,"inputs":[],"name":"isControllable","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceController","outputs":[],"payable":false,"stateMutability":"nonpayable","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":"_moderator","type":"address"}],"name":"setModerator","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isIssuer","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"renounceIssuer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"symbol","outputs":[{"name":"","type":"string"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenHolder","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"redeemFrom","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newIssuer","type":"address"}],"name":"transferIssuership","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":"account","type":"address"}],"name":"addController","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"name":"success","type":"bool"}],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"account","type":"address"}],"name":"isController","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_tokenHolder","type":"address"},{"name":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"issue","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"finishIssuance","outputs":[],"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":"_value","type":"uint256"},{"name":"_data","type":"bytes"}],"name":"redeem","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":"transferFromWithData","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":"_operatorData","type":"bytes"}],"name":"controllerTransfer","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"totalRedeemed","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_moderator","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"name":"controller","type":"address"},{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"},{"indexed":false,"name":"operatorData","type":"bytes"}],"name":"ControllerTransfer","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"controller","type":"address"},{"indexed":true,"name":"tokenHolder","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"},{"indexed":false,"name":"operatorData","type":"bytes"}],"name":"ControllerRedemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":true,"name":"to","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"}],"name":"Issued","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"operator","type":"address"},{"indexed":true,"name":"from","type":"address"},{"indexed":false,"name":"value","type":"uint256"},{"indexed":false,"name":"data","type":"bytes"}],"name":"Redeemed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"from","type":"address"},{"indexed":true,"name":"to","type":"address"}],"name":"IssuershipTransferred","type":"event"},{"anonymous":false,"inputs":[],"name":"IssuanceFinished","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"IssuerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"IssuerRemoved","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"},{"anonymous":false,"inputs":[{"indexed":false,"name":"moderator","type":"address"}],"name":"ModeratorUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"ControllerAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"account","type":"address"}],"name":"ControllerRemoved","type":"event"}]
Contract Creation Code
60806040526007805460ff191660011790553480156200001e57600080fd5b506040516020806200393d833981018060405260208110156200004057600080fd5b5051604080518082018252600981527f48796472612044414f00000000000000000000000000000000000000000000006020828101919091528251808401909352600583527f48594452410000000000000000000000000000000000000000000000000000008382015290919060129084908190620000c590339062000142811b901c565b60018054600160a060020a031916600160a060020a0392909216919091179055620000f73362000194602090811b901c565b5082516200010d90600890602086019062000276565b5081516200012390600990602085019062000276565b50600a805460ff191660ff92909216919091179055506200031b915050565b6200015d816000620001e660201b620032ec1790919060201c565b604051600160a060020a038216907f0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d747490600090a250565b620001af816006620001e660201b620032ec1790919060201c565b604051600160a060020a038216907f05e7c881d716bee8cb7ed92293133ba156704252439e5c502c277448f04e20c290600090a250565b600160a060020a0381161515620001fc57600080fd5b6200020e82826200023e60201b60201c565b156200021957600080fd5b600160a060020a0316600090815260209190915260409020805460ff19166001179055565b6000600160a060020a03821615156200025657600080fd5b50600160a060020a03166000908152602091909152604090205460ff1690565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10620002b957805160ff1916838001178555620002e9565b82800160010185558215620002e9579182015b82811115620002e9578251825591602001919060010190620002cc565b50620002f7929150620002fb565b5090565b6200031891905b80821115620002f7576000815560010162000302565b90565b613612806200032b6000396000f3fe608060405234801561001057600080fd5b506004361061020b5760003560e01c806375bba1891161012a578063a9059cbb116100bd578063dd62ed3e1161008c578063ee532f3111610071578063ee532f3114610c33578063f282527a14610d06578063f35dad4014610e605761020b565b8063dd62ed3e14610b4b578063e77c646d14610b865761020b565b8063a9059cbb14610a0f578063b429afeb14610a48578063bb3acde914610a7b578063c422293b14610b435761020b565b80639675193c116100f95780639675193c146108a85780639d89cdde14610970578063a457c2d7146109a3578063a7fc7a07146109dc5761020b565b806375bba18914610832578063877b9a6714610865578063938050e11461089857806395d89b41146108a05761020b565b80632bc6acc3116101a2578063395093511161017157806339509351146107b65780634c783bf5146107ef57806366ac3b68146107f757806370a08231146107ff5761020b565b80632bc6acc3146106105780632f1cae851461075f578063313ce5671461076757806338743904146107855761020b565b80631badb25c116101de5780631badb25c1461040857806320694db0146104d057806323b872dd146105055780632535f762146105485761020b565b806306fdde0314610210578063095ea7b31461028d578063122eb575146102da57806318160ddd146103ee575b600080fd5b610218610e68565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025257818101518382015260200161023a565b50505050905090810190601f16801561027f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c6600480360360408110156102a357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f1c565b604080519115158252519081900360200190f35b6103ad600480360360808110156102f057600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561033857600080fd5b82018360208201111561034a57600080fd5b8035906020019184600183028401116401000000008311171561036c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f32945050505050565b6040805193151584527fff00000000000000000000000000000000000000000000000000000000000000909216602084015282820152519081900360600190f35b6103f661107c565b60408051918252519081900360200190f35b6103ad6004803603606081101561041e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561045b57600080fd5b82018360208201111561046d57600080fd5b8035906020019184600183028401116401000000008311171561048f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611082945050505050565b610503600480360360208110156104e657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111bf565b005b6102c66004803603606081101561051b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561122b565b6105036004803603606081101561055e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561059b57600080fd5b8201836020820111156105ad57600080fd5b803590602001918460018302840111640100000000831117156105cf57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112d1945050505050565b6105036004803603608081101561062657600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561066357600080fd5b82018360208201111561067557600080fd5b8035906020019184600183028401116401000000008311171561069757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156106ea57600080fd5b8201836020820111156106fc57600080fd5b8035906020019184600183028401116401000000008311171561071e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113ce945050505050565b6102c6611853565b61076f61185c565b6040805160ff9092168252519081900360200190f35b61078d611865565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102c6600480360360408110156107cc57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611881565b6102c66118cf565b6105036118d4565b6103f66004803603602081101561081557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118df565b6105036004803603602081101561084857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611907565b6102c66004803603602081101561087b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611ab0565b610503611ac9565b610218611ad2565b610503600480360360608110156108be57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516916020810135918101906060810160408201356401000000008111156108fb57600080fd5b82018360208201111561090d57600080fd5b8035906020019184600183028401116401000000008311171561092f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b51945050505050565b6105036004803603602081101561098657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611dbf565b6102c6600480360360408110156109b957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611fc7565b610503600480360360208110156109f257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612010565b6102c660048036036040811015610a2557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612079565b6102c660048036036020811015610a5e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661211c565b61050360048036036060811015610a9157600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691602081013591810190606081016040820135640100000000811115610ace57600080fd5b820183602082011115610ae057600080fd5b80359060200191846001830284011164010000000083111715610b0257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061212e945050505050565b610503612425565b6103f660048036036040811015610b6157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661254b565b61050360048036036040811015610b9c57600080fd5b81359190810190604081016020820135640100000000811115610bbe57600080fd5b820183602082011115610bd057600080fd5b80359060200191846001830284011164010000000083111715610bf257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612583945050505050565b61050360048036036080811015610c4957600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359190810190608081016060820135640100000000811115610c9157600080fd5b820183602082011115610ca357600080fd5b80359060200191846001830284011164010000000083111715610cc557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506127e4945050505050565b610503600480360360a0811015610d1c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359190810190608081016060820135640100000000811115610d6457600080fd5b820183602082011115610d7657600080fd5b80359060200191846001830284011164010000000083111715610d9857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050640100000000811115610deb57600080fd5b820183602082011115610dfd57600080fd5b80359060200191846001830284011164010000000083111715610e1f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506128e4945050505050565b6103f6612da0565b60088054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f125780601f10610ee757610100808354040283529160200191610f12565b820191906000526020600020905b815481529060010190602001808311610ef557829003601f168201915b5050505050905090565b6000610f29338484612da6565b50600192915050565b6001546040517f3fbae20600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301908152868216602484015233604484018190526064840187905260a060848501908152865160a486015286516000968796879690911694633fbae206948d948d9491938d938d9390929160c4019060208501908083838f5b83811015610fe7578181015183820152602001610fcf565b50505050905090810190601f1680156110145780820380516001836020036101000a031916815260200191505b50965050505050505060606040518083038186803b15801561103557600080fd5b505afa158015611049573d6000803e3d6000fd5b505050506040513d606081101561105f57600080fd5b508051602082015160409092015190999198509650945050505050565b60045490565b6001546040517ff1d74b0f000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff87811660248501526044840187905260806064850190815286516084860152865160009687968796949091169463f1d74b0f94938c938c938c93929160a49091019060208501908083838e5b8381101561112c578181015183820152602001611114565b50505050905090810190601f1680156111595780820380516001836020036101000a031916815260200191505b509550505050505060606040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d60608110156111a357600080fd5b5080516020820151604090920151909891975095509350505050565b6111c833611ab0565b151561121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b61122881612e59565b50565b60008061124a8585856020604051908101604052806000815250610f32565b50909150508015156112bd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5472616e7366657246726f6d206973206e6f7420616c6c6f7765642e00000000604482015290519081900360640190fd5b6112c8858585612eae565b95945050505050565b60006112de848484611082565b509091505080151561135157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5472616e73666572206973206e6f7420616c6c6f7765642e0000000000000000604482015290519081900360640190fd5b61135b8484612f0d565b15156113c857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015290519081900360640190fd5b50505050565b6113d73361211c565b151561142e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638639ccaa33878787876040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561152d578181015183820152602001611515565b50505050905090810190601f16801561155a5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561158d578181015183820152602001611575565b50505050905090810190601f1680156115ba5780820380516001836020036101000a031916815260200191505b5097505050505050505060606040518083038186803b1580156115dc57600080fd5b505afa1580156115f0573d6000803e3d6000fd5b505050506040513d606081101561160657600080fd5b5051905080151561167857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f636f6e74726f6c6c657252656465656d206973206e6f7420616c6c6f7765642e604482015290519081900360640190fd5b611681856118df565b8411156116ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f496e73756666696369656e742062616c616e63652e0000000000000000000000604482015290519081900360640190fd5b6116f98585612f1a565b8473ffffffffffffffffffffffffffffffffffffffff167f876b7cb47aa150b3a5516188b19ed308752ad4d0ae9a702543353b78163f758933868686604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156117ae578181015183820152602001611796565b50505050905090810190601f1680156117db5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561180e5781810151838201526020016117f6565b50505050905090810190601f16801561183b5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a25050505050565b60075460ff1681565b600a5460ff1690565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610f299185906118ca908663ffffffff612f3e16565b612da6565b600190565b6118dd33612f57565b565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b6119103361211c565b1515611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b60015473ffffffffffffffffffffffffffffffffffffffff1615156119d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061354f602d913960400191505060405180910390fd5b6119e081612fac565b1515611a37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061352e6021913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517f74ad00f42c7567187f818b7401d2b03eae8dc59f390e590b0bbdf9048c53d2549181900360200190a150565b6000611ac360068363ffffffff612fb416565b92915050565b6118dd33613005565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f125780601f10610ee757610100808354040283529160200191610f12565b6001546040517f45c6909b000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff87811660248501526044840187905260806064850190815286516084860152865160009692909216946345c6909b94938a938a938a93909160a49091019060208501908083838e5b83811015611bf7578181015183820152602001611bdf565b50505050905090810190601f168015611c245780820380516001836020036101000a031916815260200191505b509550505050505060606040518083038186803b158015611c4457600080fd5b505afa158015611c58573d6000803e3d6000fd5b505050506040513d6060811015611c6e57600080fd5b50519050801515611ce057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f52656465656d46726f6d206973206e6f7420616c6c6f7765642e000000000000604482015290519081900360640190fd5b611cea848461305a565b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb7d0d6b60740753e9f16692a2f479472a1385aec2420fa43225b02f2ffa1afe785856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611d7e578181015183820152602001611d66565b50505050905090810190601f168015611dab5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a350505050565b60075460ff161515611e3257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f49737375616e636520706572696f642068617320656e6465642e000000000000604482015290519081900360640190fd5b611e3b33611ab0565b1515611e92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81161515611f00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806135c56022913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff82161415611f6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a8152602001806134f4603a913960400191505060405180910390fd5b611f7881612e59565b611f8133613005565b60405173ffffffffffffffffffffffffffffffffffffffff82169033907ff660028353db429d08dc90729f6902d6823d2da41ed8733e06768beef5e01ddf90600090a350565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610f299185906118ca908663ffffffff6130ac16565b6120193361211c565b1515612070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b611228816130c1565b60008061209784846020604051908101604052806000815250611082565b509091505080151561210a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5472616e73666572206973206e6f7420616c6c6f7765642e0000000000000000604482015290519081900360640190fd5b6121148484612f0d565b949350505050565b6000611ac3818363ffffffff612fb416565b60075460ff1615156121a157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f49737375616e636520706572696f642068617320656e6465642e000000000000604482015290519081900360640190fd5b6121aa33611ab0565b1515612201576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b6001546040517f1099271900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301908152602483018690526060604484019081528551606485015285516000959390931693631099271993899389938993919290916084019060208501908083838d5b838110156122a0578181015183820152602001612288565b50505050905090810190601f1680156122cd5780820380516001836020036101000a031916815260200191505b5094505050505060606040518083038186803b1580156122ec57600080fd5b505afa158015612300573d6000803e3d6000fd5b505050506040513d606081101561231657600080fd5b5051905080151561238857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4973737565206973206e6f7420616c6c6f7765642e0000000000000000000000604482015290519081900360640190fd5b6123928484613116565b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f0e9905d62635f049c2f4e11678ebf9dc3d1f8c4a653e290759b772e47ba00d00858560405180838152602001806020018281038252838181518152602001915080519060200190808383600083811015611d7e578181015183820152602001611d66565b60075460ff16151561249857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f49737375616e636520706572696f642068617320656e6465642e000000000000604482015290519081900360640190fd5b6124a133611ab0565b15156124f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556040517f29fe76cc5ca143e91eadf7242fda487fcef09318c1237900f958abe1e2c5beff90600090a1565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205490565b6001546040517f9809705d00000000000000000000000000000000000000000000000000000000815233600482018181526024830186905260606044840190815285516064850152855160009573ffffffffffffffffffffffffffffffffffffffff1694639809705d9493899389939192909160849091019060208501908083838d5b8381101561261e578181015183820152602001612606565b50505050905090810190601f16801561264b5780820380516001836020036101000a031916815260200191505b5094505050505060606040518083038186803b15801561266a57600080fd5b505afa15801561267e573d6000803e3d6000fd5b505050506040513d606081101561269457600080fd5b5051905080151561270657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f52656465656d206973206e6f7420616c6c6f7765642e00000000000000000000604482015290519081900360640190fd5b6127103384612f1a565b3373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb7d0d6b60740753e9f16692a2f479472a1385aec2420fa43225b02f2ffa1afe785856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156127a457818101518382015260200161278c565b50505050905090810190601f1680156127d15780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3505050565b60006127f285858585610f32565b509091505080151561286557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5472616e7366657246726f6d206973206e6f7420616c6c6f7765642e00000000604482015290519081900360640190fd5b612870858585612eae565b15156128dd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5472616e7366657246726f6d206661696c65642e000000000000000000000000604482015290519081900360640190fd5b5050505050565b6128ed3361211c565b1515612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f269feff3388888888886040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612a76578181015183820152602001612a5e565b50505050905090810190601f168015612aa35780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612ad6578181015183820152602001612abe565b50505050905090810190601f168015612b035780820380516001836020036101000a031916815260200191505b509850505050505050505060606040518083038186803b158015612b2657600080fd5b505afa158015612b3a573d6000803e3d6000fd5b505050506040513d6060811015612b5057600080fd5b50519050801515612bac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806135a36022913960400191505060405180910390fd5b612bb5866118df565b841115612c2357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f496e73756666696369656e742062616c616e63652e0000000000000000000000604482015290519081900360640190fd5b612c2e8686866131e9565b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f6bf62b4b9c7b768275122bf70d429efc398a056d669b1efdf6c3976346246d7d33878787604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612cfa578181015183820152602001612ce2565b50505050905090810190601f168015612d275780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612d5a578181015183820152602001612d42565b50505050905090810190601f168015612d875780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a3505050505050565b60055481565b73ffffffffffffffffffffffffffffffffffffffff82161515612dc857600080fd5b73ffffffffffffffffffffffffffffffffffffffff83161515612dea57600080fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b612e6a60068263ffffffff6132ec16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f05e7c881d716bee8cb7ed92293133ba156704252439e5c502c277448f04e20c290600090a250565b6000612ebb8484846131e9565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260036020908152604080832033808552925290912054612f039186916118ca908663ffffffff6130ac16565b5060019392505050565b6000610f293384846131e9565b600554612f2d908263ffffffff612f3e16565b600555612f3a8282613372565b5050565b600082820183811015612f5057600080fd5b9392505050565b612f6860008263ffffffff61344416565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e8111390600090a250565b6000903b1190565b600073ffffffffffffffffffffffffffffffffffffffff82161515612fd857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b61301660068263ffffffff61344416565b60405173ffffffffffffffffffffffffffffffffffffffff8216907faf66545c919a3be306ee446d8f42a9558b5b022620df880517bc9593ec0f2d5290600090a250565b6130648282612f1a565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832033808552925290912054612f3a9184916118ca908563ffffffff6130ac16565b6000828211156130bb57600080fd5b50900390565b6130d260008263ffffffff6132ec16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d747490600090a250565b73ffffffffffffffffffffffffffffffffffffffff8216151561313857600080fd5b60045461314b908263ffffffff612f3e16565b60045573ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054613184908263ffffffff612f3e16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8216151561320b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902054613241908263ffffffff6130ac16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600260205260408082209390935590841681522054613283908263ffffffff612f3e16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8116151561330e57600080fd5b6133188282612fb4565b1561332257600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff8216151561339457600080fd5b6004546133a7908263ffffffff6130ac16565b60045573ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020546133e0908263ffffffff6130ac16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600260209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8116151561346657600080fd5b6134708282612fb4565b151561347b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905556fe4f6e6c7920436f6e74726f6c6c6572732063616e206578656375746520746869732066756e6374696f6e2e4e6577204973737565722063616e6e6f742068617665207468652073616d65206164647265737320617320746865206f6c64206973737565722e41646472657373206d75737420706f696e7420746f206120636f6e74726163742e4d6f64657261746f722061646472657373206d757374206e6f742062652061207a65726f20616464726573732e4f6e6c7920497373756572732063616e206578656375746520746869732066756e6374696f6e2e636f6e74726f6c6c65725472616e73666572206973206e6f7420616c6c6f7765642e4e6577204973737565722063616e6e6f74206265207a65726f20616464726573732ea165627a7a7230582004708446b794cfb9e0e1694468e9728e4d98569567de4bcded6fe5b5061fd3430029000000000000000000000000c98a7004e2154636f2a01653cca2e2c5aa4afae0
Deployed Bytecode
0x608060405234801561001057600080fd5b506004361061020b5760003560e01c806375bba1891161012a578063a9059cbb116100bd578063dd62ed3e1161008c578063ee532f3111610071578063ee532f3114610c33578063f282527a14610d06578063f35dad4014610e605761020b565b8063dd62ed3e14610b4b578063e77c646d14610b865761020b565b8063a9059cbb14610a0f578063b429afeb14610a48578063bb3acde914610a7b578063c422293b14610b435761020b565b80639675193c116100f95780639675193c146108a85780639d89cdde14610970578063a457c2d7146109a3578063a7fc7a07146109dc5761020b565b806375bba18914610832578063877b9a6714610865578063938050e11461089857806395d89b41146108a05761020b565b80632bc6acc3116101a2578063395093511161017157806339509351146107b65780634c783bf5146107ef57806366ac3b68146107f757806370a08231146107ff5761020b565b80632bc6acc3146106105780632f1cae851461075f578063313ce5671461076757806338743904146107855761020b565b80631badb25c116101de5780631badb25c1461040857806320694db0146104d057806323b872dd146105055780632535f762146105485761020b565b806306fdde0314610210578063095ea7b31461028d578063122eb575146102da57806318160ddd146103ee575b600080fd5b610218610e68565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561025257818101518382015260200161023a565b50505050905090810190601f16801561027f5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b6102c6600480360360408110156102a357600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135610f1c565b604080519115158252519081900360200190f35b6103ad600480360360808110156102f057600080fd5b73ffffffffffffffffffffffffffffffffffffffff82358116926020810135909116916040820135919081019060808101606082013564010000000081111561033857600080fd5b82018360208201111561034a57600080fd5b8035906020019184600183028401116401000000008311171561036c57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610f32945050505050565b6040805193151584527fff00000000000000000000000000000000000000000000000000000000000000909216602084015282820152519081900360600190f35b6103f661107c565b60408051918252519081900360200190f35b6103ad6004803603606081101561041e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561045b57600080fd5b82018360208201111561046d57600080fd5b8035906020019184600183028401116401000000008311171561048f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611082945050505050565b610503600480360360208110156104e657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166111bf565b005b6102c66004803603606081101561051b57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff81358116916020810135909116906040013561122b565b6105036004803603606081101561055e57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561059b57600080fd5b8201836020820111156105ad57600080fd5b803590602001918460018302840111640100000000831117156105cf57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506112d1945050505050565b6105036004803603608081101561062657600080fd5b73ffffffffffffffffffffffffffffffffffffffff8235169160208101359181019060608101604082013564010000000081111561066357600080fd5b82018360208201111561067557600080fd5b8035906020019184600183028401116401000000008311171561069757600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092959493602081019350359150506401000000008111156106ea57600080fd5b8201836020820111156106fc57600080fd5b8035906020019184600183028401116401000000008311171561071e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506113ce945050505050565b6102c6611853565b61076f61185c565b6040805160ff9092168252519081900360200190f35b61078d611865565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b6102c6600480360360408110156107cc57600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611881565b6102c66118cf565b6105036118d4565b6103f66004803603602081101561081557600080fd5b503573ffffffffffffffffffffffffffffffffffffffff166118df565b6105036004803603602081101561084857600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611907565b6102c66004803603602081101561087b57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611ab0565b610503611ac9565b610218611ad2565b610503600480360360608110156108be57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516916020810135918101906060810160408201356401000000008111156108fb57600080fd5b82018360208201111561090d57600080fd5b8035906020019184600183028401116401000000008311171561092f57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611b51945050505050565b6105036004803603602081101561098657600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16611dbf565b6102c6600480360360408110156109b957600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135611fc7565b610503600480360360208110156109f257600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16612010565b6102c660048036036040811015610a2557600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135169060200135612079565b6102c660048036036020811015610a5e57600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661211c565b61050360048036036060811015610a9157600080fd5b73ffffffffffffffffffffffffffffffffffffffff82351691602081013591810190606081016040820135640100000000811115610ace57600080fd5b820183602082011115610ae057600080fd5b80359060200191846001830284011164010000000083111715610b0257600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061212e945050505050565b610503612425565b6103f660048036036040811015610b6157600080fd5b5073ffffffffffffffffffffffffffffffffffffffff8135811691602001351661254b565b61050360048036036040811015610b9c57600080fd5b81359190810190604081016020820135640100000000811115610bbe57600080fd5b820183602082011115610bd057600080fd5b80359060200191846001830284011164010000000083111715610bf257600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550612583945050505050565b61050360048036036080811015610c4957600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359190810190608081016060820135640100000000811115610c9157600080fd5b820183602082011115610ca357600080fd5b80359060200191846001830284011164010000000083111715610cc557600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506127e4945050505050565b610503600480360360a0811015610d1c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823581169260208101359091169160408201359190810190608081016060820135640100000000811115610d6457600080fd5b820183602082011115610d7657600080fd5b80359060200191846001830284011164010000000083111715610d9857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295949360208101935035915050640100000000811115610deb57600080fd5b820183602082011115610dfd57600080fd5b80359060200191846001830284011164010000000083111715610e1f57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506128e4945050505050565b6103f6612da0565b60088054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f125780601f10610ee757610100808354040283529160200191610f12565b820191906000526020600020905b815481529060010190602001808311610ef557829003601f168201915b5050505050905090565b6000610f29338484612da6565b50600192915050565b6001546040517f3fbae20600000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff86811660048301908152868216602484015233604484018190526064840187905260a060848501908152865160a486015286516000968796879690911694633fbae206948d948d9491938d938d9390929160c4019060208501908083838f5b83811015610fe7578181015183820152602001610fcf565b50505050905090810190601f1680156110145780820380516001836020036101000a031916815260200191505b50965050505050505060606040518083038186803b15801561103557600080fd5b505afa158015611049573d6000803e3d6000fd5b505050506040513d606081101561105f57600080fd5b508051602082015160409092015190999198509650945050505050565b60045490565b6001546040517ff1d74b0f000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff87811660248501526044840187905260806064850190815286516084860152865160009687968796949091169463f1d74b0f94938c938c938c93929160a49091019060208501908083838e5b8381101561112c578181015183820152602001611114565b50505050905090810190601f1680156111595780820380516001836020036101000a031916815260200191505b509550505050505060606040518083038186803b15801561117957600080fd5b505afa15801561118d573d6000803e3d6000fd5b505050506040513d60608110156111a357600080fd5b5080516020820151604090920151909891975095509350505050565b6111c833611ab0565b151561121f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b61122881612e59565b50565b60008061124a8585856020604051908101604052806000815250610f32565b50909150508015156112bd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5472616e7366657246726f6d206973206e6f7420616c6c6f7765642e00000000604482015290519081900360640190fd5b6112c8858585612eae565b95945050505050565b60006112de848484611082565b509091505080151561135157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5472616e73666572206973206e6f7420616c6c6f7765642e0000000000000000604482015290519081900360640190fd5b61135b8484612f0d565b15156113c857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5472616e73666572206661696c65642e00000000000000000000000000000000604482015290519081900360640190fd5b50505050565b6113d73361211c565b151561142e576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16638639ccaa33878787876040518663ffffffff1660e01b8152600401808673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b8381101561152d578181015183820152602001611515565b50505050905090810190601f16801561155a5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561158d578181015183820152602001611575565b50505050905090810190601f1680156115ba5780820380516001836020036101000a031916815260200191505b5097505050505050505060606040518083038186803b1580156115dc57600080fd5b505afa1580156115f0573d6000803e3d6000fd5b505050506040513d606081101561160657600080fd5b5051905080151561167857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f636f6e74726f6c6c657252656465656d206973206e6f7420616c6c6f7765642e604482015290519081900360640190fd5b611681856118df565b8411156116ef57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f496e73756666696369656e742062616c616e63652e0000000000000000000000604482015290519081900360640190fd5b6116f98585612f1a565b8473ffffffffffffffffffffffffffffffffffffffff167f876b7cb47aa150b3a5516188b19ed308752ad4d0ae9a702543353b78163f758933868686604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b838110156117ae578181015183820152602001611796565b50505050905090810190601f1680156117db5780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b8381101561180e5781810151838201526020016117f6565b50505050905090810190601f16801561183b5780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a25050505050565b60075460ff1681565b600a5460ff1690565b60015473ffffffffffffffffffffffffffffffffffffffff1681565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610f299185906118ca908663ffffffff612f3e16565b612da6565b600190565b6118dd33612f57565b565b73ffffffffffffffffffffffffffffffffffffffff1660009081526002602052604090205490565b6119103361211c565b1515611967576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b60015473ffffffffffffffffffffffffffffffffffffffff1615156119d7576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602d81526020018061354f602d913960400191505060405180910390fd5b6119e081612fac565b1515611a37576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602181526020018061352e6021913960400191505060405180910390fd5b6001805473ffffffffffffffffffffffffffffffffffffffff83167fffffffffffffffffffffffff0000000000000000000000000000000000000000909116811790915560408051918252517f74ad00f42c7567187f818b7401d2b03eae8dc59f390e590b0bbdf9048c53d2549181900360200190a150565b6000611ac360068363ffffffff612fb416565b92915050565b6118dd33613005565b60098054604080516020601f60027fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff610100600188161502019095169490940493840181900481028201810190925282815260609390929091830182828015610f125780601f10610ee757610100808354040283529160200191610f12565b6001546040517f45c6909b000000000000000000000000000000000000000000000000000000008152336004820181815273ffffffffffffffffffffffffffffffffffffffff87811660248501526044840187905260806064850190815286516084860152865160009692909216946345c6909b94938a938a938a93909160a49091019060208501908083838e5b83811015611bf7578181015183820152602001611bdf565b50505050905090810190601f168015611c245780820380516001836020036101000a031916815260200191505b509550505050505060606040518083038186803b158015611c4457600080fd5b505afa158015611c58573d6000803e3d6000fd5b505050506040513d6060811015611c6e57600080fd5b50519050801515611ce057604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f52656465656d46726f6d206973206e6f7420616c6c6f7765642e000000000000604482015290519081900360640190fd5b611cea848461305a565b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb7d0d6b60740753e9f16692a2f479472a1385aec2420fa43225b02f2ffa1afe785856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b83811015611d7e578181015183820152602001611d66565b50505050905090810190601f168015611dab5780820380516001836020036101000a031916815260200191505b50935050505060405180910390a350505050565b60075460ff161515611e3257604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f49737375616e636520706572696f642068617320656e6465642e000000000000604482015290519081900360640190fd5b611e3b33611ab0565b1515611e92576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b73ffffffffffffffffffffffffffffffffffffffff81161515611f00576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806135c56022913960400191505060405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff82161415611f6f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603a8152602001806134f4603a913960400191505060405180910390fd5b611f7881612e59565b611f8133613005565b60405173ffffffffffffffffffffffffffffffffffffffff82169033907ff660028353db429d08dc90729f6902d6823d2da41ed8733e06768beef5e01ddf90600090a350565b33600081815260036020908152604080832073ffffffffffffffffffffffffffffffffffffffff871684529091528120549091610f299185906118ca908663ffffffff6130ac16565b6120193361211c565b1515612070576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b611228816130c1565b60008061209784846020604051908101604052806000815250611082565b509091505080151561210a57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601860248201527f5472616e73666572206973206e6f7420616c6c6f7765642e0000000000000000604482015290519081900360640190fd5b6121148484612f0d565b949350505050565b6000611ac3818363ffffffff612fb416565b60075460ff1615156121a157604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f49737375616e636520706572696f642068617320656e6465642e000000000000604482015290519081900360640190fd5b6121aa33611ab0565b1515612201576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b6001546040517f1099271900000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff85811660048301908152602483018690526060604484019081528551606485015285516000959390931693631099271993899389938993919290916084019060208501908083838d5b838110156122a0578181015183820152602001612288565b50505050905090810190601f1680156122cd5780820380516001836020036101000a031916815260200191505b5094505050505060606040518083038186803b1580156122ec57600080fd5b505afa158015612300573d6000803e3d6000fd5b505050506040513d606081101561231657600080fd5b5051905080151561238857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f4973737565206973206e6f7420616c6c6f7765642e0000000000000000000000604482015290519081900360640190fd5b6123928484613116565b8373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167f0e9905d62635f049c2f4e11678ebf9dc3d1f8c4a653e290759b772e47ba00d00858560405180838152602001806020018281038252838181518152602001915080519060200190808383600083811015611d7e578181015183820152602001611d66565b60075460ff16151561249857604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601a60248201527f49737375616e636520706572696f642068617320656e6465642e000000000000604482015290519081900360640190fd5b6124a133611ab0565b15156124f8576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602781526020018061357c6027913960400191505060405180910390fd5b600780547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff001690556040517f29fe76cc5ca143e91eadf7242fda487fcef09318c1237900f958abe1e2c5beff90600090a1565b73ffffffffffffffffffffffffffffffffffffffff918216600090815260036020908152604080832093909416825291909152205490565b6001546040517f9809705d00000000000000000000000000000000000000000000000000000000815233600482018181526024830186905260606044840190815285516064850152855160009573ffffffffffffffffffffffffffffffffffffffff1694639809705d9493899389939192909160849091019060208501908083838d5b8381101561261e578181015183820152602001612606565b50505050905090810190601f16801561264b5780820380516001836020036101000a031916815260200191505b5094505050505060606040518083038186803b15801561266a57600080fd5b505afa15801561267e573d6000803e3d6000fd5b505050506040513d606081101561269457600080fd5b5051905080151561270657604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601660248201527f52656465656d206973206e6f7420616c6c6f7765642e00000000000000000000604482015290519081900360640190fd5b6127103384612f1a565b3373ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff167fb7d0d6b60740753e9f16692a2f479472a1385aec2420fa43225b02f2ffa1afe785856040518083815260200180602001828103825283818151815260200191508051906020019080838360005b838110156127a457818101518382015260200161278c565b50505050905090810190601f1680156127d15780820380516001836020036101000a031916815260200191505b50935050505060405180910390a3505050565b60006127f285858585610f32565b509091505080151561286557604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601c60248201527f5472616e7366657246726f6d206973206e6f7420616c6c6f7765642e00000000604482015290519081900360640190fd5b612870858585612eae565b15156128dd57604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5472616e7366657246726f6d206661696c65642e000000000000000000000000604482015290519081900360640190fd5b5050505050565b6128ed3361211c565b1515612944576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252602b8152602001806134c9602b913960400191505060405180910390fd5b6000600160009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1663f269feff3388888888886040518763ffffffff1660e01b8152600401808773ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018673ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612a76578181015183820152602001612a5e565b50505050905090810190601f168015612aa35780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612ad6578181015183820152602001612abe565b50505050905090810190601f168015612b035780820380516001836020036101000a031916815260200191505b509850505050505050505060606040518083038186803b158015612b2657600080fd5b505afa158015612b3a573d6000803e3d6000fd5b505050506040513d6060811015612b5057600080fd5b50519050801515612bac576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260228152602001806135a36022913960400191505060405180910390fd5b612bb5866118df565b841115612c2357604080517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601560248201527f496e73756666696369656e742062616c616e63652e0000000000000000000000604482015290519081900360640190fd5b612c2e8686866131e9565b8473ffffffffffffffffffffffffffffffffffffffff168673ffffffffffffffffffffffffffffffffffffffff167f6bf62b4b9c7b768275122bf70d429efc398a056d669b1efdf6c3976346246d7d33878787604051808573ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1681526020018481526020018060200180602001838103835285818151815260200191508051906020019080838360005b83811015612cfa578181015183820152602001612ce2565b50505050905090810190601f168015612d275780820380516001836020036101000a031916815260200191505b50838103825284518152845160209182019186019080838360005b83811015612d5a578181015183820152602001612d42565b50505050905090810190601f168015612d875780820380516001836020036101000a031916815260200191505b50965050505050505060405180910390a3505050505050565b60055481565b73ffffffffffffffffffffffffffffffffffffffff82161515612dc857600080fd5b73ffffffffffffffffffffffffffffffffffffffff83161515612dea57600080fd5b73ffffffffffffffffffffffffffffffffffffffff808416600081815260036020908152604080832094871680845294825291829020859055815185815291517f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b9259281900390910190a3505050565b612e6a60068263ffffffff6132ec16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f05e7c881d716bee8cb7ed92293133ba156704252439e5c502c277448f04e20c290600090a250565b6000612ebb8484846131e9565b73ffffffffffffffffffffffffffffffffffffffff8416600090815260036020908152604080832033808552925290912054612f039186916118ca908663ffffffff6130ac16565b5060019392505050565b6000610f293384846131e9565b600554612f2d908263ffffffff612f3e16565b600555612f3a8282613372565b5050565b600082820183811015612f5057600080fd5b9392505050565b612f6860008263ffffffff61344416565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f33d83959be2573f5453b12eb9d43b3499bc57d96bd2f067ba44803c859e8111390600090a250565b6000903b1190565b600073ffffffffffffffffffffffffffffffffffffffff82161515612fd857600080fd5b5073ffffffffffffffffffffffffffffffffffffffff166000908152602091909152604090205460ff1690565b61301660068263ffffffff61344416565b60405173ffffffffffffffffffffffffffffffffffffffff8216907faf66545c919a3be306ee446d8f42a9558b5b022620df880517bc9593ec0f2d5290600090a250565b6130648282612f1a565b73ffffffffffffffffffffffffffffffffffffffff8216600090815260036020908152604080832033808552925290912054612f3a9184916118ca908563ffffffff6130ac16565b6000828211156130bb57600080fd5b50900390565b6130d260008263ffffffff6132ec16565b60405173ffffffffffffffffffffffffffffffffffffffff8216907f0a8bb31534c0ed46f380cb867bd5c803a189ced9a764e30b3a4991a9901d747490600090a250565b73ffffffffffffffffffffffffffffffffffffffff8216151561313857600080fd5b60045461314b908263ffffffff612f3e16565b60045573ffffffffffffffffffffffffffffffffffffffff8216600090815260026020526040902054613184908263ffffffff612f3e16565b73ffffffffffffffffffffffffffffffffffffffff831660008181526002602090815260408083209490945583518581529351929391927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8216151561320b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff8316600090815260026020526040902054613241908263ffffffff6130ac16565b73ffffffffffffffffffffffffffffffffffffffff8085166000908152600260205260408082209390935590841681522054613283908263ffffffff612f3e16565b73ffffffffffffffffffffffffffffffffffffffff80841660008181526002602090815260409182902094909455805185815290519193928716927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3505050565b73ffffffffffffffffffffffffffffffffffffffff8116151561330e57600080fd5b6133188282612fb4565b1561332257600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff00166001179055565b73ffffffffffffffffffffffffffffffffffffffff8216151561339457600080fd5b6004546133a7908263ffffffff6130ac16565b60045573ffffffffffffffffffffffffffffffffffffffff82166000908152600260205260409020546133e0908263ffffffff6130ac16565b73ffffffffffffffffffffffffffffffffffffffff83166000818152600260209081526040808320949094558351858152935191937fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef929081900390910190a35050565b73ffffffffffffffffffffffffffffffffffffffff8116151561346657600080fd5b6134708282612fb4565b151561347b57600080fd5b73ffffffffffffffffffffffffffffffffffffffff1660009081526020919091526040902080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0016905556fe4f6e6c7920436f6e74726f6c6c6572732063616e206578656375746520746869732066756e6374696f6e2e4e6577204973737565722063616e6e6f742068617665207468652073616d65206164647265737320617320746865206f6c64206973737565722e41646472657373206d75737420706f696e7420746f206120636f6e74726163742e4d6f64657261746f722061646472657373206d757374206e6f742062652061207a65726f20616464726573732e4f6e6c7920497373756572732063616e206578656375746520746869732066756e6374696f6e2e636f6e74726f6c6c65725472616e73666572206973206e6f7420616c6c6f7765642e4e6577204973737565722063616e6e6f74206265207a65726f20616464726573732ea165627a7a7230582004708446b794cfb9e0e1694468e9728e4d98569567de4bcded6fe5b5061fd3430029
Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)
000000000000000000000000c98a7004e2154636f2a01653cca2e2c5aa4afae0
-----Decoded View---------------
Arg [0] : _moderator (address): 0xC98a7004E2154636f2a01653CCA2E2c5Aa4afAe0
-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000c98a7004e2154636f2a01653cca2e2c5aa4afae0
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.