ETH Price: $2,322.17 (+3.80%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Bridge Tokens235474722025-10-10 12:56:23115 days ago1760100983IN
0xA774c27D...1C19ce21C
0 ETH0.00003070.29680678

View more zero value Internal Transactions in Advanced View mode

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

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

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

Contract Name:
Jumpgate

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)

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;

import "@openzeppelin/contracts/token/ERC20/ERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

import "./AssetRecoverer.sol";
import "./NormalizedAmounts.sol";
import "../interfaces/IWormholeTokenBridge.sol";

/// @title Jumpgate
/// @author mymphe
/// @notice Transfer an ERC20 token using a Wormhole token bridge with pre-determined parameters
/// @dev `IWormholeTokenBridge` and the logic in `_callBridgeTransfer` are specific to Wormhole Token Bridge
contract Jumpgate is AssetRecoverer {
    using NormalizedAmounts for uint256;
    using SafeERC20 for IERC20;

    event JumpgateCreated(
        address indexed _jumpgate,
        address indexed _token,
        address indexed _bridge,
        uint16 _recipientChain,
        bytes32 _recipient,
        uint256 _arbiterFee
    );

    event TokensBridged(
        address indexed _token,
        address indexed _bridge,
        uint16 _recipientChain,
        bytes32 _recipient,
        uint256 _arbiterFee,
        uint256 _amount,
        uint64 _transferSequence
    );

    /// ERC20 token to be bridged
    IERC20 public immutable token;

    /// Wormhole token bridge
    IWormholeTokenBridge public immutable bridge;

    /// Wormhole id of the target chain
    uint16 public immutable recipientChain;

    /// bytes32-encoded recipient address on the target chain
    bytes32 public immutable recipient;

    /// Wormhole arbiter fee
    uint256 public immutable arbiterFee;

    /// Transfer nonce
    uint32 public constant nonce = 0;

    constructor(
        address _owner,
        address _token,
        address _bridge,
        uint16 _recipientChain,
        bytes32 _recipient,
        uint256 _arbiterFee
    ) {
        transferOwnership(_owner);

        token = IERC20(_token);
        bridge = IWormholeTokenBridge(_bridge);
        recipientChain = _recipientChain;
        recipient = _recipient;
        arbiterFee = _arbiterFee;

        emit JumpgateCreated(
            address(this),
            _token,
            _bridge,
            _recipientChain,
            _recipient,
            _arbiterFee
        );
    }

    /// @notice transfer all of the tokens on this contract's balance to the cross-chain recipient
    /// @dev transfer amount is normalized due to bridging decimal shift which sometimes truncates decimals
    function bridgeTokens() external {
        uint256 amount = token.balanceOf(address(this));
        uint8 decimals = getDecimals();
        uint256 normalizedAmount = amount.normalize(decimals);
        require(normalizedAmount > 0, "Amount too small for bridging!");
        uint256 denormalizedAmount = normalizedAmount.denormalize(decimals);

        token.safeApprove(address(bridge), denormalizedAmount);
        uint64 sequence = _callBridgeTransfer(denormalizedAmount);

        emit TokensBridged(
            address(token),
            address(bridge),
            recipientChain,
            recipient,
            arbiterFee,
            denormalizedAmount,
            sequence
        );
    }

    /// @notice calls the transfer method on the bridge
    /// @dev implements the actual logic of the bridge transfer
    /// @param _amount amount of tokens to transfer
    function _callBridgeTransfer(uint256 _amount)
        private
        returns (uint64 sequence)
    {
        sequence = bridge.transferTokens(
            address(token),
            _amount,
            recipientChain,
            recipient,
            arbiterFee,
            nonce
        );
    }

    /// @notice get number of token decimals for normalization
    /// @dev using low-level `staticcall` because OpenZeppelin IERC20 doesn't include `decimals()`
    /// @return decimals number of token decimals
    function getDecimals() internal view returns (uint8 decimals) {
        (, bytes memory queriedDecimals) = address(token).staticcall(
            abi.encodeWithSignature("decimals()")
        );
        decimals = abi.decode(queriedDecimals, (uint8));
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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 Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 *
 * _Available since v3.1._
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` tokens of token type `id` are transferred from `from` to `to` by `operator`.
     */
    event TransferSingle(address indexed operator, address indexed from, address indexed to, uint256 id, uint256 value);

    /**
     * @dev Equivalent to multiple {TransferSingle} events, where `operator`, `from` and `to` are the same for all
     * transfers.
     */
    event TransferBatch(
        address indexed operator,
        address indexed from,
        address indexed to,
        uint256[] ids,
        uint256[] values
    );

    /**
     * @dev Emitted when `account` grants or revokes permission to `operator` to transfer their tokens, according to
     * `approved`.
     */
    event ApprovalForAll(address indexed account, address indexed operator, bool approved);

    /**
     * @dev Emitted when the URI for token type `id` changes to `value`, if it is a non-programmatic URI.
     *
     * If an {URI} event was emitted for `id`, the standard
     * https://eips.ethereum.org/EIPS/eip-1155#metadata-extensions[guarantees] that `value` will equal the value
     * returned by {IERC1155MetadataURI-uri}.
     */
    event URI(string value, uint256 indexed id);

    /**
     * @dev Returns the amount of tokens of token type `id` owned by `account`.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function balanceOf(address account, uint256 id) external view returns (uint256);

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {balanceOf}.
     *
     * Requirements:
     *
     * - `accounts` and `ids` must have the same length.
     */
    function balanceOfBatch(address[] calldata accounts, uint256[] calldata ids)
        external
        view
        returns (uint256[] memory);

    /**
     * @dev Grants or revokes permission to `operator` to transfer the caller's tokens, according to `approved`,
     *
     * Emits an {ApprovalForAll} event.
     *
     * Requirements:
     *
     * - `operator` cannot be the caller.
     */
    function setApprovalForAll(address operator, bool approved) external;

    /**
     * @dev Returns true if `operator` is approved to transfer ``account``'s tokens.
     *
     * See {setApprovalForAll}.
     */
    function isApprovedForAll(address account, address operator) external view returns (bool);

    /**
     * @dev Transfers `amount` tokens of token type `id` from `from` to `to`.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must be have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `amount`.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155Received} and return the
     * acceptance magic value.
     */
    function safeTransferFrom(
        address from,
        address to,
        uint256 id,
        uint256 amount,
        bytes calldata data
    ) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `amounts` must have the same length.
     * - If `to` refers to a smart contract, it must implement {IERC1155Receiver-onERC1155BatchReceived} and return the
     * acceptance magic value.
     */
    function safeBatchTransferFrom(
        address from,
        address to,
        uint256[] calldata ids,
        uint256[] calldata amounts,
        bytes calldata data
    ) external;
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.0;

import "./IERC20.sol";
import "./extensions/IERC20Metadata.sol";
import "../../utils/Context.sol";

/**
 * @dev Implementation of the {IERC20} interface.
 *
 * This implementation is agnostic to the way tokens are created. This means
 * that a supply mechanism has to be added in a derived contract using {_mint}.
 * For a generic mechanism see {ERC20PresetMinterPauser}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.zeppelin.solutions/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * We have followed general OpenZeppelin Contracts guidelines: functions revert
 * instead returning `false` on failure. This behavior is nonetheless
 * conventional and does not conflict with the expectations of ERC20
 * applications.
 *
 * Additionally, an {Approval} event is emitted on calls to {transferFrom}.
 * This allows applications to reconstruct the allowance for all accounts just
 * by listening to said events. Other implementations of the EIP may not emit
 * these events, as it isn't required by the specification.
 *
 * Finally, the non-standard {decreaseAllowance} and {increaseAllowance}
 * functions have been added to mitigate the well-known issues around setting
 * allowances. See {IERC20-approve}.
 */
contract ERC20 is Context, IERC20, IERC20Metadata {
    mapping(address => uint256) private _balances;

    mapping(address => mapping(address => uint256)) private _allowances;

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * The default value of {decimals} is 18. To select a different value for
     * {decimals} you should overload it.
     *
     * All two of these values are immutable: they can only be set once during
     * construction.
     */
    constructor(string memory name_, string memory symbol_) {
        _name = name_;
        _symbol = symbol_;
    }

    /**
     * @dev Returns the name of the token.
     */
    function name() public view virtual override returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual override returns (string memory) {
        return _symbol;
    }

    /**
     * @dev Returns the number of decimals used to get its user representation.
     * For example, if `decimals` equals `2`, a balance of `505` tokens should
     * be displayed to a user as `5.05` (`505 / 10 ** 2`).
     *
     * Tokens usually opt for a value of 18, imitating the relationship between
     * Ether and Wei. This is the value {ERC20} uses, unless this function is
     * overridden;
     *
     * NOTE: This information is only used for _display_ purposes: it in
     * no way affects any of the arithmetic of the contract, including
     * {IERC20-balanceOf} and {IERC20-transfer}.
     */
    function decimals() public view virtual override returns (uint8) {
        return 18;
    }

    /**
     * @dev See {IERC20-totalSupply}.
     */
    function totalSupply() public view virtual override returns (uint256) {
        return _totalSupply;
    }

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual override returns (uint256) {
        return _balances[account];
    }

    /**
     * @dev See {IERC20-transfer}.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - the caller must have a balance of at least `amount`.
     */
    function transfer(address to, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, amount);
        return true;
    }

    /**
     * @dev See {IERC20-allowance}.
     */
    function allowance(address owner, address spender) public view virtual override returns (uint256) {
        return _allowances[owner][spender];
    }

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `amount` is the maximum `uint256`, the allowance is not updated on
     * `transferFrom`. This is semantically equivalent to an infinite approval.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function approve(address spender, uint256 amount) public virtual override returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, amount);
        return true;
    }

    /**
     * @dev See {IERC20-transferFrom}.
     *
     * Emits an {Approval} event indicating the updated allowance. This is not
     * required by the EIP. See the note at the beginning of {ERC20}.
     *
     * NOTE: Does not update the allowance if the current allowance
     * is the maximum `uint256`.
     *
     * Requirements:
     *
     * - `from` and `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `amount`.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) public virtual override returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, amount);
        _transfer(from, to, amount);
        return true;
    }

    /**
     * @dev Atomically increases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     */
    function increaseAllowance(address spender, uint256 addedValue) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, _allowances[owner][spender] + addedValue);
        return true;
    }

    /**
     * @dev Atomically decreases the allowance granted to `spender` by the caller.
     *
     * This is an alternative to {approve} that can be used as a mitigation for
     * problems described in {IERC20-approve}.
     *
     * Emits an {Approval} event indicating the updated allowance.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `spender` must have allowance for the caller of at least
     * `subtractedValue`.
     */
    function decreaseAllowance(address spender, uint256 subtractedValue) public virtual returns (bool) {
        address owner = _msgSender();
        uint256 currentAllowance = _allowances[owner][spender];
        require(currentAllowance >= subtractedValue, "ERC20: decreased allowance below zero");
        unchecked {
            _approve(owner, spender, currentAllowance - subtractedValue);
        }

        return true;
    }

    /**
     * @dev Moves `amount` of tokens from `sender` to `recipient`.
     *
     * This internal function is equivalent to {transfer}, and can be used to
     * e.g. implement automatic token fees, slashing mechanisms, etc.
     *
     * Emits a {Transfer} event.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `from` must have a balance of at least `amount`.
     */
    function _transfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {
        require(from != address(0), "ERC20: transfer from the zero address");
        require(to != address(0), "ERC20: transfer to the zero address");

        _beforeTokenTransfer(from, to, amount);

        uint256 fromBalance = _balances[from];
        require(fromBalance >= amount, "ERC20: transfer amount exceeds balance");
        unchecked {
            _balances[from] = fromBalance - amount;
        }
        _balances[to] += amount;

        emit Transfer(from, to, amount);

        _afterTokenTransfer(from, to, amount);
    }

    /** @dev Creates `amount` tokens and assigns them to `account`, increasing
     * the total supply.
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     */
    function _mint(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: mint to the zero address");

        _beforeTokenTransfer(address(0), account, amount);

        _totalSupply += amount;
        _balances[account] += amount;
        emit Transfer(address(0), account, amount);

        _afterTokenTransfer(address(0), account, amount);
    }

    /**
     * @dev Destroys `amount` tokens from `account`, reducing the
     * total supply.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * Requirements:
     *
     * - `account` cannot be the zero address.
     * - `account` must have at least `amount` tokens.
     */
    function _burn(address account, uint256 amount) internal virtual {
        require(account != address(0), "ERC20: burn from the zero address");

        _beforeTokenTransfer(account, address(0), amount);

        uint256 accountBalance = _balances[account];
        require(accountBalance >= amount, "ERC20: burn amount exceeds balance");
        unchecked {
            _balances[account] = accountBalance - amount;
        }
        _totalSupply -= amount;

        emit Transfer(account, address(0), amount);

        _afterTokenTransfer(account, address(0), amount);
    }

    /**
     * @dev Sets `amount` as the allowance of `spender` over the `owner` s tokens.
     *
     * This internal function is equivalent to `approve`, and can be used to
     * e.g. set automatic allowances for certain subsystems, etc.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `owner` cannot be the zero address.
     * - `spender` cannot be the zero address.
     */
    function _approve(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        require(owner != address(0), "ERC20: approve from the zero address");
        require(spender != address(0), "ERC20: approve to the zero address");

        _allowances[owner][spender] = amount;
        emit Approval(owner, spender, amount);
    }

    /**
     * @dev Spend `amount` form the allowance of `owner` toward `spender`.
     *
     * Does not update the allowance amount in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Might emit an {Approval} event.
     */
    function _spendAllowance(
        address owner,
        address spender,
        uint256 amount
    ) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            require(currentAllowance >= amount, "ERC20: insufficient allowance");
            unchecked {
                _approve(owner, spender, currentAllowance - amount);
            }
        }
    }

    /**
     * @dev Hook that is called before any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * will be transferred to `to`.
     * - when `from` is zero, `amount` tokens will be minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens will be burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _beforeTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}

    /**
     * @dev Hook that is called after any transfer of tokens. This includes
     * minting and burning.
     *
     * Calling conditions:
     *
     * - when `from` and `to` are both non-zero, `amount` of ``from``'s tokens
     * has been transferred to `to`.
     * - when `from` is zero, `amount` tokens have been minted for `to`.
     * - when `to` is zero, `amount` of ``from``'s tokens have been burned.
     * - `from` and `to` are never both zero.
     *
     * To learn more about hooks, head to xref:ROOT:extending-contracts.adoc#using-hooks[Using Hooks].
     */
    function _afterTokenTransfer(
        address from,
        address to,
        uint256 amount
    ) internal virtual {}
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";

/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 *
 * _Available since v4.1._
 */
interface IERC20Metadata is IERC20 {
    /**
     * @dev Returns the name of the token.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the symbol of the token.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the decimals places of the token.
     */
    function decimals() external view returns (uint8);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

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

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `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);

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.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));
        }
    }

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (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`, 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 be 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: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * 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 Returns the account approved for `tokenId` token.
     *
     * Requirements:
     *
     * - `tokenId` must exist.
     */
    function getApproved(uint256 tokenId) external view returns (address operator);

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

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

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.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 functionCall(target, data, "Address: low-level call failed");
    }

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

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

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

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(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) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason 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 {
            // 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

// 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);
}

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";

/// @title Asset Recoverer
/// @author mymphe
/// @notice Recover ether, ERC20, ERC721 and ERC1155 from a derived contract
/// @dev inherit from this contract to enable permissioned asset recovery
abstract contract AssetRecoverer is Ownable {
    using SafeERC20 for IERC20;

    event EtherRecovered(address indexed _recipient, uint256 _amount);
    event ERC20Recovered(
        address indexed _token,
        address indexed _recipient,
        uint256 _amount
    );
    event ERC721Recovered(
        address indexed _token,
        uint256 _tokenId,
        address indexed _recipient
    );
    event ERC1155Recovered(
        address indexed _token,
        uint256 _tokenId,
        address indexed _recipient,
        uint256 _amount
    );

    /// @notice prevents burn for recovery functions
    /// @dev checks for zero address and reverts if true
    /// @param _recipient address of the recovery recipient
    modifier burnDisallowed(address _recipient) {
        require(_recipient != address(0), "Recipient cannot be zero address!");
        _;
    }

    /// @notice prevents `owner` from renouncing ownership and potentially locking assets forever
    /// @dev overrides Ownable's renounceOwnership to always revert
    function renounceOwnership() public view override onlyOwner {
        revert("Renouncing ownership disabled!");
    }

    /// @notice recover all of ether on this contract as the owner
    /// @dev using the safer `call` instead of `transfer`
    /// @param _recipient address to send ether to
    function recoverEther(address _recipient)
        external
        onlyOwner
        burnDisallowed(_recipient)
    {
        uint256 amount = address(this).balance;
        (bool success, ) = _recipient.call{value: amount}("");
        require(success);
        emit EtherRecovered(_recipient, amount);
    }

    /// @notice recover an ERC20 token on this contract's balance as the owner
    /// @dev SafeERC20.safeTransfer doesn't return a bool as it performs an internal `require` check
    /// @param _token address of the ERC20 token that is being recovered
    /// @param _recipient address to transfer the tokens to
    /// @param _amount amount of tokens to transfer
    function recoverERC20(
        address _token,
        address _recipient,
        uint256 _amount
    ) external onlyOwner burnDisallowed(_recipient) {
        IERC20(_token).safeTransfer(_recipient, _amount);
        emit ERC20Recovered(_token, _recipient, _amount);
    }

    /// @notice recover an ERC721 token on this contract's balance as the owner
    /// @dev IERC721.safeTransferFrom doesn't return a bool as it performs an internal `require` check
    /// @param _token address of the ERC721 token that is being recovered
    /// @param _tokenId id of the individual token to transfer
    /// @param _recipient address to transfer the token to
    function recoverERC721(
        address _token,
        uint256 _tokenId,
        address _recipient
    ) external onlyOwner burnDisallowed(_recipient) {
        IERC721(_token).safeTransferFrom(address(this), _recipient, _tokenId);
        emit ERC721Recovered(_token, _tokenId, _recipient);
    }

    /// @notice recover an ERC1155 token on this contract's balance as the owner
    /// @dev IERC1155.safeTransferFrom doesn't return a bool as it performs an internal `require` check
    /// @param _token address of the ERC1155 token that is being recovered
    /// @param _tokenId id of the individual token to transfer
    /// @param _recipient address to transfer the token to
    function recoverERC1155(
        address _token,
        uint256 _tokenId,
        address _recipient
    ) external onlyOwner burnDisallowed(_recipient) {
        uint256 amount = IERC1155(_token).balanceOf(address(this), _tokenId);
        IERC1155(_token).safeTransferFrom(
            address(this),
            _recipient,
            _tokenId,
            amount,
            ""
        );
        emit ERC1155Recovered(_token, _tokenId, _recipient, amount);
    }
}

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.13;

/// @title Normalized Amounts
/// @author mymphe
/// @notice utility helper that truncates decimals of a token to prevent dust loss due to bridging decimal shift
/// @dev Wormhole Token Bridge normalizes transfer amount to 8 decimals
library NormalizedAmounts {
    /// @notice normalize token amount with more than 8 decimals
    /// @dev returns 0 if amount is too small to bridge
    /// @param amount initial token amount, e.g. 1,222,333,444,555,666,777
    /// @param decimals number of token decimals, e.g. 18
    /// @return amount normalized amount, e.g. 12,223,334,445
    function normalize(uint256 amount, uint8 decimals)
        internal
        pure
        returns (uint256)
    {
        if (decimals > 8) {
            amount /= 10**(decimals - 8);
        }
        return amount;
    }

    /// @notice denormalize token amount with more than 8 decimals
    /// @dev brings backs decimals lost after normalization as zeros
    /// @param amount normalized token amount, e.g. 12,223,334,445
    /// @param decimals number of token decimals, e.g. 18
    /// @return amount denormalized amount, e.g. 1,222,333,444,500,000,000
    function denormalize(uint256 amount, uint8 decimals)
        internal
        pure
        returns (uint256)
    {
        if (decimals > 8) {
            amount *= 10**(decimals - 8);
        }
        return amount;
    }
}

File 14 of 14 : IWormholeTokenBridge.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

interface IWormholeTokenBridge {
    event LogMessagePublished(
        address indexed sender,
        uint64 sequence,
        uint32 nonce,
        bytes payload,
        uint8 consistencyLevel
    );

    function transferTokens(
        address token,
        uint256 amount,
        uint16 recipientChain,
        bytes32 recipient,
        uint256 arbiterFee,
        uint32 nonce
    ) external returns (uint64 sequence);
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_owner","type":"address"},{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_bridge","type":"address"},{"internalType":"uint16","name":"_recipientChain","type":"uint16"},{"internalType":"bytes32","name":"_recipient","type":"bytes32"},{"internalType":"uint256","name":"_arbiterFee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"_recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ERC1155Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"ERC20Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":false,"internalType":"uint256","name":"_tokenId","type":"uint256"},{"indexed":true,"internalType":"address","name":"_recipient","type":"address"}],"name":"ERC721Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_recipient","type":"address"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"EtherRecovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_jumpgate","type":"address"},{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_bridge","type":"address"},{"indexed":false,"internalType":"uint16","name":"_recipientChain","type":"uint16"},{"indexed":false,"internalType":"bytes32","name":"_recipient","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_arbiterFee","type":"uint256"}],"name":"JumpgateCreated","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_token","type":"address"},{"indexed":true,"internalType":"address","name":"_bridge","type":"address"},{"indexed":false,"internalType":"uint16","name":"_recipientChain","type":"uint16"},{"indexed":false,"internalType":"bytes32","name":"_recipient","type":"bytes32"},{"indexed":false,"internalType":"uint256","name":"_arbiterFee","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"_amount","type":"uint256"},{"indexed":false,"internalType":"uint64","name":"_transferSequence","type":"uint64"}],"name":"TokensBridged","type":"event"},{"inputs":[],"name":"arbiterFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridge","outputs":[{"internalType":"contract IWormholeTokenBridge","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"bridgeTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nonce","outputs":[{"internalType":"uint32","name":"","type":"uint32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipient","outputs":[{"internalType":"bytes32","name":"","type":"bytes32"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"recipientChain","outputs":[{"internalType":"uint16","name":"","type":"uint16"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"recoverERC1155","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"address","name":"_recipient","type":"address"},{"internalType":"uint256","name":"_amount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_token","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"},{"internalType":"address","name":"_recipient","type":"address"}],"name":"recoverERC721","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_recipient","type":"address"}],"name":"recoverEther","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

0x6101206040523480156200001257600080fd5b50604051620017ce380380620017ce83398101604081905262000035916200020b565b6200004033620000c9565b6200004b8662000119565b6001600160a01b03858116608081905290851660a081905261ffff851660c081905260e08590526101008490526040805191825260208201869052810184905290919030907ff78a480bf7731acfa38112111253d3a669668c5c2ebe05c93f5cc75c7a1275089060600160405180910390a450505050505062000284565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000546001600160a01b03163314620001795760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064015b60405180910390fd5b6001600160a01b038116620001e05760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b606482015260840162000170565b620001eb81620000c9565b50565b80516001600160a01b03811681146200020657600080fd5b919050565b60008060008060008060c087890312156200022557600080fd5b6200023087620001ee565b95506200024060208801620001ee565b94506200025060408801620001ee565b9350606087015161ffff811681146200026857600080fd5b809350506080870151915060a087015190509295509295509295565b60805160a05160c05160e051610100516114a36200032b600039600081816101d00152818161099a0152610de001526000818161016e015281816109740152610dba015260008181610109015281816109500152610d9001526000818161021401528181610917015281816109e40152610e10015260008181610269015281816107fb015281816108f501528181610a0801528181610b460152610d6101526114a36000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063922c91671161008c578063f0e9fcd111610066578063f0e9fcd114610236578063f2fde38b14610249578063f8a068881461025c578063fc0c546a1461026457600080fd5b8063922c9167146101cb578063affed0e0146101f2578063e78cea921461020f57600080fd5b806352d5999f116100c857806352d5999f1461015657806366d003ac14610169578063715018a61461019e5780638da5cb5b146101a657600080fd5b80631171bda9146100ef57806321e361b314610104578063349fd85114610143575b600080fd5b6101026100fd3660046110f0565b61028b565b005b61012b7f000000000000000000000000000000000000000000000000000000000000000081565b60405161ffff90911681526020015b60405180910390f35b61010261015136600461112c565b61034c565b610102610164366004611168565b6104de565b6101907f000000000000000000000000000000000000000000000000000000000000000081565b60405190815260200161013a565b6101026105d8565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161013a565b6101907f000000000000000000000000000000000000000000000000000000000000000081565b6101fa600081565b60405163ffffffff909116815260200161013a565b6101b37f000000000000000000000000000000000000000000000000000000000000000081565b61010261024436600461112c565b61064a565b610102610257366004611168565b610748565b6101026107e3565b6101b37f000000000000000000000000000000000000000000000000000000000000000081565b6000546001600160a01b031633146102be5760405162461bcd60e51b81526004016102b590611183565b60405180910390fd5b816001600160a01b0381166102e55760405162461bcd60e51b81526004016102b5906111b8565b6102f96001600160a01b0385168484610a55565b826001600160a01b0316846001600160a01b03167faca8fb252cde442184e5f10e0f2e6e4029e8cd7717cae63559079610702436aa8460405161033e91815260200190565b60405180910390a350505050565b6000546001600160a01b031633146103765760405162461bcd60e51b81526004016102b590611183565b806001600160a01b03811661039d5760405162461bcd60e51b81526004016102b5906111b8565b604051627eeac760e11b8152306004820152602481018490526000906001600160a01b0386169062fdd58e90604401602060405180830381865afa1580156103e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040d91906111f9565b604051637921219560e11b81523060048201526001600160a01b038581166024830152604482018790526064820183905260a06084830152600060a48301529192509086169063f242432a9060c401600060405180830381600087803b15801561047657600080fd5b505af115801561048a573d6000803e3d6000fd5b505060408051878152602081018590526001600160a01b038088169450891692507f5cf02e753b3eb0f4bee4460a72817d8e5e3c75cd4d65c1d0b06dca88b803293691015b60405180910390a35050505050565b6000546001600160a01b031633146105085760405162461bcd60e51b81526004016102b590611183565b806001600160a01b03811661052f5760405162461bcd60e51b81526004016102b5906111b8565b60405147906000906001600160a01b0385169083908381818185875af1925050503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b505090508061058f57600080fd5b836001600160a01b03167f8e274e42262a7f013b700b35c2b4629ccce1702f8fe83f8dfb7eacbb26a4382c836040516105ca91815260200190565b60405180910390a250505050565b6000546001600160a01b031633146106025760405162461bcd60e51b81526004016102b590611183565b60405162461bcd60e51b815260206004820152601e60248201527f52656e6f756e63696e67206f776e6572736869702064697361626c656421000060448201526064016102b5565b6000546001600160a01b031633146106745760405162461bcd60e51b81526004016102b590611183565b806001600160a01b03811661069b5760405162461bcd60e51b81526004016102b5906111b8565b604051632142170760e11b81523060048201526001600160a01b038381166024830152604482018590528516906342842e0e90606401600060405180830381600087803b1580156106eb57600080fd5b505af11580156106ff573d6000803e3d6000fd5b50505050816001600160a01b0316846001600160a01b03167f8166bf75d2ff2fa3c8f3c44410540bf42e9a5359b48409e8d660291dc9f788c88560405161033e91815260200190565b6000546001600160a01b031633146107725760405162461bcd60e51b81526004016102b590611183565b6001600160a01b0381166107d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102b5565b6107e081610abd565b50565b6040516370a0823160e01b81523060048201526000907f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906370a0823190602401602060405180830381865afa15801561084a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086e91906111f9565b9050600061087a610b0d565b905060006108888383610bce565b9050600081116108da5760405162461bcd60e51b815260206004820152601e60248201527f416d6f756e7420746f6f20736d616c6c20666f72206272696467696e6721000060448201526064016102b5565b60006108e68284610c08565b905061093c6001600160a01b037f0000000000000000000000000000000000000000000000000000000000000000167f000000000000000000000000000000000000000000000000000000000000000083610c36565b600061094782610d4b565b6040805161ffff7f00000000000000000000000000000000000000000000000000000000000000001681527f000000000000000000000000000000000000000000000000000000000000000060208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091526060810184905267ffffffffffffffff821660808201529091506001600160a01b037f00000000000000000000000000000000000000000000000000000000000000008116917f0000000000000000000000000000000000000000000000000000000000000000909116907f2b4868a67f6a36e5286ab7fc3fe1deb442d239def4639762c20d27485d0a1a289060a0016104cf565b6040516001600160a01b038316602482015260448101829052610ab890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e7f565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b179052905160009182916001600160a01b037f00000000000000000000000000000000000000000000000000000000000000001691610b7091611242565b600060405180830381855afa9150503d8060008114610bab576040519150601f19603f3d011682016040523d82523d6000602084013e610bb0565b606091505b5091505080806020019051810190610bc8919061125e565b91505090565b600060088260ff161115610bff57610be7600883611297565b610bf290600a61139e565b610bfc90846113ad565b92505b50815b92915050565b600060088260ff161115610bff57610c21600883611297565b610c2c90600a61139e565b610bfc90846113cf565b801580610cb05750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cae91906111f9565b155b610d1b5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016102b5565b6040516001600160a01b038316602482015260448101829052610ab890849063095ea7b360e01b90606401610a81565b60405162f5287b60e41b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152602482018390527f000000000000000000000000000000000000000000000000000000000000000061ffff1660448301527f000000000000000000000000000000000000000000000000000000000000000060648301527f00000000000000000000000000000000000000000000000000000000000000006084830152600060a48301819052917f000000000000000000000000000000000000000000000000000000000000000090911690630f5287b09060c4016020604051808303816000875af1158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0291906113ee565b6000610ed4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f519092919063ffffffff16565b805190915015610ab85780806020019051810190610ef29190611418565b610ab85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102b5565b6060610f608484600085610f6a565b90505b9392505050565b606082471015610fcb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102b5565b6001600160a01b0385163b6110225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102b5565b600080866001600160a01b0316858760405161103e9190611242565b60006040518083038185875af1925050503d806000811461107b576040519150601f19603f3d011682016040523d82523d6000602084013e611080565b606091505b509150915061109082828661109b565b979650505050505050565b606083156110aa575081610f63565b8251156110ba5782518084602001fd5b8160405162461bcd60e51b81526004016102b5919061143a565b80356001600160a01b03811681146110eb57600080fd5b919050565b60008060006060848603121561110557600080fd5b61110e846110d4565b925061111c602085016110d4565b9150604084013590509250925092565b60008060006060848603121561114157600080fd5b61114a846110d4565b92506020840135915061115f604085016110d4565b90509250925092565b60006020828403121561117a57600080fd5b610f63826110d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f526563697069656e742063616e6e6f74206265207a65726f20616464726573736040820152602160f81b606082015260800190565b60006020828403121561120b57600080fd5b5051919050565b60005b8381101561122d578181015183820152602001611215565b8381111561123c576000848401525b50505050565b60008251611254818460208701611212565b9190910192915050565b60006020828403121561127057600080fd5b815160ff81168114610f6357600080fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8416808210156112b1576112b1611281565b90039392505050565b600181815b808511156112f55781600019048211156112db576112db611281565b808516156112e857918102915b93841c93908002906112bf565b509250929050565b60008261130c57506001610c02565b8161131957506000610c02565b816001811461132f576002811461133957611355565b6001915050610c02565b60ff84111561134a5761134a611281565b50506001821b610c02565b5060208310610133831016604e8410600b8410161715611378575081810a610c02565b61138283836112ba565b806000190482111561139657611396611281565b029392505050565b6000610f6360ff8416836112fd565b6000826113ca57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156113e9576113e9611281565b500290565b60006020828403121561140057600080fd5b815167ffffffffffffffff81168114610f6357600080fd5b60006020828403121561142a57600080fd5b81518015158114610f6357600080fd5b6020815260008251806020840152611459816040850160208701611212565b601f01601f1916919091016040019291505056fea2646970667358221220a2cf45801a2db05ca9b10ab3ece8b5715b07367c038908dc87fa0c3f2ccaba5c64736f6c634300080d0033000000000000000000000000d8cba23cdaf8e969fd17c8eabecf82a4f002ee8d0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5990000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa5850000000000000000000000000000000000000000000000000000000000000001d8705d51795dd76fc821fc48f3361c3f592c39f53336880e663d36e2ff3a7b150000000000000000000000000000000000000000000000000000000000000000

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063922c91671161008c578063f0e9fcd111610066578063f0e9fcd114610236578063f2fde38b14610249578063f8a068881461025c578063fc0c546a1461026457600080fd5b8063922c9167146101cb578063affed0e0146101f2578063e78cea921461020f57600080fd5b806352d5999f116100c857806352d5999f1461015657806366d003ac14610169578063715018a61461019e5780638da5cb5b146101a657600080fd5b80631171bda9146100ef57806321e361b314610104578063349fd85114610143575b600080fd5b6101026100fd3660046110f0565b61028b565b005b61012b7f000000000000000000000000000000000000000000000000000000000000000181565b60405161ffff90911681526020015b60405180910390f35b61010261015136600461112c565b61034c565b610102610164366004611168565b6104de565b6101907fd8705d51795dd76fc821fc48f3361c3f592c39f53336880e663d36e2ff3a7b1581565b60405190815260200161013a565b6101026105d8565b6000546001600160a01b03165b6040516001600160a01b03909116815260200161013a565b6101907f000000000000000000000000000000000000000000000000000000000000000081565b6101fa600081565b60405163ffffffff909116815260200161013a565b6101b37f0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa58581565b61010261024436600461112c565b61064a565b610102610257366004611168565b610748565b6101026107e3565b6101b37f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59981565b6000546001600160a01b031633146102be5760405162461bcd60e51b81526004016102b590611183565b60405180910390fd5b816001600160a01b0381166102e55760405162461bcd60e51b81526004016102b5906111b8565b6102f96001600160a01b0385168484610a55565b826001600160a01b0316846001600160a01b03167faca8fb252cde442184e5f10e0f2e6e4029e8cd7717cae63559079610702436aa8460405161033e91815260200190565b60405180910390a350505050565b6000546001600160a01b031633146103765760405162461bcd60e51b81526004016102b590611183565b806001600160a01b03811661039d5760405162461bcd60e51b81526004016102b5906111b8565b604051627eeac760e11b8152306004820152602481018490526000906001600160a01b0386169062fdd58e90604401602060405180830381865afa1580156103e9573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061040d91906111f9565b604051637921219560e11b81523060048201526001600160a01b038581166024830152604482018790526064820183905260a06084830152600060a48301529192509086169063f242432a9060c401600060405180830381600087803b15801561047657600080fd5b505af115801561048a573d6000803e3d6000fd5b505060408051878152602081018590526001600160a01b038088169450891692507f5cf02e753b3eb0f4bee4460a72817d8e5e3c75cd4d65c1d0b06dca88b803293691015b60405180910390a35050505050565b6000546001600160a01b031633146105085760405162461bcd60e51b81526004016102b590611183565b806001600160a01b03811661052f5760405162461bcd60e51b81526004016102b5906111b8565b60405147906000906001600160a01b0385169083908381818185875af1925050503d806000811461057c576040519150601f19603f3d011682016040523d82523d6000602084013e610581565b606091505b505090508061058f57600080fd5b836001600160a01b03167f8e274e42262a7f013b700b35c2b4629ccce1702f8fe83f8dfb7eacbb26a4382c836040516105ca91815260200190565b60405180910390a250505050565b6000546001600160a01b031633146106025760405162461bcd60e51b81526004016102b590611183565b60405162461bcd60e51b815260206004820152601e60248201527f52656e6f756e63696e67206f776e6572736869702064697361626c656421000060448201526064016102b5565b6000546001600160a01b031633146106745760405162461bcd60e51b81526004016102b590611183565b806001600160a01b03811661069b5760405162461bcd60e51b81526004016102b5906111b8565b604051632142170760e11b81523060048201526001600160a01b038381166024830152604482018590528516906342842e0e90606401600060405180830381600087803b1580156106eb57600080fd5b505af11580156106ff573d6000803e3d6000fd5b50505050816001600160a01b0316846001600160a01b03167f8166bf75d2ff2fa3c8f3c44410540bf42e9a5359b48409e8d660291dc9f788c88560405161033e91815260200190565b6000546001600160a01b031633146107725760405162461bcd60e51b81526004016102b590611183565b6001600160a01b0381166107d75760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102b5565b6107e081610abd565b50565b6040516370a0823160e01b81523060048201526000907f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5996001600160a01b0316906370a0823190602401602060405180830381865afa15801561084a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086e91906111f9565b9050600061087a610b0d565b905060006108888383610bce565b9050600081116108da5760405162461bcd60e51b815260206004820152601e60248201527f416d6f756e7420746f6f20736d616c6c20666f72206272696467696e6721000060448201526064016102b5565b60006108e68284610c08565b905061093c6001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599167f0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa58583610c36565b600061094782610d4b565b6040805161ffff7f00000000000000000000000000000000000000000000000000000000000000011681527fd8705d51795dd76fc821fc48f3361c3f592c39f53336880e663d36e2ff3a7b1560208201527f0000000000000000000000000000000000000000000000000000000000000000918101919091526060810184905267ffffffffffffffff821660808201529091506001600160a01b037f0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa5858116917f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c599909116907f2b4868a67f6a36e5286ab7fc3fe1deb442d239def4639762c20d27485d0a1a289060a0016104cf565b6040516001600160a01b038316602482015260448101829052610ab890849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b031990931692909217909152610e7f565b505050565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b60408051600481526024810182526020810180516001600160e01b031663313ce56760e01b179052905160009182916001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c5991691610b7091611242565b600060405180830381855afa9150503d8060008114610bab576040519150601f19603f3d011682016040523d82523d6000602084013e610bb0565b606091505b5091505080806020019051810190610bc8919061125e565b91505090565b600060088260ff161115610bff57610be7600883611297565b610bf290600a61139e565b610bfc90846113ad565b92505b50815b92915050565b600060088260ff161115610bff57610c21600883611297565b610c2c90600a61139e565b610bfc90846113cf565b801580610cb05750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610c8a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610cae91906111f9565b155b610d1b5760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016102b5565b6040516001600160a01b038316602482015260448101829052610ab890849063095ea7b360e01b90606401610a81565b60405162f5287b60e41b81526001600160a01b037f0000000000000000000000002260fac5e5542a773aa44fbcfedf7c193bc2c59981166004830152602482018390527f000000000000000000000000000000000000000000000000000000000000000161ffff1660448301527fd8705d51795dd76fc821fc48f3361c3f592c39f53336880e663d36e2ff3a7b1560648301527f00000000000000000000000000000000000000000000000000000000000000006084830152600060a48301819052917f0000000000000000000000003ee18b2214aff97000d974cf647e7c347e8fa58590911690630f5287b09060c4016020604051808303816000875af1158015610e5b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c0291906113ee565b6000610ed4826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610f519092919063ffffffff16565b805190915015610ab85780806020019051810190610ef29190611418565b610ab85760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102b5565b6060610f608484600085610f6a565b90505b9392505050565b606082471015610fcb5760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102b5565b6001600160a01b0385163b6110225760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102b5565b600080866001600160a01b0316858760405161103e9190611242565b60006040518083038185875af1925050503d806000811461107b576040519150601f19603f3d011682016040523d82523d6000602084013e611080565b606091505b509150915061109082828661109b565b979650505050505050565b606083156110aa575081610f63565b8251156110ba5782518084602001fd5b8160405162461bcd60e51b81526004016102b5919061143a565b80356001600160a01b03811681146110eb57600080fd5b919050565b60008060006060848603121561110557600080fd5b61110e846110d4565b925061111c602085016110d4565b9150604084013590509250925092565b60008060006060848603121561114157600080fd5b61114a846110d4565b92506020840135915061115f604085016110d4565b90509250925092565b60006020828403121561117a57600080fd5b610f63826110d4565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b60208082526021908201527f526563697069656e742063616e6e6f74206265207a65726f20616464726573736040820152602160f81b606082015260800190565b60006020828403121561120b57600080fd5b5051919050565b60005b8381101561122d578181015183820152602001611215565b8381111561123c576000848401525b50505050565b60008251611254818460208701611212565b9190910192915050565b60006020828403121561127057600080fd5b815160ff81168114610f6357600080fd5b634e487b7160e01b600052601160045260246000fd5b600060ff821660ff8416808210156112b1576112b1611281565b90039392505050565b600181815b808511156112f55781600019048211156112db576112db611281565b808516156112e857918102915b93841c93908002906112bf565b509250929050565b60008261130c57506001610c02565b8161131957506000610c02565b816001811461132f576002811461133957611355565b6001915050610c02565b60ff84111561134a5761134a611281565b50506001821b610c02565b5060208310610133831016604e8410600b8410161715611378575081810a610c02565b61138283836112ba565b806000190482111561139657611396611281565b029392505050565b6000610f6360ff8416836112fd565b6000826113ca57634e487b7160e01b600052601260045260246000fd5b500490565b60008160001904831182151516156113e9576113e9611281565b500290565b60006020828403121561140057600080fd5b815167ffffffffffffffff81168114610f6357600080fd5b60006020828403121561142a57600080fd5b81518015158114610f6357600080fd5b6020815260008251806020840152611459816040850160208701611212565b601f01601f1916919091016040019291505056fea2646970667358221220a2cf45801a2db05ca9b10ab3ece8b5715b07367c038908dc87fa0c3f2ccaba5c64736f6c634300080d0033

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]

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