ETH Price: $1,824.51 (+1.11%)

Contract

0x8752879Fb284c95f843D739c8e3b13a5c813A1EE
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Place Prediction110663962020-10-16 10:34:311627 days ago1602844471IN
0x8752879F...5c813A1EE
0.1 ETH0.0196433184
Place Prediction110663932020-10-16 10:33:471627 days ago1602844427IN
0x8752879F...5c813A1EE
0.1 ETH0.0249108784
Place Prediction110663362020-10-16 10:19:331627 days ago1602843573IN
0x8752879F...5c813A1EE
0 ETH0.0182563755.00000156

Latest 4 internal transactions

Advanced mode:
Parent Transaction Hash Method Block
From
To
-110673262020-10-16 13:54:121627 days ago1602856452
0x8752879F...5c813A1EE
0.1998 ETH
-110671182020-10-16 13:02:481627 days ago1602853368
0x8752879F...5c813A1EE
0.0002 ETH
-110670882020-10-16 12:56:441627 days ago1602853004
0x8752879F...5c813A1EE
0.0002 ETH
-110663242020-10-16 10:17:381627 days ago1602843458  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
OwnedUpgradeabilityProxy

Compiler Version
v0.5.7+commit.6da8b019

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Multiple files format)

File 1 of 3: OwnedUpgradeabilityProxy.sol
pragma solidity 0.5.7;

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 PROXY_OWNER_POSITION = keccak256("org.govblocks.proxy.owner");

    /**
    * @dev the constructor sets the original owner of the contract to the sender account.
    */
    constructor(address _implementation) public {
        _setUpgradeabilityOwner(msg.sender);
        _upgradeTo(_implementation);
    }

    /**
    * @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 the address of the owner
    */
    function proxyOwner() public view returns (address owner) {
        bytes32 position = PROXY_OWNER_POSITION;
        assembly {
            owner := sload(position)
        }
    }

    /**
    * @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));
        _setUpgradeabilityOwner(_newOwner);
        emit ProxyOwnershipTransferred(proxyOwner(), _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 Sets the address of the owner
    */
    function _setUpgradeabilityOwner(address _newProxyOwner) internal {
        bytes32 position = PROXY_OWNER_POSITION;
        assembly {
            sstore(position, _newProxyOwner)
        }
    }
}

File 2 of 3: Proxy.sol
pragma solidity 0.5.7;


/**
 * @title Proxy
 * @dev Gives the possibility to delegate any call to a foreign implementation.
 */
contract Proxy {
    /**
    * @dev Fallback function allowing to perform a delegatecall to the given implementation.
    * This function will return whatever the implementation call returns
    */
    function () external payable {
        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) }
            }
    }

    /**
    * @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 returns (address);
}

File 3 of 3: UpgradeabilityProxy.sol
pragma solidity 0.5.7;

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 IMPLEMENTATION_POSITION = keccak256("org.govblocks.proxy.implementation");

    /**
    * @dev Constructor function
    */
    constructor() public {}

    /**
    * @dev Tells the address of the current implementation
    * @return address of the current implementation
    */
    function implementation() public view returns (address impl) {
        bytes32 position = IMPLEMENTATION_POSITION;
        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 = IMPLEMENTATION_POSITION;
        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);
    }
}

Contract Security Audit

Contract ABI

API
[{"constant":true,"inputs":[],"name":"proxyOwner","outputs":[{"name":"owner","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_implementation","type":"address"}],"name":"upgradeTo","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"name":"impl","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[{"name":"_newOwner","type":"address"}],"name":"transferProxyOwnership","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"},{"inputs":[{"name":"_implementation","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"anonymous":false,"inputs":[{"indexed":false,"name":"previousOwner","type":"address"},{"indexed":false,"name":"newOwner","type":"address"}],"name":"ProxyOwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"name":"implementation","type":"address"}],"name":"Upgraded","type":"event"}]

Deployed Bytecode

0x60806040526004361061003f5760003560e01c8063025313a2146100835780633659cfe6146100b45780635c60da1b146100e9578063f1739cae146100fe575b6000610049610131565b90506001600160a01b03811661005e57600080fd5b60405136600082376000803683855af43d806000843e81801561007f578184f35b8184fd5b34801561008f57600080fd5b50610098610154565b604080516001600160a01b039092168252519081900360200190f35b3480156100c057600080fd5b506100e7600480360360208110156100d757600080fd5b50356001600160a01b031661018a565b005b3480156100f557600080fd5b50610098610131565b34801561010a57600080fd5b506100e76004803603602081101561012157600080fd5b50356001600160a01b03166101bb565b600080604051808061030e60229139604051908190036022019020549392505050565b604080517f6f72672e676f76626c6f636b732e70726f78792e6f776e657200000000000000815290519081900360190190205490565b610192610154565b6001600160a01b0316336001600160a01b0316146101af57600080fd5b6101b88161024a565b50565b6101c3610154565b6001600160a01b0316336001600160a01b0316146101e057600080fd5b6001600160a01b0381166101f357600080fd5b6101fc816102b6565b7f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd9610225610154565b604080516001600160a01b03928316815291841660208301528051918290030190a150565b6000610254610131565b9050816001600160a01b0316816001600160a01b0316141561027557600080fd5b61027e826102eb565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b604080517f6f72672e676f76626c6f636b732e70726f78792e6f776e6572000000000000008152905190819003601901902055565b6000604051808061030e6022913960405190819003602201902092909255505056fe6f72672e676f76626c6f636b732e70726f78792e696d706c656d656e746174696f6ea165627a7a723058206870606a08d39cd582e65c880d54753c2c1a89f81be1bb59b117f3baa53626680029

Deployed Bytecode Sourcemap

209:2154:0:-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;370:13:1;386:16;:14;:16::i;:::-;370:32;-1:-1:-1;;;;;;420:19:1;;412:28;;;;;;491:4;485:11;530:12;527:1;522:3;509:34;617:1;614;600:12;595:3;588:5;583:3;570:49;644:14;694:4;691:1;686:3;671:28;720:6;739:28;;;;802:4;797:3;790:17;739:28;760:4;755:3;748:17;1221:180:0;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1221:180:0;;;:::i;:::-;;;;-1:-1:-1;;;;;1221:180:0;;;;;;;;;;;;;;1992:110;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1992:110:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1992:110:0;-1:-1:-1;;;;;1992:110:0;;:::i;:::-;;856:185:2;;8:9:-1;5:2;;;30:1;27;20:12;5:2;856:185:2;;;:::i;1570:231:0:-;;8:9:-1;5:2;;;30:1;27;20:12;5:2;1570:231:0;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;1570:231:0;-1:-1:-1;;;;;1570:231:0;;:::i;856:185:2:-;903:12;927:16;600:47;;;;;;;;;;;;;;;;;;1010:15;;988:47;-1:-1:-1;;;988:47:2:o;1221:180:0:-;661:38;;;;;;;;;;;;;;;;1370:15;;1347:48::o;1992:110::-;1088:12;:10;:12::i;:::-;-1:-1:-1;;;;;1074:26:0;:10;-1:-1:-1;;;;;1074:26:0;;1066:35;;;;;;2068:27;2079:15;2068:10;:27::i;:::-;1992:110;:::o;1570:231::-;1088:12;:10;:12::i;:::-;-1:-1:-1;;;;;1074:26:0;:10;-1:-1:-1;;;;;1074:26:0;;1066:35;;;;;;-1:-1:-1;;;;;1661:23:0;;1653:32;;;;;;1695:34;1719:9;1695:23;:34::i;:::-;1744:50;1770:12;:10;:12::i;:::-;1744:50;;;-1:-1:-1;;;;;1744:50:0;;;;;;;;;;;;;;;;;;;;;1570:231;:::o;1565:275:2:-;1632:29;1664:16;:14;:16::i;:::-;1632:48;;1723:18;-1:-1:-1;;;;;1698:43:2;:21;-1:-1:-1;;;;;1698:43:2;;;1690:52;;;;;;1752:38;1771:18;1752;:38::i;:::-;1805:28;;-1:-1:-1;;;;;1805:28:2;;;;;;;;1565:275;;:::o;2165:196:0:-;661:38;;;;;;;;;;;;;;;;2313:32;2299:56::o;1206:198:2:-;1281:16;600:47;;;;;;;;;;;;;;;;;;1352:36;;;;-1:-1:-1;;1342:56:2:o

Swarm Source

bzzr://6870606a08d39cd582e65c880d54753c2c1a89f81be1bb59b117f3baa5362668

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  ]
[ 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.