ETH Price: $2,657.29 (+1.94%)

Contract

0x5d3bDDE0a5290249A5afC82096D35192f5eD23d8
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

Transaction Hash
Method
Block
From
To
Transfer Ownersh...191347412024-02-01 16:22:59259 days ago1706804579IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.001429650
Replace Implemen...191284122024-01-31 19:01:59260 days ago1706727719IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.0008112428
Set Max Price De...191212692024-01-30 19:00:23261 days ago1706641223IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.0010071630
Replace Implemen...191209162024-01-30 17:48:47261 days ago1706636927IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.0008862630.58945514
Initialize191163722024-01-30 2:33:47262 days ago1706582027IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.001713718
Rely191163332024-01-30 2:25:59262 days ago1706581559IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.0009188218
Replace Implemen...191162492024-01-30 2:08:47262 days ago1706580527IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.0005215118
Initialize190917032024-01-26 15:34:23266 days ago1706283263IN
0x5d3bDDE0...2f5eD23d8
0 ETH0.0039432928
0x60806040190917022024-01-26 15:34:11266 days ago1706283251IN
 Contract Creation
0 ETH0.0067168628

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

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

Contract Name:
FungifyPriceFeedProxy

Compiler Version
v0.8.23+commit.f704f362

Optimization Enabled:
Yes with 200 runs

Other Settings:
shanghai EvmVersion, Unlicense license
File 1 of 5 : FungifyPriceFeedProxy.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.23;

import "Proxy.sol";

contract FungifyPriceFeedProxy is Proxy {
    constructor(address impl_) Proxy(impl_) {}
}

File 2 of 5 : Proxy.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.23;

import "Upgradeable.sol";

contract Proxy is Upgradeable {

    constructor(address impl_) {
        replaceImplementation(impl_);
    }

    fallback() external payable {
        assembly {
            calldatacopy(0, 0, calldatasize())
            let result := delegatecall(gas(), sload(implementation.slot), 0, calldatasize(), 0, 0)
            returndatacopy(0, 0, returndatasize())
            switch result
            case 0 { revert(0, returndatasize()) }
            default { return(0, returndatasize()) }
        }
    }

    function replaceImplementation(address impl_) public onlyOwner {
        implementation = impl_;
    }
}

File 3 of 5 : Upgradeable.sol
// SPDX-License-Identifier: UNLICENSED
pragma solidity 0.8.23;

import {Ownable} from "Ownable.sol";

contract Upgradeable is Ownable {
    address public implementation;

    constructor() Ownable(msg.sender) {}
}

File 4 of 5 : Ownable.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (access/Ownable.sol)

pragma solidity ^0.8.20;

import {Context} from "Context.sol";

/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * The initial owner is set to the address provided by the deployer. This can
 * later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    constructor(address initialOwner) {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

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

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        _transferOwnership(address(0));
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

File 5 of 5 : Context.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (utils/Context.sol)

pragma solidity ^0.8.20;

/**
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }
}

Settings
{
  "evmVersion": "shanghai",
  "optimizer": {
    "enabled": true,
    "runs": 200
  },
  "libraries": {
    "FungifyPriceFeedProxy.sol": {}
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  }
}

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"impl_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"impl_","type":"address"}],"name":"replaceImplementation","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x608060405260043610610049575f3560e01c80635c60da1b1461006b578063715018a6146100a65780638da5cb5b146100ba578063d69efdc5146100d6578063f2fde38b146100f5575b365f80375f80365f6001545af43d5f803e808015610065573d5ff35b3d5ffd5b005b348015610076575f80fd5b5060015461008a906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b3480156100b1575f80fd5b50610069610114565b3480156100c5575f80fd5b505f546001600160a01b031661008a565b3480156100e1575f80fd5b506100696100f036600461020e565b610127565b348015610100575f80fd5b5061006961010f36600461020e565b610151565b61011c610193565b6101255f6101bf565b565b61012f610193565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610159610193565b6001600160a01b03811661018757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610190816101bf565b50565b5f546001600160a01b031633146101255760405163118cdaa760e01b815233600482015260240161017e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121561021e575f80fd5b81356001600160a01b0381168114610234575f80fd5b939250505056fea26469706673582212203273230425aa3ca5136dd9480522721361b76accb1a1218390fa6facc0f624d264736f6c63430008170033

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.