Discover more of Etherscan's tools and services in one place.
Sponsored
Contract Source Code:
File 1 of 1 : TokenProxy.sol<i class='far fa-question-circle text-muted ms-2' data-bs-trigger='hover' data-bs-toggle='tooltip' data-bs-html='true' data-bs-title='Click on the check box to select individual contract to compare. Only 1 contract can be selected from each side.'></i>
// SPDX-License-Identifier: MIT pragma solidity ^0.8.20; /* ########## ######## ##### ### ###### ## ###### ### # ##### ####### ###### ## ## ### ### ###### ####### #### ## ## ## ## ## ### ### ######### ###### ## # ## # ## ### ## ######### ###### ## ## ## ## ## #### ## ##### ######## ### ## ## ## ### #### ## ## ######### ###### ## ###### ##### ## ## ###### ########## ##### ######## #### no no no ┌──────────────────────────────────────────────────────────────────────────────────────────────────────────┐ │ __ __ _ _ _______ ______ _ │ │ | \/ | | | | | |__ __| | ____| (_) │ │ | \ / | __ _ __| | ___ | |__ _ _ | | __ ___ _| |__ __ _ _ __ _ __ ___ _ _ __ __ _ │ │ | |\/| |/ _` |/ _|` |/ _ \ | '_ \| | | | | |/ _` | / / __/ _` | '__| '_ ` _ \ | | '_ \ / _` | │ │ | | | | (_| | (_| | __/ | |_) | |_| | | | (_| |> <| | | (_| | | | | | | | | | | | | | (_| | │ │ |_| |_|\__,_|\__,_|\___| |_.__/ \__, | |_|\__,_/_/\_\_| \__,_|_| |_| |_| |_|(_)_|_| |_|\__, | │ │ __/ | __/ | │ │ |___/ |___/ │ │ │ │ taxfarm.ing │ │ │ └──────────────────────────────────────────────────────────────────────────────────────────────────────────┘ */ contract TokenProxy { // constant stored in runtime bytecode to ensure contract uniqueness and be able to verify it on etherscan with custom comments uint256 public constant uniqueId = 0x1000100000000000000000000000000000000000000000000000000000000004; // use a 32 bytes uint to ensure consistency of PUSH32 opcode, 1st byte to ensure 32 bytes length, 2 next bytes are used as a placeholder for factory version and the next 29 bytes are used as a placeholder for unique id address public immutable tokenLogic; constructor(address _tokenLogic) { tokenLogic = _tokenLogic; } // delegate functions call to the token logic contract fallback() external payable { address dest = tokenLogic; assembly { calldatacopy(0, 0, calldatasize()) let result := delegatecall(gas(), dest, 0, calldatasize(), 0, 0) returndatacopy(0, 0, returndatasize()) switch result case 0 { revert(0, returndatasize()) } default { return(0, returndatasize()) } } } }
Please enter a contract address above to load the contract details and source code.
Please DO NOT store any passwords or private keys here. A private note (up to 100 characters) can be saved and is useful for transaction tracking.
My Name Tag:
Private Note:
This website uses cookies to improve your experience. By continuing to use this website, you agree to its Terms and Privacy Policy.