ETH Price: $3,349.94 (+3.41%)

Contract

0xd73cA0d13e2BbA8FBc6Cfe60c8Fd5753563DA1dE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Buy135468422021-11-03 23:28:201169 days ago1635982100IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.00253758108.12481454
Buy134886772021-10-25 20:13:521178 days ago1635192832IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.00260863111.09557603
Buy134848182021-10-25 5:55:171178 days ago1635141317IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0018797180.09335391
Buy134752862021-10-23 17:59:541180 days ago1635011994IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0063562199.35
Buy134752772021-10-23 17:57:471180 days ago1635011867IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.013917568.2
Buy134752762021-10-23 17:57:251180 days ago1635011845IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0117446157.55556959
Buy134752632021-10-23 17:55:261180 days ago1635011726IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0126214161.84878351
Buy134752532021-10-23 17:54:111180 days ago1635011651IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0166115581.40167753
Buy134752432021-10-23 17:51:321180 days ago1635011492IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0185613990.96183069
Buy134752332021-10-23 17:48:481180 days ago1635011328IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0176593586.53618922
Buy134752242021-10-23 17:46:391180 days ago1635011199IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0018291971.13352202
Buy134752222021-10-23 17:46:121180 days ago1635011172IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.014952173.26987169
Buy134752142021-10-23 17:45:021180 days ago1635011102IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0171925984.25388827
Buy134752122021-10-23 17:44:011180 days ago1635011041IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0175951686.22166051
Buy134752112021-10-23 17:43:581180 days ago1635011038IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0164836980.7751042
Buy134752062021-10-23 17:41:501180 days ago1635010910IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0152643674.8
Buy134752022021-10-23 17:40:501180 days ago1635010850IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0126023661.75542925
Buy134751972021-10-23 17:40:111180 days ago1635010811IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0151637674.30704177
Buy134751852021-10-23 17:37:231180 days ago1635010643IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0124661661.08799837
Buy134751852021-10-23 17:37:231180 days ago1635010643IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0124661661.08799837
Buy134751802021-10-23 17:36:351180 days ago1635010595IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0126806262.14255763
Buy134751782021-10-23 17:36:231180 days ago1635010583IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0138577967.91140585
Buy134751712021-10-23 17:35:051180 days ago1635010505IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0184070290.2
Buy134751682021-10-23 17:34:381180 days ago1635010478IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0163095479.92170326
Buy134751642021-10-23 17:33:361180 days ago1635010416IN
0xd73cA0d1...3563DA1dE
0.2 ETH0.0154933675.9221742
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block
From
To
134752772021-10-23 17:57:471180 days ago1635011867
0xd73cA0d1...3563DA1dE
0.2 ETH
134752762021-10-23 17:57:251180 days ago1635011845
0xd73cA0d1...3563DA1dE
0.2 ETH
134752632021-10-23 17:55:261180 days ago1635011726
0xd73cA0d1...3563DA1dE
0.2 ETH
134752532021-10-23 17:54:111180 days ago1635011651
0xd73cA0d1...3563DA1dE
0.2 ETH
134752432021-10-23 17:51:321180 days ago1635011492
0xd73cA0d1...3563DA1dE
0.2 ETH
134752332021-10-23 17:48:481180 days ago1635011328
0xd73cA0d1...3563DA1dE
0.2 ETH
134752222021-10-23 17:46:121180 days ago1635011172
0xd73cA0d1...3563DA1dE
0.2 ETH
134752142021-10-23 17:45:021180 days ago1635011102
0xd73cA0d1...3563DA1dE
0.2 ETH
134752122021-10-23 17:44:011180 days ago1635011041
0xd73cA0d1...3563DA1dE
0.2 ETH
134752112021-10-23 17:43:581180 days ago1635011038
0xd73cA0d1...3563DA1dE
0.2 ETH
134752062021-10-23 17:41:501180 days ago1635010910
0xd73cA0d1...3563DA1dE
0.2 ETH
134752022021-10-23 17:40:501180 days ago1635010850
0xd73cA0d1...3563DA1dE
0.2 ETH
134751972021-10-23 17:40:111180 days ago1635010811
0xd73cA0d1...3563DA1dE
0.2 ETH
134751852021-10-23 17:37:231180 days ago1635010643
0xd73cA0d1...3563DA1dE
0.2 ETH
134751852021-10-23 17:37:231180 days ago1635010643
0xd73cA0d1...3563DA1dE
0.2 ETH
134751802021-10-23 17:36:351180 days ago1635010595
0xd73cA0d1...3563DA1dE
0.2 ETH
134751782021-10-23 17:36:231180 days ago1635010583
0xd73cA0d1...3563DA1dE
0.2 ETH
134751712021-10-23 17:35:051180 days ago1635010505
0xd73cA0d1...3563DA1dE
0.2 ETH
134751682021-10-23 17:34:381180 days ago1635010478
0xd73cA0d1...3563DA1dE
0.2 ETH
134751642021-10-23 17:33:361180 days ago1635010416
0xd73cA0d1...3563DA1dE
0.2 ETH
134751632021-10-23 17:33:021180 days ago1635010382
0xd73cA0d1...3563DA1dE
0.2 ETH
134751422021-10-23 17:28:021180 days ago1635010082
0xd73cA0d1...3563DA1dE
0.2 ETH
134751232021-10-23 17:23:471180 days ago1635009827
0xd73cA0d1...3563DA1dE
0.2 ETH
134751232021-10-23 17:23:471180 days ago1635009827
0xd73cA0d1...3563DA1dE
0.2 ETH
134750972021-10-23 17:18:431180 days ago1635009523
0xd73cA0d1...3563DA1dE
0.2 ETH
View All Internal Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
NftPresale

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2021-10-22
*/

// SPDX-License-Identifier: MIT
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) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

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

interface INFT {
	function mint(address _to) external;
	function mintBatch(address _to, uint _amount) external;
}
interface INftPresale {
	function buy(uint _amount, bytes memory _signature) external payable;
}

contract NftPresale is INftPresale, Ownable {

	uint public constant START_TIME = 1634929200;
	uint public constant FINISH_TIME = 1635015600;
	uint public constant PRE_SALE_PRICE = 0.2 ether;

	INFT public nft;
	
	address public verifyAddress = 0x142581fda5769fe7f8d3b50794dBda454DA4F3ac;
	mapping(address => bool) public buyers;
	
	address payable public receiver;

	constructor(address _nftAddress, address payable _receiverAddress) {
		nft = INFT(_nftAddress);
		
		//receiver - 0xD3db8094b50F2F094D164C1131BB9E604dfe0590
		receiver = _receiverAddress;
	}

	/*
	 * @dev function to buy tokens. Can be bought only 1. 
	 * @param _amount how much tokens can be bought.
	 * @param _signature Signed message from verifyAddress private key
	 */
	function buy(uint _amount, bytes memory _signature) external override payable {
	    require(_amount == 1, "only 1 token can be bought on presale");
	    require(block.timestamp >= START_TIME && block.timestamp < FINISH_TIME, "not a presale time");
		require(msg.value == PRE_SALE_PRICE, "token price 0.2 ETH");
		require(!buyers[msg.sender], "only one token can be bought on presale");
		require(verify(_signature), "invalid signature");
		buyers[msg.sender] = true;

		nft.mintBatch(msg.sender, _amount);
		(bool sent, ) = receiver.call{value: address(this).balance}("");
        require(sent, "Something wrong with receiver");
	}
	
	/*
	 * @dev function to withdraw all tokens
	 * @param _to ETH receiver address
	 */
	function cashOut(address _to) public onlyOwner {
        // Call returns a boolean value indicating success or failure.
        // This is the current recommended method to use.
        
        (bool sent, ) = _to.call{value: address(this).balance}("");
        require(sent, "Failed to send Ether");
    }

	/// signature methods.
	function verify(bytes memory _signature) internal view returns(bool) {
		bytes32 message = prefixed(keccak256(abi.encodePacked(msg.sender, address(this))));
        return (recoverSigner(message, _signature) == verifyAddress);
	}

    function recoverSigner(bytes32 message, bytes memory sig)
        internal
        pure
        returns (address)
    {
        (uint8 v, bytes32 r, bytes32 s) = abi.decode(sig, (uint8, bytes32, bytes32));

        return ecrecover(message, v, r, s);
    }

    /// builds a prefixed hash to mimic the behavior of eth_sign.
    function prefixed(bytes32 hash) internal pure returns (bytes32) {
        return keccak256(abi.encodePacked("\x19Ethereum Signed Message:\n32", hash));
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_nftAddress","type":"address"},{"internalType":"address payable","name":"_receiverAddress","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"inputs":[],"name":"FINISH_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"PRE_SALE_PRICE","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"START_TIME","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"uint256","name":"_amount","type":"uint256"},{"internalType":"bytes","name":"_signature","type":"bytes"}],"name":"buy","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"buyers","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_to","type":"address"}],"name":"cashOut","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"nft","outputs":[{"internalType":"contract INFT","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"receiver","outputs":[{"internalType":"address payable","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"verifyAddress","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

6080604052600280546001600160a01b03191673142581fda5769fe7f8d3b50794dbda454da4f3ac17905534801561003657600080fd5b50604051610b81380380610b81833981016040819052610055916100c7565b600080546001600160a01b031916339081178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350600180546001600160a01b039384166001600160a01b03199182161790915560048054929093169116179055610119565b600080604083850312156100da57600080fd5b82516100e581610101565b60208401519092506100f681610101565b809150509250929050565b6001600160a01b038116811461011657600080fd5b50565b610a59806101286000396000f3fe6080604052600436106100a75760003560e01c806397a993aa1161006457806397a993aa1461017b578063d3aab73b146101bb578063d8a71364146101d3578063ddaa26ad146101f3578063f2fde38b1461020b578063f7260d3e1461022b57600080fd5b8063193402bb146100ac57806347ccca02146100db57806365925b9014610113578063715018a614610133578063821895511461014a5780638da5cb5b1461015d575b600080fd5b3480156100b857600080fd5b506100c86702c68af0bb14000081565b6040519081526020015b60405180910390f35b3480156100e757600080fd5b506001546100fb906001600160a01b031681565b6040516001600160a01b0390911681526020016100d2565b34801561011f57600080fd5b506002546100fb906001600160a01b031681565b34801561013f57600080fd5b5061014861024b565b005b6101486101583660046108e0565b6102c8565b34801561016957600080fd5b506000546001600160a01b03166100fb565b34801561018757600080fd5b506101ab6101963660046108b0565b60036020526000908152604090205460ff1681565b60405190151581526020016100d2565b3480156101c757600080fd5b506100c86361745bb081565b3480156101df57600080fd5b506101486101ee3660046108b0565b6105ae565b3480156101ff57600080fd5b506100c86361730a3081565b34801561021757600080fd5b506101486102263660046108b0565b610676565b34801561023757600080fd5b506004546100fb906001600160a01b031681565b6000546001600160a01b0316331461027e5760405162461bcd60e51b8152600401610275906109d8565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b816001146103265760405162461bcd60e51b815260206004820152602560248201527f6f6e6c79203120746f6b656e2063616e20626520626f75676874206f6e2070726044820152646573616c6560d81b6064820152608401610275565b6361730a30421015801561033d57506361745bb042105b61037e5760405162461bcd60e51b81526020600482015260126024820152716e6f7420612070726573616c652074696d6560701b6044820152606401610275565b6702c68af0bb14000034146103cb5760405162461bcd60e51b81526020600482015260136024820152720e8ded6cadc40e0e4d2c6ca40605c64408aa89606b1b6044820152606401610275565b3360009081526003602052604090205460ff161561043b5760405162461bcd60e51b815260206004820152602760248201527f6f6e6c79206f6e6520746f6b656e2063616e20626520626f75676874206f6e2060448201526670726573616c6560c81b6064820152608401610275565b61044481610760565b6104845760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610275565b3360008181526003602052604090819020805460ff19166001908117909155549051630922dc7f60e21b81526004810192909252602482018490526001600160a01b03169063248b71fc90604401600060405180830381600087803b1580156104ec57600080fd5b505af1158015610500573d6000803e3d6000fd5b5050600454604051600093506001600160a01b03909116915047908381818185875af1925050503d8060008114610553576040519150601f19603f3d011682016040523d82523d6000602084013e610558565b606091505b50509050806105a95760405162461bcd60e51b815260206004820152601d60248201527f536f6d657468696e672077726f6e6720776974682072656365697665720000006044820152606401610275565b505050565b6000546001600160a01b031633146105d85760405162461bcd60e51b8152600401610275906109d8565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610625576040519150601f19603f3d011682016040523d82523d6000602084013e61062a565b606091505b50509050806106725760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610275565b5050565b6000546001600160a01b031633146106a05760405162461bcd60e51b8152600401610275906109d8565b6001600160a01b0381166107055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610275565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6040516bffffffffffffffffffffffff1933606090811b8216602084015230901b16603482015260009081906107fc90604801604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6002549091506001600160a01b03166108158285610826565b6001600160a01b0316149392505050565b60008060008084806020019051810190610840919061099b565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa15801561089b573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6000602082840312156108c257600080fd5b81356001600160a01b03811681146108d957600080fd5b9392505050565b600080604083850312156108f357600080fd5b82359150602083013567ffffffffffffffff8082111561091257600080fd5b818501915085601f83011261092657600080fd5b81358181111561093857610938610a0d565b604051601f8201601f19908116603f0116810190838211818310171561096057610960610a0d565b8160405282815288602084870101111561097957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000806000606084860312156109b057600080fd5b835160ff811681146109c157600080fd5b602085015160409095015190969495509392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fdfea26469706673582212209e6198850cbdc2006b55db7fab1f5e12bbc98587ca4021eac23d14a91f37d39c64736f6c634300080700330000000000000000000000004cd0ea8b1bdb5ab9249d96ccf3d8a0d3ada2bc76000000000000000000000000d3db8094b50f2f094d164c1131bb9e604dfe0590

Deployed Bytecode

0x6080604052600436106100a75760003560e01c806397a993aa1161006457806397a993aa1461017b578063d3aab73b146101bb578063d8a71364146101d3578063ddaa26ad146101f3578063f2fde38b1461020b578063f7260d3e1461022b57600080fd5b8063193402bb146100ac57806347ccca02146100db57806365925b9014610113578063715018a614610133578063821895511461014a5780638da5cb5b1461015d575b600080fd5b3480156100b857600080fd5b506100c86702c68af0bb14000081565b6040519081526020015b60405180910390f35b3480156100e757600080fd5b506001546100fb906001600160a01b031681565b6040516001600160a01b0390911681526020016100d2565b34801561011f57600080fd5b506002546100fb906001600160a01b031681565b34801561013f57600080fd5b5061014861024b565b005b6101486101583660046108e0565b6102c8565b34801561016957600080fd5b506000546001600160a01b03166100fb565b34801561018757600080fd5b506101ab6101963660046108b0565b60036020526000908152604090205460ff1681565b60405190151581526020016100d2565b3480156101c757600080fd5b506100c86361745bb081565b3480156101df57600080fd5b506101486101ee3660046108b0565b6105ae565b3480156101ff57600080fd5b506100c86361730a3081565b34801561021757600080fd5b506101486102263660046108b0565b610676565b34801561023757600080fd5b506004546100fb906001600160a01b031681565b6000546001600160a01b0316331461027e5760405162461bcd60e51b8152600401610275906109d8565b60405180910390fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b816001146103265760405162461bcd60e51b815260206004820152602560248201527f6f6e6c79203120746f6b656e2063616e20626520626f75676874206f6e2070726044820152646573616c6560d81b6064820152608401610275565b6361730a30421015801561033d57506361745bb042105b61037e5760405162461bcd60e51b81526020600482015260126024820152716e6f7420612070726573616c652074696d6560701b6044820152606401610275565b6702c68af0bb14000034146103cb5760405162461bcd60e51b81526020600482015260136024820152720e8ded6cadc40e0e4d2c6ca40605c64408aa89606b1b6044820152606401610275565b3360009081526003602052604090205460ff161561043b5760405162461bcd60e51b815260206004820152602760248201527f6f6e6c79206f6e6520746f6b656e2063616e20626520626f75676874206f6e2060448201526670726573616c6560c81b6064820152608401610275565b61044481610760565b6104845760405162461bcd60e51b8152602060048201526011602482015270696e76616c6964207369676e617475726560781b6044820152606401610275565b3360008181526003602052604090819020805460ff19166001908117909155549051630922dc7f60e21b81526004810192909252602482018490526001600160a01b03169063248b71fc90604401600060405180830381600087803b1580156104ec57600080fd5b505af1158015610500573d6000803e3d6000fd5b5050600454604051600093506001600160a01b03909116915047908381818185875af1925050503d8060008114610553576040519150601f19603f3d011682016040523d82523d6000602084013e610558565b606091505b50509050806105a95760405162461bcd60e51b815260206004820152601d60248201527f536f6d657468696e672077726f6e6720776974682072656365697665720000006044820152606401610275565b505050565b6000546001600160a01b031633146105d85760405162461bcd60e51b8152600401610275906109d8565b6000816001600160a01b03164760405160006040518083038185875af1925050503d8060008114610625576040519150601f19603f3d011682016040523d82523d6000602084013e61062a565b606091505b50509050806106725760405162461bcd60e51b81526020600482015260146024820152732330b4b632b2103a379039b2b7321022ba3432b960611b6044820152606401610275565b5050565b6000546001600160a01b031633146106a05760405162461bcd60e51b8152600401610275906109d8565b6001600160a01b0381166107055760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b6064820152608401610275565b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b6040516bffffffffffffffffffffffff1933606090811b8216602084015230901b16603482015260009081906107fc90604801604051602081830303815290604052805190602001206040517f19457468657265756d205369676e6564204d6573736167653a0a3332000000006020820152603c8101829052600090605c01604051602081830303815290604052805190602001209050919050565b6002549091506001600160a01b03166108158285610826565b6001600160a01b0316149392505050565b60008060008084806020019051810190610840919061099b565b6040805160008152602081018083528b905260ff8516918101919091526060810183905260808101829052929550909350915060019060a0016020604051602081039080840390855afa15801561089b573d6000803e3d6000fd5b5050604051601f190151979650505050505050565b6000602082840312156108c257600080fd5b81356001600160a01b03811681146108d957600080fd5b9392505050565b600080604083850312156108f357600080fd5b82359150602083013567ffffffffffffffff8082111561091257600080fd5b818501915085601f83011261092657600080fd5b81358181111561093857610938610a0d565b604051601f8201601f19908116603f0116810190838211818310171561096057610960610a0d565b8160405282815288602084870101111561097957600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b6000806000606084860312156109b057600080fd5b835160ff811681146109c157600080fd5b602085015160409095015190969495509392505050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b634e487b7160e01b600052604160045260246000fdfea26469706673582212209e6198850cbdc2006b55db7fab1f5e12bbc98587ca4021eac23d14a91f37d39c64736f6c63430008070033

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

0000000000000000000000004cd0ea8b1bdb5ab9249d96ccf3d8a0d3ada2bc76000000000000000000000000d3db8094b50f2f094d164c1131bb9e604dfe0590

-----Decoded View---------------
Arg [0] : _nftAddress (address): 0x4cd0ea8b1bDb5ab9249d96cCF3d8A0d3aDa2Bc76
Arg [1] : _receiverAddress (address): 0xD3db8094b50F2F094D164C1131BB9E604dfe0590

-----Encoded View---------------
2 Constructor Arguments found :
Arg [0] : 0000000000000000000000004cd0ea8b1bdb5ab9249d96ccf3d8a0d3ada2bc76
Arg [1] : 000000000000000000000000d3db8094b50f2f094d164c1131bb9e604dfe0590


Deployed Bytecode Sourcemap

3380:2592:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;3527:47;;;;;;;;;;;;3565:9;3527:47;;;;;7634:25:1;;;7622:2;7607:18;3527:47:0;;;;;;;;3580:15;;;;;;;;;;-1:-1:-1;3580:15:0;;;;-1:-1:-1;;;;;3580:15:0;;;;;;-1:-1:-1;;;;;2796:32:1;;;2778:51;;2766:2;2751:18;3580:15:0;2632:203:1;3602:73:0;;;;;;;;;;-1:-1:-1;3602:73:0;;;;-1:-1:-1;;;;;3602:73:0;;;2606:148;;;;;;;;;;;;;:::i;:::-;;4149:643;;;;;;:::i;:::-;;:::i;1955:87::-;;;;;;;;;;-1:-1:-1;2001:7:0;2028:6;-1:-1:-1;;;;;2028:6:0;1955:87;;3679:38;;;;;;;;;;-1:-1:-1;3679:38:0;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;3508:14:1;;3501:22;3483:41;;3471:2;3456:18;3679:38:0;3343:187:1;3478:45:0;;;;;;;;;;;;3513:10;3478:45;;4888:313;;;;;;;;;;-1:-1:-1;4888:313:0;;;;;:::i;:::-;;:::i;3430:44::-;;;;;;;;;;;;3464:10;3430:44;;2909:244;;;;;;;;;;-1:-1:-1;2909:244:0;;;;;:::i;:::-;;:::i;3724:31::-;;;;;;;;;;-1:-1:-1;3724:31:0;;;;-1:-1:-1;;;;;3724:31:0;;;2606:148;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;679:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;;;;;;;;;2713:1:::1;2697:6:::0;;2676:40:::1;::::0;-1:-1:-1;;;;;2697:6:0;;::::1;::::0;2676:40:::1;::::0;2713:1;;2676:40:::1;2744:1;2727:19:::0;;-1:-1:-1;;;;;;2727:19:0::1;::::0;;2606:148::o;4149:643::-;4243:7;4254:1;4243:12;4235:62;;;;-1:-1:-1;;;4235:62:0;;6515:2:1;4235:62:0;;;6497:21:1;6554:2;6534:18;;;6527:30;6593:34;6573:18;;;6566:62;-1:-1:-1;;;6644:18:1;;;6637:35;6689:19;;4235:62:0;6313:401:1;4235:62:0;3464:10;4313:15;:29;;:62;;;;;3513:10;4346:15;:29;4313:62;4305:93;;;;-1:-1:-1;;;4305:93:0;;5412:2:1;4305:93:0;;;5394:21:1;5451:2;5431:18;;;5424:30;-1:-1:-1;;;5470:18:1;;;5463:48;5528:18;;4305:93:0;5210:342:1;4305:93:0;3565:9;4411;:27;4403:59;;;;-1:-1:-1;;;4403:59:0;;4360:2:1;4403:59:0;;;4342:21:1;4399:2;4379:18;;;4372:30;-1:-1:-1;;;4418:18:1;;;4411:49;4477:18;;4403:59:0;4158:343:1;4403:59:0;4483:10;4476:18;;;;:6;:18;;;;;;;;4475:19;4467:71;;;;-1:-1:-1;;;4467:71:0;;7282:2:1;4467:71:0;;;7264:21:1;7321:2;7301:18;;;7294:30;7360:34;7340:18;;;7333:62;-1:-1:-1;;;7411:18:1;;;7404:37;7458:19;;4467:71:0;7080:403:1;4467:71:0;4551:18;4558:10;4551:6;:18::i;:::-;4543:48;;;;-1:-1:-1;;;4543:48:0;;5066:2:1;4543:48:0;;;5048:21:1;5105:2;5085:18;;;5078:30;-1:-1:-1;;;5124:18:1;;;5117:47;5181:18;;4543:48:0;4864:341:1;4543:48:0;4603:10;4596:18;;;;:6;:18;;;;;;;:25;;-1:-1:-1;;4596:25:0;4617:4;4596:25;;;;;;4628:3;:34;;-1:-1:-1;;;4628:34:0;;;;;3238:51:1;;;;3305:18;;;3298:34;;;-1:-1:-1;;;;;4628:3:0;;:13;;3211:18:1;;4628:34:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;4683:8:0;;:47;;4668:9;;-1:-1:-1;;;;;;4683:8:0;;;;-1:-1:-1;4704:21:0;;4668:9;4683:47;4668:9;4683:47;4704:21;4683:8;:47;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4667:63;;;4749:4;4741:46;;;;-1:-1:-1;;;4741:46:0;;4708:2:1;4741:46:0;;;4690:21:1;4747:2;4727:18;;;4720:30;4786:31;4766:18;;;4759:59;4835:18;;4741:46:0;4506:353:1;4741:46:0;4227:565;4149:643;;:::o;4888:313::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;679:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;5088:9:::1;5103:3;-1:-1:-1::0;;;;;5103:8:0::1;5119:21;5103:42;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5087:58;;;5164:4;5156:37;;;::::0;-1:-1:-1;;;5156:37:0;;6166:2:1;5156:37:0::1;::::0;::::1;6148:21:1::0;6205:2;6185:18;;;6178:30;-1:-1:-1;;;6224:18:1;;;6217:50;6284:18;;5156:37:0::1;5964:344:1::0;5156:37:0::1;4935:266;4888:313:::0;:::o;2909:244::-;2001:7;2028:6;-1:-1:-1;;;;;2028:6:0;679:10;2175:23;2167:68;;;;-1:-1:-1;;;2167:68:0;;;;;;;:::i;:::-;-1:-1:-1;;;;;2998:22:0;::::1;2990:73;;;::::0;-1:-1:-1;;;2990:73:0;;5759:2:1;2990:73:0::1;::::0;::::1;5741:21:1::0;5798:2;5778:18;;;5771:30;5837:34;5817:18;;;5810:62;-1:-1:-1;;;5888:18:1;;;5881:36;5934:19;;2990:73:0::1;5557:402:1::0;2990:73:0::1;3100:6;::::0;;3079:38:::1;::::0;-1:-1:-1;;;;;3079:38:0;;::::1;::::0;3100:6;::::1;::::0;3079:38:::1;::::0;::::1;3128:6;:17:::0;;-1:-1:-1;;;;;;3128:17:0::1;-1:-1:-1::0;;;;;3128:17:0;;;::::1;::::0;;;::::1;::::0;;2909:244::o;5231:232::-;5342:43;;-1:-1:-1;;5359:10:0;1926:2:1;1922:15;;;1918:24;;5342:43:0;;;1906:37:1;5379:4:0;1977:15:1;;1973:24;1959:12;;;1952:46;5294:4:0;;;;5323:64;;2014:12:1;;5342:43:0;;;;;;;;;;;;5332:54;;;;;;5902:58;;2279:66:1;5902:58:0;;;2267:79:1;2362:12;;;2355:28;;;5865:7:0;;2399:12:1;;5902:58:0;;;;;;;;;;;;5892:69;;;;;;5885:76;;5810:159;;;;5323:64;5444:13;;5305:82;;-1:-1:-1;;;;;;5444:13:0;5406:34;5305:82;5429:10;5406:13;:34::i;:::-;-1:-1:-1;;;;;5406:51:0;;;5231:232;-1:-1:-1;;;5231:232:0:o;5471:264::-;5579:7;5605;5614:9;5625;5649:3;5638:42;;;;;;;;;;;;:::i;:::-;5700:27;;;;;;;;;;;;3762:25:1;;;3835:4;3823:17;;3803:18;;;3796:45;;;;3857:18;;;3850:34;;;3900:18;;;3893:34;;;5604:76:0;;-1:-1:-1;5604:76:0;;-1:-1:-1;5604:76:0;-1:-1:-1;5700:27:0;;3734:19:1;;5700:27:0;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;5700:27:0;;-1:-1:-1;;5700:27:0;;;5471:264;-1:-1:-1;;;;;;;5471:264:0:o;14:286:1:-;73:6;126:2;114:9;105:7;101:23;97:32;94:52;;;142:1;139;132:12;94:52;168:23;;-1:-1:-1;;;;;220:31:1;;210:42;;200:70;;266:1;263;256:12;200:70;289:5;14:286;-1:-1:-1;;;14:286:1:o;305:989::-;382:6;390;443:2;431:9;422:7;418:23;414:32;411:52;;;459:1;456;449:12;411:52;495:9;482:23;472:33;;556:2;545:9;541:18;528:32;579:18;620:2;612:6;609:14;606:34;;;636:1;633;626:12;606:34;674:6;663:9;659:22;649:32;;719:7;712:4;708:2;704:13;700:27;690:55;;741:1;738;731:12;690:55;777:2;764:16;799:2;795;792:10;789:36;;;805:18;;:::i;:::-;880:2;874:9;848:2;934:13;;-1:-1:-1;;930:22:1;;;954:2;926:31;922:40;910:53;;;978:18;;;998:22;;;975:46;972:72;;;1024:18;;:::i;:::-;1064:10;1060:2;1053:22;1099:2;1091:6;1084:18;1139:7;1134:2;1129;1125;1121:11;1117:20;1114:33;1111:53;;;1160:1;1157;1150:12;1111:53;1216:2;1211;1207;1203:11;1198:2;1190:6;1186:15;1173:46;1261:1;1256:2;1251;1243:6;1239:15;1235:24;1228:35;1282:6;1272:16;;;;;;;305:989;;;;;:::o;1299:395::-;1385:6;1393;1401;1454:2;1442:9;1433:7;1429:23;1425:32;1422:52;;;1470:1;1467;1460:12;1422:52;1502:9;1496:16;1552:4;1545:5;1541:16;1534:5;1531:27;1521:55;;1572:1;1569;1562:12;1521:55;1640:2;1625:18;;1619:25;1684:2;1669:18;;;1663:25;1595:5;;1619:25;;-1:-1:-1;1663:25:1;1299:395;-1:-1:-1;;;1299:395:1:o;6719:356::-;6921:2;6903:21;;;6940:18;;;6933:30;6999:34;6994:2;6979:18;;6972:62;7066:2;7051:18;;6719:356::o;7670:127::-;7731:10;7726:3;7722:20;7719:1;7712:31;7762:4;7759:1;7752:15;7786:4;7783:1;7776:15

Swarm Source

ipfs://9e6198850cbdc2006b55db7fab1f5e12bbc98587ca4021eac23d14a91f37d39c

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  ]
[ 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.