ETH Price: $3,342.67 (-1.64%)

Contract

0xaE3Fb2956f92a103d7b785e48333154DeA0a24b4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

3 Internal Transactions found.

Latest 3 internal transactions

Advanced mode:
Parent Transaction Hash Block
From
To
167670362023-03-06 4:47:11663 days ago1678078031
0xaE3Fb295...DeA0a24b4
0.000777 ETH
167670362023-03-06 4:47:11663 days ago1678078031
0xaE3Fb295...DeA0a24b4
0.000777 ETH
167670362023-03-06 4:47:11663 days ago1678078031  Contract Creation0 ETH
Loading...
Loading

Minimal Proxy Contract for 0x30abb1ba21d1500136cd98d1cc64d231ccd638dc

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0xa39Bf46C...19e088F83
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
zombier

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *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

[{"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 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.