ETH Price: $3,137.54 (-4.19%)

Contract

0x47d9151a09af10B905176C2b6395F86d4beD2bAf
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Upgrade103627122020-06-29 19:59:301598 days ago1593460770IN
0x47d9151a...d4beD2bAf
0 ETH0.1359950731
Liquidate103617852020-06-29 16:27:081599 days ago1593448028IN
0x47d9151a...d4beD2bAf
0 ETH0.0065632451
Accept Ownership103617792020-06-29 16:26:301599 days ago1593447990IN
0x47d9151a...d4beD2bAf
0 ETH0.0011558151
Liquidate103518732020-06-28 3:41:521600 days ago1593315712IN
0x47d9151a...d4beD2bAf
0 ETH0.0034708227.00000123
Liquidate103477402020-06-27 12:01:531601 days ago1593259313IN
0x47d9151a...d4beD2bAf
0 ETH0.0043025133.473
Liquidate103450252020-06-27 1:56:031601 days ago1593222963IN
0x47d9151a...d4beD2bAf
0 ETH0.0029566223
Liquidate103435162020-06-26 20:15:291601 days ago1593202529IN
0x47d9151a...d4beD2bAf
0 ETH0.0038754927
Fund103424792020-06-26 16:22:291602 days ago1593188549IN
0x47d9151a...d4beD2bAf
0.17692441 ETH0.0069861546
Liquidate103380312020-06-25 23:50:331602 days ago1593129033IN
0x47d9151a...d4beD2bAf
0 ETH0.0036618725.50959307
Liquidate103363382020-06-25 17:37:271603 days ago1593106647IN
0x47d9151a...d4beD2bAf
0 ETH0.0044987935
Liquidate103309672020-06-24 21:41:511603 days ago1593034911IN
0x47d9151a...d4beD2bAf
0 ETH0.0035887225
Liquidate103273582020-06-24 8:22:201604 days ago1592986940IN
0x47d9151a...d4beD2bAf
0 ETH0.004655541
Liquidate103249082020-06-23 23:08:301604 days ago1592953710IN
0x47d9151a...d4beD2bAf
0 ETH0.0035993728
Liquidate103234252020-06-23 17:39:001605 days ago1592933940IN
0x47d9151a...d4beD2bAf
0 ETH0.005912746
Fund103232242020-06-23 16:51:091605 days ago1592931069IN
0x47d9151a...d4beD2bAf
0.0046374 ETH0.0062961546
Liquidate103231722020-06-23 16:38:221605 days ago1592930302IN
0x47d9151a...d4beD2bAf
0 ETH0.005912746
Fund103231302020-06-23 16:29:351605 days ago1592929775IN
0x47d9151a...d4beD2bAf
0.0046411 ETH0.0064330347
Liquidate103227902020-06-23 15:11:061605 days ago1592925066IN
0x47d9151a...d4beD2bAf
0 ETH0.0052695241
Liquidate103227522020-06-23 15:02:171605 days ago1592924537IN
0x47d9151a...d4beD2bAf
0 ETH0.0052700141.00000123
Fund103221382020-06-23 12:54:321605 days ago1592916872IN
0x47d9151a...d4beD2bAf
0 ETH0.0081389541
Liquidate103135182020-06-22 4:55:011606 days ago1592801701IN
0x47d9151a...d4beD2bAf
0 ETH0.0032445725.24
Liquidate103089492020-06-21 11:53:131607 days ago1592740393IN
0x47d9151a...d4beD2bAf
0 ETH0.0031853828.05
Liquidate103087672020-06-21 11:11:481607 days ago1592737908IN
0x47d9151a...d4beD2bAf
0 ETH0.0025966820.2
Remove Liquidity103071232020-06-21 5:02:171607 days ago1592715737IN
0x47d9151a...d4beD2bAf
0 ETH0.0029275621
Add Liquidity103070722020-06-21 4:52:121607 days ago1592715132IN
0x47d9151a...d4beD2bAf
0.00805264 ETH0.003583121
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
103627122020-06-29 19:59:301598 days ago1593460770
0x47d9151a...d4beD2bAf
21,323.30426712 ETH
103627102020-06-29 19:59:081598 days ago1593460748
0x47d9151a...d4beD2bAf
1.53330241 ETH
103627102020-06-29 19:59:081598 days ago1593460748
0x47d9151a...d4beD2bAf
3.2 ETH
103627082020-06-29 19:58:201598 days ago1593460700
0x47d9151a...d4beD2bAf
0.42 ETH
103626922020-06-29 19:54:131598 days ago1593460453
0x47d9151a...d4beD2bAf
2.57998753 ETH
103626782020-06-29 19:50:311598 days ago1593460231
0x47d9151a...d4beD2bAf
5.30174299 ETH
103626782020-06-29 19:50:311598 days ago1593460231
0x47d9151a...d4beD2bAf
1.47 ETH
103626772020-06-29 19:49:501598 days ago1593460190
0x47d9151a...d4beD2bAf
5.37405972 ETH
103626732020-06-29 19:48:561598 days ago1593460136
0x47d9151a...d4beD2bAf
0.55080033 ETH
103626692020-06-29 19:48:351598 days ago1593460115
0x47d9151a...d4beD2bAf
2.56400464 ETH
103626652020-06-29 19:48:081598 days ago1593460088
0x47d9151a...d4beD2bAf
24.63145195 ETH
103626642020-06-29 19:47:571598 days ago1593460077
0x47d9151a...d4beD2bAf
10 ETH
103626302020-06-29 19:41:561598 days ago1593459716
0x47d9151a...d4beD2bAf
1.04083408 ETH
103626272020-06-29 19:40:201598 days ago1593459620
0x47d9151a...d4beD2bAf
1.88327262 ETH
103626222020-06-29 19:39:381598 days ago1593459578
0x47d9151a...d4beD2bAf
1.26591656 ETH
103626032020-06-29 19:34:361598 days ago1593459276
0x47d9151a...d4beD2bAf
0.46 ETH
103625972020-06-29 19:33:221598 days ago1593459202
0x47d9151a...d4beD2bAf
2.54109884 ETH
103625952020-06-29 19:32:061598 days ago1593459126
0x47d9151a...d4beD2bAf
4.02824216 ETH
103625922020-06-29 19:31:471598 days ago1593459107
0x47d9151a...d4beD2bAf
3.99519028 ETH
103625912020-06-29 19:31:421598 days ago1593459102
0x47d9151a...d4beD2bAf
2.04651829 ETH
103625882020-06-29 19:30:431598 days ago1593459043
0x47d9151a...d4beD2bAf
5.00587196 ETH
103625862020-06-29 19:30:371598 days ago1593459037
0x47d9151a...d4beD2bAf
32.76685455 ETH
103625832020-06-29 19:30:271598 days ago1593459027
0x47d9151a...d4beD2bAf
53.15133057 ETH
103625522020-06-29 19:22:331598 days ago1593458553
0x47d9151a...d4beD2bAf
0.4 ETH
103625472020-06-29 19:21:261598 days ago1593458486
0x47d9151a...d4beD2bAf
1.5 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xaC621A2e...EA30f6B08
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
LiquidityPoolV1Converter

Compiler Version
v0.4.26+commit.4563c3fc

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, Apache-2.0 license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2020-06-18
*/

// File: contracts/utility/interfaces/IOwned.sol

pragma solidity 0.4.26;

/*
    Owned contract interface
*/
contract IOwned {
    // this function isn't abstract since the compiler emits automatically generated getter functions as external
    function owner() public view returns (address) {this;}

    function transferOwnership(address _newOwner) public;
    function acceptOwnership() public;
}

// File: contracts/token/interfaces/IERC20Token.sol

pragma solidity 0.4.26;

/*
    ERC20 Standard Token interface
*/
contract IERC20Token {
    // these functions aren't abstract since the compiler emits automatically generated getter functions as external
    function name() public view returns (string) {this;}
    function symbol() public view returns (string) {this;}
    function decimals() public view returns (uint8) {this;}
    function totalSupply() public view returns (uint256) {this;}
    function balanceOf(address _owner) public view returns (uint256) {_owner; this;}
    function allowance(address _owner, address _spender) public view returns (uint256) {_owner; _spender; this;}

    function transfer(address _to, uint256 _value) public returns (bool success);
    function transferFrom(address _from, address _to, uint256 _value) public returns (bool success);
    function approve(address _spender, uint256 _value) public returns (bool success);
}

// File: contracts/utility/interfaces/ITokenHolder.sol

pragma solidity 0.4.26;



/*
    Token Holder interface
*/
contract ITokenHolder is IOwned {
    function withdrawTokens(IERC20Token _token, address _to, uint256 _amount) public;
}

// File: contracts/converter/interfaces/IConverterAnchor.sol

pragma solidity 0.4.26;



/*
    Converter Anchor interface
*/
contract IConverterAnchor is IOwned, ITokenHolder {
}

// File: contracts/utility/interfaces/IWhitelist.sol

pragma solidity 0.4.26;

/*
    Whitelist interface
*/
contract IWhitelist {
    function isWhitelisted(address _address) public view returns (bool);
}

// File: contracts/converter/interfaces/IConverter.sol

pragma solidity 0.4.26;





/*
    Converter interface
*/
contract IConverter is IOwned {
    function converterType() public pure returns (uint16);
    function anchor() public view returns (IConverterAnchor) {this;}
    function isActive() public view returns (bool);

    function rateAndFee(IERC20Token _sourceToken, IERC20Token _targetToken, uint256 _amount) public view returns (uint256, uint256);
    function convert(IERC20Token _sourceToken,
                     IERC20Token _targetToken,
                     uint256 _amount,
                     address _trader,
                     address _beneficiary) public payable returns (uint256);

    function conversionWhitelist() public view returns (IWhitelist) {this;}
    function conversionFee() public view returns (uint32) {this;}
    function maxConversionFee() public view returns (uint32) {this;}
    function reserveBalance(IERC20Token _reserveToken) public view returns (uint256);
    function() external payable;

    function transferAnchorOwnership(address _newOwner) public;
    function acceptAnchorOwnership() public;
    function setConversionFee(uint32 _conversionFee) public;
    function setConversionWhitelist(IWhitelist _whitelist) public;
    function withdrawTokens(IERC20Token _token, address _to, uint256 _amount) public;
    function withdrawETH(address _to) public;
    function addReserve(IERC20Token _token, uint32 _ratio) public;

    // deprecated, backward compatibility
    function token() public view returns (IConverterAnchor);
    function transferTokenOwnership(address _newOwner) public;
    function acceptTokenOwnership() public;
    function connectors(address _address) public view returns (uint256, uint32, bool, bool, bool);
    function getConnectorBalance(IERC20Token _connectorToken) public view returns (uint256);
    function connectorTokens(uint256 _index) public view returns (IERC20Token);
    function connectorTokenCount() public view returns (uint16);
}

// File: contracts/converter/interfaces/IConverterUpgrader.sol

pragma solidity 0.4.26;

/*
    Converter Upgrader interface
*/
contract IConverterUpgrader {
    function upgrade(bytes32 _version) public;
    function upgrade(uint16 _version) public;
}

// File: contracts/converter/interfaces/IBancorFormula.sol

pragma solidity 0.4.26;

/*
    Bancor Formula interface
*/
contract IBancorFormula {
    function purchaseRate(uint256 _supply,
                          uint256 _reserveBalance,
                          uint32 _reserveWeight,
                          uint256 _amount)
                          public view returns (uint256);

    function saleRate(uint256 _supply,
                      uint256 _reserveBalance,
                      uint32 _reserveWeight,
                      uint256 _amount)
                      public view returns (uint256);

    function crossReserveRate(uint256 _sourceReserveBalance,
                              uint32 _sourceReserveWeight,
                              uint256 _targetReserveBalance,
                              uint32 _targetReserveWeight,
                              uint256 _amount)
                              public view returns (uint256);

    function fundCost(uint256 _supply,
                      uint256 _reserveBalance,
                      uint32 _reserveRatio,
                      uint256 _amount)
                      public view returns (uint256);

    function liquidateRate(uint256 _supply,
                           uint256 _reserveBalance,
                           uint32 _reserveRatio,
                           uint256 _amount)
                           public view returns (uint256);
}

// File: contracts/IBancorNetwork.sol

pragma solidity 0.4.26;


/*
    Bancor Network interface
*/
contract IBancorNetwork {
    function convert2(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn,
        address _affiliateAccount,
        uint256 _affiliateFee
    ) public payable returns (uint256);

    function claimAndConvert2(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn,
        address _affiliateAccount,
        uint256 _affiliateFee
    ) public returns (uint256);

    function convertFor2(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn,
        address _for,
        address _affiliateAccount,
        uint256 _affiliateFee
    ) public payable returns (uint256);

    function claimAndConvertFor2(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn,
        address _for,
        address _affiliateAccount,
        uint256 _affiliateFee
    ) public returns (uint256);

    // deprecated, backward compatibility
    function convert(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn
    ) public payable returns (uint256);

    // deprecated, backward compatibility
    function claimAndConvert(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn
    ) public returns (uint256);

    // deprecated, backward compatibility
    function convertFor(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn,
        address _for
    ) public payable returns (uint256);

    // deprecated, backward compatibility
    function claimAndConvertFor(
        IERC20Token[] _path,
        uint256 _amount,
        uint256 _minReturn,
        address _for
    ) public returns (uint256);
}

// File: contracts/utility/Owned.sol

pragma solidity 0.4.26;


/**
  * @dev Provides support and utilities for contract ownership
*/
contract Owned is IOwned {
    address public owner;
    address public newOwner;

    /**
      * @dev triggered when the owner is updated
      *
      * @param _prevOwner previous owner
      * @param _newOwner  new owner
    */
    event OwnerUpdate(address indexed _prevOwner, address indexed _newOwner);

    /**
      * @dev initializes a new Owned instance
    */
    constructor() public {
        owner = msg.sender;
    }

    // allows execution by the owner only
    modifier ownerOnly {
        _ownerOnly();
        _;
    }

    // error message binary size optimization
    function _ownerOnly() internal view {
        require(msg.sender == owner, "ERR_ACCESS_DENIED");
    }

    /**
      * @dev allows transferring the contract ownership
      * the new owner still needs to accept the transfer
      * can only be called by the contract owner
      *
      * @param _newOwner    new contract owner
    */
    function transferOwnership(address _newOwner) public ownerOnly {
        require(_newOwner != owner, "ERR_SAME_OWNER");
        newOwner = _newOwner;
    }

    /**
      * @dev used by a new owner to accept an ownership transfer
    */
    function acceptOwnership() public {
        require(msg.sender == newOwner, "ERR_ACCESS_DENIED");
        emit OwnerUpdate(owner, newOwner);
        owner = newOwner;
        newOwner = address(0);
    }
}

// File: contracts/utility/Utils.sol

pragma solidity 0.4.26;

/**
  * @dev Utilities & Common Modifiers
*/
contract Utils {
    // verifies that a value is greater than zero
    modifier greaterThanZero(uint256 _value) {
        _greaterThanZero(_value);
        _;
    }

    // error message binary size optimization
    function _greaterThanZero(uint256 _value) internal pure {
        require(_value > 0, "ERR_ZERO_VALUE");
    }

    // validates an address - currently only checks that it isn't null
    modifier validAddress(address _address) {
        _validAddress(_address);
        _;
    }

    // error message binary size optimization
    function _validAddress(address _address) internal pure {
        require(_address != address(0), "ERR_INVALID_ADDRESS");
    }

    // verifies that the address is different than this contract address
    modifier notThis(address _address) {
        _notThis(_address);
        _;
    }

    // error message binary size optimization
    function _notThis(address _address) internal view {
        require(_address != address(this), "ERR_ADDRESS_IS_SELF");
    }
}

// File: contracts/utility/interfaces/IContractRegistry.sol

pragma solidity 0.4.26;

/*
    Contract Registry interface
*/
contract IContractRegistry {
    function addressOf(bytes32 _contractName) public view returns (address);

    // deprecated, backward compatibility
    function getAddress(bytes32 _contractName) public view returns (address);
}

// File: contracts/utility/ContractRegistryClient.sol

pragma solidity 0.4.26;




/**
  * @dev Base contract for ContractRegistry clients
*/
contract ContractRegistryClient is Owned, Utils {
    bytes32 internal constant CONTRACT_REGISTRY = "ContractRegistry";
    bytes32 internal constant BANCOR_NETWORK = "BancorNetwork";
    bytes32 internal constant BANCOR_FORMULA = "BancorFormula";
    bytes32 internal constant CONVERTER_FACTORY = "ConverterFactory";
    bytes32 internal constant CONVERSION_PATH_FINDER = "ConversionPathFinder";
    bytes32 internal constant CONVERTER_UPGRADER = "BancorConverterUpgrader";
    bytes32 internal constant CONVERTER_REGISTRY = "BancorConverterRegistry";
    bytes32 internal constant CONVERTER_REGISTRY_DATA = "BancorConverterRegistryData";
    bytes32 internal constant BNT_TOKEN = "BNTToken";
    bytes32 internal constant BANCOR_X = "BancorX";
    bytes32 internal constant BANCOR_X_UPGRADER = "BancorXUpgrader";

    IContractRegistry public registry;      // address of the current contract-registry
    IContractRegistry public prevRegistry;  // address of the previous contract-registry
    bool public onlyOwnerCanUpdateRegistry; // only an owner can update the contract-registry

    /**
      * @dev verifies that the caller is mapped to the given contract name
      *
      * @param _contractName    contract name
    */
    modifier only(bytes32 _contractName) {
        _only(_contractName);
        _;
    }

    // error message binary size optimization
    function _only(bytes32 _contractName) internal view {
        require(msg.sender == addressOf(_contractName), "ERR_ACCESS_DENIED");
    }

    /**
      * @dev initializes a new ContractRegistryClient instance
      *
      * @param  _registry   address of a contract-registry contract
    */
    constructor(IContractRegistry _registry) internal validAddress(_registry) {
        registry = IContractRegistry(_registry);
        prevRegistry = IContractRegistry(_registry);
    }

    /**
      * @dev updates to the new contract-registry
     */
    function updateRegistry() public {
        // verify that this function is permitted
        require(msg.sender == owner || !onlyOwnerCanUpdateRegistry, "ERR_ACCESS_DENIED");

        // get the new contract-registry
        IContractRegistry newRegistry = IContractRegistry(addressOf(CONTRACT_REGISTRY));

        // verify that the new contract-registry is different and not zero
        require(newRegistry != address(registry) && newRegistry != address(0), "ERR_INVALID_REGISTRY");

        // verify that the new contract-registry is pointing to a non-zero contract-registry
        require(newRegistry.addressOf(CONTRACT_REGISTRY) != address(0), "ERR_INVALID_REGISTRY");

        // save a backup of the current contract-registry before replacing it
        prevRegistry = registry;

        // replace the current contract-registry with the new contract-registry
        registry = newRegistry;
    }

    /**
      * @dev restores the previous contract-registry
    */
    function restoreRegistry() public ownerOnly {
        // restore the previous contract-registry
        registry = prevRegistry;
    }

    /**
      * @dev restricts the permission to update the contract-registry
      *
      * @param _onlyOwnerCanUpdateRegistry  indicates whether or not permission is restricted to owner only
    */
    function restrictRegistryUpdate(bool _onlyOwnerCanUpdateRegistry) public ownerOnly {
        // change the permission to update the contract-registry
        onlyOwnerCanUpdateRegistry = _onlyOwnerCanUpdateRegistry;
    }

    /**
      * @dev returns the address associated with the given contract name
      *
      * @param _contractName    contract name
      *
      * @return contract address
    */
    function addressOf(bytes32 _contractName) internal view returns (address) {
        return registry.addressOf(_contractName);
    }
}

// File: contracts/utility/ReentrancyGuard.sol

pragma solidity 0.4.26;

/**
  * @dev ReentrancyGuard
  *
  * The contract provides protection against re-entrancy - calling a function (directly or
  * indirectly) from within itself.
*/
contract ReentrancyGuard {
    // true while protected code is being executed, false otherwise
    bool private locked = false;

    /**
      * @dev ensures instantiation only by sub-contracts
    */
    constructor() internal {}

    // protects a function against reentrancy attacks
    modifier protected() {
        _protected();
        locked = true;
        _;
        locked = false;
    }

    // error message binary size optimization
    function _protected() internal view {
        require(!locked, "ERR_REENTRANCY");
    }
}

// File: contracts/utility/SafeMath.sol

pragma solidity 0.4.26;

/**
  * @dev Library for basic math operations with overflow/underflow protection
*/
library SafeMath {
    /**
      * @dev returns the sum of _x and _y, reverts if the calculation overflows
      *
      * @param _x   value 1
      * @param _y   value 2
      *
      * @return sum
    */
    function add(uint256 _x, uint256 _y) internal pure returns (uint256) {
        uint256 z = _x + _y;
        require(z >= _x, "ERR_OVERFLOW");
        return z;
    }

    /**
      * @dev returns the difference of _x minus _y, reverts if the calculation underflows
      *
      * @param _x   minuend
      * @param _y   subtrahend
      *
      * @return difference
    */
    function sub(uint256 _x, uint256 _y) internal pure returns (uint256) {
        require(_x >= _y, "ERR_UNDERFLOW");
        return _x - _y;
    }

    /**
      * @dev returns the product of multiplying _x by _y, reverts if the calculation overflows
      *
      * @param _x   factor 1
      * @param _y   factor 2
      *
      * @return product
    */
    function mul(uint256 _x, uint256 _y) internal pure returns (uint256) {
        // gas optimization
        if (_x == 0)
            return 0;

        uint256 z = _x * _y;
        require(z / _x == _y, "ERR_OVERFLOW");
        return z;
    }

    /**
      * @dev Integer division of two numbers truncating the quotient, reverts on division by zero.
      *
      * @param _x   dividend
      * @param _y   divisor
      *
      * @return quotient
    */
    function div(uint256 _x, uint256 _y) internal pure returns (uint256) {
        require(_y > 0, "ERR_DIVIDE_BY_ZERO");
        uint256 c = _x / _y;
        return c;
    }
}

// File: contracts/utility/TokenHandler.sol

pragma solidity 0.4.26;


contract TokenHandler {
    bytes4 private constant APPROVE_FUNC_SELECTOR = bytes4(keccak256("approve(address,uint256)"));
    bytes4 private constant TRANSFER_FUNC_SELECTOR = bytes4(keccak256("transfer(address,uint256)"));
    bytes4 private constant TRANSFER_FROM_FUNC_SELECTOR = bytes4(keccak256("transferFrom(address,address,uint256)"));

    /**
      * @dev executes the ERC20 token's `approve` function and reverts upon failure
      * the main purpose of this function is to prevent a non standard ERC20 token
      * from failing silently
      *
      * @param _token   ERC20 token address
      * @param _spender approved address
      * @param _value   allowance amount
    */
    function safeApprove(IERC20Token _token, address _spender, uint256 _value) internal {
       execute(_token, abi.encodeWithSelector(APPROVE_FUNC_SELECTOR, _spender, _value));
    }

    /**
      * @dev executes the ERC20 token's `transfer` function and reverts upon failure
      * the main purpose of this function is to prevent a non standard ERC20 token
      * from failing silently
      *
      * @param _token   ERC20 token address
      * @param _to      target address
      * @param _value   transfer amount
    */
    function safeTransfer(IERC20Token _token, address _to, uint256 _value) internal {
       execute(_token, abi.encodeWithSelector(TRANSFER_FUNC_SELECTOR, _to, _value));
    }

    /**
      * @dev executes the ERC20 token's `transferFrom` function and reverts upon failure
      * the main purpose of this function is to prevent a non standard ERC20 token
      * from failing silently
      *
      * @param _token   ERC20 token address
      * @param _from    source address
      * @param _to      target address
      * @param _value   transfer amount
    */
    function safeTransferFrom(IERC20Token _token, address _from, address _to, uint256 _value) internal {
       execute(_token, abi.encodeWithSelector(TRANSFER_FROM_FUNC_SELECTOR, _from, _to, _value));
    }

    /**
      * @dev executes a function on the ERC20 token and reverts upon failure
      * the main purpose of this function is to prevent a non standard ERC20 token
      * from failing silently
      *
      * @param _token   ERC20 token address
      * @param _data    data to pass in to the token's contract for execution
    */
    function execute(IERC20Token _token, bytes memory _data) private {
        uint256[1] memory ret = [uint256(1)];

        assembly {
            let success := call(
                gas,            // gas remaining
                _token,         // destination address
                0,              // no ether
                add(_data, 32), // input buffer (starts after the first 32 bytes in the `data` array)
                mload(_data),   // input length (loaded from the first 32 bytes in the `data` array)
                ret,            // output buffer
                32              // output length
            )
            if iszero(success) {
                revert(0, 0)
            }
        }

        require(ret[0] != 0, "ERR_TRANSFER_FAILED");
    }
}

// File: contracts/utility/TokenHolder.sol

pragma solidity 0.4.26;






/**
  * @dev We consider every contract to be a 'token holder' since it's currently not possible
  * for a contract to deny receiving tokens.
  *
  * The TokenHolder's contract sole purpose is to provide a safety mechanism that allows
  * the owner to send tokens that were sent to the contract by mistake back to their sender.
  *
  * Note that we use the non standard ERC-20 interface which has no return value for transfer
  * in order to support both non standard as well as standard token contracts.
  * see https://github.com/ethereum/solidity/issues/4116
*/
contract TokenHolder is ITokenHolder, TokenHandler, Owned, Utils {
    /**
      * @dev withdraws tokens held by the contract and sends them to an account
      * can only be called by the owner
      *
      * @param _token   ERC20 token contract address
      * @param _to      account to receive the new amount
      * @param _amount  amount to withdraw
    */
    function withdrawTokens(IERC20Token _token, address _to, uint256 _amount)
        public
        ownerOnly
        validAddress(_token)
        validAddress(_to)
        notThis(_to)
    {
        safeTransfer(_token, _to, _amount);
    }
}

// File: contracts/token/interfaces/IEtherToken.sol

pragma solidity 0.4.26;


/*
    Ether Token interface
*/
contract IEtherToken is IERC20Token {
    function deposit() public payable;
    function withdraw(uint256 _amount) public;
    function depositTo(address _to) public payable;
    function withdrawTo(address _to, uint256 _amount) public;
}

// File: contracts/bancorx/interfaces/IBancorX.sol

pragma solidity 0.4.26;


contract IBancorX {
    function token() public view returns (IERC20Token) {this;}
    function xTransfer(bytes32 _toBlockchain, bytes32 _to, uint256 _amount, uint256 _id) public;
    function getXTransferAmount(uint256 _xTransferId, address _for) public view returns (uint256);
}

// File: contracts/converter/ConverterBase.sol

pragma solidity 0.4.26;













/**
  * @dev ConverterBase
  *
  * The converter contains the main logic for conversions between different ERC20 tokens.
  *
  * It is also the upgradable part of the mechanism (note that upgrades are opt-in).
  *
  * The anchor must be set on construction and cannot be changed afterwards.
  * Wrappers are provided for some of the anchor's functions, for easier access.
  *
  * Once the converter accepts ownership of the anchor, it becomes the anchor's sole controller
  * and can execute any of its functions.
  *
  * To upgrade the converter, anchor ownership must be transferred to a new converter, along with
  * any relevant data.
  *
  * Note that the converter can transfer anchor ownership to a new converter that
  * doesn't allow upgrades anymore, for finalizing the relationship between the converter
  * and the anchor.
  *
  * Converter types (defined as uint16 type) -
  * 0 = liquid token converter
  * 1 = liquidity pool v1 converter
  * 2 = liquidity pool v2 converter
  *
  * Note that converters don't currently support tokens with transfer fees.
*/
contract ConverterBase is IConverter, TokenHandler, TokenHolder, ContractRegistryClient, ReentrancyGuard {
    using SafeMath for uint256;

    uint32 internal constant WEIGHT_RESOLUTION = 1000000;
    uint64 internal constant CONVERSION_FEE_RESOLUTION = 1000000;
    address internal constant ETH_RESERVE_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;

    struct Reserve {
        uint256 balance;    // reserve balance
        uint32 weight;      // reserve weight, represented in ppm, 1-1000000
        bool deprecated1;   // deprecated
        bool deprecated2;   // deprecated
        bool isSet;         // true if the reserve is valid, false otherwise
    }

    /**
      * @dev version number
    */
    uint16 public constant version = 29;

    IConverterAnchor public anchor;                 // converter anchor contract
    IWhitelist public conversionWhitelist;          // whitelist contract with list of addresses that are allowed to use the converter
    IERC20Token[] public reserveTokens;             // ERC20 standard token addresses (prior version 17, use 'connectorTokens' instead)
    mapping (address => Reserve) public reserves;   // reserve token addresses -> reserve data (prior version 17, use 'connectors' instead)
    uint32 public reserveRatio = 0;                 // ratio between the reserves and the market cap, equal to the total reserve weights
    uint32 public maxConversionFee = 0;             // maximum conversion fee for the lifetime of the contract,
                                                    // represented in ppm, 0...1000000 (0 = no fee, 100 = 0.01%, 1000000 = 100%)
    uint32 public conversionFee = 0;                // current conversion fee, represented in ppm, 0...maxConversionFee
    bool public constant conversionsEnabled = true; // deprecated, backward compatibility

    /**
      * @dev triggered when the converter is activated
      *
      * @param _anchor      converter anchor
      * @param _activated   true if the converter was activated, false if it was deactivated
    */
    event Activation(IConverterAnchor _anchor, bool _activated);

    /**
      * @dev triggered when a conversion between two tokens occurs
      *
      * @param _fromToken       source ERC20 token
      * @param _toToken         target ERC20 token
      * @param _trader          wallet that initiated the trade
      * @param _amount          amount converted, in the source token
      * @param _return          amount returned, minus conversion fee
      * @param _conversionFee   conversion fee
    */
    event Conversion(
        address indexed _fromToken,
        address indexed _toToken,
        address indexed _trader,
        uint256 _amount,
        uint256 _return,
        int256 _conversionFee
    );

    /**
      * @dev triggered when the rate between two tokens in the converter changes
      * note that the event might be dispatched for rate updates between any two tokens in the converter
      * note that prior to version 28, you should use the 'PriceDataUpdate' event instead
      *
      * @param  _token1 address of the first token
      * @param  _token2 address of the second token
      * @param  _rateN  rate of 1 unit of `_token1` in `_token2` (numerator)
      * @param  _rateD  rate of 1 unit of `_token1` in `_token2` (denominator)
    */
    event TokenRateUpdate(
        address indexed _token1,
        address indexed _token2,
        uint256 _rateN,
        uint256 _rateD
    );

    /**
      * @dev triggered when the conversion fee is updated
      *
      * @param  _prevFee    previous fee percentage, represented in ppm
      * @param  _newFee     new fee percentage, represented in ppm
    */
    event ConversionFeeUpdate(uint32 _prevFee, uint32 _newFee);

    /**
      * @dev used by sub-contracts to initialize a new converter
      *
      * @param  _anchor             anchor governed by the converter
      * @param  _registry           address of a contract registry contract
      * @param  _maxConversionFee   maximum conversion fee, represented in ppm
    */
    constructor(
        IConverterAnchor _anchor,
        IContractRegistry _registry,
        uint32 _maxConversionFee
    )
        validAddress(_anchor)
        ContractRegistryClient(_registry)
        internal
        validConversionFee(_maxConversionFee)
    {
        anchor = _anchor;
        maxConversionFee = _maxConversionFee;
    }

    // ensures that the converter is active
    modifier active() {
        _active();
        _;
    }

    // error message binary size optimization
    function _active() internal view {
        require(isActive(), "ERR_INACTIVE");
    }

    // ensures that the converter is not active
    modifier inactive() {
        _inactive();
        _;
    }

    // error message binary size optimization
    function _inactive() internal view {
        require(!isActive(), "ERR_ACTIVE");
    }

    // validates a reserve token address - verifies that the address belongs to one of the reserve tokens
    modifier validReserve(IERC20Token _address) {
        _validReserve(_address);
        _;
    }

    // error message binary size optimization
    function _validReserve(IERC20Token _address) internal view {
        require(reserves[_address].isSet, "ERR_INVALID_RESERVE");
    }

    // validates conversion fee
    modifier validConversionFee(uint32 _conversionFee) {
        _validConversionFee(_conversionFee);
        _;
    }

    // error message binary size optimization
    function _validConversionFee(uint32 _conversionFee) internal pure {
        require(_conversionFee <= CONVERSION_FEE_RESOLUTION, "ERR_INVALID_CONVERSION_FEE");
    }

    // validates reserve weight
    modifier validReserveWeight(uint32 _weight) {
        _validReserveWeight(_weight);
        _;
    }

    // error message binary size optimization
    function _validReserveWeight(uint32 _weight) internal pure {
        require(_weight > 0 && _weight <= WEIGHT_RESOLUTION, "ERR_INVALID_RESERVE_WEIGHT");
    }

    /**
      * @dev deposits ether
      * can only be called if the converter has an ETH reserve
    */
    function() external payable {
        require(reserves[ETH_RESERVE_ADDRESS].isSet, "ERR_INVALID_RESERVE"); // require(hasETHReserve(), "ERR_INVALID_RESERVE");
        // a workaround for a problem when running solidity-coverage
        // see https://github.com/sc-forks/solidity-coverage/issues/487
    }

    /**
      * @dev withdraws ether
      * can only be called by the owner if the converter is inactive or by upgrader contract
      * can only be called after the upgrader contract has accepted the ownership of this contract
      * can only be called if the converter has an ETH reserve
      *
      * @param _to  address to send the ETH to
    */
    function withdrawETH(address _to)
        public
        protected
        ownerOnly
        validReserve(IERC20Token(ETH_RESERVE_ADDRESS))
    {
        address converterUpgrader = addressOf(CONVERTER_UPGRADER);

        // verify that the converter is inactive or that the owner is the upgrader contract
        require(!isActive() || owner == converterUpgrader, "ERR_ACCESS_DENIED");
        _to.transfer(address(this).balance);

        // sync the ETH reserve balance
        syncReserveBalance(IERC20Token(ETH_RESERVE_ADDRESS));
    }

    /**
      * @dev checks whether or not the converter version is 28 or higher
      *
      * @return true, since the converter version is 28 or higher
    */
    function isV28OrHigher() public pure returns (bool) {
        return true;
    }

    /**
      * @dev allows the owner to update & enable the conversion whitelist contract address
      * when set, only addresses that are whitelisted are actually allowed to use the converter
      * note that the whitelist check is actually done by the BancorNetwork contract
      *
      * @param _whitelist    address of a whitelist contract
    */
    function setConversionWhitelist(IWhitelist _whitelist)
        public
        ownerOnly
        notThis(_whitelist)
    {
        conversionWhitelist = _whitelist;
    }

    /**
      * @dev returns true if the converter is active, false otherwise
    */
    function isActive() public view returns (bool) {
        return anchor.owner() == address(this);
    }

    /**
      * @dev transfers the anchor ownership
      * the new owner needs to accept the transfer
      * can only be called by the converter upgrder while the upgrader is the owner
      * note that prior to version 28, you should use 'transferAnchorOwnership' instead
      *
      * @param _newOwner    new token owner
    */
    function transferAnchorOwnership(address _newOwner)
        public
        ownerOnly
        only(CONVERTER_UPGRADER)
    {
        anchor.transferOwnership(_newOwner);
    }

    /**
      * @dev accepts ownership of the anchor after an ownership transfer
      * most converters are also activated as soon as they accept the anchor ownership
      * can only be called by the contract owner
      * note that prior to version 28, you should use 'acceptTokenOwnership' instead
    */
    function acceptAnchorOwnership() public ownerOnly {
        // verify the the converter has at least one reserve
        require(reserveTokenCount() > 0, "ERR_INVALID_RESERVE_COUNT");
        anchor.acceptOwnership();
        syncReserveBalances();
    }

    /**
      * @dev withdraws tokens held by the anchor and sends them to an account
      * can only be called by the owner
      *
      * @param _token   ERC20 token contract address
      * @param _to      account to receive the new amount
      * @param _amount  amount to withdraw
    */
    function withdrawFromAnchor(IERC20Token _token, address _to, uint256 _amount) public ownerOnly {
        anchor.withdrawTokens(_token, _to, _amount);
    }

    /**
      * @dev updates the current conversion fee
      * can only be called by the contract owner
      *
      * @param _conversionFee new conversion fee, represented in ppm
    */
    function setConversionFee(uint32 _conversionFee) public ownerOnly {
        require(_conversionFee <= maxConversionFee, "ERR_INVALID_CONVERSION_FEE");
        emit ConversionFeeUpdate(conversionFee, _conversionFee);
        conversionFee = _conversionFee;
    }

    /**
      * @dev withdraws tokens held by the converter and sends them to an account
      * can only be called by the owner
      * note that reserve tokens can only be withdrawn by the owner while the converter is inactive
      * unless the owner is the converter upgrader contract
      *
      * @param _token   ERC20 token contract address
      * @param _to      account to receive the new amount
      * @param _amount  amount to withdraw
    */
    function withdrawTokens(IERC20Token _token, address _to, uint256 _amount) public protected ownerOnly {
        address converterUpgrader = addressOf(CONVERTER_UPGRADER);

        // if the token is not a reserve token, allow withdrawal
        // otherwise verify that the converter is inactive or that the owner is the upgrader contract
        require(!reserves[_token].isSet || !isActive() || owner == converterUpgrader, "ERR_ACCESS_DENIED");
        super.withdrawTokens(_token, _to, _amount);

        // if the token is a reserve token, sync the reserve balance
        if (reserves[_token].isSet)
            syncReserveBalance(_token);
    }

    /**
      * @dev upgrades the converter to the latest version
      * can only be called by the owner
      * note that the owner needs to call acceptOwnership on the new converter after the upgrade
    */
    function upgrade() public ownerOnly {
        IConverterUpgrader converterUpgrader = IConverterUpgrader(addressOf(CONVERTER_UPGRADER));

        transferOwnership(converterUpgrader);
        converterUpgrader.upgrade(version);
        acceptOwnership();
    }

    /**
      * @dev returns the number of reserve tokens defined
      * note that prior to version 17, you should use 'connectorTokenCount' instead
      *
      * @return number of reserve tokens
    */
    function reserveTokenCount() public view returns (uint16) {
        return uint16(reserveTokens.length);
    }

    /**
      * @dev defines a new reserve token for the converter
      * can only be called by the owner while the converter is inactive
      *
      * @param _token   address of the reserve token
      * @param _weight  reserve weight, represented in ppm, 1-1000000
    */
    function addReserve(IERC20Token _token, uint32 _weight)
        public
        ownerOnly
        inactive
        validAddress(_token)
        notThis(_token)
        validReserveWeight(_weight)
    {
        // validate input
        require(_token != address(anchor) && !reserves[_token].isSet, "ERR_INVALID_RESERVE");
        require(_weight <= WEIGHT_RESOLUTION - reserveRatio, "ERR_INVALID_RESERVE_WEIGHT");
        require(reserveTokenCount() < uint16(-1), "ERR_INVALID_RESERVE_COUNT");

        Reserve storage newReserve = reserves[_token];
        newReserve.balance = 0;
        newReserve.weight = _weight;
        newReserve.isSet = true;
        reserveTokens.push(_token);
        reserveRatio += _weight;
    }

    /**
      * @dev returns the reserve's weight
      * added in version 28
      *
      * @param _reserveToken    reserve token contract address
      *
      * @return reserve weight
    */
    function reserveWeight(IERC20Token _reserveToken)
        public
        view
        validReserve(_reserveToken)
        returns (uint32)
    {
        return reserves[_reserveToken].weight;
    }

    /**
      * @dev returns the reserve's balance
      * note that prior to version 17, you should use 'getConnectorBalance' instead
      *
      * @param _reserveToken    reserve token contract address
      *
      * @return reserve balance
    */
    function reserveBalance(IERC20Token _reserveToken)
        public
        view
        validReserve(_reserveToken)
        returns (uint256)
    {
        return reserves[_reserveToken].balance;
    }

    /**
      * @dev checks whether or not the converter has an ETH reserve
      *
      * @return true if the converter has an ETH reserve, false otherwise
    */
    function hasETHReserve() public view returns (bool) {
        return reserves[ETH_RESERVE_ADDRESS].isSet;
    }

    /**
      * @dev converts a specific amount of source tokens to target tokens
      * can only be called by the bancor network contract
      *
      * @param _sourceToken source ERC20 token
      * @param _targetToken target ERC20 token
      * @param _amount      amount of tokens to convert (in units of the source token)
      * @param _trader      address of the caller who executed the conversion
      * @param _beneficiary wallet to receive the conversion result
      *
      * @return amount of tokens received (in units of the target token)
    */
    function convert(IERC20Token _sourceToken, IERC20Token _targetToken, uint256 _amount, address _trader, address _beneficiary)
        public
        payable
        protected
        only(BANCOR_NETWORK)
        returns (uint256)
    {
        // validate input
        require(_sourceToken != _targetToken, "ERR_SAME_SOURCE_TARGET");

        // if a whitelist is set, verify that both and trader and the beneficiary are whitelisted
        require(conversionWhitelist == address(0) ||
                (conversionWhitelist.isWhitelisted(_trader) && conversionWhitelist.isWhitelisted(_beneficiary)),
                "ERR_NOT_WHITELISTED");

        return doConvert(_sourceToken, _targetToken, _amount, _trader, _beneficiary);
    }

    /**
      * @dev converts a specific amount of source tokens to target tokens
      * called by ConverterBase and allows the inherited contracts to implement custom conversion logic
      *
      * @param _sourceToken source ERC20 token
      * @param _targetToken target ERC20 token
      * @param _amount      amount of tokens to convert (in units of the source token)
      * @param _trader      address of the caller who executed the conversion
      * @param _beneficiary wallet to receive the conversion result
      *
      * @return amount of tokens received (in units of the target token)
    */
    function doConvert(IERC20Token _sourceToken, IERC20Token _targetToken, uint256 _amount, address _trader, address _beneficiary) internal returns (uint256);

    /**
      * @dev returns the conversion fee for a given return amount
      *
      * @param _amount  return amount
      *
      * @return conversion fee
    */
    function calculateFee(uint256 _amount) internal view returns (uint256) {
        return _amount.mul(conversionFee).div(CONVERSION_FEE_RESOLUTION);
    }

    /**
      * @dev syncs the stored reserve balance for a given reserve with the real reserve balance
      *
      * @param _reserveToken    address of the reserve token
    */
    function syncReserveBalance(IERC20Token _reserveToken) internal validReserve(_reserveToken) {
        if (_reserveToken == ETH_RESERVE_ADDRESS)
            reserves[_reserveToken].balance = address(this).balance;
        else
            reserves[_reserveToken].balance = _reserveToken.balanceOf(this);
    }

    /**
      * @dev syncs all stored reserve balances
    */
    function syncReserveBalances() internal {
        uint256 reserveCount = reserveTokens.length;
        for (uint256 i = 0; i < reserveCount; i++)
            syncReserveBalance(reserveTokens[i]);
    }

    /**
      * @dev helper, dispatches the Conversion event
      *
      * @param _sourceToken     source ERC20 token
      * @param _targetToken     target ERC20 token
      * @param _trader          address of the caller who executed the conversion
      * @param _amount          amount purchased/sold (in the source token)
      * @param _returnAmount    amount returned (in the target token)
    */
    function dispatchConversionEvent(
        IERC20Token _sourceToken,
        IERC20Token _targetToken,
        address _trader,
        uint256 _amount,
        uint256 _returnAmount,
        uint256 _feeAmount)
        internal
    {
        // fee amount is converted to 255 bits -
        // negative amount means the fee is taken from the source token, positive amount means its taken from the target token
        // currently the fee is always taken from the target token
        // since we convert it to a signed number, we first ensure that it's capped at 255 bits to prevent overflow
        assert(_feeAmount < 2 ** 255);
        emit Conversion(_sourceToken, _targetToken, _trader, _amount, _returnAmount, int256(_feeAmount));
    }

    /**
      * @dev deprecated since version 28, backward compatibility - use only for earlier versions
    */
    function token() public view returns (IConverterAnchor) {
        return anchor;
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function transferTokenOwnership(address _newOwner) public ownerOnly {
        transferAnchorOwnership(_newOwner);
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function acceptTokenOwnership() public ownerOnly {
        acceptAnchorOwnership();
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function connectors(address _address) public view returns (uint256, uint32, bool, bool, bool) {
        Reserve memory reserve = reserves[_address];
        return(reserve.balance, reserve.weight, false, false, reserve.isSet);
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function connectorTokens(uint256 _index) public view returns (IERC20Token) {
        return ConverterBase.reserveTokens[_index];
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function connectorTokenCount() public view returns (uint16) {
        return reserveTokenCount();
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function getConnectorBalance(IERC20Token _connectorToken) public view returns (uint256) {
        return reserveBalance(_connectorToken);
    }

    /**
      * @dev deprecated, backward compatibility
    */
    function getReturn(IERC20Token _sourceToken, IERC20Token _targetToken, uint256 _amount) public view returns (uint256, uint256) {
        return rateAndFee(_sourceToken, _targetToken, _amount);
    }
}

// File: contracts/converter/LiquidityPoolConverter.sol

pragma solidity 0.4.26;


/**
  * @dev Liquidity Pool Converter
  *
  * The liquidity pool converter is the base contract for specific types of converters that
  * manage liquidity pools.
  *
  * Liquidity pools have 2 reserves or more and they allow converting between them.
  *
  * Note that TokenRateUpdate events are dispatched for pool tokens as well.
  * The pool token is the first token in the event in that case.
*/
contract LiquidityPoolConverter is ConverterBase {
    /**
      * @dev triggered after liquidity is added
      *
      * @param  _provider       liquidity provider
      * @param  _reserveToken   reserve token address
      * @param  _amount         reserve token amount
      * @param  _newBalance     reserve token new balance
      * @param  _newSupply      pool token new supply
    */
    event LiquidityAdded(
        address indexed _provider,
        address indexed _reserveToken,
        uint256 _amount,
        uint256 _newBalance,
        uint256 _newSupply
    );

    /**
      * @dev triggered after liquidity is removed
      *
      * @param  _provider       liquidity provider
      * @param  _reserveToken   reserve token address
      * @param  _amount         reserve token amount
      * @param  _newBalance     reserve token new balance
      * @param  _newSupply      pool token new supply
    */
    event LiquidityRemoved(
        address indexed _provider,
        address indexed _reserveToken,
        uint256 _amount,
        uint256 _newBalance,
        uint256 _newSupply
    );

    /**
      * @dev initializes a new LiquidityPoolConverter instance
      *
      * @param  _anchor             anchor governed by the converter
      * @param  _registry           address of a contract registry contract
      * @param  _maxConversionFee   maximum conversion fee, represented in ppm
    */
    constructor(
        IConverterAnchor _anchor,
        IContractRegistry _registry,
        uint32 _maxConversionFee
    )
        ConverterBase(_anchor, _registry, _maxConversionFee)
        internal
    {
    }

    /**
      * @dev accepts ownership of the anchor after an ownership transfer
      * also activates the converter
      * can only be called by the contract owner
      * note that prior to version 28, you should use 'acceptTokenOwnership' instead
    */
    function acceptTokenOwnership() public {
        // verify that the converter has at least 2 reserves
        require(reserveTokenCount() > 1, "ERR_INVALID_RESERVE_COUNT");
        super.acceptTokenOwnership();
    }
}

// File: contracts/converter/interfaces/ITypedConverterFactory.sol

pragma solidity 0.4.26;




/*
    Typed Converter Factory interface
*/
contract ITypedConverterFactory {
    function converterType() public pure returns (uint16);
    function createConverter(IConverterAnchor _anchor, IContractRegistry _registry, uint32 _maxConversionFee) public returns (IConverter);
}

// File: contracts/token/interfaces/ISmartToken.sol

pragma solidity 0.4.26;




/*
    Smart Token interface
*/
contract ISmartToken is IConverterAnchor, IERC20Token {
    function disableTransfers(bool _disable) public;
    function issue(address _to, uint256 _amount) public;
    function destroy(address _from, uint256 _amount) public;
}

// File: contracts/converter/LiquidityPoolV1Converter.sol

pragma solidity 0.4.26;




/*
    LiquidityPoolV1Converter Factory
*/
contract LiquidityPoolV1ConverterFactory is ITypedConverterFactory {
    /**
      * @dev returns the converter type the factory is associated with
      *
      * @return converter type
    */
    function converterType() public pure returns (uint16) {
        return 1;
    }

    /**
      * @dev creates a new converter with the given arguments and transfers
      * the ownership to the caller
      *
      * @param _anchor            anchor governed by the converter
      * @param _registry          address of a contract registry contract
      * @param _maxConversionFee  maximum conversion fee, represented in ppm
      *
      * @return a new converter
    */
    function createConverter(IConverterAnchor _anchor, IContractRegistry _registry, uint32 _maxConversionFee) public returns (IConverter) {
        ConverterBase converter = new LiquidityPoolV1Converter(ISmartToken(_anchor), _registry, _maxConversionFee);
        converter.transferOwnership(msg.sender);
        return converter;
    }
}

/**
  * @dev Liquidity Pool v1 Converter
  *
  * The liquidity pool v1 converter is a specialized version of a converter that manages
  * a classic bancor liquidity pool.
  *
  * Even though classic pools can have many reserves, the most common configuration of
  * the pool has 2 reserves with 50%/50% weights.
*/
contract LiquidityPoolV1Converter is LiquidityPoolConverter {
    IEtherToken internal etherToken = IEtherToken(0xc0829421C1d260BD3cB3E0F06cfE2D52db2cE315);

    /**
      * @dev triggered after a conversion with new price data
      * deprecated, use `TokenRateUpdate` from version 28 and up
      *
      * @param  _connectorToken     reserve token
      * @param  _tokenSupply        smart token supply
      * @param  _connectorBalance   reserve balance
      * @param  _connectorWeight    reserve weight
    */
    event PriceDataUpdate(
        address indexed _connectorToken,
        uint256 _tokenSupply,
        uint256 _connectorBalance,
        uint32 _connectorWeight
    );

    /**
      * @dev initializes a new LiquidityPoolV1Converter instance
      *
      * @param  _token              pool token governed by the converter
      * @param  _registry           address of a contract registry contract
      * @param  _maxConversionFee   maximum conversion fee, represented in ppm
    */
    constructor(
        ISmartToken _token,
        IContractRegistry _registry,
        uint32 _maxConversionFee
    )
        LiquidityPoolConverter(_token, _registry, _maxConversionFee)
        public
    {
    }

    /**
      * @dev returns the converter type
      *
      * @return see the converter types in the the main contract doc
    */
    function converterType() public pure returns (uint16) {
        return 1;
    }

    /**
      * @dev accepts ownership of the anchor after an ownership transfer
      * also activates the converter
      * can only be called by the contract owner
      * note that prior to version 28, you should use 'acceptTokenOwnership' instead
    */
    function acceptAnchorOwnership() public ownerOnly {
        super.acceptAnchorOwnership();

        emit Activation(anchor, true);
    }

    /**
      * @dev returns the expected rate of converting one reserve to another along with the fee
      *
      * @param _sourceToken contract address of the source reserve token
      * @param _targetToken contract address of the target reserve token
      * @param _amount      amount of tokens received from the user
      *
      * @return expected rate
      * @return expected fee
    */
    function rateAndFee(IERC20Token _sourceToken, IERC20Token _targetToken, uint256 _amount)
        public
        view
        active
        validReserve(_sourceToken)
        validReserve(_targetToken)
        returns (uint256, uint256)
    {
        // validate input
        require(_sourceToken != _targetToken, "ERR_SAME_SOURCE_TARGET");

        uint256 amount = IBancorFormula(addressOf(BANCOR_FORMULA)).crossReserveRate(
            reserveBalance(_sourceToken),
            reserves[_sourceToken].weight,
            reserveBalance(_targetToken),
            reserves[_targetToken].weight,
            _amount
        );

        // return the amount minus the conversion fee and the conversion fee
        uint256 fee = calculateFee(amount);
        return (amount - fee, fee);
    }

    /**
      * @dev converts a specific amount of source tokens to target tokens
      * can only be called by the bancor network contract
      *
      * @param _sourceToken source ERC20 token
      * @param _targetToken target ERC20 token
      * @param _amount      amount of tokens to convert (in units of the source token)
      * @param _trader      address of the caller who executed the conversion
      * @param _beneficiary wallet to receive the conversion result
      *
      * @return amount of tokens received (in units of the target token)
    */
    function doConvert(IERC20Token _sourceToken, IERC20Token _targetToken, uint256 _amount, address _trader, address _beneficiary)
        internal
        returns (uint256)
    {
        // get expected rate and fee
        (uint256 amount, uint256 fee) = rateAndFee(_sourceToken, _targetToken, _amount);

        // ensure that the trade gives something in return
        require(amount != 0, "ERR_ZERO_RATE");

        // ensure that the trade won't deplete the reserve balance
        uint256 targetReserveBalance = reserveBalance(_targetToken);
        assert(amount < targetReserveBalance);

        // ensure that the input amount was already deposited
        if (_sourceToken == ETH_RESERVE_ADDRESS)
            require(msg.value == _amount, "ERR_ETH_AMOUNT_MISMATCH");
        else
            require(msg.value == 0 && _sourceToken.balanceOf(this).sub(reserveBalance(_sourceToken)) >= _amount, "ERR_INVALID_AMOUNT");

        // sync the reserve balances
        syncReserveBalance(_sourceToken);
        reserves[_targetToken].balance = reserves[_targetToken].balance.sub(amount);

        // transfer funds to the beneficiary in the to reserve token
        if (_targetToken == ETH_RESERVE_ADDRESS)
            _beneficiary.transfer(amount);
        else
            safeTransfer(_targetToken, _beneficiary, amount);

        // dispatch the conversion event
        dispatchConversionEvent(_sourceToken, _targetToken, _trader, _amount, amount, fee);

        // dispatch rate updates
        dispatchRateEvents(_sourceToken, _targetToken);

        return amount;
    }

    /**
      * @dev increases the pool's liquidity and mints new shares in the pool to the caller
      * note that prior to version 28, you should use 'fund' instead
      *
      * @param _reserveTokens   address of each reserve token
      * @param _reserveAmounts  amount of each reserve token
      * @param _minReturn       token minimum return-amount
    */
    function addLiquidity(IERC20Token[] memory _reserveTokens, uint256[] memory _reserveAmounts, uint256 _minReturn)
        public
        payable
        protected
        active
    {
        // verify the user input
        verifyLiquidityInput(_reserveTokens, _reserveAmounts, _minReturn);

        // if one of the reserves is ETH, then verify that the input amount of ETH is equal to the input value of ETH
        for (uint256 i = 0; i < _reserveTokens.length; i++)
            if (_reserveTokens[i] == ETH_RESERVE_ADDRESS)
                require(_reserveAmounts[i] == msg.value, "ERR_ETH_AMOUNT_MISMATCH");

        // if the input value of ETH is larger than zero, then verify that one of the reserves is ETH
        if (msg.value > 0)
            require(reserves[ETH_RESERVE_ADDRESS].isSet, "ERR_NO_ETH_RESERVE");

        // get the total supply
        uint256 totalSupply = ISmartToken(anchor).totalSupply();

        // transfer from the user an equally-worth amount of each one of the reserve tokens
        uint256 amount = addLiquidityToPool(_reserveTokens, _reserveAmounts, totalSupply);

        // verify that the equivalent amount of tokens is equal to or larger than the user's expectation
        require(amount >= _minReturn, "ERR_RETURN_TOO_LOW");

        // issue the tokens to the user
        ISmartToken(anchor).issue(msg.sender, amount);
    }

    /**
      * @dev decreases the pool's liquidity and burns the caller's shares in the pool
      * note that prior to version 28, you should use 'liquidate' instead
      *
      * @param _amount                  token amount
      * @param _reserveTokens           address of each reserve token
      * @param _reserveMinReturnAmounts minimum return-amount of each reserve token
    */
    function removeLiquidity(uint256 _amount, IERC20Token[] memory _reserveTokens, uint256[] memory _reserveMinReturnAmounts)
        public
        protected
        active
    {
        // verify the user input
        verifyLiquidityInput(_reserveTokens, _reserveMinReturnAmounts, _amount);

        // get the total supply BEFORE destroying the user tokens
        uint256 totalSupply = ISmartToken(anchor).totalSupply();

        // destroy the user tokens
        ISmartToken(anchor).destroy(msg.sender, _amount);

        // transfer to the user an equivalent amount of each one of the reserve tokens
        removeLiquidityFromPool(_reserveTokens, _reserveMinReturnAmounts, totalSupply, _amount);
    }

    /**
      * @dev increases the pool's liquidity and mints new shares in the pool to the caller
      * for example, if the caller increases the supply by 10%,
      * then it will cost an amount equal to 10% of each reserve token balance
      * note that starting from version 28, you should use 'addLiquidity' instead
      *
      * @param _amount  amount to increase the supply by (in the pool token)
    */
    function fund(uint256 _amount) public payable protected {
        syncReserveBalances();
        reserves[ETH_RESERVE_ADDRESS].balance = reserves[ETH_RESERVE_ADDRESS].balance.sub(msg.value);

        uint256 supply = ISmartToken(anchor).totalSupply();
        IBancorFormula formula = IBancorFormula(addressOf(BANCOR_FORMULA));

        // iterate through the reserve tokens and transfer a percentage equal to the weight between
        // _amount and the total supply in each reserve from the caller to the converter
        uint256 reserveCount = reserveTokens.length;
        for (uint256 i = 0; i < reserveCount; i++) {
            IERC20Token reserveToken = reserveTokens[i];
            uint256 rsvBalance = reserves[reserveToken].balance;
            uint256 reserveAmount = formula.fundCost(supply, rsvBalance, reserveRatio, _amount);

            // transfer funds from the caller in the reserve token
            if (reserveToken == ETH_RESERVE_ADDRESS) {
                if (msg.value > reserveAmount) {
                    msg.sender.transfer(msg.value - reserveAmount);
                }
                else if (msg.value < reserveAmount) {
                    require(msg.value == 0, "ERR_INVALID_ETH_VALUE");
                    safeTransferFrom(etherToken, msg.sender, this, reserveAmount);
                    etherToken.withdraw(reserveAmount);
                }
            }
            else {
                safeTransferFrom(reserveToken, msg.sender, this, reserveAmount);
            }

            // sync the reserve balance
            uint256 newReserveBalance = rsvBalance.add(reserveAmount);
            reserves[reserveToken].balance = newReserveBalance;

            uint256 newPoolTokenSupply = supply.add(_amount);

            // dispatch liquidity update for the pool token/reserve
            emit LiquidityAdded(msg.sender, reserveToken, reserveAmount, newReserveBalance, newPoolTokenSupply);

            // dispatch the `TokenRateUpdate` event for the pool token
            uint32 reserveWeight = reserves[reserveToken].weight;
            dispatchPoolTokenRateEvent(newPoolTokenSupply, reserveToken, newReserveBalance, reserveWeight);
        }

        // issue new funds to the caller in the pool token
        ISmartToken(anchor).issue(msg.sender, _amount);
    }

    /**
      * @dev decreases the pool's liquidity and burns the caller's shares in the pool
      * for example, if the holder sells 10% of the supply,
      * then they will receive 10% of each reserve token balance in return
      * note that starting from version 28, you should use 'removeLiquidity' instead
      *
      * @param _amount  amount to liquidate (in the pool token)
    */
    function liquidate(uint256 _amount) public protected {
        require(_amount > 0, "ERR_ZERO_AMOUNT");

        uint256 totalSupply = ISmartToken(anchor).totalSupply();
        ISmartToken(anchor).destroy(msg.sender, _amount);

        uint256[] memory reserveMinReturnAmounts = new uint256[](reserveTokens.length);
        for (uint256 i = 0; i < reserveMinReturnAmounts.length; i++)
            reserveMinReturnAmounts[i] = 1;

        removeLiquidityFromPool(reserveTokens, reserveMinReturnAmounts, totalSupply, _amount);
    }

    /**
      * @dev verifies that a given array of tokens is identical to the converter's array of reserve tokens
      * we take this input in order to allow specifying the corresponding reserve amounts in any order
      *
      * @param _reserveTokens   array of reserve tokens
      * @param _reserveAmounts  array of reserve amounts
      * @param _amount          token amount
    */
    function verifyLiquidityInput(IERC20Token[] memory _reserveTokens, uint256[] memory _reserveAmounts, uint256 _amount) private view {
        uint256 i;
        uint256 j;

        uint256 length = reserveTokens.length;
        require(length == _reserveTokens.length, "ERR_INVALID_RESERVE");
        require(length == _reserveAmounts.length, "ERR_INVALID_AMOUNT");

        for (i = 0; i < length; i++) {
            // verify that every input reserve token is included in the reserve tokens
            require(reserves[_reserveTokens[i]].isSet, "ERR_INVALID_RESERVE");
            for (j = 0; j < length; j++) {
                if (reserveTokens[i] == _reserveTokens[j])
                    break;
            }
            // verify that every reserve token is included in the input reserve tokens
            require(j < length, "ERR_INVALID_RESERVE");
            // verify that every input reserve token amount is larger than zero
            require(_reserveAmounts[i] > 0, "ERR_INVALID_AMOUNT");
        }

        // verify that the input token amount is larger than zero
        require(_amount > 0, "ERR_ZERO_AMOUNT");
    }

    /**
      * @dev adds liquidity (reserve) to the pool
      *
      * @param _reserveTokens   address of each reserve token
      * @param _reserveAmounts  amount of each reserve token
      * @param _totalSupply     token total supply
    */
    function addLiquidityToPool(IERC20Token[] memory _reserveTokens, uint256[] memory _reserveAmounts, uint256 _totalSupply)
        private
        returns (uint256)
    {
        if (_totalSupply == 0)
            return addLiquidityToEmptyPool(_reserveTokens, _reserveAmounts);
        return addLiquidityToNonEmptyPool(_reserveTokens, _reserveAmounts, _totalSupply);
    }

    /**
      * @dev adds liquidity (reserve) to the pool when it's empty
      *
      * @param _reserveTokens   address of each reserve token
      * @param _reserveAmounts  amount of each reserve token
    */
    function addLiquidityToEmptyPool(IERC20Token[] memory _reserveTokens, uint256[] memory _reserveAmounts)
        private
        returns (uint256)
    {
        // calculate the geometric-mean of the reserve amounts approved by the user
        uint256 amount = geometricMean(_reserveAmounts);

        // transfer each one of the reserve amounts from the user to the pool
        for (uint256 i = 0; i < _reserveTokens.length; i++) {
            if (_reserveTokens[i] != ETH_RESERVE_ADDRESS) // ETH has already been transferred as part of the transaction
                safeTransferFrom(_reserveTokens[i], msg.sender, this, _reserveAmounts[i]);

            reserves[_reserveTokens[i]].balance = _reserveAmounts[i];

            emit LiquidityAdded(msg.sender, _reserveTokens[i], _reserveAmounts[i], _reserveAmounts[i], amount);

            // dispatch the `TokenRateUpdate` event for the pool token
            uint32 reserveWeight = reserves[_reserveTokens[i]].weight;
            dispatchPoolTokenRateEvent(amount, _reserveTokens[i], _reserveAmounts[i], reserveWeight);
        }

        return amount;
    }

    /**
      * @dev adds liquidity (reserve) to the pool when it's not empty
      *
      * @param _reserveTokens   address of each reserve token
      * @param _reserveAmounts  amount of each reserve token
      * @param _totalSupply     token total supply
    */
    function addLiquidityToNonEmptyPool(IERC20Token[] memory _reserveTokens, uint256[] memory _reserveAmounts, uint256 _totalSupply)
        private
        returns (uint256)
    {
        syncReserveBalances();
        reserves[ETH_RESERVE_ADDRESS].balance = reserves[ETH_RESERVE_ADDRESS].balance.sub(msg.value);

        IBancorFormula formula = IBancorFormula(addressOf(BANCOR_FORMULA));
        uint256 amount = getMinShare(_totalSupply, _reserveTokens, _reserveAmounts);

        for (uint256 i = 0; i < _reserveTokens.length; i++) {
            IERC20Token reserveToken = _reserveTokens[i];
            uint256 rsvBalance = reserves[reserveToken].balance;
            uint256 reserveAmount = formula.fundCost(_totalSupply, rsvBalance, reserveRatio, amount);
            require(reserveAmount > 0, "ERR_ZERO_RATE");
            assert(reserveAmount <= _reserveAmounts[i]);

            // transfer each one of the reserve amounts from the user to the pool
            if (reserveToken != ETH_RESERVE_ADDRESS) // ETH has already been transferred as part of the transaction
                safeTransferFrom(reserveToken, msg.sender, this, reserveAmount);
            else if (_reserveAmounts[i] > reserveAmount) // transfer the extra amount of ETH back to the user
                msg.sender.transfer(_reserveAmounts[i] - reserveAmount);

            uint256 newReserveBalance = rsvBalance.add(reserveAmount);
            reserves[reserveToken].balance = newReserveBalance;

            uint256 newPoolTokenSupply = _totalSupply.add(amount);

            emit LiquidityAdded(msg.sender, reserveToken, reserveAmount, newReserveBalance, newPoolTokenSupply);

            // dispatch the `TokenRateUpdate` event for the pool token
            uint32 reserveWeight = reserves[_reserveTokens[i]].weight;
            dispatchPoolTokenRateEvent(newPoolTokenSupply, _reserveTokens[i], newReserveBalance, reserveWeight);
        }

        return amount;
    }

    /**
      * @dev removes liquidity (reserve) from the pool
      *
      * @param _reserveTokens           address of each reserve token
      * @param _reserveMinReturnAmounts minimum return-amount of each reserve token
      * @param _totalSupply             token total supply
      * @param _amount                  token amount
    */
    function removeLiquidityFromPool(IERC20Token[] memory _reserveTokens, uint256[] memory _reserveMinReturnAmounts, uint256 _totalSupply, uint256 _amount)
        private
    {
        syncReserveBalances();

        IBancorFormula formula = IBancorFormula(addressOf(BANCOR_FORMULA));

        for (uint256 i = 0; i < _reserveTokens.length; i++) {
            IERC20Token reserveToken = _reserveTokens[i];
            uint256 rsvBalance = reserves[reserveToken].balance;
            uint256 reserveAmount = formula.liquidateRate(_totalSupply, rsvBalance, reserveRatio, _amount);
            require(reserveAmount >= _reserveMinReturnAmounts[i], "ERR_ZERO_RATE");

            uint256 newReserveBalance = rsvBalance.sub(reserveAmount);
            reserves[reserveToken].balance = newReserveBalance;

            // transfer each one of the reserve amounts from the pool to the user
            if (reserveToken == ETH_RESERVE_ADDRESS)
                msg.sender.transfer(reserveAmount);
            else
                safeTransfer(reserveToken, msg.sender, reserveAmount);

            uint256 newPoolTokenSupply = _totalSupply.sub(_amount);

            emit LiquidityRemoved(msg.sender, reserveToken, reserveAmount, newReserveBalance, newPoolTokenSupply);

            // dispatch the `TokenRateUpdate` event for the pool token
            uint32 reserveWeight = reserves[reserveToken].weight;
            dispatchPoolTokenRateEvent(newPoolTokenSupply, reserveToken, newReserveBalance, reserveWeight);
        }
    }

    function getMinShare(uint256 _totalSupply, IERC20Token[] memory _reserveTokens, uint256[] memory _reserveAmounts) private view returns (uint256) {
        uint256 minShare = getShare(_totalSupply, reserves[_reserveTokens[0]].balance, _reserveAmounts[0]);
        for (uint256 i = 1; i < _reserveTokens.length; i++) {
            uint256 share = getShare(_totalSupply, reserves[_reserveTokens[i]].balance, _reserveAmounts[i]);
            if (minShare > share)
                minShare = share;
        }
        return minShare;
    }

    function getShare(uint256 _totalSupply, uint256 _reserveBalance, uint256 _reserveAmount) private view returns (uint256) {
        return _totalSupply.mul(_reserveAmount).mul(reserveRatio).div(_reserveBalance.add(_reserveAmount).mul(WEIGHT_RESOLUTION));
    }

    /**
      * @dev calculates the number of decimal digits in a given value
      *
      * @param _x   value (assumed positive)
      * @return the number of decimal digits in the given value
    */
    function decimalLength(uint256 _x) public pure returns (uint256) {
        uint256 y = 0;
        for (uint256 x = _x; x > 0; x /= 10)
            y++;
        return y;
    }

    /**
      * @dev calculates the nearest integer to a given quotient
      *
      * @param _n   quotient numerator
      * @param _d   quotient denominator
      * @return the nearest integer to the given quotient
    */
    function roundDiv(uint256 _n, uint256 _d) public pure returns (uint256) {
        return (_n + _d / 2) / _d;
    }

    /**
      * @dev calculates the average number of decimal digits in a given list of values
      *
      * @param _values  list of values (each of which assumed positive)
      * @return the average number of decimal digits in the given list of values
    */
    function geometricMean(uint256[] memory _values) public pure returns (uint256) {
        uint256 numOfDigits = 0;
        uint256 length = _values.length;
        for (uint256 i = 0; i < length; i++)
            numOfDigits += decimalLength(_values[i]);
        return uint256(10) ** (roundDiv(numOfDigits, length) - 1);
    }

     /**
      * @dev dispatches rate events for both reserves / pool tokens
      * only used to circumvent the `stack too deep` compiler error
      *
      * @param _sourceToken address of the source reserve token
      * @param _targetToken address of the target reserve token
    */
    function dispatchRateEvents(IERC20Token _sourceToken, IERC20Token _targetToken) private {
        uint256 poolTokenSupply = ISmartToken(anchor).totalSupply();
        uint256 sourceReserveBalance = reserveBalance(_sourceToken);
        uint256 targetReserveBalance = reserveBalance(_targetToken);
        uint32 sourceReserveWeight = reserves[_sourceToken].weight;
        uint32 targetReserveWeight = reserves[_targetToken].weight;

        // dispatch token rate update event
        uint256 rateN = targetReserveBalance.mul(sourceReserveWeight);
        uint256 rateD = sourceReserveBalance.mul(targetReserveWeight);
        emit TokenRateUpdate(_sourceToken, _targetToken, rateN, rateD);

        // dispatch the `TokenRateUpdate` event for the pool token
        dispatchPoolTokenRateEvent(poolTokenSupply, _sourceToken, sourceReserveBalance, sourceReserveWeight);
        dispatchPoolTokenRateEvent(poolTokenSupply, _targetToken, targetReserveBalance, targetReserveWeight);

        // dispatch price data update events (deprecated events)
        emit PriceDataUpdate(_sourceToken, poolTokenSupply, sourceReserveBalance, sourceReserveWeight);
        emit PriceDataUpdate(_targetToken, poolTokenSupply, targetReserveBalance, targetReserveWeight);
    }

    /**
      * @dev dispatches the `TokenRateUpdate` for the pool token
      * only used to circumvent the `stack too deep` compiler error
      *
      * @param _poolTokenSupply total pool token supply
      * @param _reserveToken    address of the reserve token
      * @param _reserveBalance  reserve balance
      * @param _reserveWeight   reserve weight
    */
    function dispatchPoolTokenRateEvent(uint256 _poolTokenSupply, IERC20Token _reserveToken, uint256 _reserveBalance, uint32 _reserveWeight) private {
        emit TokenRateUpdate(anchor, _reserveToken, _reserveBalance.mul(WEIGHT_RESOLUTION), _poolTokenSupply.mul(_reserveWeight));
    }
}

Contract Security Audit

Contract ABI

[{"constant":false,"inputs":[{"name":"_onlyOwnerCanUpdateRegistry","type":"bool"}],"name":"restrictRegistryUpdate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"reserveRatio","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_address","type":"address"}],"name":"connectors","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint32"},{"name":"","type":"bool"},{"name":"","type":"bool"},{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"hasETHReserve","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_index","type":"uint256"}],"name":"connectorTokens","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_reserveToken","type":"address"}],"name":"reserveWeight","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_sourceToken","type":"address"},{"name":"_targetToken","type":"address"},{"name":"_amount","type":"uint256"}],"name":"getReturn","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferTokenOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"isActive","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"onlyOwnerCanUpdateRegistry","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptTokenOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawFromAnchor","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"converterType","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"liquidate","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_sourceToken","type":"address"},{"name":"_targetToken","type":"address"},{"name":"_amount","type":"uint256"}],"name":"rateAndFee","outputs":[{"name":"","type":"uint256"},{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"updateRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_whitelist","type":"address"}],"name":"setConversionWhitelist","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"version","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"conversionFee","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_to","type":"address"},{"name":"_amount","type":"uint256"}],"name":"withdrawTokens","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"prevRegistry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferAnchorOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_to","type":"address"}],"name":"withdrawETH","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_token","type":"address"},{"name":"_weight","type":"uint32"}],"name":"addReserve","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_x","type":"uint256"}],"name":"decimalLength","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"connectorTokenCount","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"acceptOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"registry","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_reserveTokens","type":"address[]"},{"name":"_reserveAmounts","type":"uint256[]"},{"name":"_minReturn","type":"uint256"}],"name":"addLiquidity","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":true,"inputs":[],"name":"owner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"maxConversionFee","outputs":[{"name":"","type":"uint32"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"reserveTokenCount","outputs":[{"name":"","type":"uint16"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_values","type":"uint256[]"}],"name":"geometricMean","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"},{"name":"_reserveTokens","type":"address[]"},{"name":"_reserveMinReturnAmounts","type":"uint256[]"}],"name":"removeLiquidity","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[],"name":"restoreRegistry","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"_n","type":"uint256"},{"name":"_d","type":"uint256"}],"name":"roundDiv","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"conversionsEnabled","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"conversionWhitelist","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_amount","type":"uint256"}],"name":"fund","outputs":[],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[],"name":"acceptAnchorOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"uint256"}],"name":"reserveTokens","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"isV28OrHigher","outputs":[{"name":"","type":"bool"}],"payable":false,"stateMutability":"pure","type":"function"},{"constant":true,"inputs":[],"name":"anchor","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[],"name":"newOwner","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[{"name":"","type":"address"}],"name":"reserves","outputs":[{"name":"balance","type":"uint256"},{"name":"weight","type":"uint32"},{"name":"deprecated1","type":"bool"},{"name":"deprecated2","type":"bool"},{"name":"isSet","type":"bool"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_connectorToken","type":"address"}],"name":"getConnectorBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":true,"inputs":[{"name":"_reserveToken","type":"address"}],"name":"reserveBalance","outputs":[{"name":"","type":"uint256"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_sourceToken","type":"address"},{"name":"_targetToken","type":"address"},{"name":"_amount","type":"uint256"},{"name":"_trader","type":"address"},{"name":"_beneficiary","type":"address"}],"name":"convert","outputs":[{"name":"","type":"uint256"}],"payable":true,"stateMutability":"payable","type":"function"},{"constant":false,"inputs":[{"name":"_conversionFee","type":"uint32"}],"name":"setConversionFee","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"token","outputs":[{"name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"inputs":[{"name":"_token","type":"address"},{"name":"_registry","type":"address"},{"name":"_maxConversionFee","type":"uint32"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_connectorToken","type":"address"},{"indexed":false,"name":"_tokenSupply","type":"uint256"},{"indexed":false,"name":"_connectorBalance","type":"uint256"},{"indexed":false,"name":"_connectorWeight","type":"uint32"}],"name":"PriceDataUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_provider","type":"address"},{"indexed":true,"name":"_reserveToken","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_newBalance","type":"uint256"},{"indexed":false,"name":"_newSupply","type":"uint256"}],"name":"LiquidityAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_provider","type":"address"},{"indexed":true,"name":"_reserveToken","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_newBalance","type":"uint256"},{"indexed":false,"name":"_newSupply","type":"uint256"}],"name":"LiquidityRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_anchor","type":"address"},{"indexed":false,"name":"_activated","type":"bool"}],"name":"Activation","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_fromToken","type":"address"},{"indexed":true,"name":"_toToken","type":"address"},{"indexed":true,"name":"_trader","type":"address"},{"indexed":false,"name":"_amount","type":"uint256"},{"indexed":false,"name":"_return","type":"uint256"},{"indexed":false,"name":"_conversionFee","type":"int256"}],"name":"Conversion","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_token1","type":"address"},{"indexed":true,"name":"_token2","type":"address"},{"indexed":false,"name":"_rateN","type":"uint256"},{"indexed":false,"name":"_rateD","type":"uint256"}],"name":"TokenRateUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"name":"_prevFee","type":"uint32"},{"indexed":false,"name":"_newFee","type":"uint32"}],"name":"ConversionFeeUpdate","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"_prevOwner","type":"address"},{"indexed":true,"name":"_newOwner","type":"address"}],"name":"OwnerUpdate","type":"event"}]

Deployed Bytecode

0x6080604052600436106102585763ffffffff60e060020a600035041663024c7ec781146102e45780630c7d5cd8146102fe5780630e53aae91461032c57806312c2aca41461038157806319b64015146103aa5780631cfab290146103de5780631e1401f8146103ff57806321e6b53d1461044257806322f3e2d4146104635780632fe8a6ad1461047857806338a5e0161461048d578063395900d4146104a25780633e8ff43f146104cc578063415f1240146104f857806348dc399b1461051057806349d10b641461053a5780634af80f0e1461054f57806354fd4d5014610570578063579cd3ca146105855780635e35359e1461059a57806361cd756e146105c457806367b6d57c146105d9578063690d8320146105fa5780636a49d2c41461061b5780636aa5332c1461064557806371f52bf31461066f57806379ba5097146106845780637b103999146106995780637d8916bd146106ae5780638da5cb5b1461073157806394c275ad146107465780639b99a8e21461075b578063a60e772414610770578063b127c0a5146107c5578063b4a176d314610858578063bbb7e5d81461086d578063bf75455814610888578063c45d3d921461089d578063ca1d209d146108b2578063cdc91c69146108bd578063d031370b146108d2578063d260529c146108ea578063d3fb73b4146108ff578063d4ee1d9014610914578063d55ec69714610929578063d66bd5241461093e578063d89595121461095f578063dc8de37914610980578063e8dc12ff146109a1578063ecbca55d146109cb578063f2fde38b146109e9578063fc0c546a14610a0a575b60008051602061483983398151915260005260076020527fb2084a3e4595ccf007fb44245853374aaf0de960074375e8e0fb334712e94d0f546601000000000000900460ff1615156102e2576040805160e560020a62461bcd02815260206004820152601360248201526000805160206147f9833981519152604482015290519081900360640190fd5b005b3480156102f057600080fd5b506102e26004351515610a1f565b34801561030a57600080fd5b50610313610a67565b6040805163ffffffff9092168252519081900360200190f35b34801561033857600080fd5b5061034d600160a060020a0360043516610a73565b6040805195865263ffffffff9094166020860152911515848401521515606084015215156080830152519081900360a00190f35b34801561038d57600080fd5b50610396610b0e565b604080519115158252519081900360200190f35b3480156103b657600080fd5b506103c2600435610b57565b60408051600160a060020a039092168252519081900360200190f35b3480156103ea57600080fd5b50610313600160a060020a0360043516610b83565b34801561040b57600080fd5b50610429600160a060020a0360043581169060243516604435610bb5565b6040805192835260208301919091528051918290030190f35b34801561044e57600080fd5b506102e2600160a060020a0360043516610bcf565b34801561046f57600080fd5b50610396610be3565b34801561048457600080fd5b50610396610c7c565b34801561049957600080fd5b506102e2610c9d565b3480156104ae57600080fd5b506102e2600160a060020a0360043581169060243516604435610d0a565b3480156104d857600080fd5b506104e1610da9565b6040805161ffff9092168252519081900360200190f35b34801561050457600080fd5b506102e2600435610dae565b34801561051c57600080fd5b50610429600160a060020a0360043581169060243516604435611002565b34801561054657600080fd5b506102e26111a7565b34801561055b57600080fd5b506102e2600160a060020a0360043516611414565b34801561057c57600080fd5b506104e1611456565b34801561059157600080fd5b5061031361145b565b3480156105a657600080fd5b506102e2600160a060020a0360043581169060243516604435611473565b3480156105d057600080fd5b506103c261158d565b3480156105e557600080fd5b506102e2600160a060020a036004351661159c565b34801561060657600080fd5b506102e2600160a060020a0360043516611643565b34801561062757600080fd5b506102e2600160a060020a036004351663ffffffff60243516611764565b34801561065157600080fd5b5061065d6004356119a3565b60408051918252519081900360200190f35b34801561067b57600080fd5b506104e16119c8565b34801561069057600080fd5b506102e26119d7565b3480156106a557600080fd5b506103c2611a98565b604080516020600480358082013583810280860185019096528085526102e295369593946024949385019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a9989019892975090820195509350839250850190849080828437509497505093359450611aa79350505050565b34801561073d57600080fd5b506103c2611db7565b34801561075257600080fd5b50610313611dc6565b34801561076757600080fd5b506104e1611dda565b34801561077c57600080fd5b506040805160206004803580820135838102808601850190965280855261065d95369593946024949385019291829185019084908082843750949750611de09650505050505050565b3480156107d157600080fd5b506040805160206004602480358281013584810280870186019097528086526102e296843596369660449591949091019291829185019084908082843750506040805187358901803560208181028481018201909552818452989b9a998901989297509082019550935083925085019084908082843750949750611e369650505050505050565b34801561086457600080fd5b506102e2611f6f565b34801561087957600080fd5b5061065d600435602435611fa8565b34801561089457600080fd5b50610396611fc2565b3480156108a957600080fd5b506103c2611fc7565b6102e2600435611fd6565b3480156108c957600080fd5b506102e26124ec565b3480156108de57600080fd5b506103c2600435612545565b3480156108f657600080fd5b50610396610da9565b34801561090b57600080fd5b506103c261256d565b34801561092057600080fd5b506103c261257c565b34801561093557600080fd5b506102e261258b565b34801561094a57600080fd5b5061034d600160a060020a0360043516612638565b34801561096b57600080fd5b5061065d600160a060020a036004351661267e565b34801561098c57600080fd5b5061065d600160a060020a036004351661268f565b61065d600160a060020a0360043581169060243581169060443590606435811690608435166126b8565b3480156109d757600080fd5b506102e263ffffffff60043516612927565b3480156109f557600080fd5b506102e2600160a060020a0360043516612a1c565b348015610a1657600080fd5b506103c2612ab9565b610a27612ac8565b60038054911515740100000000000000000000000000000000000000000274ff000000000000000000000000000000000000000019909216919091179055565b60085463ffffffff1681565b6000806000806000610a836147ab565b50505050600160a060020a03929092166000908152600760209081526040808320815160a081018352815480825260019092015463ffffffff811694820185905260ff64010000000082048116151594830194909452650100000000008104841615156060830152660100000000000090049092161515608090920182905295919450919250829190565b60008051602061483983398151915260005260076020527fb2084a3e4595ccf007fb44245853374aaf0de960074375e8e0fb334712e94d0f546601000000000000900460ff1690565b6000600682815481101515610b6857fe5b600091825260209091200154600160a060020a031692915050565b600081610b8f81612b18565b5050600160a060020a031660009081526007602052604090206001015463ffffffff1690565b600080610bc3858585611002565b91509150935093915050565b610bd7612ac8565b610be08161159c565b50565b60048054604080517f8da5cb5b00000000000000000000000000000000000000000000000000000000815290516000933093600160a060020a031692638da5cb5b928183019260209282900301818887803b158015610c4157600080fd5b505af1158015610c55573d6000803e3d6000fd5b505050506040513d6020811015610c6b57600080fd5b5051600160a060020a031614905090565b60035474010000000000000000000000000000000000000000900460ff1681565b6001610ca7611dda565b61ffff1611610d00576040805160e560020a62461bcd02815260206004820152601960248201527f4552525f494e56414c49445f524553455256455f434f554e5400000000000000604482015290519081900360640190fd5b610d08612b85565b565b610d12612ac8565b60048054604080517f5e35359e000000000000000000000000000000000000000000000000000000008152600160a060020a038781169482019490945285841660248201526044810185905290519290911691635e35359e9160648082019260009290919082900301818387803b158015610d8c57600080fd5b505af1158015610da0573d6000803e3d6000fd5b50505050505050565b600190565b600060606000610dbc612b95565b6003805460a860020a60ff02191660a860020a17905560008411610e2a576040805160e560020a62461bcd02815260206004820152600f60248201527f4552525f5a45524f5f414d4f554e540000000000000000000000000000000000604482015290519081900360640190fd5b600480546040805160e060020a6318160ddd0281529051600160a060020a03909216926318160ddd9282820192602092908290030181600087803b158015610e7157600080fd5b505af1158015610e85573d6000803e3d6000fd5b505050506040513d6020811015610e9b57600080fd5b505160048054604080517fa24835d100000000000000000000000000000000000000000000000000000000815233938101939093526024830188905251929550600160a060020a03169163a24835d19160448082019260009290919082900301818387803b158015610f0c57600080fd5b505af1158015610f20573d6000803e3d6000fd5b50505050600680549050604051908082528060200260200182016040528015610f53578160200160208202803883390190505b509150600090505b8151811015610f865760018282815181101515610f7457fe5b60209081029091010152600101610f5b565b610fec6006805480602002602001604051908101604052809291908181526020018280548015610fdf57602002820191906000526020600020905b8154600160a060020a03168152600190910190602001808311610fc1575b5050505050838587612bf7565b50506003805460a860020a60ff02191690555050565b600080600080611010612ebe565b8661101a81612b18565b8661102481612b18565b600160a060020a038981169089161415611088576040805160e560020a62461bcd02815260206004820152601660248201527f4552525f53414d455f534f555243455f54415247455400000000000000000000604482015290519081900360640190fd5b61109f600080516020614819833981519152612f1c565b600160a060020a0316639d1141086110b68b61268f565b600160a060020a038c1660009081526007602052604090206001015463ffffffff166110e18c61268f565b600160a060020a038d16600090815260076020908152604080832060010154815163ffffffff89811660e060020a028252600482019890985295871660248701526044860194909452949092166064840152608483018d9052925160a48084019492939192918390030190829087803b15801561115d57600080fd5b505af1158015611171573d6000803e3d6000fd5b505050506040513d602081101561118757600080fd5b5051935061119484612fb4565b9384900399939850929650505050505050565b60008054600160a060020a03163314806111dc575060035474010000000000000000000000000000000000000000900460ff16155b1515611220576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614879833981519152604482015290519081900360640190fd5b6112497f436f6e7472616374526567697374727900000000000000000000000000000000612f1c565b600254909150600160a060020a038083169116148015906112725750600160a060020a03811615155b15156112c8576040805160e560020a62461bcd02815260206004820152601460248201527f4552525f494e56414c49445f5245474953545259000000000000000000000000604482015290519081900360640190fd5b604080517fbb34534c0000000000000000000000000000000000000000000000000000000081527f436f6e747261637452656769737472790000000000000000000000000000000060048201529051600091600160a060020a0384169163bb34534c9160248082019260209290919082900301818787803b15801561134c57600080fd5b505af1158015611360573d6000803e3d6000fd5b505050506040513d602081101561137657600080fd5b5051600160a060020a031614156113d7576040805160e560020a62461bcd02815260206004820152601460248201527f4552525f494e56414c49445f5245474953545259000000000000000000000000604482015290519081900360640190fd5b6002805460038054600160a060020a0380841673ffffffffffffffffffffffffffffffffffffffff19928316179092559091169216919091179055565b61141c612ac8565b8061142681612ff0565b506005805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b601d81565b60085468010000000000000000900463ffffffff1681565b600061147d612b95565b6003805460a860020a60ff02191660a860020a17905561149b612ac8565b6114b2600080516020614859833981519152612f1c565b600160a060020a0385166000908152600760205260409020600101549091506601000000000000900460ff1615806114ef57506114ed610be3565b155b806115075750600054600160a060020a038281169116145b151561154b576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614879833981519152604482015290519081900360640190fd5b611556848484613051565b600160a060020a0384166000908152600760205260409020600101546601000000000000900460ff1615610fec57610fec84613082565b600354600160a060020a031681565b6115a4612ac8565b6000805160206148598339815191526115bc81613177565b60048054604080517ff2fde38b000000000000000000000000000000000000000000000000000000008152600160a060020a03868116948201949094529051929091169163f2fde38b9160248082019260009290919082900301818387803b15801561162757600080fd5b505af115801561163b573d6000803e3d6000fd5b505050505050565b600061164d612b95565b6003805460a860020a60ff02191660a860020a17905561166b612ac8565b60008051602061483983398151915261168381612b18565b61169a600080516020614859833981519152612f1c565b91506116a4610be3565b15806116bd5750600054600160a060020a038381169116145b1515611701576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614879833981519152604482015290519081900360640190fd5b604051600160a060020a03841690303180156108fc02916000818181858888f19350505050158015611737573d6000803e3d6000fd5b5061174f600080516020614839833981519152613082565b50506003805460a860020a60ff021916905550565b600061176e612ac8565b6117766131cd565b826117808161322a565b8361178a81612ff0565b836117948161328a565b600454600160a060020a038781169116148015906117d85750600160a060020a0386166000908152600760205260409020600101546601000000000000900460ff16155b151561181c576040805160e560020a62461bcd02815260206004820152601360248201526000805160206147f9833981519152604482015290519081900360640190fd5b60085463ffffffff908116620f42400381169086161115611887576040805160e560020a62461bcd02815260206004820152601a60248201527f4552525f494e56414c49445f524553455256455f574549474854000000000000604482015290519081900360640190fd5b61ffff611892611dda565b61ffff16106118eb576040805160e560020a62461bcd02815260206004820152601960248201527f4552525f494e56414c49445f524553455256455f434f554e5400000000000000604482015290519081900360640190fd5b505050600160a060020a0390921660008181526007602052604081208181556001908101805466ff0000000000001963ffffffff80881663ffffffff1993841617919091166601000000000000179092556006805493840181559093527ff652222313e28459528d920b65115c16c04f3efc82aaedc97be59f3f377c0d3f909101805473ffffffffffffffffffffffffffffffffffffffff191690931790925560088054808416909401909216921691909117905550565b600080825b60008111156119c15760019190910190600a90046119a8565b5092915050565b60006119d2611dda565b905090565b600154600160a060020a03163314611a27576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614879833981519152604482015290519081900360640190fd5b60015460008054604051600160a060020a0393841693909116917f343765429aea5a34b3ff6a3785a98a5abb2597aca87bfbb58632c173d585373a91a3600180546000805473ffffffffffffffffffffffffffffffffffffffff19908116600160a060020a03841617909155169055565b600254600160a060020a031681565b6000806000611ab4612b95565b6003805460a860020a60ff02191660a860020a179055611ad2612ebe565b611add8686866132ff565b600092505b8551831015611b9b57855160008051602061483983398151915290879085908110611b0957fe5b90602001906020020151600160a060020a03161415611b9057348584815181101515611b3157fe5b6020908102909101015114611b90576040805160e560020a62461bcd02815260206004820152601760248201527f4552525f4554485f414d4f554e545f4d49534d41544348000000000000000000604482015290519081900360640190fd5b600190920191611ae2565b6000341115611c405760008051602061483983398151915260005260076020527fb2084a3e4595ccf007fb44245853374aaf0de960074375e8e0fb334712e94d0f546601000000000000900460ff161515611c40576040805160e560020a62461bcd02815260206004820152601260248201527f4552525f4e4f5f4554485f524553455256450000000000000000000000000000604482015290519081900360640190fd5b600480546040805160e060020a6318160ddd0281529051600160a060020a03909216926318160ddd9282820192602092908290030181600087803b158015611c8757600080fd5b505af1158015611c9b573d6000803e3d6000fd5b505050506040513d6020811015611cb157600080fd5b50519150611cc08686846135bb565b905083811015611d1a576040805160e560020a62461bcd02815260206004820152601260248201527f4552525f52455455524e5f544f4f5f4c4f570000000000000000000000000000604482015290519081900360640190fd5b60048054604080517f867904b400000000000000000000000000000000000000000000000000000000815233938101939093526024830184905251600160a060020a039091169163867904b491604480830192600092919082900301818387803b158015611d8757600080fd5b505af1158015611d9b573d6000803e3d6000fd5b50506003805460a860020a60ff02191690555050505050505050565b600054600160a060020a031681565b600854640100000000900463ffffffff1681565b60065490565b80516000908190815b81811015611e1d57611e118582815181101515611e0257fe5b906020019060200201516119a3565b90920191600101611de9565b6001611e298484611fa8565b03600a0a95945050505050565b6000611e40612b95565b6003805460a860020a60ff02191660a860020a179055611e5e612ebe565b611e698383866132ff565b600480546040805160e060020a6318160ddd0281529051600160a060020a03909216926318160ddd9282820192602092908290030181600087803b158015611eb057600080fd5b505af1158015611ec4573d6000803e3d6000fd5b505050506040513d6020811015611eda57600080fd5b505160048054604080517fa24835d100000000000000000000000000000000000000000000000000000000815233938101939093526024830188905251929350600160a060020a03169163a24835d19160448082019260009290919082900301818387803b158015611f4b57600080fd5b505af1158015611f5f573d6000803e3d6000fd5b50505050610fec83838387612bf7565b611f77612ac8565b6003546002805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a03909216919091179055565b600081600281048401811515611fba57fe5b049392505050565b600181565b600554600160a060020a031681565b600080600080600080600080600080611fed612b95565b6003805460a860020a60ff02191660a860020a17905561200b6135ea565b600080516020614839833981519152600052600760205260008051602061489983398151915254612042903463ffffffff61362c16565b60008051602061483983398151915260009081526007602090815260008051602061489983398151915292909255600480546040805160e060020a6318160ddd0281529051600160a060020a03909216946318160ddd948285019491939283900390910190829087803b1580156120b857600080fd5b505af11580156120cc573d6000803e3d6000fd5b505050506040513d60208110156120e257600080fd5b505199506120fd600080516020614819833981519152612f1c565b6006549099509750600096505b8787101561244a57600680548890811061212057fe5b9060005260206000200160009054906101000a9004600160a060020a031695506007600087600160a060020a0316600160a060020a0316815260200190815260200160002060000154945088600160a060020a031663ebbb21588b87600860009054906101000a900463ffffffff168f6040518563ffffffff1660e060020a028152600401808581526020018481526020018363ffffffff1663ffffffff168152602001828152602001945050505050602060405180830381600087803b1580156121ea57600080fd5b505af11580156121fe573d6000803e3d6000fd5b505050506040513d602081101561221457600080fd5b50519350600160a060020a038616600080516020614839833981519152141561237657833411156122745760405133903486900380156108fc02916000818181858888f1935050505015801561226e573d6000803e3d6000fd5b50612371565b833410156123715734156122d2576040805160e560020a62461bcd02815260206004820152601560248201527f4552525f494e56414c49445f4554485f56414c55450000000000000000000000604482015290519081900360640190fd5b6008546122fa906c010000000000000000000000009004600160a060020a031633308761368c565b6008600c9054906101000a9004600160a060020a0316600160a060020a0316632e1a7d4d856040518263ffffffff1660e060020a02815260040180828152602001915050600060405180830381600087803b15801561235857600080fd5b505af115801561236c573d6000803e3d6000fd5b505050505b612382565b6123828633308761368c565b612392858563ffffffff61377416565b600160a060020a038716600090815260076020526040902081905592506123bf8a8c63ffffffff61377416565b60408051868152602081018690528082018390529051919350600160a060020a0388169133917f4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7919081900360600190a350600160a060020a03851660009081526007602052604090206001015463ffffffff1661243f828785846137d1565b60019096019561210a565b60048054604080517f867904b40000000000000000000000000000000000000000000000000000000081523393810193909352602483018e905251600160a060020a039091169163867904b491604480830192600092919082900301818387803b1580156124b757600080fd5b505af11580156124cb573d6000803e3d6000fd5b50506003805460a860020a60ff021916905550505050505050505050505050565b6124f4612ac8565b6124fc613840565b60045460408051600160a060020a0390921682526001602083015280517fa170412ae067fdeca19fd2204ce7eb66f723d827f4af15433b6f33f7fdc642bb9281900390910190a1565b600680548290811061255357fe5b600091825260209091200154600160a060020a0316905081565b600454600160a060020a031681565b600154600160a060020a031681565b6000612595612ac8565b6125ac600080516020614859833981519152612f1c565b90506125b781612a1c565b604080517f90f58c96000000000000000000000000000000000000000000000000000000008152601d60048201529051600160a060020a038316916390f58c9691602480830192600092919082900301818387803b15801561261857600080fd5b505af115801561262c573d6000803e3d6000fd5b50505050610be06119d7565b6007602052600090815260409020805460019091015463ffffffff81169060ff640100000000820481169165010000000000810482169166010000000000009091041685565b60006126898261268f565b92915050565b60008161269b81612b18565b5050600160a060020a031660009081526007602052604090205490565b60006126c2612b95565b6003805460a860020a60ff02191660a860020a1790557f42616e636f724e6574776f726b0000000000000000000000000000000000000061270281613177565b600160a060020a038781169087161415612766576040805160e560020a62461bcd02815260206004820152601660248201527f4552525f53414d455f534f555243455f54415247455400000000000000000000604482015290519081900360640190fd5b600554600160a060020a031615806128a95750600554604080517f3af32abf000000000000000000000000000000000000000000000000000000008152600160a060020a03878116600483015291519190921691633af32abf9160248083019260209291908290030181600087803b1580156127e157600080fd5b505af11580156127f5573d6000803e3d6000fd5b505050506040513d602081101561280b57600080fd5b505180156128a95750600554604080517f3af32abf000000000000000000000000000000000000000000000000000000008152600160a060020a03868116600483015291519190921691633af32abf9160248083019260209291908290030181600087803b15801561287c57600080fd5b505af1158015612890573d6000803e3d6000fd5b505050506040513d60208110156128a657600080fd5b50515b15156128ff576040805160e560020a62461bcd02815260206004820152601360248201527f4552525f4e4f545f57484954454c495354454400000000000000000000000000604482015290519081900360640190fd5b61290c8787878787613927565b6003805460a860020a60ff0219169055979650505050505050565b61292f612ac8565b60085463ffffffff6401000000009091048116908216111561299b576040805160e560020a62461bcd02815260206004820152601a60248201527f4552525f494e56414c49445f434f4e56455253494f4e5f464545000000000000604482015290519081900360640190fd5b6008546040805163ffffffff6801000000000000000090930483168152918316602083015280517f81cd2ffb37dd237c0e4e2a3de5265fcf9deb43d3e7801e80db9f1ccfba7ee6009281900390910190a16008805463ffffffff90921668010000000000000000026bffffffff000000000000000019909216919091179055565b612a24612ac8565b600054600160a060020a0382811691161415612a8a576040805160e560020a62461bcd02815260206004820152600e60248201527f4552525f53414d455f4f574e4552000000000000000000000000000000000000604482015290519081900360640190fd5b6001805473ffffffffffffffffffffffffffffffffffffffff1916600160a060020a0392909216919091179055565b600454600160a060020a031690565b600054600160a060020a03163314610d08576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614879833981519152604482015290519081900360640190fd5b600160a060020a0381166000908152600760205260409020600101546601000000000000900460ff161515610be0576040805160e560020a62461bcd02815260206004820152601360248201526000805160206147f9833981519152604482015290519081900360640190fd5b612b8d612ac8565b610d086124ec565b60035460a860020a900460ff1615610d08576040805160e560020a62461bcd02815260206004820152600e60248201527f4552525f5245454e5452414e4359000000000000000000000000000000000000604482015290519081900360640190fd5b600080600080600080600080612c0b6135ea565b612c22600080516020614819833981519152612f1c565b9750600096505b8b51871015612eb0578b87815181101515612c4057fe5b9060200190602002015195506007600087600160a060020a0316600160a060020a0316815260200190815260200160002060000154945087600160a060020a03166335b49af48b87600860009054906101000a900463ffffffff168d6040518563ffffffff1660e060020a028152600401808581526020018481526020018363ffffffff1663ffffffff168152602001828152602001945050505050602060405180830381600087803b158015612cf657600080fd5b505af1158015612d0a573d6000803e3d6000fd5b505050506040513d6020811015612d2057600080fd5b50518b519094508b9088908110612d3357fe5b60209081029091010151841015612d94576040805160e560020a62461bcd02815260206004820152600d60248201527f4552525f5a45524f5f5241544500000000000000000000000000000000000000604482015290519081900360640190fd5b612da4858563ffffffff61362c16565b600160a060020a03871660008181526007602052604090208290559093506000805160206148398339815191521415612e0a57604051339085156108fc029086906000818181858888f19350505050158015612e04573d6000803e3d6000fd5b50612e15565b612e15863386613bfa565b612e258a8a63ffffffff61362c16565b60408051868152602081018690528082018390529051919350600160a060020a0388169133917fbc7d19d505c7ec4db83f3b51f19fb98c4c8a99922e7839d1ee608dfbee29501b919081900360600190a350600160a060020a03851660009081526007602052604090206001015463ffffffff16612ea5828785846137d1565b600190960195612c29565b505050505050505050505050565b612ec6610be3565b1515610d08576040805160e560020a62461bcd02815260206004820152600c60248201527f4552525f494e4143544956450000000000000000000000000000000000000000604482015290519081900360640190fd5b600254604080517fbb34534c000000000000000000000000000000000000000000000000000000008152600481018490529051600092600160a060020a03169163bb34534c91602480830192602092919082900301818787803b158015612f8257600080fd5b505af1158015612f96573d6000803e3d6000fd5b505050506040513d6020811015612fac57600080fd5b505192915050565b60085460009061268990620f424090612fe490859063ffffffff68010000000000000000909104811690613cb116565b9063ffffffff613d2a16565b600160a060020a038116301415610be0576040805160e560020a62461bcd02815260206004820152601360248201527f4552525f414444524553535f49535f53454c4600000000000000000000000000604482015290519081900360640190fd5b613059612ac8565b826130638161322a565b8261306d8161322a565b8361307781612ff0565b61163b868686613bfa565b8061308c81612b18565b600160a060020a03821660008051602061483983398151915214156130cc57600160a060020a038216600090815260076020526040902030319055613173565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038416916370a082319160248083019260209291908290030181600087803b15801561312d57600080fd5b505af1158015613141573d6000803e3d6000fd5b505050506040513d602081101561315757600080fd5b5051600160a060020a0383166000908152600760205260409020555b5050565b61318081612f1c565b600160a060020a03163314610be0576040805160e560020a62461bcd0281526020600482015260116024820152600080516020614879833981519152604482015290519081900360640190fd5b6131d5610be3565b15610d08576040805160e560020a62461bcd02815260206004820152600a60248201527f4552525f41435449564500000000000000000000000000000000000000000000604482015290519081900360640190fd5b600160a060020a0381161515610be0576040805160e560020a62461bcd02815260206004820152601360248201527f4552525f494e56414c49445f4144445245535300000000000000000000000000604482015290519081900360640190fd5b60008163ffffffff161180156132a95750620f424063ffffffff821611155b1515610be0576040805160e560020a62461bcd02815260206004820152601a60248201527f4552525f494e56414c49445f524553455256455f574549474854000000000000604482015290519081900360640190fd5b60065483516000918291811461334d576040805160e560020a62461bcd02815260206004820152601360248201526000805160206147f9833981519152604482015290519081900360640190fd5b845181146133a5576040805160e560020a62461bcd02815260206004820152601260248201527f4552525f494e56414c49445f414d4f554e540000000000000000000000000000604482015290519081900360640190fd5b600092505b80831015613563576007600087858151811015156133c457fe5b6020908102909101810151600160a060020a031682528101919091526040016000206001015460ff660100000000000090910416151561343c576040805160e560020a62461bcd02815260206004820152601360248201526000805160206147f9833981519152604482015290519081900360640190fd5b600091505b808210156134a457858281518110151561345757fe5b90602001906020020151600160a060020a031660068481548110151561347957fe5b600091825260209091200154600160a060020a03161415613499576134a4565b600190910190613441565b8082106134e9576040805160e560020a62461bcd02815260206004820152601360248201526000805160206147f9833981519152604482015290519081900360640190fd5b600085848151811015156134f957fe5b6020908102909101015111613558576040805160e560020a62461bcd02815260206004820152601260248201527f4552525f494e56414c49445f414d4f554e540000000000000000000000000000604482015290519081900360640190fd5b6001909201916133aa565b6000841161163b576040805160e560020a62461bcd02815260206004820152600f60248201527f4552525f5a45524f5f414d4f554e540000000000000000000000000000000000604482015290519081900360640190fd5b60008115156135d5576135ce8484613d98565b90506135e3565b6135e0848484613f9f565b90505b9392505050565b60065460005b818110156131735761362460068281548110151561360a57fe5b600091825260209091200154600160a060020a0316613082565b6001016135f0565b600081831015613686576040805160e560020a62461bcd02815260206004820152600d60248201527f4552525f554e444552464c4f5700000000000000000000000000000000000000604482015290519081900360640190fd5b50900390565b604080517f7472616e7366657246726f6d28616464726573732c616464726573732c75696e81527f74323536290000000000000000000000000000000000000000000000000000006020808301919091528251918290036025018220600160a060020a038088166024850152861660448401526064808401869052845180850390910181526084909301909352810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff199093169290921790915261376e908590614366565b50505050565b6000828201838110156135e3576040805160e560020a62461bcd02815260206004820152600c60248201527f4552525f4f564552464c4f570000000000000000000000000000000000000000604482015290519081900360640190fd5b600454600160a060020a0380851691167f77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c2461380f85620f4240613cb1565b6138228863ffffffff80881690613cb116565b6040805192835260208301919091528051918290030190a350505050565b613848612ac8565b6000613852611dda565b61ffff16116138ab576040805160e560020a62461bcd02815260206004820152601960248201527f4552525f494e56414c49445f524553455256455f434f554e5400000000000000604482015290519081900360640190fd5b60048054604080517f79ba50970000000000000000000000000000000000000000000000000000000081529051600160a060020a03909216926379ba509792828201926000929082900301818387803b15801561390757600080fd5b505af115801561391b573d6000803e3d6000fd5b50505050610d086135ea565b600080600080613938898989611002565b9093509150821515613994576040805160e560020a62461bcd02815260206004820152600d60248201527f4552525f5a45524f5f5241544500000000000000000000000000000000000000604482015290519081900360640190fd5b61399d8861268f565b90508083106139a857fe5b600160a060020a0389166000805160206148398339815191521415613a2357348714613a1e576040805160e560020a62461bcd02815260206004820152601760248201527f4552525f4554485f414d4f554e545f4d49534d41544348000000000000000000604482015290519081900360640190fd5b613b2b565b34158015613ad5575086613ad2613a398b61268f565b604080517f70a082310000000000000000000000000000000000000000000000000000000081523060048201529051600160a060020a038e16916370a082319160248083019260209291908290030181600087803b158015613a9a57600080fd5b505af1158015613aae573d6000803e3d6000fd5b505050506040513d6020811015613ac457600080fd5b50519063ffffffff61362c16565b10155b1515613b2b576040805160e560020a62461bcd02815260206004820152601260248201527f4552525f494e56414c49445f414d4f554e540000000000000000000000000000604482015290519081900360640190fd5b613b3489613082565b600160a060020a038816600090815260076020526040902054613b5d908463ffffffff61362c16565b600160a060020a0389166000818152600760205260409020919091556000805160206148398339815191521415613bca57604051600160a060020a0386169084156108fc029085906000818181858888f19350505050158015613bc4573d6000803e3d6000fd5b50613bd5565b613bd5888685613bfa565b613be38989888a87876143f4565b613bed8989614479565b5090979650505050505050565b604080517f7472616e7366657228616464726573732c75696e74323536290000000000000081528151908190036019018120600160a060020a038516602483015260448083018590528351808403909101815260649092019092526020810180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff167bffffffffffffffffffffffffffffffffffffffffffffffffffffffff1990931692909217909152613cac908490614366565b505050565b600080831515613cc457600091506119c1565b50828202828482811515613cd457fe5b04146135e3576040805160e560020a62461bcd02815260206004820152600c60248201527f4552525f4f564552464c4f570000000000000000000000000000000000000000604482015290519081900360640190fd5b600080808311613d84576040805160e560020a62461bcd02815260206004820152601260248201527f4552525f4449564944455f42595f5a45524f0000000000000000000000000000604482015290519081900360640190fd5b8284811515613d8f57fe5b04949350505050565b600080600080613da785611de0565b9250600091505b8551821015613f9557855160008051602061483983398151915290879084908110613dd557fe5b60209081029091010151600160a060020a031614613e2757613e278683815181101515613dfe57fe5b9060200190602002015133308886815181101515613e1857fe5b9060200190602002015161368c565b8482815181101515613e3557fe5b90602001906020020151600760008885815181101515613e5157fe5b6020908102909101810151600160a060020a03168252810191909152604001600020558551869083908110613e8257fe5b90602001906020020151600160a060020a031633600160a060020a03167f4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f78785815181101515613ece57fe5b906020019060200201518886815181101515613ee657fe5b60209081029091018101516040805193845291830152818101889052519081900360600190a3600760008784815181101515613f1e57fe5b6020908102909101810151600160a060020a0316825281019190915260400160002060010154865163ffffffff9091169150613f8a908490889085908110613f6257fe5b906020019060200201518785815181101515613f7a57fe5b90602001906020020151846137d1565b600190910190613dae565b5090949350505050565b600080600080600080600080600080613fb66135ea565b600080516020614839833981519152600052600760205260008051602061489983398151915254613fed903463ffffffff61362c16565b60008051602061483983398151915260005260076020526000805160206148998339815191525561402b600080516020614819833981519152612f1c565b98506140388b8e8e614687565b9750600096505b8c51871015614355578c8781518110151561405657fe5b9060200190602002015195506007600087600160a060020a0316600160a060020a0316815260200190815260200160002060000154945088600160a060020a031663ebbb21588c87600860009054906101000a900463ffffffff168c6040518563ffffffff1660e060020a028152600401808581526020018481526020018363ffffffff1663ffffffff168152602001828152602001945050505050602060405180830381600087803b15801561410c57600080fd5b505af1158015614120573d6000803e3d6000fd5b505050506040513d602081101561413657600080fd5b5051935060008411614192576040805160e560020a62461bcd02815260206004820152600d60248201527f4552525f5a45524f5f5241544500000000000000000000000000000000000000604482015290519081900360640190fd5b8b878151811015156141a057fe5b602090810290910101518411156141b357fe5b600160a060020a038616600080516020614839833981519152146141e2576141dd8633308761368c565b614255565b838c888151811015156141f157fe5b9060200190602002015111156142555733600160a060020a03166108fc858e8a81518110151561421d57fe5b90602001906020020151039081150290604051600060405180830381858888f19350505050158015614253573d6000803e3d6000fd5b505b614265858563ffffffff61377416565b600160a060020a038716600090815260076020526040902081905592506142928b8963ffffffff61377416565b60408051868152602081018690528082018390529051919350600160a060020a0388169133917f4a1a2a6176e9646d9e3157f7c2ab3c499f18337c0b0828cfb28e0a61de4a11f7919081900360600190a3600760008e898151811015156142f557fe5b6020908102909101810151600160a060020a03168252810191909152604001600020600101548d5163ffffffff909116915061434a9083908f908a90811061433957fe5b9060200190602002015185846137d1565b60019096019561403f565b50959b9a5050505050505050505050565b61436e6147d9565b602060405190810160405280600181525090506020818351602085016000875af180151561439b57600080fd5b5080511515613cac576040805160e560020a62461bcd02815260206004820152601360248201527f4552525f5452414e534645525f4641494c454400000000000000000000000000604482015290519081900360640190fd5b7f8000000000000000000000000000000000000000000000000000000000000000811061441d57fe5b60408051848152602081018490528082018390529051600160a060020a038087169288821692918a16917f276856b36cbc45526a0ba64f44611557a2a8b68662c5388e9fe6d72e86e1c8cb9181900360600190a4505050505050565b6000806000806000806000600460009054906101000a9004600160a060020a0316600160a060020a03166318160ddd6040518163ffffffff1660e060020a028152600401602060405180830381600087803b1580156144d757600080fd5b505af11580156144eb573d6000803e3d6000fd5b505050506040513d602081101561450157600080fd5b5051965061450e8961268f565b95506145198861268f565b600160a060020a03808b16600090815260076020526040808220600190810154938d1683529120015491965063ffffffff908116955090811693506145629086908690613cb116565b91506145778663ffffffff80861690613cb116565b60408051848152602081018390528151929350600160a060020a03808c1693908d16927f77f29993cf2c084e726f7e802da0719d6a0ade3e204badc7a3ffd57ecb768c24928290030190a36145ce878a88876137d1565b6145da878987866137d1565b604080518881526020810188905263ffffffff8616818301529051600160a060020a038b16917f8a6a7f53b3c8fa1dc4b83e3f1be668c1b251ff8d44cdcb83eb3acec3fec6a788919081900360600190a2604080518881526020810187905263ffffffff8516818301529051600160a060020a038a16917f8a6a7f53b3c8fa1dc4b83e3f1be668c1b251ff8d44cdcb83eb3acec3fec6a788919081900360600190a2505050505050505050565b6000806000806146f087600760008960008151811015156146a457fe5b90602001906020020151600160a060020a0316600160a060020a03168152602001908152602001600020600001548760008151811015156146e157fe5b9060200190602002015161476b565b9250600191505b8551821015614760576147478760076000898681518110151561471657fe5b6020908102909101810151600160a060020a031682528101919091526040016000205487518890869081106146e157fe5b905080831115614755578092505b6001909101906146f7565b509095945050505050565b60006135e061478d620f42406147818686613774565b9063ffffffff613cb116565b600854612fe49063ffffffff908116906147819089908890613cb116565b6040805160a08101825260008082526020820181905291810182905260608101829052608081019190915290565b602060405190810160405280600190602082028038833950919291505056004552525f494e56414c49445f524553455256450000000000000000000000000042616e636f72466f726d756c6100000000000000000000000000000000000000000000000000000000000000eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee42616e636f72436f6e76657274657255706772616465720000000000000000004552525f4143434553535f44454e494544000000000000000000000000000000b2084a3e4595ccf007fb44245853374aaf0de960074375e8e0fb334712e94d0ea165627a7a7230582059c0b8af441dae51deb14e69367acf01fff003f2840aadf572e285e1d480403a0029

Deployed Bytecode Sourcemap

49900:24150:0:-;;;;;;;;-1:-1:-1;49900:24150:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;30366:29:0;;:8;:29;;:35;;;;;;;30358:67;;;;;;;-1:-1:-1;;;;;30358:67:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;30358:67:0;;;;;;;;;;;;;;;49900:24150;14359:224;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;14359:224:0;;;;;;;25297:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25297:30:0;;;;;;;;;;;;;;;;;;;;;;;43835:235;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;43835:235:0;;;-1:-1:-1;;;;;43835:235:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;38664:113;;8:9:-1;5:2;;;30:1;27;20:12;5:2;38664:113:0;;;;;;;;;;;;;;;;;;;;;;44144:136;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;44144:136:0;;;;;;;;;-1:-1:-1;;;;;44144:136:0;;;;;;;;;;;;;;37806:204;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;37806:204:0;;;-1:-1:-1;;;;;37806:204:0;;;44752:200;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;44752:200:0;-1:-1:-1;;;;;44752:200:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;43475:121;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;43475:121:0;;;-1:-1:-1;;;;;43475:121:0;;;32451:104;;8:9:-1;5:2;;;30:1;27;20:12;5:2;32451:104:0;;;;12046:38;;8:9:-1;5:2;;;30:1;27;20:12;5:2;12046:38:0;;;;47421:220;;8:9:-1;5:2;;;30:1;27;20:12;5:2;47421:220:0;;;;33978:157;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;33978:157:0;-1:-1:-1;;;;;33978:157:0;;;;;;;;;;;;51300:81;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51300:81:0;;;;;;;;;;;;;;;;;;;;;;;61331:542;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;61331:542:0;;;;;52211:814;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;52211:814:0;-1:-1:-1;;;;;52211:814:0;;;;;;;;;;;;13004:925;;8:9:-1;5:2;;;30:1;27;20:12;5:2;13004:925:0;;;;32180:175;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32180:175:0;;;-1:-1:-1;;;;;32180:175:0;;;24757:35;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24757:35:0;;;;25678:31;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25678:31:0;;;;35079:660;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;35079:660:0;-1:-1:-1;;;;;35079:660:0;;;;;;;;;;;;11956:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11956:37:0;;;;32905:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;32905:180:0;;;-1:-1:-1;;;;;32905:180:0;;;30998:554;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;30998:554:0;;;-1:-1:-1;;;;;30998:554:0;;;36851:744;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;36851:744:0;;;-1:-1:-1;;;;;36851:744:0;;;;;;;70651:180;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;70651:180:0;;;;;;;;;;;;;;;;;;;;;44354:105;;8:9:-1;5:2;;;30:1;27;20:12;5:2;44354:105:0;;;;9137:208;;8:9:-1;5:2;;;30:1;27;20:12;5:2;9137:208:0;;;;11867:33;;8:9:-1;5:2;;;30:1;27;20:12;5:2;11867:33:0;;;;55606:1402;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;55606:1402:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;55606:1402:0;;;;-1:-1:-1;55606:1402:0;-1:-1:-1;55606:1402:0;;-1:-1:-1;55606:1402:0;;;;;;;;;-1:-1:-1;55606:1402:0;;-1:-1:-1;;55606:1402:0;;;-1:-1:-1;55606:1402:0;;-1:-1:-1;;;;55606:1402:0;7952:20;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7952:20:0;;;;25435:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25435:34:0;;;;36447:112;;8:9:-1;5:2;;;30:1;27;20:12;5:2;36447:112:0;;;;71464:332;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;71464:332:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;71464:332:0;;-1:-1:-1;71464:332:0;;-1:-1:-1;;;;;;;71464:332:0;57414:722;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;57414:722:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;57414:722:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;57414:722:0;;;;-1:-1:-1;57414:722:0;-1:-1:-1;57414:722:0;;-1:-1:-1;57414:722:0;;;;;;;;;-1:-1:-1;57414:722:0;;-1:-1:-1;57414:722:0;;-1:-1:-1;;;;;;;57414:722:0;14008:137;;8:9:-1;5:2;;;30:1;27;20:12;5:2;14008:137:0;;;;71071:116;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;71071:116:0;;;;;;;25799:46;;8:9:-1;5:2;;;30:1;27;20:12;5:2;25799:46:0;;;;24883:37;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24883:37:0;;;;58568:2354;;;;;;51654:140;;8:9:-1;5:2;;;30:1;27;20:12;5:2;51654:140:0;;;;25019:34;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;25019:34:0;;;;;31727:82;;8:9:-1;5:2;;;30:1;27;20:12;5:2;31727:82:0;;;;24801:30;;8:9:-1;5:2;;;30:1;27;20:12;5:2;24801:30:0;;;;7979:23;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7979:23:0;;;;35962:265;;8:9:-1;5:2;;;30:1;27;20:12;5:2;35962:265:0;;;;25156:44;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;25156:44:0;;;-1:-1:-1;;;;;25156:44:0;;;44533:145;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;44533:145:0;;;-1:-1:-1;;;;;44533:145:0;;;38279:207;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;38279:207:0;;;-1:-1:-1;;;;;38279:207:0;;;39360:747;;-1:-1:-1;;;;;39360:747:0;;;;;;;;;;;;;;;;;;;;;;;34338:265;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;34338:265:0;;;;;;;8888:158;;8:9:-1;5:2;;;30:1;27;20:12;5:2;-1:-1;8888:158:0;;;-1:-1:-1;;;;;8888:158:0;;;43313:88;;8:9:-1;5:2;;;30:1;27;20:12;5:2;43313:88:0;;;;14359:224;8450:12;:10;:12::i;:::-;14519:26;:56;;;;;;;-1:-1:-1;;14519:56:0;;;;;;;;;14359:224::o;25297:30::-;;;;;;:::o;43835:235::-;43894:7;43903:6;43911:4;43917;43923;43940:22;;:::i;:::-;-1:-1:-1;;;;;;;;;43965:18:0;;;;;;;;:8;:18;;;;;;;;43940:43;;-1:-1:-1;43940:43:0;;;;;;;;;-1:-1:-1;43940:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;43965:18:0;;-1:-1:-1;43965:18:0;;43940:43;43835:235::o;38664:113::-;-1:-1:-1;;;;;;;;;;;38710:4:0;38734:29;:8;:29;;:35;;;;;;;;38664:113::o;44144:136::-;44206:11;44237:27;44265:6;44237:35;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;44237:35:0;;;-1:-1:-1;;44144:136:0:o;37806:204::-;37941:6;37908:13;29230:23;29244:8;29230:13;:23::i;:::-;-1:-1:-1;;;;;;;37972:23:0;;;;;:8;:23;;;;;-1:-1:-1;37972:30:0;;;;;37806:204::o;44752:200::-;44861:7;44870;44897:47;44908:12;44922;44936:7;44897:10;:47::i;:::-;44890:54;;;;44752:200;;;;;;:::o;43475:121::-;8450:12;:10;:12::i;:::-;43554:34;43578:9;43554:23;:34::i;:::-;43475:121;:::o;32451:104::-;32516:6;;;:14;;;;;;;;32492:4;;32542;;-1:-1:-1;;;;;32516:6:0;;:12;;:14;;;;;;;;;;;32492:4;32516:6;:14;;;5:2:-1;;;;30:1;27;20:12;5:2;32516:14:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;32516:14:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;32516:14:0;-1:-1:-1;;;;;32516:31:0;;;32451:104;-1:-1:-1;32451:104:0:o;12046:38::-;;;;;;;;;:::o;47421:220::-;47563:1;47541:19;:17;:19::i;:::-;:23;;;47533:61;;;;;-1:-1:-1;;;;;47533:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;47605:28;:26;:28::i;:::-;47421:220::o;33978:157::-;8450:12;:10;:12::i;:::-;34084:6;;;:43;;;;;;-1:-1:-1;;;;;34084:43:0;;;;;;;;;;;;;;;;;;;;;;;;;:6;;;;;:21;;:43;;;;;-1:-1:-1;;34084:43:0;;;;;;;;-1:-1:-1;34084:6:0;:43;;;5:2:-1;;;;30:1;27;20:12;5:2;34084:43:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;34084:43:0;;;;33978:157;;;:::o;51300:81::-;51372:1;51300:81;:::o;61331:542::-;61447:19;61574:40;61668:9;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;-1:-1:-1;61403:11:0;;61395:39;;;;;-1:-1:-1;;;;;61395:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;61481:6;;;61469:33;;;-1:-1:-1;;;;;61469:33:0;;;;-1:-1:-1;;;;;61481:6:0;;;;-1:-1:-1;;61469:33:0;;;;;;;;;;;;61481:6;;61469:33;;;5:2:-1;;;;30:1;27;20:12;5:2;61469:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61469:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;61469:33:0;61525:6;;;61513:48;;;;;;61541:10;61513:48;;;;;;;;;;;;;;61469:33;;-1:-1:-1;;;;;;61525:6:0;;61513:27;;:48;;;;;-1:-1:-1;;61513:48:0;;;;;;;;-1:-1:-1;61525:6:0;61513:48;;;5:2:-1;;;;30:1;27;20:12;5:2;61513:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;61513:48:0;;;;61631:13;:20;;;;61617:35;;;;;;;;;;;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;136:17;;-1:-1;61617:35:0;;61574:78;;61680:1;61668:13;;61663:104;61687:23;:30;61683:1;:34;61663:104;;;61766:1;61737:23;61761:1;61737:26;;;;;;;;;;;;;;;;;;:30;61719:3;;61663:104;;;61780:85;61804:13;61780:85;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;61780:85:0;;;-1:-1:-1;61780:85:0;;;;;;;;;;;;;;;;;61819:23;61844:11;61857:7;61780:23;:85::i;:::-;-1:-1:-1;;15558:6:0;:14;;-1:-1:-1;;;;;;15558:14:0;;;-1:-1:-1;;61331:542:0:o;52211:814::-;52436:7;52445;52573:14;52946:11;28627:9;:7;:9::i;:::-;52368:12;29230:23;29244:8;29230:13;:23::i;:::-;52404:12;29230:23;29244:8;29230:13;:23::i;:::-;-1:-1:-1;;;;;52505:28:0;;;;;;;;52497:63;;;;;-1:-1:-1;;;;;52497:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;52605:25;-1:-1:-1;;;;;;;;;;;52605:9:0;:25::i;:::-;-1:-1:-1;;;;;52590:58:0;;52663:28;52678:12;52663:14;:28::i;:::-;-1:-1:-1;;;;;52706:22:0;;;;;;:8;:22;;;;;-1:-1:-1;52706:29:0;;;;52750:28;52765:12;52750:14;:28::i;:::-;-1:-1:-1;;;;;52793:22:0;;;;;;:8;:22;;;;;;;;-1:-1:-1;52793:29:0;;52590:265;;52793:29;52590:265;;;-1:-1:-1;52590:265:0;;;;;;;;;;;;;;;;;;;;;;;;52793:29;;;;52590:265;;;;;;;;;;;;;;;;;52793:22;;52590:265;;;;;;;;;;;;;;5:2:-1;;;;30:1;27;20:12;5:2;52590:265:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;52590:265:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;52590:265:0;;-1:-1:-1;52960:20:0;52590:265;52960:12;:20::i;:::-;52999:12;;;;;52946:34;;-1:-1:-1;52211:814:0;;-1:-1:-1;;;;;;;52211:814:0:o;13004:925::-;13234:29;13121:5;;-1:-1:-1;;;;;13121:5:0;13107:10;:19;;:50;;-1:-1:-1;13131:26:0;;;;;;;13130:27;13107:50;13099:80;;;;;;;-1:-1:-1;;;;;13099:80:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;13099:80:0;;;;;;;;;;;;;;;13284:28;13294:17;13284:9;:28::i;:::-;13433:8;;13234:79;;-1:-1:-1;;;;;;13410:32:0;;;13433:8;;13410:32;;;;:61;;-1:-1:-1;;;;;;13446:25:0;;;;13410:61;13402:94;;;;;;;-1:-1:-1;;;;;13402:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13611:40;;;;;;13633:17;13611:40;;;;;;-1:-1:-1;;;;;;;13611:21:0;;;;;:40;;;;;;;;;;;;;;;-1:-1:-1;13611:21:0;:40;;;5:2:-1;;;;30:1;27;20:12;5:2;13611:40:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;13611:40:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;13611:40:0;-1:-1:-1;;;;;13611:54:0;;;13603:87;;;;;-1:-1:-1;;;;;13603:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;13797:8;;;13782:12;:23;;-1:-1:-1;;;;;13797:8:0;;;-1:-1:-1;;13782:23:0;;;;;;;13899:22;;;;;;;;;;;13004:925::o;32180:175::-;8450:12;:10;:12::i;:::-;32287:10;10288:18;10297:8;10288;:18::i;:::-;-1:-1:-1;32315:19:0;:32;;-1:-1:-1;;32315:32:0;-1:-1:-1;;;;;32315:32:0;;;;;;;;;;32180:175::o;24757:35::-;24790:2;24757:35;:::o;25678:31::-;;;;;;;;;:::o;35079:660::-;35191:25;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;8450:12;:10;:12::i;:::-;35219:29;-1:-1:-1;;;;;;;;;;;35219:9:0;:29::i;:::-;-1:-1:-1;;;;;35439:16:0;;;;;;:8;:16;;;;;-1:-1:-1;35439:22:0;;35191:57;;-1:-1:-1;35439:22:0;;;;;35438:23;;:38;;;35466:10;:8;:10::i;:::-;35465:11;35438:38;:68;;;-1:-1:-1;35480:5:0;;-1:-1:-1;;;;;35480:26:0;;;:5;;:26;35438:68;35430:98;;;;;;;-1:-1:-1;;;;;35430:98:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;35430:98:0;;;;;;;;;;;;;;;35539:42;35560:6;35568:3;35573:7;35539:20;:42::i;:::-;-1:-1:-1;;;;;35668:16:0;;;;;;:8;:16;;;;;-1:-1:-1;35668:22:0;;;;;;;35664:67;;;35705:26;35724:6;35705:18;:26::i;11956:37::-;;;-1:-1:-1;;;;;11956:37:0;;:::o;32905:180::-;8450:12;:10;:12::i;:::-;-1:-1:-1;;;;;;;;;;;12340:20:0;12346:13;12340:5;:20::i;:::-;33042:6;;;:35;;;;;;-1:-1:-1;;;;;33042:35:0;;;;;;;;;;;;:6;;;;;:24;;:35;;;;;-1:-1:-1;;33042:35:0;;;;;;;;-1:-1:-1;33042:6:0;:35;;;5:2:-1;;;;30:1;27;20:12;5:2;33042:35:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33042:35:0;;;;8473:1;32905:180;:::o;30998:554::-;31158:25;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;8450:12;:10;:12::i;:::-;-1:-1:-1;;;;;;;;;;;29230:23:0;29244:8;29230:13;:23::i;:::-;31186:29;-1:-1:-1;;;;;;;;;;;31186:9:0;:29::i;:::-;31158:57;;31330:10;:8;:10::i;:::-;31329:11;:41;;;-1:-1:-1;31344:5:0;;-1:-1:-1;;;;;31344:26:0;;;:5;;:26;31329:41;31321:71;;;;;;;-1:-1:-1;;;;;31321:71:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;31321:71:0;;;;;;;;;;;;;;;31403:35;;-1:-1:-1;;;;;31403:12:0;;;31424:4;31416:21;31403:35;;;;;;;;;31416:21;31403:12;:35;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;31403:35:0;31492:52;-1:-1:-1;;;;;;;;;;;31492:18:0;:52::i;:::-;-1:-1:-1;;15558:6:0;:14;;-1:-1:-1;;;;;;15558:14:0;;;-1:-1:-1;30998:554:0:o;36851:744::-;37366:26;8450:12;:10;:12::i;:::-;28886:11;:9;:11::i;:::-;36982:6;9934:23;9948:8;9934:13;:23::i;:::-;37007:6;10288:18;10297:8;10288;:18::i;:::-;37043:7;29938:28;29958:7;29938:19;:28::i;:::-;37121:6;;-1:-1:-1;;;;;37103:25:0;;;37121:6;;37103:25;;;;:52;;-1:-1:-1;;;;;;37133:16:0;;;;;;:8;:16;;;;;-1:-1:-1;37133:22:0;;;;;;;37132:23;37103:52;37095:84;;;;;;;-1:-1:-1;;;;;37095:84:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;37095:84:0;;;;;;;;;;;;;;;37229:12;;;;;;24210:7;37209:32;37198:43;;;;;;;37190:82;;;;;-1:-1:-1;;;;;37190:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;37291:32;:19;:17;:19::i;:::-;:32;;;37283:70;;;;;-1:-1:-1;;;;;37283:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;37395:16:0;;;;;;;;:8;:16;;;;;37422:22;;;-1:-1:-1;37455:17:0;;;:27;;-1:-1:-1;;37455:27:0;;;;-1:-1:-1;;37455:27:0;;;;37493:23;;;;;;;;;:16;27:10:-1;;23:18;;;45:23;;37527:26:0;;;;;;;;;-1:-1:-1;;37527:26:0;;;;;;;37564:12;:23;;;;;;;;;;;;;;;;;;;36851:744::o;70651:180::-;70707:7;;70768:2;70751:53;70776:1;70772;:5;70751:53;;;70801:3;;;;;;70784:2;70779:7;;70751:53;;;-1:-1:-1;70822:1:0;70651:180;-1:-1:-1;;70651:180:0:o;44354:105::-;44406:6;44432:19;:17;:19::i;:::-;44425:26;;44354:105;:::o;9137:208::-;9204:8;;-1:-1:-1;;;;;9204:8:0;9190:10;:22;9182:52;;;;;-1:-1:-1;;;;;9182:52:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;9182:52:0;;;;;;;;;;;;;;;9269:8;;;9262:5;;9250:28;;-1:-1:-1;;;;;9269:8:0;;;;9262:5;;;;9250:28;;;9297:8;;;;9289:16;;-1:-1:-1;;;;;9297:8:0;;-1:-1:-1;;9289:16:0;;;;;;;9316:21;;;9137:208::o;11867:33::-;;;-1:-1:-1;;;;;11867:33:0;;:::o;55606:1402::-;56039:9;56489:19;56650:14;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;28627:9;:7;:9::i;:::-;55837:65;55858:14;55874:15;55891:10;55837:20;:65::i;:::-;56051:1;56039:13;;56034:195;56058:14;:21;56054:1;:25;56034:195;;;56103:17;;-1:-1:-1;;;;;;;;;;;24339:42:0;56103:14;;56118:1;;56103:17;;;;;;;;;;;;;;;-1:-1:-1;;;;;56103:40:0;;56099:130;;;56192:9;56170:15;56186:1;56170:18;;;;;;;;;;;;;;;;;;;:31;56162:67;;;;;-1:-1:-1;;;;;56162:67:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;56081:3;;;;;56034:195;;;56361:1;56349:9;:13;56345:98;;;-1:-1:-1;;;;;;;;;;;56385:29:0;;:8;:29;;:35;;;;;;;56377:66;;;;;;;-1:-1:-1;;;;;56377:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;56523:6;;;56511:33;;;-1:-1:-1;;;;;56511:33:0;;;;-1:-1:-1;;;;;56523:6:0;;;;-1:-1:-1;;56511:33:0;;;;;;;;;;;;56523:6;;56511:33;;;5:2:-1;;;;30:1;27;20:12;5:2;56511:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;56511:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;56511:33:0;;-1:-1:-1;56667:64:0;56686:14;56702:15;56511:33;56667:18;:64::i;:::-;56650:81;-1:-1:-1;56858:20:0;;;;56850:51;;;;;-1:-1:-1;;;;;56850:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;56967:6;;;56955:45;;;;;;56981:10;56955:45;;;;;;;;;;;;;;-1:-1:-1;;;;;56967:6:0;;;;56955:25;;:45;;;;;-1:-1:-1;;56955:45:0;;;;;;;-1:-1:-1;56967:6:0;56955:45;;;5:2:-1;;;;30:1;27;20:12;5:2;56955:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;15558:6:0;:14;;-1:-1:-1;;;;;;15558:14:0;;;-1:-1:-1;;;;;;;;55606:1402:0:o;7952:20::-;;;-1:-1:-1;;;;;7952:20:0;;:::o;25435:34::-;;;;;;;;;:::o;36447:112::-;36530:13;:20;36447:112;:::o;71464:332::-;71605:14;;71534:7;;;;;71630:90;71654:6;71650:1;:10;71630:90;;;71695:25;71709:7;71717:1;71709:10;;;;;;;;;;;;;;;;;;71695:13;:25::i;:::-;71680:40;;;;71662:3;;71630:90;;;71786:1;71754:29;71763:11;71776:6;71754:8;:29::i;:::-;:33;71746:2;71738:50;;71464:332;-1:-1:-1;;;;;71464:332:0:o;57414:722::-;57788:19;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;28627:9;:7;:9::i;:::-;57637:71;57658:14;57674:24;57700:7;57637:20;:71::i;:::-;57822:6;;;57810:33;;;-1:-1:-1;;;;;57810:33:0;;;;-1:-1:-1;;;;;57822:6:0;;;;-1:-1:-1;;57810:33:0;;;;;;;;;;;;57822:6;;57810:33;;;5:2:-1;;;;30:1;27;20:12;5:2;57810:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;57810:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;57810:33:0;57904:6;;;57892:48;;;;;;57920:10;57892:48;;;;;;;;;;;;;;57810:33;;-1:-1:-1;;;;;;57904:6:0;;57892:27;;:48;;;;;-1:-1:-1;;57892:48:0;;;;;;;;-1:-1:-1;57904:6:0;57892:48;;;5:2:-1;;;;30:1;27;20:12;5:2;57892:48:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;57892:48:0;;;;58041:87;58065:14;58081:24;58107:11;58120:7;58041:23;:87::i;14008:137::-;8450:12;:10;:12::i;:::-;14125;;14114:8;:23;;-1:-1:-1;;14114:23:0;-1:-1:-1;;;;;14125:12:0;;;14114:23;;;;;;14008:137::o;71071:116::-;71134:7;71177:2;71172:1;71177:2;71167:6;71162:2;:11;71161:18;;;;;;;;;71071:116;-1:-1:-1;;;71071:116:0:o;25799:46::-;25841:4;25799:46;:::o;24883:37::-;;;-1:-1:-1;;;;;24883:37:0;;:::o;58568:2354::-;58772:14;58833:22;59103:20;59162:9;59215:24;59273:18;59339:21;60162:25;60301:26;60623:20;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;58635:21;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;58707:29:0;;:8;:29;;-1:-1:-1;;;;;;;;;;;58707:37:0;:52;;58749:9;58707:52;:41;:52;:::i;:::-;-1:-1:-1;;;;;;;;;;;58667:29:0;;;;:8;:29;;;;-1:-1:-1;;;;;;;;;;;58667:92:0;;;;58801:6;;;58667:29;58789:33;;-1:-1:-1;;;;;58789:33:0;;;;-1:-1:-1;;;;;58801:6:0;;;;-1:-1:-1;;58789:33:0;;;;58667:92;;58789:33;;;;;;;;;;58801:6;58789:33;;;5:2:-1;;;;30:1;27;20:12;5:2;58789:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;58789:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;58789:33:0;;-1:-1:-1;58873:25:0;-1:-1:-1;;;;;;;;;;;58873:9:0;:25::i;:::-;59126:13;:20;58833:66;;-1:-1:-1;59126:20:0;-1:-1:-1;59174:1:0;;-1:-1:-1;59157:1639:0;59181:12;59177:1;:16;59157:1639;;;59242:13;:16;;59256:1;;59242:16;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;59242:16:0;59215:43;;59294:8;:22;59303:12;-1:-1:-1;;;;;59294:22:0;-1:-1:-1;;;;;59294:22:0;;;;;;;;;;;;:30;;;59273:51;;59363:7;-1:-1:-1;;;;;59363:16:0;;59380:6;59388:10;59400:12;;;;;;;;;;;59414:7;59363:59;;;;;-1:-1:-1;;;59363:59:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;59363:59:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59363:59:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;59363:59:0;-1:-1:-1;;;59363:59:0;;-1:-1:-1;;;;;;59511:35:0;;;-1:-1:-1;;;;;;;;59511:35:0;59507:598;;;59583:13;59571:9;:25;59567:406;;;59621:46;;:10;;59641:9;:25;;;59621:46;;;;;;;;;59641:25;59621:10;:46;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59621:46:0;59567:406;;;59726:13;59714:9;:25;59710:263;;;59772:9;:14;59764:48;;;;;-1:-1:-1;;;;;59764:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;59852:10;;59835:61;;59852:10;;;-1:-1:-1;;;;;59852:10:0;59864;59876:4;59882:13;59835:16;:61::i;:::-;59919:10;;:34;;;;;;;;;;;;;;:10;;;;-1:-1:-1;;;;;59919:10:0;;:19;;:34;;;;;-1:-1:-1;;59919:34:0;;;;;;;;-1:-1:-1;59919:10:0;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;59919:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;59919:34:0;;;;59710:263;59507:598;;;60026:63;60043:12;60057:10;60069:4;60075:13;60026:16;:63::i;:::-;60190:29;:10;60205:13;60190:29;:14;:29;:::i;:::-;-1:-1:-1;;;;;60234:22:0;;;;;;:8;:22;;;;;:50;;;;-1:-1:-1;60330:19:0;:6;60341:7;60330:10;:19::i;:::-;60440:94;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;60440:94:0;;;60455:10;;60440:94;;;;;;;;;;-1:-1:-1;;;;;;60646:22:0;;;;;;:8;:22;;;;;-1:-1:-1;60646:29:0;;;;60690:94;60717:18;60646:22;60751:17;60646:29;60690:26;:94::i;:::-;59195:3;;;;;59157:1639;;;60880:6;;;60868:46;;;;;;60894:10;60868:46;;;;;;;;;;;;;;-1:-1:-1;;;;;60880:6:0;;;;60868:25;;:46;;;;;-1:-1:-1;;60868:46:0;;;;;;;-1:-1:-1;60880:6:0;60868:46;;;5:2:-1;;;;30:1;27;20:12;5:2;60868:46:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;-1:-1;;15558:6:0;:14;;-1:-1:-1;;;;;;15558:14:0;;;-1:-1:-1;;;;;;;;;;;;;58568:2354:0:o;51654:140::-;8450:12;:10;:12::i;:::-;51715:29;:27;:29::i;:::-;51773:6;;51762:24;;;-1:-1:-1;;;;;51773:6:0;;;51762:24;;-1:-1:-1;51762:24:0;;;;;;;;;;;;;;;;51654:140::o;25019:34::-;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;25019:34:0;;-1:-1:-1;25019:34:0;:::o;24801:30::-;;;-1:-1:-1;;;;;24801:30:0;;:::o;7979:23::-;;;-1:-1:-1;;;;;7979:23:0;;:::o;35962:265::-;36009:36;8450:12;:10;:12::i;:::-;36067:29;-1:-1:-1;;;;;;;;;;;36067:9:0;:29::i;:::-;36009:88;;36110:36;36128:17;36110;:36::i;:::-;36157:34;;;;;;24790:2;36157:34;;;;;;-1:-1:-1;;;;;36157:25:0;;;;;:34;;;;;-1:-1:-1;;36157:34:0;;;;;;;-1:-1:-1;36157:25:0;:34;;;5:2:-1;;;;30:1;27;20:12;5:2;36157:34:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;36157:34:0;;;;36202:17;:15;:17::i;25156:44::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;44533:145::-;44612:7;44639:31;44654:15;44639:14;:31::i;:::-;44632:38;44533:145;-1:-1:-1;;44533:145:0:o;38279:207::-;38415:7;38382:13;29230:23;29244:8;29230:13;:23::i;:::-;-1:-1:-1;;;;;;;38447:23:0;;;;;:8;:23;;;;;:31;;38279:207::o;39360:747::-;39585:7;15499:12;:10;:12::i;:::-;15522:6;:13;;-1:-1:-1;;;;;;15522:13:0;-1:-1:-1;;;15522:13:0;;;39551:14;12340:20;39551:14;12340:5;:20::i;:::-;-1:-1:-1;;;;;39645:28:0;;;;;;;;39637:63;;;;;-1:-1:-1;;;;;39637:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;39820:19;;-1:-1:-1;;;;;39820:19:0;:33;;:149;;-1:-1:-1;39875:19:0;;:42;;;;;;-1:-1:-1;;;;;39875:42:0;;;;;;;;;:19;;;;;:33;;:42;;;;;;;;;;;;;;-1:-1:-1;39875:19:0;:42;;;5:2:-1;;;;30:1;27;20:12;5:2;39875:42:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39875:42:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39875:42:0;:93;;;;-1:-1:-1;39921:19:0;;:47;;;;;;-1:-1:-1;;;;;39921:47:0;;;;;;;;;:19;;;;;:33;;:47;;;;;;;;;;;;;;-1:-1:-1;39921:19:0;:47;;;5:2:-1;;;;30:1;27;20:12;5:2;39921:47:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;39921:47:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;39921:47:0;39875:93;39812:198;;;;;;;-1:-1:-1;;;;;39812:198:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;40030:69;40040:12;40054;40068:7;40077;40086:12;40030:9;:69::i;:::-;15558:6;:14;;-1:-1:-1;;;;;;15558:14:0;;;40023:76;;-1:-1:-1;;;;;;;39360:747:0:o;34338:265::-;8450:12;:10;:12::i;:::-;34441:16;;;;;;;;;34423:34;;;;;34415:73;;;;;-1:-1:-1;;;;;34415:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;34524:13;;34504:50;;;34524:13;;;;;;;34504:50;;;;;;;;;;;;;;;;;;;;;34565:13;:30;;;;;;;;-1:-1:-1;;34565:30:0;;;;;;;;;34338:265::o;8888:158::-;8450:12;:10;:12::i;:::-;8983:5;;-1:-1:-1;;;;;8970:18:0;;;8983:5;;8970:18;;8962:45;;;;;-1:-1:-1;;;;;8962:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;9018:8;:20;;-1:-1:-1;;9018:20:0;-1:-1:-1;;;;;9018:20:0;;;;;;;;;;8888:158::o;43313:88::-;43387:6;;-1:-1:-1;;;;;43387:6:0;;43313:88::o;8537:104::-;8606:5;;-1:-1:-1;;;;;8606:5:0;8592:10;:19;8584:49;;;;;-1:-1:-1;;;;;8584:49:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;8584:49:0;;;;;;;;;;;;;;29328:134;-1:-1:-1;;;;;29406:18:0;;;;;;:8;:18;;;;;-1:-1:-1;29406:24:0;;;;;;;29398:56;;;;;;;-1:-1:-1;;;;;29398:56:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;29398:56:0;;;;;;;;;;;;;;43670:91;8450:12;:10;:12::i;:::-;43730:23;:21;:23::i;15635:89::-;15691:6;;-1:-1:-1;;;15691:6:0;;;;15690:7;15682:34;;;;;-1:-1:-1;;;;;15682:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;68069:1548;68288:22;68372:9;68434:24;68493:18;68559:21;68755:25;69176:26;69437:20;68254:21;:19;:21::i;:::-;68328:25;-1:-1:-1;;;;;;;;;;;68328:9:0;:25::i;:::-;68288:66;;68384:1;68372:13;;68367:1243;68391:14;:21;68387:1;:25;68367:1243;;;68461:14;68476:1;68461:17;;;;;;;;;;;;;;;;;;68434:44;;68514:8;:22;68523:12;-1:-1:-1;;;;;68514:22:0;-1:-1:-1;;;;;68514:22:0;;;;;;;;;;;;:30;;;68493:51;;68583:7;-1:-1:-1;;;;;68583:21:0;;68605:12;68619:10;68631:12;;;;;;;;;;;68645:7;68583:70;;;;;-1:-1:-1;;;68583:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;68583:70:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;68583:70:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;68583:70:0;68693:27;;68583:70;;-1:-1:-1;68693:24:0;;68718:1;;68693:27;;;;;;;;;;;;;;;68676:44;;;68668:70;;;;;-1:-1:-1;;;;;68668:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;68783:29;:10;68798:13;68783:29;:14;:29;:::i;:::-;-1:-1:-1;;;;;68827:22:0;;;;;;:8;:22;;;;;;;:50;;;;;-1:-1:-1;68827:22:0;;;;-1:-1:-1;68827:22:0;-1:-1:-1;;;;;68981:35:0;68977:182;;;69035:34;;:10;;:34;;;;;69055:13;;69035:34;;;;69055:13;69035:10;:34;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;69035:34:0;68977:182;;;69106:53;69119:12;69133:10;69145:13;69106:12;:53::i;:::-;69205:25;:12;69222:7;69205:25;:16;:25;:::i;:::-;69252:96;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;69252:96:0;;;69269:10;;69252:96;;;;;;;;;;-1:-1:-1;;;;;;69460:22:0;;;;;;:8;:22;;;;;-1:-1:-1;69460:29:0;;;;69504:94;69531:18;69460:22;69565:17;69460:29;69504:26;:94::i;:::-;68414:3;;;;;68367:1243;;;68069:1548;;;;;;;;;;;;:::o;28711:87::-;28763:10;:8;:10::i;:::-;28755:35;;;;;;;-1:-1:-1;;;;;28755:35:0;;;;;;;;;;;;;;;;;;;;;;;;;;;14781:133;14873:8;;:33;;;;;;;;;;;;;;-1:-1:-1;;;;;;;14873:8:0;;:18;;:33;;;;;;;;;;;;;;-1:-1:-1;14873:8:0;:33;;;5:2:-1;;;;30:1;27;20:12;5:2;14873:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;14873:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;14873:33:0;;14781:133;-1:-1:-1;;14781:133:0:o;41071:154::-;41172:13;;41133:7;;41160:57;;24277:7;;41160:26;;:7;;41172:13;;;;;;;;41160:11;:26;:::i;:::-;:30;:57;:30;:57;:::i;10381:126::-;10470:4;-1:-1:-1;;;;;10450:25:0;;;;10442:57;;;;;-1:-1:-1;;;;;10442:57:0;;;;;;;;;;;;;;;;;;;;;;;;;;;21827:246;8450:12;:10;:12::i;:::-;21958:6;9934:23;9948:8;9934:13;:23::i;:::-;21988:3;9934:23;9948:8;9934:13;:23::i;:::-;22010:3;10288:18;10297:8;10288;:18::i;:::-;22031:34;22044:6;22052:3;22057:7;22031:12;:34::i;41418:313::-;41495:13;29230:23;29244:8;29230:13;:23::i;:::-;-1:-1:-1;;;;;;;;41525:36:0;;;-1:-1:-1;;;;;;;;;41525:36:0;41521:202;;;-1:-1:-1;;;;;41576:23:0;;;;;;:8;:23;;;;;41618:4;41610:21;41576:55;;41521:202;;;41694:29;;;;;;41718:4;41694:29;;;;;;-1:-1:-1;;;;;41694:23:0;;;;;:29;;;;;;;;;;;;;;-1:-1:-1;41694:23:0;:29;;;5:2:-1;;;;30:1;27;20:12;5:2;41694:29:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;41694:29:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;41694:29:0;-1:-1:-1;;;;;41660:23:0;;;;;;:8;41694:29;41660:23;;;;:63;41521:202;41418:313;;:::o;12435:139::-;12520:24;12530:13;12520:9;:24::i;:::-;-1:-1:-1;;;;;12506:38:0;:10;:38;12498:68;;;;;-1:-1:-1;;;;;12498:68:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;12498:68:0;;;;;;;;;;;;;;28972:88;29027:10;:8;:10::i;:::-;29026:11;29018:34;;;;;-1:-1:-1;;;;;29018:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;10032:128;-1:-1:-1;;;;;10106:22:0;;;;10098:54;;;;;-1:-1:-1;;;;;10098:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;30041:160;30129:1;30119:7;:11;;;:43;;;;-1:-1:-1;24210:7:0;30134:28;;;;;30119:43;30111:82;;;;;;;-1:-1:-1;;;;;30111:82:0;;;;;;;;;;;;;;;;;;;;;;;;;;;62280:1158;62481:13;:20;62530:21;;62422:9;;;;62520:31;;62512:63;;;;;-1:-1:-1;;;;;62512:63:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;62512:63:0;;;;;;;;;;;;;;;62604:22;;62594:32;;62586:63;;;;;-1:-1:-1;;;;;62586:63:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62671:1;62667:5;;62662:650;62678:6;62674:1;:10;62662:650;;;62802:8;:27;62811:14;62826:1;62811:17;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62802:27:0;;;;;;;;;;;-1:-1:-1;62802:27:0;-1:-1:-1;62802:33:0;;;;;;;62794:65;;;;;;;-1:-1:-1;;;;;62794:65:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;62794:65:0;;;;;;;;;;;;;;;62883:1;62879:5;;62874:133;62890:6;62886:1;:10;62874:133;;;62946:14;62961:1;62946:17;;;;;;;;;;;;;;;;;;;62926:13;:16;;-1:-1:-1;;;;;62926:37:0;;;;62940:1;;62926:16;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62926:16:0;:37;62922:69;;;62986:5;;62922:69;62898:3;;;;;62874:133;;;63117:10;;;63109:42;;;;;-1:-1:-1;;;;;63109:42:0;;;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;;63109:42:0;;;;;;;;;;;;;;;63276:1;63255:15;63271:1;63255:18;;;;;;;;;;;;;;;;;;;:22;63247:53;;;;;-1:-1:-1;;;;;63247:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;62686:3;;;;;62662:650;;;63409:1;63399:11;;63391:39;;;;;-1:-1:-1;;;;;63391:39:0;;;;;;;;;;;;;;;;;;;;;;;;;;;63700:379;63856:7;63885:17;;63881:99;;;63924:56;63948:14;63964:15;63924:23;:56::i;:::-;63917:63;;;;63881:99;63998:73;64025:14;64041:15;64058:12;63998:26;:73::i;:::-;63991:80;;63700:379;;;;;;:::o;41804:205::-;41878:13;:20;41855;41909:92;41933:12;41929:1;:16;41909:92;;;41965:36;41984:13;41998:1;41984:16;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;41984:16:0;41965:18;:36::i;:::-;41947:3;;41909:92;;16500:147;16560:7;16588:8;;;;16580:34;;;;;-1:-1:-1;;;;;16580:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;16632:7:0;;;16500:147::o;19435:205::-;17898:50;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;19560:71:0;;;;;;;;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;19560:71:0;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;19560:71:0;;;179:29:-1;;;;160:49;;;19544:88:0;;19552:6;;19544:7;:88::i;:::-;19435:205;;;;:::o;16108:169::-;16168:7;16200;;;16226;;;;16218:32;;;;;-1:-1:-1;;;;;16218:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;73762:285;73939:6;;-1:-1:-1;;;;;73923:116:0;;;;73939:6;73923:116;73962:38;:15;24210:7;73962:19;:38::i;:::-;74002:36;:16;:36;;;;;:20;:36;:::i;:::-;73923:116;;;;;;;;;;;;;;;;;;;;;;73762:285;;;;:::o;33408:259::-;8450:12;:10;:12::i;:::-;33561:1;33539:19;:17;:19::i;:::-;:23;;;33531:61;;;;;-1:-1:-1;;;;;33531:61:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;33603:6;;;:24;;;;;;;;-1:-1:-1;;;;;33603:6:0;;;;:22;;:24;;;;:6;;:24;;;;;;:6;;:24;;;5:2:-1;;;;30:1;27;20:12;5:2;33603:24:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;33603:24:0;;;;33638:21;:19;:21::i;53608:1616::-;53771:7;53835:14;53851:11;54104:28;53866:47;53877:12;53891;53905:7;53866:10;:47::i;:::-;53834:79;;-1:-1:-1;53834:79:0;-1:-1:-1;53994:11:0;;;53986:37;;;;;-1:-1:-1;;;;;53986:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54135:28;54150:12;54135:14;:28::i;:::-;54104:59;-1:-1:-1;54181:29:0;;;54174:37;;;;-1:-1:-1;;;;;;;;54291:35:0;;;-1:-1:-1;;;;;;;;;54291:35:0;54287:261;;;54349:9;:20;;54341:56;;;;;-1:-1:-1;;;;;54341:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54287:261;;;54434:9;:14;:91;;;;;54518:7;54452:62;54485:28;54500:12;54485:14;:28::i;:::-;54452;;;;;;54475:4;54452:28;;;;;;-1:-1:-1;;;;;54452:22:0;;;;;:28;;;;;;;;;;;;;;-1:-1:-1;54452:22:0;:28;;;5:2:-1;;;;30:1;27;20:12;5:2;54452:28:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54452:28:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;54452:28:0;;:62;:32;:62;:::i;:::-;:73;;54434:91;54426:122;;;;;;;-1:-1:-1;;;;;54426:122:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54599:32;54618:12;54599:18;:32::i;:::-;-1:-1:-1;;;;;54675:22:0;;;;;;:8;:22;;;;;:30;:42;;54710:6;54675:34;:42::i;:::-;-1:-1:-1;;;;;54642:22:0;;;;;;:8;:22;;;;;;;:75;;;;:22;;;;-1:-1:-1;54642:22:0;-1:-1:-1;;;;;54804:35:0;54800:160;;;54854:29;;-1:-1:-1;;;;;54854:21:0;;;:29;;;;;;;;;;;;:21;:29;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;54854:29:0;54800:160;;;54912:48;54925:12;54939;54953:6;54912:12;:48::i;:::-;55015:82;55039:12;55053;55067:7;55076;55085:6;55093:3;55015:23;:82::i;:::-;55144:46;55163:12;55177;55144:18;:46::i;:::-;-1:-1:-1;55210:6:0;;53608:1616;-1:-1:-1;;;;;;;53608:1616:0:o;18856:174::-;17791:38;;;;;;;;;;;;;;;;-1:-1:-1;;;;;18962:59:0;;;;;;;;;;;;;;;26:21:-1;;;22:32;;;6:49;;18962:59:0;;;;;;;;25:18:-1;;61:17;;-1:-1;;;;;182:15;-1:-1;;;;;;18962:59:0;;;179:29:-1;;;;160:49;;;18946:76:0;;18954:6;;18946:7;:76::i;:::-;18856:174;;;:::o;16871:250::-;16931:7;;16984;;16980:34;;;17013:1;17006:8;;;;16980:34;-1:-1:-1;17039:7:0;;;17044:2;17039;:7;17065:6;;;;;;;;:12;17057:37;;;;;-1:-1:-1;;;;;17057:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;17349:174;17409:7;;17437:6;;;17429:37;;;;;-1:-1:-1;;;;;17429:37:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;17494:2;17489;:7;;;;;;;;;17349:174;-1:-1:-1;;;;17349:174:0:o;64305:1136::-;64444:7;64554:14;64698:9;65236:20;64571:30;64585:15;64571:13;:30::i;:::-;64554:47;;64710:1;64698:13;;64693:715;64717:14;:21;64713:1;:25;64693:715;;;64764:17;;-1:-1:-1;;;;;;;;;;;24339:42:0;64764:14;;64779:1;;64764:17;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64764:40:0;;64760:199;;64886:73;64903:14;64918:1;64903:17;;;;;;;;;;;;;;;;;;64922:10;64934:4;64940:15;64956:1;64940:18;;;;;;;;;;;;;;;;;;64886:16;:73::i;:::-;65014:15;65030:1;65014:18;;;;;;;;;;;;;;;;;;64976:8;:27;64985:14;65000:1;64985:17;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;64976:27:0;;;;;;;;;;;-1:-1:-1;64976:27:0;:56;65081:17;;;;65096:1;;65081:17;;;;;;;;;;;;;;;65100:18;;-1:-1:-1;;;;;65054:93:0;;;;65069:10;;65054:93;;65100:15;;65116:1;;65100:18;;;;;;;;;;;;;;65120:15;65136:1;65120:18;;;;;;;;;;;;;;;;;;;;65054:93;;;;;;;;;;;;;;;;;;;;;;;;;65259:8;:27;65268:14;65283:1;65268:17;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;65259:27:0;;;;;;;;;;;-1:-1:-1;65259:27:0;-1:-1:-1;65259:34:0;;65343:17;;65259:34;;;;;-1:-1:-1;65308:88:0;;65335:6;;65343:17;;65358:1;;65343:17;;;;;;;;;;;;;;65362:15;65378:1;65362:18;;;;;;;;;;;;;;;;;;65382:13;65308:26;:88::i;:::-;64740:3;;;;;64693:715;;;-1:-1:-1;65427:6:0;;64305:1136;-1:-1:-1;;;;64305:1136:0:o;65723:1986::-;65887:7;66049:22;66126:14;66219:9;66281:24;66340:18;66406:21;67096:25;67235:26;67493:20;65912:21;:19;:21::i;:::-;-1:-1:-1;;;;;;;;;;;65984:29:0;;:8;:29;;-1:-1:-1;;;;;;;;;;;65984:37:0;:52;;66026:9;65984:52;:41;:52;:::i;:::-;-1:-1:-1;;;;;;;;;;;65944:29:0;;:8;:29;;-1:-1:-1;;;;;;;;;;;65944:92:0;66089:25;-1:-1:-1;;;;;;;;;;;66089:9:0;:25::i;:::-;66049:66;;66143:58;66155:12;66169:14;66185:15;66143:11;:58::i;:::-;66126:75;;66231:1;66219:13;;66214:1462;66238:14;:21;66234:1;:25;66214:1462;;;66308:14;66323:1;66308:17;;;;;;;;;;;;;;;;;;66281:44;;66361:8;:22;66370:12;-1:-1:-1;;;;;66361:22:0;-1:-1:-1;;;;;66361:22:0;;;;;;;;;;;;:30;;;66340:51;;66430:7;-1:-1:-1;;;;;66430:16:0;;66447:12;66461:10;66473:12;;;;;;;;;;;66487:6;66430:64;;;;;-1:-1:-1;;;66430:64:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;66430:64:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;66430:64:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;66430:64:0;;-1:-1:-1;66533:1:0;66517:17;;66509:43;;;;;-1:-1:-1;;;;;66509:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;66591:15;66607:1;66591:18;;;;;;;;;;;;;;;;;;;66574:35;;;66567:43;;;;-1:-1:-1;;;;;;;;66714:35:0;;;-1:-1:-1;;;;;;;;;66714:35:0;66710:369;;66831:63;66848:12;66862:10;66874:4;66880:13;66831:16;:63::i;:::-;66710:369;;;66939:13;66918:15;66934:1;66918:18;;;;;;;;;;;;;;;;;;:34;66914:165;;;67044:18;;67024:10;;:55;;67065:13;;67044:15;;67060:1;;67044:18;;;;;;;;;;;;;;:34;67024:55;;;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;67024:55:0;66914:165;67124:29;:10;67139:13;67124:29;:14;:29;:::i;:::-;-1:-1:-1;;;;;67168:22:0;;;;;;:8;:22;;;;;:50;;;;-1:-1:-1;67264:24:0;:12;67281:6;67264:16;:24::i;:::-;67310:94;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;67310:94:0;;;67325:10;;67310:94;;;;;;;;;;67516:8;:27;67525:14;67540:1;67525:17;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67516:27:0;;;;;;;;;;;-1:-1:-1;67516:27:0;-1:-1:-1;67516:34:0;;67612:17;;67516:34;;;;;-1:-1:-1;67565:99:0;;67592:18;;67612:17;;67627:1;;67612:17;;;;;;;;;;;;;;67631;67650:13;67565:26;:99::i;:::-;66261:3;;;;;66214:1462;;;-1:-1:-1;67695:6:0;;65723:1986;-1:-1:-1;;;;;;;;;;;65723:1986:0:o;19991:793::-;20067:21;;:::i;:::-;:36;;;;;;;;;20100:1;20067:36;;;;;20584:2;20534:3;20438:5;20432:12;20340:2;20333:5;20329:14;20284:1;20228:6;20178:3;20155:476;20655:7;20648:15;20645:2;;;20693:1;20690;20683:12;20645:2;-1:-1:-1;20741:6:0;;:11;;20733:43;;;;;-1:-1:-1;;;;;20733:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;42432:758;43066:8;43053:21;;43046:29;;;;43091:91;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43091:91:0;;;;;;;;;;;;;;;;;;;;;42432:758;;;;;;:::o;72099:1278::-;72236:6;;;72224:33;;;-1:-1:-1;;;;;72224:33:0;;;;72198:23;;;;;;;;;;;;;;-1:-1:-1;;;;;72236:6:0;;;;72224:31;;:33;;;;;;;;;;;;;72198:23;72236:6;72224:33;;;5:2:-1;;;;30:1;27;20:12;5:2;72224:33:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;72224:33:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;72224:33:0;;-1:-1:-1;72299:28:0;72314:12;72299:14;:28::i;:::-;72268:59;;72369:28;72384:12;72369:14;:28::i;:::-;-1:-1:-1;;;;;72437:22:0;;;;;;;:8;:22;;;;;;-1:-1:-1;72437:29:0;;;;72506:22;;;;;;;:29;;72338:59;;-1:-1:-1;72437:29:0;;;;;-1:-1:-1;72506:29:0;;;;-1:-1:-1;72609:45:0;;72338:59;;72437:29;;72609:24;:45;:::i;:::-;72593:61;-1:-1:-1;72681:45:0;:20;:45;;;;;:24;:45;:::i;:::-;72742:57;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;72742:57:0;;;;;;;;;;;;;;;;72880:100;72907:15;72924:12;72938:20;72960:19;72880:26;:100::i;:::-;72991;73018:15;73035:12;73049:20;73071:19;72991:26;:100::i;:::-;73175:89;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;73175:89:0;;;;;;;;;;;;;73280;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;73280:89:0;;;;;;;;;;;;;72099:1278;;;;;;;;;:::o;69625:542::-;69761:7;69781:16;69895:9;69957:13;69800:79;69809:12;69823:8;:27;69832:14;69847:1;69832:17;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;69823:27:0;;;;;;;;;;;-1:-1:-1;69823:27:0;;;:35;69860:18;;69823:35;;69860:15;;:18;;;;;;;;;;;;;;69800:8;:79::i;:::-;69781:98;;69907:1;69895:13;;69890:244;69914:14;:21;69910:1;:25;69890:244;;;69973:79;69982:12;69996:8;:27;70005:14;70020:1;70005:17;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;69996:27:0;;;;;;;;;;;-1:-1:-1;69996:27:0;:35;70033:18;;;;70049:1;;70033:18;;;;;69973:79;69957:95;;70082:5;70071:8;:16;70067:55;;;70117:5;70106:16;;70067:55;69937:3;;;;;69890:244;;;-1:-1:-1;70151:8:0;;69625:542;-1:-1:-1;;;;;69625:542:0:o;70175:260::-;70286:7;70313:114;70368:58;24210:7;70368:35;:15;70388:14;70368:19;:35::i;:::-;:39;:58;:39;:58;:::i;:::-;70350:12;;70313:50;;70350:12;;;;;70313:32;;:12;;70330:14;;70313:16;:32;:::i;49900:24150::-;;;;;;;;;-1:-1:-1;49900:24150:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::o;:::-;;;;;;;;;;;;29:2:-1;21:6;17:15;117:4;105:10;97:6;88:34;-1:-1;49900:24150:0;;;-1:-1:-1;;49900:24150:0:o

Swarm Source

bzzr://59c0b8af441dae51deb14e69367acf01fff003f2840aadf572e285e1d480403a

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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.