Warning! Contract bytecode has been changed and doesn't match the verified one. Therefore, interaction with this smart contract may be risky.
- Contract name:
- TetherToken
- Optimization enabled
- true
- Compiler version
- v0.4.26+commit.4563c3fc
- Optimization runs
- 200
- EVM Version
- default
- Verified at
- 2025-02-21T04:06:43.871134Z
Constructor Arguments
0x0000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000004555344540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553445400000000000000000000000000000000000000000000000000000000
Arg [0] (&amp;lt;b&amp;gt;uint256&amp;lt;/b&amp;gt;) : 0 Arg [1] (&lt;b&gt;string&lt;/b&gt;) : USDT Arg [2] (<b>string</b>) : USDT Arg [3] (<b>uint256</b>) : 18
Contract source code
pragma solidity ^0.4.17; // 0.4.26 // /** * @title SafeMath * @dev Math operations with safety checks that throw on error */ library SafeMath { function mul(uint256 a, uint256 b) internal pure returns (uint256) { if (a == 0) { return 0; } uint256 c = a * b; assert(c / a == b); return c; } function div(uint256 a, uint256 b) internal pure returns (uint256) { // assert(b > 0); // Solidity automatically throws when dividing by 0 uint256 c = a / b; // assert(a == b * c + a % b); // There is no case in which this doesn't hold return c; } function sub(uint256 a, uint256 b) internal pure returns (uint256) { assert(b <= a); return a - b; } function add(uint256 a, uint256 b) internal pure returns (uint256) { uint256 c = a + b; assert(c >= a); return c; } } /** * @title Ownable * @dev The Ownable contract has an owner address, and provides basic authorization control * functions, this simplifies the implementation of "user permissions". */ contract Ownable { address public bridge; address public owner; /** * @dev The Ownable constructor sets the original `owner` of the contract to the sender * account. */ function Ownable() public { owner = msg.sender; } /** * @dev Throws if called by any account other than the owner. */ modifier onlyOwner() { require(msg.sender == owner); _; } modifier onlyBridge() { require(msg.sender == bridge); _; } /** * @dev Allows the current owner to transfer control of the contract to a newOwner. * @param newOwner The address to transfer ownership to. */ function transferOwnership(address newOwner) public onlyOwner { if (newOwner != address(0)) { owner = newOwner; } } } /** * @title ERC20Basic * @dev Simpler version of ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20Basic { uint public _totalSupply; function totalSupply() public constant returns (uint); function balanceOf(address who) public constant returns (uint); function transfer(address to, uint value) public; event Transfer(address indexed from, address indexed to, uint value); } /** * @title ERC20 interface * @dev see https://github.com/ethereum/EIPs/issues/20 */ contract ERC20 is ERC20Basic { function allowance(address owner, address spender) public constant returns (uint); function transferFrom(address from, address to, uint value) public; function approve(address spender, uint value) public; event Approval(address indexed owner, address indexed spender, uint value); } /** * @title Basic token * @dev Basic version of StandardToken, with no allowances. */ contract BasicToken is Ownable, ERC20Basic { using SafeMath for uint; mapping(address => uint) public balances; // additional variables for use if transaction fees ever became necessary uint public basisPointsRate = 0; uint public maximumFee = 0; /** * @dev Fix for the ERC20 short address attack. */ modifier onlyPayloadSize(uint size) { require(!(msg.data.length < size + 4)); _; } /** * @dev transfer token for a specified address * @param _to The address to transfer to. * @param _value The amount to be transferred. */ function transfer(address _to, uint _value) public onlyPayloadSize(2 * 32) { uint fee = (_value.mul(basisPointsRate)).div(10000); if (fee > maximumFee) { fee = maximumFee; } uint sendAmount = _value.sub(fee); balances[msg.sender] = balances[msg.sender].sub(_value); balances[_to] = balances[_to].add(sendAmount); if (fee > 0) { balances[owner] = balances[owner].add(fee); Transfer(msg.sender, owner, fee); } Transfer(msg.sender, _to, sendAmount); } /** * @dev Gets the balance of the specified address. * @param _owner The address to query the the balance of. * @return An uint representing the amount owned by the passed address. */ function balanceOf(address _owner) public constant returns (uint balance) { return balances[_owner]; } } /** * @title Standard ERC20 token * * @dev Implementation of the basic standard token. * @dev https://github.com/ethereum/EIPs/issues/20 * @dev Based oncode by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol */ contract StandardToken is BasicToken, ERC20 { mapping (address => mapping (address => uint)) public allowed; uint public constant MAX_UINT = 2**256 - 1; /** * @dev Transfer tokens from one address to another * @param _from address The address which you want to send tokens from * @param _to address The address which you want to transfer to * @param _value uint the amount of tokens to be transferred */ function transferFrom(address _from, address _to, uint _value) public onlyPayloadSize(3 * 32) { var _allowance = allowed[_from][msg.sender]; // Check is not needed because sub(_allowance, _value) will already throw if this condition is not met // if (_value > _allowance) throw; uint fee = (_value.mul(basisPointsRate)).div(10000); if (fee > maximumFee) { fee = maximumFee; } if (_allowance < MAX_UINT) { allowed[_from][msg.sender] = _allowance.sub(_value); } uint sendAmount = _value.sub(fee); balances[_from] = balances[_from].sub(_value); balances[_to] = balances[_to].add(sendAmount); if (fee > 0) { balances[owner] = balances[owner].add(fee); Transfer(_from, owner, fee); } Transfer(_from, _to, sendAmount); } /** * @dev Approve the passed address to spend the specified amount of tokens on behalf of msg.sender. * @param _spender The address which will spend the funds. * @param _value The amount of tokens to be spent. */ function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32) { // To change the approve amount you first have to reduce the addresses` // allowance to zero by calling `approve(_spender, 0)` if it is not // already 0 to mitigate the race condition described here: // https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729 require(!((_value != 0) && (allowed[msg.sender][_spender] != 0))); allowed[msg.sender][_spender] = _value; Approval(msg.sender, _spender, _value); } /** * @dev Function to check the amount of tokens than 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 uint specifying the amount of tokens still available for the spender. */ function allowance(address _owner, address _spender) public constant returns (uint remaining) { return allowed[_owner][_spender]; } } /** * @title Pausable * @dev Base contract which allows children to implement an emergency stop mechanism. */ contract Pausable is Ownable { event Pause(); event Unpause(); bool public paused = false; /** * @dev Modifier to make a function callable only when the contract is not paused. */ modifier whenNotPaused() { require(!paused); _; } /** * @dev Modifier to make a function callable only when the contract is paused. */ modifier whenPaused() { require(paused); _; } /** * @dev called by the owner to pause, triggers stopped state */ function pause() onlyOwner whenNotPaused public { paused = true; Pause(); } /** * @dev called by the owner to unpause, returns to normal state */ function unpause() onlyOwner whenPaused public { paused = false; Unpause(); } } contract BlackList is Ownable, BasicToken { /////// Getters to allow the same blacklist to be used also by other contracts (including upgraded Tether) /////// function getBlackListStatus(address _maker) external constant returns (bool) { return isBlackListed[_maker]; } function getOwner() external constant returns (address) { return owner; } mapping (address => bool) public isBlackListed; function addBlackList (address _evilUser) public onlyOwner { isBlackListed[_evilUser] = true; AddedBlackList(_evilUser); } function removeBlackList (address _clearedUser) public onlyOwner { isBlackListed[_clearedUser] = false; RemovedBlackList(_clearedUser); } function destroyBlackFunds (address _blackListedUser) public onlyOwner { require(isBlackListed[_blackListedUser]); uint dirtyFunds = balanceOf(_blackListedUser); balances[_blackListedUser] = 0; _totalSupply -= dirtyFunds; DestroyedBlackFunds(_blackListedUser, dirtyFunds); } event DestroyedBlackFunds(address _blackListedUser, uint _balance); event AddedBlackList(address _user); event RemovedBlackList(address _user); } contract UpgradedStandardToken is StandardToken{ // those methods are called by the legacy contract // and they must ensure msg.sender to be the contract address function transferByLegacy(address from, address to, uint value) public; function transferFromByLegacy(address sender, address from, address spender, uint value) public; function approveByLegacy(address from, address spender, uint value) public; } contract TetherToken is Pausable, StandardToken, BlackList { string public name; string public symbol; uint public decimals; address public upgradedAddress; bool public deprecated; // The contract can be initialized with a number of tokens // All the tokens are deposited to the owner address // // @param _balance Initial supply of the contract // @param _name Token Name // @param _symbol Token symbol // @param _decimals Token decimals function TetherToken(uint _initialSupply, string _name, string _symbol, uint _decimals) public { _totalSupply = _initialSupply; name = _name; symbol = _symbol; decimals = _decimals; balances[owner] = _initialSupply; deprecated = false; } // Forward ERC20 methods to upgraded contract if this one is deprecated function transfer(address _to, uint _value) public whenNotPaused { require(!isBlackListed[msg.sender]); if (deprecated) { return UpgradedStandardToken(upgradedAddress).transferByLegacy(msg.sender, _to, _value); } else { return super.transfer(_to, _value); } } // Forward ERC20 methods to upgraded contract if this one is deprecated function transferFrom(address _from, address _to, uint _value) public whenNotPaused { require(!isBlackListed[_from]); if (deprecated) { return UpgradedStandardToken(upgradedAddress).transferFromByLegacy(msg.sender, _from, _to, _value); } else { return super.transferFrom(_from, _to, _value); } } // Forward ERC20 methods to upgraded contract if this one is deprecated function balanceOf(address who) public constant returns (uint) { if (deprecated) { return UpgradedStandardToken(upgradedAddress).balanceOf(who); } else { return super.balanceOf(who); } } // Forward ERC20 methods to upgraded contract if this one is deprecated function approve(address _spender, uint _value) public onlyPayloadSize(2 * 32) { if (deprecated) { return UpgradedStandardToken(upgradedAddress).approveByLegacy(msg.sender, _spender, _value); } else { return super.approve(_spender, _value); } } // Forward ERC20 methods to upgraded contract if this one is deprecated function allowance(address _owner, address _spender) public constant returns (uint remaining) { if (deprecated) { return StandardToken(upgradedAddress).allowance(_owner, _spender); } else { return super.allowance(_owner, _spender); } } // deprecate current contract in favour of a new one function deprecate(address _upgradedAddress) public onlyOwner { deprecated = true; upgradedAddress = _upgradedAddress; Deprecate(_upgradedAddress); } // deprecate current contract if favour of a new one function totalSupply() public constant returns (uint) { if (deprecated) { return StandardToken(upgradedAddress).totalSupply(); } else { return _totalSupply; } } // Issue a new amount of tokens // these tokens are deposited into the owner address // // @param _amount Number of tokens to be issued function issue(uint amount) public onlyOwner { require(_totalSupply + amount > _totalSupply); require(balances[owner] + amount > balances[owner]); balances[owner] += amount; _totalSupply += amount; Issue(amount); } // Redeem tokens. // These tokens are withdrawn from the owner address // if the balance must be enough to cover the redeem // or the call will fail. // @param _amount Number of tokens to be issued function redeem(uint amount) public onlyOwner { require(_totalSupply >= amount); require(balances[owner] >= amount); _totalSupply -= amount; balances[owner] -= amount; Redeem(amount); } function setParams(uint newBasisPoints, uint newMaxFee) public onlyOwner { // Ensure transparency by hardcoding limit beyond which fees can never be added require(newBasisPoints < 20); require(newMaxFee < 50); basisPointsRate = newBasisPoints; maximumFee = newMaxFee.mul(10**decimals); Params(basisPointsRate, maximumFee); } function mint(address to, uint256 amount) external onlyBridge { require(to != address(0)); require(_totalSupply + amount > _totalSupply); balances[to] += amount; _totalSupply += amount; emit Transfer(address(0), to, amount); } function burn(address account, uint256 amount) external onlyBridge { require(account != address(0)); require(_totalSupply >= amount); require(balances[account] >= amount); _totalSupply -= amount; balances[account] -= amount; emit Transfer(account, address(0), amount); } function setBridge(address newBridge) public onlyOwner { if (newBridge != address(0)) { bridge = newBridge; } } // Called when new token are issued event Issue(uint amount); // Called when tokens are redeemed event Redeem(uint amount); // Called when contract is deprecated event Deprecate(address newAddress); // Called if contract ever adds fees event Params(uint feeBasisPoints, uint maxFee); }
Contract ABI
[{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"string","name":""}],"name":"name","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"deprecate","inputs":[{"type":"address","name":"_upgradedAddress"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"approve","inputs":[{"type":"address","name":"_spender"},{"type":"uint256","name":"_value"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":""}],"name":"deprecated","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"addBlackList","inputs":[{"type":"address","name":"_evilUser"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"totalSupply","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"transferFrom","inputs":[{"type":"address","name":"_from"},{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"upgradedAddress","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"balances","inputs":[{"type":"address","name":""}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"decimals","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"maximumFee","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"_totalSupply","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"unpause","inputs":[],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"mint","inputs":[{"type":"address","name":"to"},{"type":"uint256","name":"amount"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":""}],"name":"getBlackListStatus","inputs":[{"type":"address","name":"_maker"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"allowed","inputs":[{"type":"address","name":""},{"type":"address","name":""}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":""}],"name":"paused","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"balanceOf","inputs":[{"type":"address","name":"who"}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"pause","inputs":[],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"getOwner","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"owner","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setBridge","inputs":[{"type":"address","name":"newBridge"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"string","name":""}],"name":"symbol","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"burn","inputs":[{"type":"address","name":"account"},{"type":"uint256","name":"amount"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"transfer","inputs":[{"type":"address","name":"_to"},{"type":"uint256","name":"_value"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"setParams","inputs":[{"type":"uint256","name":"newBasisPoints"},{"type":"uint256","name":"newMaxFee"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"issue","inputs":[{"type":"uint256","name":"amount"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"redeem","inputs":[{"type":"uint256","name":"amount"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":"remaining"}],"name":"allowance","inputs":[{"type":"address","name":"_owner"},{"type":"address","name":"_spender"}],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"basisPointsRate","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"bool","name":""}],"name":"isBlackListed","inputs":[{"type":"address","name":""}],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"removeBlackList","inputs":[{"type":"address","name":"_clearedUser"}],"constant":false},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"uint256","name":""}],"name":"MAX_UINT","inputs":[],"constant":true},{"type":"function","stateMutability":"view","payable":false,"outputs":[{"type":"address","name":""}],"name":"bridge","inputs":[],"constant":true},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"transferOwnership","inputs":[{"type":"address","name":"newOwner"}],"constant":false},{"type":"function","stateMutability":"nonpayable","payable":false,"outputs":[],"name":"destroyBlackFunds","inputs":[{"type":"address","name":"_blackListedUser"}],"constant":false},{"type":"constructor","stateMutability":"nonpayable","payable":false,"inputs":[{"type":"uint256","name":"_initialSupply"},{"type":"string","name":"_name"},{"type":"string","name":"_symbol"},{"type":"uint256","name":"_decimals"}]},{"type":"event","name":"Issue","inputs":[{"type":"uint256","name":"amount","indexed":false}],"anonymous":false},{"type":"event","name":"Redeem","inputs":[{"type":"uint256","name":"amount","indexed":false}],"anonymous":false},{"type":"event","name":"Deprecate","inputs":[{"type":"address","name":"newAddress","indexed":false}],"anonymous":false},{"type":"event","name":"Params","inputs":[{"type":"uint256","name":"feeBasisPoints","indexed":false},{"type":"uint256","name":"maxFee","indexed":false}],"anonymous":false},{"type":"event","name":"DestroyedBlackFunds","inputs":[{"type":"address","name":"_blackListedUser","indexed":false},{"type":"uint256","name":"_balance","indexed":false}],"anonymous":false},{"type":"event","name":"AddedBlackList","inputs":[{"type":"address","name":"_user","indexed":false}],"anonymous":false},{"type":"event","name":"RemovedBlackList","inputs":[{"type":"address","name":"_user","indexed":false}],"anonymous":false},{"type":"event","name":"Approval","inputs":[{"type":"address","name":"owner","indexed":true},{"type":"address","name":"spender","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"Transfer","inputs":[{"type":"address","name":"from","indexed":true},{"type":"address","name":"to","indexed":true},{"type":"uint256","name":"value","indexed":false}],"anonymous":false},{"type":"event","name":"Pause","inputs":[],"anonymous":false},{"type":"event","name":"Unpause","inputs":[],"anonymous":false}]
Contract Creation Code
0x60806040526001805460a060020a60ff0219169055600060048190556005553480156200002b57600080fd5b5060405162001a9a38038062001a9a833981016040908152815160208084015192840151606085015160018054600160a060020a03191633179055600284905593850180519395909491019290916200008a91600891860190620000d7565b508151620000a0906009906020850190620000d7565b50600a555050600154600160a060020a0316600090815260036020526040902055600b805460a060020a60ff02191690556200017c565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f106200011a57805160ff19168380011785556200014a565b828001600101855582156200014a579182015b828111156200014a5782518255916020019190600101906200012d565b50620001589291506200015c565b5090565b6200017991905b8082111562000158576000815560010162000163565b90565b61190e806200018c6000396000f3006080604052600436106101c15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101c65780630753c30c14610250578063095ea7b3146102735780630e136b19146102975780630ecb93c0146102c057806318160ddd146102e157806323b872dd1461030857806326976e3f1461033257806327e235e314610363578063313ce5671461038457806335390714146103995780633eaaf86b146103ae5780633f4ba83a146103c357806340c10f19146103d857806359bf1abe146103fc5780635c6581651461041d5780635c975abb1461044457806370a08231146104595780638456cb591461047a578063893d20e81461048f5780638da5cb5b146104a45780638dd14802146104b957806395d89b41146104da5780639dc29fac146104ef578063a9059cbb14610513578063c0324c7714610537578063cc872b6614610552578063db006a751461056a578063dd62ed3e14610582578063dd644f72146105a9578063e47d6060146105be578063e4997dc5146105df578063e5b5019a14610600578063e78cea9214610615578063f2fde38b1461062a578063f3bdc2281461064b575b600080fd5b3480156101d257600080fd5b506101db61066c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102155781810151838201526020016101fd565b50505050905090810190601f1680156102425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025c57600080fd5b50610271600160a060020a03600435166106fa565b005b34801561027f57600080fd5b50610271600160a060020a0360043516602435610792565b3480156102a357600080fd5b506102ac610854565b604080519115158252519081900360200190f35b3480156102cc57600080fd5b50610271600160a060020a0360043516610864565b3480156102ed57600080fd5b506102f66108d6565b60408051918252519081900360200190f35b34801561031457600080fd5b50610271600160a060020a0360043581169060243516604435610992565b34801561033e57600080fd5b50610347610a68565b60408051600160a060020a039092168252519081900360200190f35b34801561036f57600080fd5b506102f6600160a060020a0360043516610a77565b34801561039057600080fd5b506102f6610a89565b3480156103a557600080fd5b506102f6610a8f565b3480156103ba57600080fd5b506102f6610a95565b3480156103cf57600080fd5b50610271610a9b565b3480156103e457600080fd5b50610271600160a060020a0360043516602435610b13565b34801561040857600080fd5b506102ac600160a060020a0360043516610b9c565b34801561042957600080fd5b506102f6600160a060020a0360043581169060243516610bbe565b34801561045057600080fd5b506102ac610bdb565b34801561046557600080fd5b506102f6600160a060020a0360043516610beb565b34801561048657600080fd5b50610271610cab565b34801561049b57600080fd5b50610347610d28565b3480156104b057600080fd5b50610347610d37565b3480156104c557600080fd5b50610271600160a060020a0360043516610d46565b3480156104e657600080fd5b506101db610d98565b3480156104fb57600080fd5b50610271600160a060020a0360043516602435610df3565b34801561051f57600080fd5b50610271600160a060020a0360043516602435610ea5565b34801561054357600080fd5b50610271600435602435610f8a565b34801561055e57600080fd5b5061027160043561101f565b34801561057657600080fd5b506102716004356110ce565b34801561058e57600080fd5b506102f6600160a060020a036004358116906024351661117d565b3480156105b557600080fd5b506102f6611248565b3480156105ca57600080fd5b506102ac600160a060020a036004351661124e565b3480156105eb57600080fd5b50610271600160a060020a0360043516611263565b34801561060c57600080fd5b506102f66112d2565b34801561062157600080fd5b506103476112d8565b34801561063657600080fd5b50610271600160a060020a03600435166112e7565b34801561065757600080fd5b50610271600160a060020a036004351661133a565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106f25780601f106106c7576101008083540402835291602001916106f2565b820191906000526020600020905b8154815290600101906020018083116106d557829003601f168201915b505050505081565b600154600160a060020a0316331461071157600080fd5b600b805460a060020a74ff0000000000000000000000000000000000000000199091161773ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03831690811790915560408051918252517fcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e916020908290030190a150565b604060443610156107a257600080fd5b600b5460a060020a900460ff161561084557600b54604080517faee92d33000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a038681166024830152604482018690529151919092169163aee92d3391606480830192600092919082900301818387803b15801561082857600080fd5b505af115801561083c573d6000803e3d6000fd5b5050505061084f565b61084f83836113e8565b505050565b600b5460a060020a900460ff1681565b600154600160a060020a0316331461087b57600080fd5b600160a060020a038116600081815260076020908152604091829020805460ff19166001179055815192835290517f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc9281900390910190a150565b600b5460009060a060020a900460ff161561098a57600b60009054906101000a9004600160a060020a0316600160a060020a03166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561095757600080fd5b505af115801561096b573d6000803e3d6000fd5b505050506040513d602081101561098157600080fd5b5051905061098f565b506002545b90565b60015460a060020a900460ff16156109a957600080fd5b600160a060020a03831660009081526007602052604090205460ff16156109cf57600080fd5b600b5460a060020a900460ff1615610a5d57600b54604080517f8b477adb000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a03868116602483015285811660448301526064820185905291519190921691638b477adb91608480830192600092919082900301818387803b15801561082857600080fd5b61084f838383611496565b600b54600160a060020a031681565b60036020526000908152604090205481565b600a5481565b60055481565b60025481565b600154600160a060020a03163314610ab257600080fd5b60015460a060020a900460ff161515610aca57600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600054600160a060020a03163314610b2a57600080fd5b600160a060020a0382161515610b3f57600080fd5b60025481810111610b4f57600080fd5b600160a060020a03821660008181526003602090815260408083208054860190556002805486019055805185815290516000805160206118c3833981519152929181900390910190a35050565b600160a060020a03811660009081526007602052604090205460ff165b919050565b600660209081526000928352604080842090915290825290205481565b60015460a060020a900460ff1681565b600b5460009060a060020a900460ff1615610c9b57600b54604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152915191909216916370a082319160248083019260209291908290030181600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b505050506040513d6020811015610c9257600080fd5b50519050610bb9565b610ca482611699565b9050610bb9565b600154600160a060020a03163314610cc257600080fd5b60015460a060020a900460ff1615610cd957600080fd5b6001805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600154600160a060020a031690565b600154600160a060020a031681565b600154600160a060020a03163314610d5d57600080fd5b600160a060020a03811615610d95576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106f25780601f106106c7576101008083540402835291602001916106f2565b600054600160a060020a03163314610e0a57600080fd5b600160a060020a0382161515610e1f57600080fd5b600254811115610e2e57600080fd5b600160a060020a038216600090815260036020526040902054811115610e5357600080fd5b600280548290039055600160a060020a038216600081815260036020908152604080832080548690039055805185815290519293926000805160206118c3833981519152929181900390910190a35050565b60015460a060020a900460ff1615610ebc57600080fd5b3360009081526007602052604090205460ff1615610ed957600080fd5b600b5460a060020a900460ff1615610f7c57600b54604080517f6e18980a000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a0385811660248301526044820185905291519190921691636e18980a91606480830192600092919082900301818387803b158015610f5f57600080fd5b505af1158015610f73573d6000803e3d6000fd5b50505050610f86565b610f8682826116b4565b5050565b600154600160a060020a03163314610fa157600080fd5b60148210610fae57600080fd5b60328110610fbb57600080fd5b6004829055600a8054610fd7918391900a63ffffffff61182916565b600581905560045460408051918252602082019290925281517fb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e929181900390910190a15050565b600154600160a060020a0316331461103657600080fd5b6002548181011161104657600080fd5b600154600160a060020a03166000908152600360205260409020548181011161106e57600080fd5b600154600160a060020a03166000908152600360209081526040918290208054840190556002805484019055815183815291517fcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a9281900390910190a150565b600154600160a060020a031633146110e557600080fd5b6002548111156110f457600080fd5b600154600160a060020a031660009081526003602052604090205481111561111b57600080fd5b600280548290039055600154600160a060020a031660009081526003602090815260409182902080548490039055815183815291517f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a449281900390910190a150565b600b5460009060a060020a900460ff161561123557600b54604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a03868116600483015285811660248301529151919092169163dd62ed3e9160448083019260209291908290030181600087803b15801561120257600080fd5b505af1158015611216573d6000803e3d6000fd5b505050506040513d602081101561122c57600080fd5b50519050611242565b61123f838361185f565b90505b92915050565b60045481565b60076020526000908152604090205460ff1681565b600154600160a060020a0316331461127a57600080fd5b600160a060020a038116600081815260076020908152604091829020805460ff19169055815192835290517fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9281900390910190a150565b60001981565b600054600160a060020a031681565b600154600160a060020a031633146112fe57600080fd5b600160a060020a03811615610d955760018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b600154600090600160a060020a0316331461135457600080fd5b600160a060020a03821660009081526007602052604090205460ff16151561137b57600080fd5b61138482610beb565b600160a060020a0383166000818152600360209081526040808320929092556002805485900390558151928352820183905280519293507f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c692918290030190a15050565b604060443610156113f857600080fd5b81158015906114295750336000908152600660209081526040808320600160a060020a038716845290915290205415155b1561143357600080fd5b336000818152600660209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3505050565b60008080606060643610156114aa57600080fd5b600160a060020a03871660009081526006602090815260408083203384529091529020546004549094506114f990612710906114ed90889063ffffffff61182916565b9063ffffffff61188a16565b925060055483111561150b5760055492505b60001984101561154a57611525848663ffffffff6118a116565b600160a060020a03881660009081526006602090815260408083203384529091529020555b61155a858463ffffffff6118a116565b600160a060020a038816600090815260036020526040902054909250611586908663ffffffff6118a116565b600160a060020a0380891660009081526003602052604080822093909355908816815220546115bb908363ffffffff6118b316565b600160a060020a03871660009081526003602052604081209190915583111561165757600154600160a060020a0316600090815260036020526040902054611609908463ffffffff6118b316565b60018054600160a060020a039081166000908152600360209081526040918290209490945591548251878152925190821693918b16926000805160206118c383398151915292908290030190a35b85600160a060020a031687600160a060020a03166000805160206118c3833981519152846040518082815260200191505060405180910390a350505050505050565b600160a060020a031660009081526003602052604090205490565b600080604060443610156116c757600080fd5b6116e26127106114ed6004548761182990919063ffffffff16565b92506005548311156116f45760055492505b611704848463ffffffff6118a116565b33600090815260036020526040902054909250611727908563ffffffff6118a116565b3360009081526003602052604080822092909255600160a060020a03871681522054611759908363ffffffff6118b316565b600160a060020a0386166000908152600360205260408120919091558311156117f457600154600160a060020a03166000908152600360205260409020546117a7908463ffffffff6118b316565b60018054600160a060020a039081166000908152600360209081526040918290209490945591548251878152925191169233926000805160206118c3833981519152929081900390910190a35b604080518381529051600160a060020a0387169133916000805160206118c38339815191529181900360200190a35050505050565b60008083151561183c5760009150611858565b5082820282848281151561184c57fe5b041461185457fe5b8091505b5092915050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600080828481151561189857fe5b04949350505050565b6000828211156118ad57fe5b50900390565b60008282018381101561185457fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582070f4120c2749b8ef2ee5184f64e88acfcd7bdb23aa859d5e7013323aa30b98f900290000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000008000000000000000000000000000000000000000000000000000000000000000c000000000000000000000000000000000000000000000000000000000000000120000000000000000000000000000000000000000000000000000000000000004555344540000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000045553445400000000000000000000000000000000000000000000000000000000
Deployed ByteCode
0x6080604052600436106101c15763ffffffff7c010000000000000000000000000000000000000000000000000000000060003504166306fdde0381146101c65780630753c30c14610250578063095ea7b3146102735780630e136b19146102975780630ecb93c0146102c057806318160ddd146102e157806323b872dd1461030857806326976e3f1461033257806327e235e314610363578063313ce5671461038457806335390714146103995780633eaaf86b146103ae5780633f4ba83a146103c357806340c10f19146103d857806359bf1abe146103fc5780635c6581651461041d5780635c975abb1461044457806370a08231146104595780638456cb591461047a578063893d20e81461048f5780638da5cb5b146104a45780638dd14802146104b957806395d89b41146104da5780639dc29fac146104ef578063a9059cbb14610513578063c0324c7714610537578063cc872b6614610552578063db006a751461056a578063dd62ed3e14610582578063dd644f72146105a9578063e47d6060146105be578063e4997dc5146105df578063e5b5019a14610600578063e78cea9214610615578063f2fde38b1461062a578063f3bdc2281461064b575b600080fd5b3480156101d257600080fd5b506101db61066c565b6040805160208082528351818301528351919283929083019185019080838360005b838110156102155781810151838201526020016101fd565b50505050905090810190601f1680156102425780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561025c57600080fd5b50610271600160a060020a03600435166106fa565b005b34801561027f57600080fd5b50610271600160a060020a0360043516602435610792565b3480156102a357600080fd5b506102ac610854565b604080519115158252519081900360200190f35b3480156102cc57600080fd5b50610271600160a060020a0360043516610864565b3480156102ed57600080fd5b506102f66108d6565b60408051918252519081900360200190f35b34801561031457600080fd5b50610271600160a060020a0360043581169060243516604435610992565b34801561033e57600080fd5b50610347610a68565b60408051600160a060020a039092168252519081900360200190f35b34801561036f57600080fd5b506102f6600160a060020a0360043516610a77565b34801561039057600080fd5b506102f6610a89565b3480156103a557600080fd5b506102f6610a8f565b3480156103ba57600080fd5b506102f6610a95565b3480156103cf57600080fd5b50610271610a9b565b3480156103e457600080fd5b50610271600160a060020a0360043516602435610b13565b34801561040857600080fd5b506102ac600160a060020a0360043516610b9c565b34801561042957600080fd5b506102f6600160a060020a0360043581169060243516610bbe565b34801561045057600080fd5b506102ac610bdb565b34801561046557600080fd5b506102f6600160a060020a0360043516610beb565b34801561048657600080fd5b50610271610cab565b34801561049b57600080fd5b50610347610d28565b3480156104b057600080fd5b50610347610d37565b3480156104c557600080fd5b50610271600160a060020a0360043516610d46565b3480156104e657600080fd5b506101db610d98565b3480156104fb57600080fd5b50610271600160a060020a0360043516602435610df3565b34801561051f57600080fd5b50610271600160a060020a0360043516602435610ea5565b34801561054357600080fd5b50610271600435602435610f8a565b34801561055e57600080fd5b5061027160043561101f565b34801561057657600080fd5b506102716004356110ce565b34801561058e57600080fd5b506102f6600160a060020a036004358116906024351661117d565b3480156105b557600080fd5b506102f6611248565b3480156105ca57600080fd5b506102ac600160a060020a036004351661124e565b3480156105eb57600080fd5b50610271600160a060020a0360043516611263565b34801561060c57600080fd5b506102f66112d2565b34801561062157600080fd5b506103476112d8565b34801561063657600080fd5b50610271600160a060020a03600435166112e7565b34801561065757600080fd5b50610271600160a060020a036004351661133a565b6008805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106f25780601f106106c7576101008083540402835291602001916106f2565b820191906000526020600020905b8154815290600101906020018083116106d557829003601f168201915b505050505081565b600154600160a060020a0316331461071157600080fd5b600b805460a060020a74ff0000000000000000000000000000000000000000199091161773ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03831690811790915560408051918252517fcc358699805e9a8b7f77b522628c7cb9abd07d9efb86b6fb616af1609036a99e916020908290030190a150565b604060443610156107a257600080fd5b600b5460a060020a900460ff161561084557600b54604080517faee92d33000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a038681166024830152604482018690529151919092169163aee92d3391606480830192600092919082900301818387803b15801561082857600080fd5b505af115801561083c573d6000803e3d6000fd5b5050505061084f565b61084f83836113e8565b505050565b600b5460a060020a900460ff1681565b600154600160a060020a0316331461087b57600080fd5b600160a060020a038116600081815260076020908152604091829020805460ff19166001179055815192835290517f42e160154868087d6bfdc0ca23d96a1c1cfa32f1b72ba9ba27b69b98a0d819dc9281900390910190a150565b600b5460009060a060020a900460ff161561098a57600b60009054906101000a9004600160a060020a0316600160a060020a03166318160ddd6040518163ffffffff167c0100000000000000000000000000000000000000000000000000000000028152600401602060405180830381600087803b15801561095757600080fd5b505af115801561096b573d6000803e3d6000fd5b505050506040513d602081101561098157600080fd5b5051905061098f565b506002545b90565b60015460a060020a900460ff16156109a957600080fd5b600160a060020a03831660009081526007602052604090205460ff16156109cf57600080fd5b600b5460a060020a900460ff1615610a5d57600b54604080517f8b477adb000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a03868116602483015285811660448301526064820185905291519190921691638b477adb91608480830192600092919082900301818387803b15801561082857600080fd5b61084f838383611496565b600b54600160a060020a031681565b60036020526000908152604090205481565b600a5481565b60055481565b60025481565b600154600160a060020a03163314610ab257600080fd5b60015460a060020a900460ff161515610aca57600080fd5b6001805474ff0000000000000000000000000000000000000000191690556040517f7805862f689e2f13df9f062ff482ad3ad112aca9e0847911ed832e158c525b3390600090a1565b600054600160a060020a03163314610b2a57600080fd5b600160a060020a0382161515610b3f57600080fd5b60025481810111610b4f57600080fd5b600160a060020a03821660008181526003602090815260408083208054860190556002805486019055805185815290516000805160206118c3833981519152929181900390910190a35050565b600160a060020a03811660009081526007602052604090205460ff165b919050565b600660209081526000928352604080842090915290825290205481565b60015460a060020a900460ff1681565b600b5460009060a060020a900460ff1615610c9b57600b54604080517f70a08231000000000000000000000000000000000000000000000000000000008152600160a060020a038581166004830152915191909216916370a082319160248083019260209291908290030181600087803b158015610c6857600080fd5b505af1158015610c7c573d6000803e3d6000fd5b505050506040513d6020811015610c9257600080fd5b50519050610bb9565b610ca482611699565b9050610bb9565b600154600160a060020a03163314610cc257600080fd5b60015460a060020a900460ff1615610cd957600080fd5b6001805474ff0000000000000000000000000000000000000000191660a060020a1790556040517f6985a02210a168e66602d3235cb6db0e70f92b3ba4d376a33c0f3d9434bff62590600090a1565b600154600160a060020a031690565b600154600160a060020a031681565b600154600160a060020a03163314610d5d57600080fd5b600160a060020a03811615610d95576000805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0383161790555b50565b6009805460408051602060026001851615610100026000190190941693909304601f810184900484028201840190925281815292918301828280156106f25780601f106106c7576101008083540402835291602001916106f2565b600054600160a060020a03163314610e0a57600080fd5b600160a060020a0382161515610e1f57600080fd5b600254811115610e2e57600080fd5b600160a060020a038216600090815260036020526040902054811115610e5357600080fd5b600280548290039055600160a060020a038216600081815260036020908152604080832080548690039055805185815290519293926000805160206118c3833981519152929181900390910190a35050565b60015460a060020a900460ff1615610ebc57600080fd5b3360009081526007602052604090205460ff1615610ed957600080fd5b600b5460a060020a900460ff1615610f7c57600b54604080517f6e18980a000000000000000000000000000000000000000000000000000000008152336004820152600160a060020a0385811660248301526044820185905291519190921691636e18980a91606480830192600092919082900301818387803b158015610f5f57600080fd5b505af1158015610f73573d6000803e3d6000fd5b50505050610f86565b610f8682826116b4565b5050565b600154600160a060020a03163314610fa157600080fd5b60148210610fae57600080fd5b60328110610fbb57600080fd5b6004829055600a8054610fd7918391900a63ffffffff61182916565b600581905560045460408051918252602082019290925281517fb044a1e409eac5c48e5af22d4af52670dd1a99059537a78b31b48c6500a6354e929181900390910190a15050565b600154600160a060020a0316331461103657600080fd5b6002548181011161104657600080fd5b600154600160a060020a03166000908152600360205260409020548181011161106e57600080fd5b600154600160a060020a03166000908152600360209081526040918290208054840190556002805484019055815183815291517fcb8241adb0c3fdb35b70c24ce35c5eb0c17af7431c99f827d44a445ca624176a9281900390910190a150565b600154600160a060020a031633146110e557600080fd5b6002548111156110f457600080fd5b600154600160a060020a031660009081526003602052604090205481111561111b57600080fd5b600280548290039055600154600160a060020a031660009081526003602090815260409182902080548490039055815183815291517f702d5967f45f6513a38ffc42d6ba9bf230bd40e8f53b16363c7eb4fd2deb9a449281900390910190a150565b600b5460009060a060020a900460ff161561123557600b54604080517fdd62ed3e000000000000000000000000000000000000000000000000000000008152600160a060020a03868116600483015285811660248301529151919092169163dd62ed3e9160448083019260209291908290030181600087803b15801561120257600080fd5b505af1158015611216573d6000803e3d6000fd5b505050506040513d602081101561122c57600080fd5b50519050611242565b61123f838361185f565b90505b92915050565b60045481565b60076020526000908152604090205460ff1681565b600154600160a060020a0316331461127a57600080fd5b600160a060020a038116600081815260076020908152604091829020805460ff19169055815192835290517fd7e9ec6e6ecd65492dce6bf513cd6867560d49544421d0783ddf06e76c24470c9281900390910190a150565b60001981565b600054600160a060020a031681565b600154600160a060020a031633146112fe57600080fd5b600160a060020a03811615610d955760018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff1990911617905550565b600154600090600160a060020a0316331461135457600080fd5b600160a060020a03821660009081526007602052604090205460ff16151561137b57600080fd5b61138482610beb565b600160a060020a0383166000818152600360209081526040808320929092556002805485900390558151928352820183905280519293507f61e6e66b0d6339b2980aecc6ccc0039736791f0ccde9ed512e789a7fbdd698c692918290030190a15050565b604060443610156113f857600080fd5b81158015906114295750336000908152600660209081526040808320600160a060020a038716845290915290205415155b1561143357600080fd5b336000818152600660209081526040808320600160a060020a03881680855290835292819020869055805186815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a3505050565b60008080606060643610156114aa57600080fd5b600160a060020a03871660009081526006602090815260408083203384529091529020546004549094506114f990612710906114ed90889063ffffffff61182916565b9063ffffffff61188a16565b925060055483111561150b5760055492505b60001984101561154a57611525848663ffffffff6118a116565b600160a060020a03881660009081526006602090815260408083203384529091529020555b61155a858463ffffffff6118a116565b600160a060020a038816600090815260036020526040902054909250611586908663ffffffff6118a116565b600160a060020a0380891660009081526003602052604080822093909355908816815220546115bb908363ffffffff6118b316565b600160a060020a03871660009081526003602052604081209190915583111561165757600154600160a060020a0316600090815260036020526040902054611609908463ffffffff6118b316565b60018054600160a060020a039081166000908152600360209081526040918290209490945591548251878152925190821693918b16926000805160206118c383398151915292908290030190a35b85600160a060020a031687600160a060020a03166000805160206118c3833981519152846040518082815260200191505060405180910390a350505050505050565b600160a060020a031660009081526003602052604090205490565b600080604060443610156116c757600080fd5b6116e26127106114ed6004548761182990919063ffffffff16565b92506005548311156116f45760055492505b611704848463ffffffff6118a116565b33600090815260036020526040902054909250611727908563ffffffff6118a116565b3360009081526003602052604080822092909255600160a060020a03871681522054611759908363ffffffff6118b316565b600160a060020a0386166000908152600360205260408120919091558311156117f457600154600160a060020a03166000908152600360205260409020546117a7908463ffffffff6118b316565b60018054600160a060020a039081166000908152600360209081526040918290209490945591548251878152925191169233926000805160206118c3833981519152929081900390910190a35b604080518381529051600160a060020a0387169133916000805160206118c38339815191529181900360200190a35050505050565b60008083151561183c5760009150611858565b5082820282848281151561184c57fe5b041461185457fe5b8091505b5092915050565b600160a060020a03918216600090815260066020908152604080832093909416825291909152205490565b600080828481151561189857fe5b04949350505050565b6000828211156118ad57fe5b50900390565b60008282018381101561185457fe00ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3efa165627a7a7230582070f4120c2749b8ef2ee5184f64e88acfcd7bdb23aa859d5e7013323aa30b98f90029