ETH Price: $3,461.09 (+1.56%)
Gas: 8 Gwei

Contract

0x38B98a6704D75d701681B32800BdA8dD1C8147f6
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Withdraw196983162024-04-20 18:08:5971 days ago1713636539IN
0x38B98a67...D1C8147f6
0 ETH0.0023102312.11394258
Withdraw196376712024-04-12 6:15:2380 days ago1712902523IN
0x38B98a67...D1C8147f6
0 ETH0.0017767611.40709162
Withdraw195945272024-04-06 5:13:5986 days ago1712380439IN
0x38B98a67...D1C8147f6
0 ETH0.0017486912.30780398
Withdraw190767822024-01-24 13:25:47159 days ago1706102747IN
0x38B98a67...D1C8147f6
0 ETH0.0020362714.33188682
Withdraw190520322024-01-21 1:43:47162 days ago1705801427IN
0x38B98a67...D1C8147f6
0 ETH0.001636710.50787752
Withdraw188849482023-12-28 15:17:59186 days ago1703776679IN
0x38B98a67...D1C8147f6
0 ETH0.0083781243.93421507
Withdraw188836252023-12-28 10:50:47186 days ago1703760647IN
0x38B98a67...D1C8147f6
0 ETH0.0048287131.0049659
Withdraw188522302023-12-24 0:59:59190 days ago1703379599IN
0x38B98a67...D1C8147f6
0 ETH0.0028775218.47648337
Approve188423272023-12-22 15:38:47192 days ago1703259527IN
0x38B98a67...D1C8147f6
0 ETH0.0023938446.50499367
Withdraw188016202023-12-16 22:34:23197 days ago1702766063IN
0x38B98a67...D1C8147f6
0 ETH0.0057929539.1154022
Deposit186652722023-11-27 20:11:11216 days ago1701115871IN
0x38B98a67...D1C8147f6
0 ETH0.0037665634.38344755
Deposit186634542023-11-27 14:04:11217 days ago1701093851IN
0x38B98a67...D1C8147f6
0 ETH0.0050259645.86986301
Approve186566762023-11-26 15:15:11218 days ago1701011711IN
0x38B98a67...D1C8147f6
0 ETH0.001470128.55297867
Deposit186566732023-11-26 15:14:35218 days ago1701011675IN
0x38B98a67...D1C8147f6
0 ETH0.0038338530.26933765
Approve184105932023-10-23 4:26:47252 days ago1698035207IN
0x38B98a67...D1C8147f6
0 ETH0.000490239.52383113
Approve183085232023-10-08 21:44:47266 days ago1696801487IN
0x38B98a67...D1C8147f6
0 ETH0.000302595.87711769
Withdraw179061552023-08-13 13:12:23323 days ago1691932343IN
0x38B98a67...D1C8147f6
0 ETH0.0020730214.59057844
Withdraw178675852023-08-08 3:40:47328 days ago1691466047IN
0x38B98a67...D1C8147f6
0 ETH0.0027870917.89351924
Approve176983042023-07-15 10:48:59352 days ago1689418139IN
0x38B98a67...D1C8147f6
0 ETH0.0006743413.17404913
Approve176703762023-07-11 12:29:23356 days ago1689078563IN
0x38B98a67...D1C8147f6
0 ETH0.0008314416.23574873
Withdraw176375922023-07-06 21:51:47360 days ago1688680307IN
0x38B98a67...D1C8147f6
0 ETH0.0042032128.3811043
Withdraw176172222023-07-04 1:12:47363 days ago1688433167IN
0x38B98a67...D1C8147f6
0 ETH0.0012902812.68590764
Approve174876142023-06-15 20:21:35381 days ago1686860495IN
0x38B98a67...D1C8147f6
0 ETH0.0009761118.96287939
Deposit174858322023-06-15 14:19:35382 days ago1686838775IN
0x38B98a67...D1C8147f6
0 ETH0.0025493923.26983876
Withdraw174528412023-06-10 22:50:11386 days ago1686437411IN
0x38B98a67...D1C8147f6
0 ETH0.0014175316.75378318
View all transactions

Latest 1 internal transaction

Advanced mode:
Parent Transaction Hash Block From To Value
162970092022-12-30 10:32:23549 days ago1672396343  Contract Creation0 ETH
Loading...
Loading

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

Contract Name:
VaultProxy

Compiler Version
v0.5.16+commit.9c3226ce

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 5 : VaultProxy.sol
pragma solidity 0.5.16;

import "./interface/IUpgradeSource.sol";
import "@openzeppelin/upgrades/contracts/upgradeability/BaseUpgradeabilityProxy.sol";

contract VaultProxy is BaseUpgradeabilityProxy {

  constructor(address _implementation) public {
    _setImplementation(_implementation);
  }

  /**
  * The main logic. If the timer has elapsed and there is a schedule upgrade,
  * the governance can upgrade the vault
  */
  function upgrade() external {
    (bool should, address newImplementation) = IUpgradeSource(address(this)).shouldUpgrade();
    require(should, "Upgrade not scheduled");
    _upgradeTo(newImplementation);

    // the finalization needs to be executed on itself to update the storage of this proxy
    // it also needs to be invoked by the governance, not by address(this), so delegatecall is needed
    (bool success,) = address(this).delegatecall(
      abi.encodeWithSignature("finalizeUpgrade()")
    );

    require(success, "Issue when finalizing the upgrade");
  }

  function implementation() external view returns (address) {
    return _implementation();
  }
}

File 2 of 5 : IUpgradeSource.sol
pragma solidity 0.5.16;

interface IUpgradeSource {
  function shouldUpgrade() external view returns (bool, address);
  function finalizeUpgrade() external;
}

File 3 of 5 : BaseUpgradeabilityProxy.sol
pragma solidity ^0.5.0;

import './Proxy.sol';
import '../utils/Address.sol';

/**
 * @title BaseUpgradeabilityProxy
 * @dev This contract implements a proxy that allows to change the
 * implementation address to which it will delegate.
 * Such a change is called an implementation upgrade.
 */
contract BaseUpgradeabilityProxy is Proxy {
  /**
   * @dev Emitted when the implementation is upgraded.
   * @param implementation Address of the new implementation.
   */
  event Upgraded(address indexed implementation);

  /**
   * @dev Storage slot with the address of the current implementation.
   * This is the keccak-256 hash of "eip1967.proxy.implementation" subtracted by 1, and is
   * validated in the constructor.
   */
  bytes32 internal constant IMPLEMENTATION_SLOT = 0x360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc;

  /**
   * @dev Returns the current implementation.
   * @return Address of the current implementation
   */
  function _implementation() internal view returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    assembly {
      impl := sload(slot)
    }
  }

  /**
   * @dev Upgrades the proxy to a new implementation.
   * @param newImplementation Address of the new implementation.
   */
  function _upgradeTo(address newImplementation) internal {
    _setImplementation(newImplementation);
    emit Upgraded(newImplementation);
  }

  /**
   * @dev Sets the implementation address of the proxy.
   * @param newImplementation Address of the new implementation.
   */
  function _setImplementation(address newImplementation) internal {
    require(OpenZeppelinUpgradesAddress.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

File 4 of 5 : Proxy.sol
pragma solidity ^0.5.0;

/**
 * @title Proxy
 * @dev Implements delegation of calls to other contracts, with proper
 * forwarding of return values and bubbling of failures.
 * It defines a fallback function that delegates all calls to the address
 * returned by the abstract _implementation() internal function.
 */
contract Proxy {
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  function () payable external {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal view returns (address);

  /**
   * @dev Delegates execution to an implementation contract.
   * This is a low level function that doesn't return to its internal call site.
   * It will return to the external caller whatever the implementation returns.
   * @param implementation Address to delegate.
   */
  function _delegate(address implementation) internal {
    assembly {
      // Copy msg.data. We take full control of memory in this inline assembly
      // block because it will not return to Solidity code. We overwrite the
      // Solidity scratch pad at memory position 0.
      calldatacopy(0, 0, calldatasize)

      // Call the implementation.
      // out and outsize are 0 because we don't know the size yet.
      let result := delegatecall(gas, implementation, 0, calldatasize, 0, 0)

      // Copy the returned data.
      returndatacopy(0, 0, returndatasize)

      switch result
      // delegatecall returns 0 on error.
      case 0 { revert(0, returndatasize) }
      default { return(0, returndatasize) }
    }
  }

  /**
   * @dev Function that is run as the first thing in the fallback function.
   * Can be redefined in derived contracts to add functionality.
   * Redefinitions must call super._willFallback().
   */
  function _willFallback() internal {
  }

  /**
   * @dev fallback implementation.
   * Extracted to enable manual triggering.
   */
  function _fallback() internal {
    _willFallback();
    _delegate(_implementation());
  }
}

File 5 of 5 : Address.sol
pragma solidity ^0.5.0;

/**
 * Utility library of inline functions on addresses
 *
 * Source https://raw.githubusercontent.com/OpenZeppelin/openzeppelin-solidity/v2.1.3/contracts/utils/Address.sol
 * This contract is copied here and renamed from the original to avoid clashes in the compiled artifacts
 * when the user imports a zos-lib contract (that transitively causes this contract to be compiled and added to the
 * build/artifacts folder) as well as the vanilla Address implementation from an openzeppelin version.
 */
library OpenZeppelinUpgradesAddress {
    /**
     * Returns whether the target address is a contract
     * @dev This function will return false if invoked during the constructor of a contract,
     * as the code is not actually created until after the constructor finishes.
     * @param account address of the account to check
     * @return whether the target address is a contract
     */
    function isContract(address account) internal view returns (bool) {
        uint256 size;
        // XXX Currently there is no better way to check if there is a contract in an address
        // than to check the size of the code at that address.
        // See https://ethereum.stackexchange.com/a/14016/36603
        // for more details about how this works.
        // TODO Check this again before the Serenity release, because all addresses will be
        // contracts then.
        // solhint-disable-next-line no-inline-assembly
        assembly { size := extcodesize(account) }
        return size > 0;
    }
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_implementation","type":"address"}],"payable":false,"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"payable":true,"stateMutability":"payable","type":"fallback"},{"constant":true,"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"payable":false,"stateMutability":"view","type":"function"},{"constant":false,"inputs":[],"name":"upgrade","outputs":[],"payable":false,"stateMutability":"nonpayable","type":"function"}]

Deployed Bytecode

0x6080604052600436106100295760003560e01c80635c60da1b14610033578063d55ec69714610064575b610031610079565b005b34801561003f57600080fd5b50610048610093565b604080516001600160a01b039092168252519081900360200190f35b34801561007057600080fd5b506100316100a2565b610081610091565b61009161008c61026b565b610290565b565b600061009d61026b565b905090565b600080306001600160a01b0316639d16acfd6040518163ffffffff1660e01b8152600401604080518083038186803b1580156100dd57600080fd5b505afa1580156100f1573d6000803e3d6000fd5b505050506040513d604081101561010757600080fd5b50805160209091015190925090508161015f576040805162461bcd60e51b8152602060048201526015602482015274155c19dc985919481b9bdd081cd8da19591d5b1959605a1b604482015290519081900360640190fd5b610168816102b4565b60408051600481526024810182526020810180516001600160e01b0316634d28464760e11b17815291518151600093309392918291908083835b602083106101c15780518252601f1990920191602091820191016101a2565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610221576040519150601f19603f3d011682016040523d82523d6000602084013e610226565b606091505b50509050806102665760405162461bcd60e51b81526004018080602001828103825260218152602001806103636021913960400191505060405180910390fd5b505050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156102af573d6000f35b3d6000fd5b6102bd816102f4565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6102fd8161035c565b6103385760405162461bcd60e51b815260040180806020018281038252603b815260200180610384603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b15159056fe4973737565207768656e2066696e616c697a696e6720746865207570677261646543616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a265627a7a72315820004cf031cea7eb27ea29deb7e43a92ae9d16256d3103391f30ffb0161610d95364736f6c63430005100032

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.