Goerli Testnet

Contract

0x65c94c08Dd504a199fE61C3D29ca01784C7081aF

Overview

ETH Balance

Token Holdings

Multichain Info

N/A
Transaction Hash
Method
Block
From
To
Value
Get Token82669932023-01-06 16:49:48446 days ago1673023788IN
0x65c94c08...84C7081aF
0 ETH0.001515199.90049943
Get Token Ind82658722023-01-06 11:53:48446 days ago1673006028IN
0x65c94c08...84C7081aF
0 ETH0.001120866.51232739
Get Token82658502023-01-06 11:48:00446 days ago1673005680IN
0x65c94c08...84C7081aF
0 ETH0.000852985.72140338
Set Cont82658472023-01-06 11:47:24446 days ago1673005644IN
0x65c94c08...84C7081aF
0 ETH0.00033546.86443091
0x6080604082658322023-01-06 11:42:48446 days ago1673005368IN
 Create: giver
0 ETH0.005803836.68588776

Latest 6 internal transactions

Advanced mode:
Parent Txn Hash Block From To Value
82669932023-01-06 16:49:48446 days ago1673023788
0x65c94c08...84C7081aF
0 ETH
82669932023-01-06 16:49:48446 days ago1673023788
0x65c94c08...84C7081aF
0 ETH
82658722023-01-06 11:53:48446 days ago1673006028
0x65c94c08...84C7081aF
0 ETH
82658722023-01-06 11:53:48446 days ago1673006028
0x65c94c08...84C7081aF
0 ETH
82658502023-01-06 11:48:00446 days ago1673005680
0x65c94c08...84C7081aF
0 ETH
82658502023-01-06 11:48:00446 days ago1673005680
0x65c94c08...84C7081aF
0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
giver

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2023-01-06
*/

// SPDX-License-Identifier: MIT

// File: @openzeppelin/[email protected]/utils/Context.sol


// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

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

// File: @openzeppelin/[email protected]/access/Ownable.sol


// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;


/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

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

// File: @openzeppelin/[email protected]/security/ReentrancyGuard.sol


// OpenZeppelin Contracts v4.4.1 (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        // On the first call to nonReentrant, _notEntered will be true
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

        _;

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

// File: @openzeppelin/[email protected]/utils/introspection/IERC165.sol


// OpenZeppelin Contracts v4.4.1 (utils/introspection/IERC165.sol)

pragma solidity ^0.8.0;

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

// File: @openzeppelin/[email protected]/token/ERC721/IERC721.sol


// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC721/IERC721.sol)

pragma solidity ^0.8.0;


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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: 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 Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

// File: @openzeppelin/[email protected]/token/ERC721/extensions/IERC721Enumerable.sol


// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;


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

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

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

// File: Giver.sol



pragma solidity ^0.8.0;





interface IERC721Receiver {
    /**
     * @dev Whenever an {IERC721} `tokenId` token is transferred to this contract via {IERC721-safeTransferFrom}
     * by `operator` from `from`, this function is called.
     *
     * It must return its Solidity selector to confirm the token transfer.
     * If any other value is returned or the interface is not implemented by the recipient, the transfer will be reverted.
     *
     * The selector can be obtained in Solidity with `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address operator,
        address from,
        uint256 tokenId,
        bytes calldata data
    ) external returns (bytes4);
}

contract ERC721Holder is IERC721Receiver,Ownable {
    /**
     * @dev See {IERC721Receiver-onERC721Received}.
     *
     * Always returns `IERC721Receiver.onERC721Received.selector`.
     */
    function onERC721Received(
        address,
        address,
        uint256,
        bytes memory
    ) public virtual override returns (bytes4) {
        return this.onERC721Received.selector;
    }
}

contract giver is ERC721Holder, ReentrancyGuard {
    address private cont;

    function setCont(address _cont) public nonReentrant onlyOwner {
        require(cont == address(0));
        cont = _cont;
    }

    function getThisAddress() public view returns (address) {
        return address(this);
    }

    function getToken() public nonReentrant {
        address creator = getThisAddress();
        IERC721 tok = IERC721(cont);
        IERC721Enumerable tok2 = IERC721Enumerable(cont);
        uint256 id = tok2.tokenOfOwnerByIndex(creator, 0);
        tok.safeTransferFrom(creator, msg.sender, id);
    }

    function getTokenInd(uint256 _ind) public nonReentrant {
        address creator = getThisAddress();
        IERC721 tok = IERC721(cont);
        IERC721Enumerable tok2 = IERC721Enumerable(cont);
        uint256 id = tok2.tokenOfOwnerByIndex(creator, _ind);
        tok.safeTransferFrom(creator, msg.sender, id);
    }
}

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"getThisAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_ind","type":"uint256"}],"name":"getTokenInd","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_cont","type":"address"}],"name":"setCont","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b5061002d61002261003960201b60201c565b61004160201b60201c565b60018081905550610105565b600033905090565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b610de5806101146000396000f3fe608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100ed578063d2e0a6461461010b578063d395382214610127578063f2fde38b1461014557610088565b8063150b7a021461008d57806321df0da7146100bd578063715018a6146100c757806384ad3d3b146100d1575b600080fd5b6100a760048036038101906100a291906109b8565b610161565b6040516100b49190610a76565b60405180910390f35b6100c5610175565b005b6100cf610319565b005b6100eb60048036038101906100e69190610a91565b61032d565b005b6100f56104d1565b6040516101029190610acd565b60405180910390f35b61012560048036038101906101209190610ae8565b6104fa565b005b61012f6105f5565b60405161013c9190610acd565b60405180910390f35b61015f600480360381019061015a9190610ae8565b6105fd565b005b600063150b7a0260e01b9050949350505050565b6002600154036101ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b190610b72565b60405180910390fd5b600260018190555060006101cc6105f5565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16632f745c598560006040518363ffffffff1660e01b815260040161025a929190610bd7565b602060405180830381865afa158015610277573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029b9190610c15565b90508273ffffffffffffffffffffffffffffffffffffffff166342842e0e8533846040518463ffffffff1660e01b81526004016102da93929190610c51565b600060405180830381600087803b1580156102f457600080fd5b505af1158015610308573d6000803e3d6000fd5b505050505050505060018081905550565b610321610680565b61032b60006106fe565b565b600260015403610372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036990610b72565b60405180910390fd5b600260018190555060006103846105f5565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16632f745c5985876040518363ffffffff1660e01b8152600401610411929190610c88565b602060405180830381865afa15801561042e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104529190610c15565b90508273ffffffffffffffffffffffffffffffffffffffff166342842e0e8533846040518463ffffffff1660e01b815260040161049193929190610c51565b600060405180830381600087803b1580156104ab57600080fd5b505af11580156104bf573d6000803e3d6000fd5b50505050505050506001808190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026001540361053f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053690610b72565b60405180910390fd5b600260018190555061054f610680565b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105aa57600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001808190555050565b600030905090565b610605610680565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066b90610d23565b60405180910390fd5b61067d816106fe565b50565b6106886107c2565b73ffffffffffffffffffffffffffffffffffffffff166106a66104d1565b73ffffffffffffffffffffffffffffffffffffffff16146106fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f390610d8f565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610809826107de565b9050919050565b610819816107fe565b811461082457600080fd5b50565b60008135905061083681610810565b92915050565b6000819050919050565b61084f8161083c565b811461085a57600080fd5b50565b60008135905061086c81610846565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6108c58261087c565b810181811067ffffffffffffffff821117156108e4576108e361088d565b5b80604052505050565b60006108f76107ca565b905061090382826108bc565b919050565b600067ffffffffffffffff8211156109235761092261088d565b5b61092c8261087c565b9050602081019050919050565b82818337600083830152505050565b600061095b61095684610908565b6108ed565b90508281526020810184848401111561097757610976610877565b5b610982848285610939565b509392505050565b600082601f83011261099f5761099e610872565b5b81356109af848260208601610948565b91505092915050565b600080600080608085870312156109d2576109d16107d4565b5b60006109e087828801610827565b94505060206109f187828801610827565b9350506040610a028782880161085d565b925050606085013567ffffffffffffffff811115610a2357610a226107d9565b5b610a2f8782880161098a565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610a7081610a3b565b82525050565b6000602082019050610a8b6000830184610a67565b92915050565b600060208284031215610aa757610aa66107d4565b5b6000610ab58482850161085d565b91505092915050565b610ac7816107fe565b82525050565b6000602082019050610ae26000830184610abe565b92915050565b600060208284031215610afe57610afd6107d4565b5b6000610b0c84828501610827565b91505092915050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000610b5c601f83610b15565b9150610b6782610b26565b602082019050919050565b60006020820190508181036000830152610b8b81610b4f565b9050919050565b6000819050919050565b6000819050919050565b6000610bc1610bbc610bb784610b92565b610b9c565b61083c565b9050919050565b610bd181610ba6565b82525050565b6000604082019050610bec6000830185610abe565b610bf96020830184610bc8565b9392505050565b600081519050610c0f81610846565b92915050565b600060208284031215610c2b57610c2a6107d4565b5b6000610c3984828501610c00565b91505092915050565b610c4b8161083c565b82525050565b6000606082019050610c666000830186610abe565b610c736020830185610abe565b610c806040830184610c42565b949350505050565b6000604082019050610c9d6000830185610abe565b610caa6020830184610c42565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610d0d602683610b15565b9150610d1882610cb1565b604082019050919050565b60006020820190508181036000830152610d3c81610d00565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610d79602083610b15565b9150610d8482610d43565b602082019050919050565b60006020820190508181036000830152610da881610d6c565b905091905056fea26469706673582212206ebf1ae7df61e718825d40779c6597ccefdb13c83b0a90ea252ef8e46b52698064736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100885760003560e01c80638da5cb5b1161005b5780638da5cb5b146100ed578063d2e0a6461461010b578063d395382214610127578063f2fde38b1461014557610088565b8063150b7a021461008d57806321df0da7146100bd578063715018a6146100c757806384ad3d3b146100d1575b600080fd5b6100a760048036038101906100a291906109b8565b610161565b6040516100b49190610a76565b60405180910390f35b6100c5610175565b005b6100cf610319565b005b6100eb60048036038101906100e69190610a91565b61032d565b005b6100f56104d1565b6040516101029190610acd565b60405180910390f35b61012560048036038101906101209190610ae8565b6104fa565b005b61012f6105f5565b60405161013c9190610acd565b60405180910390f35b61015f600480360381019061015a9190610ae8565b6105fd565b005b600063150b7a0260e01b9050949350505050565b6002600154036101ba576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016101b190610b72565b60405180910390fd5b600260018190555060006101cc6105f5565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16632f745c598560006040518363ffffffff1660e01b815260040161025a929190610bd7565b602060405180830381865afa158015610277573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061029b9190610c15565b90508273ffffffffffffffffffffffffffffffffffffffff166342842e0e8533846040518463ffffffff1660e01b81526004016102da93929190610c51565b600060405180830381600087803b1580156102f457600080fd5b505af1158015610308573d6000803e3d6000fd5b505050505050505060018081905550565b610321610680565b61032b60006106fe565b565b600260015403610372576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161036990610b72565b60405180910390fd5b600260018190555060006103846105f5565b90506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1690506000600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905060008173ffffffffffffffffffffffffffffffffffffffff16632f745c5985876040518363ffffffff1660e01b8152600401610411929190610c88565b602060405180830381865afa15801561042e573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104529190610c15565b90508273ffffffffffffffffffffffffffffffffffffffff166342842e0e8533846040518463ffffffff1660e01b815260040161049193929190610c51565b600060405180830381600087803b1580156104ab57600080fd5b505af11580156104bf573d6000803e3d6000fd5b50505050505050506001808190555050565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff16905090565b60026001540361053f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161053690610b72565b60405180910390fd5b600260018190555061054f610680565b600073ffffffffffffffffffffffffffffffffffffffff16600260009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16146105aa57600080fd5b80600260006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055506001808190555050565b600030905090565b610605610680565b600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff1603610674576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161066b90610d23565b60405180910390fd5b61067d816106fe565b50565b6106886107c2565b73ffffffffffffffffffffffffffffffffffffffff166106a66104d1565b73ffffffffffffffffffffffffffffffffffffffff16146106fc576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016106f390610d8f565b60405180910390fd5b565b60008060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050816000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff1602179055508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff167f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e060405160405180910390a35050565b600033905090565b6000604051905090565b600080fd5b600080fd5b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000610809826107de565b9050919050565b610819816107fe565b811461082457600080fd5b50565b60008135905061083681610810565b92915050565b6000819050919050565b61084f8161083c565b811461085a57600080fd5b50565b60008135905061086c81610846565b92915050565b600080fd5b600080fd5b6000601f19601f8301169050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6108c58261087c565b810181811067ffffffffffffffff821117156108e4576108e361088d565b5b80604052505050565b60006108f76107ca565b905061090382826108bc565b919050565b600067ffffffffffffffff8211156109235761092261088d565b5b61092c8261087c565b9050602081019050919050565b82818337600083830152505050565b600061095b61095684610908565b6108ed565b90508281526020810184848401111561097757610976610877565b5b610982848285610939565b509392505050565b600082601f83011261099f5761099e610872565b5b81356109af848260208601610948565b91505092915050565b600080600080608085870312156109d2576109d16107d4565b5b60006109e087828801610827565b94505060206109f187828801610827565b9350506040610a028782880161085d565b925050606085013567ffffffffffffffff811115610a2357610a226107d9565b5b610a2f8782880161098a565b91505092959194509250565b60007fffffffff0000000000000000000000000000000000000000000000000000000082169050919050565b610a7081610a3b565b82525050565b6000602082019050610a8b6000830184610a67565b92915050565b600060208284031215610aa757610aa66107d4565b5b6000610ab58482850161085d565b91505092915050565b610ac7816107fe565b82525050565b6000602082019050610ae26000830184610abe565b92915050565b600060208284031215610afe57610afd6107d4565b5b6000610b0c84828501610827565b91505092915050565b600082825260208201905092915050565b7f5265656e7472616e637947756172643a207265656e7472616e742063616c6c00600082015250565b6000610b5c601f83610b15565b9150610b6782610b26565b602082019050919050565b60006020820190508181036000830152610b8b81610b4f565b9050919050565b6000819050919050565b6000819050919050565b6000610bc1610bbc610bb784610b92565b610b9c565b61083c565b9050919050565b610bd181610ba6565b82525050565b6000604082019050610bec6000830185610abe565b610bf96020830184610bc8565b9392505050565b600081519050610c0f81610846565b92915050565b600060208284031215610c2b57610c2a6107d4565b5b6000610c3984828501610c00565b91505092915050565b610c4b8161083c565b82525050565b6000606082019050610c666000830186610abe565b610c736020830185610abe565b610c806040830184610c42565b949350505050565b6000604082019050610c9d6000830185610abe565b610caa6020830184610c42565b9392505050565b7f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160008201527f6464726573730000000000000000000000000000000000000000000000000000602082015250565b6000610d0d602683610b15565b9150610d1882610cb1565b604082019050919050565b60006020820190508181036000830152610d3c81610d00565b9050919050565b7f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572600082015250565b6000610d79602083610b15565b9150610d8482610d43565b602082019050919050565b60006020820190508181036000830152610da881610d6c565b905091905056fea26469706673582212206ebf1ae7df61e718825d40779c6597ccefdb13c83b0a90ea252ef8e46b52698064736f6c63430008110033

Deployed Bytecode Sourcemap

14484:967:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;14270:207;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14810:306;;;:::i;:::-;;2823:103;;;:::i;:::-;;15124:324;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;2175:87;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;14568:131;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;14707:95;;;:::i;:::-;;;;;;;:::i;:::-;;;;;;;;3081:201;;;;;;;;;;;;;:::i;:::-;;:::i;:::-;;14270:207;14413:6;14439:30;;;14432:37;;14270:207;;;;;;:::o;14810:306::-;5458:1;6056:7;;:19;6048:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;5458:1;6189:7;:18;;;;14861:15:::1;14879:16;:14;:16::i;:::-;14861:34;;14906:11;14928:4;;;;;;;;;;;14906:27;;14944:22;14987:4;;;;;;;;;;;14944:48;;15003:10;15016:4;:24;;;15041:7;15050:1;15016:36;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15003:49;;15063:3;:20;;;15084:7;15093:10;15105:2;15063:45;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;14850:266;;;;5414:1:::0;6368:7;:22;;;;14810:306::o;2823:103::-;2061:13;:11;:13::i;:::-;2888:30:::1;2915:1;2888:18;:30::i;:::-;2823:103::o:0;15124:324::-;5458:1;6056:7;;:19;6048:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;5458:1;6189:7;:18;;;;15190:15:::1;15208:16;:14;:16::i;:::-;15190:34;;15235:11;15257:4;;;;;;;;;;;15235:27;;15273:22;15316:4;;;;;;;;;;;15273:48;;15332:10;15345:4;:24;;;15370:7;15379:4;15345:39;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;15332:52;;15395:3;:20;;;15416:7;15425:10;15437:2;15395:45;;;;;;;;;;;;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;::::0;::::1;;;;;;;;;;;;::::0;::::1;;;;;;;;;15179:269;;;;5414:1:::0;6368:7;:22;;;;15124:324;:::o;2175:87::-;2221:7;2248:6;;;;;;;;;;;2241:13;;2175:87;:::o;14568:131::-;5458:1;6056:7;;:19;6048:63;;;;;;;;;;;;:::i;:::-;;;;;;;;;5458:1;6189:7;:18;;;;2061:13:::1;:11;:13::i;:::-;14665:1:::2;14649:18;;:4;;;;;;;;;;;:18;;;14641:27;;;::::0;::::2;;14686:5;14679:4;;:12;;;;;;;;;;;;;;;;;;5414:1:::0;6368:7;:22;;;;14568:131;:::o;14707:95::-;14754:7;14789:4;14774:20;;14707:95;:::o;3081:201::-;2061:13;:11;:13::i;:::-;3190:1:::1;3170:22;;:8;:22;;::::0;3162:73:::1;;;;;;;;;;;;:::i;:::-;;;;;;;;;3246:28;3265:8;3246:18;:28::i;:::-;3081:201:::0;:::o;2340:132::-;2415:12;:10;:12::i;:::-;2404:23;;:7;:5;:7::i;:::-;:23;;;2396:68;;;;;;;;;;;;:::i;:::-;;;;;;;;;2340:132::o;3442:191::-;3516:16;3535:6;;;;;;;;;;;3516:25;;3561:8;3552:6;;:17;;;;;;;;;;;;;;;;;;3616:8;3585:40;;3606:8;3585:40;;;;;;;;;;;;3505:128;3442:191;:::o;720:98::-;773:7;800:10;793:17;;720:98;:::o;7:75:1:-;40:6;73:2;67:9;57:19;;7:75;:::o;88:117::-;197:1;194;187:12;211:117;320:1;317;310:12;334:126;371:7;411:42;404:5;400:54;389:65;;334:126;;;:::o;466:96::-;503:7;532:24;550:5;532:24;:::i;:::-;521:35;;466:96;;;:::o;568:122::-;641:24;659:5;641:24;:::i;:::-;634:5;631:35;621:63;;680:1;677;670:12;621:63;568:122;:::o;696:139::-;742:5;780:6;767:20;758:29;;796:33;823:5;796:33;:::i;:::-;696:139;;;;:::o;841:77::-;878:7;907:5;896:16;;841:77;;;:::o;924:122::-;997:24;1015:5;997:24;:::i;:::-;990:5;987:35;977:63;;1036:1;1033;1026:12;977:63;924:122;:::o;1052:139::-;1098:5;1136:6;1123:20;1114:29;;1152:33;1179:5;1152:33;:::i;:::-;1052:139;;;;:::o;1197:117::-;1306:1;1303;1296:12;1320:117;1429:1;1426;1419:12;1443:102;1484:6;1535:2;1531:7;1526:2;1519:5;1515:14;1511:28;1501:38;;1443:102;;;:::o;1551:180::-;1599:77;1596:1;1589:88;1696:4;1693:1;1686:15;1720:4;1717:1;1710:15;1737:281;1820:27;1842:4;1820:27;:::i;:::-;1812:6;1808:40;1950:6;1938:10;1935:22;1914:18;1902:10;1899:34;1896:62;1893:88;;;1961:18;;:::i;:::-;1893:88;2001:10;1997:2;1990:22;1780:238;1737:281;;:::o;2024:129::-;2058:6;2085:20;;:::i;:::-;2075:30;;2114:33;2142:4;2134:6;2114:33;:::i;:::-;2024:129;;;:::o;2159:307::-;2220:4;2310:18;2302:6;2299:30;2296:56;;;2332:18;;:::i;:::-;2296:56;2370:29;2392:6;2370:29;:::i;:::-;2362:37;;2454:4;2448;2444:15;2436:23;;2159:307;;;:::o;2472:146::-;2569:6;2564:3;2559;2546:30;2610:1;2601:6;2596:3;2592:16;2585:27;2472:146;;;:::o;2624:423::-;2701:5;2726:65;2742:48;2783:6;2742:48;:::i;:::-;2726:65;:::i;:::-;2717:74;;2814:6;2807:5;2800:21;2852:4;2845:5;2841:16;2890:3;2881:6;2876:3;2872:16;2869:25;2866:112;;;2897:79;;:::i;:::-;2866:112;2987:54;3034:6;3029:3;3024;2987:54;:::i;:::-;2707:340;2624:423;;;;;:::o;3066:338::-;3121:5;3170:3;3163:4;3155:6;3151:17;3147:27;3137:122;;3178:79;;:::i;:::-;3137:122;3295:6;3282:20;3320:78;3394:3;3386:6;3379:4;3371:6;3367:17;3320:78;:::i;:::-;3311:87;;3127:277;3066:338;;;;:::o;3410:943::-;3505:6;3513;3521;3529;3578:3;3566:9;3557:7;3553:23;3549:33;3546:120;;;3585:79;;:::i;:::-;3546:120;3705:1;3730:53;3775:7;3766:6;3755:9;3751:22;3730:53;:::i;:::-;3720:63;;3676:117;3832:2;3858:53;3903:7;3894:6;3883:9;3879:22;3858:53;:::i;:::-;3848:63;;3803:118;3960:2;3986:53;4031:7;4022:6;4011:9;4007:22;3986:53;:::i;:::-;3976:63;;3931:118;4116:2;4105:9;4101:18;4088:32;4147:18;4139:6;4136:30;4133:117;;;4169:79;;:::i;:::-;4133:117;4274:62;4328:7;4319:6;4308:9;4304:22;4274:62;:::i;:::-;4264:72;;4059:287;3410:943;;;;;;;:::o;4359:149::-;4395:7;4435:66;4428:5;4424:78;4413:89;;4359:149;;;:::o;4514:115::-;4599:23;4616:5;4599:23;:::i;:::-;4594:3;4587:36;4514:115;;:::o;4635:218::-;4726:4;4764:2;4753:9;4749:18;4741:26;;4777:69;4843:1;4832:9;4828:17;4819:6;4777:69;:::i;:::-;4635:218;;;;:::o;4859:329::-;4918:6;4967:2;4955:9;4946:7;4942:23;4938:32;4935:119;;;4973:79;;:::i;:::-;4935:119;5093:1;5118:53;5163:7;5154:6;5143:9;5139:22;5118:53;:::i;:::-;5108:63;;5064:117;4859:329;;;;:::o;5194:118::-;5281:24;5299:5;5281:24;:::i;:::-;5276:3;5269:37;5194:118;;:::o;5318:222::-;5411:4;5449:2;5438:9;5434:18;5426:26;;5462:71;5530:1;5519:9;5515:17;5506:6;5462:71;:::i;:::-;5318:222;;;;:::o;5546:329::-;5605:6;5654:2;5642:9;5633:7;5629:23;5625:32;5622:119;;;5660:79;;:::i;:::-;5622:119;5780:1;5805:53;5850:7;5841:6;5830:9;5826:22;5805:53;:::i;:::-;5795:63;;5751:117;5546:329;;;;:::o;5881:169::-;5965:11;5999:6;5994:3;5987:19;6039:4;6034:3;6030:14;6015:29;;5881:169;;;;:::o;6056:181::-;6196:33;6192:1;6184:6;6180:14;6173:57;6056:181;:::o;6243:366::-;6385:3;6406:67;6470:2;6465:3;6406:67;:::i;:::-;6399:74;;6482:93;6571:3;6482:93;:::i;:::-;6600:2;6595:3;6591:12;6584:19;;6243:366;;;:::o;6615:419::-;6781:4;6819:2;6808:9;6804:18;6796:26;;6868:9;6862:4;6858:20;6854:1;6843:9;6839:17;6832:47;6896:131;7022:4;6896:131;:::i;:::-;6888:139;;6615:419;;;:::o;7040:85::-;7085:7;7114:5;7103:16;;7040:85;;;:::o;7131:60::-;7159:3;7180:5;7173:12;;7131:60;;;:::o;7197:158::-;7255:9;7288:61;7306:42;7315:32;7341:5;7315:32;:::i;:::-;7306:42;:::i;:::-;7288:61;:::i;:::-;7275:74;;7197:158;;;:::o;7361:147::-;7456:45;7495:5;7456:45;:::i;:::-;7451:3;7444:58;7361:147;;:::o;7514:348::-;7643:4;7681:2;7670:9;7666:18;7658:26;;7694:71;7762:1;7751:9;7747:17;7738:6;7694:71;:::i;:::-;7775:80;7851:2;7840:9;7836:18;7827:6;7775:80;:::i;:::-;7514:348;;;;;:::o;7868:143::-;7925:5;7956:6;7950:13;7941:22;;7972:33;7999:5;7972:33;:::i;:::-;7868:143;;;;:::o;8017:351::-;8087:6;8136:2;8124:9;8115:7;8111:23;8107:32;8104:119;;;8142:79;;:::i;:::-;8104:119;8262:1;8287:64;8343:7;8334:6;8323:9;8319:22;8287:64;:::i;:::-;8277:74;;8233:128;8017:351;;;;:::o;8374:118::-;8461:24;8479:5;8461:24;:::i;:::-;8456:3;8449:37;8374:118;;:::o;8498:442::-;8647:4;8685:2;8674:9;8670:18;8662:26;;8698:71;8766:1;8755:9;8751:17;8742:6;8698:71;:::i;:::-;8779:72;8847:2;8836:9;8832:18;8823:6;8779:72;:::i;:::-;8861;8929:2;8918:9;8914:18;8905:6;8861:72;:::i;:::-;8498:442;;;;;;:::o;8946:332::-;9067:4;9105:2;9094:9;9090:18;9082:26;;9118:71;9186:1;9175:9;9171:17;9162:6;9118:71;:::i;:::-;9199:72;9267:2;9256:9;9252:18;9243:6;9199:72;:::i;:::-;8946:332;;;;;:::o;9284:225::-;9424:34;9420:1;9412:6;9408:14;9401:58;9493:8;9488:2;9480:6;9476:15;9469:33;9284:225;:::o;9515:366::-;9657:3;9678:67;9742:2;9737:3;9678:67;:::i;:::-;9671:74;;9754:93;9843:3;9754:93;:::i;:::-;9872:2;9867:3;9863:12;9856:19;;9515:366;;;:::o;9887:419::-;10053:4;10091:2;10080:9;10076:18;10068:26;;10140:9;10134:4;10130:20;10126:1;10115:9;10111:17;10104:47;10168:131;10294:4;10168:131;:::i;:::-;10160:139;;9887:419;;;:::o;10312:182::-;10452:34;10448:1;10440:6;10436:14;10429:58;10312:182;:::o;10500:366::-;10642:3;10663:67;10727:2;10722:3;10663:67;:::i;:::-;10656:74;;10739:93;10828:3;10739:93;:::i;:::-;10857:2;10852:3;10848:12;10841:19;;10500:366;;;:::o;10872:419::-;11038:4;11076:2;11065:9;11061:18;11053:26;;11125:9;11119:4;11115:20;11111:1;11100:9;11096:17;11089:47;11153:131;11279:4;11153:131;:::i;:::-;11145:139;;10872:419;;;:::o

Swarm Source

ipfs://6ebf1ae7df61e718825d40779c6597ccefdb13c83b0a90ea252ef8e46b526980

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ Download: CSV Export  ]
[ Download: CSV Export  ]

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