ETH Price: $3,588.75 (-0.81%)

Token

Shyft [ Wrapped ] (SHFT)
 

Overview

Max Total Supply

1,232,191,314.720673617848732181 SHFT

Holders

2,842 ( 0.035%)

Market

Price

$0.00 @ 0.000000 ETH (+2.47%)

Onchain Market Cap

$957,560.51

Circulating Supply Market Cap

$1,738,818.00

Other Info

Token Contract (WITH 18 Decimals)

Balance
100.0001 SHFT

Value
$0.08 ( ~2.22918586012036E-05 Eth) [0.0000%]
0x665343f9f8e6e5ad60f1cd3fcc8b4fbd54472921
Loading...
Loading
Loading...
Loading
Loading...
Loading

OVERVIEW

Shyft Network is a public protocol designed to aggregate and embed trust, validation, and discoverability into data stored on public and private ecosystems.

Market

Volume (24H):$8,267.63
Market Capitalization:$1,738,818.00
Circulating Supply:2,237,517,635.00 SHFT
Market Data Source: Coinmarketcap

# Exchange Pair Price  24H Volume % Volume

Contract Source Code Verified (Exact Match)

Contract Name:
ShyftKycContract

Compiler Version
v0.7.1+commit.f4a555be

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2021-06-29
*/

pragma solidity ^0.7.1;
//SPDX-License-Identifier: UNLICENSED

/* New ERC23 contract interface */

interface IErc223 {
    function totalSupply() external view returns (uint);

    function balanceOf(address who) external view returns (uint);

    function transfer(address to, uint value) external returns (bool ok);
    function transfer(address to, uint value, bytes memory data) external returns (bool ok);
    
    event Transfer(address indexed from, address indexed to, uint value, bytes indexed data);
}

/**
* @title Contract that will work with ERC223 tokens.
*/

interface IErc223ReceivingContract {
    /**
     * @dev Standard ERC223 function that will handle incoming token transfers.
     *
     * @param _from  Token sender address.
     * @param _value Amount of tokens.
     * @param _data  Transaction metadata.
     */
    function tokenFallback(address _from, uint _value, bytes memory _data) external returns (bool ok);
}


interface IErc20 {
    function totalSupply() external view returns (uint);
    function balanceOf(address tokenOwner) external view returns (uint balance);
    function transfer(address to, uint tokens) external returns (bool success);

    function allowance(address tokenOwner, address spender) external view returns (uint remaining);
    function approve(address spender, uint tokens) external returns (bool success);
    function transferFrom(address from, address to, uint tokens) external returns (bool success);

    event Transfer(address indexed from, address indexed to, uint tokens);
    event Approval(address indexed tokenOwner, address indexed spender, uint tokens);
}




/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}



interface IShyftCacheGraph {
    function getTrustChannelManagerAddress() external view returns(address result);

    function compileCacheGraph(address _identifiedAddress, uint16 _idx) external;

    function getKycCanSend( address _senderIdentifiedAddress,
                            address _receiverIdentifiedAddress,
                            uint256 _amount,
                            uint256 _bip32X_type,
                            bool _requiredConsentFromAllParties,
                            bool _payForDirty) external returns (uint8 result);

    function getActiveConsentedTrustChannelBitFieldForPair( address _senderIdentifiedAddress,
                                                            address _receiverIdentifiedAddress) external returns (uint32 result);

    function getActiveTrustChannelBitFieldForPair(  address _senderIdentifiedAddress,
                                                    address _receiverIdentifiedAddress) external returns (uint32 result);

    function getActiveConsentedTrustChannelRoutePossible(   address _firstAddress,
                                                            address _secondAddress,
                                                            address _trustChannelAddress) external view returns (bool result);

    function getActiveTrustChannelRoutePossible(address _firstAddress,
                                                address _secondAddress,
                                                address _trustChannelAddress) external view returns (bool result);

    function getRelativeTrustLevelOnlyClean(address _senderIdentifiedAddress,
                                            address _receiverIdentifiedAddress,
                                            uint256 _amount,
                                            uint256 _bip32X_type,
                                            bool _requiredConsentFromAllParties,
                                            bool _requiredActive) external returns (int16 relativeTrustLevel, int16 externalTrustLevel);

    function calculateRelativeTrustLevel(   uint32 _trustChannelIndex,
                                            uint256 _foundChannelRulesBitField,
                                            address _senderIdentifiedAddress,
                                            address _receiverIdentifiedAddress,
                                            uint256 _amount,
                                            uint256 _bip32X_type,
                                            bool _requiredConsentFromAllParties,
                                            bool _requiredActive) external returns(int16 relativeTrustLevel, int16 externalTrustLevel);
}



interface IShyftKycContractRegistry  {
    function isShyftKycContract(address _addr) external view returns (bool result);
    function getCurrentContractAddress() external view returns (address);
    function getContractAddressOfVersion(uint _version) external view returns (address);
    function getContractVersionOfAddress(address _address) external view returns (uint256 result);

    function getAllTokenLocations(address _addr, uint256 _bip32X_type) external view returns (bool[] memory resultLocations, uint256 resultNumFound);
    function getAllTokenLocationsAndBalances(address _addr, uint256 _bip32X_type) external view returns (bool[] memory resultLocations, uint256[] memory resultBalances, uint256 resultNumFound, uint256 resultTotalBalance);
}



/// @dev Inheritable constants for token types

contract TokenConstants {

    //@note: reference from https://github.com/satoshilabs/slips/blob/master/slip-0044.md
    // hd chaincodes are 31 bits (max integer value = 2147483647)

    //@note: reference from https://chainid.network/
    // ethereum-compatible chaincodes are 32 bits

    // given these, the final "nativeType" needs to be a mix of both.

    uint256 constant TestNetTokenOffset = 2**128;
    uint256 constant PrivateNetTokenOffset = 2**192;

    uint256 constant ShyftTokenType = 7341;
    uint256 constant EtherTokenType = 60;
    uint256 constant EtherClassicTokenType = 61;
    uint256 constant RootstockTokenType = 30;

    //Shyft Testnets
    uint256 constant BridgeTownTokenType = TestNetTokenOffset + 0;

    //Ethereum Testnets
    uint256 constant GoerliTokenType = 5;
    uint256 constant KovanTokenType = 42;
    uint256 constant RinkebyTokenType = 4;
    uint256 constant RopstenTokenType = 3;

    //Ethereum Classic Testnets
    uint256 constant KottiTokenType = 6;

    //Rootstock Testnets
    uint256 constant RootstockTestnetTokenType = 31;

    //@note:@here:@deploy: need to hardcode test and/or privatenet for deploy on various blockchains
    bool constant IsTestnet = false;
    bool constant IsPrivatenet = false;
}
// pragma experimental ABIEncoderV2;











/**
 * @dev Library for managing
 * https://en.wikipedia.org/wiki/Set_(abstract_data_type)[sets] of primitive
 * types.
 *
 * Sets have the following properties:
 *
 * - Elements are added, removed, and checked for existence in constant time
 * (O(1)).
 * - Elements are enumerated in O(n). No guarantees are made on the ordering.
 *
 * ```
 * contract Example {
 *     // Add the library methods
 *     using EnumerableSet for EnumerableSet.AddressSet;
 *
 *     // Declare a set state variable
 *     EnumerableSet.AddressSet private mySet;
 * }
 * ```
 *
 * As of v3.3.0, sets of type `bytes32` (`Bytes32Set`), `address` (`AddressSet`)
 * and `uint256` (`UintSet`) are supported.
 */
library EnumerableSet {
    // To implement this library for multiple types with as little code
    // repetition as possible, we write it in terms of a generic Set type with
    // bytes32 values.
    // The Set implementation uses private functions, and user-facing
    // implementations (such as AddressSet) are just wrappers around the
    // underlying Set.
    // This means that we can only create new EnumerableSets for types that fit
    // in bytes32.

    struct Set {
        // Storage of set values
        bytes32[] _values;

        // Position of the value in the `values` array, plus 1 because index 0
        // means a value is not in the set.
        mapping (bytes32 => uint256) _indexes;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function _add(Set storage set, bytes32 value) private returns (bool) {
        if (!_contains(set, value)) {
            set._values.push(value);
            // The value is stored at length-1, but we add 1 to all indexes
            // and use 0 as a sentinel value
            set._indexes[value] = set._values.length;
            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function _remove(Set storage set, bytes32 value) private returns (bool) {
        // We read and store the value's index to prevent multiple reads from the same storage slot
        uint256 valueIndex = set._indexes[value];

        if (valueIndex != 0) { // Equivalent to contains(set, value)
            // To delete an element from the _values array in O(1), we swap the element to delete with the last one in
            // the array, and then remove the last element (sometimes called as 'swap and pop').
            // This modifies the order of the array, as noted in {at}.

            uint256 toDeleteIndex = valueIndex - 1;
            uint256 lastIndex = set._values.length - 1;

            // When the value to delete is the last one, the swap operation is unnecessary. However, since this occurs
            // so rarely, we still do the swap anyway to avoid the gas cost of adding an 'if' statement.

            bytes32 lastvalue = set._values[lastIndex];

            // Move the last value to the index where the value to delete is
            set._values[toDeleteIndex] = lastvalue;
            // Update the index for the moved value
            set._indexes[lastvalue] = toDeleteIndex + 1; // All indexes are 1-based

            // Delete the slot where the moved value was stored
            set._values.pop();

            // Delete the index for the deleted slot
            delete set._indexes[value];

            return true;
        } else {
            return false;
        }
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function _contains(Set storage set, bytes32 value) private view returns (bool) {
        return set._indexes[value] != 0;
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function _length(Set storage set) private view returns (uint256) {
        return set._values.length;
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function _at(Set storage set, uint256 index) private view returns (bytes32) {
        require(set._values.length > index, "EnumerableSet: index out of bounds");
        return set._values[index];
    }

    // Bytes32Set

    struct Bytes32Set {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _add(set._inner, value);
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(Bytes32Set storage set, bytes32 value) internal returns (bool) {
        return _remove(set._inner, value);
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(Bytes32Set storage set, bytes32 value) internal view returns (bool) {
        return _contains(set._inner, value);
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(Bytes32Set storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(Bytes32Set storage set, uint256 index) internal view returns (bytes32) {
        return _at(set._inner, index);
    }

    // AddressSet

    struct AddressSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(AddressSet storage set, address value) internal returns (bool) {
        return _add(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(AddressSet storage set, address value) internal returns (bool) {
        return _remove(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(AddressSet storage set, address value) internal view returns (bool) {
        return _contains(set._inner, bytes32(uint256(uint160(value))));
    }

    /**
     * @dev Returns the number of values in the set. O(1).
     */
    function length(AddressSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(AddressSet storage set, uint256 index) internal view returns (address) {
        return address(uint160(uint256(_at(set._inner, index))));
    }


    // UintSet

    struct UintSet {
        Set _inner;
    }

    /**
     * @dev Add a value to a set. O(1).
     *
     * Returns true if the value was added to the set, that is if it was not
     * already present.
     */
    function add(UintSet storage set, uint256 value) internal returns (bool) {
        return _add(set._inner, bytes32(value));
    }

    /**
     * @dev Removes a value from a set. O(1).
     *
     * Returns true if the value was removed from the set, that is if it was
     * present.
     */
    function remove(UintSet storage set, uint256 value) internal returns (bool) {
        return _remove(set._inner, bytes32(value));
    }

    /**
     * @dev Returns true if the value is in the set. O(1).
     */
    function contains(UintSet storage set, uint256 value) internal view returns (bool) {
        return _contains(set._inner, bytes32(value));
    }

    /**
     * @dev Returns the number of values on the set. O(1).
     */
    function length(UintSet storage set) internal view returns (uint256) {
        return _length(set._inner);
    }

   /**
    * @dev Returns the value stored at position `index` in the set. O(1).
    *
    * Note that there are no guarantees on the ordering of values inside the
    * array, and it may change when more values are added or removed.
    *
    * Requirements:
    *
    * - `index` must be strictly less than {length}.
    */
    function at(UintSet storage set, uint256 index) internal view returns (uint256) {
        return uint256(_at(set._inner, index));
    }
}






/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}


/**
 * @dev Contract module that allows children to implement role-based access
 * control mechanisms.
 *
 * Roles are referred to by their `bytes32` identifier. These should be exposed
 * in the external API and be unique. The best way to achieve this is by
 * using `public constant` hash digests:
 *
 * ```
 * bytes32 public constant MY_ROLE = keccak256("MY_ROLE");
 * ```
 *
 * Roles can be used to represent a set of permissions. To restrict access to a
 * function call, use {hasRole}:
 *
 * ```
 * function foo() public {
 *     require(hasRole(MY_ROLE, msg.sender));
 *     ...
 * }
 * ```
 *
 * Roles can be granted and revoked dynamically via the {grantRole} and
 * {revokeRole} functions. Each role has an associated admin role, and only
 * accounts that have a role's admin role can call {grantRole} and {revokeRole}.
 *
 * By default, the admin role for all roles is `DEFAULT_ADMIN_ROLE`, which means
 * that only accounts with this role will be able to grant or revoke other
 * roles. More complex role relationships can be created by using
 * {_setRoleAdmin}.
 *
 * WARNING: The `DEFAULT_ADMIN_ROLE` is also its own admin: it has permission to
 * grant and revoke this role. Extra precautions should be taken to secure
 * accounts that have been granted it.
 */
abstract contract AccessControl is Context {
    using EnumerableSet for EnumerableSet.AddressSet;
    using Address for address;

    struct RoleData {
        EnumerableSet.AddressSet members;
        bytes32 adminRole;
    }

    mapping (bytes32 => RoleData) private _roles;

    bytes32 public constant DEFAULT_ADMIN_ROLE = 0x00;

    /**
     * @dev Emitted when `newAdminRole` is set as ``role``'s admin role, replacing `previousAdminRole`
     *
     * `DEFAULT_ADMIN_ROLE` is the starting admin for all roles, despite
     * {RoleAdminChanged} not being emitted signaling this.
     *
     * _Available since v3.1._
     */
    event RoleAdminChanged(bytes32 indexed role, bytes32 indexed previousAdminRole, bytes32 indexed newAdminRole);

    /**
     * @dev Emitted when `account` is granted `role`.
     *
     * `sender` is the account that originated the contract call, an admin role
     * bearer except when using {_setupRole}.
     */
    event RoleGranted(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Emitted when `account` is revoked `role`.
     *
     * `sender` is the account that originated the contract call:
     *   - if using `revokeRole`, it is the admin role bearer
     *   - if using `renounceRole`, it is the role bearer (i.e. `account`)
     */
    event RoleRevoked(bytes32 indexed role, address indexed account, address indexed sender);

    /**
     * @dev Returns `true` if `account` has been granted `role`.
     */
    function hasRole(bytes32 role, address account) public view returns (bool) {
        return _roles[role].members.contains(account);
    }

    /**
     * @dev Returns the number of accounts that have `role`. Can be used
     * together with {getRoleMember} to enumerate all bearers of a role.
     */
    function getRoleMemberCount(bytes32 role) public view returns (uint256) {
        return _roles[role].members.length();
    }

    /**
     * @dev Returns one of the accounts that have `role`. `index` must be a
     * value between 0 and {getRoleMemberCount}, non-inclusive.
     *
     * Role bearers are not sorted in any particular way, and their ordering may
     * change at any point.
     *
     * WARNING: When using {getRoleMember} and {getRoleMemberCount}, make sure
     * you perform all queries on the same block. See the following
     * https://forum.openzeppelin.com/t/iterating-over-elements-on-enumerableset-in-openzeppelin-contracts/2296[forum post]
     * for more information.
     */
    function getRoleMember(bytes32 role, uint256 index) public view returns (address) {
        return _roles[role].members.at(index);
    }

    /**
     * @dev Returns the admin role that controls `role`. See {grantRole} and
     * {revokeRole}.
     *
     * To change a role's admin, use {_setRoleAdmin}.
     */
    function getRoleAdmin(bytes32 role) public view returns (bytes32) {
        return _roles[role].adminRole;
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function grantRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to grant");

        _grantRole(role, account);
    }

    /**
     * @dev Revokes `role` from `account`.
     *
     * If `account` had been granted `role`, emits a {RoleRevoked} event.
     *
     * Requirements:
     *
     * - the caller must have ``role``'s admin role.
     */
    function revokeRole(bytes32 role, address account) public virtual {
        require(hasRole(_roles[role].adminRole, _msgSender()), "AccessControl: sender must be an admin to revoke");

        _revokeRole(role, account);
    }

    /**
     * @dev Revokes `role` from the calling account.
     *
     * Roles are often managed via {grantRole} and {revokeRole}: this function's
     * purpose is to provide a mechanism for accounts to lose their privileges
     * if they are compromised (such as when a trusted device is misplaced).
     *
     * If the calling account had been granted `role`, emits a {RoleRevoked}
     * event.
     *
     * Requirements:
     *
     * - the caller must be `account`.
     */
    function renounceRole(bytes32 role, address account) public virtual {
        require(account == _msgSender(), "AccessControl: can only renounce roles for self");

        _revokeRole(role, account);
    }

    /**
     * @dev Grants `role` to `account`.
     *
     * If `account` had not been already granted `role`, emits a {RoleGranted}
     * event. Note that unlike {grantRole}, this function doesn't perform any
     * checks on the calling account.
     *
     * [WARNING]
     * ====
     * This function should only be called from the constructor when setting
     * up the initial roles for the system.
     *
     * Using this function in any other way is effectively circumventing the admin
     * system imposed by {AccessControl}.
     * ====
     */
    function _setupRole(bytes32 role, address account) internal virtual {
        _grantRole(role, account);
    }

    /**
     * @dev Sets `adminRole` as ``role``'s admin role.
     *
     * Emits a {RoleAdminChanged} event.
     */
    function _setRoleAdmin(bytes32 role, bytes32 adminRole) internal virtual {
        emit RoleAdminChanged(role, _roles[role].adminRole, adminRole);
        _roles[role].adminRole = adminRole;
    }

    function _grantRole(bytes32 role, address account) private {
        if (_roles[role].members.add(account)) {
            emit RoleGranted(role, account, _msgSender());
        }
    }

    function _revokeRole(bytes32 role, address account) private {
        if (_roles[role].members.remove(account)) {
            emit RoleRevoked(role, account, _msgSender());
        }
    }
}









/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}





/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}



/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using SafeMath for uint256;
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).add(value);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender).sub(value, "SafeERC20: decreased allowance below zero");
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}











interface IShyftKycContract is IErc20, IErc223ReceivingContract {
    function balanceOf(address tokenOwner) external view override returns (uint balance);
    function totalSupply() external view override returns (uint);
    function transfer(address to, uint tokens) external override returns (bool success);

    function getShyftCacheGraphAddress() external view returns (address result);

    function getNativeTokenType() external view returns (uint256 result);

    function withdrawNative(address payable _to, uint256 _value) external returns (bool ok);
    function withdrawToExternalContract(address _to, uint256 _value, uint256 _gasAmount) external returns (bool ok);
    function withdrawToShyftKycContract(address _shyftKycContractAddress, address _to, uint256 _value) external returns (bool ok);

    function mintBip32X(address _to, uint256 _amount, uint256 _bip32X_type) external;
    function burnFromBip32X(address _account, uint256 _amount, uint256 _bip32X_type) external;

    function migrateFromKycContract(address _to) external payable returns(bool result);
    function updateContract(address _addr) external returns (bool);

    function transferBip32X(address _to, uint256 _value, uint256 _bip32X_type) external returns (bool result);
    function allowanceBip32X(address _tokenOwner, address _spender, uint256 _bip32X_type) external view returns (uint remaining);
    function approveBip32X(address _spender, uint _tokens, uint256 _bip32X_type) external returns (bool success);
    function transferFromBip32X(address _from, address _to, uint _tokens, uint256 _bip32X_type) external returns (bool success);

    function transferFromErc20TokenToBip32X(address _erc20ContractAddress, uint256 _value) external returns (bool ok);
    function withdrawTokenBip32XToErc20(address _erc20ContractAddress, address _to, uint256 _value) external returns (bool ok);

    function getBalanceBip32X(address _identifiedAddress, uint256 _bip32X_type) external view returns (uint256 balance);
    function getTotalSupplyBip32X(uint256 _bip32X_type) external view returns (uint256 balance);

    function getBip32XTypeForContractAddress(address _contractAddress) external view returns (uint256 bip32X_type);

    function kycSend(address _identifiedAddress, uint256 _amount, uint256 _bip32X_type, bool _requiredConsentFromAllParties, bool _payForDirty) external returns (uint8 result);

    function getOnlyAcceptsKycInput(address _identifiedAddress) external view returns (bool result);
    function getOnlyAcceptsKycInputPermanently(address _identifiedAddress) external view returns (bool result);
}



/// @dev | Shyft Core :: Shyft Kyc Contract
///      |
///      | This contract is the nucleus of all of the Shyft stack. This current v1 version has basic functionality for upgrading and connects to the Shyft Cache Graph via Routing for further system expansion.
///      |
///      | It should be noted that all payable functions should utilize revert, as they are dealing with assets.
///      |
///      | "Bip32X" & Synthetics - Here we're using an extension of the Bip32 standard that effectively uses a hash of contract address & "chainId" to allow any erc20/erc223 contract to allow assets to move through Shyft's opt-in compliance rails.
///      | Ex. Ethereum = 60
///      | Shyft Network = 7341
///      |
///      | This contract is built so that when the totalSupply is asked for, much like transfer et al., it only references the ShyftTokenType. For getting the native balance of any specific Bip32X token, you'd call "getTotalSupplyBip32X" with the proper contract address.
///      |
///      | "Auto Migration"
///      | This contract was built with the philosophy that while there needs to be *some* upgrade path, unilaterally changing the existing contract address for Users is a bad idea in practice. Instead, we use a versioning system with the ability for users to set flags to automatically upgrade their liquidity on send into this particular contract, to any other contracts that have been updated so far (in a recursive manner).
///      |
///      | Auto-Migration of assets flow:
///      | 1. registry contract is set up
///      | 2. upgrade is called by registry contract
///      | 3. calls to fallback looks to see if upgrade is set
///      | 4. if so it asks the registry for the current contract address
///      | 5. it then uses the "migrateFromKycContract", which on the receiver's end will update the _to address passed in with the progression and now has the value from the "migrateFromKycContract"'s payable and thus the native fuel, to back the token increase to the _to's account.
///      |
///      |
///      | What's Next (V2 notes):
///      |
///      | "Shyft Safe" - timelocked assets that will work with Byfrost
///      | "Shyft Byfrost" - economic finality bridge infrastructure
///      |
///      | Compliance Channels:
///      | Addresses that only accept kyc input should be able to receive packages by the bridge that are only kyc'd across byfrost.
///      | Ultimate accountability chain could be difficult, though a hash map of critical ipfs resources of chain data could suffice.
///      | This would be the same issue as data accountability by trying to leverage multiple chains for data sales as well.

contract ShyftKycContract is IShyftKycContract, TokenConstants, AccessControl {
    /// @dev Event for migration to another shyft kyc contract (of higher or equal version).
    event EVT_migrateToKycContract(address indexed updatedShyftKycContractAddress, uint256 updatedContractBalance, address indexed kycContractAddress, address indexed to, uint256 _amount);
    /// @dev Event for migration to another shyft kyc contract (from lower or equal version).
    event EVT_migrateFromContract(address indexed sendingKycContract, uint256 totalSupplyBip32X, uint256 msgValue, uint256 thisBalance);

    /// @dev Event for receipt of native assets.
    event EVT_receivedNativeBalance(address indexed _from, uint256 _value);

    /// @dev Event for withdraw to address.
    event EVT_WithdrawToAddress(address _from, address _to, uint256 _value);
    /// @dev Event for withdraw to external contract (w/ Erc223 fallbacks).
    event EVT_WithdrawToExternalContract(address _from, address _to, uint256 _value);
    /// @dev Event for withdraw to a specific shyft smart contract.
    event EVT_WithdrawToShyftKycContract(address _from, address _to, uint256 _value);

    /// @dev Event for transfer and minting of Bip32X type assets.
    event EVT_TransferAndMintBip32X(address contractAddress, address msgSender, uint256 value, uint256 indexed bip32X_type);

    /// @dev Event for transfer and burning of Bip32X type assets.
    event EVT_TransferAndBurnBip32X(address contractAddress, address msgSender, address to, uint256 value, uint256 indexed bip32X_type);

    /// @dev Event for transfer of Bip32X type.
    event EVT_TransferBip32X(address indexed from, address indexed to, uint256 tokens, uint256 indexed bip32X_type);

    /// @dev Event for approval of Bip32X type.
    event EVT_ApprovalBip32X(address indexed tokenOwner, address indexed spender, uint256 tokens, uint256 indexed bip32X_type);

    /* ERC223 events */
    /// @dev Event for Erc223-based Token Fallback.
    event EVT_Erc223TokenFallback(address _from, uint256 _value, bytes _data);

    /* v1 Upgrade events */
    /// @dev Event for setting of emergency responder.
    event EVT_setV1EmergencyResponder(address _emergencyResponder);

    /// @dev Event for redemption of incorrectly sent assets.
    event EVT_redeemIncorrectlySentAsset(address indexed _destination, uint256 _amount);

    /// @dev Event for upgrading of assets from the v1 Contract
    event EVT_UpgradeFromV1(address indexed _originAddress, address indexed _userAddress, uint256 _value);

    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /// @dev Mapping of total supply specific bip32x assets.
    mapping(uint256 => uint256) totalSupplyBip32X;
    /// @dev Mapping of users to their balances of specific bip32x assets.
    mapping(address => mapping(uint256 => uint256)) balances;
    /// @dev Mapping of users to users with amount of allowance set for specific bip32x assets.
    mapping(address => mapping(address => mapping(uint256 => uint256))) allowed;

    /// @dev Mapping of users to whether they have set auto-upgrade enabled.
    mapping(address => bool) autoUpgradeEnabled;
    /// @dev Mapping of users to whether they Accepts Kyc Input only.
    mapping(address => bool) onlyAcceptsKycInput;
    /// @dev Mapping of users to whether their Accepts Kyc Input option is locked permanently.
    mapping(address => bool) lockOnlyAcceptsKycInputPermanently;

    /// @dev mutex lock, prevent recursion in functions that use external function calls
    bool locked;

    /// @dev Whether there has been an upgrade from this contract.
    bool public hasBeenUpdated;
    /// @dev The address of the next upgraded Shyft Kyc Contract.
    address public updatedShyftKycContractAddress;
    /// @dev The address of the Shyft Kyc Registry contract.
    address public shyftKycContractRegistryAddress;

    /// @dev The address of the Shyft Cache Graph contract.
    address public shyftCacheGraphAddress = address(0);

    /// @dev The signature for triggering 'tokenFallback' in erc223 receiver contracts.
    bytes4 constant shyftKycContractSig = bytes4(keccak256("fromShyftKycContract(address,address,uint256,uint256)")); // function signature

    /// @dev The origin of the Byfrost link, if this contract is used as such. follows chainId.
    bool public byfrostOrigin;
    /// @dev Flag for whether the Byfrost state has been set.
    bool public setByfrostOrigin;

    /// @dev The owner of this contract.
    address public owner;
    /// @dev The native Bip32X type of this network. Ethereum is 60, Shyft is 7341, etc.
    uint256 nativeBip32X_type;

    /// @dev The name of the minter role for implementing AccessControl
    bytes32 public constant MINTER_ROLE = keccak256("MINTER_ROLE");

    //@note:@v1Upgrade:
    /// @dev total number of SHFT tokens that have been upgraded from v1.
    uint256 public v1TotalUpgradeAmount;

    /// @dev emergency responder address - able to **only** send back tokens incorrectly sent via the erc20-based transfer(address,uint256) vs the erc223-based (actual "migration" of the SHFT tokens) to the v1 contract address.
    address public emergencyResponder;

    /// @dev "Machine" (autonomous smart contract) Consent Helper address - this is the one that is able to set specific contracts to accept only kyc input

    address public machineConsentHelperAddress;

    /// @param _nativeBip32X_type The native Bip32X type of this network. Ethereum is 60, Shyft is 7341, etc.
    /// @dev Invoke the constructor for ShyftSafe, which sets the owner and nativeBip32X_type class variables

    /// @dev This contract uses the AccessControl library (for minting tokens only by designated minter).
    /// @dev The account that deploys the contract will be granted the default admin role
    /// @dev which will let it grant minter roles to other accounts.
    /// @dev After deploying the contract, the the deployer should grant the minter role to a desired address
    /// @dev by calling `grantRole(bytes32 role, address account)`
    /// @dev Revoking the role is done by calling `revokeRole(bytes32 role, address account)`

    constructor(uint256 _nativeBip32X_type) {
        owner = msg.sender;

        nativeBip32X_type = _nativeBip32X_type;

        _setupRole(DEFAULT_ADMIN_ROLE, msg.sender);
    }

    /// @dev Gets the native bip32x token (should correspond to "chainid")
    /// @return result the native bip32x token (should correspond to "chainid")

    function getNativeTokenType() public override view returns (uint256 result) {
        return nativeBip32X_type;
    }

    /// @param _tokenAmount The amount of tokens to be allocated.
    /// @param _bip32X_type The Bip32X type that represents the synthetic tokens that will be allocated.
    /// @param _distributionContract The public address of the distribution contract, that the tokens are allocated for.
    /// @dev Set by the owner, this functions sets it such that this contract was deployed on a Byfrost arm of the Shyft Network (on Ethereum for example). With this is a token grant that this contract should make to a specific distribution contract (ie. in the case of the initial Shyft Network launch, we have a small allocation originating on the Ethereum network).
    /// @notice | for created kyc contracts on other chains, they can be instantiated with specific bip32X_type amounts
    ///         | (for example, the shyft distribution contract on eth vs. shyft native)
    ///         |  '  uint256 bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, _erc20ContractAddress)));
    ///         |  '  bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, msg.sender)));
    ///         | the bip32X_type is formed by the hash of the native bip32x type (which is unique per-platform, as it depends on
    ///         | the deployed contract address) - byfrost only touches non-replay networks.
    ///         | so the formula for the bip32X_type would be HASH [ byfrost main chain bip32X_type ] & [ byfrost main chain kyc contract address ]
    ///         | these minted tokens are given to the distribution contract for further distribution. This is all this contract
    ///         | needs to know about the distribution contract.
    /// @return result
    ///    | 2 = set byfrost as origin
    ///    | 1 = already set byfrost origin
    ///    | 0 = not owner

    function setByfrostNetwork(uint256 _tokenAmount, uint256 _bip32X_type, address _distributionContract) public returns (uint8 result) {
        if (msg.sender == owner) {
            if (setByfrostOrigin == false) {
                byfrostOrigin = true;
                setByfrostOrigin = true;

                balances[_distributionContract][_bip32X_type] = balances[_distributionContract][_bip32X_type].add(_tokenAmount);
                totalSupplyBip32X[_bip32X_type] = totalSupplyBip32X[_bip32X_type].add(_tokenAmount);

                //set byfrost as origin
                return 2;
            } else {
                //already set
                return 1;
            }
        } else {
            //not owner
            return 0;
        }
    }

    /// @dev Set by the owner, this function sets it such that this contract was deployed on the primary Shyft Network. No further calls to setByfrostNetwork may be made.
    /// @return result
    ///    | 2 = set primary network
    ///    | 1 = already set byfrost origin
    ///    | 0 = not owner

    function setPrimaryNetwork() public returns (uint8 result) {
        if (msg.sender == owner) {
            if (setByfrostOrigin == false) {
                setByfrostOrigin = true;

                //set primary network
                return 2;
            } else {
                //already set byfrost origin
                return 1;
            }
        } else {
            //not owner
            return 0;
        }
    }

    /// @dev Removes the owner (creator of this contract)'s control completely. Functions such as linking the registry & cachegraph (& shyftSafe's setBridge), and importantly initializing this as a byfrost contract, are triggered by the owner, and as such a setting phase and afterwards triggering this function could be seen as a completely appropriate workflow.
    /// @return true if the owner is removed successfully
    function removeOwner() public returns (bool) {
        require(msg.sender == owner, "not owner");

        owner = address(0);
        return true;
    }

    /// @param _shyftCacheGraphAddress The smart contract address for the Shyft CacheGraph that should be linked.
    /// @dev Links Shyft CacheGraph to this contract's function flow.
    /// @return result
    ///    | 0: not owner
    ///    | 1: set shyft cache graph address

    function setShyftCacheGraphAddress(address _shyftCacheGraphAddress) public returns (uint8 result) {
        require(_shyftCacheGraphAddress != address(0), "address cannot be zero");
        if (owner == msg.sender) {
            shyftCacheGraphAddress = _shyftCacheGraphAddress;

            //cacheGraph contract address set
            return 1;
        } else {
            //not owner
            return 0;
        }
    }

    function getShyftCacheGraphAddress() public view override returns (address result) {
        return shyftCacheGraphAddress;
    }

    //---------------- Cache Graph Utilization ----------------//

    /// @param _identifiedAddress The public address for the recipient to send assets (tokens) to.
    /// @param _amount The amount of assets that will be sent.
    /// @param _bip32X_type The bip32X type of the assets that will be sent. These are synthetic (wrapped) assets, based on atomic locking.
    /// @param _requiredConsentFromAllParties Whether to match the routing algorithm on the "consented" layer which indicates 2 way buy in of counterparty's attestation(s)
    /// @param _payForDirty Whether the sender will pay the additional cost to unify a cachegraph's relationships (if not, it will not complete).
    /// @dev | Performs a "kyc send", which is an automatic search between addresses for counterparty relationships within Trust Channels (whos rules dictate accessibility for auditing/enforcement/jurisdiction/etc.). If there is a match, the designated amount of assets is sent to the recipient.
    ///      | As there are accessor methods to check whether or not the counterparty's cachegraph is "dirty", there is little need to pass a "true" unless the transaction is critical (eg. DeFi atomic flash wrap) and there is a chance that there will need to be a unification pass before the transaction can pass with full assurety.
    /// @notice | If the recipient has flags set to indicate that they *only* want to receive assets from kyc sources, *all* of the regular transfer functions will block except this one, and this one only passes on success.
    /// @return result
    ///    | 0 = not enough balance to send
    ///    | 1 = consent required
    ///    | 2 = transfer cannot be processed due to transfer rules
    ///    | 3 = successful transfer

    function kycSend(address _identifiedAddress, uint256 _amount, uint256 _bip32X_type, bool _requiredConsentFromAllParties, bool _payForDirty) public override returns (uint8 result) {
        if (balances[msg.sender][_bip32X_type] >= _amount) {
            if (onlyAcceptsKycInput[_identifiedAddress] == false || (onlyAcceptsKycInput[_identifiedAddress] == true && _requiredConsentFromAllParties == true)) {
                IShyftCacheGraph shyftCacheGraph = IShyftCacheGraph(shyftCacheGraphAddress);

                uint8 kycCanSendResult = shyftCacheGraph.getKycCanSend(msg.sender, _identifiedAddress, _amount, _bip32X_type, _requiredConsentFromAllParties, _payForDirty);

                //getKycCanSend return 3 = can transfer successfully
                if (kycCanSendResult == 3) {
                    balances[msg.sender][_bip32X_type] = balances[msg.sender][_bip32X_type].sub(_amount);
                    balances[_identifiedAddress][_bip32X_type] = balances[_identifiedAddress][_bip32X_type].add(_amount);

                    //successful transfer
                    return 3;
                } else {
                    //transfer cannot be processed due to transfer rules
                    return 2;
                }
            } else {
                //consent required
                return 1;
            }
        } else {
            //not enough balance to send
            return 0;
        }
    }

    //---------------- Shyft KYC balances, fallback, send, receive, and withdrawal ----------------//


    /// @dev mutex locks transactions ordering so that multiple chained calls cannot complete out of order.

    modifier mutex() {
        require(locked == false, "mutex failed :: already locked");

        locked = true;
        _;
        locked = false;
    }

    /// @param _addr The Shyft Kyc Contract Registry address to set to.
    /// @dev Upgrades the contract. Can only be called by a pre-set Shyft Kyc Contract Registry contract. Can only be called once.
    /// @return returns true if the function passes, otherwise reverts if the message sender is not the shyft kyc registry contract.

    function updateContract(address _addr) public override returns (bool) {
        require(msg.sender == shyftKycContractRegistryAddress, "message sender must by registry contract");
        require(hasBeenUpdated == false, "contract has already been updated");
        require(_addr != address(0), "new kyc contract address cannot equal zero");

        hasBeenUpdated = true;
        updatedShyftKycContractAddress = _addr;
        return true;
    }

    /// @param _addr The Shyft Kyc Contract Registry address to set to.
    /// @dev Sets the Shyft Kyc Contract Registry address, so this contract can be upgraded.
    /// @return returns true if the function passes, otherwise reverts if the message sender is not the owner (deployer) of this contract, or the registry is zero, or the registry has already been set.

    function setShyftKycContractRegistryAddress(address _addr) public returns (bool) {
        require(msg.sender == owner, "not owner");
        require(_addr != address(0), "kyc registry address cannot equal zero");
        require(shyftKycContractRegistryAddress == address(0), "kyc registry address must not have already been set");

        shyftKycContractRegistryAddress = _addr;
        return true;
    }

    /// @param _to The destination address to withdraw to.
    /// @dev Withdraws all assets of this User to a specific address (only native assets, ie. Ether on Ethereum, Shyft on Shyft Network).
    /// @return balance the number of tokens of that specific bip32x type in the user's account

    function withdrawAllNative(address payable _to) public returns (uint) {
        uint _bal = balances[msg.sender][nativeBip32X_type];
        withdrawNative(_to, _bal);
        return _bal;
    }

    /// @param _identifiedAddress The address of the User.
    /// @param _bip32X_type The Bip32X type to check.
    /// @dev Gets balance for Shyft KYC token type & synthetics for a specfic user.
    /// @return balance the number of tokens of that specific bip32x type in the user's account

    function getBalanceBip32X(address _identifiedAddress, uint256 _bip32X_type) public view override returns (uint256 balance) {
        return balances[_identifiedAddress][_bip32X_type];
    }

    /// @param _bip32X_type The Bip32X type to check.
    /// @dev Gets the total supply for a specific bip32x token.
    /// @return balance the number of tokens of that specific bip32x type in this contract

    function getTotalSupplyBip32X(uint256 _bip32X_type) public view override returns (uint256 balance) {
        return totalSupplyBip32X[_bip32X_type];
    }

    /// @param _contractAddress The contract address to get the bip32x type from.
    /// @dev Gets the Bip32X Type for a specific contract address.
    /// @notice Doesn't check for contract status on the address (bytecode in contract) as that is super expensive for this form of call, so this *will* return a result for a regular non-contract address as well.
    /// @return bip32X_type the bip32x type for this specific contract

    function getBip32XTypeForContractAddress(address _contractAddress) public view override returns (uint256 bip32X_type) {
        return uint256(keccak256(abi.encodePacked(nativeBip32X_type, _contractAddress)));
    }

    /// @dev This fallback function applies value to nativeBip32X_type Token (Ether on Ethereum, Shyft on Shyft Network, etc). It also uses auto-upgrade logic so that users can automatically have their coins in the latest wallet (if everything is opted in across all contracts by the user).

    receive() external payable {
        //@note: this is the auto-upgrade path, which is an opt-in service to the users to be able to send any or all tokens
        // to an upgraded kycContract.
        if (hasBeenUpdated && autoUpgradeEnabled[msg.sender]) {
            //@note: to prevent tokens from ever getting "stuck", this contract can only send to itself in a very
            // specific manner.
            //
            // for example, the "withdrawNative" function will output native fuel to a destination.
            // If it was sent to this contract, this function will trigger and know that the msg.sender is
            // the originating kycContract.

            if (msg.sender != address(this)) {
                // stop the process if the message sender has set a flag that only allows kyc input
                require(onlyAcceptsKycInput[msg.sender] == false, "must send to recipient via trust channel");

                // burn tokens in this contract
                uint256 existingSenderBalance = balances[msg.sender][nativeBip32X_type];

                balances[msg.sender][nativeBip32X_type] = 0;
                totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].sub(existingSenderBalance);

                //~70k gas for the contract "call"
                //and 90k gas for the value transfer within this.
                // total = ~160k+checks gas to perform this transaction.
                bool didTransferSender = migrateToKycContract(updatedShyftKycContractAddress, msg.sender, existingSenderBalance.add(msg.value));

                if (didTransferSender == true) {

                } else {
                    //@note: reverts since a transactional event has occurred.
                    revert("error in migration to kyc contract [user-origin]");
                }
            } else {
                //****************************************************************************************************//
                //@note: This *must* be the only route where tx.origin has to matter.
                //****************************************************************************************************//

                // duplicating the logic here for higher deploy cost vs. lower transactional costs (consider user costs
                // where all users would want to migrate)

                // burn tokens in this contract
                uint256 existingOriginBalance = balances[tx.origin][nativeBip32X_type];

                balances[tx.origin][nativeBip32X_type] = 0;
                totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].sub(existingOriginBalance);

                //~70k gas for the contract "call"
                //and 90k gas for the value transfer within this.
                // total = ~160k+checks gas to perform this transaction.

                bool didTransferOrigin = migrateToKycContract(updatedShyftKycContractAddress, tx.origin, existingOriginBalance.add(msg.value));

                if (didTransferOrigin == true) {

                } else {
                    //@note: reverts since a transactional event has occurred.
                    revert("error in migration to updated contract [self-origin]");
                }
            }
        } else {
            //@note: never accept this contract sending raw value to this fallback function, unless explicit cases
            // have been met.
            //@note: public addresses do not count as kyc'd addresses
            if (msg.sender != address(this) && onlyAcceptsKycInput[msg.sender] == true) {
                revert("must send to recipient via trust channel");
            }

            balances[msg.sender][nativeBip32X_type] = balances[msg.sender][nativeBip32X_type].add(msg.value);
            totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].add(msg.value);

            emit EVT_receivedNativeBalance(msg.sender, msg.value);
        }
    }

    /// @param _kycContractAddress The Shyft Kyc Contract to migrate to.
    /// @param _to The user's address to migrate to
    /// @param _amount The amount of tokens to migrate.
    /// @dev Internal function to migrates the user's assets to another Shyft Kyc Contract. This function is called from the fallback to allocate tokens properly to the upgraded contract.
    /// @return result
    ///    | true = transfer complete
    ///    | false = transfer did not complete

    function migrateToKycContract(address _kycContractAddress, address _to, uint256 _amount) internal returns (bool result) {

        // call upgraded contract so that tokens are forwarded to the new contract under _to's account.
        IShyftKycContract updatedKycContract = IShyftKycContract(updatedShyftKycContractAddress);

        emit EVT_migrateToKycContract(updatedShyftKycContractAddress, address(updatedShyftKycContractAddress).balance, _kycContractAddress, _to, _amount);

        // sending to ShyftKycContracts only; migrateFromKycContract uses ~75830 - 21000 gas to execute,
        // with a registry lookup, so adding in a bit more for future contracts.
        bool transferResult = updatedKycContract.migrateFromKycContract{value: _amount, gas: 100000}(_to);

        if (transferResult == true) {
            //transfer complete
            return true;
        } else {
            //transfer did not complete
            return false;
        }
    }

    /// @param _to The user's address to migrate to.
    /// @dev | Migrates the user's assets from another Shyft Kyc Contract. The following conditions have to pass:
    ///      | a) message sender is a shyft kyc contract,
    ///      | b) sending shyft kyc contract is not of a later version than this one
    ///      | c) user on this shyft kyc contract have no restrictions on only accepting KYC input (will ease in v2)
    /// @return result
    ///    | true = migration completed successfully
    ///    | [revert] = reverts on any situation that fails on the above parameters

    function migrateFromKycContract(address _to) public payable override returns (bool result) {
        //@note: doing a very strict check to make sure no unwanted additional tokens can be created.
        // the way this work is that this.balance is updated *before* this code runs.
        // thus, as long as we've always updated totalSupplyBip32X when we've created or destroyed tokens, we'll
        // always be able to check against this.balance.

        //regarding an issue found:
        //"Smart contracts, though they may not expect it, can receive ether forcibly, or could be deployed at an
        // address that already received some ether."
        // from:
        // "require(totalSupplyBip32X[nativeBip32X_type].add(msg.value) == address(this).balance);"
        //
        // the worst case scenario in some non-atomic calls (without going through withdrawToShyftKycContract for example)
        // is that someone self-destructs a contract and forcibly sends ether to this address, before this is triggered by
        // someone using it.

        // solution:
        // we cannot do a simple equality check for address(this).balance. instead, we use an less-than-or-equal-to, as
        // when the worst case above occurs, the total supply of this synthetic will be less than the balance within this
        // contract.

        require(totalSupplyBip32X[nativeBip32X_type].add(msg.value) <= address(this).balance, "could not migrate funds due to insufficient backing balance");

        bool doContinue = true;

        IShyftKycContractRegistry contractRegistry = IShyftKycContractRegistry(shyftKycContractRegistryAddress);

        // check if only using a known kyc contract communication cycle, then verify the message sender is a kyc contract.
        if (contractRegistry.isShyftKycContract(address(msg.sender)) == false) {
            doContinue = false;
        } else {
            // only allow migration from equal or older versions of Shyft Kyc Contracts, via registry lookup.
            if (contractRegistry.getContractVersionOfAddress(address(msg.sender)) > contractRegistry.getContractVersionOfAddress(address(this))) {
                doContinue = false;
            }
        }

        // block transfers if the recipient only allows kyc input
        if (onlyAcceptsKycInput[_to] == true) {
            doContinue = false;
        }

        if (doContinue == true) {
            emit EVT_migrateFromContract(msg.sender, totalSupplyBip32X[nativeBip32X_type], msg.value, address(this).balance);

            balances[_to][nativeBip32X_type] = balances[_to][nativeBip32X_type].add(msg.value);
            totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].add(msg.value);

            //transfer complete
            return true;
        } else {
            //kyc contract not in registry
            //@note: transactional event has occurred, so revert() is necessary
            revert("kyc contract is not in registry, or must use trust channels");
            //return false;
        }
    }

    /// @param _onlyAcceptsKycInputValue Whether to accept only Kyc Input.
    /// @dev Sets whether to accept only Kyc Input in the future.
    /// @return result
    ///    | true = updated onlyAcceptsKycInput
    ///    | false = cannot modify onlyAcceptsKycInput, as it is locked permanently by user

    function setOnlyAcceptsKycInput(bool _onlyAcceptsKycInputValue) public returns (bool result) {
        if (lockOnlyAcceptsKycInputPermanently[msg.sender] == false) {
            onlyAcceptsKycInput[msg.sender] = _onlyAcceptsKycInputValue;

            //updated onlyAcceptsKycInput
            return true;
        } else {

            //cannot modify onlyAcceptsKycInput, as it is locked permanently by user
            return false;
        }
    }

    /// @dev Gets whether the user has set Accepts Kyc Input.
    /// @return result
    ///    | true = set lock for onlyAcceptsKycInput
    ///    | false = already set lock for onlyAcceptsKycInput

    function setLockOnlyAcceptsKycInputPermanently() public returns (bool result) {
        if (lockOnlyAcceptsKycInputPermanently[msg.sender] == false) {
            lockOnlyAcceptsKycInputPermanently[msg.sender] = true;
            //set lock for onlyAcceptsKycInput
            return true;
        } else {
            //already set lock for onlyAcceptsKycInput
            return false;
        }
    }

    /// @param _machineConsentHelperAddress The address of the Machine Consent Helper.
    /// @dev Sets the Machine Consent Helper address. This address can lock kyc inputs for contracts permanently, for use in compliant DeFi pools.
    /// @return result
    ///    | true = set machine consent helper address
    ///    | false = cannot set machine consent helper address, either not the Owner, the address input is 0x0, or the machine helper address has already been set by the Owner.

    function setMachineConsentHelperAddress(address _machineConsentHelperAddress) public returns (bool result) {
        require(msg.sender == owner, "not owner");
        require(_machineConsentHelperAddress != address(0), "machine consent helper address cannot equal zero");
        require(machineConsentHelperAddress == address(0), "machine consent helper address must not have already been set");

        machineConsentHelperAddress = _machineConsentHelperAddress;

        // set machine consent helper address
        return true;
    }

    /// @param _contractAddress The contract address to lock only accepts kyc input permanently
    /// @dev Sets the Machine Consent Helper address. This address can lock kyc inputs for contracts permanently, for use in compliant DeFi pools.
    /// @return result
    ///    | true = set only accepts kyc input permanently for the contract
    ///    | false = not a contract address, or no machine (autonomous smart contract) consent helper found

    function lockContractToOnlyAcceptsKycInputPermanently(address _contractAddress) public returns (bool result) {
        // check for machine consent helper as the sender.
        if (msg.sender == machineConsentHelperAddress) {
            // make sure this is a contract address (has code in it)
            if (isContractAddress(_contractAddress)) {
                // forces only accepting KYC input from this point on.
                onlyAcceptsKycInput[_contractAddress] = true;
                lockOnlyAcceptsKycInputPermanently[_contractAddress] = true;

                // set only accepts kyc input permanently for the contract
                return true;
            } else {
                // not a contract address
                return false;
            }
        } else {
            // no machine consent helper found
            return false;
        }
    }

    /// @param _identifiedAddress The public address to check.
    /// @dev Gets whether the user has set Accepts Kyc Input.
    /// @return result whether the user has set Accepts Kyc Input

    function getOnlyAcceptsKycInput(address _identifiedAddress) public view override returns (bool result) {
        return onlyAcceptsKycInput[_identifiedAddress];
    }

    /// @param _identifiedAddress The public address to check.
    /// @dev Gets whether the user has set Accepts Kyc Input permanently (whether on or off).
    /// @return result whether the user has set Accepts Kyc Input permanently (whether on or off)

    function getOnlyAcceptsKycInputPermanently(address _identifiedAddress) public view override returns (bool result) {
        return lockOnlyAcceptsKycInputPermanently[_identifiedAddress];
    }

    //---------------- Token Upgrades ----------------//


    //****************************************************************************************************************//
    //@note: instead of explicitly returning, assign return value to variable allows the code after the _;
    // in the mutex modifier to be run!
    //****************************************************************************************************************//

    /// @param _value The amount of tokens to upgrade.
    /// @dev Upgrades the user's tokens by sending them to the next contract (which will do the same). Sets auto upgrade for the user as well.
    /// @return result
    ///    | 3 = withdrew correctly
    ///    | 2 = could not withdraw
    ///    | 1 = not enough balance
    ///    | 0 = contract has not been updated

    function upgradeNativeTokens(uint256 _value) mutex public returns (uint256 result) {
        //check if it's been updated
        if (hasBeenUpdated == true) {
            //make sure the msg.sender has enough synthetic fuel to transfer
            if (balances[msg.sender][nativeBip32X_type] >= _value) {
                autoUpgradeEnabled[msg.sender] = true;

                //then proceed to send to address(this) to initiate the autoUpgrade
                // to the new contract.
                bool withdrawResult = _withdrawToShyftKycContract(updatedShyftKycContractAddress, msg.sender, _value);
                if (withdrawResult == true) {
                    //withdrew correctly
                    result = 3;
                } else {
                    //could not withdraw
                    result = 2;
                }
            } else {
                //not enough balance
                result = 1;
            }
        } else {
            //contract has not been updated
            result = 0;
        }
    }

    /// @param _autoUpgrade Whether the tokens should be automatically upgraded when sent to this contract.
    /// @dev Sets auto upgrade for the message sender, for fallback functionality to upgrade tokens on receipt. The only reason a user would want to call this function is to modify behaviour *after* this contract has been updated, thus allowing choice.

    function setAutoUpgrade(bool _autoUpgrade) public {
        autoUpgradeEnabled[msg.sender] = _autoUpgrade;
    }

    function isContractAddress(address _potentialContractAddress) internal returns (bool result) {
        uint codeLength;

        //retrieve the size of the code on target address, this needs assembly
        assembly {
            codeLength := extcodesize(_potentialContractAddress)
        }

        //check to see if there's any code (contract) or not.
        if (codeLength == 0) {
            return false;
        } else {
            return true;
        }
    }

    //---------------- Native withdrawal / transfer functions ----------------//

    /// @param _to The destination payable address to send to.
    /// @param _value The amount of tokens to transfer.
    /// @dev Transfers native tokens (based on the current native Bip32X type, ex Shyft = 7341, Ethereum = 1) to the user's wallet.
    /// @notice 30k gas limit for transfers.
    /// @return ok
    ///    | true = native tokens withdrawn properly
    ///    | false = the user does not have enough balance, or found a smart contract address instead of a payable address.

    function withdrawNative(address payable _to, uint256 _value) mutex public override returns (bool ok) {
        if (balances[msg.sender][nativeBip32X_type] >= _value) {
            //makes sure it's sending to a native (non-contract) address
            if (isContractAddress(_to) == false) {
                balances[msg.sender][nativeBip32X_type] = balances[msg.sender][nativeBip32X_type].sub(_value);
                totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].sub(_value);

                //@note: this is going to a regular account. the existing balance has already been reduced,
                // and as such the only thing to do is to send the actual Shyft fuel (or Ether, etc) to the
                // target address.

                _to.transfer(_value);

                emit EVT_WithdrawToAddress(msg.sender, _to, _value);
                ok = true;
            } else {
                ok = false;
            }
        } else {
            ok = false;
        }
    }

    /// @param _to The destination smart contract address to send to.
    /// @param _value The amount of tokens to transfer.
    /// @param _gasAmount The amount of gas for the transfer (>30k is a different receiver gas type beyond normal accounting + 1 event)
    /// @dev Transfers SHFT tokens to another external contract.
    /// @notice 30k gas limit for transfers should be used unless there are specific reasons otherwise.
    /// @return ok
    ///    | true = tokens withdrawn properly to another contract
    ///    | false = the user does not have enough balance, or not a contract address

    function withdrawToExternalContract(address _to, uint256 _value, uint256 _gasAmount) mutex public override returns (bool ok) {
        if (balances[msg.sender][nativeBip32X_type] >= _value) {
            if (isContractAddress(_to)) {
                balances[msg.sender][nativeBip32X_type] = balances[msg.sender][nativeBip32X_type].sub(_value);
                totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].sub(_value);

                //this will fail when sending to contracts with fallback functions that consume more than 20000 gas

                (bool success, ) = _to.call{value: _value, gas: _gasAmount}("");

                if (success == true) {
                    emit EVT_WithdrawToExternalContract(msg.sender, _to, _value);

                    // tokens withdrawn properly to another contract
                    ok = true;
                } else {
                    //@note:@here: needs revert() due to asset transactions already having occurred
                    revert("could not withdraw to an external contract");
                    //ok = false;
                }
            } else {
                // not a contract address
                ok = false;
            }
        } else {
            // user does not have enough balance
            ok = false;
        }
    }

    /// @param _shyftKycContractAddress The address of the Shyft Kyc Contract that is being send to.
    /// @param _to The destination address to send to.
    /// @param _value The amount of tokens to transfer.
    /// @dev Transfers SHFT tokens to another Shyft Kyc contract.
    /// @notice 120k gas limit for transfers.
    /// @return ok
    ///    | true = tokens withdrawn properly to another Kyc Contract.
    ///    | false = the user does not have enough balance, not a valid ShyftKycContract via registry lookup, or not a correct shyft contract address, or receiver only accepts kyc input.

    function withdrawToShyftKycContract(address _shyftKycContractAddress, address _to, uint256 _value) mutex public override returns (bool ok) {
        return _withdrawToShyftKycContract(_shyftKycContractAddress, _to, _value);
    }

    function _withdrawToShyftKycContract(address _shyftKycContractAddress, address _to, uint256 _value) internal returns (bool ok) {
        if (balances[msg.sender][nativeBip32X_type] >= _value) {
            if (isContractAddress(_shyftKycContractAddress) == true) {
                IShyftKycContractRegistry contractRegistry = IShyftKycContractRegistry(shyftKycContractRegistryAddress);

                // check if only using a known kyc contract communication cycle, then verify the message sender is a kyc contract.
                if (contractRegistry.isShyftKycContract(_shyftKycContractAddress) == true) {
                    IShyftKycContract receivingShyftKycContract = IShyftKycContract(_shyftKycContractAddress);

                    if (receivingShyftKycContract.getOnlyAcceptsKycInput(_to) == false) {
                        balances[msg.sender][nativeBip32X_type] = balances[msg.sender][nativeBip32X_type].sub(_value);
                        totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].sub(_value);

                        // sending to ShyftKycContracts only; migrateFromKycContract uses ~75830 - 21000 gas to execute,
                        // with a registry lookup. Adding 50k more just in case there are other checks in the v2.
                        if (receivingShyftKycContract.migrateFromKycContract{gas: 120000, value: _value}(_to) == false) {
                            revert("could not migrate from shyft kyc contract");
                        }

                        emit EVT_WithdrawToShyftKycContract(msg.sender, _to, _value);

                        ok = true;
                    } else {
                        // receiver only accepts kyc input
                        ok = false;
                    }
                } else {
                    // is not a valid ShyftKycContract via registry lookup.
                    ok = false;
                }
            } else {
                // not a smart contract
                ok = false;
            }
        } else {
            ok = false;
        }
    }

    //---------------- ERC 223 receiver ----------------//

    /// @param _from The address of the origin.
    /// @param _value The address of the recipient.
    /// @param _data The bytes data of any ERC223 transfer function.
    /// @dev Token fallback method to receive assets. ERC223 functionality. This version does allow for one specific (origin) contract to transfer tokens to it.
    /// @return ok returns true if the checks pass and there are enough allowed + actual tokens to transfer to the recipient.

    function tokenFallback(address _from, uint _value, bytes memory _data) mutex public override returns (bool ok) {
        // block transfers if the recipient only allows kyc input, check other factors
        require(onlyAcceptsKycInput[_from] == false, "recipient address must not require only kyc'd input");

        IShyftKycContractRegistry contractRegistry = IShyftKycContractRegistry(shyftKycContractRegistryAddress);

        // if kyc registry exists, check if only using a known kyc contract communication cycle, then verify the message
        // sender is a kyc contract.
        if (shyftKycContractRegistryAddress != address(0) && contractRegistry.isShyftKycContract(address(msg.sender)) == true) {
            if (contractRegistry.getContractVersionOfAddress(address(msg.sender)) == 0) {
                // 1: the msg.sender will be the smart contract of origin.
                // 2: the sender has sent to this address.
                // 3: the only data we have is the "from" that is unique, this is the initial msg.sender of the transaction chain.
                // 4: consider the main purpose of the send to be upgrading anyhow
                // 5: this contract will now have a balance in the other one, which it never needs to move (very important if there were issues with the act of person<->person transfer).
                // 6: this contract will then *mint* the balance into being, into the sender's account.

                bytes4 tokenSig;

                //make sure we have enough bytes to determine a signature
                if (_data.length >= 4) {
                    tokenSig = bytes4(uint32(bytes4(bytes1(_data[3])) >> 24) + uint32(bytes4(bytes1(_data[2])) >> 16) + uint32(bytes4(bytes1(_data[1])) >> 8) + uint32(bytes4(bytes1(_data[0]))));
                }

                // reject the transaction if the token signature is a "withdrawToExternalContract" event from the v0 contract.
                // as this update has zero issues
                if (tokenSig != shyftKycContractSig) {
                    balances[_from][ShyftTokenType] = balances[_from][ShyftTokenType].add(_value);
                    totalSupplyBip32X[ShyftTokenType] = totalSupplyBip32X[ShyftTokenType].add(_value);

                    v1TotalUpgradeAmount = v1TotalUpgradeAmount.add(_value);

                    emit EVT_TransferAndMintBip32X(msg.sender, _from, _value, ShyftTokenType);
                    emit EVT_UpgradeFromV1(msg.sender, _from, _value);

                    ok = true;
                } else {
                    revert("cannot process a withdrawToExternalContract event from the v0 contract.");
                }

            } else {
                revert("cannot process fallback from Shyft Kyc Contract of a revision not equal to 0, in this version of Shyft Core");
            }
        }
    }

    //---------------- ERC 20 ----------------//

    /// @param _who The address of the user.
    /// @dev Gets the balance for the SHFT token type for a specific user.
    /// @return the balance of the SHFT token type for the user

    function balanceOf(address _who) public view override returns (uint) {
        return balances[_who][ShyftTokenType];
    }

    /// @dev Gets the name of the token.
    /// @return _name of the token.

    function name() public pure returns (string memory _name) {
        return "Shyft [ Wrapped ]";
    }

    /// @dev Gets the symbol of the token.
    /// @return _symbol the symbol of the token

    function symbol() public pure returns (string memory _symbol) {
        //@note: "SFT" is the 3 letter variant
        return "SHFT";
    }

    /// @dev Gets the number of decimals of the token.
    /// @return _decimals number of decimals of the token.

    function decimals() public pure returns (uint8 _decimals) {
        return 18;
    }

    /// @dev Gets the number of SHFT tokens available.
    /// @return result total supply of SHFT tokens

    function totalSupply() public view override returns (uint256 result) {
        return getTotalSupplyBip32X(ShyftTokenType);
    }

    /// @param _to The address of the origin.
    /// @param _value The address of the recipient.
    /// @dev Transfers assets to destination, with ERC20 functionality. (basic ERC20 functionality, but blocks transactions if Only Accepts Kyc Input is set to true.)
    /// @return ok returns true if the checks pass and there are enough allowed + actual tokens to transfer to the recipient.

    function transfer(address _to, uint256 _value) public override returns (bool ok) {
        // block transfers if the recipient only allows kyc input, check other factors
        if (onlyAcceptsKycInput[_to] == false && balances[msg.sender][ShyftTokenType] >= _value) {
            balances[msg.sender][ShyftTokenType] = balances[msg.sender][ShyftTokenType].sub(_value);

            balances[_to][ShyftTokenType] = balances[_to][ShyftTokenType].add(_value);

            emit Transfer(msg.sender, _to, _value);

            return true;
        } else {
            return false;
        }
    }

    /// @param _tokenOwner The address of the origin.
    /// @param _spender The address of the recipient.
    /// @dev Get the current allowance for the basic Shyft token type. (basic ERC20 functionality)
    /// @return remaining the current allowance for the basic Shyft token type for a specific user

    function allowance(address _tokenOwner, address _spender) public view override returns (uint remaining) {
       return allowed[_tokenOwner][_spender][ShyftTokenType];
    }


    /// @param _spender The address of the recipient.
    /// @param _tokens The amount of tokens to transfer.
    /// @dev Allows pre-approving assets to be sent to a participant. (basic ERC20 functionality)
    /// @notice This (standard) function known to have an issue.
    /// @return success whether the approve function completed successfully

    function approve(address _spender, uint _tokens) public override returns (bool success) {
        allowed[msg.sender][_spender][ShyftTokenType] = _tokens;

        //example of issue:
        //user a has 20 tokens allowed from zero :: no incentive to frontrun
        //user a has +2 tokens allowed from 20 :: frontrunning would deplete 20 and add 2 :: incentive there.

        emit Approval(msg.sender, _spender, _tokens);

        return true;
    }

    /// @param _from The address of the origin.
    /// @param _to The address of the recipient.
    /// @param _tokens The amount of tokens to transfer.
    /// @dev Performs the withdrawal of pre-approved assets. (basic ERC20 functionality, but blocks transactions if Only Accepts Kyc Input is set to true.)
    /// @return success returns true if the checks pass and there are enough allowed + actual tokens to transfer to the recipient.

    function transferFrom(address _from, address _to, uint _tokens) public override returns (bool success) {
        // block transfers if the recipient only allows kyc input, check other factors
        if (onlyAcceptsKycInput[_to] == false && allowed[_from][msg.sender][ShyftTokenType] >= _tokens && balances[_from][ShyftTokenType] >= _tokens) {
            allowed[_from][msg.sender][ShyftTokenType] = allowed[_from][msg.sender][ShyftTokenType].sub(_tokens);

            balances[_from][ShyftTokenType] = balances[_from][ShyftTokenType].sub(_tokens);
            balances[_to][ShyftTokenType] = balances[_to][ShyftTokenType].add(_tokens);

            emit Transfer(_from, _to, _tokens);
            emit Approval(_from, msg.sender, allowed[_from][msg.sender][ShyftTokenType]);

            return true;
        } else {
            return false;
        }
    }

    //---------------- ERC20 Burnable/Mintable ----------------//

    /// @param _to The address of the receiver of minted tokens.
    /// @param _amount The amount of minted tokens.
    /// @dev Mints tokens to a specific address. Called only by an account with a minter role.
    /// @notice Has Shyft Opt-in Compliance feature-sets for expansion/mvp capabilities.

    function mint(address _to, uint256 _amount) public {
        require(_to != address(0), "ShyftKycContract: mint to the zero address");
        require(hasRole(MINTER_ROLE, msg.sender), "ShyftKycContract: must have minter role to mint");

        // @note: for the initial deploy we'll be able to provide an mvp implementation, and I've made it quite difficult
        // for the user to constrain themselves to kyc-only mode, especially before we have custom interfaces.

        // checks for Shyft opt-in compliance feature-sets to enforce kyc trust channel groupings.
        if (onlyAcceptsKycInput[_to] == true) {
            //make sure that there is a cache graph linked, otherwise revert.
            if (shyftCacheGraphAddress != address(0)) {
                IShyftCacheGraph shyftCacheGraph = IShyftCacheGraph(shyftCacheGraphAddress);

                //checks on consent-driven trust channels that the end user and the relayer have in common
                uint8 kycCanSendResult = shyftCacheGraph.getKycCanSend(msg.sender, _to, _amount, ShyftTokenType, true, false);

                //if there are any matches
                if (kycCanSendResult == 3) {
                    // continue on
                } else {
                    // or revert if there are no matches found.
                    revert("ShyftKycContract: mint to KYC only address within Trust Channel groupings");
                }
            } else {
                revert("ShyftKycContract: mint to KYC only address within Trust Channel groupings");
            }
        }

        totalSupplyBip32X[ShyftTokenType] = totalSupplyBip32X[ShyftTokenType].add(_amount);
        balances[_to][ShyftTokenType] = balances[_to][ShyftTokenType].add(_amount);

        emit Transfer(address(0), _to, _amount);
    }

    /// @param _account The address from which to burn tokens tokens.
    /// @param _amount The amount of burned tokens.
    /// @dev Burns tokens from a specific address, deducting from the caller's allowance.
    /// @dev The caller must have allowance for `accounts`'s tokens of at least `amount`.

    function burnFrom(address _account, uint256 _amount) public {
        require(_account != address(0), "ShyftKycContract: burn from the zero address");
        uint256 currentAllowance = allowed[_account][msg.sender][ShyftTokenType];
        require(currentAllowance >= _amount, "ShyftKycContract: burn amount exceeds allowance");
        uint256 accountBalance = balances[_account][ShyftTokenType];
        require(accountBalance >= _amount, "ShyftKycContract: burn amount exceeds balance");

        allowed[_account][msg.sender][ShyftTokenType] = currentAllowance.sub(_amount);

        emit Approval(_account, msg.sender, allowed[_account][msg.sender][ShyftTokenType]);

        balances[_account][ShyftTokenType] = accountBalance.sub(_amount);
        totalSupplyBip32X[ShyftTokenType] = totalSupplyBip32X[ShyftTokenType].sub(_amount);

        emit Transfer(_account, address(0), _amount);
    }

    //---------------- Bip32X Burnable/Mintable ----------------//

    /// @param _to The address of the receiver of minted tokens.
    /// @param _amount The amount of minted tokens.
    /// @param _bip32X_type The Bip32X type of the token.
    /// @dev Mints tokens to a specific address. Called only by an account with a minter role.
    /// @notice Has Shyft Opt-in Compliance feature-sets for expansion/mvp capabilities.

    function mintBip32X(address _to, uint256 _amount, uint256 _bip32X_type) public override {
        require(_to != address(0), "ShyftKycContract: mint to the zero address");
        require(hasRole(MINTER_ROLE, msg.sender), "ShyftKycContract: must have minter role to mint");

        // @note: for the initial deploy we'll be able to provide an mvp implementation, and I've made it quite difficult
        // for the user to constrain themselves to kyc-only mode, especially before we have custom interfaces.

        // checks for Shyft opt-in compliance feature-sets to enforce kyc trust channel groupings.
        if (onlyAcceptsKycInput[_to] == true) {
            //make sure that there is a cache graph linked, otherwise revert.
            if (shyftCacheGraphAddress != address(0)) {
                IShyftCacheGraph shyftCacheGraph = IShyftCacheGraph(shyftCacheGraphAddress);

                //checks on consent-driven trust channels that the end user and the relayer have in common
                uint8 kycCanSendResult = shyftCacheGraph.getKycCanSend(msg.sender, _to, _amount, _bip32X_type, true, false);

                //if there are any matches
                if (kycCanSendResult == 3) {
                    // continue on
                } else {
                    // or revert if there are no matches found.
                    revert("ShyftKycContract: mint to KYC only address within Trust Channel groupings");
                }
            } else {
                revert("ShyftKycContract: mint to KYC only address within Trust Channel groupings");
            }
        }

        totalSupplyBip32X[_bip32X_type] = totalSupplyBip32X[_bip32X_type].add(_amount);
        balances[_to][_bip32X_type] = balances[_to][_bip32X_type].add(_amount);


        emit EVT_TransferBip32X(address(0), _to, _amount, _bip32X_type);
    }

    /// @param _account The address from which to burn tokens tokens.
    /// @param _amount The amount of burned tokens.
    /// @param _bip32X_type The Bip32X type of the token.
    /// @dev Burns tokens from a specific address, deducting from the caller's allowance.
    /// @dev The caller must have allowance for `accounts`'s tokens of at least `amount`.

    function burnFromBip32X(address _account, uint256 _amount, uint256 _bip32X_type) public override {
        require(_account != address(0), "ShyftKycContract: burn from the zero address");
        uint256 currentAllowance = allowed[_account][msg.sender][_bip32X_type];
        require(currentAllowance >= _amount, "ShyftKycContract: burn amount exceeds allowance");
        uint256 accountBalance = balances[_account][_bip32X_type];
        require(accountBalance >= _amount, "ShyftKycContract: burn amount exceeds balance");

        allowed[_account][msg.sender][_bip32X_type] = currentAllowance.sub(_amount);

        emit EVT_ApprovalBip32X(_account, msg.sender, allowed[_account][msg.sender][_bip32X_type], _bip32X_type);

        balances[_account][_bip32X_type] = accountBalance.sub(_amount);
        totalSupplyBip32X[_bip32X_type] = totalSupplyBip32X[_bip32X_type].sub(_amount);

        emit EVT_TransferBip32X(_account, address(0), _amount, _bip32X_type);
    }

    //---------------- Shyft Token Transfer / Approval [KycContract] ----------------//

    /// @param _to The address of the recipient.
    /// @param _value The amount of tokens to transfer.
    /// @param _bip32X_type The Bip32X type of the asset to transfer.
    /// @dev | Transfers assets from one Shyft user to another, with restrictions on the transfer if the recipient has enabled Only Accept KYC Input.
    /// @return result returns true if the transaction completes, reverts if it does not.

    function transferBip32X(address _to, uint256 _value, uint256 _bip32X_type) public override returns (bool result) {
        // block transfers if the recipient only allows kyc input
        require(onlyAcceptsKycInput[_to] == false, "recipient must not only accept kyc'd input");
        require(balances[msg.sender][_bip32X_type] >= _value, "not enough balance");

        balances[msg.sender][_bip32X_type] = balances[msg.sender][_bip32X_type].sub(_value);
        balances[_to][_bip32X_type] = balances[_to][_bip32X_type].add(_value);

        emit EVT_TransferBip32X(msg.sender, _to, _value, _bip32X_type);
        return true;
    }

    /// @param _tokenOwner The address of the origin.
    /// @param _spender The address of the recipient.
    /// @param _bip32X_type The Bip32X type of the token.
    /// @dev Get the current allowance for the basic Shyft token type. (basic ERC20 functionality, Bip32X assets)
    /// @return remaining the current allowance for the basic Shyft token type for a specific user

    function allowanceBip32X(address _tokenOwner, address _spender, uint256 _bip32X_type) public view override returns (uint remaining) {
        return allowed[_tokenOwner][_spender][_bip32X_type];
    }


    /// @param _spender The address of the recipient.
    /// @param _tokens The amount of tokens to transfer.
    /// @param _bip32X_type The Bip32X type of the token.
    /// @dev Allows pre-approving assets to be sent to a participant. (basic ERC20 functionality, Bip32X assets)
    /// @notice This (standard) function known to have an issue.
    /// @return success whether the approve function completed successfully

    function approveBip32X(address _spender, uint _tokens, uint256 _bip32X_type) public override returns (bool success) {
        allowed[msg.sender][_spender][_bip32X_type] = _tokens;

        //example of issue:
        //user a has 20 tokens allowed from zero :: no incentive to frontrun
        //user a has +2 tokens allowed from 20 :: frontrunning would deplete 20 and add 2 :: incentive there.

        emit EVT_ApprovalBip32X(msg.sender, _spender, _tokens, _bip32X_type);

        return true;
    }

    /// @param _from The address of the origin.
    /// @param _to The address of the recipient.
    /// @param _tokens The amount of tokens to transfer.
    /// @param _bip32X_type The Bip32X type of the token.
    /// @dev Performs the withdrawal of pre-approved assets. (basic ERC20 functionality, but blocks transactions if Only Accepts Kyc Input is set to true, Bip32X assets)
    /// @return success returns true if the checks pass and there are enough allowed + actual tokens to transfer to the recipient.

    function transferFromBip32X(address _from, address _to, uint _tokens, uint256 _bip32X_type) public override returns (bool success) {
        // block transfers if the recipient only allows kyc input, check other factors
        if (onlyAcceptsKycInput[_to] == false && allowed[_from][msg.sender][_bip32X_type] >= _tokens && balances[_from][ShyftTokenType] >= _tokens) {
            allowed[_from][msg.sender][_bip32X_type] = allowed[_from][msg.sender][_bip32X_type].sub(_tokens);

            balances[_from][_bip32X_type] = balances[_from][_bip32X_type].sub(_tokens);
            balances[_to][_bip32X_type] = balances[_to][_bip32X_type].add(_tokens);

            emit EVT_TransferBip32X(_from, _to, _tokens, _bip32X_type);
            emit EVT_ApprovalBip32X(_from, msg.sender, allowed[_from][msg.sender][_bip32X_type], _bip32X_type);

            return true;
        } else {
            return false;
        }
    }

    //---------------- Shyft Token Transfer [Erc20] ----------------//

    /// @param _erc20ContractAddress The address of the ERC20 contract.
    /// @param _value The amount of tokens to transfer.
    /// @dev | Transfers assets from any Erc20 contract to a Bip32X type Shyft synthetic asset. Mints the current synthetic balance.
    /// @return ok returns true if the transaction completes, reverts if it does not

    function transferFromErc20TokenToBip32X(address _erc20ContractAddress, uint256 _value) mutex public override returns (bool ok) {
        require(_erc20ContractAddress != address(this), "cannot transfer from this contract");

        // block transfers if the recipient only allows kyc input, check other factors
        require(onlyAcceptsKycInput[msg.sender] == false, "recipient must not only accept kyc'd input");

        IERC20 erc20Contract = IERC20(_erc20ContractAddress);

        if (erc20Contract.allowance(msg.sender, address(this)) >= _value) {
            erc20Contract.safeTransferFrom(msg.sender, address(this), _value);
            //@note: using _erc20ContractAddress in the keccak hash since _erc20ContractAddress will be where
            // the tokens are created and managed.
            //
            // thus, this fallback will not function properly with abstracted synthetics (including this contract)
            // hence the initial require() check above to prevent this behaviour.

            uint256 bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, _erc20ContractAddress)));
            balances[msg.sender][bip32X_type] = balances[msg.sender][bip32X_type].add(_value);
            totalSupplyBip32X[bip32X_type] = totalSupplyBip32X[bip32X_type].add(_value);

            emit EVT_TransferAndMintBip32X(_erc20ContractAddress, msg.sender, _value, bip32X_type);

            //transfer successful
            ok = true;
        } else {
            //not enough allowance
        }
    }

    /// @param _erc20ContractAddress The address of the ERC20 contract that
    /// @param _to The address of the recipient.
    /// @param _value The amount of tokens to transfer.
    /// @dev | Withdraws a Bip32X type Shyft synthetic asset into its origin ERC20 contract. Burns the current synthetic balance.
    ///      | Cannot withdraw Bip32X type into an incorrect destination contract (as the hash will not match).
    /// @return ok returns true if the transaction completes, reverts if it does not

    function withdrawTokenBip32XToErc20(address _erc20ContractAddress, address _to, uint256 _value) mutex public override returns (bool ok) {
        uint256 bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, _erc20ContractAddress)));

        require(balances[msg.sender][bip32X_type] >= _value, "not enough balance");

        balances[msg.sender][bip32X_type] = balances[msg.sender][bip32X_type].sub(_value);
        totalSupplyBip32X[bip32X_type] = totalSupplyBip32X[bip32X_type].sub(_value);

        IERC20 erc20Contract = IERC20(_erc20ContractAddress);

        erc20Contract.safeTransfer(_to, _value);

        emit EVT_TransferAndBurnBip32X(_erc20ContractAddress, msg.sender, _to, _value, bip32X_type);

        ok = true;
    }

    //@note:@v1Upgrade:
    //---------------- Emergency Upgrade Requirements ----------------//

    // issue with the ethereum-based march 26th launch was that the transfer() function is the only way to move tokens,
    // **but** the function naming convention of erc223 (which allows this functionality with a specific receiver built
    // into this) is also "transfer" with the caveat that the function signature is:
    // [erc20] transfer(address,uint256) vs [erc223] transfer(address,uint256,bytes).
    //
    // given this, there is a high likelihood that a subset of users will incorrectly trigger this upgrade function,
    // leaving their coins isolated in the ERC20-ish mechanism vs being properly upgraded.
    //
    // as such, we're introducing an administrator-triggered differentiation into a "spendable" address for these tokens,
    // with the obvious caveat that this maneuver costs ETH on the redemption side.


    /// @param _emergencyResponder The address of the v1 emergency responder.
    /// @dev Sets the emergency responder (address responsible for sending back incorrectly-sent transfer functions)
    /// @return result
    ///    | 1 = set emergency responder correctly
    ///    | 0 = not owner

    function setV1EmergencyErc20RedemptionResponder(address _emergencyResponder) public returns(uint8 result) {
        if (msg.sender == owner) {
            emergencyResponder = _emergencyResponder;

            emit EVT_setV1EmergencyResponder(_emergencyResponder);
            // set emergency responder correctly
            return 1;
        } else {
            // not owner
            return 0;
        }
    }

    /// @dev Gets the incorrectly-sent erc20 balance (the difference between what has been associated to this contract via the upgrade function vs the erc20-based "transfer(address,uint256)" function.
    /// @return result
    ///    | [amount] = incorrectly sent asset balance.
    ///    | 0 = registry not set up properly, or 0 balance.

    function getIncorrectlySentAssetsBalance() public view returns(uint256 result) {
        IShyftKycContractRegistry contractRegistry = IShyftKycContractRegistry(shyftKycContractRegistryAddress);

        address ethMarch26KycContractAddress = contractRegistry.getContractAddressOfVersion(0);

        if (ethMarch26KycContractAddress != address(0)) {

            IERC20 march26Erc20 = IERC20(ethMarch26KycContractAddress);

            uint256 currentBalance = march26Erc20.balanceOf(address(this));

            uint256 incorrectlySentAssetBalance = currentBalance.sub(v1TotalUpgradeAmount);

            return incorrectlySentAssetBalance;
        } else {
            //registry not set up properly
            return 0;
        }
    }

    /// @param _destination The destination for the redeemed assets.
    /// @param _amount The amount of the assets to redeem.
    /// @dev Redeems assets to specific destinations. As there is no tracking functionality that will not break the gas expectations, there is an external mechanism to redeem assets correctly off-chain based on the transaction receipts.
    /// @return result
    ///    | 4 = redeemed assets correctly
    ///    | [revert] = erc20-based "transfer(address,uint256" function did not return okay
    ///    | 2 = did not have enough tokens in incorrectly-sent balance account to redeem
    ///    | 1 = registry not set up properly
    ///    | 0 = not responder

    function responderRedeemIncorrectlySentAssets(address _destination, uint256 _amount) public returns(uint8 result) {
        if (msg.sender == emergencyResponder) {
            IShyftKycContractRegistry contractRegistry = IShyftKycContractRegistry(shyftKycContractRegistryAddress);

            address ethMarch26KycContractAddress = contractRegistry.getContractAddressOfVersion(0);

            if (ethMarch26KycContractAddress != address(0)) {
                IERC20 march26Erc20 = IERC20(ethMarch26KycContractAddress);

                uint256 currentBalance = march26Erc20.balanceOf(address(this));

                uint256 incorrectlySentAssetBalance = currentBalance.sub(v1TotalUpgradeAmount);

                if (_amount <= incorrectlySentAssetBalance) {
                    bool success = march26Erc20.transfer(_destination, _amount);

                    if (success == true) {
                        emit EVT_redeemIncorrectlySentAsset(_destination, _amount);

                        //redeemed assets correctly
                        return 4;
                    } else {
                        //must revert since transactional action has occurred
                        revert("erc20 transfer event did not succeed");
                        //                    return 3;
                    }
                } else {
                    //did not have enough tokens in incorrectly-sent balance account to redeem
                    return 2;
                }
            } else {
                //registry not set up properly
                return 1;
            }
        } else {
            //not responder
            return 0;
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"uint256","name":"_nativeBip32X_type","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"tokenOwner","type":"address"},{"indexed":true,"internalType":"address","name":"spender","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_ApprovalBip32X","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"},{"indexed":false,"internalType":"bytes","name":"_data","type":"bytes"}],"name":"EVT_Erc223TokenFallback","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_TransferAndBurnBip32X","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"contractAddress","type":"address"},{"indexed":false,"internalType":"address","name":"msgSender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_TransferAndMintBip32X","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"},{"indexed":true,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_TransferBip32X","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_originAddress","type":"address"},{"indexed":true,"internalType":"address","name":"_userAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"EVT_UpgradeFromV1","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"EVT_WithdrawToAddress","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"EVT_WithdrawToExternalContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"address","name":"_to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"EVT_WithdrawToShyftKycContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"sendingKycContract","type":"address"},{"indexed":false,"internalType":"uint256","name":"totalSupplyBip32X","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"msgValue","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"thisBalance","type":"uint256"}],"name":"EVT_migrateFromContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"updatedShyftKycContractAddress","type":"address"},{"indexed":false,"internalType":"uint256","name":"updatedContractBalance","type":"uint256"},{"indexed":true,"internalType":"address","name":"kycContractAddress","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"EVT_migrateToKycContract","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"_value","type":"uint256"}],"name":"EVT_receivedNativeBalance","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_destination","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"EVT_redeemIncorrectlySentAsset","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"_emergencyResponder","type":"address"}],"name":"EVT_setV1EmergencyResponder","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"previousAdminRole","type":"bytes32"},{"indexed":true,"internalType":"bytes32","name":"newAdminRole","type":"bytes32"}],"name":"RoleAdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleGranted","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"role","type":"bytes32"},{"indexed":true,"internalType":"address","name":"account","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"}],"name":"RoleRevoked","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokens","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[],"name":"DEFAULT_ADMIN_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"MINTER_ROLE","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenOwner","type":"address"},{"internalType":"address","name":"_spender","type":"address"}],"name":"allowance","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenOwner","type":"address"},{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"allowanceBip32X","outputs":[{"internalType":"uint256","name":"remaining","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokens","type":"uint256"}],"name":"approve","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_spender","type":"address"},{"internalType":"uint256","name":"_tokens","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"approveBip32X","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"burnFrom","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"burnFromBip32X","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"byfrostOrigin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"decimals","outputs":[{"internalType":"uint8","name":"_decimals","type":"uint8"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"emergencyResponder","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_identifiedAddress","type":"address"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"getBalanceBip32X","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"getBip32XTypeForContractAddress","outputs":[{"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getIncorrectlySentAssetsBalance","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getNativeTokenType","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_identifiedAddress","type":"address"}],"name":"getOnlyAcceptsKycInput","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_identifiedAddress","type":"address"}],"name":"getOnlyAcceptsKycInputPermanently","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleAdmin","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"uint256","name":"index","type":"uint256"}],"name":"getRoleMember","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"}],"name":"getRoleMemberCount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getShyftCacheGraphAddress","outputs":[{"internalType":"address","name":"result","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"getTotalSupplyBip32X","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"grantRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"hasBeenUpdated","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"hasRole","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_identifiedAddress","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"},{"internalType":"bool","name":"_requiredConsentFromAllParties","type":"bool"},{"internalType":"bool","name":"_payForDirty","type":"bool"}],"name":"kycSend","outputs":[{"internalType":"uint8","name":"result","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_contractAddress","type":"address"}],"name":"lockContractToOnlyAcceptsKycInputPermanently","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"machineConsentHelperAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"migrateFromKycContract","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"mintBip32X","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"_name","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"removeOwner","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"renounceRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_destination","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"responderRedeemIncorrectlySentAssets","outputs":[{"internalType":"uint8","name":"result","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"role","type":"bytes32"},{"internalType":"address","name":"account","type":"address"}],"name":"revokeRole","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_autoUpgrade","type":"bool"}],"name":"setAutoUpgrade","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_tokenAmount","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"},{"internalType":"address","name":"_distributionContract","type":"address"}],"name":"setByfrostNetwork","outputs":[{"internalType":"uint8","name":"result","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setByfrostOrigin","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"setLockOnlyAcceptsKycInputPermanently","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_machineConsentHelperAddress","type":"address"}],"name":"setMachineConsentHelperAddress","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bool","name":"_onlyAcceptsKycInputValue","type":"bool"}],"name":"setOnlyAcceptsKycInput","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"setPrimaryNetwork","outputs":[{"internalType":"uint8","name":"result","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shyftCacheGraphAddress","type":"address"}],"name":"setShyftCacheGraphAddress","outputs":[{"internalType":"uint8","name":"result","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"setShyftKycContractRegistryAddress","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_emergencyResponder","type":"address"}],"name":"setV1EmergencyErc20RedemptionResponder","outputs":[{"internalType":"uint8","name":"result","type":"uint8"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shyftCacheGraphAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"shyftKycContractRegistryAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"_symbol","type":"string"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"tokenFallback","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"totalSupply","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transfer","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"transferBip32X","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokens","type":"uint256"}],"name":"transferFrom","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_tokens","type":"uint256"},{"internalType":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"transferFromBip32X","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20ContractAddress","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFromErc20TokenToBip32X","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_addr","type":"address"}],"name":"updateContract","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"updatedShyftKycContractAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"upgradeNativeTokens","outputs":[{"internalType":"uint256","name":"result","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"v1TotalUpgradeAmount","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"}],"name":"withdrawAllNative","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"withdrawNative","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"uint256","name":"_gasAmount","type":"uint256"}],"name":"withdrawToExternalContract","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shyftKycContractAddress","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"withdrawToShyftKycContract","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc20ContractAddress","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"withdrawTokenBip32XToErc20","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600980546001600160a01b03191690553480156200002157600080fd5b506040516200586b3803806200586b833981810160405260208110156200004757600080fd5b5051600a80546001600160a01b03191633908117909155600b829055620000719060009062000078565b506200018c565b62000084828262000088565b5050565b600082815260208181526040909120620000ad9183906200475062000101821b17901c565b156200008457620000bd62000121565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b600062000118836001600160a01b03841662000125565b90505b92915050565b3390565b600062000133838362000174565b6200016b575081546001818101845560008481526020808220909301849055845484825282860190935260409020919091556200011b565b5060006200011b565b60009081526001919091016020526040902054151590565b6156cf806200019c6000396000f3fe6080604052600436106103e75760003560e01c806392e46a4411610208578063ca15c87311610118578063dc7211ad116100ab578063e38d4d831161007a578063e38d4d8314611321578063e3db17b814611370578063fb3d36d8146113a3578063fced5f1f146113b8578063ffc78109146113de576106ff565b8063dc7211ad14611249578063dd62ed3e1461125e578063df39f9f614611299578063e1cd7a85146112d8576106ff565b8063d547741f116100e7578063d547741f14611157578063d7400f1c14611190578063d9992d57146111d3578063d9f66db114611216576106ff565b8063ca15c873146110d9578063ca4a1c5a14611103578063d32439db1461112d578063d539139314611142576106ff565b8063a7c849a71161019b578063b870e9881161016a578063b870e98814610f5d578063bcbca73614610f90578063c01044a814610fc9578063c0ee0b8a14610ffc578063c65454d3146110c4576106ff565b8063a7c849a714610e85578063a9059cbb14610eb8578063ac89500914610ef1578063b2921c7a14610f24576106ff565b8063a02d4b99116101d7578063a02d4b9914610df2578063a0dc05b314610e07578063a217fddf14610e31578063a7c0ffc214610e46576106ff565b806392e46a4414610d46578063932c121d14610d5b57806395d89b4114610d9e578063989d881314610db3576106ff565b80632f2ff15d116103035780636eaf1e34116102965780637eb62986116102655780637eb6298614610c8057806387fb0ffb14610c955780638da5cb5b14610cc85780639010d07c14610cdd57806391d1485414610d0d576106ff565b80636eaf1e3414610bc057806370a0823114610bff57806377052fc114610c3257806379cc679014610c47576106ff565b806340ff765c116102d257806340ff765c14610b0c57806342f1388e14610b3f5780634614964914610b785780635f81c0dc14610bab576106ff565b80632f2ff15d14610a4c578063313ce56714610a8557806336568abe14610a9a57806340c10f1914610ad3576106ff565b8063160abcac1161037b57806321ce39131161034a57806321ce39131461098b57806323b872dd146109ca578063246f8b9614610a0d578063248a9ca314610a22576106ff565b8063160abcac146108f157806317d3003a1461093a57806318160ddd1461094f5780631ad57cee14610976576106ff565b806307b18bde116103b757806307b18bde1461083e578063095ea7b3146108775780630cb35ea8146108b0578063155edcb9146108dc576106ff565b8062e5e4861461070457806302f618001461075757806306f1c5c31461078357806306fdde03146107b4576106ff565b366106ff57600754610100900460ff16801561041257503360009081526004602052604090205460ff165b156105f557333014610533573360009081526005602052604090205460ff161561046d5760405162461bcd60e51b81526004018080602001828103825260288152602001806154d86028913960400191505060405180910390fd5b336000908152600260209081526040808320600b80548552908352818420805490859055905484526001909252909120546104a890826113f3565b600b546000908152600160205260408120919091556007546104e3906201000090046001600160a01b0316336104de8534611455565b6114b6565b9050600181151514156104f55761052c565b60405162461bcd60e51b81526004018080602001828103825260308152602001806153726030913960400191505060405180910390fd5b50506105f0565b326000908152600260209081526040808320600b805485529083528184208054908590559054845260019092529091205461056e90826113f3565b600b546000908152600160205260408120919091556007546105a4906201000090046001600160a01b0316326104de8534611455565b9050600181151514156105b6576105ed565b60405162461bcd60e51b815260040180806020018281038252603481526020018061511c6034913960400191505060405180910390fd5b50505b6106fd565b33301480159061061957503360009081526005602052604090205460ff1615156001145b156106555760405162461bcd60e51b81526004018080602001828103825260288152602001806154d86028913960400191505060405180910390fd5b336000908152600260209081526040808320600b54845290915290205461067c9034611455565b336000908152600260209081526040808320600b8054855290835281842094909455925482526001905220546106b29034611455565b600b54600090815260016020908152604091829020929092558051348152905133927feb92c82ded67a099742c5479f26f1cb9fd8b1017debef7e55b531a63b0678706928290030190a25b005b600080fd5b34801561071057600080fd5b506107436004803603606081101561072757600080fd5b506001600160a01b0381351690602081013590604001356115bd565b604080519115158252519081900360200190f35b34801561076357600080fd5b506106fd6004803603602081101561077a57600080fd5b50351515611735565b34801561078f57600080fd5b50610798611755565b604080516001600160a01b039092168252519081900360200190f35b3480156107c057600080fd5b506107c9611764565b6040805160208082528351818301528351919283929083019185019080838360005b838110156108035781810151838201526020016107eb565b50505050905090810190601f1680156108305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561084a57600080fd5b506107436004803603604081101561086157600080fd5b506001600160a01b038135169060200135611790565b34801561088357600080fd5b506107436004803603604081101561089a57600080fd5b506001600160a01b03813516906020013561192a565b3480156108bc57600080fd5b50610743600480360360208110156108d357600080fd5b5035151561199a565b3480156108e857600080fd5b506107436119dd565b3480156108fd57600080fd5b506109246004803603602081101561091457600080fd5b50356001600160a01b0316611a1f565b6040805160ff9092168252519081900360200190f35b34801561094657600080fd5b50610924611aab565b34801561095b57600080fd5b50610964611af5565b60408051918252519081900360200190f35b34801561098257600080fd5b50610798611b07565b34801561099757600080fd5b50610743600480360360608110156109ae57600080fd5b506001600160a01b038135169060208101359060400135611b16565b3480156109d657600080fd5b50610743600480360360608110156109ed57600080fd5b506001600160a01b03813581169160208101359091169060400135611d1b565b348015610a1957600080fd5b50610743611f40565b348015610a2e57600080fd5b5061096460048036036020811015610a4557600080fd5b5035611fa4565b348015610a5857600080fd5b506106fd60048036036040811015610a6f57600080fd5b50803590602001356001600160a01b0316611fb9565b348015610a9157600080fd5b50610924612025565b348015610aa657600080fd5b506106fd60048036036040811015610abd57600080fd5b50803590602001356001600160a01b031661202a565b348015610adf57600080fd5b506106fd60048036036040811015610af657600080fd5b506001600160a01b03813516906020013561208b565b348015610b1857600080fd5b5061092460048036036020811015610b2f57600080fd5b50356001600160a01b031661230d565b348015610b4b57600080fd5b5061092460048036036040811015610b6257600080fd5b506001600160a01b03813516906020013561237c565b348015610b8457600080fd5b5061074360048036036020811015610b9b57600080fd5b50356001600160a01b03166125ea565b348015610bb757600080fd5b506109646126ea565b348015610bcc57600080fd5b506106fd60048036036060811015610be357600080fd5b506001600160a01b03813516906020810135906040013561281c565b348015610c0b57600080fd5b5061096460048036036020811015610c2257600080fd5b50356001600160a01b0316612a4a565b348015610c3e57600080fd5b50610798612a72565b348015610c5357600080fd5b506106fd60048036036040811015610c6a57600080fd5b506001600160a01b038135169060200135612a81565b348015610c8c57600080fd5b50610798612caf565b348015610ca157600080fd5b5061074360048036036020811015610cb857600080fd5b50356001600160a01b0316612cbe565b348015610cd457600080fd5b50610798612cdc565b348015610ce957600080fd5b5061079860048036036040811015610d0057600080fd5b5080359060200135612ceb565b348015610d1957600080fd5b5061074360048036036040811015610d3057600080fd5b50803590602001356001600160a01b0316612d03565b348015610d5257600080fd5b50610798612d1b565b348015610d6757600080fd5b5061096460048036036060811015610d7e57600080fd5b506001600160a01b03813581169160208101359091169060400135612d30565b348015610daa57600080fd5b506107c9612d62565b348015610dbf57600080fd5b5061092460048036036060811015610dd657600080fd5b50803590602081013590604001356001600160a01b0316612d80565b348015610dfe57600080fd5b50610964612e52565b348015610e1357600080fd5b5061096460048036036020811015610e2a57600080fd5b5035612e58565b348015610e3d57600080fd5b50610964612e6a565b348015610e5257600080fd5b5061074360048036036060811015610e6957600080fd5b506001600160a01b038135169060208101359060400135612e6f565b348015610e9157600080fd5b5061074360048036036020811015610ea857600080fd5b50356001600160a01b0316612ee3565b348015610ec457600080fd5b5061074360048036036040811015610edb57600080fd5b506001600160a01b038135169060200135612f47565b348015610efd57600080fd5b5061074360048036036020811015610f1457600080fd5b50356001600160a01b0316613054565b348015610f3057600080fd5b5061074360048036036040811015610f4757600080fd5b506001600160a01b038135169060200135613154565b348015610f6957600080fd5b5061096460048036036020811015610f8057600080fd5b50356001600160a01b03166133d6565b348015610f9c57600080fd5b5061096460048036036040811015610fb357600080fd5b506001600160a01b038135169060200135613413565b348015610fd557600080fd5b5061074360048036036020811015610fec57600080fd5b50356001600160a01b031661343b565b34801561100857600080fd5b506107436004803603606081101561101f57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561104f57600080fd5b82018360208201111561106157600080fd5b8035906020019184600183028401116401000000008311171561108357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613459945050505050565b3480156110d057600080fd5b506107436138a6565b3480156110e557600080fd5b50610964600480360360208110156110fc57600080fd5b50356138b4565b34801561110f57600080fd5b506109646004803603602081101561112657600080fd5b50356138cb565b34801561113957600080fd5b506107436139cf565b34801561114e57600080fd5b506109646139df565b34801561116357600080fd5b506106fd6004803603604081101561117a57600080fd5b50803590602001356001600160a01b0316613a03565b34801561119c57600080fd5b50610743600480360360608110156111b357600080fd5b506001600160a01b03813581169160208101359091169060400135613a5c565b3480156111df57600080fd5b50610743600480360360608110156111f657600080fd5b506001600160a01b03813581169160208101359091169060400135613c2b565b34801561122257600080fd5b506109646004803603602081101561123957600080fd5b50356001600160a01b0316613c9e565b34801561125557600080fd5b50610798613ccc565b34801561126a57600080fd5b506109646004803603604081101561128157600080fd5b506001600160a01b0381358116916020013516613cdb565b3480156112a557600080fd5b506106fd600480360360608110156112bc57600080fd5b506001600160a01b038135169060208101359060400135613d10565b3480156112e457600080fd5b50610743600480360360808110156112fb57600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135613f1a565b34801561132d57600080fd5b50610924600480360360a081101561134457600080fd5b506001600160a01b0381351690602081013590604081013590606081013515159060800135151561412b565b34801561137c57600080fd5b506107436004803603602081101561139357600080fd5b50356001600160a01b0316614302565b3480156113af57600080fd5b50610743614412565b610743600480360360208110156113ce57600080fd5b50356001600160a01b0316614422565b3480156113ea57600080fd5b5061096461474a565b60008282111561144a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b6000828201838110156114af576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754604080516001600160a01b03620100009093048316803182526020820185905282516000949193878316939289169285927ffa917f8a36493643467cfffaadf46bd81954c63721283e6e5e147683a26a23c6929181900390910190a46000816001600160a01b031663fced5f1f85620186a090886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b15801561156b57600080fd5b5088f115801561157f573d6000803e3d6000fd5b5050505050506040513d602081101561159757600080fd5b50519050600181151514156115b1576001925050506114af565b50600095945050505050565b6001600160a01b03831660009081526005602052604081205460ff16156116155760405162461bcd60e51b815260040180806020018281038252602a815260200180615670602a913960400191505060405180910390fd5b336000908152600260209081526040808320858452909152902054831115611679576040805162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b604482015290519081900360640190fd5b33600090815260026020908152604080832085845290915290205461169e90846113f3565b3360009081526002602081815260408084208785528252808420949094556001600160a01b0388168352908152828220858352905220546116df9084611455565b6001600160a01b03851660008181526002602090815260408083208784528252918290209390935580518681529051859333926000805160206150fc833981519152929081900390910190a45060019392505050565b336000908152600460205260409020805460ff1916911515919091179055565b6009546001600160a01b031681565b6040805180820190915260118152705368796674205b2057726170706564205d60781b60208201525b90565b60075460009060ff16156117d9576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055336000908152600260209081526040808320600b54845290915290205482116119165761181283614765565b61190d57336000908152600260209081526040808320600b54845290915290205461183d90836113f3565b336000908152600260209081526040808320600b80548552908352818420949094559254825260019052205461187390836113f3565b600b546000908152600160205260408082209290925590516001600160a01b0385169184156108fc02918591818181858888f193505050501580156118bc573d6000803e3d6000fd5b50604080513381526001600160a01b038516602082015280820184905290517f442f59271decdd708646c141272baa09d03c6f831aa19363239743105ecaf8d49181900360600190a1506001611911565b5060005b61191a565b5060005b6007805460ff1916905592915050565b3360008181526003602090815260408083206001600160a01b038716808552908352818420611cad85528352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b3360009081526006602052604081205460ff166119d45750336000908152600560205260409020805460ff191682151517905560016119d8565b5060005b919050565b3360009081526006602052604081205460ff16611a175750336000908152600660205260409020805460ff1916600190811790915561178d565b50600061178d565b60006001600160a01b038216611a75576040805162461bcd60e51b8152602060048201526016602482015275616464726573732063616e6e6f74206265207a65726f60501b604482015290519081900360640190fd5b600a546001600160a01b03163314156119d45750600980546001600160a01b0319166001600160a01b03831617905560016119d8565b600a546000906001600160a01b0316331415611a1757600954600160a81b900460ff16611aed57506009805460ff60a81b1916600160a81b179055600261178d565b50600161178d565b6000611b02611cad612e58565b905090565b6009546001600160a01b031690565b60075460009060ff1615611b5f576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055336000908152600260209081526040808320600b5484529091529020548311611d0657611b9884614765565b15611cfd57336000908152600260209081526040808320600b548452909152902054611bc490846113f3565b336000908152600260209081526040808320600b805485529083528184209490945592548252600190522054611bfa90846113f3565b600b546000908152600160205260408082209290925590516001600160a01b038616908490869084818181858888f193505050503d8060008114611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b509091505060018115151415611cc057604080513381526001600160a01b038716602082015280820186905290517f7ef890cc5c54793e049a0ab68ef15df470197800624f8951d63953148d8f5f2f9181900360600190a160019150611cf7565b60405162461bcd60e51b815260040180806020018281038252602a8152602001806152f9602a913960400191505060405180910390fd5b50611d01565b5060005b611d0a565b5060005b6007805460ff191690559392505050565b6001600160a01b03821660009081526005602052604081205460ff16158015611d7157506001600160a01b03841660009081526003602090815260408083203384528252808320611cad84529091529020548211155b8015611da257506001600160a01b0384166000908152600260209081526040808320611cad84529091529020548211155b15611f38576001600160a01b03841660009081526003602090815260408083203384528252808320611cad8452909152902054611ddf90836113f3565b6001600160a01b03851660008181526003602090815260408083203384528252808320611cad808552908352818420959095559282526002815282822093825292909252902054611e3090836113f3565b6001600160a01b038086166000908152600260208181526040808420611cad80865290835281852096909655938816835290815282822093825292909252902054611e7b9083611455565b6001600160a01b038085166000818152600260209081526040808320611cad845282529182902094909455805186815290519193928816926000805160206153f283398151915292918290030190a36001600160a01b038416600081815260036020908152604080832033808552908352818420611cad855283529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060016114af565b5060006114af565b600a546000906001600160a01b03163314611f8e576040805162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015290519081900360640190fd5b50600a80546001600160a01b0319169055600190565b60009081526020819052604090206002015490565b600082815260208190526040902060020154611fdc90611fd7614782565b612d03565b6120175760405162461bcd60e51b815260040180806020018281038252602f8152602001806150cd602f913960400191505060405180910390fd5b6120218282614786565b5050565b601290565b612032614782565b6001600160a01b0316816001600160a01b0316146120815760405162461bcd60e51b815260040180806020018281038252602f815260200180615641602f913960400191505060405180910390fd5b61202182826147ef565b6001600160a01b0382166120d05760405162461bcd60e51b815260040180806020018281038252602a815260200180615529602a913960400191505060405180910390fd5b6120fa7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633612d03565b6121355760405162461bcd60e51b815260040180806020018281038252602f815260200180615343602f913960400191505060405180910390fd5b6001600160a01b03821660009081526005602052604090205460ff16151560011415612258576009546001600160a01b03161561221e5760095460408051634a32bffb60e01b81523360048201526001600160a01b03858116602483015260448201859052611cad606483015260016084830152600060a4830181905292519316928391634a32bffb9160c480830192602092919082900301818787803b1580156121df57600080fd5b505af11580156121f3573d6000803e3d6000fd5b505050506040513d602081101561220957600080fd5b50519050600360ff8216141561221e57612255565b60405162461bcd60e51b81526004018080602001828103825260498152602001806150846049913960600191505060405180910390fd5b50505b611cad60005260016020526000805160206153238339815191525461227d9082611455565b600080516020615323833981519152556001600160a01b0382166000908152600260209081526040808320611cad84529091529020546122bd9082611455565b6001600160a01b0383166000818152600260209081526040808320611cad845282528083209490945583518581529351929391926000805160206153f28339815191529281900390910190a35050565b600a546000906001600160a01b03163314156119d457600d80546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f3fcfdedf0b33a041bbda5e58b87b90570f295e4d9b853cd2ec3132df004414829181900360200190a15060016119d8565b600d546000906001600160a01b03163314156125e257600854604080516329d75e8d60e21b815260006004820181905291516001600160a01b0390931692839163a75d7a34916024808301926020929190829003018186803b1580156123e157600080fd5b505afa1580156123f5573d6000803e3d6000fd5b505050506040513d602081101561240b57600080fd5b505190506001600160a01b038116156125d757604080516370a0823160e01b8152306004820152905182916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561246957600080fd5b505afa15801561247d573d6000803e3d6000fd5b505050506040513d602081101561249357600080fd5b5051600c549091506000906124a99083906113f3565b90508087116125c9576000836001600160a01b031663a9059cbb8a8a6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561250b57600080fd5b505af115801561251f573d6000803e3d6000fd5b505050506040513d602081101561253557600080fd5b5051905060018115151415612592576040805189815290516001600160a01b038b16917fa178ca607e761f32ad3da9c7cfe235120650a22d34f4cd73a05491616f312f87919081900360200190a26004965050505050505061144f565b60405162461bcd60e51b81526004018080602001828103825260248152602001806153ce6024913960400191505060405180910390fd5b60029550505050505061144f565b60019250505061144f565b50600061144f565b600a546000906001600160a01b03163314612638576040805162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015290519081900360640190fd5b6001600160a01b03821661267d5760405162461bcd60e51b81526004018080602001828103825260268152602001806155fb6026913960400191505060405180910390fd5b6008546001600160a01b0316156126c55760405162461bcd60e51b815260040180806020018281038252603381526020018061517d6033913960400191505060405180910390fd5b50600880546001600160a01b0383166001600160a01b03199091161790556001919050565b600854604080516329d75e8d60e21b8152600060048201819052915191926001600160a01b0316918391839163a75d7a3491602480820192602092909190829003018186803b15801561273c57600080fd5b505afa158015612750573d6000803e3d6000fd5b505050506040513d602081101561276657600080fd5b505190506001600160a01b0381161561281157604080516370a0823160e01b8152306004820152905182916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156127c457600080fd5b505afa1580156127d8573d6000803e3d6000fd5b505050506040513d60208110156127ee57600080fd5b5051600c549091506000906128049083906113f3565b955061178d945050505050565b60009250505061178d565b6001600160a01b0383166128615760405162461bcd60e51b815260040180806020018281038252602a815260200180615529602a913960400191505060405180910390fd5b61288b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633612d03565b6128c65760405162461bcd60e51b815260040180806020018281038252602f815260200180615343602f913960400191505060405180910390fd5b6001600160a01b03831660009081526005602052604090205460ff161515600114156129ac576009546001600160a01b03161561221e5760095460408051634a32bffb60e01b81523360048201526001600160a01b038681166024830152604482018690526064820185905260016084830152600060a4830181905292519316928391634a32bffb9160c480830192602092919082900301818787803b15801561296f57600080fd5b505af1158015612983573d6000803e3d6000fd5b505050506040513d602081101561299957600080fd5b50519050600360ff8216141561221e5750505b6000818152600160205260409020546129c59083611455565b6000828152600160209081526040808320939093556001600160a01b038616825260028152828220848352905220546129fe9083611455565b6001600160a01b03841660008181526002602090815260408083208684528252808320949094558351868152935185946000805160206150fc83398151915292908290030190a4505050565b6001600160a01b03166000908152600260209081526040808320611cad845290915290205490565b600d546001600160a01b031681565b6001600160a01b038216612ac65760405162461bcd60e51b815260040180806020018281038252602c8152602001806153a2602c913960400191505060405180910390fd5b6001600160a01b03821660009081526003602090815260408083203384528252808320611cad845290915290205481811015612b335760405162461bcd60e51b815260040180806020018281038252602f815260200180615055602f913960400191505060405180910390fd5b6001600160a01b0383166000908152600260209081526040808320611cad845290915290205482811015612b985760405162461bcd60e51b815260040180806020018281038252602d815260200180615150602d913960400191505060405180910390fd5b612ba282846113f3565b6001600160a01b038516600081815260036020908152604080832033808552908352818420611cad855283529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a3612c1281846113f3565b6001600160a01b0385166000908152600260209081526040808320611cad84528252909120919091556001905260008051602061532383398151915254612c5990846113f3565b611cad6000908152600160209081526000805160206153238339815191529290925560408051868152905191926001600160a01b038816926000805160206153f28339815191529281900390910190a350505050565b6008546001600160a01b031681565b6001600160a01b031660009081526005602052604090205460ff1690565b600a546001600160a01b031681565b60008281526020819052604081206114af9083614858565b60008281526020819052604081206114af9083614864565b6007546201000090046001600160a01b031681565b6001600160a01b0392831660009081526003602090815260408083209490951682529283528381209181529152205490565b60408051808201909152600481526314d2119560e21b602082015290565b600a546000906001600160a01b0316331415611f3857600954600160a81b900460ff16612e45576009805460ff60a81b1960ff60a01b19909116600160a01b1716600160a81b1790556001600160a01b0382166000908152600260209081526040808320868452909152902054612df79085611455565b6001600160a01b0383166000908152600260209081526040808320878452825280832093909355600190522054612e2e9085611455565b6000848152600160205260409020555060026114af565b5060016114af565b6114af565b600b5490565b60009081526001602052604090205490565b600081565b3360008181526003602090815260408083206001600160a01b03881680855290835281842086855283528184208790558151878152915193948694919390927fbde7f899dd4022e466c03e2af6d6a3e0fe88417163dabcbdd57aa05bd3da69b4929081900390910190a45060019392505050565b600e546000906001600160a01b03163314156119d457612f0282614765565b156119d457506001600160a01b03811660009081526005602090815260408083208054600160ff199182168117909255600690935292208054909116821790556119d8565b6001600160a01b03821660009081526005602052604081205460ff16158015612f8c5750336000908152600260209081526040808320611cad84529091529020548211155b156125e257336000908152600260209081526040808320611cad8452909152902054612fb890836113f3565b336000908152600260208181526040808420611cad808652908352818520959095556001600160a01b0388168452918152818320938352929092522054612fff9083611455565b6001600160a01b0384166000818152600260209081526040808320611cad84528252918290209390935580518581529051919233926000805160206153f28339815191529281900390910190a350600161144f565b600a546000906001600160a01b031633146130a2576040805162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015290519081900360640190fd5b6001600160a01b0382166130e75760405162461bcd60e51b81526004018080602001828103825260308152602001806151b06030913960400191505060405180910390fd5b600e546001600160a01b03161561312f5760405162461bcd60e51b815260040180806020018281038252603d8152602001806151e0603d913960400191505060405180910390fd5b50600e80546001600160a01b0383166001600160a01b03199091161790556001919050565b60075460009060ff161561319d576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff191660011790556001600160a01b0383163014156131f25760405162461bcd60e51b81526004018080602001828103825260228152602001806155536022913960400191505060405180910390fd5b3360009081526005602052604090205460ff16156132415760405162461bcd60e51b815260040180806020018281038252602a815260200180615670602a913960400191505060405180910390fd5b60408051636eb1769f60e11b81523360048201523060248201529051849184916001600160a01b0384169163dd62ed3e916044808301926020929190829003018186803b15801561329157600080fd5b505afa1580156132a5573d6000803e3d6000fd5b505050506040513d60208110156132bb57600080fd5b5051106133c5576132d76001600160a01b038216333086614879565b600b54604080516020808201939093526001600160601b0319606088901b16818301528151603481830301815260549091018252805190830120336000908152600284528281208282529093529120546133319085611455565b33600090815260026020908152604080832085845282528083209390935560019052205461335f9085611455565b6000828152600160209081526040918290209290925580516001600160a01b038816815233928101929092528181018690525182917f5644ecb213f7ba696523c1cb89f620ee8fbfc0e2113878469f033b98faa907b2919081900360600190a260019250505b506007805460ff1916905592915050565b600b546040805160208082019390935260609390931b6001600160601b031916838201528051808403603401815260549093019052815191012090565b6001600160a01b03919091166000908152600260209081526040808320938352929052205490565b6001600160a01b031660009081526006602052604090205460ff1690565b60075460009060ff16156134a2576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff191660011790556001600160a01b03841660009081526005602052604090205460ff16156135075760405162461bcd60e51b81526004018080602001828103825260338152602001806154a56033913960400191505060405180910390fd5b6008546001600160a01b03168015801590613595575060408051630487e9b760e41b815233600482015290516001600160a01b0383169163487e9b70916024808301926020929190829003018186803b15801561356357600080fd5b505afa158015613577573d6000803e3d6000fd5b505050506040513d602081101561358d57600080fd5b505115156001145b15613894576040805163963beef560e01b815233600482015290516001600160a01b0383169163963beef5916024808301926020929190829003018186803b1580156135e057600080fd5b505afa1580156135f4573d6000803e3d6000fd5b505050506040513d602081101561360a57600080fd5b505161385d57600060048451106136d0578360008151811061362857fe5b602001015160f81c60f81b6001600160f81b03191660e01c60088560018151811061364f57fe5b016020015186516001600160f81b031990911690911c60e01c906010908790600290811061367957fe5b016020015187516001600160f81b031990911690911c60e01c90601890889060039081106136a357fe5b602001015160f81c60f81b6001600160f81b0319166001600160e01b031916901c60e01c01010160e01b90505b6001600160e01b03198116633d2cc23f60e21b14613820576001600160a01b0386166000908152600260209081526040808320611cad84529091529020546137189086611455565b6001600160a01b0387166000908152600260209081526040808320611cad8452825290912091909155600190526000805160206153238339815191525461375f9086611455565b611cad600052600160205260008051602061532383398151915255600c546137879086611455565b600c55604080513381526001600160a01b03881660208201528082018790529051611cad917f5644ecb213f7ba696523c1cb89f620ee8fbfc0e2113878469f033b98faa907b2919081900360600190a26040805186815290516001600160a01b0388169133917f418d730b4ec0ea9aa12a38ca9ba19566ace6f9f695ba5ea455ab84d71788a2479181900360200190a360019250613857565b60405162461bcd60e51b815260040180806020018281038252604781526020018061524d6047913960600191505060405180910390fd5b50613894565b60405162461bcd60e51b815260040180806020018281038252606b815260200180615412606b913960800191505060405180910390fd5b506007805460ff191690559392505050565b600754610100900460ff1681565b600081815260208190526040812061144f906148d9565b60075460009060ff1615613914576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff191660019081179182905561010090910460ff16151514156139bc57336000908152600260209081526040808320600b54845290915290205482116139b357336000818152600460205260408120805460ff191660011790556007549091613992916201000090046001600160a01b031690856148e4565b9050600181151514156139a857600391506139ad565b600291505b506139b7565b5060015b6139c0565b5060005b6007805460ff19169055919050565b600954600160a81b900460ff1681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b600082815260208190526040902060020154613a2190611fd7614782565b6120815760405162461bcd60e51b815260040180806020018281038252603081526020018061521d6030913960400191505060405180910390fd5b60075460009060ff1615613aa5576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055600b54604080516020808201939093526001600160601b0319606088901b1681830152815160348183030181526054909101825280519083012033600090815260028452828120828252909352912054831115613b4b576040805162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b604482015290519081900360640190fd5b336000908152600260209081526040808320848452909152902054613b7090846113f3565b336000908152600260209081526040808320858452825280832093909355600190522054613b9e90846113f3565b60008281526001602052604090205584613bc26001600160a01b0382168686614bbd565b604080516001600160a01b03808916825233602083015287168183015260608101869052905183917fb76e37745e8bd19d9a7657c55a18d1c44fa1be67987e8ec1196db3cd77547f54919081900360800190a250506007805460ff191690555060019392505050565b60075460009060ff1615613c74576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055613c8c8484846148e4565b6007805460ff19169055949350505050565b336000908152600260209081526040808320600b548452909152812054613cc58382611790565b5092915050565b600e546001600160a01b031681565b6001600160a01b039182166000908152600360209081526040808320939094168252918252828120611cad8252909152205490565b6001600160a01b038316613d555760405162461bcd60e51b815260040180806020018281038252602c8152602001806153a2602c913960400191505060405180910390fd5b6001600160a01b0383166000908152600360209081526040808320338452825280832084845290915290205482811015613dc05760405162461bcd60e51b815260040180806020018281038252602f815260200180615055602f913960400191505060405180910390fd5b6001600160a01b038416600090815260026020908152604080832085845290915290205483811015613e235760405162461bcd60e51b815260040180806020018281038252602d815260200180615150602d913960400191505060405180910390fd5b613e2d82856113f3565b6001600160a01b03861660008181526003602090815260408083203380855290835281842089855283529281902085905580519485525187949293927fbde7f899dd4022e466c03e2af6d6a3e0fe88417163dabcbdd57aa05bd3da69b492908290030190a4613e9c81856113f3565b6001600160a01b0386166000908152600260209081526040808320878452825280832093909355600190522054613ed390856113f3565b6000848152600160209081526040808320939093558251878152925186936001600160a01b038a16926000805160206150fc83398151915292918290030190a45050505050565b6001600160a01b03831660009081526005602052604081205460ff16158015613f6e57506001600160a01b038516600090815260036020908152604080832033845282528083208584529091529020548311155b8015613f9f57506001600160a01b0385166000908152600260209081526040808320611cad84529091529020548311155b1561411f576001600160a01b03851660009081526003602090815260408083203384528252808320858452909152902054613fda90846113f3565b6001600160a01b0386166000818152600360209081526040808320338452825280832087845282528083209490945591815260028252828120858252909152205461402590846113f3565b6001600160a01b0380871660009081526002602081815260408084208885528252808420959095559288168252825282812085825290915220546140699084611455565b6001600160a01b0380861660008181526002602090815260408083208884528252918290209490945580518781529051869492938a16926000805160206150fc833981519152928290030190a46001600160a01b03851660008181526003602090815260408083203380855290835281842087855283529281902054815190815290518694927fbde7f899dd4022e466c03e2af6d6a3e0fe88417163dabcbdd57aa05bd3da69b4928290030190a4506001614123565b5060005b949350505050565b33600090815260026020908152604080832086845290915281205485116115b1576001600160a01b03861660009081526005602052604090205460ff16158061419e57506001600160a01b03861660009081526005602052604090205460ff161515600114801561419e57506001831515145b156142f55760095460408051634a32bffb60e01b81523360048201526001600160a01b0389811660248301526044820189905260648201889052861515608483015285151560a4830152915191909216916000918391634a32bffb9160c480830192602092919082900301818787803b15801561421a57600080fd5b505af115801561422e573d6000803e3d6000fd5b505050506040513d602081101561424457600080fd5b50519050600360ff821614156142ea5733600090815260026020908152604080832089845290915290205461427990886113f3565b3360009081526002602081815260408084208b85528252808420949094556001600160a01b038c168352908152828220898352905220546142ba9088611455565b6001600160a01b03891660009081526002602090815260408083208a845290915290205550600391506142f99050565b6002925050506142f9565b5060015b95945050505050565b6008546000906001600160a01b0316331461434e5760405162461bcd60e51b815260040180806020018281038252602881526020018061547d6028913960400191505060405180910390fd5b600754610100900460ff16156143955760405162461bcd60e51b81526004018080602001828103825260218152602001806155da6021913960400191505060405180910390fd5b6001600160a01b0382166143da5760405162461bcd60e51b815260040180806020018281038252602a815260200180615294602a913960400191505060405180910390fd5b50600780546001600160a01b038316620100000262010000600160b01b031961ff001990921661010017919091161790556001919050565b600954600160a01b900460ff1681565b600b5460009081526001602052604081205447906144409034611455565b111561447d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806152be603b913960400191505060405180910390fd5b60085460408051630487e9b760e41b815233600482015290516001926001600160a01b031691829163487e9b7091602480820192602092909190829003018186803b1580156144cb57600080fd5b505afa1580156144df573d6000803e3d6000fd5b505050506040513d60208110156144f557600080fd5b505161450457600091506145f3565b6040805163963beef560e01b815230600482015290516001600160a01b0383169163963beef5916024808301926020929190829003018186803b15801561454a57600080fd5b505afa15801561455e573d6000803e3d6000fd5b505050506040513d602081101561457457600080fd5b50516040805163963beef560e01b815233600482015290516001600160a01b0384169163963beef5916024808301926020929190829003018186803b1580156145bc57600080fd5b505afa1580156145d0573d6000803e3d6000fd5b505050506040513d60208110156145e657600080fd5b505111156145f357600091505b6001600160a01b03841660009081526005602052604090205460ff1615156001141561461e57600091505b6001821515141561471357600b5460009081526001602090815260409182902054825190815234918101919091524781830152905133917fe0efa0cee03191c262a79324c1d94257307c4c792a29d94c805c33ae749f9997919081900360600190a26001600160a01b0384166000908152600260209081526040808320600b5484529091529020546146b09034611455565b6001600160a01b0385166000908152600260209081526040808320600b8054855290835281842094909455925482526001905220546146ef9034611455565b60016000600b548152602001908152602001600020819055506001925050506119d8565b60405162461bcd60e51b815260040180806020018281038252603b81526020018061559f603b913960400191505060405180910390fd5b600c5481565b60006114af836001600160a01b038416614c14565b6000813b806147785760009150506119d8565b60019150506119d8565b3390565b600082815260208190526040902061479e9082614750565b15612021576147ab614782565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020819052604090206148079082614c56565b1561202157614814614782565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006114af8383614c6b565b60006114af836001600160a01b038416614ccf565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526148d3908590614ce7565b50505050565b600061144f82614d98565b336000908152600260209081526040808320600b5484529091528120548211614bb35761491084614765565b151560011415611f385760085460408051630487e9b760e41b81526001600160a01b03878116600483015291519190921691829163487e9b7091602480820192602092909190829003018186803b15801561496a57600080fd5b505afa15801561497e573d6000803e3d6000fd5b505050506040513d602081101561499457600080fd5b5051151560011415614ba857604080516387fb0ffb60e01b81526001600160a01b038681166004830152915187928316916387fb0ffb916024808301926020929190829003018186803b1580156149ea57600080fd5b505afa1580156149fe573d6000803e3d6000fd5b505050506040513d6020811015614a1457600080fd5b5051614b9d57336000908152600260209081526040808320600b548452909152902054614a4190856113f3565b336000908152600260209081526040808320600b805485529083528184209490945592548252600190522054614a7790856113f3565b60016000600b54815260200190815260200160002081905550806001600160a01b031663fced5f1f6201d4c086886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b158015614ae357600080fd5b5088f1158015614af7573d6000803e3d6000fd5b5050505050506040513d6020811015614b0f57600080fd5b5051614b4c5760405162461bcd60e51b81526004018080602001828103825260298152602001806155006029913960400191505060405180910390fd5b604080513381526001600160a01b038716602082015280820186905290517f68434ca28a3fbf4e499cad0131f6418189d48b362a6d0109f633ff6dc93b4e5e9181900360600190a160019250614ba2565b600092505b50614bad565b600091505b50612e4d565b5060009392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052614c0f908490614ce7565b505050565b6000614c208383614ccf565b6125e25750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561144f565b60006114af836001600160a01b038416614d9c565b81546000908210614cad5760405162461bcd60e51b81526004018080602001828103825260228152602001806150336022913960400191505060405180910390fd5b826000018281548110614cbc57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b6060614d3c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614e629092919063ffffffff16565b805190915015614c0f57808060200190516020811015614d5b57600080fd5b5051614c0f5760405162461bcd60e51b815260040180806020018281038252602a815260200180615575602a913960400191505060405180910390fd5b5490565b60008181526001830160205260408120548015614e585783546000198083019190810190600090879083908110614dcf57fe5b9060005260206000200154905080876000018481548110614dec57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080614e1c57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061144f565b600091505061144f565b6060614123848460008585614e7685614f88565b614ec7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310614f065780518252601f199092019160209182019101614ee7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614f68576040519150601f19603f3d011682016040523d82523d6000602084013e614f6d565b606091505b5091509150614f7d828286614f8e565b979650505050505050565b3b151590565b60608315614f9d5750816114af565b825115614fad5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614ff7578181015183820152602001614fdf565b50505050905090810190601f1680156150245780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647353687966744b7963436f6e74726163743a206275726e20616d6f756e74206578636565647320616c6c6f77616e636553687966744b7963436f6e74726163743a206d696e7420746f204b5943206f6e6c7920616464726573732077697468696e205472757374204368616e6e656c2067726f7570696e6773416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74435ed756ccc955aa2ae4e66d20c7af5411f3497e7b7efe1f95992e7f4fe6ed9d6572726f7220696e206d6967726174696f6e20746f207570646174656420636f6e7472616374205b73656c662d6f726967696e5d53687966744b7963436f6e74726163743a206275726e20616d6f756e7420657863656564732062616c616e63656b79632072656769737472792061646472657373206d757374206e6f74206861766520616c7265616479206265656e207365746d616368696e6520636f6e73656e742068656c70657220616464726573732063616e6e6f7420657175616c207a65726f6d616368696e6520636f6e73656e742068656c7065722061646472657373206d757374206e6f74206861766520616c7265616479206265656e20736574416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6563616e6e6f742070726f636573732061207769746864726177546f45787465726e616c436f6e7472616374206576656e742066726f6d2074686520763020636f6e74726163742e6e6577206b796320636f6e747261637420616464726573732063616e6e6f7420657175616c207a65726f636f756c64206e6f74206d6967726174652066756e64732064756520746f20696e73756666696369656e74206261636b696e672062616c616e6365636f756c64206e6f7420776974686472617720746f20616e2065787465726e616c20636f6e74726163744e73b158c3c6ac9c3627324350acd64c46b6ca83fe6bb72d727b897e4d8d444c53687966744b7963436f6e74726163743a206d7573742068617665206d696e74657220726f6c6520746f206d696e746572726f7220696e206d6967726174696f6e20746f206b796320636f6e7472616374205b757365722d6f726967696e5d53687966744b7963436f6e74726163743a206275726e2066726f6d20746865207a65726f20616464726573736572633230207472616e73666572206576656e7420646964206e6f742073756363656564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef63616e6e6f742070726f636573732066616c6c6261636b2066726f6d205368796674204b796320436f6e7472616374206f662061207265766973696f6e206e6f7420657175616c20746f20302c20696e20746869732076657273696f6e206f6620536879667420436f72656d6573736167652073656e646572206d75737420627920726567697374727920636f6e7472616374726563697069656e742061646472657373206d757374206e6f742072657175697265206f6e6c79206b7963276420696e7075746d7573742073656e6420746f20726563697069656e7420766961207472757374206368616e6e656c636f756c64206e6f74206d6967726174652066726f6d207368796674206b796320636f6e747261637453687966744b7963436f6e74726163743a206d696e7420746f20746865207a65726f206164647265737363616e6e6f74207472616e736665722066726f6d207468697320636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565646b796320636f6e7472616374206973206e6f7420696e2072656769737472792c206f72206d75737420757365207472757374206368616e6e656c73636f6e74726163742068617320616c7265616479206265656e20757064617465646b796320726567697374727920616464726573732063616e6e6f7420657175616c207a65726f6d75746578206661696c6564203a3a20616c7265616479206c6f636b65640000416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66726563697069656e74206d757374206e6f74206f6e6c7920616363657074206b7963276420696e707574a26469706673582212201ea87a89f0564007ccb36ba7f65decdb240b70000a2b9dd36947abf9029a6e6f64736f6c634300070100330000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106103e75760003560e01c806392e46a4411610208578063ca15c87311610118578063dc7211ad116100ab578063e38d4d831161007a578063e38d4d8314611321578063e3db17b814611370578063fb3d36d8146113a3578063fced5f1f146113b8578063ffc78109146113de576106ff565b8063dc7211ad14611249578063dd62ed3e1461125e578063df39f9f614611299578063e1cd7a85146112d8576106ff565b8063d547741f116100e7578063d547741f14611157578063d7400f1c14611190578063d9992d57146111d3578063d9f66db114611216576106ff565b8063ca15c873146110d9578063ca4a1c5a14611103578063d32439db1461112d578063d539139314611142576106ff565b8063a7c849a71161019b578063b870e9881161016a578063b870e98814610f5d578063bcbca73614610f90578063c01044a814610fc9578063c0ee0b8a14610ffc578063c65454d3146110c4576106ff565b8063a7c849a714610e85578063a9059cbb14610eb8578063ac89500914610ef1578063b2921c7a14610f24576106ff565b8063a02d4b99116101d7578063a02d4b9914610df2578063a0dc05b314610e07578063a217fddf14610e31578063a7c0ffc214610e46576106ff565b806392e46a4414610d46578063932c121d14610d5b57806395d89b4114610d9e578063989d881314610db3576106ff565b80632f2ff15d116103035780636eaf1e34116102965780637eb62986116102655780637eb6298614610c8057806387fb0ffb14610c955780638da5cb5b14610cc85780639010d07c14610cdd57806391d1485414610d0d576106ff565b80636eaf1e3414610bc057806370a0823114610bff57806377052fc114610c3257806379cc679014610c47576106ff565b806340ff765c116102d257806340ff765c14610b0c57806342f1388e14610b3f5780634614964914610b785780635f81c0dc14610bab576106ff565b80632f2ff15d14610a4c578063313ce56714610a8557806336568abe14610a9a57806340c10f1914610ad3576106ff565b8063160abcac1161037b57806321ce39131161034a57806321ce39131461098b57806323b872dd146109ca578063246f8b9614610a0d578063248a9ca314610a22576106ff565b8063160abcac146108f157806317d3003a1461093a57806318160ddd1461094f5780631ad57cee14610976576106ff565b806307b18bde116103b757806307b18bde1461083e578063095ea7b3146108775780630cb35ea8146108b0578063155edcb9146108dc576106ff565b8062e5e4861461070457806302f618001461075757806306f1c5c31461078357806306fdde03146107b4576106ff565b366106ff57600754610100900460ff16801561041257503360009081526004602052604090205460ff165b156105f557333014610533573360009081526005602052604090205460ff161561046d5760405162461bcd60e51b81526004018080602001828103825260288152602001806154d86028913960400191505060405180910390fd5b336000908152600260209081526040808320600b80548552908352818420805490859055905484526001909252909120546104a890826113f3565b600b546000908152600160205260408120919091556007546104e3906201000090046001600160a01b0316336104de8534611455565b6114b6565b9050600181151514156104f55761052c565b60405162461bcd60e51b81526004018080602001828103825260308152602001806153726030913960400191505060405180910390fd5b50506105f0565b326000908152600260209081526040808320600b805485529083528184208054908590559054845260019092529091205461056e90826113f3565b600b546000908152600160205260408120919091556007546105a4906201000090046001600160a01b0316326104de8534611455565b9050600181151514156105b6576105ed565b60405162461bcd60e51b815260040180806020018281038252603481526020018061511c6034913960400191505060405180910390fd5b50505b6106fd565b33301480159061061957503360009081526005602052604090205460ff1615156001145b156106555760405162461bcd60e51b81526004018080602001828103825260288152602001806154d86028913960400191505060405180910390fd5b336000908152600260209081526040808320600b54845290915290205461067c9034611455565b336000908152600260209081526040808320600b8054855290835281842094909455925482526001905220546106b29034611455565b600b54600090815260016020908152604091829020929092558051348152905133927feb92c82ded67a099742c5479f26f1cb9fd8b1017debef7e55b531a63b0678706928290030190a25b005b600080fd5b34801561071057600080fd5b506107436004803603606081101561072757600080fd5b506001600160a01b0381351690602081013590604001356115bd565b604080519115158252519081900360200190f35b34801561076357600080fd5b506106fd6004803603602081101561077a57600080fd5b50351515611735565b34801561078f57600080fd5b50610798611755565b604080516001600160a01b039092168252519081900360200190f35b3480156107c057600080fd5b506107c9611764565b6040805160208082528351818301528351919283929083019185019080838360005b838110156108035781810151838201526020016107eb565b50505050905090810190601f1680156108305780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561084a57600080fd5b506107436004803603604081101561086157600080fd5b506001600160a01b038135169060200135611790565b34801561088357600080fd5b506107436004803603604081101561089a57600080fd5b506001600160a01b03813516906020013561192a565b3480156108bc57600080fd5b50610743600480360360208110156108d357600080fd5b5035151561199a565b3480156108e857600080fd5b506107436119dd565b3480156108fd57600080fd5b506109246004803603602081101561091457600080fd5b50356001600160a01b0316611a1f565b6040805160ff9092168252519081900360200190f35b34801561094657600080fd5b50610924611aab565b34801561095b57600080fd5b50610964611af5565b60408051918252519081900360200190f35b34801561098257600080fd5b50610798611b07565b34801561099757600080fd5b50610743600480360360608110156109ae57600080fd5b506001600160a01b038135169060208101359060400135611b16565b3480156109d657600080fd5b50610743600480360360608110156109ed57600080fd5b506001600160a01b03813581169160208101359091169060400135611d1b565b348015610a1957600080fd5b50610743611f40565b348015610a2e57600080fd5b5061096460048036036020811015610a4557600080fd5b5035611fa4565b348015610a5857600080fd5b506106fd60048036036040811015610a6f57600080fd5b50803590602001356001600160a01b0316611fb9565b348015610a9157600080fd5b50610924612025565b348015610aa657600080fd5b506106fd60048036036040811015610abd57600080fd5b50803590602001356001600160a01b031661202a565b348015610adf57600080fd5b506106fd60048036036040811015610af657600080fd5b506001600160a01b03813516906020013561208b565b348015610b1857600080fd5b5061092460048036036020811015610b2f57600080fd5b50356001600160a01b031661230d565b348015610b4b57600080fd5b5061092460048036036040811015610b6257600080fd5b506001600160a01b03813516906020013561237c565b348015610b8457600080fd5b5061074360048036036020811015610b9b57600080fd5b50356001600160a01b03166125ea565b348015610bb757600080fd5b506109646126ea565b348015610bcc57600080fd5b506106fd60048036036060811015610be357600080fd5b506001600160a01b03813516906020810135906040013561281c565b348015610c0b57600080fd5b5061096460048036036020811015610c2257600080fd5b50356001600160a01b0316612a4a565b348015610c3e57600080fd5b50610798612a72565b348015610c5357600080fd5b506106fd60048036036040811015610c6a57600080fd5b506001600160a01b038135169060200135612a81565b348015610c8c57600080fd5b50610798612caf565b348015610ca157600080fd5b5061074360048036036020811015610cb857600080fd5b50356001600160a01b0316612cbe565b348015610cd457600080fd5b50610798612cdc565b348015610ce957600080fd5b5061079860048036036040811015610d0057600080fd5b5080359060200135612ceb565b348015610d1957600080fd5b5061074360048036036040811015610d3057600080fd5b50803590602001356001600160a01b0316612d03565b348015610d5257600080fd5b50610798612d1b565b348015610d6757600080fd5b5061096460048036036060811015610d7e57600080fd5b506001600160a01b03813581169160208101359091169060400135612d30565b348015610daa57600080fd5b506107c9612d62565b348015610dbf57600080fd5b5061092460048036036060811015610dd657600080fd5b50803590602081013590604001356001600160a01b0316612d80565b348015610dfe57600080fd5b50610964612e52565b348015610e1357600080fd5b5061096460048036036020811015610e2a57600080fd5b5035612e58565b348015610e3d57600080fd5b50610964612e6a565b348015610e5257600080fd5b5061074360048036036060811015610e6957600080fd5b506001600160a01b038135169060208101359060400135612e6f565b348015610e9157600080fd5b5061074360048036036020811015610ea857600080fd5b50356001600160a01b0316612ee3565b348015610ec457600080fd5b5061074360048036036040811015610edb57600080fd5b506001600160a01b038135169060200135612f47565b348015610efd57600080fd5b5061074360048036036020811015610f1457600080fd5b50356001600160a01b0316613054565b348015610f3057600080fd5b5061074360048036036040811015610f4757600080fd5b506001600160a01b038135169060200135613154565b348015610f6957600080fd5b5061096460048036036020811015610f8057600080fd5b50356001600160a01b03166133d6565b348015610f9c57600080fd5b5061096460048036036040811015610fb357600080fd5b506001600160a01b038135169060200135613413565b348015610fd557600080fd5b5061074360048036036020811015610fec57600080fd5b50356001600160a01b031661343b565b34801561100857600080fd5b506107436004803603606081101561101f57600080fd5b6001600160a01b038235169160208101359181019060608101604082013564010000000081111561104f57600080fd5b82018360208201111561106157600080fd5b8035906020019184600183028401116401000000008311171561108357600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550613459945050505050565b3480156110d057600080fd5b506107436138a6565b3480156110e557600080fd5b50610964600480360360208110156110fc57600080fd5b50356138b4565b34801561110f57600080fd5b506109646004803603602081101561112657600080fd5b50356138cb565b34801561113957600080fd5b506107436139cf565b34801561114e57600080fd5b506109646139df565b34801561116357600080fd5b506106fd6004803603604081101561117a57600080fd5b50803590602001356001600160a01b0316613a03565b34801561119c57600080fd5b50610743600480360360608110156111b357600080fd5b506001600160a01b03813581169160208101359091169060400135613a5c565b3480156111df57600080fd5b50610743600480360360608110156111f657600080fd5b506001600160a01b03813581169160208101359091169060400135613c2b565b34801561122257600080fd5b506109646004803603602081101561123957600080fd5b50356001600160a01b0316613c9e565b34801561125557600080fd5b50610798613ccc565b34801561126a57600080fd5b506109646004803603604081101561128157600080fd5b506001600160a01b0381358116916020013516613cdb565b3480156112a557600080fd5b506106fd600480360360608110156112bc57600080fd5b506001600160a01b038135169060208101359060400135613d10565b3480156112e457600080fd5b50610743600480360360808110156112fb57600080fd5b506001600160a01b03813581169160208101359091169060408101359060600135613f1a565b34801561132d57600080fd5b50610924600480360360a081101561134457600080fd5b506001600160a01b0381351690602081013590604081013590606081013515159060800135151561412b565b34801561137c57600080fd5b506107436004803603602081101561139357600080fd5b50356001600160a01b0316614302565b3480156113af57600080fd5b50610743614412565b610743600480360360208110156113ce57600080fd5b50356001600160a01b0316614422565b3480156113ea57600080fd5b5061096461474a565b60008282111561144a576040805162461bcd60e51b815260206004820152601e60248201527f536166654d6174683a207375627472616374696f6e206f766572666c6f770000604482015290519081900360640190fd5b508082035b92915050565b6000828201838110156114af576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b9392505050565b600754604080516001600160a01b03620100009093048316803182526020820185905282516000949193878316939289169285927ffa917f8a36493643467cfffaadf46bd81954c63721283e6e5e147683a26a23c6929181900390910190a46000816001600160a01b031663fced5f1f85620186a090886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b15801561156b57600080fd5b5088f115801561157f573d6000803e3d6000fd5b5050505050506040513d602081101561159757600080fd5b50519050600181151514156115b1576001925050506114af565b50600095945050505050565b6001600160a01b03831660009081526005602052604081205460ff16156116155760405162461bcd60e51b815260040180806020018281038252602a815260200180615670602a913960400191505060405180910390fd5b336000908152600260209081526040808320858452909152902054831115611679576040805162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b604482015290519081900360640190fd5b33600090815260026020908152604080832085845290915290205461169e90846113f3565b3360009081526002602081815260408084208785528252808420949094556001600160a01b0388168352908152828220858352905220546116df9084611455565b6001600160a01b03851660008181526002602090815260408083208784528252918290209390935580518681529051859333926000805160206150fc833981519152929081900390910190a45060019392505050565b336000908152600460205260409020805460ff1916911515919091179055565b6009546001600160a01b031681565b6040805180820190915260118152705368796674205b2057726170706564205d60781b60208201525b90565b60075460009060ff16156117d9576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055336000908152600260209081526040808320600b54845290915290205482116119165761181283614765565b61190d57336000908152600260209081526040808320600b54845290915290205461183d90836113f3565b336000908152600260209081526040808320600b80548552908352818420949094559254825260019052205461187390836113f3565b600b546000908152600160205260408082209290925590516001600160a01b0385169184156108fc02918591818181858888f193505050501580156118bc573d6000803e3d6000fd5b50604080513381526001600160a01b038516602082015280820184905290517f442f59271decdd708646c141272baa09d03c6f831aa19363239743105ecaf8d49181900360600190a1506001611911565b5060005b61191a565b5060005b6007805460ff1916905592915050565b3360008181526003602090815260408083206001600160a01b038716808552908352818420611cad85528352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b3360009081526006602052604081205460ff166119d45750336000908152600560205260409020805460ff191682151517905560016119d8565b5060005b919050565b3360009081526006602052604081205460ff16611a175750336000908152600660205260409020805460ff1916600190811790915561178d565b50600061178d565b60006001600160a01b038216611a75576040805162461bcd60e51b8152602060048201526016602482015275616464726573732063616e6e6f74206265207a65726f60501b604482015290519081900360640190fd5b600a546001600160a01b03163314156119d45750600980546001600160a01b0319166001600160a01b03831617905560016119d8565b600a546000906001600160a01b0316331415611a1757600954600160a81b900460ff16611aed57506009805460ff60a81b1916600160a81b179055600261178d565b50600161178d565b6000611b02611cad612e58565b905090565b6009546001600160a01b031690565b60075460009060ff1615611b5f576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055336000908152600260209081526040808320600b5484529091529020548311611d0657611b9884614765565b15611cfd57336000908152600260209081526040808320600b548452909152902054611bc490846113f3565b336000908152600260209081526040808320600b805485529083528184209490945592548252600190522054611bfa90846113f3565b600b546000908152600160205260408082209290925590516001600160a01b038616908490869084818181858888f193505050503d8060008114611c5a576040519150601f19603f3d011682016040523d82523d6000602084013e611c5f565b606091505b509091505060018115151415611cc057604080513381526001600160a01b038716602082015280820186905290517f7ef890cc5c54793e049a0ab68ef15df470197800624f8951d63953148d8f5f2f9181900360600190a160019150611cf7565b60405162461bcd60e51b815260040180806020018281038252602a8152602001806152f9602a913960400191505060405180910390fd5b50611d01565b5060005b611d0a565b5060005b6007805460ff191690559392505050565b6001600160a01b03821660009081526005602052604081205460ff16158015611d7157506001600160a01b03841660009081526003602090815260408083203384528252808320611cad84529091529020548211155b8015611da257506001600160a01b0384166000908152600260209081526040808320611cad84529091529020548211155b15611f38576001600160a01b03841660009081526003602090815260408083203384528252808320611cad8452909152902054611ddf90836113f3565b6001600160a01b03851660008181526003602090815260408083203384528252808320611cad808552908352818420959095559282526002815282822093825292909252902054611e3090836113f3565b6001600160a01b038086166000908152600260208181526040808420611cad80865290835281852096909655938816835290815282822093825292909252902054611e7b9083611455565b6001600160a01b038085166000818152600260209081526040808320611cad845282529182902094909455805186815290519193928816926000805160206153f283398151915292918290030190a36001600160a01b038416600081815260036020908152604080832033808552908352818420611cad855283529281902054815190815290519293927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929181900390910190a35060016114af565b5060006114af565b600a546000906001600160a01b03163314611f8e576040805162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015290519081900360640190fd5b50600a80546001600160a01b0319169055600190565b60009081526020819052604090206002015490565b600082815260208190526040902060020154611fdc90611fd7614782565b612d03565b6120175760405162461bcd60e51b815260040180806020018281038252602f8152602001806150cd602f913960400191505060405180910390fd5b6120218282614786565b5050565b601290565b612032614782565b6001600160a01b0316816001600160a01b0316146120815760405162461bcd60e51b815260040180806020018281038252602f815260200180615641602f913960400191505060405180910390fd5b61202182826147ef565b6001600160a01b0382166120d05760405162461bcd60e51b815260040180806020018281038252602a815260200180615529602a913960400191505060405180910390fd5b6120fa7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633612d03565b6121355760405162461bcd60e51b815260040180806020018281038252602f815260200180615343602f913960400191505060405180910390fd5b6001600160a01b03821660009081526005602052604090205460ff16151560011415612258576009546001600160a01b03161561221e5760095460408051634a32bffb60e01b81523360048201526001600160a01b03858116602483015260448201859052611cad606483015260016084830152600060a4830181905292519316928391634a32bffb9160c480830192602092919082900301818787803b1580156121df57600080fd5b505af11580156121f3573d6000803e3d6000fd5b505050506040513d602081101561220957600080fd5b50519050600360ff8216141561221e57612255565b60405162461bcd60e51b81526004018080602001828103825260498152602001806150846049913960600191505060405180910390fd5b50505b611cad60005260016020526000805160206153238339815191525461227d9082611455565b600080516020615323833981519152556001600160a01b0382166000908152600260209081526040808320611cad84529091529020546122bd9082611455565b6001600160a01b0383166000818152600260209081526040808320611cad845282528083209490945583518581529351929391926000805160206153f28339815191529281900390910190a35050565b600a546000906001600160a01b03163314156119d457600d80546001600160a01b0384166001600160a01b0319909116811790915560408051918252517f3fcfdedf0b33a041bbda5e58b87b90570f295e4d9b853cd2ec3132df004414829181900360200190a15060016119d8565b600d546000906001600160a01b03163314156125e257600854604080516329d75e8d60e21b815260006004820181905291516001600160a01b0390931692839163a75d7a34916024808301926020929190829003018186803b1580156123e157600080fd5b505afa1580156123f5573d6000803e3d6000fd5b505050506040513d602081101561240b57600080fd5b505190506001600160a01b038116156125d757604080516370a0823160e01b8152306004820152905182916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b15801561246957600080fd5b505afa15801561247d573d6000803e3d6000fd5b505050506040513d602081101561249357600080fd5b5051600c549091506000906124a99083906113f3565b90508087116125c9576000836001600160a01b031663a9059cbb8a8a6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b15801561250b57600080fd5b505af115801561251f573d6000803e3d6000fd5b505050506040513d602081101561253557600080fd5b5051905060018115151415612592576040805189815290516001600160a01b038b16917fa178ca607e761f32ad3da9c7cfe235120650a22d34f4cd73a05491616f312f87919081900360200190a26004965050505050505061144f565b60405162461bcd60e51b81526004018080602001828103825260248152602001806153ce6024913960400191505060405180910390fd5b60029550505050505061144f565b60019250505061144f565b50600061144f565b600a546000906001600160a01b03163314612638576040805162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015290519081900360640190fd5b6001600160a01b03821661267d5760405162461bcd60e51b81526004018080602001828103825260268152602001806155fb6026913960400191505060405180910390fd5b6008546001600160a01b0316156126c55760405162461bcd60e51b815260040180806020018281038252603381526020018061517d6033913960400191505060405180910390fd5b50600880546001600160a01b0383166001600160a01b03199091161790556001919050565b600854604080516329d75e8d60e21b8152600060048201819052915191926001600160a01b0316918391839163a75d7a3491602480820192602092909190829003018186803b15801561273c57600080fd5b505afa158015612750573d6000803e3d6000fd5b505050506040513d602081101561276657600080fd5b505190506001600160a01b0381161561281157604080516370a0823160e01b8152306004820152905182916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b1580156127c457600080fd5b505afa1580156127d8573d6000803e3d6000fd5b505050506040513d60208110156127ee57600080fd5b5051600c549091506000906128049083906113f3565b955061178d945050505050565b60009250505061178d565b6001600160a01b0383166128615760405162461bcd60e51b815260040180806020018281038252602a815260200180615529602a913960400191505060405180910390fd5b61288b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a633612d03565b6128c65760405162461bcd60e51b815260040180806020018281038252602f815260200180615343602f913960400191505060405180910390fd5b6001600160a01b03831660009081526005602052604090205460ff161515600114156129ac576009546001600160a01b03161561221e5760095460408051634a32bffb60e01b81523360048201526001600160a01b038681166024830152604482018690526064820185905260016084830152600060a4830181905292519316928391634a32bffb9160c480830192602092919082900301818787803b15801561296f57600080fd5b505af1158015612983573d6000803e3d6000fd5b505050506040513d602081101561299957600080fd5b50519050600360ff8216141561221e5750505b6000818152600160205260409020546129c59083611455565b6000828152600160209081526040808320939093556001600160a01b038616825260028152828220848352905220546129fe9083611455565b6001600160a01b03841660008181526002602090815260408083208684528252808320949094558351868152935185946000805160206150fc83398151915292908290030190a4505050565b6001600160a01b03166000908152600260209081526040808320611cad845290915290205490565b600d546001600160a01b031681565b6001600160a01b038216612ac65760405162461bcd60e51b815260040180806020018281038252602c8152602001806153a2602c913960400191505060405180910390fd5b6001600160a01b03821660009081526003602090815260408083203384528252808320611cad845290915290205481811015612b335760405162461bcd60e51b815260040180806020018281038252602f815260200180615055602f913960400191505060405180910390fd5b6001600160a01b0383166000908152600260209081526040808320611cad845290915290205482811015612b985760405162461bcd60e51b815260040180806020018281038252602d815260200180615150602d913960400191505060405180910390fd5b612ba282846113f3565b6001600160a01b038516600081815260036020908152604080832033808552908352818420611cad855283529281902085905580519485525191937f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925929081900390910190a3612c1281846113f3565b6001600160a01b0385166000908152600260209081526040808320611cad84528252909120919091556001905260008051602061532383398151915254612c5990846113f3565b611cad6000908152600160209081526000805160206153238339815191529290925560408051868152905191926001600160a01b038816926000805160206153f28339815191529281900390910190a350505050565b6008546001600160a01b031681565b6001600160a01b031660009081526005602052604090205460ff1690565b600a546001600160a01b031681565b60008281526020819052604081206114af9083614858565b60008281526020819052604081206114af9083614864565b6007546201000090046001600160a01b031681565b6001600160a01b0392831660009081526003602090815260408083209490951682529283528381209181529152205490565b60408051808201909152600481526314d2119560e21b602082015290565b600a546000906001600160a01b0316331415611f3857600954600160a81b900460ff16612e45576009805460ff60a81b1960ff60a01b19909116600160a01b1716600160a81b1790556001600160a01b0382166000908152600260209081526040808320868452909152902054612df79085611455565b6001600160a01b0383166000908152600260209081526040808320878452825280832093909355600190522054612e2e9085611455565b6000848152600160205260409020555060026114af565b5060016114af565b6114af565b600b5490565b60009081526001602052604090205490565b600081565b3360008181526003602090815260408083206001600160a01b03881680855290835281842086855283528184208790558151878152915193948694919390927fbde7f899dd4022e466c03e2af6d6a3e0fe88417163dabcbdd57aa05bd3da69b4929081900390910190a45060019392505050565b600e546000906001600160a01b03163314156119d457612f0282614765565b156119d457506001600160a01b03811660009081526005602090815260408083208054600160ff199182168117909255600690935292208054909116821790556119d8565b6001600160a01b03821660009081526005602052604081205460ff16158015612f8c5750336000908152600260209081526040808320611cad84529091529020548211155b156125e257336000908152600260209081526040808320611cad8452909152902054612fb890836113f3565b336000908152600260208181526040808420611cad808652908352818520959095556001600160a01b0388168452918152818320938352929092522054612fff9083611455565b6001600160a01b0384166000818152600260209081526040808320611cad84528252918290209390935580518581529051919233926000805160206153f28339815191529281900390910190a350600161144f565b600a546000906001600160a01b031633146130a2576040805162461bcd60e51b81526020600482015260096024820152683737ba1037bbb732b960b91b604482015290519081900360640190fd5b6001600160a01b0382166130e75760405162461bcd60e51b81526004018080602001828103825260308152602001806151b06030913960400191505060405180910390fd5b600e546001600160a01b03161561312f5760405162461bcd60e51b815260040180806020018281038252603d8152602001806151e0603d913960400191505060405180910390fd5b50600e80546001600160a01b0383166001600160a01b03199091161790556001919050565b60075460009060ff161561319d576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff191660011790556001600160a01b0383163014156131f25760405162461bcd60e51b81526004018080602001828103825260228152602001806155536022913960400191505060405180910390fd5b3360009081526005602052604090205460ff16156132415760405162461bcd60e51b815260040180806020018281038252602a815260200180615670602a913960400191505060405180910390fd5b60408051636eb1769f60e11b81523360048201523060248201529051849184916001600160a01b0384169163dd62ed3e916044808301926020929190829003018186803b15801561329157600080fd5b505afa1580156132a5573d6000803e3d6000fd5b505050506040513d60208110156132bb57600080fd5b5051106133c5576132d76001600160a01b038216333086614879565b600b54604080516020808201939093526001600160601b0319606088901b16818301528151603481830301815260549091018252805190830120336000908152600284528281208282529093529120546133319085611455565b33600090815260026020908152604080832085845282528083209390935560019052205461335f9085611455565b6000828152600160209081526040918290209290925580516001600160a01b038816815233928101929092528181018690525182917f5644ecb213f7ba696523c1cb89f620ee8fbfc0e2113878469f033b98faa907b2919081900360600190a260019250505b506007805460ff1916905592915050565b600b546040805160208082019390935260609390931b6001600160601b031916838201528051808403603401815260549093019052815191012090565b6001600160a01b03919091166000908152600260209081526040808320938352929052205490565b6001600160a01b031660009081526006602052604090205460ff1690565b60075460009060ff16156134a2576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff191660011790556001600160a01b03841660009081526005602052604090205460ff16156135075760405162461bcd60e51b81526004018080602001828103825260338152602001806154a56033913960400191505060405180910390fd5b6008546001600160a01b03168015801590613595575060408051630487e9b760e41b815233600482015290516001600160a01b0383169163487e9b70916024808301926020929190829003018186803b15801561356357600080fd5b505afa158015613577573d6000803e3d6000fd5b505050506040513d602081101561358d57600080fd5b505115156001145b15613894576040805163963beef560e01b815233600482015290516001600160a01b0383169163963beef5916024808301926020929190829003018186803b1580156135e057600080fd5b505afa1580156135f4573d6000803e3d6000fd5b505050506040513d602081101561360a57600080fd5b505161385d57600060048451106136d0578360008151811061362857fe5b602001015160f81c60f81b6001600160f81b03191660e01c60088560018151811061364f57fe5b016020015186516001600160f81b031990911690911c60e01c906010908790600290811061367957fe5b016020015187516001600160f81b031990911690911c60e01c90601890889060039081106136a357fe5b602001015160f81c60f81b6001600160f81b0319166001600160e01b031916901c60e01c01010160e01b90505b6001600160e01b03198116633d2cc23f60e21b14613820576001600160a01b0386166000908152600260209081526040808320611cad84529091529020546137189086611455565b6001600160a01b0387166000908152600260209081526040808320611cad8452825290912091909155600190526000805160206153238339815191525461375f9086611455565b611cad600052600160205260008051602061532383398151915255600c546137879086611455565b600c55604080513381526001600160a01b03881660208201528082018790529051611cad917f5644ecb213f7ba696523c1cb89f620ee8fbfc0e2113878469f033b98faa907b2919081900360600190a26040805186815290516001600160a01b0388169133917f418d730b4ec0ea9aa12a38ca9ba19566ace6f9f695ba5ea455ab84d71788a2479181900360200190a360019250613857565b60405162461bcd60e51b815260040180806020018281038252604781526020018061524d6047913960600191505060405180910390fd5b50613894565b60405162461bcd60e51b815260040180806020018281038252606b815260200180615412606b913960800191505060405180910390fd5b506007805460ff191690559392505050565b600754610100900460ff1681565b600081815260208190526040812061144f906148d9565b60075460009060ff1615613914576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff191660019081179182905561010090910460ff16151514156139bc57336000908152600260209081526040808320600b54845290915290205482116139b357336000818152600460205260408120805460ff191660011790556007549091613992916201000090046001600160a01b031690856148e4565b9050600181151514156139a857600391506139ad565b600291505b506139b7565b5060015b6139c0565b5060005b6007805460ff19169055919050565b600954600160a81b900460ff1681565b7f9f2df0fed2c77648de5860a4cc508cd0818c85b8b8a1ab4ceeef8d981c8956a681565b600082815260208190526040902060020154613a2190611fd7614782565b6120815760405162461bcd60e51b815260040180806020018281038252603081526020018061521d6030913960400191505060405180910390fd5b60075460009060ff1615613aa5576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055600b54604080516020808201939093526001600160601b0319606088901b1681830152815160348183030181526054909101825280519083012033600090815260028452828120828252909352912054831115613b4b576040805162461bcd60e51b81526020600482015260126024820152716e6f7420656e6f7567682062616c616e636560701b604482015290519081900360640190fd5b336000908152600260209081526040808320848452909152902054613b7090846113f3565b336000908152600260209081526040808320858452825280832093909355600190522054613b9e90846113f3565b60008281526001602052604090205584613bc26001600160a01b0382168686614bbd565b604080516001600160a01b03808916825233602083015287168183015260608101869052905183917fb76e37745e8bd19d9a7657c55a18d1c44fa1be67987e8ec1196db3cd77547f54919081900360800190a250506007805460ff191690555060019392505050565b60075460009060ff1615613c74576040805162461bcd60e51b815260206004820152601e6024820152600080516020615621833981519152604482015290519081900360640190fd5b6007805460ff19166001179055613c8c8484846148e4565b6007805460ff19169055949350505050565b336000908152600260209081526040808320600b548452909152812054613cc58382611790565b5092915050565b600e546001600160a01b031681565b6001600160a01b039182166000908152600360209081526040808320939094168252918252828120611cad8252909152205490565b6001600160a01b038316613d555760405162461bcd60e51b815260040180806020018281038252602c8152602001806153a2602c913960400191505060405180910390fd5b6001600160a01b0383166000908152600360209081526040808320338452825280832084845290915290205482811015613dc05760405162461bcd60e51b815260040180806020018281038252602f815260200180615055602f913960400191505060405180910390fd5b6001600160a01b038416600090815260026020908152604080832085845290915290205483811015613e235760405162461bcd60e51b815260040180806020018281038252602d815260200180615150602d913960400191505060405180910390fd5b613e2d82856113f3565b6001600160a01b03861660008181526003602090815260408083203380855290835281842089855283529281902085905580519485525187949293927fbde7f899dd4022e466c03e2af6d6a3e0fe88417163dabcbdd57aa05bd3da69b492908290030190a4613e9c81856113f3565b6001600160a01b0386166000908152600260209081526040808320878452825280832093909355600190522054613ed390856113f3565b6000848152600160209081526040808320939093558251878152925186936001600160a01b038a16926000805160206150fc83398151915292918290030190a45050505050565b6001600160a01b03831660009081526005602052604081205460ff16158015613f6e57506001600160a01b038516600090815260036020908152604080832033845282528083208584529091529020548311155b8015613f9f57506001600160a01b0385166000908152600260209081526040808320611cad84529091529020548311155b1561411f576001600160a01b03851660009081526003602090815260408083203384528252808320858452909152902054613fda90846113f3565b6001600160a01b0386166000818152600360209081526040808320338452825280832087845282528083209490945591815260028252828120858252909152205461402590846113f3565b6001600160a01b0380871660009081526002602081815260408084208885528252808420959095559288168252825282812085825290915220546140699084611455565b6001600160a01b0380861660008181526002602090815260408083208884528252918290209490945580518781529051869492938a16926000805160206150fc833981519152928290030190a46001600160a01b03851660008181526003602090815260408083203380855290835281842087855283529281902054815190815290518694927fbde7f899dd4022e466c03e2af6d6a3e0fe88417163dabcbdd57aa05bd3da69b4928290030190a4506001614123565b5060005b949350505050565b33600090815260026020908152604080832086845290915281205485116115b1576001600160a01b03861660009081526005602052604090205460ff16158061419e57506001600160a01b03861660009081526005602052604090205460ff161515600114801561419e57506001831515145b156142f55760095460408051634a32bffb60e01b81523360048201526001600160a01b0389811660248301526044820189905260648201889052861515608483015285151560a4830152915191909216916000918391634a32bffb9160c480830192602092919082900301818787803b15801561421a57600080fd5b505af115801561422e573d6000803e3d6000fd5b505050506040513d602081101561424457600080fd5b50519050600360ff821614156142ea5733600090815260026020908152604080832089845290915290205461427990886113f3565b3360009081526002602081815260408084208b85528252808420949094556001600160a01b038c168352908152828220898352905220546142ba9088611455565b6001600160a01b03891660009081526002602090815260408083208a845290915290205550600391506142f99050565b6002925050506142f9565b5060015b95945050505050565b6008546000906001600160a01b0316331461434e5760405162461bcd60e51b815260040180806020018281038252602881526020018061547d6028913960400191505060405180910390fd5b600754610100900460ff16156143955760405162461bcd60e51b81526004018080602001828103825260218152602001806155da6021913960400191505060405180910390fd5b6001600160a01b0382166143da5760405162461bcd60e51b815260040180806020018281038252602a815260200180615294602a913960400191505060405180910390fd5b50600780546001600160a01b038316620100000262010000600160b01b031961ff001990921661010017919091161790556001919050565b600954600160a01b900460ff1681565b600b5460009081526001602052604081205447906144409034611455565b111561447d5760405162461bcd60e51b815260040180806020018281038252603b8152602001806152be603b913960400191505060405180910390fd5b60085460408051630487e9b760e41b815233600482015290516001926001600160a01b031691829163487e9b7091602480820192602092909190829003018186803b1580156144cb57600080fd5b505afa1580156144df573d6000803e3d6000fd5b505050506040513d60208110156144f557600080fd5b505161450457600091506145f3565b6040805163963beef560e01b815230600482015290516001600160a01b0383169163963beef5916024808301926020929190829003018186803b15801561454a57600080fd5b505afa15801561455e573d6000803e3d6000fd5b505050506040513d602081101561457457600080fd5b50516040805163963beef560e01b815233600482015290516001600160a01b0384169163963beef5916024808301926020929190829003018186803b1580156145bc57600080fd5b505afa1580156145d0573d6000803e3d6000fd5b505050506040513d60208110156145e657600080fd5b505111156145f357600091505b6001600160a01b03841660009081526005602052604090205460ff1615156001141561461e57600091505b6001821515141561471357600b5460009081526001602090815260409182902054825190815234918101919091524781830152905133917fe0efa0cee03191c262a79324c1d94257307c4c792a29d94c805c33ae749f9997919081900360600190a26001600160a01b0384166000908152600260209081526040808320600b5484529091529020546146b09034611455565b6001600160a01b0385166000908152600260209081526040808320600b8054855290835281842094909455925482526001905220546146ef9034611455565b60016000600b548152602001908152602001600020819055506001925050506119d8565b60405162461bcd60e51b815260040180806020018281038252603b81526020018061559f603b913960400191505060405180910390fd5b600c5481565b60006114af836001600160a01b038416614c14565b6000813b806147785760009150506119d8565b60019150506119d8565b3390565b600082815260208190526040902061479e9082614750565b15612021576147ab614782565b6001600160a01b0316816001600160a01b0316837f2f8788117e7eff1d82e926ec794901d17c78024a50270940304540a733656f0d60405160405180910390a45050565b60008281526020819052604090206148079082614c56565b1561202157614814614782565b6001600160a01b0316816001600160a01b0316837ff6391f5c32d9c69d2a47ea670b442974b53935d1edc7fd64eb21e047a839171b60405160405180910390a45050565b60006114af8383614c6b565b60006114af836001600160a01b038416614ccf565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526148d3908590614ce7565b50505050565b600061144f82614d98565b336000908152600260209081526040808320600b5484529091528120548211614bb35761491084614765565b151560011415611f385760085460408051630487e9b760e41b81526001600160a01b03878116600483015291519190921691829163487e9b7091602480820192602092909190829003018186803b15801561496a57600080fd5b505afa15801561497e573d6000803e3d6000fd5b505050506040513d602081101561499457600080fd5b5051151560011415614ba857604080516387fb0ffb60e01b81526001600160a01b038681166004830152915187928316916387fb0ffb916024808301926020929190829003018186803b1580156149ea57600080fd5b505afa1580156149fe573d6000803e3d6000fd5b505050506040513d6020811015614a1457600080fd5b5051614b9d57336000908152600260209081526040808320600b548452909152902054614a4190856113f3565b336000908152600260209081526040808320600b805485529083528184209490945592548252600190522054614a7790856113f3565b60016000600b54815260200190815260200160002081905550806001600160a01b031663fced5f1f6201d4c086886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b158015614ae357600080fd5b5088f1158015614af7573d6000803e3d6000fd5b5050505050506040513d6020811015614b0f57600080fd5b5051614b4c5760405162461bcd60e51b81526004018080602001828103825260298152602001806155006029913960400191505060405180910390fd5b604080513381526001600160a01b038716602082015280820186905290517f68434ca28a3fbf4e499cad0131f6418189d48b362a6d0109f633ff6dc93b4e5e9181900360600190a160019250614ba2565b600092505b50614bad565b600091505b50612e4d565b5060009392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b179052614c0f908490614ce7565b505050565b6000614c208383614ccf565b6125e25750815460018181018455600084815260208082209093018490558454848252828601909352604090209190915561144f565b60006114af836001600160a01b038416614d9c565b81546000908210614cad5760405162461bcd60e51b81526004018080602001828103825260228152602001806150336022913960400191505060405180910390fd5b826000018281548110614cbc57fe5b9060005260206000200154905092915050565b60009081526001919091016020526040902054151590565b6060614d3c826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316614e629092919063ffffffff16565b805190915015614c0f57808060200190516020811015614d5b57600080fd5b5051614c0f5760405162461bcd60e51b815260040180806020018281038252602a815260200180615575602a913960400191505060405180910390fd5b5490565b60008181526001830160205260408120548015614e585783546000198083019190810190600090879083908110614dcf57fe5b9060005260206000200154905080876000018481548110614dec57fe5b600091825260208083209091019290925582815260018981019092526040902090840190558654879080614e1c57fe5b6001900381819060005260206000200160009055905586600101600087815260200190815260200160002060009055600194505050505061144f565b600091505061144f565b6060614123848460008585614e7685614f88565b614ec7576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b60208310614f065780518252601f199092019160209182019101614ee7565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d8060008114614f68576040519150601f19603f3d011682016040523d82523d6000602084013e614f6d565b606091505b5091509150614f7d828286614f8e565b979650505050505050565b3b151590565b60608315614f9d5750816114af565b825115614fad5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b83811015614ff7578181015183820152602001614fdf565b50505050905090810190601f1680156150245780820380516001836020036101000a031916815260200191505b509250505060405180910390fdfe456e756d657261626c655365743a20696e646578206f7574206f6620626f756e647353687966744b7963436f6e74726163743a206275726e20616d6f756e74206578636565647320616c6c6f77616e636553687966744b7963436f6e74726163743a206d696e7420746f204b5943206f6e6c7920616464726573732077697468696e205472757374204368616e6e656c2067726f7570696e6773416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f206772616e74435ed756ccc955aa2ae4e66d20c7af5411f3497e7b7efe1f95992e7f4fe6ed9d6572726f7220696e206d6967726174696f6e20746f207570646174656420636f6e7472616374205b73656c662d6f726967696e5d53687966744b7963436f6e74726163743a206275726e20616d6f756e7420657863656564732062616c616e63656b79632072656769737472792061646472657373206d757374206e6f74206861766520616c7265616479206265656e207365746d616368696e6520636f6e73656e742068656c70657220616464726573732063616e6e6f7420657175616c207a65726f6d616368696e6520636f6e73656e742068656c7065722061646472657373206d757374206e6f74206861766520616c7265616479206265656e20736574416363657373436f6e74726f6c3a2073656e646572206d75737420626520616e2061646d696e20746f207265766f6b6563616e6e6f742070726f636573732061207769746864726177546f45787465726e616c436f6e7472616374206576656e742066726f6d2074686520763020636f6e74726163742e6e6577206b796320636f6e747261637420616464726573732063616e6e6f7420657175616c207a65726f636f756c64206e6f74206d6967726174652066756e64732064756520746f20696e73756666696369656e74206261636b696e672062616c616e6365636f756c64206e6f7420776974686472617720746f20616e2065787465726e616c20636f6e74726163744e73b158c3c6ac9c3627324350acd64c46b6ca83fe6bb72d727b897e4d8d444c53687966744b7963436f6e74726163743a206d7573742068617665206d696e74657220726f6c6520746f206d696e746572726f7220696e206d6967726174696f6e20746f206b796320636f6e7472616374205b757365722d6f726967696e5d53687966744b7963436f6e74726163743a206275726e2066726f6d20746865207a65726f20616464726573736572633230207472616e73666572206576656e7420646964206e6f742073756363656564ddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef63616e6e6f742070726f636573732066616c6c6261636b2066726f6d205368796674204b796320436f6e7472616374206f662061207265766973696f6e206e6f7420657175616c20746f20302c20696e20746869732076657273696f6e206f6620536879667420436f72656d6573736167652073656e646572206d75737420627920726567697374727920636f6e7472616374726563697069656e742061646472657373206d757374206e6f742072657175697265206f6e6c79206b7963276420696e7075746d7573742073656e6420746f20726563697069656e7420766961207472757374206368616e6e656c636f756c64206e6f74206d6967726174652066726f6d207368796674206b796320636f6e747261637453687966744b7963436f6e74726163743a206d696e7420746f20746865207a65726f206164647265737363616e6e6f74207472616e736665722066726f6d207468697320636f6e74726163745361666545524332303a204552433230206f7065726174696f6e20646964206e6f7420737563636565646b796320636f6e7472616374206973206e6f7420696e2072656769737472792c206f72206d75737420757365207472757374206368616e6e656c73636f6e74726163742068617320616c7265616479206265656e20757064617465646b796320726567697374727920616464726573732063616e6e6f7420657175616c207a65726f6d75746578206661696c6564203a3a20616c7265616479206c6f636b65640000416363657373436f6e74726f6c3a2063616e206f6e6c792072656e6f756e636520726f6c657320666f722073656c66726563697069656e74206d757374206e6f74206f6e6c7920616363657074206b7963276420696e707574a26469706673582212201ea87a89f0564007ccb36ba7f65decdb240b70000a2b9dd36947abf9029a6e6f64736f6c63430007010033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

0000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _nativeBip32X_type (uint256): 1

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed Bytecode Sourcemap

51672:70701:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;70979:14;;;;;;;:48;;;;-1:-1:-1;71016:10:0;70997:30;;;;:18;:30;;;;;;;;70979:48;70975:3853;;;71468:10;71490:4;71468:27;71464:2654;;71645:10;71625:31;;;;:19;:31;;;;;;;;:40;71617:93;;;;-1:-1:-1;;;71617:93:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;71821:10;71780:29;71812:20;;;:8;:20;;;;;;;;71833:17;;;71812:39;;;;;;;;;;71872:43;;;;71991:17;;71973:36;;-1:-1:-1;71973:36:0;;;;;;;:63;;71812:39;71973:40;:63::i;:::-;71952:17;;71934:36;;;;:17;:36;;;;;:102;;;;72296:30;;72275:102;;72296:30;;;-1:-1:-1;;;;;72296:30:0;72328:10;72340:36;:21;72366:9;72340:25;:36::i;:::-;72275:20;:102::i;:::-;72250:127;-1:-1:-1;72423:4:0;72402:25;;;;72398:240;;;;;;72560:58;;-1:-1:-1;;;72560:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;72398:240;71464:2654;;;;;73283:9;73242:29;73274:19;;;:8;:19;;;;;;;;73294:17;;;73274:38;;;;;;;;;;73333:42;;;;73451:17;;73433:36;;-1:-1:-1;73433:36:0;;;;;;;:63;;73274:38;73433:40;:63::i;:::-;73412:17;;73394:36;;;;:17;:36;;;;;:102;;;;73758:30;;73737:101;;73758:30;;;-1:-1:-1;;;;;73758:30:0;73790:9;73801:36;:21;73827:9;73801:25;:36::i;73737:101::-;73712:126;-1:-1:-1;73884:4:0;73863:25;;;;73859:244;;;;;;74021:62;;-1:-1:-1;;;74021:62:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;73859:244;71464:2654;;;70975:3853;;;74372:10;74394:4;74372:27;;;;:70;;-1:-1:-1;74423:10:0;74403:31;;;;:19;:31;;;;;;;;:39;;:31;:39;74372:70;74368:161;;;74463:50;;-1:-1:-1;;;74463:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;74368:161;74596:10;74587:20;;;;:8;:20;;;;;;;;74608:17;;74587:39;;;;;;;;:54;;74631:9;74587:43;:54::i;:::-;74554:10;74545:20;;;;:8;:20;;;;;;;;74566:17;;;74545:39;;;;;;;;:96;;;;74713:17;;74695:36;;:17;:36;;;;:51;;74736:9;74695:40;:51::i;:::-;74674:17;;74656:36;;;;:17;:36;;;;;;;;;:90;;;;74768:48;;74806:9;74768:48;;;;74794:10;;74768:48;;;;;;;;70975:3853;51672:70701;;;;;110201:646;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;110201:646:0;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;86985:114;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;86985:114:0;;;;:::i;55673:50::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;55673:50:0;;;;;;;;;;;;;;98073:103;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;88185:1036;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;88185:1036:0;;;;;;;;:::i;100757:463::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;100757:463:0;;;;;;;;:::i;80360:462::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80360:462:0;;;;:::i;81036:412::-;;;;;;;;;;;;;:::i;62642:437::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62642:437:0;-1:-1:-1;;;;;62642:437:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;61312:446;;;;;;;;;;;;;:::i;98751:131::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;63087;;;;;;;;;;;;;:::i;89841:1361::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;89841:1361:0;;;;;;;;;;;;;:::i;101676:877::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;101676:877:0;;;;;;;;;;;;;;;;;:::i;62190:158::-;;;;;;;;;;;;;:::i;29323:114::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29323:114:0;;:::i;29699:227::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;29699:227:0;;;;;;-1:-1:-1;;;;;29699:227:0;;:::i;98547:86::-;;;;;;;;;;;;;:::i;30908:209::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30908:209:0;;;;;;-1:-1:-1;;;;;30908:209:0;;:::i;102937:1827::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;102937:1827:0;;;;;;;;:::i;118412:426::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;118412:426:0;-1:-1:-1;;;;;118412:426:0;;:::i;120659:1711::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;120659:1711:0;;;;;;;;:::i;68009:416::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68009:416:0;-1:-1:-1;;;;;68009:416:0;;:::i;119193:757::-;;;;;;;;;;;;;:::i;106439:1880::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;106439:1880:0;;;;;;;;;;;;;:::i;97859:125::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97859:125:0;-1:-1:-1;;;;;97859:125:0;;:::i;56903:33::-;;;;;;;;;;;;;:::i;105080:915::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;105080:915:0;;;;;;;;:::i;55557:46::-;;;;;;;;;;;;;:::i;84067:168::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84067:168:0;-1:-1:-1;;;;;84067:168:0;;:::i;56235:20::-;;;;;;;;;;;;;:::i;28996:138::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28996:138:0;;;;;;;:::i;27957:139::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27957:139:0;;;;;;-1:-1:-1;;;;;27957:139:0;;:::i;55443:45::-;;;;;;;;;;;;;:::i;111241:202::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;111241:202:0;;;;;;;;;;;;;;;;;:::i;98279:142::-;;;;;;;;;;;;;:::i;60216:779::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;60216:779:0;;;;;;;;;;;-1:-1:-1;;;;;60216:779:0;;:::i;58273:119::-;;;;;;;;;;;;;:::i;69649:156::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;69649:156:0;;:::i;26702:49::-;;;;;;;;;;;;;:::i;111884:513::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;111884:513:0;;;;;;;;;;;;;:::i;82966:897::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82966:897:0;-1:-1:-1;;;;;82966:897:0;;:::i;99287:608::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;99287:608:0;;;;;;;;:::i;81952:549::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;81952:549:0;-1:-1:-1;;;;;81952:549:0;;:::i;114297:1561::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;114297:1561:0;;;;;;;;:::i;70252:217::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;70252:217:0;-1:-1:-1;;;;;70252:217:0;;:::i;69236:191::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;69236:191:0;;;;;;;;:::i;84503:194::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;84503:194:0;-1:-1:-1;;;;;84503:194:0;;:::i;94719:2891::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;94719:2891:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;94719:2891:0;;-1:-1:-1;94719:2891:0;;-1:-1:-1;;;;;94719:2891:0:i;55343:26::-;;;;;;;;;;;;;:::i;28270:127::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;28270:127:0;;:::i;85547:1065::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;85547:1065:0;;:::i;56156:28::-;;;;;;;;;;;;;:::i;56459:62::-;;;;;;;;;;;;;:::i;30171:230::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;30171:230:0;;;;;;-1:-1:-1;;;;;30171:230:0;;:::i;116382:765::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;116382:765:0;;;;;;;;;;;;;;;;;:::i;91821:231::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;91821:231:0;;;;;;;;;;;;;;;;;:::i;68731:198::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68731:198:0;-1:-1:-1;;;;;68731:198:0;;:::i;57104:42::-;;;;;;;;;;;;;:::i;100215:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;100215:175:0;;;;;;;;;;:::i;108694:986::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;108694:986:0;;;;;;;;;;;;;:::i;112926:937::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;112926:937:0;;;;;;;;;;;;;;;;;;;;;;:::i;64989:1451::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;64989:1451:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;67172:457::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67172:457:0;-1:-1:-1;;;;;67172:457:0;;:::i;56061:25::-;;;;;;;;;;;;;:::i;76921:3120::-;;;;;;;;;;;;;;;;-1:-1:-1;76921:3120:0;-1:-1:-1;;;;;76921:3120:0;;:::i;56630:35::-;;;;;;;;;;;;;:::i;38449:158::-;38507:7;38540:1;38535;:6;;38527:49;;;;;-1:-1:-1;;;38527:49:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38594:5:0;;;38449:158;;;;;:::o;37987:179::-;38045:7;38077:5;;;38101:6;;;;38093:46;;;;;-1:-1:-1;;;38093:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;38157:1;37987:179;-1:-1:-1;;;37987:179:0:o;75329:987::-;75624:30;;75673:140;;;-1:-1:-1;;;;;75624:30:0;;;;;;75730:47;;75673:140;;;;;;;;;;75436:11;;75624:30;;75673:140;;;;;;;;75624:30;;75673:140;;;;;;;;;;;76014:19;76036:18;-1:-1:-1;;;;;76036:41:0;;76085:7;76099:6;76036:75;76107:3;76036:75;;;;;;;;;;;;;-1:-1:-1;;;;;76036:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;76036:75:0;;-1:-1:-1;76146:4:0;76128:22;;;;76124:185;;;76207:4;76200:11;;;;;;76124:185;-1:-1:-1;76292:5:0;;75329:987;-1:-1:-1;;;;;75329:987:0:o;110201:646::-;-1:-1:-1;;;;;110400:24:0;;110301:11;110400:24;;;:19;:24;;;;;;;;:33;110392:88;;;;-1:-1:-1;;;110392:88:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;110508:10;110499:20;;;;:8;:20;;;;;;;;:34;;;;;;;;;:44;-1:-1:-1;110499:44:0;110491:75;;;;;-1:-1:-1;;;110491:75:0;;;;;;;;;;;;-1:-1:-1;;;110491:75:0;;;;;;;;;;;;;;;110625:10;110616:20;;;;:8;:20;;;;;;;;:34;;;;;;;;;:46;;110655:6;110616:38;:46::i;:::-;110588:10;110579:20;;;;:8;:20;;;;;;;;:34;;;;;;;;:83;;;;-1:-1:-1;;;;;110703:13:0;;;;;;;;;;:27;;;;;;;:39;;110735:6;110703:31;:39::i;:::-;-1:-1:-1;;;;;110673:13:0;;;;;;:8;:13;;;;;;;;:27;;;;;;;;;:69;;;;110760:57;;;;;;;110687:12;;110779:10;;-1:-1:-1;;;;;;;;;;;110760:57:0;;;;;;;;;;-1:-1:-1;110835:4:0;110201:646;;;;;:::o;86985:114::-;87065:10;87046:30;;;;:18;:30;;;;;:45;;-1:-1:-1;;87046:45:0;;;;;;;;;;86985:114::o;55673:50::-;;;-1:-1:-1;;;;;55673:50:0;;:::o;98073:103::-;98142:26;;;;;;;;;;;;-1:-1:-1;;;98142:26:0;;;;98073:103;;:::o;88185:1036::-;66702:6;;88277:7;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;88310:10:::1;66765:6:::0;88301:20;;;:8:::1;:20;::::0;;;;;;;88322:17:::1;::::0;88301:39;;;;;;;;:49;-1:-1:-1;88297:917:0::1;;88445:22;88463:3;88445:17;:22::i;:::-;88441:719;;88548:10;88539:20;::::0;;;:8:::1;:20;::::0;;;;;;;88560:17:::1;::::0;88539:39;;;;;;;;:51:::1;::::0;88583:6;88539:43:::1;:51::i;:::-;88506:10;88497:20;::::0;;;:8:::1;:20;::::0;;;;;;;88518:17:::1;::::0;;88497:39;;;;;;;;:93;;;;88666:17;;88648:36;;:17:::1;:36:::0;;;;:48:::1;::::0;88689:6;88648:40:::1;:48::i;:::-;88627:17;::::0;88609:36:::1;::::0;;;:17:::1;:36;::::0;;;;;:87;;;;88973:20;;-1:-1:-1;;;;;88973:12:0;::::1;::::0;:20;::::1;;;::::0;88986:6;;88973:20;88609:36;88973:20;88986:6;88973:12;:20;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;89019:46:0::1;::::0;;89041:10:::1;89019:46:::0;;-1:-1:-1;;;;;89019:46:0;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;89089:4:0::1;88441:719;;;-1:-1:-1::0;89139:5:0::1;88441:719;88297:917;;;-1:-1:-1::0;89197:5:0::1;88297:917;66801:6:::0;:14;;-1:-1:-1;;66801:14:0;;;88185:1036;;-1:-1:-1;;88185:1036:0:o;100757:463::-;100864:10;100831:12;100856:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;100856:29:0;;;;;;;;;;;13724:4;100856:45;;;;;;;:55;;;101149:39;;;;;;;100831:12;;100856:29;;100864:10;;101149:39;;;;;;;;-1:-1:-1;101208:4:0;100757:463;;;;:::o;80360:462::-;80503:10;80440:11;80468:46;;;:34;:46;;;;;;;;80464:351;;-1:-1:-1;80560:10:0;80540:31;;;;:19;:31;;;;;:59;;-1:-1:-1;;80540:59:0;;;;;;;-1:-1:-1;80659:11:0;;80464:351;-1:-1:-1;80798:5:0;80464:351;80360:462;;;:::o;81036:412::-;81164:10;81101:11;81129:46;;;:34;:46;;;;;;;;81125:316;;-1:-1:-1;81236:10:0;81201:46;;;;:34;:46;;;;;:53;;-1:-1:-1;;81201:53:0;81250:4;81201:53;;;;;;81317:11;;81125:316;-1:-1:-1;81424:5:0;81417:12;;62642:437;62726:12;-1:-1:-1;;;;;62759:37:0;;62751:72;;;;;-1:-1:-1;;;62751:72:0;;;;;;;;;;;;-1:-1:-1;;;62751:72:0;;;;;;;;;;;;;;;62838:5;;-1:-1:-1;;;;;62838:5:0;62847:10;62838:19;62834:238;;;-1:-1:-1;62874:22:0;:48;;-1:-1:-1;;;;;;62874:48:0;-1:-1:-1;;;;;62874:48:0;;;;;-1:-1:-1;62986:8:0;;61312:446;61400:5;;61357:12;;-1:-1:-1;;;;;61400:5:0;61386:10;:19;61382:369;;;61426:16;;-1:-1:-1;;;61426:16:0;;;;61422:252;;-1:-1:-1;61472:16:0;:23;;-1:-1:-1;;;;61472:23:0;-1:-1:-1;;;61472:23:0;;;61562:1;61555:8;;61422:252;-1:-1:-1;61657:1:0;61650:8;;98751:131;98804:14;98838:36;13724:4;98838:20;:36::i;:::-;98831:43;;98751:131;:::o;63087:::-;63188:22;;-1:-1:-1;;;;;63188:22:0;63087:131;:::o;89841:1361::-;66702:6;;89957:7;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;89990:10:::1;66765:6:::0;89981:20;;;:8:::1;:20;::::0;;;;;;;90002:17:::1;::::0;89981:39;;;;;;;;:49;-1:-1:-1;89977:1218:0::1;;90051:22;90069:3;90051:17;:22::i;:::-;90047:1044;;;90145:10;90136:20;::::0;;;:8:::1;:20;::::0;;;;;;;90157:17:::1;::::0;90136:39;;;;;;;;:51:::1;::::0;90180:6;90136:43:::1;:51::i;:::-;90103:10;90094:20;::::0;;;:8:::1;:20;::::0;;;;;;;90115:17:::1;::::0;;90094:39;;;;;;;;:93;;;;90263:17;;90245:36;;:17:::1;:36:::0;;;;:48:::1;::::0;90286:6;90245:40:::1;:48::i;:::-;90224:17;::::0;90206:36:::1;::::0;;;:17:::1;:36;::::0;;;;;:87;;;;90452:44;;-1:-1:-1;;;;;90452:8:0;::::1;::::0;90481:10;;90468:6;;90206:36;90452:44;90206:36;90452:44;90468:6;90452:8;90481:10;90452:44:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;90433:63:0;;-1:-1:-1;;90532:4:0::1;90521:15:::0;::::1;;;90517:465;;;90566:55;::::0;;90597:10:::1;90566:55:::0;;-1:-1:-1;;;;;90566:55:0;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;::::1;90721:4;90716:9;;90517:465;;;90875:52;;-1:-1:-1::0;;;90875:52:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;90517:465;90047:1044;;;;-1:-1:-1::0;91070:5:0::1;90047:1044;89977:1218;;;-1:-1:-1::0;91178:5:0::1;89977:1218;66801:6:::0;:14;;-1:-1:-1;;66801:14:0;;;89841:1361;;-1:-1:-1;;;89841:1361:0:o;101676:877::-;-1:-1:-1;;;;;101882:24:0;;101765:12;101882:24;;;:19;:24;;;;;;;;:33;;;:90;;-1:-1:-1;;;;;;101919:14:0;;;;;;:7;:14;;;;;;;;101934:10;101919:26;;;;;;;13724:4;101919:42;;;;;;;;:53;-1:-1:-1;101919:53:0;101882:90;:136;;;;-1:-1:-1;;;;;;101976:15:0;;;;;;:8;:15;;;;;;;;13724:4;101976:31;;;;;;;;:42;-1:-1:-1;101976:42:0;101882:136;101878:668;;;-1:-1:-1;;;;;102080:14:0;;;;;;:7;:14;;;;;;;;102095:10;102080:26;;;;;;;13724:4;102080:42;;;;;;;;:55;;102127:7;102080:46;:55::i;:::-;-1:-1:-1;;;;;102035:14:0;;;;;;:7;:14;;;;;;;;102050:10;102035:26;;;;;;;13724:4;102035:42;;;;;;;;;:100;;;;102186:15;;;:8;:15;;;;;:31;;;;;;;;;;:44;;102222:7;102186:35;:44::i;:::-;-1:-1:-1;;;;;102152:15:0;;;;;;;:8;:15;;;;;;;;13724:4;102152:31;;;;;;;;;:78;;;;102277:13;;;;;;;;;;;:29;;;;;;;;;;:42;;102311:7;102277:33;:42::i;:::-;-1:-1:-1;;;;;102245:13:0;;;;;;;:8;:13;;;;;;;;13724:4;102245:29;;;;;;;;:74;;;;102341:29;;;;;;;102245:13;;102341:29;;;;-1:-1:-1;;;;;;;;;;;102341:29:0;;;;;;;;-1:-1:-1;;;;;102390:71:0;;102418:14;;;;:7;:14;;;;;;;;102406:10;102418:26;;;;;;;;;13724:4;102418:42;;;;;;;;;102390:71;;;;;;;102406:10;;102390:71;;;;;;;;;;;;-1:-1:-1;102485:4:0;102478:11;;101878:668;-1:-1:-1;102529:5:0;102522:12;;62190:158;62268:5;;62229:4;;-1:-1:-1;;;;;62268:5:0;62254:10;:19;62246:41;;;;;-1:-1:-1;;;62246:41:0;;;;;;;;;;;;-1:-1:-1;;;62246:41:0;;;;;;;;;;;;;;;-1:-1:-1;62300:5:0;:18;;-1:-1:-1;;;;;;62300:18:0;;;;62190:158;:::o;29323:114::-;29380:7;29407:12;;;;;;;;;;:22;;;;29323:114::o;29699:227::-;29791:6;:12;;;;;;;;;;:22;;;29783:45;;29815:12;:10;:12::i;:::-;29783:7;:45::i;:::-;29775:105;;;;-1:-1:-1;;;29775:105:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;29893:25;29904:4;29910:7;29893:10;:25::i;:::-;29699:227;;:::o;98547:86::-;98623:2;98547:86;:::o;30908:209::-;31006:12;:10;:12::i;:::-;-1:-1:-1;;;;;30995:23:0;:7;-1:-1:-1;;;;;30995:23:0;;30987:83;;;;-1:-1:-1;;;30987:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;31083:26;31095:4;31101:7;31083:11;:26::i;102937:1827::-;-1:-1:-1;;;;;103007:17:0;;102999:72;;;;-1:-1:-1;;;102999:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;103090:32;56497:24;103111:10;103090:7;:32::i;:::-;103082:92;;;;-1:-1:-1;;;103082:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;103528:24:0;;;;;;:19;:24;;;;;;;;:32;;:24;:32;103524:1001;;;103660:22;;-1:-1:-1;;;;;103660:22:0;:36;103656:858;;103769:22;;103946:84;;;-1:-1:-1;;;103946:84:0;;103976:10;103946:84;;;;-1:-1:-1;;;;;103946:84:0;;;;;;;;;;;;;13724:4;103946:84;;;;103769:22;103946:84;;;;103717:32;103946:84;;;;;;;;103769:22;;;;;103946:29;;:84;;;;;;;;;;;;;;103717:32;103769:22;103946:84;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;103946:84:0;;-1:-1:-1;104119:1:0;104099:21;;;;104095:280;;;;;;104272:83;;-1:-1:-1;;;104272:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;104095:280;103656:858;;;13724:4;104573:33;;:17;:33;;-1:-1:-1;;;;;;;;;;;104573:33:0;:46;;104611:7;104573:37;:46::i;:::-;-1:-1:-1;;;;;;;;;;;104537:82:0;-1:-1:-1;;;;;104662:13:0;;104537:33;104662:13;;;:8;104537:33;104662:13;;;104537:33;104662:13;;;13724:4;104662:29;;;;;;;;:42;;104696:7;104662:33;:42::i;:::-;-1:-1:-1;;;;;104630:13:0;;;;;;:8;:13;;;;;;;;13724:4;104630:29;;;;;;;:74;;;;104722:34;;;;;;;104630:13;;;;-1:-1:-1;;;;;;;;;;;104722:34:0;;;;;;;;;102937:1827;;:::o;118412:426::-;118547:5;;118504:12;;-1:-1:-1;;;;;118547:5:0;118533:10;:19;118529:302;;;118569:18;:40;;-1:-1:-1;;;;;118569:40:0;;-1:-1:-1;;;;;;118569:40:0;;;;;;;;118631:48;;;;;;;;;;;;;;;;-1:-1:-1;118751:1:0;118744:8;;120659:1711;120802:18;;120759:12;;-1:-1:-1;;;;;120802:18:0;120788:10;:32;120784:1579;;;120908:31;;120996:47;;;-1:-1:-1;;;120996:47:0;;120837:42;120996:47;;;;;;;;-1:-1:-1;;;;;120908:31:0;;;;;;120996:44;;:47;;;;;;;;;;;;;;120908:31;120996:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;120996:47:0;;-1:-1:-1;;;;;;121064:42:0;;;121060:1222;;121231:37;;;-1:-1:-1;;;121231:37:0;;121262:4;121231:37;;;;;;121156:28;;121127:19;;-1:-1:-1;;;;;121231:22:0;;;;;:37;;;;;;;;;;;;;;:22;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;121231:37:0;121346:20;;121231:37;;-1:-1:-1;121289:35:0;;121327:40;;121231:37;;121327:18;:40::i;:::-;121289:78;;121403:27;121392:7;:38;121388:782;;121455:12;121470;-1:-1:-1;;;;;121470:21:0;;121492:12;121506:7;121470:44;;;;;;;;;;;;;-1:-1:-1;;;;;121470:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;121470:44:0;;-1:-1:-1;121554:4:0;121543:15;;;;121539:459;;;121592:53;;;;;;;;-1:-1:-1;;;;;121592:53:0;;;;;;;;;;;;;121734:1;121727:8;;;;;;;;;;121539:459;121871:46;;-1:-1:-1;;;121871:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;121388:782;122149:1;122142:8;;;;;;;;;121060:1222;122265:1;122258:8;;;;;;120784:1579;-1:-1:-1;122350:1:0;122343:8;;68009:416;68123:5;;68084:4;;-1:-1:-1;;;;;68123:5:0;68109:10;:19;68101:41;;;;;-1:-1:-1;;;68101:41:0;;;;;;;;;;;;-1:-1:-1;;;68101:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;68161:19:0;;68153:70;;;;-1:-1:-1;;;68153:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;68242:31;;-1:-1:-1;;;;;68242:31:0;:45;68234:109;;;;-1:-1:-1;;;68234:109:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;68356:31:0;:39;;-1:-1:-1;;;;;68356:39:0;;-1:-1:-1;;;;;;68356:39:0;;;;;;;68009:416;;;:::o;119193:757::-;119354:31;;119438:47;;;-1:-1:-1;;;119438:47:0;;119256:14;119438:47;;;;;;;;119256:14;;-1:-1:-1;;;;;119354:31:0;;119256:14;;119354:31;;119438:44;;:47;;;;;;;;;;;;;;;119354:31;119438:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;119438:47:0;;-1:-1:-1;;;;;;119502:42:0;;;119498:445;;119663:37;;;-1:-1:-1;;;119663:37:0;;119694:4;119663:37;;;;;;119592:28;;119563:19;;-1:-1:-1;;;;;119663:22:0;;;;;:37;;;;;;;;;;;;;;:22;:37;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;119663:37:0;119774:20;;119663:37;;-1:-1:-1;119717:35:0;;119755:40;;119663:37;;119755:18;:40::i;:::-;119717:78;-1:-1:-1;119812:34:0;;-1:-1:-1;;;;;119812:34:0;119498:445;119930:1;119923:8;;;;;;106439:1880;-1:-1:-1;;;;;106546:17:0;;106538:72;;;;-1:-1:-1;;;106538:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;106629:32;56497:24;106650:10;106629:7;:32::i;:::-;106621:92;;;;-1:-1:-1;;;106621:92:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;107067:24:0;;;;;;:19;:24;;;;;;;;:32;;:24;:32;107063:999;;;107199:22;;-1:-1:-1;;;;;107199:22:0;:36;107195:856;;107308:22;;107485:82;;;-1:-1:-1;;;107485:82:0;;107515:10;107485:82;;;;-1:-1:-1;;;;;107485:82:0;;;;;;;;;;;;;;;;;;;107308:22;107485:82;;;;107256:32;107485:82;;;;;;;;107308:22;;;;;107485:29;;:82;;;;;;;;;;;;;;107256:32;107308:22;107485:82;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;107485:82:0;;-1:-1:-1;107656:1:0;107636:21;;;;107632:280;;;107195:856;;;108108:31;;;;:17;:31;;;;;;:44;;108144:7;108108:35;:44::i;:::-;108074:31;;;;:17;:31;;;;;;;;:78;;;;-1:-1:-1;;;;;108193:13:0;;;;:8;:13;;;;;:27;;;;;;;:40;;108225:7;108193:31;:40::i;:::-;-1:-1:-1;;;;;108163:13:0;;;;;;:8;:13;;;;;;;;:27;;;;;;;;:70;;;;108253:58;;;;;;;108177:12;;-1:-1:-1;;;;;;;;;;;108253:58:0;;;;;;;;106439:1880;;;:::o;97859:125::-;-1:-1:-1;;;;;97946:14:0;97922:4;97946:14;;;:8;:14;;;;;;;;13724:4;97946:30;;;;;;;;;97859:125::o;56903:33::-;;;-1:-1:-1;;;;;56903:33:0;;:::o;105080:915::-;-1:-1:-1;;;;;105159:22:0;;105151:79;;;;-1:-1:-1;;;105151:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;105268:17:0;;105241:24;105268:17;;;:7;:17;;;;;;;;105286:10;105268:29;;;;;;;13724:4;105268:45;;;;;;;;105332:27;;;;105324:87;;;;-1:-1:-1;;;105324:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;105447:18:0;;105422:22;105447:18;;;:8;:18;;;;;;;;13724:4;105447:34;;;;;;;;105500:25;;;;105492:83;;;;-1:-1:-1;;;105492:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;105636:29;:16;105657:7;105636:20;:29::i;:::-;-1:-1:-1;;;;;105588:17:0;;;;;;:7;:17;;;;;;;;105606:10;105588:29;;;;;;;;;13724:4;105588:45;;;;;;;;:77;;;105683;;;;;;105606:10;;105683:77;;;;;;;;;;;105810:27;:14;105829:7;105810:18;:27::i;:::-;-1:-1:-1;;;;;105773:18:0;;;;;;:8;:18;;;;;;;;13724:4;105773:34;;;;;;;:64;;;;105884:17;:33;;-1:-1:-1;;;;;;;;;;;105884:33:0;:46;;105922:7;105884:37;:46::i;:::-;13724:4;105848:33;;;;:17;:33;;;;-1:-1:-1;;;;;;;;;;;105848:82:0;;;;:33;105948:39;;;;;;;105848:33;;-1:-1:-1;;;;;105948:39:0;;;-1:-1:-1;;;;;;;;;;;105948:39:0;;;;;;;;;105080:915;;;;:::o;55557:46::-;;;-1:-1:-1;;;;;55557:46:0;;:::o;84067:168::-;-1:-1:-1;;;;;84188:39:0;84157:11;84188:39;;;:19;:39;;;;;;;;;84067:168::o;56235:20::-;;;-1:-1:-1;;;;;56235:20:0;;:::o;28996:138::-;29069:7;29096:12;;;;;;;;;;:30;;29120:5;29096:23;:30::i;27957:139::-;28026:4;28050:12;;;;;;;;;;:38;;28080:7;28050:29;:38::i;55443:45::-;;;;;;-1:-1:-1;;;;;55443:45:0;;:::o;111241:202::-;-1:-1:-1;;;;;111391:20:0;;;111357:14;111391:20;;;:7;:20;;;;;;;;:30;;;;;;;;;;;;:44;;;;;;;;111241:202::o;98279:142::-;98400:13;;;;;;;;;;;;-1:-1:-1;;;98400:13:0;;;;98279:142;:::o;60216:779::-;60377:5;;60334:12;;-1:-1:-1;;;;;60377:5:0;60363:10;:19;60359:629;;;60403:16;;-1:-1:-1;;;60403:16:0;;;;60399:512;;60449:13;:20;;-1:-1:-1;;;;;;;;60449:20:0;;;-1:-1:-1;;;60449:20:0;60488:23;-1:-1:-1;;;60488:23:0;;;-1:-1:-1;;;;;60580:31:0;;60449:20;60580:31;;;:8;:31;;;;;;;;:45;;;;;;;;;:63;;60630:12;60580:49;:63::i;:::-;-1:-1:-1;;;;;60532:31:0;;;;;;:8;:31;;;;;;;;:45;;;;;;;;:111;;;;60696:17;:31;;;;:49;;60732:12;60696:35;:49::i;:::-;60662:31;;;;:17;:31;;;;;:83;-1:-1:-1;60814:1:0;60807:8;;60399:512;-1:-1:-1;60894:1:0;60887:8;;60399:512;60359:629;;58273:119;58367:17;;58273:119;:::o;69649:156::-;69731:15;69766:31;;;:17;:31;;;;;;;69649:156::o;26702:49::-;26747:4;26702:49;:::o;111884:513::-;112019:10;111986:12;112011:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;112011:29:0;;;;;;;;;;;:43;;;;;;;;:53;;;112302:63;;;;;;;111986:12;;112041;;112011:29;;112019:10;;112302:63;;;;;;;;;;;-1:-1:-1;112385:4:0;111884:513;;;;;:::o;82966:897::-;83164:27;;83062:11;;-1:-1:-1;;;;;83164:27:0;83150:10;:41;83146:710;;;83282:35;83300:16;83282:17;:35::i;:::-;83278:474;;;-1:-1:-1;;;;;;83410:37:0;;;;;;:19;:37;;;;;;;;:44;;83450:4;-1:-1:-1;;83410:44:0;;;;;;;;83473:34;:52;;;;;:59;;;;;;;;;83629:11;;99287:608;-1:-1:-1;;;;;99471:24:0;;99359:7;99471:24;;;:19;:24;;;;;;;;:33;;;:83;;-1:-1:-1;99517:10:0;99508:20;;;;:8;:20;;;;;;;;13724:4;99508:36;;;;;;;;:46;-1:-1:-1;99508:46:0;99471:83;99467:421;;;99619:10;99610:20;;;;:8;:20;;;;;;;;13724:4;99610:36;;;;;;;;:48;;99651:6;99610:40;:48::i;:::-;99580:10;99571:20;;;;:8;:20;;;;;;;;13724:4;99571:36;;;;;;;;;:87;;;;-1:-1:-1;;;;;99707:13:0;;;;;;;;;;:29;;;;;;;;;:41;;99741:6;99707:33;:41::i;:::-;-1:-1:-1;;;;;99675:13:0;;;;;;:8;:13;;;;;;;;13724:4;99675:29;;;;;;;;:73;;;;99770:33;;;;;;;99675:13;;99779:10;;-1:-1:-1;;;;;;;;;;;99770:33:0;;;;;;;;;-1:-1:-1;99827:4:0;99820:11;;81952:549;82092:5;;82046:11;;-1:-1:-1;;;;;82092:5:0;82078:10;:19;82070:41;;;;;-1:-1:-1;;;82070:41:0;;;;;;;;;;;;-1:-1:-1;;;82070:41:0;;;;;;;;;;;;;;;-1:-1:-1;;;;;82130:42:0;;82122:103;;;;-1:-1:-1;;;82122:103:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;82244:27;;-1:-1:-1;;;;;82244:27:0;:41;82236:115;;;;-1:-1:-1;;;82236:115:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82364:27:0;:58;;-1:-1:-1;;;;;82364:58:0;;-1:-1:-1;;;;;;82364:58:0;;;;;;;81952:549;;;:::o;114297:1561::-;66702:6;;114415:7;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;-1:-1:-1;;;;;114443:38:0;::::1;114476:4;114443:38;;114435:85;;;;-1:-1:-1::0;;;114435:85:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114649:10;114629:31;::::0;;;:19:::1;:31;::::0;;;;;::::1;;:40;114621:95;;;;-1:-1:-1::0;;;114621:95:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;114798:50;::::0;;-1:-1:-1;;;114798:50:0;;114822:10:::1;114798:50;::::0;::::1;::::0;114842:4:::1;114798:50:::0;;;;;;114759:21;;114852:6;;-1:-1:-1;;;;;114798:23:0;::::1;::::0;::::1;::::0;:50;;;;;::::1;::::0;;;;;;;;:23;:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;114798:50:0;:60:::1;114794:1057;;114875:65;-1:-1:-1::0;;;;;114875:30:0;::::1;114906:10;114926:4;114933:6:::0;114875:30:::1;:65::i;:::-;115392:17;::::0;115375:58:::1;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;115375:58:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;115365:69;;;;::::1;::::0;115495:10:::1;115335:19;115486:20:::0;;;:8:::1;:20:::0;;;;;:33;;;;;;;;;:45:::1;::::0;115524:6;115486:37:::1;:45::i;:::-;115459:10;115450:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;:81;;;;115579:17:::1;:30:::0;;;;:42:::1;::::0;115614:6;115579:34:::1;:42::i;:::-;115546:30;::::0;;;:17:::1;:30;::::0;;;;;;;;:75;;;;115643:81;;-1:-1:-1;;;;;115643:81:0;::::1;::::0;;115692:10:::1;115643:81:::0;;::::1;::::0;;;;;;;;;;;115564:11;;115643:81:::1;::::0;;;;;;;;::::1;115781:4;115776:9;;114794:1057;;-1:-1:-1::0;66801:6:0;:14;;-1:-1:-1;;66801:14:0;;;114297:1561;;-1:-1:-1;;114297:1561:0:o;70252:217::-;70423:17;;70406:53;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;70406:53:0;;;;;;;;;;;;;;;;;;;;70396:64;;;;;;70252:217::o;69236:191::-;-1:-1:-1;;;;;69377:28:0;;;;69342:15;69377:28;;;:8;:28;;;;;;;;:42;;;;;;;;;69236:191::o;84503:194::-;-1:-1:-1;;;;;84635:54:0;84604:11;84635:54;;;:34;:54;;;;;;;;;84503:194::o;94719:2891::-;66702:6;;94821:7;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;-1:-1:-1;;;;;94937:26:0;::::1;66765:6:::0;94937:26;;;:19:::1;:26;::::0;;;;;66765:13;94937:26:::1;:35;94929:99;;;;-1:-1:-1::0;;;94929:99:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95112:31;::::0;-1:-1:-1;;;;;95112:31:0::1;95321:45:::0;;;::::1;::::0;:113:::1;;-1:-1:-1::0;95370:56:0::1;::::0;;-1:-1:-1;;;95370:56:0;;95414:10:::1;95370:56;::::0;::::1;::::0;;;-1:-1:-1;;;;;95370:35:0;::::1;::::0;::::1;::::0;:56;;;;;::::1;::::0;;;;;;;;:35;:56;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;95370:56:0;:64:::1;;95430:4;95370:64;95321:113;95317:2286;;;95455:65;::::0;;-1:-1:-1;;;95455:65:0;;95508:10:::1;95455:65;::::0;::::1;::::0;;;-1:-1:-1;;;;;95455:44:0;::::1;::::0;::::1;::::0;:65;;;;;::::1;::::0;;;;;;;;:44;:65;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;95455:65:0;95451:2141:::1;;96193:15;96324:1;96308:5;:12;:17;96304:239;;96511:5;96517:1;96511:8;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;96497:24:0::1;;96490:32;;96485:1;96471:5;96477:1;96471:8;;;;;;;;::::0;::::1;::::0;;96430;;-1:-1:-1;;;;;;96471:8:0;;;96457:29;;::::1;96450:37;;::::0;96444:2:::1;::::0;96430:5;;96436:1:::1;::::0;96430:8;::::1;;;;;::::0;::::1;::::0;;96389;;-1:-1:-1;;;;;;96430:8:0;;;96416:30;;::::1;96409:38;;::::0;96403:2:::1;::::0;96389:5;;96395:1:::1;::::0;96389:8;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;;;96375:24:0::1;;-1:-1:-1::0;;;;;96375:30:0::1;;;;96368:38;;:79;:119;:154;96361:162;;96350:173;;96304:239;-1:-1:-1::0;;;;;;96746:31:0;::::1;-1:-1:-1::0;;;96746:31:0::1;96742:675;;-1:-1:-1::0;;;;;96836:15:0;::::1;;::::0;;;:8:::1;:15;::::0;;;;;;;13724:4:::1;96836:31:::0;;;;;;;;:43:::1;::::0;96872:6;96836:35:::1;:43::i;:::-;-1:-1:-1::0;;;;;96802:15:0;::::1;;::::0;;;:8:::1;:15;::::0;;;;;;;13724:4:::1;96802:31:::0;;;;;;;:77;;;;96938:17:::1;:33:::0;;-1:-1:-1;;;;;;;;;;;96938:33:0;:45:::1;::::0;96976:6;96938:37:::1;:45::i;:::-;13724:4;96902:33;::::0;:17:::1;:33;::::0;-1:-1:-1;;;;;;;;;;;96902:81:0;97031:20:::1;::::0;:32:::1;::::0;97056:6;97031:24:::1;:32::i;:::-;97008:20;:55:::0;97093:68:::1;::::0;;97119:10:::1;97093:68:::0;;-1:-1:-1;;;;;97093:68:0;::::1;;::::0;::::1;::::0;;;;;;;;;13724:4:::1;::::0;97093:68:::1;::::0;;;;;;;;::::1;97189:44;::::0;;;;;;;-1:-1:-1;;;;;97189:44:0;::::1;::::0;97207:10:::1;::::0;97189:44:::1;::::0;;;;::::1;::::0;;::::1;97263:4;97258:9;;96742:675;;;97316:81;;-1:-1:-1::0;;;97316:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;96742:675;95451:2141;;;;97459:117;;-1:-1:-1::0;;;97459:117:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;95451:2141;-1:-1:-1::0;66801:6:0;:14;;-1:-1:-1;;66801:14:0;;;94719:2891;;-1:-1:-1;;;94719:2891:0:o;55343:26::-;;;;;;;;;:::o;28270:127::-;28333:7;28360:12;;;;;;;;;;:29;;:27;:29::i;85547:1065::-;66702:6;;85614:14;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;;;;;;85683:14;;::::1;66765:13:::0;85683:14:::1;:22;;;85679:926;;;85813:10;85804:20;::::0;;;:8:::1;:20;::::0;;;;;;;85825:17:::1;::::0;85804:39;;;;;;;;:49;-1:-1:-1;85800:706:0::1;;85893:10;85874:30;::::0;;;:18:::1;:30;::::0;;;;:37;;-1:-1:-1;;85874:37:0::1;85907:4;85874:37;::::0;;86108:30:::1;::::0;85874;;86080:79:::1;::::0;86108:30;;::::1;-1:-1:-1::0;;;;;86108:30:0::1;::::0;86152:6;86080:27:::1;:79::i;:::-;86058:101:::0;-1:-1:-1;86200:4:0::1;86182:22:::0;::::1;;;86178:224;;;86280:1;86271:10;;86178:224;;;86381:1;86372:10;;86178:224;85800:706;;;;-1:-1:-1::0;86489:1:0::1;85800:706;85679:926;;;-1:-1:-1::0;86592:1:0::1;85679:926;66801:6:::0;:14;;-1:-1:-1;;66801:14:0;;;85547:1065;;-1:-1:-1;85547:1065:0:o;56156:28::-;;;-1:-1:-1;;;56156:28:0;;;;;:::o;56459:62::-;56497:24;56459:62;:::o;30171:230::-;30264:6;:12;;;;;;;;;;:22;;;30256:45;;30288:12;:10;:12::i;30256:45::-;30248:106;;;;-1:-1:-1;;;30248:106:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;116382:765;66702:6;;116509:7;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;116586:17:::1;::::0;116569:58:::1;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;116569:58:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;116559:69;;;;::::1;::::0;116659:10:::1;66765:6:::0;116650:20;;;:8:::1;:20:::0;;;;;:33;;;;;;;;;:43;-1:-1:-1;116650:43:0::1;116642:74;;;::::0;;-1:-1:-1;;;116642:74:0;;::::1;;::::0;::::1;::::0;::::1;::::0;;;;-1:-1:-1;;;116642:74:0;;;;;;;;;;;;;::::1;;116774:10;116765:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;;:45:::1;::::0;116803:6;116765:37:::1;:45::i;:::-;116738:10;116729:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;:81;;;;116854:17:::1;:30:::0;;;;:42:::1;::::0;116889:6;116854:34:::1;:42::i;:::-;116821:30;::::0;;;:17:::1;:30;::::0;;;;:75;116939:21;116974:39:::1;-1:-1:-1::0;;;;;116974:26:0;::::1;117001:3:::0;117006:6;116974:26:::1;:39::i;:::-;117031:86;::::0;;-1:-1:-1;;;;;117031:86:0;;::::1;::::0;;117080:10:::1;117031:86;::::0;::::1;::::0;;::::1;::::0;;;;;;;;;;;;117105:11;;117031:86:::1;::::0;;;;;;;;::::1;-1:-1:-1::0;;66801:6:0;:14;;-1:-1:-1;;66801:14:0;;;-1:-1:-1;117135:4:0::1;::::0;116382:765;-1:-1:-1;;;116382:765:0:o;91821:231::-;66702:6;;91951:7;;66702:6;;:15;66694:58;;;;;-1:-1:-1;;;66694:58:0;;;;;;;;;;;;-1:-1:-1;;;;;;;;;;;66694:58:0;;;;;;;;;;;;;;;66765:6;:13;;-1:-1:-1;;66765:13:0;66774:4;66765:13;;;91978:66:::1;92006:24:::0;92032:3;92037:6;91978:27:::1;:66::i;:::-;66801:6:::0;:14;;-1:-1:-1;;66801:14:0;;;91971:73;91821:231;-1:-1:-1;;;;91821:231:0:o;68731:198::-;68833:10;68795:4;68824:20;;;:8;:20;;;;;;;;68845:17;;68824:39;;;;;;;;68874:25;68889:3;68824:39;68874:14;:25::i;:::-;-1:-1:-1;68917:4:0;68731:198;-1:-1:-1;;68731:198:0:o;57104:42::-;;;-1:-1:-1;;;;;57104:42:0;;:::o;100215:175::-;-1:-1:-1;;;;;100336:20:0;;;100303:14;100336:20;;;:7;:20;;;;;;;;:30;;;;;;;;;;;;13724:4;100336:46;;;;;;;;100215:175::o;108694:986::-;-1:-1:-1;;;;;108810:22:0;;108802:79;;;;-1:-1:-1;;;108802:79:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;108919:17:0;;108892:24;108919:17;;;:7;:17;;;;;;;;108937:10;108919:29;;;;;;;:43;;;;;;;;;108981:27;;;;108973:87;;;;-1:-1:-1;;;108973:87:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;109096:18:0;;109071:22;109096:18;;;:8;:18;;;;;;;;:32;;;;;;;;;109147:25;;;;109139:83;;;;-1:-1:-1;;;109139:83:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;109281:29;:16;109302:7;109281:20;:29::i;:::-;-1:-1:-1;;;;;109235:17:0;;;;;;:7;:17;;;;;;;;109253:10;109235:29;;;;;;;;;:43;;;;;;;;;:75;;;109328:99;;;;;;109235:43;;109253:10;;109235:17;109328:99;;;;;;;;;109475:27;:14;109494:7;109475:18;:27::i;:::-;-1:-1:-1;;;;;109440:18:0;;;;;;:8;:18;;;;;;;;:32;;;;;;;;:62;;;;109547:17;:31;;;;:44;;109583:7;109547:35;:44::i;:::-;109513:31;;;;:17;:31;;;;;;;;:78;;;;109609:63;;;;;;;109531:12;;-1:-1:-1;;;;;109609:63:0;;;-1:-1:-1;;;;;;;;;;;109609:63:0;;;;;;;;108694:986;;;;;:::o;112926:937::-;-1:-1:-1;;;;;113160:24:0;;113043:12;113160:24;;;:19;:24;;;;;;;;:33;;;:88;;-1:-1:-1;;;;;;113197:14:0;;;;;;:7;:14;;;;;;;;113212:10;113197:26;;;;;;;:40;;;;;;;;;:51;-1:-1:-1;113197:51:0;113160:88;:134;;;;-1:-1:-1;;;;;;113252:15:0;;;;;;:8;:15;;;;;;;;13724:4;113252:31;;;;;;;;:42;-1:-1:-1;113252:42:0;113160:134;113156:700;;;-1:-1:-1;;;;;113354:14:0;;;;;;:7;:14;;;;;;;;113369:10;113354:26;;;;;;;:40;;;;;;;;;:53;;113399:7;113354:44;:53::i;:::-;-1:-1:-1;;;;;113311:14:0;;;;;;:7;:14;;;;;;;;113326:10;113311:26;;;;;;;:40;;;;;;;;:96;;;;113456:15;;;:8;:15;;;;;:29;;;;;;;;:42;;113490:7;113456:33;:42::i;:::-;-1:-1:-1;;;;;113424:15:0;;;;;;;:8;:15;;;;;;;;:29;;;;;;;;:74;;;;113543:13;;;;;;;;;;:27;;;;;;;;:40;;113575:7;113543:31;:40::i;:::-;-1:-1:-1;;;;;113513:13:0;;;;;;;:8;:13;;;;;;;;:27;;;;;;;;;:70;;;;113605:53;;;;;;;113527:12;;113513:13;;113605:53;;;-1:-1:-1;;;;;;;;;;;113605:53:0;;;;;;;-1:-1:-1;;;;;113678:93:0;;113716:14;;;;:7;:14;;;;;;;;113704:10;113716:26;;;;;;;;;:40;;;;;;;;;;113678:93;;;;;;;113758:12;;113678:93;;;;;;;;;-1:-1:-1;113795:4:0;113788:11;;113156:700;-1:-1:-1;113839:5:0;113156:700;112926:937;;;;;;:::o;64989:1451::-;65192:10;65154:12;65183:20;;;:8;:20;;;;;;;;:34;;;;;;;;;:45;-1:-1:-1;65179:1254:0;;-1:-1:-1;;;;;65249:39:0;;;;;;:19;:39;;;;;;;;:48;;:143;;-1:-1:-1;;;;;;65302:39:0;;;;;;:19;:39;;;;;;;;:47;;:39;:47;:89;;;;-1:-1:-1;65387:4:0;65353:38;;;;65302:89;65245:1094;;;65465:22;;65534:130;;;-1:-1:-1;;;65534:130:0;;65564:10;65534:130;;;;-1:-1:-1;;;;;65534:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;65465:22;;;;;65413:32;;65465:22;;65534:29;;:130;;;;;;;;;;;;;;65413:32;65465:22;65534:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;65534:130:0;;-1:-1:-1;65779:1:0;65759:21;;;;65755:484;;;65851:10;65842:20;;;;:8;:20;;;;;;;;:34;;;;;;;;;:47;;65881:7;65842:38;:47::i;:::-;65814:10;65805:20;;;;:8;:20;;;;;;;;:34;;;;;;;;:84;;;;-1:-1:-1;;;;;65957:28:0;;;;;;;;;;:42;;;;;;;:55;;66004:7;65957:46;:55::i;:::-;-1:-1:-1;;;;;65912:28:0;;;;;;:8;:28;;;;;;;;:42;;;;;;;;:100;-1:-1:-1;66087:1:0;;-1:-1:-1;66080:8:0;;-1:-1:-1;66080:8:0;65755:484;66218:1;66211:8;;;;;;65245:1094;-1:-1:-1;66322:1:0;65179:1254;64989:1451;;;;;;;:::o;67172:457::-;67275:31;;67236:4;;-1:-1:-1;;;;;67275:31:0;67261:10;:45;67253:98;;;;-1:-1:-1;;;67253:98:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;67370:14;;;;;;;:23;67362:69;;;;-1:-1:-1;;;67362:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;67450:19:0;;67442:74;;;;-1:-1:-1;;;67442:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;67529:14:0;:21;;-1:-1:-1;;;;;67561:38:0;;;;-1:-1:-1;;;;;;;;67529:21:0;;;;;67561:38;;;;;;;67546:4;67172:457;;;:::o;56061:25::-;;;-1:-1:-1;;;56061:25:0;;;;;:::o;76921:3120::-;78321:17;;76999:11;78303:36;;;:17;:36;;;;;;78358:21;;78303:51;;78344:9;78303:40;:51::i;:::-;:76;;78295:148;;;;-1:-1:-1;;;78295:148:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78562:31;;78735:56;;;-1:-1:-1;;;78735:56:0;;78779:10;78735:56;;;;;;78474:4;;-1:-1:-1;;;;;78562:31:0;;;;78735:35;;:56;;;;;;;;;;;;;;;78562:31;78735:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78735:56:0;78731:445;;78830:5;78817:18;;78731:445;;;79051:59;;;-1:-1:-1;;;79051:59:0;;79104:4;79051:59;;;;;;-1:-1:-1;;;;;79051:44:0;;;;;:59;;;;;;;;;;;;;;:44;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;79051:59:0;78983:65;;;-1:-1:-1;;;78983:65:0;;79036:10;78983:65;;;;;;-1:-1:-1;;;;;78983:44:0;;;;;:65;;;;;79051:59;;78983:65;;;;;;;:44;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78983:65:0;:127;78979:186;;;79144:5;79131:18;;78979:186;-1:-1:-1;;;;;79259:24:0;;;;;;:19;:24;;;;;;;;:32;;:24;:32;79255:83;;;79321:5;79308:18;;79255:83;79368:4;79354:18;;;;79350:684;;;79448:17;;79430:36;;;;:17;:36;;;;;;;;;;79394:107;;;;;79468:9;79394:107;;;;;;;79479:21;79394:107;;;;;;79418:10;;79394:107;;;;;;;;;;-1:-1:-1;;;;;79553:13:0;;;;;;:8;:13;;;;;;;;79567:17;;79553:32;;;;;;;;:47;;79590:9;79553:36;:47::i;:::-;-1:-1:-1;;;;;79518:13:0;;;;;;:8;:13;;;;;;;;79532:17;;;79518:32;;;;;;;;:82;;;;79672:17;;79654:36;;:17;:36;;;;:51;;79695:9;79654:40;:51::i;:::-;79615:17;:36;79633:17;;79615:36;;;;;;;;;;;:90;;;;79762:4;79755:11;;;;;;79350:684;79924:69;;-1:-1:-1;;;79924:69:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;56630:35;;;;:::o;21128:152::-;21198:4;21222:50;21227:3;-1:-1:-1;;;;;21247:23:0;;21222:4;:50::i;87107:485::-;87187:11;87357:38;;87485:15;87481:104;;87524:5;87517:12;;;;;87481:104;87569:4;87562:11;;;;;24739:106;24827:10;24739:106;:::o;32151:188::-;32225:6;:12;;;;;;;;;;:33;;32250:7;32225:24;:33::i;:::-;32221:111;;;32307:12;:10;:12::i;:::-;-1:-1:-1;;;;;32280:40:0;32298:7;-1:-1:-1;;;;;32280:40:0;32292:4;32280:40;;;;;;;;;;32151:188;;:::o;32347:192::-;32422:6;:12;;;;;;;;;;:36;;32450:7;32422:27;:36::i;:::-;32418:114;;;32507:12;:10;:12::i;:::-;-1:-1:-1;;;;;32480:40:0;32498:7;-1:-1:-1;;;;;32480:40:0;32492:4;32480:40;;;;;;;;;;32347:192;;:::o;22414:158::-;22488:7;22539:22;22543:3;22555:5;22539:3;:22::i;21700:167::-;21780:4;21804:55;21814:3;-1:-1:-1;;;;;21834:23:0;;21804:9;:55::i;43402:205::-;43530:68;;;-1:-1:-1;;;;;43530:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43530:68:0;-1:-1:-1;;;43530:68:0;;;43503:96;;43523:5;;43503:19;:96::i;:::-;43402:205;;;;:::o;21953:117::-;22016:7;22043:19;22051:3;22043:7;:19::i;92060:2126::-;92211:10;92178:7;92202:20;;;:8;:20;;;;;;;;92223:17;;92202:39;;;;;;;;:49;-1:-1:-1;92198:1981:0;;92272:43;92290:24;92272:17;:43::i;:::-;:51;;92319:4;92272:51;92268:1857;;;92415:31;;92604:61;;;-1:-1:-1;;;92604:61:0;;-1:-1:-1;;;;;92604:61:0;;;;;;;;;92415:31;;;;;;;92604:35;;:61;;;;;;;;;;;;;;;92415:31;92604:61;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92604:61:0;:69;;92669:4;92604:69;92600:1418;;;92816:53;;;-1:-1:-1;;;92816:53:0;;-1:-1:-1;;;;;92816:53:0;;;;;;;;;92762:24;;92816:48;;;;;:53;;;;;;;;;;;;;;:48;:53;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;92816:53:0;92812:1051;;92958:10;92949:20;;;;:8;:20;;;;;;;;92970:17;;92949:39;;;;;;;;:51;;92993:6;92949:43;:51::i;:::-;92916:10;92907:20;;;;:8;:20;;;;;;;;92928:17;;;92907:39;;;;;;;;:93;;;;93084:17;;93066:36;;:17;:36;;;;:48;;93107:6;93066:40;:48::i;:::-;93027:17;:36;93045:17;;93027:36;;;;;;;;;;;:87;;;;93384:25;-1:-1:-1;;;;;93384:48:0;;93438:6;93453;93461:3;93384:81;;;;;;;;;;;;;-1:-1:-1;;;;;93384:81:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;93384:81:0;93380:206;;93507:51;;-1:-1:-1;;;93507:51:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;93380:206;93619:55;;;93650:10;93619:55;;-1:-1:-1;;;;;93619:55:0;;;;;;;;;;;;;;;;;;;;;;;93708:4;93703:9;;92812:1051;;;93834:5;93829:10;;92812:1051;92600:1418;;;;93993:5;93988:10;;92600:1418;92268:1857;;;92198:1981;-1:-1:-1;94162:5:0;92060:2126;;;;;:::o;43217:177::-;43327:58;;;-1:-1:-1;;;;;43327:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43327:58:0;-1:-1:-1;;;43327:58:0;;;43300:86;;43320:5;;43300:19;:86::i;:::-;43217:177;;;:::o;16192:414::-;16255:4;16277:21;16287:3;16292:5;16277:9;:21::i;:::-;16272:327;;-1:-1:-1;16315:23:0;;;;;;;;:11;:23;;;;;;;;;;;;;16498:18;;16476:19;;;:12;;;:19;;;;;;:40;;;;16531:11;;21456:158;21529:4;21553:53;21561:3;-1:-1:-1;;;;;21581:23:0;;21553:7;:53::i;19080:204::-;19175:18;;19147:7;;19175:26;-1:-1:-1;19167:73:0;;;;-1:-1:-1;;;19167:73:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;19258:3;:11;;19270:5;19258:18;;;;;;;;;;;;;;;;19251:25;;19080:204;;;;:::o;18412:129::-;18485:4;18509:19;;;:12;;;;;:19;;;;;;:24;;;18412:129::o;45522:761::-;45946:23;45972:69;46000:4;45972:69;;;;;;;;;;;;;;;;;45980:5;-1:-1:-1;;;;;45972:27:0;;;:69;;;;;:::i;:::-;46056:17;;45946:95;;-1:-1:-1;46056:21:0;46052:224;;46198:10;46187:30;;;;;;;;;;;;;;;-1:-1:-1;46187:30:0;46179:85;;;;-1:-1:-1;;;46179:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;18627:109;18710:18;;18627:109::o;16782:1544::-;16848:4;16987:19;;;:12;;;:19;;;;;;17023:15;;17019:1300;;17458:18;;-1:-1:-1;;17409:14:0;;;;17458:22;;;;17385:21;;17458:3;;:22;;17745;;;;;;;;;;;;;;17725:42;;17891:9;17862:3;:11;;17874:13;17862:26;;;;;;;;;;;;;;;;;;;:38;;;;17968:23;;;18010:1;17968:12;;;:23;;;;;;17994:17;;;17968:43;;18120:17;;17968:3;;18120:17;;;;;;;;;;;;;;;;;;;;;;18215:3;:12;;:19;18228:5;18215:19;;;;;;;;;;;18208:26;;;18258:4;18251:11;;;;;;;;17019:1300;18302:5;18295:12;;;;;5281:195;5384:12;5416:52;5438:6;5446:4;5452:1;5455:12;5384;6585:18;6596:6;6585:10;:18::i;:::-;6577:60;;;;;-1:-1:-1;;;6577:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;6711:12;6725:23;6752:6;-1:-1:-1;;;;;6752:11:0;6772:5;6780:4;6752:33;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;6752:33:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6710:75;;;;6803:52;6821:7;6830:10;6842:12;6803:17;:52::i;:::-;6796:59;6333:530;-1:-1:-1;;;;;;;6333:530:0:o;2363:422::-;2730:20;2769:8;;;2363:422::o;8873:742::-;8988:12;9017:7;9013:595;;;-1:-1:-1;9048:10:0;9041:17;;9013:595;9162:17;;:21;9158:439;;9425:10;9419:17;9486:15;9473:10;9469:2;9465:19;9458:44;9373:148;9568:12;9561:20;;-1:-1:-1;;;9561:20:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;

Swarm Source

ipfs://1ea87a89f0564007ccb36ba7f65decdb240b70000a2b9dd36947abf9029a6e6f
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A token is a representation of an on-chain or off-chain asset. The token page shows information such as price, total supply, holders, transfers and social links. Learn more about this page in our Knowledge Base.