ETH Price: $3,105.82 (+1.15%)
Gas: 7 Gwei

Contract

0x71B9eC42bB3CB40F017D8AD8011BE8e384a95fa5
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Value
Approve202359452024-07-04 21:52:115 days ago1720129931IN
0x71B9eC42...384a95fa5
0 ETH0.000129344.41895751
Approve201745652024-06-26 8:07:3514 days ago1719389255IN
0x71B9eC42...384a95fa5
0 ETH0.000080662.75600077
Approve196890542024-04-19 11:01:3582 days ago1713524495IN
0x71B9eC42...384a95fa5
0 ETH0.000272849.3215457
Approve186035942023-11-19 4:52:23234 days ago1700369543IN
0x71B9eC42...384a95fa5
0 ETH0.0008550316.70032006
Approve182598132023-10-02 2:18:35282 days ago1696213115IN
0x71B9eC42...384a95fa5
0 ETH0.000340986.66
Withdraw165556492023-02-04 13:14:47521 days ago1675516487IN
0x71B9eC42...384a95fa5
0 ETH0.0142229825.20492683
Approve164573722023-01-21 19:49:11535 days ago1674330551IN
0x71B9eC42...384a95fa5
0 ETH0.0004488815.37126574
Withdraw163940282023-01-12 23:34:23544 days ago1673566463IN
0x71B9eC42...384a95fa5
0 ETH0.0165785229.37922685
Withdraw159942672022-11-18 3:39:35600 days ago1668742775IN
0x71B9eC42...384a95fa5
0 ETH0.0067625911.98395501
Withdraw158627822022-10-30 18:50:47618 days ago1667155847IN
0x71B9eC42...384a95fa5
0 ETH0.004134947.11200562
Approve155667422022-09-19 9:42:35660 days ago1663580555IN
0x71B9eC42...384a95fa5
0 ETH0.000126924.34625645
Approve154493582022-08-31 22:59:23678 days ago1661986763IN
0x71B9eC42...384a95fa5
0 ETH0.0005111317.50277424
Withdraw153643042022-08-18 9:48:24692 days ago1660816104IN
0x71B9eC42...384a95fa5
0 ETH0.002596034.60041465
Withdraw153100362022-08-09 20:08:08700 days ago1660075688IN
0x71B9eC42...384a95fa5
0 ETH0.0076211813.8107423
Withdraw150803762022-07-05 4:31:36736 days ago1656995496IN
0x71B9eC42...384a95fa5
0 ETH0.005272599.55474323
Withdraw150070062022-06-22 9:42:35749 days ago1655890955IN
0x71B9eC42...384a95fa5
0 ETH0.0152213927.58348231
Withdraw147226342022-05-06 9:02:49796 days ago1651827769IN
0x71B9eC42...384a95fa5
0 ETH0.0158789927.90968252
Withdraw146961322022-05-02 4:14:19800 days ago1651464859IN
0x71B9eC42...384a95fa5
0 ETH0.0301246754.59049136
Withdraw145517242022-04-09 13:16:05822 days ago1649510165IN
0x71B9eC42...384a95fa5
0 ETH0.011036620
Withdraw143711402022-03-12 9:28:41851 days ago1647077321IN
0x71B9eC42...384a95fa5
0 ETH0.0087800815.77858449
Withdraw142485362022-02-21 9:14:05870 days ago1645434845IN
0x71B9eC42...384a95fa5
0 ETH0.0159033229.48576329
Withdraw138791772021-12-26 6:25:32927 days ago1640499932IN
0x71B9eC42...384a95fa5
0 ETH0.0047005244.36929861
Withdraw138544092021-12-22 10:19:06931 days ago1640168346IN
0x71B9eC42...384a95fa5
0 ETH0.0043564241.1165911
Withdraw138536552021-12-22 7:35:13931 days ago1640158513IN
0x71B9eC42...384a95fa5
0 ETH0.0044736842.22809762
Withdraw138508812021-12-21 21:05:28931 days ago1640120728IN
0x71B9eC42...384a95fa5
0 ETH0.0541187197.25604732
View all transactions

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 0x0FE4283e...D3c9C38F3
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 150 runs

Other Settings:
default evmVersion, None license
/**
 *Submitted for verification at Etherscan.io on 2020-10-29
*/

/**
 *Submitted for verification at Etherscan.io on 2020-10-05
*/

// File: contracts/hardworkInterface/IUpgradeSource.sol

pragma solidity 0.5.16;

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

// File: @openzeppelin/upgrades/contracts/upgradeability/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: @openzeppelin/upgrades/contracts/utils/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;
    }
}

// File: @openzeppelin/upgrades/contracts/upgradeability/BaseUpgradeabilityProxy.sol

pragma solidity ^0.5.0;



/**
 * @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: contracts/VaultProxy.sol

pragma solidity 0.5.16;



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, bytes memory result) = address(this).delegatecall(
      abi.encodeWithSignature("finalizeUpgrade()")
    );

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

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

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

0x6080604052600436106100295760003560e01c80635c60da1b14610033578063d55ec69714610064575b610031610079565b005b34801561003f57600080fd5b50610048610093565b604080516001600160a01b039092168252519081900360200190f35b34801561007057600080fd5b506100316100a2565b610081610091565b61009161008c610271565b610296565b565b600061009d610271565b905090565b600080306001600160a01b0316639d16acfd6040518163ffffffff1660e01b8152600401604080518083038186803b1580156100dd57600080fd5b505afa1580156100f1573d6000803e3d6000fd5b505050506040513d604081101561010757600080fd5b50805160209091015190925090508161015f576040805162461bcd60e51b8152602060048201526015602482015274155c19dc985919481b9bdd081cd8da19591d5b1959605a1b604482015290519081900360640190fd5b610168816102ba565b60408051600481526024810182526020810180516001600160e01b0316634d28464760e11b1781529151815160009360609330939092909182918083835b602083106101c55780518252601f1990920191602091820191016101a6565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610225576040519150601f19603f3d011682016040523d82523d6000602084013e61022a565b606091505b50915091508161026b5760405162461bcd60e51b81526004018080602001828103825260218152602001806103696021913960400191505060405180910390fd5b50505050565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b3660008037600080366000845af43d6000803e8080156102b5573d6000f35b3d6000fd5b6102c3816102fa565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b61030381610362565b61033e5760405162461bcd60e51b815260040180806020018281038252603b81526020018061038a603b913960400191505060405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3b15159056fe4973737565207768656e2066696e616c697a696e6720746865207570677261646543616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a265627a7a7231582076041b448123a6e4f6575aa426fa500505e6438c4abdd759c10f04016f14d4ae64736f6c63430005100032

Deployed Bytecode Sourcemap

6120:992:0:-;;;;;;;;;;;;;;;;;;;;;;;835:11;:9;:11::i;:::-;6120:992;7014:95;;8:9:-1;5:2;;;30:1;27;20:12;5:2;7014:95:0;;;:::i;:::-;;;;-1:-1:-1;;;;;7014:95:0;;;;;;;;;;;;;;6406:602;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6406:602:0;;;:::i;2381:93::-;2418:15;:13;:15::i;:::-;2440:28;2450:17;:15;:17::i;:::-;2440:9;:28::i;:::-;2381:93::o;7014:95::-;7063:7;7086:17;:15;:17::i;:::-;7079:24;;7014:95;:::o;6406:602::-;6442:11;6455:25;6507:4;-1:-1:-1;;;;;6484:43:0;;:45;;;;;;;;;;;;;;;;;;;;;;8:9:-1;5:2;;;30:1;27;20:12;5:2;6484:45:0;;;;8:9:-1;5:2;;;45:16;42:1;39;24:38;77:16;74:1;67:27;5:2;6484:45:0;;;;;;;13:2:-1;8:3;5:11;2:2;;;29:1;26;19:12;2:2;-1:-1;6484:45:0;;;;;;;;;-1:-1:-1;6484:45:0;-1:-1:-1;6484:45:0;6536:40;;;;;-1:-1:-1;;;6536:40:0;;;;;;;;;;;;-1:-1:-1;;;6536:40:0;;;;;;;;;;;;;;;6583:29;6594:17;6583:10;:29::i;:::-;6889:44;;;22:32:-1;6:49;;6889:44:0;;;;;49:4:-1;25:18;;61:17;;-1:-1;;;;;182:15;-1:-1;;;179:29;160:49;;6854:86:0;;;;6817:12;;6831:19;;6862:4;;6889:44;;6854:86;;;;;;25:18:-1;36:153;66:2;61:3;58:11;36:153;;176:10;;164:23;;-1:-1;;139:12;;;;98:2;89:12;;;;114;36:153;;;274:1;267:3;263:2;259:12;254:3;250:22;246:30;315:4;311:9;305:3;299:10;295:26;356:4;350:3;344:10;340:21;389:7;380;377:20;372:3;365:33;3:399;;;6854:86:0;;;;;;;;;;;;;;;;;;;;;;;14:1:-1;21;16:31;;;;75:4;69:11;64:16;;144:4;140:9;133:4;115:16;111:27;107:43;104:1;100:51;94:4;87:65;169:16;166:1;159:27;225:16;222:1;215:4;212:1;208:12;193:49;7:242;;16:31;36:4;31:9;;7:242;;6816:124:0;;;;6957:7;6949:53;;;;-1:-1:-1;;;6949:53:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;6406:602;;;;:::o;5142:161::-;4956:66;5280:11;;5263:35::o;1274:750::-;1581:12;1578:1;1575;1562:32;1775:1;1772;1758:12;1755:1;1739:14;1734:3;1721:56;1842:14;1839:1;1836;1821:36;1874:6;1931:36;;;;1995:14;1992:1;1985:25;1931:36;1950:14;1947:1;1940:25;5444:145;5507:37;5526:17;5507:18;:37::i;:::-;5556:27;;-1:-1:-1;;;;;5556:27:0;;;;;;;;5444:145;:::o;5732:313::-;5811:57;5850:17;5811:38;:57::i;:::-;5803:129;;;;-1:-1:-1;;;5803:129:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;4956:66;6002:31;5993:47::o;3486:627::-;4058:20;4097:8;;;3486:627::o

Swarm Source

bzzr://76041b448123a6e4f6575aa426fa500505e6438c4abdd759c10f04016f14d4ae

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  ]

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.