ETH Price: $3,698.45 (+2.91%)

Contract

0xcba3eAe7f55D0F423AF43cC85E67ab0fBF87B61C
 

Overview

ETH Balance

0.431663643146491394 ETH

Eth Value

$1,596.49 (@ $3,698.45/ETH)

Token Holdings

Amount:Between 1-10k
Reset Filter

Transaction Hash
Method
Block
From
To

There are no matching entries

Update your filters to view other transactions

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block From To
122386732021-04-14 14:06:341326 days ago1618409194
Shyft Network: Old SHFT Token
0.34999999 ETH
122053992021-04-09 11:35:591331 days ago1617968159
Shyft Network: Old SHFT Token
0 ETH
121170352021-03-26 21:16:261345 days ago1616793386
Shyft Network: Old SHFT Token
0.322 ETH
Loading...
Loading

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-03-26
*/

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);
}



interface IShyftCacheGraph {
    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 = 137;

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

    //Ethereum Testnets
    uint256 constant GoerliTokenType = TestNetTokenOffset + 1;
    uint256 constant KovanTokenType = TestNetTokenOffset + 2;
    uint256 constant RinkebyTokenType = TestNetTokenOffset + 3;
    uint256 constant RopstenTokenType = TestNetTokenOffset + 4;

    //Ethereum Classic Testnets
    uint256 constant KottiTokenType = TestNetTokenOffset + 5;

    //Rootstock Testnets
    uint256 constant RootstockTestnetTokenType = TestNetTokenOffset + 6;

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

    //@note:@here:@deploy: need to hardcode NativeTokenType for deploy on various blockchains
//    uint256 constant NativeTokenType = ShyftTokenType;
}
// pragma experimental ABIEncoderV2;








/**
 * @title SafeMath
 * @dev Unsigned math operations with safety checks that revert on error
 */
library SafeMath {
  /**
   * @dev Multiplies two unsigned integers, reverts on overflow.
   */
  function mul(uint256 a, uint256 b) internal pure returns (uint256) {
    // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
    // benefit is lost if 'b' is also tested.
    // See: https://github.com/OpenZeppelin/openzeppelin-solidity/pull/522
    if (a == 0) {
      return 0;
    }

    uint256 c = a * b;
    require(c / a == b);

    return c;
  }

  /**
   * @dev Integer division of two unsigned integers truncating the quotient, reverts on division by zero.
   */
  function div(uint256 a, uint256 b) internal pure returns (uint256) {
    // Solidity only automatically asserts when dividing by 0
    require(b > 0);
    uint256 c = a / b;
    // assert(a == b * c + a % b); // There is no case in which this doesn't hold

    return c;
  }

  /**
   * @dev Subtracts two unsigned integers, reverts on overflow (i.e. if subtrahend is greater than minuend).
   */
  function sub(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b <= a);
    uint256 c = a - b;

    return c;
  }

  /**
   * @dev Adds two unsigned integers, reverts on overflow.
   */
  function add(uint256 a, uint256 b) internal pure returns (uint256) {
    uint256 c = a + b;
    require(c >= a);

    return c;
  }

  /**
   * @dev Divides two unsigned integers and returns the remainder (unsigned integer modulo),
   * reverts when dividing by zero.
   */
  function mod(uint256 a, uint256 b) internal pure returns (uint256) {
    require(b != 0);
    return a % b;
  }
}








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

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

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

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

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

    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 {
    /// @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 a specific shyft smart contract.
    event EVT_WithdrawToShyftKycContract(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 getting an erc223 asset inbound to this contract.
    event EVT_Bip32X_TypeTokenFallback(address msgSender, address _from, uint256 value, uint256 nativeTokenType, uint256 bip32X_type);

    event EVT_TransferAndMintBip32X_type(address contractAddress, address msgSender, uint256 value, uint256 bip32X_type);
    event EVT_TransferAndBurnBip32X_type(address contractAddress, address msgSender, address to, uint256 value, uint256 bip32X_type);

    event EVT_TransferBip32X_type(address msgSender, address to, uint256 value, uint256 bip32X_type);

    /* ERC223 events */
    event EVT_Erc223TokenFallback(address _from, uint256 _value, bytes _data);

    using SafeMath for uint256;

    /// @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 signature for the upgrade event.
    bytes4 shyftKycContractTokenUpgradeSig = bytes4(keccak256("updateShyftToken(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;

    /// @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
    constructor(uint256 _nativeBip32X_type) {
        owner = msg.sender;

        nativeBip32X_type = _nativeBip32X_type;
    }

    /// @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] = _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);

        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));
        if (owner == msg.sender) {
            shyftCacheGraphAddress = _shyftCacheGraphAddress;

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

    //---------------- 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 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() {
        if (locked) revert();
        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);
        require(hasBeenUpdated == false);

        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.

    function setShyftKycContractRegistryAddress(address _addr) public returns (bool) {
        require(msg.sender == owner);

        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][ShyftTokenType];
        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 returns (uint256 balance) {
        return totalSupplyBip32X[_bip32X_type];
    }

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

                // 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();
                }
            } 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();
                }
            }
        } 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();
            }

            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);

        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();
            //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 _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(address(this), 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;
    }

    //---------------- 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 = 60) to the user's wallet.
    /// @notice 30k gas limit for transfers.
    /// @return ok
    ///    | true = tokens withdrawn properly to another erc223 contract
    ///    | 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) {
            uint codeLength;

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

            //makes sure it's sending to a native (non-contract) address
            if (codeLength == 0) {
                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.
    /// @dev Transfers SHFT tokens to another external contract, using Erc223 mechanisms.
    /// @notice 30k gas limit for transfers.
    /// @return ok
    ///    | true = tokens withdrawn properly to another erc223 contract
    ///    | false = the user does not have enough balance, or not a smart contract address

    function withdrawToExternalContract(address _to, uint256 _value) mutex public override returns (bool ok) {
        if (balances[msg.sender][nativeBip32X_type] >= _value) {
            uint codeLength;
//            bytes memory empty;

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

            //makes sure it's sending to a contract address
            if (codeLength == 0) {
                ok = false;
            } else {
                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: 30000}("");

                IErc223ReceivingContract receiver = IErc223ReceivingContract(_to);
                bool fallbackSuccess = receiver.tokenFallback(msg.sender, _value, abi.encodePacked(shyftKycContractSig));

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

                    ok = true;
                } else {
                    //@note:@here: needs revert() due to asset transactions already having occurred
                    revert();
                    //ok = false;
                }

            }
        } else {
            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, 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) {
        if (balances[msg.sender][nativeBip32X_type] >= _value) {
            uint codeLength;

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

            //makes sure it's sending to a contract address
            if (codeLength == 0) {
                // not a smart contract
                ok = false;
            } else {
                balances[msg.sender][nativeBip32X_type] = balances[msg.sender][nativeBip32X_type].sub(_value);
                totalSupplyBip32X[nativeBip32X_type] = totalSupplyBip32X[nativeBip32X_type].sub(_value);

                IShyftKycContract receivingShyftKycContract = IShyftKycContract(_shyftKycContractAddress);

                if (receivingShyftKycContract.getOnlyAcceptsKycInput(_to) == false) {
                    // 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();
                    }

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

                    ok = true;
                } else {
                    // receiver only accepts kyc input
                    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 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 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);


        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) {
            revert("cannot process fallback from Shyft Kyc Contract in this version of Shyft Core");
        }

        uint256 bip32X_type;

        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]))));
        }

        //@note: for token indexing, we use higher range addressable space (256 bit integer).
        // this guarantees practically infinite indexes.
        //@note: using msg.sender in the keccak hash since msg.sender in this case (should) be the
        // contract itself (and allowing this to be passed in, instead of using msg.sender, does not
        // suffice as any contract could then call this fallback.)
        //
        // thus, this fallback will not function properly with abstracted synthetics.
        bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, msg.sender)));
        balances[_from][bip32X_type] = balances[_from][bip32X_type].add(_value);

        emit EVT_Bip32X_TypeTokenFallback(msg.sender, _from, _value, nativeBip32X_type, bip32X_type);
        emit EVT_TransferAndMintBip32X_type(msg.sender, _from, _value, bip32X_type);

        ok = true;

        if (ok == true) {
            emit EVT_Erc223TokenFallback(_from, _value, _data);
        }
    }

    //---------------- ERC 223/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 [ Byfrost ]";
    }

    /// @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 _to The address of the origin.
    /// @param _value The address of the recipient.
    /// @param _data The bytes data of any ERC223 transfer function.
    /// @dev Transfers assets to destination, with ERC223 functionality. (basic ERC223 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, uint _value, bytes memory _data) mutex 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) {
            uint codeLength;

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

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

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


            if (codeLength > 0) {
                IErc223ReceivingContract receiver = IErc223ReceivingContract(_to);
                if (receiver.tokenFallback(msg.sender, _value, _data) == true) {
                    ok = true;
                } else {
                    //@note: must revert() due to asset transactions already having occurred.
                    revert();
                }
            } else {
                ok = true;
            }
        }

        if (ok == true) {
            emit Transfer(msg.sender, _to, _value, _data);
        }
    }

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

            return true;
        } else {
            return false;
        }
    }

    //---------------- Shyft Token Transfer [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_type(address _to, uint256 _value, uint256 _bip32X_type) public returns (bool result) {
        // block transfers if the recipient only allows kyc input
        require(onlyAcceptsKycInput[_to] == false);
        require(balances[msg.sender][_bip32X_type] >= _value);

        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_type(msg.sender, _to, _value, _bip32X_type);
        return true;
    }

    //---------------- Shyft Token Transfer [Erc223] ----------------//

    /// @param _erc223ContractAddress The address of the ERC223 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 ERC223 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 withdrawTokenBip32X_typeToErc223(address _erc223ContractAddress, address _to, uint256 _value) mutex public returns (bool ok) {
        uint256 bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, _erc223ContractAddress)));

        require(balances[msg.sender][bip32X_type] >= _value);

        bytes memory empty;

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

        bytes4 sig = bytes4(keccak256(abi.encodePacked("transfer(address,uint256,bytes)")));
        (bool success, ) = _erc223ContractAddress.call(abi.encodeWithSelector(sig, _to, _value, empty));

        IErc223ReceivingContract receiver = IErc223ReceivingContract(_erc223ContractAddress);
        bool fallbackSuccess = receiver.tokenFallback(msg.sender, _value, empty);

        if (fallbackSuccess == true && success == true) {
            emit EVT_TransferAndBurnBip32X_type(_erc223ContractAddress, msg.sender, _to, _value, bip32X_type);

            ok = true;
        } else {
            //@note: reverts since a transactional event has occurred.
            revert();
        }
    }

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

    /// @param _erc20ContractAddress The address of the ERC20 contract that
    /// @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 transferFromErc20Token(address _erc20ContractAddress, uint256 _value) mutex public returns (bool ok) {
        require(_erc20ContractAddress != address(this));

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

        IErc20 erc20Contract = IErc20(_erc20ContractAddress);

        if (erc20Contract.allowance(msg.sender, address(this)) >= _value) {
            bool transferFromResult = erc20Contract.transferFrom(msg.sender, address(this), _value);

            if (transferFromResult == true) {
                //@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);

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

                //transfer successful
                ok = true;
            } else {
                //@note: reverts since a transactional event has occurred.
                revert();
            }
        } 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 withdrawTokenBip32X_typeToErc20(address _erc20ContractAddress, address _to, uint256 _value) mutex public returns (bool ok) {
        uint256 bip32X_type = uint256(keccak256(abi.encodePacked(nativeBip32X_type, _erc20ContractAddress)));

        require(balances[msg.sender][bip32X_type] >= _value);

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

        bytes4 sig = bytes4(keccak256(abi.encodePacked("transfer(address,uint256)")));
        (bool success, ) = _erc20ContractAddress.call(abi.encodeWithSelector(sig, _to, _value));

        if (success == true) {
            emit EVT_TransferAndBurnBip32X_type(_erc20ContractAddress, msg.sender, _to, _value, bip32X_type);

            ok = true;
        } else {
            //@note: reverts since a transactional event has occurred.
            revert();
        }
    }
}

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":false,"internalType":"address","name":"msgSender","type":"address"},{"indexed":false,"internalType":"address","name":"_from","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"nativeTokenType","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_Bip32X_TypeTokenFallback","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":false,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_TransferAndBurnBip32X_type","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":false,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_TransferAndMintBip32X_type","type":"event"},{"anonymous":false,"inputs":[{"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":false,"internalType":"uint256","name":"bip32X_type","type":"uint256"}],"name":"EVT_TransferBip32X_type","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":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"bytes","name":"data","type":"bytes"}],"name":"Transfer","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":[{"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":"_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":"_who","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","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":[{"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":[],"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":"uint256","name":"_bip32X_type","type":"uint256"}],"name":"getTotalSupplyBip32X","outputs":[{"internalType":"uint256","name":"balance","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hasBeenUpdated","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":"_to","type":"address"}],"name":"migrateFromKycContract","outputs":[{"internalType":"bool","name":"result","type":"bool"}],"stateMutability":"payable","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":"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":"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":[],"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":"bytes","name":"_data","type":"bytes"}],"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_type","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":"_erc20ContractAddress","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"transferFromErc20Token","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":[{"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"}],"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":"withdrawTokenBip32X_typeToErc20","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_erc223ContractAddress","type":"address"},{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"withdrawTokenBip32X_typeToErc223","outputs":[{"internalType":"bool","name":"ok","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

6080604052600880546001600160c01b031916637182510b60a11b17905534801561002957600080fd5b506040516133733803806133738339818101604052602081101561004c57600080fd5b5051600980546001600160a01b03191633179055600a55613301806100726000396000f3fe6080604052600436106102605760003560e01c806392e46a4411610144578063c65454d3116100b6578063dd0660ae1161007a578063dd0660ae14610ca9578063dd62ed3e14610ce2578063e38d4d8314610d1d578063e3db17b814610d6c578063fb3d36d814610d9f578063fced5f1f14610db45761033b565b8063c65454d314610bdf578063ca4a1c5a14610bf4578063d32439db14610c1e578063d9992d5714610c33578063d9f66db114610c765761033b565b8063a9059cbb11610108578063a9059cbb14610967578063bc804f5a146109a0578063bcbca736146109e3578063be45fd6214610a1c578063c01044a814610ae4578063c0ee0b8a14610b175761033b565b806392e46a44146108bf57806395d89b41146108d4578063989d8813146108e9578063a02d4b9914610928578063a0dc05b31461093d5761033b565b806318160ddd116101dd5780634f430c34116101a15780634f430c34146107ad5780636aedaec3146107ec57806370a082311461082f5780637eb629861461086257806387fb0ffb146108775780638da5cb5b146108aa5761033b565b806318160ddd146106e657806323b872dd1461070d578063246f8b9614610750578063313ce56714610765578063461496491461077a5761033b565b80630cb35ea8116102245780630cb35ea81461060e57806313a4d9351461063a578063155edcb914610673578063160abcac1461068857806317d3003a146106d15761033b565b806302f61800146104a157806306f1c5c3146104cd57806306fdde03146104fe57806307b18bde14610588578063095ea7b3146105d55761033b565b3661033b57600654610100900460ff16801561028b57503360009081526003602052604090205460ff165b156103cc57333014610347573360009081526004602052604090205460ff16156102b457600080fd5b336000908152600160209081526040808320600a805485529083528184208054908590559054845291839052909120546102ee9082610dda565b600a54600090815260208190526040812091909155600654610329906201000090046001600160a01b0316336103248534610df4565b610e0d565b90506001811515141561033b57610340565b600080fd5b50506103c7565b326000908152600160209081526040808320600a805485529083528184208054908590559054845291839052909120546103819082610dda565b600a546000908152602081905260408120919091556006546103b7906201000090046001600160a01b0316326103248534610df4565b90506001811515141561033b5750505b61049f565b3330148015906103f057503360009081526004602052604090205460ff1615156001145b156103fa57600080fd5b336000908152600160209081526040808320600a5484529091529020546104219034610df4565b336000908152600160209081526040808320600a80548552908352818420949094559254825281905220546104569034610df4565b600a5460009081526020818152604091829020929092558051348152905133927feb92c82ded67a099742c5479f26f1cb9fd8b1017debef7e55b531a63b0678706928290030190a25b005b3480156104ad57600080fd5b5061049f600480360360208110156104c457600080fd5b50351515610f14565b3480156104d957600080fd5b506104e2610f34565b604080516001600160a01b039092168252519081900360200190f35b34801561050a57600080fd5b50610513610f43565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561054d578181015183820152602001610535565b50505050905090810190601f16801561057a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561059457600080fd5b506105c1600480360360408110156105ab57600080fd5b506001600160a01b038135169060200135610f6f565b604080519115158252519081900360200190f35b3480156105e157600080fd5b506105c1600480360360408110156105f857600080fd5b506001600160a01b0381351690602001356110cf565b34801561061a57600080fd5b506105c16004803603602081101561063157600080fd5b5035151561113f565b34801561064657600080fd5b506105c16004803603604081101561065d57600080fd5b506001600160a01b038135169060200135611182565b34801561067f57600080fd5b506105c16113c5565b34801561069457600080fd5b506106bb600480360360208110156106ab57600080fd5b50356001600160a01b0316611407565b6040805160ff9092168252519081900360200190f35b3480156106dd57600080fd5b506106bb611452565b3480156106f257600080fd5b506106fb61149c565b60408051918252519081900360200190f35b34801561071957600080fd5b506105c16004803603606081101561073057600080fd5b506001600160a01b038135811691602081013590911690604001356114ae565b34801561075c57600080fd5b506105c161167f565b34801561077157600080fd5b506106bb6116af565b34801561078657600080fd5b506105c16004803603602081101561079d57600080fd5b50356001600160a01b03166116b4565b3480156107b957600080fd5b506105c1600480360360608110156107d057600080fd5b506001600160a01b0381351690602081013590604001356116f3565b3480156107f857600080fd5b506105c16004803603606081101561080f57600080fd5b506001600160a01b0381358116916020810135909116906040013561181c565b34801561083b57600080fd5b506106fb6004803603602081101561085257600080fd5b50356001600160a01b0316611a77565b34801561086e57600080fd5b506104e2611a9f565b34801561088357600080fd5b506105c16004803603602081101561089a57600080fd5b50356001600160a01b0316611aae565b3480156108b657600080fd5b506104e2611acc565b3480156108cb57600080fd5b506104e2611adb565b3480156108e057600080fd5b50610513611af0565b3480156108f557600080fd5b506106bb6004803603606081101561090c57600080fd5b50803590602081013590604001356001600160a01b0316611b0e565b34801561093457600080fd5b506106fb611b8d565b34801561094957600080fd5b506106fb6004803603602081101561096057600080fd5b5035611b93565b34801561097357600080fd5b506105c16004803603604081101561098a57600080fd5b506001600160a01b038135169060200135611ba5565b3480156109ac57600080fd5b506105c1600480360360608110156109c357600080fd5b506001600160a01b03813581169160208101359091169060400135611ccc565b3480156109ef57600080fd5b506106fb60048036036040811015610a0657600080fd5b506001600160a01b0381351690602001356120ab565b348015610a2857600080fd5b506105c160048036036060811015610a3f57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610a6f57600080fd5b820183602082011115610a8157600080fd5b80359060200191846001830284011164010000000083111715610aa357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506120d3945050505050565b348015610af057600080fd5b506105c160048036036020811015610b0757600080fd5b50356001600160a01b0316612391565b348015610b2357600080fd5b506105c160048036036060811015610b3a57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610b6a57600080fd5b820183602082011115610b7c57600080fd5b80359060200191846001830284011164010000000083111715610b9e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506123af945050505050565b348015610beb57600080fd5b506105c161276b565b348015610c0057600080fd5b506106fb60048036036020811015610c1757600080fd5b5035612779565b348015610c2a57600080fd5b506105c1612835565b348015610c3f57600080fd5b506105c160048036036060811015610c5657600080fd5b506001600160a01b03813581169160208101359091169060400135612845565b348015610c8257600080fd5b506106fb60048036036020811015610c9957600080fd5b50356001600160a01b0316612a7c565b348015610cb557600080fd5b506105c160048036036040811015610ccc57600080fd5b506001600160a01b038135169060200135612aaa565b348015610cee57600080fd5b506106fb60048036036040811015610d0557600080fd5b506001600160a01b0381358116916020013516612d45565b348015610d2957600080fd5b506106bb600480360360a0811015610d4057600080fd5b506001600160a01b03813516906020810135906040810135906060810135151590608001351515612d7a565b348015610d7857600080fd5b506105c160048036036020811015610d8f57600080fd5b50356001600160a01b0316612f51565b348015610dab57600080fd5b506105c1612fb8565b6105c160048036036020811015610dca57600080fd5b50356001600160a01b0316612fc8565b600082821115610de957600080fd5b508082035b92915050565b600082820183811015610e0657600080fd5b9392505050565b600654604080516001600160a01b03620100009093048316803182526020820185905282516000949193878316939289169285927ffa917f8a36493643467cfffaadf46bd81954c63721283e6e5e147683a26a23c6929181900390910190a46000816001600160a01b031663fced5f1f85620186a090886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b158015610ec257600080fd5b5088f1158015610ed6573d6000803e3d6000fd5b5050505050506040513d6020811015610eee57600080fd5b5051905060018115151415610f0857600192505050610e06565b50600095945050505050565b336000908152600360205260409020805460ff1916911515919091179055565b6008546001600160a01b031681565b6040805180820190915260118152705368796674205b20427966726f7374205d60781b60208201525b90565b60065460009060ff1615610f8257600080fd5b6006805460ff1916600190811790915533600090815260209182526040808220600a548352909252205482116110bb57823b806110b057336000908152600160209081526040808320600a548452909152902054610fe09084610dda565b336000908152600160209081526040808320600a80548552908352818420949094559254825281905220546110159084610dda565b600a546000908152602081905260408082209290925590516001600160a01b0386169185156108fc02918691818181858888f1935050505015801561105e573d6000803e3d6000fd5b50604080513381526001600160a01b038616602082015280820185905290517f442f59271decdd708646c141272baa09d03c6f831aa19363239743105ecaf8d49181900360600190a1600191506110b5565b600091505b506110bf565b5060005b6006805460ff1916905592915050565b3360008181526002602090815260408083206001600160a01b038716808552908352818420611cad85528352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b3360009081526005602052604081205460ff166111795750336000908152600460205260409020805460ff1916821515179055600161117d565b5060005b919050565b60065460009060ff161561119557600080fd5b6006805460ff191660011790556001600160a01b0383163014156111b857600080fd5b3360009081526004602052604090205460ff16156111d557600080fd5b60408051636eb1769f60e11b81523360048201523060248201529051849184916001600160a01b0384169163dd62ed3e916044808301926020929190829003018186803b15801561122557600080fd5b505afa158015611239573d6000803e3d6000fd5b505050506040513d602081101561124f57600080fd5b5051106113b457604080516323b872dd60e01b81523360048201523060248201526044810185905290516000916001600160a01b038416916323b872dd9160648082019260209290919082900301818787803b1580156112ae57600080fd5b505af11580156112c2573d6000803e3d6000fd5b505050506040513d60208110156112d857600080fd5b505190506001811515141561033b57600a54604080516020808201939093526001600160601b0319606089901b16818301528151603481830301815260549091018252805190830120336000908152600184528281208282529093529120546113419086610df4565b3360008181526001602090815260408083208684528252918290209390935580516001600160a01b038a1681529283019190915281810187905260608201839052517f14199c6685f8c284290bf8ed968c57daafbfa067b251d6505610183c4a64ea179181900360800190a16001935050505b506006805460ff1916905592915050565b3360009081526005602052604081205460ff166113ff5750336000908152600560205260409020805460ff19166001908117909155610f6c565b506000610f6c565b60006001600160a01b03821661141c57600080fd5b6009546001600160a01b03163314156111795750600880546001600160a01b0319166001600160a01b038316179055600161117d565b6009546000906001600160a01b03163314156113ff57600854600160c81b900460ff1661149457506008805460ff60c81b1916600160c81b1790556002610f6c565b506001610f6c565b60006114a9611cad611b93565b905090565b6001600160a01b03821660009081526004602052604081205460ff1615801561150457506001600160a01b03841660009081526002602090815260408083203384528252808320611cad84529091529020548211155b801561153557506001600160a01b0384166000908152600160209081526040808320611cad84529091529020548211155b15611677576001600160a01b03841660009081526002602090815260408083203384528252808320611cad84529091529020546115729083610dda565b6001600160a01b03851660008181526002602090815260408083203384528252808320611cad8085529083528184209590955592825260018152828220938252929092529020546115c39083610dda565b6001600160a01b038086166000908152600160208181526040808420611cad8086529083528185209690965593881683529081528282209382529290925290205461160e9083610df4565b6001600160a01b038085166000818152600160209081526040808320611cad845282529182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001610e06565b506000610e06565b6009546000906001600160a01b0316331461169957600080fd5b50600980546001600160a01b0319169055600190565b601290565b6009546000906001600160a01b031633146116ce57600080fd5b50600780546001600160a01b0383166001600160a01b03199091161790556001919050565b6001600160a01b03831660009081526004602052604081205460ff161561171957600080fd5b33600090815260016020908152604080832085845290915290205483111561174057600080fd5b3360009081526001602090815260408083208584529091529020546117659084610dda565b3360009081526001602081815260408084208785528252808420949094556001600160a01b0388168352908152828220858352905220546117a69084610df4565b6001600160a01b03851660008181526001602090815260408083208784528252918290209390935580513381529283019190915281810185905260608201849052517f843059d2ca7c2c51bca8441ad3c5be35e8f96b711261676adc77dffe263859c29181900360800190a15060019392505050565b60065460009060ff161561182f57600080fd5b6006805460ff19166001908117909155600a54604080516020808201939093526001600160601b0319606089901b168183015281516034818303018152605490910182528051908301203360009081529383528184208185529092529091205483111561189b57600080fd5b3360009081526001602090815260408083208484529091529020546118c09084610dda565b33600090815260016020908152604080832085845282528083209390935582517f7472616e7366657228616464726573732c75696e74323536290000000000000081830152835180820360190181526039820185528051908301206001600160a01b03898116605d840152607d8084018a905286518085039091018152609d909301865292820180516001600160e01b03166001600160e01b03198316178152945182519195938b169390918291908083835b602083106119925780518252601f199092019160209182019101611973565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146119f4576040519150601f19603f3d011682016040523d82523d6000602084013e6119f9565b606091505b50909150506001811515141561033b57604080516001600160a01b03808a168252336020830152881681830152606081018790526080810185905290517fa5cad00f6cd43f46392bc0d304ca28391cc0d3353c7a962e3da3d5dd0687a7839181900360a00190a150506006805460ff19169055506001949350505050565b6001600160a01b03166000908152600160209081526040808320611cad845290915290205490565b6007546001600160a01b031681565b6001600160a01b031660009081526004602052604090205460ff1690565b6009546001600160a01b031681565b6006546201000090046001600160a01b031681565b60408051808201909152600481526314d2119560e21b602082015290565b6009546000906001600160a01b031633141561167757600854600160c81b900460ff16611b8557506008805460ff60c81b1960ff60c01b19909116600160c01b1716600160c81b1790556001600160a01b038116600090815260016020908152604080832085845290915290208390556002610e06565b506001610e06565b600a5490565b60009081526020819052604090205490565b6001600160a01b03821660009081526004602052604081205460ff16158015611bea5750336000908152600160209081526040808320611cad84529091529020548211155b15611cc457336000908152600160209081526040808320611cad8452909152902054611c169083610dda565b336000908152600160208181526040808420611cad808652908352818520959095556001600160a01b0388168452918152818320938352929092522054611c5d9083610df4565b6001600160a01b0384166000818152600160209081526040808320611cad84528252918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001610dee565b506000610dee565b60065460009060ff1615611cdf57600080fd5b6006805460ff19166001908117909155600a54604080516020808201939093526001600160601b0319606089901b1681830152815160348183030181526054909101825280519083012033600090815293835281842081855290925290912054831115611d4b57600080fd5b336000908152600160209081526040808320848452909152902054606090611d739085610dda565b33600090815260016020908152604080832086845282528083209390935582517f7472616e7366657228616464726573732c75696e743235362c62797465732900818301528351808203601f018152603f82019094528351938201939093206001600160a01b0389811660638601908152608386018a9052606060a38701908152875160c388015287519396928d169487948d948d948b949093909260e390920191908501908083838d5b83811015611e36578181015183820152602001611e1e565b50505050905090810190601f168015611e635780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990991698909817885251815191979096508695509350915081905083835b60208310611ec95780518252601f199092019160209182019101611eaa565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611f2b576040519150601f19603f3d011682016040523d82523d6000602084013e611f30565b606091505b505060405163607705c560e11b81523360048201818152602483018a90526060604484019081528751606485015287519495508c946000946001600160a01b0387169463c0ee0b8a9490938e938c936084019060208501908083838d5b83811015611fa5578181015183820152602001611f8d565b50505050905090810190601f168015611fd25780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015611ff357600080fd5b505af1158015612007573d6000803e3d6000fd5b505050506040513d602081101561201d57600080fd5b50519050600181151514801561203557506001831515145b1561033b57604080516001600160a01b03808d1682523360208301528b1681830152606081018a90526080810188905290517fa5cad00f6cd43f46392bc0d304ca28391cc0d3353c7a962e3da3d5dd0687a7839181900360a00190a150506006805460ff19169055506001979650505050505050565b6001600160a01b03919091166000908152600160209081526040808320938352929052205490565b60065460009060ff16156120e657600080fd5b6006805460ff191660011790556001600160a01b03841660009081526004602052604090205460ff161580156121385750336000908152600160209081526040808320611cad84529091529020548311155b156122dd57336000908152600160209081526040808320611cad8452909152902054843b906121679085610dda565b336000908152600160208181526040808420611cad808652908352818520959095556001600160a01b038a1684529181528183209383529290925220546121ae9085610df4565b6001600160a01b0386166000908152600160209081526040808320611cad845290915290205580156122d65760405163607705c560e11b815233600482018181526024830187905260606044840190815286516064850152865189946001600160a01b0386169463c0ee0b8a9490938b938b9360840190602085019080838360005b83811015612248578181015183820152602001612230565b50505050905090810190601f1680156122755780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561229657600080fd5b505af11580156122aa573d6000803e3d6000fd5b505050506040513d60208110156122c057600080fd5b505115156001141561033b5760019250506122db565b600191505b505b6001811515141561238057816040518082805190602001908083835b602083106123185780518252601f1990920191602091820191016122f9565b51815160209384036101000a60001901801990921691161790526040805192909401829003822089835293519395506001600160a01b038a16945033937fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c169350918290030190a45b6006805460ff191690559392505050565b6001600160a01b031660009081526005602052604090205460ff1690565b60065460009060ff16156123c257600080fd5b6006805460ff191660011790556001600160a01b03841660009081526004602052604090205460ff16156123f557600080fd5b6007546001600160a01b03168015801590612483575060408051630487e9b760e41b815233600482015290516001600160a01b0383169163487e9b70916024808301926020929190829003018186803b15801561245157600080fd5b505afa158015612465573d6000803e3d6000fd5b505050506040513d602081101561247b57600080fd5b505115156001145b156124bf5760405162461bcd60e51b815260040180806020018281038252604d81526020018061327f604d913960600191505060405180910390fd5b600080600485511061258057846000815181106124d857fe5b602001015160f81c60f81b6001600160f81b03191660e01c6008866001815181106124ff57fe5b016020015187516001600160f81b031990911690911c60e01c906010908890600290811061252957fe5b016020015188516001600160f81b031990911690911c60e01c906018908990600390811061255357fe5b602001015160f81c60f81b6001600160f81b0319166001600160e01b031916901c60e01c01010160e01b90505b600a54604080516020808201939093523360601b8183015281516034818303018152605490910182528051908301206001600160a01b038a166000908152600184528281208282529093529120549092506125db9087610df4565b6001600160a01b038816600081815260016020908152604080832087845282529182902093909355600a54815133815293840192909252828101899052606083019190915260808201849052517fd29c9c1edf8b9220246362c1b491f78a99a0b16914c5940aa7187d38328e3e5e9181900360a00190a1604080513381526001600160a01b03891660208201528082018890526060810184905290517f14199c6685f8c284290bf8ed968c57daafbfa067b251d6505610183c4a64ea179181900360800190a1600193507fcb28d23b9b47350cc324953920d36be23cb21648fd8e65e9fc444fd726562dd487878760405180846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561271b578181015183820152602001612703565b50505050905090810190601f1680156127485780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150506006805460ff19169055509392505050565b600654610100900460ff1681565b60065460009060ff161561278c57600080fd5b6006805460ff191660019081179182905561010090910460ff161515141561282257336000908152600160209081526040808320600a548452909152902054821161281957336000818152600360205260408120805460ff19166001179055906127f890309085612845565b90506001811515141561280e5760039150612813565b600291505b5061281d565b5060015b612826565b5060005b6006805460ff19169055919050565b600854600160c81b900460ff1681565b60065460009060ff161561285857600080fd5b6006805460ff1916600190811790915533600090815260209182526040808220600a54835290925220548211612a6857833b806128985760009150612a62565b336000908152600160209081526040808320600a5484529091529020546128bf9084610dda565b336000908152600160209081526040808320600a80548552908352818420949094559254825281905220546128f49084610dda565b600a54600090815260208181526040918290209290925580516387fb0ffb60e01b81526001600160a01b03878116600483015291518893928416926387fb0ffb9260248082019391829003018186803b15801561295057600080fd5b505afa158015612964573d6000803e3d6000fd5b505050506040513d602081101561297a57600080fd5b5051612a5b57806001600160a01b031663fced5f1f6201d4c086886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b1580156129d357600080fd5b5088f11580156129e7573d6000803e3d6000fd5b5050505050506040513d60208110156129ff57600080fd5b5051612a0a57600080fd5b604080513381526001600160a01b038716602082015280820186905290517f68434ca28a3fbf4e499cad0131f6418189d48b362a6d0109f633ff6dc93b4e5e9181900360600190a160019250612a60565b600092505b505b50612380565b5060006006805460ff191690559392505050565b336000908152600160209081526040808320611cad8452909152812054612aa38382610f6f565b5092915050565b60065460009060ff1615612abd57600080fd5b6006805460ff1916600190811790915533600090815260209182526040808220600a548352909252205482116110bb57823b80612afd57600091506110b5565b336000908152600160209081526040808320600a548452909152902054612b249084610dda565b336000908152600160209081526040808320600a8054855290835281842094909455925482528190522054612b599084610dda565b600a546000908152602081905260408082209290925590516001600160a01b0386169061753090869084818181858888f193505050503d8060008114612bbb576040519150601f19603f3d011682016040523d82523d6000602084013e612bc0565b606091505b505060408051633d2cc23f60e21b60208083019190915282518083036004018152602483019384905263607705c560e11b9093523360288301818152604884018a90526060606885019081528551608886015285519697508b966000966001600160a01b0389169663c0ee0b8a968e959294929360a890920191908501908083838d5b83811015612c5b578181015183820152602001612c43565b50505050905090810190601f168015612c885780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015612ca957600080fd5b505af1158015612cbd573d6000803e3d6000fd5b505050506040513d6020811015612cd357600080fd5b505190506001831515148015612ceb57506001811515145b1561033b57604080513381526001600160a01b038916602082015280820188905290517f7ef890cc5c54793e049a0ab68ef15df470197800624f8951d63953148d8f5f2f9181900360600190a160019450505050506110bf565b6001600160a01b039182166000908152600260209081526040808320939094168252918252828120611cad8252909152205490565b3360009081526001602090815260408083208684529091528120548511610f08576001600160a01b03861660009081526004602052604090205460ff161580612ded57506001600160a01b03861660009081526004602052604090205460ff1615156001148015612ded57506001831515145b15612f445760085460408051634a32bffb60e01b81523360048201526001600160a01b0389811660248301526044820189905260648201889052861515608483015285151560a4830152915191909216916000918391634a32bffb9160c480830192602092919082900301818787803b158015612e6957600080fd5b505af1158015612e7d573d6000803e3d6000fd5b505050506040513d6020811015612e9357600080fd5b50519050600360ff82161415612f3957336000908152600160209081526040808320898452909152902054612ec89088610dda565b3360009081526001602081815260408084208b85528252808420949094556001600160a01b038c16835290815282822089835290522054612f099088610df4565b6001600160a01b03891660009081526001602090815260408083208a84529091529020555060039150612f489050565b600292505050612f48565b5060015b95945050505050565b6007546000906001600160a01b03163314612f6b57600080fd5b600654610100900460ff1615612f8057600080fd5b50600680546001600160a01b038316620100000262010000600160b01b031961ff001990921661010017919091161790556001919050565b600854600160c01b900460ff1681565b600a546000908152602081905260408120544790612fe69034610df4565b1115612ff157600080fd5b60075460408051630487e9b760e41b815233600482015290516001926001600160a01b031691829163487e9b7091602480820192602092909190829003018186803b15801561303f57600080fd5b505afa158015613053573d6000803e3d6000fd5b505050506040513d602081101561306957600080fd5b50516130785760009150613167565b6040805163963beef560e01b815230600482015290516001600160a01b0383169163963beef5916024808301926020929190829003018186803b1580156130be57600080fd5b505afa1580156130d2573d6000803e3d6000fd5b505050506040513d60208110156130e857600080fd5b50516040805163963beef560e01b815233600482015290516001600160a01b0384169163963beef5916024808301926020929190829003018186803b15801561313057600080fd5b505afa158015613144573d6000803e3d6000fd5b505050506040513d602081101561315a57600080fd5b5051111561316757600091505b6001600160a01b03841660009081526004602052604090205460ff1615156001141561319257600091505b6001821515141561033b57600a546000908152602081815260409182902054825190815234918101919091524781830152905133917fe0efa0cee03191c262a79324c1d94257307c4c792a29d94c805c33ae749f9997919081900360600190a26001600160a01b0384166000908152600160209081526040808320600a5484529091529020546132229034610df4565b6001600160a01b0385166000908152600160209081526040808320600a80548552908352818420949094559254825281905220546132609034610df4565b600a54600090815260208190526040902055506001915061117d905056fe63616e6e6f742070726f636573732066616c6c6261636b2066726f6d205368796674204b796320436f6e747261637420696e20746869732076657273696f6e206f6620536879667420436f7265a26469706673582212204ba2ec6caee90bbd4feedfeed32fe28ab68a9b76a53073229d2b0aa5f9daa2fe64736f6c634300070100330000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x6080604052600436106102605760003560e01c806392e46a4411610144578063c65454d3116100b6578063dd0660ae1161007a578063dd0660ae14610ca9578063dd62ed3e14610ce2578063e38d4d8314610d1d578063e3db17b814610d6c578063fb3d36d814610d9f578063fced5f1f14610db45761033b565b8063c65454d314610bdf578063ca4a1c5a14610bf4578063d32439db14610c1e578063d9992d5714610c33578063d9f66db114610c765761033b565b8063a9059cbb11610108578063a9059cbb14610967578063bc804f5a146109a0578063bcbca736146109e3578063be45fd6214610a1c578063c01044a814610ae4578063c0ee0b8a14610b175761033b565b806392e46a44146108bf57806395d89b41146108d4578063989d8813146108e9578063a02d4b9914610928578063a0dc05b31461093d5761033b565b806318160ddd116101dd5780634f430c34116101a15780634f430c34146107ad5780636aedaec3146107ec57806370a082311461082f5780637eb629861461086257806387fb0ffb146108775780638da5cb5b146108aa5761033b565b806318160ddd146106e657806323b872dd1461070d578063246f8b9614610750578063313ce56714610765578063461496491461077a5761033b565b80630cb35ea8116102245780630cb35ea81461060e57806313a4d9351461063a578063155edcb914610673578063160abcac1461068857806317d3003a146106d15761033b565b806302f61800146104a157806306f1c5c3146104cd57806306fdde03146104fe57806307b18bde14610588578063095ea7b3146105d55761033b565b3661033b57600654610100900460ff16801561028b57503360009081526003602052604090205460ff165b156103cc57333014610347573360009081526004602052604090205460ff16156102b457600080fd5b336000908152600160209081526040808320600a805485529083528184208054908590559054845291839052909120546102ee9082610dda565b600a54600090815260208190526040812091909155600654610329906201000090046001600160a01b0316336103248534610df4565b610e0d565b90506001811515141561033b57610340565b600080fd5b50506103c7565b326000908152600160209081526040808320600a805485529083528184208054908590559054845291839052909120546103819082610dda565b600a546000908152602081905260408120919091556006546103b7906201000090046001600160a01b0316326103248534610df4565b90506001811515141561033b5750505b61049f565b3330148015906103f057503360009081526004602052604090205460ff1615156001145b156103fa57600080fd5b336000908152600160209081526040808320600a5484529091529020546104219034610df4565b336000908152600160209081526040808320600a80548552908352818420949094559254825281905220546104569034610df4565b600a5460009081526020818152604091829020929092558051348152905133927feb92c82ded67a099742c5479f26f1cb9fd8b1017debef7e55b531a63b0678706928290030190a25b005b3480156104ad57600080fd5b5061049f600480360360208110156104c457600080fd5b50351515610f14565b3480156104d957600080fd5b506104e2610f34565b604080516001600160a01b039092168252519081900360200190f35b34801561050a57600080fd5b50610513610f43565b6040805160208082528351818301528351919283929083019185019080838360005b8381101561054d578181015183820152602001610535565b50505050905090810190601f16801561057a5780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b34801561059457600080fd5b506105c1600480360360408110156105ab57600080fd5b506001600160a01b038135169060200135610f6f565b604080519115158252519081900360200190f35b3480156105e157600080fd5b506105c1600480360360408110156105f857600080fd5b506001600160a01b0381351690602001356110cf565b34801561061a57600080fd5b506105c16004803603602081101561063157600080fd5b5035151561113f565b34801561064657600080fd5b506105c16004803603604081101561065d57600080fd5b506001600160a01b038135169060200135611182565b34801561067f57600080fd5b506105c16113c5565b34801561069457600080fd5b506106bb600480360360208110156106ab57600080fd5b50356001600160a01b0316611407565b6040805160ff9092168252519081900360200190f35b3480156106dd57600080fd5b506106bb611452565b3480156106f257600080fd5b506106fb61149c565b60408051918252519081900360200190f35b34801561071957600080fd5b506105c16004803603606081101561073057600080fd5b506001600160a01b038135811691602081013590911690604001356114ae565b34801561075c57600080fd5b506105c161167f565b34801561077157600080fd5b506106bb6116af565b34801561078657600080fd5b506105c16004803603602081101561079d57600080fd5b50356001600160a01b03166116b4565b3480156107b957600080fd5b506105c1600480360360608110156107d057600080fd5b506001600160a01b0381351690602081013590604001356116f3565b3480156107f857600080fd5b506105c16004803603606081101561080f57600080fd5b506001600160a01b0381358116916020810135909116906040013561181c565b34801561083b57600080fd5b506106fb6004803603602081101561085257600080fd5b50356001600160a01b0316611a77565b34801561086e57600080fd5b506104e2611a9f565b34801561088357600080fd5b506105c16004803603602081101561089a57600080fd5b50356001600160a01b0316611aae565b3480156108b657600080fd5b506104e2611acc565b3480156108cb57600080fd5b506104e2611adb565b3480156108e057600080fd5b50610513611af0565b3480156108f557600080fd5b506106bb6004803603606081101561090c57600080fd5b50803590602081013590604001356001600160a01b0316611b0e565b34801561093457600080fd5b506106fb611b8d565b34801561094957600080fd5b506106fb6004803603602081101561096057600080fd5b5035611b93565b34801561097357600080fd5b506105c16004803603604081101561098a57600080fd5b506001600160a01b038135169060200135611ba5565b3480156109ac57600080fd5b506105c1600480360360608110156109c357600080fd5b506001600160a01b03813581169160208101359091169060400135611ccc565b3480156109ef57600080fd5b506106fb60048036036040811015610a0657600080fd5b506001600160a01b0381351690602001356120ab565b348015610a2857600080fd5b506105c160048036036060811015610a3f57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610a6f57600080fd5b820183602082011115610a8157600080fd5b80359060200191846001830284011164010000000083111715610aa357600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506120d3945050505050565b348015610af057600080fd5b506105c160048036036020811015610b0757600080fd5b50356001600160a01b0316612391565b348015610b2357600080fd5b506105c160048036036060811015610b3a57600080fd5b6001600160a01b0382351691602081013591810190606081016040820135640100000000811115610b6a57600080fd5b820183602082011115610b7c57600080fd5b80359060200191846001830284011164010000000083111715610b9e57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506123af945050505050565b348015610beb57600080fd5b506105c161276b565b348015610c0057600080fd5b506106fb60048036036020811015610c1757600080fd5b5035612779565b348015610c2a57600080fd5b506105c1612835565b348015610c3f57600080fd5b506105c160048036036060811015610c5657600080fd5b506001600160a01b03813581169160208101359091169060400135612845565b348015610c8257600080fd5b506106fb60048036036020811015610c9957600080fd5b50356001600160a01b0316612a7c565b348015610cb557600080fd5b506105c160048036036040811015610ccc57600080fd5b506001600160a01b038135169060200135612aaa565b348015610cee57600080fd5b506106fb60048036036040811015610d0557600080fd5b506001600160a01b0381358116916020013516612d45565b348015610d2957600080fd5b506106bb600480360360a0811015610d4057600080fd5b506001600160a01b03813516906020810135906040810135906060810135151590608001351515612d7a565b348015610d7857600080fd5b506105c160048036036020811015610d8f57600080fd5b50356001600160a01b0316612f51565b348015610dab57600080fd5b506105c1612fb8565b6105c160048036036020811015610dca57600080fd5b50356001600160a01b0316612fc8565b600082821115610de957600080fd5b508082035b92915050565b600082820183811015610e0657600080fd5b9392505050565b600654604080516001600160a01b03620100009093048316803182526020820185905282516000949193878316939289169285927ffa917f8a36493643467cfffaadf46bd81954c63721283e6e5e147683a26a23c6929181900390910190a46000816001600160a01b031663fced5f1f85620186a090886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b158015610ec257600080fd5b5088f1158015610ed6573d6000803e3d6000fd5b5050505050506040513d6020811015610eee57600080fd5b5051905060018115151415610f0857600192505050610e06565b50600095945050505050565b336000908152600360205260409020805460ff1916911515919091179055565b6008546001600160a01b031681565b6040805180820190915260118152705368796674205b20427966726f7374205d60781b60208201525b90565b60065460009060ff1615610f8257600080fd5b6006805460ff1916600190811790915533600090815260209182526040808220600a548352909252205482116110bb57823b806110b057336000908152600160209081526040808320600a548452909152902054610fe09084610dda565b336000908152600160209081526040808320600a80548552908352818420949094559254825281905220546110159084610dda565b600a546000908152602081905260408082209290925590516001600160a01b0386169185156108fc02918691818181858888f1935050505015801561105e573d6000803e3d6000fd5b50604080513381526001600160a01b038616602082015280820185905290517f442f59271decdd708646c141272baa09d03c6f831aa19363239743105ecaf8d49181900360600190a1600191506110b5565b600091505b506110bf565b5060005b6006805460ff1916905592915050565b3360008181526002602090815260408083206001600160a01b038716808552908352818420611cad85528352818420869055815186815291519394909390927f8c5be1e5ebec7d5bd14f71427d1e84f3dd0314c0f7b2291e5b200ac8c7c3b925928290030190a350600192915050565b3360009081526005602052604081205460ff166111795750336000908152600460205260409020805460ff1916821515179055600161117d565b5060005b919050565b60065460009060ff161561119557600080fd5b6006805460ff191660011790556001600160a01b0383163014156111b857600080fd5b3360009081526004602052604090205460ff16156111d557600080fd5b60408051636eb1769f60e11b81523360048201523060248201529051849184916001600160a01b0384169163dd62ed3e916044808301926020929190829003018186803b15801561122557600080fd5b505afa158015611239573d6000803e3d6000fd5b505050506040513d602081101561124f57600080fd5b5051106113b457604080516323b872dd60e01b81523360048201523060248201526044810185905290516000916001600160a01b038416916323b872dd9160648082019260209290919082900301818787803b1580156112ae57600080fd5b505af11580156112c2573d6000803e3d6000fd5b505050506040513d60208110156112d857600080fd5b505190506001811515141561033b57600a54604080516020808201939093526001600160601b0319606089901b16818301528151603481830301815260549091018252805190830120336000908152600184528281208282529093529120546113419086610df4565b3360008181526001602090815260408083208684528252918290209390935580516001600160a01b038a1681529283019190915281810187905260608201839052517f14199c6685f8c284290bf8ed968c57daafbfa067b251d6505610183c4a64ea179181900360800190a16001935050505b506006805460ff1916905592915050565b3360009081526005602052604081205460ff166113ff5750336000908152600560205260409020805460ff19166001908117909155610f6c565b506000610f6c565b60006001600160a01b03821661141c57600080fd5b6009546001600160a01b03163314156111795750600880546001600160a01b0319166001600160a01b038316179055600161117d565b6009546000906001600160a01b03163314156113ff57600854600160c81b900460ff1661149457506008805460ff60c81b1916600160c81b1790556002610f6c565b506001610f6c565b60006114a9611cad611b93565b905090565b6001600160a01b03821660009081526004602052604081205460ff1615801561150457506001600160a01b03841660009081526002602090815260408083203384528252808320611cad84529091529020548211155b801561153557506001600160a01b0384166000908152600160209081526040808320611cad84529091529020548211155b15611677576001600160a01b03841660009081526002602090815260408083203384528252808320611cad84529091529020546115729083610dda565b6001600160a01b03851660008181526002602090815260408083203384528252808320611cad8085529083528184209590955592825260018152828220938252929092529020546115c39083610dda565b6001600160a01b038086166000908152600160208181526040808420611cad8086529083528185209690965593881683529081528282209382529290925290205461160e9083610df4565b6001600160a01b038085166000818152600160209081526040808320611cad845282529182902094909455805186815290519193928816927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef92918290030190a3506001610e06565b506000610e06565b6009546000906001600160a01b0316331461169957600080fd5b50600980546001600160a01b0319169055600190565b601290565b6009546000906001600160a01b031633146116ce57600080fd5b50600780546001600160a01b0383166001600160a01b03199091161790556001919050565b6001600160a01b03831660009081526004602052604081205460ff161561171957600080fd5b33600090815260016020908152604080832085845290915290205483111561174057600080fd5b3360009081526001602090815260408083208584529091529020546117659084610dda565b3360009081526001602081815260408084208785528252808420949094556001600160a01b0388168352908152828220858352905220546117a69084610df4565b6001600160a01b03851660008181526001602090815260408083208784528252918290209390935580513381529283019190915281810185905260608201849052517f843059d2ca7c2c51bca8441ad3c5be35e8f96b711261676adc77dffe263859c29181900360800190a15060019392505050565b60065460009060ff161561182f57600080fd5b6006805460ff19166001908117909155600a54604080516020808201939093526001600160601b0319606089901b168183015281516034818303018152605490910182528051908301203360009081529383528184208185529092529091205483111561189b57600080fd5b3360009081526001602090815260408083208484529091529020546118c09084610dda565b33600090815260016020908152604080832085845282528083209390935582517f7472616e7366657228616464726573732c75696e74323536290000000000000081830152835180820360190181526039820185528051908301206001600160a01b03898116605d840152607d8084018a905286518085039091018152609d909301865292820180516001600160e01b03166001600160e01b03198316178152945182519195938b169390918291908083835b602083106119925780518252601f199092019160209182019101611973565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d80600081146119f4576040519150601f19603f3d011682016040523d82523d6000602084013e6119f9565b606091505b50909150506001811515141561033b57604080516001600160a01b03808a168252336020830152881681830152606081018790526080810185905290517fa5cad00f6cd43f46392bc0d304ca28391cc0d3353c7a962e3da3d5dd0687a7839181900360a00190a150506006805460ff19169055506001949350505050565b6001600160a01b03166000908152600160209081526040808320611cad845290915290205490565b6007546001600160a01b031681565b6001600160a01b031660009081526004602052604090205460ff1690565b6009546001600160a01b031681565b6006546201000090046001600160a01b031681565b60408051808201909152600481526314d2119560e21b602082015290565b6009546000906001600160a01b031633141561167757600854600160c81b900460ff16611b8557506008805460ff60c81b1960ff60c01b19909116600160c01b1716600160c81b1790556001600160a01b038116600090815260016020908152604080832085845290915290208390556002610e06565b506001610e06565b600a5490565b60009081526020819052604090205490565b6001600160a01b03821660009081526004602052604081205460ff16158015611bea5750336000908152600160209081526040808320611cad84529091529020548211155b15611cc457336000908152600160209081526040808320611cad8452909152902054611c169083610dda565b336000908152600160208181526040808420611cad808652908352818520959095556001600160a01b0388168452918152818320938352929092522054611c5d9083610df4565b6001600160a01b0384166000818152600160209081526040808320611cad84528252918290209390935580518581529051919233927fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef9281900390910190a3506001610dee565b506000610dee565b60065460009060ff1615611cdf57600080fd5b6006805460ff19166001908117909155600a54604080516020808201939093526001600160601b0319606089901b1681830152815160348183030181526054909101825280519083012033600090815293835281842081855290925290912054831115611d4b57600080fd5b336000908152600160209081526040808320848452909152902054606090611d739085610dda565b33600090815260016020908152604080832086845282528083209390935582517f7472616e7366657228616464726573732c75696e743235362c62797465732900818301528351808203601f018152603f82019094528351938201939093206001600160a01b0389811660638601908152608386018a9052606060a38701908152875160c388015287519396928d169487948d948d948b949093909260e390920191908501908083838d5b83811015611e36578181015183820152602001611e1e565b50505050905090810190601f168015611e635780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990991698909817885251815191979096508695509350915081905083835b60208310611ec95780518252601f199092019160209182019101611eaa565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611f2b576040519150601f19603f3d011682016040523d82523d6000602084013e611f30565b606091505b505060405163607705c560e11b81523360048201818152602483018a90526060604484019081528751606485015287519495508c946000946001600160a01b0387169463c0ee0b8a9490938e938c936084019060208501908083838d5b83811015611fa5578181015183820152602001611f8d565b50505050905090810190601f168015611fd25780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015611ff357600080fd5b505af1158015612007573d6000803e3d6000fd5b505050506040513d602081101561201d57600080fd5b50519050600181151514801561203557506001831515145b1561033b57604080516001600160a01b03808d1682523360208301528b1681830152606081018a90526080810188905290517fa5cad00f6cd43f46392bc0d304ca28391cc0d3353c7a962e3da3d5dd0687a7839181900360a00190a150506006805460ff19169055506001979650505050505050565b6001600160a01b03919091166000908152600160209081526040808320938352929052205490565b60065460009060ff16156120e657600080fd5b6006805460ff191660011790556001600160a01b03841660009081526004602052604090205460ff161580156121385750336000908152600160209081526040808320611cad84529091529020548311155b156122dd57336000908152600160209081526040808320611cad8452909152902054843b906121679085610dda565b336000908152600160208181526040808420611cad808652908352818520959095556001600160a01b038a1684529181528183209383529290925220546121ae9085610df4565b6001600160a01b0386166000908152600160209081526040808320611cad845290915290205580156122d65760405163607705c560e11b815233600482018181526024830187905260606044840190815286516064850152865189946001600160a01b0386169463c0ee0b8a9490938b938b9360840190602085019080838360005b83811015612248578181015183820152602001612230565b50505050905090810190601f1680156122755780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b15801561229657600080fd5b505af11580156122aa573d6000803e3d6000fd5b505050506040513d60208110156122c057600080fd5b505115156001141561033b5760019250506122db565b600191505b505b6001811515141561238057816040518082805190602001908083835b602083106123185780518252601f1990920191602091820191016122f9565b51815160209384036101000a60001901801990921691161790526040805192909401829003822089835293519395506001600160a01b038a16945033937fe19260aff97b920c7df27010903aeb9c8d2be5d310a2c67824cf3f15396e4c169350918290030190a45b6006805460ff191690559392505050565b6001600160a01b031660009081526005602052604090205460ff1690565b60065460009060ff16156123c257600080fd5b6006805460ff191660011790556001600160a01b03841660009081526004602052604090205460ff16156123f557600080fd5b6007546001600160a01b03168015801590612483575060408051630487e9b760e41b815233600482015290516001600160a01b0383169163487e9b70916024808301926020929190829003018186803b15801561245157600080fd5b505afa158015612465573d6000803e3d6000fd5b505050506040513d602081101561247b57600080fd5b505115156001145b156124bf5760405162461bcd60e51b815260040180806020018281038252604d81526020018061327f604d913960600191505060405180910390fd5b600080600485511061258057846000815181106124d857fe5b602001015160f81c60f81b6001600160f81b03191660e01c6008866001815181106124ff57fe5b016020015187516001600160f81b031990911690911c60e01c906010908890600290811061252957fe5b016020015188516001600160f81b031990911690911c60e01c906018908990600390811061255357fe5b602001015160f81c60f81b6001600160f81b0319166001600160e01b031916901c60e01c01010160e01b90505b600a54604080516020808201939093523360601b8183015281516034818303018152605490910182528051908301206001600160a01b038a166000908152600184528281208282529093529120549092506125db9087610df4565b6001600160a01b038816600081815260016020908152604080832087845282529182902093909355600a54815133815293840192909252828101899052606083019190915260808201849052517fd29c9c1edf8b9220246362c1b491f78a99a0b16914c5940aa7187d38328e3e5e9181900360a00190a1604080513381526001600160a01b03891660208201528082018890526060810184905290517f14199c6685f8c284290bf8ed968c57daafbfa067b251d6505610183c4a64ea179181900360800190a1600193507fcb28d23b9b47350cc324953920d36be23cb21648fd8e65e9fc444fd726562dd487878760405180846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561271b578181015183820152602001612703565b50505050905090810190601f1680156127485780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a150506006805460ff19169055509392505050565b600654610100900460ff1681565b60065460009060ff161561278c57600080fd5b6006805460ff191660019081179182905561010090910460ff161515141561282257336000908152600160209081526040808320600a548452909152902054821161281957336000818152600360205260408120805460ff19166001179055906127f890309085612845565b90506001811515141561280e5760039150612813565b600291505b5061281d565b5060015b612826565b5060005b6006805460ff19169055919050565b600854600160c81b900460ff1681565b60065460009060ff161561285857600080fd5b6006805460ff1916600190811790915533600090815260209182526040808220600a54835290925220548211612a6857833b806128985760009150612a62565b336000908152600160209081526040808320600a5484529091529020546128bf9084610dda565b336000908152600160209081526040808320600a80548552908352818420949094559254825281905220546128f49084610dda565b600a54600090815260208181526040918290209290925580516387fb0ffb60e01b81526001600160a01b03878116600483015291518893928416926387fb0ffb9260248082019391829003018186803b15801561295057600080fd5b505afa158015612964573d6000803e3d6000fd5b505050506040513d602081101561297a57600080fd5b5051612a5b57806001600160a01b031663fced5f1f6201d4c086886040518463ffffffff1660e01b815260040180826001600160a01b031681526020019150506020604051808303818589803b1580156129d357600080fd5b5088f11580156129e7573d6000803e3d6000fd5b5050505050506040513d60208110156129ff57600080fd5b5051612a0a57600080fd5b604080513381526001600160a01b038716602082015280820186905290517f68434ca28a3fbf4e499cad0131f6418189d48b362a6d0109f633ff6dc93b4e5e9181900360600190a160019250612a60565b600092505b505b50612380565b5060006006805460ff191690559392505050565b336000908152600160209081526040808320611cad8452909152812054612aa38382610f6f565b5092915050565b60065460009060ff1615612abd57600080fd5b6006805460ff1916600190811790915533600090815260209182526040808220600a548352909252205482116110bb57823b80612afd57600091506110b5565b336000908152600160209081526040808320600a548452909152902054612b249084610dda565b336000908152600160209081526040808320600a8054855290835281842094909455925482528190522054612b599084610dda565b600a546000908152602081905260408082209290925590516001600160a01b0386169061753090869084818181858888f193505050503d8060008114612bbb576040519150601f19603f3d011682016040523d82523d6000602084013e612bc0565b606091505b505060408051633d2cc23f60e21b60208083019190915282518083036004018152602483019384905263607705c560e11b9093523360288301818152604884018a90526060606885019081528551608886015285519697508b966000966001600160a01b0389169663c0ee0b8a968e959294929360a890920191908501908083838d5b83811015612c5b578181015183820152602001612c43565b50505050905090810190601f168015612c885780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015612ca957600080fd5b505af1158015612cbd573d6000803e3d6000fd5b505050506040513d6020811015612cd357600080fd5b505190506001831515148015612ceb57506001811515145b1561033b57604080513381526001600160a01b038916602082015280820188905290517f7ef890cc5c54793e049a0ab68ef15df470197800624f8951d63953148d8f5f2f9181900360600190a160019450505050506110bf565b6001600160a01b039182166000908152600260209081526040808320939094168252918252828120611cad8252909152205490565b3360009081526001602090815260408083208684529091528120548511610f08576001600160a01b03861660009081526004602052604090205460ff161580612ded57506001600160a01b03861660009081526004602052604090205460ff1615156001148015612ded57506001831515145b15612f445760085460408051634a32bffb60e01b81523360048201526001600160a01b0389811660248301526044820189905260648201889052861515608483015285151560a4830152915191909216916000918391634a32bffb9160c480830192602092919082900301818787803b158015612e6957600080fd5b505af1158015612e7d573d6000803e3d6000fd5b505050506040513d6020811015612e9357600080fd5b50519050600360ff82161415612f3957336000908152600160209081526040808320898452909152902054612ec89088610dda565b3360009081526001602081815260408084208b85528252808420949094556001600160a01b038c16835290815282822089835290522054612f099088610df4565b6001600160a01b03891660009081526001602090815260408083208a84529091529020555060039150612f489050565b600292505050612f48565b5060015b95945050505050565b6007546000906001600160a01b03163314612f6b57600080fd5b600654610100900460ff1615612f8057600080fd5b50600680546001600160a01b038316620100000262010000600160b01b031961ff001990921661010017919091161790556001919050565b600854600160c01b900460ff1681565b600a546000908152602081905260408120544790612fe69034610df4565b1115612ff157600080fd5b60075460408051630487e9b760e41b815233600482015290516001926001600160a01b031691829163487e9b7091602480820192602092909190829003018186803b15801561303f57600080fd5b505afa158015613053573d6000803e3d6000fd5b505050506040513d602081101561306957600080fd5b50516130785760009150613167565b6040805163963beef560e01b815230600482015290516001600160a01b0383169163963beef5916024808301926020929190829003018186803b1580156130be57600080fd5b505afa1580156130d2573d6000803e3d6000fd5b505050506040513d60208110156130e857600080fd5b50516040805163963beef560e01b815233600482015290516001600160a01b0384169163963beef5916024808301926020929190829003018186803b15801561313057600080fd5b505afa158015613144573d6000803e3d6000fd5b505050506040513d602081101561315a57600080fd5b5051111561316757600091505b6001600160a01b03841660009081526004602052604090205460ff1615156001141561319257600091505b6001821515141561033b57600a546000908152602081815260409182902054825190815234918101919091524781830152905133917fe0efa0cee03191c262a79324c1d94257307c4c792a29d94c805c33ae749f9997919081900360600190a26001600160a01b0384166000908152600160209081526040808320600a5484529091529020546132229034610df4565b6001600160a01b0385166000908152600160209081526040808320600a80548552908352818420949094559254825281905220546132609034610df4565b600a54600090815260208190526040902055506001915061117d905056fe63616e6e6f742070726f636573732066616c6c6261636b2066726f6d205368796674204b796320436f6e747261637420696e20746869732076657273696f6e206f6620536879667420436f7265a26469706673582212204ba2ec6caee90bbd4feedfeed32fe28ab68a9b76a53073229d2b0aa5f9daa2fe64736f6c63430007010033

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

12580:51176:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;28440:14;;;;;;;:48;;;;-1:-1:-1;28477:10:0;28458:30;;;;:18;:30;;;;;;;;28440:48;28436:3663;;;28929:10;28951:4;28929:27;28925:2506;;29106:10;29086:31;;;;:19;:31;;;;;;;;:40;29078:49;;;;;;29238:10;29197:29;29229:20;;;:8;:20;;;;;;;;29250:17;;;29229:39;;;;;;;;;;29289:43;;;;29408:17;;29390:36;;;;;;;;;;:63;;29229:39;29390:40;:63::i;:::-;29369:17;;29351;:36;;;;;;;;;;:102;;;;29713:30;;29692:102;;29713:30;;;-1:-1:-1;;;;;29713:30:0;29745:10;29757:36;:21;29783:9;29757:25;:36::i;:::-;29692:20;:102::i;:::-;29667:127;-1:-1:-1;29840:4:0;29819:25;;;;29815:190;;;;;;29977:8;;;29815:190;28925:2506;;;;;30650:9;30609:29;30641:19;;;:8;:19;;;;;;;;30661:17;;;30641:38;;;;;;;;;;30700:42;;;;30818:17;;30800:36;;;;;;;;;;:63;;30641:38;30800:40;:63::i;:::-;30779:17;;30761;:36;;;;;;;;;;:102;;;;31125:30;;31104:101;;31125:30;;;-1:-1:-1;;;;;31125:30:0;31157:9;31168:36;:21;31194:9;31168:25;:36::i;31104:101::-;31079:126;-1:-1:-1;31251:4:0;31230:25;;;;31226:190;;;28925:2506;;;28436:3663;;;31685:10;31707:4;31685:27;;;;:70;;-1:-1:-1;31736:10:0;31716:31;;;;:19;:31;;;;;;;;:39;;:31;:39;31685:70;31681:119;;;31776:8;;;31681:119;31867:10;31858:20;;;;:8;:20;;;;;;;;31879:17;;31858:39;;;;;;;;:54;;31902:9;31858:43;:54::i;:::-;31825:10;31816:20;;;;:8;:20;;;;;;;;31837:17;;;31816:39;;;;;;;;:96;;;;31984:17;;31966:36;;;;;;;:51;;32007:9;31966:40;:51::i;:::-;31945:17;;31927;:36;;;;;;;;;;;;:90;;;;32039:48;;32077:9;32039:48;;;;32065:10;;32039:48;;;;;;;;28436:3663;12580:51176;41698:114;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41698:114:0;;;;:::i;15818:50::-;;;;;;;;;;;;;:::i;:::-;;;;-1:-1:-1;;;;;15818:50:0;;;;;;;;;;;;;;51285:103;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42426:1225;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;42426:1225:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;55727:463;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55727:463:0;;;;;;;;:::i;37505:462::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37505:462:0;;;;:::i;60710:1626::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;60710:1626:0;;;;;;;;:::i;38181:412::-;;;;;;;;;;;;;:::i;21436:411::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;21436:411:0;-1:-1:-1;;;;;21436:411:0;;:::i;:::-;;;;;;;;;;;;;;;;;;;20119:446;;;;;;;;;;;;;:::i;51963:131::-;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;56646:786;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;56646:786:0;;;;;;;;;;;;;;;;;:::i;20997:145::-;;;;;;;;;;;;;:::i;51759:86::-;;;;;;;;;;;;;:::i;26360:202::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26360:202:0;-1:-1:-1;;;;;26360:202:0;;:::i;57942:579::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;57942:579:0;;;;;;;;;;;;;:::i;62860:893::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;62860:893:0;;;;;;;;;;;;;;;;;:::i;51071:125::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;51071:125:0;-1:-1:-1;;;;;51071:125:0;;:::i;15702:46::-;;;;;;;;;;;;;:::i;38797:168::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38797:168:0;-1:-1:-1;;;;;38797:168:0;;:::i;16565:20::-;;;;;;;;;;;;;:::i;15588:45::-;;;;;;;;;;;;;:::i;51491:142::-;;;;;;;;;;;;;:::i;19176:626::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;19176:626:0;;;;;;;;;;;-1:-1:-1;;;;;19176:626:0;;:::i;17233:119::-;;;;;;;;;;;;;:::i;27783:147::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;27783:147:0;;:::i;52499:608::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52499:608:0;;;;;;;;:::i;59123:1149::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;59123:1149:0;;;;;;;;;;;;;;;;;:::i;27370:191::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;27370:191:0;;;;;;;;:::i;53584:1281::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;53584:1281:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;53584:1281:0;;-1:-1:-1;53584:1281:0;;-1:-1:-1;;;;;53584:1281:0:i;39233:194::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39233:194:0;-1:-1:-1;;;;;39233:194:0;;:::i;48655:2163::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;48655:2163:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;48655:2163:0;;-1:-1:-1;48655:2163:0;;-1:-1:-1;;;;;48655:2163:0:i;15488:26::-;;;;;;;;;;;;;:::i;40278:1047::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40278:1047:0;;:::i;16486:28::-;;;;;;;;;;;;;:::i;46343:1773::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;46343:1773:0;;;;;;;;;;;;;;;;;:::i;26868:195::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26868:195:0;-1:-1:-1;;;;;26868:195:0;;:::i;44113:1661::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;44113:1661:0;;;;;;;;:::i;55185:175::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;55185:175:0;;;;;;;;;;:::i;23618:1442::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;23618:1442:0;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;25752:291::-;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;25752:291:0;-1:-1:-1;;;;;25752:291:0;;:::i;16391:25::-;;;;;;;;;;;;;:::i;34190:2996::-;;;;;;;;;;;;;;;;-1:-1:-1;34190:2996:0;-1:-1:-1;;;;;34190:2996:0;;:::i;7947:136::-;8005:7;8034:1;8029;:6;;8021:15;;;;;;-1:-1:-1;8055:5:0;;;7947:136;;;;;:::o;8163:::-;8221:7;8249:5;;;8269:6;;;;8261:15;;;;;;8292:1;8163:136;-1:-1:-1;;;8163:136:0:o;32600:985::-;32893:30;;32942:140;;;-1:-1:-1;;;;;32893:30:0;;;;;;32999:47;;32942:140;;;;;;;;;;32707:11;;32893:30;;32942:140;;;;;;;;32893:30;;32942:140;;;;;;;;;;;33283:19;33305:18;-1:-1:-1;;;;;33305:41:0;;33354:7;33368:6;33305:75;33376:3;33305:75;;;;;;;;;;;;;-1:-1:-1;;;;;33305:75:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;33305:75:0;;-1:-1:-1;33415:4:0;33397:22;;;;33393:185;;;33476:4;33469:11;;;;;;33393:185;-1:-1:-1;33561:5:0;;32600:985;-1:-1:-1;;;;;32600:985:0:o;41698:114::-;41778:10;41759:30;;;;:18;:30;;;;;:45;;-1:-1:-1;;41759:45:0;;;;;;;;;;41698:114::o;15818:50::-;;;-1:-1:-1;;;;;15818:50:0;;:::o;51285:103::-;51354:26;;;;;;;;;;;;-1:-1:-1;;;51354:26:0;;;;51285:103;;:::o;42426:1225::-;25318:6;;42518:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;;;;42551:10:::1;25345:6:::0;42542:20;;;::::1;::::0;;;;;;;42563:17:::1;::::0;42542:39;;;;;;;:49;-1:-1:-1;42538:1106:0::1;;42766:16:::0;::::1;42891:15:::0;42887:703:::1;;42978:10;42969:20;::::0;;;:8:::1;:20;::::0;;;;;;;42990:17:::1;::::0;42969:39;;;;;;;;:51:::1;::::0;43013:6;42969:43:::1;:51::i;:::-;42936:10;42927:20;::::0;;;:8:::1;:20;::::0;;;;;;;42948:17:::1;::::0;;42927:39;;;;;;;;:93;;;;43096:17;;43078:36;;;;;;;:48:::1;::::0;43119:6;43078:40:::1;:48::i;:::-;43057:17;::::0;43039::::1;:36:::0;;;::::1;::::0;;;;;;;:87;;;;43403:20;;-1:-1:-1;;;;;43403:12:0;::::1;::::0;:20;::::1;;;::::0;43416:6;;43403:20;43039:17;43403:20;43416:6;43403:12;:20;::::1;;;;;;;;;;;;;::::0;::::1;;;;;-1:-1:-1::0;43449:46:0::1;::::0;;43471:10:::1;43449:46:::0;;-1:-1:-1;;;;;43449:46:0;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;::::1;43519:4;43514:9;;42887:703;;;43569:5;43564:10;;42887:703;42538:1106;;;;-1:-1:-1::0;43627:5:0::1;42538:1106;25381:6:::0;:14;;-1:-1:-1;;25381:14:0;;;42426:1225;;-1:-1:-1;;42426:1225:0:o;55727:463::-;55834:10;55801:12;55826:19;;;:7;:19;;;;;;;;-1:-1:-1;;;;;55826:29:0;;;;;;;;;;;5691:4;55826:45;;;;;;;:55;;;56119:39;;;;;;;55801:12;;55826:29;;55834:10;;56119:39;;;;;;;;-1:-1:-1;56178:4:0;55727:463;;;;:::o;37505:462::-;37648:10;37585:11;37613:46;;;:34;:46;;;;;;;;37609:351;;-1:-1:-1;37705:10:0;37685:31;;;;:19;:31;;;;;:59;;-1:-1:-1;;37685:59:0;;;;;;;-1:-1:-1;37804:11:0;;37609:351;-1:-1:-1;37943:5:0;37609:351;37505:462;;;:::o;60710:1626::-;25318:6;;60811:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;-1:-1:-1;;;;;60839:38:0;::::1;60872:4;60839:38;;60831:47;;;::::0;::::1;;61007:10;60987:31;::::0;;;:19:::1;:31;::::0;;;;;::::1;;:40;60979:49;;;::::0;::::1;;61110:50;::::0;;-1:-1:-1;;;61110:50:0;;61134:10:::1;61110:50;::::0;::::1;::::0;61154:4:::1;61110:50:::0;;;;;;61071:21;;61164:6;;-1:-1:-1;;;;;61110:23:0;::::1;::::0;::::1;::::0;:50;;;;;::::1;::::0;;;;;;;;:23;:50;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61110:50:0;:60:::1;61106:1223;;61213:61;::::0;;-1:-1:-1;;;61213:61:0;;61240:10:::1;61213:61;::::0;::::1;::::0;61260:4:::1;61213:61:::0;;;;;;;;;;;;61187:23:::1;::::0;-1:-1:-1;;;;;61213:26:0;::::1;::::0;::::1;::::0;:61;;;;;::::1;::::0;;;;;;;;;61187:23;61213:26;:61;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;61213:61:0;;-1:-1:-1;61317:4:0::1;61295:26:::0;::::1;;;61291:973;;;61799:17;::::0;61782:58:::1;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;61782:58:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;61772:69;;;;::::1;::::0;61906:10:::1;61742:19;61897:20:::0;;;:8:::1;:20:::0;;;;;:33;;;;;;;;;:45:::1;::::0;61935:6;61897:37:::1;:45::i;:::-;61870:10;61861:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;;:81;;;;61968:86;;-1:-1:-1;;;;;61968:86:0;::::1;::::0;;;;::::1;::::0;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;::::1;62119:4;62114:9;;61291:973;61106:1223;;-1:-1:-1::0;25381:6:0;:14;;-1:-1:-1;;25381:14:0;;;60710:1626;;-1:-1:-1;;60710:1626:0:o;38181:412::-;38309:10;38246:11;38274:46;;;:34;:46;;;;;;;;38270:316;;-1:-1:-1;38381:10:0;38346:46;;;;:34;:46;;;;;:53;;-1:-1:-1;;38346:53:0;38395:4;38346:53;;;;;;38462:11;;38270:316;-1:-1:-1;38569:5:0;38562:12;;21436:411;21520:12;-1:-1:-1;;;;;21553:37:0;;21545:46;;;;;;21606:5;;-1:-1:-1;;;;;21606:5:0;21615:10;21606:19;21602:238;;;-1:-1:-1;21642:22:0;:48;;-1:-1:-1;;;;;;21642:48:0;-1:-1:-1;;;;;21642:48:0;;;;;-1:-1:-1;21754:8:0;;20119:446;20207:5;;20164:12;;-1:-1:-1;;;;;20207:5:0;20193:10;:19;20189:369;;;20233:16;;-1:-1:-1;;;20233:16:0;;;;20229:252;;-1:-1:-1;20279:16:0;:23;;-1:-1:-1;;;;20279:23:0;-1:-1:-1;;;20279:23:0;;;20369:1;20362:8;;20229:252;-1:-1:-1;20464:1:0;20457:8;;51963:131;52016:14;52050:36;5691:4;52050:20;:36::i;:::-;52043:43;;51963:131;:::o;56646:786::-;-1:-1:-1;;;;;56852:24:0;;56735:12;56852:24;;;:19;:24;;;;;;;;:33;;;:90;;-1:-1:-1;;;;;;56889:14:0;;;;;;:7;:14;;;;;;;;56904:10;56889:26;;;;;;;5691:4;56889:42;;;;;;;;:53;-1:-1:-1;56889:53:0;56852:90;:136;;;;-1:-1:-1;;;;;;56946:15:0;;;;;;:8;:15;;;;;;;;5691:4;56946:31;;;;;;;;:42;-1:-1:-1;56946:42:0;56852:136;56848:577;;;-1:-1:-1;;;;;57050:14:0;;;;;;:7;:14;;;;;;;;57065:10;57050:26;;;;;;;5691:4;57050:42;;;;;;;;:55;;57097:7;57050:46;:55::i;:::-;-1:-1:-1;;;;;57005:14:0;;;;;;:7;:14;;;;;;;;57020:10;57005:26;;;;;;;5691:4;57005:42;;;;;;;;;:100;;;;57156:15;;;:8;:15;;;;;:31;;;;;;;;;;:44;;57192:7;57156:35;:44::i;:::-;-1:-1:-1;;;;;57122:15:0;;;;;;;:8;:15;;;;;;;;5691:4;57122:31;;;;;;;;;:78;;;;57247:13;;;;;;;;;;;:29;;;;;;;;;;:42;;57281:7;57247:33;:42::i;:::-;-1:-1:-1;;;;;57215:13:0;;;;;;;:8;:13;;;;;;;;5691:4;57215:29;;;;;;;;:74;;;;57311:29;;;;;;;57215:13;;57311:29;;;;;;;;;;;;;-1:-1:-1;57364:4:0;57357:11;;56848:577;-1:-1:-1;57408:5:0;57401:12;;20997:145;21075:5;;21036:4;;-1:-1:-1;;;;;21075:5:0;21061:10;:19;21053:28;;;;;;-1:-1:-1;21094:5:0;:18;;-1:-1:-1;;;;;;21094:18:0;;;;20997:145;:::o;51759:86::-;51835:2;51759:86;:::o;26360:202::-;26474:5;;26435:4;;-1:-1:-1;;;;;26474:5:0;26460:10;:19;26452:28;;;;;;-1:-1:-1;26493:31:0;:39;;-1:-1:-1;;;;;26493:39:0;;-1:-1:-1;;;;;;26493:39:0;;;;;;;26360:202;;;:::o;57942:579::-;-1:-1:-1;;;;;58137:24:0;;58038:11;58137:24;;;:19;:24;;;;;;;;:33;58129:42;;;;;;58199:10;58190:20;;;;:8;:20;;;;;;;;:34;;;;;;;;;:44;-1:-1:-1;58190:44:0;58182:53;;;;;;58294:10;58285:20;;;;:8;:20;;;;;;;;:34;;;;;;;;;:46;;58324:6;58285:38;:46::i;:::-;58257:10;58248:20;;;;:8;:20;;;;;;;;:34;;;;;;;;:83;;;;-1:-1:-1;;;;;58372:13:0;;;;;;;;;;:27;;;;;;;:39;;58404:6;58372:31;:39::i;:::-;-1:-1:-1;;;;;58342:13:0;;;;;;:8;:13;;;;;;;;:27;;;;;;;;;:69;;;;58429:62;;58453:10;58429:62;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;58509:4:0;57942:579;;;;;:::o;62860:893::-;25318:6;;62983:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;;;;63060:17:::1;::::0;63043:58:::1;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;63043:58:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;63033:69;;;;::::1;::::0;63133:10:::1;25345:6:::0;63124:20;;;;;;;;;:33;;;;;;;;;;:43;-1:-1:-1;63124:43:0::1;63116:52;;;::::0;::::1;;63226:10;63217:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;;:45:::1;::::0;63255:6;63217:37:::1;:45::i;:::-;63190:10;63181:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;:81;;;;63305:45;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;63295:56;;;;::::1;::::0;-1:-1:-1;;;;;63409:40:0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;-1:-1:-1;;;;;63409:40:0::1;-1:-1:-1::0;;;;;;63409:40:0;::::1;;::::0;;63382:68;;;;63295:56;;63382:26;;::::1;::::0;:68;;;;63409:40;63382:68;;63409:40;63382:68:::1;;;;;;::::0;;;;-1:-1:-1;;63382:68:0;;;;::::1;::::0;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;63363:87:0;;-1:-1:-1;;63478:4:0::1;63467:15:::0;::::1;;;63463:283;;;63504:91;::::0;;-1:-1:-1;;;;;63504:91:0;;::::1;::::0;;63558:10:::1;63504:91;::::0;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;;25381:6:0;:14;;-1:-1:-1;;25381:14:0;;;-1:-1:-1;63617:4:0::1;::::0;62860:893;-1:-1:-1;;;;62860:893:0:o;51071:125::-;-1:-1:-1;;;;;51158:14:0;51134:4;51158:14;;;:8;:14;;;;;;;;5691:4;51158:30;;;;;;;;;51071:125::o;15702:46::-;;;-1:-1:-1;;;;;15702:46:0;;:::o;38797:168::-;-1:-1:-1;;;;;38918:39:0;38887:11;38918:39;;;:19;:39;;;;;;;;;38797:168::o;16565:20::-;;;-1:-1:-1;;;;;16565:20:0;;:::o;15588:45::-;;;;;;-1:-1:-1;;;;;15588:45:0;;:::o;51491:142::-;51612:13;;;;;;;;;;;;-1:-1:-1;;;51612:13:0;;;;51491:142;:::o;19176:626::-;19337:5;;19294:12;;-1:-1:-1;;;;;19337:5:0;19323:10;:19;19319:476;;;19363:16;;-1:-1:-1;;;19363:16:0;;;;19359:359;;-1:-1:-1;19409:13:0;:20;;-1:-1:-1;;;;;;;;19409:20:0;;;-1:-1:-1;;;19409:20:0;19448:23;-1:-1:-1;;;19448:23:0;;;-1:-1:-1;;;;;19492:31:0;;19409:20;19492:31;;;19425:4;19492:31;;;;;;;;:45;;;;;;;;:60;;;19621:1;19614:8;;19359:359;-1:-1:-1;19701:1:0;19694:8;;17233:119;17327:17;;17233:119;:::o;27783:147::-;27856:15;27891:31;;;;;;;;;;;;27783:147::o;52499:608::-;-1:-1:-1;;;;;52683:24:0;;52571:7;52683:24;;;:19;:24;;;;;;;;:33;;;:83;;-1:-1:-1;52729:10:0;52720:20;;;;:8;:20;;;;;;;;5691:4;52720:36;;;;;;;;:46;-1:-1:-1;52720:46:0;52683:83;52679:421;;;52831:10;52822:20;;;;:8;:20;;;;;;;;5691:4;52822:36;;;;;;;;:48;;52863:6;52822:40;:48::i;:::-;52792:10;52783:20;;;;:8;:20;;;;;;;;5691:4;52783:36;;;;;;;;;:87;;;;-1:-1:-1;;;;;52919:13:0;;;;;;;;;;:29;;;;;;;;;:41;;52953:6;52919:33;:41::i;:::-;-1:-1:-1;;;;;52887:13:0;;;;;;:8;:13;;;;;;;;5691:4;52887:29;;;;;;;;:73;;;;52982:33;;;;;;;52887:13;;52991:10;;52982:33;;;;;;;;;;-1:-1:-1;53039:4:0;53032:11;;52679:421;-1:-1:-1;53083:5:0;53076:12;;59123:1149;25318:6;;59248:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;;;;59325:17:::1;::::0;59308:59:::1;::::0;;::::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;59308:59:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;59298:70;;;;::::1;::::0;59399:10:::1;25345:6:::0;59390:20;;;;;;;;;:33;;;;;;;;;;:43;-1:-1:-1;59390:43:0::1;59382:52;;;::::0;::::1;;59523:10;59514:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;;59447:18:::1;::::0;59514:45:::1;::::0;59552:6;59514:37:::1;:45::i;:::-;59487:10;59478:20;::::0;;;:8:::1;:20;::::0;;;;;;;:33;;;;;;;;:81;;;;59602:51;;::::1;::::0;;::::1;::::0;;;;;;::::1;::::0;;;;;;;;;59592:62;;;;::::1;::::0;;;;-1:-1:-1;;;;;59713:47:0;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;;;;59592:62;;59685:27;;::::1;::::0;59592:62;;59741:3;;59746:6;;59754:5;;59713:47;;;;;;;;;;;::::1;::::0;;;;59478:20;59713:47:::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;59713:47:0::1;::::0;;-1:-1:-1;;59713:47:0;;::::1;::::0;;;;;;::::1;::::0;::::1;::::0;;-1:-1:-1;;;;;59713:47:0::1;-1:-1:-1::0;;;;;;59713:47:0;;::::1;::::0;;;::::1;::::0;;59685:76;;;59713:47;;59685:76;;-1:-1:-1;59685:76:0;;-1:-1:-1;59713:47:0;-1:-1:-1;59685:76:0;-1:-1:-1;59685:76:0;;-1:-1:-1;59685:76:0;59713:47;59685:76:::1;;;;;;::::0;;;;-1:-1:-1;;59685:76:0;;;;::::1;::::0;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;59892:49:0::1;::::0;-1:-1:-1;;;59892:49:0;;59915:10:::1;59892:49;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;59666:95;;-1:-1:-1;59835:22:0;;59774:33:::1;::::0;-1:-1:-1;;;;;59892:22:0;::::1;::::0;::::1;::::0;59915:10;;59927:6;;59935:5;;59892:49;;;::::1;::::0;::::1;::::0;;;;59774:33;59892:49:::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;59892:49:0;;-1:-1:-1;59977:4:0::1;59958:23:::0;::::1;;;:42:::0;::::1;;;-1:-1:-1::0;59996:4:0::1;59985:15:::0;::::1;;;59958:42;59954:311;;;60022:92;::::0;;-1:-1:-1;;;;;60022:92:0;;::::1;::::0;;60077:10:::1;60022:92;::::0;::::1;::::0;;::::1;::::0;;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;::::1;-1:-1:-1::0;;25381:6:0;:14;;-1:-1:-1;;25381:14:0;;;-1:-1:-1;60136:4:0::1;::::0;59123:1149;-1:-1:-1;;;;;;;59123:1149:0:o;27370:191::-;-1:-1:-1;;;;;27511:28:0;;;;27476:15;27511:28;;;:8;:28;;;;;;;;:42;;;;;;;;;27370:191::o;53584:1281::-;25318:6;;53679:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;-1:-1:-1;;;;;53791:24:0;::::1;25345:6:::0;53791:24;;;:19:::1;:24;::::0;;;;;25345:13;53791:24:::1;:33;::::0;::::1;:83;;-1:-1:-1::0;53837:10:0::1;53828:20;::::0;;;:8:::1;:20;::::0;;;;;;;5691:4:::1;53828:36:::0;;;;;;;;:46;-1:-1:-1;53828:46:0::1;53791:83;53787:971;;;54144:10;53891:15;54135:20:::0;;;:8:::1;:20;::::0;;;;;;;5691:4:::1;54135:36:::0;;;;;;;;54049:16;::::1;::::0;54135:48:::1;::::0;54176:6;54135:40:::1;:48::i;:::-;54105:10;54096:20;::::0;;;:8:::1;:20;::::0;;;;;;;5691:4:::1;54096:36:::0;;;;;;;;;:87;;;;-1:-1:-1;;;;;54232:13:0;::::1;::::0;;;;;;;;:29;;;;;;;;;:41:::1;::::0;54266:6;54232:33:::1;:41::i;:::-;-1:-1:-1::0;;;;;54200:13:0;::::1;;::::0;;;:8:::1;:13;::::0;;;;;;;5691:4:::1;54200:29:::0;;;;;;;:73;54296:14;;54292:455:::1;;54419:49;::::0;-1:-1:-1;;;54419:49:0;;54442:10:::1;54419:49;::::0;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;54392:3;;-1:-1:-1;;;;;54419:22:0;::::1;::::0;::::1;::::0;54442:10;;54454:6;;54462:5;;54419:49;;;::::1;::::0;::::1;::::0;;;;54331:33:::1;54419:49;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;54419:49:0;:57:::1;;54472:4;54419:57;54415:267;;;54506:4;54501:9;;54292:455;;;;54727:4;54722:9;;54292:455;53787:971;;54780:4;54774:10:::0;::::1;;;54770:88;;;54840:5;54806:40;;;;;;;;;;;;;;;;;;;::::0;;;;-1:-1:-1;;54806:40:0;;;;::::1;::::0;;::::1;::::0;::::1;;;;::::0;;;::::1;::::0;;::::1;;;-1:-1:-1::0;;54806:40:0;;::::1;::::0;;::::1;::::0;::::1;;::::0;;::::1;::::0;;;;;::::1;::::0;;::::1;::::0;;;;;;;;;-1:-1:-1;;;;;;54806:40:0;::::1;::::0;-1:-1:-1;54815:10:0::1;::::0;54806:40:::1;::::0;-1:-1:-1;54806:40:0;;;;;;::::1;54770:88;25381:6:::0;:14;;-1:-1:-1;;25381:14:0;;;53584:1281;;-1:-1:-1;;;53584:1281:0:o;39233:194::-;-1:-1:-1;;;;;39365:54:0;39334:11;39365:54;;;:34;:54;;;;;;;;;39233:194::o;48655:2163::-;25318:6;;48757:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;-1:-1:-1;;;;;48873:26:0;::::1;25345:6:::0;48873:26;;;:19:::1;:26;::::0;;;;;25345:13;48873:26:::1;:35;48865:44;;;::::0;::::1;;48995:31;::::0;-1:-1:-1;;;;;48995:31:0::1;49204:45:::0;;;::::1;::::0;:113:::1;;-1:-1:-1::0;49253:56:0::1;::::0;;-1:-1:-1;;;49253:56:0;;49297:10:::1;49253:56;::::0;::::1;::::0;;;-1:-1:-1;;;;;49253:35:0;::::1;::::0;::::1;::::0;:56;;;;;::::1;::::0;;;;;;;;:35;:56;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;49253:56:0;:64:::1;;49313:4;49253:64;49204:113;49200:233;;;49334:87;;-1:-1:-1::0;;;49334:87:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;49200:233;49445:19;49477:15:::0;49592:1:::1;49576:5;:12;:17;49572:223;;49771:5;49777:1;49771:8;;;;;;;;;;;;;;;;-1:-1:-1::0;;;;;49757:24:0::1;;49750:32;;49745:1;49731:5;49737:1;49731:8;;;;;;;;::::0;::::1;::::0;;49690;;-1:-1:-1;;;;;;49731:8:0;;;49717:29;;::::1;49710:37;;::::0;49704:2:::1;::::0;49690:5;;49696:1:::1;::::0;49690:8;::::1;;;;;::::0;::::1;::::0;;49649;;-1:-1:-1;;;;;;49690:8:0;;;49676:30;;::::1;49669:38;;::::0;49663:2:::1;::::0;49649:5;;49655:1:::1;::::0;49649:8;::::1;;;;;;;;;;;;;-1:-1:-1::0;;;;;49635:24:0::1;;-1:-1:-1::0;;;;;49635:30:0::1;;;;49628:38;;:79;:119;:154;49621:162;;49610:173;;49572:223;50378:17;::::0;50361:47:::1;::::0;;::::1;::::0;;::::1;::::0;;;;50397:10:::1;50361:47;;::::0;;;;;;;;;;;;;;;;;;;50351:58;;;;::::1;::::0;-1:-1:-1;;;;;50452:15:0;::::1;-1:-1:-1::0;50452:15:0;;;:8:::1;:15:::0;;;;;:28;;;;;;;;;50351:58;;-1:-1:-1;50452:40:0::1;::::0;50485:6;50452:32:::1;:40::i;:::-;-1:-1:-1::0;;;;;50421:15:0;::::1;;::::0;;;:8:::1;:15;::::0;;;;;;;:28;;;;;;;;;:71;;;;50566:17:::1;::::0;50510:87;;50539:10:::1;50510:87:::0;;;;::::1;::::0;;;;;;;;;;;;;;;;;;;;;;;;::::1;::::0;;;;;;;::::1;50613:70;::::0;;50644:10:::1;50613:70:::0;;-1:-1:-1;;;;;50613:70:0;::::1;;::::0;::::1;::::0;;;;;;;;;;;;;;;::::1;::::0;;;;;;;::::1;50701:4;::::0;-1:-1:-1;50754:45:0::1;50778:5;50785:6;50793:5;50754:45;;;;-1:-1:-1::0;;;;;50754:45:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;25381:6:0;:14;;-1:-1:-1;;25381:14:0;;;-1:-1:-1;48655:2163:0;;-1:-1:-1;;;48655:2163:0:o;15488:26::-;;;;;;;;;:::o;40278:1047::-;25318:6;;40345:14;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;;;;;;40414:14;;::::1;25345:13:::0;40414:14:::1;:22;;;40410:908;;;40544:10;40535:20;::::0;;;:8:::1;:20;::::0;;;;;;;40556:17:::1;::::0;40535:39;;;;;;;;:49;-1:-1:-1;40531:688:0::1;;40624:10;40605:30;::::0;;;:18:::1;:30;::::0;;;;:37;;-1:-1:-1;;40605:37:0::1;40638:4;40605:37;::::0;;:30;40811:61:::1;::::0;40846:4:::1;::::0;40865:6;40811:26:::1;:61::i;:::-;40789:83:::0;-1:-1:-1;40913:4:0::1;40895:22:::0;::::1;;;40891:224;;;40993:1;40984:10;;40891:224;;;41094:1;41085:10;;40891:224;40531:688;;;;-1:-1:-1::0;41202:1:0::1;40531:688;40410:908;;;-1:-1:-1::0;41305:1:0::1;40410:908;25381:6:::0;:14;;-1:-1:-1;;25381:14:0;;;40278:1047;;-1:-1:-1;40278:1047:0:o;16486:28::-;;;-1:-1:-1;;;16486:28:0;;;;;:::o;46343:1773::-;25318:6;;46473:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;;;;46506:10:::1;25345:6:::0;46497:20;;;::::1;::::0;;;;;;;46518:17:::1;::::0;46497:39;;;;;;;:49;-1:-1:-1;46493:1616:0::1;;46721:37:::0;::::1;46854:15:::0;46850:1205:::1;;46936:5;46931:10;;46850:1205;;;47033:10;47024:20;::::0;;;:8:::1;:20;::::0;;;;;;;47045:17:::1;::::0;47024:39;;;;;;;;:51:::1;::::0;47068:6;47024:43:::1;:51::i;:::-;46991:10;46982:20;::::0;;;:8:::1;:20;::::0;;;;;;;47003:17:::1;::::0;;46982:39;;;;;;;;:93;;;;47151:17;;47133:36;;;;;;;:48:::1;::::0;47174:6;47133:40:::1;:48::i;:::-;47112:17;::::0;47094::::1;:36:::0;;;::::1;::::0;;;;;;;;:87;;;;47316:53;;-1:-1:-1;;;47316:53:0;;-1:-1:-1;;;;;47316:53:0;;::::1;;::::0;::::1;::::0;;;47266:24;;47316:48;;::::1;::::0;::::1;::::0;:53;;;;;;;;;;;:48;:53;::::1;;::::0;::::1;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;47316:53:0;47312:728:::1;;47636:25;-1:-1:-1::0;;;;;47636:48:0::1;;47690:6;47705;47713:3;47636:81;;;;;;;;;;;;;-1:-1:-1::0;;;;;47636:81:0::1;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;47636:81:0;47632:155:::1;;47755:8;::::0;::::1;47632:155;47816:55;::::0;;47847:10:::1;47816:55:::0;;-1:-1:-1;;;;;47816:55:0;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;::::1;47901:4;47896:9;;47312:728;;;48015:5;48010:10;;47312:728;46850:1205;;46493:1616;;;;-1:-1:-1::0;48092:5:0::1;25381:6:::0;:14;;-1:-1:-1;;25381:14:0;;;46343:1773;;-1:-1:-1;;;46343:1773:0:o;26868:195::-;26970:10;26932:4;26961:20;;;:8;:20;;;;;;;;5691:4;26961:36;;;;;;;;27008:25;27023:3;26961:36;27008:14;:25::i;:::-;-1:-1:-1;27051:4:0;26868:195;-1:-1:-1;;26868:195:0:o;44113:1661::-;25318:6;;44209:7;;25318:6;;25314:20;;;25326:8;;;25314:20;25345:6;:13;;-1:-1:-1;;25345:13:0;25354:4;25345:13;;;;;;44242:10:::1;25345:6:::0;44233:20;;;::::1;::::0;;;;;;;44254:17:::1;::::0;44233:39;;;;;;;:49;-1:-1:-1;44229:1538:0::1;;44492:16:::0;::::1;44604:15:::0;44600:1113:::1;;44645:5;44640:10;;44600:1113;;;44742:10;44733:20;::::0;;;:8:::1;:20;::::0;;;;;;;44754:17:::1;::::0;44733:39;;;;;;;;:51:::1;::::0;44777:6;44733:43:::1;:51::i;:::-;44700:10;44691:20;::::0;;;:8:::1;:20;::::0;;;;;;;44712:17:::1;::::0;;44691:39;;;;;;;;:93;;;;44860:17;;44842:36;;;;;;;:48:::1;::::0;44883:6;44842:40:::1;:48::i;:::-;44821:17;::::0;44803::::1;:36:::0;;;::::1;::::0;;;;;;;:87;;;;45049:39;;-1:-1:-1;;;;;45049:8:0;::::1;::::0;45078:5:::1;::::0;45065:6;;44803:17;45049:39;44803:17;45049:39;45065:6;45049:8;45078:5;45049:39:::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1::0;;45259:37:0::1;::::0;;-1:-1:-1;;;45259:37:0::1;::::0;;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;;;;-1:-1:-1;;;45216:81:0;;;45239:10:::1;45216:81:::0;;;;;;;;;;;;;;;;;;;;;;;;;;;45030:58;;-1:-1:-1;45170:3:0;;45109:33:::1;::::0;-1:-1:-1;;;;;45216:22:0;::::1;::::0;::::1;::::0;45251:6;;45259:37;;45216:81;;;;;;;;;::::1;::::0;;;;45109:33;45216:81:::1;;;;;;;::::0;;::::1;::::0;;;::::1;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;::::0;::::1;;-1:-1:-1::0;45216:81:0;;-1:-1:-1;45333:4:0::1;45322:15:::0;::::1;;;:42:::0;::::1;;;-1:-1:-1::0;45360:4:0::1;45341:23:::0;::::1;;;45322:42;45318:378;;;45394:55;::::0;;45425:10:::1;45394:55:::0;;-1:-1:-1;;;;;45394:55:0;::::1;;::::0;::::1;::::0;;;;;;;;;::::1;::::0;;;;;;;::::1;45479:4;45474:9;;44600:1113;;;44229:1538;;;55185:175:::0;-1:-1:-1;;;;;55306:20:0;;;55273:14;55306:20;;;:7;:20;;;;;;;;:30;;;;;;;;;;;;5691:4;55306:46;;;;;;;;55185:175::o;23618:1442::-;23812:10;23774:12;23803:20;;;:8;:20;;;;;;;;:34;;;;;;;;;:45;-1:-1:-1;23799:1254:0;;-1:-1:-1;;;;;23869:39:0;;;;;;:19;:39;;;;;;;;:48;;:143;;-1:-1:-1;;;;;;23922:39:0;;;;;;:19;:39;;;;;;;;:47;;:39;:47;:89;;;;-1:-1:-1;24007:4:0;23973:38;;;;23922:89;23865:1094;;;24085:22;;24154:130;;;-1:-1:-1;;;24154:130:0;;24184:10;24154:130;;;;-1:-1:-1;;;;;24154:130:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24085:22;;;;;24033:32;;24085:22;;24154:29;;:130;;;;;;;;;;;;;;24033:32;24085:22;24154:130;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;24154:130:0;;-1:-1:-1;24399:1:0;24379:21;;;;24375:484;;;24471:10;24462:20;;;;:8;:20;;;;;;;;:34;;;;;;;;;:47;;24501:7;24462:38;:47::i;:::-;24434:10;24425:20;;;;:8;:20;;;;;;;;:34;;;;;;;;:84;;;;-1:-1:-1;;;;;24577:28:0;;;;;;;;;;:42;;;;;;;:55;;24624:7;24577:46;:55::i;:::-;-1:-1:-1;;;;;24532:28:0;;;;;;:8;:28;;;;;;;;:42;;;;;;;;:100;-1:-1:-1;24707:1:0;;-1:-1:-1;24700:8:0;;-1:-1:-1;24700:8:0;24375:484;24838:1;24831:8;;;;;;23865:1094;-1:-1:-1;24942:1:0;23799:1254;23618:1442;;;;;;;:::o;25752:291::-;25855:31;;25816:4;;-1:-1:-1;;;;;25855:31:0;25841:10;:45;25833:54;;;;;;25906:14;;;;;;;:23;25898:32;;;;;;-1:-1:-1;25943:14:0;:21;;-1:-1:-1;;;;;25975:38:0;;;;-1:-1:-1;;;;;;;;25943:21:0;;;;;25975:38;;;;;;;25960:4;25752:291;;;:::o;16391:25::-;;;-1:-1:-1;;;16391:25:0;;;;;:::o;34190:2996::-;35590:17;;34268:11;35572:36;;;;;;;;;;;35627:21;;35572:51;;35613:9;35572:40;:51::i;:::-;:76;;35564:85;;;;;;35768:31;;35941:56;;;-1:-1:-1;;;35941:56:0;;35985:10;35941:56;;;;;;35680:4;;-1:-1:-1;;;;;35768:31:0;;;;35941:35;;:56;;;;;;;;;;;;;;;35768:31;35941:56;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;35941:56:0;35937:445;;36036:5;36023:18;;35937:445;;;36257:59;;;-1:-1:-1;;;36257:59:0;;36310:4;36257:59;;;;;;-1:-1:-1;;;;;36257:44:0;;;;;:59;;;;;;;;;;;;;;:44;:59;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36257:59:0;36189:65;;;-1:-1:-1;;;36189:65:0;;36242:10;36189:65;;;;;;-1:-1:-1;;;;;36189:44:0;;;;;:65;;;;;36257:59;;36189:65;;;;;;;:44;:65;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;36189:65:0;:127;36185:186;;;36350:5;36337:18;;36185:186;-1:-1:-1;;;;;36465:24:0;;;;;;:19;:24;;;;;;;;:32;;:24;:32;36461:83;;;36527:5;36514:18;;36461:83;36574:4;36560:18;;;;36556:623;;;36654:17;;36636;:36;;;;;;;;;;;;;36600:107;;;;;36674:9;36600:107;;;;;;;36685:21;36600:107;;;;;;36624:10;;36600:107;;;;;;;;;;-1:-1:-1;;;;;36759:13:0;;;;;;:8;:13;;;;;;;;36773:17;;36759:32;;;;;;;;:47;;36796:9;36759:36;:47::i;:::-;-1:-1:-1;;;;;36724:13:0;;;;;;:8;:13;;;;;;;;36738:17;;;36724:32;;;;;;;;:82;;;;36878:17;;36860:36;;;;;;;:51;;36901:9;36860:40;:51::i;:::-;36839:17;;36821;:36;;;;;;;;;;:90;-1:-1:-1;36968:4:0;;-1:-1:-1;36961:11:0;;-1:-1:-1;36961:11:0

Swarm Source

ipfs://4ba2ec6caee90bbd4feedfeed32fe28ab68a9b76a53073229d2b0aa5f9daa2fe

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

OVERVIEW

Shyft [ Byfrost ] token contract has migrated to 0xb17c88bda07d28b3838e0c1de6a30eafbcf52d85.

Validator Index Block Amount
View All Withdrawals

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

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