Overview
ETH Balance
0 ETH
Eth Value
$0.00More Info
Private Name Tags
ContractCreator
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 0x4694866d...74D5142ea 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
Contract Source Code (Solidity)
/** *Submitted for verification at Etherscan.io on 2024-02-02 */ // SPDX-License-Identifier: UNLICENSED pragma solidity 0.8.23; /** * @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; } } /** * @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); } } contract Upgradeable is Ownable { address public implementation; constructor() Ownable(msg.sender) {} } 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_; } } contract FungifyPriceFeedProxy is Proxy { constructor(address impl_) Proxy(impl_) {} }
Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
[{"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
0x608060405260043610610049575f3560e01c80635c60da1b1461006b578063715018a6146100a65780638da5cb5b146100ba578063d69efdc5146100d6578063f2fde38b146100f5575b365f80375f80365f6001545af43d5f803e808015610065573d5ff35b3d5ffd5b005b348015610076575f80fd5b5060015461008a906001600160a01b031681565b6040516001600160a01b03909116815260200160405180910390f35b3480156100b1575f80fd5b50610069610114565b3480156100c5575f80fd5b505f546001600160a01b031661008a565b3480156100e1575f80fd5b506100696100f036600461020e565b610127565b348015610100575f80fd5b5061006961010f36600461020e565b610151565b61011c610193565b6101255f6101bf565b565b61012f610193565b600180546001600160a01b0319166001600160a01b0392909216919091179055565b610159610193565b6001600160a01b03811661018757604051631e4fbdf760e01b81525f60048201526024015b60405180910390fd5b610190816101bf565b50565b5f546001600160a01b031633146101255760405163118cdaa760e01b815233600482015260240161017e565b5f80546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b5f6020828403121561021e575f80fd5b81356001600160a01b0381168114610234575f80fd5b939250505056fea2646970667358221220cb72f661157eb18b9122a9c2c6ad8fc102e5aa79f0a046679b948d9a328785b764736f6c63430008170033
Deployed Bytecode Sourcemap
4602:92:0:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4166:14;4163:1;4160;4147:34;4279:1;4276;4260:14;4257:1;4235:19;4229:26;4222:5;4209:72;4316:16;4313:1;4310;4295:38;4354:6;4374:38;;;;4446:16;4443:1;4436:27;4374:38;4393:16;4390:1;4383:27;4347:118;;3882:29;;;;;;;;;;-1:-1:-1;3882:29:0;;;;-1:-1:-1;;;;;3882:29:0;;;;;;-1:-1:-1;;;;;178:32:1;;;160:51;;148:2;133:18;3882:29:0;;;;;;;3007:103;;;;;;;;;;;;;:::i;2332:87::-;;;;;;;;;;-1:-1:-1;2378:7:0;2405:6;-1:-1:-1;;;;;2405:6:0;2332:87;;4491:104;;;;;;;;;;-1:-1:-1;4491:104:0;;;;;:::i;:::-;;:::i;3265:220::-;;;;;;;;;;-1:-1:-1;3265:220:0;;;;;:::i;:::-;;:::i;3007:103::-;2218:13;:11;:13::i;:::-;3072:30:::1;3099:1;3072:18;:30::i;:::-;3007:103::o:0;4491:104::-;2218:13;:11;:13::i;:::-;4565:14:::1;:22:::0;;-1:-1:-1;;;;;;4565:22:0::1;-1:-1:-1::0;;;;;4565:22:0;;;::::1;::::0;;;::::1;::::0;;4491:104::o;3265:220::-;2218:13;:11;:13::i;:::-;-1:-1:-1;;;;;3350:22:0;::::1;3346:93;;3396:31;::::0;-1:-1:-1;;;3396:31:0;;3424:1:::1;3396:31;::::0;::::1;160:51:1::0;133:18;;3396:31:0::1;;;;;;;;3346:93;3449:28;3468:8;3449:18;:28::i;:::-;3265:220:::0;:::o;2497:166::-;2378:7;2405:6;-1:-1:-1;;;;;2405:6:0;687:10;2557:23;2553:103;;2604:40;;-1:-1:-1;;;2604:40:0;;687:10;2604:40;;;160:51:1;133:18;;2604:40:0;14:203:1;3645:191:0;3719:16;3738:6;;-1:-1:-1;;;;;3755:17:0;;;-1:-1:-1;;;;;;3755:17:0;;;;;;3788:40;;3738:6;;;;;;;3788:40;;3719:16;3788:40;3708:128;3645:191;:::o;222:286:1:-;281:6;334:2;322:9;313:7;309:23;305:32;302:52;;;350:1;347;340:12;302:52;376:23;;-1:-1:-1;;;;;428:31:1;;418:42;;408:70;;474:1;471;464:12;408:70;497:5;222:286;-1:-1:-1;;;222:286:1:o
Swarm Source
ipfs://cb72f661157eb18b9122a9c2c6ad8fc102e5aa79f0a046679b948d9a328785b7
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 30 Chains
Chain | Token | Portfolio % | Price | Amount | Value |
---|
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.