ETH Price: $2,608.80 (-0.48%)

Contract

0x30e69Da9Bc8b1F43BCB2604152CCBe65fefA680F
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Withdraw146973822022-05-02 8:57:26899 days ago1651481846IN
0x30e69Da9...5fefA680F
0 ETH0.0018141550.52659328
Mint146941462022-05-01 20:45:39900 days ago1651437939IN
0x30e69Da9...5fefA680F
0.1 ETH0.006447456.30872924
Set Implementati...146940252022-05-01 20:20:16900 days ago1651436416IN
0x30e69Da9...5fefA680F
0 ETH0.0013892748.00026399
Set Implementati...146938852022-05-01 19:44:13900 days ago1651434253IN
0x30e69Da9...5fefA680F
0 ETH0.0016088755.56463003
Mint146938842022-05-01 19:44:02900 days ago1651434242IN
0x30e69Da9...5fefA680F
0.1 ETH0.0062461754.57224794
Mint146938662022-05-01 19:38:15900 days ago1651433895IN
0x30e69Da9...5fefA680F
0.1 ETH0.0054355347.47152996
Mint146938212022-05-01 19:29:17900 days ago1651433357IN
0x30e69Da9...5fefA680F
0.1 ETH0.0058196350.85092582
Mint146938092022-05-01 19:26:39900 days ago1651433199IN
0x30e69Da9...5fefA680F
0.1 ETH0.0052524445.90777197
Set Admin146937312022-05-01 19:12:55900 days ago1651432375IN
0x30e69Da9...5fefA680F
0 ETH0.0019551772.86456576
Mint146937272022-05-01 19:11:17900 days ago1651432277IN
0x30e69Da9...5fefA680F
0.1 ETH0.007727167.49092359
Mint146935992022-05-01 18:40:14900 days ago1651430414IN
0x30e69Da9...5fefA680F
0.1 ETH0.0068159559.55449966
Mint146935492022-05-01 18:28:00900 days ago1651429680IN
0x30e69Da9...5fefA680F
0.2 ETH0.0097297169.40081706
Mint146935492022-05-01 18:28:00900 days ago1651429680IN
0x30e69Da9...5fefA680F
0.1 ETH0.0079411869.40081706
Mint146934802022-05-01 18:11:32900 days ago1651428692IN
0x30e69Da9...5fefA680F
0.1 ETH0.0062862854.91120554
Mint146933852022-05-01 17:51:09900 days ago1651427469IN
0x30e69Da9...5fefA680F
0.2 ETH0.0066246647.24139353
Mint146933732022-05-01 17:49:17900 days ago1651427357IN
0x30e69Da9...5fefA680F
0.1 ETH0.0044247938.66105316
Mint146933482022-05-01 17:44:44900 days ago1651427084IN
0x30e69Da9...5fefA680F
0.1 ETH0.0059304451.82820164
Mint146933412022-05-01 17:43:29900 days ago1651427009IN
0x30e69Da9...5fefA680F
0.1 ETH0.0065312657.06802204
Mint146932712022-05-01 17:27:27900 days ago1651426047IN
0x30e69Da9...5fefA680F
0.2 ETH0.0085398660.8851158
Mint146931932022-05-01 17:09:56900 days ago1651424996IN
0x30e69Da9...5fefA680F
0.1 ETH0.0090107178.71752601
Mint146931462022-05-01 16:58:10900 days ago1651424290IN
0x30e69Da9...5fefA680F
0.1 ETH0.0063790955.71598855
Mint146930902022-05-01 16:46:09900 days ago1651423569IN
0x30e69Da9...5fefA680F
0.1 ETH0.0091491679.91721119
Mint146930682022-05-01 16:40:05900 days ago1651423205IN
0x30e69Da9...5fefA680F
0.2 ETH0.0096599868.8867035
Mint146930592022-05-01 16:37:52900 days ago1651423072IN
0x30e69Da9...5fefA680F
0.1 ETH0.0090137178.72858035
Mint146930102022-05-01 16:24:23900 days ago1651422263IN
0x30e69Da9...5fefA680F
0.1 ETH0.0076450866.78156857
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To
146973822022-05-02 8:57:26899 days ago1651481846
0x30e69Da9...5fefA680F
8.7 ETH
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  ]
[ 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.