ETH Price: $3,447.77 (-2.46%)
Gas: 3 Gwei

Contract

0x5745411Fe0D60DCd64177B4EfdC2455d7Bb0D0C5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Max Redeemab...186225872023-11-21 20:41:35244 days ago1700599295IN
0x5745411F...d7Bb0D0C5
0 ETH0.0015875953.39140686
Set Max Redeemab...185158272023-11-06 22:10:47259 days ago1699308647IN
0x5745411F...d7Bb0D0C5
0 ETH0.0011777139.6070559
Set Shop Address184709472023-10-31 15:17:11265 days ago1698765431IN
0x5745411F...d7Bb0D0C5
0 ETH0.0011759143.04059624
Set Nft Address184709422023-10-31 15:16:11265 days ago1698765371IN
0x5745411F...d7Bb0D0C5
0 ETH0.0010170133.8757462
0x60806040184709092023-10-31 15:09:35265 days ago1698764975IN
 Create: ProductMint
0 ETH0.0316421243.4831546

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
ProductMint

Compiler Version
v0.8.17+commit.8df45f5f

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : ProductMint.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

import { IERC1155 } from "@openzeppelin/contracts/interfaces/IERC1155.sol";
import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";

import { IProductMint } from "./interface/IProductMint.sol";

interface INft {
    function mintBatch(
        address _to,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        string[] memory _tokenUris,
        bytes memory _data
    ) external;
}

contract ProductMint is Ownable, IProductMint {
    /// @notice Address of the nft smart contract
    address public nftAddress = 0x6A82872743217A0988E4d72975D74432CfDeF9D7;

    /// @notice Address of the shop smart contract
    address public shopAddress = 0xd32034B5502910e5B56f5AC94ACb4198315c2Da2;

    /// @notice Max redeemable per transaction
    uint256 public maxRedeemablePerTxn = 1;

    /**
     * @notice Updates nft address
     * @dev Only callable by owner
     * @param _nftAddress New nft address
     */
    function setNftAddress(address _nftAddress) external onlyOwner {
        nftAddress = _nftAddress;
        emit NftAddressSet(_nftAddress);
    }

    /**
     * @notice Updates shop address
     * @dev Only callable by owner
     * @param _shopAddress New shop address
     */
    function setShopAddress(address _shopAddress) external onlyOwner {
        shopAddress = _shopAddress;
        emit ShopAddressSet(_shopAddress);
    }

    /**
     * @notice Sets max redeemable per transaction
     * @dev Only callable by owner
     * @param _maxRedeemablePerTxn Max redeemable per transaction
     */
    function setMaxRedeemablePerTxn(
        uint256 _maxRedeemablePerTxn
    ) external onlyOwner {
        maxRedeemablePerTxn = _maxRedeemablePerTxn;
        emit MaxRedeemablePerTxnSet(maxRedeemablePerTxn);
    }

    /**
     * @notice Executes batch mint to the provided address
     * @param _to Destination address
     * @param _multiplier Multiplier for the amount of token ids to send
     * @param _transactionId Id that is emitted for tracking
     * @param _ids List of token ids
     * @param _amounts List of amounts for each token id
     * @param _data Additional encoded data
     */
    function mintBatch(
        address _to,
        uint256 _multiplier,
        uint256 _transactionId,
        uint256[] memory _ids,
        uint256[] memory _amounts,
        string[] memory _tokenUris,
        bytes memory _data
    ) external {
        if (msg.sender != shopAddress) {
            revert InvalidInvoker();
        }

        if (_multiplier > maxRedeemablePerTxn) {
            revert RedeemingTooMany(_amounts.length);
        }

        uint256[] memory amounts = new uint256[](_amounts.length);

        for (uint256 i = 0; i < amounts.length; i++) {
            amounts[i] = _amounts[i] * _multiplier;
        }

        INft(nftAddress).mintBatch(_to, _ids, amounts, _tokenUris, _data);

        emit NftMint(nftAddress, _to, _ids, _amounts, _transactionId);
    }
}

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 : IERC1155.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (interfaces/IERC1155.sol)

pragma solidity ^0.8.0;

import "../token/ERC1155/IERC1155.sol";

File 4 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 5 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 6 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);
}

File 7 of 7 : IProductMint.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.17;

interface IProductMint {
    error InvalidInvoker();
    error RedeemingTooMany(uint256 amount);

    event NftAddressSet(address nftAddress);
    event ShopAddressSet(address shopAddress);
    event TokenUrisSet(uint256[] tokenIds, string[] tokenUris);
    event MaxRedeemablePerTxnSet(uint256 maxRedeemablePerTxn);
    event NftMint(
        address nftAddress,
        address to,
        uint256[] ids,
        uint256[] amounts,
        uint256 transactionId
    );
}

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

Contract Security Audit

Contract ABI

[{"inputs":[],"name":"InvalidInvoker","type":"error"},{"inputs":[{"internalType":"uint256","name":"amount","type":"uint256"}],"name":"RedeemingTooMany","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"maxRedeemablePerTxn","type":"uint256"}],"name":"MaxRedeemablePerTxnSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"}],"name":"NftAddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"nftAddress","type":"address"},{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"ids","type":"uint256[]"},{"indexed":false,"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"indexed":false,"internalType":"uint256","name":"transactionId","type":"uint256"}],"name":"NftMint","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":"shopAddress","type":"address"}],"name":"ShopAddressSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256[]","name":"tokenIds","type":"uint256[]"},{"indexed":false,"internalType":"string[]","name":"tokenUris","type":"string[]"}],"name":"TokenUrisSet","type":"event"},{"inputs":[],"name":"maxRedeemablePerTxn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"},{"internalType":"uint256","name":"_multiplier","type":"uint256"},{"internalType":"uint256","name":"_transactionId","type":"uint256"},{"internalType":"uint256[]","name":"_ids","type":"uint256[]"},{"internalType":"uint256[]","name":"_amounts","type":"uint256[]"},{"internalType":"string[]","name":"_tokenUris","type":"string[]"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"mintBatch","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nftAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_maxRedeemablePerTxn","type":"uint256"}],"name":"setMaxRedeemablePerTxn","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"}],"name":"setNftAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_shopAddress","type":"address"}],"name":"setShopAddress","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"shopAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052600180546001600160a01b0319908116736a82872743217a0988e4d72975d74432cfdef9d71782556002805490911673d32034b5502910e5b56f5ac94acb4198315c2da217905560035534801561005a57600080fd5b5061006433610069565b6100b9565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b610a85806100c86000396000f3fe608060405234801561001057600080fd5b506004361061009e5760003560e01c80635bf8633a116100665780635bf8633a14610125578063715018a6146101385780638da5cb5b1461014057806399691bd114610151578063f2fde38b1461016457600080fd5b80630b102d1a146100a357806322446fb8146100b85780632c5b6f40146100e85780632d010cb6146100ff5780633ec963cb14610112575b600080fd5b6100b66100b1366004610580565b610177565b005b6002546100cb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100f160035481565b6040519081526020016100df565b6100b661010d366004610785565b6101d4565b6100b6610120366004610580565b61039a565b6001546100cb906001600160a01b031681565b6100b66103f0565b6000546001600160a01b03166100cb565b6100b661015f366004610856565b610404565b6100b6610172366004610580565b610441565b61017f6104ba565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f73a91fa3924fb5f9355c06eea7f9527a6bafbf7de250889451a8b552c2735a30906020015b60405180910390a150565b6002546001600160a01b031633146101ff576040516363a1e08760e11b815260040160405180910390fd5b6003548611156102305782516040516370cb15b760e01b815260040161022791815260200190565b60405180910390fd5b6000835167ffffffffffffffff81111561024c5761024c6105a2565b604051908082528060200260200182016040528015610275578160200160208202803683370190505b50905060005b81518110156102d857878582815181106102975761029761086f565b60200260200101516102a9919061089b565b8282815181106102bb576102bb61086f565b6020908102919091010152806102d0816108b8565b91505061027b565b50600154604051632e55c7a160e21b81526001600160a01b039091169063b9571e8490610311908b908990869089908990600401610952565b600060405180830381600087803b15801561032b57600080fd5b505af115801561033f573d6000803e3d6000fd5b50506001546040517f4b6c7a6539b9afe70f5b23b52521ff6dd07d87196f32eec8ffdb9e154b5f19c6935061038892506001600160a01b03909116908b90899089908c906109fe565b60405180910390a15050505050505050565b6103a26104ba565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fa3d6bd66e19fd26f4bdb75bf7785a7a9fc1d414c9d1f2cfe4a33ffa71d1da4f4906020016101c9565b6103f86104ba565b6104026000610514565b565b61040c6104ba565b60038190556040518181527f2987f30ea4969db71f28f7904b3b0a87d72845bef5c9490b2c512475f878e3ab906020016101c9565b6104496104ba565b6001600160a01b0381166104ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610227565b6104b781610514565b50565b6000546001600160a01b031633146104025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610227565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461057b57600080fd5b919050565b60006020828403121561059257600080fd5b61059b82610564565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156105e1576105e16105a2565b604052919050565b600067ffffffffffffffff821115610603576106036105a2565b5060051b60200190565b600082601f83011261061e57600080fd5b8135602061063361062e836105e9565b6105b8565b82815260059290921b8401810191818101908684111561065257600080fd5b8286015b8481101561066d5780358352918301918301610656565b509695505050505050565b600067ffffffffffffffff831115610692576106926105a2565b6106a5601f8401601f19166020016105b8565b90508281528383830111156106b957600080fd5b828260208301376000602084830101529392505050565b600082601f8301126106e157600080fd5b813560206106f161062e836105e9565b82815260059290921b8401810191818101908684111561071057600080fd5b8286015b8481101561066d57803567ffffffffffffffff8111156107345760008081fd5b8701603f810189136107465760008081fd5b610757898683013560408401610678565b845250918301918301610714565b600082601f83011261077657600080fd5b61059b83833560208501610678565b600080600080600080600060e0888a0312156107a057600080fd5b6107a988610564565b96506020880135955060408801359450606088013567ffffffffffffffff808211156107d457600080fd5b6107e08b838c0161060d565b955060808a01359150808211156107f657600080fd5b6108028b838c0161060d565b945060a08a013591508082111561081857600080fd5b6108248b838c016106d0565b935060c08a013591508082111561083a57600080fd5b506108478a828b01610765565b91505092959891949750929550565b60006020828403121561086857600080fd5b5035919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108b2576108b2610885565b92915050565b6000600182016108ca576108ca610885565b5060010190565b600081518084526020808501945080840160005b83811015610901578151875295820195908201906001016108e5565b509495945050505050565b6000815180845260005b8181101561093257602081850181015186830182015201610916565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b038616815260a06020808301829052600091610977908401886108d1565b838103604085015261098981886108d1565b905083810360608501528086518083528383019150838160051b84010184890160005b838110156109da57601f198684030185526109c883835161090c565b948701949250908601906001016109ac565b505086810360808801526109ee818961090c565b9c9b505050505050505050505050565b6001600160a01b0386811682528516602082015260a060408201819052600090610a2a908301866108d1565b8281036060840152610a3c81866108d1565b915050826080830152969550505050505056fea26469706673582212201050fa13df1340adf82010527a8597efebc6e1de2a99289128d6fe779f8f802264736f6c63430008110033

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061009e5760003560e01c80635bf8633a116100665780635bf8633a14610125578063715018a6146101385780638da5cb5b1461014057806399691bd114610151578063f2fde38b1461016457600080fd5b80630b102d1a146100a357806322446fb8146100b85780632c5b6f40146100e85780632d010cb6146100ff5780633ec963cb14610112575b600080fd5b6100b66100b1366004610580565b610177565b005b6002546100cb906001600160a01b031681565b6040516001600160a01b0390911681526020015b60405180910390f35b6100f160035481565b6040519081526020016100df565b6100b661010d366004610785565b6101d4565b6100b6610120366004610580565b61039a565b6001546100cb906001600160a01b031681565b6100b66103f0565b6000546001600160a01b03166100cb565b6100b661015f366004610856565b610404565b6100b6610172366004610580565b610441565b61017f6104ba565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f73a91fa3924fb5f9355c06eea7f9527a6bafbf7de250889451a8b552c2735a30906020015b60405180910390a150565b6002546001600160a01b031633146101ff576040516363a1e08760e11b815260040160405180910390fd5b6003548611156102305782516040516370cb15b760e01b815260040161022791815260200190565b60405180910390fd5b6000835167ffffffffffffffff81111561024c5761024c6105a2565b604051908082528060200260200182016040528015610275578160200160208202803683370190505b50905060005b81518110156102d857878582815181106102975761029761086f565b60200260200101516102a9919061089b565b8282815181106102bb576102bb61086f565b6020908102919091010152806102d0816108b8565b91505061027b565b50600154604051632e55c7a160e21b81526001600160a01b039091169063b9571e8490610311908b908990869089908990600401610952565b600060405180830381600087803b15801561032b57600080fd5b505af115801561033f573d6000803e3d6000fd5b50506001546040517f4b6c7a6539b9afe70f5b23b52521ff6dd07d87196f32eec8ffdb9e154b5f19c6935061038892506001600160a01b03909116908b90899089908c906109fe565b60405180910390a15050505050505050565b6103a26104ba565b600280546001600160a01b0319166001600160a01b0383169081179091556040519081527fa3d6bd66e19fd26f4bdb75bf7785a7a9fc1d414c9d1f2cfe4a33ffa71d1da4f4906020016101c9565b6103f86104ba565b6104026000610514565b565b61040c6104ba565b60038190556040518181527f2987f30ea4969db71f28f7904b3b0a87d72845bef5c9490b2c512475f878e3ab906020016101c9565b6104496104ba565b6001600160a01b0381166104ae5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610227565b6104b781610514565b50565b6000546001600160a01b031633146104025760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e65726044820152606401610227565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b80356001600160a01b038116811461057b57600080fd5b919050565b60006020828403121561059257600080fd5b61059b82610564565b9392505050565b634e487b7160e01b600052604160045260246000fd5b604051601f8201601f1916810167ffffffffffffffff811182821017156105e1576105e16105a2565b604052919050565b600067ffffffffffffffff821115610603576106036105a2565b5060051b60200190565b600082601f83011261061e57600080fd5b8135602061063361062e836105e9565b6105b8565b82815260059290921b8401810191818101908684111561065257600080fd5b8286015b8481101561066d5780358352918301918301610656565b509695505050505050565b600067ffffffffffffffff831115610692576106926105a2565b6106a5601f8401601f19166020016105b8565b90508281528383830111156106b957600080fd5b828260208301376000602084830101529392505050565b600082601f8301126106e157600080fd5b813560206106f161062e836105e9565b82815260059290921b8401810191818101908684111561071057600080fd5b8286015b8481101561066d57803567ffffffffffffffff8111156107345760008081fd5b8701603f810189136107465760008081fd5b610757898683013560408401610678565b845250918301918301610714565b600082601f83011261077657600080fd5b61059b83833560208501610678565b600080600080600080600060e0888a0312156107a057600080fd5b6107a988610564565b96506020880135955060408801359450606088013567ffffffffffffffff808211156107d457600080fd5b6107e08b838c0161060d565b955060808a01359150808211156107f657600080fd5b6108028b838c0161060d565b945060a08a013591508082111561081857600080fd5b6108248b838c016106d0565b935060c08a013591508082111561083a57600080fd5b506108478a828b01610765565b91505092959891949750929550565b60006020828403121561086857600080fd5b5035919050565b634e487b7160e01b600052603260045260246000fd5b634e487b7160e01b600052601160045260246000fd5b80820281158282048414176108b2576108b2610885565b92915050565b6000600182016108ca576108ca610885565b5060010190565b600081518084526020808501945080840160005b83811015610901578151875295820195908201906001016108e5565b509495945050505050565b6000815180845260005b8181101561093257602081850181015186830182015201610916565b506000602082860101526020601f19601f83011685010191505092915050565b6001600160a01b038616815260a06020808301829052600091610977908401886108d1565b838103604085015261098981886108d1565b905083810360608501528086518083528383019150838160051b84010184890160005b838110156109da57601f198684030185526109c883835161090c565b948701949250908601906001016109ac565b505086810360808801526109ee818961090c565b9c9b505050505050505050505050565b6001600160a01b0386811682528516602082015260a060408201819052600090610a2a908301866108d1565b8281036060840152610a3c81866108d1565b915050826080830152969550505050505056fea26469706673582212201050fa13df1340adf82010527a8597efebc6e1de2a99289128d6fe779f8f802264736f6c63430008110033

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.