Cryo Explorer Ethereum Mainnet

Address Contract Partially Verified

Address 0x0324dd195D0Cd53F9F07bEe6a48eE7a20bad738f
Balance 0 ETH
Nonce 1
Code Size 446 bytes
Indexed Transactions 0
External Etherscan · Sourcify

Contract Bytecode

446 bytes
0x6080604052600436106100565763ffffffff7c0100000000000000000000000000000000000000000000000000000000600035041663776d1a0181146100935780638da5cb5b146100b6578063d4b83992146100e7575b600154600160a060020a031680151561006e57600080fd5b60405136600082376000803683855af43d806000843e81801561008f578184f35b8184fd5b34801561009f57600080fd5b506100b4600160a060020a03600435166100fc565b005b3480156100c257600080fd5b506100cb610174565b60408051600160a060020a039092168252519081900360200190f35b3480156100f357600080fd5b506100cb610183565b600054600160a060020a0316331461011357600080fd5b60018054600160a060020a03831673ffffffffffffffffffffffffffffffffffffffff19909116811790915560408051918252517ff1b1e874978309afba903baec19abf568b0337fcedc05dde58cfea25ec25b94d9181900360200190a150565b600054600160a060020a031681565b600154600160a060020a0316815600a165627a7a723058209232f298b0561889b5c88f1ae7d6826613b5c8cd6cef6f491985f1ef42bef14b0029

Verified Source Code Partial Match

Compiler: v0.4.25+commit.59dbf8f1 EVM: byzantium Optimization: Yes (200 runs)
Proxy.sol 40 lines
pragma solidity ^0.4.21;

contract Proxy{
  address public owner;
  address public target;
  event ProxyTargetSet(address target);
  constructor () public{
    owner = msg.sender;
    }

  /**
   * @dev Throws if called by any account other than the owner.
   */
  modifier onlyOwner() {
    require(msg.sender == owner);
    _;
  }

  function setTarget(address _target) public onlyOwner {
    target = _target;
    emit ProxyTargetSet(_target);
  }

  function () payable public {
    address _impl = target;
    require(_impl != address(0));

    assembly {
      let ptr := mload(0x40)
      calldatacopy(ptr, 0, calldatasize)
      let result := delegatecall(gas, _impl, ptr, calldatasize, 0, 0)
      let size := returndatasize
      returndatacopy(ptr, 0, size)

      switch result
      case 0 { revert(ptr, size) }
      default { return(ptr, size) }
    }
  }
}

Read Contract

owner 0x8da5cb5b → address
target 0xd4b83992 → address

Write Contract 1 functions

These functions modify contract state and require a wallet transaction to execute.

setTarget 0x776d1a01
address _target

Recent Transactions

No transactions found for this address