Source Code (Proxy)
Overview
ETH Balance
0 ETH
Eth Value
$0.00Latest 25 from a total of 257 transactions
| Transaction Hash |
Method
|
Block
|
From
|
|
To
|
||||
|---|---|---|---|---|---|---|---|---|---|
| Transact | 23677648 | 52 days ago | IN | 0 ETH | 0.00002839 | ||||
| Transact | 22821373 | 171 days ago | IN | 0 ETH | 0.00003909 | ||||
| Transact | 22820046 | 172 days ago | IN | 0 ETH | 0.00011067 | ||||
| Transact | 22774381 | 178 days ago | IN | 0 ETH | 0.00019538 | ||||
| Transact | 22667268 | 193 days ago | IN | 0 ETH | 0.00046861 | ||||
| Transact | 22618785 | 200 days ago | IN | 0 ETH | 0.00031807 | ||||
| Transact | 22294988 | 245 days ago | IN | 0 ETH | 0.00002704 | ||||
| Transact | 22228521 | 254 days ago | IN | 0 ETH | 0.00014106 | ||||
| Transact | 21926040 | 297 days ago | IN | 0 ETH | 0.00007506 | ||||
| Transact | 21868992 | 305 days ago | IN | 0 ETH | 0.00009275 | ||||
| Transact | 21826125 | 311 days ago | IN | 0 ETH | 0.00010015 | ||||
| Transact | 21720513 | 325 days ago | IN | 0 ETH | 0.00026397 | ||||
| Transact | 21696014 | 329 days ago | IN | 0 ETH | 0.00077609 | ||||
| Transact | 21677001 | 331 days ago | IN | 0 ETH | 0.00057383 | ||||
| Transact | 21515381 | 354 days ago | IN | 0 ETH | 0.00042355 | ||||
| Transact | 21333554 | 379 days ago | IN | 0 ETH | 0.00248082 | ||||
| Transact | 21248829 | 391 days ago | IN | 0 ETH | 0.00076102 | ||||
| Transact | 21039042 | 420 days ago | IN | 0 ETH | 0.00040057 | ||||
| Transact | 21007655 | 425 days ago | IN | 0 ETH | 0.00096626 | ||||
| Transact | 20440816 | 504 days ago | IN | 0 ETH | 0.00016205 | ||||
| Transact | 20424804 | 506 days ago | IN | 0 ETH | 0.00023696 | ||||
| Transact | 20403961 | 509 days ago | IN | 0 ETH | 0.00012001 | ||||
| Transact | 20377393 | 513 days ago | IN | 0 ETH | 0.00061203 | ||||
| Transact | 20366410 | 514 days ago | IN | 0 ETH | 0.00021233 | ||||
| Transact | 20289470 | 525 days ago | IN | 0 ETH | 0.00023042 |
View more zero value Internal Transactions in Advanced View mode
Advanced mode:
Loading...
Loading
Cross-Chain Transactions
Loading...
Loading
Similar Match Source Code This contract matches the deployed Bytecode of the Source Code for Contract 0xB1241909...84253Da68 The constructor portion of the code might be different and could alter the actual behaviour of the contract
Contract Name:
OwnedUpgradeabilityProxy
Compiler Version
v0.7.6+commit.7338295f
Optimization Enabled:
Yes with 100000 runs
Other Settings:
default evmVersion
Contract Source Code (Solidity Standard Json-Input format)
// SPDX-License-Identifier: UNLICENSED
// This code is taken from https://github.com/OpenZeppelin/openzeppelin-labs
// with minor modifications.
pragma solidity ^0.7.0;
import './UpgradeabilityProxy.sol';
/**
* @title OwnedUpgradeabilityProxy
* @dev This contract combines an upgradeability proxy with basic authorization control functionalities
*/
contract OwnedUpgradeabilityProxy is UpgradeabilityProxy {
/**
* @dev Event to show ownership has been transferred
* @param previousOwner representing the address of the previous owner
* @param newOwner representing the address of the new owner
*/
event ProxyOwnershipTransferred(address previousOwner, address newOwner);
// Storage position of the owner of the contract
bytes32 private constant proxyOwnerPosition = keccak256("org.zeppelinos.proxy.owner");
/**
* @dev the constructor sets the original owner of the contract to the sender account.
*/
constructor() {
setUpgradeabilityOwner(msg.sender);
}
/**
* @dev Throws if called by any account other than the owner.
*/
modifier onlyProxyOwner() {
require(msg.sender == proxyOwner());
_;
}
/**
* @dev Tells the address of the owner
* @return owner the address of the owner
*/
function proxyOwner() public view returns (address owner) {
bytes32 position = proxyOwnerPosition;
assembly {
owner := sload(position)
}
}
/**
* @dev Sets the address of the owner
*/
function setUpgradeabilityOwner(address newProxyOwner) internal {
bytes32 position = proxyOwnerPosition;
assembly {
sstore(position, newProxyOwner)
}
}
/**
* @dev Allows the current owner to transfer control of the contract to a newOwner.
* @param newOwner The address to transfer ownership to.
*/
function transferProxyOwnership(address newOwner) public onlyProxyOwner {
require(newOwner != address(0));
emit ProxyOwnershipTransferred(proxyOwner(), newOwner);
setUpgradeabilityOwner(newOwner);
}
/**
* @dev Allows the proxy owner to upgrade the current version of the proxy.
* @param implementation representing the address of the new implementation to be set.
*/
function upgradeTo(address implementation) public onlyProxyOwner {
_upgradeTo(implementation);
}
/**
* @dev Allows the proxy owner to upgrade the current version of the proxy and call the new implementation
* to initialize whatever is needed through a low level call.
* @param implementation representing the address of the new implementation to be set.
* @param data represents the msg.data to bet sent in the low level call. This parameter may include the function
* signature of the implementation to be called with the needed payload
*/
function upgradeToAndCall(address implementation, bytes memory data) payable public onlyProxyOwner {
upgradeTo(implementation);
(bool success, ) = address(this).call{value: msg.value}(data);
require(success);
}
}// SPDX-License-Identifier: UNLICENSED
// This code is taken from https://github.com/OpenZeppelin/openzeppelin-labs
// with minor modifications.
pragma solidity ^0.7.0;
import "./Proxy.sol";
/**
* @title UpgradeabilityProxy
* @dev This contract represents a proxy where the implementation address to which it will delegate can be upgraded
*/
contract UpgradeabilityProxy is Proxy {
/**
* @dev This event will be emitted every time the implementation gets upgraded
* @param implementation representing the address of the upgraded implementation
*/
event Upgraded(address indexed implementation);
// Storage position of the address of the current implementation
bytes32 private constant implementationPosition = keccak256("org.zeppelinos.proxy.implementation");
/**
* @dev Constructor function
*/
constructor() {}
/**
* @dev Tells the address of the current implementation
* @return impl address of the current implementation
*/
function implementation() public view override returns (address impl) {
bytes32 position = implementationPosition;
assembly {
impl := sload(position)
}
}
/**
* @dev Sets the address of the current implementation
* @param newImplementation address representing the new implementation to be set
*/
function setImplementation(address newImplementation) internal {
bytes32 position = implementationPosition;
assembly {
sstore(position, newImplementation)
}
}
/**
* @dev Upgrades the implementation address
* @param newImplementation representing the address of the new implementation to be set
*/
function _upgradeTo(address newImplementation) internal {
address currentImplementation = implementation();
require(currentImplementation != newImplementation);
setImplementation(newImplementation);
emit Upgraded(newImplementation);
}
}// SPDX-License-Identifier: UNLICENSED
// This code is taken from https://github.com/OpenZeppelin/openzeppelin-labs
pragma solidity ^0.7.0;
/**
* @title Proxy
* @dev Gives the possibility to delegate any call to a foreign implementation.
*/
abstract contract Proxy {
/**
* @dev Tells the address of the implementation where every call will be delegated.
* @return address of the implementation to which it will be delegated
*/
function implementation() public view virtual returns (address);
/**
* @dev Fallback function allowing to perform a delegatecall to the given implementation.
* This function will return whatever the implementation call returns
*/
fallback() payable external {
address _impl = implementation();
require(_impl != address(0));
assembly {
let ptr := mload(0x40)
calldatacopy(ptr, 0, calldatasize())
let result := delegatecall(gas(), _impl, ptr, calldatasize(), 0, 0)
let size := returndatasize()
returndatacopy(ptr, 0, size)
switch result
case 0 { revert(ptr, size) }
default { return(ptr, size) }
}
}
receive() payable external {}
}{
"optimizer": {
"enabled": true,
"runs": 100000
},
"outputSelection": {
"*": {
"*": [
"evm.bytecode",
"evm.deployedBytecode",
"abi"
]
}
},
"libraries": {}
}Contract Security Audit
- No Contract Security Audit Submitted- Submit Audit Here
Contract ABI
API[{"inputs":[],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":false,"internalType":"address","name":"newOwner","type":"address"}],"name":"ProxyOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"impl","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"proxyOwner","outputs":[{"internalType":"address","name":"owner","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferProxyOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"implementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]Contract Creation Code
0x608060405234801561001057600080fd5b5061001a3361001f565b610043565b7f337c729c04082e3bdd94ba7d2b5a8a642f3a138702366a91707825373a2029ba55565b6105de806100526000396000f3fe60806040526004361061005e5760003560e01c80634f1ef286116100435780634f1ef286146101365780635c60da1b146101f9578063f1739cae1461020e57610065565b8063025313a2146100b65780633659cfe6146100f457610065565b3661006557005b600061006f61024e565b905073ffffffffffffffffffffffffffffffffffffffff811661009157600080fd5b60405136600082376000803683855af43d806000843e8180156100b2578184f35b8184fd5b3480156100c257600080fd5b506100cb610273565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010057600080fd5b506101346004803603602081101561011757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610298565b005b6101346004803603604081101561014c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561018457600080fd5b82018360208201111561019657600080fd5b803590602001918460018302840111640100000000831117156101b857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102e3945050505050565b34801561020557600080fd5b506100cb61024e565b34801561021a57600080fd5b506101346004803603602081101561023157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661040d565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b7f337c729c04082e3bdd94ba7d2b5a8a642f3a138702366a91707825373a2029ba5490565b6102a0610273565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102d757600080fd5b6102e0816104cd565b50565b6102eb610273565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461032257600080fd5b61032b82610298565b60003073ffffffffffffffffffffffffffffffffffffffff1634836040518082805190602001908083835b6020831061039357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610356565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146103f5576040519150601f19603f3d011682016040523d82523d6000602084013e6103fa565b606091505b505090508061040857600080fd5b505050565b610415610273565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461044c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff811661046c57600080fd5b7f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd9610495610273565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a16102e081610560565b60006104d761024e565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561051257600080fd5b61051b82610584565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b7f337c729c04082e3bdd94ba7d2b5a8a642f3a138702366a91707825373a2029ba55565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35556fea264697066735822122039e9d65beeba470f88fa908475718339c8b90eb1e207a088f0697a939e4ffe0864736f6c63430007060033
Deployed Bytecode
0x60806040526004361061005e5760003560e01c80634f1ef286116100435780634f1ef286146101365780635c60da1b146101f9578063f1739cae1461020e57610065565b8063025313a2146100b65780633659cfe6146100f457610065565b3661006557005b600061006f61024e565b905073ffffffffffffffffffffffffffffffffffffffff811661009157600080fd5b60405136600082376000803683855af43d806000843e8180156100b2578184f35b8184fd5b3480156100c257600080fd5b506100cb610273565b6040805173ffffffffffffffffffffffffffffffffffffffff9092168252519081900360200190f35b34801561010057600080fd5b506101346004803603602081101561011757600080fd5b503573ffffffffffffffffffffffffffffffffffffffff16610298565b005b6101346004803603604081101561014c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff823516919081019060408101602082013564010000000081111561018457600080fd5b82018360208201111561019657600080fd5b803590602001918460018302840111640100000000831117156101b857600080fd5b91908080601f0160208091040260200160405190810160405280939291908181526020018383808284376000920191909152509295506102e3945050505050565b34801561020557600080fd5b506100cb61024e565b34801561021a57600080fd5b506101346004803603602081101561023157600080fd5b503573ffffffffffffffffffffffffffffffffffffffff1661040d565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35490565b7f337c729c04082e3bdd94ba7d2b5a8a642f3a138702366a91707825373a2029ba5490565b6102a0610273565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff16146102d757600080fd5b6102e0816104cd565b50565b6102eb610273565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461032257600080fd5b61032b82610298565b60003073ffffffffffffffffffffffffffffffffffffffff1634836040518082805190602001908083835b6020831061039357805182527fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe09092019160209182019101610356565b6001836020036101000a03801982511681845116808217855250505050505090500191505060006040518083038185875af1925050503d80600081146103f5576040519150601f19603f3d011682016040523d82523d6000602084013e6103fa565b606091505b505090508061040857600080fd5b505050565b610415610273565b73ffffffffffffffffffffffffffffffffffffffff163373ffffffffffffffffffffffffffffffffffffffff161461044c57600080fd5b73ffffffffffffffffffffffffffffffffffffffff811661046c57600080fd5b7f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd9610495610273565b6040805173ffffffffffffffffffffffffffffffffffffffff928316815291841660208301528051918290030190a16102e081610560565b60006104d761024e565b90508173ffffffffffffffffffffffffffffffffffffffff168173ffffffffffffffffffffffffffffffffffffffff16141561051257600080fd5b61051b82610584565b60405173ffffffffffffffffffffffffffffffffffffffff8316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b7f337c729c04082e3bdd94ba7d2b5a8a642f3a138702366a91707825373a2029ba55565b7f7050c9e0f4ca769c69bd3a8ef740bc37934f8e2c036e5a723fd8ee048ed3f8c35556fea264697066735822122039e9d65beeba470f88fa908475718339c8b90eb1e207a088f0697a939e4ffe0864736f6c63430007060033
Loading...
Loading
Loading...
Loading
Multichain Portfolio | 34 Chains
| Chain | Token | Portfolio % | Price | Amount | Value |
|---|
Loading...
Loading
Loading...
Loading
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.