Goerli Testnet

Contract

0xe39E3778aAc8F23995c169E3900e00E2c6b8e7D5
Source Code

Overview

ETH Balance

0 ETH

Token Holdings

Multi Chain

Multichain Addresses

1 address found via
Transaction Hash
Method
Block
From
To
Value
Cross Chain Lock89344902023-05-03 11:42:00218 days 2 hrs ago1683114120IN
0xe39E37...c6b8e7D5
0 ETH0.0054377466.68809258
Cross Chain Lock89344892023-05-03 11:41:48218 days 2 hrs ago1683114108IN
0xe39E37...c6b8e7D5
0 ETH0.0055242967.71963767
Cross Chain Lock89344872023-05-03 11:41:24218 days 2 hrs ago1683114084IN
0xe39E37...c6b8e7D5
0 ETH0.0058694371.99288277
Cross Chain Lock89344862023-05-03 11:41:12218 days 2 hrs ago1683114072IN
0xe39E37...c6b8e7D5
0 ETH0.0059084972.4506624
Cross Chain Lock89344082023-05-03 11:22:36218 days 2 hrs ago1683112956IN
0xe39E37...c6b8e7D5
0 ETH0.01246797152.88379241
Cross Chain Lock89344052023-05-03 11:22:00218 days 2 hrs ago1683112920IN
0xe39E37...c6b8e7D5
0 ETH0.01203089147.52422462
Cross Chain Lock89343082023-05-03 10:56:36218 days 3 hrs ago1683111396IN
0xe39E37...c6b8e7D5
0 ETH0.00986743120.99561084
Cross Chain Lock89341912023-05-03 10:25:12218 days 3 hrs ago1683109512IN
0xe39E37...c6b8e7D5
0 ETH0.01487949182.40037038
Cross Chain Lock89341522023-05-03 10:16:36218 days 3 hrs ago1683108996IN
0xe39E37...c6b8e7D5
0 ETH0.0242201245.51048886
0x6101406089340702023-05-03 9:57:48218 days 4 hrs ago1683107868IN
 Create: veLockerSrc
0 ETH0.21867909199.61323974

Latest 19 internal transactions

Advanced mode:
Parent Txn Hash Block From To Value
89344902023-05-03 11:42:00218 days 2 hrs ago1683114120
0xe39E37...c6b8e7D5
0 ETH
89344902023-05-03 11:42:00218 days 2 hrs ago1683114120
0xe39E37...c6b8e7D5
0 ETH
89344892023-05-03 11:41:48218 days 2 hrs ago1683114108
0xe39E37...c6b8e7D5
0 ETH
89344892023-05-03 11:41:48218 days 2 hrs ago1683114108
0xe39E37...c6b8e7D5
0 ETH
89344872023-05-03 11:41:24218 days 2 hrs ago1683114084
0xe39E37...c6b8e7D5
0 ETH
89344872023-05-03 11:41:24218 days 2 hrs ago1683114084
0xe39E37...c6b8e7D5
0 ETH
89344862023-05-03 11:41:12218 days 2 hrs ago1683114072
0xe39E37...c6b8e7D5
0 ETH
89344862023-05-03 11:41:12218 days 2 hrs ago1683114072
0xe39E37...c6b8e7D5
0 ETH
89344082023-05-03 11:22:36218 days 2 hrs ago1683112956
0xe39E37...c6b8e7D5
0 ETH
89344082023-05-03 11:22:36218 days 2 hrs ago1683112956
0xe39E37...c6b8e7D5
0 ETH
89344052023-05-03 11:22:00218 days 2 hrs ago1683112920
0xe39E37...c6b8e7D5
0 ETH
89344052023-05-03 11:22:00218 days 2 hrs ago1683112920
0xe39E37...c6b8e7D5
0 ETH
89343082023-05-03 10:56:36218 days 3 hrs ago1683111396
0xe39E37...c6b8e7D5
0 ETH
89343082023-05-03 10:56:36218 days 3 hrs ago1683111396
0xe39E37...c6b8e7D5
0 ETH
89341912023-05-03 10:25:12218 days 3 hrs ago1683109512
0xe39E37...c6b8e7D5
0 ETH
89341912023-05-03 10:25:12218 days 3 hrs ago1683109512
0xe39E37...c6b8e7D5
0 ETH
89341522023-05-03 10:16:36218 days 3 hrs ago1683108996
0xe39E37...c6b8e7D5
0 ETH
89341522023-05-03 10:16:36218 days 3 hrs ago1683108996
0xe39E37...c6b8e7D5
0 ETH
89340702023-05-03 9:57:48218 days 4 hrs ago1683107868
0xe39E37...c6b8e7D5
0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
veLockerSrc

Compiler Version
v0.8.11+commit.d7f03943

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 10 of 10 : veLockerSrc.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.10;
import "openzeppelin-contracts/contracts/access/Ownable.sol";
import "openzeppelin-contracts/contracts/security/ReentrancyGuard.sol";
import "openzeppelin-contracts/contracts/token/ERC721/extensions/IERC721Enumerable.sol";
import "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";

import "interfaces/IAnyCall.sol";
import "interfaces/IExecutor.sol";

struct Lock {
    uint256 amount;
    uint256 tokenId;
    address user;
    bool merge;
}

contract veLockerSrc is Ownable, ReentrancyGuard {
    address public receiver;
    address public immutable anycallExecutor;
    address public immutable anyCall;
    address public immutable ibToken;
    address public immutable rIB;
    uint256 public immutable srcChainId;
    uint256 public immutable destChainId;
    uint256 public constant PAY_FEE_ON_DEST_CHAIN = 0; // PAID_ON_DEST = 0; PAID_ON_SRC = 2;
    uint256 public constant minimumLockAmount = 50 ether;

    /// @notice emitted when lock is initiated on source chain
    /// @param amount token amount to lock
    /// @param tokenId tokenId of the user
    /// @param user user address
    /// @param merge true if the lock is a merge lock
    event LockInitiated(uint256 amount, uint256 tokenId, address user, bool merge);

    /// @notice emitted when lock has failed on destination chain
    /// @param amount token amount to lock
    /// @param tokenId tokenId of the user
    /// @param user user address
    /// @param merge true if the lock is a merge lock
    event LockFailed(uint256 amount, uint256 tokenId, address user, bool merge);

    modifier onlyExecutor() {
        require(msg.sender == anycallExecutor, "Only executor can call this function");
        _;
    }

    modifier onlySelf() {
        require(msg.sender == address(this), "Only this contract can call this function");
        _;
    }

    modifier onlyRedeemableIB() {
        require(msg.sender == rIB, "Only rIB can call this function");
        _;
    }

    /// @notice Contract constructor, can be deployed on both the source chain and the destination chainz
    /// @param _anyCall anyCall address
    /// @param _ibToken ibToken address
    /// @param _receiver receiver address
    /// @param _srcChainId source chain Id, eth mainnet = 1
    /// @param _destChainId  dest chain Id, op = 1
    constructor(address _anyCall, address _ibToken, address _receiver, address _rIB, uint256 _srcChainId, uint256 _destChainId) {
        require(_anyCall != address(0), "anyCall address cannot be 0");
        require(_ibToken != address(0), "ibToken address cannot be 0");
        require(_receiver != address(0), "receiver address cannot be 0");

        anyCall = _anyCall;
        anycallExecutor = IAnyCall(_anyCall).executor();
        ibToken = _ibToken;
        rIB = _rIB;
        receiver = _receiver;
        srcChainId = _srcChainId;
        destChainId = _destChainId;
    }

    /// @notice function to initiate lock on source chain, initiating the anyCall to destination chain
    /// @param amount token amount to lock
    /// @param tokenId tokenId of the user
    /// @param user user address
    /// @param merge true if the lock is a merge lock
    function crossChainLock(uint256 amount, uint256 tokenId, address user, bool merge) external onlyRedeemableIB nonReentrant {
        require(amount >= minimumLockAmount, "amount must be greater than minimumLockAmount");
        require(user != address(0), "user address cannot be 0");
        IERC20(ibToken).transferFrom(msg.sender, address(this), amount);
        // set fallBack address as the current address to log failures, if any
        Lock memory lock = Lock(amount, tokenId, user, merge);
        IAnyCall(anyCall).anyCall(receiver, abi.encode(lock), address(this), destChainId, PAY_FEE_ON_DEST_CHAIN);
        emit LockInitiated(amount, tokenId, user, merge);
    }

    /// @notice function only callable by anyCall executor, if anyCall fails on OP, this function will be called by anyCall executor to log the failure
    /// @param data abi encoded data of the anyCall
    /// @return success true if migration is successful
    /// @return result return message
    function anyExecute(bytes calldata data) external onlyExecutor nonReentrant returns (bool success, bytes memory result) {
        (address callFrom, uint256 fromChainID, ) = IExecutor(anycallExecutor).context();
        bool isValidSource = callFrom == address(this) && fromChainID == srcChainId;
        bool isValidFunctionSig = bytes4(data[:4]) == this.anyFallback.selector;
        if (!isValidSource || !isValidFunctionSig) {
            return (false, "invalid source or function selector");
        }
        // when migration fails on destination chain, log failure on source chain
        (address _initialCallTo, bytes memory _initialCallData) = abi.decode(data[4:], (address, bytes));
        this.anyFallback(_initialCallTo, _initialCallData);
        return (true, "");
    }

    /// @notice function to log failure on source chain, when the migration call on the destination chain is unsuccessful
    /// @param _initialCallTo initial call to address on the destination chain
    /// @param _initialCallData initial calldata sent to the destination chain
    function anyFallback(address _initialCallTo, bytes calldata _initialCallData) external onlySelf {
        require(_initialCallTo == receiver, "Incorrect receiver address");
        Lock memory lock = abi.decode(_initialCallData, (Lock));
        emit LockFailed(lock.amount, lock.tokenId, lock.user, lock.merge);
    }

    /// @notice function to set the receiver address\
    /// @param _receiver receiver address
    function setReceiver(address _receiver) external onlyOwner {
        require(_receiver != address(0), "receiver address cannot be 0");
        receiver = _receiver;
    }

    /// @notice function to seize any token sent to the contract
    /// @param token token address
    /// @param amount token amount
    function seize(address token, uint256 amount) external onlyOwner {
        IERC20(token).transfer(owner(), amount);
    }
}

File 2 of 10 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.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.
 *
 * 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 Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _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 anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing 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);
    }
}

File 3 of 10 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

/**
 * @dev Contract module that helps prevent reentrant calls to a function.
 *
 * Inheriting from `ReentrancyGuard` will make the {nonReentrant} modifier
 * available, which can be applied to functions to make sure there are no nested
 * (reentrant) calls to them.
 *
 * Note that because there is a single `nonReentrant` guard, functions marked as
 * `nonReentrant` may not call one another. This can be worked around by making
 * those functions `private`, and then adding `external` `nonReentrant` entry
 * points to them.
 *
 * TIP: If you would like to learn more about reentrancy and alternative ways
 * to protect against it, check out our blog post
 * https://blog.openzeppelin.com/reentrancy-after-istanbul/[Reentrancy After Istanbul].
 */
abstract contract ReentrancyGuard {
    // Booleans are more expensive than uint256 or any type that takes up a full
    // word because each write operation emits an extra SLOAD to first read the
    // slot's contents, replace the bits taken up by the boolean, and then write
    // back. This is the compiler's defense against contract upgrades and
    // pointer aliasing, and it cannot be disabled.

    // The values being non-zero value makes deployment a bit more expensive,
    // but in exchange the refund on every call to nonReentrant will be lower in
    // amount. Since refunds are capped to a percentage of the total
    // transaction's gas, it is best to keep them low in cases like this one, to
    // increase the likelihood of the full refund coming into effect.
    uint256 private constant _NOT_ENTERED = 1;
    uint256 private constant _ENTERED = 2;

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

        // Any calls to nonReentrant after this point will fail
        _status = _ENTERED;
    }

    function _nonReentrantAfter() private {
        // By storing the original value once again, a refund is triggered (see
        // https://eips.ethereum.org/EIPS/eip-2200)
        _status = _NOT_ENTERED;
    }
}

File 4 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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 5 of 10 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional enumeration extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Enumerable is IERC721 {
    /**
     * @dev Returns the total amount of tokens stored by the contract.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns a token ID owned by `owner` at a given `index` of its token list.
     * Use along with {balanceOf} to enumerate all of ``owner``'s tokens.
     */
    function tokenOfOwnerByIndex(address owner, uint256 index) external view returns (uint256);

    /**
     * @dev Returns a token ID at a given `index` of all the tokens stored by the contract.
     * Use along with {totalSupply} to enumerate all tokens.
     */
    function tokenByIndex(uint256 index) external view returns (uint256);
}

File 6 of 10 : IERC721.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;

import "../../utils/introspection/IERC165.sol";

/**
 * @dev Required interface of an ERC721 compliant contract.
 */
interface IERC721 is IERC165 {
    /**
     * @dev Emitted when `tokenId` token is transferred from `from` to `to`.
     */
    event Transfer(address indexed from, address indexed to, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables `approved` to manage the `tokenId` token.
     */
    event Approval(address indexed owner, address indexed approved, uint256 indexed tokenId);

    /**
     * @dev Emitted when `owner` enables or disables (`approved`) `operator` to manage all of its assets.
     */
    event ApprovalForAll(address indexed owner, address indexed operator, bool approved);

    /**
     * @dev Returns the number of tokens in ``owner``'s account.
     */
    function balanceOf(address owner) external view returns (uint256 balance);

    /**
     * @dev Returns the owner of the `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function ownerOf(uint256 tokenId) external view returns (address owner);

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId,
        bytes calldata data
    ) external;

    /**
     * @dev Safely transfers `tokenId` token from `from` to `to`, checking first that contract recipients
     * are aware of the ERC721 protocol to prevent tokens from being forever locked.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must exist and be owned by `from`.
     * - If the caller is not `from`, it must have been allowed to move this token by either {approve} or {setApprovalForAll}.
     * - If `to` refers to a smart contract, it must implement {IERC721Receiver-onERC721Received}, which is called upon a safe transfer.
     *
     * Emits a {Transfer} event.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Note that the caller is responsible to confirm that the recipient is capable of receiving ERC721
     * or else they may be permanently lost. Usage of {safeTransferFrom} prevents loss, though the caller must
     * understand this adds an external call which potentially creates a reentrancy vulnerability.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

    /**
     * @dev Gives permission to `to` to transfer `tokenId` token to another account.
     * The approval is cleared when the token is transferred.
     *
     * Only a single account can be approved at a time, so approving the zero address clears previous approvals.
     *
     * Requirements:
     *
     * - The caller must own the token or be an approved operator.
     * - `tokenId` must exist.
     *
     * Emits an {Approval} event.
     */
    function approve(address to, uint256 tokenId) external;

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

    /**
     * @dev Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

    /**
     * @dev Returns if the `operator` is allowed to manage all of the assets of `owner`.
     *
     * See {setApprovalForAll}
     */
    function isApprovedForAll(address owner, address operator) external view returns (bool);
}

File 7 of 10 : Context.sol
// SPDX-License-Identifier: MIT
// 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 Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

File 8 of 10 : IERC165.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC165 standard, as defined in the
 * https://eips.ethereum.org/EIPS/eip-165[EIP].
 *
 * Implementers can declare support of contract interfaces, which can then be
 * queried by others ({ERC165Checker}).
 *
 * For an implementation, see {ERC165}.
 */
interface IERC165 {
    /**
     * @dev Returns true if this contract implements the interface defined by
     * `interfaceId`. See the corresponding
     * https://eips.ethereum.org/EIPS/eip-165#how-interfaces-are-identified[EIP section]
     * to learn more about how these ids are created.
     *
     * This function call must use less than 30 000 gas.
     */
    function supportsInterface(bytes4 interfaceId) external view returns (bool);
}

File 9 of 10 : IAnyCall.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IAnyCall {
    function anyCall(address _to, bytes calldata _data, address _fallback, uint256 _toChainID, uint256 _flags) external;

    function executor() external view returns (address executor);
}

File 10 of 10 : IExecutor.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

interface IExecutor {
    function context() external returns (address from, uint256 fromChainID, uint256 nonce);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "remappings": [
    "ds-test/=lib/forge-std/lib/ds-test/src/",
    "forge-std/=lib/forge-std/src/",
    "interfaces/=src/interfaces/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/"
  ],
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"_anyCall","type":"address"},{"internalType":"address","name":"_ibToken","type":"address"},{"internalType":"address","name":"_receiver","type":"address"},{"internalType":"address","name":"_rIB","type":"address"},{"internalType":"uint256","name":"_srcChainId","type":"uint256"},{"internalType":"uint256","name":"_destChainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"merge","type":"bool"}],"name":"LockFailed","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"bool","name":"merge","type":"bool"}],"name":"LockInitiated","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":"PAY_FEE_ON_DEST_CHAIN","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"anyCall","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"anyExecute","outputs":[{"internalType":"bool","name":"success","type":"bool"},{"internalType":"bytes","name":"result","type":"bytes"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_initialCallTo","type":"address"},{"internalType":"bytes","name":"_initialCallData","type":"bytes"}],"name":"anyFallback","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"anycallExecutor","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"address","name":"user","type":"address"},{"internalType":"bool","name":"merge","type":"bool"}],"name":"crossChainLock","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"destChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"ibToken","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"minimumLockAmount","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":"rIB","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiver","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"seize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_receiver","type":"address"}],"name":"setReceiver","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"srcChainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101406040523480156200001257600080fd5b50604051620014d8380380620014d8833981016040819052620000359162000270565b620000403362000203565b600180556001600160a01b038616620000a05760405162461bcd60e51b815260206004820152601b60248201527f616e7943616c6c20616464726573732063616e6e6f742062652030000000000060448201526064015b60405180910390fd5b6001600160a01b038516620000f85760405162461bcd60e51b815260206004820152601b60248201527f6962546f6b656e20616464726573732063616e6e6f7420626520300000000000604482015260640162000097565b6001600160a01b038416620001505760405162461bcd60e51b815260206004820152601c60248201527f726563656976657220616464726573732063616e6e6f74206265203000000000604482015260640162000097565b6001600160a01b03861660a08190526040805163c34c08e560e01b8152905163c34c08e5916004808201926020929091908290030181865afa1580156200019b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c19190620002df565b6001600160a01b0390811660805294851660c05291841660e052600280546001600160a01b031916939094169290921790925561010052610120525062000304565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80516001600160a01b03811681146200026b57600080fd5b919050565b60008060008060008060c087890312156200028a57600080fd5b620002958762000253565b9550620002a56020880162000253565b9450620002b56040880162000253565b9350620002c56060880162000253565b92506080870151915060a087015190509295509295509295565b600060208284031215620002f257600080fd5b620002fd8262000253565b9392505050565b60805160a05160c05160e0516101005161012051611153620003856000396000818161022701526109a601526000818161017701526104b80152600081816101cc01526107280152600081816101150152610884015260008181610288015261097001526000818161024e01528181610393015261041901526111536000f3fe608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a35fe8bf116100a2578063e6d66a1d11610071578063e6d66a1d14610283578063eb9253c0146102aa578063f2fde38b146102bd578063f7260d3e146102d0578063f911925e146102e357600080fd5b8063a35fe8bf1461020f578063c4af1c0b14610222578063d2c7dfcc14610249578063d71ed4681461027057600080fd5b8063718da7ee116100de578063718da7ee146101a35780638da5cb5b146101b65780639031ef4e146101c75780639abaf479146101ee57600080fd5b80630a8a5a5f1461011057806344f53c011461015457806349d1260514610172578063715018a614610199575b600080fd5b6101377f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6101646802b5e3af16b188000081565b60405190815260200161014b565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b6101a16102eb565b005b6101a16101b1366004610c95565b6102ff565b6000546001600160a01b0316610137565b6101377f000000000000000000000000000000000000000000000000000000000000000081565b6102016101fc366004610cfb565b610384565b60405161014b929190610d8a565b6101a161021d366004610dad565b6105e7565b6101647f000000000000000000000000000000000000000000000000000000000000000081565b6101377f000000000000000000000000000000000000000000000000000000000000000081565b6101a161027e366004610e10565b61071d565b6101377f000000000000000000000000000000000000000000000000000000000000000081565b6101a16102b8366004610e5a565b610a64565b6101a16102cb366004610c95565b610b03565b600254610137906001600160a01b031681565b610164600081565b6102f3610b7c565b6102fd6000610bd6565b565b610307610b7c565b6001600160a01b0381166103625760405162461bcd60e51b815260206004820152601c60248201527f726563656976657220616464726573732063616e6e6f7420626520300000000060448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006060336001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000161461040c5760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206578656375746f722063616e2063616c6c20746869732066756e636044820152633a34b7b760e11b6064820152608401610359565b610414610c26565b6000807f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663d0496d6a6040518163ffffffff1660e01b81526004016060604051808303816000875af1158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610e86565b50909250905060006001600160a01b038316301480156104da57507f000000000000000000000000000000000000000000000000000000000000000082145b9050600063a35fe8bf60e01b6104f36004838a8c610ebd565b6104fc91610ee7565b6001600160e01b031916149050811580610514575080155b156105415760006040518060600160405280602381526020016110fb6023913995509550505050506105d7565b600080610551896004818d610ebd565b81019061055e9190610f5e565b60405163a35fe8bf60e01b81529193509150309063a35fe8bf906105889085908590600401611006565b600060405180830381600087803b1580156105a257600080fd5b505af11580156105b6573d6000803e3d6000fd5b50505050600160405180602001604052806000815250975097505050505050505b6105e060018055565b9250929050565b3330146106485760405162461bcd60e51b815260206004820152602960248201527f4f6e6c79207468697320636f6e74726163742063616e2063616c6c207468697360448201526810333ab731ba34b7b760b91b6064820152608401610359565b6002546001600160a01b038481169116146106a55760405162461bcd60e51b815260206004820152601a60248201527f496e636f727265637420726563656976657220616464726573730000000000006044820152606401610359565b60006106b38284018461102a565b80516020808301516040808501516060808701518351968752948601939093526001600160a01b031690840152901515908201529091507fff7bd953257ad12cd9ccd3c2d3a3c24d9c6ca9ce47832f46d7c0534f3365b3b39060800160405180910390a150505050565b336001600160a01b037f000000000000000000000000000000000000000000000000000000000000000016146107955760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c79207249422063616e2063616c6c20746869732066756e6374696f6e006044820152606401610359565b61079d610c26565b6802b5e3af16b188000084101561080c5760405162461bcd60e51b815260206004820152602d60248201527f616d6f756e74206d7573742062652067726561746572207468616e206d696e6960448201526c1b5d5b531bd8dad05b5bdd5b9d609a1b6064820152608401610359565b6001600160a01b0382166108625760405162461bcd60e51b815260206004820152601860248201527f7573657220616464726573732063616e6e6f74206265203000000000000000006044820152606401610359565b6040516323b872dd60e01b8152336004820152306024820152604481018590527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906323b872dd906064016020604051808303816000875af11580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f9919061109f565b50604080516080808201835286825260208083018781526001600160a01b03878116858701908152871515606080880191825260025489519687018e90529451868a01529151831691850191909152511515838501528551808403909401845260a083019586905263bd45c4e760e01b90955292937f000000000000000000000000000000000000000000000000000000000000000081169363bd45c4e7936109d19391909216919030907f00000000000000000000000000000000000000000000000000000000000000009060009060a4016110bc565b600060405180830381600087803b1580156109eb57600080fd5b505af11580156109ff573d6000803e3d6000fd5b505060408051888152602081018890526001600160a01b03871681830152851515606082015290517f2a92e99f004b10ebed8616fef6c10e51295cb89fa5bd69682269550eb1c49e6b9350908190036080019150a150610a5e60018055565b50505050565b610a6c610b7c565b816001600160a01b031663a9059cbb610a8d6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe919061109f565b505050565b610b0b610b7c565b6001600160a01b038116610b705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610359565b610b7981610bd6565b50565b6000546001600160a01b031633146102fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610359565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60026001541415610c795760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610359565b6002600155565b6001600160a01b0381168114610b7957600080fd5b600060208284031215610ca757600080fd5b8135610cb281610c80565b9392505050565b60008083601f840112610ccb57600080fd5b50813567ffffffffffffffff811115610ce357600080fd5b6020830191508360208285010111156105e057600080fd5b60008060208385031215610d0e57600080fd5b823567ffffffffffffffff811115610d2557600080fd5b610d3185828601610cb9565b90969095509350505050565b6000815180845260005b81811015610d6357602081850181015186830182015201610d47565b81811115610d75576000602083870101525b50601f01601f19169290920160200192915050565b8215158152604060208201526000610da56040830184610d3d565b949350505050565b600080600060408486031215610dc257600080fd5b8335610dcd81610c80565b9250602084013567ffffffffffffffff811115610de957600080fd5b610df586828701610cb9565b9497909650939450505050565b8015158114610b7957600080fd5b60008060008060808587031215610e2657600080fd5b84359350602085013592506040850135610e3f81610c80565b91506060850135610e4f81610e02565b939692955090935050565b60008060408385031215610e6d57600080fd5b8235610e7881610c80565b946020939093013593505050565b600080600060608486031215610e9b57600080fd5b8351610ea681610c80565b602085015160409095015190969495509392505050565b60008085851115610ecd57600080fd5b83861115610eda57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610f0f5780818660040360031b1b83161692505b505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610f5657610f56610f17565b604052919050565b60008060408385031215610f7157600080fd5b8235610f7c81610c80565b915060208381013567ffffffffffffffff80821115610f9a57600080fd5b818601915086601f830112610fae57600080fd5b813581811115610fc057610fc0610f17565b610fd2601f8201601f19168501610f2d565b91508082528784828501011115610fe857600080fd5b80848401858401376000848284010152508093505050509250929050565b6001600160a01b0383168152604060208201819052600090610da590830184610d3d565b60006080828403121561103c57600080fd5b6040516080810181811067ffffffffffffffff8211171561105f5761105f610f17565b80604052508235815260208301356020820152604083013561108081610c80565b6040820152606083013561109381610e02565b60608201529392505050565b6000602082840312156110b157600080fd5b8151610cb281610e02565b600060018060a01b03808816835260a060208401526110de60a0840188610d3d565b951660408301525060608101929092526080909101529291505056fe696e76616c696420736f75726365206f722066756e6374696f6e2073656c6563746f72a2646970667358221220e67111c5c208ec2b7d64b08a9bbe494fe9dc182b04357bcd03bfbc34e29f2ea864736f6c634300080b00330000000000000000000000003d4e1981f822e87a1a4c05f2e4b3bcade5406ae3000000000000000000000000beb61b41ce951ce3b1775edf5d9bc7871a2b072c000000000000000000000000e39e3778aac8f23995c169e3900e00e2c6b8e7d5000000000000000000000000d60922c145345c9963153137ee7cd37017a8568d00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000fa2

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061010b5760003560e01c8063a35fe8bf116100a2578063e6d66a1d11610071578063e6d66a1d14610283578063eb9253c0146102aa578063f2fde38b146102bd578063f7260d3e146102d0578063f911925e146102e357600080fd5b8063a35fe8bf1461020f578063c4af1c0b14610222578063d2c7dfcc14610249578063d71ed4681461027057600080fd5b8063718da7ee116100de578063718da7ee146101a35780638da5cb5b146101b65780639031ef4e146101c75780639abaf479146101ee57600080fd5b80630a8a5a5f1461011057806344f53c011461015457806349d1260514610172578063715018a614610199575b600080fd5b6101377f000000000000000000000000beb61b41ce951ce3b1775edf5d9bc7871a2b072c81565b6040516001600160a01b0390911681526020015b60405180910390f35b6101646802b5e3af16b188000081565b60405190815260200161014b565b6101647f000000000000000000000000000000000000000000000000000000000000000581565b6101a16102eb565b005b6101a16101b1366004610c95565b6102ff565b6000546001600160a01b0316610137565b6101377f000000000000000000000000d60922c145345c9963153137ee7cd37017a8568d81565b6102016101fc366004610cfb565b610384565b60405161014b929190610d8a565b6101a161021d366004610dad565b6105e7565b6101647f0000000000000000000000000000000000000000000000000000000000000fa281565b6101377f000000000000000000000000c84fb820700aca6e06719a35c33b0d50b1b4097081565b6101a161027e366004610e10565b61071d565b6101377f0000000000000000000000003d4e1981f822e87a1a4c05f2e4b3bcade5406ae381565b6101a16102b8366004610e5a565b610a64565b6101a16102cb366004610c95565b610b03565b600254610137906001600160a01b031681565b610164600081565b6102f3610b7c565b6102fd6000610bd6565b565b610307610b7c565b6001600160a01b0381166103625760405162461bcd60e51b815260206004820152601c60248201527f726563656976657220616464726573732063616e6e6f7420626520300000000060448201526064015b60405180910390fd5b600280546001600160a01b0319166001600160a01b0392909216919091179055565b60006060336001600160a01b037f000000000000000000000000c84fb820700aca6e06719a35c33b0d50b1b40970161461040c5760405162461bcd60e51b8152602060048201526024808201527f4f6e6c79206578656375746f722063616e2063616c6c20746869732066756e636044820152633a34b7b760e11b6064820152608401610359565b610414610c26565b6000807f000000000000000000000000c84fb820700aca6e06719a35c33b0d50b1b409706001600160a01b031663d0496d6a6040518163ffffffff1660e01b81526004016060604051808303816000875af1158015610477573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061049b9190610e86565b50909250905060006001600160a01b038316301480156104da57507f000000000000000000000000000000000000000000000000000000000000000582145b9050600063a35fe8bf60e01b6104f36004838a8c610ebd565b6104fc91610ee7565b6001600160e01b031916149050811580610514575080155b156105415760006040518060600160405280602381526020016110fb6023913995509550505050506105d7565b600080610551896004818d610ebd565b81019061055e9190610f5e565b60405163a35fe8bf60e01b81529193509150309063a35fe8bf906105889085908590600401611006565b600060405180830381600087803b1580156105a257600080fd5b505af11580156105b6573d6000803e3d6000fd5b50505050600160405180602001604052806000815250975097505050505050505b6105e060018055565b9250929050565b3330146106485760405162461bcd60e51b815260206004820152602960248201527f4f6e6c79207468697320636f6e74726163742063616e2063616c6c207468697360448201526810333ab731ba34b7b760b91b6064820152608401610359565b6002546001600160a01b038481169116146106a55760405162461bcd60e51b815260206004820152601a60248201527f496e636f727265637420726563656976657220616464726573730000000000006044820152606401610359565b60006106b38284018461102a565b80516020808301516040808501516060808701518351968752948601939093526001600160a01b031690840152901515908201529091507fff7bd953257ad12cd9ccd3c2d3a3c24d9c6ca9ce47832f46d7c0534f3365b3b39060800160405180910390a150505050565b336001600160a01b037f000000000000000000000000d60922c145345c9963153137ee7cd37017a8568d16146107955760405162461bcd60e51b815260206004820152601f60248201527f4f6e6c79207249422063616e2063616c6c20746869732066756e6374696f6e006044820152606401610359565b61079d610c26565b6802b5e3af16b188000084101561080c5760405162461bcd60e51b815260206004820152602d60248201527f616d6f756e74206d7573742062652067726561746572207468616e206d696e6960448201526c1b5d5b531bd8dad05b5bdd5b9d609a1b6064820152608401610359565b6001600160a01b0382166108625760405162461bcd60e51b815260206004820152601860248201527f7573657220616464726573732063616e6e6f74206265203000000000000000006044820152606401610359565b6040516323b872dd60e01b8152336004820152306024820152604481018590527f000000000000000000000000beb61b41ce951ce3b1775edf5d9bc7871a2b072c6001600160a01b0316906323b872dd906064016020604051808303816000875af11580156108d5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f9919061109f565b50604080516080808201835286825260208083018781526001600160a01b03878116858701908152871515606080880191825260025489519687018e90529451868a01529151831691850191909152511515838501528551808403909401845260a083019586905263bd45c4e760e01b90955292937f0000000000000000000000003d4e1981f822e87a1a4c05f2e4b3bcade5406ae381169363bd45c4e7936109d19391909216919030907f0000000000000000000000000000000000000000000000000000000000000fa29060009060a4016110bc565b600060405180830381600087803b1580156109eb57600080fd5b505af11580156109ff573d6000803e3d6000fd5b505060408051888152602081018890526001600160a01b03871681830152851515606082015290517f2a92e99f004b10ebed8616fef6c10e51295cb89fa5bd69682269550eb1c49e6b9350908190036080019150a150610a5e60018055565b50505050565b610a6c610b7c565b816001600160a01b031663a9059cbb610a8d6000546001600160a01b031690565b6040516001600160e01b031960e084901b1681526001600160a01b039091166004820152602481018490526044016020604051808303816000875af1158015610ada573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610afe919061109f565b505050565b610b0b610b7c565b6001600160a01b038116610b705760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610359565b610b7981610bd6565b50565b6000546001600160a01b031633146102fd5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610359565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60026001541415610c795760405162461bcd60e51b815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610359565b6002600155565b6001600160a01b0381168114610b7957600080fd5b600060208284031215610ca757600080fd5b8135610cb281610c80565b9392505050565b60008083601f840112610ccb57600080fd5b50813567ffffffffffffffff811115610ce357600080fd5b6020830191508360208285010111156105e057600080fd5b60008060208385031215610d0e57600080fd5b823567ffffffffffffffff811115610d2557600080fd5b610d3185828601610cb9565b90969095509350505050565b6000815180845260005b81811015610d6357602081850181015186830182015201610d47565b81811115610d75576000602083870101525b50601f01601f19169290920160200192915050565b8215158152604060208201526000610da56040830184610d3d565b949350505050565b600080600060408486031215610dc257600080fd5b8335610dcd81610c80565b9250602084013567ffffffffffffffff811115610de957600080fd5b610df586828701610cb9565b9497909650939450505050565b8015158114610b7957600080fd5b60008060008060808587031215610e2657600080fd5b84359350602085013592506040850135610e3f81610c80565b91506060850135610e4f81610e02565b939692955090935050565b60008060408385031215610e6d57600080fd5b8235610e7881610c80565b946020939093013593505050565b600080600060608486031215610e9b57600080fd5b8351610ea681610c80565b602085015160409095015190969495509392505050565b60008085851115610ecd57600080fd5b83861115610eda57600080fd5b5050820193919092039150565b6001600160e01b03198135818116916004851015610f0f5780818660040360031b1b83161692505b505092915050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff81118282101715610f5657610f56610f17565b604052919050565b60008060408385031215610f7157600080fd5b8235610f7c81610c80565b915060208381013567ffffffffffffffff80821115610f9a57600080fd5b818601915086601f830112610fae57600080fd5b813581811115610fc057610fc0610f17565b610fd2601f8201601f19168501610f2d565b91508082528784828501011115610fe857600080fd5b80848401858401376000848284010152508093505050509250929050565b6001600160a01b0383168152604060208201819052600090610da590830184610d3d565b60006080828403121561103c57600080fd5b6040516080810181811067ffffffffffffffff8211171561105f5761105f610f17565b80604052508235815260208301356020820152604083013561108081610c80565b6040820152606083013561109381610e02565b60608201529392505050565b6000602082840312156110b157600080fd5b8151610cb281610e02565b600060018060a01b03808816835260a060208401526110de60a0840188610d3d565b951660408301525060608101929092526080909101529291505056fe696e76616c696420736f75726365206f722066756e6374696f6e2073656c6563746f72a2646970667358221220e67111c5c208ec2b7d64b08a9bbe494fe9dc182b04357bcd03bfbc34e29f2ea864736f6c634300080b0033

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

0000000000000000000000003d4e1981f822e87a1a4c05f2e4b3bcade5406ae3000000000000000000000000beb61b41ce951ce3b1775edf5d9bc7871a2b072c000000000000000000000000e39e3778aac8f23995c169e3900e00e2c6b8e7d5000000000000000000000000d60922c145345c9963153137ee7cd37017a8568d00000000000000000000000000000000000000000000000000000000000000050000000000000000000000000000000000000000000000000000000000000fa2

-----Decoded View---------------
Arg [0] : _anyCall (address): 0x3D4e1981f822e87A1A4C05F2e4b3bcAdE5406AE3
Arg [1] : _ibToken (address): 0xBeb61B41Ce951Ce3B1775eDF5d9Bc7871a2b072c
Arg [2] : _receiver (address): 0xe39E3778aAc8F23995c169E3900e00E2c6b8e7D5
Arg [3] : _rIB (address): 0xd60922c145345c9963153137EE7CD37017A8568d
Arg [4] : _srcChainId (uint256): 5
Arg [5] : _destChainId (uint256): 4002

-----Encoded View---------------
6 Constructor Arguments found :
Arg [0] : 0000000000000000000000003d4e1981f822e87a1a4c05f2e4b3bcade5406ae3
Arg [1] : 000000000000000000000000beb61b41ce951ce3b1775edf5d9bc7871a2b072c
Arg [2] : 000000000000000000000000e39e3778aac8f23995c169e3900e00e2c6b8e7d5
Arg [3] : 000000000000000000000000d60922c145345c9963153137ee7cd37017a8568d
Arg [4] : 0000000000000000000000000000000000000000000000000000000000000005
Arg [5] : 0000000000000000000000000000000000000000000000000000000000000fa2


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ 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.