ETH Price: $3,338.38 (-1.35%)
Gas: 14 Gwei

Contract

0x5dCAFCA3683Cd240B5f26Bf8433Ae1EaF5AE54FC
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Set Approval For...193007252024-02-24 23:28:11156 days ago1708817291IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0006065320.76456951
Set Approval For...190910682024-01-26 13:26:59185 days ago1706275619IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0006971723.90701791
Set Approval For...190444582024-01-20 0:22:11192 days ago1705710131IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0009772519.12053563
Transfer From189865162024-01-11 22:00:47200 days ago1705010447IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0024723736.6180825
Set Approval For...189865142024-01-11 22:00:23200 days ago1705010423IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0013886927.18983028
Safe Transfer Fr...189127972024-01-01 13:12:35210 days ago1704114755IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0007074310.4653611
Set Approval For...187374242023-12-07 22:37:11235 days ago1701988631IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0016461456.35546983
Set Approval For...187374232023-12-07 22:36:59235 days ago1701988619IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.001662456.91213454
Set Approval For...184445262023-10-27 22:28:23276 days ago1698445703IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0006752213.2297943
Set Approval For...177580462023-07-23 19:57:47372 days ago1690142267IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0018482636.21354325
Set Approval For...166545542023-02-18 9:12:35528 days ago1676711555IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0012174823.85439934
Set Approval For...165196892023-01-30 12:38:11546 days ago1675082291IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.000936418.3472093
Set Approval For...163570192023-01-07 19:32:47569 days ago1673119967IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0004954116.96035213
Set Approval For...163569772023-01-07 19:24:23569 days ago1673119463IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0004697616.0823509
Set Approval For...163166172023-01-02 4:11:23575 days ago1672632683IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.000746214.62054452
Set Approval For...161611232022-12-11 11:19:23596 days ago1670757563IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0007477714.65129413
Set Approval For...159703212022-11-14 19:18:59623 days ago1668453539IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.001076521.09215816
Set Approval For...158471632022-10-28 14:29:23640 days ago1666967363IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0005527118.92209015
Set Approval For...157120792022-10-09 17:38:23659 days ago1665337103IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0013549526.54795539
Set Approval For...155727532022-09-20 5:57:23679 days ago1663653443IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.000236784.63948005
Set Approval For...155637172022-09-18 23:31:59680 days ago1663543919IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.000267875.24848006
Set Approval For...155505232022-09-17 3:06:47682 days ago1663384007IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.00041318.09406359
Set Approval For...155237552022-09-12 23:47:51686 days ago1663026471IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.00039887.81384574
Set Approval For...153817512022-08-21 4:09:02709 days ago1661054942IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.000180033.5275246
Set Approval For...153677602022-08-18 22:53:33711 days ago1660863213IN
0x5dCAFCA3...aF5AE54FC
0 ETH0.0005322310.42818715
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.