ETH Price: $2,133.30 (-0.61%)

Contract

0x5AEB596a34fbedDe8BB4D94c19D3EdB32FFf8237
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MintLogic

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: MIT
pragma solidity =0.6.12;

import "./Initializable.sol";
import "./IERC721Enumerable.sol";

contract MintLogic is Initializable {

    address public storageAddr;

    mapping(address => address) public projectOwner;

    constructor() public initializer {}

    modifier onlyStorage() {
        require(storageAddr == msg.sender, "MintProxy: caller is not the storage");
        _;
    }

    function initialize(address _storage) public initializer {
        storageAddr = _storage;
    }

    function onERC721Received(address, address, uint256, bytes calldata) external pure returns(bytes4) {
        return this.onERC721Received.selector;
    }

    function execute(address _contolAddr, address _nftAddr, bytes memory _data) external payable onlyStorage {
        require(projectOwner[_nftAddr] == address(0) || projectOwner[_nftAddr] == tx.origin, "The project already has an owner");

        (bool success,) = _contolAddr.call{value : msg.value}(_data);
        require(success, "Call Contol Address Error");

        IERC721Enumerable nft = IERC721Enumerable(_nftAddr);
        try nft.tokenOfOwnerByIndex(address(this), 0) {
            uint256 nftBalance = nft.balanceOf(address(this));
            for(uint i = 0; i < nftBalance; i++){
                nft.transferFrom(address(this), tx.origin, nft.tokenOfOwnerByIndex(address(this), 0));
            }
        }catch {
            if(projectOwner[_nftAddr] == address(0)){
                projectOwner[_nftAddr] = tx.origin;
            }
        }

        if(address(this).balance > 0) {
            msg.sender.transfer(address(this).balance);
        }
    }

    function fetchNft(address _nftAddr, uint256 _tokenId) external onlyStorage {
        require(projectOwner[_nftAddr] == tx.origin, "require project owner");
        try IERC721Enumerable(_nftAddr).transferFrom(address(this), tx.origin, _tokenId) {} catch {}
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (token/ERC721/extensions/IERC721Enumerable.sol)

pragma solidity =0.6.12;

import "./IERC721.sol";

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

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

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

File 3 of 5 : Initializable.sol
// SPDX-License-Identifier: MIT

// solhint-disable-next-line compiler-version
pragma solidity >=0.4.24 <0.8.0;

import "./utils/Address.sol";

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since a proxied contract can't have a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {UpgradeableProxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 */
abstract contract Initializable {

    /**
     * @dev Indicates that the contract has been initialized.
     */
    bool private _initialized;

    /**
     * @dev Indicates that the contract is in the process of being initialized.
     */
    bool private _initializing;

    /**
     * @dev Modifier to protect an initializer function from being invoked twice.
     */
    modifier initializer() {
        require(_initializing || _isConstructor() || !_initialized, "Initializable: contract is already initialized");

        bool isTopLevelCall = !_initializing;
        if (isTopLevelCall) {
            _initializing = true;
            _initialized = true;
        }

        _;

        if (isTopLevelCall) {
            _initializing = false;
        }
    }

    /// @dev Returns true if and only if the function is running in the constructor
    function _isConstructor() private view returns (bool) {
        return !Address.isContract(address(this));
    }
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.2 <0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
        (bool success, ) = recipient.call{ value: amount }("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain`call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
      return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(address target, bytes memory data, uint256 value, string memory errorMessage) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.call{ value: value }(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data, string memory errorMessage) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.staticcall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data, string memory errorMessage) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private pure returns(bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/IERC721.sol)

pragma solidity =0.6.12;

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

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

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

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

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

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

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

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

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

    /**
     * @dev Approve or remove `operator` as an operator for the caller.
     * Operators can call {transferFrom} or {safeTransferFrom} for any token owned by the caller.
     *
     * Requirements:
     *
     * - The `operator` cannot be the caller.
     *
     * Emits an {ApprovalForAll} event.
     */
    function setApprovalForAll(address operator, bool _approved) external;

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

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

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

Contract Security Audit

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"_contolAddr","type":"address"},{"internalType":"address","name":"_nftAddr","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"execute","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"_nftAddr","type":"address"},{"internalType":"uint256","name":"_tokenId","type":"uint256"}],"name":"fetchNft","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_storage","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"projectOwner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"storageAddr","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

608060405234801561001057600080fd5b50600054610100900460ff168061002a575061002a6100b6565b80610038575060005460ff16155b6100735760405162461bcd60e51b815260040180806020018281038252602e815260200180610ac6602e913960400191505060405180910390fd5b600054610100900460ff1615801561009e576000805460ff1961ff0019909116610100171660011790555b80156100b0576000805461ff00191690555b506100d7565b60006100cb306100d160201b6109411760201c565b15905090565b3b151590565b6109e0806100e66000396000f3fe6080604052600436106100555760003560e01c80630dd64ae41461005a578063150b7a02146100a957806397df573e14610163578063c4d66de814610178578063d74e45d5146101ad578063f5542f2d146101e6575b600080fd5b34801561006657600080fd5b5061008d6004803603602081101561007d57600080fd5b50356001600160a01b03166102a5565b604080516001600160a01b039092168252519081900360200190f35b3480156100b557600080fd5b50610146600480360360808110156100cc57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561010757600080fd5b82018360208201111561011957600080fd5b8035906020019184600183028401116401000000008311171561013b57600080fd5b5090925090506102c0565b604080516001600160e01b03199092168252519081900360200190f35b34801561016f57600080fd5b5061008d6102d1565b34801561018457600080fd5b506101ab6004803603602081101561019b57600080fd5b50356001600160a01b03166102e6565b005b3480156101b957600080fd5b506101ab600480360360408110156101d057600080fd5b506001600160a01b0381351690602001356103ab565b6101ab600480360360608110156101fc57600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561023057600080fd5b82018360208201111561024257600080fd5b8035906020019184600183028401116401000000008311171561026457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506104ce945050505050565b6001602052600090815260409020546001600160a01b031681565b630a85bd0160e11b95945050505050565b6000546201000090046001600160a01b031681565b600054610100900460ff16806102ff57506102ff610947565b8061030d575060005460ff16155b6103485760405162461bcd60e51b815260040180806020018281038252602e81526020018061097d602e913960400191505060405180910390fd5b600054610100900460ff16158015610373576000805460ff1961ff0019909116610100171660011790555b6000805462010000600160b01b031916620100006001600160a01b0385160217905580156103a7576000805461ff00191690555b5050565b6000546201000090046001600160a01b031633146103fa5760405162461bcd60e51b81526004018080602001828103825260248152602001806109596024913960400191505060405180910390fd5b6001600160a01b03828116600090815260016020526040902054163214610460576040805162461bcd60e51b81526020600482015260156024820152743932b8bab4b93290383937b532b1ba1037bbb732b960591b604482015290519081900360640190fd5b604080516323b872dd60e01b81523060048201523260248201526044810183905290516001600160a01b038416916323b872dd91606480830192600092919082900301818387803b1580156104b457600080fd5b505af19250505080156104c5575060015b6103a7576103a7565b6000546201000090046001600160a01b0316331461051d5760405162461bcd60e51b81526004018080602001828103825260248152602001806109596024913960400191505060405180910390fd5b6001600160a01b0382811660009081526001602052604090205416158061055d57506001600160a01b038281166000908152600160205260409020541632145b6105ae576040805162461bcd60e51b815260206004820181905260248201527f5468652070726f6a65637420616c72656164792068617320616e206f776e6572604482015290519081900360640190fd5b6000836001600160a01b031634836040518082805190602001908083835b602083106105eb5780518252601f1990920191602091820191016105cc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461064d576040519150601f19603f3d011682016040523d82523d6000602084013e610652565b606091505b50509050806106a8576040805162461bcd60e51b815260206004820152601960248201527f43616c6c20436f6e746f6c2041646472657373204572726f7200000000000000604482015290519081900360640190fd5b60408051632f745c5960e01b815230600482015260006024820152905184916001600160a01b03831691632f745c5991604480820192602092909190829003018186803b1580156106f857600080fd5b505afa92505050801561071d57506040513d602081101561071857600080fd5b505160015b61076e576001600160a01b0384811660009081526001602052604090205416610769576001600160a01b038416600090815260016020526040902080546001600160a01b031916321790555b610906565b506000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156107be57600080fd5b505afa1580156107d2573d6000803e3d6000fd5b505050506040513d60208110156107e857600080fd5b5051905060005b8181101561090357826001600160a01b03166323b872dd3032866001600160a01b0316632f745c593060006040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561085e57600080fd5b505afa158015610872573d6000803e3d6000fd5b505050506040513d602081101561088857600080fd5b5051604080516001600160e01b031960e087901b1681526001600160a01b03948516600482015292909316602483015260448201529051606480830192600092919082900301818387803b1580156108df57600080fd5b505af11580156108f3573d6000803e3d6000fd5b5050600190920191506107ef9050565b50505b471561093a5760405133904780156108fc02916000818181858888f19350505050158015610938573d6000803e3d6000fd5b505b5050505050565b3b151590565b600061095230610941565b1590509056fe4d696e7450726f78793a2063616c6c6572206973206e6f74207468652073746f72616765496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564a264697066735822122050cb3a4b6a8826640b80ff1b0deb25e11af29334847ad4b2976b9c102deb454464736f6c634300060c0033496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564

Deployed Bytecode

0x6080604052600436106100555760003560e01c80630dd64ae41461005a578063150b7a02146100a957806397df573e14610163578063c4d66de814610178578063d74e45d5146101ad578063f5542f2d146101e6575b600080fd5b34801561006657600080fd5b5061008d6004803603602081101561007d57600080fd5b50356001600160a01b03166102a5565b604080516001600160a01b039092168252519081900360200190f35b3480156100b557600080fd5b50610146600480360360808110156100cc57600080fd5b6001600160a01b0382358116926020810135909116916040820135919081019060808101606082013564010000000081111561010757600080fd5b82018360208201111561011957600080fd5b8035906020019184600183028401116401000000008311171561013b57600080fd5b5090925090506102c0565b604080516001600160e01b03199092168252519081900360200190f35b34801561016f57600080fd5b5061008d6102d1565b34801561018457600080fd5b506101ab6004803603602081101561019b57600080fd5b50356001600160a01b03166102e6565b005b3480156101b957600080fd5b506101ab600480360360408110156101d057600080fd5b506001600160a01b0381351690602001356103ab565b6101ab600480360360608110156101fc57600080fd5b6001600160a01b03823581169260208101359091169181019060608101604082013564010000000081111561023057600080fd5b82018360208201111561024257600080fd5b8035906020019184600183028401116401000000008311171561026457600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506104ce945050505050565b6001602052600090815260409020546001600160a01b031681565b630a85bd0160e11b95945050505050565b6000546201000090046001600160a01b031681565b600054610100900460ff16806102ff57506102ff610947565b8061030d575060005460ff16155b6103485760405162461bcd60e51b815260040180806020018281038252602e81526020018061097d602e913960400191505060405180910390fd5b600054610100900460ff16158015610373576000805460ff1961ff0019909116610100171660011790555b6000805462010000600160b01b031916620100006001600160a01b0385160217905580156103a7576000805461ff00191690555b5050565b6000546201000090046001600160a01b031633146103fa5760405162461bcd60e51b81526004018080602001828103825260248152602001806109596024913960400191505060405180910390fd5b6001600160a01b03828116600090815260016020526040902054163214610460576040805162461bcd60e51b81526020600482015260156024820152743932b8bab4b93290383937b532b1ba1037bbb732b960591b604482015290519081900360640190fd5b604080516323b872dd60e01b81523060048201523260248201526044810183905290516001600160a01b038416916323b872dd91606480830192600092919082900301818387803b1580156104b457600080fd5b505af19250505080156104c5575060015b6103a7576103a7565b6000546201000090046001600160a01b0316331461051d5760405162461bcd60e51b81526004018080602001828103825260248152602001806109596024913960400191505060405180910390fd5b6001600160a01b0382811660009081526001602052604090205416158061055d57506001600160a01b038281166000908152600160205260409020541632145b6105ae576040805162461bcd60e51b815260206004820181905260248201527f5468652070726f6a65637420616c72656164792068617320616e206f776e6572604482015290519081900360640190fd5b6000836001600160a01b031634836040518082805190602001908083835b602083106105eb5780518252601f1990920191602091820191016105cc565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d806000811461064d576040519150601f19603f3d011682016040523d82523d6000602084013e610652565b606091505b50509050806106a8576040805162461bcd60e51b815260206004820152601960248201527f43616c6c20436f6e746f6c2041646472657373204572726f7200000000000000604482015290519081900360640190fd5b60408051632f745c5960e01b815230600482015260006024820152905184916001600160a01b03831691632f745c5991604480820192602092909190829003018186803b1580156106f857600080fd5b505afa92505050801561071d57506040513d602081101561071857600080fd5b505160015b61076e576001600160a01b0384811660009081526001602052604090205416610769576001600160a01b038416600090815260016020526040902080546001600160a01b031916321790555b610906565b506000816001600160a01b03166370a08231306040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156107be57600080fd5b505afa1580156107d2573d6000803e3d6000fd5b505050506040513d60208110156107e857600080fd5b5051905060005b8181101561090357826001600160a01b03166323b872dd3032866001600160a01b0316632f745c593060006040518363ffffffff1660e01b815260040180836001600160a01b031681526020018281526020019250505060206040518083038186803b15801561085e57600080fd5b505afa158015610872573d6000803e3d6000fd5b505050506040513d602081101561088857600080fd5b5051604080516001600160e01b031960e087901b1681526001600160a01b03948516600482015292909316602483015260448201529051606480830192600092919082900301818387803b1580156108df57600080fd5b505af11580156108f3573d6000803e3d6000fd5b5050600190920191506107ef9050565b50505b471561093a5760405133904780156108fc02916000818181858888f19350505050158015610938573d6000803e3d6000fd5b505b5050505050565b3b151590565b600061095230610941565b1590509056fe4d696e7450726f78793a2063616c6c6572206973206e6f74207468652073746f72616765496e697469616c697a61626c653a20636f6e747261637420697320616c726561647920696e697469616c697a6564a264697066735822122050cb3a4b6a8826640b80ff1b0deb25e11af29334847ad4b2976b9c102deb454464736f6c634300060c0033

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

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.