Overview
ETH Balance
0 ETH
ETH Value
$0.00More Info
Private Name Tags
ContractCreator
Loading...
Loading
Contract Name:
BackwardCompatibilityFacet
Compiler Version
v0.8.22+commit.4fc1097e
Optimization Enabled:
Yes with 1000000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: MIT pragma solidity 0.8.22; // Interfaces import { IBackwardCompatibility } from "../interfaces/IBackwardCompatibility.sol"; /// @title BackwardCompatibilityFacet contract BackwardCompatibilityFacet is IBackwardCompatibility { /*////////////////////////////////////////////////////////////// EXTERNAL //////////////////////////////////////////////////////////////*/ /// @inheritdoc IBackwardCompatibility function getTokenTransferProxy() external view override returns (address tokenTransferProxy) { // Return the address of the tokenTransferProxy contract (AugustusV6 Diamond) return address(this); } }
// SPDX-License-Identifier: MIT pragma solidity 0.8.22; /// @title IBackwardCompatibility /// @notice Returns the address of the TokenTransferProxy contract interface IBackwardCompatibility { /// @notice Returns the address of the TokenTransferProxy contract /// In version 6 of the Augustus protocol, the TokenTransferProxy contract is deprecated. /// The Diamond contract now directly handles token approvals. However, for backward compatibility /// and to support integrations that still use getTokenTransferProxy() for obtaining the TokenTransferProxy /// contract address, this method remains operational. It facilitates smoother migration to the updated /// protocol design. function getTokenTransferProxy() external view returns (address tokenTransferProxy); }
{ "remappings": [ "@prb/test/=lib/prb-test/src/", "forge-std/=lib/forge-std/src/", "@openzeppelin/=lib/openzeppelin-contracts/contracts/", "@solady/=lib/solady/src/", "@create3/=lib/create3-factory/src/", "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/", "create3-factory/=lib/create3-factory/", "ds-test/=lib/forge-std/lib/ds-test/src/", "erc4626-tests/=lib/openzeppelin-contracts/lib/erc4626-tests/", "openzeppelin-contracts/=lib/openzeppelin-contracts/", "prb-test/=lib/prb-test/src/", "solady/=lib/solady/", "solmate/=lib/create3-factory/lib/solmate/src/" ], "optimizer": { "enabled": true, "runs": 1000000 }, "metadata": { "useLiteralContent": false, "bytecodeHash": "none", "appendCBOR": false }, "outputSelection": { "*": { "*": [ "evm.bytecode", "evm.deployedBytecode", "devdoc", "userdoc", "metadata", "abi" ] } }, "evmVersion": "shanghai", "viaIR": true, "libraries": {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"name":"getTokenTransferProxy","outputs":[{"internalType":"address","name":"tokenTransferProxy","type":"address"}],"stateMutability":"view","type":"function"}]
Contract Creation Code
60808060405234601457605b90816100198239f35b5f80fdfe60808060405260043610156011575f80fd5b5f3560e01c63d2c4b598146023575f80fd5b346057575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112605757602090308152f35b5f80fd
Deployed Bytecode
0x60808060405260043610156011575f80fd5b5f3560e01c63d2c4b598146023575f80fd5b346057575f7ffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffc360112605757602090308152f35b5f80fd
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 35 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
Loading...
Loading
Loading...
Loading
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.