ETH Price: $1,991.75 (-1.37%)

Contract

0xC800982d906671637E23E031e907d2e3487291Bc
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

TokenTracker

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Approve188587752023-12-24 23:03:59825 days ago1703459039IN
0xC800982d...3487291Bc
0 ETH0.0004969617
Withdraw147824352022-05-15 21:48:411413 days ago1652651321IN
0xC800982d...3487291Bc
0 ETH0.00210214
Withdraw144362312022-03-22 12:52:451468 days ago1647953565IN
0xC800982d...3487291Bc
0 ETH0.0040531924.74131919
Withdraw140066972022-01-14 23:56:291534 days ago1642204589IN
0xC800982d...3487291Bc
0 ETH0.02195133.97873325
Withdraw139206282022-01-01 16:31:401547 days ago1641054700IN
0xC800982d...3487291Bc
0 ETH0.0106484965
Withdraw138710612021-12-25 0:17:371555 days ago1640391457IN
0xC800982d...3487291Bc
0 ETH0.0098118859.88994656
Withdraw137629802021-12-08 5:21:251572 days ago1638940885IN
0xC800982d...3487291Bc
0 ETH0.009452557.696319
Withdraw137324962021-12-03 8:19:591577 days ago1638519599IN
0xC800982d...3487291Bc
0 ETH0.01880926105.96050146
Withdraw135519782021-11-04 19:08:531605 days ago1636052933IN
0xC800982d...3487291Bc
0 ETH0.0252501154.12191108
Withdraw135297562021-11-01 6:57:351609 days ago1635749855IN
0xC800982d...3487291Bc
0 ETH0.01781941108.76637718
Withdraw135296152021-11-01 6:24:111609 days ago1635747851IN
0xC800982d...3487291Bc
0 ETH0.0160784398.14519185
Withdraw134733902021-10-23 11:08:331618 days ago1634987313IN
0xC800982d...3487291Bc
0 ETH0.0076102346.45145481
Withdraw134679522021-10-22 14:30:381619 days ago1634913038IN
0xC800982d...3487291Bc
0 ETH0.0147476790.01703653
Withdraw134668932021-10-22 10:29:161619 days ago1634898556IN
0xC800982d...3487291Bc
0 ETH0.0113733264.07073217
Withdraw134214832021-10-15 8:04:001626 days ago1634285040IN
0xC800982d...3487291Bc
0 ETH0.01783846101.76543652
Withdraw134046382021-10-12 16:09:391628 days ago1634054979IN
0xC800982d...3487291Bc
0 ETH0.0065284670.11415238
Approve131574392021-09-04 5:51:111667 days ago1630734671IN
0xC800982d...3487291Bc
0 ETH0.0039399976.89151831
Deposit131574222021-09-04 5:48:531667 days ago1630734533IN
0xC800982d...3487291Bc
0 ETH0.0084939186.04216453
Approve130927342021-08-25 5:48:281677 days ago1629870508IN
0xC800982d...3487291Bc
0 ETH0.0024952448.69624488
Deposit130927002021-08-25 5:41:011677 days ago1629870061IN
0xC800982d...3487291Bc
0 ETH0.0072465273.41522225
Withdraw128767402021-07-22 14:25:461711 days ago1626963946IN
0xC800982d...3487291Bc
0 ETH0.0021684614
Approve128665232021-07-21 0:14:431712 days ago1626826483IN
0xC800982d...3487291Bc
0 ETH0.0010248220
Deposit128665122021-07-21 0:12:121712 days ago1626826332IN
0xC800982d...3487291Bc
0 ETH0.0021123620
Withdraw128200682021-07-13 17:14:021719 days ago1626196442IN
0xC800982d...3487291Bc
0 ETH0.0061818837
Withdraw127699192021-07-05 21:29:101727 days ago1625520550IN
0xC800982d...3487291Bc
0 ETH0.0016707810
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
Approve188587752023-12-24 23:03:59825 days ago1703459039
0xC800982d...3487291Bc
0 ETH
Balance Of157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Invested Underly...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Get Price Per Fu...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Get Price Per Fu...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Strategy157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Strategy157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Do Hard Work157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Invested Underly...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Balance Of157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Invested Underly...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Is Controller157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Do Hard Work157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Do Hard Work157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Balance Of157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Invested Underly...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Get Price Per Fu...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Get Price Per Fu...157457992022-10-14 10:38:351262 days ago1665743915
0xC800982d...3487291Bc
0 ETH
Balance Of150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
Invested Underly...150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
Get Price Per Fu...150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
Get Price Per Fu...150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
Strategy150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
Strategy150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
Do Hard Work150350602022-06-27 15:30:101370 days ago1656343810
0xC800982d...3487291Bc
0 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading

Similar Match Source Code
This contract matches the deployed Bytecode of the Source Code for Contract 0x5833E0b0...8802a42E8
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:
No with 200 runs

Other Settings:
default evmVersion

Contract Source Code (Solidity Standard Json-Input format)

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

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

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

pragma solidity 0.5.16;

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

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)
    }
  }
}

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());
  }
}

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": false,
    "runs": 200
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract Security Audit

Contract ABI

API
[{"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"}]

0x608060405234801561001057600080fd5b506040516106943803806106948339818101604052602081101561003357600080fd5b81019080805190602001909291905050506100538161005960201b60201c565b50610103565b61006c816100f060201b6104a31760201c565b6100c1576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b815260200180610659603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b600080823b905060008111915050919050565b610547806101126000396000f3fe6080604052600436106100295760003560e01c80635c60da1b14610033578063d55ec6971461008a575b6100316100a1565b005b34801561003f57600080fd5b506100486100bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561009657600080fd5b5061009f6100ca565b005b6100a961036e565b6100b96100b4610370565b6103a1565b565b60006100c5610370565b905090565b6000803073ffffffffffffffffffffffffffffffffffffffff16639d16acfd6040518163ffffffff1660e01b8152600401604080518083038186803b15801561011257600080fd5b505afa158015610126573d6000803e3d6000fd5b505050506040513d604081101561013c57600080fd5b81019080805190602001909291908051906020019092919050505091509150816101ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f55706772616465206e6f74207363686564756c6564000000000000000000000081525060200191505060405180910390fd5b6101d7816103c7565b600060603073ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f9a508c8e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106102a85780518252602082019150602081019050602083039250610285565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610308576040519150601f19603f3d011682016040523d82523d6000602084013e61030d565b606091505b509150915081610368576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806104b76021913960400191505060405180910390fd5b50505050565b565b6000807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050805491505090565b3660008037600080366000845af43d6000803e80600081146103c2573d6000f35b3d6000fd5b6103d081610416565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b61041f816104a3565b610474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001806104d8603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b600080823b90506000811191505091905056fe4973737565207768656e2066696e616c697a696e6720746865207570677261646543616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a265627a7a72315820c179b5731987056f908481ec0f08d35976632cb460636b51b5d318ec30ceb8f464736f6c6343000510003243616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000000000000000009b3be0cc5dd26fd0254088d03d8206792715588b

Deployed Bytecode

0x6080604052600436106100295760003560e01c80635c60da1b14610033578063d55ec6971461008a575b6100316100a1565b005b34801561003f57600080fd5b506100486100bb565b604051808273ffffffffffffffffffffffffffffffffffffffff1673ffffffffffffffffffffffffffffffffffffffff16815260200191505060405180910390f35b34801561009657600080fd5b5061009f6100ca565b005b6100a961036e565b6100b96100b4610370565b6103a1565b565b60006100c5610370565b905090565b6000803073ffffffffffffffffffffffffffffffffffffffff16639d16acfd6040518163ffffffff1660e01b8152600401604080518083038186803b15801561011257600080fd5b505afa158015610126573d6000803e3d6000fd5b505050506040513d604081101561013c57600080fd5b81019080805190602001909291908051906020019092919050505091509150816101ce576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260158152602001807f55706772616465206e6f74207363686564756c6564000000000000000000000081525060200191505060405180910390fd5b6101d7816103c7565b600060603073ffffffffffffffffffffffffffffffffffffffff166040516024016040516020818303038152906040527f9a508c8e000000000000000000000000000000000000000000000000000000007bffffffffffffffffffffffffffffffffffffffffffffffffffffffff19166020820180517bffffffffffffffffffffffffffffffffffffffffffffffffffffffff83818316178352505050506040518082805190602001908083835b602083106102a85780518252602082019150602081019050602083039250610285565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d8060008114610308576040519150601f19603f3d011682016040523d82523d6000602084013e61030d565b606091505b509150915081610368576040517f08c379a00000000000000000000000000000000000000000000000000000000081526004018080602001828103825260218152602001806104b76021913960400191505060405180910390fd5b50505050565b565b6000807f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b9050805491505090565b3660008037600080366000845af43d6000803e80600081146103c2573d6000f35b3d6000fd5b6103d081610416565b8073ffffffffffffffffffffffffffffffffffffffff167fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b60405160405180910390a250565b61041f816104a3565b610474576040517f08c379a000000000000000000000000000000000000000000000000000000000815260040180806020018281038252603b8152602001806104d8603b913960400191505060405180910390fd5b60007f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc60001b90508181555050565b600080823b90506000811191505091905056fe4973737565207768656e2066696e616c697a696e6720746865207570677261646543616e6e6f742073657420612070726f787920696d706c656d656e746174696f6e20746f2061206e6f6e2d636f6e74726163742061646472657373a265627a7a72315820c179b5731987056f908481ec0f08d35976632cb460636b51b5d318ec30ceb8f464736f6c63430005100032

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
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.