ETH Price: $3,405.97 (-1.65%)
Gas: 10 Gwei

Contract

0x57B28B4b55B55B83874dB942380022659b643d20
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Wrap202055882024-06-30 16:06:352 days ago1719763595IN
0x57B28B4b...59b643d20
0 ETH0.000486674.39530579
Unwrap201918502024-06-28 18:03:113 days ago1719597791IN
0x57B28B4b...59b643d20
0 ETH0.000581626.82831214
Wrap200507242024-06-09 0:34:5923 days ago1717893299IN
0x57B28B4b...59b643d20
0 ETH0.00045544.1129351
Unwrap200150022024-06-04 0:53:5928 days ago1717462439IN
0x57B28B4b...59b643d20
0 ETH0.000483315.67332494
Unwrap200149632024-06-04 0:46:1128 days ago1717461971IN
0x57B28B4b...59b643d20
0 ETH0.000542926.37304267
Unwrap199691582024-05-28 15:07:4735 days ago1716908867IN
0x57B28B4b...59b643d20
0 ETH0.0021311719.90280322
Unwrap199404412024-05-24 14:49:1139 days ago1716562151IN
0x57B28B4b...59b643d20
0 ETH0.000919768.99167613
Unwrap199188702024-05-21 14:26:5942 days ago1716301619IN
0x57B28B4b...59b643d20
0 ETH0.0018554221.78263551
Unwrap199184482024-05-21 13:01:4742 days ago1716296507IN
0x57B28B4b...59b643d20
0 ETH0.0021341425.05123905
Unwrap198170222024-05-07 8:33:4756 days ago1715070827IN
0x57B28B4b...59b643d20
0 ETH0.00079887.81004873
Unwrap197085402024-04-22 4:25:3571 days ago1713759935IN
0x57B28B4b...59b643d20
0 ETH0.000504735.92561354
Unwrap196513362024-04-14 4:16:3579 days ago1713068195IN
0x57B28B4b...59b643d20
0 ETH0.0013906813.59697922
Unwrap196307462024-04-11 6:58:4782 days ago1712818727IN
0x57B28B4b...59b643d20
0 ETH0.001889817.64870436
Unwrap195535132024-03-31 11:14:4793 days ago1711883687IN
0x57B28B4b...59b643d20
0 ETH0.0015044417.65968162
Unwrap195430852024-03-30 0:02:2394 days ago1711756943IN
0x57B28B4b...59b643d20
0 ETH0.0017304920.31594736
Unwrap194834252024-03-21 13:46:47103 days ago1711028807IN
0x57B28B4b...59b643d20
0 ETH0.0026747929.72686587
Unwrap194688052024-03-19 12:30:23105 days ago1710851423IN
0x57B28B4b...59b643d20
0 ETH0.0038019944.63535326
Wrap194631672024-03-18 17:30:11105 days ago1710783011IN
0x57B28B4b...59b643d20
0 ETH0.0046396141.90174453
Unwrap194605242024-03-18 8:34:23106 days ago1710750863IN
0x57B28B4b...59b643d20
0 ETH0.0027600426.98546222
Unwrap194276262024-03-13 17:27:47110 days ago1710350867IN
0x57B28B4b...59b643d20
0 ETH0.0072022770.41791769
Unwrap194211822024-03-12 19:47:35111 days ago1710272855IN
0x57B28B4b...59b643d20
0 ETH0.0062969669.98265494
Unwrap194189012024-03-12 12:08:47112 days ago1710245327IN
0x57B28B4b...59b643d20
0 ETH0.0043100550.59997995
Unwrap193998372024-03-09 20:10:11114 days ago1710015011IN
0x57B28B4b...59b643d20
0 ETH0.006177472.51238644
Unwrap193594442024-03-04 4:34:47120 days ago1709526887IN
0x57B28B4b...59b643d20
0 ETH0.0035068341.17012886
Wrap193471522024-03-02 11:21:35122 days ago1709378495IN
0x57B28B4b...59b643d20
0 ETH0.0048316443.63607342
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
YesWrapper

Compiler Version
v0.8.20+commit.a1b79de6

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-11-11
*/

// File: @openzeppelin/contracts/interfaces/draft-IERC6093.sol


// OpenZeppelin Contracts (last updated v5.0.0) (interfaces/draft-IERC6093.sol)
pragma solidity ^0.8.20;

/**
 * @dev Standard ERC20 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC20 tokens.
 */
interface IERC20Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientBalance(address sender, uint256 balance, uint256 needed);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC20InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC20InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `spender`’s `allowance`. Used in transfers.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     * @param allowance Amount of tokens a `spender` is allowed to operate with.
     * @param needed Minimum amount required to perform a transfer.
     */
    error ERC20InsufficientAllowance(address spender, uint256 allowance, uint256 needed);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC20InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `spender` to be approved. Used in approvals.
     * @param spender Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC20InvalidSpender(address spender);
}

/**
 * @dev Standard ERC721 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC721 tokens.
 */
interface IERC721Errors {
    /**
     * @dev Indicates that an address can't be an owner. For example, `address(0)` is a forbidden owner in EIP-20.
     * Used in balance queries.
     * @param owner Address of the current owner of a token.
     */
    error ERC721InvalidOwner(address owner);

    /**
     * @dev Indicates a `tokenId` whose `owner` is the zero address.
     * @param tokenId Identifier number of a token.
     */
    error ERC721NonexistentToken(uint256 tokenId);

    /**
     * @dev Indicates an error related to the ownership over a particular token. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param tokenId Identifier number of a token.
     * @param owner Address of the current owner of a token.
     */
    error ERC721IncorrectOwner(address sender, uint256 tokenId, address owner);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC721InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC721InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param tokenId Identifier number of a token.
     */
    error ERC721InsufficientApproval(address operator, uint256 tokenId);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC721InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC721InvalidOperator(address operator);
}

/**
 * @dev Standard ERC1155 Errors
 * Interface of the https://eips.ethereum.org/EIPS/eip-6093[ERC-6093] custom errors for ERC1155 tokens.
 */
interface IERC1155Errors {
    /**
     * @dev Indicates an error related to the current `balance` of a `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     * @param balance Current balance for the interacting account.
     * @param needed Minimum amount required to perform a transfer.
     * @param tokenId Identifier number of a token.
     */
    error ERC1155InsufficientBalance(address sender, uint256 balance, uint256 needed, uint256 tokenId);

    /**
     * @dev Indicates a failure with the token `sender`. Used in transfers.
     * @param sender Address whose tokens are being transferred.
     */
    error ERC1155InvalidSender(address sender);

    /**
     * @dev Indicates a failure with the token `receiver`. Used in transfers.
     * @param receiver Address to which tokens are being transferred.
     */
    error ERC1155InvalidReceiver(address receiver);

    /**
     * @dev Indicates a failure with the `operator`’s approval. Used in transfers.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     * @param owner Address of the current owner of a token.
     */
    error ERC1155MissingApprovalForAll(address operator, address owner);

    /**
     * @dev Indicates a failure with the `approver` of a token to be approved. Used in approvals.
     * @param approver Address initiating an approval operation.
     */
    error ERC1155InvalidApprover(address approver);

    /**
     * @dev Indicates a failure with the `operator` to be approved. Used in approvals.
     * @param operator Address that may be allowed to operate on tokens without being their owner.
     */
    error ERC1155InvalidOperator(address operator);

    /**
     * @dev Indicates an array length mismatch between ids and values in a safeBatchTransferFrom operation.
     * Used in batch transfers.
     * @param idsLength Length of the array of token identifiers
     * @param valuesLength Length of the array of token amounts
     */
    error ERC1155InvalidArrayLength(uint256 idsLength, uint256 valuesLength);
}

// File: @openzeppelin/contracts/utils/Context.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @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: @openzeppelin/contracts/token/ERC20/IERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.20;

/**
 * @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 value of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves a `value` amount of 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 value) 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 a `value` amount of tokens 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 value) external returns (bool);

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to` using the
     * allowance mechanism. `value` 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 value) external returns (bool);
}

// File: @openzeppelin/contracts/token/ERC20/extensions/IERC20Metadata.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/extensions/IERC20Metadata.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface for the optional metadata functions from the ERC20 standard.
 */
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);
}

// File: @openzeppelin/contracts/token/ERC20/ERC20.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC20/ERC20.sol)

pragma solidity ^0.8.20;





/**
 * @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}.
 *
 * TIP: For a detailed writeup see our guide
 * https://forum.openzeppelin.com/t/how-to-implement-erc20-supply-mechanisms/226[How
 * to implement supply mechanisms].
 *
 * The default value of {decimals} is 18. To change this, you should override
 * this function so it returns a different value.
 *
 * 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.
 */
abstract contract ERC20 is Context, IERC20, IERC20Metadata, IERC20Errors {
    mapping(address account => uint256) private _balances;

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

    uint256 private _totalSupply;

    string private _name;
    string private _symbol;

    /**
     * @dev Sets the values for {name} and {symbol}.
     *
     * 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 returns (string memory) {
        return _name;
    }

    /**
     * @dev Returns the symbol of the token, usually a shorter version of the
     * name.
     */
    function symbol() public view virtual 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 default value returned by this function, unless
     * it's 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 returns (uint8) {
        return 18;
    }

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

    /**
     * @dev See {IERC20-balanceOf}.
     */
    function balanceOf(address account) public view virtual 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 `value`.
     */
    function transfer(address to, uint256 value) public virtual returns (bool) {
        address owner = _msgSender();
        _transfer(owner, to, value);
        return true;
    }

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

    /**
     * @dev See {IERC20-approve}.
     *
     * NOTE: If `value` 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 value) public virtual returns (bool) {
        address owner = _msgSender();
        _approve(owner, spender, value);
        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 `value`.
     * - the caller must have allowance for ``from``'s tokens of at least
     * `value`.
     */
    function transferFrom(address from, address to, uint256 value) public virtual returns (bool) {
        address spender = _msgSender();
        _spendAllowance(from, spender, value);
        _transfer(from, to, value);
        return true;
    }

    /**
     * @dev Moves a `value` amount of tokens from `from` to `to`.
     *
     * 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.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _transfer(address from, address to, uint256 value) internal {
        if (from == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        if (to == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(from, to, value);
    }

    /**
     * @dev Transfers a `value` amount of tokens from `from` to `to`, or alternatively mints (or burns) if `from`
     * (or `to`) is the zero address. All customizations to transfers, mints, and burns should be done by overriding
     * this function.
     *
     * Emits a {Transfer} event.
     */
    function _update(address from, address to, uint256 value) internal virtual {
        if (from == address(0)) {
            // Overflow check required: The rest of the code assumes that totalSupply never overflows
            _totalSupply += value;
        } else {
            uint256 fromBalance = _balances[from];
            if (fromBalance < value) {
                revert ERC20InsufficientBalance(from, fromBalance, value);
            }
            unchecked {
                // Overflow not possible: value <= fromBalance <= totalSupply.
                _balances[from] = fromBalance - value;
            }
        }

        if (to == address(0)) {
            unchecked {
                // Overflow not possible: value <= totalSupply or value <= fromBalance <= totalSupply.
                _totalSupply -= value;
            }
        } else {
            unchecked {
                // Overflow not possible: balance + value is at most totalSupply, which we know fits into a uint256.
                _balances[to] += value;
            }
        }

        emit Transfer(from, to, value);
    }

    /**
     * @dev Creates a `value` amount of tokens and assigns them to `account`, by transferring it from address(0).
     * Relies on the `_update` mechanism
     *
     * Emits a {Transfer} event with `from` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead.
     */
    function _mint(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidReceiver(address(0));
        }
        _update(address(0), account, value);
    }

    /**
     * @dev Destroys a `value` amount of tokens from `account`, lowering the total supply.
     * Relies on the `_update` mechanism.
     *
     * Emits a {Transfer} event with `to` set to the zero address.
     *
     * NOTE: This function is not virtual, {_update} should be overridden instead
     */
    function _burn(address account, uint256 value) internal {
        if (account == address(0)) {
            revert ERC20InvalidSender(address(0));
        }
        _update(account, address(0), value);
    }

    /**
     * @dev Sets `value` 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.
     *
     * Overrides to this logic should be done to the variant with an additional `bool emitEvent` argument.
     */
    function _approve(address owner, address spender, uint256 value) internal {
        _approve(owner, spender, value, true);
    }

    /**
     * @dev Variant of {_approve} with an optional flag to enable or disable the {Approval} event.
     *
     * By default (when calling {_approve}) the flag is set to true. On the other hand, approval changes made by
     * `_spendAllowance` during the `transferFrom` operation set the flag to false. This saves gas by not emitting any
     * `Approval` event during `transferFrom` operations.
     *
     * Anyone who wishes to continue emitting `Approval` events on the`transferFrom` operation can force the flag to
     * true using the following override:
     * ```
     * function _approve(address owner, address spender, uint256 value, bool) internal virtual override {
     *     super._approve(owner, spender, value, true);
     * }
     * ```
     *
     * Requirements are the same as {_approve}.
     */
    function _approve(address owner, address spender, uint256 value, bool emitEvent) internal virtual {
        if (owner == address(0)) {
            revert ERC20InvalidApprover(address(0));
        }
        if (spender == address(0)) {
            revert ERC20InvalidSpender(address(0));
        }
        _allowances[owner][spender] = value;
        if (emitEvent) {
            emit Approval(owner, spender, value);
        }
    }

    /**
     * @dev Updates `owner` s allowance for `spender` based on spent `value`.
     *
     * Does not update the allowance value in case of infinite allowance.
     * Revert if not enough allowance is available.
     *
     * Does not emit an {Approval} event.
     */
    function _spendAllowance(address owner, address spender, uint256 value) internal virtual {
        uint256 currentAllowance = allowance(owner, spender);
        if (currentAllowance != type(uint256).max) {
            if (currentAllowance < value) {
                revert ERC20InsufficientAllowance(spender, currentAllowance, value);
            }
            unchecked {
                _approve(owner, spender, currentAllowance - value, false);
            }
        }
    }
}

// File: @openzeppelin/contracts/utils/introspection/IERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/IERC165.sol)

pragma solidity ^0.8.20;

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

// File: @openzeppelin/contracts/token/ERC1155/IERC1155Receiver.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155Receiver.sol)

pragma solidity ^0.8.20;


/**
 * @dev Interface that must be implemented by smart contracts in order to receive
 * ERC-1155 token transfers.
 */
interface IERC1155Receiver is IERC165 {
    /**
     * @dev Handles the receipt of a single ERC1155 token type. This function is
     * called at the end of a `safeTransferFrom` after the balance has been updated.
     *
     * NOTE: To accept the transfer, this must return
     * `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))`
     * (i.e. 0xf23a6e61, or its own function selector).
     *
     * @param operator The address which initiated the transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param id The ID of the token being transferred
     * @param value The amount of tokens being transferred
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155Received(address,address,uint256,uint256,bytes)"))` if transfer is allowed
     */
    function onERC1155Received(
        address operator,
        address from,
        uint256 id,
        uint256 value,
        bytes calldata data
    ) external returns (bytes4);

    /**
     * @dev Handles the receipt of a multiple ERC1155 token types. This function
     * is called at the end of a `safeBatchTransferFrom` after the balances have
     * been updated.
     *
     * NOTE: To accept the transfer(s), this must return
     * `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))`
     * (i.e. 0xbc197c81, or its own function selector).
     *
     * @param operator The address which initiated the batch transfer (i.e. msg.sender)
     * @param from The address which previously owned the token
     * @param ids An array containing ids of each token being transferred (order and length must match values array)
     * @param values An array containing amounts of each token being transferred (order and length must match ids array)
     * @param data Additional data with no specified format
     * @return `bytes4(keccak256("onERC1155BatchReceived(address,address,uint256[],uint256[],bytes)"))` if transfer is allowed
     */
    function onERC1155BatchReceived(
        address operator,
        address from,
        uint256[] calldata ids,
        uint256[] calldata values,
        bytes calldata data
    ) external returns (bytes4);
}

// File: @openzeppelin/contracts/utils/introspection/ERC165.sol


// OpenZeppelin Contracts (last updated v5.0.0) (utils/introspection/ERC165.sol)

pragma solidity ^0.8.20;


/**
 * @dev Implementation of the {IERC165} interface.
 *
 * Contracts that want to implement ERC165 should inherit from this contract and override {supportsInterface} to check
 * for the additional interface id that will be supported. For example:
 *
 * ```solidity
 * function supportsInterface(bytes4 interfaceId) public view virtual override returns (bool) {
 *     return interfaceId == type(MyInterface).interfaceId || super.supportsInterface(interfaceId);
 * }
 * ```
 */
abstract contract ERC165 is IERC165 {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual returns (bool) {
        return interfaceId == type(IERC165).interfaceId;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/utils/ERC1155Holder.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/utils/ERC1155Holder.sol)

pragma solidity ^0.8.20;



/**
 * @dev Simple implementation of `IERC1155Receiver` that will allow a contract to hold ERC1155 tokens.
 *
 * IMPORTANT: When inheriting this contract, you must include a way to use the received tokens, otherwise they will be
 * stuck.
 */
abstract contract ERC1155Holder is ERC165, IERC1155Receiver {
    /**
     * @dev See {IERC165-supportsInterface}.
     */
    function supportsInterface(bytes4 interfaceId) public view virtual override(ERC165, IERC165) returns (bool) {
        return interfaceId == type(IERC1155Receiver).interfaceId || super.supportsInterface(interfaceId);
    }

    function onERC1155Received(
        address,
        address,
        uint256,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155Received.selector;
    }

    function onERC1155BatchReceived(
        address,
        address,
        uint256[] memory,
        uint256[] memory,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC1155BatchReceived.selector;
    }
}

// File: @openzeppelin/contracts/token/ERC1155/IERC1155.sol


// OpenZeppelin Contracts (last updated v5.0.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.20;


/**
 * @dev Required interface of an ERC1155 compliant contract, as defined in the
 * https://eips.ethereum.org/EIPS/eip-1155[EIP].
 */
interface IERC1155 is IERC165 {
    /**
     * @dev Emitted when `value` amount of tokens of 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 value 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 a `value` amount of tokens of type `id` from `from` to `to`.
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155Received} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferSingle} event.
     *
     * Requirements:
     *
     * - `to` cannot be the zero address.
     * - If the caller is not `from`, it must have been approved to spend ``from``'s tokens via {setApprovalForAll}.
     * - `from` must have a balance of tokens of type `id` of at least `value` 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 value, bytes calldata data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] version of {safeTransferFrom}.
     *
     *
     * WARNING: This function can potentially allow a reentrancy attack when transferring tokens
     * to an untrusted contract, when invoking {onERC1155BatchReceived} on the receiver.
     * Ensure to follow the checks-effects-interactions pattern and consider employing
     * reentrancy guards when interacting with untrusted contracts.
     *
     * Emits a {TransferBatch} event.
     *
     * Requirements:
     *
     * - `ids` and `values` 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 values,
        bytes calldata data
    ) external;
}

// File: yeswrap.sol

// yestoken.xyz


pragma solidity ^0.8.0;





contract YesWrapper is ERC1155Holder {
    IERC20 public erc20Token;
    IERC1155 public erc1155Token;
    uint256 public erc1155TokenId;

    constructor(
        address _erc20Token,
        address _erc1155Token,
        uint256 _erc1155TokenId
    ) {
        erc20Token = IERC20(_erc20Token);
        erc1155Token = IERC1155(_erc1155Token);
        erc1155TokenId = _erc1155TokenId;
    }

    function Unwrap(uint256 amount) external {
        require(amount >= 1, "Amount must be greater than 1");

        erc1155Token.safeTransferFrom(msg.sender, address(this), erc1155TokenId, amount, "");

        uint256 adjustedAmount = amount * (10**uint256(18));
        erc20Token.transfer(msg.sender, adjustedAmount);
    }

    function Wrap(uint256 amount) external {
        require(amount >= 1, "Amount must be greater than 1");

        uint256 adjustedAmount = amount * (10**uint256(18));
        erc20Token.transferFrom(msg.sender, address(this), adjustedAmount);

        erc1155Token.safeTransferFrom(address(this), msg.sender, erc1155TokenId, amount, "");
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_erc20Token","type":"address"},{"internalType":"address","name":"_erc1155Token","type":"address"},{"internalType":"uint256","name":"_erc1155TokenId","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Unwrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Wrap","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"erc1155Token","outputs":[{"internalType":"contract IERC1155","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc1155TokenId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"erc20Token","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"uint256[]","name":"","type":"uint256[]"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155BatchReceived","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC1155Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes4","name":"interfaceId","type":"bytes4"}],"name":"supportsInterface","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"}]

608060405234801561000f575f80fd5b5060405161094638038061094683398101604081905261002e91610080565b5f80546001600160a01b039485166001600160a01b03199182161790915560018054939094169216919091179091556002556100b9565b80516001600160a01b038116811461007b575f80fd5b919050565b5f805f60608486031215610092575f80fd5b61009b84610065565b92506100a960208501610065565b9150604084015190509250925092565b610880806100c65f395ff3fe608060405234801561000f575f80fd5b5060043610610085575f3560e01c80636ab8618a116100585780636ab8618a146101085780638a13eea71461011b578063bc197c811461012d578063f23a6e6114610165575f80fd5b806301ffc9a7146100895780630ef25732146100b157806321f42268146100c6578063637a6687146100f1575b5f80fd5b61009c61009736600461044d565b610184565b60405190151581526020015b60405180910390f35b6100c46100bf36600461047b565b6101ba565b005b6001546100d9906001600160a01b031681565b6040516001600160a01b0390911681526020016100a8565b6100fa60025481565b6040519081526020016100a8565b6100c461011636600461047b565b610304565b5f546100d9906001600160a01b031681565b61014c61013b3660046105db565b63bc197c8160e01b95945050505050565b6040516001600160e01b031990911681526020016100a8565b61014c61017336600461067e565b63f23a6e6160e01b95945050505050565b5f6001600160e01b03198216630271189760e51b14806101b457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60018110156102105760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203100000060448201526064015b60405180910390fd5b600154600254604051637921219560e11b81526001600160a01b039092169163f242432a91610247913391309187906004016106de565b5f604051808303815f87803b15801561025e575f80fd5b505af1158015610270573d5f803e3d5ffd5b505050505f6012600a6102839190610809565b61028d9083610814565b5f5460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303815f875af11580156102db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ff919061082b565b505050565b60018110156103555760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20310000006044820152606401610207565b5f6103626012600a610809565b61036c9083610814565b5f546040516323b872dd60e01b8152336004820152306024820152604481018390529192506001600160a01b0316906323b872dd906064016020604051808303815f875af11580156103c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e4919061082b565b50600154600254604051637921219560e11b81526001600160a01b039092169163f242432a9161041c913091339188906004016106de565b5f604051808303815f87803b158015610433575f80fd5b505af1158015610445573d5f803e3d5ffd5b505050505050565b5f6020828403121561045d575f80fd5b81356001600160e01b031981168114610474575f80fd5b9392505050565b5f6020828403121561048b575f80fd5b5035919050565b80356001600160a01b03811681146104a8575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156104ea576104ea6104ad565b604052919050565b5f82601f830112610501575f80fd5b8135602067ffffffffffffffff82111561051d5761051d6104ad565b8160051b61052c8282016104c1565b9283528481018201928281019087851115610545575f80fd5b83870192505b848310156105645782358252918301919083019061054b565b979650505050505050565b5f82601f83011261057e575f80fd5b813567ffffffffffffffff811115610598576105986104ad565b6105ab601f8201601f19166020016104c1565b8181528460208386010111156105bf575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156105ef575f80fd5b6105f886610492565b945061060660208701610492565b9350604086013567ffffffffffffffff80821115610622575f80fd5b61062e89838a016104f2565b94506060880135915080821115610643575f80fd5b61064f89838a016104f2565b93506080880135915080821115610664575f80fd5b506106718882890161056f565b9150509295509295909350565b5f805f805f60a08688031215610692575f80fd5b61069b86610492565b94506106a960208701610492565b93506040860135925060608601359150608086013567ffffffffffffffff8111156106d2575f80fd5b6106718882890161056f565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a0608082018190525f9082015260c00190565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561076357815f190482111561074957610749610715565b8085161561075657918102915b93841c939080029061072e565b509250929050565b5f82610779575060016101b4565b8161078557505f6101b4565b816001811461079b57600281146107a5576107c1565b60019150506101b4565b60ff8411156107b6576107b6610715565b50506001821b6101b4565b5060208310610133831016604e8410600b84101617156107e4575081810a6101b4565b6107ee8383610729565b805f190482111561080157610801610715565b029392505050565b5f610474838361076b565b80820281158282048414176101b4576101b4610715565b5f6020828403121561083b575f80fd5b81518015158114610474575f80fdfea2646970667358221220cc16a5f02e7d833fdb1bdbb0e137e6b1882e602d3cc336901ab1703b47dd40b364736f6c63430008140033000000000000000000000000fc10cd3895f2c66d6639ec33ae6360d6cfca7d6d00000000000000000000000015f70c34dc2750b6ce4af2eed3546cbff0f951780000000000000000000000000000000000000000000000000000000000000001

Deployed Bytecode

0x608060405234801561000f575f80fd5b5060043610610085575f3560e01c80636ab8618a116100585780636ab8618a146101085780638a13eea71461011b578063bc197c811461012d578063f23a6e6114610165575f80fd5b806301ffc9a7146100895780630ef25732146100b157806321f42268146100c6578063637a6687146100f1575b5f80fd5b61009c61009736600461044d565b610184565b60405190151581526020015b60405180910390f35b6100c46100bf36600461047b565b6101ba565b005b6001546100d9906001600160a01b031681565b6040516001600160a01b0390911681526020016100a8565b6100fa60025481565b6040519081526020016100a8565b6100c461011636600461047b565b610304565b5f546100d9906001600160a01b031681565b61014c61013b3660046105db565b63bc197c8160e01b95945050505050565b6040516001600160e01b031990911681526020016100a8565b61014c61017336600461067e565b63f23a6e6160e01b95945050505050565b5f6001600160e01b03198216630271189760e51b14806101b457506301ffc9a760e01b6001600160e01b03198316145b92915050565b60018110156102105760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e203100000060448201526064015b60405180910390fd5b600154600254604051637921219560e11b81526001600160a01b039092169163f242432a91610247913391309187906004016106de565b5f604051808303815f87803b15801561025e575f80fd5b505af1158015610270573d5f803e3d5ffd5b505050505f6012600a6102839190610809565b61028d9083610814565b5f5460405163a9059cbb60e01b8152336004820152602481018390529192506001600160a01b03169063a9059cbb906044016020604051808303815f875af11580156102db573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906102ff919061082b565b505050565b60018110156103555760405162461bcd60e51b815260206004820152601d60248201527f416d6f756e74206d7573742062652067726561746572207468616e20310000006044820152606401610207565b5f6103626012600a610809565b61036c9083610814565b5f546040516323b872dd60e01b8152336004820152306024820152604481018390529192506001600160a01b0316906323b872dd906064016020604051808303815f875af11580156103c0573d5f803e3d5ffd5b505050506040513d601f19601f820116820180604052508101906103e4919061082b565b50600154600254604051637921219560e11b81526001600160a01b039092169163f242432a9161041c913091339188906004016106de565b5f604051808303815f87803b158015610433575f80fd5b505af1158015610445573d5f803e3d5ffd5b505050505050565b5f6020828403121561045d575f80fd5b81356001600160e01b031981168114610474575f80fd5b9392505050565b5f6020828403121561048b575f80fd5b5035919050565b80356001600160a01b03811681146104a8575f80fd5b919050565b634e487b7160e01b5f52604160045260245ffd5b604051601f8201601f1916810167ffffffffffffffff811182821017156104ea576104ea6104ad565b604052919050565b5f82601f830112610501575f80fd5b8135602067ffffffffffffffff82111561051d5761051d6104ad565b8160051b61052c8282016104c1565b9283528481018201928281019087851115610545575f80fd5b83870192505b848310156105645782358252918301919083019061054b565b979650505050505050565b5f82601f83011261057e575f80fd5b813567ffffffffffffffff811115610598576105986104ad565b6105ab601f8201601f19166020016104c1565b8181528460208386010111156105bf575f80fd5b816020850160208301375f918101602001919091529392505050565b5f805f805f60a086880312156105ef575f80fd5b6105f886610492565b945061060660208701610492565b9350604086013567ffffffffffffffff80821115610622575f80fd5b61062e89838a016104f2565b94506060880135915080821115610643575f80fd5b61064f89838a016104f2565b93506080880135915080821115610664575f80fd5b506106718882890161056f565b9150509295509295909350565b5f805f805f60a08688031215610692575f80fd5b61069b86610492565b94506106a960208701610492565b93506040860135925060608601359150608086013567ffffffffffffffff8111156106d2575f80fd5b6106718882890161056f565b6001600160a01b0394851681529290931660208301526040820152606081019190915260a0608082018190525f9082015260c00190565b634e487b7160e01b5f52601160045260245ffd5b600181815b8085111561076357815f190482111561074957610749610715565b8085161561075657918102915b93841c939080029061072e565b509250929050565b5f82610779575060016101b4565b8161078557505f6101b4565b816001811461079b57600281146107a5576107c1565b60019150506101b4565b60ff8411156107b6576107b6610715565b50506001821b6101b4565b5060208310610133831016604e8410600b84101617156107e4575081810a6101b4565b6107ee8383610729565b805f190482111561080157610801610715565b029392505050565b5f610474838361076b565b80820281158282048414176101b4576101b4610715565b5f6020828403121561083b575f80fd5b81518015158114610474575f80fdfea2646970667358221220cc16a5f02e7d833fdb1bdbb0e137e6b1882e602d3cc336901ab1703b47dd40b364736f6c63430008140033

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

000000000000000000000000fc10cd3895f2c66d6639ec33ae6360d6cfca7d6d00000000000000000000000015f70c34dc2750b6ce4af2eed3546cbff0f951780000000000000000000000000000000000000000000000000000000000000001

-----Decoded View---------------
Arg [0] : _erc20Token (address): 0xfc10CD3895F2C66D6639eC33ae6360D6cfca7d6d
Arg [1] : _erc1155Token (address): 0x15f70c34Dc2750B6Ce4Af2eeD3546CbfF0F95178
Arg [2] : _erc1155TokenId (uint256): 1

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000fc10cd3895f2c66d6639ec33ae6360d6cfca7d6d
Arg [1] : 00000000000000000000000015f70c34dc2750b6ce4af2eed3546cbff0f95178
Arg [2] : 0000000000000000000000000000000000000000000000000000000000000001


Deployed Bytecode Sourcemap

33229:1106:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;27602:223;;;;;;:::i;:::-;;:::i;:::-;;;470:14:1;;463:22;445:41;;433:2;418:18;27602:223:0;;;;;;;;33643:332;;;;;;:::i;:::-;;:::i;:::-;;33304:28;;;;;-1:-1:-1;;;;;33304:28:0;;;;;;-1:-1:-1;;;;;863:32:1;;;845:51;;833:2;818:18;33304:28:0;682:220:1;33339:29:0;;;;;;;;;1053:25:1;;;1041:2;1026:18;33339:29:0;907:177:1;33983:349:0;;;;;;:::i;:::-;;:::i;33273:24::-;;;;;-1:-1:-1;;;;;33273:24:0;;;28068:255;;;;;;:::i;:::-;-1:-1:-1;;;28068:255:0;;;;;;;;;;;-1:-1:-1;;;;;;4263:33:1;;;4245:52;;4233:2;4218:18;28068:255:0;4101:202:1;27833:227:0;;;;;;:::i;:::-;-1:-1:-1;;;27833:227:0;;;;;;;;27602:223;27704:4;-1:-1:-1;;;;;;27728:49:0;;-1:-1:-1;;;27728:49:0;;:89;;-1:-1:-1;;;;;;;;;;26968:40:0;;;27781:36;27721:96;27602:223;-1:-1:-1;;27602:223:0:o;33643:332::-;33713:1;33703:6;:11;;33695:53;;;;-1:-1:-1;;;33695:53:0;;5121:2:1;33695:53:0;;;5103:21:1;5160:2;5140:18;;;5133:30;5199:31;5179:18;;;5172:59;5248:18;;33695:53:0;;;;;;;;;33761:12;;33818:14;;33761:84;;-1:-1:-1;;;33761:84:0;;-1:-1:-1;;;;;33761:12:0;;;;:29;;:84;;33791:10;;33811:4;;33834:6;;33761:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;33858:22;33905:2;33893;:15;;;;:::i;:::-;33883:26;;:6;:26;:::i;:::-;33920:10;;:47;;-1:-1:-1;;;33920:47:0;;33940:10;33920:47;;;7762:51:1;7829:18;;;7822:34;;;33858:51:0;;-1:-1:-1;;;;;;33920:10:0;;:19;;7735:18:1;;33920:47:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;;33684:291;33643:332;:::o;33983:349::-;34051:1;34041:6;:11;;34033:53;;;;-1:-1:-1;;;34033:53:0;;5121:2:1;34033:53:0;;;5103:21:1;5160:2;5140:18;;;5133:30;5199:31;5179:18;;;5172:59;5248:18;;34033:53:0;4919:353:1;34033:53:0;34099:22;34134:15;34146:2;34134;:15;:::i;:::-;34124:26;;:6;:26;:::i;:::-;34161:10;;:66;;-1:-1:-1;;;34161:66:0;;34185:10;34161:66;;;8389:34:1;34205:4:0;8439:18:1;;;8432:43;8491:18;;;8484:34;;;34099:51:0;;-1:-1:-1;;;;;;34161:10:0;;:23;;8324:18:1;;34161:66:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;34240:12:0;;34297:14;;34240:84;;-1:-1:-1;;;34240:84:0;;-1:-1:-1;;;;;34240:12:0;;;;:29;;:84;;34278:4;;34285:10;;34313:6;;34240:84;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;34022:310;33983:349;:::o;14:286:1:-;72:6;125:2;113:9;104:7;100:23;96:32;93:52;;;141:1;138;131:12;93:52;167:23;;-1:-1:-1;;;;;;219:32:1;;209:43;;199:71;;266:1;263;256:12;199:71;289:5;14:286;-1:-1:-1;;;14:286:1:o;497:180::-;556:6;609:2;597:9;588:7;584:23;580:32;577:52;;;625:1;622;615:12;577:52;-1:-1:-1;648:23:1;;497:180;-1:-1:-1;497:180:1:o;1311:173::-;1379:20;;-1:-1:-1;;;;;1428:31:1;;1418:42;;1408:70;;1474:1;1471;1464:12;1408:70;1311:173;;;:::o;1489:127::-;1550:10;1545:3;1541:20;1538:1;1531:31;1581:4;1578:1;1571:15;1605:4;1602:1;1595:15;1621:275;1692:2;1686:9;1757:2;1738:13;;-1:-1:-1;;1734:27:1;1722:40;;1792:18;1777:34;;1813:22;;;1774:62;1771:88;;;1839:18;;:::i;:::-;1875:2;1868:22;1621:275;;-1:-1:-1;1621:275:1:o;1901:712::-;1955:5;2008:3;2001:4;1993:6;1989:17;1985:27;1975:55;;2026:1;2023;2016:12;1975:55;2062:6;2049:20;2088:4;2111:18;2107:2;2104:26;2101:52;;;2133:18;;:::i;:::-;2179:2;2176:1;2172:10;2202:28;2226:2;2222;2218:11;2202:28;:::i;:::-;2264:15;;;2334;;;2330:24;;;2295:12;;;;2366:15;;;2363:35;;;2394:1;2391;2384:12;2363:35;2430:2;2422:6;2418:15;2407:26;;2442:142;2458:6;2453:3;2450:15;2442:142;;;2524:17;;2512:30;;2475:12;;;;2562;;;;2442:142;;;2602:5;1901:712;-1:-1:-1;;;;;;;1901:712:1:o;2618:530::-;2660:5;2713:3;2706:4;2698:6;2694:17;2690:27;2680:55;;2731:1;2728;2721:12;2680:55;2767:6;2754:20;2793:18;2789:2;2786:26;2783:52;;;2815:18;;:::i;:::-;2859:55;2902:2;2883:13;;-1:-1:-1;;2879:27:1;2908:4;2875:38;2859:55;:::i;:::-;2939:2;2930:7;2923:19;2985:3;2978:4;2973:2;2965:6;2961:15;2957:26;2954:35;2951:55;;;3002:1;2999;2992:12;2951:55;3067:2;3060:4;3052:6;3048:17;3041:4;3032:7;3028:18;3015:55;3115:1;3090:16;;;3108:4;3086:27;3079:38;;;;3094:7;2618:530;-1:-1:-1;;;2618:530:1:o;3153:943::-;3307:6;3315;3323;3331;3339;3392:3;3380:9;3371:7;3367:23;3363:33;3360:53;;;3409:1;3406;3399:12;3360:53;3432:29;3451:9;3432:29;:::i;:::-;3422:39;;3480:38;3514:2;3503:9;3499:18;3480:38;:::i;:::-;3470:48;;3569:2;3558:9;3554:18;3541:32;3592:18;3633:2;3625:6;3622:14;3619:34;;;3649:1;3646;3639:12;3619:34;3672:61;3725:7;3716:6;3705:9;3701:22;3672:61;:::i;:::-;3662:71;;3786:2;3775:9;3771:18;3758:32;3742:48;;3815:2;3805:8;3802:16;3799:36;;;3831:1;3828;3821:12;3799:36;3854:63;3909:7;3898:8;3887:9;3883:24;3854:63;:::i;:::-;3844:73;;3970:3;3959:9;3955:19;3942:33;3926:49;;4000:2;3990:8;3987:16;3984:36;;;4016:1;4013;4006:12;3984:36;;4039:51;4082:7;4071:8;4060:9;4056:24;4039:51;:::i;:::-;4029:61;;;3153:943;;;;;;;;:::o;4308:606::-;4412:6;4420;4428;4436;4444;4497:3;4485:9;4476:7;4472:23;4468:33;4465:53;;;4514:1;4511;4504:12;4465:53;4537:29;4556:9;4537:29;:::i;:::-;4527:39;;4585:38;4619:2;4608:9;4604:18;4585:38;:::i;:::-;4575:48;;4670:2;4659:9;4655:18;4642:32;4632:42;;4721:2;4710:9;4706:18;4693:32;4683:42;;4776:3;4765:9;4761:19;4748:33;4804:18;4796:6;4793:30;4790:50;;;4836:1;4833;4826:12;4790:50;4859:49;4900:7;4891:6;4880:9;4876:22;4859:49;:::i;5277:627::-;-1:-1:-1;;;;;5628:15:1;;;5610:34;;5680:15;;;;5675:2;5660:18;;5653:43;5727:2;5712:18;;5705:34;5770:2;5755:18;;5748:34;;;;5590:3;5813;5798:19;;5791:32;;;5553:4;5839:19;;;5832:30;5894:3;5879:19;;5277:627::o;5909:127::-;5970:10;5965:3;5961:20;5958:1;5951:31;6001:4;5998:1;5991:15;6025:4;6022:1;6015:15;6041:422;6130:1;6173:5;6130:1;6187:270;6208:7;6198:8;6195:21;6187:270;;;6267:4;6263:1;6259:6;6255:17;6249:4;6246:27;6243:53;;;6276:18;;:::i;:::-;6326:7;6316:8;6312:22;6309:55;;;6346:16;;;;6309:55;6425:22;;;;6385:15;;;;6187:270;;;6191:3;6041:422;;;;;:::o;6468:806::-;6517:5;6547:8;6537:80;;-1:-1:-1;6588:1:1;6602:5;;6537:80;6636:4;6626:76;;-1:-1:-1;6673:1:1;6687:5;;6626:76;6718:4;6736:1;6731:59;;;;6804:1;6799:130;;;;6711:218;;6731:59;6761:1;6752:10;;6775:5;;;6799:130;6836:3;6826:8;6823:17;6820:43;;;6843:18;;:::i;:::-;-1:-1:-1;;6899:1:1;6885:16;;6914:5;;6711:218;;7013:2;7003:8;7000:16;6994:3;6988:4;6985:13;6981:36;6975:2;6965:8;6962:16;6957:2;6951:4;6948:12;6944:35;6941:77;6938:159;;;-1:-1:-1;7050:19:1;;;7082:5;;6938:159;7129:34;7154:8;7148:4;7129:34;:::i;:::-;7199:6;7195:1;7191:6;7187:19;7178:7;7175:32;7172:58;;;7210:18;;:::i;:::-;7248:20;;6468:806;-1:-1:-1;;;6468:806:1:o;7279:131::-;7339:5;7368:36;7395:8;7389:4;7368:36;:::i;7415:168::-;7488:9;;;7519;;7536:15;;;7530:22;;7516:37;7506:71;;7557:18;;:::i;7867:277::-;7934:6;7987:2;7975:9;7966:7;7962:23;7958:32;7955:52;;;8003:1;8000;7993:12;7955:52;8035:9;8029:16;8088:5;8081:13;8074:21;8067:5;8064:32;8054:60;;8110:1;8107;8100:12

Swarm Source

ipfs://cc16a5f02e7d833fdb1bdbb0e137e6b1882e602d3cc336901ab1703b47dd40b3

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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