Skip to content
Verified contractPartialUNLICENSED

ImmutableProxy

Address0x03b08c653a323bfef5285e6d954f9d426beae87f
Balance

0 ETH

 

Transactions

1

 

Compiler

solc 0.8.35

 

Same code

408 more contracts

 

Details

Compiler
solc 0.8.35+commit.47b9dedd
Language
solidity
Optimization
Yes, 200 runs
EVM version
paris
Via IR
yes
License
UNLICENSED
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
25,629,546
Creation transaction
0x614a9fcade…5573b9a942

ImmutableProxy.sol

// SPDX-License-Identifier: UNLICENSED
// Decompiled by luna. See luna.preventive.dev

pragma solidity 0.8.35;

contract ImmutableProxy {
  constructor(address __impl) {
    _impl = __impl; // 0x9f70b0c839fe2D7190a09AE87ED658B6d1Cba4F9
  }

  address private immutable _impl;

  fallback() external payable {
    address implementation_ = _impl;
    assembly {
      calldatacopy(0, 0, calldatasize())
      let result := delegatecall(gas(), implementation_, 0, calldatasize(), 0, 0)
      returndatacopy(0, 0, returndatasize())
      switch result
      case 0 { revert(0, returndatasize()) }
      default { return(0, returndatasize()) }
    }
  }

  receive() external payable {}
}
Compiler settingsShow
{
  "viaIR": true,
  "metadata": {
    "appendCBOR": false
  },
  "optimizer": {
    "runs": 200,
    "enabled": true
  },
  "evmVersion": "paris"
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.