ETH Price: $3,830.62 (+2.28%)
Gas: 5 Gwei

Contract

0xcafea573fBd815B5f59e8049E71E554bde3477E4
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Set Products199399652024-05-24 13:13:232 days ago1716556403IN
Nexus Mutual: Staking Products
0 ETH0.000764926.87773419
Set Products199313752024-05-23 8:25:113 days ago1716452711IN
Nexus Mutual: Staking Products
0 ETH0.0025867210.50643967
Set Products198403582024-05-10 14:53:2316 days ago1715352803IN
Nexus Mutual: Staking Products
0 ETH0.0036059211.82228042
Set Products198362662024-05-10 1:08:5916 days ago1715303339IN
Nexus Mutual: Staking Products
0 ETH0.001922853.65355828
Set Products198190172024-05-07 15:14:5919 days ago1715094899IN
Nexus Mutual: Staking Products
0 ETH0.0021597419.41898474
Set Products198188062024-05-07 14:32:1119 days ago1715092331IN
Nexus Mutual: Staking Products
0 ETH0.001031179.27084764
Set Products198186762024-05-07 14:05:5919 days ago1715090759IN
Nexus Mutual: Staking Products
0 ETH0.001479739.70513431
Set Products198059952024-05-05 19:31:3521 days ago1714937495IN
Nexus Mutual: Staking Products
0 ETH0.001070035.5232533
Set Products197904092024-05-03 15:13:5923 days ago1714749239IN
Nexus Mutual: Staking Products
0 ETH0.0013607512.14415462
Set Products197903862024-05-03 15:09:2323 days ago1714748963IN
Nexus Mutual: Staking Products
0 ETH0.005482511.86452261
Set Products197771952024-05-01 18:52:4725 days ago1714589567IN
Nexus Mutual: Staking Products
0 ETH0.0162046816.88519648
Set Products197384882024-04-26 8:57:2330 days ago1714121843IN
Nexus Mutual: Staking Products
0 ETH0.001824367.40881677
Set Products197239522024-04-24 8:09:2332 days ago1713946163IN
Nexus Mutual: Staking Products
0 ETH0.0011644910.71115637
Set Products197238882024-04-24 7:56:2332 days ago1713945383IN
Nexus Mutual: Staking Products
0 ETH0.00231410.12316443
Set Products197238542024-04-24 7:49:2332 days ago1713944963IN
Nexus Mutual: Staking Products
0 ETH0.003506188.57863218
Set Products197069502024-04-21 23:05:3535 days ago1713740735IN
Nexus Mutual: Staking Products
0 ETH0.00061165.58313013
Set Products197067642024-04-21 22:28:1135 days ago1713738491IN
Nexus Mutual: Staking Products
0 ETH0.001750576.00102544
Set Products196868662024-04-19 3:39:2337 days ago1713497963IN
Nexus Mutual: Staking Products
0 ETH0.001811199.12823806
Set Products196763262024-04-17 16:15:5939 days ago1713370559IN
Nexus Mutual: Staking Products
0 ETH0.0163883136.6367497
Set Products196618012024-04-15 15:27:5941 days ago1713194879IN
Nexus Mutual: Staking Products
0 ETH0.0102029923.97974484
Set Products196345042024-04-11 19:36:5945 days ago1712864219IN
Nexus Mutual: Staking Products
0 ETH0.0032871223.0226147
Set Products195907182024-04-05 16:26:4751 days ago1712334407IN
Nexus Mutual: Staking Products
0 ETH0.0066282727.76323977
Set Products195897992024-04-05 13:20:4751 days ago1712323247IN
Nexus Mutual: Staking Products
0 ETH0.0100432228.27547964
Set Products195882892024-04-05 8:15:3551 days ago1712304935IN
Nexus Mutual: Staking Products
0 ETH0.0080640815.83801335
Set Products195867532024-04-05 3:06:1151 days ago1712286371IN
Nexus Mutual: Staking Products
0 ETH0.0014982613.78115924
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
167922442023-03-09 17:50:59444 days ago1678384259  Contract Creation0 ETH
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
OwnedUpgradeabilityProxy

Compiler Version
v0.8.18+commit.87f61d96

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 3 : OwnedUpgradeabilityProxy.sol
// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.18;

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) {
    _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 owner - the address of the owner
  */
  function proxyOwner() public view returns (address owner) {
    bytes32 position = PROXY_OWNER_POSITION;
    // solhint-disable-next-line no-inline-assembly
    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;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      sstore(position, _newProxyOwner)
    }
  }
}

File 3 of 3 : Proxy.sol
// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.18;

/**
 * @title Proxy
 * @dev Gives the possibility to delegate any call to a foreign implementation.
 */
abstract contract Proxy {

  /**
   * @dev Delegates the current call to `implementation`.
   */
  function _delegate() internal {
    address _impl = implementation();
    require(_impl != address(0));

    // solhint-disable-next-line no-inline-assembly
    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 Fallback function allowing to perform a delegatecall to the given implementation.
  * This function will return whatever the implementation call returns
  */
  fallback() external payable {
    _delegate();
  }

  /**
  * @dev Receive function allowing to perform a delegatecall to the given implementation.
  * This function will return whatever the implementation call returns
  */
  receive() external payable {
    _delegate();
  }

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

File 4 of 3 : UpgradeabilityProxy.sol
// SPDX-License-Identifier: GPL-3.0-only

pragma solidity ^0.8.18;

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
  */
  // solhint-disable-next-line no-empty-blocks
  constructor() {}

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

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"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"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b506040516104aa3803806104aa83398101604081905261002f916100ec565b610057337f2dbc9b6b8d09ee15269835797a45b6f772b81406ec218e6fd64b114f376266ba55565b61006081610066565b5061011c565b600061007e60008051602061048a8339815191525490565b9050816001600160a01b0316816001600160a01b03160361009e57600080fd5b6100b48260008051602061048a83398151915255565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b6000602082840312156100fe57600080fd5b81516001600160a01b038116811461011557600080fd5b9392505050565b61035f8061012b6000396000f3fe6080604052600436106100435760003560e01c8063025313a21461005a5780633659cfe6146100945780635c60da1b146100b4578063f1739cae146100d657610052565b36610052576100506100f6565b005b6100506100f6565b34801561006657600080fd5b506000805160206102ea833981519152545b6040516001600160a01b03909116815260200160405180910390f35b3480156100a057600080fd5b506100506100af3660046102b9565b610148565b3480156100c057600080fd5b5060008051602061030a83398151915254610078565b3480156100e257600080fd5b506100506100f13660046102b9565b610181565b600061010e60008051602061030a8339815191525490565b90506001600160a01b03811661012357600080fd5b60405136600082376000803683855af43d806000843e818015610144578184f35b8184fd5b6000805160206102ea833981519152546001600160a01b0316336001600160a01b03161461017557600080fd5b61017e81610233565b50565b6000805160206102ea833981519152546001600160a01b0316336001600160a01b0316146101ae57600080fd5b6001600160a01b0381166101c157600080fd5b6101d7816000805160206102ea83398151915255565b7f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd961020e6000805160206102ea8339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a150565b600061024b60008051602061030a8339815191525490565b9050816001600160a01b0316816001600160a01b03160361026b57600080fd5b6102818260008051602061030a83398151915255565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b6000602082840312156102cb57600080fd5b81356001600160a01b03811681146102e257600080fd5b939250505056fe2dbc9b6b8d09ee15269835797a45b6f772b81406ec218e6fd64b114f376266ba7fb5080a7084f4c60aade0a78fc13ba4ba6555b60e554360d005f0d684cea186a26469706673582212201057513f99002041344c19a488bd48c257a905888fbb455418e934b436488f0b64736f6c634300081200337fb5080a7084f4c60aade0a78fc13ba4ba6555b60e554360d005f0d684cea186000000000000000000000000ffffffffffffffffffffffffffffffffffffffff

Deployed Bytecode

0x6080604052600436106100435760003560e01c8063025313a21461005a5780633659cfe6146100945780635c60da1b146100b4578063f1739cae146100d657610052565b36610052576100506100f6565b005b6100506100f6565b34801561006657600080fd5b506000805160206102ea833981519152545b6040516001600160a01b03909116815260200160405180910390f35b3480156100a057600080fd5b506100506100af3660046102b9565b610148565b3480156100c057600080fd5b5060008051602061030a83398151915254610078565b3480156100e257600080fd5b506100506100f13660046102b9565b610181565b600061010e60008051602061030a8339815191525490565b90506001600160a01b03811661012357600080fd5b60405136600082376000803683855af43d806000843e818015610144578184f35b8184fd5b6000805160206102ea833981519152546001600160a01b0316336001600160a01b03161461017557600080fd5b61017e81610233565b50565b6000805160206102ea833981519152546001600160a01b0316336001600160a01b0316146101ae57600080fd5b6001600160a01b0381166101c157600080fd5b6101d7816000805160206102ea83398151915255565b7f5a3e66efaa1e445ebd894728a69d6959842ea1e97bd79b892797106e270efcd961020e6000805160206102ea8339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a150565b600061024b60008051602061030a8339815191525490565b9050816001600160a01b0316816001600160a01b03160361026b57600080fd5b6102818260008051602061030a83398151915255565b6040516001600160a01b038316907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a25050565b6000602082840312156102cb57600080fd5b81356001600160a01b03811681146102e257600080fd5b939250505056fe2dbc9b6b8d09ee15269835797a45b6f772b81406ec218e6fd64b114f376266ba7fb5080a7084f4c60aade0a78fc13ba4ba6555b60e554360d005f0d684cea186a26469706673582212201057513f99002041344c19a488bd48c257a905888fbb455418e934b436488f0b64736f6c63430008120033

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000ffffffffffffffffffffffffffffffffffffffff

-----Decoded View---------------
Arg [0] : _implementation (address): 0xFFfFfFffFFfffFFfFFfFFFFFffFFFffffFfFFFfF

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000ffffffffffffffffffffffffffffffffffffffff


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.