ETH Price: $1,977.07 (+0.75%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BridgeRouter

Compiler Version
v0.8.25+commit.b61c2a91

Optimization Enabled:
Yes with 10 runs

Other Settings:
cancun EvmVersion
pragma solidity 0.8.25;

import {OwnableUpgradeable} from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";
import {IForeignBridge} from "../../interfaces/IForeignBridge.sol";
import {IXDaiForeignBridge} from "../../interfaces/IXDaiForeignBridge.sol";
import {IXDaiBridgePeripheral} from "../../interfaces/IXDaiBridgePeripheral.sol";
import {IERC20} from "../../interfaces/IERC20.sol";
import {IWETHOmnibridgeRouter} from "../../interfaces/IWETHOmnibridgeRouter.sol";

/// @title BridgeRouter
/// @author Gnosis Chain Bridge team
/// @notice A router contract that facilitates the correct routing for specific token that bridges to Gnosis Chain
/// @dev this intended to be an upgradeable contract
contract BridgeRouter is OwnableUpgradeable {
    address public constant FOREIGN_OMNIBRIDGE = 0x88ad09518695c6c3712AC10a214bE5109a655671;
    address public constant FOREIGN_AMB = 0x4C36d2919e407f0Cc2Ee3c993ccF8ac26d9CE64e;
    address public constant FOREIGN_XDAIBRIDGE = 0x4aa42145Aa6Ebf72e164C9bBC74fbD3788045016;
    address public constant DAI = 0x6B175474E89094C44Da98b954EedeAC495271d0F;
    address public constant USDS = 0xdC035D45d973E3EC169d2276DDab16f1e407384F;
    address public constant WETH_OMNIBRIDGE_ROUTER = 0xa6439Ca0FCbA1d0F80df0bE6A17220feD9c9038a;

    error ClaimUsdsNotSupported();

    mapping(address => address) public tokenRoutes;

    constructor() {
        _disableInitializers();
    }

    function initialize(address owner) public initializer {
        __Ownable_init(owner);
    }

    /// @notice An entry point contract for user to bridge any token from source chain
    /// @dev Directs route to relevant contract to perform token relaying
    /// @param _token token to bridge
    /// @param _receiver receiver of token on Gnosis Chain
    /// @param _amount amount to receive on Gnosis Chain
    function relayTokens(address _token, address _receiver, uint256 _amount) external payable {
        address route = tokenRoutes[_token];

        if (_token == DAI) {
            IERC20(_token).transferFrom(msg.sender, route, _amount);
            IXDaiBridgePeripheral(route).relayTokens(_receiver, _amount);
        } else if (_token == USDS) {
            // token need to be transferred to router contract first, because the bridge will call transferFrom(msg.sender, bridge, amount);
            IERC20(_token).transferFrom(msg.sender, address(this), _amount);
            IERC20(_token).approve(route, _amount);
            IXDaiForeignBridge(route).relayTokens(_receiver, _amount);
        } else if (_token == address(0)) {
            // call wrapAndRelayTokens
            require(msg.value == _amount, "msg.value mismatch");
            IWETHOmnibridgeRouter(WETH_OMNIBRIDGE_ROUTER).wrapAndRelayTokens{value: msg.value}(_receiver);
        } else {
            IERC20(_token).transferFrom(msg.sender, address(this), _amount);
            IERC20(_token).approve(FOREIGN_OMNIBRIDGE, _amount);
            IForeignBridge(FOREIGN_OMNIBRIDGE).relayTokens(_token, _receiver, _amount);
        }
    }

    /// @notice Set route for specific token. Be aware of pending cross chain transactions before updating the route.
    /// @param _token token address
    /// @param _route router contract address
    function setRoute(address _token, address _route) public onlyOwner {
        require(_route != address(0) && _route != address(this), "invalid route address");
        require(_token == DAI || _token == USDS, "invalid token address");
        uint256 size;
        assembly {
            size := extcodesize(_route)
        }
        require(size > 0, "route should be a contract");
        tokenRoutes[_token] = _route;
    }

    /// @notice Claim token function
    /// @dev This function check if the data belongs of xDAI bridge or AMB/Omnibridge
    /// @param message bytes to be relayed
    /// @param signatures signatures to be validated
    function executeSignatures(bytes memory message, bytes memory signatures) external {
        if (message.length == 104) {
            // xdai bridge
            // should always receive DAI
            IXDaiForeignBridge(FOREIGN_XDAIBRIDGE).executeSignatures(message, signatures);
        } else {
            // amb & omnibridge
            IForeignBridge(FOREIGN_AMB).safeExecuteSignaturesWithAutoGasLimit(message, signatures);
        }
    }

    /// @notice Validates provided signatures and relays a given AMB message.
    /// @dev  This function is introduced to allow third party applications to switch from calling AMB bridge to Bridge Router contract(this) without changing the function signature
    /// @param message bytes to be relayed
    /// @param signatures signatures to be validated
    function safeExecuteSignaturesWithAutoGasLimit(bytes memory message, bytes memory signatures) external {
        IForeignBridge(FOREIGN_AMB).safeExecuteSignaturesWithAutoGasLimit(message, signatures);
    }

    /// @notice Claim USDS function
    /// @dev This function should revert before the xDAI bridge USDS upgrade
    /// @param message bytes to be relayed
    /// @param signatures signatures to be validated
    function executeSignaturesUSDS(bytes memory message, bytes memory signatures) external {
        if (IXDaiForeignBridge(FOREIGN_XDAIBRIDGE).erc20token() == DAI) {
            // should revert if the bridge is not upgraded to USDS
            revert ClaimUsdsNotSupported();
        } else {
            IXDaiForeignBridge(FOREIGN_XDAIBRIDGE).executeSignaturesUSDS(message, signatures);
        }
    }

    /// @notice Allows to transfer any locked token from this contract.
    /// @param token token to recover
    /// @param recipient recipient of token
    /// @param amount token amount
    function recoverLockedFund(address token, address recipient, uint256 amount) external onlyOwner {
        if (token == address(0)) {
            uint256 balance = address(this).balance;
            require(amount <= balance, "no enough ETH to withdraw");
            require(payable(recipient).send(amount), "unsuccesssful sent");
        } else {
            require(amount <= IERC20(token).balanceOf(address(this)), "no enough balance to withdraw");
            IERC20(token).transfer(recipient, amount);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @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.
 *
 * The initial owner is set to the address provided by the deployer. 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 {
    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable
    struct OwnableStorage {
        address _owner;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;

    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {
        assembly {
            $.slot := OwnableStorageLocation
        }
    }

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

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

    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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) {
        OwnableStorage storage $ = _getOwnableStorage();
        return $._owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

pragma solidity ^0.8.0;

interface IForeignBridge {
    function relayTokens(address receiver, uint256 amount) external;
    function relayTokens(address token, address receiver, uint256 amount) external;
    function withinLimit(address token, uint256 amount) external returns (bool);
    function executeSignatures(bytes memory data, bytes memory signatures) external;
    function safeExecuteSignaturesWithAutoGasLimit(bytes memory data, bytes memory signatures) external;
}

File 4 of 9 : IXDaiForeignBridge.sol
pragma solidity 0.8.25;

interface IXDaiForeignBridge {
    event DailyLimitChanged(uint256 newLimit);
    event ExecutionDailyLimitChanged(uint256 newLimit);
    event GasPriceChanged(uint256 gasPrice);
    event OwnershipTransferred(address previousOwner, address newOwner);
    event PaidInterest(address indexed token, address to, uint256 value);
    event RelayedMessage(address recipient, uint256 value, bytes32 transactionHash);
    event RequiredBlockConfirmationChanged(uint256 requiredBlockConfirmations);
    event UserRequestForAffirmation(address recipient, uint256 value);

    function claimTokens(address _token, address _to) external;
    function daiToken() external pure returns (address);
    function dailyLimit() external view returns (uint256);
    function decimalShift() external view returns (int256);
    function deployedAtBlock() external view returns (uint256);
    function disableInterest(address _token) external;
    function erc20token() external view returns (address);
    function executeSignatures(bytes memory message, bytes memory signatures) external;
    function executeSignaturesUSDS(bytes memory message, bytes memory signatures) external;
    function executeSignaturesGSN(bytes memory message, bytes memory signatures, uint256 maxTokensFee) external;
    function executionDailyLimit() external view returns (uint256);
    function executionMaxPerTx() external view returns (uint256);
    function gasPrice() external view returns (uint256);
    function getBridgeInterfacesVersion() external pure returns (uint64 major, uint64 minor, uint64 patch);
    function getBridgeMode() external pure returns (bytes4 _data);
    function getCurrentDay() external view returns (uint256);
    function getTrustedForwarder() external view returns (address);
    function initialize(
        address _validatorContract,
        address _erc20token,
        uint256 _requiredBlockConfirmations,
        uint256 _gasPrice,
        uint256[3] memory _dailyLimitMaxPerTxMinPerTxArray,
        uint256[2] memory _homeDailyLimitHomeMaxPerTxArray,
        address _owner,
        int256 _decimalShift,
        address _bridgeOnOtherSide
    ) external returns (bool);
    function initializeInterest(
        address _token,
        uint256 _minCashThreshold,
        uint256 _minInterestPaid,
        address _interestReceiver
    ) external;
    function swapSDAIToUSDS() external;
    function interestAmount(address _token) external view returns (uint256);
    function interestReceiver(address _token) external view returns (address);
    function invest(address _token) external;
    function investDai() external;
    function investedAmount(address _token) external view returns (uint256);
    function isInitialized() external view returns (bool);
    function isInterestEnabled(address _token) external view returns (bool);
    function isTrustedForwarder(address forwarder) external view returns (bool);
    function maxAvailablePerTx() external view returns (uint256);
    function maxPerTx() external view returns (uint256);
    function minCashThreshold(address _token) external view returns (uint256);
    function minInterestPaid(address _token) external view returns (uint256);
    function minPerTx() external view returns (uint256);
    function owner() external view returns (address);
    function payInterest(address _token, uint256 _amount) external;
    function previewWithdraw(address _token, uint256 _amount) external view returns (uint256);
    function refillBridge() external;
    function relayTokens(address _receiver, uint256 _amount) external;
    function relayedMessages(bytes32 _nonce) external view returns (bool);
    function requiredBlockConfirmations() external view returns (uint256);
    function requiredSignatures() external view returns (uint256);
    function sDaiToken() external pure returns (address);
    function setDailyLimit(uint256 _dailyLimit) external;
    function setExecutionDailyLimit(uint256 _dailyLimit) external;
    function setExecutionMaxPerTx(uint256 _maxPerTx) external;
    function setGasPrice(uint256 _gasPrice) external;
    function setInterestReceiver(address _token, address _receiver) external;
    function setMaxPerTx(uint256 _maxPerTx) external;
    function setMinCashThreshold(address _token, uint256 _minCashThreshold) external;
    function setMinInterestPaid(address _token, uint256 _minInterestPaid) external;
    function setMinPerTx(uint256 _minPerTx) external;
    function setPayMaster(address _paymaster) external;
    function setRequiredBlockConfirmations(uint256 _blockConfirmations) external;
    function setTrustedForwarder(address _trustedForwarder) external;
    function totalExecutedPerDay(uint256 _day) external view returns (uint256);
    function totalSpentPerDay(uint256 _day) external view returns (uint256);
    function transferOwnership(address newOwner) external;
    function validatorContract() external view returns (address);
    function versionRecipient() external view returns (string memory);
    function withinExecutionLimit(uint256 _amount) external view returns (bool);
    function withinLimit(uint256 _amount) external view returns (bool);
    function setNewErc20Token(address newDAI) external;
}

// SPDX-License-Identifier: MIT
pragma solidity 0.8.25;

interface IXDaiBridgePeripheral {
    function DAI() external view returns (address);
    function DAIUSDS() external view returns (address);
    function FOREIGN_XDAIBRIDGE() external view returns (address);
    function USDS() external view returns (address);
    function relayTokens(address receiver, uint256 amount) external;
    function router() external view returns (address);
}

pragma solidity ^0.8.0;

interface IERC20 {
    function approve(address usr, uint256 wad) external;
    function allowance(address owner, address spender, uint256 amount) external returns (uint256);
    function permit(address owner, address spender, uint256 amount, uint256 deadline, bytes memory signatures) external;
    function transferFrom(address owner, address spender, uint256 amount) external;
    function transfer(address usr, uint256 wad) external;
    function balanceOf(address usr) external returns (uint256);
}

// SPDX-License-Identifier: MIT

pragma solidity 0.8.25;

interface IWETHOmnibridgeRouter {
    function wrapAndRelayTokens(address _receiver) external payable;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @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;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.20;

/**
 * @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 Storage of the initializable contract.
     *
     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
     * when using with upgradeable contracts.
     *
     * @custom:storage-location erc7201:openzeppelin.storage.Initializable
     */
    struct InitializableStorage {
        /**
         * @dev Indicates that the contract has been initialized.
         */
        uint64 _initialized;
        /**
         * @dev Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;

    /**
     * @dev The contract is already initialized.
     */
    error InvalidInitialization();

    /**
     * @dev The contract is not initializing.
     */
    error NotInitializing();

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint64 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 in the context of a constructor an `initializer` may be invoked any
     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
     * production.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        // Cache values to avoid duplicated sloads
        bool isTopLevelCall = !$._initializing;
        uint64 initialized = $._initialized;

        // Allowed calls:
        // - initialSetup: the contract is not in the initializing state and no previous version was
        //                 initialized
        // - construction: the contract is initialized at version 1 (no reininitialization) and the
        //                 current contract is just being deployed
        bool initialSetup = initialized == 0 && isTopLevelCall;
        bool construction = initialized == 1 && address(this).code.length == 0;

        if (!initialSetup && !construction) {
            revert InvalidInitialization();
        }
        $._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 2**64 - 1 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint64 version) {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing || $._initialized >= version) {
            revert InvalidInitialization();
        }
        $._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() {
        _checkInitializing();
        _;
    }

    /**
     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
     */
    function _checkInitializing() internal view virtual {
        if (!_isInitializing()) {
            revert NotInitializing();
        }
    }

    /**
     * @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 {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing) {
            revert InvalidInitialization();
        }
        if ($._initialized != type(uint64).max) {
            $._initialized = type(uint64).max;
            emit Initialized(type(uint64).max);
        }
    }

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

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

    /**
     * @dev Returns a pointer to the storage namespace.
     */
    // solhint-disable-next-line var-name-mixedcase
    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
        assembly {
            $.slot := INITIALIZABLE_STORAGE
        }
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "openzeppelin-solidity/=node_modules/openzeppelin-solidity/",
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 10
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false,
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"ClaimUsdsNotSupported","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"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"},{"inputs":[],"name":"DAI","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOREIGN_AMB","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOREIGN_OMNIBRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"FOREIGN_XDAIBRIDGE","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"USDS","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"WETH_OMNIBRIDGE_ROUTER","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"signatures","type":"bytes"}],"name":"executeSignatures","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"signatures","type":"bytes"}],"name":"executeSignaturesUSDS","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"address","name":"recipient","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"recoverLockedFund","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"relayTokens","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"message","type":"bytes"},{"internalType":"bytes","name":"signatures","type":"bytes"}],"name":"safeExecuteSignaturesWithAutoGasLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_route","type":"address"}],"name":"setRoute","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"tokenRoutes","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f80fd5b5060156019565b60c9565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00805468010000000000000000900460ff161560685760405163f92ee8a960e01b815260040160405180910390fd5b80546001600160401b039081161460c65780546001600160401b0319166001600160401b0390811782556040519081527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b50565b6110f9806100d65f395ff3fe6080604052600436106100cd575f3560e01c8063044abec9146100d15780630505e94d1461010e57806323caab491461012f5780633f7658fd1461014e578063423fd7dc1461016d578063489f945c1461018c5780634c254601146101c0578063715018a6146101e75780638da5cb5b146101fb578063a3f02fb71461020f578063ad58bdd114610236578063ae6862cd14610249578063c4d66de814610268578063c8ef95ae14610287578063e08e1a70146102ae578063e0bab4c4146102d5578063f2fde38b146102fc575b5f80fd5b3480156100dc575f80fd5b506100f87388ad09518695c6c3712ac10a214be5109a65567181565b6040516101059190610e3f565b60405180910390f35b348015610119575f80fd5b5061012d610128366004610e67565b61031b565b005b34801561013a575f80fd5b5061012d610149366004610f3a565b610492565b348015610159575f80fd5b5061012d610168366004610f3a565b6104fc565b348015610178575f80fd5b5061012d610187366004610f99565b61053e565b348015610197575f80fd5b506100f86101a6366004610fd7565b5f602081905290815260409020546001600160a01b031681565b3480156101cb575f80fd5b506100f873a6439ca0fcba1d0f80df0be6a17220fed9c9038a81565b3480156101f2575f80fd5b5061012d610727565b348015610206575f80fd5b506100f861073a565b34801561021a575f80fd5b506100f8734c36d2919e407f0cc2ee3c993ccf8ac26d9ce64e81565b61012d610244366004610f99565b610754565b348015610254575f80fd5b5061012d610263366004610f3a565b610af0565b348015610273575f80fd5b5061012d610282366004610fd7565b610be2565b348015610292575f80fd5b506100f873dc035d45d973e3ec169d2276ddab16f1e407384f81565b3480156102b9575f80fd5b506100f8734aa42145aa6ebf72e164c9bbc74fbd378804501681565b3480156102e0575f80fd5b506100f8736b175474e89094c44da98b954eedeac495271d0f81565b348015610307575f80fd5b5061012d610316366004610fd7565b610cd7565b610323610d14565b6001600160a01b0381161580159061034457506001600160a01b0381163014155b61038d5760405162461bcd60e51b8152602060048201526015602482015274696e76616c696420726f757465206164647265737360581b60448201526064015b60405180910390fd5b6001600160a01b038216736b175474e89094c44da98b954eedeac495271d0f14806103d457506001600160a01b03821673dc035d45d973e3ec169d2276ddab16f1e407384f145b6104185760405162461bcd60e51b8152602060048201526015602482015274696e76616c696420746f6b656e206164647265737360581b6044820152606401610384565b803b806104645760405162461bcd60e51b815260206004820152601a6024820152791c9bdd5d19481cda1bdd5b1908189948184818dbdb9d1c9858dd60321b6044820152606401610384565b506001600160a01b039182165f90815260208190526040902080546001600160a01b03191691909216179055565b6040516323caab4960e01b8152734c36d2919e407f0cc2ee3c993ccf8ac26d9ce64e906323caab49906104cb9085908590600401611027565b5f604051808303815f87803b1580156104e2575f80fd5b505af11580156104f4573d5f803e3d5ffd5b505050505050565b815160680361049257604051633f7658fd60e01b8152734aa42145aa6ebf72e164c9bbc74fbd378804501690633f7658fd906104cb9085908590600401611027565b610546610d14565b6001600160a01b03831661060c5747808211156105a15760405162461bcd60e51b81526020600482015260196024820152786e6f20656e6f7567682045544820746f20776974686472617760381b6044820152606401610384565b6040516001600160a01b0384169083156108fc029084905f818181858888f193505050506106065760405162461bcd60e51b81526020600482015260126024820152711d5b9cdd58d8d95cdcdcd99d5b081cd95b9d60721b6044820152606401610384565b50505050565b6040516370a0823160e01b81526001600160a01b038416906370a0823190610638903090600401610e3f565b6020604051808303815f875af1158015610654573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106789190611054565b8111156106c75760405162461bcd60e51b815260206004820152601d60248201527f6e6f20656e6f7567682062616c616e636520746f2077697468647261770000006044820152606401610384565b60405163a9059cbb60e01b81526001600160a01b0384169063a9059cbb906106f5908590859060040161106b565b5f604051808303815f87803b15801561070c575f80fd5b505af115801561071e573d5f803e3d5ffd5b50505050505050565b61072f610d14565b6107385f610d46565b565b5f80610744610da0565b546001600160a01b031692915050565b6001600160a01b038084165f8181526020819052604090205490911690736b175474e89094c44da98b954eedeac495271d0e1901610848576040516323b872dd60e01b81526001600160a01b038516906323b872dd906107bc90339085908790600401611084565b5f604051808303815f87803b1580156107d3575f80fd5b505af11580156107e5573d5f803e3d5ffd5b505060405162f27a9d60e11b81526001600160a01b03841692506301e4f53a9150610816908690869060040161106b565b5f604051808303815f87803b15801561082d575f80fd5b505af115801561083f573d5f803e3d5ffd5b50505050610606565b73dc035d45d973e3ec169d2276ddab16f1e407384e196001600160a01b038516016108f8576040516323b872dd60e01b81526001600160a01b038516906323b872dd9061089d90339030908790600401611084565b5f604051808303815f87803b1580156108b4575f80fd5b505af11580156108c6573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b038716925063095ea7b391506107bc908490869060040161106b565b6001600160a01b0384166109b65781341461094a5760405162461bcd60e51b81526020600482015260126024820152710dae6ce5cecc2d8eaca40dad2e6dac2e8c6d60731b6044820152606401610384565b604051637a965f8760e11b815273a6439ca0fcba1d0f80df0be6a17220fed9c9038a9063f52cbf0e903490610983908790600401610e3f565b5f604051808303818588803b15801561099a575f80fd5b505af11580156109ac573d5f803e3d5ffd5b5050505050610606565b6040516323b872dd60e01b81526001600160a01b038516906323b872dd906109e690339030908790600401611084565b5f604051808303815f87803b1580156109fd575f80fd5b505af1158015610a0f573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b038716925063095ea7b39150610a55907388ad09518695c6c3712ac10a214be5109a65567190869060040161106b565b5f604051808303815f87803b158015610a6c575f80fd5b505af1158015610a7e573d5f803e3d5ffd5b505060405163ad58bdd160e01b81527388ad09518695c6c3712ac10a214be5109a655671925063ad58bdd19150610abd90879087908790600401611084565b5f604051808303815f87803b158015610ad4575f80fd5b505af1158015610ae6573d5f803e3d5ffd5b5050505050505050565b736b175474e89094c44da98b954eedeac495271d0f6001600160a01b0316734aa42145aa6ebf72e164c9bbc74fbd37880450166001600160a01b0316631dcea4276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906110a8565b6001600160a01b031603610ba957604051631989553f60e21b815260040160405180910390fd5b60405163ae6862cd60e01b8152734aa42145aa6ebf72e164c9bbc74fbd37880450169063ae6862cd906104cb9085908590600401611027565b5f610beb610dc4565b805490915060ff600160401b82041615906001600160401b03165f81158015610c115750825b90505f826001600160401b03166001148015610c2c5750303b155b905081158015610c3a575080155b15610c585760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b03191660011785558315610c8157845460ff60401b1916600160401b1785555b610c8a86610de8565b83156104f457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b610cdf610d14565b6001600160a01b038116610d08575f604051631e4fbdf760e01b81526004016103849190610e3f565b610d1181610d46565b50565b33610d1d61073a565b6001600160a01b031614610738573360405163118cdaa760e01b81526004016103849190610e3f565b5f610d4f610da0565b80546001600160a01b038481166001600160a01b031983168117845560405193945091169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0090565b610df0610df9565b610d1181610e1e565b610e01610e26565b61073857604051631afcd79f60e31b815260040160405180910390fd5b610cdf610df9565b5f610e2f610dc4565b54600160401b900460ff16919050565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114610d11575f80fd5b5f8060408385031215610e78575f80fd5b8235610e8381610e53565b91506020830135610e9381610e53565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610ec1575f80fd5b81356001600160401b0380821115610edb57610edb610e9e565b604051601f8301601f19908116603f01168101908282118183101715610f0357610f03610e9e565b81604052838152866020858801011115610f1b575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f8060408385031215610f4b575f80fd5b82356001600160401b0380821115610f61575f80fd5b610f6d86838701610eb2565b93506020850135915080821115610f82575f80fd5b50610f8f85828601610eb2565b9150509250929050565b5f805f60608486031215610fab575f80fd5b8335610fb681610e53565b92506020840135610fc681610e53565b929592945050506040919091013590565b5f60208284031215610fe7575f80fd5b8135610ff281610e53565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b604081525f6110396040830185610ff9565b828103602084015261104b8185610ff9565b95945050505050565b5f60208284031215611064575f80fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b5f602082840312156110b8575f80fd5b8151610ff281610e5356fea2646970667358221220bc628ce29b70f4cf6a910dba5681d45ade75d9805818dc89c940aab3378d4c9364736f6c63430008190033

Deployed Bytecode

0x6080604052600436106100cd575f3560e01c8063044abec9146100d15780630505e94d1461010e57806323caab491461012f5780633f7658fd1461014e578063423fd7dc1461016d578063489f945c1461018c5780634c254601146101c0578063715018a6146101e75780638da5cb5b146101fb578063a3f02fb71461020f578063ad58bdd114610236578063ae6862cd14610249578063c4d66de814610268578063c8ef95ae14610287578063e08e1a70146102ae578063e0bab4c4146102d5578063f2fde38b146102fc575b5f80fd5b3480156100dc575f80fd5b506100f87388ad09518695c6c3712ac10a214be5109a65567181565b6040516101059190610e3f565b60405180910390f35b348015610119575f80fd5b5061012d610128366004610e67565b61031b565b005b34801561013a575f80fd5b5061012d610149366004610f3a565b610492565b348015610159575f80fd5b5061012d610168366004610f3a565b6104fc565b348015610178575f80fd5b5061012d610187366004610f99565b61053e565b348015610197575f80fd5b506100f86101a6366004610fd7565b5f602081905290815260409020546001600160a01b031681565b3480156101cb575f80fd5b506100f873a6439ca0fcba1d0f80df0be6a17220fed9c9038a81565b3480156101f2575f80fd5b5061012d610727565b348015610206575f80fd5b506100f861073a565b34801561021a575f80fd5b506100f8734c36d2919e407f0cc2ee3c993ccf8ac26d9ce64e81565b61012d610244366004610f99565b610754565b348015610254575f80fd5b5061012d610263366004610f3a565b610af0565b348015610273575f80fd5b5061012d610282366004610fd7565b610be2565b348015610292575f80fd5b506100f873dc035d45d973e3ec169d2276ddab16f1e407384f81565b3480156102b9575f80fd5b506100f8734aa42145aa6ebf72e164c9bbc74fbd378804501681565b3480156102e0575f80fd5b506100f8736b175474e89094c44da98b954eedeac495271d0f81565b348015610307575f80fd5b5061012d610316366004610fd7565b610cd7565b610323610d14565b6001600160a01b0381161580159061034457506001600160a01b0381163014155b61038d5760405162461bcd60e51b8152602060048201526015602482015274696e76616c696420726f757465206164647265737360581b60448201526064015b60405180910390fd5b6001600160a01b038216736b175474e89094c44da98b954eedeac495271d0f14806103d457506001600160a01b03821673dc035d45d973e3ec169d2276ddab16f1e407384f145b6104185760405162461bcd60e51b8152602060048201526015602482015274696e76616c696420746f6b656e206164647265737360581b6044820152606401610384565b803b806104645760405162461bcd60e51b815260206004820152601a6024820152791c9bdd5d19481cda1bdd5b1908189948184818dbdb9d1c9858dd60321b6044820152606401610384565b506001600160a01b039182165f90815260208190526040902080546001600160a01b03191691909216179055565b6040516323caab4960e01b8152734c36d2919e407f0cc2ee3c993ccf8ac26d9ce64e906323caab49906104cb9085908590600401611027565b5f604051808303815f87803b1580156104e2575f80fd5b505af11580156104f4573d5f803e3d5ffd5b505050505050565b815160680361049257604051633f7658fd60e01b8152734aa42145aa6ebf72e164c9bbc74fbd378804501690633f7658fd906104cb9085908590600401611027565b610546610d14565b6001600160a01b03831661060c5747808211156105a15760405162461bcd60e51b81526020600482015260196024820152786e6f20656e6f7567682045544820746f20776974686472617760381b6044820152606401610384565b6040516001600160a01b0384169083156108fc029084905f818181858888f193505050506106065760405162461bcd60e51b81526020600482015260126024820152711d5b9cdd58d8d95cdcdcd99d5b081cd95b9d60721b6044820152606401610384565b50505050565b6040516370a0823160e01b81526001600160a01b038416906370a0823190610638903090600401610e3f565b6020604051808303815f875af1158015610654573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906106789190611054565b8111156106c75760405162461bcd60e51b815260206004820152601d60248201527f6e6f20656e6f7567682062616c616e636520746f2077697468647261770000006044820152606401610384565b60405163a9059cbb60e01b81526001600160a01b0384169063a9059cbb906106f5908590859060040161106b565b5f604051808303815f87803b15801561070c575f80fd5b505af115801561071e573d5f803e3d5ffd5b50505050505050565b61072f610d14565b6107385f610d46565b565b5f80610744610da0565b546001600160a01b031692915050565b6001600160a01b038084165f8181526020819052604090205490911690736b175474e89094c44da98b954eedeac495271d0e1901610848576040516323b872dd60e01b81526001600160a01b038516906323b872dd906107bc90339085908790600401611084565b5f604051808303815f87803b1580156107d3575f80fd5b505af11580156107e5573d5f803e3d5ffd5b505060405162f27a9d60e11b81526001600160a01b03841692506301e4f53a9150610816908690869060040161106b565b5f604051808303815f87803b15801561082d575f80fd5b505af115801561083f573d5f803e3d5ffd5b50505050610606565b73dc035d45d973e3ec169d2276ddab16f1e407384e196001600160a01b038516016108f8576040516323b872dd60e01b81526001600160a01b038516906323b872dd9061089d90339030908790600401611084565b5f604051808303815f87803b1580156108b4575f80fd5b505af11580156108c6573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b038716925063095ea7b391506107bc908490869060040161106b565b6001600160a01b0384166109b65781341461094a5760405162461bcd60e51b81526020600482015260126024820152710dae6ce5cecc2d8eaca40dad2e6dac2e8c6d60731b6044820152606401610384565b604051637a965f8760e11b815273a6439ca0fcba1d0f80df0be6a17220fed9c9038a9063f52cbf0e903490610983908790600401610e3f565b5f604051808303818588803b15801561099a575f80fd5b505af11580156109ac573d5f803e3d5ffd5b5050505050610606565b6040516323b872dd60e01b81526001600160a01b038516906323b872dd906109e690339030908790600401611084565b5f604051808303815f87803b1580156109fd575f80fd5b505af1158015610a0f573d5f803e3d5ffd5b505060405163095ea7b360e01b81526001600160a01b038716925063095ea7b39150610a55907388ad09518695c6c3712ac10a214be5109a65567190869060040161106b565b5f604051808303815f87803b158015610a6c575f80fd5b505af1158015610a7e573d5f803e3d5ffd5b505060405163ad58bdd160e01b81527388ad09518695c6c3712ac10a214be5109a655671925063ad58bdd19150610abd90879087908790600401611084565b5f604051808303815f87803b158015610ad4575f80fd5b505af1158015610ae6573d5f803e3d5ffd5b5050505050505050565b736b175474e89094c44da98b954eedeac495271d0f6001600160a01b0316734aa42145aa6ebf72e164c9bbc74fbd37880450166001600160a01b0316631dcea4276040518163ffffffff1660e01b8152600401602060405180830381865afa158015610b5e573d5f803e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610b8291906110a8565b6001600160a01b031603610ba957604051631989553f60e21b815260040160405180910390fd5b60405163ae6862cd60e01b8152734aa42145aa6ebf72e164c9bbc74fbd37880450169063ae6862cd906104cb9085908590600401611027565b5f610beb610dc4565b805490915060ff600160401b82041615906001600160401b03165f81158015610c115750825b90505f826001600160401b03166001148015610c2c5750303b155b905081158015610c3a575080155b15610c585760405163f92ee8a960e01b815260040160405180910390fd5b84546001600160401b03191660011785558315610c8157845460ff60401b1916600160401b1785555b610c8a86610de8565b83156104f457845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a1505050505050565b610cdf610d14565b6001600160a01b038116610d08575f604051631e4fbdf760e01b81526004016103849190610e3f565b610d1181610d46565b50565b33610d1d61073a565b6001600160a01b031614610738573360405163118cdaa760e01b81526004016103849190610e3f565b5f610d4f610da0565b80546001600160a01b038481166001600160a01b031983168117845560405193945091169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0090565b610df0610df9565b610d1181610e1e565b610e01610e26565b61073857604051631afcd79f60e31b815260040160405180910390fd5b610cdf610df9565b5f610e2f610dc4565b54600160401b900460ff16919050565b6001600160a01b0391909116815260200190565b6001600160a01b0381168114610d11575f80fd5b5f8060408385031215610e78575f80fd5b8235610e8381610e53565b91506020830135610e9381610e53565b809150509250929050565b634e487b7160e01b5f52604160045260245ffd5b5f82601f830112610ec1575f80fd5b81356001600160401b0380821115610edb57610edb610e9e565b604051601f8301601f19908116603f01168101908282118183101715610f0357610f03610e9e565b81604052838152866020858801011115610f1b575f80fd5b836020870160208301375f602085830101528094505050505092915050565b5f8060408385031215610f4b575f80fd5b82356001600160401b0380821115610f61575f80fd5b610f6d86838701610eb2565b93506020850135915080821115610f82575f80fd5b50610f8f85828601610eb2565b9150509250929050565b5f805f60608486031215610fab575f80fd5b8335610fb681610e53565b92506020840135610fc681610e53565b929592945050506040919091013590565b5f60208284031215610fe7575f80fd5b8135610ff281610e53565b9392505050565b5f81518084528060208401602086015e5f602082860101526020601f19601f83011685010191505092915050565b604081525f6110396040830185610ff9565b828103602084015261104b8185610ff9565b95945050505050565b5f60208284031215611064575f80fd5b5051919050565b6001600160a01b03929092168252602082015260400190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b5f602082840312156110b8575f80fd5b8151610ff281610e5356fea2646970667358221220bc628ce29b70f4cf6a910dba5681d45ade75d9805818dc89c940aab3378d4c9364736f6c63430008190033

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

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.