ETH Price: $3,313.16 (-3.52%)
Gas: 20 Gwei

Contract

0xCda196F80468FcF8799e202bE9851e9864C716F4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw All174441202023-06-09 17:22:11389 days ago1686331331IN
0xCda196F8...864C716F4
0 ETH0.0005895618.68196436
Buy Full Set172187832023-05-08 22:37:23421 days ago1683585443IN
0xCda196F8...864C716F4
1.234 ETH0.0023268775
Buy Full Set172182172023-05-08 20:42:47421 days ago1683578567IN
0xCda196F8...864C716F4
1.234 ETH0.0025231381.32572354
Buy Full Set172173802023-05-08 17:53:35421 days ago1683568415IN
0xCda196F8...864C716F4
1.234 ETH0.00360037116.04760821
Buy Full Set172171152023-05-08 16:59:59421 days ago1683565199IN
0xCda196F8...864C716F4
1.234 ETH0.56675787175.22201177
Buy Full Set172171122023-05-08 16:59:23421 days ago1683565163IN
0xCda196F8...864C716F4
1.234 ETH0.542332167.67037318
Buy Full Set172171082023-05-08 16:58:35421 days ago1683565115IN
0xCda196F8...864C716F4
1.234 ETH0.55895645172.81008127
Buy Full Set172171082023-05-08 16:58:35421 days ago1683565115IN
0xCda196F8...864C716F4
1.234 ETH0.26345121172.81008127
Buy Full Set172171082023-05-08 16:58:35421 days ago1683565115IN
0xCda196F8...864C716F4
1.234 ETH0.55895645172.81008127
Buy Full Set172171082023-05-08 16:58:35421 days ago1683565115IN
0xCda196F8...864C716F4
1.234 ETH0.55960335173.01008127
Buy Full Set172171052023-05-08 16:57:59421 days ago1683565079IN
0xCda196F8...864C716F4
1.234 ETH0.54984638169.99356255
Buy Full Set172171032023-05-08 16:57:35421 days ago1683565055IN
0xCda196F8...864C716F4
1.234 ETH0.57210355176.87471048
Buy Full Set172171012023-05-08 16:57:11421 days ago1683565031IN
0xCda196F8...864C716F4
2.468 ETH0.55553839171.75333578
Buy Full Set172171002023-05-08 16:56:59421 days ago1683565019IN
0xCda196F8...864C716F4
1.234 ETH0.55586964171.85574657
Buy Full Set172171002023-05-08 16:56:59421 days ago1683565019IN
0xCda196F8...864C716F4
1.234 ETH0.55586964171.85574657
Buy Full Set172170982023-05-08 16:56:35421 days ago1683564995IN
0xCda196F8...864C716F4
1.234 ETH0.55587775171.85825357
Buy Full Set172170982023-05-08 16:56:35421 days ago1683564995IN
0xCda196F8...864C716F4
1.234 ETH0.55587775171.85825357
Buy Full Set172170962023-05-08 16:56:11421 days ago1683564971IN
0xCda196F8...864C716F4
2.468 ETH0.58187772179.8965486
Buy Full Set172170962023-05-08 16:56:11421 days ago1683564971IN
0xCda196F8...864C716F4
1.234 ETH0.58187772179.8965486
Buy Full Set172170952023-05-08 16:55:59421 days ago1683564959IN
0xCda196F8...864C716F4
2.468 ETH0.58605461181.18789926
Buy Full Set172170922023-05-08 16:55:23421 days ago1683564923IN
0xCda196F8...864C716F4
1.234 ETH0.56915925175.96443661
Buy Full Set172170902023-05-08 16:54:59421 days ago1683564899IN
0xCda196F8...864C716F4
1.234 ETH0.60177137186.04698131
Buy Full Set172170882023-05-08 16:54:35421 days ago1683564875IN
0xCda196F8...864C716F4
1.234 ETH0.58064264179.51470511
Buy Full Set172170862023-05-08 16:54:11421 days ago1683564851IN
0xCda196F8...864C716F4
1.234 ETH0.59118602182.77435276
Buy Full Set172170852023-05-08 16:53:59421 days ago1683564839IN
0xCda196F8...864C716F4
6.17 ETH0.29131879191.08974215
View all transactions

Latest 2 internal transactions

Advanced mode:
Parent Transaction Hash Block From To Value
174441202023-06-09 17:22:11389 days ago1686331331
0xCda196F8...864C716F4
344.286 ETH
172129992023-05-08 3:07:47422 days ago1683515267
0xCda196F8...864C716F4
487.43 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ZogzPresale

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 1000000 runs

Other Settings:
default evmVersion
File 1 of 5 : ZogzPresale.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.18;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "@openzeppelin/contracts/security/ReentrancyGuard.sol";

interface IZogzEditions {
    function mintBatch(
        address __account,
        uint256[] memory __ids,
        uint256[] memory __amounts
    ) external;
}

contract ZogzPresale is Ownable, Pausable, ReentrancyGuard {
    error AmountExceedsTransactionLimit();
    error Forbidden();
    error HasEnded();
    error HasNotStarted();
    error IncorrectPrice();
    error InvalidAddress();
    error InvalidAmount();
    error WithdrawFailed();

    event FullSetPurchase(address __account, uint256 __amount);
    event TransactionLimit(uint256 __transactionLimit);
    event Withdraw(uint256 __amount);

    uint256 public constant PRICE = 1.234 ether;
    uint256 public constant SUPPLY = 100;

    uint256 public constant START = 1683306000;
    uint256 public constant END = 1683565199;

    uint256 public transactionLimit = 10;

    IZogzEditions public _zogzEditionsContract;

    constructor(address __zogzEditionsContractAddress) {
        if (__zogzEditionsContractAddress == address(0)) {
            revert InvalidAddress();
        }
        _zogzEditionsContract = IZogzEditions(__zogzEditionsContractAddress);
    }

    ////////////////////////////////////////////////////////////////////////////
    // MODIFIERS
    ////////////////////////////////////////////////////////////////////////////

    modifier onlyEOA() {
        if (tx.origin != msg.sender) {
            revert Forbidden();
        }
        _;
    }

    ////////////////////////////////////////////////////////////////////////////
    // OWNER
    ////////////////////////////////////////////////////////////////////////////

    /**
     * @dev Used to pause sales.
     */
    function pause() external onlyOwner {
        _pause();
    }

    /**
     * @dev Used to unpause sales.
     */
    function unpause() external onlyOwner {
        _unpause();
    }

    /**
     * @dev Used to set new transaction limit.
     */
    function setTransactionLimit(
        uint256 __transactionLimit
    ) external onlyOwner {
        transactionLimit = __transactionLimit;

        emit TransactionLimit(__transactionLimit);
    }

    /**
     * @dev Used to withdraw funds from the contract.
     */
    function withdraw(uint256 __amount) external onlyOwner {
        (bool success, ) = owner().call{value: __amount}("");

        if (!success) revert WithdrawFailed();

        emit Withdraw(__amount);
    }

    /**
     * @dev Used to withdraw all funds from the contract.
     */
    function withdrawAll() external onlyOwner {
        uint256 amount = address(this).balance;

        (bool success, ) = owner().call{value: amount}("");

        if (!success) revert WithdrawFailed();

        emit Withdraw(amount);
    }

    ////////////////////////////////////////////////////////////////////////////
    // WRITES
    ////////////////////////////////////////////////////////////////////////////

    function buyFullSet(
        uint256 __amount
    ) external payable nonReentrant whenNotPaused onlyEOA {
        if (__amount == 0) {
            revert InvalidAmount();
        }

        if (__amount > transactionLimit) {
            revert AmountExceedsTransactionLimit();
        }

        if (msg.value != __amount * PRICE) {
            revert IncorrectPrice();
        }

        if (block.timestamp < START) {
            revert HasNotStarted();
        }

        if (block.timestamp > END) {
            revert HasEnded();
        }

        uint256[] memory ids = new uint256[](SUPPLY);
        uint256[] memory amounts = new uint256[](SUPPLY);
        for (uint256 i = 0; i < SUPPLY; i++) {
            ids[i] = i + 1;
            amounts[i] = __amount;
        }

        _zogzEditionsContract.mintBatch(_msgSender(), ids, amounts);

        emit FullSetPurchase(_msgSender(), __amount);
    }
}

File 2 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

File 3 of 5 : Pausable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (security/Pausable.sol)

pragma solidity ^0.8.0;

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

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

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

    bool private _paused;

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

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

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

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

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

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

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

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

File 4 of 5 : ReentrancyGuard.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (security/ReentrancyGuard.sol)

pragma solidity ^0.8.0;

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

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

    uint256 private _status;

    constructor() {
        _status = _NOT_ENTERED;
    }

    /**
     * @dev Prevents a contract from calling itself, directly or indirectly.
     * Calling a `nonReentrant` function from another `nonReentrant`
     * function is not supported. It is possible to prevent this from happening
     * by making the `nonReentrant` function external, and making it call a
     * `private` function that does the actual work.
     */
    modifier nonReentrant() {
        _nonReentrantBefore();
        _;
        _nonReentrantAfter();
    }

    function _nonReentrantBefore() private {
        // On the first call to nonReentrant, _status will be _NOT_ENTERED
        require(_status != _ENTERED, "ReentrancyGuard: reentrant call");

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

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

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

pragma solidity ^0.8.0;

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

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"__zogzEditionsContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[],"name":"AmountExceedsTransactionLimit","type":"error"},{"inputs":[],"name":"Forbidden","type":"error"},{"inputs":[],"name":"HasEnded","type":"error"},{"inputs":[],"name":"HasNotStarted","type":"error"},{"inputs":[],"name":"IncorrectPrice","type":"error"},{"inputs":[],"name":"InvalidAddress","type":"error"},{"inputs":[],"name":"InvalidAmount","type":"error"},{"inputs":[],"name":"WithdrawFailed","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"__account","type":"address"},{"indexed":false,"internalType":"uint256","name":"__amount","type":"uint256"}],"name":"FullSetPurchase","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"__transactionLimit","type":"uint256"}],"name":"TransactionLimit","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"__amount","type":"uint256"}],"name":"Withdraw","type":"event"},{"inputs":[],"name":"END","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"SUPPLY","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"_zogzEditionsContract","outputs":[{"internalType":"contract IZogzEditions","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"__amount","type":"uint256"}],"name":"buyFullSet","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__transactionLimit","type":"uint256"}],"name":"setTransactionLimit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"transactionLimit","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"__amount","type":"uint256"}],"name":"withdraw","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"withdrawAll","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600a60025534801561001557600080fd5b50604051610eb4380380610eb4833981016040819052610034916100ea565b61003d3361009a565b6000805460ff60a01b19169055600180556001600160a01b0381166100755760405163e6c4247b60e01b815260040160405180910390fd5b600380546001600160a01b0319166001600160a01b039290921691909117905561011a565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100fc57600080fd5b81516001600160a01b038116811461011357600080fd5b9392505050565b610d8b806101296000396000f3fe6080604052600436106100f35760003560e01c80638d859f3e1161008a578063c8b0ec6511610059578063c8b0ec6514610284578063efe7a504146102b1578063f19605d6146102c9578063f2fde38b146102df57600080fd5b80638d859f3e146101e15780638da5cb5b1461020b578063ba9a061a14610257578063c50497ae1461026f57600080fd5b8063715018a6116100c6578063715018a61461018f578063787854c6146101a45780638456cb59146101b7578063853828b6146101cc57600080fd5b80632e1a7d4d146100f85780633f4ba83a1461011a5780635c975abb1461012f57806364bfa5461461016f575b600080fd5b34801561010457600080fd5b50610118610113366004610bb3565b6102ff565b005b34801561012657600080fd5b506101186103f0565b34801561013b57600080fd5b5060005474010000000000000000000000000000000000000000900460ff1660405190151581526020015b60405180910390f35b34801561017b57600080fd5b5061011861018a366004610bb3565b610402565b34801561019b57600080fd5b50610118610445565b6101186101b2366004610bb3565b610457565b3480156101c357600080fd5b50610118610762565b3480156101d857600080fd5b50610118610772565b3480156101ed57600080fd5b506101fd6711200c7644d5000081565b604051908152602001610166565b34801561021757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610166565b34801561026357600080fd5b506101fd636455361081565b34801561027b57600080fd5b506101fd606481565b34801561029057600080fd5b506003546102329073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102bd57600080fd5b506101fd6364592a8f81565b3480156102d557600080fd5b506101fd60025481565b3480156102eb57600080fd5b506101186102fa366004610bcc565b61079c565b610307610855565b6000805473ffffffffffffffffffffffffffffffffffffffff165b73ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610379576040519150601f19603f3d011682016040523d82523d6000602084013e61037e565b606091505b50509050806103b9576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518281527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a15050565b6103f8610855565b6104006108d6565b565b61040a610855565b60028190556040518181527faa806d9f1b4285f6cd559d658b62ed4ae34f4c9cf48f17bbe30f9cba40849d799060200160405180910390a150565b61044d610855565b6104006000610953565b61045f6109c8565b610467610a3b565b3233146104a0576040517fee90c46800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000036104da576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600254811115610516576040517f8ba1cb6700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105286711200c7644d5000082610c38565b3414610560576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b636455361042101561059e576040517fedfcf79700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6364592a8f4211156105dc576040517f0cbb94e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516064808252610ca0820190925260009160208201610c80803683375050604080516064808252610ca08201909252929350600092915060208201610c808036833701905050905060005b606481101561068c5761063e816001610c55565b83828151811061065057610650610c68565b6020026020010181815250508382828151811061066f5761066f610c68565b60209081029190910101528061068481610c97565b91505061062a565b5060035473ffffffffffffffffffffffffffffffffffffffff1663d81d0a153384846040518463ffffffff1660e01b81526004016106cc93929190610d0a565b600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b505050507fcaf95cc263913365e029e8f1cb92cde360b51663d3b1c010f41af0b677b92f346107263390565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018690520160405180910390a1505061075f60018055565b50565b61076a610855565b610400610ac0565b61077a610855565b47600061032260005473ffffffffffffffffffffffffffffffffffffffff1690565b6107a4610855565b73ffffffffffffffffffffffffffffffffffffffff811661084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61075f81610953565b60005473ffffffffffffffffffffffffffffffffffffffff163314610400576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610843565b6108de610b2f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600260015403610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610843565b6002600155565b60005474010000000000000000000000000000000000000000900460ff1615610400576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610843565b610ac8610a3b565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109293390565b60005474010000000000000000000000000000000000000000900460ff16610400576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610843565b600060208284031215610bc557600080fd5b5035919050565b600060208284031215610bde57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c0257600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610c4f57610c4f610c09565b92915050565b80820180821115610c4f57610c4f610c09565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610cc857610cc8610c09565b5060010190565b600081518084526020808501945080840160005b83811015610cff57815187529582019590820190600101610ce3565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000610d396060830185610ccf565b8281036040840152610d4b8185610ccf565b969550505050505056fea26469706673582212209ad89306bc192def2e1b5f42eb0faed2a7341b4f463d69d387a2217b9880863064736f6c63430008120033000000000000000000000000808e5cd160d8819ca24c2053037049eb611d0542

Deployed Bytecode

0x6080604052600436106100f35760003560e01c80638d859f3e1161008a578063c8b0ec6511610059578063c8b0ec6514610284578063efe7a504146102b1578063f19605d6146102c9578063f2fde38b146102df57600080fd5b80638d859f3e146101e15780638da5cb5b1461020b578063ba9a061a14610257578063c50497ae1461026f57600080fd5b8063715018a6116100c6578063715018a61461018f578063787854c6146101a45780638456cb59146101b7578063853828b6146101cc57600080fd5b80632e1a7d4d146100f85780633f4ba83a1461011a5780635c975abb1461012f57806364bfa5461461016f575b600080fd5b34801561010457600080fd5b50610118610113366004610bb3565b6102ff565b005b34801561012657600080fd5b506101186103f0565b34801561013b57600080fd5b5060005474010000000000000000000000000000000000000000900460ff1660405190151581526020015b60405180910390f35b34801561017b57600080fd5b5061011861018a366004610bb3565b610402565b34801561019b57600080fd5b50610118610445565b6101186101b2366004610bb3565b610457565b3480156101c357600080fd5b50610118610762565b3480156101d857600080fd5b50610118610772565b3480156101ed57600080fd5b506101fd6711200c7644d5000081565b604051908152602001610166565b34801561021757600080fd5b5060005473ffffffffffffffffffffffffffffffffffffffff165b60405173ffffffffffffffffffffffffffffffffffffffff9091168152602001610166565b34801561026357600080fd5b506101fd636455361081565b34801561027b57600080fd5b506101fd606481565b34801561029057600080fd5b506003546102329073ffffffffffffffffffffffffffffffffffffffff1681565b3480156102bd57600080fd5b506101fd6364592a8f81565b3480156102d557600080fd5b506101fd60025481565b3480156102eb57600080fd5b506101186102fa366004610bcc565b61079c565b610307610855565b6000805473ffffffffffffffffffffffffffffffffffffffff165b73ffffffffffffffffffffffffffffffffffffffff168260405160006040518083038185875af1925050503d8060008114610379576040519150601f19603f3d011682016040523d82523d6000602084013e61037e565b606091505b50509050806103b9576040517f750b219c00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6040518281527f5b6b431d4476a211bb7d41c20d1aab9ae2321deee0d20be3d9fc9b1093fa6e3d9060200160405180910390a15050565b6103f8610855565b6104006108d6565b565b61040a610855565b60028190556040518181527faa806d9f1b4285f6cd559d658b62ed4ae34f4c9cf48f17bbe30f9cba40849d799060200160405180910390a150565b61044d610855565b6104006000610953565b61045f6109c8565b610467610a3b565b3233146104a0576040517fee90c46800000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b806000036104da576040517f2c5211c600000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b600254811115610516576040517f8ba1cb6700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6105286711200c7644d5000082610c38565b3414610560576040517f99b5cb1d00000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b636455361042101561059e576040517fedfcf79700000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b6364592a8f4211156105dc576040517f0cbb94e000000000000000000000000000000000000000000000000000000000815260040160405180910390fd5b604080516064808252610ca0820190925260009160208201610c80803683375050604080516064808252610ca08201909252929350600092915060208201610c808036833701905050905060005b606481101561068c5761063e816001610c55565b83828151811061065057610650610c68565b6020026020010181815250508382828151811061066f5761066f610c68565b60209081029190910101528061068481610c97565b91505061062a565b5060035473ffffffffffffffffffffffffffffffffffffffff1663d81d0a153384846040518463ffffffff1660e01b81526004016106cc93929190610d0a565b600060405180830381600087803b1580156106e657600080fd5b505af11580156106fa573d6000803e3d6000fd5b505050507fcaf95cc263913365e029e8f1cb92cde360b51663d3b1c010f41af0b677b92f346107263390565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252602082018690520160405180910390a1505061075f60018055565b50565b61076a610855565b610400610ac0565b61077a610855565b47600061032260005473ffffffffffffffffffffffffffffffffffffffff1690565b6107a4610855565b73ffffffffffffffffffffffffffffffffffffffff811661084c576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201527f646472657373000000000000000000000000000000000000000000000000000060648201526084015b60405180910390fd5b61075f81610953565b60005473ffffffffffffffffffffffffffffffffffffffff163314610400576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610843565b6108de610b2f565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff1690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390a1565b6000805473ffffffffffffffffffffffffffffffffffffffff8381167fffffffffffffffffffffffff0000000000000000000000000000000000000000831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600260015403610a34576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601f60248201527f5265656e7472616e637947756172643a207265656e7472616e742063616c6c006044820152606401610843565b6002600155565b60005474010000000000000000000000000000000000000000900460ff1615610400576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601060248201527f5061757361626c653a20706175736564000000000000000000000000000000006044820152606401610843565b610ac8610a3b565b600080547fffffffffffffffffffffff00ffffffffffffffffffffffffffffffffffffffff16740100000000000000000000000000000000000000001790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a2586109293390565b60005474010000000000000000000000000000000000000000900460ff16610400576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152601460248201527f5061757361626c653a206e6f74207061757365640000000000000000000000006044820152606401610843565b600060208284031215610bc557600080fd5b5035919050565b600060208284031215610bde57600080fd5b813573ffffffffffffffffffffffffffffffffffffffff81168114610c0257600080fd5b9392505050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b8082028115828204841417610c4f57610c4f610c09565b92915050565b80820180821115610c4f57610c4f610c09565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052603260045260246000fd5b60007fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff8203610cc857610cc8610c09565b5060010190565b600081518084526020808501945080840160005b83811015610cff57815187529582019590820190600101610ce3565b509495945050505050565b73ffffffffffffffffffffffffffffffffffffffff84168152606060208201526000610d396060830185610ccf565b8281036040840152610d4b8185610ccf565b969550505050505056fea26469706673582212209ad89306bc192def2e1b5f42eb0faed2a7341b4f463d69d387a2217b9880863064736f6c63430008120033

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

000000000000000000000000808e5cd160d8819ca24c2053037049eb611d0542

-----Decoded View---------------
Arg [0] : __zogzEditionsContractAddress (address): 0x808E5Cd160d8819CA24C2053037049EB611D0542

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000808e5cd160d8819ca24c2053037049eb611d0542


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.