Sepolia Testnet

Contract

0x7d164F30f0b6a2ABAE55Adae9645a22268747D61
Transaction Hash
Method
Block
From
To
Lock78227102025-03-03 8:09:1219 days ago1740989352IN
0x7d164F30...268747D61
0.1 ETH0.0021465822.6086703
Lock78226832025-03-03 8:03:1219 days ago1740988992IN
0x7d164F30...268747D61
0.2 ETH0.0023382124.62705224
Lock78226832025-03-03 8:03:1219 days ago1740988992IN
0x7d164F30...268747D61
0.2 ETH0.0023382124.62705224
Lock78207272025-03-03 1:09:4819 days ago1740964188IN
0x7d164F30...268747D61
0.1 ETH0.0001711.8011213
Lock78206852025-03-03 1:01:1219 days ago1740963672IN
0x7d164F30...268747D61
0.08 ETH0.000169171.78183283
Lock78206082025-03-03 0:44:2419 days ago1740962664IN
0x7d164F30...268747D61
0.1 ETH0.000168381.77346805
Lock78205712025-03-03 0:36:4819 days ago1740962208IN
0x7d164F30...268747D61
0.07 ETH0.000169321.78364332
Lock78205362025-03-03 0:29:1219 days ago1740961752IN
0x7d164F30...268747D61
0.1 ETH0.000169841.78888812
Lock78196312025-03-02 21:10:3619 days ago1740949836IN
0x7d164F30...268747D61
0.06 ETH0.000171521.8067932
Lock78195822025-03-02 21:00:0019 days ago1740949200IN
0x7d164F30...268747D61
0.1 ETH0.000034470.36305416
Lock78195692025-03-02 20:57:2419 days ago1740949044IN
0x7d164F30...268747D61
0.3 ETH0.000041010.43197067
Lock78138392025-03-02 0:45:1220 days ago1740876312IN
0x7d164F30...268747D61
0.08 ETH0.000173441.82679303
Lock78138122025-03-02 0:39:3620 days ago1740875976IN
0x7d164F30...268747D61
0.07 ETH0.000036970.38950711
Lock78137282025-03-02 0:22:1220 days ago1740874932IN
0x7d164F30...268747D61
0.07 ETH0.000039110.41206197
Lock78137212025-03-02 0:20:4820 days ago1740874848IN
0x7d164F30...268747D61
0.08 ETH0.000038730.40798215
Lock78137112025-03-02 0:18:4820 days ago1740874728IN
0x7d164F30...268747D61
0.08 ETH0.00004390.4624143
Lock78104492025-03-01 12:55:3621 days ago1740833736IN
0x7d164F30...268747D61
0.1 ETH0.000310253.26773654
Lock78020812025-02-28 7:25:0022 days ago1740727500IN
0x7d164F30...268747D61
0.07 ETH0.000597726.29631792
Lock78020762025-02-28 7:23:4822 days ago1740727428IN
0x7d164F30...268747D61
0.1047 ETH0.000535915.64381397
Lock66571942024-09-08 20:49:48194 days ago1725828588IN
0x7d164F30...268747D61
0.05 ETH0.000474695.00032888
Lock66557242024-09-08 14:50:00195 days ago1725807000IN
0x7d164F30...268747D61
0.05 ETH0.000858819.04657971
Lock66542452024-09-08 8:49:48195 days ago1725785388IN
0x7d164F30...268747D61
0.05 ETH0.000452994.77175272
Lock66527492024-09-08 2:50:00195 days ago1725763800IN
0x7d164F30...268747D61
0.05 ETH0.000614626.47428311
Lock66512522024-09-07 20:50:12195 days ago1725742212IN
0x7d164F30...268747D61
0.05 ETH0.000074850.78852326
Lock66497772024-09-07 14:49:48196 days ago1725720588IN
0x7d164F30...268747D61
0.05 ETH0.000454264.78507816
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Lock78227102025-03-03 8:09:1219 days ago1740989352
0x7d164F30...268747D61
0.05 ETH
Lock78226832025-03-03 8:03:1219 days ago1740988992
0x7d164F30...268747D61
0.15 ETH
Lock78226832025-03-03 8:03:1219 days ago1740988992
0x7d164F30...268747D61
0.15 ETH
Lock78207272025-03-03 1:09:4819 days ago1740964188
0x7d164F30...268747D61
0.05 ETH
Lock78206852025-03-03 1:01:1219 days ago1740963672
0x7d164F30...268747D61
0.03 ETH
Lock78206082025-03-03 0:44:2419 days ago1740962664
0x7d164F30...268747D61
0.05 ETH
Lock78205712025-03-03 0:36:4819 days ago1740962208
0x7d164F30...268747D61
0.02 ETH
Lock78205362025-03-03 0:29:1219 days ago1740961752
0x7d164F30...268747D61
0.05 ETH
Lock78196312025-03-02 21:10:3619 days ago1740949836
0x7d164F30...268747D61
0.01 ETH
Lock78195822025-03-02 21:00:0019 days ago1740949200
0x7d164F30...268747D61
0.05 ETH
Lock78195692025-03-02 20:57:2419 days ago1740949044
0x7d164F30...268747D61
0.25 ETH
Lock78138392025-03-02 0:45:1220 days ago1740876312
0x7d164F30...268747D61
0.03 ETH
Lock78138122025-03-02 0:39:3620 days ago1740875976
0x7d164F30...268747D61
0.02 ETH
Lock78137282025-03-02 0:22:1220 days ago1740874932
0x7d164F30...268747D61
0.02 ETH
Lock78137212025-03-02 0:20:4820 days ago1740874848
0x7d164F30...268747D61
0.03 ETH
Lock78137112025-03-02 0:18:4820 days ago1740874728
0x7d164F30...268747D61
0.03 ETH
Lock78104492025-03-01 12:55:3621 days ago1740833736
0x7d164F30...268747D61
0.05 ETH
Lock78020812025-02-28 7:25:0022 days ago1740727500
0x7d164F30...268747D61
0.02 ETH
Lock78020762025-02-28 7:23:4822 days ago1740727428
0x7d164F30...268747D61
0.0547 ETH
Lock66571942024-09-08 20:49:48194 days ago1725828588
0x7d164F30...268747D61
0.04 ETH
Lock66557242024-09-08 14:50:00195 days ago1725807000
0x7d164F30...268747D61
0.04 ETH
Lock66542452024-09-08 8:49:48195 days ago1725785388
0x7d164F30...268747D61
0.04 ETH
Lock66527492024-09-08 2:50:00195 days ago1725763800
0x7d164F30...268747D61
0.04 ETH
Lock66512522024-09-07 20:50:12195 days ago1725742212
0x7d164F30...268747D61
0.04 ETH
Lock66497772024-09-07 14:49:48196 days ago1725720588
0x7d164F30...268747D61
0.04 ETH
View All Internal Transactions
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x7C5D33Bf...7fAedF36e
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
WrapperV1

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

File 1 of 10 : WrapperV1.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

import "openzeppelin-contracts/contracts/access/Ownable.sol";
import "openzeppelin-contracts/contracts/token/ERC20/IERC20.sol";
import "openzeppelin-contracts/contracts/token/ERC20/utils/SafeERC20.sol";
import "openzeppelin-contracts/contracts/security/Pausable.sol";
import "openzeppelin-contracts/contracts/security/ReentrancyGuard.sol";
import "../lock_proxy/interfaces/ILockProxy.sol";

contract WrapperV1 is Ownable, Pausable {
    using SafeERC20 for IERC20;

    uint public chainId;

    address public feeCollector;

    ILockProxy public lockProxy;

    event WrapperSpeedUp(
        address indexed fromAsset,
        bytes indexed txHash,
        address indexed sender,
        uint efee
    );
    event WrapperLock(
        address indexed fromAsset,
        address indexed sender,
        uint64 toChainId,
        bytes toAddress,
        uint net,
        uint fee
    );

    constructor(address _owner, address _collector, uint _chainId) {
        require(_owner != address(0) && _chainId != 0, "!legal");
        transferOwnership(_owner);
        chainId = _chainId;
        feeCollector = _collector;
    }

    function setFeeCollector(address _collector) external onlyOwner {
        require(_collector != address(0), "emtpy address");
        feeCollector = _collector;
    }

    function setLockProxy(address _lockProxy) external onlyOwner {
        require(_lockProxy != address(0));
        lockProxy = ILockProxy(_lockProxy);
        require(lockProxy.bridgeProxy() != address(0), "not lockproxy");
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function extractFee(address token) external {
        require(msg.sender == feeCollector, "!feeCollector");
        if (token == address(0)) {
            payable(msg.sender).transfer(address(this).balance);
        } else {
            IERC20(token).safeTransfer(
                feeCollector,
                IERC20(token).balanceOf(address(this))
            );
        }
    }

    function lock(
        address fromAsset,
        uint16 toChainId,
        bytes memory toAddress,
        uint amount,
        uint fee
    ) public payable whenNotPaused {
        require(toChainId != chainId && toChainId != 0, "!toChainId");
        require(toAddress.length != 0, "empty toAddress");
        address addr;
        assembly {
            addr := mload(add(toAddress, 0x14))
        }
        require(addr != address(0), "zero toAddress");

        _pull(fromAsset, amount);

        amount = _checkoutFee(fromAsset, amount, fee);

        _push(fromAsset, toChainId, toAddress, amount);

        emit WrapperLock(
            fromAsset,
            msg.sender,
            toChainId,
            toAddress,
            amount,
            fee
        );
    }

    function speedUp(
        address fromAsset,
        bytes memory txHash,
        uint fee
    ) public payable whenNotPaused {
        _pull(fromAsset, fee);
        emit WrapperSpeedUp(fromAsset, txHash, msg.sender, fee);
    }

    // take fee in the form of ether
    function _checkoutFee(
        address fromAsset,
        uint amount,
        uint fee
    ) internal view returns (uint) {
        if (fromAsset == address(0)) {
            require(msg.value >= amount, "insufficient ether");
            require(amount > fee, "amount less than fee");
            return amount - fee;
        } else {
            require(msg.value >= fee, "insufficient ether");
            return amount;
        }
    }

    function _pull(address fromAsset, uint amount) internal {
        if (fromAsset == address(0)) {
            require(msg.value == amount, "insufficient ether");
        } else {
            IERC20(fromAsset).safeTransferFrom(
                msg.sender,
                address(this),
                amount
            );
        }
    }

    function _push(
        address fromAsset,
        uint16 toChainId,
        bytes memory toAddress,
        uint amount
    ) internal {
        if (fromAsset == address(0)) {
            require(
                lockProxy.lock{value: amount}(
                    fromAsset,
                    toChainId,
                    toAddress,
                    amount
                ),
                "lock ether fail"
            );
        } else {
            IERC20(fromAsset).safeIncreaseAllowance(address(lockProxy), amount);
            require(
                lockProxy.lock(fromAsset, toChainId, toAddress, amount),
                "lock erc20 fail"
            );
        }
    }
}

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 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor() {
        _paused = false;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        _requireNotPaused();
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        _requirePaused();
        _;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Throws if the contract is paused.
     */
    function _requireNotPaused() internal view virtual {
        require(!paused(), "Pausable: paused");
    }

    /**
     * @dev Throws if the contract is not paused.
     */
    function _requirePaused() internal view virtual {
        require(paused(), "Pausable: not paused");
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

File 4 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 5 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 6 of 10 : draft-IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on {IERC20-approve}, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over ``owner``'s tokens,
     * given ``owner``'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for {permit}, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

File 7 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.sol";
import "../../../utils/Address.sol";

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

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

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

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

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

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

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

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

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

File 8 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

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

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

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

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

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

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

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

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

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

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

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // Look for revert reason and bubble it up if present
        if (returndata.length > 0) {
            // The easiest way to bubble the revert reason is using memory via assembly
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

File 9 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 10 of 10 : ILockProxy.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.13;

interface ILockProxy {
    function bridgeProxy() external view returns (address);

    function lock(
        address fromAssetHash,
        uint16 toChainId,
        bytes calldata toAddress,
        uint256 amount
    ) external payable returns (bool);
}

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

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_collector","type":"address"},{"internalType":"uint256","name":"_chainId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAsset","type":"address"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint64","name":"toChainId","type":"uint64"},{"indexed":false,"internalType":"bytes","name":"toAddress","type":"bytes"},{"indexed":false,"internalType":"uint256","name":"net","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"fee","type":"uint256"}],"name":"WrapperLock","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"fromAsset","type":"address"},{"indexed":true,"internalType":"bytes","name":"txHash","type":"bytes"},{"indexed":true,"internalType":"address","name":"sender","type":"address"},{"indexed":false,"internalType":"uint256","name":"efee","type":"uint256"}],"name":"WrapperSpeedUp","type":"event"},{"inputs":[],"name":"chainId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"extractFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"fromAsset","type":"address"},{"internalType":"uint16","name":"toChainId","type":"uint16"},{"internalType":"bytes","name":"toAddress","type":"bytes"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"lock","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"lockProxy","outputs":[{"internalType":"contract ILockProxy","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_collector","type":"address"}],"name":"setFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_lockProxy","type":"address"}],"name":"setLockProxy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"fromAsset","type":"address"},{"internalType":"bytes","name":"txHash","type":"bytes"},{"internalType":"uint256","name":"fee","type":"uint256"}],"name":"speedUp","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106100dd5760003560e01c80638da5cb5b1161007f578063a42dce8011610059578063a42dce801461021b578063c415b95c1461023b578063d3ed7c761461025b578063f2fde38b1461026e57600080fd5b80638da5cb5b146101a55780639a8a0592146101d75780639d4dc021146101fb57600080fd5b80635c975abb116100bb5780635c975abb1461012c5780636f2b6ee61461015b578063715018a61461017b5780638456cb591461019057600080fd5b80631745399d146100e25780632a986e34146101045780633f4ba83a14610117575b600080fd5b3480156100ee57600080fd5b506101026100fd366004610fb3565b61028e565b005b610102610112366004611073565b6103a3565b34801561012357600080fd5b50610102610508565b34801561013857600080fd5b50600054600160a01b900460ff1660405190151581526020015b60405180910390f35b34801561016757600080fd5b50610102610176366004610fb3565b61051a565b34801561018757600080fd5b506101026105fb565b34801561019c57600080fd5b5061010261060d565b3480156101b157600080fd5b506000546001600160a01b03165b6040516001600160a01b039091168152602001610152565b3480156101e357600080fd5b506101ed60015481565b604051908152602001610152565b34801561020757600080fd5b506003546101bf906001600160a01b031681565b34801561022757600080fd5b50610102610236366004610fb3565b61061d565b34801561024757600080fd5b506002546101bf906001600160a01b031681565b6101026102693660046110ee565b61068d565b34801561027a57600080fd5b50610102610289366004610fb3565b6106ff565b6002546001600160a01b031633146102dd5760405162461bcd60e51b815260206004820152600d60248201526c10b332b2a1b7b63632b1ba37b960991b60448201526064015b60405180910390fd5b6001600160a01b03811661031b5760405133904780156108fc02916000818181858888f19350505050158015610317573d6000803e3d6000fd5b5050565b6002546040516370a0823160e01b81523060048201526103a0916001600160a01b0390811691908416906370a0823190602401602060405180830381865afa15801561036b573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061038f9190611147565b6001600160a01b0384169190610775565b50565b6103ab6107dd565b6001548461ffff16141580156103c4575061ffff841615155b6103fd5760405162461bcd60e51b815260206004820152600a602482015269085d1bd0da185a5b925960b21b60448201526064016102d4565b82516000036104405760405162461bcd60e51b815260206004820152600f60248201526e656d70747920746f4164647265737360881b60448201526064016102d4565b60148301516001600160a01b03811661048c5760405162461bcd60e51b815260206004820152600e60248201526d7a65726f20746f4164647265737360901b60448201526064016102d4565b610496868461082a565b6104a186848461086c565b92506104af8686868661091d565b336001600160a01b0316866001600160a01b03167ffed162bc92844d868aeee15dc79af2ef4aac1ef57805f4eec865983f4d35efd9878787876040516104f894939291906111b8565b60405180910390a3505050505050565b610510610ac0565b610518610b1a565b565b610522610ac0565b6001600160a01b03811661053557600080fd5b600380546001600160a01b0319166001600160a01b0383169081179091556040805163a3d4485b60e01b815290516000929163a3d4485b9160048083019260209291908290030181865afa158015610591573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105b591906111e8565b6001600160a01b0316036103a05760405162461bcd60e51b815260206004820152600d60248201526c6e6f74206c6f636b70726f787960981b60448201526064016102d4565b610603610ac0565b6105186000610b6f565b610615610ac0565b610518610bbf565b610625610ac0565b6001600160a01b03811661066b5760405162461bcd60e51b815260206004820152600d60248201526c656d747079206164647265737360981b60448201526064016102d4565b600280546001600160a01b0319166001600160a01b0392909216919091179055565b6106956107dd565b61069f838261082a565b60405133906106af908490611205565b6040518091039020846001600160a01b03167faf37bd0c25cb61f0b24b15466a562ae998b44581bddeabf057a672970f5fe2a0846040516106f291815260200190565b60405180910390a4505050565b610707610ac0565b6001600160a01b03811661076c5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102d4565b6103a081610b6f565b6040516001600160a01b0383166024820152604481018290526107d890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610c02565b505050565b600054600160a01b900460ff16156105185760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016102d4565b6001600160a01b038216610857578034146103175760405162461bcd60e51b81526004016102d490611221565b6103176001600160a01b038316333084610cd4565b60006001600160a01b0384166108f3578234101561089c5760405162461bcd60e51b81526004016102d490611221565b8183116108e25760405162461bcd60e51b8152602060048201526014602482015273616d6f756e74206c657373207468616e2066656560601b60448201526064016102d4565b6108ec8284611263565b9050610916565b813410156109135760405162461bcd60e51b81526004016102d490611221565b50815b9392505050565b6001600160a01b0384166109e95760035460405163155ae4df60e01b81526001600160a01b039091169063155ae4df90839061096390889088908890859060040161127a565b60206040518083038185885af1158015610981573d6000803e3d6000fd5b50505050506040513d601f19601f820116820180604052508101906109a691906112b9565b6109e45760405162461bcd60e51b815260206004820152600f60248201526e1b1bd8dac8195d1a195c8819985a5b608a1b60448201526064016102d4565b610aba565b600354610a03906001600160a01b03868116911683610d0c565b60035460405163155ae4df60e01b81526001600160a01b039091169063155ae4df90610a3990879087908790879060040161127a565b6020604051808303816000875af1158015610a58573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a7c91906112b9565b610aba5760405162461bcd60e51b815260206004820152600f60248201526e1b1bd8dac8195c98cc8c0819985a5b608a1b60448201526064016102d4565b50505050565b6000546001600160a01b031633146105185760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102d4565b610b22610dbe565b6000805460ff60a01b191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610bc76107dd565b6000805460ff60a01b1916600160a01b1790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610b523390565b6000610c57826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610e0e9092919063ffffffff16565b8051909150156107d85780806020019051810190610c7591906112b9565b6107d85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102d4565b6040516001600160a01b0380851660248301528316604482015260648101829052610aba9085906323b872dd60e01b906084016107a1565b604051636eb1769f60e11b81523060048201526001600160a01b038381166024830152600091839186169063dd62ed3e90604401602060405180830381865afa158015610d5d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610d819190611147565b610d8b91906112db565b6040516001600160a01b038516602482015260448101829052909150610aba90859063095ea7b360e01b906064016107a1565b600054600160a01b900460ff166105185760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016102d4565b6060610e1d8484600085610e25565b949350505050565b606082471015610e865760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102d4565b600080866001600160a01b03168587604051610ea29190611205565b60006040518083038185875af1925050503d8060008114610edf576040519150601f19603f3d011682016040523d82523d6000602084013e610ee4565b606091505b5091509150610ef587838387610f00565b979650505050505050565b60608315610f6f578251600003610f68576001600160a01b0385163b610f685760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102d4565b5081610e1d565b610e1d8383815115610f845781518083602001fd5b8060405162461bcd60e51b81526004016102d491906112f3565b6001600160a01b03811681146103a057600080fd5b600060208284031215610fc557600080fd5b813561091681610f9e565b634e487b7160e01b600052604160045260246000fd5b600082601f830112610ff757600080fd5b813567ffffffffffffffff8082111561101257611012610fd0565b604051601f8301601f19908116603f0116810190828211818310171561103a5761103a610fd0565b8160405283815286602085880101111561105357600080fd5b836020870160208301376000602085830101528094505050505092915050565b600080600080600060a0868803121561108b57600080fd5b853561109681610f9e565b9450602086013561ffff811681146110ad57600080fd5b9350604086013567ffffffffffffffff8111156110c957600080fd5b6110d588828901610fe6565b9598949750949560608101359550608001359392505050565b60008060006060848603121561110357600080fd5b833561110e81610f9e565b9250602084013567ffffffffffffffff81111561112a57600080fd5b61113686828701610fe6565b925050604084013590509250925092565b60006020828403121561115957600080fd5b5051919050565b60005b8381101561117b578181015183820152602001611163565b83811115610aba5750506000910152565b600081518084526111a4816020860160208601611160565b601f01601f19169290920160200192915050565b61ffff851681526080602082015260006111d5608083018661118c565b6040830194909452506060015292915050565b6000602082840312156111fa57600080fd5b815161091681610f9e565b60008251611217818460208701611160565b9190910192915050565b60208082526012908201527134b739bab33334b1b4b2b73a1032ba3432b960711b604082015260600190565b634e487b7160e01b600052601160045260246000fd5b6000828210156112755761127561124d565b500390565b6001600160a01b038516815261ffff841660208201526080604082018190526000906112a89083018561118c565b905082606083015295945050505050565b6000602082840312156112cb57600080fd5b8151801515811461091657600080fd5b600082198211156112ee576112ee61124d565b500190565b602081526000610916602083018461118c56fea264697066735822122033edcedc772e860a772d9d15e7a9888976a3c466acd82b588f4816a185df5a5064736f6c634300080d0033

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

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
Loading...
Loading
[ 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.