ETH Price: $2,410.38 (+2.38%)

Contract

0x33394e0FBd995469186cE7F9773067695e3FCF59
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Create Vault146885352022-04-30 23:38:51867 days ago1651361931IN
0x33394e0F...95e3FCF59
0 ETH0.0098917887.10698576
Create Vault146884242022-04-30 23:14:20867 days ago1651360460IN
0x33394e0F...95e3FCF59
0 ETH0.02171865191.25434638
Create Vault146883792022-04-30 23:03:50867 days ago1651359830IN
0x33394e0F...95e3FCF59
0 ETH0.0090847280
Create Vault146883692022-04-30 23:00:07867 days ago1651359607IN
0x33394e0F...95e3FCF59
0 ETH0.0052134845.90995113
Create Vault146883642022-04-30 22:58:25867 days ago1651359505IN
0x33394e0F...95e3FCF59
0 ETH0.0046639641.07085027
Create Vault146883042022-04-30 22:44:29867 days ago1651358669IN
0x33394e0F...95e3FCF59
0 ETH0.0062457455
Create Vault146882142022-04-30 22:19:51867 days ago1651357191IN
0x33394e0F...95e3FCF59
0 ETH0.0065863357.99926003
Create Vault146881122022-04-30 21:55:19867 days ago1651355719IN
0x33394e0F...95e3FCF59
0 ETH0.0049597843.67582486
Create Vault146878662022-04-30 20:58:42867 days ago1651352322IN
0x33394e0F...95e3FCF59
0 ETH0.0051147245.04027292
Create Vault146877612022-04-30 20:37:46867 days ago1651351066IN
0x33394e0F...95e3FCF59
0 ETH0.0068025559.90326107
Create Vault146877332022-04-30 20:31:09867 days ago1651350669IN
0x33394e0F...95e3FCF59
0 ETH0.0065495657.67543278
Create Vault146877272022-04-30 20:28:06867 days ago1651350486IN
0x33394e0F...95e3FCF59
0 ETH0.0052512746.24272941
Create Vault146877242022-04-30 20:27:26867 days ago1651350446IN
0x33394e0F...95e3FCF59
0 ETH0.0049888543.93183762
Create Vault146876942022-04-30 20:21:23867 days ago1651350083IN
0x33394e0F...95e3FCF59
0 ETH0.0053025346.69412865
Create Vault146876472022-04-30 20:11:08867 days ago1651349468IN
0x33394e0F...95e3FCF59
0 ETH0.0062457455
Create Vault146876242022-04-30 20:05:31867 days ago1651349131IN
0x33394e0F...95e3FCF59
0 ETH0.0041539636.57983856
Create Vault146875802022-04-30 19:58:02867 days ago1651348682IN
0x33394e0F...95e3FCF59
0 ETH0.0090847280
Create Vault146875572022-04-30 19:53:30867 days ago1651348410IN
0x33394e0F...95e3FCF59
0 ETH0.0061540654.192657
Create Vault146875522022-04-30 19:51:45867 days ago1651348305IN
0x33394e0F...95e3FCF59
0 ETH0.0056779550
Create Vault146875472022-04-30 19:50:56867 days ago1651348256IN
0x33394e0F...95e3FCF59
0 ETH0.006987361.53015168
Create Vault146875382022-04-30 19:47:41867 days ago1651348061IN
0x33394e0F...95e3FCF59
0 ETH0.0062457455
Create Vault146875182022-04-30 19:41:14867 days ago1651347674IN
0x33394e0F...95e3FCF59
0 ETH0.0037885733.3622088
Create Vault146874882022-04-30 19:35:13867 days ago1651347313IN
0x33394e0F...95e3FCF59
0 ETH0.0077220168
Create Vault146874822022-04-30 19:34:10867 days ago1651347250IN
0x33394e0F...95e3FCF59
0 ETH0.004918943.31581527
Create Vault146874792022-04-30 19:33:49867 days ago1651347229IN
0x33394e0F...95e3FCF59
0 ETH0.0063577355.98616358
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
146885352022-04-30 23:38:51867 days ago1651361931
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146884242022-04-30 23:14:20867 days ago1651360460
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146883792022-04-30 23:03:50867 days ago1651359830
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146883692022-04-30 23:00:07867 days ago1651359607
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146883642022-04-30 22:58:25867 days ago1651359505
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146883042022-04-30 22:44:29867 days ago1651358669
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146882142022-04-30 22:19:51867 days ago1651357191
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146881122022-04-30 21:55:19867 days ago1651355719
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146878662022-04-30 20:58:42867 days ago1651352322
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146877612022-04-30 20:37:46867 days ago1651351066
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146877332022-04-30 20:31:09867 days ago1651350669
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146877272022-04-30 20:28:06867 days ago1651350486
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146877242022-04-30 20:27:26867 days ago1651350446
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146876942022-04-30 20:21:23867 days ago1651350083
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146876472022-04-30 20:11:08867 days ago1651349468
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146876242022-04-30 20:05:31867 days ago1651349131
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146875802022-04-30 19:58:02867 days ago1651348682
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146875572022-04-30 19:53:30867 days ago1651348410
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146875522022-04-30 19:51:45867 days ago1651348305
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146875472022-04-30 19:50:56867 days ago1651348256
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146875382022-04-30 19:47:41867 days ago1651348061
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146875182022-04-30 19:41:14867 days ago1651347674
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146874882022-04-30 19:35:13867 days ago1651347313
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146874822022-04-30 19:34:10867 days ago1651347250
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
146874792022-04-30 19:33:49867 days ago1651347229
0x33394e0F...95e3FCF59
 Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
VaultManager

Compiler Version
v0.8.13+commit.abaa5c0e

Optimization Enabled:
Yes with 10000 runs

Other Settings:
default evmVersion
File 1 of 6 : VaultManager.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.13;

import "./CloneFactory.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Enumerable.sol";

error NotOwner();
error Initialised();
error MissingWallets();
error FailedTransfer();
error VaultExists(address vault);

contract VaultManager is CloneFactory {
    Vault public singleton = new Vault();
    mapping(address => Vault) public vaults;

    event VaultCreated(address vault);

    constructor() {
        singleton.init(address(this));
    }

    function createVault() external {
        if (address(vaults[msg.sender]) != address(0)) {
            revert VaultExists(address(vaults[msg.sender]));
        }

        Vault vault = _createVaultClone(msg.sender);
        vaults[msg.sender] = vault;
    }

    function _createVaultClone(address owner) internal returns (Vault vault) {
        address _vault = createClone(address(singleton));
        vault = Vault(payable(_vault));
        vault.init(owner);

        emit VaultCreated(_vault);
    }
}

contract Vault {
    bool initialised;
    address public owner;
    IERC20 public constant token =
        IERC20(0x4d224452801ACEd8B2F0aebE155379bb5D594381);
    IERC721Enumerable public constant otherdeed =
        IERC721Enumerable(0x34d85c9CDeB23FA97cb08333b511ac86E1C4E258);

    modifier onlyOwner() {
        if (msg.sender != owner) revert NotOwner();
        _;
    }

    function init(address _owner) external {
        if (initialised) revert Initialised();

        owner = _owner;
        initialised = true;
    }

    receive() external payable {}

    function disperse(address[] calldata wallets, uint256 tokenAmount)
        external
        payable
        onlyOwner
    {
        if (wallets.length == 0) revert MissingWallets();
        uint256 share = msg.value / wallets.length;

        for (uint256 i; i < wallets.length; i++) {
            bool success;

            if (tokenAmount > 0) {
                success = token.transferFrom(
                    msg.sender,
                    wallets[i],
                    tokenAmount
                );
                if (!success) {
                    revert FailedTransfer();
                }
            }

            if (share > 0) {
                (success, ) = wallets[i].call{value: share}("");
                if (!success) {
                    revert FailedTransfer();
                }
            }
        }
    }

    function claimTokensBundle(address[] calldata wallets, uint256 maxMintPerTx)
        external
        onlyOwner
    {
        if (wallets.length == 0) revert MissingWallets();
        uint256 tokenId = otherdeed.tokenOfOwnerByIndex(wallets[0], 0);

        for (uint256 i; i < wallets.length; i++) {
            for (uint256 j; j < maxMintPerTx; j++) {
                otherdeed.transferFrom(wallets[i], msg.sender, tokenId++);
            }
        }
    }

    function claimTokens(address[] calldata wallets) external onlyOwner {
        if (wallets.length == 0) revert MissingWallets();
        for (uint256 i; i < wallets.length; i++) {
            uint256 tokens = otherdeed.balanceOf(wallets[i]);
            uint256 tokenId = otherdeed.tokenOfOwnerByIndex(wallets[i], 0);

            for (uint256 j; j < tokens; j++) {
                otherdeed.transferFrom(wallets[i], msg.sender, tokenId++);
            }
        }
    }

    function withdraw(address wallet) external onlyOwner {
        bool success;
        uint256 balance = token.balanceOf(address(this));

        if (balance > 0) {
            success = token.transferFrom(address(this), msg.sender, balance);
            if (!success) {
                revert FailedTransfer();
            }
        }

        if (address(this).balance > 0) {
            (success, ) = wallet.call{value: address(this).balance}("");
            if (!success) {
                revert FailedTransfer();
            }
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);

    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

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

    /**
     * @dev Moves `amount` tokens from the caller's account to `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `from` to `to` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 amount
    ) external returns (bool);
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

    /**
     * @dev Transfers `tokenId` token from `from` to `to`.
     *
     * WARNING: Usage of this method is discouraged, use {safeTransferFrom} whenever possible.
     *
     * Requirements:
     *
     * - `from` cannot be the zero address.
     * - `to` cannot be the zero address.
     * - `tokenId` token must be owned by `from`.
     * - If the caller is not `from`, it must be approved to move this token by either {approve} or {setApprovalForAll}.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(
        address from,
        address to,
        uint256 tokenId
    ) external;

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

    /**
     * @dev 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 4 of 6 : IERC721Enumerable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

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

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

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

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

pragma solidity ^0.8.0;

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

File 6 of 6 : CloneFactory.sol
/*
The MIT License (MIT)
Copyright (c) 2018 Murray Software, LLC.
Permission is hereby granted, free of charge, to any person obtaining
a copy of this software and associated documentation files (the
"Software"), to deal in the Software without restriction, including
without limitation the rights to use, copy, modify, merge, publish,
distribute, sublicense, and/or sell copies of the Software, and to
permit persons to whom the Software is furnished to do so, subject to
the following conditions:
The above copyright notice and this permission notice shall be included
in all copies or substantial portions of the Software.
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
*/
//solhint-disable max-line-length
//solhint-disable no-inline-assembly

// SPDX-License-Identifier: MIT
pragma solidity >=0.4.23;

contract CloneFactory {
    function createClone(address target) internal returns (address result) {
        bytes20 targetBytes = bytes20(target);
        assembly {
            let clone := mload(0x40)
            mstore(
                clone,
                0x3d602d80600a3d3981f3363d3d373d3d3d363d73000000000000000000000000
            )
            mstore(add(clone, 0x14), targetBytes)
            mstore(
                add(clone, 0x28),
                0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
            )
            result := create(0, clone, 0x37)
        }
    }

    function isClone(address target, address query)
        internal
        view
        returns (bool result)
    {
        bytes20 targetBytes = bytes20(target);
        assembly {
            let clone := mload(0x40)
            mstore(
                clone,
                0x363d3d373d3d3d363d7300000000000000000000000000000000000000000000
            )
            mstore(add(clone, 0xa), targetBytes)
            mstore(
                add(clone, 0x1e),
                0x5af43d82803e903d91602b57fd5bf30000000000000000000000000000000000
            )

            let other := add(clone, 0x40)
            extcodecopy(query, other, 0, 0x2d)
            result := and(
                eq(mload(clone), mload(other)),
                eq(mload(add(clone, 0xd)), mload(add(other, 0xd)))
            )
        }
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"vault","type":"address"}],"name":"VaultExists","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"vault","type":"address"}],"name":"VaultCreated","type":"event"},{"inputs":[],"name":"createVault","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"singleton","outputs":[{"internalType":"contract Vault","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"vaults","outputs":[{"internalType":"contract Vault","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052604051610010906100bc565b604051809103906000f08015801561002c573d6000803e3d6000fd5b50600080546001600160a01b0319166001600160a01b039290921691909117905534801561005957600080fd5b5060005460405163066ad14f60e21b81523060048201526001600160a01b03909116906319ab453c90602401600060405180830381600087803b15801561009f57600080fd5b505af11580156100b3573d6000803e3d6000fd5b505050506100c9565b610fd08061046b83390190565b610393806100d86000396000f3fe608060405234801561001057600080fd5b50600436106100415760003560e01c80635d12928b14610046578063a622ee7c14610050578063b62654fb146100af575b600080fd5b61004e6100cf565b005b61008661005e366004610320565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100869073ffffffffffffffffffffffffffffffffffffffff1681565b3360009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff161561015a5733600090815260016020526040908190205490517f70743b3800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116600482015260240160405180910390fd5b6000610165336101ba565b33600090815260016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6000805481906101df9073ffffffffffffffffffffffffffffffffffffffff166102b7565b6040517f19ab453c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152919350839250908216906319ab453c90602401600060405180830381600087803b15801561024f57600080fd5b505af1158015610263573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841681527f2e49a5810fda2439a23771848b4acec786b0a64d4de3d124ac57fc8739c388759250602001905060405180910390a150919050565b6000808260601b90506040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528160148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f0949350505050565b60006020828403121561033257600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461035657600080fd5b939250505056fea2646970667358221220e441ed9af61a15b16fff5b80ea976885f9853a1959e9b7ddfdaf1de50e5d037464736f6c634300080d0033608060405234801561001057600080fd5b50610fb0806100206000396000f3fe60806040526004361061007f5760003560e01c80638da5cb5b1161004e5780638da5cb5b1461013e578063d830db3a14610170578063eef72a3c14610183578063fc0c546a146101a357600080fd5b806319ab453c1461008b578063305b8381146100ad5780633aab8154146100fe57806351cff8d91461011e57600080fd5b3661008657005b600080fd5b34801561009757600080fd5b506100ab6100a6366004610d5f565b6101cb565b005b3480156100b957600080fd5b506100d57334d85c9cdeb23fa97cb08333b511ac86e1c4e25881565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b34801561010a57600080fd5b506100ab610119366004610de8565b61027c565b34801561012a57600080fd5b506100ab610139366004610d5f565b610501565b34801561014a57600080fd5b506000546100d590610100900473ffffffffffffffffffffffffffffffffffffffff1681565b6100ab61017e366004610de8565b610767565b34801561018f57600080fd5b506100ab61019e366004610e34565b610a0a565b3480156101af57600080fd5b506100d5734d224452801aced8b2f0aebe155379bb5d59438181565b60005460ff1615610208576040517f09dfb90900000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600080547fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff0073ffffffffffffffffffffffffffffffffffffffff90931661010002929092167fffffffffffffffffffffff000000000000000000000000000000000000000000909216919091176001179055565b600054610100900473ffffffffffffffffffffffffffffffffffffffff1633146102d2576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600082900361030d576040517f793f8d0a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60007334d85c9cdeb23fa97cb08333b511ac86e1c4e258632f745c598585848161033957610339610e76565b905060200201602081019061034e9190610d5f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff909116600482015260006024820152604401602060405180830381865afa1580156103be573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103e29190610ea5565b905060005b838110156104fa5760005b838110156104e7577334d85c9cdeb23fa97cb08333b511ac86e1c4e2586323b872dd87878581811061042657610426610e76565b905060200201602081019061043b9190610d5f565b338661044681610ebe565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815273ffffffffffffffffffffffffffffffffffffffff948516600482015293909216602484015260448301529550606401600060405180830381600087803b1580156104bc57600080fd5b505af11580156104d0573d6000803e3d6000fd5b5050505080806104df90610ebe565b9150506103f2565b50806104f281610ebe565b9150506103e7565b5050505050565b600054610100900473ffffffffffffffffffffffffffffffffffffffff163314610557576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040517f70a082310000000000000000000000000000000000000000000000000000000081523060048201526000908190734d224452801aced8b2f0aebe155379bb5d594381906370a0823190602401602060405180830381865afa1580156105c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105e89190610ea5565b905080156106c4576040517f23b872dd00000000000000000000000000000000000000000000000000000000815230600482015233602482015260448101829052734d224452801aced8b2f0aebe155379bb5d594381906323b872dd906064016020604051808303816000875af1158015610667573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061068b9190610f1d565b9150816106c4576040517fbfa871c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b47156107625760405173ffffffffffffffffffffffffffffffffffffffff8416904790600081818185875af1925050503d8060008114610720576040519150601f19603f3d011682016040523d82523d6000602084013e610725565b606091505b50508092505081610762576040517fbfa871c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b505050565b600054610100900473ffffffffffffffffffffffffffffffffffffffff1633146107bd576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60008290036107f8576040517f793f8d0a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60006108048334610f3f565b905060005b838110156104fa576000831561093157734d224452801aced8b2f0aebe155379bb5d5943816323b872dd3388888681811061084657610846610e76565b905060200201602081019061085b9190610d5f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e085901b16815273ffffffffffffffffffffffffffffffffffffffff928316600482015291166024820152604481018790526064016020604051808303816000875af11580156108d4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108f89190610f1d565b905080610931576040517fbfa871c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b82156109f75785858381811061094957610949610e76565b905060200201602081019061095e9190610d5f565b73ffffffffffffffffffffffffffffffffffffffff168360405160006040518083038185875af1925050503d80600081146109b5576040519150601f19603f3d011682016040523d82523d6000602084013e6109ba565b606091505b505080915050806109f7576040517fbfa871c500000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b5080610a0281610ebe565b915050610809565b600054610100900473ffffffffffffffffffffffffffffffffffffffff163314610a60576040517f30cd747100000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6000819003610a9b576040517f793f8d0a00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b60005b818110156107625760007334d85c9cdeb23fa97cb08333b511ac86e1c4e2586370a08231858585818110610ad457610ad4610e76565b9050602002016020810190610ae99190610d5f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff9091166004820152602401602060405180830381865afa158015610b52573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b769190610ea5565b905060007334d85c9cdeb23fa97cb08333b511ac86e1c4e258632f745c59868686818110610ba657610ba6610e76565b9050602002016020810190610bbb9190610d5f565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e084901b16815273ffffffffffffffffffffffffffffffffffffffff909116600482015260006024820152604401602060405180830381865afa158015610c2b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4f9190610ea5565b905060005b82811015610d49577334d85c9cdeb23fa97cb08333b511ac86e1c4e2586323b872dd878787818110610c8857610c88610e76565b9050602002016020810190610c9d9190610d5f565b3385610ca881610ebe565b6040517fffffffff0000000000000000000000000000000000000000000000000000000060e087901b16815273ffffffffffffffffffffffffffffffffffffffff948516600482015293909216602484015260448301529450606401600060405180830381600087803b158015610d1e57600080fd5b505af1158015610d32573d6000803e3d6000fd5b505050508080610d4190610ebe565b915050610c54565b5050508080610d5790610ebe565b915050610a9e565b600060208284031215610d7157600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610d9557600080fd5b9392505050565b60008083601f840112610dae57600080fd5b50813567ffffffffffffffff811115610dc657600080fd5b6020830191508360208260051b8501011115610de157600080fd5b9250929050565b600080600060408486031215610dfd57600080fd5b833567ffffffffffffffff811115610e1457600080fd5b610e2086828701610d9c565b909790965060209590950135949350505050565b60008060208385031215610e4757600080fd5b823567ffffffffffffffff811115610e5e57600080fd5b610e6a85828601610d9c565b90969095509350505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b600060208284031215610eb757600080fd5b5051919050565b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610f16577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b5060010190565b600060208284031215610f2f57600080fd5b81518015158114610d9557600080fd5b600082610f75577f4e487b7100000000000000000000000000000000000000000000000000000000600052601260045260246000fd5b50049056fea264697066735822122094b304cc1f20e545ca2e8bd72f57e8ed356239215670d83c9ecd41cc60f8dfba64736f6c634300080d0033

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100415760003560e01c80635d12928b14610046578063a622ee7c14610050578063b62654fb146100af575b600080fd5b61004e6100cf565b005b61008661005e366004610320565b60016020526000908152604090205473ffffffffffffffffffffffffffffffffffffffff1681565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6000546100869073ffffffffffffffffffffffffffffffffffffffff1681565b3360009081526001602052604090205473ffffffffffffffffffffffffffffffffffffffff161561015a5733600090815260016020526040908190205490517f70743b3800000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff909116600482015260240160405180910390fd5b6000610165336101ba565b33600090815260016020526040902080547fffffffffffffffffffffffff00000000000000000000000000000000000000001673ffffffffffffffffffffffffffffffffffffffff9290921691909117905550565b6000805481906101df9073ffffffffffffffffffffffffffffffffffffffff166102b7565b6040517f19ab453c00000000000000000000000000000000000000000000000000000000815273ffffffffffffffffffffffffffffffffffffffff8581166004830152919350839250908216906319ab453c90602401600060405180830381600087803b15801561024f57600080fd5b505af1158015610263573d6000803e3d6000fd5b505060405173ffffffffffffffffffffffffffffffffffffffff841681527f2e49a5810fda2439a23771848b4acec786b0a64d4de3d124ac57fc8739c388759250602001905060405180910390a150919050565b6000808260601b90506040517f3d602d80600a3d3981f3363d3d373d3d3d363d7300000000000000000000000081528160148201527f5af43d82803e903d91602b57fd5bf3000000000000000000000000000000000060288201526037816000f0949350505050565b60006020828403121561033257600080fd5b813573ffffffffffffffffffffffffffffffffffffffff8116811461035657600080fd5b939250505056fea2646970667358221220e441ed9af61a15b16fff5b80ea976885f9853a1959e9b7ddfdaf1de50e5d037464736f6c634300080d0033

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  ]
[ 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.