ETH Price: $3,144.78 (+2.29%)
Gas: 7 Gwei

Contract

0x0855B3B667Be89efcF9eE54a79aEcB25a194A8b0
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
0x60806040148568522022-05-27 23:01:06688 days ago1653692466IN
 Create: AssholeSBT
0 ETH0.0811899569

Advanced mode:
Parent Txn Hash Block From To Value
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
AssholeSBT

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion
File 1 of 6 : AssholeSBT.sol
//SPDX-License-Identifier: Unlicense
pragma solidity ^0.8.0;

import "@openzeppelin/contracts/token/ERC721/IERC721.sol";
import "@openzeppelin/contracts/token/ERC721/extensions/IERC721Metadata.sol";
import "@openzeppelin/contracts/utils/Address.sol";
import "@openzeppelin/contracts/utils/Strings.sol";

contract AssholeSBT {
    using Address for address;
    using Strings for uint256;

    event Transfer(
        address indexed from,
        address indexed to,
        uint256 indexed tokenId
    );

    event Approval(
        address indexed owner,
        address indexed approved,
        uint256 indexed tokenId
    );

    address private _owner;

    // Token name
    string private _name;

    // Token symbol
    string private _symbol;

    uint256 amountStored;

    mapping(uint256 => address) private _owners;
    mapping(address => uint256) private _balances;
    mapping(uint256 => address) private _tokenApprovals;
    mapping(uint256 => string) private _uris;

    uint256 totalSupply;

    constructor() {
        _name = "Asshole Soul Bound Token";
        _symbol = "ASBT";
        _owner = msg.sender;
        totalSupply = 0;
    }

    function balanceOf(address owner) public view returns (uint256) {
        require(owner != address(0), "wtf");
        return _balances[owner];
    }

    function ownerOf(uint256 tokenId) public view returns (address) {
        address owner = _owners[tokenId];
        require(owner != address(0), "wtf");
        return owner;
    }

    function name() public view returns (string memory) {
        return _name;
    }

    function symbol() public view returns (string memory) {
        return _symbol;
    }

    function _exists(uint256 tokenId) internal view returns (bool) {
        return _owners[tokenId] != address(0);
    }

    function tokenURI(uint256 tokenId) public view returns (string memory) {
        require(_exists(tokenId), "wtf");

        return string(_uris[tokenId]);
    }

    function mint(address to, string memory _reason) public payable {
        require(to != address(0), "dumbass");
        require(to != msg.sender, "no self owns");
        require(msg.value >= 0.05 ether, "ain't a charity...");
        amountStored += msg.value;
        ++totalSupply;
        _balances[to] += 1;
        _owners[totalSupply] = to;
        _uris[totalSupply] = _reason;
        emit Transfer(address(0), to, totalSupply);
    }

    function burn(uint256 id) public payable {
        if (msg.sender != _owner) {
            require(msg.value >= 32 ether, "stake me");
        }
        amountStored += msg.value;
        address owner = ownerOf(id);
        _balances[owner] -= 1;
        delete _owners[id];

        emit Transfer(owner, address(0), id);
    }

    function withdraw() public payable {
        require(msg.sender == _owner, "f off");
        payable(msg.sender).transfer(amountStored);
    }
}

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

pragma solidity ^0.8.0;

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

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

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

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

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

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

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

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

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

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

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

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

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

File 4 of 6 : IERC721Metadata.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC721/extensions/IERC721Metadata.sol)

pragma solidity ^0.8.0;

import "../IERC721.sol";

/**
 * @title ERC-721 Non-Fungible Token Standard, optional metadata extension
 * @dev See https://eips.ethereum.org/EIPS/eip-721
 */
interface IERC721Metadata is IERC721 {
    /**
     * @dev Returns the token collection name.
     */
    function name() external view returns (string memory);

    /**
     * @dev Returns the token collection symbol.
     */
    function symbol() external view returns (string memory);

    /**
     * @dev Returns the Uniform Resource Identifier (URI) for `tokenId` token.
     */
    function tokenURI(uint256 tokenId) external view returns (string memory);
}

File 5 of 6 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.5.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 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");

        (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");

        (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");

        (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");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal 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

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev String operations.
 */
library Strings {
    bytes16 private constant _HEX_SYMBOLS = "0123456789abcdef";

    /**
     * @dev Converts a `uint256` to its ASCII `string` decimal representation.
     */
    function toString(uint256 value) internal pure returns (string memory) {
        // Inspired by OraclizeAPI's implementation - MIT licence
        // https://github.com/oraclize/ethereum-api/blob/b42146b063c7d6ee1358846c198246239e9360e8/oraclizeAPI_0.4.25.sol

        if (value == 0) {
            return "0";
        }
        uint256 temp = value;
        uint256 digits;
        while (temp != 0) {
            digits++;
            temp /= 10;
        }
        bytes memory buffer = new bytes(digits);
        while (value != 0) {
            digits -= 1;
            buffer[digits] = bytes1(uint8(48 + uint256(value % 10)));
            value /= 10;
        }
        return string(buffer);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation.
     */
    function toHexString(uint256 value) internal pure returns (string memory) {
        if (value == 0) {
            return "0x00";
        }
        uint256 temp = value;
        uint256 length = 0;
        while (temp != 0) {
            length++;
            temp >>= 8;
        }
        return toHexString(value, length);
    }

    /**
     * @dev Converts a `uint256` to its ASCII `string` hexadecimal representation with fixed length.
     */
    function toHexString(uint256 value, uint256 length) internal pure returns (string memory) {
        bytes memory buffer = new bytes(2 * length + 2);
        buffer[0] = "0";
        buffer[1] = "x";
        for (uint256 i = 2 * length + 1; i > 1; --i) {
            buffer[i] = _HEX_SYMBOLS[value & 0xf];
            value >>= 4;
        }
        require(value == 0, "Strings: hex length insufficient");
        return string(buffer);
    }
}

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

pragma solidity ^0.8.0;

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

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

Contract Security Audit

Contract ABI

[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"owner","type":"address"},{"indexed":true,"internalType":"address","name":"approved","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Approval","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"from","type":"address"},{"indexed":true,"internalType":"address","name":"to","type":"address"},{"indexed":true,"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"Transfer","type":"event"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"balanceOf","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"id","type":"uint256"}],"name":"burn","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"string","name":"_reason","type":"string"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"name","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"ownerOf","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"symbol","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"tokenId","type":"uint256"}],"name":"tokenURI","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"withdraw","outputs":[],"stateMutability":"payable","type":"function"}]

60806040523480156200001157600080fd5b506040518060400160405280601881526020017f417373686f6c6520536f756c20426f756e6420546f6b656e0000000000000000815250600190805190602001906200005f929190620000fc565b506040518060400160405280600481526020017f415342540000000000000000000000000000000000000000000000000000000081525060029080519060200190620000ad929190620000fc565b50336000806101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550600060088190555062000211565b8280546200010a90620001ac565b90600052602060002090601f0160209004810192826200012e57600085556200017a565b82601f106200014957805160ff19168380011785556200017a565b828001600101855582156200017a579182015b82811115620001795782518255916020019190600101906200015c565b5b5090506200018991906200018d565b5090565b5b80821115620001a85760008160009055506001016200018e565b5090565b60006002820490506001821680620001c557607f821691505b60208210811415620001dc57620001db620001e2565b5b50919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b61130b80620002216000396000f3fe60806040526004361061007b5760003560e01c806370a082311161004e57806370a082311461010e57806395d89b411461014b578063c87b56dd14610176578063d0def521146101b35761007b565b806306fdde03146100805780633ccfd60b146100ab57806342966c68146100b55780636352211e146100d1575b600080fd5b34801561008c57600080fd5b506100956101cf565b6040516100a29190610df0565b60405180910390f35b6100b3610261565b005b6100cf60048036038101906100ca9190610c83565b61033a565b005b3480156100dd57600080fd5b506100f860048036038101906100f39190610c83565b6104ed565b6040516101059190610dd5565b60405180910390f35b34801561011a57600080fd5b5061013560048036038101906101309190610c06565b61059f565b6040516101429190610ed2565b60405180910390f35b34801561015757600080fd5b50610160610657565b60405161016d9190610df0565b60405180910390f35b34801561018257600080fd5b5061019d60048036038101906101989190610c83565b6106e9565b6040516101aa9190610df0565b60405180910390f35b6101cd60048036038101906101c89190610c2f565b6107d6565b005b6060600180546101de90611067565b80601f016020809104026020016040519081016040528092919081815260200182805461020a90611067565b80156102575780601f1061022c57610100808354040283529160200191610257565b820191906000526020600020905b81548152906001019060200180831161023a57829003601f168201915b5050505050905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e690610e52565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc6003549081150290604051600060405180830381858888f19350505050158015610337573d6000803e3d6000fd5b50565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103da576801bc16d674ec8000003410156103d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d090610e72565b60405180910390fd5b5b34600360008282546103ec9190610f5f565b9250508190555060006103fe826104ed565b90506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104509190610fb5565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058d90610e32565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060790610e32565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606002805461066690611067565b80601f016020809104026020016040519081016040528092919081815260200182805461069290611067565b80156106df5780601f106106b4576101008083540402835291602001916106df565b820191906000526020600020905b8154815290600101906020018083116106c257829003601f168201915b5050505050905090565b60606106f482610a65565b610733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072a90610e32565b60405180910390fd5b60076000838152602001908152602001600020805461075190611067565b80601f016020809104026020016040519081016040528092919081815260200182805461077d90611067565b80156107ca5780601f1061079f576101008083540402835291602001916107ca565b820191906000526020600020905b8154815290600101906020018083116107ad57829003601f168201915b50505050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d90610e12565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156108b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ac90610eb2565b60405180910390fd5b66b1a2bc2ec500003410156108ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f690610e92565b60405180910390fd5b34600360008282546109119190610f5f565b92505081905550600860008154610927906110ca565b919050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461097e9190610f5f565b925050819055508160046000600854815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806007600060085481526020019081526020016000209080519060200190610a02929190610ad1565b506008548273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b828054610add90611067565b90600052602060002090601f016020900481019282610aff5760008555610b46565b82601f10610b1857805160ff1916838001178555610b46565b82800160010185558215610b46579182015b82811115610b45578251825591602001919060010190610b2a565b5b509050610b539190610b57565b5090565b5b80821115610b70576000816000905550600101610b58565b5090565b6000610b87610b8284610f12565b610eed565b905082815260208101848484011115610b9f57600080fd5b610baa848285611025565b509392505050565b600081359050610bc1816112a7565b92915050565b600082601f830112610bd857600080fd5b8135610be8848260208601610b74565b91505092915050565b600081359050610c00816112be565b92915050565b600060208284031215610c1857600080fd5b6000610c2684828501610bb2565b91505092915050565b60008060408385031215610c4257600080fd5b6000610c5085828601610bb2565b925050602083013567ffffffffffffffff811115610c6d57600080fd5b610c7985828601610bc7565b9150509250929050565b600060208284031215610c9557600080fd5b6000610ca384828501610bf1565b91505092915050565b610cb581610fe9565b82525050565b6000610cc682610f43565b610cd08185610f4e565b9350610ce0818560208601611034565b610ce9816111a0565b840191505092915050565b6000610d01600783610f4e565b9150610d0c826111b1565b602082019050919050565b6000610d24600383610f4e565b9150610d2f826111da565b602082019050919050565b6000610d47600583610f4e565b9150610d5282611203565b602082019050919050565b6000610d6a600883610f4e565b9150610d758261122c565b602082019050919050565b6000610d8d601283610f4e565b9150610d9882611255565b602082019050919050565b6000610db0600c83610f4e565b9150610dbb8261127e565b602082019050919050565b610dcf8161101b565b82525050565b6000602082019050610dea6000830184610cac565b92915050565b60006020820190508181036000830152610e0a8184610cbb565b905092915050565b60006020820190508181036000830152610e2b81610cf4565b9050919050565b60006020820190508181036000830152610e4b81610d17565b9050919050565b60006020820190508181036000830152610e6b81610d3a565b9050919050565b60006020820190508181036000830152610e8b81610d5d565b9050919050565b60006020820190508181036000830152610eab81610d80565b9050919050565b60006020820190508181036000830152610ecb81610da3565b9050919050565b6000602082019050610ee76000830184610dc6565b92915050565b6000610ef7610f08565b9050610f038282611099565b919050565b6000604051905090565b600067ffffffffffffffff821115610f2d57610f2c611171565b5b610f36826111a0565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000610f6a8261101b565b9150610f758361101b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610faa57610fa9611113565b5b828201905092915050565b6000610fc08261101b565b9150610fcb8361101b565b925082821015610fde57610fdd611113565b5b828203905092915050565b6000610ff482610ffb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611052578082015181840152602081019050611037565b83811115611061576000848401525b50505050565b6000600282049050600182168061107f57607f821691505b6020821081141561109357611092611142565b5b50919050565b6110a2826111a0565b810181811067ffffffffffffffff821117156110c1576110c0611171565b5b80604052505050565b60006110d58261101b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561110857611107611113565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f64756d6261737300000000000000000000000000000000000000000000000000600082015250565b7f7774660000000000000000000000000000000000000000000000000000000000600082015250565b7f66206f6666000000000000000000000000000000000000000000000000000000600082015250565b7f7374616b65206d65000000000000000000000000000000000000000000000000600082015250565b7f61696e2774206120636861726974792e2e2e0000000000000000000000000000600082015250565b7f6e6f2073656c66206f776e730000000000000000000000000000000000000000600082015250565b6112b081610fe9565b81146112bb57600080fd5b50565b6112c78161101b565b81146112d257600080fd5b5056fea2646970667358221220b585b34dbbf4f95c21c207dbd604d278063d9a1a891911fc680d77b8b95cf01d64736f6c63430008040033

Deployed Bytecode

0x60806040526004361061007b5760003560e01c806370a082311161004e57806370a082311461010e57806395d89b411461014b578063c87b56dd14610176578063d0def521146101b35761007b565b806306fdde03146100805780633ccfd60b146100ab57806342966c68146100b55780636352211e146100d1575b600080fd5b34801561008c57600080fd5b506100956101cf565b6040516100a29190610df0565b60405180910390f35b6100b3610261565b005b6100cf60048036038101906100ca9190610c83565b61033a565b005b3480156100dd57600080fd5b506100f860048036038101906100f39190610c83565b6104ed565b6040516101059190610dd5565b60405180910390f35b34801561011a57600080fd5b5061013560048036038101906101309190610c06565b61059f565b6040516101429190610ed2565b60405180910390f35b34801561015757600080fd5b50610160610657565b60405161016d9190610df0565b60405180910390f35b34801561018257600080fd5b5061019d60048036038101906101989190610c83565b6106e9565b6040516101aa9190610df0565b60405180910390f35b6101cd60048036038101906101c89190610c2f565b6107d6565b005b6060600180546101de90611067565b80601f016020809104026020016040519081016040528092919081815260200182805461020a90611067565b80156102575780601f1061022c57610100808354040283529160200191610257565b820191906000526020600020905b81548152906001019060200180831161023a57829003601f168201915b5050505050905090565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102ef576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016102e690610e52565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff166108fc6003549081150290604051600060405180830381858888f19350505050158015610337573d6000803e3d6000fd5b50565b60008054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146103da576801bc16d674ec8000003410156103d9576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016103d090610e72565b60405180910390fd5b5b34600360008282546103ec9190610f5f565b9250508190555060006103fe826104ed565b90506001600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200190815260200160002060008282546104509190610fb5565b925050819055506004600083815260200190815260200160002060006101000a81549073ffffffffffffffffffffffffffffffffffffffff021916905581600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b6000806004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff169050600073ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff161415610596576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161058d90610e32565b60405180910390fd5b80915050919050565b60008073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610610576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161060790610e32565b60405180910390fd5b600560008373ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020549050919050565b60606002805461066690611067565b80601f016020809104026020016040519081016040528092919081815260200182805461069290611067565b80156106df5780601f106106b4576101008083540402835291602001916106df565b820191906000526020600020905b8154815290600101906020018083116106c257829003601f168201915b5050505050905090565b60606106f482610a65565b610733576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161072a90610e32565b60405180910390fd5b60076000838152602001908152602001600020805461075190611067565b80601f016020809104026020016040519081016040528092919081815260200182805461077d90611067565b80156107ca5780601f1061079f576101008083540402835291602001916107ca565b820191906000526020600020905b8154815290600101906020018083116107ad57829003601f168201915b50505050509050919050565b600073ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff161415610846576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040161083d90610e12565b60405180910390fd5b3373ffffffffffffffffffffffffffffffffffffffff168273ffffffffffffffffffffffffffffffffffffffff1614156108b5576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108ac90610eb2565b60405180910390fd5b66b1a2bc2ec500003410156108ff576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004016108f690610e92565b60405180910390fd5b34600360008282546109119190610f5f565b92505081905550600860008154610927906110ca565b919050819055506001600560008473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff168152602001908152602001600020600082825461097e9190610f5f565b925050819055508160046000600854815260200190815260200160002060006101000a81548173ffffffffffffffffffffffffffffffffffffffff021916908373ffffffffffffffffffffffffffffffffffffffff160217905550806007600060085481526020019081526020016000209080519060200190610a02929190610ad1565b506008548273ffffffffffffffffffffffffffffffffffffffff16600073ffffffffffffffffffffffffffffffffffffffff167fddf252ad1be2c89b69c2b068fc378daa952ba7f163c4a11628f55a4df523b3ef60405160405180910390a45050565b60008073ffffffffffffffffffffffffffffffffffffffff166004600084815260200190815260200160002060009054906101000a900473ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff1614159050919050565b828054610add90611067565b90600052602060002090601f016020900481019282610aff5760008555610b46565b82601f10610b1857805160ff1916838001178555610b46565b82800160010185558215610b46579182015b82811115610b45578251825591602001919060010190610b2a565b5b509050610b539190610b57565b5090565b5b80821115610b70576000816000905550600101610b58565b5090565b6000610b87610b8284610f12565b610eed565b905082815260208101848484011115610b9f57600080fd5b610baa848285611025565b509392505050565b600081359050610bc1816112a7565b92915050565b600082601f830112610bd857600080fd5b8135610be8848260208601610b74565b91505092915050565b600081359050610c00816112be565b92915050565b600060208284031215610c1857600080fd5b6000610c2684828501610bb2565b91505092915050565b60008060408385031215610c4257600080fd5b6000610c5085828601610bb2565b925050602083013567ffffffffffffffff811115610c6d57600080fd5b610c7985828601610bc7565b9150509250929050565b600060208284031215610c9557600080fd5b6000610ca384828501610bf1565b91505092915050565b610cb581610fe9565b82525050565b6000610cc682610f43565b610cd08185610f4e565b9350610ce0818560208601611034565b610ce9816111a0565b840191505092915050565b6000610d01600783610f4e565b9150610d0c826111b1565b602082019050919050565b6000610d24600383610f4e565b9150610d2f826111da565b602082019050919050565b6000610d47600583610f4e565b9150610d5282611203565b602082019050919050565b6000610d6a600883610f4e565b9150610d758261122c565b602082019050919050565b6000610d8d601283610f4e565b9150610d9882611255565b602082019050919050565b6000610db0600c83610f4e565b9150610dbb8261127e565b602082019050919050565b610dcf8161101b565b82525050565b6000602082019050610dea6000830184610cac565b92915050565b60006020820190508181036000830152610e0a8184610cbb565b905092915050565b60006020820190508181036000830152610e2b81610cf4565b9050919050565b60006020820190508181036000830152610e4b81610d17565b9050919050565b60006020820190508181036000830152610e6b81610d3a565b9050919050565b60006020820190508181036000830152610e8b81610d5d565b9050919050565b60006020820190508181036000830152610eab81610d80565b9050919050565b60006020820190508181036000830152610ecb81610da3565b9050919050565b6000602082019050610ee76000830184610dc6565b92915050565b6000610ef7610f08565b9050610f038282611099565b919050565b6000604051905090565b600067ffffffffffffffff821115610f2d57610f2c611171565b5b610f36826111a0565b9050602081019050919050565b600081519050919050565b600082825260208201905092915050565b6000610f6a8261101b565b9150610f758361101b565b9250827fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff03821115610faa57610fa9611113565b5b828201905092915050565b6000610fc08261101b565b9150610fcb8361101b565b925082821015610fde57610fdd611113565b5b828203905092915050565b6000610ff482610ffb565b9050919050565b600073ffffffffffffffffffffffffffffffffffffffff82169050919050565b6000819050919050565b82818337600083830152505050565b60005b83811015611052578082015181840152602081019050611037565b83811115611061576000848401525b50505050565b6000600282049050600182168061107f57607f821691505b6020821081141561109357611092611142565b5b50919050565b6110a2826111a0565b810181811067ffffffffffffffff821117156110c1576110c0611171565b5b80604052505050565b60006110d58261101b565b91507fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffff82141561110857611107611113565b5b600182019050919050565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052602260045260246000fd5b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b6000601f19601f8301169050919050565b7f64756d6261737300000000000000000000000000000000000000000000000000600082015250565b7f7774660000000000000000000000000000000000000000000000000000000000600082015250565b7f66206f6666000000000000000000000000000000000000000000000000000000600082015250565b7f7374616b65206d65000000000000000000000000000000000000000000000000600082015250565b7f61696e2774206120636861726974792e2e2e0000000000000000000000000000600082015250565b7f6e6f2073656c66206f776e730000000000000000000000000000000000000000600082015250565b6112b081610fe9565b81146112bb57600080fd5b50565b6112c78161101b565b81146112d257600080fd5b5056fea2646970667358221220b585b34dbbf4f95c21c207dbd604d278063d9a1a891911fc680d77b8b95cf01d64736f6c63430008040033

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

Txn Hash Block Value Eth2 PubKey Valid
View All Deposits
[ 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.