ETH Price: $3,007.28 (+1.23%)
Gas: 6 Gwei

Contract

0xFD3CE5584166bb4A7df7781DE3dF32D831b9ad7F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60a06040201635002024-06-24 19:02:2313 days ago1719255743IN
 Create: Bridge
0 ETH0.008684425.27847251

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
Bridge

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2024-06-24
*/

// File: lib/utils/AddressUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library AddressUpgradeable {
    /**
     * @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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://consensys.net/diligence/blog/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.8.0/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");

        (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 functionCallWithValue(target, data, 0, "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");
        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

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

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResultFromTarget(target, success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// File: lib/proxy/utils/Initializable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.2;


/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Indicates that the contract has been initialized.
     * @custom:oz-retyped-from bool
     */
    uint8 private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint8 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that functions marked with `initializer` can be nested in the context of a
     * constructor.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        bool isTopLevelCall = !_initializing;
        require(
            (isTopLevelCall && _initialized < 1) || (!AddressUpgradeable.isContract(address(this)) && _initialized == 1),
            "Initializable: contract is already initialized"
        );
        _initialized = 1;
        if (isTopLevelCall) {
            _initializing = true;
        }
        _;
        if (isTopLevelCall) {
            _initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: setting the version to 255 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint8 version) {
        require(!_initializing && _initialized < version, "Initializable: contract is already initialized");
        _initialized = version;
        _initializing = true;
        _;
        _initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        require(_initializing, "Initializable: contract is not initializing");
        _;
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        require(!_initializing, "Initializable: contract is initializing");
        if (_initialized != type(uint8).max) {
            _initialized = type(uint8).max;
            emit Initialized(type(uint8).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint8) {
        return _initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _initializing;
    }
}

// File: lib/interfaces/draft-IERC1822Upgradeable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (interfaces/draft-IERC1822.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC1822: Universal Upgradeable Proxy Standard (UUPS) documents a method for upgradeability through a simplified
 * proxy whose upgrades are fully controlled by the current implementation.
 */
interface IERC1822ProxiableUpgradeable {
    /**
     * @dev Returns the storage slot that the proxiable contract assumes is being used to store the implementation
     * address.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy.
     */
    function proxiableUUID() external view returns (bytes32);
}

// File: lib/proxy/beacon/IBeaconUpgradeable.sol


// OpenZeppelin Contracts v4.4.1 (proxy/beacon/IBeacon.sol)

pragma solidity ^0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeaconUpgradeable {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

// File: lib/interfaces/IERC1967Upgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (interfaces/IERC1967.sol)

pragma solidity ^0.8.0;

/**
 * @dev ERC-1967: Proxy Storage Slots. This interface contains the events defined in the ERC.
 *
 * _Available since v4.8.3._
 */
interface IERC1967Upgradeable {
    /**
     * @dev Emitted when the implementation is upgraded.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Emitted when the admin account has changed.
     */
    event AdminChanged(address previousAdmin, address newAdmin);

    /**
     * @dev Emitted when the beacon is changed.
     */
    event BeaconUpgraded(address indexed beacon);
}

// File: lib/utils/StorageSlotUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (utils/StorageSlot.sol)
// This file was procedurally generated from scripts/generate/templates/StorageSlot.js.

pragma solidity ^0.8.0;

/**
 * @dev Library for reading and writing primitive types to specific storage slots.
 *
 * Storage slots are often used to avoid storage conflict when dealing with upgradeable contracts.
 * This library helps with reading and writing to such slots without the need for inline assembly.
 *
 * The functions in this library return Slot structs that contain a `value` member that can be used to read or write.
 *
 * Example usage to set ERC1967 implementation slot:
 * ```solidity
 * contract ERC1967 {
 *     bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;
 *
 *     function _getImplementation() internal view returns (address) {
 *         return StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value;
 *     }
 *
 *     function _setImplementation(address newImplementation) internal {
 *         require(Address.isContract(newImplementation), "ERC1967: new implementation is not a contract");
 *         StorageSlot.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
 *     }
 * }
 * ```
 *
 * _Available since v4.1 for `address`, `bool`, `bytes32`, `uint256`._
 * _Available since v4.9 for `string`, `bytes`._
 */
library StorageSlotUpgradeable {
    struct AddressSlot {
        address value;
    }

    struct BooleanSlot {
        bool value;
    }

    struct Bytes32Slot {
        bytes32 value;
    }

    struct Uint256Slot {
        uint256 value;
    }

    struct StringSlot {
        string value;
    }

    struct BytesSlot {
        bytes value;
    }

    /**
     * @dev Returns an `AddressSlot` with member `value` located at `slot`.
     */
    function getAddressSlot(bytes32 slot) internal pure returns (AddressSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BooleanSlot` with member `value` located at `slot`.
     */
    function getBooleanSlot(bytes32 slot) internal pure returns (BooleanSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Bytes32Slot` with member `value` located at `slot`.
     */
    function getBytes32Slot(bytes32 slot) internal pure returns (Bytes32Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `Uint256Slot` with member `value` located at `slot`.
     */
    function getUint256Slot(bytes32 slot) internal pure returns (Uint256Slot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` with member `value` located at `slot`.
     */
    function getStringSlot(bytes32 slot) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `StringSlot` representation of the string storage pointer `store`.
     */
    function getStringSlot(string storage store) internal pure returns (StringSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` with member `value` located at `slot`.
     */
    function getBytesSlot(bytes32 slot) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := slot
        }
    }

    /**
     * @dev Returns an `BytesSlot` representation of the bytes storage pointer `store`.
     */
    function getBytesSlot(bytes storage store) internal pure returns (BytesSlot storage r) {
        /// @solidity memory-safe-assembly
        assembly {
            r.slot := store.slot
        }
    }
}

// File: lib/proxy/ERC1967/ERC1967UpgradeUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (proxy/ERC1967/ERC1967Upgrade.sol)

pragma solidity ^0.8.2;







/**
 * @dev This abstract contract provides getters and event emitting update functions for
 * https://eips.ethereum.org/EIPS/eip-1967[EIP1967] slots.
 *
 * _Available since v4.1._
 */
abstract contract ERC1967UpgradeUpgradeable is Initializable, IERC1967Upgradeable {
    function __ERC1967Upgrade_init() internal onlyInitializing {
    }

    function __ERC1967Upgrade_init_unchained() internal onlyInitializing {
    }
    // This is the keccak-256 hash of "eip1967.proxy.rollback" subtracted by 1
    bytes32 private constant _ROLLBACK_SLOT = 0x4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd9143;

    /**
     * @dev Storage slot with the address of the current implementation.
     * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

    /**
     * @dev Returns the current implementation address.
     */
    function _getImplementation() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 implementation slot.
     */
    function _setImplementation(address newImplementation) private {
        require(AddressUpgradeable.isContract(newImplementation), "ERC1967: new implementation is not a contract");
        StorageSlotUpgradeable.getAddressSlot(_IMPLEMENTATION_SLOT).value = newImplementation;
    }

    /**
     * @dev Perform implementation upgrade
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeTo(address newImplementation) internal {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Perform implementation upgrade with additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCall(address newImplementation, bytes memory data, bool forceCall) internal {
        _upgradeTo(newImplementation);
        if (data.length > 0 || forceCall) {
            AddressUpgradeable.functionDelegateCall(newImplementation, data);
        }
    }

    /**
     * @dev Perform implementation upgrade with security checks for UUPS proxies, and additional setup call.
     *
     * Emits an {Upgraded} event.
     */
    function _upgradeToAndCallUUPS(address newImplementation, bytes memory data, bool forceCall) internal {
        // Upgrades from old implementations will perform a rollback test. This test requires the new
        // implementation to upgrade back to the old, non-ERC1822 compliant, implementation. Removing
        // this special case will break upgrade paths from old UUPS implementation to new ones.
        if (StorageSlotUpgradeable.getBooleanSlot(_ROLLBACK_SLOT).value) {
            _setImplementation(newImplementation);
        } else {
            try IERC1822ProxiableUpgradeable(newImplementation).proxiableUUID() returns (bytes32 slot) {
                require(slot == _IMPLEMENTATION_SLOT, "ERC1967Upgrade: unsupported proxiableUUID");
            } catch {
                revert("ERC1967Upgrade: new implementation is not UUPS");
            }
            _upgradeToAndCall(newImplementation, data, forceCall);
        }
    }

    /**
     * @dev Storage slot with the admin of the contract.
     * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
     * validated in the constructor.
     */
    bytes32 internal constant _ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

    /**
     * @dev Returns the current admin.
     */
    function _getAdmin() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value;
    }

    /**
     * @dev Stores a new address in the EIP1967 admin slot.
     */
    function _setAdmin(address newAdmin) private {
        require(newAdmin != address(0), "ERC1967: new admin is the zero address");
        StorageSlotUpgradeable.getAddressSlot(_ADMIN_SLOT).value = newAdmin;
    }

    /**
     * @dev Changes the admin of the proxy.
     *
     * Emits an {AdminChanged} event.
     */
    function _changeAdmin(address newAdmin) internal {
        emit AdminChanged(_getAdmin(), newAdmin);
        _setAdmin(newAdmin);
    }

    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 internal constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Returns the current beacon.
     */
    function _getBeacon() internal view returns (address) {
        return StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value;
    }

    /**
     * @dev Stores a new beacon in the EIP1967 beacon slot.
     */
    function _setBeacon(address newBeacon) private {
        require(AddressUpgradeable.isContract(newBeacon), "ERC1967: new beacon is not a contract");
        require(
            AddressUpgradeable.isContract(IBeaconUpgradeable(newBeacon).implementation()),
            "ERC1967: beacon implementation is not a contract"
        );
        StorageSlotUpgradeable.getAddressSlot(_BEACON_SLOT).value = newBeacon;
    }

    /**
     * @dev Perform beacon upgrade with additional setup call. Note: This upgrades the address of the beacon, it does
     * not upgrade the implementation contained in the beacon (see {UpgradeableBeacon-_setImplementation} for that).
     *
     * Emits a {BeaconUpgraded} event.
     */
    function _upgradeBeaconToAndCall(address newBeacon, bytes memory data, bool forceCall) internal {
        _setBeacon(newBeacon);
        emit BeaconUpgraded(newBeacon);
        if (data.length > 0 || forceCall) {
            AddressUpgradeable.functionDelegateCall(IBeaconUpgradeable(newBeacon).implementation(), data);
        }
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: lib/proxy/utils/UUPSUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (proxy/utils/UUPSUpgradeable.sol)

pragma solidity ^0.8.0;




/**
 * @dev An upgradeability mechanism designed for UUPS proxies. The functions included here can perform an upgrade of an
 * {ERC1967Proxy}, when this contract is set as the implementation behind such a proxy.
 *
 * A security mechanism ensures that an upgrade does not turn off upgradeability accidentally, although this risk is
 * reinstated if the upgrade retains upgradeability but removes the security mechanism, e.g. by replacing
 * `UUPSUpgradeable` with a custom implementation of upgrades.
 *
 * The {_authorizeUpgrade} function must be overridden to include access restriction to the upgrade mechanism.
 *
 * _Available since v4.1._
 */
abstract contract UUPSUpgradeable is Initializable, IERC1822ProxiableUpgradeable, ERC1967UpgradeUpgradeable {
    function __UUPSUpgradeable_init() internal onlyInitializing {
    }

    function __UUPSUpgradeable_init_unchained() internal onlyInitializing {
    }
    /// @custom:oz-upgrades-unsafe-allow state-variable-immutable state-variable-assignment
    address private immutable __self = address(this);

    /**
     * @dev Check that the execution is being performed through a delegatecall call and that the execution context is
     * a proxy contract with an implementation (as defined in ERC1967) pointing to self. This should only be the case
     * for UUPS and transparent proxies that are using the current contract as their implementation. Execution of a
     * function through ERC1167 minimal proxies (clones) would not normally pass this test, but is not guaranteed to
     * fail.
     */
    modifier onlyProxy() {
        require(address(this) != __self, "Function must be called through delegatecall");
        require(_getImplementation() == __self, "Function must be called through active proxy");
        _;
    }

    /**
     * @dev Check that the execution is not being performed through a delegate call. This allows a function to be
     * callable on the implementing contract but not through proxies.
     */
    modifier notDelegated() {
        require(address(this) == __self, "UUPSUpgradeable: must not be called through delegatecall");
        _;
    }

    /**
     * @dev Implementation of the ERC1822 {proxiableUUID} function. This returns the storage slot used by the
     * implementation. It is used to validate the implementation's compatibility when performing an upgrade.
     *
     * IMPORTANT: A proxy pointing at a proxiable contract should not be considered proxiable itself, because this risks
     * bricking a proxy that upgrades to it, by delegating to itself until out of gas. Thus it is critical that this
     * function revert if invoked through a proxy. This is guaranteed by the `notDelegated` modifier.
     */
    function proxiableUUID() external view virtual override notDelegated returns (bytes32) {
        return _IMPLEMENTATION_SLOT;
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeTo(address newImplementation) public virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, new bytes(0), false);
    }

    /**
     * @dev Upgrade the implementation of the proxy to `newImplementation`, and subsequently execute the function call
     * encoded in `data`.
     *
     * Calls {_authorizeUpgrade}.
     *
     * Emits an {Upgraded} event.
     *
     * @custom:oz-upgrades-unsafe-allow-reachable delegatecall
     */
    function upgradeToAndCall(address newImplementation, bytes memory data) public payable virtual onlyProxy {
        _authorizeUpgrade(newImplementation);
        _upgradeToAndCallUUPS(newImplementation, data, true);
    }

    /**
     * @dev Function that should revert when `msg.sender` is not authorized to upgrade the contract. Called by
     * {upgradeTo} and {upgradeToAndCall}.
     *
     * Normally, this function will use an xref:access.adoc[access control] modifier such as {Ownable-onlyOwner}.
     *
     * ```solidity
     * function _authorizeUpgrade(address) internal override onlyOwner {}
     * ```
     */
    function _authorizeUpgrade(address newImplementation) internal virtual;

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: lib/utils/ContextUpgradeable.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;


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

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[50] private __gap;
}

// File: lib/access/OwnableUpgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (access/Ownable.sol)

pragma solidity ^0.8.0;



/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract OwnableUpgradeable is Initializable, ContextUpgradeable {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    function __Ownable_init() internal onlyInitializing {
        __Ownable_init_unchained();
    }

    function __Ownable_init_unchained() internal onlyInitializing {
        _transferOwnership(_msgSender());
    }

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }

    /**
     * @dev This empty reserved space is put in place to allow future versions to add new
     * variables without shifting down storage in the inheritance chain.
     * See https://docs.openzeppelin.com/contracts/4.x/upgradeable#storage_gaps
     */
    uint256[49] private __gap;
}

// File: lib/token/ERC20/IERC20Upgradeable.sol


// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20Upgradeable {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

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

    /**
     * @dev 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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from, address to, uint256 amount) external returns (bool);
}

// File: Bridge.sol


pragma solidity 0.8.10;





contract Bridge is Initializable, UUPSUpgradeable, OwnableUpgradeable {

    address public constant NATIVE_TOKEN_ADDRESS = 0xEeeeeEeeeEeEeeEeEeEeeEEEeeeeEeeeeeeeEEeE;
    uint256 public nonce;
    
    address payable public hotAddr;
    mapping (string => bool) public supportChain;
    mapping(string => mapping (address => bool)) public supportToken;


    

    event DepositEvent(address indexed from, address indexed to, uint256 indexed amount, string to_blockchain, address source_coin_address, bytes32 order_id);
    event DefundEvent(address indexed from, address indexed to, uint256 indexed amount, address source_coin_address, bytes32 order_id);

    function initialize(address payable _hotAddr) public initializer {
        __Ownable_init();
        hotAddr = _hotAddr;
    }

    function _authorizeUpgrade(address newImplementation) internal override onlyOwner {}

    function setHotAddr(address payable _hotAddr) public onlyOwner {
        hotAddr = _hotAddr;
    }

    function setSupportChains(string[] memory _chainIds, bool _status) public onlyOwner {
        for (uint i = 0; i < _chainIds.length; i++) {
            supportChain[_chainIds[i]] = _status;
        }
    }

    function setSupportTokens(string memory _chainId, address[] memory _tokens, bool _status) public onlyOwner {
        require(supportChain[_chainId], "Unsupported Chain");
        for (uint i = 0; i < _tokens.length; i++) {
            supportToken[_chainId][_tokens[i]] = _status;
        }
    }

    function Deposit(address _toAddr, uint256 amount, string memory toChainId, address token) public payable {
        require(supportChain[toChainId], "Unsupported Chain");
        require(supportToken[toChainId][token], "Unsupported Token");

        if (token == NATIVE_TOKEN_ADDRESS) {
            require(msg.value == amount, "err amount");
            hotAddr.transfer(msg.value);
        } else {
            uint256 _before = IERC20Upgradeable(token).balanceOf(hotAddr);
            IERC20Upgradeable(token).transferFrom(msg.sender, hotAddr, amount);
            uint256 _after = IERC20Upgradeable(token).balanceOf(hotAddr);
            uint256 _receiveAmount = _after - _before;
            require(amount == _receiveAmount, "err amount");
        }

        bytes32 order_id = generateOrderId(msg.sender, _toAddr, amount, toChainId, token);
        nonce++;

        emit DepositEvent(msg.sender, _toAddr, amount, toChainId, token, order_id);
    }

    function Defund(address _toAddr, uint256 amount, address token) public onlyOwner {
        uint256 _before = IERC20Upgradeable(token).balanceOf(address(this));
        IERC20Upgradeable(token).transfer(_toAddr, amount);
        uint256 _after = IERC20Upgradeable(token).balanceOf(address(this));
        uint256 _receiveAmount = _before - _after;
        require(amount == _receiveAmount, "err amount");

        bytes32 defund_order_id = generateRefundOrderId(address(this), _toAddr, amount, token);
        nonce++;

        emit DefundEvent(address(this), _toAddr, amount, token, defund_order_id);
    }

    function generateOrderId(address from, address to, uint256 amount, string memory toChainId, address token) public view returns(bytes32) {
        return keccak256(abi.encodePacked(block.number, from, to, amount, nonce, block.chainid, toChainId, token));
    }

    function generateRefundOrderId(address from, address to, uint256 amount, address token) public view returns(bytes32) {
        return keccak256(abi.encodePacked(block.number, from, to, amount, nonce, block.chainid, token));
    }
}

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"beacon","type":"address"}],"name":"BeaconUpgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"address","name":"source_coin_address","type":"address"},{"indexed":false,"internalType":"bytes32","name":"order_id","type":"bytes32"}],"name":"DefundEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"string","name":"to_blockchain","type":"string"},{"indexed":false,"internalType":"address","name":"source_coin_address","type":"address"},{"indexed":false,"internalType":"bytes32","name":"order_id","type":"bytes32"}],"name":"DepositEvent","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint8","name":"version","type":"uint8"}],"name":"Initialized","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"inputs":[{"internalType":"address","name":"_toAddr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"name":"Defund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_toAddr","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"toChainId","type":"string"},{"internalType":"address","name":"token","type":"address"}],"name":"Deposit","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"NATIVE_TOKEN_ADDRESS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"string","name":"toChainId","type":"string"},{"internalType":"address","name":"token","type":"address"}],"name":"generateOrderId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"token","type":"address"}],"name":"generateRefundOrderId","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"hotAddr","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address payable","name":"_hotAddr","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxiableUUID","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_hotAddr","type":"address"}],"name":"setHotAddr","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string[]","name":"_chainIds","type":"string[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSupportChains","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_chainId","type":"string"},{"internalType":"address[]","name":"_tokens","type":"address[]"},{"internalType":"bool","name":"_status","type":"bool"}],"name":"setSupportTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"supportChain","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"},{"internalType":"address","name":"","type":"address"}],"name":"supportToken","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"}]

60a06040523060805234801561001457600080fd5b50608051611ccf61004c600039600081816105da0152818161061a015281816106ba015281816106fa015261078d0152611ccf6000f3fe6080604052600436106101145760003560e01c80638da5cb5b116100a0578063bec949f611610064578063bec949f614610320578063c4d66de814610340578063d6d3eb9c14610360578063df2ebdbb14610380578063f2fde38b146103a857600080fd5b80638da5cb5b14610271578063ab11b3281461028f578063affed0e0146102af578063b20f4445146102c5578063b7e32385146102e557600080fd5b80634f1ef286116100e75780634f1ef286146101f357806352d1902d14610206578063645b13cb146102295780636cfa753b14610249578063715018a61461025c57600080fd5b80631327f1d3146101195780631a1385c31461015657806323fccf29146101785780633659cfe6146101d3575b600080fd5b34801561012557600080fd5b5060ca54610139906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561016257600080fd5b50610176610171366004611476565b6103c8565b005b34801561018457600080fd5b506101c3610193366004611577565b815160208184018101805160cc825292820194820194909420919093529091526000908152604090205460ff1681565b604051901515815260200161014d565b3480156101df57600080fd5b506101766101ee3660046115c9565b6105cf565b6101766102013660046115e6565b6106af565b34801561021257600080fd5b5061021b610780565b60405190815260200161014d565b34801561023557600080fd5b5061021b61024436600461164a565b610833565b61017661025736600461169d565b6108a8565b34801561026857600080fd5b50610176610c16565b34801561027d57600080fd5b506097546001600160a01b0316610139565b34801561029b57600080fd5b5061021b6102aa3660046116fe565b610c2a565b3480156102bb57600080fd5b5061021b60c95481565b3480156102d157600080fd5b506101766102e03660046117c1565b610c6e565b3480156102f157600080fd5b506101c361030036600461189a565b805160208183018101805160cb8252928201919093012091525460ff1681565b34801561032c57600080fd5b5061017661033b3660046115c9565b610d62565b34801561034c57600080fd5b5061017661035b3660046115c9565b610d8c565b34801561036c57600080fd5b5061017661037b3660046118cf565b610eb8565b34801561038c57600080fd5b5061013973eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b3480156103b457600080fd5b506101766103c33660046115c9565b610f2d565b6103d0610fa3565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610417573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043b9190611992565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529192509083169063a9059cbb906044016020604051808303816000875af115801561048e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b291906119ab565b506040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190611992565b9050600061052c82846119de565b90508085146105565760405162461bcd60e51b815260040161054d906119f5565b60405180910390fd5b600061056430888888610833565b60c98054919250600061057683611a19565b9091555050604080516001600160a01b038781168252602082018490528892908a169130917fab45094a7ca77d5e3ae5ecf85b36a4b4f4c980e6023e64a01ad73018c747fca4910160405180910390a450505050505050565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106185760405162461bcd60e51b815260040161054d90611a34565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610661600080516020611c53833981519152546001600160a01b031690565b6001600160a01b0316146106875760405162461bcd60e51b815260040161054d90611a80565b61069081610ffd565b604080516000808252602082019092526106ac91839190611005565b50565b306001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001614156106f85760405162461bcd60e51b815260040161054d90611a34565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316610741600080516020611c53833981519152546001600160a01b031690565b6001600160a01b0316146107675760405162461bcd60e51b815260040161054d90611a80565b61077082610ffd565b61077c82826001611005565b5050565b6000306001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146108205760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161054d565b50600080516020611c5383398151915290565b60c95460408051436020808301919091526bffffffffffffffffffffffff19606089811b82168486015288811b821660548501526068840188905260888401959095524660a88401529385901b90931660c8820152815160bc81830301815260dc90910190915280519101205b949350505050565b60cb826040516108b89190611af8565b9081526040519081900360200190205460ff1661090b5760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b21021b430b4b760791b604482015260640161054d565b60cc8260405161091b9190611af8565b90815260408051602092819003830190206001600160a01b0384166000908152925290205460ff166109835760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b2102a37b5b2b760791b604482015260640161054d565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610a06578234146109c75760405162461bcd60e51b815260040161054d906119f5565b60ca546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610a00573d6000803e3d6000fd5b50610b99565b60ca546040516370a0823160e01b81526001600160a01b0391821660048201526000918316906370a0823190602401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190611992565b60ca546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018790529192508316906323b872dd906064016020604051808303816000875af1158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af591906119ab565b5060ca546040516370a0823160e01b81526001600160a01b0391821660048201526000918416906370a0823190602401602060405180830381865afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190611992565b90506000610b7483836119de565b9050808614610b955760405162461bcd60e51b815260040161054d906119f5565b5050505b6000610ba83386868686610c2a565b60c980549192506000610bba83611a19565b919050555083856001600160a01b0316336001600160a01b03167fe35be7b4058f97c7c3c1a74392dff1eedc84f724624d5461e183f63e36e5c135868686604051610c0793929190611b40565b60405180910390a45050505050565b610c1e610fa3565b610c286000611170565b565b60004386868660c954468888604051602001610c4d989796959493929190611b6e565b60405160208183030381529060405280519060200120905095945050505050565b610c76610fa3565b60cb83604051610c869190611af8565b9081526040519081900360200190205460ff16610cd95760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b21021b430b4b760791b604482015260640161054d565b60005b8251811015610d5c578160cc85604051610cf69190611af8565b90815260200160405180910390206000858481518110610d1857610d18611bde565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d5481611a19565b915050610cdc565b50505050565b610d6a610fa3565b60ca80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff1615808015610dac5750600054600160ff909116105b80610dc65750303b158015610dc6575060005460ff166001145b610e295760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161054d565b6000805460ff191660011790558015610e4c576000805461ff0019166101001790555b610e546111c2565b60ca80546001600160a01b0319166001600160a01b038416179055801561077c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ec0610fa3565b60005b8251811015610f28578160cb848381518110610ee157610ee1611bde565b6020026020010151604051610ef69190611af8565b908152604051908190036020019020805491151560ff1990921691909117905580610f2081611a19565b915050610ec3565b505050565b610f35610fa3565b6001600160a01b038116610f9a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161054d565b6106ac81611170565b6097546001600160a01b03163314610c285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161054d565b6106ac610fa3565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561103857610f28836111f1565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611092575060408051601f3d908101601f1916820190925261108f91810190611992565b60015b6110f55760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161054d565b600080516020611c5383398151915281146111645760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161054d565b50610f2883838361128d565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166111e95760405162461bcd60e51b815260040161054d90611bf4565b610c286112b2565b6001600160a01b0381163b61125e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161054d565b600080516020611c5383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611296836112e2565b6000825111806112a35750805b15610f2857610d5c8383611322565b600054610100900460ff166112d95760405162461bcd60e51b815260040161054d90611bf4565b610c2833611170565b6112eb816111f1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606113478383604051806060016040528060278152602001611c736027913961134e565b9392505050565b6060600080856001600160a01b03168560405161136b9190611af8565b600060405180830381855af49150503d80600081146113a6576040519150601f19603f3d011682016040523d82523d6000602084013e6113ab565b606091505b50915091506113bc868383876113c6565b9695505050505050565b6060831561143257825161142b576001600160a01b0385163b61142b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161054d565b50816108a0565b6108a083838151156114475781518083602001fd5b8060405162461bcd60e51b815260040161054d9190611c3f565b6001600160a01b03811681146106ac57600080fd5b60008060006060848603121561148b57600080fd5b833561149681611461565b92506020840135915060408401356114ad81611461565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156114f7576114f76114b8565b604052919050565b600067ffffffffffffffff831115611519576115196114b8565b61152c601f8401601f19166020016114ce565b905082815283838301111561154057600080fd5b828260208301376000602084830101529392505050565b600082601f83011261156857600080fd5b611347838335602085016114ff565b6000806040838503121561158a57600080fd5b823567ffffffffffffffff8111156115a157600080fd5b6115ad85828601611557565b92505060208301356115be81611461565b809150509250929050565b6000602082840312156115db57600080fd5b813561134781611461565b600080604083850312156115f957600080fd5b823561160481611461565b9150602083013567ffffffffffffffff81111561162057600080fd5b8301601f8101851361163157600080fd5b611640858235602084016114ff565b9150509250929050565b6000806000806080858703121561166057600080fd5b843561166b81611461565b9350602085013561167b81611461565b925060408501359150606085013561169281611461565b939692955090935050565b600080600080608085870312156116b357600080fd5b84356116be81611461565b935060208501359250604085013567ffffffffffffffff8111156116e157600080fd5b6116ed87828801611557565b925050606085013561169281611461565b600080600080600060a0868803121561171657600080fd5b853561172181611461565b9450602086013561173181611461565b935060408601359250606086013567ffffffffffffffff81111561175457600080fd5b61176088828901611557565b925050608086013561177181611461565b809150509295509295909350565b600067ffffffffffffffff821115611799576117996114b8565b5060051b60200190565b80151581146106ac57600080fd5b80356117bc816117a3565b919050565b6000806000606084860312156117d657600080fd5b833567ffffffffffffffff808211156117ee57600080fd5b6117fa87838801611557565b945060209150818601358181111561181157600080fd5b86019050601f8101871361182457600080fd5b80356118376118328261177f565b6114ce565b81815260059190911b8201830190838101908983111561185657600080fd5b928401925b8284101561187d57833561186e81611461565b8252928401929084019061185b565b8096505050505050611891604085016117b1565b90509250925092565b6000602082840312156118ac57600080fd5b813567ffffffffffffffff8111156118c357600080fd5b6108a084828501611557565b600080604083850312156118e257600080fd5b823567ffffffffffffffff808211156118fa57600080fd5b818501915085601f83011261190e57600080fd5b8135602061191e6118328361177f565b82815260059290921b8401810191818101908984111561193d57600080fd5b8286015b84811015611975578035868111156119595760008081fd5b6119678c86838b0101611557565b845250918301918301611941565b50965061198590508782016117b1565b9450505050509250929050565b6000602082840312156119a457600080fd5b5051919050565b6000602082840312156119bd57600080fd5b8151611347816117a3565b634e487b7160e01b600052601160045260246000fd5b6000828210156119f0576119f06119c8565b500390565b6020808252600a9082015269195c9c88185b5bdd5b9d60b21b604082015260600190565b6000600019821415611a2d57611a2d6119c8565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60005b83811015611ae7578181015183820152602001611acf565b83811115610d5c5750506000910152565b60008251611b0a818460208701611acc565b9190910192915050565b60008151808452611b2c816020860160208601611acc565b601f01601f19169290920160200192915050565b606081526000611b536060830186611b14565b6001600160a01b039490941660208301525060400152919050565b88815260006bffffffffffffffffffffffff19808a60601b166020840152808960601b1660348401528760488401528660688401528560888401528451611bbc8160a8860160208901611acc565b60609490941b169190920160a881019190915260bc0198975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6020815260006113476020830184611b1456fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e60d32bc101140ea14c377328a5955cbd0455531155a9ef096c70b309b5a42b464736f6c634300080a0033

Deployed Bytecode

0x6080604052600436106101145760003560e01c80638da5cb5b116100a0578063bec949f611610064578063bec949f614610320578063c4d66de814610340578063d6d3eb9c14610360578063df2ebdbb14610380578063f2fde38b146103a857600080fd5b80638da5cb5b14610271578063ab11b3281461028f578063affed0e0146102af578063b20f4445146102c5578063b7e32385146102e557600080fd5b80634f1ef286116100e75780634f1ef286146101f357806352d1902d14610206578063645b13cb146102295780636cfa753b14610249578063715018a61461025c57600080fd5b80631327f1d3146101195780631a1385c31461015657806323fccf29146101785780633659cfe6146101d3575b600080fd5b34801561012557600080fd5b5060ca54610139906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b34801561016257600080fd5b50610176610171366004611476565b6103c8565b005b34801561018457600080fd5b506101c3610193366004611577565b815160208184018101805160cc825292820194820194909420919093529091526000908152604090205460ff1681565b604051901515815260200161014d565b3480156101df57600080fd5b506101766101ee3660046115c9565b6105cf565b6101766102013660046115e6565b6106af565b34801561021257600080fd5b5061021b610780565b60405190815260200161014d565b34801561023557600080fd5b5061021b61024436600461164a565b610833565b61017661025736600461169d565b6108a8565b34801561026857600080fd5b50610176610c16565b34801561027d57600080fd5b506097546001600160a01b0316610139565b34801561029b57600080fd5b5061021b6102aa3660046116fe565b610c2a565b3480156102bb57600080fd5b5061021b60c95481565b3480156102d157600080fd5b506101766102e03660046117c1565b610c6e565b3480156102f157600080fd5b506101c361030036600461189a565b805160208183018101805160cb8252928201919093012091525460ff1681565b34801561032c57600080fd5b5061017661033b3660046115c9565b610d62565b34801561034c57600080fd5b5061017661035b3660046115c9565b610d8c565b34801561036c57600080fd5b5061017661037b3660046118cf565b610eb8565b34801561038c57600080fd5b5061013973eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee81565b3480156103b457600080fd5b506101766103c33660046115c9565b610f2d565b6103d0610fa3565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610417573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061043b9190611992565b60405163a9059cbb60e01b81526001600160a01b038681166004830152602482018690529192509083169063a9059cbb906044016020604051808303816000875af115801561048e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104b291906119ab565b506040516370a0823160e01b81523060048201526000906001600160a01b038416906370a0823190602401602060405180830381865afa1580156104fa573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061051e9190611992565b9050600061052c82846119de565b90508085146105565760405162461bcd60e51b815260040161054d906119f5565b60405180910390fd5b600061056430888888610833565b60c98054919250600061057683611a19565b9091555050604080516001600160a01b038781168252602082018490528892908a169130917fab45094a7ca77d5e3ae5ecf85b36a4b4f4c980e6023e64a01ad73018c747fca4910160405180910390a450505050505050565b306001600160a01b037f000000000000000000000000fd3ce5584166bb4a7df7781de3df32d831b9ad7f1614156106185760405162461bcd60e51b815260040161054d90611a34565b7f000000000000000000000000fd3ce5584166bb4a7df7781de3df32d831b9ad7f6001600160a01b0316610661600080516020611c53833981519152546001600160a01b031690565b6001600160a01b0316146106875760405162461bcd60e51b815260040161054d90611a80565b61069081610ffd565b604080516000808252602082019092526106ac91839190611005565b50565b306001600160a01b037f000000000000000000000000fd3ce5584166bb4a7df7781de3df32d831b9ad7f1614156106f85760405162461bcd60e51b815260040161054d90611a34565b7f000000000000000000000000fd3ce5584166bb4a7df7781de3df32d831b9ad7f6001600160a01b0316610741600080516020611c53833981519152546001600160a01b031690565b6001600160a01b0316146107675760405162461bcd60e51b815260040161054d90611a80565b61077082610ffd565b61077c82826001611005565b5050565b6000306001600160a01b037f000000000000000000000000fd3ce5584166bb4a7df7781de3df32d831b9ad7f16146108205760405162461bcd60e51b815260206004820152603860248201527f555550535570677261646561626c653a206d757374206e6f742062652063616c60448201527f6c6564207468726f7567682064656c656761746563616c6c0000000000000000606482015260840161054d565b50600080516020611c5383398151915290565b60c95460408051436020808301919091526bffffffffffffffffffffffff19606089811b82168486015288811b821660548501526068840188905260888401959095524660a88401529385901b90931660c8820152815160bc81830301815260dc90910190915280519101205b949350505050565b60cb826040516108b89190611af8565b9081526040519081900360200190205460ff1661090b5760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b21021b430b4b760791b604482015260640161054d565b60cc8260405161091b9190611af8565b90815260408051602092819003830190206001600160a01b0384166000908152925290205460ff166109835760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b2102a37b5b2b760791b604482015260640161054d565b6001600160a01b03811673eeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeeee1415610a06578234146109c75760405162461bcd60e51b815260040161054d906119f5565b60ca546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015610a00573d6000803e3d6000fd5b50610b99565b60ca546040516370a0823160e01b81526001600160a01b0391821660048201526000918316906370a0823190602401602060405180830381865afa158015610a52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a769190611992565b60ca546040516323b872dd60e01b81523360048201526001600160a01b039182166024820152604481018790529192508316906323b872dd906064016020604051808303816000875af1158015610ad1573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af591906119ab565b5060ca546040516370a0823160e01b81526001600160a01b0391821660048201526000918416906370a0823190602401602060405180830381865afa158015610b42573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b669190611992565b90506000610b7483836119de565b9050808614610b955760405162461bcd60e51b815260040161054d906119f5565b5050505b6000610ba83386868686610c2a565b60c980549192506000610bba83611a19565b919050555083856001600160a01b0316336001600160a01b03167fe35be7b4058f97c7c3c1a74392dff1eedc84f724624d5461e183f63e36e5c135868686604051610c0793929190611b40565b60405180910390a45050505050565b610c1e610fa3565b610c286000611170565b565b60004386868660c954468888604051602001610c4d989796959493929190611b6e565b60405160208183030381529060405280519060200120905095945050505050565b610c76610fa3565b60cb83604051610c869190611af8565b9081526040519081900360200190205460ff16610cd95760405162461bcd60e51b81526020600482015260116024820152702ab739bab83837b93a32b21021b430b4b760791b604482015260640161054d565b60005b8251811015610d5c578160cc85604051610cf69190611af8565b90815260200160405180910390206000858481518110610d1857610d18611bde565b6020908102919091018101516001600160a01b03168252810191909152604001600020805460ff191691151591909117905580610d5481611a19565b915050610cdc565b50505050565b610d6a610fa3565b60ca80546001600160a01b0319166001600160a01b0392909216919091179055565b600054610100900460ff1615808015610dac5750600054600160ff909116105b80610dc65750303b158015610dc6575060005460ff166001145b610e295760405162461bcd60e51b815260206004820152602e60248201527f496e697469616c697a61626c653a20636f6e747261637420697320616c72656160448201526d191e481a5b9a5d1a585b1a5e995960921b606482015260840161054d565b6000805460ff191660011790558015610e4c576000805461ff0019166101001790555b610e546111c2565b60ca80546001600160a01b0319166001600160a01b038416179055801561077c576000805461ff0019169055604051600181527f7f26b83ff96e1f2b6a682f133852f6798a09c465da95921460cefb38474024989060200160405180910390a15050565b610ec0610fa3565b60005b8251811015610f28578160cb848381518110610ee157610ee1611bde565b6020026020010151604051610ef69190611af8565b908152604051908190036020019020805491151560ff1990921691909117905580610f2081611a19565b915050610ec3565b505050565b610f35610fa3565b6001600160a01b038116610f9a5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840161054d565b6106ac81611170565b6097546001600160a01b03163314610c285760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604482015260640161054d565b6106ac610fa3565b7f4910fdfa16fed3260ed0e7147f7cc6da11a60208b5b9406d12a635614ffd91435460ff161561103857610f28836111f1565b826001600160a01b03166352d1902d6040518163ffffffff1660e01b8152600401602060405180830381865afa925050508015611092575060408051601f3d908101601f1916820190925261108f91810190611992565b60015b6110f55760405162461bcd60e51b815260206004820152602e60248201527f45524331393637557067726164653a206e657720696d706c656d656e7461746960448201526d6f6e206973206e6f74205555505360901b606482015260840161054d565b600080516020611c5383398151915281146111645760405162461bcd60e51b815260206004820152602960248201527f45524331393637557067726164653a20756e737570706f727465642070726f786044820152681a58589b195555525160ba1b606482015260840161054d565b50610f2883838361128d565b609780546001600160a01b038381166001600160a01b0319831681179093556040519116919082907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e090600090a35050565b600054610100900460ff166111e95760405162461bcd60e51b815260040161054d90611bf4565b610c286112b2565b6001600160a01b0381163b61125e5760405162461bcd60e51b815260206004820152602d60248201527f455243313936373a206e657720696d706c656d656e746174696f6e206973206e60448201526c1bdd08184818dbdb9d1c9858dd609a1b606482015260840161054d565b600080516020611c5383398151915280546001600160a01b0319166001600160a01b0392909216919091179055565b611296836112e2565b6000825111806112a35750805b15610f2857610d5c8383611322565b600054610100900460ff166112d95760405162461bcd60e51b815260040161054d90611bf4565b610c2833611170565b6112eb816111f1565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b60606113478383604051806060016040528060278152602001611c736027913961134e565b9392505050565b6060600080856001600160a01b03168560405161136b9190611af8565b600060405180830381855af49150503d80600081146113a6576040519150601f19603f3d011682016040523d82523d6000602084013e6113ab565b606091505b50915091506113bc868383876113c6565b9695505050505050565b6060831561143257825161142b576001600160a01b0385163b61142b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e7472616374000000604482015260640161054d565b50816108a0565b6108a083838151156114475781518083602001fd5b8060405162461bcd60e51b815260040161054d9190611c3f565b6001600160a01b03811681146106ac57600080fd5b60008060006060848603121561148b57600080fd5b833561149681611461565b92506020840135915060408401356114ad81611461565b809150509250925092565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156114f7576114f76114b8565b604052919050565b600067ffffffffffffffff831115611519576115196114b8565b61152c601f8401601f19166020016114ce565b905082815283838301111561154057600080fd5b828260208301376000602084830101529392505050565b600082601f83011261156857600080fd5b611347838335602085016114ff565b6000806040838503121561158a57600080fd5b823567ffffffffffffffff8111156115a157600080fd5b6115ad85828601611557565b92505060208301356115be81611461565b809150509250929050565b6000602082840312156115db57600080fd5b813561134781611461565b600080604083850312156115f957600080fd5b823561160481611461565b9150602083013567ffffffffffffffff81111561162057600080fd5b8301601f8101851361163157600080fd5b611640858235602084016114ff565b9150509250929050565b6000806000806080858703121561166057600080fd5b843561166b81611461565b9350602085013561167b81611461565b925060408501359150606085013561169281611461565b939692955090935050565b600080600080608085870312156116b357600080fd5b84356116be81611461565b935060208501359250604085013567ffffffffffffffff8111156116e157600080fd5b6116ed87828801611557565b925050606085013561169281611461565b600080600080600060a0868803121561171657600080fd5b853561172181611461565b9450602086013561173181611461565b935060408601359250606086013567ffffffffffffffff81111561175457600080fd5b61176088828901611557565b925050608086013561177181611461565b809150509295509295909350565b600067ffffffffffffffff821115611799576117996114b8565b5060051b60200190565b80151581146106ac57600080fd5b80356117bc816117a3565b919050565b6000806000606084860312156117d657600080fd5b833567ffffffffffffffff808211156117ee57600080fd5b6117fa87838801611557565b945060209150818601358181111561181157600080fd5b86019050601f8101871361182457600080fd5b80356118376118328261177f565b6114ce565b81815260059190911b8201830190838101908983111561185657600080fd5b928401925b8284101561187d57833561186e81611461565b8252928401929084019061185b565b8096505050505050611891604085016117b1565b90509250925092565b6000602082840312156118ac57600080fd5b813567ffffffffffffffff8111156118c357600080fd5b6108a084828501611557565b600080604083850312156118e257600080fd5b823567ffffffffffffffff808211156118fa57600080fd5b818501915085601f83011261190e57600080fd5b8135602061191e6118328361177f565b82815260059290921b8401810191818101908984111561193d57600080fd5b8286015b84811015611975578035868111156119595760008081fd5b6119678c86838b0101611557565b845250918301918301611941565b50965061198590508782016117b1565b9450505050509250929050565b6000602082840312156119a457600080fd5b5051919050565b6000602082840312156119bd57600080fd5b8151611347816117a3565b634e487b7160e01b600052601160045260246000fd5b6000828210156119f0576119f06119c8565b500390565b6020808252600a9082015269195c9c88185b5bdd5b9d60b21b604082015260600190565b6000600019821415611a2d57611a2d6119c8565b5060010190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b19195b1959d85d1958d85b1b60a21b606082015260800190565b6020808252602c908201527f46756e6374696f6e206d7573742062652063616c6c6564207468726f7567682060408201526b6163746976652070726f787960a01b606082015260800190565b60005b83811015611ae7578181015183820152602001611acf565b83811115610d5c5750506000910152565b60008251611b0a818460208701611acc565b9190910192915050565b60008151808452611b2c816020860160208601611acc565b601f01601f19169290920160200192915050565b606081526000611b536060830186611b14565b6001600160a01b039490941660208301525060400152919050565b88815260006bffffffffffffffffffffffff19808a60601b166020840152808960601b1660348401528760488401528660688401528560888401528451611bbc8160a8860160208901611acc565b60609490941b169190920160a881019190915260bc0198975050505050505050565b634e487b7160e01b600052603260045260246000fd5b6020808252602b908201527f496e697469616c697a61626c653a20636f6e7472616374206973206e6f74206960408201526a6e697469616c697a696e6760a81b606082015260800190565b6020815260006113476020830184611b1456fe360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc416464726573733a206c6f772d6c6576656c2064656c65676174652063616c6c206661696c6564a2646970667358221220e60d32bc101140ea14c377328a5955cbd0455531155a9ef096c70b309b5a42b464736f6c634300080a0033

Deployed Bytecode Sourcemap

41882:3650:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42090:30;;;;;;;;;;-1:-1:-1;42090:30:0;;;;-1:-1:-1;;;;;42090:30:0;;;;;;-1:-1:-1;;;;;194:32:1;;;176:51;;164:2;149:18;42090:30:0;;;;;;;;44404:617;;;;;;;;;;-1:-1:-1;44404:617:0;;;;;:::i;:::-;;:::i;:::-;;42178:64;;;;;;;;;;-1:-1:-1;42178:64:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;42178:64:0;;;;;;;;;;;;;;2513:14:1;;2506:22;2488:41;;2476:2;2461:18;42178:64:0;2348:187:1;32897:198:0;;;;;;;;;;-1:-1:-1;32897:198:0;;;;;:::i;:::-;;:::i;33426:223::-;;;;;;:::i;:::-;;:::i;32503:133::-;;;;;;;;;;;;;:::i;:::-;;;3528:25:1;;;3516:2;3501:18;32503:133:0;3382:177:1;45298:231:0;;;;;;;;;;-1:-1:-1;45298:231:0;;;;;:::i;:::-;;:::i;43423:973::-;;;;;;:::i;:::-;;:::i;37860:103::-;;;;;;;;;;;;;:::i;37219:87::-;;;;;;;;;;-1:-1:-1;37292:6:0;;-1:-1:-1;;;;;37292:6:0;37219:87;;45029:261;;;;;;;;;;-1:-1:-1;45029:261:0;;;;;:::i;:::-;;:::i;42057:20::-;;;;;;;;;;;;;;;;43114:301;;;;;;;;;;-1:-1:-1;43114:301:0;;;;;:::i;:::-;;:::i;42127:44::-;;;;;;;;;;-1:-1:-1;42127:44:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;42789:100;;;;;;;;;;-1:-1:-1;42789:100:0;;;;;:::i;:::-;;:::i;42560:129::-;;;;;;;;;;-1:-1:-1;42560:129:0;;;;;:::i;:::-;;:::i;42897:209::-;;;;;;;;;;-1:-1:-1;42897:209:0;;;;;:::i;:::-;;:::i;41961:89::-;;;;;;;;;;;;42008:42;41961:89;;38118:201;;;;;;;;;;-1:-1:-1;38118:201:0;;;;;:::i;:::-;;:::i;44404:617::-;37105:13;:11;:13::i;:::-;44514:49:::1;::::0;-1:-1:-1;;;44514:49:0;;44557:4:::1;44514:49;::::0;::::1;176:51:1::0;44496:15:0::1;::::0;-1:-1:-1;;;;;44514:34:0;::::1;::::0;::::1;::::0;149:18:1;;44514:49:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44574:50;::::0;-1:-1:-1;;;44574:50:0;;-1:-1:-1;;;;;9923:32:1;;;44574:50:0::1;::::0;::::1;9905:51:1::0;9972:18;;;9965:34;;;44496:67:0;;-1:-1:-1;44574:33:0;;::::1;::::0;::::1;::::0;9878:18:1;;44574:50:0::1;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1::0;44652:49:0::1;::::0;-1:-1:-1;;;44652:49:0;;44695:4:::1;44652:49;::::0;::::1;176:51:1::0;44635:14:0::1;::::0;-1:-1:-1;;;;;44652:34:0;::::1;::::0;::::1;::::0;149:18:1;;44652:49:0::1;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44635:66:::0;-1:-1:-1;44712:22:0::1;44737:16;44635:66:::0;44737:7;:16:::1;:::i;:::-;44712:41;;44782:14;44772:6;:24;44764:47;;;;-1:-1:-1::0;;;44764:47:0::1;;;;;;;:::i;:::-;;;;;;;;;44824:23;44850:60;44880:4;44887:7;44896:6;44904:5;44850:21;:60::i;:::-;44921:5;:7:::0;;44824:86;;-1:-1:-1;44921:5:0::1;:7;::::0;::::1;:::i;:::-;::::0;;;-1:-1:-1;;44946:67:0::1;::::0;;-1:-1:-1;;;;;9923:32:1;;;9905:51;;9987:2;9972:18;;9965:34;;;44982:6:0;;44946:67;;::::1;::::0;44966:4:::1;::::0;44946:67:::1;::::0;9878:18:1;44946:67:0::1;;;;;;;44485:536;;;;44404:617:::0;;;:::o;32897:198::-;31364:4;-1:-1:-1;;;;;31373:6:0;31356:23;;;31348:80;;;;-1:-1:-1;;;31348:80:0;;;;;;;:::i;:::-;31471:6;-1:-1:-1;;;;;31447:30:0;:20;-1:-1:-1;;;;;;;;;;;24177:65:0;-1:-1:-1;;;;;24177:65:0;;24097:153;31447:20;-1:-1:-1;;;;;31447:30:0;;31439:87;;;;-1:-1:-1;;;31439:87:0;;;;;;;:::i;:::-;32979:36:::1;32997:17;32979;:36::i;:::-;33067:12;::::0;;33077:1:::1;33067:12:::0;;;::::1;::::0;::::1;::::0;;;33026:61:::1;::::0;33048:17;;33067:12;33026:21:::1;:61::i;:::-;32897:198:::0;:::o;33426:223::-;31364:4;-1:-1:-1;;;;;31373:6:0;31356:23;;;31348:80;;;;-1:-1:-1;;;31348:80:0;;;;;;;:::i;:::-;31471:6;-1:-1:-1;;;;;31447:30:0;:20;-1:-1:-1;;;;;;;;;;;24177:65:0;-1:-1:-1;;;;;24177:65:0;;24097:153;31447:20;-1:-1:-1;;;;;31447:30:0;;31439:87;;;;-1:-1:-1;;;31439:87:0;;;;;;;:::i;:::-;33542:36:::1;33560:17;33542;:36::i;:::-;33589:52;33611:17;33630:4;33636;33589:21;:52::i;:::-;33426:223:::0;;:::o;32503:133::-;32581:7;31809:4;-1:-1:-1;;;;;31818:6:0;31801:23;;31793:92;;;;-1:-1:-1;;;31793:92:0;;12308:2:1;31793:92:0;;;12290:21:1;12347:2;12327:18;;;12320:30;12386:34;12366:18;;;12359:62;12457:26;12437:18;;;12430:54;12501:19;;31793:92:0;12106:420:1;31793:92:0;-1:-1:-1;;;;;;;;;;;;32503:133:0;:::o;45298:231::-;45492:5;;45443:77;;;45460:12;45443:77;;;;12828:19:1;;;;-1:-1:-1;;12935:2:1;12931:15;;;12927:24;;12913:12;;;12906:46;12986:15;;;12982:24;;12968:12;;;12961:46;13023:12;;;13016:28;;;13060:13;;;13053:29;;;;45499:13:0;13098::1;;;13091:29;13155:15;;;;13151:24;;;13136:13;;;13129:47;45443:77:0;;;;;;;;;13192:13:1;;;;45443:77:0;;;45433:88;;;;;45298:231;;;;;;;:::o;43423:973::-;43547:12;43560:9;43547:23;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;43539:53;;;;-1:-1:-1;;;43539:53:0;;13962:2:1;43539:53:0;;;13944:21:1;14001:2;13981:18;;;13974:30;-1:-1:-1;;;14020:18:1;;;14013:47;14077:18;;43539:53:0;13760:341:1;43539:53:0;43611:12;43624:9;43611:23;;;;;;:::i;:::-;;;;;;;;;;;;;;;;-1:-1:-1;;;;;43611:30:0;;;;;;;;;;;;;43603:60;;;;-1:-1:-1;;;43603:60:0;;14308:2:1;43603:60:0;;;14290:21:1;14347:2;14327:18;;;14320:30;-1:-1:-1;;;14366:18:1;;;14359:47;14423:18;;43603:60:0;14106:341:1;43603:60:0;-1:-1:-1;;;;;43680:29:0;;42008:42;43680:29;43676:514;;;43747:6;43734:9;:19;43726:42;;;;-1:-1:-1;;;43726:42:0;;;;;;;:::i;:::-;43783:7;;:27;;-1:-1:-1;;;;;43783:7:0;;;;43800:9;43783:27;;;;;:7;:27;:7;:27;43800:9;43783:7;:27;;;;;;;;;;;;;;;;;;;;;43676:514;;;43896:7;;43861:43;;-1:-1:-1;;;43861:43:0;;-1:-1:-1;;;;;43896:7:0;;;43861:43;;;176:51:1;43843:15:0;;43861:34;;;;;149:18:1;;43861:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;43969:7;;43919:66;;-1:-1:-1;;;43919:66:0;;43957:10;43919:66;;;14916:34:1;-1:-1:-1;;;;;43969:7:0;;;14966:18:1;;;14959:43;15018:18;;;15011:34;;;43843:61:0;;-1:-1:-1;43919:37:0;;;;;14851:18:1;;43919:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;44052:7:0;;44017:43;;-1:-1:-1;;;44017:43:0;;-1:-1:-1;;;;;44052:7:0;;;44017:43;;;176:51:1;44000:14:0;;44017:34;;;;;149:18:1;;44017:43:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;44000:60;-1:-1:-1;44075:22:0;44100:16;44109:7;44000:60;44100:16;:::i;:::-;44075:41;;44149:14;44139:6;:24;44131:47;;;;-1:-1:-1;;;44131:47:0;;;;;;;:::i;:::-;43828:362;;;43676:514;44202:16;44221:62;44237:10;44249:7;44258:6;44266:9;44277:5;44221:15;:62::i;:::-;44294:5;:7;;44202:81;;-1:-1:-1;44294:5:0;:7;;;:::i;:::-;;;;;;44353:6;44344:7;-1:-1:-1;;;;;44319:69:0;44332:10;-1:-1:-1;;;;;44319:69:0;;44361:9;44372:5;44379:8;44319:69;;;;;;;;:::i;:::-;;;;;;;;43528:868;43423:973;;;;:::o;37860:103::-;37105:13;:11;:13::i;:::-;37925:30:::1;37952:1;37925:18;:30::i;:::-;37860:103::o:0;45029:261::-;45156:7;45210:12;45224:4;45230:2;45234:6;45242:5;;45249:13;45264:9;45275:5;45193:88;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;45183:99;;;;;;45176:106;;45029:261;;;;;;;:::o;43114:301::-;37105:13;:11;:13::i;:::-;43240:12:::1;43253:8;43240:22;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;;::::1;;43232:52;;;::::0;-1:-1:-1;;;43232:52:0;;13962:2:1;43232:52:0::1;::::0;::::1;13944:21:1::0;14001:2;13981:18;;;13974:30;-1:-1:-1;;;14020:18:1;;;14013:47;14077:18;;43232:52:0::1;13760:341:1::0;43232:52:0::1;43300:6;43295:113;43316:7;:14;43312:1;:18;43295:113;;;43389:7;43352:12;43365:8;43352:22;;;;;;:::i;:::-;;;;;;;;;;;;;:34;43375:7;43383:1;43375:10;;;;;;;;:::i;:::-;;::::0;;::::1;::::0;;;;;;;-1:-1:-1;;;;;43352:34:0::1;::::0;;;::::1;::::0;;;;;;-1:-1:-1;43352:34:0;:44;;-1:-1:-1;;43352:44:0::1;::::0;::::1;;::::0;;;::::1;::::0;;43332:3;::::1;::::0;::::1;:::i;:::-;;;;43295:113;;;;43114:301:::0;;;:::o;42789:100::-;37105:13;:11;:13::i;:::-;42863:7:::1;:18:::0;;-1:-1:-1;;;;;;42863:18:0::1;-1:-1:-1::0;;;;;42863:18:0;;;::::1;::::0;;;::::1;::::0;;42789:100::o;42560:129::-;12967:19;12990:13;;;;;;12989:14;;13037:34;;;;-1:-1:-1;13055:12:0;;13070:1;13055:12;;;;:16;13037:34;13036:108;;;-1:-1:-1;13116:4:0;1771:19;:23;;;13077:66;;-1:-1:-1;13126:12:0;;;;;:17;13077:66;13014:204;;;;-1:-1:-1;;;13014:204:0;;16918:2:1;13014:204:0;;;16900:21:1;16957:2;16937:18;;;16930:30;16996:34;16976:18;;;16969:62;-1:-1:-1;;;17047:18:1;;;17040:44;17101:19;;13014:204:0;16716:410:1;13014:204:0;13229:12;:16;;-1:-1:-1;;13229:16:0;13244:1;13229:16;;;13256:67;;;;13291:13;:20;;-1:-1:-1;;13291:20:0;;;;;13256:67;42636:16:::1;:14;:16::i;:::-;42663:7;:18:::0;;-1:-1:-1;;;;;;42663:18:0::1;-1:-1:-1::0;;;;;42663:18:0;::::1;;::::0;;13345:102;;;;13396:5;13380:21;;-1:-1:-1;;13380:21:0;;;13421:14;;-1:-1:-1;17283:36:1;;13421:14:0;;17271:2:1;17256:18;13421:14:0;;;;;;;12956:498;42560:129;:::o;42897:209::-;37105:13;:11;:13::i;:::-;42997:6:::1;42992:107;43013:9;:16;43009:1;:20;42992:107;;;43080:7;43051:12;43064:9;43074:1;43064:12;;;;;;;;:::i;:::-;;;;;;;43051:26;;;;;;:::i;:::-;::::0;;;::::1;::::0;;;;;::::1;::::0;;;:36;;;::::1;;-1:-1:-1::0;;43051:36:0;;::::1;::::0;;;::::1;::::0;;43031:3;::::1;::::0;::::1;:::i;:::-;;;;42992:107;;;;42897:209:::0;;:::o;38118:201::-;37105:13;:11;:13::i;:::-;-1:-1:-1;;;;;38207:22:0;::::1;38199:73;;;::::0;-1:-1:-1;;;38199:73:0;;17532:2:1;38199:73:0::1;::::0;::::1;17514:21:1::0;17571:2;17551:18;;;17544:30;17610:34;17590:18;;;17583:62;-1:-1:-1;;;17661:18:1;;;17654:36;17707:19;;38199:73:0::1;17330:402:1::0;38199:73:0::1;38283:28;38302:8;38283:18;:28::i;37384:132::-:0;37292:6;;-1:-1:-1;;;;;37292:6:0;35369:10;37448:23;37440:68;;;;-1:-1:-1;;;37440:68:0;;17939:2:1;37440:68:0;;;17921:21:1;;;17958:18;;;17951:30;18017:34;17997:18;;;17990:62;18069:18;;37440:68:0;17737:356:1;42697:84:0;37105:13;:11;:13::i;25499:958::-;23599:66;25919:59;;;25915:535;;;25995:37;26014:17;25995:18;:37::i;25915:535::-;26098:17;-1:-1:-1;;;;;26069:61:0;;:63;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;26069:63:0;;;;;;;;-1:-1:-1;;26069:63:0;;;;;;;;;;;;:::i;:::-;;;26065:306;;26299:56;;-1:-1:-1;;;26299:56:0;;18489:2:1;26299:56:0;;;18471:21:1;18528:2;18508:18;;;18501:30;18567:34;18547:18;;;18540:62;-1:-1:-1;;;18618:18:1;;;18611:44;18672:19;;26299:56:0;18287:410:1;26065:306:0;-1:-1:-1;;;;;;;;;;;26183:28:0;;26175:82;;;;-1:-1:-1;;;26175:82:0;;18904:2:1;26175:82:0;;;18886:21:1;18943:2;18923:18;;;18916:30;18982:34;18962:18;;;18955:62;-1:-1:-1;;;19033:18:1;;;19026:39;19082:19;;26175:82:0;18702:405:1;26175:82:0;26133:140;26385:53;26403:17;26422:4;26428:9;26385:17;:53::i;38479:191::-;38572:6;;;-1:-1:-1;;;;;38589:17:0;;;-1:-1:-1;;;;;;38589:17:0;;;;;;;38622:40;;38572:6;;;38589:17;38572:6;;38622:40;;38553:16;;38622:40;38542:128;38479:191;:::o;36762:97::-;15110:13;;;;;;;15102:69;;;;-1:-1:-1;;;15102:69:0;;;;;;;:::i;:::-;36825:26:::1;:24;:26::i;24346:284::-:0;-1:-1:-1;;;;;1771:19:0;;;24420:106;;;;-1:-1:-1;;;24420:106:0;;19726:2:1;24420:106:0;;;19708:21:1;19765:2;19745:18;;;19738:30;19804:34;19784:18;;;19777:62;-1:-1:-1;;;19855:18:1;;;19848:43;19908:19;;24420:106:0;19524:409:1;24420:106:0;-1:-1:-1;;;;;;;;;;;24537:85:0;;-1:-1:-1;;;;;;24537:85:0;-1:-1:-1;;;;;24537:85:0;;;;;;;;;;24346:284::o;25039:281::-;25148:29;25159:17;25148:10;:29::i;:::-;25206:1;25192:4;:11;:15;:28;;;;25211:9;25192:28;25188:125;;;25237:64;25277:17;25296:4;25237:39;:64::i;36867:113::-;15110:13;;;;;;;15102:69;;;;-1:-1:-1;;;15102:69:0;;;;;;;:::i;:::-;36940:32:::1;35369:10:::0;36940:18:::1;:32::i;24743:155::-:0;24810:37;24829:17;24810:18;:37::i;:::-;24863:27;;-1:-1:-1;;;;;24863:27:0;;;;;;;;24743:155;:::o;6868:200::-;6951:12;6983:77;7004:6;7012:4;6983:77;;;;;;;;;;;;;;;;;:20;:77::i;:::-;6976:84;6868:200;-1:-1:-1;;;6868:200:0:o;7262:332::-;7407:12;7433;7447:23;7474:6;-1:-1:-1;;;;;7474:19:0;7494:4;7474:25;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;7432:67;;;;7517:69;7544:6;7552:7;7561:10;7573:12;7517:26;:69::i;:::-;7510:76;7262:332;-1:-1:-1;;;;;;7262:332:0:o;7890:644::-;8075:12;8104:7;8100:427;;;8132:17;;8128:290;;-1:-1:-1;;;;;1771:19:0;;;8342:60;;;;-1:-1:-1;;;8342:60:0;;20419:2:1;8342:60:0;;;20401:21:1;20458:2;20438:18;;;20431:30;20497:31;20477:18;;;20470:59;20546:18;;8342:60:0;20217:353:1;8342:60:0;-1:-1:-1;8439:10:0;8432:17;;8100:427;8482:33;8490:10;8502:12;9237:17;;:21;9233:388;;9469:10;9463:17;9526:15;9513:10;9509:2;9505:19;9498:44;9233:388;9596:12;9589:20;;-1:-1:-1;;;9589:20:0;;;;;;;;:::i;238:131:1:-;-1:-1:-1;;;;;313:31:1;;303:42;;293:70;;359:1;356;349:12;374:456;451:6;459;467;520:2;508:9;499:7;495:23;491:32;488:52;;;536:1;533;526:12;488:52;575:9;562:23;594:31;619:5;594:31;:::i;:::-;644:5;-1:-1:-1;696:2:1;681:18;;668:32;;-1:-1:-1;752:2:1;737:18;;724:32;765:33;724:32;765:33;:::i;:::-;817:7;807:17;;;374:456;;;;;:::o;835:127::-;896:10;891:3;887:20;884:1;877:31;927:4;924:1;917:15;951:4;948:1;941:15;967:275;1038:2;1032:9;1103:2;1084:13;;-1:-1:-1;;1080:27:1;1068:40;;1138:18;1123:34;;1159:22;;;1120:62;1117:88;;;1185:18;;:::i;:::-;1221:2;1214:22;967:275;;-1:-1:-1;967:275:1:o;1247:407::-;1312:5;1346:18;1338:6;1335:30;1332:56;;;1368:18;;:::i;:::-;1406:57;1451:2;1430:15;;-1:-1:-1;;1426:29:1;1457:4;1422:40;1406:57;:::i;:::-;1397:66;;1486:6;1479:5;1472:21;1526:3;1517:6;1512:3;1508:16;1505:25;1502:45;;;1543:1;1540;1533:12;1502:45;1592:6;1587:3;1580:4;1573:5;1569:16;1556:43;1646:1;1639:4;1630:6;1623:5;1619:18;1615:29;1608:40;1247:407;;;;;:::o;1659:222::-;1702:5;1755:3;1748:4;1740:6;1736:17;1732:27;1722:55;;1773:1;1770;1763:12;1722:55;1795:80;1871:3;1862:6;1849:20;1842:4;1834:6;1830:17;1795:80;:::i;1886:457::-;1964:6;1972;2025:2;2013:9;2004:7;2000:23;1996:32;1993:52;;;2041:1;2038;2031:12;1993:52;2081:9;2068:23;2114:18;2106:6;2103:30;2100:50;;;2146:1;2143;2136:12;2100:50;2169;2211:7;2202:6;2191:9;2187:22;2169:50;:::i;:::-;2159:60;;;2269:2;2258:9;2254:18;2241:32;2282:31;2307:5;2282:31;:::i;:::-;2332:5;2322:15;;;1886:457;;;;;:::o;2540:247::-;2599:6;2652:2;2640:9;2631:7;2627:23;2623:32;2620:52;;;2668:1;2665;2658:12;2620:52;2707:9;2694:23;2726:31;2751:5;2726:31;:::i;2792:585::-;2869:6;2877;2930:2;2918:9;2909:7;2905:23;2901:32;2898:52;;;2946:1;2943;2936:12;2898:52;2985:9;2972:23;3004:31;3029:5;3004:31;:::i;:::-;3054:5;-1:-1:-1;3110:2:1;3095:18;;3082:32;3137:18;3126:30;;3123:50;;;3169:1;3166;3159:12;3123:50;3192:22;;3245:4;3237:13;;3233:27;-1:-1:-1;3223:55:1;;3274:1;3271;3264:12;3223:55;3297:74;3363:7;3358:2;3345:16;3340:2;3336;3332:11;3297:74;:::i;:::-;3287:84;;;2792:585;;;;;:::o;3564:598::-;3650:6;3658;3666;3674;3727:3;3715:9;3706:7;3702:23;3698:33;3695:53;;;3744:1;3741;3734:12;3695:53;3783:9;3770:23;3802:31;3827:5;3802:31;:::i;:::-;3852:5;-1:-1:-1;3909:2:1;3894:18;;3881:32;3922:33;3881:32;3922:33;:::i;:::-;3974:7;-1:-1:-1;4028:2:1;4013:18;;4000:32;;-1:-1:-1;4084:2:1;4069:18;;4056:32;4097:33;4056:32;4097:33;:::i;:::-;3564:598;;;;-1:-1:-1;3564:598:1;;-1:-1:-1;;3564:598:1:o;4167:667::-;4263:6;4271;4279;4287;4340:3;4328:9;4319:7;4315:23;4311:33;4308:53;;;4357:1;4354;4347:12;4308:53;4396:9;4383:23;4415:31;4440:5;4415:31;:::i;:::-;4465:5;-1:-1:-1;4517:2:1;4502:18;;4489:32;;-1:-1:-1;4572:2:1;4557:18;;4544:32;4599:18;4588:30;;4585:50;;;4631:1;4628;4621:12;4585:50;4654;4696:7;4687:6;4676:9;4672:22;4654:50;:::i;:::-;4644:60;;;4756:2;4745:9;4741:18;4728:32;4769:33;4794:7;4769:33;:::i;5047:809::-;5152:6;5160;5168;5176;5184;5237:3;5225:9;5216:7;5212:23;5208:33;5205:53;;;5254:1;5251;5244:12;5205:53;5293:9;5280:23;5312:31;5337:5;5312:31;:::i;:::-;5362:5;-1:-1:-1;5419:2:1;5404:18;;5391:32;5432:33;5391:32;5432:33;:::i;:::-;5484:7;-1:-1:-1;5538:2:1;5523:18;;5510:32;;-1:-1:-1;5593:2:1;5578:18;;5565:32;5620:18;5609:30;;5606:50;;;5652:1;5649;5642:12;5606:50;5675;5717:7;5708:6;5697:9;5693:22;5675:50;:::i;:::-;5665:60;;;5777:3;5766:9;5762:19;5749:33;5791;5816:7;5791:33;:::i;:::-;5843:7;5833:17;;;5047:809;;;;;;;;:::o;6043:183::-;6103:4;6136:18;6128:6;6125:30;6122:56;;;6158:18;;:::i;:::-;-1:-1:-1;6203:1:1;6199:14;6215:4;6195:25;;6043:183::o;6231:118::-;6317:5;6310:13;6303:21;6296:5;6293:32;6283:60;;6339:1;6336;6329:12;6354:128;6419:20;;6448:28;6419:20;6448:28;:::i;:::-;6354:128;;;:::o;6487:1255::-;6596:6;6604;6612;6665:2;6653:9;6644:7;6640:23;6636:32;6633:52;;;6681:1;6678;6671:12;6633:52;6721:9;6708:23;6750:18;6791:2;6783:6;6780:14;6777:34;;;6807:1;6804;6797:12;6777:34;6830:50;6872:7;6863:6;6852:9;6848:22;6830:50;:::i;:::-;6820:60;;6899:2;6889:12;;6954:2;6943:9;6939:18;6926:32;6983:2;6973:8;6970:16;6967:36;;;6999:1;6996;6989:12;6967:36;7022:24;;;-1:-1:-1;7077:4:1;7069:13;;7065:27;-1:-1:-1;7055:55:1;;7106:1;7103;7096:12;7055:55;7142:2;7129:16;7165:60;7181:43;7221:2;7181:43;:::i;:::-;7165:60;:::i;:::-;7259:15;;;7341:1;7337:10;;;;7329:19;;7325:28;;;7290:12;;;;7365:19;;;7362:39;;;7397:1;7394;7387:12;7362:39;7421:11;;;;7441:217;7457:6;7452:3;7449:15;7441:217;;;7537:3;7524:17;7554:31;7579:5;7554:31;:::i;:::-;7598:18;;7474:12;;;;7636;;;;7441:217;;;7677:5;7667:15;;;;;;;7701:35;7732:2;7721:9;7717:18;7701:35;:::i;:::-;7691:45;;6487:1255;;;;;:::o;7747:322::-;7816:6;7869:2;7857:9;7848:7;7844:23;7840:32;7837:52;;;7885:1;7882;7875:12;7837:52;7925:9;7912:23;7958:18;7950:6;7947:30;7944:50;;;7990:1;7987;7980:12;7944:50;8013;8055:7;8046:6;8035:9;8031:22;8013:50;:::i;8334:1203::-;8434:6;8442;8495:2;8483:9;8474:7;8470:23;8466:32;8463:52;;;8511:1;8508;8501:12;8463:52;8551:9;8538:23;8580:18;8621:2;8613:6;8610:14;8607:34;;;8637:1;8634;8627:12;8607:34;8675:6;8664:9;8660:22;8650:32;;8720:7;8713:4;8709:2;8705:13;8701:27;8691:55;;8742:1;8739;8732:12;8691:55;8778:2;8765:16;8800:4;8824:60;8840:43;8880:2;8840:43;:::i;8824:60::-;8918:15;;;9000:1;8996:10;;;;8988:19;;8984:28;;;8949:12;;;;9024:19;;;9021:39;;;9056:1;9053;9046:12;9021:39;9088:2;9084;9080:11;9100:353;9116:6;9111:3;9108:15;9100:353;;;9202:3;9189:17;9238:2;9225:11;9222:19;9219:109;;;9282:1;9311:2;9307;9300:14;9219:109;9353:57;9402:7;9397:2;9383:11;9379:2;9375:20;9371:29;9353:57;:::i;:::-;9341:70;;-1:-1:-1;9431:12:1;;;;9133;;9100:353;;;-1:-1:-1;9472:5:1;-1:-1:-1;9496:35:1;;-1:-1:-1;9512:18:1;;;9496:35;:::i;:::-;9486:45;;;;;;8334:1203;;;;;:::o;9542:184::-;9612:6;9665:2;9653:9;9644:7;9640:23;9636:32;9633:52;;;9681:1;9678;9671:12;9633:52;-1:-1:-1;9704:16:1;;9542:184;-1:-1:-1;9542:184:1:o;10010:245::-;10077:6;10130:2;10118:9;10109:7;10105:23;10101:32;10098:52;;;10146:1;10143;10136:12;10098:52;10178:9;10172:16;10197:28;10219:5;10197:28;:::i;10260:127::-;10321:10;10316:3;10312:20;10309:1;10302:31;10352:4;10349:1;10342:15;10376:4;10373:1;10366:15;10392:125;10432:4;10460:1;10457;10454:8;10451:34;;;10465:18;;:::i;:::-;-1:-1:-1;10502:9:1;;10392:125::o;10522:334::-;10724:2;10706:21;;;10763:2;10743:18;;;10736:30;-1:-1:-1;;;10797:2:1;10782:18;;10775:40;10847:2;10832:18;;10522:334::o;10861:135::-;10900:3;-1:-1:-1;;10921:17:1;;10918:43;;;10941:18;;:::i;:::-;-1:-1:-1;10988:1:1;10977:13;;10861:135::o;11280:408::-;11482:2;11464:21;;;11521:2;11501:18;;;11494:30;11560:34;11555:2;11540:18;;11533:62;-1:-1:-1;;;11626:2:1;11611:18;;11604:42;11678:3;11663:19;;11280:408::o;11693:::-;11895:2;11877:21;;;11934:2;11914:18;;;11907:30;11973:34;11968:2;11953:18;;11946:62;-1:-1:-1;;;12039:2:1;12024:18;;12017:42;12091:3;12076:19;;11693:408::o;13216:258::-;13288:1;13298:113;13312:6;13309:1;13306:13;13298:113;;;13388:11;;;13382:18;13369:11;;;13362:39;13334:2;13327:10;13298:113;;;13429:6;13426:1;13423:13;13420:48;;;-1:-1:-1;;13464:1:1;13446:16;;13439:27;13216:258::o;13479:276::-;13610:3;13648:6;13642:13;13664:53;13710:6;13705:3;13698:4;13690:6;13686:17;13664:53;:::i;:::-;13733:16;;;;;13479:276;-1:-1:-1;;13479:276:1:o;15056:258::-;15098:3;15136:5;15130:12;15163:6;15158:3;15151:19;15179:63;15235:6;15228:4;15223:3;15219:14;15212:4;15205:5;15201:16;15179:63;:::i;:::-;15296:2;15275:15;-1:-1:-1;;15271:29:1;15262:39;;;;15303:4;15258:50;;15056:258;-1:-1:-1;;15056:258:1:o;15319:388::-;15524:2;15513:9;15506:21;15487:4;15544:45;15585:2;15574:9;15570:18;15562:6;15544:45;:::i;:::-;-1:-1:-1;;;;;15625:32:1;;;;15620:2;15605:18;;15598:60;-1:-1:-1;15689:2:1;15674:18;15667:34;15536:53;15319:388;-1:-1:-1;15319:388:1:o;15712:867::-;16069:6;16064:3;16057:19;16039:3;16099:26;16095:31;16177:2;16168:6;16164:2;16160:15;16156:24;16151:2;16146:3;16142:12;16135:46;16232:2;16223:6;16219:2;16215:15;16211:24;16206:2;16201:3;16197:12;16190:46;16266:6;16261:2;16256:3;16252:12;16245:28;16304:6;16298:3;16293;16289:13;16282:29;16342:6;16336:3;16331;16327:13;16320:29;16378:6;16372:13;16394:61;16448:6;16442:3;16437;16433:13;16428:2;16420:6;16416:15;16394:61;:::i;:::-;16528:2;16524:15;;;;16520:24;16474:16;;;;16514:3;16506:12;;16499:46;;;;16569:3;16561:12;;;-1:-1:-1;;;;;;;;15712:867:1:o;16584:127::-;16645:10;16640:3;16636:20;16633:1;16626:31;16676:4;16673:1;16666:15;16700:4;16697:1;16690:15;19112:407;19314:2;19296:21;;;19353:2;19333:18;;;19326:30;19392:34;19387:2;19372:18;;19365:62;-1:-1:-1;;;19458:2:1;19443:18;;19436:41;19509:3;19494:19;;19112:407::o;20575:220::-;20724:2;20713:9;20706:21;20687:4;20744:45;20785:2;20774:9;20770:18;20762:6;20744:45;:::i

Swarm Source

ipfs://e60d32bc101140ea14c377328a5955cbd0455531155a9ef096c70b309b5a42b4

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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