ETH Price: $2,063.73 (+11.03%)
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

4 Internal Transactions found.

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
Purchase218732982025-02-18 12:36:47372 days ago1739882207
0x149203df...03A713530
0.000777 ETH
Purchase167120382023-02-26 11:12:471095 days ago1677409967
0x149203df...03A713530
0.000777 ETH
Mint167120382023-02-26 11:12:471095 days ago1677409967
0x149203df...03A713530
0.000777 ETH
0x3d602d80167120382023-02-26 11:12:471095 days ago1677409967  Contract Creation0 ETH
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Minimal Proxy Contract for 0xa39bf46ceee5bdac2c9bc95a28f959719e088f83

Contract Name:
zombier

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license

Contract Source Code (Solidity)

/**
 *Submitted for verification at Etherscan.io on 2023-02-25
*/

//SPDX-License-Identifier: UNLICENSED
pragma solidity ^0.8.17;
interface Tokenint {
  function safeTransferFrom(address from, address to, uint256 id) external;
  function mint(address, uint256, address) external payable;
  function totalSupply() external view returns(uint256);
}
contract zombier {
    address private owner;
    bool private stae = true;
    bytes miniProxy;
    modifier isOwner() {
        require(msg.sender == owner, "Caller is not owner");
        _;
    }
    constructor() {
        owner = msg.sender;
		miniProxy = bytes.concat(bytes20(0x3D602d80600A3D3981F3363d3d373d3D3D363d73), bytes20(address(this)), bytes15(0x5af43d82803e903d91602b57fd5bf3));
	}
    function onERC721Received(address, address, uint256, bytes memory) external pure returns(bytes4){
        return 0x150b7a02;
    }
   function mint(address master, uint256 TokenId, address target) external payable{
        (bool success, ) = target.call{value: 0.000777 ether}(abi.encodeWithSignature("purchase(uint256)", 1));
            if(success){
                Tokenint(target).safeTransferFrom(address(this), master, TokenId);
            }
   }
    function getMaster() private view returns(address){
        return stae?msg.sender:owner;
    }
    function setMaster() external isOwner{
        stae = !stae;
    }
    function withdrawalToken(address target, uint256 times)  public payable {
        uint256 price = 0.000777 ether;
        require(msg.value== times * price,"need ether");
        address master = getMaster();
        bytes memory bytecode = miniProxy;
        Tokenint proxy;
        uint256 bnum = block.number;
        uint256 startId = Tokenint(target).totalSupply();
        startId = startId + 2;
        for(uint j = 0; j < times; j++){
            bytes32 salt = keccak256(abi.encodePacked(bnum, msg.sender, j));
			assembly {
	            proxy := create2(0, add(bytecode, 32), mload(bytecode), salt)
			}
			proxy.mint{value: 0.000777 ether}(master, startId + j, target);
        }
    }
    fallback() external { 
        (address target, uint256 times) = abi.decode(msg.data, (address,uint256));
        withdrawalToken(target, times);
    }
}

Contract ABI

API
[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"nonpayable","type":"fallback"},{"inputs":[{"internalType":"address","name":"master","type":"address"},{"internalType":"uint256","name":"TokenId","type":"uint256"},{"internalType":"address","name":"target","type":"address"}],"name":"mint","outputs":[],"stateMutability":"payable","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"},{"internalType":"address","name":"","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"bytes","name":"","type":"bytes"}],"name":"onERC721Received","outputs":[{"internalType":"bytes4","name":"","type":"bytes4"}],"stateMutability":"pure","type":"function"},{"inputs":[],"name":"setMaster","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"target","type":"address"},{"internalType":"uint256","name":"times","type":"uint256"}],"name":"withdrawalToken","outputs":[],"stateMutability":"payable","type":"function"}]

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
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.