ETH Price: $1,606.11 (-1.96%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Batch Mint176759842023-07-12 7:24:59641 days ago1689146699IN
0xCb4D1834...4623d7f4C
0 ETH0.0022990513.60186001
Batch Mint176759792023-07-12 7:23:59641 days ago1689146639IN
0xCb4D1834...4623d7f4C
0 ETH0.0023294713.78186428
Batch Mint176759732023-07-12 7:22:47641 days ago1689146567IN
0xCb4D1834...4623d7f4C
0 ETH0.0023649613.76381956
Batch Mint153701452022-08-19 8:02:00968 days ago1660896120IN
0xCb4D1834...4623d7f4C
0 ETH0.0096149323.00120145
Set Minter144859202022-03-30 6:19:381110 days ago1648621178IN
0xCb4D1834...4623d7f4C
0 ETH0.0011343324.58951645

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
LandControllerV1

Compiler Version
v0.8.9+commit.e5eed63a

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : LandControllerV1.sol
// SPDX-License-Identifier: MIT
pragma solidity ^0.8.7;

import "@openzeppelin/contracts/access/Ownable.sol";

abstract contract NftContract {
  function mintToken(address to, uint256 tokenId) external virtual;

  function burnToken(uint256 tokenId) external virtual;

  function exists(uint256 tokenId) external view virtual returns (bool);

  function ownerOf(uint256 tokenId) public view virtual returns (address);

  function totalSupply() public view virtual returns (uint256);

  function MAX_SUPPLY() public view virtual returns (uint256);

  function LAND_WIDTH() public view virtual returns (uint8);

  function LAND_HEIGHT() public view virtual returns (uint8);

  function setWH(
    uint256 tokenId,
    uint8 width,
    uint8 height
  ) external virtual;

  function rectOrigin(uint256 tokenId) public view virtual returns (uint256);

  function setRectOrigin(uint256 tokenId, uint256 originTokenId)
    external
    virtual;
}

contract LandControllerV1 is Ownable {
  NftContract immutable nftContract;
  uint8 immutable LAND_WIDTH;
  uint8 immutable LAND_HEIGHT;
  uint256 immutable MAX_SUPPLY;
  address minter;

  event Mint(address to, uint256 tokenId, uint8 width, uint8 height);
  event BatchMint(address to, uint256[] tokenIdList, uint8 width, uint8 height);

  constructor(address _nftContractAddress) {
    nftContract = NftContract(_nftContractAddress);
    MAX_SUPPLY = nftContract.MAX_SUPPLY();
    LAND_WIDTH = nftContract.LAND_WIDTH();
    LAND_HEIGHT = nftContract.LAND_HEIGHT();
  }

  function setMinter(address newAddress) external onlyOwner {
    minter = newAddress;
  }

  function batchMint(
    address to,
    uint256[] calldata tokenIdList,
    uint8 width,
    uint8 height
  ) external onlyOwner {
    require(
      nftContract.totalSupply() + tokenIdList.length <= MAX_SUPPLY,
      "Out of space"
    );
    for (uint256 i = 0; i < tokenIdList.length; i++) {
      _mintSpace(to, tokenIdList[i], width, height);
    }
    emit BatchMint(to, tokenIdList, width, height);
  }

  function mint(
    address to,
    uint256 tokenId,
    uint8 width,
    uint8 height
  ) external {
    require(msg.sender == minter, "Not minter");
    require(nftContract.totalSupply() + 1 <= MAX_SUPPLY, "Out of space");
    _mintSpace(to, tokenId, width, height);
    emit Mint(to, tokenId, width, height);
  }

  // Internal functions
  function _mintSpace(
    address to,
    uint256 tokenId,
    uint8 width,
    uint8 height
  ) internal {
    require(tokenId > 0, "Incorrect token id");
    (uint256 x, uint256 y) = _getXY(tokenId);
    require(
      x + width <= LAND_WIDTH + 1 && y + height <= LAND_HEIGHT + 1,
      "Out of land boundary"
    );
    for (uint256 i = x; i < x + width; i++) {
      for (uint256 j = y; j < y + height; j++) {
        uint256 currentTokenId = _getTokenId(i, j);
        require(!nftContract.exists(currentTokenId), "Not available");
        require(nftContract.rectOrigin(currentTokenId) == 0, "Not available");
        if (currentTokenId != tokenId) {
          nftContract.setRectOrigin(currentTokenId, tokenId);
        }
      }
    }
    nftContract.setWH(tokenId, width, height);
    nftContract.mintToken(to, tokenId);
  }

  function _getTokenId(uint256 x, uint256 y) internal pure returns (uint256) {
    return
      ((y - 1) / 50) *
      10000 +
      ((x - 1) / 40) *
      2000 +
      ((y - 1) % 50) *
      40 +
      ((x - 1) % 40) +
      1;
  }

  function _getXY(uint256 tokenId)
    internal
    pure
    returns (uint256 x, uint256 y)
  {
    x = (((tokenId - 1) % 10000) / 2000) * 40 + ((tokenId - 1) % 40) + 1;
    y = ((tokenId - 1) / 10000) * 50 + ((tokenId - 1) % 2000) / 40 + 1;
  }
}

File 2 of 3 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (access/Ownable.sol)

pragma solidity ^0.8.0;

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

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

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

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev 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 {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

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

pragma solidity ^0.8.0;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_nftContractAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256[]","name":"tokenIdList","type":"uint256[]"},{"indexed":false,"internalType":"uint8","name":"width","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"height","type":"uint8"}],"name":"BatchMint","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"to","type":"address"},{"indexed":false,"internalType":"uint256","name":"tokenId","type":"uint256"},{"indexed":false,"internalType":"uint8","name":"width","type":"uint8"},{"indexed":false,"internalType":"uint8","name":"height","type":"uint8"}],"name":"Mint","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":"address","name":"to","type":"address"},{"internalType":"uint256[]","name":"tokenIdList","type":"uint256[]"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"name":"batchMint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"tokenId","type":"uint256"},{"internalType":"uint8","name":"width","type":"uint8"},{"internalType":"uint8","name":"height","type":"uint8"}],"name":"mint","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAddress","type":"address"}],"name":"setMinter","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6101006040523480156200001257600080fd5b506040516200121e3803806200121e833981016040819052620000359162000220565b6200004033620001d0565b6001600160a01b038116608081905260408051630cb2dac360e21b815290516332cb6b0c91600480820192602092909190829003018186803b1580156200008657600080fd5b505afa1580156200009b573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620000c1919062000252565b60e081815250506080516001600160a01b031663fe20b8d06040518163ffffffff1660e01b815260040160206040518083038186803b1580156200010457600080fd5b505afa15801562000119573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200013f91906200026c565b60ff1660a08160ff16815250506080516001600160a01b0316638affc3346040518163ffffffff1660e01b815260040160206040518083038186803b1580156200018857600080fd5b505afa1580156200019d573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620001c391906200026c565b60ff1660c0525062000291565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156200023357600080fd5b81516001600160a01b03811681146200024b57600080fd5b9392505050565b6000602082840312156200026557600080fd5b5051919050565b6000602082840312156200027f57600080fd5b815160ff811681146200024b57600080fd5b60805160a05160c05160e051610f22620002fc600039600081816101470152610313015260006106480152600061060201526000818161016c0152818161033401528181610717015281816107ec015281816108cf015281816109820152610a0a0152610f226000f3fe608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638da5cb5b14610071578063b5afdb3814610090578063d6f69d29146100a3578063f2fde38b146100b6578063fca3b5aa146100c9575b600080fd5b61006f6100dc565b005b600054604080516001600160a01b039092168252519081900360200190f35b61006f61009e366004610c12565b61011b565b61006f6100b1366004610cba565b6102ca565b61006f6100c4366004610d07565b610470565b61006f6100d7366004610d07565b61050b565b6000546001600160a01b0316331461010f5760405162461bcd60e51b815260040161010690610d22565b60405180910390fd5b6101196000610557565b565b6000546001600160a01b031633146101455760405162461bcd60e51b815260040161010690610d22565b7f0000000000000000000000000000000000000000000000000000000000000000848490507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101c357600080fd5b505afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb9190610d57565b6102059190610d86565b11156102425760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f6620737061636560a01b6044820152606401610106565b60005b83811015610283576102718686868481811061026357610263610d9e565b9050602002013585856105a7565b8061027b81610db4565b915050610245565b507f9bc3518f3bcbfcb936df91a3cdae87f478cfcb321a43c363a20f5b5d9248801185858585856040516102bb959493929190610dcf565b60405180910390a15050505050565b6001546001600160a01b031633146103115760405162461bcd60e51b815260206004820152600a6024820152692737ba1036b4b73a32b960b11b6044820152606401610106565b7f00000000000000000000000000000000000000000000000000000000000000007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561038b57600080fd5b505afa15801561039f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c39190610d57565b6103ce906001610d86565b111561040b5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f6620737061636560a01b6044820152606401610106565b610417848484846105a7565b604080516001600160a01b03861681526020810185905260ff848116828401528316606082015290517f867f5168d1c8fe94706357f7bafa99d38588345e73a79256dae062e5e03b304a9181900360800190a150505050565b6000546001600160a01b0316331461049a5760405162461bcd60e51b815260040161010690610d22565b6001600160a01b0381166104ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610106565b61050881610557565b50565b6000546001600160a01b031633146105355760405162461bcd60e51b815260040161010690610d22565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600083116105ec5760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd081d1bdad95b881a5960721b6044820152606401610106565b6000806105f885610a70565b90925090506106287f00000000000000000000000000000000000000000000000000000000000000006001610e31565b60ff168460ff168361063a9190610d86565b11158015610683575061066e7f00000000000000000000000000000000000000000000000000000000000000006001610e31565b60ff168360ff16826106809190610d86565b11155b6106c65760405162461bcd60e51b81526020600482015260146024820152734f7574206f66206c616e6420626f756e6461727960601b6044820152606401610106565b815b6106d560ff861684610d86565b81101561095a57815b6106eb60ff861684610d86565b8110156109475760006106fe8383610b34565b604051634f558e7960e01b8152600481018290529091507f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634f558e799060240160206040518083038186803b15801561076157600080fd5b505afa158015610775573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107999190610e56565b156107d65760405162461bcd60e51b815260206004820152600d60248201526c4e6f7420617661696c61626c6560981b6044820152606401610106565b604051634655f42f60e01b8152600481018290527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031690634655f42f9060240160206040518083038186803b15801561083657600080fd5b505afa15801561084a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086e9190610d57565b156108ab5760405162461bcd60e51b815260206004820152600d60248201526c4e6f7420617661696c61626c6560981b6044820152606401610106565b87811461093457604051631cd2aeef60e11b815260048101829052602481018990527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906339a55dde90604401600060405180830381600087803b15801561091b57600080fd5b505af115801561092f573d6000803e3d6000fd5b505050505b508061093f81610db4565b9150506106de565b508061095281610db4565b9150506106c8565b506040516310684b0560e01b81526004810186905260ff8086166024830152841660448201527f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316906310684b0590606401600060405180830381600087803b1580156109ce57600080fd5b505af11580156109e2573d6000803e3d6000fd5b5050604051630f38ca0d60e31b81526001600160a01b038981166004830152602482018990527f00000000000000000000000000000000000000000000000000000000000000001692506379c650689150604401600060405180830381600087803b158015610a5057600080fd5b505af1158015610a64573d6000803e3d6000fd5b50505050505050505050565b6000806028610a80600185610e78565b610a8a9190610ea5565b6107d0612710610a9b600187610e78565b610aa59190610ea5565b610aaf9190610eb9565b610aba906028610ecd565b610ac49190610d86565b610acf906001610d86565b915060286107d0610ae1600186610e78565b610aeb9190610ea5565b610af59190610eb9565b612710610b03600186610e78565b610b0d9190610eb9565b610b18906032610ecd565b610b229190610d86565b610b2d906001610d86565b9050915091565b60006028610b43600185610e78565b610b4d9190610ea5565b6032610b5a600185610e78565b610b649190610ea5565b610b6f906028610ecd565b6028610b7c600187610e78565b610b869190610eb9565b610b92906107d0610ecd565b6032610b9f600187610e78565b610ba99190610eb9565b610bb590612710610ecd565b610bbf9190610d86565b610bc99190610d86565b610bd39190610d86565b610bde906001610d86565b9392505050565b80356001600160a01b0381168114610bfc57600080fd5b919050565b803560ff81168114610bfc57600080fd5b600080600080600060808688031215610c2a57600080fd5b610c3386610be5565b9450602086013567ffffffffffffffff80821115610c5057600080fd5b818801915088601f830112610c6457600080fd5b813581811115610c7357600080fd5b8960208260051b8501011115610c8857600080fd5b602083019650809550505050610ca060408701610c01565b9150610cae60608701610c01565b90509295509295909350565b60008060008060808587031215610cd057600080fd5b610cd985610be5565b935060208501359250610cee60408601610c01565b9150610cfc60608601610c01565b905092959194509250565b600060208284031215610d1957600080fd5b610bde82610be5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610d6957600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d9957610d99610d70565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415610dc857610dc8610d70565b5060010190565b6001600160a01b0386168152608060208201819052810184905260006001600160fb1b03851115610dff57600080fd5b8460051b808760a0850137600090830160a00190815260ff948516604084015292909316606090910152949350505050565b600060ff821660ff84168060ff03821115610e4e57610e4e610d70565b019392505050565b600060208284031215610e6857600080fd5b81518015158114610bde57600080fd5b600082821015610e8a57610e8a610d70565b500390565b634e487b7160e01b600052601260045260246000fd5b600082610eb457610eb4610e8f565b500690565b600082610ec857610ec8610e8f565b500490565b6000816000190483118215151615610ee757610ee7610d70565b50029056fea26469706673582212208cff82f1470be232c4b95e97e8894ac90727375e8a6c6af8b8735f44b7efc58c64736f6c634300080900330000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa0

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100625760003560e01c8063715018a6146100675780638da5cb5b14610071578063b5afdb3814610090578063d6f69d29146100a3578063f2fde38b146100b6578063fca3b5aa146100c9575b600080fd5b61006f6100dc565b005b600054604080516001600160a01b039092168252519081900360200190f35b61006f61009e366004610c12565b61011b565b61006f6100b1366004610cba565b6102ca565b61006f6100c4366004610d07565b610470565b61006f6100d7366004610d07565b61050b565b6000546001600160a01b0316331461010f5760405162461bcd60e51b815260040161010690610d22565b60405180910390fd5b6101196000610557565b565b6000546001600160a01b031633146101455760405162461bcd60e51b815260040161010690610d22565b7f0000000000000000000000000000000000000000000000000000000000004e20848490507f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa06001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b1580156101c357600080fd5b505afa1580156101d7573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906101fb9190610d57565b6102059190610d86565b11156102425760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f6620737061636560a01b6044820152606401610106565b60005b83811015610283576102718686868481811061026357610263610d9e565b9050602002013585856105a7565b8061027b81610db4565b915050610245565b507f9bc3518f3bcbfcb936df91a3cdae87f478cfcb321a43c363a20f5b5d9248801185858585856040516102bb959493929190610dcf565b60405180910390a15050505050565b6001546001600160a01b031633146103115760405162461bcd60e51b815260206004820152600a6024820152692737ba1036b4b73a32b960b11b6044820152606401610106565b7f0000000000000000000000000000000000000000000000000000000000004e207f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa06001600160a01b03166318160ddd6040518163ffffffff1660e01b815260040160206040518083038186803b15801561038b57600080fd5b505afa15801561039f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103c39190610d57565b6103ce906001610d86565b111561040b5760405162461bcd60e51b815260206004820152600c60248201526b4f7574206f6620737061636560a01b6044820152606401610106565b610417848484846105a7565b604080516001600160a01b03861681526020810185905260ff848116828401528316606082015290517f867f5168d1c8fe94706357f7bafa99d38588345e73a79256dae062e5e03b304a9181900360800190a150505050565b6000546001600160a01b0316331461049a5760405162461bcd60e51b815260040161010690610d22565b6001600160a01b0381166104ff5760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610106565b61050881610557565b50565b6000546001600160a01b031633146105355760405162461bcd60e51b815260040161010690610d22565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b600083116105ec5760405162461bcd60e51b8152602060048201526012602482015271125b98dbdc9c9958dd081d1bdad95b881a5960721b6044820152606401610106565b6000806105f885610a70565b90925090506106287f00000000000000000000000000000000000000000000000000000000000000c86001610e31565b60ff168460ff168361063a9190610d86565b11158015610683575061066e7f00000000000000000000000000000000000000000000000000000000000000646001610e31565b60ff168360ff16826106809190610d86565b11155b6106c65760405162461bcd60e51b81526020600482015260146024820152734f7574206f66206c616e6420626f756e6461727960601b6044820152606401610106565b815b6106d560ff861684610d86565b81101561095a57815b6106eb60ff861684610d86565b8110156109475760006106fe8383610b34565b604051634f558e7960e01b8152600481018290529091507f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa06001600160a01b031690634f558e799060240160206040518083038186803b15801561076157600080fd5b505afa158015610775573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107999190610e56565b156107d65760405162461bcd60e51b815260206004820152600d60248201526c4e6f7420617661696c61626c6560981b6044820152606401610106565b604051634655f42f60e01b8152600481018290527f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa06001600160a01b031690634655f42f9060240160206040518083038186803b15801561083657600080fd5b505afa15801561084a573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061086e9190610d57565b156108ab5760405162461bcd60e51b815260206004820152600d60248201526c4e6f7420617661696c61626c6560981b6044820152606401610106565b87811461093457604051631cd2aeef60e11b815260048101829052602481018990527f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa06001600160a01b0316906339a55dde90604401600060405180830381600087803b15801561091b57600080fd5b505af115801561092f573d6000803e3d6000fd5b505050505b508061093f81610db4565b9150506106de565b508061095281610db4565b9150506106c8565b506040516310684b0560e01b81526004810186905260ff8086166024830152841660448201527f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa06001600160a01b0316906310684b0590606401600060405180830381600087803b1580156109ce57600080fd5b505af11580156109e2573d6000803e3d6000fd5b5050604051630f38ca0d60e31b81526001600160a01b038981166004830152602482018990527f0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa01692506379c650689150604401600060405180830381600087803b158015610a5057600080fd5b505af1158015610a64573d6000803e3d6000fd5b50505050505050505050565b6000806028610a80600185610e78565b610a8a9190610ea5565b6107d0612710610a9b600187610e78565b610aa59190610ea5565b610aaf9190610eb9565b610aba906028610ecd565b610ac49190610d86565b610acf906001610d86565b915060286107d0610ae1600186610e78565b610aeb9190610ea5565b610af59190610eb9565b612710610b03600186610e78565b610b0d9190610eb9565b610b18906032610ecd565b610b229190610d86565b610b2d906001610d86565b9050915091565b60006028610b43600185610e78565b610b4d9190610ea5565b6032610b5a600185610e78565b610b649190610ea5565b610b6f906028610ecd565b6028610b7c600187610e78565b610b869190610eb9565b610b92906107d0610ecd565b6032610b9f600187610e78565b610ba99190610eb9565b610bb590612710610ecd565b610bbf9190610d86565b610bc99190610d86565b610bd39190610d86565b610bde906001610d86565b9392505050565b80356001600160a01b0381168114610bfc57600080fd5b919050565b803560ff81168114610bfc57600080fd5b600080600080600060808688031215610c2a57600080fd5b610c3386610be5565b9450602086013567ffffffffffffffff80821115610c5057600080fd5b818801915088601f830112610c6457600080fd5b813581811115610c7357600080fd5b8960208260051b8501011115610c8857600080fd5b602083019650809550505050610ca060408701610c01565b9150610cae60608701610c01565b90509295509295909350565b60008060008060808587031215610cd057600080fd5b610cd985610be5565b935060208501359250610cee60408601610c01565b9150610cfc60608601610c01565b905092959194509250565b600060208284031215610d1957600080fd5b610bde82610be5565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b600060208284031215610d6957600080fd5b5051919050565b634e487b7160e01b600052601160045260246000fd5b60008219821115610d9957610d99610d70565b500190565b634e487b7160e01b600052603260045260246000fd5b6000600019821415610dc857610dc8610d70565b5060010190565b6001600160a01b0386168152608060208201819052810184905260006001600160fb1b03851115610dff57600080fd5b8460051b808760a0850137600090830160a00190815260ff948516604084015292909316606090910152949350505050565b600060ff821660ff84168060ff03821115610e4e57610e4e610d70565b019392505050565b600060208284031215610e6857600080fd5b81518015158114610bde57600080fd5b600082821015610e8a57610e8a610d70565b500390565b634e487b7160e01b600052601260045260246000fd5b600082610eb457610eb4610e8f565b500690565b600082610ec857610ec8610e8f565b500490565b6000816000190483118215151615610ee757610ee7610d70565b50029056fea26469706673582212208cff82f1470be232c4b95e97e8894ac90727375e8a6c6af8b8735f44b7efc58c64736f6c63430008090033

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

0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa0

-----Decoded View---------------
Arg [0] : _nftContractAddress (address): 0x5A0d6E239A9137bB089eDf326b2B2435B1975Fa0

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000005a0d6e239a9137bb089edf326b2b2435b1975fa0


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.