ETH Price: $3,005.01 (-0.26%)
Gas: 6 Gwei

Contract

0xC2Da2f0E23a5CA0f284e7fB8be3125cE80861daD
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value

There are no matching entries

Please try again later

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
122882812021-04-22 6:01:461173 days ago1619071306  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
Proxy

Compiler Version
v0.6.12+commit.27d51765

Optimization Enabled:
No with 200 runs

Other Settings:
default evmVersion, MIT license
/**
 *Submitted for verification at Etherscan.io on 2020-08-27
*/

pragma solidity 0.6.12;

contract Proxy {
    
    // Code position in storage is:
    // keccak256("PROXIABLE") = "0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7"
    uint256 constant PROXIABLE_SLOT = 0xc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf7;

    constructor(address contractLogic) public {
        // Verify a valid address was passed in
        require(contractLogic != address(0), "Contract Logic cannot be 0x0");

        // save the code address
        assembly { // solium-disable-line
            sstore(PROXIABLE_SLOT, contractLogic)
        }
    }

    fallback() external payable {
        assembly { // solium-disable-line
            let contractLogic := sload(PROXIABLE_SLOT)
            let ptr := mload(0x40)
            calldatacopy(ptr, 0x0, calldatasize())
            let success := delegatecall(gas(), contractLogic, ptr, calldatasize(), 0, 0)
            let retSz := returndatasize()
            returndatacopy(ptr, 0, retSz)
            switch success
            case 0 {
                revert(ptr, retSz)
            }
            default {
                return(ptr, retSz)
            }
        }
    }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"contractLogic","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"stateMutability":"payable","type":"fallback"}]

Deployed Bytecode

0x60806040527fc5f16f0fcc639fa48a6947836d9850f504798523bf8c9a3a87d5876cf622bcf75460405136600082376000803683855af43d806000843e81600081146048578184f35b8184fdfea264697066735822122057e2b75f32094d9306e5fd2560c740f1f4355a20978b9e58df81b2441782189964736f6c634300060c0033

Deployed Bytecode Sourcemap

27:1191:0:-:0;;;743:14;737:21;789:4;783:11;831:14;826:3;821;808:38;934:1;931;915:14;910:3;895:13;888:5;875:61;963:16;1016:5;1013:1;1008:3;993:29;1043:7;1069:1;1064:59;;;;1176:5;1171:3;1164:18;1064:59;1102:5;1097:3;1090:18

Swarm Source

ipfs://57e2b75f32094d9306e5fd2560c740f1f4355a20978b9e58df81b24417821899

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.