ETH Price: $2,621.69 (+2.12%)

Contract

0xBCac6442A8545f7bfF556835Aa9f9e64a59780b7
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Move Boss153121552022-08-10 4:01:36811 days ago1660104096IN
0xBCac6442...4a59780b7
0 ETH0.0004251111.80568048
Add Boss153121522022-08-10 4:00:53811 days ago1660104053IN
0xBCac6442...4a59780b7
0 ETH0.0008501210.66749145
Add Boss153121412022-08-10 3:58:46811 days ago1660103926IN
0xBCac6442...4a59780b7
0 ETH0.0006337810.61248913
Fight153116762022-08-10 2:14:22811 days ago1660097662IN
0xBCac6442...4a59780b7
0 ETH0.002622546.12339914
Manage Hero153116662022-08-10 2:12:42811 days ago1660097562IN
0xBCac6442...4a59780b7
0 ETH0.000723558.8963246
Fight153116242022-08-10 2:05:19811 days ago1660097119IN
0xBCac6442...4a59780b7
0 ETH0.003573459.6899682
Fight153116232022-08-10 2:04:35811 days ago1660097075IN
0xBCac6442...4a59780b7
0 ETH0.003932458.89174086
Manage Hero153116062022-08-10 2:00:46811 days ago1660096846IN
0xBCac6442...4a59780b7
0 ETH0.0008318210.22755054
Manage Hero153115922022-08-10 1:58:05811 days ago1660096685IN
0xBCac6442...4a59780b7
0 ETH0.000669510.80963321
Manage Hero153115822022-08-10 1:56:09811 days ago1660096569IN
0xBCac6442...4a59780b7
0 ETH0.0003062311.13869712
Manage Hero153115742022-08-10 1:54:13811 days ago1660096453IN
0xBCac6442...4a59780b7
0 ETH0.000366613.33464218
Fight153115262022-08-10 1:42:10811 days ago1660095730IN
0xBCac6442...4a59780b7
0 ETH0.0035117711.13759366
Fight153115132022-08-10 1:39:38811 days ago1660095578IN
0xBCac6442...4a59780b7
0 ETH0.0048578511.32308199
Fight153114972022-08-10 1:35:57811 days ago1660095357IN
0xBCac6442...4a59780b7
0 ETH0.0049895111.63127377
Manage Hero153114892022-08-10 1:33:25811 days ago1660095205IN
0xBCac6442...4a59780b7
0 ETH0.000251379.143331
Manage Hero153114852022-08-10 1:32:37811 days ago1660095157IN
0xBCac6442...4a59780b7
0 ETH0.000249989.0925905
Manage Hero153114692022-08-10 1:29:16811 days ago1660094956IN
0xBCac6442...4a59780b7
0 ETH0.000233438.49088599
Manage Hero153114632022-08-10 1:28:06811 days ago1660094886IN
0xBCac6442...4a59780b7
0 ETH0.000259339.43268606
Fight153114562022-08-10 1:26:40811 days ago1660094800IN
0xBCac6442...4a59780b7
0 ETH0.003438048.01453459
Fight153114402022-08-10 1:23:43811 days ago1660094623IN
0xBCac6442...4a59780b7
0 ETH0.003247287.56742305
Fight153114192022-08-10 1:19:32811 days ago1660094372IN
0xBCac6442...4a59780b7
0 ETH0.0045618110.64987897
Fight153114152022-08-10 1:18:41811 days ago1660094321IN
0xBCac6442...4a59780b7
0 ETH0.0051521612.14345649
Fight153113952022-08-10 1:13:38811 days ago1660094018IN
0xBCac6442...4a59780b7
0 ETH0.004082119.48257335
Fight153113892022-08-10 1:12:57811 days ago1660093977IN
0xBCac6442...4a59780b7
0 ETH0.0043964310.28096132
Fight153113672022-08-10 1:08:23811 days ago1660093703IN
0xBCac6442...4a59780b7
0 ETH0.0072075516.85318912
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

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

Contract Name:
Proxy

Compiler Version
v0.8.7+commit.e28d00a7

Optimization Enabled:
Yes with 200 runs

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

/// @dev Proxy for NFT Factory
contract Proxy {

    // Storage for this proxy
    bytes32 private constant IMPLEMENTATION_SLOT = bytes32(0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc);
    bytes32 private constant ADMIN_SLOT          = bytes32(0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103);

    constructor(address impl) {
        require(impl != address(0));

        _setSlotValue(IMPLEMENTATION_SLOT, bytes32(uint256(uint160(impl))));
        _setSlotValue(ADMIN_SLOT, bytes32(uint256(uint160(msg.sender))));
    }

    function setImplementation(address newImpl) public {
        require(msg.sender == _getAddress(ADMIN_SLOT));
        _setSlotValue(IMPLEMENTATION_SLOT, bytes32(uint256(uint160(newImpl))));
    }
    
    function setAdmin(address newAdmin) public {
        require(msg.sender == _getAddress(ADMIN_SLOT));
        _setSlotValue(ADMIN_SLOT, bytes32(uint256(uint160(newAdmin))));
    }
    

    function implementation() public view returns (address impl) {
        impl = address(uint160(uint256(_getSlotValue(IMPLEMENTATION_SLOT))));
    }

    function _getAddress(bytes32 key) internal view returns (address add) {
        add = address(uint160(uint256(_getSlotValue(key))));
    }

    function _getSlotValue(bytes32 slot_) internal view returns (bytes32 value_) {
        assembly {
            value_ := sload(slot_)
        }
    }

    function _setSlotValue(bytes32 slot_, bytes32 value_) internal {
        assembly {
            sstore(slot_, value_)
        }
    }

    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation__) internal virtual {
        assembly {
            // Copy msg.data. We take full control of memory in this inline assembly
            // block because it will not return to Solidity code. We overwrite the
            // Solidity scratch pad at memory position 0.
            calldatacopy(0, 0, calldatasize())

            // Call the implementation.
            // out and outsize are 0 because we don't know the size yet.
            let result := delegatecall(gas(), implementation__, 0, calldatasize(), 0, 0)

            // Copy the returned data.
            returndatacopy(0, 0, returndatasize())

            switch result
            // delegatecall returns 0 on error.
            case 0 {
                revert(0, returndatasize())
            }
            default {
                return(0, returndatasize())
            }
        }
    }

    receive() external payable {}


    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback() external payable virtual {
        _delegate(_getAddress(IMPLEMENTATION_SLOT));
    }

}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"impl","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"impl","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"setAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImpl","type":"address"}],"name":"setImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

Deployed Bytecode

0x6080604052600436106100385760003560e01c80635c60da1b14610072578063704b6c02146100a3578063d784d426146100c35761003f565b3661003f57005b61007061006b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc6100e3565b6100f3565b005b34801561007e57600080fd5b50610087610117565b6040516001600160a01b03909116815260200160405180910390f35b3480156100af57600080fd5b506100706100be36600461022c565b610146565b3480156100cf57600080fd5b506100706100de36600461022c565b6101b9565b60006100ed825490565b92915050565b3660008037600080366000845af43d6000803e808015610112573d6000f35b3d6000fd5b60006101417f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b919050565b61016f7fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036100e3565b6001600160a01b0316336001600160a01b03161461018c57600080fd5b6001600160a01b03167fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d610355565b6101e27fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61036100e3565b6001600160a01b0316336001600160a01b0316146101ff57600080fd5b6001600160a01b03167f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b60006020828403121561023e57600080fd5b81356001600160a01b038116811461025557600080fd5b939250505056fea26469706673582212206338fb9fcfd0243a16a428ed16fd0958ef71d993b153dd86d5f2588b86012d3664736f6c63430008070033

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.