ETH Price: $2,622.02 (-1.83%)
Gas: 1 Gwei

Contract

0x32d673A7761f01bcafF925efa763771b37d7d9f6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Comic200472952024-06-08 13:05:2362 days ago1717851923IN
0x32d673A7...b37d7d9f6
0 ETH0.00070167.49149946
Claim Comic199078292024-05-20 1:22:3582 days ago1716168155IN
0x32d673A7...b37d7d9f6
0 ETH0.000272212.90655237
Claim Comic198931212024-05-17 23:59:5984 days ago1715990399IN
0x32d673A7...b37d7d9f6
0 ETH0.000147663.15706319
Claim Comic198265242024-05-08 16:26:5993 days ago1715185619IN
0x32d673A7...b37d7d9f6
0 ETH0.000238535.09966619
Claim Comic198265182024-05-08 16:25:4793 days ago1715185547IN
0x32d673A7...b37d7d9f6
0 ETH0.000238735.10399701
Claim Comic198264322024-05-08 16:08:3593 days ago1715184515IN
0x32d673A7...b37d7d9f6
0 ETH0.000426839.12555066
Claim Comic197711232024-04-30 22:32:23101 days ago1714516343IN
0x32d673A7...b37d7d9f6
0 ETH0.0009399610.03655032
Claim Comic197549942024-04-28 16:25:35103 days ago1714321535IN
0x32d673A7...b37d7d9f6
0 ETH0.0009587210.23685279
Claim Comic192973722024-02-24 12:13:11167 days ago1708776791IN
0x32d673A7...b37d7d9f6
0 ETH0.0020277821.65188074
Claim Comic192221712024-02-13 22:52:35178 days ago1707864755IN
0x32d673A7...b37d7d9f6
0 ETH0.002257224.10158643
Claim Comic191502362024-02-03 20:34:23188 days ago1706992463IN
0x32d673A7...b37d7d9f6
0 ETH0.0013797314.73225074
Claim Comic190800472024-01-25 0:25:11198 days ago1706142311IN
0x32d673A7...b37d7d9f6
0 ETH0.0004696310.04050012
Claim Comic190545092024-01-21 10:02:11201 days ago1705831331IN
0x32d673A7...b37d7d9f6
0 ETH0.0011526312.3073401
Claim Comic190310902024-01-18 3:32:47205 days ago1705548767IN
0x32d673A7...b37d7d9f6
0 ETH0.0025049626.74701231
Claim Comic189973302024-01-13 10:19:23209 days ago1705141163IN
0x32d673A7...b37d7d9f6
0 ETH0.0017420418.60084336
Claim Comic189263392024-01-03 10:48:11219 days ago1704278891IN
0x32d673A7...b37d7d9f6
0 ETH0.0019421720.73776796
Claim Comic185980902023-11-18 10:20:11265 days ago1700302811IN
0x32d673A7...b37d7d9f6
0 ETH0.0015416916.4616454
Claim Comic185850342023-11-16 14:26:23267 days ago1700144783IN
0x32d673A7...b37d7d9f6
0 ETH0.0035886338.3180115
Claim Comic185107682023-11-06 5:09:11278 days ago1699247351IN
0x32d673A7...b37d7d9f6
0 ETH0.0027842229.72889337
Claim Comic184960962023-11-04 3:47:23280 days ago1699069643IN
0x32d673A7...b37d7d9f6
0 ETH0.0011738912.53442089
Claim Comic184702522023-10-31 12:56:59283 days ago1698757019IN
0x32d673A7...b37d7d9f6
0 ETH0.0011819625.26960719
Claim Comic184702432023-10-31 12:55:11283 days ago1698756911IN
0x32d673A7...b37d7d9f6
0 ETH0.0012194226.07053704
Claim Comic184198252023-10-24 11:29:11290 days ago1698146951IN
0x32d673A7...b37d7d9f6
0 ETH0.001922220.52450518
Claim Comic183548362023-10-15 9:18:59299 days ago1697361539IN
0x32d673A7...b37d7d9f6
0 ETH0.000551115.88463338
Claim Comic183177002023-10-10 4:34:23305 days ago1696912463IN
0x32d673A7...b37d7d9f6
0 ETH0.000574136.13035763
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ComicDistribution

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : ComicDistribution.sol
pragma solidity 0.8.19;

import "@openzeppelin/contracts/token/ERC1155/IERC1155.sol";
import "@openzeppelin/contracts/access/Ownable2Step.sol";
import "@openzeppelin/contracts/security/Pausable.sol";

contract ComicDistribution is Pausable, Ownable2Step
{
    IERC1155 comicTokenAddress;
    uint256 comicTokenId;

    address treasury;

   constructor(
        address _comicTokenAddress,
        uint256 _comicTokenId,
        address _treasury
    ) {
        comicTokenAddress = IERC1155(_comicTokenAddress);
        comicTokenId = _comicTokenId;
        treasury = _treasury;
    }

    function claimComic(bytes calldata data) whenNotPaused() external {
        require(comicBalance(msg.sender) == 0, "Cannot claim more than one");
        require(supply() > 0, "Sold out");

        comicTokenAddress.safeTransferFrom(treasury, msg.sender, comicTokenId, 1, data);
    }

    function comicBalance(address user) public view returns (uint256) {
        return comicTokenAddress.balanceOf(user, comicTokenId);
    }

    function supply() public view returns (uint256) {
        return comicTokenAddress.balanceOf(treasury, comicTokenId);
    }

    function updateInfo(
        address _comicTokenAddress,
        uint256 _comicTokenId,
        address _treasury
    ) onlyOwner external {
        comicTokenAddress = IERC1155(_comicTokenAddress);
        comicTokenId = _comicTokenId;
        treasury = _treasury;
    }

}

File 2 of 7 : 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 7 : Ownable2Step.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (access/Ownable2Step.sol)

pragma solidity ^0.8.0;

import "./Ownable.sol";

/**
 * @dev Contract module which provides 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} and {acceptOwnership}.
 *
 * This module is used through inheritance. It will make available all functions
 * from parent (Ownable).
 */
abstract contract Ownable2Step is Ownable {
    address private _pendingOwner;

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

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

    /**
     * @dev Starts the ownership transfer of the contract to a new account. Replaces the pending transfer if there is one.
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual override onlyOwner {
        _pendingOwner = newOwner;
        emit OwnershipTransferStarted(owner(), newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`) and deletes any pending owner.
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual override {
        delete _pendingOwner;
        super._transferOwnership(newOwner);
    }

    /**
     * @dev The new owner accepts the ownership transfer.
     */
    function acceptOwnership() external {
        address sender = _msgSender();
        require(pendingOwner() == sender, "Ownable2Step: caller is not the new owner");
        _transferOwnership(sender);
    }
}

File 4 of 7 : 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 5 of 7 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (token/ERC1155/IERC1155.sol)

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

File 6 of 7 : 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;
    }
}

File 7 of 7 : 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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_comicTokenAddress","type":"address"},{"internalType":"uint256","name":"_comicTokenId","type":"uint256"},{"internalType":"address","name":"_treasury","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferStarted","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":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[],"name":"acceptOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"bytes","name":"data","type":"bytes"}],"name":"claimComic","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"user","type":"address"}],"name":"comicBalance","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pendingOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"supply","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":[{"internalType":"address","name":"_comicTokenAddress","type":"address"},{"internalType":"uint256","name":"_comicTokenId","type":"uint256"},{"internalType":"address","name":"_treasury","type":"address"}],"name":"updateInfo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b506040516108d73803806108d783398101604081905261002f9161010a565b6000805460ff1916905561004233610079565b600280546001600160a01b039485166001600160a01b03199182161790915560039290925560048054919093169116179055610146565b600180546001600160a01b031916905561009281610095565b50565b600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b80516001600160a01b038116811461010557600080fd5b919050565b60008060006060848603121561011f57600080fd5b610128846100ee565b92506020840151915061013d604085016100ee565b90509250925092565b610782806101556000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b146100f9578063a2928a6d14610123578063e30c397814610136578063e8c0f21914610147578063f2fde38b1461015a57600080fd5b8063047fc9aa146100a35780632bd30704146100be5780635c975abb146100d3578063715018a6146100e957806379ba5097146100f1575b600080fd5b6100ab61016d565b6040519081526020015b60405180910390f35b6100d16100cc3660046105eb565b6101ed565b005b60005460ff1660405190151581526020016100b5565b6100d161030a565b6100d161031e565b60005461010090046001600160a01b03165b6040516001600160a01b0390911681526020016100b5565b6100ab610131366004610679565b610398565b6001546001600160a01b031661010b565b6100d161015536600461069b565b610425565b6100d1610168366004610679565b610461565b60025460048054600354604051627eeac760e11b81526001600160a01b03928316938101939093526024830152600092169062fdd58e90604401602060405180830381865afa1580156101c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e891906106d7565b905090565b6101f56104d8565b6101fe33610398565b156102505760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420636c61696d206d6f7265207468616e206f6e6500000000000060448201526064015b60405180910390fd5b600061025a61016d565b116102925760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610247565b60025460048054600354604051637921219560e11b81526001600160a01b039485169463f242432a946102d49490911692339290916001918a918a91016106f0565b600060405180830381600087803b1580156102ee57600080fd5b505af1158015610302573d6000803e3d6000fd5b505050505050565b61031261051e565b61031c600061057e565b565b60015433906001600160a01b0316811461038c5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610247565b6103958161057e565b50565b600254600354604051627eeac760e11b81526000926001600160a01b03169162fdd58e916103de9186916004016001600160a01b03929092168252602082015260400190565b602060405180830381865afa1580156103fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041f91906106d7565b92915050565b61042d61051e565b600280546001600160a01b039485166001600160a01b03199182161790915560039290925560048054919093169116179055565b61046961051e565b600180546001600160a01b0383166001600160a01b031990911681179091556104a06000546001600160a01b036101009091041690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60005460ff161561031c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610247565b6000546001600160a01b0361010090910416331461031c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610247565b600180546001600160a01b031916905561039581600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b600080602083850312156105fe57600080fd5b823567ffffffffffffffff8082111561061657600080fd5b818501915085601f83011261062a57600080fd5b81358181111561063957600080fd5b86602082850101111561064b57600080fd5b60209290920196919550909350505050565b80356001600160a01b038116811461067457600080fd5b919050565b60006020828403121561068b57600080fd5b6106948261065d565b9392505050565b6000806000606084860312156106b057600080fd5b6106b98461065d565b9250602084013591506106ce6040850161065d565b90509250925092565b6000602082840312156106e957600080fd5b5051919050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a06080820181905281018290526000828460c0840137600060c0848401015260c0601f19601f850116830101905097965050505050505056fea26469706673582212200227cf2425c9a0a6739eb494f75c3a2785846f1a993aea9d9e99cdb77cc1c02f64736f6c63430008130033000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e3a0bef9700474a00b10a1063b59685de6e690c0800000000000001000000c3500000000000000000000000001b3324b415464b861c004d51872869a4483474e6

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80638da5cb5b116100665780638da5cb5b146100f9578063a2928a6d14610123578063e30c397814610136578063e8c0f21914610147578063f2fde38b1461015a57600080fd5b8063047fc9aa146100a35780632bd30704146100be5780635c975abb146100d3578063715018a6146100e957806379ba5097146100f1575b600080fd5b6100ab61016d565b6040519081526020015b60405180910390f35b6100d16100cc3660046105eb565b6101ed565b005b60005460ff1660405190151581526020016100b5565b6100d161030a565b6100d161031e565b60005461010090046001600160a01b03165b6040516001600160a01b0390911681526020016100b5565b6100ab610131366004610679565b610398565b6001546001600160a01b031661010b565b6100d161015536600461069b565b610425565b6100d1610168366004610679565b610461565b60025460048054600354604051627eeac760e11b81526001600160a01b03928316938101939093526024830152600092169062fdd58e90604401602060405180830381865afa1580156101c4573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101e891906106d7565b905090565b6101f56104d8565b6101fe33610398565b156102505760405162461bcd60e51b815260206004820152601a60248201527f43616e6e6f7420636c61696d206d6f7265207468616e206f6e6500000000000060448201526064015b60405180910390fd5b600061025a61016d565b116102925760405162461bcd60e51b815260206004820152600860248201526714dbdb19081bdd5d60c21b6044820152606401610247565b60025460048054600354604051637921219560e11b81526001600160a01b039485169463f242432a946102d49490911692339290916001918a918a91016106f0565b600060405180830381600087803b1580156102ee57600080fd5b505af1158015610302573d6000803e3d6000fd5b505050505050565b61031261051e565b61031c600061057e565b565b60015433906001600160a01b0316811461038c5760405162461bcd60e51b815260206004820152602960248201527f4f776e61626c6532537465703a2063616c6c6572206973206e6f7420746865206044820152683732bb9037bbb732b960b91b6064820152608401610247565b6103958161057e565b50565b600254600354604051627eeac760e11b81526000926001600160a01b03169162fdd58e916103de9186916004016001600160a01b03929092168252602082015260400190565b602060405180830381865afa1580156103fb573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061041f91906106d7565b92915050565b61042d61051e565b600280546001600160a01b039485166001600160a01b03199182161790915560039290925560048054919093169116179055565b61046961051e565b600180546001600160a01b0383166001600160a01b031990911681179091556104a06000546001600160a01b036101009091041690565b6001600160a01b03167f38d16b8cac22d99fc7c124b9cd0de2d3fa1faef420bfe791d8c362d765e2270060405160405180910390a350565b60005460ff161561031c5760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b6044820152606401610247565b6000546001600160a01b0361010090910416331461031c5760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610247565b600180546001600160a01b031916905561039581600080546001600160a01b03838116610100818102610100600160a81b0319851617855560405193049190911692909183917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a35050565b600080602083850312156105fe57600080fd5b823567ffffffffffffffff8082111561061657600080fd5b818501915085601f83011261062a57600080fd5b81358181111561063957600080fd5b86602082850101111561064b57600080fd5b60209290920196919550909350505050565b80356001600160a01b038116811461067457600080fd5b919050565b60006020828403121561068b57600080fd5b6106948261065d565b9392505050565b6000806000606084860312156106b057600080fd5b6106b98461065d565b9250602084013591506106ce6040850161065d565b90509250925092565b6000602082840312156106e957600080fd5b5051919050565b6001600160a01b03878116825286166020820152604081018590526060810184905260a06080820181905281018290526000828460c0840137600060c0848401015260c0601f19601f850116830101905097965050505050505056fea26469706673582212200227cf2425c9a0a6739eb494f75c3a2785846f1a993aea9d9e99cdb77cc1c02f64736f6c63430008130033

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

000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e3a0bef9700474a00b10a1063b59685de6e690c0800000000000001000000c3500000000000000000000000001b3324b415464b861c004d51872869a4483474e6

-----Decoded View---------------
Arg [0] : _comicTokenAddress (address): 0x495f947276749Ce646f68AC8c248420045cb7b5e
Arg [1] : _comicTokenId (uint256): 26255234123900169061418741350919320517380601030311326361758612054422163866448
Arg [2] : _treasury (address): 0x1B3324b415464b861C004d51872869A4483474E6

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 000000000000000000000000495f947276749ce646f68ac8c248420045cb7b5e
Arg [1] : 3a0bef9700474a00b10a1063b59685de6e690c0800000000000001000000c350
Arg [2] : 0000000000000000000000001b3324b415464b861c004d51872869a4483474e6


Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

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

Validator Index Block Amount
View All Withdrawals

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

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