ETH Price: $1,974.25 (+0.29%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Age:24H
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Age:24H
Reset Filter

Advanced mode:
Parent Transaction Hash Method Block
From
To

There are no matching entries

Update your filters to view other transactions

View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
TokenController

Compiler Version
v0.4.23+commit.124ca40d

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
/**
 *Submitted for verification at Etherscan.io on 2018-12-18
*/

pragma solidity ^0.4.23;

// File: openzeppelin-solidity/contracts/math/SafeMath.sol

/**
 * @title SafeMath
 * @dev Math operations with safety checks that throw on error
 */
library SafeMath {

  /**
  * @dev Multiplies two numbers, throws on overflow.
  */
  function mul(uint256 a, uint256 b) internal pure returns (uint256 c) {
    if (a == 0) {
      return 0;
    }
    c = a * b;
    assert(c / a == b);
    return c;
  }

  /**
  * @dev Integer division of two numbers, truncating the quotient.
  */
  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 a / b;
  }

  /**
  * @dev Subtracts two numbers, throws on overflow (i.e. if subtrahend is greater than minuend).
  */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    assert(b <= a);
    return a - b;
  }

  /**
  * @dev Adds two numbers, throws on overflow.
  */
  function add(uint256 a, uint256 b) internal pure returns (uint256 c) {
    c = a + b;
    assert(c >= a);
    return c;
  }
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20Basic.sol

/**
 * @title ERC20Basic
 * @dev Simpler version of ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/179
 */
contract ERC20Basic {
  function totalSupply() public view returns (uint256);
  function balanceOf(address who) public view returns (uint256);
  function transfer(address to, uint256 value) public returns (bool);
  event Transfer(address indexed from, address indexed to, uint256 value);
}

// File: openzeppelin-solidity/contracts/token/ERC20/ERC20.sol

/**
 * @title ERC20 interface
 * @dev see https://github.com/ethereum/EIPs/issues/20
 */
contract ERC20 is ERC20Basic {
  function allowance(address owner, address spender) public view returns (uint256);
  function transferFrom(address from, address to, uint256 value) public returns (bool);
  function approve(address spender, uint256 value) public returns (bool);
  event Approval(address indexed owner, address indexed spender, uint256 value);
}

// File: registry/contracts/Registry.sol

contract Registry {
    struct AttributeData {
        uint256 value;
        bytes32 notes;
        address adminAddr;
        uint256 timestamp;
    }
    
    address public owner;
    address public pendingOwner;
    bool public initialized;

    // Stores arbitrary attributes for users. An example use case is an ERC20
    // token that requires its users to go through a KYC/AML check - in this case
    // a validator can set an account's "hasPassedKYC/AML" attribute to 1 to indicate
    // that account can use the token. This mapping stores that value (1, in the
    // example) as well as which validator last set the value and at what time,
    // so that e.g. the check can be renewed at appropriate intervals.
    mapping(address => mapping(bytes32 => AttributeData)) public attributes;
    // The logic governing who is allowed to set what attributes is abstracted as
    // this accessManager, so that it may be replaced by the owner as needed

    bytes32 public constant WRITE_PERMISSION = keccak256("canWriteTo-");

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );
    event SetAttribute(address indexed who, bytes32 attribute, uint256 value, bytes32 notes, address indexed adminAddr);
    event SetManager(address indexed oldManager, address indexed newManager);


    function initialize() public {
        require(!initialized, "already initialized");
        owner = msg.sender;
        initialized = true;
    }

    function writeAttributeFor(bytes32 _attribute) public pure returns (bytes32) {
        return keccak256(WRITE_PERMISSION ^ _attribute);
    }

    // Allows a write if either a) the writer is that Registry's owner, or
    // b) the writer is writing to attribute foo and that writer already has
    // the canWriteTo-foo attribute set (in that same Registry)
    function confirmWrite(bytes32 _attribute, address _admin) public view returns (bool) {
        return (_admin == owner || hasAttribute(_admin, keccak256(WRITE_PERMISSION ^ _attribute)));
    }

    // Writes are allowed only if the accessManager approves
    function setAttribute(address _who, bytes32 _attribute, uint256 _value, bytes32 _notes) public {
        require(confirmWrite(_attribute, msg.sender));
        attributes[_who][_attribute] = AttributeData(_value, _notes, msg.sender, block.timestamp);
        emit SetAttribute(_who, _attribute, _value, _notes, msg.sender);
    }

    function setAttributeValue(address _who, bytes32 _attribute, uint256 _value) public {
        require(confirmWrite(_attribute, msg.sender));
        attributes[_who][_attribute] = AttributeData(_value, "", msg.sender, block.timestamp);
        emit SetAttribute(_who, _attribute, _value, "", msg.sender);
    }

    // Returns true if the uint256 value stored for this attribute is non-zero
    function hasAttribute(address _who, bytes32 _attribute) public view returns (bool) {
        return attributes[_who][_attribute].value != 0;
    }

    function hasBothAttributes(address _who, bytes32 _attribute1, bytes32 _attribute2) public view returns (bool) {
        return attributes[_who][_attribute1].value != 0 && attributes[_who][_attribute2].value != 0;
    }

    function hasEitherAttribute(address _who, bytes32 _attribute1, bytes32 _attribute2) public view returns (bool) {
        return attributes[_who][_attribute1].value != 0 || attributes[_who][_attribute2].value != 0;
    }

    function hasAttribute1ButNotAttribute2(address _who, bytes32 _attribute1, bytes32 _attribute2) public view returns (bool) {
        return attributes[_who][_attribute1].value != 0 && attributes[_who][_attribute2].value == 0;
    }

    function bothHaveAttribute(address _who1, address _who2, bytes32 _attribute) public view returns (bool) {
        return attributes[_who1][_attribute].value != 0 && attributes[_who2][_attribute].value != 0;
    }
    
    function eitherHaveAttribute(address _who1, address _who2, bytes32 _attribute) public view returns (bool) {
        return attributes[_who1][_attribute].value != 0 || attributes[_who2][_attribute].value != 0;
    }

    function haveAttributes(address _who1, bytes32 _attribute1, address _who2, bytes32 _attribute2) public view returns (bool) {
        return attributes[_who1][_attribute1].value != 0 && attributes[_who2][_attribute2].value != 0;
    }

    function haveEitherAttribute(address _who1, bytes32 _attribute1, address _who2, bytes32 _attribute2) public view returns (bool) {
        return attributes[_who1][_attribute1].value != 0 || attributes[_who2][_attribute2].value != 0;
    }

    // Returns the exact value of the attribute, as well as its metadata
    function getAttribute(address _who, bytes32 _attribute) public view returns (uint256, bytes32, address, uint256) {
        AttributeData memory data = attributes[_who][_attribute];
        return (data.value, data.notes, data.adminAddr, data.timestamp);
    }

    function getAttributeValue(address _who, bytes32 _attribute) public view returns (uint256) {
        return attributes[_who][_attribute].value;
    }

    function getAttributeAdminAddr(address _who, bytes32 _attribute) public view returns (address) {
        return attributes[_who][_attribute].adminAddr;
    }

    function getAttributeTimestamp(address _who, bytes32 _attribute) public view returns (uint256) {
        return attributes[_who][_attribute].timestamp;
    }

    function reclaimEther(address _to) external onlyOwner {
        _to.transfer(address(this).balance);
    }

    function reclaimToken(ERC20 token, address _to) external onlyOwner {
        uint256 balance = token.balanceOf(this);
        token.transfer(_to, balance);
    }

    /**
    * @dev sets the original `owner` of the contract to the sender
    * at construction. Must then be reinitialized 
    */
    constructor() public {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), owner);
    }

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOwner() {
        require(msg.sender == owner, "only Owner");
        _;
    }

    /**
    * @dev Modifier throws if called by any account other than the pendingOwner.
    */
    modifier onlyPendingOwner() {
        require(msg.sender == pendingOwner);
        _;
    }

    /**
    * @dev Allows the current owner to set the pendingOwner address.
    * @param newOwner The address to transfer ownership to.
    */
    function transferOwnership(address newOwner) public onlyOwner {
        pendingOwner = newOwner;
    }

    /**
    * @dev Allows the pendingOwner address to finalize the transfer.
    */
    function claimOwnership() public onlyPendingOwner {
        emit OwnershipTransferred(owner, pendingOwner);
        owner = pendingOwner;
        pendingOwner = address(0);
    }
}

// File: openzeppelin-solidity/contracts/ownership/Ownable.sol

/**
 * @title Ownable
 * @dev The Ownable contract has an owner address, and provides basic authorization control
 * functions, this simplifies the implementation of "user permissions".
 */
contract Ownable {
  address public owner;


  event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);


  /**
   * @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);
    _;
  }

  /**
   * @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 {
    require(newOwner != address(0));
    emit OwnershipTransferred(owner, newOwner);
    owner = newOwner;
  }

}

// File: openzeppelin-solidity/contracts/ownership/Claimable.sol

/**
 * @title Claimable
 * @dev Extension for the Ownable contract, where the ownership needs to be claimed.
 * This allows the new owner to accept the transfer.
 */
contract Claimable is Ownable {
  address public pendingOwner;

  /**
   * @dev Modifier throws if called by any account other than the pendingOwner.
   */
  modifier onlyPendingOwner() {
    require(msg.sender == pendingOwner);
    _;
  }

  /**
   * @dev Allows the current owner to set the pendingOwner address.
   * @param newOwner The address to transfer ownership to.
   */
  function transferOwnership(address newOwner) onlyOwner public {
    pendingOwner = newOwner;
  }

  /**
   * @dev Allows the pendingOwner address to finalize the transfer.
   */
  function claimOwnership() onlyPendingOwner public {
    emit OwnershipTransferred(owner, pendingOwner);
    owner = pendingOwner;
    pendingOwner = address(0);
  }
}

// File: contracts/modularERC20/BalanceSheet.sol

// A wrapper around the balanceOf mapping.
contract BalanceSheet is Claimable {
    using SafeMath for uint256;

    mapping (address => uint256) public balanceOf;

    function addBalance(address _addr, uint256 _value) public onlyOwner {
        balanceOf[_addr] = balanceOf[_addr].add(_value);
    }

    function subBalance(address _addr, uint256 _value) public onlyOwner {
        balanceOf[_addr] = balanceOf[_addr].sub(_value);
    }

    function setBalance(address _addr, uint256 _value) public onlyOwner {
        balanceOf[_addr] = _value;
    }
}

// File: contracts/modularERC20/AllowanceSheet.sol

// A wrapper around the allowanceOf mapping.
contract AllowanceSheet is Claimable {
    using SafeMath for uint256;

    mapping (address => mapping (address => uint256)) public allowanceOf;

    function addAllowance(address _tokenHolder, address _spender, uint256 _value) public onlyOwner {
        allowanceOf[_tokenHolder][_spender] = allowanceOf[_tokenHolder][_spender].add(_value);
    }

    function subAllowance(address _tokenHolder, address _spender, uint256 _value) public onlyOwner {
        allowanceOf[_tokenHolder][_spender] = allowanceOf[_tokenHolder][_spender].sub(_value);
    }

    function setAllowance(address _tokenHolder, address _spender, uint256 _value) public onlyOwner {
        allowanceOf[_tokenHolder][_spender] = _value;
    }
}

// File: contracts/utilities/GlobalPause.sol

/*
All future trusttoken tokens can reference this contract. 
Allow for Admin to pause a set of tokens with one transaction
Used to signal which fork is the supported fork for asset-back tokens
*/
contract GlobalPause is Claimable {
    bool public allTokensPaused = false;
    string public pauseNotice;

    function pauseAllTokens(bool _status, string _notice) public onlyOwner {
        allTokensPaused = _status;
        pauseNotice = _notice;
    }

    function requireNotPaused() public view {
        require(!allTokensPaused, pauseNotice);
    }
}

// File: contracts/ProxyStorage.sol

/*
Defines the storage layout of the implementaiton (TrueUSD) contract. Any newly declared 
state variables in future upgrades should be appened to the bottom. Never remove state variables
from this list
 */
contract ProxyStorage {
    address public owner;
    address public pendingOwner;

    bool public initialized;
    
    BalanceSheet public balances;
    AllowanceSheet public allowances;

    uint256 totalSupply_;
    
    bool public paused = false;
    GlobalPause public globalPause;

    uint256 public burnMin = 0;
    uint256 public burnMax = 0;

    Registry public registry;

    string public name = "TrueUSD";
    string public symbol = "TUSD";

    uint[] public gasRefundPool;
    uint256 public redemptionAddressCount;
}

// File: contracts/HasOwner.sol

/**
 * @title HasOwner
 * @dev The HasOwner contract is a copy of Claimable Contract by Zeppelin. 
 and provides basic authorization control functions. Inherits storage layout of 
 ProxyStorage.
 */
contract HasOwner is ProxyStorage {

    event OwnershipTransferred(
        address indexed previousOwner,
        address indexed newOwner
    );

    /**
    * @dev sets the original `owner` of the contract to the sender
    * at construction. Must then be reinitialized 
    */
    constructor() public {
        owner = msg.sender;
        emit OwnershipTransferred(address(0), owner);
    }

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOwner() {
        require(msg.sender == owner, "only Owner");
        _;
    }

    /**
    * @dev Modifier throws if called by any account other than the pendingOwner.
    */
    modifier onlyPendingOwner() {
        require(msg.sender == pendingOwner);
        _;
    }

    /**
    * @dev Allows the current owner to set the pendingOwner address.
    * @param newOwner The address to transfer ownership to.
    */
    function transferOwnership(address newOwner) public onlyOwner {
        pendingOwner = newOwner;
    }

    /**
    * @dev Allows the pendingOwner address to finalize the transfer.
    */
    function claimOwnership() public onlyPendingOwner {
        emit OwnershipTransferred(owner, pendingOwner);
        owner = pendingOwner;
        pendingOwner = address(0);
    }
}

// File: contracts/modularERC20/ModularBasicToken.sol

// Version of OpenZeppelin's BasicToken whose balances mapping has been replaced
// with a separate BalanceSheet contract. remove the need to copy over balances.
/**
 * @title Basic token
 * @dev Basic version of StandardToken, with no allowances.
 */
contract ModularBasicToken is HasOwner {
    using SafeMath for uint256;

    event BalanceSheetSet(address indexed sheet);
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
    * @dev claim ownership of the balancesheet contract
    * @param _sheet The address to of the balancesheet to claim.
    */
    function setBalanceSheet(address _sheet) public onlyOwner returns (bool) {
        balances = BalanceSheet(_sheet);
        balances.claimOwnership();
        emit BalanceSheetSet(_sheet);
        return true;
    }

    /**
    * @dev total number of tokens in existence
    */
    function totalSupply() public view returns (uint256) {
        return totalSupply_;
    }

    /**
    * @dev transfer token for a specified address
    * @param _to The address to transfer to.
    * @param _value The amount to be transferred.
    */
    function transfer(address _to, uint256 _value) public returns (bool) {
        _transferAllArgs(msg.sender, _to, _value);
        return true;
    }


    function _transferAllArgs(address _from, address _to, uint256 _value) internal {
        // SafeMath.sub will throw if there is not enough balance.
        balances.subBalance(_from, _value);
        balances.addBalance(_to, _value);
        emit Transfer(_from, _to, _value);
    }
    

    /**
    * @dev Gets the balance of the specified address.
    * @param _owner The address to query the the balance of.
    * @return An uint256 representing the amount owned by the passed address.
    */
    function balanceOf(address _owner) public view returns (uint256 balance) {
        return balances.balanceOf(_owner);
    }
}

// File: contracts/modularERC20/ModularStandardToken.sol

/**
 * @title Standard ERC20 token
 *
 * @dev Implementation of the basic standard token.
 * @dev https://github.com/ethereum/EIPs/issues/20
 * @dev Based on code by FirstBlood: https://github.com/Firstbloodio/token/blob/master/smart_contract/FirstBloodToken.sol
 */
contract ModularStandardToken is ModularBasicToken {
    
    event AllowanceSheetSet(address indexed sheet);
    event Approval(address indexed owner, address indexed spender, uint256 value);
    
    /**
    * @dev claim ownership of the AllowanceSheet contract
    * @param _sheet The address to of the AllowanceSheet to claim.
    */
    function setAllowanceSheet(address _sheet) public onlyOwner returns(bool) {
        allowances = AllowanceSheet(_sheet);
        allowances.claimOwnership();
        emit AllowanceSheetSet(_sheet);
        return true;
    }

    /**
     * @dev Transfer tokens from one address to another
     * @param _from address The address which you want to send tokens from
     * @param _to address The address which you want to transfer to
     * @param _value uint256 the amount of tokens to be transferred
     */
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool) {
        _transferFromAllArgs(_from, _to, _value, msg.sender);
        return true;
    }

    function _transferFromAllArgs(address _from, address _to, uint256 _value, address _spender) internal {
        require(_value <= allowances.allowanceOf(_from, _spender),"not enough allowance to transfer");

        _transferAllArgs(_from, _to, _value);
        allowances.subAllowance(_from, _spender, _value);
    }

    /**
     * @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) {
        _approveAllArgs(_spender, _value, msg.sender);
        return true;
    }

    function _approveAllArgs(address _spender, uint256 _value, address _tokenHolder) internal {
        allowances.setAllowance(_tokenHolder, _spender, _value);
        emit Approval(_tokenHolder, _spender, _value);
    }

    /**
     * @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 allowances.allowanceOf(_owner, _spender);
    }

    /**
     * @dev Increase the amount of tokens that an owner allowed to a spender.
     *
     * approve should be called when allowed[_spender] == 0. To increment
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * @param _spender The address which will spend the funds.
     * @param _addedValue The amount of tokens to increase the allowance by.
     */
    function increaseApproval(address _spender, uint _addedValue) public returns (bool) {
        _increaseApprovalAllArgs(_spender, _addedValue, msg.sender);
        return true;
    }

    function _increaseApprovalAllArgs(address _spender, uint256 _addedValue, address _tokenHolder) internal {
        allowances.addAllowance(_tokenHolder, _spender, _addedValue);
        emit Approval(_tokenHolder, _spender, allowances.allowanceOf(_tokenHolder, _spender));
    }

    /**
     * @dev Decrease the amount of tokens that an owner allowed to a spender.
     *
     * approve should be called when allowed[_spender] == 0. To decrement
     * allowed value is better to use this function to avoid 2 calls (and wait until
     * the first transaction is mined)
     * From MonolithDAO Token.sol
     * @param _spender The address which will spend the funds.
     * @param _subtractedValue The amount of tokens to decrease the allowance by.
     */
    function decreaseApproval(address _spender, uint _subtractedValue) public returns (bool) {
        _decreaseApprovalAllArgs(_spender, _subtractedValue, msg.sender);
        return true;
    }

    function _decreaseApprovalAllArgs(address _spender, uint256 _subtractedValue, address _tokenHolder) internal {
        uint256 oldValue = allowances.allowanceOf(_tokenHolder, _spender);
        if (_subtractedValue > oldValue) {
            allowances.setAllowance(_tokenHolder, _spender, 0);
        } else {
            allowances.subAllowance(_tokenHolder, _spender, _subtractedValue);
        }
        emit Approval(_tokenHolder,_spender, allowances.allowanceOf(_tokenHolder, _spender));
    }
}

// File: contracts/modularERC20/ModularBurnableToken.sol

/**
 * @title Burnable Token
 * @dev Token that can be irreversibly burned (destroyed).
 */
contract ModularBurnableToken is ModularStandardToken {
    event Burn(address indexed burner, uint256 value);

    /**
     * @dev Burns a specific amount of tokens.
     * @param _value The amount of token to be burned.
     */
    function burn(uint256 _value) public {
        _burnAllArgs(msg.sender, _value);
    }

    function _burnAllArgs(address _burner, uint256 _value) internal {
        require(_value <= balances.balanceOf(_burner), "not enough balance to burn");
        // no need to require value <= totalSupply, since that would imply the
        // sender's balance is greater than the totalSupply, which *should* be an assertion failure
        /* uint burnAmount = _value / (10 **16) * (10 **16); */
        balances.subBalance(_burner, _value);
        totalSupply_ = totalSupply_.sub(_value);
        emit Burn(_burner, _value);
        emit Transfer(_burner, address(0), _value);
    }
}

// File: contracts/modularERC20/ModularMintableToken.sol

/**
 * @title Mintable token
 * @dev Simple ERC20 Token example, with mintable token creation
 * @dev Issue: * https://github.com/OpenZeppelin/openzeppelin-solidity/issues/120
 * Based on code by TokenMarketNet: https://github.com/TokenMarketNet/ico/blob/master/contracts/MintableToken.sol
 */
contract ModularMintableToken is ModularBurnableToken {
    event Mint(address indexed to, uint256 value);

    /**
     * @dev Function to mint tokens
     * @param _to The address that will receive the minted tokens.
     * @param _value The amount of tokens to mint.
     * @return A boolean that indicates if the operation was successful.
     */
    function mint(address _to, uint256 _value) public onlyOwner {
        require(_to != address(0), "to address cannot be zero");
        totalSupply_ = totalSupply_.add(_value);
        balances.addBalance(_to, _value);
        emit Mint(_to, _value);
        emit Transfer(address(0), _to, _value);
    }
}

// File: contracts/modularERC20/ModularPausableToken.sol

/**
 * @title Pausable token
 * @dev MintableToken modified with pausable transfers.
 **/
contract ModularPausableToken is ModularMintableToken {

    event Pause();
    event Unpause();
    event GlobalPauseSet(address indexed newGlobalPause);

    /**
    * @dev Modifier to make a function callable only when the contract is not paused.
    */
    modifier whenNotPaused() {
        require(!paused, "Token Paused");
        _;
    }

    /**
    * @dev Modifier to make a function callable only when the contract is paused.
    */
    modifier whenPaused() {
        require(paused, "Token Not Paused");
        _;
    }

    /**
    * @dev called by the owner to pause, triggers stopped state
    */
    function pause() public onlyOwner whenNotPaused {
        paused = true;
        emit Pause();
    }

    /**
    * @dev called by the owner to unpause, returns to normal state
    */
    function unpause() public onlyOwner whenPaused {
        paused = false;
        emit Unpause();
    }


    //All erc20 transactions are paused when not on the supported fork
    modifier onSupportedChain() {
        globalPause.requireNotPaused();
        _;
    }

    function setGlobalPause(address _newGlobalPause) external onlyOwner {
        globalPause = GlobalPause(_newGlobalPause);
        emit GlobalPauseSet(_newGlobalPause);
    }
    
    function _transferAllArgs(address _from, address _to, uint256 _value) internal whenNotPaused onSupportedChain {
        super._transferAllArgs(_from, _to, _value);
    }

    function _transferFromAllArgs(address _from, address _to, uint256 _value, address _spender) internal whenNotPaused onSupportedChain {
        super._transferFromAllArgs(_from, _to, _value, _spender);
    }

    function _approveAllArgs(address _spender, uint256 _value, address _tokenHolder) internal whenNotPaused onSupportedChain {
        super._approveAllArgs(_spender, _value, _tokenHolder);
    }

    function _increaseApprovalAllArgs(address _spender, uint256 _addedValue, address _tokenHolder) internal whenNotPaused onSupportedChain {
        super._increaseApprovalAllArgs(_spender, _addedValue, _tokenHolder);
    }

    function _decreaseApprovalAllArgs(address _spender, uint256 _subtractedValue, address _tokenHolder) internal whenNotPaused onSupportedChain {
        super._decreaseApprovalAllArgs(_spender, _subtractedValue, _tokenHolder);
    }

    function _burnAllArgs(address _burner, uint256 _value) internal whenNotPaused onSupportedChain {
        super._burnAllArgs(_burner, _value);
    }
}

// File: contracts/BurnableTokenWithBounds.sol

/**
 * @title Burnable Token WithBounds
 * @dev Burning functions as redeeming money from the system. The platform will keep track of who burns coins,
 * and will send them back the equivalent amount of money (rounded down to the nearest cent).
 */
contract BurnableTokenWithBounds is ModularPausableToken {

    event SetBurnBounds(uint256 newMin, uint256 newMax);

    function _burnAllArgs(address _burner, uint256 _value) internal {
        require(_value >= burnMin, "below min burn bound");
        require(_value <= burnMax, "exceeds max burn bound");
        super._burnAllArgs(_burner, _value);
    }

    //Change the minimum and maximum amount that can be burned at once. Burning
    //may be disabled by setting both to 0 (this will not be done under normal
    //operation, but we can't add checks to disallow it without losing a lot of
    //flexibility since burning could also be as good as disabled
    //by setting the minimum extremely high, and we don't want to lock
    //in any particular cap for the minimum)
    function setBurnBounds(uint256 _min, uint256 _max) public onlyOwner {
        require(_min <= _max, "min > max");
        burnMin = _min;
        burnMax = _max;
        emit SetBurnBounds(_min, _max);
    }
}

// File: contracts/CompliantToken.sol

/**
 * @title Compliant Token
 */
contract CompliantToken is ModularPausableToken {
    // In order to deposit USD and receive newly minted TrueUSD, or to burn TrueUSD to
    // redeem it for USD, users must first go through a KYC/AML check (which includes proving they
    // control their ethereum address using AddressValidation.sol).
    bytes32 public constant HAS_PASSED_KYC_AML = "hasPassedKYC/AML";
    // Redeeming ("burning") TrueUSD tokens for USD requires a separate flag since
    // users must not only be KYC/AML'ed but must also have bank information on file.
    bytes32 public constant CAN_BURN = "canBurn";
    // Addresses can also be blacklisted, preventing them from sending or receiving
    // TrueUSD. This can be used to prevent the use of TrueUSD by bad actors in
    // accordance with law enforcement. See [TrueCoin Terms of Use](https://www.trusttoken.com/trueusd/terms-of-use)
    bytes32 public constant IS_BLACKLISTED = "isBlacklisted";

    event WipeBlacklistedAccount(address indexed account, uint256 balance);
    event SetRegistry(address indexed registry);
    
    
    /**
    * @dev Point to the registry that contains all compliance related data
    @param _registry The address of the registry instance
    */
    function setRegistry(Registry _registry) public onlyOwner {
        registry = _registry;
        emit SetRegistry(registry);
    }

    function mint(address _to, uint256 _value) public onlyOwner {
        require(registry.hasAttribute1ButNotAttribute2(_to, HAS_PASSED_KYC_AML, IS_BLACKLISTED), "_to cannot mint");
        super.mint(_to, _value);
    }

    function _burnAllArgs(address _burner, uint256 _value) internal {
        require(registry.hasAttribute1ButNotAttribute2(_burner, CAN_BURN, IS_BLACKLISTED), "_burner cannot burn");
        super._burnAllArgs(_burner, _value);
    }

    // A blacklisted address can't call transferFrom
    function _transferFromAllArgs(address _from, address _to, uint256 _value, address _spender) internal {
        require(!registry.hasAttribute(_spender, IS_BLACKLISTED), "_spender is blacklisted");
        super._transferFromAllArgs(_from, _to, _value, _spender);
    }

    // transfer and transferFrom both call this function, so check blacklist here.
    function _transferAllArgs(address _from, address _to, uint256 _value) internal {
        require(!registry.eitherHaveAttribute(_from, _to, IS_BLACKLISTED), "blacklisted");
        super._transferAllArgs(_from, _to, _value);
    }

    // Destroy the tokens owned by a blacklisted account
    function wipeBlacklistedAccount(address _account) public onlyOwner {
        require(registry.hasAttribute(_account, IS_BLACKLISTED), "_account is not blacklisted");
        uint256 oldValue = balanceOf(_account);
        balances.setBalance(_account, 0);
        totalSupply_ = totalSupply_.sub(oldValue);
        emit WipeBlacklistedAccount(_account, oldValue);
        emit Transfer(_account, address(0), oldValue);
    }
}

// File: contracts/RedeemableToken.sol

/** @title Redeemable Token 
Makes transfers to 0x0 alias to Burn
Implement Redemption Addresses
*/
contract RedeemableToken is ModularPausableToken {

    event RedemptionAddress(address indexed addr);

    function _transferAllArgs(address _from, address _to, uint256 _value) internal {
        if (_to == address(0)) {
            // transfer to 0x0 becomes burn
            _burnAllArgs(_from, _value);
        } else if (uint(_to) <= redemptionAddressCount) {
            // Trnasfers to redemption addresses becomes burn
            super._transferAllArgs(_from, _to, _value);
            _burnAllArgs(_to, _value);
        } else {
            super._transferAllArgs(_from, _to, _value);
        }
    }
    
    // StandardToken's transferFrom doesn't have to check for
    // _to != 0x0, but we do because we redirect 0x0 transfers to burns, but
    // we do not redirect transferFrom
    function _transferFromAllArgs(address _from, address _to, uint256 _value, address _spender) internal {
        require(_to != address(0), "_to address is 0x0");
        super._transferFromAllArgs(_from, _to, _value, _spender);
    }

    function incrementRedemptionAddressCount() external onlyOwner {
        emit RedemptionAddress(address(redemptionAddressCount));
        redemptionAddressCount += 1;
    }
}

// File: contracts/DepositToken.sol

/** @title Deposit Token
Allows users to register their address so that all transfers to deposit addresses
of the registered address will be forwarded to the registered address.  
For example for address 0x9052BE99C9C8C5545743859e4559A751bDe4c923,
its deposit addresses are all addresses between
0x9052BE99C9C8C5545743859e4559A75100000 and 0x9052BE99C9C8C5545743859e4559A751fffff
Transfers to 0x9052BE99C9C8C5545743859e4559A75100005 will be forwared to 0x9052BE99C9C8C5545743859e4559A751bDe4c923
 */
contract DepositToken is ModularPausableToken {
    
    bytes32 public constant IS_DEPOSIT_ADDRESS = "isDepositAddress"; 

    function _transferAllArgs(address _from, address _to, uint256 _value) internal {
        address shiftedAddress = address(uint(_to) >> 20);
        uint depositAddressValue = registry.getAttributeValue(shiftedAddress, IS_DEPOSIT_ADDRESS);
        if (depositAddressValue != 0) {
            super._transferAllArgs(_from, _to, _value);
            super._transferAllArgs(_to, address(depositAddressValue), _value);
        } else {
            super._transferAllArgs(_from, _to, _value);
        }
    }

    function mint(address _to, uint256 _value) public onlyOwner {
        address shiftedAddress = address(uint(_to) >> 20);
        uint depositAddressValue = registry.getAttributeValue(shiftedAddress, IS_DEPOSIT_ADDRESS);
        if (depositAddressValue != 0) {
            super.mint(_to, _value);
            super._transferAllArgs(_to, address(depositAddressValue), _value);
        } else {
            super.mint(_to, _value);
        }
    }
}

// File: contracts/GasRefundToken.sol

/**  
@title Gas Refund Token
Allow any user to sponsor gas refunds for transfer and mints. Utilitzes the gas refund mechanism in EVM
Each time an non-empty storage slot is set to 0, evm refund 15,000 (19,000 after Constantinople) to the sender
of the transaction. 
*/
contract GasRefundToken is ModularPausableToken {

    function sponsorGas() external {
        uint256 len = gasRefundPool.length;
        gasRefundPool.length = len + 9;
        gasRefundPool[len] = 1;
        gasRefundPool[len + 1] = 1;
        gasRefundPool[len + 2] = 1;
        gasRefundPool[len + 3] = 1;
        gasRefundPool[len + 4] = 1;
        gasRefundPool[len + 5] = 1;
        gasRefundPool[len + 6] = 1;
        gasRefundPool[len + 7] = 1;
        gasRefundPool[len + 8] = 1;
    }  

    /**  
    @dev refund upto 45,000 (57,000 after Constantinople) gas for functions with 
    gasRefund modifier.
    */
    modifier gasRefund {
        uint256 len = gasRefundPool.length;
        if (len != 0) {
            gasRefundPool[--len] = 0;
            gasRefundPool[--len] = 0;
            gasRefundPool[--len] = 0;
            gasRefundPool.length = len;
        }   
        _;  
    }

    /**  
    *@dev Return the remaining sponsored gas slots
    */
    function remainingGasRefundPool() public view returns(uint) {
        return gasRefundPool.length;
    }

    function _transferAllArgs(address _from, address _to, uint256 _value) internal gasRefund {
        super._transferAllArgs(_from, _to, _value);
    }

    function mint(address _to, uint256 _value) public onlyOwner gasRefund {
        super.mint(_to, _value);
    }
}

// File: contracts/TrueCoinReceiver.sol

contract TrueCoinReceiver {
    function tokenFallback( address from, uint256 value ) external;
}

// File: contracts/TokenWithHook.sol

/** @title Token With Hook
If tokens are transferred to a Registered Token Receiver contract, trigger the tokenFallback function in the 
Token Receiver contract. Assume all Registered Token Receiver contract implements the TrueCoinReceiver 
interface. If the tokenFallback reverts, the entire transaction reverts. 
 */
contract TokenWithHook is ModularPausableToken {
    
    bytes32 public constant IS_REGISTERED_CONTRACT = "isRegisteredContract"; 

    function _transferAllArgs(address _from, address _to, uint256 _value) internal {
        uint length;
        assembly { length := extcodesize(_to) }
        super._transferAllArgs(_from, _to, _value);
        if (length > 0) {
            if(registry.hasAttribute(_to, IS_REGISTERED_CONTRACT)) {
                TrueCoinReceiver(_to).tokenFallback(_from, _value);
            }
        }
    }
}

// File: contracts/DelegateERC20.sol

/** @title DelegateERC20
Accept forwarding delegation calls from the old TrueUSD (V1) contract. THis way the all the ERC20
functions in the old contract still works (except Burn). 
*/
contract DelegateERC20 is ModularStandardToken {

    address public constant DELEGATE_FROM = 0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E;
    
    modifier onlyDelegateFrom() {
        require(msg.sender == DELEGATE_FROM);
        _;
    }

    function delegateTotalSupply() public view returns (uint256) {
        return totalSupply();
    }

    function delegateBalanceOf(address who) public view returns (uint256) {
        return balanceOf(who);
    }

    function delegateTransfer(address to, uint256 value, address origSender) public onlyDelegateFrom returns (bool) {
        _transferAllArgs(origSender, to, value);
        return true;
    }

    function delegateAllowance(address owner, address spender) public view returns (uint256) {
        return allowance(owner, spender);
    }

    function delegateTransferFrom(address from, address to, uint256 value, address origSender) public onlyDelegateFrom returns (bool) {
        _transferFromAllArgs(from, to, value, origSender);
        return true;
    }

    function delegateApprove(address spender, uint256 value, address origSender) public onlyDelegateFrom returns (bool) {
        _approveAllArgs(spender, value, origSender);
        return true;
    }

    function delegateIncreaseApproval(address spender, uint addedValue, address origSender) public onlyDelegateFrom returns (bool) {
        _increaseApprovalAllArgs(spender, addedValue, origSender);
        return true;
    }

    function delegateDecreaseApproval(address spender, uint subtractedValue, address origSender) public onlyDelegateFrom returns (bool) {
        _decreaseApprovalAllArgs(spender, subtractedValue, origSender);
        return true;
    }
}

// File: contracts/TrueUSD.sol

/** @title TrueUSD
* @dev This is the top-level ERC20 contract, but most of the interesting functionality is
* inherited - see the documentation on the corresponding contracts.
*/
contract TrueUSD is 
ModularPausableToken, 
BurnableTokenWithBounds, 
CompliantToken,
RedeemableToken,
TokenWithHook,
DelegateERC20,
DepositToken,
GasRefundToken {
    using SafeMath for *;

    uint8 public constant DECIMALS = 18;
    uint8 public constant ROUNDING = 2;

    event ChangeTokenName(string newName, string newSymbol);

    /**  
    *@dev set the totalSupply of the contract for delegation purposes
    Can only be set once.
    */
    function initialize(uint256 _totalSupply) public {
        require(!initialized, "already initialized");
        initialized = true;
        owner = msg.sender;
        totalSupply_ = _totalSupply;
        burnMin = 10000 * 10**uint256(DECIMALS);
        burnMax = 20000000 * 10**uint256(DECIMALS);
        name = "TrueUSD";
        symbol = "TUSD";
    }

    function changeTokenName(string _name, string _symbol) external onlyOwner {
        name = _name;
        symbol = _symbol;
        emit ChangeTokenName(_name, _symbol);
    }

    /**  
    *@dev send all eth balance in the TrueUSD contract to another address
    */
    function reclaimEther(address _to) external onlyOwner {
        _to.transfer(address(this).balance);
    }

    /**  
    *@dev send all token balance of an arbitary erc20 token
    in the TrueUSD contract to another address
    */
    function reclaimToken(ERC20 token, address _to) external onlyOwner {
        uint256 balance = token.balanceOf(this);
        token.transfer(_to, balance);
    }

    /**  
    *@dev allows owner of TrueUSD to gain ownership of any contract that TrueUSD currently owns
    */
    function reclaimContract(Ownable _ownable) external onlyOwner {
        _ownable.transferOwnership(owner);
    }

    function _burnAllArgs(address _burner, uint256 _value) internal {
        //round down burn amount so that the lowest amount allowed is 1 cent
        uint burnAmount = _value.div(10 ** uint256(DECIMALS - ROUNDING)).mul(10 ** uint256(DECIMALS - ROUNDING));
        super._burnAllArgs(_burner, burnAmount);
    }
}

// File: contracts/Proxy/Proxy.sol

/**
 * @title Proxy
 * @dev Gives the possibility to delegate any call to a foreign implementation.
 */
contract Proxy {
    
    /**
    * @dev Tells the address of the implementation where every call will be delegated.
    * @return address of the implementation to which it will be delegated
    */
    function implementation() public view returns (address);

    /**
    * @dev Fallback function allowing to perform a delegatecall to the given implementation.
    * This function will return whatever the implementation call returns
    */
    function() external payable {
        address _impl = implementation();
        require(_impl != address(0), "implementation contract not set");
        
        assembly {
            let ptr := mload(0x40)
            calldatacopy(ptr, 0, calldatasize)
            let result := delegatecall(gas, _impl, ptr, calldatasize, 0, 0)
            let size := returndatasize
            returndatacopy(ptr, 0, size)

            switch result
            case 0 { revert(ptr, size) }
            default { return(ptr, size) }
        }
    }
}

// File: contracts/Proxy/UpgradeabilityProxy.sol

/**
 * @title UpgradeabilityProxy
 * @dev This contract represents a proxy where the implementation address to which it will delegate can be upgraded
 */
contract UpgradeabilityProxy is Proxy {
    /**
    * @dev This event will be emitted every time the implementation gets upgraded
    * @param implementation representing the address of the upgraded implementation
    */
    event Upgraded(address indexed implementation);

    // Storage position of the address of the current implementation
    bytes32 private constant implementationPosition = keccak256("trueUSD.proxy.implementation");

    /**
    * @dev Tells the address of the current implementation
    * @return address of the current implementation
    */
    function implementation() public view returns (address impl) {
        bytes32 position = implementationPosition;
        assembly {
          impl := sload(position)
        }
    }

    /**
    * @dev Sets the address of the current implementation
    * @param newImplementation address representing the new implementation to be set
    */
    function _setImplementation(address newImplementation) internal {
        bytes32 position = implementationPosition;
        assembly {
          sstore(position, newImplementation)
        }
    }

    /**
    * @dev Upgrades the implementation address
    * @param newImplementation representing the address of the new implementation to be set
    */
    function _upgradeTo(address newImplementation) internal {
        address currentImplementation = implementation();
        require(currentImplementation != newImplementation);
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }
}

// File: contracts/Proxy/OwnedUpgradeabilityProxy.sol

/**
 * @title OwnedUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with basic authorization control functionalities
 */
contract OwnedUpgradeabilityProxy is UpgradeabilityProxy {
    /**
    * @dev Event to show ownership has been transferred
    * @param previousOwner representing the address of the previous owner
    * @param newOwner representing the address of the new owner
    */
    event ProxyOwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
    * @dev Event to show ownership transfer is pending
    * @param currentOwner representing the address of the current owner
    * @param pendingOwner representing the address of the pending owner
    */
    event NewPendingOwner(address currentOwner, address pendingOwner);
    
    // Storage position of the owner and pendingOwner of the contract
    bytes32 private constant proxyOwnerPosition = keccak256("trueUSD.proxy.owner");
    bytes32 private constant pendingProxyOwnerPosition = keccak256("trueUSD.pending.proxy.owner");

    /**
    * @dev the constructor sets the original owner of the contract to the sender account.
    */
    constructor() public {
        _setUpgradeabilityOwner(msg.sender);
    }

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyProxyOwner() {
        require(msg.sender == proxyOwner(), "only Proxy Owner");
        _;
    }

    /**
    * @dev Throws if called by any account other than the pending owner.
    */
    modifier onlyPendingProxyOwner() {
        require(msg.sender == pendingProxyOwner(), "only pending Proxy Owner");
        _;
    }

    /**
    * @dev Tells the address of the owner
    * @return the address of the owner
    */
    function proxyOwner() public view returns (address owner) {
        bytes32 position = proxyOwnerPosition;
        assembly {
            owner := sload(position)
        }
    }

    /**
    * @dev Tells the address of the owner
    * @return the address of the owner
    */
    function pendingProxyOwner() public view returns (address pendingOwner) {
        bytes32 position = pendingProxyOwnerPosition;
        assembly {
            pendingOwner := sload(position)
        }
    }

    /**
    * @dev Sets the address of the owner
    */
    function _setUpgradeabilityOwner(address newProxyOwner) internal {
        bytes32 position = proxyOwnerPosition;
        assembly {
            sstore(position, newProxyOwner)
        }
    }

    /**
    * @dev Sets the address of the owner
    */
    function _setPendingUpgradeabilityOwner(address newPendingProxyOwner) internal {
        bytes32 position = pendingProxyOwnerPosition;
        assembly {
            sstore(position, newPendingProxyOwner)
        }
    }

    /**
    * @dev Allows the current owner to transfer control of the contract to a newOwner.
    *changes the pending owner to newOwner. But doesn't actually transfer
    * @param newOwner The address to transfer ownership to.
    */
    function transferProxyOwnership(address newOwner) external onlyProxyOwner {
        require(newOwner != address(0));
        _setPendingUpgradeabilityOwner(newOwner);
        emit NewPendingOwner(proxyOwner(), newOwner);
    }

    /**
    * @dev Allows the pendingOwner to claim ownership of the proxy
    */
    function claimProxyOwnership() external onlyPendingProxyOwner {
        emit ProxyOwnershipTransferred(proxyOwner(), pendingProxyOwner());
        _setUpgradeabilityOwner(pendingProxyOwner());
        _setPendingUpgradeabilityOwner(address(0));
    }

    /**
    * @dev Allows the proxy owner to upgrade the current version of the proxy.
    * @param implementation representing the address of the new implementation to be set.
    */
    function upgradeTo(address implementation) external onlyProxyOwner {
        _upgradeTo(implementation);
    }
}

// File: contracts/Admin/TokenController.sol

/** @title TokenController
@dev This contract allows us to split ownership of the TrueUSD contract
into two addresses. One, called the "owner" address, has unfettered control of the TrueUSD contract -
it can mint new tokens, transfer ownership of the contract, etc. However to make
extra sure that TrueUSD is never compromised, this owner key will not be used in
day-to-day operations, allowing it to be stored at a heightened level of security.
Instead, the owner appoints an various "admin" address. 
There are 3 different types of admin addresses;  MintKey, MintRatifier, and MintPauser. 
MintKey can request and revoke mints one at a time.
MintPausers can pause individual mints or pause all mints.
MintRatifiers can approve and finalize mints with enough approval.

There are three levels of mints: instant mint, ratified mint, and multiSig mint. Each have a different threshold
and deduct from a different pool.
Instant mint has the lowest threshold and finalizes instantly without any ratifiers. Deduct from instant mint pool,
which can be refilled by one ratifier.
Ratify mint has the second lowest threshold and finalizes with one ratifier approval. Deduct from ratify mint pool,
which can be refilled by three ratifiers.
MultiSig mint has the highest threshold and finalizes with three ratifier approvals. Deduct from multiSig mint pool,
which can only be refilled by the owner.
*/

contract TokenController {
    using SafeMath for uint256;

    struct MintOperation {
        address to;
        uint256 value;
        uint256 requestedBlock;
        uint256 numberOfApproval;
        bool paused;
        mapping(address => bool) approved; 
    }

    address public owner;
    address public pendingOwner;

    bool public initialized;

    uint256 public instantMintThreshold;
    uint256 public ratifiedMintThreshold;
    uint256 public multiSigMintThreshold;


    uint256 public instantMintLimit; 
    uint256 public ratifiedMintLimit; 
    uint256 public multiSigMintLimit;

    uint256 public instantMintPool; 
    uint256 public ratifiedMintPool; 
    uint256 public multiSigMintPool;
    address[2] public ratifiedPoolRefillApprovals;

    uint8 constant public RATIFY_MINT_SIGS = 1; //number of approvals needed to finalize a Ratified Mint
    uint8 constant public MULTISIG_MINT_SIGS = 3; //number of approvals needed to finalize a MultiSig Mint

    bool public mintPaused;
    uint256 public mintReqInvalidBeforeThisBlock; //all mint request before this block are invalid
    address public mintKey;
    MintOperation[] public mintOperations; //list of a mint requests
    
    TrueUSD public trueUSD;
    Registry public registry;
    address public trueUsdFastPause;

    bytes32 constant public IS_MINT_PAUSER = "isTUSDMintPausers";
    bytes32 constant public IS_MINT_RATIFIER = "isTUSDMintRatifier";
    bytes32 constant public IS_REDEMPTION_ADMIN = "isTUSDRedemptionAdmin";

    modifier onlyFastPauseOrOwner() {
        require(msg.sender == trueUsdFastPause || msg.sender == owner, "must be pauser or owner");
        _;
    }

    modifier onlyMintKeyOrOwner() {
        require(msg.sender == mintKey || msg.sender == owner, "must be mintKey or owner");
        _;
    }

    modifier onlyMintPauserOrOwner() {
        require(registry.hasAttribute(msg.sender, IS_MINT_PAUSER) || msg.sender == owner, "must be pauser or owner");
        _;
    }

    modifier onlyMintRatifierOrOwner() {
        require(registry.hasAttribute(msg.sender, IS_MINT_RATIFIER) || msg.sender == owner, "must be ratifier or owner");
        _;
    }

    modifier onlyOwnerOrRedemptionAdmin() {
        require(registry.hasAttribute(msg.sender, IS_REDEMPTION_ADMIN) || msg.sender == owner, "must be Redemption admin or owner");
        _;
    }

    //mint operations by the mintkey cannot be processed on when mints are paused
    modifier mintNotPaused() {
        if (msg.sender != owner) {
            require(!mintPaused, "minting is paused");
        }
        _;
    }
    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);
    event NewOwnerPending(address indexed currentOwner, address indexed pendingOwner);
    event SetRegistry(address indexed registry);
    event TransferChild(address indexed child, address indexed newOwner);
    event RequestReclaimContract(address indexed other);
    event SetTrueUSD(TrueUSD newContract);
    event TrueUsdInitialized();
    
    event RequestMint(address indexed to, uint256 indexed value, uint256 opIndex, address mintKey);
    event FinalizeMint(address indexed to, uint256 indexed value, uint256 opIndex, address mintKey);
    event InstantMint(address indexed to, uint256 indexed value, address indexed mintKey);
    
    event TransferMintKey(address indexed previousMintKey, address indexed newMintKey);
    event MintRatified(uint256 indexed opIndex, address indexed ratifier);
    event RevokeMint(uint256 opIndex);
    event AllMintsPaused(bool status);
    event MintPaused(uint opIndex, bool status);
    event MintApproved(address approver, uint opIndex);
    event TrueUsdFastPauseSet(address _newFastPause);

    event MintThresholdChanged(uint instant, uint ratified, uint multiSig);
    event MintLimitsChanged(uint instant, uint ratified, uint multiSig);
    event InstantPoolRefilled();
    event RatifyPoolRefilled();
    event MultiSigPoolRefilled();

    /*
    ========================================
    Ownership functions
    ========================================
    */

    function initialize() external {
        require(!initialized, "already initialized");
        owner = msg.sender;
        initialized = true;
    }

    /**
    * @dev Throws if called by any account other than the owner.
    */
    modifier onlyOwner() {
        require(msg.sender == owner, "only Owner");
        _;
    }

    /**
    * @dev Modifier throws if called by any account other than the pendingOwner.
    */
    modifier onlyPendingOwner() {
        require(msg.sender == pendingOwner);
        _;
    }

    /**
    * @dev Allows the current owner to set the pendingOwner address.
    * @param newOwner The address to transfer ownership to.
    */
    function transferOwnership(address newOwner) external onlyOwner {
        pendingOwner = newOwner;
        emit NewOwnerPending(owner, pendingOwner);
    }

    /**
    * @dev Allows the pendingOwner address to finalize the transfer.
    */
    function claimOwnership() external onlyPendingOwner {
        emit OwnershipTransferred(owner, pendingOwner);
        owner = pendingOwner;
        pendingOwner = address(0);
    }
    
    /*
    ========================================
    proxy functions
    ========================================
    */

    function transferTusdProxyOwnership(address _newOwner) external onlyOwner {
        OwnedUpgradeabilityProxy(trueUSD).transferProxyOwnership(_newOwner);
    }

    function claimTusdProxyOwnership() external onlyOwner {
        OwnedUpgradeabilityProxy(trueUSD).claimProxyOwnership();
    }

    function upgradeTusdProxyImplTo(address _implementation) external onlyOwner {
        OwnedUpgradeabilityProxy(trueUSD).upgradeTo(_implementation);
    }

    /*
    ========================================
    Minting functions
    ========================================
    */

    /**
     * @dev set the threshold for a mint to be considered an instant mint, ratify mint and multiSig mint
     Instant mint requires no approval, ratify mint requires 1 approval and multiSig mint requires 3 approvals
     */
    function setMintThresholds(uint256 _instant, uint256 _ratified, uint256 _multiSig) external onlyOwner {
        require(_instant < _ratified && _ratified < _multiSig);
        instantMintThreshold = _instant;
        ratifiedMintThreshold = _ratified;
        multiSigMintThreshold = _multiSig;
        emit MintThresholdChanged(_instant, _ratified, _multiSig);
    }


    /**
     * @dev set the limit of each mint pool. For example can only instant mint up to the instant mint pool limit
     before needing to refill
     */
    function setMintLimits(uint256 _instant, uint256 _ratified, uint256 _multiSig) external onlyOwner {
        require(_instant < _ratified && _ratified < _multiSig);
        instantMintLimit = _instant;
        ratifiedMintLimit = _ratified;
        multiSigMintLimit = _multiSig;
        emit MintLimitsChanged(_instant, _ratified, _multiSig);
    }

    /**
     * @dev Ratifier can refill instant mint pool
     */
    function refillInstantMintPool() external onlyMintRatifierOrOwner {
        ratifiedMintPool = ratifiedMintPool.sub(instantMintLimit.sub(instantMintPool));
        instantMintPool = instantMintLimit;
        emit InstantPoolRefilled();
    }

    /**
     * @dev Owner or 3 ratifiers can refill Ratified Mint Pool
     */
    function refillRatifiedMintPool() external onlyMintRatifierOrOwner {
        if (msg.sender != owner) {
            address[2] memory refillApprovals = ratifiedPoolRefillApprovals;
            require(msg.sender != refillApprovals[0] && msg.sender != refillApprovals[1]);
            if (refillApprovals[0] == address(0)) {
                ratifiedPoolRefillApprovals[0] = msg.sender;
                return;
            } 
            if (refillApprovals[1] == address(0)) {
                ratifiedPoolRefillApprovals[1] = msg.sender;
                return;
            } 
        }
        delete ratifiedPoolRefillApprovals; // clears the whole array
        multiSigMintPool = multiSigMintPool.sub(ratifiedMintLimit.sub(ratifiedMintPool));
        ratifiedMintPool = ratifiedMintLimit;
        emit RatifyPoolRefilled();
    }

    /**
     * @dev Owner can refill MultiSig Mint Pool
     */
    function refillMultiSigMintPool() external onlyOwner {
        multiSigMintPool = multiSigMintLimit;
        emit MultiSigPoolRefilled();
    }

    /**
     * @dev mintKey initiates a request to mint _value TrueUSD for account _to
     * @param _to the address to mint to
     * @param _value the amount requested
     */
    function requestMint(address _to, uint256 _value) external mintNotPaused onlyMintKeyOrOwner {
        MintOperation memory op = MintOperation(_to, _value, block.number, 0, false);
        emit RequestMint(_to, _value, mintOperations.length, msg.sender);
        mintOperations.push(op);
    }


    /**
     * @dev Instant mint without ratification if the amount is less than instantMintThreshold and instantMintPool
     * @param _to the address to mint to
     * @param _value the amount minted
     */
    function instantMint(address _to, uint256 _value) external mintNotPaused onlyMintKeyOrOwner {
        require(_value <= instantMintThreshold, "over the instant mint threshold");
        require(_value <= instantMintPool, "instant mint pool is dry");
        instantMintPool = instantMintPool.sub(_value);
        emit InstantMint(_to, _value, msg.sender);
        trueUSD.mint(_to, _value);
    }


    /**
     * @dev ratifier ratifies a request mint. If the number of ratifiers that signed off is greater than 
     the number of approvals required, the request is finalized
     * @param _index the index of the requestMint to ratify
     * @param _to the address to mint to
     * @param _value the amount requested
     */
    function ratifyMint(uint256 _index, address _to, uint256 _value) external mintNotPaused onlyMintRatifierOrOwner {
        MintOperation memory op = mintOperations[_index];
        require(op.to == _to, "to address does not match");
        require(op.value == _value, "amount does not match");
        require(!mintOperations[_index].approved[msg.sender], "already approved");
        mintOperations[_index].approved[msg.sender] = true;
        mintOperations[_index].numberOfApproval = mintOperations[_index].numberOfApproval.add(1);
        emit MintRatified(_index, msg.sender);
        if (hasEnoughApproval(mintOperations[_index].numberOfApproval, _value)){
            finalizeMint(_index);
        }
    }

    /**
     * @dev finalize a mint request, mint the amount requested to the specified address
     @param _index of the request (visible in the RequestMint event accompanying the original request)
     */
    function finalizeMint(uint256 _index) public mintNotPaused {
        MintOperation memory op = mintOperations[_index];
        address to = op.to;
        uint256 value = op.value;
        if (msg.sender != owner) {
            require(canFinalize(_index));
            _subtractFromMintPool(value);
        }
        delete mintOperations[_index];
        trueUSD.mint(to, value);
        emit FinalizeMint(to, value, _index, msg.sender);
    }

    /**
     * assumption: only invoked when canFinalize
     */
    function _subtractFromMintPool(uint256 _value) internal {
        if (_value <= ratifiedMintPool && _value <= ratifiedMintThreshold) {
            ratifiedMintPool = ratifiedMintPool.sub(_value);
        } else {
            multiSigMintPool = multiSigMintPool.sub(_value);
        }
    }

    /**
     * @dev compute if the number of approvals is enough for a given mint amount
     */
    function hasEnoughApproval(uint256 _numberOfApproval, uint256 _value) public view returns (bool) {
        if (_value <= ratifiedMintPool && _value <= ratifiedMintThreshold) {
            if (_numberOfApproval >= RATIFY_MINT_SIGS){
                return true;
            }
        }
        if (_value <= multiSigMintPool && _value <= multiSigMintThreshold) {
            if (_numberOfApproval >= MULTISIG_MINT_SIGS){
                return true;
            }
        }
        if (msg.sender == owner) {
            return true;
        }
        return false;
    }

    /**
     * @dev compute if a mint request meets all the requirements to be finalized
     utility function for a front end
     */
    function canFinalize(uint256 _index) public view returns(bool) {
        MintOperation memory op = mintOperations[_index];
        require(op.requestedBlock > mintReqInvalidBeforeThisBlock, "this mint is invalid"); //also checks if request still exists
        require(!op.paused, "this mint is paused");
        require(hasEnoughApproval(op.numberOfApproval, op.value), "not enough approvals");
        return true;
    }

    /** 
    *@dev revoke a mint request, Delete the mintOperation
    *@param index of the request (visible in the RequestMint event accompanying the original request)
    */
    function revokeMint(uint256 _index) external onlyMintKeyOrOwner {
        delete mintOperations[_index];
        emit RevokeMint(_index);
    }

    function mintOperationCount() public view returns (uint256) {
        return mintOperations.length;
    }

    /*
    ========================================
    Key management
    ========================================
    */

    /** 
    *@dev Replace the current mintkey with new mintkey 
    *@param _newMintKey address of the new mintKey
    */
    function transferMintKey(address _newMintKey) external onlyOwner {
        require(_newMintKey != address(0), "new mint key cannot be 0x0");
        emit TransferMintKey(mintKey, _newMintKey);
        mintKey = _newMintKey;
    }
 
    /*
    ========================================
    Mint Pausing
    ========================================
    */

    /** 
    *@dev invalidates all mint request initiated before the current block 
    */
    function invalidateAllPendingMints() external onlyOwner {
        mintReqInvalidBeforeThisBlock = block.number;
    }

    /** 
    *@dev pause any further mint request and mint finalizations 
    */
    function pauseMints() external onlyMintPauserOrOwner {
        mintPaused = true;
        emit AllMintsPaused(true);
    }

    /** 
    *@dev unpause any further mint request and mint finalizations 
    */
    function unpauseMints() external onlyOwner {
        mintPaused = false;
        emit AllMintsPaused(false);
    }

    /** 
    *@dev pause a specific mint request
    *@param  _opIndex the index of the mint request the caller wants to pause
    */
    function pauseMint(uint _opIndex) external onlyMintPauserOrOwner {
        mintOperations[_opIndex].paused = true;
        emit MintPaused(_opIndex, true);
    }

    /** 
    *@dev unpause a specific mint request
    *@param  _opIndex the index of the mint request the caller wants to unpause
    */
    function unpauseMint(uint _opIndex) external onlyOwner {
        mintOperations[_opIndex].paused = false;
        emit MintPaused(_opIndex, false);
    }

    /*
    ========================================
    set and claim contracts, administrative
    ========================================
    */


    /** 
    *@dev Increment redemption address count of TrueUSD
    */
    function incrementRedemptionAddressCount() external onlyOwnerOrRedemptionAdmin {
        trueUSD.incrementRedemptionAddressCount();
    }

    /** 
    *@dev Update this contract's trueUSD pointer to newContract (e.g. if the
    contract is upgraded)
    */
    function setTrueUSD(TrueUSD _newContract) external onlyOwner {
        trueUSD = _newContract;
        emit SetTrueUSD(_newContract);
    }

    function initializeTrueUSD(uint256 _totalSupply) external onlyOwner {
        trueUSD.initialize(_totalSupply);
        emit TrueUsdInitialized();
    }

    /** 
    *@dev Update this contract's registry pointer to _registry
    */
    function setRegistry(Registry _registry) external onlyOwner {
        registry = _registry;
        emit SetRegistry(registry);
    }

    /** 
    *@dev update TrueUSD's name and symbol
    */
    function changeTokenName(string _name, string _symbol) external onlyOwner {
        trueUSD.changeTokenName(_name, _symbol);
    }

    /** 
    *@dev Swap out TrueUSD's permissions registry
    *@param _registry new registry for trueUSD
    */
    function setTusdRegistry(Registry _registry) external onlyOwner {
        trueUSD.setRegistry(_registry);
    }

    /** 
    *@dev Claim ownership of an arbitrary HasOwner contract
    */
    function issueClaimOwnership(address _other) public onlyOwner {
        HasOwner other = HasOwner(_other);
        other.claimOwnership();
    }

    /** 
    *@dev calls setBalanceSheet(address) and setAllowanceSheet(address) on the _proxy contract
    @param _proxy the contract that inplments setBalanceSheet and setAllowanceSheet
    @param _balanceSheet HasOwner storage contract
    @param _allowanceSheet HasOwner storage contract
    */
    function claimStorageForProxy(
        TrueUSD _proxy,
        HasOwner _balanceSheet,
        HasOwner _allowanceSheet) external onlyOwner {

        //call to claim the storage contract with the new delegate contract
        _proxy.setBalanceSheet(_balanceSheet);
        _proxy.setAllowanceSheet(_allowanceSheet);
    }

    /** 
    *@dev Transfer ownership of _child to _newOwner.
    Can be used e.g. to upgrade this TokenController contract.
    *@param _child contract that tokenController currently Owns 
    *@param _newOwner new owner/pending owner of _child
    */
    function transferChild(HasOwner _child, address _newOwner) external onlyOwner {
        _child.transferOwnership(_newOwner);
        emit TransferChild(_child, _newOwner);
    }

    /** 
    *@dev Transfer ownership of a contract from trueUSD to this TokenController.
    Can be used e.g. to reclaim balance sheet
    in order to transfer it to an upgraded TrueUSD contract.
    *@param _other address of the contract to claim ownership of
    */
    function requestReclaimContract(Ownable _other) public onlyOwner {
        trueUSD.reclaimContract(_other);
        emit RequestReclaimContract(_other);
    }

    /** 
    *@dev send all ether in trueUSD address to the owner of tokenController 
    */
    function requestReclaimEther() external onlyOwner {
        trueUSD.reclaimEther(owner);
    }

    /** 
    *@dev transfer all tokens of a particular type in trueUSD address to the
    owner of tokenController 
    *@param _token token address of the token to transfer
    */
    function requestReclaimToken(ERC20 _token) external onlyOwner {
        trueUSD.reclaimToken(_token, owner);
    }

    /** 
    *@dev set new contract to which tokens look to to see if it's on the supported fork
    *@param _newGlobalPause address of the new contract
    */
    function setGlobalPause(address _newGlobalPause) external onlyOwner {
        trueUSD.setGlobalPause(_newGlobalPause);
    }

    /** 
    *@dev set new contract to which specified address can send eth to to quickly pause trueUSD
    *@param _newFastPause address of the new contract
    */
    function setTrueUsdFastPause(address _newFastPause) external onlyOwner {
        trueUsdFastPause = _newFastPause;
        emit TrueUsdFastPauseSet(_newFastPause);
    }

    /** 
    *@dev pause all pausable actions on TrueUSD, mints/burn/transfer/approve
    */
    function pauseTrueUSD() external onlyFastPauseOrOwner {
        trueUSD.pause();
    }

    /** 
    *@dev unpause all pausable actions on TrueUSD, mints/burn/transfer/approve
    */
    function unpauseTrueUSD() external onlyOwner {
        trueUSD.unpause();
    }
    
    /** 
    *@dev wipe balance of a blacklisted address
    *@param _blacklistedAddress address whose balance will be wiped
    */
    function wipeBlackListedTrueUSD(address _blacklistedAddress) external onlyOwner {
        trueUSD.wipeBlacklistedAccount(_blacklistedAddress);
    }

    /** 
    *@dev Change the minimum and maximum amounts that TrueUSD users can
    burn to newMin and newMax
    *@param _min minimum amount user can burn at a time
    *@param _max maximum amount user can burn at a time
    */
    function setBurnBounds(uint256 _min, uint256 _max) external onlyOwner {
        trueUSD.setBurnBounds(_min, _max);
    }

    /** 
    *@dev Owner can send ether balance in contract address
    *@param _to address to which the funds will be send to
    */
    function reclaimEther(address _to) external onlyOwner {
        _to.transfer(address(this).balance);
    }

    /** 
    *@dev Owner can send erc20 token balance in contract address
    *@param _token address of the token to send
    *@param _to address to which the funds will be send to
    */
    function reclaimToken(ERC20 _token, address _to) external onlyOwner {
        uint256 balance = _token.balanceOf(this);
        _token.transfer(_to, balance);
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"trueUsdFastPause","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_other","type":"address"}],"name":"issueClaimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newGlobalPause","type":"address"}],"name":"setGlobalPause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_index","type":"uint256"},{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"ratifyMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"initialized","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferTusdProxyOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"IS_MINT_PAUSER","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"IS_MINT_RATIFIER","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"RATIFY_MINT_SIGS","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ratifiedMintThreshold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_numberOfApproval","type":"uint256"},{"name":"_value","type":"uint256"}],"name":"hasEnoughApproval","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"multiSigMintThreshold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintOperationCount","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ratifiedMintPool","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"requestMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_opIndex","type":"uint256"}],"name":"unpauseMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"multiSigMintLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_instant","type":"uint256"},{"name":"_ratified","type":"uint256"},{"name":"_multiSig","type":"uint256"}],"name":"setMintLimits","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_name","type":"string"},{"name":"_symbol","type":"string"}],"name":"changeTokenName","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"claimOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_min","type":"uint256"},{"name":"_max","type":"uint256"}],"name":"setBurnBounds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"invalidateAllPendingMints","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"trueUSD","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"pauseTrueUSD","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mintKey","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_opIndex","type":"uint256"}],"name":"pauseMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_implementation","type":"address"}],"name":"upgradeTusdProxyImplTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_instant","type":"uint256"},{"name":"_ratified","type":"uint256"},{"name":"_multiSig","type":"uint256"}],"name":"setMintThresholds","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"},{"name":"_value","type":"uint256"}],"name":"instantMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"instantMintThreshold","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"}],"name":"requestReclaimToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"registry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"mintPaused","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_index","type":"uint256"}],"name":"revokeMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"initialize","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"instantMintPool","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"}],"name":"reclaimToken","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"refillRatifiedMintPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_index","type":"uint256"}],"name":"finalizeMint","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_proxy","type":"address"},{"name":"_balanceSheet","type":"address"},{"name":"_allowanceSheet","type":"address"}],"name":"claimStorageForProxy","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"}],"name":"reclaimEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_other","type":"address"}],"name":"requestReclaimContract","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"ratifiedPoolRefillApprovals","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"refillMultiSigMintPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_registry","type":"address"}],"name":"setRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"pauseMints","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_child","type":"address"},{"name":"_newOwner","type":"address"}],"name":"transferChild","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"incrementRedemptionAddressCount","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpauseTrueUSD","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"multiSigMintPool","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newFastPause","type":"address"}],"name":"setTrueUsdFastPause","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"refillInstantMintPool","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newMintKey","type":"address"}],"name":"transferMintKey","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"mintReqInvalidBeforeThisBlock","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"claimTusdProxyOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"pendingOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"canFinalize","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"ratifiedMintLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_registry","type":"address"}],"name":"setTusdRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"mintOperations","outputs":[{"name":"to","type":"address"},{"name":"value","type":"uint256"},{"name":"requestedBlock","type":"uint256"},{"name":"numberOfApproval","type":"uint256"},{"name":"paused","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"MULTISIG_MINT_SIGS","outputs":[{"name":"","type":"uint8"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_blacklistedAddress","type":"address"}],"name":"wipeBlackListedTrueUSD","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"unpauseMints","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"requestReclaimEther","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_totalSupply","type":"uint256"}],"name":"initializeTrueUSD","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newContract","type":"address"}],"name":"setTrueUSD","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"IS_REDEMPTION_ADMIN","outputs":[{"name":"","type":"bytes32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"instantMintLimit","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousOwner","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"currentOwner","type":"address"},{"indexed":true,"name":"pendingOwner","type":"address"}],"name":"NewOwnerPending","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"registry","type":"address"}],"name":"SetRegistry","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"child","type":"address"},{"indexed":true,"name":"newOwner","type":"address"}],"name":"TransferChild","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"other","type":"address"}],"name":"RequestReclaimContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"newContract","type":"address"}],"name":"SetTrueUSD","type":"event"},{"anonymous":false,"inputs":[],"name":"TrueUsdInitialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"value","type":"uint256"},{"indexed":false,"name":"opIndex","type":"uint256"},{"indexed":false,"name":"mintKey","type":"address"}],"name":"RequestMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"value","type":"uint256"},{"indexed":false,"name":"opIndex","type":"uint256"},{"indexed":false,"name":"mintKey","type":"address"}],"name":"FinalizeMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"to","type":"address"},{"indexed":true,"name":"value","type":"uint256"},{"indexed":true,"name":"mintKey","type":"address"}],"name":"InstantMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"previousMintKey","type":"address"},{"indexed":true,"name":"newMintKey","type":"address"}],"name":"TransferMintKey","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"opIndex","type":"uint256"},{"indexed":true,"name":"ratifier","type":"address"}],"name":"MintRatified","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"opIndex","type":"uint256"}],"name":"RevokeMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"status","type":"bool"}],"name":"AllMintsPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"opIndex","type":"uint256"},{"indexed":false,"name":"status","type":"bool"}],"name":"MintPaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"approver","type":"address"},{"indexed":false,"name":"opIndex","type":"uint256"}],"name":"MintApproved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_newFastPause","type":"address"}],"name":"TrueUsdFastPauseSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"instant","type":"uint256"},{"indexed":false,"name":"ratified","type":"uint256"},{"indexed":false,"name":"multiSig","type":"uint256"}],"name":"MintThresholdChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"instant","type":"uint256"},{"indexed":false,"name":"ratified","type":"uint256"},{"indexed":false,"name":"multiSig","type":"uint256"}],"name":"MintLimitsChanged","type":"event"},{"anonymous":false,"inputs":[],"name":"InstantPoolRefilled","type":"event"},{"anonymous":false,"inputs":[],"name":"RatifyPoolRefilled","type":"event"},{"anonymous":false,"inputs":[],"name":"MultiSigPoolRefilled","type":"event"}]

608060405234801561001057600080fd5b50613d2e806100206000396000f30060806040526004361061031d5763ffffffff60e060020a600035041662e6720581146103225780630581345e14610353578063070485a9146103765780630e536ff414610397578063158ef93e146103be5780631592c087146103e757806315d33838146104085780631d42953a1461042f5780631d4e135b1461044457806329dea3a11461046f5780632bbdb18a146104845780632c9ebb5d1461049f5780632e70bd4f146104b45780633134fe9c146104c957806331a02bce146104de57806331bac4341461050257806334437b161461051a5780633cb5bc741461052f578063453920cb1461054d5780634e71e0c814610579578063520060501461058e5780635e5ae1fe146105a957806362ffb3bf146105be578063698f16aa146105d357806369ebf34e146105e85780636c38d4e4146105fd5780636d8370e91461061557806372df02a71461063657806376f2a59a14610654578063789083e61461067857806379ca5d4c1461068d5780637b103999146106ae5780637e4831d3146106c35780637ef7ce92146106d85780638129fc1c146106f057806387fb79be1461070557806388ee39cc1461071a57806389d9b059146107415780638da5cb5b146107565780638e3af93f1461076b5780639747145b146107835780639a6a30a4146107b0578063a050975b146107d1578063a22cba6e146107f2578063a415965c1461080a578063a91ee0dc1461081f578063ab15f72314610840578063ae11ea9b14610855578063b1fe933d1461087c578063b960a45f14610891578063c37e2155146108a6578063c3e27948146108bb578063cc7e492e146108dc578063cd0f7a45146108f1578063d0d2d11014610912578063d5fe606214610927578063e30c39781461093c578063e4e2bfe414610951578063e653aab514610969578063ea669a8a1461097e578063ec38e8551461099f578063ed62b4d6146109ee578063f010b6e514610a03578063f2fde38b14610a24578063f3a2796314610a45578063f3e2aa8314610a5a578063f873d7e614610a6f578063f8e8b93d14610a87578063f966f19114610aa8578063fc46221d14610abd575b600080fd5b34801561032e57600080fd5b50610337610ad2565b60408051600160a060020a039092168252519081900360200190f35b34801561035f57600080fd5b50610374600160a060020a0360043516610ae1565b005b34801561038257600080fd5b50610374600160a060020a0360043516610b93565b3480156103a357600080fd5b50610374600435600160a060020a0360243516604435610c69565b3480156103ca57600080fd5b506103d3611095565b604080519115158252519081900360200190f35b3480156103f357600080fd5b50610374600160a060020a03600435166110b6565b34801561041457600080fd5b5061041d611171565b60408051918252519081900360200190f35b34801561043b57600080fd5b5061041d611195565b34801561045057600080fd5b506104596111a7565b6040805160ff9092168252519081900360200190f35b34801561047b57600080fd5b5061041d6111ac565b34801561049057600080fd5b506103d36004356024356111b2565b3480156104ab57600080fd5b5061041d61122f565b3480156104c057600080fd5b5061041d611235565b3480156104d557600080fd5b5061041d61123b565b3480156104ea57600080fd5b50610374600160a060020a0360043516602435611241565b34801561050e57600080fd5b506103746004356114b0565b34801561052657600080fd5b5061041d611578565b34801561053b57600080fd5b5061037460043560243560443561157e565b34801561055957600080fd5b50610374602460048035828101929082013591813591820191013561163f565b34801561058557600080fd5b50610374611751565b34801561059a57600080fd5b506103746004356024356117d0565b3480156105b557600080fd5b50610374611891565b3480156105ca57600080fd5b506103376118eb565b3480156105df57600080fd5b506103746118fa565b3480156105f457600080fd5b506103376119e2565b34801561060957600080fd5b506103746004356119f1565b34801561062157600080fd5b50610374600160a060020a0360043516611b79565b34801561064257600080fd5b50610374600435602435604435611c34565b34801561066057600080fd5b50610374600160a060020a0360043516602435611cf5565b34801561068457600080fd5b5061041d611f47565b34801561069957600080fd5b50610374600160a060020a0360043516611f4d565b3480156106ba57600080fd5b50610337612011565b3480156106cf57600080fd5b506103d3612020565b3480156106e457600080fd5b50610374600435612029565b3480156106fc57600080fd5b50610374612132565b34801561071157600080fd5b5061041d6121f9565b34801561072657600080fd5b50610374600160a060020a03600435811690602435166121ff565b34801561074d57600080fd5b50610374612374565b34801561076257600080fd5b506103376125e6565b34801561077757600080fd5b506103746004356125f5565b34801561078f57600080fd5b50610374600160a060020a036004358116906024358116906044351661281b565b3480156107bc57600080fd5b50610374600160a060020a036004351661295b565b3480156107dd57600080fd5b50610374600160a060020a03600435166129ed565b3480156107fe57600080fd5b50610337600435612af7565b34801561081657600080fd5b50610374612b14565b34801561082b57600080fd5b50610374600160a060020a0360043516612b99565b34801561084c57600080fd5b50610374612c3d565b34801561086157600080fd5b50610374600160a060020a0360043581169060243516612d94565b34801561088857600080fd5b50610374612e97565b34801561089d57600080fd5b50610374613023565b3480156108b257600080fd5b5061041d6130ca565b3480156108c757600080fd5b50610374600160a060020a03600435166130d0565b3480156108e857600080fd5b50610374613178565b3480156108fd57600080fd5b50610374600160a060020a03600435166132d6565b34801561091e57600080fd5b5061041d6133e6565b34801561093357600080fd5b506103746133ec565b34801561094857600080fd5b50610337613493565b34801561095d57600080fd5b506103d36004356134a2565b34801561097557600080fd5b5061041d61363b565b34801561098a57600080fd5b50610374600160a060020a0360043516613641565b3480156109ab57600080fd5b506109b76004356136fc565b60408051600160a060020a039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b3480156109fa57600080fd5b50610459613748565b348015610a0f57600080fd5b50610374600160a060020a036004351661374d565b348015610a3057600080fd5b50610374600160a060020a0360043516613808565b348015610a5157600080fd5b506103746138b2565b348015610a6657600080fd5b50610374613946565b348015610a7b57600080fd5b50610374600435613a02565b348015610a9357600080fd5b50610374600160a060020a0360043516613b00565b348015610ab457600080fd5b5061041d613ba8565b348015610ac957600080fd5b5061041d613bcc565b601354600160a060020a031681565b6000805433600160a060020a03908116911614610b36576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b81905080600160a060020a0316634e71e0c86040518163ffffffff1660e060020a028152600401600060405180830381600087803b158015610b7757600080fd5b505af1158015610b8b573d6000803e3d6000fd5b505050505050565b60005433600160a060020a03908116911614610be7576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f070485a9000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163070485a991602480830192600092919082900301818387803b158015610c4e57600080fd5b505af1158015610c62573d6000803e3d6000fd5b5050505050565b610c71613c3e565b60005433600160a060020a03908116911614610cd057600d5460ff1615610cd0576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b6012546040805160e260020a631cce3097028152600160a060020a033381166004830152600080516020613ce3833981519152602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015610d3657600080fd5b505af1158015610d4a573d6000803e3d6000fd5b505050506040513d6020811015610d6057600080fd5b505180610d7b575060005433600160a060020a039081169116145b1515610dd1576040805160e560020a62461bcd02815260206004820152601960248201527f6d757374206265207261746966696572206f72206f776e657200000000000000604482015290519081900360640190fd5b6010805485908110610ddf57fe5b60009182526020918290206040805160a08101825260069093029091018054600160a060020a03908116808552600183015495850195909552600282015492840192909252600381015460608401526004015460ff1615156080830152909250841614610e96576040805160e560020a62461bcd02815260206004820152601960248201527f746f206164647265737320646f6573206e6f74206d6174636800000000000000604482015290519081900360640190fd5b60208101518214610ef1576040805160e560020a62461bcd02815260206004820152601560248201527f616d6f756e7420646f6573206e6f74206d617463680000000000000000000000604482015290519081900360640190fd5b6010805485908110610eff57fe5b60009182526020808320600160a060020a03331684526005600690930201919091019052604090205460ff1615610f80576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920617070726f76656400000000000000000000000000000000604482015290519081900360640190fd5b6001601085815481101515610f9157fe5b6000918252602080832033600160a060020a03168452600692909202909101600501905260409020805460ff191691151591909117905560108054610ffd9160019187908110610fdd57fe5b906000526020600020906006020160030154613bd290919063ffffffff16565b601080548690811061100b57fe5b90600052602060002090600602016003018190555033600160a060020a0316847f86cc1a29a55449d1229bb301da3d61fcd5490843635df9a79e5a4df4724773d260405160405180910390a361108160108581548110151561106957fe5b906000526020600020906006020160030154836111b2565b1561108f5761108f846125f5565b50505050565b60015474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a0390811691161461110a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517ff1739cae000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163f1739cae91602480830192600092919082900301818387803b158015610c4e57600080fd5b7f6973545553444d696e745061757365727300000000000000000000000000000081565b600080516020613ce383398151915281565b600181565b60035481565b600060095482111580156111c857506003548211155b156111dd57600183106111dd57506001611229565b600a5482111580156111f157506004548211155b15611206576003831061120657506001611229565b60005433600160a060020a039081169116141561122557506001611229565b5060005b92915050565b60045481565b60105490565b60095481565b611249613c3e565b60005433600160a060020a039081169116146112a857600d5460ff16156112a8576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b600f5433600160a060020a03908116911614806112d3575060005433600160a060020a039081169116145b1515611329576040805160e560020a62461bcd02815260206004820152601860248201527f6d757374206265206d696e744b6579206f72206f776e65720000000000000000604482015290519081900360640190fd5b506040805160a081018252600160a060020a038085168083526020808401869052438486015260006060850181905260808501526010548551908152339093169083015283519293859391927f883eab2a74c029007e37f3f118fa7713d39b756c0b7c932a0269fcb995a4724c929081900390910190a36010805460018101825560009190915281517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67260069092029182018054600160a060020a031916600160a060020a0390921691909117905560208201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67382015560408201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67482015560608201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6758201556080909101517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae676909101805460ff19169115159190911790555050565b60005433600160a060020a03908116911614611504576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600060108281548110151561151557fe5b60009182526020808320600692909202909101600401805460ff191693151593909317909255604080518481529283019190915280517fbe7295ef37ca984ec35808d259aa03f272c2d747c6ce6a47b6e90862afccc5769281900390910190a150565b60075481565b60005433600160a060020a039081169116146115d2576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b81831080156115e057508082105b15156115eb57600080fd5b600583905560068290556007819055604080518481526020810184905280820183905290517fa88ec94782bac5c3e5f7d8e8f27b39f3f9d53da3fc2824db137086185cf2117d9181900360600190a1505050565b60005433600160a060020a03908116911614611693576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f453920cb0000000000000000000000000000000000000000000000000000000081526004810191825260448101869052600160a060020a039092169163453920cb91879187918791879190819060248101906064018787808284379091018481038352858152602001905085858082843782019150509650505050505050600060405180830381600087803b15801561173357600080fd5b505af1158015611747573d6000803e3d6000fd5b5050505050505050565b60015433600160a060020a0390811691161461176c57600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60005433600160a060020a03908116911614611824576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f5200605000000000000000000000000000000000000000000000000000000000815260048101859052602481018490529051600160a060020a039092169163520060509160448082019260009290919082900301818387803b158015610b7757600080fd5b60005433600160a060020a039081169116146118e5576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b43600e55565b601154600160a060020a031681565b60135433600160a060020a0390811691161480611925575060005433600160a060020a039081169116145b151561197b576040805160e560020a62461bcd02815260206004820152601760248201527f6d75737420626520706175736572206f72206f776e6572000000000000000000604482015290519081900360640190fd5b601160009054906101000a9004600160a060020a0316600160a060020a0316638456cb596040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b505af115801561108f573d6000803e3d6000fd5b600f54600160a060020a031681565b6012546040805160e260020a631cce3097028152600160a060020a0333811660048301527f6973545553444d696e7450617573657273000000000000000000000000000000602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015611a6957600080fd5b505af1158015611a7d573d6000803e3d6000fd5b505050506040513d6020811015611a9357600080fd5b505180611aae575060005433600160a060020a039081169116145b1515611b04576040805160e560020a62461bcd02815260206004820152601760248201527f6d75737420626520706175736572206f72206f776e6572000000000000000000604482015290519081900360640190fd5b6001601082815481101515611b1557fe5b600091825260209182902060069190910201600401805460ff1916921515929092179091556040805183815260019281019290925280517fbe7295ef37ca984ec35808d259aa03f272c2d747c6ce6a47b6e90862afccc5769281900390910190a150565b60005433600160a060020a03908116911614611bcd576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f3659cfe6000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633659cfe691602480830192600092919082900301818387803b158015610c4e57600080fd5b60005433600160a060020a03908116911614611c88576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b8183108015611c9657508082105b1515611ca157600080fd5b600283905560038290556004819055604080518481526020810184905280820183905290517fba6a9f8d54021af0fab65e388ad81cc3dfb17207bed50a5e9a30f7adabb534d19181900360600190a1505050565b60005433600160a060020a03908116911614611d5457600d5460ff1615611d54576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b600f5433600160a060020a0390811691161480611d7f575060005433600160a060020a039081169116145b1515611dd5576040805160e560020a62461bcd02815260206004820152601860248201527f6d757374206265206d696e744b6579206f72206f776e65720000000000000000604482015290519081900360640190fd5b600254811115611e2f576040805160e560020a62461bcd02815260206004820152601f60248201527f6f7665722074686520696e7374616e74206d696e74207468726573686f6c6400604482015290519081900360640190fd5b600854811115611e89576040805160e560020a62461bcd02815260206004820152601860248201527f696e7374616e74206d696e7420706f6f6c206973206472790000000000000000604482015290519081900360640190fd5b600854611e9c908263ffffffff613bdf16565b600855604051600160a060020a033381169183918516907fec755a4feb8086d62e216ca919461349221df54bf9ca83300b7a2bf8e5807dfc90600090a4601154604080517f40c10f19000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b158015610b7757600080fd5b60025481565b60005433600160a060020a03908116911614611fa1576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60115460008054604080517f88ee39cc000000000000000000000000000000000000000000000000000000008152600160a060020a0386811660048301529283166024820152905191909316926388ee39cc92604480830193919282900301818387803b158015610c4e57600080fd5b601254600160a060020a031681565b600d5460ff1681565b600f5433600160a060020a0390811691161480612054575060005433600160a060020a039081169116145b15156120aa576040805160e560020a62461bcd02815260206004820152601860248201527f6d757374206265206d696e744b6579206f72206f776e65720000000000000000604482015290519081900360640190fd5b60108054829081106120b857fe5b6000918252602080832060069092029091018054600160a060020a0319168155600181018390556002810183905560038101929092556004909101805460ff191690556040805183815290517fccec691f17b1a3d2b56ac2c39074c2930ba803fc46191a49259706621eac3f8f929181900390910190a150565b60015474010000000000000000000000000000000000000000900460ff16156121a5576040805160e560020a62461bcd02815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015290519081900360640190fd5b60008054600160a060020a033316600160a060020a03199091161790556001805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60085481565b6000805433600160a060020a03908116911614612254576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b82600160a060020a03166370a08231306040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b1580156122af57600080fd5b505af11580156122c3573d6000803e3d6000fd5b505050506040513d60208110156122d957600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0385811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b15801561234a57600080fd5b505af115801561235e573d6000803e3d6000fd5b505050506040513d6020811015610c6257600080fd5b61237c613c79565b6012546040805160e260020a631cce3097028152600160a060020a033381166004830152600080516020613ce3833981519152602483015291519190921691637338c25c9160448083019260209291908290030181600087803b1580156123e257600080fd5b505af11580156123f6573d6000803e3d6000fd5b505050506040513d602081101561240c57600080fd5b505180612427575060005433600160a060020a039081169116145b151561247d576040805160e560020a62461bcd02815260206004820152601960248201527f6d757374206265207261746966696572206f72206f776e657200000000000000604482015290519081900360640190fd5b60005433600160a060020a0390811691161461257b57604080518082019182905290600b9060029082845b8154600160a060020a031681526001909101906020018083116124a85750939450849350600092506124d8915050565b6020020151600160a060020a031633600160a060020a03161415801561251757508060016020020151600160a060020a031633600160a060020a031614155b151561252257600080fd5b8051600160a060020a0316151561255d5733600b60005b018054600160a060020a031916600160a060020a03929092169190911790556125e3565b6020810151600160a060020a0316151561257b5733600b6001612539565b612587600b6000613c94565b6125b06125a1600954600654613bdf90919063ffffffff16565b600a549063ffffffff613bdf16565b600a556006546009556040517f102a997ac4d17915071d5422bc77b9e807c57305cefef394daf2468abacb26c290600090a15b50565b600054600160a060020a031681565b6125fd613c3e565b60008054819033600160a060020a0390811691161461265f57600d5460ff161561265f576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b601080548590811061266d57fe5b600091825260208083206040805160a08101825260069094029091018054600160a060020a0390811680865260018301549486018590526002830154938601939093526003820154606086015260049091015460ff16151560808501529354929650945092503382169116146126fa576126e6846134a2565b15156126f157600080fd5b6126fa81613bf1565b601080548590811061270857fe5b6000918252602082206006909102018054600160a060020a03191681556001810182905560028101829055600381018290556004908101805460ff19169055601154604080517f40c10f19000000000000000000000000000000000000000000000000000000008152600160a060020a038781169482019490945260248101869052905191909216926340c10f19926044808201939182900301818387803b1580156127b357600080fd5b505af11580156127c7573d6000803e3d6000fd5b505060408051878152600160a060020a033381166020830152825186955090871693507f9a0dcee498442c144388e9d1dd09acdf74ffc3bce9cb52841186c1d8ac032154929181900390910190a350505050565b60005433600160a060020a0390811691161461286f576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b82600160a060020a03166354f78dad836040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b1580156128ca57600080fd5b505af11580156128de573d6000803e3d6000fd5b505050506040513d60208110156128f457600080fd5b5050604080517fedc1e4f9000000000000000000000000000000000000000000000000000000008152600160a060020a03838116600483015291519185169163edc1e4f9916024808201926020929091908290030181600087803b15801561234a57600080fd5b60005433600160a060020a039081169116146129af576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b604051600160a060020a0380831691309091163180156108fc02916000818181858888f193505050501580156129e9573d6000803e3d6000fd5b5050565b60005433600160a060020a03908116911614612a41576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f2aed7f3f000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691632aed7f3f91602480830192600092919082900301818387803b158015612aa857600080fd5b505af1158015612abc573d6000803e3d6000fd5b5050604051600160a060020a03841692507f6c05e2161ea9e9d833da08f6baa2ef32e2c74d7711f30af74c6febed06c1b0929150600090a250565b600b8160028110612b0457fe5b0154600160a060020a0316905081565b60005433600160a060020a03908116911614612b68576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600754600a556040517ff887efb579b3283f395871614f44a2fd3021ddf59e72a91195f5da936ebaa06d90600090a1565b60005433600160a060020a03908116911614612bed576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60128054600160a060020a031916600160a060020a0383811691909117918290556040519116907f278c70ced5f3e0e5eeb385b5ff9cb735748ba00a625147e66065ed48fc1562cd90600090a250565b6012546040805160e260020a631cce3097028152600160a060020a0333811660048301527f6973545553444d696e7450617573657273000000000000000000000000000000602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015612cb557600080fd5b505af1158015612cc9573d6000803e3d6000fd5b505050506040513d6020811015612cdf57600080fd5b505180612cfa575060005433600160a060020a039081169116145b1515612d50576040805160e560020a62461bcd02815260206004820152601760248201527f6d75737420626520706175736572206f72206f776e6572000000000000000000604482015290519081900360640190fd5b600d805460ff1916600190811790915560408051918252517f6cb4a816be468261438a85abae2d59de6bc19b06d3a76e2f3acfd656d85a2ee99181900360200190a1565b60005433600160a060020a03908116911614612de8576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b81600160a060020a031663f2fde38b826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050600060405180830381600087803b158015612e4357600080fd5b505af1158015612e57573d6000803e3d6000fd5b5050604051600160a060020a038085169350851691507f425a9ef6e4130595de2345fa70aebbdf0431120d720b65c46f16c69ec2bfbf6990600090a35050565b6012546040805160e260020a631cce3097028152600160a060020a0333811660048301527f697354555344526564656d7074696f6e41646d696e0000000000000000000000602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015612f0f57600080fd5b505af1158015612f23573d6000803e3d6000fd5b505050506040513d6020811015612f3957600080fd5b505180612f54575060005433600160a060020a039081169116145b1515612fd0576040805160e560020a62461bcd02815260206004820152602160248201527f6d75737420626520526564656d7074696f6e2061646d696e206f72206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b601160009054906101000a9004600160a060020a0316600160a060020a031663b1fe933d6040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b60005433600160a060020a03908116911614613077576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601160009054906101000a9004600160a060020a0316600160a060020a0316633f4ba83a6040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b600a5481565b60005433600160a060020a03908116911614613124576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60138054600160a060020a038316600160a060020a0319909116811790915560408051918252517fc2136648af803937c2667450b22c057052f998f3a9cfa17e6a8403e775233ca49181900360200190a150565b6012546040805160e260020a631cce3097028152600160a060020a033381166004830152600080516020613ce3833981519152602483015291519190921691637338c25c9160448083019260209291908290030181600087803b1580156131de57600080fd5b505af11580156131f2573d6000803e3d6000fd5b505050506040513d602081101561320857600080fd5b505180613223575060005433600160a060020a039081169116145b1515613279576040805160e560020a62461bcd02815260206004820152601960248201527f6d757374206265207261746966696572206f72206f776e657200000000000000604482015290519081900360640190fd5b6132a2613293600854600554613bdf90919063ffffffff16565b6009549063ffffffff613bdf16565b6009556005546008556040517ffebce9a3dbc55fe4e42cabd1229670f5e1ed4cbf008685f75392a050ab9561fd90600090a1565b60005433600160a060020a0390811691161461332a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600160a060020a038116151561338a576040805160e560020a62461bcd02815260206004820152601a60248201527f6e6577206d696e74206b65792063616e6e6f7420626520307830000000000000604482015290519081900360640190fd5b600f54604051600160a060020a038084169216907ffbd0b5e594e818883d41b4de49805781c984d030597177b02c741cafe04bf21b90600090a3600f8054600160a060020a031916600160a060020a0392909216919091179055565b600e5481565b60005433600160a060020a03908116911614613440576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601160009054906101000a9004600160a060020a0316600160a060020a0316639965b3d66040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b600154600160a060020a031681565b60006134ac613c3e565b60108054849081106134ba57fe5b60009182526020918290206040805160a08101825260069093029091018054600160a060020a0316835260018101549383019390935260028301549082018190526003830154606083015260049092015460ff1615156080820152600e5490925010613570576040805160e560020a62461bcd02815260206004820152601460248201527f74686973206d696e7420697320696e76616c6964000000000000000000000000604482015290519081900360640190fd5b6080810151156135ca576040805160e560020a62461bcd02815260206004820152601360248201527f74686973206d696e742069732070617573656400000000000000000000000000604482015290519081900360640190fd5b6135dc816060015182602001516111b2565b1515613632576040805160e560020a62461bcd02815260206004820152601460248201527f6e6f7420656e6f75676820617070726f76616c73000000000000000000000000604482015290519081900360640190fd5b50600192915050565b60065481565b60005433600160a060020a03908116911614613695576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517fa91ee0dc000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163a91ee0dc91602480830192600092919082900301818387803b158015610c4e57600080fd5b601080548290811061370a57fe5b600091825260209091206006909102018054600182015460028301546003840154600490940154600160a060020a0390931694509092909160ff1685565b600381565b60005433600160a060020a039081169116146137a1576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517fbd7243f6000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163bd7243f691602480830192600092919082900301818387803b158015610c4e57600080fd5b60005433600160a060020a0390811691161461385c576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60018054600160a060020a031916600160a060020a03838116919091179182905560008054604051938316939216917fec070b46448fede8b4a9a9f8d7919141b5e1c729397eccb0c59af2d6d9fc2d6c9190a350565b60005433600160a060020a03908116911614613906576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600d805460ff19169055604080516000815290517f6cb4a816be468261438a85abae2d59de6bc19b06d3a76e2f3acfd656d85a2ee99181900360200190a1565b60005433600160a060020a0390811691161461399a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60115460008054604080517f9a6a30a4000000000000000000000000000000000000000000000000000000008152600160a060020a03928316600482015290519190931692639a6a30a492602480830193919282900301818387803b1580156119ce57600080fd5b60005433600160a060020a03908116911614613a56576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517ffe4b84df000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163fe4b84df9160248082019260009290919082900301818387803b158015613abc57600080fd5b505af1158015613ad0573d6000803e3d6000fd5b50506040517f047e4cce78a52d087fe48f9c83bf3c9e654c7c1164d59a852216f6285a2ce73a925060009150a150565b60005433600160a060020a03908116911614613b54576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60118054600160a060020a038316600160a060020a0319909116811790915560408051918252517fe6acc19152a4b970b02f6eafbc8d348ff87621df2703baad9cc00bfc04defb6b9181900360200190a150565b7f697354555344526564656d7074696f6e41646d696e000000000000000000000081565b60055481565b8181018281101561122957fe5b600082821115613beb57fe5b50900390565b6009548111158015613c0557506003548111155b15613c2557600954613c1d908263ffffffff613bdf16565b6009556125e3565b600a54613c38908263ffffffff613bdf16565b600a5550565b60a0604051908101604052806000600160a060020a031681526020016000815260200160008152602001600081526020016000151581525090565b60408051808201825290600290829080388339509192915050565b50600081556001016000905556006d696e74696e67206973207061757365640000000000000000000000000000006f6e6c79204f776e6572000000000000000000000000000000000000000000006973545553444d696e7452617469666965720000000000000000000000000000a165627a7a72305820dad1d3256c667643f03eae00cb48f91c71f2014c1dc729af39b59d755d3c2ebd0029

Deployed Bytecode

0x60806040526004361061031d5763ffffffff60e060020a600035041662e6720581146103225780630581345e14610353578063070485a9146103765780630e536ff414610397578063158ef93e146103be5780631592c087146103e757806315d33838146104085780631d42953a1461042f5780631d4e135b1461044457806329dea3a11461046f5780632bbdb18a146104845780632c9ebb5d1461049f5780632e70bd4f146104b45780633134fe9c146104c957806331a02bce146104de57806331bac4341461050257806334437b161461051a5780633cb5bc741461052f578063453920cb1461054d5780634e71e0c814610579578063520060501461058e5780635e5ae1fe146105a957806362ffb3bf146105be578063698f16aa146105d357806369ebf34e146105e85780636c38d4e4146105fd5780636d8370e91461061557806372df02a71461063657806376f2a59a14610654578063789083e61461067857806379ca5d4c1461068d5780637b103999146106ae5780637e4831d3146106c35780637ef7ce92146106d85780638129fc1c146106f057806387fb79be1461070557806388ee39cc1461071a57806389d9b059146107415780638da5cb5b146107565780638e3af93f1461076b5780639747145b146107835780639a6a30a4146107b0578063a050975b146107d1578063a22cba6e146107f2578063a415965c1461080a578063a91ee0dc1461081f578063ab15f72314610840578063ae11ea9b14610855578063b1fe933d1461087c578063b960a45f14610891578063c37e2155146108a6578063c3e27948146108bb578063cc7e492e146108dc578063cd0f7a45146108f1578063d0d2d11014610912578063d5fe606214610927578063e30c39781461093c578063e4e2bfe414610951578063e653aab514610969578063ea669a8a1461097e578063ec38e8551461099f578063ed62b4d6146109ee578063f010b6e514610a03578063f2fde38b14610a24578063f3a2796314610a45578063f3e2aa8314610a5a578063f873d7e614610a6f578063f8e8b93d14610a87578063f966f19114610aa8578063fc46221d14610abd575b600080fd5b34801561032e57600080fd5b50610337610ad2565b60408051600160a060020a039092168252519081900360200190f35b34801561035f57600080fd5b50610374600160a060020a0360043516610ae1565b005b34801561038257600080fd5b50610374600160a060020a0360043516610b93565b3480156103a357600080fd5b50610374600435600160a060020a0360243516604435610c69565b3480156103ca57600080fd5b506103d3611095565b604080519115158252519081900360200190f35b3480156103f357600080fd5b50610374600160a060020a03600435166110b6565b34801561041457600080fd5b5061041d611171565b60408051918252519081900360200190f35b34801561043b57600080fd5b5061041d611195565b34801561045057600080fd5b506104596111a7565b6040805160ff9092168252519081900360200190f35b34801561047b57600080fd5b5061041d6111ac565b34801561049057600080fd5b506103d36004356024356111b2565b3480156104ab57600080fd5b5061041d61122f565b3480156104c057600080fd5b5061041d611235565b3480156104d557600080fd5b5061041d61123b565b3480156104ea57600080fd5b50610374600160a060020a0360043516602435611241565b34801561050e57600080fd5b506103746004356114b0565b34801561052657600080fd5b5061041d611578565b34801561053b57600080fd5b5061037460043560243560443561157e565b34801561055957600080fd5b50610374602460048035828101929082013591813591820191013561163f565b34801561058557600080fd5b50610374611751565b34801561059a57600080fd5b506103746004356024356117d0565b3480156105b557600080fd5b50610374611891565b3480156105ca57600080fd5b506103376118eb565b3480156105df57600080fd5b506103746118fa565b3480156105f457600080fd5b506103376119e2565b34801561060957600080fd5b506103746004356119f1565b34801561062157600080fd5b50610374600160a060020a0360043516611b79565b34801561064257600080fd5b50610374600435602435604435611c34565b34801561066057600080fd5b50610374600160a060020a0360043516602435611cf5565b34801561068457600080fd5b5061041d611f47565b34801561069957600080fd5b50610374600160a060020a0360043516611f4d565b3480156106ba57600080fd5b50610337612011565b3480156106cf57600080fd5b506103d3612020565b3480156106e457600080fd5b50610374600435612029565b3480156106fc57600080fd5b50610374612132565b34801561071157600080fd5b5061041d6121f9565b34801561072657600080fd5b50610374600160a060020a03600435811690602435166121ff565b34801561074d57600080fd5b50610374612374565b34801561076257600080fd5b506103376125e6565b34801561077757600080fd5b506103746004356125f5565b34801561078f57600080fd5b50610374600160a060020a036004358116906024358116906044351661281b565b3480156107bc57600080fd5b50610374600160a060020a036004351661295b565b3480156107dd57600080fd5b50610374600160a060020a03600435166129ed565b3480156107fe57600080fd5b50610337600435612af7565b34801561081657600080fd5b50610374612b14565b34801561082b57600080fd5b50610374600160a060020a0360043516612b99565b34801561084c57600080fd5b50610374612c3d565b34801561086157600080fd5b50610374600160a060020a0360043581169060243516612d94565b34801561088857600080fd5b50610374612e97565b34801561089d57600080fd5b50610374613023565b3480156108b257600080fd5b5061041d6130ca565b3480156108c757600080fd5b50610374600160a060020a03600435166130d0565b3480156108e857600080fd5b50610374613178565b3480156108fd57600080fd5b50610374600160a060020a03600435166132d6565b34801561091e57600080fd5b5061041d6133e6565b34801561093357600080fd5b506103746133ec565b34801561094857600080fd5b50610337613493565b34801561095d57600080fd5b506103d36004356134a2565b34801561097557600080fd5b5061041d61363b565b34801561098a57600080fd5b50610374600160a060020a0360043516613641565b3480156109ab57600080fd5b506109b76004356136fc565b60408051600160a060020a039096168652602086019490945284840192909252606084015215156080830152519081900360a00190f35b3480156109fa57600080fd5b50610459613748565b348015610a0f57600080fd5b50610374600160a060020a036004351661374d565b348015610a3057600080fd5b50610374600160a060020a0360043516613808565b348015610a5157600080fd5b506103746138b2565b348015610a6657600080fd5b50610374613946565b348015610a7b57600080fd5b50610374600435613a02565b348015610a9357600080fd5b50610374600160a060020a0360043516613b00565b348015610ab457600080fd5b5061041d613ba8565b348015610ac957600080fd5b5061041d613bcc565b601354600160a060020a031681565b6000805433600160a060020a03908116911614610b36576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b81905080600160a060020a0316634e71e0c86040518163ffffffff1660e060020a028152600401600060405180830381600087803b158015610b7757600080fd5b505af1158015610b8b573d6000803e3d6000fd5b505050505050565b60005433600160a060020a03908116911614610be7576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f070485a9000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163070485a991602480830192600092919082900301818387803b158015610c4e57600080fd5b505af1158015610c62573d6000803e3d6000fd5b5050505050565b610c71613c3e565b60005433600160a060020a03908116911614610cd057600d5460ff1615610cd0576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b6012546040805160e260020a631cce3097028152600160a060020a033381166004830152600080516020613ce3833981519152602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015610d3657600080fd5b505af1158015610d4a573d6000803e3d6000fd5b505050506040513d6020811015610d6057600080fd5b505180610d7b575060005433600160a060020a039081169116145b1515610dd1576040805160e560020a62461bcd02815260206004820152601960248201527f6d757374206265207261746966696572206f72206f776e657200000000000000604482015290519081900360640190fd5b6010805485908110610ddf57fe5b60009182526020918290206040805160a08101825260069093029091018054600160a060020a03908116808552600183015495850195909552600282015492840192909252600381015460608401526004015460ff1615156080830152909250841614610e96576040805160e560020a62461bcd02815260206004820152601960248201527f746f206164647265737320646f6573206e6f74206d6174636800000000000000604482015290519081900360640190fd5b60208101518214610ef1576040805160e560020a62461bcd02815260206004820152601560248201527f616d6f756e7420646f6573206e6f74206d617463680000000000000000000000604482015290519081900360640190fd5b6010805485908110610eff57fe5b60009182526020808320600160a060020a03331684526005600690930201919091019052604090205460ff1615610f80576040805160e560020a62461bcd02815260206004820152601060248201527f616c726561647920617070726f76656400000000000000000000000000000000604482015290519081900360640190fd5b6001601085815481101515610f9157fe5b6000918252602080832033600160a060020a03168452600692909202909101600501905260409020805460ff191691151591909117905560108054610ffd9160019187908110610fdd57fe5b906000526020600020906006020160030154613bd290919063ffffffff16565b601080548690811061100b57fe5b90600052602060002090600602016003018190555033600160a060020a0316847f86cc1a29a55449d1229bb301da3d61fcd5490843635df9a79e5a4df4724773d260405160405180910390a361108160108581548110151561106957fe5b906000526020600020906006020160030154836111b2565b1561108f5761108f846125f5565b50505050565b60015474010000000000000000000000000000000000000000900460ff1681565b60005433600160a060020a0390811691161461110a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517ff1739cae000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163f1739cae91602480830192600092919082900301818387803b158015610c4e57600080fd5b7f6973545553444d696e745061757365727300000000000000000000000000000081565b600080516020613ce383398151915281565b600181565b60035481565b600060095482111580156111c857506003548211155b156111dd57600183106111dd57506001611229565b600a5482111580156111f157506004548211155b15611206576003831061120657506001611229565b60005433600160a060020a039081169116141561122557506001611229565b5060005b92915050565b60045481565b60105490565b60095481565b611249613c3e565b60005433600160a060020a039081169116146112a857600d5460ff16156112a8576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b600f5433600160a060020a03908116911614806112d3575060005433600160a060020a039081169116145b1515611329576040805160e560020a62461bcd02815260206004820152601860248201527f6d757374206265206d696e744b6579206f72206f776e65720000000000000000604482015290519081900360640190fd5b506040805160a081018252600160a060020a038085168083526020808401869052438486015260006060850181905260808501526010548551908152339093169083015283519293859391927f883eab2a74c029007e37f3f118fa7713d39b756c0b7c932a0269fcb995a4724c929081900390910190a36010805460018101825560009190915281517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67260069092029182018054600160a060020a031916600160a060020a0390921691909117905560208201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67382015560408201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae67482015560608201517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae6758201556080909101517f1b6847dc741a1b0cd08d278845f9d819d87b734759afb55fe2de5cb82a9ae676909101805460ff19169115159190911790555050565b60005433600160a060020a03908116911614611504576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600060108281548110151561151557fe5b60009182526020808320600692909202909101600401805460ff191693151593909317909255604080518481529283019190915280517fbe7295ef37ca984ec35808d259aa03f272c2d747c6ce6a47b6e90862afccc5769281900390910190a150565b60075481565b60005433600160a060020a039081169116146115d2576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b81831080156115e057508082105b15156115eb57600080fd5b600583905560068290556007819055604080518481526020810184905280820183905290517fa88ec94782bac5c3e5f7d8e8f27b39f3f9d53da3fc2824db137086185cf2117d9181900360600190a1505050565b60005433600160a060020a03908116911614611693576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f453920cb0000000000000000000000000000000000000000000000000000000081526004810191825260448101869052600160a060020a039092169163453920cb91879187918791879190819060248101906064018787808284379091018481038352858152602001905085858082843782019150509650505050505050600060405180830381600087803b15801561173357600080fd5b505af1158015611747573d6000803e3d6000fd5b5050505050505050565b60015433600160a060020a0390811691161461176c57600080fd5b60015460008054604051600160a060020a0393841693909116917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a36001805460008054600160a060020a0319908116600160a060020a03841617909155169055565b60005433600160a060020a03908116911614611824576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f5200605000000000000000000000000000000000000000000000000000000000815260048101859052602481018490529051600160a060020a039092169163520060509160448082019260009290919082900301818387803b158015610b7757600080fd5b60005433600160a060020a039081169116146118e5576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b43600e55565b601154600160a060020a031681565b60135433600160a060020a0390811691161480611925575060005433600160a060020a039081169116145b151561197b576040805160e560020a62461bcd02815260206004820152601760248201527f6d75737420626520706175736572206f72206f776e6572000000000000000000604482015290519081900360640190fd5b601160009054906101000a9004600160a060020a0316600160a060020a0316638456cb596040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b505af115801561108f573d6000803e3d6000fd5b600f54600160a060020a031681565b6012546040805160e260020a631cce3097028152600160a060020a0333811660048301527f6973545553444d696e7450617573657273000000000000000000000000000000602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015611a6957600080fd5b505af1158015611a7d573d6000803e3d6000fd5b505050506040513d6020811015611a9357600080fd5b505180611aae575060005433600160a060020a039081169116145b1515611b04576040805160e560020a62461bcd02815260206004820152601760248201527f6d75737420626520706175736572206f72206f776e6572000000000000000000604482015290519081900360640190fd5b6001601082815481101515611b1557fe5b600091825260209182902060069190910201600401805460ff1916921515929092179091556040805183815260019281019290925280517fbe7295ef37ca984ec35808d259aa03f272c2d747c6ce6a47b6e90862afccc5769281900390910190a150565b60005433600160a060020a03908116911614611bcd576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f3659cfe6000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691633659cfe691602480830192600092919082900301818387803b158015610c4e57600080fd5b60005433600160a060020a03908116911614611c88576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b8183108015611c9657508082105b1515611ca157600080fd5b600283905560038290556004819055604080518481526020810184905280820183905290517fba6a9f8d54021af0fab65e388ad81cc3dfb17207bed50a5e9a30f7adabb534d19181900360600190a1505050565b60005433600160a060020a03908116911614611d5457600d5460ff1615611d54576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b600f5433600160a060020a0390811691161480611d7f575060005433600160a060020a039081169116145b1515611dd5576040805160e560020a62461bcd02815260206004820152601860248201527f6d757374206265206d696e744b6579206f72206f776e65720000000000000000604482015290519081900360640190fd5b600254811115611e2f576040805160e560020a62461bcd02815260206004820152601f60248201527f6f7665722074686520696e7374616e74206d696e74207468726573686f6c6400604482015290519081900360640190fd5b600854811115611e89576040805160e560020a62461bcd02815260206004820152601860248201527f696e7374616e74206d696e7420706f6f6c206973206472790000000000000000604482015290519081900360640190fd5b600854611e9c908263ffffffff613bdf16565b600855604051600160a060020a033381169183918516907fec755a4feb8086d62e216ca919461349221df54bf9ca83300b7a2bf8e5807dfc90600090a4601154604080517f40c10f19000000000000000000000000000000000000000000000000000000008152600160a060020a03858116600483015260248201859052915191909216916340c10f1991604480830192600092919082900301818387803b158015610b7757600080fd5b60025481565b60005433600160a060020a03908116911614611fa1576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60115460008054604080517f88ee39cc000000000000000000000000000000000000000000000000000000008152600160a060020a0386811660048301529283166024820152905191909316926388ee39cc92604480830193919282900301818387803b158015610c4e57600080fd5b601254600160a060020a031681565b600d5460ff1681565b600f5433600160a060020a0390811691161480612054575060005433600160a060020a039081169116145b15156120aa576040805160e560020a62461bcd02815260206004820152601860248201527f6d757374206265206d696e744b6579206f72206f776e65720000000000000000604482015290519081900360640190fd5b60108054829081106120b857fe5b6000918252602080832060069092029091018054600160a060020a0319168155600181018390556002810183905560038101929092556004909101805460ff191690556040805183815290517fccec691f17b1a3d2b56ac2c39074c2930ba803fc46191a49259706621eac3f8f929181900390910190a150565b60015474010000000000000000000000000000000000000000900460ff16156121a5576040805160e560020a62461bcd02815260206004820152601360248201527f616c726561647920696e697469616c697a656400000000000000000000000000604482015290519081900360640190fd5b60008054600160a060020a033316600160a060020a03199091161790556001805474ff0000000000000000000000000000000000000000191674010000000000000000000000000000000000000000179055565b60085481565b6000805433600160a060020a03908116911614612254576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b82600160a060020a03166370a08231306040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b1580156122af57600080fd5b505af11580156122c3573d6000803e3d6000fd5b505050506040513d60208110156122d957600080fd5b5051604080517fa9059cbb000000000000000000000000000000000000000000000000000000008152600160a060020a0385811660048301526024820184905291519293509085169163a9059cbb916044808201926020929091908290030181600087803b15801561234a57600080fd5b505af115801561235e573d6000803e3d6000fd5b505050506040513d6020811015610c6257600080fd5b61237c613c79565b6012546040805160e260020a631cce3097028152600160a060020a033381166004830152600080516020613ce3833981519152602483015291519190921691637338c25c9160448083019260209291908290030181600087803b1580156123e257600080fd5b505af11580156123f6573d6000803e3d6000fd5b505050506040513d602081101561240c57600080fd5b505180612427575060005433600160a060020a039081169116145b151561247d576040805160e560020a62461bcd02815260206004820152601960248201527f6d757374206265207261746966696572206f72206f776e657200000000000000604482015290519081900360640190fd5b60005433600160a060020a0390811691161461257b57604080518082019182905290600b9060029082845b8154600160a060020a031681526001909101906020018083116124a85750939450849350600092506124d8915050565b6020020151600160a060020a031633600160a060020a03161415801561251757508060016020020151600160a060020a031633600160a060020a031614155b151561252257600080fd5b8051600160a060020a0316151561255d5733600b60005b018054600160a060020a031916600160a060020a03929092169190911790556125e3565b6020810151600160a060020a0316151561257b5733600b6001612539565b612587600b6000613c94565b6125b06125a1600954600654613bdf90919063ffffffff16565b600a549063ffffffff613bdf16565b600a556006546009556040517f102a997ac4d17915071d5422bc77b9e807c57305cefef394daf2468abacb26c290600090a15b50565b600054600160a060020a031681565b6125fd613c3e565b60008054819033600160a060020a0390811691161461265f57600d5460ff161561265f576040805160e560020a62461bcd0281526020600482015260116024820152600080516020613ca3833981519152604482015290519081900360640190fd5b601080548590811061266d57fe5b600091825260208083206040805160a08101825260069094029091018054600160a060020a0390811680865260018301549486018590526002830154938601939093526003820154606086015260049091015460ff16151560808501529354929650945092503382169116146126fa576126e6846134a2565b15156126f157600080fd5b6126fa81613bf1565b601080548590811061270857fe5b6000918252602082206006909102018054600160a060020a03191681556001810182905560028101829055600381018290556004908101805460ff19169055601154604080517f40c10f19000000000000000000000000000000000000000000000000000000008152600160a060020a038781169482019490945260248101869052905191909216926340c10f19926044808201939182900301818387803b1580156127b357600080fd5b505af11580156127c7573d6000803e3d6000fd5b505060408051878152600160a060020a033381166020830152825186955090871693507f9a0dcee498442c144388e9d1dd09acdf74ffc3bce9cb52841186c1d8ac032154929181900390910190a350505050565b60005433600160a060020a0390811691161461286f576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b82600160a060020a03166354f78dad836040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050602060405180830381600087803b1580156128ca57600080fd5b505af11580156128de573d6000803e3d6000fd5b505050506040513d60208110156128f457600080fd5b5050604080517fedc1e4f9000000000000000000000000000000000000000000000000000000008152600160a060020a03838116600483015291519185169163edc1e4f9916024808201926020929091908290030181600087803b15801561234a57600080fd5b60005433600160a060020a039081169116146129af576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b604051600160a060020a0380831691309091163180156108fc02916000818181858888f193505050501580156129e9573d6000803e3d6000fd5b5050565b60005433600160a060020a03908116911614612a41576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517f2aed7f3f000000000000000000000000000000000000000000000000000000008152600160a060020a03848116600483015291519190921691632aed7f3f91602480830192600092919082900301818387803b158015612aa857600080fd5b505af1158015612abc573d6000803e3d6000fd5b5050604051600160a060020a03841692507f6c05e2161ea9e9d833da08f6baa2ef32e2c74d7711f30af74c6febed06c1b0929150600090a250565b600b8160028110612b0457fe5b0154600160a060020a0316905081565b60005433600160a060020a03908116911614612b68576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600754600a556040517ff887efb579b3283f395871614f44a2fd3021ddf59e72a91195f5da936ebaa06d90600090a1565b60005433600160a060020a03908116911614612bed576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60128054600160a060020a031916600160a060020a0383811691909117918290556040519116907f278c70ced5f3e0e5eeb385b5ff9cb735748ba00a625147e66065ed48fc1562cd90600090a250565b6012546040805160e260020a631cce3097028152600160a060020a0333811660048301527f6973545553444d696e7450617573657273000000000000000000000000000000602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015612cb557600080fd5b505af1158015612cc9573d6000803e3d6000fd5b505050506040513d6020811015612cdf57600080fd5b505180612cfa575060005433600160a060020a039081169116145b1515612d50576040805160e560020a62461bcd02815260206004820152601760248201527f6d75737420626520706175736572206f72206f776e6572000000000000000000604482015290519081900360640190fd5b600d805460ff1916600190811790915560408051918252517f6cb4a816be468261438a85abae2d59de6bc19b06d3a76e2f3acfd656d85a2ee99181900360200190a1565b60005433600160a060020a03908116911614612de8576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b81600160a060020a031663f2fde38b826040518263ffffffff1660e060020a0281526004018082600160a060020a0316600160a060020a03168152602001915050600060405180830381600087803b158015612e4357600080fd5b505af1158015612e57573d6000803e3d6000fd5b5050604051600160a060020a038085169350851691507f425a9ef6e4130595de2345fa70aebbdf0431120d720b65c46f16c69ec2bfbf6990600090a35050565b6012546040805160e260020a631cce3097028152600160a060020a0333811660048301527f697354555344526564656d7074696f6e41646d696e0000000000000000000000602483015291519190921691637338c25c9160448083019260209291908290030181600087803b158015612f0f57600080fd5b505af1158015612f23573d6000803e3d6000fd5b505050506040513d6020811015612f3957600080fd5b505180612f54575060005433600160a060020a039081169116145b1515612fd0576040805160e560020a62461bcd02815260206004820152602160248201527f6d75737420626520526564656d7074696f6e2061646d696e206f72206f776e6560448201527f7200000000000000000000000000000000000000000000000000000000000000606482015290519081900360840190fd5b601160009054906101000a9004600160a060020a0316600160a060020a031663b1fe933d6040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b60005433600160a060020a03908116911614613077576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601160009054906101000a9004600160a060020a0316600160a060020a0316633f4ba83a6040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b600a5481565b60005433600160a060020a03908116911614613124576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60138054600160a060020a038316600160a060020a0319909116811790915560408051918252517fc2136648af803937c2667450b22c057052f998f3a9cfa17e6a8403e775233ca49181900360200190a150565b6012546040805160e260020a631cce3097028152600160a060020a033381166004830152600080516020613ce3833981519152602483015291519190921691637338c25c9160448083019260209291908290030181600087803b1580156131de57600080fd5b505af11580156131f2573d6000803e3d6000fd5b505050506040513d602081101561320857600080fd5b505180613223575060005433600160a060020a039081169116145b1515613279576040805160e560020a62461bcd02815260206004820152601960248201527f6d757374206265207261746966696572206f72206f776e657200000000000000604482015290519081900360640190fd5b6132a2613293600854600554613bdf90919063ffffffff16565b6009549063ffffffff613bdf16565b6009556005546008556040517ffebce9a3dbc55fe4e42cabd1229670f5e1ed4cbf008685f75392a050ab9561fd90600090a1565b60005433600160a060020a0390811691161461332a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600160a060020a038116151561338a576040805160e560020a62461bcd02815260206004820152601a60248201527f6e6577206d696e74206b65792063616e6e6f7420626520307830000000000000604482015290519081900360640190fd5b600f54604051600160a060020a038084169216907ffbd0b5e594e818883d41b4de49805781c984d030597177b02c741cafe04bf21b90600090a3600f8054600160a060020a031916600160a060020a0392909216919091179055565b600e5481565b60005433600160a060020a03908116911614613440576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601160009054906101000a9004600160a060020a0316600160a060020a0316639965b3d66040518163ffffffff1660e060020a028152600401600060405180830381600087803b1580156119ce57600080fd5b600154600160a060020a031681565b60006134ac613c3e565b60108054849081106134ba57fe5b60009182526020918290206040805160a08101825260069093029091018054600160a060020a0316835260018101549383019390935260028301549082018190526003830154606083015260049092015460ff1615156080820152600e5490925010613570576040805160e560020a62461bcd02815260206004820152601460248201527f74686973206d696e7420697320696e76616c6964000000000000000000000000604482015290519081900360640190fd5b6080810151156135ca576040805160e560020a62461bcd02815260206004820152601360248201527f74686973206d696e742069732070617573656400000000000000000000000000604482015290519081900360640190fd5b6135dc816060015182602001516111b2565b1515613632576040805160e560020a62461bcd02815260206004820152601460248201527f6e6f7420656e6f75676820617070726f76616c73000000000000000000000000604482015290519081900360640190fd5b50600192915050565b60065481565b60005433600160a060020a03908116911614613695576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517fa91ee0dc000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163a91ee0dc91602480830192600092919082900301818387803b158015610c4e57600080fd5b601080548290811061370a57fe5b600091825260209091206006909102018054600182015460028301546003840154600490940154600160a060020a0390931694509092909160ff1685565b600381565b60005433600160a060020a039081169116146137a1576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517fbd7243f6000000000000000000000000000000000000000000000000000000008152600160a060020a0384811660048301529151919092169163bd7243f691602480830192600092919082900301818387803b158015610c4e57600080fd5b60005433600160a060020a0390811691161461385c576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60018054600160a060020a031916600160a060020a03838116919091179182905560008054604051938316939216917fec070b46448fede8b4a9a9f8d7919141b5e1c729397eccb0c59af2d6d9fc2d6c9190a350565b60005433600160a060020a03908116911614613906576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b600d805460ff19169055604080516000815290517f6cb4a816be468261438a85abae2d59de6bc19b06d3a76e2f3acfd656d85a2ee99181900360200190a1565b60005433600160a060020a0390811691161461399a576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60115460008054604080517f9a6a30a4000000000000000000000000000000000000000000000000000000008152600160a060020a03928316600482015290519190931692639a6a30a492602480830193919282900301818387803b1580156119ce57600080fd5b60005433600160a060020a03908116911614613a56576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b601154604080517ffe4b84df000000000000000000000000000000000000000000000000000000008152600481018490529051600160a060020a039092169163fe4b84df9160248082019260009290919082900301818387803b158015613abc57600080fd5b505af1158015613ad0573d6000803e3d6000fd5b50506040517f047e4cce78a52d087fe48f9c83bf3c9e654c7c1164d59a852216f6285a2ce73a925060009150a150565b60005433600160a060020a03908116911614613b54576040805160e560020a62461bcd02815260206004820152600a6024820152600080516020613cc3833981519152604482015290519081900360640190fd5b60118054600160a060020a038316600160a060020a0319909116811790915560408051918252517fe6acc19152a4b970b02f6eafbc8d348ff87621df2703baad9cc00bfc04defb6b9181900360200190a150565b7f697354555344526564656d7074696f6e41646d696e000000000000000000000081565b60055481565b8181018281101561122957fe5b600082821115613beb57fe5b50900390565b6009548111158015613c0557506003548111155b15613c2557600954613c1d908263ffffffff613bdf16565b6009556125e3565b600a54613c38908263ffffffff613bdf16565b600a5550565b60a0604051908101604052806000600160a060020a031681526020016000815260200160008152602001600081526020016000151581525090565b60408051808201825290600290829080388339509192915050565b50600081556001016000905556006d696e74696e67206973207061757365640000000000000000000000000000006f6e6c79204f776e6572000000000000000000000000000000000000000000006973545553444d696e7452617469666965720000000000000000000000000000a165627a7a72305820dad1d3256c667643f03eae00cb48f91c71f2014c1dc729af39b59d755d3c2ebd0029

Swarm Source

bzzr://dad1d3256c667643f03eae00cb48f91c71f2014c1dc729af39b59d755d3c2ebd

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.