Contract 0x817440C423F4D8d7ec97938dAd9D9B877FB4b643 1

 
Txn Hash Method
Block
From
To
Value [Txn Fee]
0xb0e079295281cc049850ca6d3c1f73cbf6fdfc2beabc5bbf3d9937fcd12840360x60c06040450046372022-08-16 4:36:0339 days 15 hrs ago0xcb5664c7454eb5a945d57bc94a2727ee9ef4ae95 IN  Create: ForeignOmnibridge0 FTM0.5099519
[ Download CSV Export 
Latest 1 internal transaction
Parent Txn Hash Block From To Value
0xb0e079295281cc049850ca6d3c1f73cbf6fdfc2beabc5bbf3d9937fcd1284036450046372022-08-16 4:36:0339 days 15 hrs ago 0xcb5664c7454eb5a945d57bc94a2727ee9ef4ae95  Contract Creation0 FTM
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ForeignOmnibridge

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
istanbul EvmVersion, None license

Contract Source Code (Solidity)

/**
 *Submitted for verification at FtmScan.com on 2022-08-16
*/

// File: @openzeppelin/contracts/math/SafeMath.sol


pragma solidity ^0.7.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");

        return c;
    }

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

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

        return c;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) {
            return 0;
        }

        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");

        return c;
    }

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

    /**
     * @dev Returns the integer division of two unsigned integers. Reverts with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        uint256 c = a / b;
        // assert(a == b * c + a % b); // There is no case in which this doesn't hold

        return c;
    }

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

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

// File: contracts/upgradeability/EternalStorage.sol

pragma solidity 0.7.5;

/**
 * @title EternalStorage
 * @dev This contract holds all the necessary state variables to carry out the storage of any contract.
 */
contract EternalStorage {
    mapping(bytes32 => uint256) internal uintStorage;
    mapping(bytes32 => string) internal stringStorage;
    mapping(bytes32 => address) internal addressStorage;
    mapping(bytes32 => bytes) internal bytesStorage;
    mapping(bytes32 => bool) internal boolStorage;
    mapping(bytes32 => int256) internal intStorage;
}

// File: contracts/upgradeable_contracts/Initializable.sol

pragma solidity 0.7.5;


contract Initializable is EternalStorage {
    bytes32 internal constant INITIALIZED = 0x0a6f646cd611241d8073675e00d1a1ff700fbf1b53fcf473de56d1e6e4b714ba; // keccak256(abi.encodePacked("isInitialized"))

    function setInitialize() internal {
        boolStorage[INITIALIZED] = true;
    }

    function isInitialized() public view returns (bool) {
        return boolStorage[INITIALIZED];
    }
}

// File: contracts/interfaces/IUpgradeabilityOwnerStorage.sol

pragma solidity 0.7.5;

interface IUpgradeabilityOwnerStorage {
    function upgradeabilityOwner() external view returns (address);
}

// File: contracts/upgradeable_contracts/Upgradeable.sol

pragma solidity 0.7.5;


contract Upgradeable {
    /**
     * @dev Throws if called by any account other than the upgradeability owner.
     */
    modifier onlyIfUpgradeabilityOwner() {
        _onlyIfUpgradeabilityOwner();
        _;
    }

    /**
     * @dev Internal function for reducing onlyIfUpgradeabilityOwner modifier bytecode overhead.
     */
    function _onlyIfUpgradeabilityOwner() internal view {
        require(msg.sender == IUpgradeabilityOwnerStorage(address(this)).upgradeabilityOwner());
    }
}

// File: @openzeppelin/contracts/token/ERC20/IERC20.sol


pragma solidity ^0.7.0;

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

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

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

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

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

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

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

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

// File: @openzeppelin/contracts/utils/Address.sol


pragma solidity ^0.7.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
        // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
        // for accounts without code, i.e. `keccak256('')`
        bytes32 codehash;
        bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
        // solhint-disable-next-line no-inline-assembly
        assembly { codehash := extcodehash(account) }
        return (codehash != accountHash && codehash != 0x0);
    }

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

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

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

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

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

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

    function _functionCallWithValue(address target, bytes memory data, uint256 weiValue, string memory errorMessage) private returns (bytes memory) {
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: weiValue }(data);
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

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

// File: @openzeppelin/contracts/token/ERC20/SafeERC20.sol


pragma solidity ^0.7.0;




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

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

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

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

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

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

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

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

// File: contracts/upgradeable_contracts/Sacrifice.sol

pragma solidity 0.7.5;

contract Sacrifice {
    constructor(address payable _recipient) payable {
        selfdestruct(_recipient);
    }
}

// File: contracts/libraries/AddressHelper.sol

pragma solidity 0.7.5;


/**
 * @title AddressHelper
 * @dev Helper methods for Address type.
 */
library AddressHelper {
    /**
     * @dev Try to send native tokens to the address. If it fails, it will force the transfer by creating a selfdestruct contract
     * @param _receiver address that will receive the native tokens
     * @param _value the amount of native tokens to send
     */
    function safeSendValue(address payable _receiver, uint256 _value) internal {
        if (!(_receiver).send(_value)) {
            new Sacrifice{ value: _value }(_receiver);
        }
    }
}

// File: contracts/upgradeable_contracts/Claimable.sol

pragma solidity 0.7.5;



/**
 * @title Claimable
 * @dev Implementation of the claiming utils that can be useful for withdrawing accidentally sent tokens that are not used in bridge operations.
 */
contract Claimable {
    using SafeERC20 for IERC20;

    /**
     * Throws if a given address is equal to address(0)
     */
    modifier validAddress(address _to) {
        require(_to != address(0));
        _;
    }

    /**
     * @dev Withdraws the erc20 tokens or native coins from this contract.
     * Caller should additionally check that the claimed token is not a part of bridge operations (i.e. that token != erc20token()).
     * @param _token address of the claimed token or address(0) for native coins.
     * @param _to address of the tokens/coins receiver.
     */
    function claimValues(address _token, address _to) internal validAddress(_to) {
        if (_token == address(0)) {
            claimNativeCoins(_to);
        } else {
            claimErc20Tokens(_token, _to);
        }
    }

    /**
     * @dev Internal function for withdrawing all native coins from the contract.
     * @param _to address of the coins receiver.
     */
    function claimNativeCoins(address _to) internal {
        uint256 value = address(this).balance;
        AddressHelper.safeSendValue(payable(_to), value);
    }

    /**
     * @dev Internal function for withdrawing all tokens of some particular ERC20 contract from this contract.
     * @param _token address of the claimed ERC20 token.
     * @param _to address of the tokens receiver.
     */
    function claimErc20Tokens(address _token, address _to) internal {
        IERC20 token = IERC20(_token);
        uint256 balance = token.balanceOf(address(this));
        token.safeTransfer(_to, balance);
    }
}

// File: contracts/upgradeable_contracts/components/bridged/BridgedTokensRegistry.sol

pragma solidity 0.7.5;


/**
 * @title BridgedTokensRegistry
 * @dev Functionality for keeping track of registered bridged token pairs.
 */
contract BridgedTokensRegistry is EternalStorage {
    event NewTokenRegistered(address indexed nativeToken, address indexed bridgedToken);

    /**
     * @dev Retrieves address of the bridged token contract associated with a specific native token contract on the other side.
     * @param _nativeToken address of the native token contract on the other side.
     * @return address of the deployed bridged token contract.
     */
    function bridgedTokenAddress(address _nativeToken) public view returns (address) {
        return addressStorage[keccak256(abi.encodePacked("homeTokenAddress", _nativeToken))];
    }

    /**
     * @dev Retrieves address of the native token contract associated with a specific bridged token contract.
     * @param _bridgedToken address of the created bridged token contract on this side.
     * @return address of the native token contract on the other side of the bridge.
     */
    function nativeTokenAddress(address _bridgedToken) public view returns (address) {
        return addressStorage[keccak256(abi.encodePacked("foreignTokenAddress", _bridgedToken))];
    }

    /**
     * @dev Internal function for updating a pair of addresses for the bridged token.
     * @param _nativeToken address of the native token contract on the other side.
     * @param _bridgedToken address of the created bridged token contract on this side.
     */
    function _setTokenAddressPair(address _nativeToken, address _bridgedToken) internal {
        addressStorage[keccak256(abi.encodePacked("homeTokenAddress", _nativeToken))] = _bridgedToken;
        addressStorage[keccak256(abi.encodePacked("foreignTokenAddress", _bridgedToken))] = _nativeToken;

        emit NewTokenRegistered(_nativeToken, _bridgedToken);
    }
}

// File: contracts/upgradeable_contracts/components/native/NativeTokensRegistry.sol

pragma solidity 0.7.5;


/**
 * @title NativeTokensRegistry
 * @dev Functionality for keeping track of registered native tokens.
 */
contract NativeTokensRegistry is EternalStorage {
    /**
     * @dev Checks if for a given native token, the deployment of its bridged alternative was already acknowledged.
     * @param _token address of native token contract.
     * @return true, if bridged token was already deployed.
     */
    function isBridgedTokenDeployAcknowledged(address _token) public view returns (bool) {
        return boolStorage[keccak256(abi.encodePacked("ackDeploy", _token))];
    }

    /**
     * @dev Acknowledges the deployment of bridged token contract on the other side.
     * @param _token address of native token contract.
     */
    function _ackBridgedTokenDeploy(address _token) internal {
        if (!boolStorage[keccak256(abi.encodePacked("ackDeploy", _token))]) {
            boolStorage[keccak256(abi.encodePacked("ackDeploy", _token))] = true;
        }
    }
}

// File: contracts/upgradeable_contracts/components/native/MediatorBalanceStorage.sol

pragma solidity 0.7.5;



/**
 * @title MediatorBalanceStorage
 * @dev Functionality for storing expected mediator balance for native tokens.
 */
contract MediatorBalanceStorage is EternalStorage {
    /**
     * @dev Tells the expected token balance of the contract.
     * @param _token address of token contract.
     * @return the current tracked token balance of the contract.
     */
    function mediatorBalance(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("mediatorBalance", _token))];
    }

    /**
     * @dev Updates expected token balance of the contract.
     * @param _token address of token contract.
     * @param _balance the new token balance of the contract.
     */
    function _setMediatorBalance(address _token, uint256 _balance) internal {
        uintStorage[keccak256(abi.encodePacked("mediatorBalance", _token))] = _balance;
    }
}

// File: contracts/interfaces/IERC677.sol

pragma solidity 0.7.5;


interface IERC677 is IERC20 {
    event Transfer(address indexed from, address indexed to, uint256 value, bytes data);

    function transferAndCall(
        address to,
        uint256 value,
        bytes calldata data
    ) external returns (bool);

    function increaseAllowance(address spender, uint256 addedValue) external returns (bool);

    function decreaseAllowance(address spender, uint256 subtractedValue) external returns (bool);
}

// File: contracts/libraries/Bytes.sol

pragma solidity 0.7.5;

/**
 * @title Bytes
 * @dev Helper methods to transform bytes to other solidity types.
 */
library Bytes {
    /**
     * @dev Truncate bytes array if its size is more than 20 bytes.
     * NOTE: This function does not perform any checks on the received parameter.
     * Make sure that the _bytes argument has a correct length, not less than 20 bytes.
     * A case when _bytes has length less than 20 will lead to the undefined behaviour,
     * since assembly will read data from memory that is not related to the _bytes argument.
     * @param _bytes to be converted to address type
     * @return addr address included in the firsts 20 bytes of the bytes array in parameter.
     */
    function bytesToAddress(bytes memory _bytes) internal pure returns (address addr) {
        assembly {
            addr := mload(add(_bytes, 20))
        }
    }
}

// File: contracts/upgradeable_contracts/ReentrancyGuard.sol

pragma solidity 0.7.5;

contract ReentrancyGuard {
    function lock() internal view returns (bool res) {
        assembly {
            // Even though this is not the same as boolStorage[keccak256(abi.encodePacked("lock"))],
            // since solidity mapping introduces another level of addressing, such slot change is safe
            // for temporary variables which are cleared at the end of the call execution.
            res := sload(0x6168652c307c1e813ca11cfb3a601f1cf3b22452021a5052d8b05f1f1f8a3e92) // keccak256(abi.encodePacked("lock"))
        }
    }

    function setLock(bool _lock) internal {
        assembly {
            // Even though this is not the same as boolStorage[keccak256(abi.encodePacked("lock"))],
            // since solidity mapping introduces another level of addressing, such slot change is safe
            // for temporary variables which are cleared at the end of the call execution.
            sstore(0x6168652c307c1e813ca11cfb3a601f1cf3b22452021a5052d8b05f1f1f8a3e92, _lock) // keccak256(abi.encodePacked("lock"))
        }
    }
}

// File: contracts/upgradeable_contracts/Ownable.sol

pragma solidity 0.7.5;



/**
 * @title Ownable
 * @dev This contract has an owner address providing basic authorization control
 */
contract Ownable is EternalStorage {
    bytes4 internal constant UPGRADEABILITY_OWNER = 0x6fde8202; // upgradeabilityOwner()

    /**
     * @dev Event to show ownership has been transferred
     * @param previousOwner representing the address of the previous owner
     * @param newOwner representing the address of the new owner
     */
    event OwnershipTransferred(address previousOwner, address newOwner);

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _onlyOwner();
        _;
    }

    /**
     * @dev Internal function for reducing onlyOwner modifier bytecode overhead.
     */
    function _onlyOwner() internal view {
        require(msg.sender == owner());
    }

    /**
     * @dev Throws if called through proxy by any account other than contract itself or an upgradeability owner.
     */
    modifier onlyRelevantSender() {
        (bool isProxy, bytes memory returnData) =
            address(this).staticcall(abi.encodeWithSelector(UPGRADEABILITY_OWNER));
        require(
            !isProxy || // covers usage without calling through storage proxy
                (returnData.length == 32 && msg.sender == abi.decode(returnData, (address))) || // covers usage through regular proxy calls
                msg.sender == address(this) // covers calls through upgradeAndCall proxy method
        );
        _;
    }

    bytes32 internal constant OWNER = 0x02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c0; // keccak256(abi.encodePacked("owner"))

    /**
     * @dev Tells the address of the owner
     * @return the address of the owner
     */
    function owner() public view returns (address) {
        return addressStorage[OWNER];
    }

    /**
     * @dev Allows the current owner to transfer control of the contract to a newOwner.
     * @param newOwner the address to transfer ownership to.
     */
    function transferOwnership(address newOwner) external onlyOwner {
        _setOwner(newOwner);
    }

    /**
     * @dev Sets a new owner address
     */
    function _setOwner(address newOwner) internal {
        require(newOwner != address(0));
        emit OwnershipTransferred(owner(), newOwner);
        addressStorage[OWNER] = newOwner;
    }
}

// File: contracts/interfaces/IAMB.sol

pragma solidity 0.7.5;

interface IAMB {
    event UserRequestForAffirmation(bytes32 indexed messageId, bytes encodedData);
    event UserRequestForSignature(bytes32 indexed messageId, bytes encodedData);
    event AffirmationCompleted(
        address indexed sender,
        address indexed executor,
        bytes32 indexed messageId,
        bool status
    );
    event RelayedMessage(address indexed sender, address indexed executor, bytes32 indexed messageId, bool status);

    function messageSender() external view returns (address);

    function maxGasPerTx() external view returns (uint256);

    function transactionHash() external view returns (bytes32);

    function messageId() external view returns (bytes32);

    function messageSourceChainId() external view returns (bytes32);

    function messageCallStatus(bytes32 _messageId) external view returns (bool);

    function failedMessageDataHash(bytes32 _messageId) external view returns (bytes32);

    function failedMessageReceiver(bytes32 _messageId) external view returns (address);

    function failedMessageSender(bytes32 _messageId) external view returns (address);

    function requireToPassMessage(
        address _contract,
        bytes calldata _data,
        uint256 _gas
    ) external returns (bytes32);

    function requireToConfirmMessage(
        address _contract,
        bytes calldata _data,
        uint256 _gas
    ) external returns (bytes32);

    function sourceChainId() external view returns (uint256);

    function destinationChainId() external view returns (uint256);
}

// File: contracts/upgradeable_contracts/BasicAMBMediator.sol

pragma solidity 0.7.5;




/**
 * @title BasicAMBMediator
 * @dev Basic storage and methods needed by mediators to interact with AMB bridge.
 */
abstract contract BasicAMBMediator is Ownable {
    bytes32 internal constant BRIDGE_CONTRACT = 0x811bbb11e8899da471f0e69a3ed55090fc90215227fc5fb1cb0d6e962ea7b74f; // keccak256(abi.encodePacked("bridgeContract"))
    bytes32 internal constant MEDIATOR_CONTRACT = 0x98aa806e31e94a687a31c65769cb99670064dd7f5a87526da075c5fb4eab9880; // keccak256(abi.encodePacked("mediatorContract"))

    /**
     * @dev Throws if caller on the other side is not an associated mediator.
     */
    modifier onlyMediator {
        _onlyMediator();
        _;
    }

    /**
     * @dev Internal function for reducing onlyMediator modifier bytecode overhead.
     */
    function _onlyMediator() internal view {
        IAMB bridge = bridgeContract();
        require(msg.sender == address(bridge));
        require(bridge.messageSender() == mediatorContractOnOtherSide());
    }

    /**
     * @dev Sets the AMB bridge contract address. Only the owner can call this method.
     * @param _bridgeContract the address of the bridge contract.
     */
    function setBridgeContract(address _bridgeContract) external onlyOwner {
        _setBridgeContract(_bridgeContract);
    }

    /**
     * @dev Sets the mediator contract address from the other network. Only the owner can call this method.
     * @param _mediatorContract the address of the mediator contract.
     */
    function setMediatorContractOnOtherSide(address _mediatorContract) external onlyOwner {
        _setMediatorContractOnOtherSide(_mediatorContract);
    }

    /**
     * @dev Get the AMB interface for the bridge contract address
     * @return AMB interface for the bridge contract address
     */
    function bridgeContract() public view returns (IAMB) {
        return IAMB(addressStorage[BRIDGE_CONTRACT]);
    }

    /**
     * @dev Tells the mediator contract address from the other network.
     * @return the address of the mediator contract.
     */
    function mediatorContractOnOtherSide() public view virtual returns (address) {
        return addressStorage[MEDIATOR_CONTRACT];
    }

    /**
     * @dev Stores a valid AMB bridge contract address.
     * @param _bridgeContract the address of the bridge contract.
     */
    function _setBridgeContract(address _bridgeContract) internal {
        require(Address.isContract(_bridgeContract));
        addressStorage[BRIDGE_CONTRACT] = _bridgeContract;
    }

    /**
     * @dev Stores the mediator contract address from the other network.
     * @param _mediatorContract the address of the mediator contract.
     */
    function _setMediatorContractOnOtherSide(address _mediatorContract) internal {
        addressStorage[MEDIATOR_CONTRACT] = _mediatorContract;
    }

    /**
     * @dev Tells the id of the message originated on the other network.
     * @return the id of the message originated on the other network.
     */
    function messageId() internal view returns (bytes32) {
        return bridgeContract().messageId();
    }

    /**
     * @dev Tells the maximum gas limit that a message can use on its execution by the AMB bridge on the other network.
     * @return the maximum gas limit value.
     */
    function maxGasPerTx() internal view returns (uint256) {
        return bridgeContract().maxGasPerTx();
    }

    function _passMessage(bytes memory _data, bool _useOracleLane) internal virtual returns (bytes32);
}

// File: contracts/upgradeable_contracts/components/common/TokensRelayer.sol

pragma solidity 0.7.5;







/**
 * @title TokensRelayer
 * @dev Functionality for bridging multiple tokens to the other side of the bridge.
 */
abstract contract TokensRelayer is BasicAMBMediator, ReentrancyGuard {
    using SafeMath for uint256;
    using SafeERC20 for IERC677;

    /**
     * @dev ERC677 transfer callback function.
     * @param _from address of tokens sender.
     * @param _value amount of transferred tokens.
     * @param _data additional transfer data, can be used for passing alternative receiver address.
     */
    function onTokenTransfer(
        address _from,
        uint256 _value,
        bytes memory _data
    ) external returns (bool) {
        if (!lock()) {
            bytes memory data = new bytes(0);
            address receiver = _from;
            if (_data.length >= 20) {
                receiver = Bytes.bytesToAddress(_data);
                if (_data.length > 20) {
                    assembly {
                        let size := sub(mload(_data), 20)
                        data := add(_data, 20)
                        mstore(data, size)
                    }
                }
            }
            bridgeSpecificActionsOnTokenTransfer(msg.sender, _from, receiver, _value, data);
        }
        return true;
    }

    /**
     * @dev Initiate the bridge operation for some amount of tokens from msg.sender.
     * The user should first call Approve method of the ERC677 token.
     * @param token bridged token contract address.
     * @param _receiver address that will receive the native tokens on the other network.
     * @param _value amount of tokens to be transferred to the other network.
     */
    function relayTokens(
        IERC677 token,
        address _receiver,
        uint256 _value
    ) external {
        _relayTokens(token, _receiver, _value, new bytes(0));
    }

    /**
     * @dev Initiate the bridge operation for some amount of tokens from msg.sender to msg.sender on the other side.
     * The user should first call Approve method of the ERC677 token.
     * @param token bridged token contract address.
     * @param _value amount of tokens to be transferred to the other network.
     */
    function relayTokens(IERC677 token, uint256 _value) external {
        _relayTokens(token, msg.sender, _value, new bytes(0));
    }

    /**
     * @dev Initiate the bridge operation for some amount of tokens from msg.sender.
     * The user should first call Approve method of the ERC677 token.
     * @param token bridged token contract address.
     * @param _receiver address that will receive the native tokens on the other network.
     * @param _value amount of tokens to be transferred to the other network.
     * @param _data additional transfer data to be used on the other side.
     */
    function relayTokensAndCall(
        IERC677 token,
        address _receiver,
        uint256 _value,
        bytes memory _data
    ) external {
        _relayTokens(token, _receiver, _value, _data);
    }

    /**
     * @dev Validates that the token amount is inside the limits, calls transferFrom to transfer the tokens to the contract
     * and invokes the method to burn/lock the tokens and unlock/mint the tokens on the other network.
     * The user should first call Approve method of the ERC677 token.
     * @param token bridge token contract address.
     * @param _receiver address that will receive the native tokens on the other network.
     * @param _value amount of tokens to be transferred to the other network.
     * @param _data additional transfer data to be used on the other side.
     */
    function _relayTokens(
        IERC677 token,
        address _receiver,
        uint256 _value,
        bytes memory _data
    ) internal {
        // This lock is to prevent calling passMessage twice if a ERC677 token is used.
        // When transferFrom is called, after the transfer, the ERC677 token will call onTokenTransfer from this contract
        // which will call passMessage.
        require(!lock());

        uint256 balanceBefore = token.balanceOf(address(this));
        setLock(true);
        token.safeTransferFrom(msg.sender, address(this), _value);
        setLock(false);
        uint256 balanceDiff = token.balanceOf(address(this)).sub(balanceBefore);
        require(balanceDiff <= _value);
        bridgeSpecificActionsOnTokenTransfer(address(token), msg.sender, _receiver, balanceDiff, _data);
    }

    function bridgeSpecificActionsOnTokenTransfer(
        address _token,
        address _from,
        address _receiver,
        uint256 _value,
        bytes memory _data
    ) internal virtual;
}

// File: contracts/upgradeable_contracts/VersionableBridge.sol

pragma solidity 0.7.5;

interface VersionableBridge {
    function getBridgeInterfacesVersion()
        external
        pure
        returns (
            uint64 major,
            uint64 minor,
            uint64 patch
        );

    function getBridgeMode() external pure returns (bytes4);
}

// File: contracts/upgradeable_contracts/components/common/OmnibridgeInfo.sol

pragma solidity 0.7.5;


/**
 * @title OmnibridgeInfo
 * @dev Functionality for versioning Omnibridge mediator.
 */
contract OmnibridgeInfo is VersionableBridge {
    event TokensBridgingInitiated(
        address indexed token,
        address indexed sender,
        uint256 value,
        bytes32 indexed messageId
    );
    event TokensBridged(address indexed token, address indexed recipient, uint256 value, bytes32 indexed messageId);

    /**
     * @dev Tells the bridge interface version that this contract supports.
     * @return major value of the version
     * @return minor value of the version
     * @return patch value of the version
     */
    function getBridgeInterfacesVersion()
        external
        pure
        override
        returns (
            uint64 major,
            uint64 minor,
            uint64 patch
        )
    {
        return (3, 3, 0);
    }

    /**
     * @dev Tells the bridge mode that this contract supports.
     * @return _data 4 bytes representing the bridge mode
     */
    function getBridgeMode() external pure override returns (bytes4 _data) {
        return 0xb1516c26; // bytes4(keccak256(abi.encodePacked("multi-erc-to-erc-amb")))
    }
}

// File: contracts/upgradeable_contracts/components/common/TokensBridgeLimits.sol

pragma solidity 0.7.5;




/**
 * @title TokensBridgeLimits
 * @dev Functionality for keeping track of bridging limits for multiple tokens.
 */
contract TokensBridgeLimits is EternalStorage, Ownable {
    using SafeMath for uint256;

    // token == 0x00..00 represents default limits (assuming decimals == 18) for all newly created tokens
    event DailyLimitChanged(address indexed token, uint256 newLimit);
    event ExecutionDailyLimitChanged(address indexed token, uint256 newLimit);

    /**
     * @dev Checks if specified token was already bridged at least once.
     * @param _token address of the token contract.
     * @return true, if token address is address(0) or token was already bridged.
     */
    function isTokenRegistered(address _token) public view returns (bool) {
        return minPerTx(_token) > 0;
    }

    /**
     * @dev Retrieves the total spent amount for particular token during specific day.
     * @param _token address of the token contract.
     * @param _day day number for which spent amount if requested.
     * @return amount of tokens sent through the bridge to the other side.
     */
    function totalSpentPerDay(address _token, uint256 _day) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("totalSpentPerDay", _token, _day))];
    }

    /**
     * @dev Retrieves the total executed amount for particular token during specific day.
     * @param _token address of the token contract.
     * @param _day day number for which spent amount if requested.
     * @return amount of tokens received from the bridge from the other side.
     */
    function totalExecutedPerDay(address _token, uint256 _day) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("totalExecutedPerDay", _token, _day))];
    }

    /**
     * @dev Retrieves current daily limit for a particular token contract.
     * @param _token address of the token contract.
     * @return daily limit on tokens that can be sent through the bridge per day.
     */
    function dailyLimit(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("dailyLimit", _token))];
    }

    /**
     * @dev Retrieves current execution daily limit for a particular token contract.
     * @param _token address of the token contract.
     * @return daily limit on tokens that can be received from the bridge on the other side per day.
     */
    function executionDailyLimit(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("executionDailyLimit", _token))];
    }

    /**
     * @dev Retrieves current maximum amount of tokens per one transfer for a particular token contract.
     * @param _token address of the token contract.
     * @return maximum amount on tokens that can be sent through the bridge in one transfer.
     */
    function maxPerTx(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("maxPerTx", _token))];
    }

    /**
     * @dev Retrieves current maximum execution amount of tokens per one transfer for a particular token contract.
     * @param _token address of the token contract.
     * @return maximum amount on tokens that can received from the bridge on the other side in one transaction.
     */
    function executionMaxPerTx(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", _token))];
    }

    /**
     * @dev Retrieves current minimum amount of tokens per one transfer for a particular token contract.
     * @param _token address of the token contract.
     * @return minimum amount on tokens that can be sent through the bridge in one transfer.
     */
    function minPerTx(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("minPerTx", _token))];
    }

    /**
     * @dev Checks that bridged amount of tokens conforms to the configured limits.
     * @param _token address of the token contract.
     * @param _amount amount of bridge tokens.
     * @return true, if specified amount can be bridged.
     */
    function withinLimit(address _token, uint256 _amount) public view returns (bool) {
        uint256 nextLimit = totalSpentPerDay(_token, getCurrentDay()).add(_amount);
        return
            dailyLimit(address(0)) > 0 &&
            dailyLimit(_token) >= nextLimit &&
            _amount <= maxPerTx(_token) &&
            _amount >= minPerTx(_token);
    }

    /**
     * @dev Checks that bridged amount of tokens conforms to the configured execution limits.
     * @param _token address of the token contract.
     * @param _amount amount of bridge tokens.
     * @return true, if specified amount can be processed and executed.
     */
    function withinExecutionLimit(address _token, uint256 _amount) public view returns (bool) {
        uint256 nextLimit = totalExecutedPerDay(_token, getCurrentDay()).add(_amount);
        return
            executionDailyLimit(address(0)) > 0 &&
            executionDailyLimit(_token) >= nextLimit &&
            _amount <= executionMaxPerTx(_token);
    }

    /**
     * @dev Returns current day number.
     * @return day number.
     */
    function getCurrentDay() public view returns (uint256) {
        // solhint-disable-next-line not-rely-on-time
        return block.timestamp / 1 days;
    }

    /**
     * @dev Updates daily limit for the particular token. Only owner can call this method.
     * @param _token address of the token contract, or address(0) for configuring the efault limit.
     * @param _dailyLimit daily allowed amount of bridged tokens, should be greater than maxPerTx.
     * 0 value is also allowed, will stop the bridge operations in outgoing direction.
     */
    function setDailyLimit(address _token, uint256 _dailyLimit) external onlyOwner {
        require(isTokenRegistered(_token));
        require(_dailyLimit > maxPerTx(_token) || _dailyLimit == 0);
        uintStorage[keccak256(abi.encodePacked("dailyLimit", _token))] = _dailyLimit;
        emit DailyLimitChanged(_token, _dailyLimit);
    }

    /**
     * @dev Updates execution daily limit for the particular token. Only owner can call this method.
     * @param _token address of the token contract, or address(0) for configuring the default limit.
     * @param _dailyLimit daily allowed amount of executed tokens, should be greater than executionMaxPerTx.
     * 0 value is also allowed, will stop the bridge operations in incoming direction.
     */
    function setExecutionDailyLimit(address _token, uint256 _dailyLimit) external onlyOwner {
        require(isTokenRegistered(_token));
        require(_dailyLimit > executionMaxPerTx(_token) || _dailyLimit == 0);
        uintStorage[keccak256(abi.encodePacked("executionDailyLimit", _token))] = _dailyLimit;
        emit ExecutionDailyLimitChanged(_token, _dailyLimit);
    }

    /**
     * @dev Updates execution maximum per transaction for the particular token. Only owner can call this method.
     * @param _token address of the token contract, or address(0) for configuring the default limit.
     * @param _maxPerTx maximum amount of executed tokens per one transaction, should be less than executionDailyLimit.
     * 0 value is also allowed, will stop the bridge operations in incoming direction.
     */
    function setExecutionMaxPerTx(address _token, uint256 _maxPerTx) external onlyOwner {
        require(isTokenRegistered(_token));
        require(_maxPerTx == 0 || (_maxPerTx > 0 && _maxPerTx < executionDailyLimit(_token)));
        uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", _token))] = _maxPerTx;
    }

    /**
     * @dev Updates maximum per transaction for the particular token. Only owner can call this method.
     * @param _token address of the token contract, or address(0) for configuring the default limit.
     * @param _maxPerTx maximum amount of tokens per one transaction, should be less than dailyLimit, greater than minPerTx.
     * 0 value is also allowed, will stop the bridge operations in outgoing direction.
     */
    function setMaxPerTx(address _token, uint256 _maxPerTx) external onlyOwner {
        require(isTokenRegistered(_token));
        require(_maxPerTx == 0 || (_maxPerTx > minPerTx(_token) && _maxPerTx < dailyLimit(_token)));
        uintStorage[keccak256(abi.encodePacked("maxPerTx", _token))] = _maxPerTx;
    }

    /**
     * @dev Updates minimum per transaction for the particular token. Only owner can call this method.
     * @param _token address of the token contract, or address(0) for configuring the default limit.
     * @param _minPerTx minimum amount of tokens per one transaction, should be less than maxPerTx and dailyLimit.
     */
    function setMinPerTx(address _token, uint256 _minPerTx) external onlyOwner {
        require(isTokenRegistered(_token));
        require(_minPerTx > 0 && _minPerTx < dailyLimit(_token) && _minPerTx < maxPerTx(_token));
        uintStorage[keccak256(abi.encodePacked("minPerTx", _token))] = _minPerTx;
    }

    /**
     * @dev Retrieves maximum available bridge amount per one transaction taking into account maxPerTx() and dailyLimit() parameters.
     * @param _token address of the token contract, or address(0) for the default limit.
     * @return minimum of maxPerTx parameter and remaining daily quota.
     */
    function maxAvailablePerTx(address _token) public view returns (uint256) {
        uint256 _maxPerTx = maxPerTx(_token);
        uint256 _dailyLimit = dailyLimit(_token);
        uint256 _spent = totalSpentPerDay(_token, getCurrentDay());
        uint256 _remainingOutOfDaily = _dailyLimit > _spent ? _dailyLimit - _spent : 0;
        return _maxPerTx < _remainingOutOfDaily ? _maxPerTx : _remainingOutOfDaily;
    }

    /**
     * @dev Internal function for adding spent amount for some token.
     * @param _token address of the token contract.
     * @param _day day number, when tokens are processed.
     * @param _value amount of bridge tokens.
     */
    function addTotalSpentPerDay(
        address _token,
        uint256 _day,
        uint256 _value
    ) internal {
        uintStorage[keccak256(abi.encodePacked("totalSpentPerDay", _token, _day))] = totalSpentPerDay(_token, _day).add(
            _value
        );
    }

    /**
     * @dev Internal function for adding executed amount for some token.
     * @param _token address of the token contract.
     * @param _day day number, when tokens are processed.
     * @param _value amount of bridge tokens.
     */
    function addTotalExecutedPerDay(
        address _token,
        uint256 _day,
        uint256 _value
    ) internal {
        uintStorage[keccak256(abi.encodePacked("totalExecutedPerDay", _token, _day))] = totalExecutedPerDay(
            _token,
            _day
        )
            .add(_value);
    }

    /**
     * @dev Internal function for initializing limits for some token.
     * @param _token address of the token contract.
     * @param _limits [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ].
     */
    function _setLimits(address _token, uint256[3] memory _limits) internal {
        require(
            _limits[2] > 0 && // minPerTx > 0
                _limits[1] > _limits[2] && // maxPerTx > minPerTx
                _limits[0] > _limits[1] // dailyLimit > maxPerTx
        );

        uintStorage[keccak256(abi.encodePacked("dailyLimit", _token))] = _limits[0];
        uintStorage[keccak256(abi.encodePacked("maxPerTx", _token))] = _limits[1];
        uintStorage[keccak256(abi.encodePacked("minPerTx", _token))] = _limits[2];

        emit DailyLimitChanged(_token, _limits[0]);
    }

    /**
     * @dev Internal function for initializing execution limits for some token.
     * @param _token address of the token contract.
     * @param _limits [ 0 = executionDailyLimit, 1 = executionMaxPerTx ].
     */
    function _setExecutionLimits(address _token, uint256[2] memory _limits) internal {
        require(_limits[1] < _limits[0]); // foreignMaxPerTx < foreignDailyLimit

        uintStorage[keccak256(abi.encodePacked("executionDailyLimit", _token))] = _limits[0];
        uintStorage[keccak256(abi.encodePacked("executionMaxPerTx", _token))] = _limits[1];

        emit ExecutionDailyLimitChanged(_token, _limits[0]);
    }

    /**
     * @dev Internal function for initializing limits for some token relative to its decimals parameter.
     * @param _token address of the token contract.
     * @param _decimals token decimals parameter.
     */
    function _initializeTokenBridgeLimits(address _token, uint256 _decimals) internal {
        uint256 factor;
        if (_decimals < 18) {
            factor = 10**(18 - _decimals);

            uint256 _minPerTx = minPerTx(address(0)).div(factor);
            uint256 _maxPerTx = maxPerTx(address(0)).div(factor);
            uint256 _dailyLimit = dailyLimit(address(0)).div(factor);
            uint256 _executionMaxPerTx = executionMaxPerTx(address(0)).div(factor);
            uint256 _executionDailyLimit = executionDailyLimit(address(0)).div(factor);

            // such situation can happen when calculated limits relative to the token decimals are too low
            // e.g. minPerTx(address(0)) == 10 ** 14, _decimals == 3. _minPerTx happens to be 0, which is not allowed.
            // in this case, limits are raised to the default values
            if (_minPerTx == 0) {
                // Numbers 1, 100, 10000 are chosen in a semi-random way,
                // so that any token with small decimals can still be bridged in some amounts.
                // It is possible to override limits for the particular token later if needed.
                _minPerTx = 1;
                if (_maxPerTx <= _minPerTx) {
                    _maxPerTx = 100;
                    _executionMaxPerTx = 100;
                    if (_dailyLimit <= _maxPerTx || _executionDailyLimit <= _executionMaxPerTx) {
                        _dailyLimit = 10000;
                        _executionDailyLimit = 10000;
                    }
                }
            }
            _setLimits(_token, [_dailyLimit, _maxPerTx, _minPerTx]);
            _setExecutionLimits(_token, [_executionDailyLimit, _executionMaxPerTx]);
        } else {
            factor = 10**(_decimals - 18);
            _setLimits(
                _token,
                [dailyLimit(address(0)).mul(factor), maxPerTx(address(0)).mul(factor), minPerTx(address(0)).mul(factor)]
            );
            _setExecutionLimits(
                _token,
                [executionDailyLimit(address(0)).mul(factor), executionMaxPerTx(address(0)).mul(factor)]
            );
        }
    }
}

// File: contracts/upgradeable_contracts/components/common/BridgeOperationsStorage.sol

pragma solidity 0.7.5;


/**
 * @title BridgeOperationsStorage
 * @dev Functionality for storing processed bridged operations.
 */
abstract contract BridgeOperationsStorage is EternalStorage {
    /**
     * @dev Stores the bridged token of a message sent to the AMB bridge.
     * @param _messageId of the message sent to the bridge.
     * @param _token bridged token address.
     */
    function setMessageToken(bytes32 _messageId, address _token) internal {
        addressStorage[keccak256(abi.encodePacked("messageToken", _messageId))] = _token;
    }

    /**
     * @dev Tells the bridged token address of a message sent to the AMB bridge.
     * @return address of a token contract.
     */
    function messageToken(bytes32 _messageId) internal view returns (address) {
        return addressStorage[keccak256(abi.encodePacked("messageToken", _messageId))];
    }

    /**
     * @dev Stores the value of a message sent to the AMB bridge.
     * @param _messageId of the message sent to the bridge.
     * @param _value amount of tokens bridged.
     */
    function setMessageValue(bytes32 _messageId, uint256 _value) internal {
        uintStorage[keccak256(abi.encodePacked("messageValue", _messageId))] = _value;
    }

    /**
     * @dev Tells the amount of tokens of a message sent to the AMB bridge.
     * @return value representing amount of tokens.
     */
    function messageValue(bytes32 _messageId) internal view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("messageValue", _messageId))];
    }

    /**
     * @dev Stores the receiver of a message sent to the AMB bridge.
     * @param _messageId of the message sent to the bridge.
     * @param _recipient receiver of the tokens bridged.
     */
    function setMessageRecipient(bytes32 _messageId, address _recipient) internal {
        addressStorage[keccak256(abi.encodePacked("messageRecipient", _messageId))] = _recipient;
    }

    /**
     * @dev Tells the receiver of a message sent to the AMB bridge.
     * @return address of the receiver.
     */
    function messageRecipient(bytes32 _messageId) internal view returns (address) {
        return addressStorage[keccak256(abi.encodePacked("messageRecipient", _messageId))];
    }
}

// File: contracts/upgradeable_contracts/components/common/FailedMessagesProcessor.sol

pragma solidity 0.7.5;



/**
 * @title FailedMessagesProcessor
 * @dev Functionality for fixing failed bridging operations.
 */
abstract contract FailedMessagesProcessor is BasicAMBMediator, BridgeOperationsStorage {
    event FailedMessageFixed(bytes32 indexed messageId, address token, address recipient, uint256 value);

    /**
     * @dev Method to be called when a bridged message execution failed. It will generate a new message requesting to
     * fix/roll back the transferred assets on the other network.
     * @param _messageId id of the message which execution failed.
     */
    function requestFailedMessageFix(bytes32 _messageId) external {
        IAMB bridge = bridgeContract();
        require(!bridge.messageCallStatus(_messageId));
        require(bridge.failedMessageReceiver(_messageId) == address(this));
        require(bridge.failedMessageSender(_messageId) == mediatorContractOnOtherSide());

        bytes4 methodSelector = this.fixFailedMessage.selector;
        bytes memory data = abi.encodeWithSelector(methodSelector, _messageId);
        _passMessage(data, true);
    }

    /**
     * @dev Handles the request to fix transferred assets which bridged message execution failed on the other network.
     * It uses the information stored by passMessage method when the assets were initially transferred
     * @param _messageId id of the message which execution failed on the other network.
     */
    function fixFailedMessage(bytes32 _messageId) public onlyMediator {
        require(!messageFixed(_messageId));

        address token = messageToken(_messageId);
        address recipient = messageRecipient(_messageId);
        uint256 value = messageValue(_messageId);
        setMessageFixed(_messageId);
        executeActionOnFixedTokens(token, recipient, value);
        emit FailedMessageFixed(_messageId, token, recipient, value);
    }

    /**
     * @dev Tells if a message sent to the AMB bridge has been fixed.
     * @return bool indicating the status of the message.
     */
    function messageFixed(bytes32 _messageId) public view returns (bool) {
        return boolStorage[keccak256(abi.encodePacked("messageFixed", _messageId))];
    }

    /**
     * @dev Sets that the message sent to the AMB bridge has been fixed.
     * @param _messageId of the message sent to the bridge.
     */
    function setMessageFixed(bytes32 _messageId) internal {
        boolStorage[keccak256(abi.encodePacked("messageFixed", _messageId))] = true;
    }

    function executeActionOnFixedTokens(
        address _token,
        address _recipient,
        uint256 _value
    ) internal virtual;
}

// File: contracts/upgradeability/Proxy.sol

pragma solidity 0.7.5;

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

    /**
     * @dev Fallback function allowing to perform a delegatecall to the given implementation.
     * This function will return whatever the implementation call returns
     */
    fallback() external payable {
        // solhint-disable-previous-line no-complex-fallback
        address _impl = implementation();
        require(_impl != address(0));
        assembly {
            /*
                0x40 is the "free memory slot", meaning a pointer to next slot of empty memory. mload(0x40)
                loads the data in the free memory slot, so `ptr` is a pointer to the next slot of empty
                memory. It's needed because we're going to write the return data of delegatecall to the
                free memory slot.
            */
            let ptr := mload(0x40)
            /*
                `calldatacopy` is copy calldatasize bytes from calldata
                First argument is the destination to which data is copied(ptr)
                Second argument specifies the start position of the copied data.
                    Since calldata is sort of its own unique location in memory,
                    0 doesn't refer to 0 in memory or 0 in storage - it just refers to the zeroth byte of calldata.
                    That's always going to be the zeroth byte of the function selector.
                Third argument, calldatasize, specifies how much data will be copied.
                    calldata is naturally calldatasize bytes long (same thing as msg.data.length)
            */
            calldatacopy(ptr, 0, calldatasize())
            /*
                delegatecall params explained:
                gas: the amount of gas to provide for the call. `gas` is an Opcode that gives
                    us the amount of gas still available to execution

                _impl: address of the contract to delegate to

                ptr: to pass copied data

                calldatasize: loads the size of `bytes memory data`, same as msg.data.length

                0, 0: These are for the `out` and `outsize` params. Because the output could be dynamic,
                        these are set to 0, 0 so the output data will not be written to memory. The output
                        data will be read using `returndatasize` and `returdatacopy` instead.

                result: This will be 0 if the call fails and 1 if it succeeds
            */
            let result := delegatecall(gas(), _impl, ptr, calldatasize(), 0, 0)
            /*

            */
            /*
                ptr current points to the value stored at 0x40,
                because we assigned it like ptr := mload(0x40).
                Because we use 0x40 as a free memory pointer,
                we want to make sure that the next time we want to allocate memory,
                we aren't overwriting anything important.
                So, by adding ptr and returndatasize,
                we get a memory location beyond the end of the data we will be copying to ptr.
                We place this in at 0x40, and any reads from 0x40 will now read from free memory
            */
            mstore(0x40, add(ptr, returndatasize()))
            /*
                `returndatacopy` is an Opcode that copies the last return data to a slot. `ptr` is the
                    slot it will copy to, 0 means copy from the beginning of the return data, and size is
                    the amount of data to copy.
                `returndatasize` is an Opcode that gives us the size of the last return data. In this case, that is the size of the data returned from delegatecall
            */
            returndatacopy(ptr, 0, returndatasize())

            /*
                if `result` is 0, revert.
                if `result` is 1, return `size` amount of data from `ptr`. This is the data that was
                copied to `ptr` from the delegatecall return data
            */
            switch result
                case 0 {
                    revert(ptr, returndatasize())
                }
                default {
                    return(ptr, returndatasize())
                }
        }
    }
}

// File: contracts/upgradeable_contracts/modules/factory/TokenProxy.sol

pragma solidity 0.7.5;


interface IPermittableTokenVersion {
    function version() external pure returns (string memory);
}

/**
 * @title TokenProxy
 * @dev Helps to reduces the size of the deployed bytecode for automatically created tokens, by using a proxy contract.
 */
contract TokenProxy is Proxy {
    // storage layout is copied from PermittableToken.sol
    string internal name;
    string internal symbol;
    uint8 internal decimals;
    mapping(address => uint256) internal balances;
    uint256 internal totalSupply;
    mapping(address => mapping(address => uint256)) internal allowed;
    address internal owner;
    bool internal mintingFinished;
    address internal bridgeContractAddr;
    // string public constant version = "1";
    bytes32 internal DOMAIN_SEPARATOR;
    // bytes32 public constant PERMIT_TYPEHASH = 0xea2aa0a1be11a07ed86d755c93467f4f82362b452371d1ba94d1715123511acb;
    mapping(address => uint256) internal nonces;
    mapping(address => mapping(address => uint256)) internal expirations;

    /**
     * @dev Creates a non-upgradeable token proxy for PermitableToken.sol, initializes its eternalStorage.
     * @param _tokenImage address of the token image used for mirroring all functions.
     * @param _name token name.
     * @param _symbol token symbol.
     * @param _decimals token decimals.
     * @param _chainId chain id for current network.
     * @param _owner address of the owner for this contract.
     */
    constructor(
        address _tokenImage,
        string memory _name,
        string memory _symbol,
        uint8 _decimals,
        uint256 _chainId,
        address _owner
    ) {
        string memory version = IPermittableTokenVersion(_tokenImage).version();

        assembly {
            // EIP 1967
            // bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1)
            sstore(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc, _tokenImage)
        }
        name = _name;
        symbol = _symbol;
        decimals = _decimals;
        owner = _owner; // _owner == HomeOmnibridge/ForeignOmnibridge mediator
        bridgeContractAddr = _owner;
        DOMAIN_SEPARATOR = keccak256(
            abi.encode(
                keccak256("EIP712Domain(string name,string version,uint256 chainId,address verifyingContract)"),
                keccak256(bytes(_name)),
                keccak256(bytes(version)),
                _chainId,
                address(this)
            )
        );
    }

    /**
     * @dev Retrieves the implementation contract address, mirrored token image.
     * @return impl token image address.
     */
    function implementation() public view override returns (address impl) {
        assembly {
            impl := sload(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc)
        }
    }

    /**
     * @dev Tells the current version of the token proxy interfaces.
     */
    function getTokenProxyInterfacesVersion()
        external
        pure
        returns (
            uint64 major,
            uint64 minor,
            uint64 patch
        )
    {
        return (1, 0, 0);
    }
}

// File: contracts/upgradeable_contracts/modules/OwnableModule.sol

pragma solidity 0.7.5;


/**
 * @title OwnableModule
 * @dev Common functionality for multi-token extension non-upgradeable module.
 */
contract OwnableModule {
    address public owner;

    /**
     * @dev Initializes this contract.
     * @param _owner address of the owner that is allowed to perform additional actions on the particular module.
     */
    constructor(address _owner) {
        owner = _owner;
    }

    /**
     * @dev Throws if sender is not the owner of this contract.
     */
    modifier onlyOwner {
        require(msg.sender == owner);
        _;
    }

    /**
     * @dev Changes the owner of this contract.
     * @param _newOwner address of the new owner.
     */
    function transferOwnership(address _newOwner) external onlyOwner {
        owner = _newOwner;
    }
}

// File: contracts/upgradeable_contracts/modules/factory/TokenFactory.sol

pragma solidity 0.7.5;



/**
 * @title TokenFactory
 * @dev Factory contract for deployment of new TokenProxy contracts.
 */
contract TokenFactory is OwnableModule {
    address public tokenImage;

    /**
     * @dev Initializes this contract
     * @param _owner of this factory contract.
     * @param _tokenImage address of the token image contract that should be used for creation of new tokens.
     */
    constructor(address _owner, address _tokenImage) OwnableModule(_owner) {
        tokenImage = _tokenImage;
    }

    /**
     * @dev Tells the module interface version that this contract supports.
     * @return major value of the version
     * @return minor value of the version
     * @return patch value of the version
     */
    function getModuleInterfacesVersion()
        external
        pure
        returns (
            uint64 major,
            uint64 minor,
            uint64 patch
        )
    {
        return (1, 0, 0);
    }

    /**
     * @dev Updates the address of the used token image contract.
     * Only owner can call this method.
     * @param _tokenImage address of the new token image used for further deployments.
     */
    function setTokenImage(address _tokenImage) external onlyOwner {
        require(Address.isContract(_tokenImage));
        tokenImage = _tokenImage;
    }

    /**
     * @dev Deploys a new TokenProxy contract, using saved token image contract as a template.
     * @param _name deployed token name.
     * @param _symbol deployed token symbol.
     * @param _decimals deployed token decimals.
     * @param _chainId chain id of the current environment.
     * @return address of a newly created contract.
     */
    function deploy(
        string calldata _name,
        string calldata _symbol,
        uint8 _decimals,
        uint256 _chainId
    ) external returns (address) {
        return address(new TokenProxy(tokenImage, _name, _symbol, _decimals, _chainId, msg.sender));
    }
}

// File: contracts/upgradeable_contracts/modules/factory/TokenFactoryConnector.sol

pragma solidity 0.7.5;




/**
 * @title TokenFactoryConnector
 * @dev Connectivity functionality for working with TokenFactory contract.
 */
contract TokenFactoryConnector is Ownable {
    bytes32 internal constant TOKEN_FACTORY_CONTRACT =
        0x269c5905f777ee6391c7a361d17039a7d62f52ba9fffeb98c5ade342705731a3; // keccak256(abi.encodePacked("tokenFactoryContract"))

    /**
     * @dev Updates an address of the used TokenFactory contract used for creating new tokens.
     * @param _tokenFactory address of TokenFactory contract.
     */
    function setTokenFactory(address _tokenFactory) external onlyOwner {
        _setTokenFactory(_tokenFactory);
    }

    /**
     * @dev Retrieves an address of the token factory contract.
     * @return address of the TokenFactory contract.
     */
    function tokenFactory() public view returns (TokenFactory) {
        return TokenFactory(addressStorage[TOKEN_FACTORY_CONTRACT]);
    }

    /**
     * @dev Internal function for updating an address of the token factory contract.
     * @param _tokenFactory address of the deployed TokenFactory contract.
     */
    function _setTokenFactory(address _tokenFactory) internal {
        require(Address.isContract(_tokenFactory));
        addressStorage[TOKEN_FACTORY_CONTRACT] = _tokenFactory;
    }
}

// File: contracts/interfaces/IBurnableMintableERC677Token.sol

pragma solidity 0.7.5;


interface IBurnableMintableERC677Token is IERC677 {
    function mint(address _to, uint256 _amount) external returns (bool);

    function burn(uint256 _value) external;

    function claimTokens(address _token, address _to) external;
}

// File: contracts/interfaces/IERC20Metadata.sol

pragma solidity 0.7.5;

interface IERC20Metadata {
    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function decimals() external view returns (uint8);
}

// File: contracts/interfaces/IERC20Receiver.sol

pragma solidity 0.7.5;

interface IERC20Receiver {
    function onTokenBridged(
        address token,
        uint256 value,
        bytes calldata data
    ) external;
}

// File: contracts/libraries/TokenReader.sol

pragma solidity 0.7.5;

// solhint-disable
interface ITokenDetails {
    function name() external view;
    function NAME() external view;
    function symbol() external view;
    function SYMBOL() external view;
    function decimals() external view;
    function DECIMALS() external view;
}
// solhint-enable

/**
 * @title TokenReader
 * @dev Helper methods for reading name/symbol/decimals parameters from ERC20 token contracts.
 */
library TokenReader {
    /**
     * @dev Reads the name property of the provided token.
     * Either name() or NAME() method is used.
     * Both, string and bytes32 types are supported.
     * @param _token address of the token contract.
     * @return token name as a string or an empty string if none of the methods succeeded.
     */
    function readName(address _token) internal view returns (string memory) {
        (bool status, bytes memory data) = _token.staticcall(abi.encodeWithSelector(ITokenDetails.name.selector));
        if (!status) {
            (status, data) = _token.staticcall(abi.encodeWithSelector(ITokenDetails.NAME.selector));
            if (!status) {
                return "";
            }
        }
        return _convertToString(data);
    }

    /**
     * @dev Reads the symbol property of the provided token.
     * Either symbol() or SYMBOL() method is used.
     * Both, string and bytes32 types are supported.
     * @param _token address of the token contract.
     * @return token symbol as a string or an empty string if none of the methods succeeded.
     */
    function readSymbol(address _token) internal view returns (string memory) {
        (bool status, bytes memory data) = _token.staticcall(abi.encodeWithSelector(ITokenDetails.symbol.selector));
        if (!status) {
            (status, data) = _token.staticcall(abi.encodeWithSelector(ITokenDetails.SYMBOL.selector));
            if (!status) {
                return "";
            }
        }
        return _convertToString(data);
    }

    /**
     * @dev Reads the decimals property of the provided token.
     * Either decimals() or DECIMALS() method is used.
     * @param _token address of the token contract.
     * @return token decimals or 0 if none of the methods succeeded.
     */
    function readDecimals(address _token) internal view returns (uint8) {
        (bool status, bytes memory data) = _token.staticcall(abi.encodeWithSelector(ITokenDetails.decimals.selector));
        if (!status) {
            (status, data) = _token.staticcall(abi.encodeWithSelector(ITokenDetails.DECIMALS.selector));
            if (!status) {
                return 0;
            }
        }
        return abi.decode(data, (uint8));
    }

    /**
     * @dev Internal function for converting returned value of name()/symbol() from bytes32/string to string.
     * @param returnData data returned by the token contract.
     * @return string with value obtained from returnData.
     */
    function _convertToString(bytes memory returnData) private pure returns (string memory) {
        if (returnData.length > 32) {
            return abi.decode(returnData, (string));
        } else if (returnData.length == 32) {
            bytes32 data = abi.decode(returnData, (bytes32));
            string memory res = new string(32);
            assembly {
                let len := 0
                mstore(add(res, 32), data) // save value in result string

                // solhint-disable
                for { } gt(data, 0) { len := add(len, 1) } { // until string is empty
                    data := shl(8, data) // shift left by one symbol
                }
                // solhint-enable
                mstore(res, len) // save result string length
            }
            return res;
        } else {
            return "";
        }
    }
}

// File: contracts/libraries/SafeMint.sol

pragma solidity 0.7.5;


/**
 * @title SafeMint
 * @dev Wrapper around the mint() function in all mintable tokens that verifies the return value.
 */
library SafeMint {
    /**
     * @dev Wrapper around IBurnableMintableERC677Token.mint() that verifies that output value is true.
     * @param _token token contract.
     * @param _to address of the tokens receiver.
     * @param _value amount of tokens to mint.
     */
    function safeMint(
        IBurnableMintableERC677Token _token,
        address _to,
        uint256 _value
    ) internal {
        require(_token.mint(_to, _value));
    }
}

// File: contracts/upgradeable_contracts/BasicOmnibridge.sol

pragma solidity 0.7.5;


















/**
 * @title BasicOmnibridge
 * @dev Common functionality for multi-token mediator intended to work on top of AMB bridge.
 */
abstract contract BasicOmnibridge is
    Initializable,
    Upgradeable,
    Claimable,
    OmnibridgeInfo,
    TokensRelayer,
    FailedMessagesProcessor,
    BridgedTokensRegistry,
    NativeTokensRegistry,
    MediatorBalanceStorage,
    TokenFactoryConnector,
    TokensBridgeLimits
{
    using SafeERC20 for IERC677;
    using SafeMint for IBurnableMintableERC677Token;
    using SafeMath for uint256;

    // Workaround for storing variable up-to-32 bytes suffix
    uint256 private immutable SUFFIX_SIZE;
    bytes32 private immutable SUFFIX;

    // Since contract is intended to be deployed under EternalStorageProxy, only constant and immutable variables can be set here
    constructor(string memory _suffix) {
        require(bytes(_suffix).length <= 32);
        bytes32 suffix;
        assembly {
            suffix := mload(add(_suffix, 32))
        }
        SUFFIX = suffix;
        SUFFIX_SIZE = bytes(_suffix).length;
    }

    /**
     * @dev Handles the bridged tokens for the first time, includes deployment of new TokenProxy contract.
     * Checks that the value is inside the execution limits and invokes the Mint or Unlock accordingly.
     * @param _token address of the native ERC20/ERC677 token on the other side.
     * @param _name name of the native token, name suffix will be appended, if empty, symbol will be used instead.
     * @param _symbol symbol of the bridged token, if empty, name will be used instead.
     * @param _decimals decimals of the bridge foreign token.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     */
    function deployAndHandleBridgedTokens(
        address _token,
        string calldata _name,
        string calldata _symbol,
        uint8 _decimals,
        address _recipient,
        uint256 _value
    ) external onlyMediator {
        address bridgedToken = _getBridgedTokenOrDeploy(_token, _name, _symbol, _decimals);

        _handleTokens(bridgedToken, false, _recipient, _value);
    }

    /**
     * @dev Handles the bridged tokens for the first time, includes deployment of new TokenProxy contract.
     * Executes a callback on the receiver.
     * Checks that the value is inside the execution limits and invokes the Mint accordingly.
     * @param _token address of the native ERC20/ERC677 token on the other side.
     * @param _name name of the native token, name suffix will be appended, if empty, symbol will be used instead.
     * @param _symbol symbol of the bridged token, if empty, name will be used instead.
     * @param _decimals decimals of the bridge foreign token.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     * @param _data additional data passed from the other chain.
     */
    function deployAndHandleBridgedTokensAndCall(
        address _token,
        string calldata _name,
        string calldata _symbol,
        uint8 _decimals,
        address _recipient,
        uint256 _value,
        bytes calldata _data
    ) external onlyMediator {
        address bridgedToken = _getBridgedTokenOrDeploy(_token, _name, _symbol, _decimals);

        _handleTokens(bridgedToken, false, _recipient, _value);

        _receiverCallback(_recipient, bridgedToken, _value, _data);
    }

    /**
     * @dev Handles the bridged tokens for the already registered token pair.
     * Checks that the value is inside the execution limits and invokes the Mint accordingly.
     * @param _token address of the native ERC20/ERC677 token on the other side.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     */
    function handleBridgedTokens(
        address _token,
        address _recipient,
        uint256 _value
    ) external onlyMediator {
        address token = bridgedTokenAddress(_token);

        require(isTokenRegistered(token));

        _handleTokens(token, false, _recipient, _value);
    }

    /**
     * @dev Handles the bridged tokens for the already registered token pair.
     * Checks that the value is inside the execution limits and invokes the Unlock accordingly.
     * Executes a callback on the receiver.
     * @param _token address of the native ERC20/ERC677 token on the other side.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     * @param _data additional transfer data passed from the other side.
     */
    function handleBridgedTokensAndCall(
        address _token,
        address _recipient,
        uint256 _value,
        bytes memory _data
    ) external onlyMediator {
        address token = bridgedTokenAddress(_token);

        require(isTokenRegistered(token));

        _handleTokens(token, false, _recipient, _value);

        _receiverCallback(_recipient, token, _value, _data);
    }

    /**
     * @dev Handles the bridged tokens that are native to this chain.
     * Checks that the value is inside the execution limits and invokes the Unlock accordingly.
     * @param _token native ERC20 token.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     */
    function handleNativeTokens(
        address _token,
        address _recipient,
        uint256 _value
    ) external onlyMediator {
        _ackBridgedTokenDeploy(_token);

        _handleTokens(_token, true, _recipient, _value);
    }

    /**
     * @dev Handles the bridged tokens that are native to this chain.
     * Checks that the value is inside the execution limits and invokes the Unlock accordingly.
     * Executes a callback on the receiver.
     * @param _token native ERC20 token.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     * @param _data additional transfer data passed from the other side.
     */
    function handleNativeTokensAndCall(
        address _token,
        address _recipient,
        uint256 _value,
        bytes memory _data
    ) external onlyMediator {
        _ackBridgedTokenDeploy(_token);

        _handleTokens(_token, true, _recipient, _value);

        _receiverCallback(_recipient, _token, _value, _data);
    }

    /**
     * @dev Checks if a given token is a bridged token that is native to this side of the bridge.
     * @param _token address of token contract.
     * @return message id of the send message.
     */
    function isRegisteredAsNativeToken(address _token) public view returns (bool) {
        return isTokenRegistered(_token) && nativeTokenAddress(_token) == address(0);
    }

    /**
     * @dev Unlock back the amount of tokens that were bridged to the other network but failed.
     * @param _token address that bridged token contract.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     */
    function executeActionOnFixedTokens(
        address _token,
        address _recipient,
        uint256 _value
    ) internal override {
        _releaseTokens(nativeTokenAddress(_token) == address(0), _token, _recipient, _value, _value);
    }

    /**
     * @dev Allows to pre-set the bridged token contract for not-yet bridged token.
     * Only the owner can call this method.
     * @param _nativeToken address of the token contract on the other side that was not yet bridged.
     * @param _bridgedToken address of the bridged token contract.
     */
    function setCustomTokenAddressPair(address _nativeToken, address _bridgedToken) external onlyOwner {
        require(!isTokenRegistered(_bridgedToken));
        require(nativeTokenAddress(_bridgedToken) == address(0));
        require(bridgedTokenAddress(_nativeToken) == address(0));
        // Unfortunately, there is no simple way to verify that the _nativeToken address
        // does not belong to the bridged token on the other side,
        // since information about bridged tokens addresses is not transferred back.
        // Therefore, owner account calling this function SHOULD manually verify on the other side of the bridge that
        // nativeTokenAddress(_nativeToken) == address(0) && isTokenRegistered(_nativeToken) == false.

        IBurnableMintableERC677Token(_bridgedToken).safeMint(address(this), 1);
        IBurnableMintableERC677Token(_bridgedToken).burn(1);

        _setTokenAddressPair(_nativeToken, _bridgedToken);
    }

    /**
     * @dev Allows to send to the other network the amount of locked tokens that can be forced into the contract
     * without the invocation of the required methods. (e. g. regular transfer without a call to onTokenTransfer)
     * @param _token address of the token contract.
     * Before calling this method, it must be carefully investigated how imbalance happened
     * in order to avoid an attempt to steal the funds from a token with double addresses
     * (e.g. TUSD is accessible at both 0x8dd5fbCe2F6a956C3022bA3663759011Dd51e73E and 0x0000000000085d4780B73119b644AE5ecd22b376)
     * @param _receiver the address that will receive the tokens on the other network.
     */
    function fixMediatorBalance(address _token, address _receiver)
        external
        onlyIfUpgradeabilityOwner
        validAddress(_receiver)
    {
        require(isRegisteredAsNativeToken(_token));

        uint256 diff = _unaccountedBalance(_token);
        require(diff > 0);
        uint256 available = maxAvailablePerTx(_token);
        require(available > 0);
        if (diff > available) {
            diff = available;
        }
        addTotalSpentPerDay(_token, getCurrentDay(), diff);

        bytes memory data = _prepareMessage(address(0), _token, _receiver, diff, new bytes(0));
        bytes32 _messageId = _passMessage(data, true);
        _recordBridgeOperation(_messageId, _token, _receiver, diff);
    }

    /**
     * @dev Claims stuck tokens. Only unsupported tokens can be claimed.
     * When dealing with already supported tokens, fixMediatorBalance can be used instead.
     * @param _token address of claimed token, address(0) for native
     * @param _to address of tokens receiver
     */
    function claimTokens(address _token, address _to) external onlyIfUpgradeabilityOwner {
        // Only unregistered tokens and native coins are allowed to be claimed with the use of this function
        require(_token == address(0) || !isTokenRegistered(_token));
        claimValues(_token, _to);
    }

    /**
     * @dev Withdraws erc20 tokens or native coins from the bridged token contract.
     * Only the proxy owner is allowed to call this method.
     * @param _bridgedToken address of the bridged token contract.
     * @param _token address of the claimed token or address(0) for native coins.
     * @param _to address of the tokens/coins receiver.
     */
    function claimTokensFromTokenContract(
        address _bridgedToken,
        address _token,
        address _to
    ) external onlyIfUpgradeabilityOwner {
        IBurnableMintableERC677Token(_bridgedToken).claimTokens(_token, _to);
    }

    /**
     * @dev Internal function for recording bridge operation for further usage.
     * Recorded information is used for fixing failed requests on the other side.
     * @param _messageId id of the sent message.
     * @param _token bridged token address.
     * @param _sender address of the tokens sender.
     * @param _value bridged value.
     */
    function _recordBridgeOperation(
        bytes32 _messageId,
        address _token,
        address _sender,
        uint256 _value
    ) internal {
        setMessageToken(_messageId, _token);
        setMessageRecipient(_messageId, _sender);
        setMessageValue(_messageId, _value);

        emit TokensBridgingInitiated(_token, _sender, _value, _messageId);
    }

    /**
     * @dev Constructs the message to be sent to the other side. Burns/locks bridged amount of tokens.
     * @param _nativeToken address of the native token contract.
     * @param _token bridged token address.
     * @param _receiver address of the tokens receiver on the other side.
     * @param _value bridged value.
     * @param _data additional transfer data passed from the other side.
     */
    function _prepareMessage(
        address _nativeToken,
        address _token,
        address _receiver,
        uint256 _value,
        bytes memory _data
    ) internal returns (bytes memory) {
        bool withData = _data.length > 0 || msg.sig == this.relayTokensAndCall.selector;

        // process token is native with respect to this side of the bridge
        if (_nativeToken == address(0)) {
            _setMediatorBalance(_token, mediatorBalance(_token).add(_value));

            // process token which bridged alternative was already ACKed to be deployed
            if (isBridgedTokenDeployAcknowledged(_token)) {
                return
                    withData
                        ? abi.encodeWithSelector(
                            this.handleBridgedTokensAndCall.selector,
                            _token,
                            _receiver,
                            _value,
                            _data
                        )
                        : abi.encodeWithSelector(this.handleBridgedTokens.selector, _token, _receiver, _value);
            }

            uint8 decimals = TokenReader.readDecimals(_token);
            string memory name = TokenReader.readName(_token);
            string memory symbol = TokenReader.readSymbol(_token);

            require(bytes(name).length > 0 || bytes(symbol).length > 0);

            return
                withData
                    ? abi.encodeWithSelector(
                        this.deployAndHandleBridgedTokensAndCall.selector,
                        _token,
                        name,
                        symbol,
                        decimals,
                        _receiver,
                        _value,
                        _data
                    )
                    : abi.encodeWithSelector(
                        this.deployAndHandleBridgedTokens.selector,
                        _token,
                        name,
                        symbol,
                        decimals,
                        _receiver,
                        _value
                    );
        }

        // process already known token that is bridged from other chain
        IBurnableMintableERC677Token(_token).burn(_value);
        return
            withData
                ? abi.encodeWithSelector(
                    this.handleNativeTokensAndCall.selector,
                    _nativeToken,
                    _receiver,
                    _value,
                    _data
                )
                : abi.encodeWithSelector(this.handleNativeTokens.selector, _nativeToken, _receiver, _value);
    }

    /**
     * @dev Internal function for getting minter proxy address.
     * @param _token address of the token to mint.
     * @return address of the minter contract that should be used for calling mint(address,uint256)
     */
    function _getMinterFor(address _token) internal pure virtual returns (IBurnableMintableERC677Token) {
        return IBurnableMintableERC677Token(_token);
    }

    /**
     * Internal function for unlocking some amount of tokens.
     * @param _isNative true, if token is native w.r.t. to this side of the bridge.
     * @param _token address of the token contract.
     * @param _recipient address of the tokens receiver.
     * @param _value amount of tokens to unlock.
     * @param _balanceChange amount of balance to subtract from the mediator balance.
     */
    function _releaseTokens(
        bool _isNative,
        address _token,
        address _recipient,
        uint256 _value,
        uint256 _balanceChange
    ) internal virtual {
        if (_isNative) {
            IERC677(_token).safeTransfer(_recipient, _value);
            _setMediatorBalance(_token, mediatorBalance(_token).sub(_balanceChange));
        } else {
            _getMinterFor(_token).safeMint(_recipient, _value);
        }
    }

    /**
     * Internal function for getting address of the bridged token. Deploys new token if necessary.
     * @param _token address of the token contract on the other side of the bridge.
     * @param _name name of the native token, name suffix will be appended, if empty, symbol will be used instead.
     * @param _symbol symbol of the bridged token, if empty, name will be used instead.
     * @param _decimals decimals of the bridge foreign token.
     */
    function _getBridgedTokenOrDeploy(
        address _token,
        string calldata _name,
        string calldata _symbol,
        uint8 _decimals
    ) internal returns (address) {
        address bridgedToken = bridgedTokenAddress(_token);
        if (bridgedToken == address(0)) {
            string memory name = _name;
            string memory symbol = _symbol;
            require(bytes(name).length > 0 || bytes(symbol).length > 0);
            if (bytes(name).length == 0) {
                name = symbol;
            } else if (bytes(symbol).length == 0) {
                symbol = name;
            }
            name = _transformName(name);
            bridgedToken = tokenFactory().deploy(name, symbol, _decimals, bridgeContract().sourceChainId());
            _setTokenAddressPair(_token, bridgedToken);
            _initializeTokenBridgeLimits(bridgedToken, _decimals);
        } else if (!isTokenRegistered(bridgedToken)) {
            require(IERC20Metadata(bridgedToken).decimals() == _decimals);
            _initializeTokenBridgeLimits(bridgedToken, _decimals);
        }
        return bridgedToken;
    }

    /**
     * Notifies receiving contract about the completed bridging operation.
     * @param _recipient address of the tokens receiver.
     * @param _token address of the bridged token.
     * @param _value amount of tokens transferred.
     * @param _data additional data passed to the callback.
     */
    function _receiverCallback(
        address _recipient,
        address _token,
        uint256 _value,
        bytes memory _data
    ) internal {
        if (Address.isContract(_recipient)) {
            _recipient.call(abi.encodeWithSelector(IERC20Receiver.onTokenBridged.selector, _token, _value, _data));
        }
    }

    /**
     * @dev Internal function for transforming the bridged token name. Appends a side-specific suffix.
     * @param _name bridged token from the other side.
     * @return token name for this side of the bridge.
     */
    function _transformName(string memory _name) internal view returns (string memory) {
        string memory result = string(abi.encodePacked(_name, SUFFIX));
        uint256 size = SUFFIX_SIZE;
        assembly {
            mstore(result, add(mload(_name), size))
        }
        return result;
    }

    /**
     * @dev Internal function for counting excess balance which is not tracked within the bridge.
     * Represents the amount of forced tokens on this contract.
     * @param _token address of the token contract.
     * @return amount of excess tokens.
     */
    function _unaccountedBalance(address _token) internal view virtual returns (uint256) {
        return IERC677(_token).balanceOf(address(this)).sub(mediatorBalance(_token));
    }

    function _handleTokens(
        address _token,
        bool _isNative,
        address _recipient,
        uint256 _value
    ) internal virtual;
}

// File: contracts/upgradeable_contracts/components/common/GasLimitManager.sol

pragma solidity 0.7.5;


/**
 * @title GasLimitManager
 * @dev Functionality for determining the request gas limit for AMB execution.
 */
abstract contract GasLimitManager is BasicAMBMediator {
    bytes32 internal constant REQUEST_GAS_LIMIT = 0x2dfd6c9f781bb6bbb5369c114e949b69ebb440ef3d4dd6b2836225eb1dc3a2be; // keccak256(abi.encodePacked("requestGasLimit"))

    /**
     * @dev Sets the default gas limit to be used in the message execution by the AMB bridge on the other network.
     * This value can't exceed the parameter maxGasPerTx defined on the AMB bridge.
     * Only the owner can call this method.
     * @param _gasLimit the gas limit for the message execution.
     */
    function setRequestGasLimit(uint256 _gasLimit) external onlyOwner {
        _setRequestGasLimit(_gasLimit);
    }

    /**
     * @dev Tells the default gas limit to be used in the message execution by the AMB bridge on the other network.
     * @return the gas limit for the message execution.
     */
    function requestGasLimit() public view returns (uint256) {
        return uintStorage[REQUEST_GAS_LIMIT];
    }

    /**
     * @dev Stores the gas limit to be used in the message execution by the AMB bridge on the other network.
     * @param _gasLimit the gas limit for the message execution.
     */
    function _setRequestGasLimit(uint256 _gasLimit) internal {
        require(_gasLimit <= maxGasPerTx());
        uintStorage[REQUEST_GAS_LIMIT] = _gasLimit;
    }
}

// File: contracts/interfaces/IInterestReceiver.sol

pragma solidity 0.7.5;

interface IInterestReceiver {
    function onInterestReceived(address _token) external;
}

// File: contracts/interfaces/IInterestImplementation.sol

pragma solidity 0.7.5;


interface IInterestImplementation {
    event InterestEnabled(address indexed token, address xToken);
    event InterestDustUpdated(address indexed token, uint96 dust);
    event InterestReceiverUpdated(address indexed token, address receiver);
    event MinInterestPaidUpdated(address indexed token, uint256 amount);
    event PaidInterest(address indexed token, address to, uint256 value);
    event ForceDisable(address indexed token, uint256 tokensAmount, uint256 xTokensAmount, uint256 investedAmount);

    function isInterestSupported(address _token) external view returns (bool);

    function invest(address _token, uint256 _amount) external;

    function withdraw(address _token, uint256 _amount) external;

    function investedAmount(address _token) external view returns (uint256);
}

// File: contracts/upgradeable_contracts/components/common/InterestConnector.sol

pragma solidity 0.7.5;








/**
 * @title InterestConnector
 * @dev This contract gives an abstract way of receiving interest on locked tokens.
 */
contract InterestConnector is Ownable, MediatorBalanceStorage {
    using SafeMath for uint256;
    using SafeERC20 for IERC20;

    /**
     * @dev Tells address of the interest earning implementation for the specific token contract.
     * If interest earning is disabled, will return 0x00..00.
     * Can be an address of the deployed CompoundInterestERC20 contract.
     * @param _token address of the locked token contract.
     * @return address of the implementation contract.
     */
    function interestImplementation(address _token) public view returns (IInterestImplementation) {
        return IInterestImplementation(addressStorage[keccak256(abi.encodePacked("interestImpl", _token))]);
    }

    /**
     * @dev Initializes interest receiving functionality for the particular locked token.
     * Only owner can call this method.
     * @param _token address of the token for interest earning.
     * @param _impl address of the interest earning implementation contract.
     * @param _minCashThreshold minimum amount of underlying tokens that are not invested.
     */
    function initializeInterest(
        address _token,
        address _impl,
        uint256 _minCashThreshold
    ) external onlyOwner {
        require(address(interestImplementation(_token)) == address(0));
        _setInterestImplementation(_token, _impl);
        _setMinCashThreshold(_token, _minCashThreshold);
    }

    /**
     * @dev Sets minimum amount of tokens that cannot be invested.
     * Only owner can call this method.
     * @param _token address of the token contract.
     * @param _minCashThreshold minimum amount of underlying tokens that are not invested.
     */
    function setMinCashThreshold(address _token, uint256 _minCashThreshold) external onlyOwner {
        _setMinCashThreshold(_token, _minCashThreshold);
    }

    /**
     * @dev Tells minimum amount of tokens that are not being invested.
     * @param _token address of the invested token contract.
     * @return amount of tokens.
     */
    function minCashThreshold(address _token) public view returns (uint256) {
        return uintStorage[keccak256(abi.encodePacked("minCashThreshold", _token))];
    }

    /**
     * @dev Disables interest for locked funds.
     * Only owner can call this method.
     * Prior to calling this function, consider to call payInterest and claimCompAndPay.
     * @param _token of token to disable interest for.
     */
    function disableInterest(address _token) external onlyOwner {
        interestImplementation(_token).withdraw(_token, uint256(-1));
        _setInterestImplementation(_token, address(0));
    }

    /**
     * @dev Invests all excess tokens. Leaves only minCashThreshold in underlying tokens.
     * Requires interest for the given token to be enabled first.
     * @param _token address of the token contract considered.
     */
    function invest(address _token) external {
        IInterestImplementation impl = interestImplementation(_token);
        // less than _token.balanceOf(this), since it does not take into account mistakenly locked tokens that should be processed via fixMediatorBalance.
        uint256 balance = mediatorBalance(_token).sub(impl.investedAmount(_token));
        uint256 minCash = minCashThreshold(_token);

        require(balance > minCash);
        uint256 amount = balance - minCash;

        IERC20(_token).safeTransfer(address(impl), amount);
        impl.invest(_token, amount);
    }

    /**
     * @dev Internal function for setting interest earning implementation contract for some token.
     * Also acts as an interest enabled flag.
     * @param _token address of the token contract.
     * @param _impl address of the implementation contract.
     */
    function _setInterestImplementation(address _token, address _impl) internal {
        require(_impl == address(0) || IInterestImplementation(_impl).isInterestSupported(_token));
        addressStorage[keccak256(abi.encodePacked("interestImpl", _token))] = _impl;
    }

    /**
     * @dev Internal function for setting minimum amount of tokens that cannot be invested.
     * @param _token address of the token contract.
     * @param _minCashThreshold minimum amount of underlying tokens that are not invested.
     */
    function _setMinCashThreshold(address _token, uint256 _minCashThreshold) internal {
        uintStorage[keccak256(abi.encodePacked("minCashThreshold", _token))] = _minCashThreshold;
    }
}

// File: contracts/upgradeable_contracts/ForeignOmnibridge.sol

pragma solidity 0.7.5;





/**
 * @title ForeignOmnibridge
 * @dev Foreign side implementation for multi-token mediator intended to work on top of AMB bridge.
 * It is designed to be used as an implementation contract of EternalStorageProxy contract.
 */
contract ForeignOmnibridge is BasicOmnibridge, GasLimitManager, InterestConnector {
    using SafeERC20 for IERC677;
    using SafeMint for IBurnableMintableERC677Token;
    using SafeMath for uint256;

    constructor(string memory _suffix) BasicOmnibridge(_suffix) {}

    /**
     * @dev Stores the initial parameters of the mediator.
     * @param _bridgeContract the address of the AMB bridge contract.
     * @param _mediatorContract the address of the mediator contract on the other network.
     * @param _dailyLimitMaxPerTxMinPerTxArray array with limit values for the assets to be bridged to the other network.
     *   [ 0 = dailyLimit, 1 = maxPerTx, 2 = minPerTx ]
     * @param _executionDailyLimitExecutionMaxPerTxArray array with limit values for the assets bridged from the other network.
     *   [ 0 = executionDailyLimit, 1 = executionMaxPerTx ]
     * @param _requestGasLimit the gas limit for the message execution.
     * @param _owner address of the owner of the mediator contract.
     * @param _tokenFactory address of the TokenFactory contract that will be used for the deployment of new tokens.
     */
    function initialize(
        address _bridgeContract,
        address _mediatorContract,
        uint256[3] calldata _dailyLimitMaxPerTxMinPerTxArray, // [ 0 = _dailyLimit, 1 = _maxPerTx, 2 = _minPerTx ]
        uint256[2] calldata _executionDailyLimitExecutionMaxPerTxArray, // [ 0 = _executionDailyLimit, 1 = _executionMaxPerTx ]
        uint256 _requestGasLimit,
        address _owner,
        address _tokenFactory
    ) external onlyRelevantSender returns (bool) {
        require(!isInitialized());

        _setBridgeContract(_bridgeContract);
        _setMediatorContractOnOtherSide(_mediatorContract);
        _setLimits(address(0), _dailyLimitMaxPerTxMinPerTxArray);
        _setExecutionLimits(address(0), _executionDailyLimitExecutionMaxPerTxArray);
        _setRequestGasLimit(_requestGasLimit);
        _setOwner(_owner);
        _setTokenFactory(_tokenFactory);

        setInitialize();

        return isInitialized();
    }

    /**
     * One-time function to be used together with upgradeToAndCall method.
     * Sets the token factory contract.
     * @param _tokenFactory address of the deployed TokenFactory contract.
     */
    function upgradeToReverseMode(address _tokenFactory) external {
        require(msg.sender == address(this));

        _setTokenFactory(_tokenFactory);
    }

    /**
     * @dev Handles the bridged tokens.
     * Checks that the value is inside the execution limits and invokes the Mint or Unlock accordingly.
     * @param _token token contract address on this side of the bridge.
     * @param _isNative true, if given token is native to this chain and Unlock should be used.
     * @param _recipient address that will receive the tokens.
     * @param _value amount of tokens to be received.
     */
    function _handleTokens(
        address _token,
        bool _isNative,
        address _recipient,
        uint256 _value
    ) internal override {
        // prohibit withdrawal of tokens during other bridge operations (e.g. relayTokens)
        // such reentrant withdrawal can lead to an incorrect balanceDiff calculation
        require(!lock());

        require(withinExecutionLimit(_token, _value));
        addTotalExecutedPerDay(_token, getCurrentDay(), _value);

        _releaseTokens(_isNative, _token, _recipient, _value, _value);

        emit TokensBridged(_token, _recipient, _value, messageId());
    }

    /**
     * @dev Executes action on deposit of bridged tokens
     * @param _token address of the token contract
     * @param _from address of tokens sender
     * @param _receiver address of tokens receiver on the other side
     * @param _value requested amount of bridged tokens
     * @param _data additional transfer data to be used on the other side
     */
    function bridgeSpecificActionsOnTokenTransfer(
        address _token,
        address _from,
        address _receiver,
        uint256 _value,
        bytes memory _data
    ) internal virtual override {
        require(_receiver != address(0) && _receiver != mediatorContractOnOtherSide());

        // native unbridged token
        if (!isTokenRegistered(_token)) {
            uint8 decimals = TokenReader.readDecimals(_token);
            _initializeTokenBridgeLimits(_token, decimals);
        }

        require(withinLimit(_token, _value));
        addTotalSpentPerDay(_token, getCurrentDay(), _value);

        bytes memory data = _prepareMessage(nativeTokenAddress(_token), _token, _receiver, _value, _data);
        bytes32 _messageId = _passMessage(data, true);
        _recordBridgeOperation(_messageId, _token, _from, _value);
    }

    /**
     * Internal function for unlocking some amount of tokens.
     * @param _isNative true, if token is native w.r.t. to this side of the bridge.
     * @param _token address of the token contract.
     * @param _recipient address of the tokens receiver.
     * @param _value amount of tokens to unlock.
     * @param _balanceChange amount of balance to subtract from the mediator balance.
     */
    function _releaseTokens(
        bool _isNative,
        address _token,
        address _recipient,
        uint256 _value,
        uint256 _balanceChange
    ) internal override {
        if (_isNative) {
            // There are two edge cases related to withdrawals on the foreign side of the bridge.
            // 1) Minting of extra STAKE tokens, if supply on the Home side exceeds total bridge amount on the Foreign side.
            // 2) Withdrawal of the invested tokens back from the Compound-like protocol, if currently available funds are insufficient.
            // Most of the time, these cases do not intersect. However, in case STAKE tokens are also invested (e.g. via EasyStaking),
            // the situation can be the following:
            // - 20 STAKE are bridged through the OB. 15 STAKE of which are invested into EasyStaking, and 5 STAKE are locked directly on the bridge.
            // - 5 STAKE are mistakenly locked on the bridge via regular transfer, they are not accounted in mediatorBalance(STAKE)
            // - User requests withdrawal of 30 STAKE from the Home side.
            // Correct sequence of actions should be the following:
            // - Mint new STAKE tokens (value - mediatorBalance(STAKE) = 30 STAKE - 20 STAKE = 10 STAKE)
            // - Set local variable balance to 30 STAKE
            // - Withdraw all invested STAKE tokens (value - (balance - investedAmount(STAKE)) = 30 STAKE - (30 STAKE - 15 STAKE) = 15 STAKE)

            uint256 balance = mediatorBalance(_token);
            if (_token == address(0x0Ae055097C6d159879521C384F1D2123D1f195e6) && balance < _value) {
                IBurnableMintableERC677Token(_token).safeMint(address(this), _value - balance);
                balance = _value;
            }

            IInterestImplementation impl = interestImplementation(_token);
            // can be used instead of Address.isContract(address(impl)),
            // since _setInterestImplementation guarantees that impl is either a contract or zero address
            // and interest implementation does not contain any selfdestruct opcode
            if (address(impl) != address(0)) {
                uint256 availableBalance = balance.sub(impl.investedAmount(_token));
                if (_value > availableBalance) {
                    impl.withdraw(_token, (_value - availableBalance).add(minCashThreshold(_token)));
                }
            }

            _setMediatorBalance(_token, balance.sub(_balanceChange));
            IERC677(_token).safeTransfer(_recipient, _value);
        } else {
            _getMinterFor(_token).safeMint(_recipient, _value);
        }
    }

    /**
     * @dev Internal function for sending an AMB message to the mediator on the other side.
     * @param _data data to be sent to the other side of the bridge.
     * @param _useOracleLane always true, not used on this side of the bridge.
     * @return id of the sent message.
     */
    function _passMessage(bytes memory _data, bool _useOracleLane) internal override returns (bytes32) {
        (_useOracleLane);

        return bridgeContract().requireToPassMessage(mediatorContractOnOtherSide(), _data, requestGasLimit());
    }

    /**
     * @dev Internal function for counting excess balance which is not tracked within the bridge.
     * Represents the amount of forced tokens on this contract.
     * @param _token address of the token contract.
     * @return amount of excess tokens.
     */
    function _unaccountedBalance(address _token) internal view override returns (uint256) {
        IInterestImplementation impl = interestImplementation(_token);
        uint256 invested = Address.isContract(address(impl)) ? impl.investedAmount(_token) : 0;
        return IERC677(_token).balanceOf(address(this)).sub(mediatorBalance(_token).sub(invested));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"string","name":"_suffix","type":"string"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"DailyLimitChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"newLimit","type":"uint256"}],"name":"ExecutionDailyLimitChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"},{"indexed":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"}],"name":"FailedMessageFixed","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"nativeToken","type":"address"},{"indexed":true,"internalType":"address","name":"bridgedToken","type":"address"}],"name":"NewTokenRegistered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"}],"name":"TokensBridged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"value","type":"uint256"},{"indexed":true,"internalType":"bytes32","name":"messageId","type":"bytes32"}],"name":"TokensBridgingInitiated","type":"event"},{"inputs":[],"name":"bridgeContract","outputs":[{"internalType":"contract IAMB","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_nativeToken","type":"address"}],"name":"bridgedTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"claimTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridgedToken","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_to","type":"address"}],"name":"claimTokensFromTokenContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"dailyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"deployAndHandleBridgedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"string","name":"_name","type":"string"},{"internalType":"string","name":"_symbol","type":"string"},{"internalType":"uint8","name":"_decimals","type":"uint8"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"deployAndHandleBridgedTokensAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"disableInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"executionDailyLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"executionMaxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageId","type":"bytes32"}],"name":"fixFailedMessage","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"}],"name":"fixMediatorBalance","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"getBridgeInterfacesVersion","outputs":[{"internalType":"uint64","name":"major","type":"uint64"},{"internalType":"uint64","name":"minor","type":"uint64"},{"internalType":"uint64","name":"patch","type":"uint64"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getBridgeMode","outputs":[{"internalType":"bytes4","name":"_data","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"getCurrentDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"handleBridgedTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"handleBridgedTokensAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"handleNativeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"handleNativeTokensAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_bridgeContract","type":"address"},{"internalType":"address","name":"_mediatorContract","type":"address"},{"internalType":"uint256[3]","name":"_dailyLimitMaxPerTxMinPerTxArray","type":"uint256[3]"},{"internalType":"uint256[2]","name":"_executionDailyLimitExecutionMaxPerTxArray","type":"uint256[2]"},{"internalType":"uint256","name":"_requestGasLimit","type":"uint256"},{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_tokenFactory","type":"address"}],"name":"initialize","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_impl","type":"address"},{"internalType":"uint256","name":"_minCashThreshold","type":"uint256"}],"name":"initializeInterest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"interestImplementation","outputs":[{"internalType":"contract IInterestImplementation","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"invest","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isBridgedTokenDeployAcknowledged","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"isInitialized","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isRegisteredAsNativeToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"isTokenRegistered","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"maxAvailablePerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"maxPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"mediatorBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"mediatorContractOnOtherSide","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageId","type":"bytes32"}],"name":"messageFixed","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"minCashThreshold","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"}],"name":"minPerTx","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bridgedToken","type":"address"}],"name":"nativeTokenAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_from","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"onTokenTransfer","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"contract IERC677","name":"token","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"relayTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC677","name":"token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"}],"name":"relayTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"contract IERC677","name":"token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_value","type":"uint256"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"relayTokensAndCall","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes32","name":"_messageId","type":"bytes32"}],"name":"requestFailedMessageFix","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"requestGasLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_bridgeContract","type":"address"}],"name":"setBridgeContract","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nativeToken","type":"address"},{"internalType":"address","name":"_bridgedToken","type":"address"}],"name":"setCustomTokenAddressPair","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_dailyLimit","type":"uint256"}],"name":"setDailyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_dailyLimit","type":"uint256"}],"name":"setExecutionDailyLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setExecutionMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_maxPerTx","type":"uint256"}],"name":"setMaxPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_mediatorContract","type":"address"}],"name":"setMediatorContractOnOtherSide","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_minCashThreshold","type":"uint256"}],"name":"setMinCashThreshold","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_minPerTx","type":"uint256"}],"name":"setMinPerTx","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_gasLimit","type":"uint256"}],"name":"setRequestGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenFactory","type":"address"}],"name":"setTokenFactory","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"tokenFactory","outputs":[{"internalType":"contract TokenFactory","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_day","type":"uint256"}],"name":"totalExecutedPerDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_day","type":"uint256"}],"name":"totalSpentPerDay","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_tokenFactory","type":"address"}],"name":"upgradeToReverseMode","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withinExecutionLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"withinLimit","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b5060405162005a9138038062005a91833981810160405260208110156200003757600080fd5b81019080805160405193929190846401000000008211156200005857600080fd5b9083019060208201858111156200006e57600080fd5b82516401000000008111828201881017156200008957600080fd5b82525081516020918201929091019080838360005b83811015620000b85781810151838201526020016200009e565b50505050905090810190601f168015620000e65780820380516001836020036101000a031916815260200191505b5060405250505080602081511115620000fe57600080fd5b602081015160a052516080525060805160a0516159626200012f60003980614b09525080614b8e52506159626000f3fe608060405234801561001057600080fd5b50600436106103a45760003560e01c80637610722f116101e9578063be3b625b1161010f578063db6fff8c116100ad578063f2fde38b1161007c578063f2fde38b14611079578063f3b837911461109f578063f3f51415146110bc578063f50dace6146110e2576103a4565b8063db6fff8c14610fed578063e77772fe14611019578063ec47de2a14611021578063f2c54fe81461104d576103a4565b8063cd596583116100e9578063cd59658314610db7578063d0342acd14610dbf578063d522cfd714610ded578063d740548114610f29576103a4565b8063be3b625b14610cc5578063c2173d4314610ccd578063c534576114610cf3576103a4565b80639cb7595a11610187578063ab3a25d911610156578063ab3a25d914610c07578063ab4f5dc514610c33578063ad58bdd114610c69578063ae813e9f14610c9f576103a4565b80639cb7595a14610ac8578063a4b1c24314610afc578063a4b4b23314610b22578063a4c0ed3614610b4e576103a4565b8063867f7a4d116101c3578063867f7a4d146109d7578063871c076014610a9b5780638da5cb5b14610aa35780639a4a439514610aab576103a4565b80637610722f1461095f5780637837cf911461098557806385df73bd146109b1576103a4565b80632ae87cdd116102ce57806340f8dd861161026c57806361c04f841161023b57806361c04f84146108ad57806364696f97146108d357806369ffa08a1461090b5780636e5d6bea14610939576103a4565b806340f8dd861461081f578063437764df146108455780635726ff301461086a5780635933998214610890576103a4565b80632f73a9f8116102a85780632f73a9f8146107bd578063392e53cd146107e35780633a50bc87146107eb5780633e6968b614610817576103a4565b80632ae87cdd146106425780632c3500a6146107285780632d70061f1461077b576103a4565b8063107752381161034657806321d3ccb81161031557806321d3ccb81461059457806326aa101f146105ba578063272255bb146105e05780632803212f14610616576103a4565b806310775238146104d2578063125e4cfb1461051257806316ef191314610548578063194153d31461056e576103a4565b806303f9c7931161038257806303f9c7931461043b5780630950d515146104615780630b26cf661461047e5780630b71a4a7146104a4576103a4565b806301e4f53a146103a957806301fcc1d3146103d7578063032f693f14610403575b600080fd5b6103d5600480360360408110156103bf57600080fd5b506001600160a01b038135169060200135611108565b005b6103d5600480360360408110156103ed57600080fd5b506001600160a01b038135169060200135611147565b6104296004803603602081101561041957600080fd5b50356001600160a01b03166111e6565b60408051918252519081900360200190f35b6103d56004803603602081101561045157600080fd5b50356001600160a01b031661123e565b6103d56004803603602081101561047757600080fd5b5035611380565b6103d56004803603602081101561049457600080fd5b50356001600160a01b0316611429565b6103d5600480360360408110156104ba57600080fd5b506001600160a01b038135811691602001351661143d565b6104fe600480360360408110156104e857600080fd5b506001600160a01b038135169060200135611512565b604080519115158252519081900360200190f35b6103d56004803603606081101561052857600080fd5b506001600160a01b03813581169160208101359091169060400135611585565b6104296004803603602081101561055e57600080fd5b50356001600160a01b03166115bf565b6104296004803603602081101561058457600080fd5b50356001600160a01b031661161c565b6103d5600480360360208110156105aa57600080fd5b50356001600160a01b0316611677565b6104fe600480360360208110156105d057600080fd5b50356001600160a01b031661168c565b6103d5600480360360608110156105f657600080fd5b506001600160a01b0381358116916020810135909116906040013561169f565b6103d56004803603604081101561062c57600080fd5b506001600160a01b0381351690602001356116c2565b6103d5600480360360c081101561065857600080fd5b6001600160a01b038235169190810190604081016020820135600160201b81111561068257600080fd5b82018360208201111561069457600080fd5b803590602001918460018302840111600160201b831117156106b557600080fd5b919390929091602081019035600160201b8111156106d257600080fd5b8201836020820111156106e457600080fd5b803590602001918460018302840111600160201b8311171561070557600080fd5b919350915060ff813516906001600160a01b036020820135169060400135611791565b6104fe600480360361014081101561073f57600080fd5b506001600160a01b0381358116916020810135821691604082019160a081019160e08201359161010081013582169161012090910135166117b8565b6107a16004803603602081101561079157600080fd5b50356001600160a01b031661198c565b604080516001600160a01b039092168252519081900360200190f35b6103d5600480360360208110156107d357600080fd5b50356001600160a01b03166119f2565b6104fe6119fa565b6104fe6004803603604081101561080157600080fd5b506001600160a01b038135169060200135611a4b565b610429611aa1565b6104296004803603602081101561083557600080fd5b50356001600160a01b0316611aaa565b61084d611b09565b604080516001600160e01b03199092168252519081900360200190f35b6104296004803603602081101561088057600080fd5b50356001600160a01b0316611b14565b6104fe600480360360208110156108a657600080fd5b5035611b70565b6107a1600480360360208110156108c357600080fd5b50356001600160a01b0316611bc3565b6103d5600480360360608110156108e957600080fd5b506001600160a01b038135811691602081013582169160409091013516611c2c565b6103d56004803603604081101561092157600080fd5b506001600160a01b0381358116916020013516611cb1565b6103d56004803603602081101561094f57600080fd5b50356001600160a01b0316611ce8565b6104296004803603602081101561097557600080fd5b50356001600160a01b0316611cf9565b6103d56004803603604081101561099b57600080fd5b506001600160a01b038135169060200135611d53565b6107a1600480360360208110156109c757600080fd5b50356001600160a01b0316611e2b565b6103d5600480360360808110156109ed57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610a2757600080fd5b820183602082011115610a3957600080fd5b803590602001918460018302840111600160201b83111715610a5a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611e8a945050505050565b6107a1611eb4565b6107a1611f0b565b6103d560048036036020811015610ac157600080fd5b5035611f62565b610ad0612157565b6040805167ffffffffffffffff9485168152928416602084015292168183015290519081900360600190f35b61042960048036036020811015610b1257600080fd5b50356001600160a01b0316612161565b6103d560048036036040811015610b3857600080fd5b506001600160a01b0381351690602001356121b5565b6104fe60048036036060811015610b6457600080fd5b6001600160a01b0382351691602081013591810190606081016040820135600160201b811115610b9357600080fd5b820183602082011115610ba557600080fd5b803590602001918460018302840111600160201b83111715610bc657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506121c7945050505050565b61042960048036036040811015610c1d57600080fd5b506001600160a01b03813516906020013561222e565b6103d560048036036060811015610c4957600080fd5b506001600160a01b03813581169160208101359091169060400135612294565b6103d560048036036060811015610c7f57600080fd5b506001600160a01b038135811691602081013590911690604001356122ce565b6104fe60048036036020811015610cb557600080fd5b50356001600160a01b03166122dc565b610429612335565b6104fe60048036036020811015610ce357600080fd5b50356001600160a01b0316612383565b6103d560048036036080811015610d0957600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610d4357600080fd5b820183602082011115610d5557600080fd5b803590602001918460018302840111600160201b83111715610d7657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506123b0945050505050565b6107a16123f0565b6103d560048036036040811015610dd557600080fd5b506001600160a01b0381358116916020013516612447565b6103d5600480360360e0811015610e0357600080fd5b6001600160a01b038235169190810190604081016020820135600160201b811115610e2d57600080fd5b820183602082011115610e3f57600080fd5b803590602001918460018302840111600160201b83111715610e6057600080fd5b919390929091602081019035600160201b811115610e7d57600080fd5b820183602082011115610e8f57600080fd5b803590602001918460018302840111600160201b83111715610eb057600080fd5b9193909260ff833516926001600160a01b03602082013516926040820135929091608081019060600135600160201b811115610eeb57600080fd5b820183602082011115610efd57600080fd5b803590602001918460018302840111600160201b83111715610f1e57600080fd5b509092509050612506565b6103d560048036036080811015610f3f57600080fd5b6001600160a01b03823581169260208101359091169160408201359190810190608081016060820135600160201b811115610f7957600080fd5b820183602082011115610f8b57600080fd5b803590602001918460018302840111600160201b83111715610fac57600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061257c945050505050565b6103d56004803603604081101561100357600080fd5b506001600160a01b038135169060200135612588565b6107a1612625565b6103d56004803603604081101561103757600080fd5b506001600160a01b03813516906020013561267c565b6104296004803603604081101561106357600080fd5b506001600160a01b03813516906020013561271d565b6103d56004803603602081101561108f57600080fd5b50356001600160a01b0316612786565b6103d5600480360360208110156110b557600080fd5b5035612797565b610429600480360360208110156110d257600080fd5b50356001600160a01b03166127a8565b6103d5600480360360208110156110f857600080fd5b50356001600160a01b03166127fe565b6111438233836000805b506040519080825280601f01601f19166020018201604052801561113d576020820181803683370190505b5061288a565b5050565b61114f6129eb565b6111588261168c565b61116157600080fd5b8015806111805750600081118015611180575061117d82611aaa565b81105b61118957600080fd5b60408051700caf0cac6eae8d2dedc9ac2f0a0cae4a8f607b1b60208083019190915260609490941b6001600160601b0319166031820152815180820360250181526045909101825280519084012060009081529283905290912055565b60408051670dac2f0a0cae4a8f60c31b6020808301919091526001600160601b0319606085901b1660288301528251601c818403018152603c909201835281519181019190912060009081529081905220545b919050565b600061124982611e2b565b905060006112d8826001600160a01b031663cff77444856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561129d57600080fd5b505afa1580156112b1573d6000803e3d6000fd5b505050506040513d60208110156112c757600080fd5b50516112d28561161c565b90612a12565b905060006112e584611b14565b90508082116112f357600080fd5b80820361130a6001600160a01b0386168583612a5b565b836001600160a01b031663b9b8c24686836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561136157600080fd5b505af1158015611375573d6000803e3d6000fd5b505050505050505050565b611388612aad565b61139181611b70565b1561139b57600080fd5b60006113a682612b57565b905060006113b383612bb0565b905060006113c084612c0d565b90506113cb84612c5c565b6113d6838383612cb5565b604080516001600160a01b03808616825284166020820152808201839052905185917f07b5483b8e4bd8ea240a474d5117738350e7d431e3668c48a97910b0b397796a919081900360600190a250505050565b6114316129eb565b61143a81612cd6565b50565b6114456129eb565b61144e8161168c565b1561145857600080fd5b600061146382611bc3565b6001600160a01b03161461147657600080fd5b60006114818361198c565b6001600160a01b03161461149457600080fd5b6114a96001600160a01b038216306001612d52565b806001600160a01b03166342966c6860016040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b1580156114f057600080fd5b505af1158015611504573d6000803e3d6000fd5b505050506111438282612dde565b6000806115308361152a86611525611aa1565b61222e565b90612ed9565b9050600061153e60006127a8565b118015611553575080611550856127a8565b10155b80156115675750611563846111e6565b8311155b801561157b575061157784612161565b8310155b9150505b92915050565b61158d612aad565b60006115988461198c565b90506115a38161168c565b6115ac57600080fd5b6115b98160008585612f33565b50505050565b60408051700caf0cac6eae8d2dedc9ac2f0a0cae4a8f607b1b60208083019190915260609390931b6001600160601b0319166031820152815180820360250181526045909101825280519083012060009081529182905290205490565b604080516e6d65646961746f7242616c616e636560881b60208083019190915260609390931b6001600160601b031916602f820152815180820360230181526043909101825280519083012060009081529182905290205490565b33301461168357600080fd5b61143a81612fd0565b60008061169883612161565b1192915050565b6116a7612aad565b6116b08361304c565b6116bd8360018484612f33565b505050565b6116ca6129eb565b6116d38261168c565b6116dc57600080fd5b6116e5826111e6565b8111806116f0575080155b6116f957600080fd5b604080516919185a5b1e531a5b5a5d60b21b6020808301919091526001600160601b0319606086901b16602a8301528251601e818403018152603e83018085528151918301919091206000908152918290529083902084905583905290516001600160a01b038416917fca0b3dabefdbd8c72c0a9cf4a6e9d107da897abf036ef3f3f3b010cdd25941599190819003605e0190a25050565b611799612aad565b60006117a9898989898989613108565b90506113758160008585612f33565b60408051600481526024810182526020810180516001600160e01b03166337ef410160e11b1781529151815160009384936060933093919290918291908083835b602083106118185780518252601f1990920191602091820191016117f9565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114611878576040519150601f19603f3d011682016040523d82523d6000602084013e61187d565b606091505b50915091508115806118b95750805160201480156118b957508080602001905160208110156118ab57600080fd5b50516001600160a01b031633145b806118c357503330145b6118cc57600080fd5b6118d46119fa565b156118de57600080fd5b6118e78a612cd6565b6118f089613456565b61192460008960038060200260405190810160405280929190826003602002808284376000920191909152506134c0915050565b60408051808201825261195391600091908a906002908390839080828437600092019190915250613614915050565b61195c86613703565b61196585613764565b61196e84612fd0565b61197661382c565b61197e6119fa565b9a9950505050505050505050565b604080516f686f6d65546f6b656e4164647265737360801b60208083019190915260609390931b6001600160601b03191660308201528151808203602401815260449091018252805190830120600090815260029092529020546001600160a01b031690565b6116836129eb565b7f0a6f646cd611241d8073675e00d1a1ff700fbf1b53fcf473de56d1e6e4b714ba60005260046020527f078d888f9b66f3f8bfa10909e31f1e16240db73449f0500afdbbe3a70da457cc5460ff1690565b600080611a638361152a86611a5e611aa1565b61271d565b90506000611a716000611aaa565b118015611a86575080611a8385611aaa565b10155b801561157b5750611a96846115bf565b909211159392505050565b62015180420490565b6040805172195e1958dd5d1a5bdb91185a5b1e531a5b5a5d606a1b60208083019190915260609390931b6001600160601b0319166033820152815180820360270181526047909101825280519083012060009081529182905290205490565b6358a8b61360e11b90565b604080516f1b5a5b90d85cda151a1c995cda1bdb1960821b60208083019190915260609390931b6001600160601b0319166030820152815180820360240181526044909101825280519083012060009081529182905290205490565b604080516b1b595cdcd859d9519a5e195960a21b602080830191909152602c80830185905283518084039091018152604c909201835281519181019190912060009081526004909152205460ff16919050565b6040805172666f726569676e546f6b656e4164647265737360681b60208083019190915260609390931b6001600160601b03191660338201528151808203602701815260479091018252805190830120600090815260029092529020546001600160a01b031690565b611c34613883565b826001600160a01b03166369ffa08a83836040518363ffffffff1660e01b815260040180836001600160a01b03168152602001826001600160a01b0316815260200192505050600060405180830381600087803b158015611c9457600080fd5b505af1158015611ca8573d6000803e3d6000fd5b50505050505050565b611cb9613883565b6001600160a01b0382161580611cd55750611cd38261168c565b155b611cde57600080fd5b61114382826138fc565b611cf06129eb565b61143a81613456565b600080611d05836111e6565b90506000611d12846127a8565b90506000611d2285611525611aa1565b90506000818311611d34576000611d38565b8183035b9050808410611d475780611d49565b835b9695505050505050565b611d5b6129eb565b611d648261168c565b611d6d57600080fd5b611d76826115bf565b811180611d81575080155b611d8a57600080fd5b6040805172195e1958dd5d1a5bdb91185a5b1e531a5b5a5d606a1b6020808301919091526001600160601b0319606086901b16603383015282516027818403018152604783018085528151918301919091206000908152918290529083902084905583905290516001600160a01b038416917f4c177b42dbe934b3abbc0208c11a42e46589983431616f1710ab19969c5ed62e919081900360670190a25050565b604080516b1a5b9d195c995cdd125b5c1b60a21b60208083019190915260609390931b6001600160601b031916602c8201528151808203840181529082018252805190830120600090815260029092529020546001600160a01b031690565b611e92612aad565b611e9b8461304c565b611ea88460018585612f33565b6115b983858484613936565b7f98aa806e31e94a687a31c65769cb99670064dd7f5a87526da075c5fb4eab988060005260026020527f0c1206883be66049a02d4937078367c00b3d71dd1a9465df969363c6ddeac96d546001600160a01b031690565b7f02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c060005260026020527fb7802e97e87ef2842a6cce7da7ffaeaedaa2f61a6a7870b23d9d01fc9b73712e546001600160a01b031690565b6000611f6c6123f0565b9050806001600160a01b031663cb08a10c836040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b158015611fb257600080fd5b505afa158015611fc6573d6000803e3d6000fd5b505050506040513d6020811015611fdc57600080fd5b505115611fe857600080fd5b306001600160a01b0316816001600160a01b0316633f9a8e7e846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b15801561203657600080fd5b505afa15801561204a573d6000803e3d6000fd5b505050506040513d602081101561206057600080fd5b50516001600160a01b03161461207557600080fd5b61207d611eb4565b6001600160a01b0316816001600160a01b0316634a610b04846040518263ffffffff1660e01b81526004018082815260200191505060206040518083038186803b1580156120ca57600080fd5b505afa1580156120de573d6000803e3d6000fd5b505050506040513d60208110156120f457600080fd5b50516001600160a01b03161461210957600080fd5b6040805160248082018590528251808303909101815260449091019091526020810180516001600160e01b0316630950d51560e01b90811790915290612150816001613aa3565b5050505050565b6003806000909192565b60408051670dad2dca0cae4a8f60c31b60208083019190915260609390931b6001600160601b03191660288201528151808203601c018152603c909101825280519083012060009081529182905290205490565b6121bd6129eb565b6111438282613bae565b60006121d1613c0a565b6122245760408051600081526020810190915282518590601411612214576121f884613c2f565b9050601484511115612214578351601319016014850190815291505b6122213387838886613c36565b50505b5060019392505050565b604080516f746f74616c5370656e7450657244617960801b60208083019190915260609490941b6001600160601b031916603082015260448082019390935281518082039093018352606401815281519183019190912060009081529182905290205490565b61229c6129eb565b60006122a784611e2b565b6001600160a01b0316146122ba57600080fd5b6122c48383613ccf565b6116bd8382613bae565b6116bd838383600080611112565b604080516861636b4465706c6f7960b81b60208083019190915260609390931b6001600160601b03191660298201528151808203601d018152603d90910182528051908301206000908152600490925290205460ff1690565b7f2dfd6c9f781bb6bbb5369c114e949b69ebb440ef3d4dd6b2836225eb1dc3a2be60009081526020527f2de0d2cdc19d356cb53b5984f91bfd3b31fe0c678a0d190a6db39274bb34753f5490565b600061238e8261168c565b801561157f575060006123a083611bc3565b6001600160a01b03161492915050565b6123b8612aad565b60006123c38561198c565b90506123ce8161168c565b6123d757600080fd5b6123e48160008686612f33565b61215084828585613936565b7f811bbb11e8899da471f0e69a3ed55090fc90215227fc5fb1cb0d6e962ea7b74f60005260026020527fb4ed64697d3ef8518241966f7c6f28b0d72f20f51198717d198d2d55076c593d546001600160a01b031690565b61244f613883565b806001600160a01b03811661246357600080fd5b61246c83612383565b61247557600080fd5b600061248084613dd5565b90506000811161248f57600080fd5b600061249a85611cf9565b9050600081116124a957600080fd5b808211156124b5578091505b6124c7856124c1611aa1565b84613ed3565b604080516000808252602082019092526060916124e991889088908790613f51565b905060006124f8826001613aa3565b9050611ca8818888876145cc565b61250e612aad565b600061251e8b8b8b8b8b8b613108565b905061252d8160008787612f33565b61256f85828686868080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525061393692505050565b5050505050505050505050565b6115b98484848461288a565b6125906129eb565b6125998261168c565b6125a257600080fd5b8015806125c857506125b382612161565b811180156125c857506125c5826127a8565b81105b6125d157600080fd5b60408051670dac2f0a0cae4a8f60c31b60208083019190915260609490941b6001600160601b03191660288201528151808203601c018152603c909101825280519084012060009081529283905290912055565b7f269c5905f777ee6391c7a361d17039a7d62f52ba9fffeb98c5ade342705731a360005260026020527f15c764a0cd4bb3d72a49abedd3d6793c3b93c0d57f43174a348b443be86f79c1546001600160a01b031690565b6126846129eb565b61268d8261168c565b61269657600080fd5b6000811180156126ad57506126aa826127a8565b81105b80156126c057506126bd826111e6565b81105b6126c957600080fd5b60408051670dad2dca0cae4a8f60c31b60208083019190915260609490941b6001600160601b03191660288201528151808203601c018152603c909101825280519084012060009081529283905290912055565b6040805172746f74616c457865637574656450657244617960681b60208083019190915260609490941b6001600160601b031916603382015260478082019390935281518082039093018352606701815281519183019190912060009081529182905290205490565b61278e6129eb565b61143a81613764565b61279f6129eb565b61143a81613703565b604080516919185a5b1e531a5b5a5d60b21b60208083019190915260609390931b6001600160601b031916602a8201528151808203601e018152603e909101825280519083012060009081529182905290205490565b6128066129eb565b61280f81611e2b565b6001600160a01b031663f3fef3a3826000196040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561286757600080fd5b505af115801561287b573d6000803e3d6000fd5b5050505061143a816000613ccf565b612892613c0a565b1561289c57600080fd5b6000846001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156128eb57600080fd5b505afa1580156128ff573d6000803e3d6000fd5b505050506040513d602081101561291557600080fd5b50519050612923600161463c565b6129386001600160a01b038616333086614660565b612942600061463c565b60006129c782876001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b15801561299557600080fd5b505afa1580156129a9573d6000803e3d6000fd5b505050506040513d60208110156129bf57600080fd5b505190612a12565b9050838111156129d657600080fd5b6129e38633878487613c36565b505050505050565b6129f3611f0b565b6001600160a01b0316336001600160a01b031614612a1057600080fd5b565b6000612a5483836040518060400160405280601e81526020017f536166654d6174683a207375627472616374696f6e206f766572666c6f7700008152506146ba565b9392505050565b604080516001600160a01b038416602482015260448082018490528251808303909101815260649091019091526020810180516001600160e01b031663a9059cbb60e01b1790526116bd908490614751565b6000612ab76123f0565b9050336001600160a01b03821614612ace57600080fd5b612ad6611eb4565b6001600160a01b0316816001600160a01b031663d67bdd256040518163ffffffff1660e01b815260040160206040518083038186803b158015612b1857600080fd5b505afa158015612b2c573d6000803e3d6000fd5b505050506040513d6020811015612b4257600080fd5b50516001600160a01b03161461143a57600080fd5b604080516b36b2b9b9b0b3b2aa37b5b2b760a11b602080830191909152602c80830185905283518084039091018152604c90920183528151918101919091206000908152600290915220546001600160a01b0316919050565b604080516f1b595cdcd859d9549958da5c1a595b9d60821b602080830191909152603080830185905283518084039091018152605090920183528151918101919091206000908152600290915220546001600160a01b0316919050565b604080516b6d65737361676556616c756560a01b602080830191909152602c80830185905283518084039091018152604c90920183528151918101919091206000908152908190522054919050565b604080516b1b595cdcd859d9519a5e195960a21b602080830191909152602c8083019490945282518083039094018452604c9091018252825192810192909220600090815260049092529020805460ff19166001179055565b6116bd6000612cc385611bc3565b6001600160a01b03161484848485614802565b612cdf816149d6565b612ce857600080fd5b7f811bbb11e8899da471f0e69a3ed55090fc90215227fc5fb1cb0d6e962ea7b74f60005260026020527fb4ed64697d3ef8518241966f7c6f28b0d72f20f51198717d198d2d55076c593d80546001600160a01b0319166001600160a01b0392909216919091179055565b826001600160a01b03166340c10f1983836040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050602060405180830381600087803b158015612da957600080fd5b505af1158015612dbd573d6000803e3d6000fd5b505050506040513d6020811015612dd357600080fd5b50516116bd57600080fd5b604080516f686f6d65546f6b656e4164647265737360801b6020808301919091526001600160601b0319606086811b82166030850152845160248186030181526044850186528051908401206000908152600280855286822080546001600160a01b03808b166001600160a01b0319928316811790935572666f726569676e546f6b656e4164647265737360681b60648a0152948a901b90951660778801528751606b818903018152608b909701808952875197870197909720835294529485208054909216908716908117909155909290917f78d063210f4fb6b4cc932390bb8045fa2465e51349590182dab8b9e84c57a6ee9190a35050565b600082820183811015612a54576040805162461bcd60e51b815260206004820152601b60248201527f536166654d6174683a206164646974696f6e206f766572666c6f770000000000604482015290519081900360640190fd5b612f3b613c0a565b15612f4557600080fd5b612f4f8482611a4b565b612f5857600080fd5b612f6a84612f64611aa1565b83614a0f565b612f778385848485614802565b612f7f614a90565b826001600160a01b0316856001600160a01b03167f9afd47907e25028cdaca89d193518c302bbb128617d5a992c5abd45815526593846040518082815260200191505060405180910390a450505050565b612fd9816149d6565b612fe257600080fd5b7f269c5905f777ee6391c7a361d17039a7d62f52ba9fffeb98c5ade342705731a360005260026020527f15c764a0cd4bb3d72a49abedd3d6793c3b93c0d57f43174a348b443be86f79c180546001600160a01b0319166001600160a01b0392909216919091179055565b604080516861636b4465706c6f7960b81b6020808301919091526001600160601b0319606085901b1660298301528251601d818403018152603d909201835281519181019190912060009081526004909152205460ff1661143a57604080516861636b4465706c6f7960b81b6020808301919091526001600160601b0319606085901b1660298301528251601d818403018152603d90920183528151918101919091206000908152600490915220805460ff1916600117905550565b6000806131148861198c565b90506001600160a01b0381166133bb57606087878080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525050604080516020601f8b01819004810282018101909252898152939450606093925089915088908190840183828082843760009201919091525050845192935050501515806131a9575060008151115b6131b257600080fd5b81516131c0578091506131c9565b80516131c95750805b6131d282614b03565b91506131dc612625565b6001600160a01b031663a39d6acf8383886131f56123f0565b6001600160a01b0316631544298e6040518163ffffffff1660e01b815260040160206040518083038186803b15801561322d57600080fd5b505afa158015613241573d6000803e3d6000fd5b505050506040513d602081101561325757600080fd5b50516040516001600160e01b031960e087901b16815260ff831660448201526064810182905260806004820190815285516084830152855190918291602482019160a40190602089019080838360005b838110156132bf5781810151838201526020016132a7565b50505050905090810190601f1680156132ec5780820380516001836020036101000a031916815260200191505b50838103825286518152865160209182019188019080838360005b8381101561331f578181015183820152602001613307565b50505050905090810190601f16801561334c5780820380516001836020036101000a031916815260200191505b509650505050505050602060405180830381600087803b15801561336f57600080fd5b505af1158015613383573d6000803e3d6000fd5b505050506040513d602081101561339957600080fd5b505192506133a78a84612dde565b6133b4838660ff16614bb8565b505061344b565b6133c48161168c565b61344b578260ff16816001600160a01b031663313ce5676040518163ffffffff1660e01b815260040160206040518083038186803b15801561340557600080fd5b505afa158015613419573d6000803e3d6000fd5b505050506040513d602081101561342f57600080fd5b505160ff161461343e57600080fd5b61344b818460ff16614bb8565b979650505050505050565b7f98aa806e31e94a687a31c65769cb99670064dd7f5a87526da075c5fb4eab988060005260026020527f0c1206883be66049a02d4937078367c00b3d71dd1a9465df969363c6ddeac96d80546001600160a01b0319166001600160a01b0392909216919091179055565b6040810151158015906134da575060408101516020820151115b80156134ea575060208101518151115b6134f357600080fd5b8051604080516919185a5b1e531a5b5a5d60b21b602082810191909152606086901b6001600160601b031916602a83018190528351808403601e018152603e8401855280519083012060009081528083528481209590955581860151670dac2f0a0cae4a8f60c31b605e850152606684018290528451605a818603018152607a8501865280519084012086528583528486205583860151670dad2dca0cae4a8f60c31b609a85015260a28401919091528351609681850301815260b690930184528251928201929092208452839052908220556001600160a01b038316907fca0b3dabefdbd8c72c0a9cf4a6e9d107da897abf036ef3f3f3b010cdd25941599083905b60200201516040518082815260200191505060405180910390a25050565b805160208201511061362557600080fd5b80516040805172195e1958dd5d1a5bdb91185a5b1e531a5b5a5d606a1b602082810191909152606086901b6001600160601b031916603383018190528351808403602701815260478401855280519083012060009081528083528481209590955581860151700caf0cac6eae8d2dedc9ac2f0a0cae4a8f607b1b606785015260788401919091528351606c818503018152608c90930184528251928201929092208452839052908220556001600160a01b038316907f4c177b42dbe934b3abbc0208c11a42e46589983431616f1710ab19969c5ed62e9083906135f6565b61370b614d3c565b81111561371757600080fd5b7f2dfd6c9f781bb6bbb5369c114e949b69ebb440ef3d4dd6b2836225eb1dc3a2be60009081526020527f2de0d2cdc19d356cb53b5984f91bfd3b31fe0c678a0d190a6db39274bb34753f55565b6001600160a01b03811661377757600080fd5b7f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e06137a0611f0b565b604080516001600160a01b03928316815291841660208301528051918290030190a17f02016836a56b71f0d02689e69e326f4f4c1b9057164ef592671cf0d37c8040c060005260026020527fb7802e97e87ef2842a6cce7da7ffaeaedaa2f61a6a7870b23d9d01fc9b73712e80546001600160a01b0319166001600160a01b0392909216919091179055565b7f0a6f646cd611241d8073675e00d1a1ff700fbf1b53fcf473de56d1e6e4b714ba60005260046020527f078d888f9b66f3f8bfa10909e31f1e16240db73449f0500afdbbe3a70da457cc805460ff19166001179055565b306001600160a01b0316636fde82026040518163ffffffff1660e01b815260040160206040518083038186803b1580156138bc57600080fd5b505afa1580156138d0573d6000803e3d6000fd5b505050506040513d60208110156138e657600080fd5b50516001600160a01b03163314612a1057600080fd5b806001600160a01b03811661391057600080fd5b6001600160a01b03831661392c5761392782614d7e565b6116bd565b6116bd8383614d89565b61393f846149d6565b156115b957836001600160a01b031663db7af85460e01b84848460405160240180846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b838110156139ae578181015183820152602001613996565b50505050905090810190601f1680156139db5780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529181526020820180516001600160e01b03166001600160e01b031990991698909817885251815191979096508695509350915081905083835b60208310613a415780518252601f199092019160209182019101613a22565b6001836020036101000a0380198251168184511680821785525050505050509050019150506000604051808303816000865af19150503d8060008114611ca8576040519150601f19603f3d011682016040523d82523d6000602084013e611ca8565b6000613aad6123f0565b6001600160a01b031663dc8601b3613ac3611eb4565b85613acc612335565b6040518463ffffffff1660e01b815260040180846001600160a01b0316815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b83811015613b2d578181015183820152602001613b15565b50505050905090810190601f168015613b5a5780820380516001836020036101000a031916815260200191505b50945050505050602060405180830381600087803b158015613b7b57600080fd5b505af1158015613b8f573d6000803e3d6000fd5b505050506040513d6020811015613ba557600080fd5b50519392505050565b604080516f1b5a5b90d85cda151a1c995cda1bdb1960821b60208083019190915260609490941b6001600160601b0319166030820152815180820360240181526044909101825280519084012060009081529283905290912055565b7f6168652c307c1e813ca11cfb3a601f1cf3b22452021a5052d8b05f1f1f8a3e925490565b6014015190565b6001600160a01b03831615801590613c675750613c51611eb4565b6001600160a01b0316836001600160a01b031614155b613c7057600080fd5b613c798561168c565b613c99576000613c8886614e16565b9050613c97868260ff16614bb8565b505b613ca38583611512565b613cac57600080fd5b613cb8856124c1611aa1565b60606124e9613cc687611bc3565b87868686613f51565b6001600160a01b0381161580613d5a5750806001600160a01b031663bdd378a0836040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613d2d57600080fd5b505afa158015613d41573d6000803e3d6000fd5b505050506040513d6020811015613d5757600080fd5b50515b613d6357600080fd5b604080516b1a5b9d195c995cdd125b5c1b60a21b60208083019190915260609490941b6001600160601b031916602c82015281518082038501815290820182528051908401206000908152600290935290912080546001600160a01b0319166001600160a01b03909216919091179055565b600080613de183611e2b565b90506000613dee826149d6565b613df9576000613e73565b816001600160a01b031663cff77444856040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b158015613e4657600080fd5b505afa158015613e5a573d6000803e3d6000fd5b505050506040513d6020811015613e7057600080fd5b50515b9050613ecb613e85826112d28761161c565b604080516370a0823160e01b815230600482015290516001600160a01b038816916370a08231916024808301926020929190829003018186803b15801561299557600080fd5b949350505050565b613ee18161152a858561222e565b600080858560405160200180806f746f74616c5370656e7450657244617960801b815250601001836001600160a01b031660601b81526014018281526020019250505060405160208183030381529060405280519060200120815260200190815260200160002081905550505050565b606060008083511180613f7657506000356001600160e01b03191663d740548160e01b145b90506001600160a01b03871661443157613f9c86613f978661152a8a61161c565b614fe4565b613fa5866122dc565b156140e2578061400357604080516001600160a01b0380891660248301528716604482015260648082018790528251808303909101815260849091019091526020810180516001600160e01b031663125e4cfb60e01b1790526140da565b63c534576160e01b8686868660405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b8381101561407357818101518382015260200161405b565b50505050905090810190601f1680156140a05780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909916989098179097525050505050505b9150506145c3565b60006140ed87614e16565b905060606140fa8861503f565b9050606061410789615205565b905060008251118061411a575060008151115b61412357600080fd5b8361427657632ae87cdd60e01b898383868c8c60405160240180876001600160a01b0316815260200180602001806020018660ff168152602001856001600160a01b03168152602001848152602001838103835288818151815260200191508051906020019080838360005b838110156141a757818101518382015260200161418f565b50505050905090810190601f1680156141d45780820380516001836020036101000a031916815260200191505b50838103825287518152875160209182019189019080838360005b838110156142075781810151838201526020016141ef565b50505050905090810190601f1680156142345780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909c169b909b17909a5250614426975050505050505050565b63d522cfd760e01b898383868c8c8c60405160240180886001600160a01b0316815260200180602001806020018760ff168152602001866001600160a01b031681526020018581526020018060200184810384528a818151815260200191508051906020019080838360005b838110156142fa5781810151838201526020016142e2565b50505050905090810190601f1680156143275780820380516001836020036101000a031916815260200191505b5084810383528951815289516020918201918b019080838360005b8381101561435a578181015183820152602001614342565b50505050905090810190601f1680156143875780820380516001836020036101000a031916815260200191505b50848103825285518152855160209182019187019080838360005b838110156143ba5781810151838201526020016143a2565b50505050905090810190601f1680156143e75780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909e169d909d17909c5250505050505050505050505b9450505050506145c3565b856001600160a01b03166342966c68856040518263ffffffff1660e01b815260040180828152602001915050600060405180830381600087803b15801561447757600080fd5b505af115801561448b573d6000803e3d6000fd5b50505050806144e857604080516001600160a01b03808a1660248301528716604482015260648082018790528251808303909101815260849091019091526020810180516001600160e01b031663272255bb60e01b1790526145bf565b63867f7a4d60e01b8786868660405160240180856001600160a01b03168152602001846001600160a01b0316815260200183815260200180602001828103825283818151815260200191508051906020019080838360005b83811015614558578181015183820152602001614540565b50505050905090810190601f1680156145855780820380516001836020036101000a031916815260200191505b5060408051601f198184030181529190526020810180516001600160e01b03166001600160e01b0319909916989098179097525050505050505b9150505b95945050505050565b6145d68484615338565b6145e084836153a4565b6145ea8482615414565b83826001600160a01b0316846001600160a01b03167f59a9a8027b9c87b961e254899821c9a276b5efc35d1f7409ea4f291470f1629a846040518082815260200191505060405180910390a450505050565b7f6168652c307c1e813ca11cfb3a601f1cf3b22452021a5052d8b05f1f1f8a3e9255565b604080516001600160a01b0380861660248301528416604482015260648082018490528251808303909101815260849091019091526020810180516001600160e01b03166323b872dd60e01b1790526115b9908590614751565b600081848411156147495760405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561470e5781810151838201526020016146f6565b50505050905090810190601f16801561473b5780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b505050900390565b60606147a6826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b03166154639092919063ffffffff16565b8051909150156116bd578080602001905160208110156147c557600080fd5b50516116bd5760405162461bcd60e51b815260040180806020018281038252602a815260200180615903602a913960400191505060405180910390fd5b84156149b85760006148138561161c565b90506001600160a01b038516730ae055097c6d159879521c384f1d2123d1f195e614801561484057508281105b1561485e5761485b6001600160a01b03861630838603612d52565b50815b600061486986611e2b565b90506001600160a01b0381161561498f5760006148ff826001600160a01b031663cff77444896040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156148cc57600080fd5b505afa1580156148e0573d6000803e3d6000fd5b505050506040513d60208110156148f657600080fd5b50518490612a12565b90508085111561498d57816001600160a01b031663f3fef3a38861492e6149258b611b14565b858a0390612ed9565b6040518363ffffffff1660e01b815260040180836001600160a01b0316815260200182815260200192505050600060405180830381600087803b15801561497457600080fd5b505af1158015614988573d6000803e3d6000fd5b505050505b505b61499d86613f978486612a12565b6149b16001600160a01b0387168686612a5b565b5050612150565b61215083836149c687615472565b6001600160a01b03169190612d52565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470818114801590613ecb575050151592915050565b614a1d8161152a858561271d565b6000808585604051602001808072746f74616c457865637574656450657244617960681b815250601301836001600160a01b031660601b81526014018281526020019250505060405160208183030381529060405280519060200120815260200190815260200160002081905550505050565b6000614a9a6123f0565b6001600160a01b031663669f618b6040518163ffffffff1660e01b815260040160206040518083038186803b158015614ad257600080fd5b505afa158015614ae6573d6000803e3d6000fd5b505050506040513d6020811015614afc57600080fd5b5051905090565b606080827f00000000000000000000000000000000000000000000000000000000000000006040516020018083805190602001908083835b60208310614b5a5780518252601f199092019160209182019101614b3b565b51815160209384036101000a60001901801990921691161790529201938452506040805180850381529390910190525093517f0000000000000000000000000000000000000000000000000000000000000000018452509192915050565b60006012821015614cac5781601203600a0a90506000614be282614bdc6000612161565b90615475565b90506000614bf483614bdc60006111e6565b90506000614c0684614bdc60006127a8565b90506000614c1885614bdc60006115bf565b90506000614c2a86614bdc6000611aaa565b905084614c605760019450848411614c605760649350606491508383111580614c535750818111155b15614c6057506127109150815b614c84886040518060600160405280868152602001878152602001888152506134c0565b614ca288604051806040016040528084815260200185815250613614565b50505050506116bd565b60128203600a0a9050614d05836040518060600160405280614cd885614cd260006127a8565b906154b7565b8152602001614ceb85614cd260006111e6565b8152602001614cfe85614cd26000612161565b90526134c0565b6116bd836040518060400160405280614d2285614cd26000611aaa565b8152602001614d3585614cd260006115bf565b9052613614565b6000614d466123f0565b6001600160a01b031663e5789d036040518163ffffffff1660e01b815260040160206040518083038186803b158015614ad257600080fd5b476111438282615510565b604080516370a0823160e01b8152306004820152905183916000916001600160a01b038416916370a08231916024808301926020929190829003018186803b158015614dd457600080fd5b505afa158015614de8573d6000803e3d6000fd5b505050506040513d6020811015614dfe57600080fd5b505190506115b96001600160a01b0383168483612a5b565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b1781529151815160009384936060936001600160a01b03881693919290918291908083835b60208310614e7f5780518252601f199092019160209182019101614e60565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114614edf576040519150601f19603f3d011682016040523d82523d6000602084013e614ee4565b606091505b509150915081614fc55760408051600481526024810182526020810180516001600160e01b0316632e0f262560e01b178152915181516001600160a01b0388169382918083835b60208310614f4a5780518252601f199092019160209182019101614f2b565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114614faa576040519150601f19603f3d011682016040523d82523d6000602084013e614faf565b606091505b50909250905081614fc557600092505050611239565b808060200190516020811015614fda57600080fd5b5051949350505050565b604080516e6d65646961746f7242616c616e636560881b60208083019190915260609490941b6001600160601b031916602f820152815180820360230181526043909101825280519084012060009081529283905290912055565b60408051600481526024810182526020810180516001600160e01b03166306fdde0360e01b1781529151815160609360009385936001600160a01b03881693919290918291908083835b602083106150a85780518252601f199092019160209182019101615089565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d8060008114615108576040519150601f19603f3d011682016040523d82523d6000602084013e61510d565b606091505b5091509150816151fc5760408051600481526024810182526020810180516001600160e01b03166351fa6fbf60e11b178152915181516001600160a01b0388169382918083835b602083106151735780518252601f199092019160209182019101615154565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146151d3576040519150601f19603f3d011682016040523d82523d6000602084013e6151d8565b606091505b509092509050816151fc576040518060200160405280600081525092505050611239565b613ecb81615575565b60408051600481526024810182526020810180516001600160e01b03166395d89b4160e01b1781529151815160609360009385936001600160a01b03881693919290918291908083835b6020831061526e5780518252601f19909201916020918201910161524f565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855afa9150503d80600081146152ce576040519150601f19603f3d011682016040523d82523d6000602084013e6152d3565b606091505b5091509150816151fc5760408051600481526024810182526020810180516001600160e01b0316631eedf1af60e31b178152915181516001600160a01b038816938291808383602083106151735780518252601f199092019160209182019101615154565b604080516b36b2b9b9b0b3b2aa37b5b2b760a11b602080830191909152602c8083019590955282518083039095018552604c90910182528351938101939093206000908152600290935290912080546001600160a01b0319166001600160a01b03909216919091179055565b604080516f1b595cdcd859d9549958da5c1a595b9d60821b60208083019190915260308083019590955282518083039095018552605090910182528351938101939093206000908152600290935290912080546001600160a01b0319166001600160a01b03909216919091179055565b604080516b6d65737361676556616c756560a01b602080830191909152602c8083019590955282518083039095018552604c909101825283519381019390932060009081529283905290912055565b6060613ecb84846000856156d1565b90565b6000612a5483836040518060400160405280601a81526020017f536166654d6174683a206469766973696f6e206279207a65726f00000000000081525061583e565b6000826154c65750600061157f565b828202828482816154d357fe5b0414612a545760405162461bcd60e51b81526004018080602001828103825260218152602001806158e26021913960400191505060405180910390fd5b6040516001600160a01b0383169082156108fc029083906000818181858888f19350505050611143578082604051615547906158a3565b6001600160a01b039091168152604051908190036020019082f09050801580156115b9573d6000803e3d6000fd5b606060208251111561564b5781806020019051602081101561559657600080fd5b8101908080516040519392919084600160201b8211156155b557600080fd5b9083019060208201858111156155ca57600080fd5b8251600160201b8111828201881017156155e357600080fd5b82525081516020918201929091019080838360005b838110156156105781810151838201526020016155f8565b50505050905090810190601f16801561563d5780820380516001836020036101000a031916815260200191505b506040525050509050611239565b8151602014156156bc57600082806020019051602081101561566c57600080fd5b50516040805160208082528183019092529192506060919060208201818036833701905050905060008260208301525b82156156b15760089290921b9160010161569c565b815291506112399050565b50604080516020810190915260008152611239565b60606156dc856149d6565b61572d576040805162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015290519081900360640190fd5b60006060866001600160a01b031685876040518082805190602001908083835b6020831061576c5780518252601f19909201916020918201910161574d565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146157ce576040519150601f19603f3d011682016040523d82523d6000602084013e6157d3565b606091505b509150915081156157e7579150613ecb9050565b8051156157f75780518082602001fd5b60405162461bcd60e51b815260206004820181815286516024840152865187939192839260440191908501908083836000831561470e5781810151838201526020016146f6565b6000818361588d5760405162461bcd60e51b815260206004820181815283516024840152835190928392604490910191908501908083836000831561470e5781810151838201526020016146f6565b50600083858161589957fe5b0495945050505050565b6032806158b08339019056fe60806040526040516032380380603283398181016040526020811015602357600080fd5b50516001600160a01b038116fffe536166654d6174683a206d756c7469706c69636174696f6e206f766572666c6f775361666545524332303a204552433230206f7065726174696f6e20646964206e6f742073756363656564a26469706673582212202fb8d637b6425e443dc6b74737b03ecbd797cbb6b192a2a6b4f8cbbf88f163d564736f6c634300070500330000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a206f6e20476f4865616c00000000000000000000000000000000000000000000

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

0000000000000000000000000000000000000000000000000000000000000020000000000000000000000000000000000000000000000000000000000000000a206f6e20476f4865616c00000000000000000000000000000000000000000000

-----Decoded View---------------
Arg [0] : _suffix (string): on GoHeal

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000000000000000000000000000000000000000000020
Arg [1] : 000000000000000000000000000000000000000000000000000000000000000a
Arg [2] : 206f6e20476f4865616c00000000000000000000000000000000000000000000


Deployed ByteCode Sourcemap

110561:9184:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;39854:133;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39854:133:0;;;;;;;;:::i;:::-;;51745:325;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;51745:325:0;;;;;;;;:::i;47133:150::-;;;;;;;;;;;;;;;;-1:-1:-1;47133:150:0;-1:-1:-1;;;;;47133:150:0;;:::i;:::-;;;;;;;;;;;;;;;;108610:600;;;;;;;;;;;;;;;;-1:-1:-1;108610:600:0;-1:-1:-1;;;;;108610:600:0;;:::i;63222:453::-;;;;;;;;;;;;;;;;-1:-1:-1;63222:453:0;;:::i;35115:125::-;;;;;;;;;;;;;;;;-1:-1:-1;35115:125:0;-1:-1:-1;;;;;35115:125:0;;:::i;90417:968::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;90417:968:0;;;;;;;;;;:::i;48458:367::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;48458:367:0;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;86492:305;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;86492:305:0;;;;;;;;;;;;;;;;;:::i;47591:168::-;;;;;;;;;;;;;;;;-1:-1:-1;47591:168:0;-1:-1:-1;;;;;47591:168:0;;:::i;26444:164::-;;;;;;;;;;;;;;;;-1:-1:-1;26444:164:0;-1:-1:-1;;;;;26444:164:0;;:::i;112897:161::-;;;;;;;;;;;;;;;;-1:-1:-1;112897:161:0;-1:-1:-1;;;;;112897:161:0;;:::i;44901:116::-;;;;;;;;;;;;;;;;-1:-1:-1;44901:116:0;-1:-1:-1;;;;;44901:116:0;;:::i;88079:245::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;88079:245:0;;;;;;;;;;;;;;;;;:::i;50144:343::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50144:343:0;;;;;;;;:::i;84361:406::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;84361:406:0;;;;;;;;;;;;;;;-1:-1:-1;;;84361:406:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84361:406:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84361:406:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;84361:406:0;;;;;;;;;;;;-1:-1:-1;84361:406:0;-1:-1:-1;84361:406:0;;;;;-1:-1:-1;;;;;84361:406:0;;;;;;;;;;:::i;111714:964::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;111714:964:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;23483:184::-;;;;;;;;;;;;;;;;-1:-1:-1;23483:184:0;-1:-1:-1;;;;;23483:184:0;;:::i;:::-;;;;-1:-1:-1;;;;;23483:184:0;;;;;;;;;;;;;;76151:117;;;;;;;;;;;;;;;;-1:-1:-1;76151:117:0;-1:-1:-1;;;;;76151:117:0;;:::i;6359:102::-;;;:::i;49120:362::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;49120:362:0;;;;;;;;:::i;49577:160::-;;;:::i;46682:172::-;;;;;;;;;;;;;;;;-1:-1:-1;46682:172:0;-1:-1:-1;;;;;46682:172:0;;:::i;43901:170::-;;;:::i;:::-;;;;-1:-1:-1;;;;;;43901:170:0;;;;;;;;;;;;;;107738:166;;;;;;;;;;;;;;;;-1:-1:-1;107738:166:0;-1:-1:-1;;;;;107738:166:0;;:::i;63831:163::-;;;;;;;;;;;;;;;;-1:-1:-1;63831:163:0;;:::i;23979:188::-;;;;;;;;;;;;;;;;-1:-1:-1;23979:188:0;-1:-1:-1;;;;;23979:188:0;;:::i;93841:246::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;93841:246:0;;;;;;;;;;;;;;;;;;;:::i;93153:308::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;93153:308:0;;;;;;;;;;:::i;35446:155::-;;;;;;;;;;;;;;;;-1:-1:-1;35446:155:0;-1:-1:-1;;;;;35446:155:0;;:::i;53811:422::-;;;;;;;;;;;;;;;;-1:-1:-1;53811:422:0;-1:-1:-1;;;;;53811:422:0;;:::i;50915:379::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;50915:379:0;;;;;;;;:::i;106171:212::-;;;;;;;;;;;;;;;;-1:-1:-1;106171:212:0;-1:-1:-1;;;;;106171:212:0;;:::i;88798:346::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;88798:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;88798:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;88798:346:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;88798:346:0;;-1:-1:-1;88798:346:0;;-1:-1:-1;;;;;88798:346:0:i;36025:136::-;;;:::i;31529:94::-;;;:::i;62364:519::-;;;;;;;;;;;;;;;;-1:-1:-1;62364:519:0;;:::i;43514:238::-;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;48038:150;;;;;;;;;;;;;;;;-1:-1:-1;48038:150:0;-1:-1:-1;;;;;48038:150:0;;:::i;107386:157::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;107386:157:0;;;;;;;;:::i;38159:757::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;38159:757:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38159:757:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;38159:757:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;38159:757:0;;-1:-1:-1;38159:757:0;;-1:-1:-1;;;;;38159:757:0:i;45328:186::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45328:186:0;;;;;;;;:::i;106776:330::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;106776:330:0;;;;;;;;;;;;;;;;;:::i;39322:185::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;39322:185:0;;;;;;;;;;;;;;;;;:::i;25362:172::-;;;;;;;;;;;;;;;;-1:-1:-1;25362:172:0;-1:-1:-1;;;;;25362:172:0;;:::i;103849:113::-;;;:::i;89366:173::-;;;;;;;;;;;;;;;;-1:-1:-1;89366:173:0;-1:-1:-1;;;;;89366:173:0;;:::i;87319:405::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;87319:405:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87319:405:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;87319:405:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;87319:405:0;;-1:-1:-1;87319:405:0;;-1:-1:-1;;;;;87319:405:0:i;35756:116::-;;;:::i;92097:748::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;92097:748:0;;;;;;;;;;:::i;85576:515::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;85576:515:0;;;;;;;;;;;;;;;-1:-1:-1;;;85576:515:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85576:515:0;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85576:515:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85576:515:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;85576:515:0;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85576:515:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;85576:515:0;;;;;;;;;;-1:-1:-1;85576:515:0;;-1:-1:-1;85576:515:0;-1:-1:-1;85576:515:0;:::i;40469:214::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;40469:214:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40469:214:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;40469:214:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;40469:214:0;;-1:-1:-1;40469:214:0;;-1:-1:-1;;;;;40469:214:0:i;52516:313::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;52516:313:0;;;;;;;;:::i;76413:137::-;;;:::i;53177:310::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;53177:310:0;;;;;;;;:::i;45831:192::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;;45831:192:0;;;;;;;;:::i;31800:102::-;;;;;;;;;;;;;;;;-1:-1:-1;31800:102:0;-1:-1:-1;;;;;31800:102:0;;:::i;103534:115::-;;;;;;;;;;;;;;;;-1:-1:-1;103534:115:0;;:::i;46261:154::-;;;;;;;;;;;;;;;;-1:-1:-1;46261:154:0;-1:-1:-1;;;;;46261:154:0;;:::i;108166:196::-;;;;;;;;;;;;;;;;-1:-1:-1;108166:196:0;-1:-1:-1;;;;;108166:196:0;;:::i;39854:133::-;39926:53;39939:5;39946:10;39958:6;39976:1;;39966:12;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;39966:12:0;;39926;:53::i;:::-;39854:133;;:::o;51745:325::-;30371:12;:10;:12::i;:::-;51848:25:::1;51866:6;51848:17;:25::i;:::-;51840:34;;;::::0;::::1;;51893:14:::0;;;:76:::1;;;51924:1;51912:9;:13;:56;;;;;51941:27;51961:6;51941:19;:27::i;:::-;51929:9;:39;51912:56;51885:85;;;::::0;::::1;;52003:45;::::0;;-1:-1:-1;;;52003:45:0::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;-1:-1:-1;;;;;;52003:45:0;;;;;;;;;;;;;;;;;;;;51993:56;;;;::::1;::::0;-1:-1:-1;51981:69:0;;;;;;;;;;:81;51745:325::o;47133:150::-;47237:36;;;-1:-1:-1;;;47237:36:0;;;;;;;;-1:-1:-1;;;;;;47237:36:0;;;;;;;;;;;;;;;;;;;;;;;;47227:47;;;;;;;;;47188:7;47215:60;;;;;;;;;47133:150;;;;:::o;108610:600::-;108662:28;108693:30;108716:6;108693:22;:30::i;:::-;108662:61;;108890:15;108908:56;108936:4;-1:-1:-1;;;;;108936:19:0;;108956:6;108936:27;;;;;;;;;;;;;-1:-1:-1;;;;;108936:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;108936:27:0;108908:23;108924:6;108908:15;:23::i;:::-;:27;;:56::i;:::-;108890:74;;108975:15;108993:24;109010:6;108993:16;:24::i;:::-;108975:42;;109048:7;109038;:17;109030:26;;;;;;109084:17;;;109114:50;-1:-1:-1;;;;;109114:27:0;;109150:4;109084:17;109114:27;:50::i;:::-;109175:4;-1:-1:-1;;;;;109175:11:0;;109187:6;109195;109175:27;;;;;;;;;;;;;-1:-1:-1;;;;;109175:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;108610:600;;;;;:::o;63222:453::-;34576:15;:13;:15::i;:::-;63308:24:::1;63321:10;63308:12;:24::i;:::-;63307:25;63299:34;;;::::0;::::1;;63346:13;63362:24;63375:10;63362:12;:24::i;:::-;63346:40;;63397:17;63417:28;63434:10;63417:16;:28::i;:::-;63397:48;;63456:13;63472:24;63485:10;63472:12;:24::i;:::-;63456:40;;63507:27;63523:10;63507:15;:27::i;:::-;63545:51;63572:5;63579:9;63590:5;63545:26;:51::i;:::-;63612:55;::::0;;-1:-1:-1;;;;;63612:55:0;;::::1;::::0;;;::::1;;::::0;::::1;::::0;;;;;;;;;63631:10;;63612:55:::1;::::0;;;;;;;;::::1;34602:1;;;63222:453:::0;:::o;35115:125::-;30371:12;:10;:12::i;:::-;35197:35:::1;35216:15;35197:18;:35::i;:::-;35115:125:::0;:::o;90417:968::-;30371:12;:10;:12::i;:::-;90536:32:::1;90554:13;90536:17;:32::i;:::-;90535:33;90527:42;;;::::0;::::1;;90633:1;90588:33;90607:13:::0;90588:18:::1;:33::i;:::-;-1:-1:-1::0;;;;;90588:47:0::1;;90580:56;;;::::0;::::1;;90700:1;90655:33;90675:12:::0;90655:19:::1;:33::i;:::-;-1:-1:-1::0;;;;;90655:47:0::1;;90647:56;;;::::0;::::1;;91183:70;-1:-1:-1::0;;;;;91183:52:0;::::1;91244:4;91251:1;91183:52;:70::i;:::-;91293:13;-1:-1:-1::0;;;;;91264:48:0::1;;91313:1;91264:51;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;91328:49;91349:12;91363:13;91328:20;:49::i;48458:367::-:0;48533:4;48550:17;48570:54;48616:7;48570:41;48587:6;48595:15;:13;:15::i;:::-;48570:16;:41::i;:::-;:45;;:54::i;:::-;48550:74;;48680:1;48655:22;48674:1;48655:10;:22::i;:::-;:26;:74;;;;;48720:9;48698:18;48709:6;48698:10;:18::i;:::-;:31;;48655:74;:118;;;;;48757:16;48766:6;48757:8;:16::i;:::-;48746:7;:27;;48655:118;:162;;;;;48801:16;48810:6;48801:8;:16::i;:::-;48790:7;:27;;48655:162;48635:182;;;48458:367;;;;;:::o;86492:305::-;34576:15;:13;:15::i;:::-;86640:13:::1;86656:27;86676:6;86656:19;:27::i;:::-;86640:43;;86704:24;86722:5;86704:17;:24::i;:::-;86696:33;;;::::0;::::1;;86742:47;86756:5;86763;86770:10;86782:6;86742:13;:47::i;:::-;34602:1;86492:305:::0;;;:::o;47591:168::-;47704:45;;;-1:-1:-1;;;47704:45:0;;;;;;;;;;;;;-1:-1:-1;;;;;;47704:45:0;;;;;;;;;;;;;;;;;;;;47694:56;;;;;;-1:-1:-1;47682:69:0;;;;;;;;;;;47591:168::o;26444:164::-;26555:43;;;-1:-1:-1;;;26555:43:0;;;;;;;;;;;;;-1:-1:-1;;;;;;26555:43:0;;;;;;;;;;;;;;;;;;;;26545:54;;;;;;-1:-1:-1;26533:67:0;;;;;;;;;;;26444:164::o;112897:161::-;112978:10;113000:4;112978:27;112970:36;;;;;;113019:31;113036:13;113019:16;:31::i;44901:116::-;44965:4;45008:1;44989:16;44998:6;44989:8;:16::i;:::-;:20;;44901:116;-1:-1:-1;;44901:116:0:o;88079:245::-;34576:15;:13;:15::i;:::-;88226:30:::1;88249:6;88226:22;:30::i;:::-;88269:47;88283:6;88291:4;88297:10;88309:6;88269:13;:47::i;:::-;88079:245:::0;;;:::o;50144:343::-;30371:12;:10;:12::i;:::-;50242:25:::1;50260:6;50242:17;:25::i;:::-;50234:34;;;::::0;::::1;;50301:16;50310:6;50301:8;:16::i;:::-;50287:11;:30;:50;;;-1:-1:-1::0;50321:16:0;;50287:50:::1;50279:59;;;::::0;::::1;;50371:38;::::0;;-1:-1:-1;;;50371:38:0::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;50371:38:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;50361:49;;;;::::1;::::0;;;;50349:11:::1;:62:::0;;;;;;;;;;;:76;;;50441:38;;;;;-1:-1:-1;;;;;50371:38:0;::::1;::::0;50441::::1;::::0;;;;;;;;::::1;50144:343:::0;;:::o;84361:406::-;34576:15;:13;:15::i;:::-;84610:20:::1;84633:59;84658:6;84666:5;;84673:7;;84682:9;84633:24;:59::i;:::-;84610:82;;84705:54;84719:12;84733:5;84740:10;84752:6;84705:13;:54::i;111714:964::-:0;30857:44;;;;;;;;;;;;;;;;-1:-1:-1;;;;;30857:44:0;-1:-1:-1;;;30857:44:0;;;30832:70;;;;112185:4;;;;30792:23;;30840:4;;30857:44;;30832:70;;;;30857:44;30832:70;;30857:44;30832:70;;;;;;;;;;-1:-1:-1;;30832:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;30777:125;;;;30936:7;30935:8;:159;;;;31019:10;:17;31040:2;31019:23;:74;;;;;31071:10;31060:33;;;;;;;;;;;;;;;-1:-1:-1;31060:33:0;-1:-1:-1;;;;;31046:47:0;:10;:47;31019:74;30935:251;;;-1:-1:-1;31159:10:0;31181:4;31159:27;30935:251;30913:336;;;;;;112211:15:::1;:13;:15::i;:::-;112210:16;112202:25;;;::::0;::::1;;112240:35;112259:15;112240:18;:35::i;:::-;112286:50;112318:17;112286:31;:50::i;:::-;112347:56;112366:1;112370:32;112347:56;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;112347:10:0::1;::::0;-1:-1:-1;;112347:56:0:i:1;:::-;112414:75:::0;;;;;::::1;::::0;;::::1;::::0;112442:1:::1;::::0;112414:75;112446:42;;112414:75:::1;::::0;;;112446:42;;112414:75;112446:42;112414:75;::::1;;::::0;::::1;::::0;;;;-1:-1:-1;112414:19:0::1;::::0;-1:-1:-1;;112414:75:0:i:1;:::-;112500:37;112520:16;112500:19;:37::i;:::-;112548:17;112558:6;112548:9;:17::i;:::-;112576:31;112593:13;112576:16;:31::i;:::-;112620:15;:13;:15::i;:::-;112655;:13;:15::i;:::-;112648:22:::0;111714:964;-1:-1:-1;;;;;;;;;;111714:964:0:o;23483:184::-;23607:50;;;-1:-1:-1;;;23607:50:0;;;;;;;;;;;;;-1:-1:-1;;;;;;23607:50:0;;;;;;;;;;;;;;;;;;;;23597:61;;;;;;-1:-1:-1;23582:77:0;;;:14;:77;;;;;;-1:-1:-1;;;;;23582:77:0;;23483:184::o;76151:117::-;30371:12;:10;:12::i;6359:102::-;6144:66;6405:4;6429:24;:11;:24;;;;;;6359:102;:::o;49120:362::-;49204:4;49221:17;49241:57;49290:7;49241:44;49261:6;49269:15;:13;:15::i;:::-;49241:19;:44::i;:57::-;49221:77;;49363:1;49329:31;49357:1;49329:19;:31::i;:::-;:35;:92;;;;;49412:9;49381:27;49401:6;49381:19;:27::i;:::-;:40;;49329:92;:145;;;;;49449:25;49467:6;49449:17;:25::i;:::-;49438:36;;;;;49120:362;-1:-1:-1;;;49120:362:0:o;49577:160::-;49723:6;49705:15;:24;;49577:160::o;46682:172::-;46797:47;;;-1:-1:-1;;;46797:47:0;;;;;;;;;;;;;-1:-1:-1;;;;;;46797:47:0;;;;;;;;;;;;;;;;;;;;46787:58;;;;;;-1:-1:-1;46775:71:0;;;;;;;;;;;46682:172::o;43901:170::-;-1:-1:-1;;;43901:170:0;:::o;107738:166::-;107850:44;;;-1:-1:-1;;;107850:44:0;;;;;;;;;;;;;-1:-1:-1;;;;;;107850:44:0;;;;;;;;;;;;;;;;;;;;107840:55;;;;;;-1:-1:-1;107828:68:0;;;;;;;;;;;107738:166::o;63831:163::-;63940:44;;;-1:-1:-1;;;63940:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;63930:55;;;;;;;;;63894:4;63918:68;;;:11;:68;;;;;;;63831:163;;;:::o;23979:188::-;24103:54;;;-1:-1:-1;;;24103:54:0;;;;;;;;;;;;;-1:-1:-1;;;;;;24103:54:0;;;;;;;;;;;;;;;;;;;;24093:65;;;;;;-1:-1:-1;24078:81:0;;;:14;:81;;;;;;-1:-1:-1;;;;;24078:81:0;;23979:188::o;93841:246::-;6938:28;:26;:28::i;:::-;94040:13:::1;-1:-1:-1::0;;;;;94011:55:0::1;;94067:6;94075:3;94011:68;;;;;;;;;;;;;-1:-1:-1::0;;;;;94011:68:0::1;;;;;;-1:-1:-1::0;;;;;94011:68:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;93841:246:::0;;;:::o;93153:308::-;6938:28;:26;:28::i;:::-;-1:-1:-1;;;;;93367:20:0;::::1;::::0;;:50:::1;;;93392:25;93410:6;93392:17;:25::i;:::-;93391:26;93367:50;93359:59;;;::::0;::::1;;93429:24;93441:6;93449:3;93429:11;:24::i;35446:155::-:0;30371:12;:10;:12::i;:::-;35543:50:::1;35575:17;35543:31;:50::i;53811:422::-:0;53875:7;53895:17;53915:16;53924:6;53915:8;:16::i;:::-;53895:36;;53942:19;53964:18;53975:6;53964:10;:18::i;:::-;53942:40;;53993:14;54010:41;54027:6;54035:15;:13;:15::i;54010:41::-;53993:58;;54062:28;54107:6;54093:11;:20;:47;;54139:1;54093:47;;;54130:6;54116:11;:20;54093:47;54062:78;;54170:20;54158:9;:32;:67;;54205:20;54158:67;;;54193:9;54158:67;54151:74;53811:422;-1:-1:-1;;;;;;53811:422:0:o;50915:379::-;30371:12;:10;:12::i;:::-;51022:25:::1;51040:6;51022:17;:25::i;:::-;51014:34;;;::::0;::::1;;51081:25;51099:6;51081:17;:25::i;:::-;51067:11;:39;:59;;;-1:-1:-1::0;51110:16:0;;51067:59:::1;51059:68;;;::::0;::::1;;51160:47;::::0;;-1:-1:-1;;;51160:47:0::1;::::0;;::::1;::::0;;;;-1:-1:-1;;;;;;51160:47:0::1;::::0;;;;;;;;;;;;;;;;;;;;;;;51150:58;;;;::::1;::::0;;;;51138:11:::1;:71:::0;;;;;;;;;;;:85;;;51239:47;;;;;-1:-1:-1;;;;;51160:47:0;::::1;::::0;51239::::1;::::0;;;;;;;;::::1;50915:379:::0;;:::o;106171:212::-;106332:40;;;-1:-1:-1;;;106332:40:0;;;;;;;;;;;;;-1:-1:-1;;;;;;106332:40:0;;;;;;;;;;;;;;;;;;;106322:51;;;;;;-1:-1:-1;106307:67:0;;;:14;:67;;;;;;-1:-1:-1;;;;;106307:67:0;;106171:212::o;88798:346::-;34576:15;:13;:15::i;:::-;88981:30:::1;89004:6;88981:22;:30::i;:::-;89024:47;89038:6;89046:4;89052:10;89064:6;89024:13;:47::i;:::-;89084:52;89102:10;89114:6;89122;89130:5;89084:17;:52::i;36025:136::-:0;34320:66;36093:7;36120:33;:14;:33;;;;-1:-1:-1;;;;;36120:33:0;36025:136;:::o;31529:94::-;31311:66;31567:7;31594:21;:14;:21;;;;-1:-1:-1;;;;;31594:21:0;31529:94;:::o;62364:519::-;62437:11;62451:16;:14;:16::i;:::-;62437:30;;62487:6;-1:-1:-1;;;;;62487:24:0;;62512:10;62487:36;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62487:36:0;62486:37;62478:46;;;;;;62595:4;-1:-1:-1;;;;;62543:57:0;:6;-1:-1:-1;;;;;62543:28:0;;62572:10;62543:40;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62543:40:0;-1:-1:-1;;;;;62543:57:0;;62535:66;;;;;;62662:29;:27;:29::i;:::-;-1:-1:-1;;;;;62620:71:0;:6;-1:-1:-1;;;;;62620:26:0;;62647:10;62620:38;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;62620:38:0;-1:-1:-1;;;;;62620:71:0;;62612:80;;;;;;62790:50;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;62790:50:0;-1:-1:-1;;;62790:50:0;;;;;;62729:30;62851:24;62790:50;62870:4;62851:12;:24::i;:::-;;62364:519;;;;:::o;43514:238::-;43736:1;;43634:12;43514:238;;;:::o;48038:150::-;48142:36;;;-1:-1:-1;;;48142:36:0;;;;;;;;;;;;;-1:-1:-1;;;;;;48142:36:0;;;;;;;;;;;;;;;;;;;;48132:47;;;;;;-1:-1:-1;48120:60:0;;;;;;;;;;;48038:150::o;107386:157::-;30371:12;:10;:12::i;:::-;107488:47:::1;107509:6;107517:17;107488:20;:47::i;38159:757::-:0;38287:4;38309:6;:4;:6::i;:::-;38304:583;;38352:12;;;38362:1;38352:12;;;;;;;;38422;;38398:5;;38438:2;-1:-1:-1;38418:364:0;;38472:27;38493:5;38472:20;:27::i;:::-;38461:38;;38537:2;38522:5;:12;:17;38518:249;;;38616:12;;-1:-1:-1;;38612:21:0;38630:2;38667:14;;38707:18;;;38667:14;-1:-1:-1;38573:175:0;38796:79;38833:10;38845:5;38852:8;38862:6;38870:4;38796:36;:79::i;:::-;38304:583;;;-1:-1:-1;38904:4:0;38159:757;;;;;:::o;45328:186::-;45454:50;;;-1:-1:-1;;;45454:50:0;;;;;;;;;;;;;-1:-1:-1;;;;;;45454:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;45444:61;;;;;;;;;-1:-1:-1;45432:74:0;;;;;;;;;;;45328:186::o;106776:330::-;30371:12;:10;:12::i;:::-;106985:1:::1;106942:30;106965:6:::0;106942:22:::1;:30::i;:::-;-1:-1:-1::0;;;;;106934:53:0::1;;106926:62;;;::::0;::::1;;106999:41;107026:6;107034:5;106999:26;:41::i;:::-;107051:47;107072:6;107080:17;107051:20;:47::i;39322:185::-:0;39447:52;39460:5;39467:9;39478:6;39496:1;;39486:12;;25362:172;25487:37;;;-1:-1:-1;;;25487:37:0;;;;;;;;;;;;;-1:-1:-1;;;;;;25487:37:0;;;;;;;;;;;;;;;;;;;;25477:48;;;;;;-1:-1:-1;25465:61:0;;;:11;:61;;;;;;;;;25362:172::o;103849:113::-;103079:66;103897:7;103924:30;;;;;;;103849:113;:::o;89366:173::-;89438:4;89462:25;89480:6;89462:17;:25::i;:::-;:69;;;;-1:-1:-1;89529:1:0;89491:26;89510:6;89491:18;:26::i;:::-;-1:-1:-1;;;;;89491:40:0;;89455:76;89366:173;-1:-1:-1;;89366:173:0:o;87319:405::-;34576:15;:13;:15::i;:::-;87503:13:::1;87519:27;87539:6;87519:19;:27::i;:::-;87503:43;;87567:24;87585:5;87567:17;:24::i;:::-;87559:33;;;::::0;::::1;;87605:47;87619:5;87626;87633:10;87645:6;87605:13;:47::i;:::-;87665:51;87683:10;87695:5;87702:6;87710:5;87665:17;:51::i;35756:116::-:0;34152:66;35803:4;35832:31;:14;:31;;;;-1:-1:-1;;;;;35832:31:0;35756:116;:::o;92097:748::-;6938:28;:26;:28::i;:::-;92235:9;-1:-1:-1;;;;;21369:17:0;::::1;21361:26;;;::::0;::::1;;92270:33:::2;92296:6;92270:25;:33::i;:::-;92262:42;;;::::0;::::2;;92317:12;92332:27;92352:6;92332:19;:27::i;:::-;92317:42;;92385:1;92378:4;:8;92370:17;;;::::0;::::2;;92398;92418:25;92436:6;92418:17;:25::i;:::-;92398:45;;92474:1;92462:9;:13;92454:22;;;::::0;::::2;;92498:9;92491:4;:16;92487:65;;;92531:9;92524:16;;92487:65;92562:50;92582:6;92590:15;:13;:15::i;:::-;92607:4;92562:19;:50::i;:::-;92698:12;::::0;;92669:1:::2;92698:12:::0;;;::::2;::::0;::::2;::::0;;;92625:17:::2;::::0;92645:66:::2;::::0;92673:6;;92681:9;;92692:4;;92645:15:::2;:66::i;:::-;92625:86;;92722:18;92743:24;92756:4;92762;92743:12;:24::i;:::-;92722:45;;92778:59;92801:10;92813:6;92821:9;92832:4;92778:22;:59::i;85576:515::-:0;34576:15;:13;:15::i;:::-;85863:20:::1;85886:59;85911:6;85919:5;;85926:7;;85935:9;85886:24;:59::i;:::-;85863:82;;85958:54;85972:12;85986:5;85993:10;86005:6;85958:13;:54::i;:::-;86025:58;86043:10;86055:12;86069:6;86077:5;;86025:58;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;::::0;;;;-1:-1:-1;86025:17:0::1;::::0;-1:-1:-1;;;86025:58:0:i:1;:::-;34602:1;85576:515:::0;;;;;;;;;;:::o;40469:214::-;40630:45;40643:5;40650:9;40661:6;40669:5;40630:12;:45::i;52516:313::-;30371:12;:10;:12::i;:::-;52610:25:::1;52628:6;52610:17;:25::i;:::-;52602:34;;;::::0;::::1;;52655:14:::0;;;:82:::1;;;52686:16;52695:6;52686:8;:16::i;:::-;52674:9;:28;:62;;;;;52718:18;52729:6;52718:10;:18::i;:::-;52706:9;:30;52674:62;52647:91;;;::::0;::::1;;52771:36;::::0;;-1:-1:-1;;;52771:36:0::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;-1:-1:-1;;;;;;52771:36:0;;;;;;;;;;;;;;;;;;;;52761:47;;;;::::1;::::0;-1:-1:-1;52749:60:0;;;;;;;;;;:72;52516:313::o;76413:137::-;75844:66;76458:12;76503:38;:14;:38;;;;-1:-1:-1;;;;;76503:38:0;76413:137;:::o;53177:310::-;30371:12;:10;:12::i;:::-;53271:25:::1;53289:6;53271:17;:25::i;:::-;53263:34;;;::::0;::::1;;53328:1;53316:9;:13;:47;;;;;53345:18;53356:6;53345:10;:18::i;:::-;53333:9;:30;53316:47;:79;;;;;53379:16;53388:6;53379:8;:16::i;:::-;53367:9;:28;53316:79;53308:88;;;::::0;::::1;;53429:36;::::0;;-1:-1:-1;;;53429:36:0::1;::::0;;::::1;::::0;;;;::::1;::::0;;;;-1:-1:-1;;;;;;53429:36:0;;;;;;;;;;;;;;;;;;;;53419:47;;;;::::1;::::0;-1:-1:-1;53407:60:0;;;;;;;;;;:72;53177:310::o;45831:192::-;45960:53;;;-1:-1:-1;;;45960:53:0;;;;;;;;;;;;;-1:-1:-1;;;;;;45960:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;45950:64;;;;;;;;;-1:-1:-1;45938:77:0;;;;;;;;;;;45831:192::o;31800:102::-;30371:12;:10;:12::i;:::-;31875:19:::1;31885:8;31875:9;:19::i;103534:115::-:0;30371:12;:10;:12::i;:::-;103611:30:::1;103631:9;103611:19;:30::i;46261:154::-:0;46367:38;;;-1:-1:-1;;;46367:38:0;;;;;;;;;;;;;-1:-1:-1;;;;;;46367:38:0;;;;;;;;;;;;;;;;;;;;46357:49;;;;;;-1:-1:-1;46345:62:0;;;;;;;;;;;46261:154::o;108166:196::-;30371:12;:10;:12::i;:::-;108237:30:::1;108260:6;108237:22;:30::i;:::-;-1:-1:-1::0;;;;;108237:39:0::1;;108277:6;-1:-1:-1::0;;108237:60:0::1;;;;;;;;;;;;;-1:-1:-1::0;;;;;108237:60:0::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;108308:46;108335:6;108351:1;108308:26;:46::i;41307:845::-:0;41724:6;:4;:6::i;:::-;41723:7;41715:16;;;;;;41744:21;41768:5;-1:-1:-1;;;;;41768:15:0;;41792:4;41768:30;;;;;;;;;;;;;-1:-1:-1;;;;;41768:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41768:30:0;;-1:-1:-1;41809:13:0;41817:4;41809:7;:13::i;:::-;41833:57;-1:-1:-1;;;;;41833:22:0;;41856:10;41876:4;41883:6;41833:22;:57::i;:::-;41901:14;41909:5;41901:7;:14::i;:::-;41926:19;41948:49;41983:13;41948:5;-1:-1:-1;;;;;41948:15:0;;41972:4;41948:30;;;;;;;;;;;;;-1:-1:-1;;;;;41948:30:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;41948:30:0;;:34;:49::i;:::-;41926:71;;42031:6;42016:11;:21;;42008:30;;;;;;42049:95;42094:5;42102:10;42114:9;42125:11;42138:5;42049:36;:95::i;:::-;41307:845;;;;;;:::o;30511:85::-;30580:7;:5;:7::i;:::-;-1:-1:-1;;;;;30566:21:0;:10;-1:-1:-1;;;;;30566:21:0;;30558:30;;;;;;30511:85::o;1387:136::-;1445:7;1472:43;1476:1;1479;1472:43;;;;;;;;;;;;;;;;;:3;:43::i;:::-;1465:50;1387:136;-1:-1:-1;;;1387:136:0:o;16974:177::-;17084:58;;;-1:-1:-1;;;;;17084:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17084:58:0;-1:-1:-1;;;17084:58:0;;;17057:86;;17077:5;;17057:19;:86::i;34722:212::-;34772:11;34786:16;:14;:16::i;:::-;34772:30;-1:-1:-1;34821:10:0;-1:-1:-1;;;;;34821:29:0;;;34813:38;;;;;;34896:29;:27;:29::i;:::-;-1:-1:-1;;;;;34870:55:0;:6;-1:-1:-1;;;;;34870:20:0;;:22;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;34870:22:0;-1:-1:-1;;;;;34870:55:0;;34862:64;;;;;60077:171;60194:44;;;-1:-1:-1;;;60194:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60184:55;;;;;;;;;60142:7;60169:71;;;:14;:71;;;;;-1:-1:-1;;;;;60169:71:0;60077:171;;;:::o;61476:179::-;61597:48;;;-1:-1:-1;;;61597:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61587:59;;;;;;;;;61545:7;61572:75;;;:14;:75;;;;;-1:-1:-1;;;;;61572:75:0;61476:179;;;:::o;60772:168::-;60886:44;;;-1:-1:-1;;;60886:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60876:55;;;;;;;;;60837:7;60864:68;;;;;;;;;60772:168;;;:::o;64155:148::-;64242:44;;;-1:-1:-1;;;64242:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;64232:55;;;;;;;;;64220:68;;;;:11;:68;;;;;:75;;-1:-1:-1;;64220:75:0;64291:4;64220:75;;;64155:148::o;89840:251::-;89991:92;90044:1;90006:26;90025:6;90006:18;:26::i;:::-;-1:-1:-1;;;;;90006:40:0;;90048:6;90056:10;90068:6;90076;89991:14;:92::i;36311:185::-;36392:35;36411:15;36392:18;:35::i;:::-;36384:44;;;;;;34152:66;36439:31;;:14;:31;;;:49;;-1:-1:-1;;;;;;36439:49:0;-1:-1:-1;;;;;36439:49:0;;;;;;;;;;36311:185::o;82240:179::-;82386:6;-1:-1:-1;;;;;82386:11:0;;82398:3;82403:6;82386:24;;;;;;;;;;;;;-1:-1:-1;;;;;82386:24:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;82386:24:0;82378:33;;;;;24453:368;24573:50;;;-1:-1:-1;;;24573:50:0;;;;;;;;-1:-1:-1;;;;;;24573:50:0;;;;;;;;;;;;;;;;;;;;;;;;24563:61;;;;;;24548:77;;;;:14;:77;;;;;;:93;;-1:-1:-1;;;;;24548:93:0;;;-1:-1:-1;;;;;;24548:93:0;;;;;;;;-1:-1:-1;;;24677:54:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;24667:65;;;;;;;;;24652:81;;;;;;;:96;;;;;24573:50;;;24652:96;;;;;;24548:93;;24573:50;;24766:47;;24548:77;24766:47;24453:368;;:::o;923:181::-;981:7;1013:5;;;1037:6;;;;1029:46;;;;;-1:-1:-1;;;1029:46:0;;;;;;;;;;;;;;;;;;;;;;;;;;;113519:636;113870:6;:4;:6::i;:::-;113869:7;113861:16;;;;;;113898:36;113919:6;113927;113898:20;:36::i;:::-;113890:45;;;;;;113946:55;113969:6;113977:15;:13;:15::i;:::-;113994:6;113946:22;:55::i;:::-;114014:61;114029:9;114040:6;114048:10;114060:6;114068;114014:14;:61::i;:::-;114135:11;:9;:11::i;:::-;114115:10;-1:-1:-1;;;;;114093:54:0;114107:6;-1:-1:-1;;;;;114093:54:0;;114127:6;114093:54;;;;;;;;;;;;;;;;;;113519:636;;;;:::o;76738:184::-;76815:33;76834:13;76815:18;:33::i;:::-;76807:42;;;;;;75844:66;76860:38;;:14;:38;;;:54;;-1:-1:-1;;;;;;76860:54:0;-1:-1:-1;;;;;76860:54:0;;;;;;;;;;76738:184::o;25702:238::-;25797:37;;;-1:-1:-1;;;25797:37:0;;;;;;;;-1:-1:-1;;;;;;25797:37:0;;;;;;;;;;;;;;;;;;;;;;;;25787:48;;;;;;;;;25775:61;;;;:11;:61;;;;;;;25770:163;;25875:37;;;-1:-1:-1;;;25875:37:0;;;;;;;;-1:-1:-1;;;;;;25875:37:0;;;;;;;;;;;;;;;;;;;;;;;;25865:48;;;;;;;;;25853:61;;;;:11;:61;;;;:68;;-1:-1:-1;;25853:68:0;25917:4;25853:68;;;25702:238;:::o;99754:1151::-;99930:7;99950:20;99973:27;99993:6;99973:19;:27::i;:::-;99950:50;-1:-1:-1;;;;;;100015:26:0;;100011:857;;100058:18;100079:5;;100058:26;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;100099:30:0;;;;100058:26;100099:30;;;;;;;;;;;;;;;;;100058:26;;-1:-1:-1;100099:20:0;;:30;-1:-1:-1;100122:7:0;;-1:-1:-1;100122:7:0;;;;100099:30;;100122:7;;;;100099:30;;;;;;;;;-1:-1:-1;;100152:18:0;;100099:30;;-1:-1:-1;;;100152:22:0;;;:50;;;100201:1;100184:6;100178:20;:24;100152:50;100144:59;;;;;;100222:18;;100218:162;;100273:6;100266:13;;100218:162;;;100305:20;;100301:79;;-1:-1:-1;100360:4:0;100301:79;100401:20;100416:4;100401:14;:20::i;:::-;100394:27;;100451:14;:12;:14::i;:::-;-1:-1:-1;;;;;100451:21:0;;100473:4;100479:6;100487:9;100498:16;:14;:16::i;:::-;-1:-1:-1;;;;;100498:30:0;;:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100498:32:0;100451:80;;-1:-1:-1;;;;;;100451:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;100498:32;100451:80;;;;;;-1:-1:-1;100451:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100451:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100451:80:0;;-1:-1:-1;100546:42:0;100567:6;100451:80;100546:20;:42::i;:::-;100603:53;100632:12;100646:9;100603:53;;:28;:53::i;:::-;100011:857;;;;;100679:31;100697:12;100679:17;:31::i;:::-;100674:194;;100778:9;100735:52;;100750:12;-1:-1:-1;;;;;100735:37:0;;:39;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;100735:39:0;:52;;;100727:61;;;;;;100803:53;100832:12;100846:9;100803:53;;:28;:53::i;:::-;100885:12;99754:1151;-1:-1:-1;;;;;;;99754:1151:0:o;36667:149::-;34320:66;36755:33;;:14;:33;;;:53;;-1:-1:-1;;;;;;36755:53:0;-1:-1:-1;;;;;36755:53:0;;;;;;;;;;36667:149::o;55565:601::-;55670:10;;;;:14;;;;:74;;-1:-1:-1;55734:10:0;;;;;55721;;;:23;55670:74;:141;;;;-1:-1:-1;55801:10:0;;;;55788;;:23;55670:141;55648:199;;;;;;55925:10;;55882:38;;;-1:-1:-1;;;55925:10:0;55882:38;;;;;;;;;;;-1:-1:-1;;;;;;55882:38:0;;;;;;;;;;;;;;;;;;;;;55872:49;;;;;;55933:1;55860:62;;;;;;;;;:75;;;;56009:10;;;;-1:-1:-1;;;55968:36:0;;;;;;;;;;;;;;;;;;;;;;;;55958:47;;;;;;55946:60;;;;;;;;:73;56093:10;;;;-1:-1:-1;;;56052:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;56042:47;;;;;;;;;56030:60;;;;;;;;:73;-1:-1:-1;;;;;56052:36:0;;;56121:37;;55925:7;;56147:10;;;;;56121:37;;;;;;;;;;;;;;;;;;55565:601;;:::o;56401:425::-;56514:10;;;56501;;;:23;56493:32;;;;;;56651:10;;56599:47;;;-1:-1:-1;;;56651:10:0;56599:47;;;;;;;;;;;-1:-1:-1;;;;;;56599:47:0;;;;;;;;;;;;;;;;;;;;;56589:58;;;;;;56659:1;56577:71;;;;;;;;;:84;;;;56744:10;;;;-1:-1:-1;;;56694:45:0;;;;;;;;;;;;;;;;;;;;;;;;;;56684:56;;;;;;;;;56672:69;;;;;;;;:82;-1:-1:-1;;;;;56694:45:0;;;56772:46;;56651:7;;56807:10;;104164:164;104253:13;:11;:13::i;:::-;104240:9;:26;;104232:35;;;;;;103079:66;104278:11;:30;;;;;;:42;104164:164::o;31966:194::-;-1:-1:-1;;;;;32031:22:0;;32023:31;;;;;;32070:39;32091:7;:5;:7::i;:::-;32070:39;;;-1:-1:-1;;;;;32070:39:0;;;;;;;;;;;;;;;;;;;;;31311:66;32120:21;;:14;:21;;;:32;;-1:-1:-1;;;;;;32120:32:0;-1:-1:-1;;;;;32120:32:0;;;;;;;;;;31966:194::o;6267:84::-;6144:66;6312:24;;:11;:24;;;:31;;-1:-1:-1;;6312:31:0;6339:4;6312:31;;;6267:84::o;7110:158::-;7231:4;-1:-1:-1;;;;;7195:62:0;;:64;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;7195:64:0;-1:-1:-1;;;;;7181:78:0;:10;:78;7173:87;;;;;21783:231;21855:3;-1:-1:-1;;;;;21369:17:0;;21361:26;;;;;;-1:-1:-1;;;;;21875:20:0;::::1;21871:136;;21912:21;21929:3;21912:16;:21::i;:::-;21871:136;;;21966:29;21983:6;21991:3;21966:16;:29::i;101230:334::-:0;101396:30;101415:10;101396:18;:30::i;:::-;101392:165;;;101443:10;-1:-1:-1;;;;;101443:15:0;101482:38;;;101522:6;101530;101538:5;101459:85;;;;;;-1:-1:-1;;;;;101459:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;101459:85:0;;;-1:-1:-1;;101459:85:0;;;;;;;;;;;;;;-1:-1:-1;;;;;101459:85:0;-1:-1:-1;;;;;;101459:85:0;;;;;;;;;101443:102;;;101459:85;;101443:102;;-1:-1:-1;101443:102:0;;-1:-1:-1;101459:85:0;-1:-1:-1;101443:102:0;-1:-1:-1;101443:102:0;;-1:-1:-1;101443:102:0;101459:85;101443:102;;;;;;;;;;-1:-1:-1;;101443:102:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118846:248;118936:7;118992:16;:14;:16::i;:::-;-1:-1:-1;;;;;118992:37:0;;119030:29;:27;:29::i;:::-;119061:5;119068:17;:15;:17::i;:::-;118992:94;;;;;;;;;;;;;-1:-1:-1;;;;;118992:94:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;118992:94:0;;118846:248;-1:-1:-1;;;118846:248:0:o;110032:189::-;110147:44;;;-1:-1:-1;;;110147:44:0;;;;;;;;;;;;;-1:-1:-1;;;;;;110147:44:0;;;;;;;;;;;;;;;;;;;;110137:55;;;;;;-1:-1:-1;110125:68:0;;;;;;;;;;:88;110032:189::o;28586:519::-;28981:66;28975:73;;28655:443::o;28292:165::-;28435:2;28423:15;28417:22;;28394:56::o;114539:869::-;-1:-1:-1;;;;;114768:23:0;;;;;;:69;;;114808:29;:27;:29::i;:::-;-1:-1:-1;;;;;114795:42:0;:9;-1:-1:-1;;;;;114795:42:0;;;114768:69;114760:78;;;;;;114891:25;114909:6;114891:17;:25::i;:::-;114886:169;;114933:14;114950:32;114975:6;114950:24;:32::i;:::-;114933:49;;114997:46;115026:6;115034:8;114997:46;;:28;:46::i;:::-;114886:169;;115075:27;115087:6;115095;115075:11;:27::i;:::-;115067:36;;;;;;115114:52;115134:6;115142:15;:13;:15::i;115114:52::-;115179:17;115199:77;115215:26;115234:6;115215:18;:26::i;:::-;115243:6;115251:9;115262:6;115270:5;115199:15;:77::i;109497:271::-;-1:-1:-1;;;;;109592:19:0;;;;:81;;;109639:5;-1:-1:-1;;;;;109615:50:0;;109666:6;109615:58;;;;;;;;;;;;;-1:-1:-1;;;;;109615:58:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;109615:58:0;109592:81;109584:90;;;;;;109710:40;;;-1:-1:-1;;;109710:40:0;;;;;;;;;;;;;-1:-1:-1;;;;;;109710:40:0;;;;;;;;;;;;;;;;;;;109700:51;;;;;;-1:-1:-1;109685:67:0;;;:14;:67;;;;;;:75;;-1:-1:-1;;;;;;109685:75:0;-1:-1:-1;;;;;109685:75:0;;;;;;;;;109497:271::o;119378:364::-;119455:7;119475:28;119506:30;119529:6;119506:22;:30::i;:::-;119475:61;;119547:16;119566:33;119593:4;119566:18;:33::i;:::-;:67;;119632:1;119566:67;;;119602:4;-1:-1:-1;;;;;119602:19:0;;119622:6;119602:27;;;;;;;;;;;;;-1:-1:-1;;;;;119602:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;119602:27:0;119566:67;119547:86;;119651:83;119696:37;119724:8;119696:23;119712:6;119696:15;:23::i;:37::-;119651:40;;;-1:-1:-1;;;119651:40:0;;119685:4;119651:40;;;;;;-1:-1:-1;;;;;119651:25:0;;;;;:40;;;;;;;;;;;;;;:25;:40;;;;;;;;;;:83;119644:90;119378:364;-1:-1:-1;;;;119378:364:0:o;54489:280::-;54695:66;54744:6;54695:30;54712:6;54720:4;54695:16;:30::i;:66::-;54618:11;:74;54677:6;54685:4;54640:50;;;;;;-1:-1:-1;;;54640:50:0;;;;;;-1:-1:-1;;;;;54640:50:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;54630:61;;;;;;54618:74;;;;;;;;;;;:143;;;;54489:280;;;:::o;95271:2713::-;95459:12;95484:13;95515:1;95500:5;:12;:16;:63;;;-1:-1:-1;95520:7:0;;-1:-1:-1;;;;;;95520:7:0;-1:-1:-1;;;95520:43:0;95500:63;95484:79;-1:-1:-1;;;;;;95656:26:0;;95652:1795;;95699:64;95719:6;95727:35;95755:6;95727:23;95743:6;95727:15;:23::i;:35::-;95699:19;:64::i;:::-;95873:40;95906:6;95873:32;:40::i;:::-;95869:527;;;95962:8;:418;;96296:84;;;-1:-1:-1;;;;;96296:84:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;96296:84:0;-1:-1:-1;;;96296:84:0;;;95962:418;;;96051:40;;;96122:6;96159:9;96199:6;96236:5;95998:270;;;;;;-1:-1:-1;;;;;95998:270:0;;;;;;-1:-1:-1;;;;;95998:270:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;95998:270:0;;;-1:-1:-1;;95998:270:0;;;;;;;;;;;;;;-1:-1:-1;;;;;95998:270:0;-1:-1:-1;;;;;;95998:270:0;;;;;;;;;;-1:-1:-1;;;;;;95962:418:0;95934:446;;;;;95869:527;96412:14;96429:32;96454:6;96429:24;:32::i;:::-;96412:49;;96476:18;96497:28;96518:6;96497:20;:28::i;:::-;96476:49;;96540:20;96563:30;96586:6;96563:22;:30::i;:::-;96540:53;;96639:1;96624:4;96618:18;:22;:50;;;;96667:1;96650:6;96644:20;:24;96618:50;96610:59;;;;;;96710:8;:725;;97169:42;;;97238:6;97271:4;97302:6;97335:8;97370:9;97406:6;97120:315;;;;;;-1:-1:-1;;;;;97120:315:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97120:315:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97120:315:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97120:315:0;;;-1:-1:-1;;97120:315:0;;;;;;;;;;;;;;-1:-1:-1;;;;;97120:315:0;-1:-1:-1;;;;;;97120:315:0;;;;;;;;;;-1:-1:-1;96710:725:0;;-1:-1:-1;;;;;;;;96710:725:0;;96791:49;;;96867:6;96900:4;96931:6;96964:8;96999:9;97035:6;97068:5;96742:354;;;;;;-1:-1:-1;;;;;96742:354:0;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;96742:354:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96742:354:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96742:354:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;96742:354:0;;;-1:-1:-1;;96742:354:0;;;;;;;;;;;;;;-1:-1:-1;;;;;96742:354:0;-1:-1:-1;;;;;;96742:354:0;;;;;;;;;;-1:-1:-1;;;;;;;;;;;96710:725:0;96686:749;;;;;;;;95652:1795;97561:6;-1:-1:-1;;;;;97532:41:0;;97574:6;97532:49;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;97612:8;:364;;97887:89;;;-1:-1:-1;;;;;97887:89:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;97887:89:0;-1:-1:-1;;;97887:89:0;;;97612:364;;;97685:39;;;97747:12;97782:9;97814:6;97843:5;97640:227;;;;;;-1:-1:-1;;;;;97640:227:0;;;;;;-1:-1:-1;;;;;97640:227:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;97640:227:0;;;-1:-1:-1;;97640:227:0;;;;;;;;;;;;;;-1:-1:-1;;;;;97640:227:0;-1:-1:-1;;;;;;97640:227:0;;;;;;;;;;-1:-1:-1;;;;;;97612:364:0;97592:384;;;95271:2713;;;;;;;;:::o;94462:382::-;94626:35;94642:10;94654:6;94626:15;:35::i;:::-;94672:40;94692:10;94704:7;94672:19;:40::i;:::-;94723:35;94739:10;94751:6;94723:15;:35::i;:::-;94825:10;94808:7;-1:-1:-1;;;;;94776:60:0;94800:6;-1:-1:-1;;;;;94776:60:0;;94817:6;94776:60;;;;;;;;;;;;;;;;;;94462:382;;;;:::o;29113:509::-;29491:66;29484:81;29171:444::o;17159:205::-;17287:68;;;-1:-1:-1;;;;;17287:68:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;;;17287:68:0;-1:-1:-1;;;17287:68:0;;;17260:96;;17280:5;;17260:19;:96::i;1826:192::-;1912:7;1948:12;1940:6;;;;1932:29;;;;-1:-1:-1;;;1932:29:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;1984:5:0;;;1826:192::o;19279:761::-;19703:23;19729:69;19757:4;19729:69;;;;;;;;;;;;;;;;;19737:5;-1:-1:-1;;;;;19729:27:0;;;:69;;;;;:::i;:::-;19813:17;;19703:95;;-1:-1:-1;19813:21:0;19809:224;;19955:10;19944:30;;;;;;;;;;;;;;;-1:-1:-1;19944:30:0;19936:85;;;;-1:-1:-1;;;19936:85:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;115830:2707;116031:9;116027:2503;;;117344:15;117362:23;117378:6;117362:15;:23::i;:::-;117344:41;-1:-1:-1;;;;;;117404:61:0;;117422:42;117404:61;:81;;;;;117479:6;117469:7;:16;117404:81;117400:235;;;117506:78;-1:-1:-1;;;;;117506:45:0;;117560:4;117567:16;;;117506:45;:78::i;:::-;-1:-1:-1;117613:6:0;117400:235;117651:28;117682:30;117705:6;117682:22;:30::i;:::-;117651:61;-1:-1:-1;;;;;;117997:27:0;;;117993:307;;118045:24;118072:40;118084:4;-1:-1:-1;;;;;118084:19:0;;118104:6;118084:27;;;;;;;;;;;;;-1:-1:-1;;;;;118084:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;118084:27:0;118072:7;;:11;:40::i;:::-;118045:67;;118144:16;118135:6;:25;118131:154;;;118185:4;-1:-1:-1;;;;;118185:13:0;;118199:6;118207:57;118239:24;118256:6;118239:16;:24::i;:::-;118208:25;;;;118207:31;:57::i;:::-;118185:80;;;;;;;;;;;;;-1:-1:-1;;;;;118185:80:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;118131:154;117993:307;;118316:56;118336:6;118344:27;:7;118356:14;118344:11;:27::i;118316:56::-;118387:48;-1:-1:-1;;;;;118387:28:0;;118416:10;118428:6;118387:28;:48::i;:::-;116027:2503;;;;;118468:50;118499:10;118511:6;118468:21;118482:6;118468:13;:21::i;:::-;-1:-1:-1;;;;;118468:30:0;;:50;:30;:50::i;10840:619::-;10900:4;11368:20;;11211:66;11408:23;;;;;;:42;;-1:-1:-1;;11435:15:0;;;10840:619;-1:-1:-1;;10840:619:0:o;55028:316::-;55240:96;55329:6;55240:70;55274:6;55295:4;55240:19;:70::i;:96::-;55160:11;:77;55222:6;55230:4;55182:53;;;;;;-1:-1:-1;;;55182:53:0;;;;;;-1:-1:-1;;;;;55182:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;55172:64;;;;;;55160:77;;;;;;;;;;;:176;;;;55028:316;;;:::o;36987:107::-;37031:7;37058:16;:14;:16::i;:::-;-1:-1:-1;;;;;37058:26:0;;:28;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;37058:28:0;;-1:-1:-1;36987:107:0;:::o;101806:309::-;101874:13;101900:20;101947:5;101954:6;101930:31;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;101930:31:0;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;101930:31:0;;;;;;;;;;;;;;;;-1:-1:-1;101930:31:0;;;;;;;;;;;;;;-1:-1:-1;102053:12:0;;101988:11;102049:23;102034:39;;-1:-1:-1;101930:31:0;;101806:309;-1:-1:-1;;101806:309:0:o;57062:2192::-;57155:14;57196:2;57184:9;:14;57180:2067;;;57234:9;57229:2;:14;57224:2;:20;57215:29;;57261:17;57281:32;57306:6;57281:20;57298:1;57281:8;:20::i;:::-;:24;;:32::i;:::-;57261:52;;57328:17;57348:32;57373:6;57348:20;57365:1;57348:8;:20::i;:32::-;57328:52;;57395:19;57417:34;57444:6;57417:22;57436:1;57417:10;:22::i;:34::-;57395:56;;57466:26;57495:41;57529:6;57495:29;57521:1;57495:17;:29::i;:41::-;57466:70;;57551:28;57582:43;57618:6;57582:31;57610:1;57582:19;:31::i;:43::-;57551:74;-1:-1:-1;57944:14:0;57940:709;;58258:1;58246:13;;58295:9;58282;:22;58278:356;;58341:3;58329:15;;58388:3;58367:24;;58433:9;58418:11;:24;;:70;;;;58470:18;58446:20;:42;;58418:70;58414:201;;;-1:-1:-1;58531:5:0;;-1:-1:-1;58531:5:0;58414:201;58663:55;58674:6;58663:55;;;;;;;;58683:11;58663:55;;;;58696:9;58663:55;;;;58707:9;58663:55;;;:10;:55::i;:::-;58733:71;58753:6;58733:71;;;;;;;;58762:20;58733:71;;;;58784:18;58733:71;;;:19;:71::i;:::-;57180:2067;;;;;;;;58863:2;58851:9;:14;58846:2;:20;58837:29;;58881:173;58910:6;58881:173;;;;;;;;58936:34;58963:6;58936:22;58955:1;58936:10;:22::i;:::-;:26;;:34::i;:::-;58881:173;;;;58972:32;58997:6;58972:20;58989:1;58972:8;:20::i;:32::-;58881:173;;;;59006:32;59031:6;59006:20;59023:1;59006:8;:20::i;:32::-;58881:173;;:10;:173::i;:::-;59069:166;59107:6;59069:166;;;;;;;;59133:43;59169:6;59133:31;59161:1;59133:19;:31::i;:43::-;59069:166;;;;59178:41;59212:6;59178:29;59204:1;59178:17;:29::i;:41::-;59069:166;;:19;:166::i;37286:111::-;37332:7;37359:16;:14;:16::i;:::-;-1:-1:-1;;;;;37359:28:0;;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;22173:163;22248:21;22280:48;22316:3;22248:21;22280:27;:48::i;22583:214::-;22716:30;;;-1:-1:-1;;;22716:30:0;;22740:4;22716:30;;;;;;22680:6;;22658:12;;-1:-1:-1;;;;;22716:15:0;;;;;:30;;;;;;;;;;;;;;:15;:30;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;22716:30:0;;-1:-1:-1;22757:32:0;-1:-1:-1;;;;;22757:18:0;;22776:3;22716:30;22757:18;:32::i;80155:450::-;80287:55;;;;;;;;;;;;;;;;-1:-1:-1;;;;;80287:55:0;-1:-1:-1;;;80287:55:0;;;80269:74;;;;80216:5;;;;80248:17;;-1:-1:-1;;;;;80269:17:0;;;80287:55;;80269:74;;;;80287:55;80269:74;;80287:55;80269:74;;;;;;;;;;-1:-1:-1;;80269:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80234:109;;;;80359:6;80354:201;;80417:55;;;;;;;;;;;;;;;;-1:-1:-1;;;;;80417:55:0;-1:-1:-1;;;80417:55:0;;;80399:74;;;;-1:-1:-1;;;;;80399:17:0;;;:74;;;;80417:55;80399:74;;;;;;;;;;-1:-1:-1;;80399:74:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;80382:91:0;;-1:-1:-1;80382:91:0;-1:-1:-1;80382:91:0;80488:56;;80527:1;80520:8;;;;;;80488:56;80583:4;80572:25;;;;;;;;;;;;;;;-1:-1:-1;80572:25:0;;80155:450;-1:-1:-1;;;;80155:450:0:o;26807:169::-;26912:43;;;-1:-1:-1;;;26912:43:0;;;;;;;;;;;;;-1:-1:-1;;;;;;26912:43:0;;;;;;;;;;;;;;;;;;;;26902:54;;;;;;-1:-1:-1;26890:67:0;;;;;;;;;;:78;26807:169::o;78651:444::-;78787:51;;;;;;;;;;;;;;;;-1:-1:-1;;;;;78787:51:0;-1:-1:-1;;;78787:51:0;;;78769:70;;;;78708:13;;78735:11;;78708:13;;-1:-1:-1;;;;;78769:17:0;;;78787:51;;78769:70;;;;78787:51;78769:70;;78787:51;78769:70;;;;;;;;;;-1:-1:-1;;78769:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;78734:105;;;;78855:6;78850:198;;78913:51;;;;;;;;;;;;;;;;-1:-1:-1;;;;;78913:51:0;-1:-1:-1;;;78913:51:0;;;78895:70;;;;-1:-1:-1;;;;;78895:17:0;;;:70;;;;78913:51;78895:70;;;;;;;;;;-1:-1:-1;;78895:70:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;78878:87:0;;-1:-1:-1;78878:87:0;-1:-1:-1;78878:87:0;78980:57;;79012:9;;;;;;;;;;;;;;;;;;78980:57;79065:22;79082:4;79065:16;:22::i;79436:450::-;79574:53;;;;;;;;;;;;;;;;-1:-1:-1;;;;;79574:53:0;-1:-1:-1;;;79574:53:0;;;79556:72;;;;79495:13;;79522:11;;79495:13;;-1:-1:-1;;;;;79556:17:0;;;79574:53;;79556:72;;;;79574:53;79556:72;;79574:53;79556:72;;;;;;;;;;-1:-1:-1;;79556:72:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;79521:107;;;;79644:6;79639:200;;79702:53;;;;;;;;;;;;;;;;-1:-1:-1;;;;;79702:53:0;-1:-1:-1;;;79702:53:0;;;79684:72;;;;-1:-1:-1;;;;;79684:17:0;;;:72;;;;79702:53;79684:72;;;;;;;;;-1:-1:-1;;79684:72:0;;;;;;;;;;;;59755:169;59861:44;;;-1:-1:-1;;;59861:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;59851:55;;;;;;;;;-1:-1:-1;59836:71:0;;;:14;:71;;;;;;:80;;-1:-1:-1;;;;;;59836:80:0;-1:-1:-1;;;;;59836:80:0;;;;;;;;;59755:169::o;61155:185::-;61269:48;;;-1:-1:-1;;;61269:48:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;61259:59;;;;;;;;;-1:-1:-1;61244:75:0;;;:14;:75;;;;;;:88;;-1:-1:-1;;;;;;61244:88:0;-1:-1:-1;;;;;61244:88:0;;;;;;;;;61155:185::o;60450:166::-;60553:44;;;-1:-1:-1;;;60553:44:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;60543:55;;;;;;;;;60531:11;:68;;;;;;;;;;:77;60450:166::o;13955:196::-;14058:12;14090:53;14113:6;14121:4;14127:1;14130:12;14090:22;:53::i;98228:162::-;98375:6;98228:162::o;3224:132::-;3282:7;3309:39;3313:1;3316;3309:39;;;;;;;;;;;;;;;;;:3;:39::i;2277:471::-;2335:7;2580:6;2576:47;;-1:-1:-1;2610:1:0;2603:8;;2576:47;2647:5;;;2651:1;2647;:5;:1;2671:5;;;;;:10;2663:56;;;;-1:-1:-1;;;2663:56:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;20715:192;20806:24;;-1:-1:-1;;;;;20806:16:0;;;:24;;;;;20823:6;;20806:24;;;;20823:6;20806:16;:24;;;;;;;20801:99;;20869:6;20878:9;20847:41;;;;;:::i;:::-;-1:-1:-1;;;;;20847:41:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;80865:882;80938:13;80988:2;80968:10;:17;:22;80964:776;;;81025:10;81014:32;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;81014:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;;81014:32:0;;;;;;-1:-1:-1;81014:32:0;;;;;;;;;;-1:-1:-1;81014:32:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;81007:39;;;;80964:776;81068:10;:17;81089:2;81068:23;81064:676;;;81108:12;81134:10;81123:33;;;;;;;;;;;;;;;-1:-1:-1;81123:33:0;81191:14;;;81123:33;81191:14;;;;;;;;;81123:33;;-1:-1:-1;81171:17:0;;81191:14;;;;;;;;;;;-1:-1:-1;81191:14:0;81171:34;;81259:1;81299:4;81294:2;81289:3;81285:12;81278:26;81391:158;81399:11;;81391:158;;81494:1;81490:12;;;;;81429:1;81420:11;81391:158;;;81602:16;;81609:3;-1:-1:-1;81676:10:0;;-1:-1:-1;81676:10:0;81064:676;-1:-1:-1;81719:9:0;;;;;;;;;-1:-1:-1;81719:9:0;;;;15332:979;15462:12;15495:18;15506:6;15495:10;:18::i;:::-;15487:60;;;;;-1:-1:-1;;;15487:60:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;15621:12;15635:23;15662:6;-1:-1:-1;;;;;15662:11:0;15682:8;15693:4;15662:36;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;15662:36:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;15620:78;;;;15713:7;15709:595;;;15744:10;-1:-1:-1;15737:17:0;;-1:-1:-1;15737:17:0;15709:595;15858:17;;:21;15854:439;;16121:10;16115:17;16182:15;16169:10;16165:2;16161:19;16154:44;16069:148;16257:20;;-1:-1:-1;;;16257:20:0;;;;;;;;;;;;;;;;;16264:12;;16257:20;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3852:278;3938:7;3973:12;3966:5;3958:28;;;;-1:-1:-1;;;3958:28:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3997:9;4013:1;4009;:5;;;;;;;3852:278;-1:-1:-1;;;;;3852:278:0:o;-1:-1:-1:-;;;;;;;;:::o

Swarm Source

ipfs://2fb8d637b6425e443dc6b74737b03ecbd797cbb6b192a2a6b4f8cbbf88f163d5
Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Validator ID :
0 FTM

Amount Staked
0

Amount Delegated
0

Staking Total
0

Staking Start Epoch
0

Staking Start Time
0

Proof of Importance
0

Origination Score
0

Validation Score
0

Active
0

Online
0

Downtime
0 s
Address Amount claimed Rewards Created On Epoch Created On
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.