ETH Price: $3,492.89 (+4.31%)

Contract

0x1fF68b826B7c391c9C4C820710F95639eA6EFcf8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Claim Nft144304582022-03-21 15:14:52979 days ago1647875692IN
0x1fF68b82...9eA6EFcf8
0 ETH0.005983933.27127172
Claim Nft143618622022-03-10 22:41:53990 days ago1646952113IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0049776930.58455877
White List143088942022-03-02 17:14:49998 days ago1646241289IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0041755888.24152459
White List142636222022-02-23 17:20:211005 days ago1645636821IN
0x1fF68b82...9eA6EFcf8
0 ETH0.01004766212.33434429
Claim Nft142613122022-02-23 8:39:421006 days ago1645605582IN
0x1fF68b82...9eA6EFcf8
0 ETH0.006447539.61551179
White List142184242022-02-16 17:11:141012 days ago1645031474IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0035418474.84886185
Claim Nft141836552022-02-11 8:22:281018 days ago1644567748IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0062044239.28042387
White List141731362022-02-09 17:09:221019 days ago1644426562IN
0x1fF68b82...9eA6EFcf8
0 ETH0.00652788137.98693386
Claim Nft141311252022-02-03 5:24:121026 days ago1643865852IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0161363999.14715448
White List141278882022-02-02 17:10:191026 days ago1643821819IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0113723240.32765666
Claim Nft141182752022-02-01 5:27:511028 days ago1643693271IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0159268997.8599023
Claim Nft141113342022-01-31 3:53:421029 days ago1643601222IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0163352290.82593075
White List140825342022-01-26 17:09:491033 days ago1643216989IN
0x1fF68b82...9eA6EFcf8
0 ETH0.00934307197.44457165
Claim Nft140646012022-01-23 22:30:211036 days ago1642977021IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0276688170.00594271
White List140372242022-01-19 17:09:371040 days ago1642612177IN
0x1fF68b82...9eA6EFcf8
0 ETH0.00600408126.94698812
White List140372232022-01-19 17:08:471040 days ago1642612127IN
0x1fF68b82...9eA6EFcf8
0 ETH0.00535059113.07248765
Claim Nft140168892022-01-16 13:47:441043 days ago1642340864IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0162465799.83884022
Claim Nft140134772022-01-16 1:08:441044 days ago1642295324IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0158268197.24500589
White List139919852022-01-12 17:10:131047 days ago1642007413IN
0x1fF68b82...9eA6EFcf8
0 ETH0.01715755362.86179731
White List139919832022-01-12 17:09:521047 days ago1642007392IN
0x1fF68b82...9eA6EFcf8
0 ETH0.01929454407.74607696
Claim Nft139832892022-01-11 9:06:571049 days ago1641892017IN
0x1fF68b82...9eA6EFcf8
0 ETH0.01987028122.08935241
Claim Nft139541472022-01-06 20:54:261053 days ago1641502466IN
0x1fF68b82...9eA6EFcf8
0 ETH0.0204861125.87316365
Claim Nft139540112022-01-06 20:19:511053 days ago1641500391IN
0x1fF68b82...9eA6EFcf8
0 ETH0.01689851104.1767649
White List139467062022-01-05 17:09:151054 days ago1641402555IN
0x1fF68b82...9eA6EFcf8
0 ETH0.00759819160.57053699
White List139466972022-01-05 17:07:001054 days ago1641402420IN
0x1fF68b82...9eA6EFcf8
0 ETH0.00736717155.76730187
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrongNFTSellerDiscount

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 7 : StrongNFTSellerDiscount.sol
//SPDX-License-Identifier: Unlicense
pragma solidity 0.6.12;

import "./interfaces/IERC1155Preset.sol";
import "@openzeppelin/contracts/GSN/Context.sol";
import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/math/SafeMath.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

contract StrongNFTSellerDiscount is Context, Ownable {

  using SafeMath for uint256;

  IERC1155Preset public nftToken;
  IERC20 public strongToken;

  bool public initDone;
  address payable public feeCollector;
  mapping(string => uint256) public nftLowerBound;
  mapping(string => uint256) public nftUpperBound;
  mapping(string => uint256) public nftStrongValue;
  mapping(string => uint256) public nftIdCounter;
  mapping(address => string) public userCanBuyNftName;

  event Claimed(address user, string nftName, uint256 nftId);

  function init(address _nftTokenContract, address _strongTokenContract, address payable _feeCollectorAddress) public {
    require(initDone == false, "init done");

    nftToken = IERC1155Preset(_nftTokenContract);
    strongToken = IERC20(_strongTokenContract);
    feeCollector = _feeCollectorAddress;
    initDone = true;
  }

  function getCurrentNftId(string memory _nftName) public view returns (uint256) {
    return nftIdCounter[_nftName] > 0 ? nftIdCounter[_nftName] : nftLowerBound[_nftName];
  }

  function claimNft(string memory _nftName) public payable {
    uint256 mintNftId = getCurrentNftId(_nftName);

    require(nftStrongValue[_nftName] > 0, "invalid name");
    require(keccak256(abi.encode(userCanBuyNftName[_msgSender()])) == keccak256(abi.encode(_nftName)), "not whitelisted");
    require(mintNftId >= nftLowerBound[_nftName], "invalid id");
    require(mintNftId <= nftUpperBound[_nftName], "sold out");
    require(strongToken.balanceOf(_msgSender()) >= nftStrongValue[_nftName], "insufficient balance");

    nftToken.mint(_msgSender(), mintNftId, 1, "");
    nftIdCounter[_nftName] = mintNftId + 1;
    userCanBuyNftName[_msgSender()] = "";

    feeCollector.transfer(msg.value);
    strongToken.transferFrom(_msgSender(), feeCollector, nftStrongValue[_nftName]);

    emit Claimed(_msgSender(), _nftName, mintNftId);
  }

  // Admin

  function updateNFT(string memory _nftName, uint256 _lowerBound, uint256 _upperBound, uint256 _strongValue) public onlyOwner {
    nftLowerBound[_nftName] = _lowerBound;
    nftUpperBound[_nftName] = _upperBound;
    nftStrongValue[_nftName] = _strongValue;
  }

  function updateCounterValue(string memory _nftName, uint256 _counterValue) public onlyOwner {
    nftIdCounter[_nftName] = _counterValue;
  }

  function updateFeeCollector(address payable _newFeeCollector) public onlyOwner {
    require(_newFeeCollector != address(0));
    feeCollector = _newFeeCollector;
  }

  function updatePrice(string memory _nftName, uint256 _strongValue) public onlyOwner {
    nftStrongValue[_nftName] = _strongValue;
  }

  function whiteList(address _user, string memory _nftName) public onlyOwner {
    userCanBuyNftName[_user] = _nftName;
  }
}

File 2 of 7 : IERC1155Preset.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.6.2;

/**
 * @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 IERC1155Preset {
    /**
     * @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 be 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;

    /**
     * @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);

    /**
     * @dev Creates `amount` new tokens for `to`, of token type `id`.
     *
     * See {ERC1155-_mint}.
     *
     * Requirements:
     *
     * - the caller must have the `MINTER_ROLE`.
     */
    function mint(address to, uint256 id, uint256 amount, bytes memory data) external;

    /**
     * @dev xref:ROOT:erc1155.adoc#batch-operations[Batched] variant of {mint}.
     */
    function mintBatch(address to, uint256[] memory ids, uint256[] memory amounts, bytes memory data) external;

    function getOwnerIdByIndex(address owner, uint256 index) external view returns (uint256);

    function getOwnerIdIndex(address owner, uint256 id) external view returns (uint256);
}

File 3 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

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

File 4 of 7 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 () internal {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

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

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        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 {
        emit OwnershipTransferred(_owner, address(0));
        _owner = 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");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

File 5 of 7 : SafeMath.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Wrappers over Solidity's arithmetic operations with added overflow
 * checks.
 *
 * Arithmetic operations in Solidity wrap on overflow. This can easily result
 * in bugs, because programmers usually assume that an overflow raises an
 * error, which is the standard behavior in high level programming languages.
 * `SafeMath` restores this intuition by reverting the transaction when an
 * operation overflows.
 *
 * Using this library instead of the unchecked operations eliminates an entire
 * class of bugs, so it's recommended to use it always.
 */
library SafeMath {
    /**
     * @dev Returns the addition of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryAdd(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        uint256 c = a + b;
        if (c < a) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the substraction of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function trySub(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b > a) return (false, 0);
        return (true, a - b);
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, with an overflow flag.
     *
     * _Available since v3.4._
     */
    function tryMul(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        // Gas optimization: this is cheaper than requiring 'a' not being zero, but the
        // benefit is lost if 'b' is also tested.
        // See: https://github.com/OpenZeppelin/openzeppelin-contracts/pull/522
        if (a == 0) return (true, 0);
        uint256 c = a * b;
        if (c / a != b) return (false, 0);
        return (true, c);
    }

    /**
     * @dev Returns the division of two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryDiv(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a / b);
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers, with a division by zero flag.
     *
     * _Available since v3.4._
     */
    function tryMod(uint256 a, uint256 b) internal pure returns (bool, uint256) {
        if (b == 0) return (false, 0);
        return (true, a % b);
    }

    /**
     * @dev Returns the addition of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `+` operator.
     *
     * Requirements:
     *
     * - Addition cannot overflow.
     */
    function add(uint256 a, uint256 b) internal pure returns (uint256) {
        uint256 c = a + b;
        require(c >= a, "SafeMath: addition overflow");
        return c;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting on
     * overflow (when the result is negative).
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b <= a, "SafeMath: subtraction overflow");
        return a - b;
    }

    /**
     * @dev Returns the multiplication of two unsigned integers, reverting on
     * overflow.
     *
     * Counterpart to Solidity's `*` operator.
     *
     * Requirements:
     *
     * - Multiplication cannot overflow.
     */
    function mul(uint256 a, uint256 b) internal pure returns (uint256) {
        if (a == 0) return 0;
        uint256 c = a * b;
        require(c / a == b, "SafeMath: multiplication overflow");
        return c;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting on
     * division by zero. The result is rounded towards zero.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: division by zero");
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting when dividing by zero.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b) internal pure returns (uint256) {
        require(b > 0, "SafeMath: modulo by zero");
        return a % b;
    }

    /**
     * @dev Returns the subtraction of two unsigned integers, reverting with custom message on
     * overflow (when the result is negative).
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {trySub}.
     *
     * Counterpart to Solidity's `-` operator.
     *
     * Requirements:
     *
     * - Subtraction cannot overflow.
     */
    function sub(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b <= a, errorMessage);
        return a - b;
    }

    /**
     * @dev Returns the integer division of two unsigned integers, reverting with custom message on
     * division by zero. The result is rounded towards zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryDiv}.
     *
     * Counterpart to Solidity's `/` operator. Note: this function uses a
     * `revert` opcode (which leaves remaining gas untouched) while Solidity
     * uses an invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function div(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a / b;
    }

    /**
     * @dev Returns the remainder of dividing two unsigned integers. (unsigned integer modulo),
     * reverting with custom message when dividing by zero.
     *
     * CAUTION: This function is deprecated because it requires allocating memory for the error
     * message unnecessarily. For custom revert reasons use {tryMod}.
     *
     * Counterpart to Solidity's `%` operator. This function uses a `revert`
     * opcode (which leaves remaining gas untouched) while Solidity uses an
     * invalid opcode to revert (consuming all remaining gas).
     *
     * Requirements:
     *
     * - The divisor cannot be zero.
     */
    function mod(uint256 a, uint256 b, string memory errorMessage) internal pure returns (uint256) {
        require(b > 0, errorMessage);
        return a % b;
    }
}

File 6 of 7 : IERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

File 7 of 7 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <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 GSN 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 payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

[{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"user","type":"address"},{"indexed":false,"internalType":"string","name":"nftName","type":"string"},{"indexed":false,"internalType":"uint256","name":"nftId","type":"uint256"}],"name":"Claimed","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"},{"inputs":[{"internalType":"string","name":"_nftName","type":"string"}],"name":"claimNft","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[],"name":"feeCollector","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"_nftName","type":"string"}],"name":"getCurrentNftId","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_nftTokenContract","type":"address"},{"internalType":"address","name":"_strongTokenContract","type":"address"},{"internalType":"address payable","name":"_feeCollectorAddress","type":"address"}],"name":"init","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"initDone","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"nftIdCounter","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"nftLowerBound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"nftStrongValue","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"nftToken","outputs":[{"internalType":"contract IERC1155Preset","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"string","name":"","type":"string"}],"name":"nftUpperBound","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"strongToken","outputs":[{"internalType":"contract IERC20","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_nftName","type":"string"},{"internalType":"uint256","name":"_counterValue","type":"uint256"}],"name":"updateCounterValue","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address payable","name":"_newFeeCollector","type":"address"}],"name":"updateFeeCollector","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_nftName","type":"string"},{"internalType":"uint256","name":"_lowerBound","type":"uint256"},{"internalType":"uint256","name":"_upperBound","type":"uint256"},{"internalType":"uint256","name":"_strongValue","type":"uint256"}],"name":"updateNFT","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"string","name":"_nftName","type":"string"},{"internalType":"uint256","name":"_strongValue","type":"uint256"}],"name":"updatePrice","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"userCanBuyNftName","outputs":[{"internalType":"string","name":"","type":"string"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_user","type":"address"},{"internalType":"string","name":"_nftName","type":"string"}],"name":"whiteList","outputs":[],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50600061001b61006a565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061006e565b3390565b611c388061007d6000396000f3fe60806040526004361061011f5760003560e01c8063965d61b9116100a0578063d6f4994111610064578063d6f49941146107c6578063f2fde38b14610877578063f5801418146108aa578063f59ab9a71461095b578063fed0a20e14610a0c5761011f565b8063965d61b9146106a3578063c415b95c146106b8578063c4ee1f37146106cd578063d06fcba81461077e578063d2c35ce8146107935761011f565b8063715018a6116100e7578063715018a61461043f5780638da5cb5b1461045457806391a199f6146104855780639420dc55146105485780639460e317146105f05761011f565b8063184b955914610124578063283519591461016b57806348f0cabd146102275780634a432a46146102cb578063657aad041461037e575b600080fd5b34801561013057600080fd5b506101696004803603606081101561014757600080fd5b506001600160a01b038135811691602081013582169160409091013516610a35565b005b34801561017757600080fd5b506101696004803603608081101561018e57600080fd5b810190602081018135600160201b8111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460018302840111600160201b831117156101db57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505082359350505060208101359060400135610acc565b6101696004803603602081101561023d57600080fd5b810190602081018135600160201b81111561025757600080fd5b82018360208201111561026957600080fd5b803590602001918460018302840111600160201b8311171561028a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c62945050505050565b3480156102d757600080fd5b50610169600480360360408110156102ee57600080fd5b810190602081018135600160201b81111561030857600080fd5b82018360208201111561031a57600080fd5b803590602001918460018302840111600160201b8311171561033b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925061145a915050565b34801561038a57600080fd5b50610169600480360360408110156103a157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103cb57600080fd5b8201836020820111156103dd57600080fd5b803590602001918460018302840111600160201b831117156103fe57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611524945050505050565b34801561044b57600080fd5b506101696115b4565b34801561046057600080fd5b50610469611660565b604080516001600160a01b039092168252519081900360200190f35b34801561049157600080fd5b50610536600480360360208110156104a857600080fd5b810190602081018135600160201b8111156104c257600080fd5b8201836020820111156104d457600080fd5b803590602001918460018302840111600160201b831117156104f557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061166f945050505050565b60408051918252519081900360200190f35b34801561055457600080fd5b5061057b6004803603602081101561056b57600080fd5b50356001600160a01b03166117ac565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105b557818101518382015260200161059d565b50505050905090810190601f1680156105e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105fc57600080fd5b506101696004803603604081101561061357600080fd5b810190602081018135600160201b81111561062d57600080fd5b82018360208201111561063f57600080fd5b803590602001918460018302840111600160201b8311171561066057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611847915050565b3480156106af57600080fd5b506104696118db565b3480156106c457600080fd5b506104696118ea565b3480156106d957600080fd5b50610536600480360360208110156106f057600080fd5b810190602081018135600160201b81111561070a57600080fd5b82018360208201111561071c57600080fd5b803590602001918460018302840111600160201b8311171561073d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118f9945050505050565b34801561078a57600080fd5b50610469611916565b34801561079f57600080fd5b50610169600480360360208110156107b657600080fd5b50356001600160a01b0316611925565b3480156107d257600080fd5b50610536600480360360208110156107e957600080fd5b810190602081018135600160201b81111561080357600080fd5b82018360208201111561081557600080fd5b803590602001918460018302840111600160201b8311171561083657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506119bc945050505050565b34801561088357600080fd5b506101696004803603602081101561089a57600080fd5b50356001600160a01b03166119d9565b3480156108b657600080fd5b50610536600480360360208110156108cd57600080fd5b810190602081018135600160201b8111156108e757600080fd5b8201836020820111156108f957600080fd5b803590602001918460018302840111600160201b8311171561091a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611adb945050505050565b34801561096757600080fd5b506105366004803603602081101561097e57600080fd5b810190602081018135600160201b81111561099857600080fd5b8201836020820111156109aa57600080fd5b803590602001918460018302840111600160201b831117156109cb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611af8945050505050565b348015610a1857600080fd5b50610a21611b15565b604080519115158252519081900360200190f35b600254600160a01b900460ff1615610a80576040805162461bcd60e51b8152602060048201526009602482015268696e697420646f6e6560b81b604482015290519081900360640190fd5b600180546001600160a01b039485166001600160a01b03199182161790915560028054600380549487169484169490941790935560ff60a01b199390941691161716600160a01b179055565b610ad4611b25565b6001600160a01b0316610ae5611660565b6001600160a01b031614610b2e576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b826004856040518082805190602001908083835b60208310610b615780518252601f199092019160209182019101610b42565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505085518492600592889290918291908401908083835b60208310610bc65780518252601f199092019160209182019101610ba7565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505085518392600692889290918291908401908083835b60208310610c2b5780518252601f199092019160209182019101610c0c565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092909255505050505050565b6000610c6d8261166f565b905060006006836040518082805190602001908083835b60208310610ca35780518252601f199092019160209182019101610c84565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390205411610d18576040805162461bcd60e51b815260206004820152600c60248201526b696e76616c6964206e616d6560a01b604482015290519081900360640190fd5b816040516020018080602001828103825283818151815260200191508051906020019080838360005b83811015610d59578181015183820152602001610d41565b50505050905090810190601f168015610d865780820380516001836020036101000a031916815260200191505b50925050506040516020818303038152906040528051906020012060086000610dad611b25565b6001600160a01b031681526020808201929092526040908101600020815180840193845281546002600019610100600184161502019091160492810183905290929182916060019084908015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050925050506040516020818303038152906040528051906020012014610ea4576040805162461bcd60e51b815260206004820152600f60248201526e1b9bdd081dda1a5d195b1a5cdd1959608a1b604482015290519081900360640190fd5b6004826040518082805190602001908083835b60208310610ed65780518252601f199092019160209182019101610eb7565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220548310159150610f479050576040805162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a59081a5960b21b604482015290519081900360640190fd5b6005826040518082805190602001908083835b60208310610f795780518252601f199092019160209182019101610f5a565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220548311159150610fe89050576040805162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b604482015290519081900360640190fd5b6006826040518082805190602001908083835b6020831061101a5780518252601f199092019160209182019101610ffb565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220546002549092506001600160a01b031690506370a08231611064611b25565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d60208110156110cb57600080fd5b50511015611117576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b6001546001600160a01b031663731133e9611130611b25565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482018590526001604483015260806064830152600060848301819052905160c48084019382900301818387803b15801561119057600080fd5b505af11580156111a4573d6000803e3d6000fd5b50505050806001016007836040518082805190602001908083835b602083106111de5780518252601f1990920191602091820191016111bf565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095558301909352506000808252909150600890611227611b25565b6001600160a01b03166001600160a01b03168152602001908152602001600020908051906020019061125a929190611b29565b506003546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611294573d6000803e3d6000fd5b506002546001600160a01b03166323b872dd6112ae611b25565b60035460405186516001600160a01b03909216916006918891819060208401908083835b602083106112f15780518252601f1990920191602091820191016112d2565b51815160209384036101000a60001901801990921691161790529201948552506040805194859003820185205460e089901b6001600160e01b03191686526001600160a01b0397881660048701529590961660248501526044840194909452505091516064808401938290030181600087803b15801561137057600080fd5b505af1158015611384573d6000803e3d6000fd5b505050506040513d602081101561139a57600080fd5b507f9d2f14df77ba038ff6f9ba99bbdcfbc30f1650b9574e3b7bbae993df15a92f3090506113c6611b25565b838360405180846001600160a01b0316815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561141a578181015183820152602001611402565b50505050905090810190601f1680156114475780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a15050565b611462611b25565b6001600160a01b0316611473611660565b6001600160a01b0316146114bc576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b806006836040518082805190602001908083835b602083106114ef5780518252601f1990920191602091820191016114d0565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550505050565b61152c611b25565b6001600160a01b031661153d611660565b6001600160a01b031614611586576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b6001600160a01b038216600090815260086020908152604090912082516115af92840190611b29565b505050565b6115bc611b25565b6001600160a01b03166115cd611660565b6001600160a01b031614611616576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000806007836040518082805190602001908083835b602083106116a45780518252601f199092019160209182019101611685565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390205411611744576004826040518082805190602001908083835b6020831061170f5780518252601f1990920191602091820191016116f0565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205491506117a69050565b6007826040518082805190602001908083835b602083106117765780518252601f199092019160209182019101611757565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b92915050565b60086020908152600091825260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452909183018282801561183f5780601f106118145761010080835404028352916020019161183f565b820191906000526020600020905b81548152906001019060200180831161182257829003601f168201915b505050505081565b61184f611b25565b6001600160a01b0316611860611660565b6001600160a01b0316146118a9576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b80600783604051808280519060200190808383602083106114ef5780518252601f1990920191602091820191016114d0565b6002546001600160a01b031681565b6003546001600160a01b031681565b805160208183018101805160058252928201919093012091525481565b6001546001600160a01b031681565b61192d611b25565b6001600160a01b031661193e611660565b6001600160a01b031614611987576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b6001600160a01b03811661199a57600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160068252928201919093012091525481565b6119e1611b25565b6001600160a01b03166119f2611660565b6001600160a01b031614611a3b576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b6001600160a01b038116611a805760405162461bcd60e51b8152600401808060200182810382526026815260200180611bbd6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160048252928201919093012091525481565b805160208183018101805160078252928201919093012091525481565b600254600160a01b900460ff1681565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b6a57805160ff1916838001178555611b97565b82800160010185558215611b97579182015b82811115611b97578251825591602001919060010190611b7c565b50611ba3929150611ba7565b5090565b5b80821115611ba35760008155600101611ba856fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212201c498f3003f97d083d947d4bc0a015fa41e7494653281f1599b151f33f49c92364736f6c634300060c0033

Deployed Bytecode

0x60806040526004361061011f5760003560e01c8063965d61b9116100a0578063d6f4994111610064578063d6f49941146107c6578063f2fde38b14610877578063f5801418146108aa578063f59ab9a71461095b578063fed0a20e14610a0c5761011f565b8063965d61b9146106a3578063c415b95c146106b8578063c4ee1f37146106cd578063d06fcba81461077e578063d2c35ce8146107935761011f565b8063715018a6116100e7578063715018a61461043f5780638da5cb5b1461045457806391a199f6146104855780639420dc55146105485780639460e317146105f05761011f565b8063184b955914610124578063283519591461016b57806348f0cabd146102275780634a432a46146102cb578063657aad041461037e575b600080fd5b34801561013057600080fd5b506101696004803603606081101561014757600080fd5b506001600160a01b038135811691602081013582169160409091013516610a35565b005b34801561017757600080fd5b506101696004803603608081101561018e57600080fd5b810190602081018135600160201b8111156101a857600080fd5b8201836020820111156101ba57600080fd5b803590602001918460018302840111600160201b831117156101db57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505082359350505060208101359060400135610acc565b6101696004803603602081101561023d57600080fd5b810190602081018135600160201b81111561025757600080fd5b82018360208201111561026957600080fd5b803590602001918460018302840111600160201b8311171561028a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550610c62945050505050565b3480156102d757600080fd5b50610169600480360360408110156102ee57600080fd5b810190602081018135600160201b81111561030857600080fd5b82018360208201111561031a57600080fd5b803590602001918460018302840111600160201b8311171561033b57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550509135925061145a915050565b34801561038a57600080fd5b50610169600480360360408110156103a157600080fd5b6001600160a01b038235169190810190604081016020820135600160201b8111156103cb57600080fd5b8201836020820111156103dd57600080fd5b803590602001918460018302840111600160201b831117156103fe57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611524945050505050565b34801561044b57600080fd5b506101696115b4565b34801561046057600080fd5b50610469611660565b604080516001600160a01b039092168252519081900360200190f35b34801561049157600080fd5b50610536600480360360208110156104a857600080fd5b810190602081018135600160201b8111156104c257600080fd5b8201836020820111156104d457600080fd5b803590602001918460018302840111600160201b831117156104f557600080fd5b91908080601f01602080910402602001604051908101604052809392919081815260200183838082843760009201919091525092955061166f945050505050565b60408051918252519081900360200190f35b34801561055457600080fd5b5061057b6004803603602081101561056b57600080fd5b50356001600160a01b03166117ac565b6040805160208082528351818301528351919283929083019185019080838360005b838110156105b557818101518382015260200161059d565b50505050905090810190601f1680156105e25780820380516001836020036101000a031916815260200191505b509250505060405180910390f35b3480156105fc57600080fd5b506101696004803603604081101561061357600080fd5b810190602081018135600160201b81111561062d57600080fd5b82018360208201111561063f57600080fd5b803590602001918460018302840111600160201b8311171561066057600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295505091359250611847915050565b3480156106af57600080fd5b506104696118db565b3480156106c457600080fd5b506104696118ea565b3480156106d957600080fd5b50610536600480360360208110156106f057600080fd5b810190602081018135600160201b81111561070a57600080fd5b82018360208201111561071c57600080fd5b803590602001918460018302840111600160201b8311171561073d57600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506118f9945050505050565b34801561078a57600080fd5b50610469611916565b34801561079f57600080fd5b50610169600480360360208110156107b657600080fd5b50356001600160a01b0316611925565b3480156107d257600080fd5b50610536600480360360208110156107e957600080fd5b810190602081018135600160201b81111561080357600080fd5b82018360208201111561081557600080fd5b803590602001918460018302840111600160201b8311171561083657600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506119bc945050505050565b34801561088357600080fd5b506101696004803603602081101561089a57600080fd5b50356001600160a01b03166119d9565b3480156108b657600080fd5b50610536600480360360208110156108cd57600080fd5b810190602081018135600160201b8111156108e757600080fd5b8201836020820111156108f957600080fd5b803590602001918460018302840111600160201b8311171561091a57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611adb945050505050565b34801561096757600080fd5b506105366004803603602081101561097e57600080fd5b810190602081018135600160201b81111561099857600080fd5b8201836020820111156109aa57600080fd5b803590602001918460018302840111600160201b831117156109cb57600080fd5b91908080601f016020809104026020016040519081016040528093929190818152602001838380828437600092019190915250929550611af8945050505050565b348015610a1857600080fd5b50610a21611b15565b604080519115158252519081900360200190f35b600254600160a01b900460ff1615610a80576040805162461bcd60e51b8152602060048201526009602482015268696e697420646f6e6560b81b604482015290519081900360640190fd5b600180546001600160a01b039485166001600160a01b03199182161790915560028054600380549487169484169490941790935560ff60a01b199390941691161716600160a01b179055565b610ad4611b25565b6001600160a01b0316610ae5611660565b6001600160a01b031614610b2e576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b826004856040518082805190602001908083835b60208310610b615780518252601f199092019160209182019101610b42565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505085518492600592889290918291908401908083835b60208310610bc65780518252601f199092019160209182019101610ba7565b51815160209384036101000a6000190180199092169116179052920194855250604051938490038101842094909455505085518392600692889290918291908401908083835b60208310610c2b5780518252601f199092019160209182019101610c0c565b51815160209384036101000a6000190180199092169116179052920194855250604051938490030190922092909255505050505050565b6000610c6d8261166f565b905060006006836040518082805190602001908083835b60208310610ca35780518252601f199092019160209182019101610c84565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390205411610d18576040805162461bcd60e51b815260206004820152600c60248201526b696e76616c6964206e616d6560a01b604482015290519081900360640190fd5b816040516020018080602001828103825283818151815260200191508051906020019080838360005b83811015610d59578181015183820152602001610d41565b50505050905090810190601f168015610d865780820380516001836020036101000a031916815260200191505b50925050506040516020818303038152906040528051906020012060086000610dad611b25565b6001600160a01b031681526020808201929092526040908101600020815180840193845281546002600019610100600184161502019091160492810183905290929182916060019084908015610e445780601f10610e1957610100808354040283529160200191610e44565b820191906000526020600020905b815481529060010190602001808311610e2757829003601f168201915b5050925050506040516020818303038152906040528051906020012014610ea4576040805162461bcd60e51b815260206004820152600f60248201526e1b9bdd081dda1a5d195b1a5cdd1959608a1b604482015290519081900360640190fd5b6004826040518082805190602001908083835b60208310610ed65780518252601f199092019160209182019101610eb7565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220548310159150610f479050576040805162461bcd60e51b815260206004820152600a6024820152691a5b9d985b1a59081a5960b21b604482015290519081900360640190fd5b6005826040518082805190602001908083835b60208310610f795780518252601f199092019160209182019101610f5a565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220548311159150610fe89050576040805162461bcd60e51b81526020600482015260086024820152671cdbdb19081bdd5d60c21b604482015290519081900360640190fd5b6006826040518082805190602001908083835b6020831061101a5780518252601f199092019160209182019101610ffb565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220546002549092506001600160a01b031690506370a08231611064611b25565b6040518263ffffffff1660e01b815260040180826001600160a01b0316815260200191505060206040518083038186803b1580156110a157600080fd5b505afa1580156110b5573d6000803e3d6000fd5b505050506040513d60208110156110cb57600080fd5b50511015611117576040805162461bcd60e51b8152602060048201526014602482015273696e73756666696369656e742062616c616e636560601b604482015290519081900360640190fd5b6001546001600160a01b031663731133e9611130611b25565b604080516001600160e01b031960e085901b1681526001600160a01b039092166004830152602482018590526001604483015260806064830152600060848301819052905160c48084019382900301818387803b15801561119057600080fd5b505af11580156111a4573d6000803e3d6000fd5b50505050806001016007836040518082805190602001908083835b602083106111de5780518252601f1990920191602091820191016111bf565b51815160209384036101000a6000190180199092169116179052920194855250604080519485900382018520959095558301909352506000808252909150600890611227611b25565b6001600160a01b03166001600160a01b03168152602001908152602001600020908051906020019061125a929190611b29565b506003546040516001600160a01b03909116903480156108fc02916000818181858888f19350505050158015611294573d6000803e3d6000fd5b506002546001600160a01b03166323b872dd6112ae611b25565b60035460405186516001600160a01b03909216916006918891819060208401908083835b602083106112f15780518252601f1990920191602091820191016112d2565b51815160209384036101000a60001901801990921691161790529201948552506040805194859003820185205460e089901b6001600160e01b03191686526001600160a01b0397881660048701529590961660248501526044840194909452505091516064808401938290030181600087803b15801561137057600080fd5b505af1158015611384573d6000803e3d6000fd5b505050506040513d602081101561139a57600080fd5b507f9d2f14df77ba038ff6f9ba99bbdcfbc30f1650b9574e3b7bbae993df15a92f3090506113c6611b25565b838360405180846001600160a01b0316815260200180602001838152602001828103825284818151815260200191508051906020019080838360005b8381101561141a578181015183820152602001611402565b50505050905090810190601f1680156114475780820380516001836020036101000a031916815260200191505b5094505050505060405180910390a15050565b611462611b25565b6001600160a01b0316611473611660565b6001600160a01b0316146114bc576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b806006836040518082805190602001908083835b602083106114ef5780518252601f1990920191602091820191016114d0565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092209290925550505050565b61152c611b25565b6001600160a01b031661153d611660565b6001600160a01b031614611586576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b6001600160a01b038216600090815260086020908152604090912082516115af92840190611b29565b505050565b6115bc611b25565b6001600160a01b03166115cd611660565b6001600160a01b031614611616576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b6000806007836040518082805190602001908083835b602083106116a45780518252601f199092019160209182019101611685565b6001836020036101000a03801982511681845116808217855250505050505090500191505090815260200160405180910390205411611744576004826040518082805190602001908083835b6020831061170f5780518252601f1990920191602091820191016116f0565b51815160209384036101000a600019018019909216911617905292019485525060405193849003019092205491506117a69050565b6007826040518082805190602001908083835b602083106117765780518252601f199092019160209182019101611757565b51815160209384036101000a60001901801990921691161790529201948552506040519384900301909220549150505b92915050565b60086020908152600091825260409182902080548351601f60026000196101006001861615020190931692909204918201849004840281018401909452808452909183018282801561183f5780601f106118145761010080835404028352916020019161183f565b820191906000526020600020905b81548152906001019060200180831161182257829003601f168201915b505050505081565b61184f611b25565b6001600160a01b0316611860611660565b6001600160a01b0316146118a9576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b80600783604051808280519060200190808383602083106114ef5780518252601f1990920191602091820191016114d0565b6002546001600160a01b031681565b6003546001600160a01b031681565b805160208183018101805160058252928201919093012091525481565b6001546001600160a01b031681565b61192d611b25565b6001600160a01b031661193e611660565b6001600160a01b031614611987576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b6001600160a01b03811661199a57600080fd5b600380546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160068252928201919093012091525481565b6119e1611b25565b6001600160a01b03166119f2611660565b6001600160a01b031614611a3b576040805162461bcd60e51b81526020600482018190526024820152600080516020611be3833981519152604482015290519081900360640190fd5b6001600160a01b038116611a805760405162461bcd60e51b8152600401808060200182810382526026815260200180611bbd6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b805160208183018101805160048252928201919093012091525481565b805160208183018101805160078252928201919093012091525481565b600254600160a01b900460ff1681565b3390565b828054600181600116156101000203166002900490600052602060002090601f016020900481019282601f10611b6a57805160ff1916838001178555611b97565b82800160010185558215611b97579182015b82811115611b97578251825591602001919060010190611b7c565b50611ba3929150611ba7565b5090565b5b80821115611ba35760008155600101611ba856fe4f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573734f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212201c498f3003f97d083d947d4bc0a015fa41e7494653281f1599b151f33f49c92364736f6c634300060c0033

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.