Contract 0x98d03125c62dae2328d9d3cb32b7b969e6a87787 12

Txn Hash Method
Block
From
To
Value [Txn Fee]
0x3391ae238202402d3f90204071abb4f3e58f4d32f94836c30ab07833de886c21Initiate Withdra...357661712023-09-28 11:54:0511 hrs 53 mins ago0x67b51ff9dc461e54ae8d993db509317031348d31 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.00296166945 26.529461111
0x14de5f5331e0b022873ec54f302a1eceb4000cbb0d0d05e0cb77315fe70b74d0Complete Withdra...357581992023-09-28 7:14:1416 hrs 33 mins ago0xacdbe69dc5efefad773f4b3f307687e29f4ae594 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.002504700526.5
0xe4867925a52d9b646e835dd4d227732caf44a0507563e9a56e9e2b388426a6eeComplete Withdra...355183152023-09-22 15:28:326 days 8 hrs ago0x8b8aec40de81591d69bb1d3c3444975ebc4685cf IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0025047005 26.5
0x67f5ca6b03943fc6b93c1634db93b4b98a495bce4127f78dbcb4bd5bb8d7174aInitiate Withdra...355104502023-09-22 11:00:256 days 12 hrs ago0xf97ddd1a5be5840d3d2399a3f60a6b077baa3561 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.00344532462526.765
0x20231a68f68980e7e1fde541bc1abd01333fe32e7ea26835295479f532f0e4810x69230868355098052023-09-22 10:38:476 days 13 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.00723243535
0x3a09765b74f18bcc59bf7506edb89a429b2618205e81adcb4831cfeedc435002Roll To Next Opt...355095332023-09-22 10:29:426 days 13 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.02335511535
0x9c862c8961fef3162c8c290604e992c1e6a196ec84f3ac2094c2dfa6f8d7342cCommit Next Opti...355095312023-09-22 10:29:366 days 13 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0225511335
0x4d318a58716a4f0a3c580fe43b2e8e8518a686b0f18cd2de3c3bc9664c11e039Close Round355077642023-09-22 9:30:136 days 14 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.01306581535
0x2d9e72bd2cb28f9cec7ad47f351af5ab43ad3d6a194fb820c779f340be172bceComplete Withdra...354895472023-09-21 23:05:337 days 42 mins ago0xc2c4a378e34d17beaddab9f62f10688897131c5d IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0025047005 26.5
0x38d167bfb35db901cd578eee6327f0374ed512c9874c151e79cd4e9689a00ed3Withdraw Instant...354442372023-09-20 21:26:548 days 2 hrs ago0x9e7592018bed0d1464d58218d0193f6993a05cc6 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.001868425
0xdb253e455c342073da3d5b2be3cf7357d739b04baa69b95d35ec7fee18a7245bDeposit ETH354343882023-09-20 15:55:088 days 7 hrs ago0x9e7592018bed0d1464d58218d0193f6993a05cc6 IN  Ribbon Finance: Avax Theta Vault5.98882178 AVAX0.00236825
0x1fc0109ccc4779a281381b1caf7336078e2f4a959e57bd20466fff164d758fc2Initiate Withdra...354050602023-09-19 23:22:049 days 25 mins ago0xeeff517294d2aa759274703a1b1c5ac81f9a754b IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0029577445 26.5
0x557c5989d8dc7f0d0c8645916c638f8ef352d8a6266aba268c4fc3a594f2b762Initiate Withdra...353926942023-09-19 16:17:269 days 7 hrs ago0x78f9741828a71d69392a8185e7e7eb3d1de36c02 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0029580625 26.5
0xe6b12140b7ba009959bd503944df0dc876b7805403d97531b0a2aa4bd58984baDeposit ETH353096622023-09-17 17:15:2611 days 6 hrs ago0xeb1bcbfec30297e70ce7fda0a6729a233c957117 IN  Ribbon Finance: Avax Theta Vault0.1 AVAX0.00207876626.5
0xdee044654b8813cce8922312734a0fff9fe4c1564ce440f319434d8099f5e3feInitiate Withdra...352446842023-09-16 4:11:3712 days 19 hrs ago0x55bc5e6ad29da823854822749fd2eda2775c78bd IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0030015962526.89
0x99ed77cdf5a55dc949e324414916bf4dd99f18b417cc95b73fe5a295f90adc97Complete Withdra...352427922023-09-16 3:06:5012 days 20 hrs ago0x2fcf87fc895a79a697e79756b53720b351c4f761 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0025047005 26.5
0x59396701e7b3d2912d89cc8d86efcfa50aaaef120c8d47cd63ebd36610705f59Initiate Withdra...352303102023-09-15 19:57:0713 days 3 hrs ago0x8b8aec40de81591d69bb1d3c3444975ebc4685cf IN  Ribbon Finance: Avax Theta Vault0 AVAX0.003521246608 27.35225
0x0a1f6d2c83283a68d47ddd61461867e5f10e2078ea5a319bd4b11a01d0b203e7Complete Withdra...352292112023-09-15 19:19:5413 days 4 hrs ago0x7d7b736c1350d4f4079df99ff6a46e7ab74a9c7e IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0025047005 26.5
0xd67fce0adb664ad72a38cbaee9f6fc4709eb85a6fb4306e86bb75920694cfd650x69230868352138232023-09-15 10:36:4513 days 13 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.00723159535
0x52fdff7914ac34e8b0748bf849a278939167d5b2a4a19d0f17e7f20ba9f4a279Roll To Next Opt...352136022023-09-15 10:29:1413 days 13 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.02335511535
0x6f43823fe3d068717d289d535addda63261fe0490b58d77e344f805e883060baCommit Next Opti...352133932023-09-15 10:22:1213 days 13 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.02333495535
0xbe1dffd8efbbbb1aa62115187ab2e10e5ca895e4f911522b56589b2860c02e93Close Round352118462023-09-15 9:30:1313 days 14 hrs ago0x55e4b3e3226444cd4de09778844453ba9fe9cd7c IN  Ribbon Finance: Avax Theta Vault0 AVAX0.01306581535
0x06ca1068b710cbbe391f80857034152beb845b65c166e0ae77fe0775e3bd5679Initiate Withdra...351939302023-09-14 23:14:0714 days 33 mins ago0x7d7b736c1350d4f4079df99ff6a46e7ab74a9c7e IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0029580625 26.5
0x0f84c5af142604271bad4e6ab4e501d60a12e8127282ae85f3456ba3c637b614Initiate Withdra...351871902023-09-14 19:22:3814 days 4 hrs ago0xc2c4a378e34d17beaddab9f62f10688897131c5d IN  Ribbon Finance: Avax Theta Vault0 AVAX0.002994379247 26.825346
0x20b040b654119a6d4aba458428cb9f77668f198e1e21ca233cf8953687ddabadInitiate Withdra...351662022023-09-14 7:29:4014 days 16 hrs ago0xf7b8de5f139f24f4760460475ecb61e0e1319caf IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0029577445 26.5
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x14de5f5331e0b022873ec54f302a1eceb4000cbb0d0d05e0cb77315fe70b74d0357581992023-09-28 7:14:1416 hrs 33 mins ago Ribbon Finance: Avax Theta Vault0xacdbe69dc5efefad773f4b3f307687e29f4ae5940.012720978941670463 AVAX
0x14de5f5331e0b022873ec54f302a1eceb4000cbb0d0d05e0cb77315fe70b74d0357581992023-09-28 7:14:1416 hrs 33 mins ago Wrapped AVAX Ribbon Finance: Avax Theta Vault0.012720978941670463 AVAX
0xe4867925a52d9b646e835dd4d227732caf44a0507563e9a56e9e2b388426a6ee355183152023-09-22 15:28:326 days 8 hrs ago Ribbon Finance: Avax Theta Vault0x8b8aec40de81591d69bb1d3c3444975ebc4685cf40.072357808819213435 AVAX
0xe4867925a52d9b646e835dd4d227732caf44a0507563e9a56e9e2b388426a6ee355183152023-09-22 15:28:326 days 8 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault40.072357808819213435 AVAX
0x4d318a58716a4f0a3c580fe43b2e8e8518a686b0f18cd2de3c3bc9664c11e039355077642023-09-22 9:30:136 days 14 hrs ago Ribbon Finance: Avax Theta Vault 0x939cbb6babaad2b0533c2caca8a4afec3ae064927.464088151679671747 AVAX
0x4d318a58716a4f0a3c580fe43b2e8e8518a686b0f18cd2de3c3bc9664c11e039355077642023-09-22 9:30:136 days 14 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault7.464088151679671747 AVAX
0x2d9e72bd2cb28f9cec7ad47f351af5ab43ad3d6a194fb820c779f340be172bce354895472023-09-21 23:05:337 days 42 mins ago Ribbon Finance: Avax Theta Vault0xc2c4a378e34d17beaddab9f62f10688897131c5d2.673674353652481249 AVAX
0x2d9e72bd2cb28f9cec7ad47f351af5ab43ad3d6a194fb820c779f340be172bce354895472023-09-21 23:05:337 days 42 mins ago Wrapped AVAX Ribbon Finance: Avax Theta Vault2.673674353652481249 AVAX
0x38d167bfb35db901cd578eee6327f0374ed512c9874c151e79cd4e9689a00ed3354442372023-09-20 21:26:548 days 2 hrs ago Ribbon Finance: Avax Theta Vault0x9e7592018bed0d1464d58218d0193f6993a05cc65.98882178 AVAX
0x38d167bfb35db901cd578eee6327f0374ed512c9874c151e79cd4e9689a00ed3354442372023-09-20 21:26:548 days 2 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault5.98882178 AVAX
0xdb253e455c342073da3d5b2be3cf7357d739b04baa69b95d35ec7fee18a7245b354343882023-09-20 15:55:088 days 7 hrs ago Ribbon Finance: Avax Theta Vault Wrapped AVAX5.98882178 AVAX
0xe6b12140b7ba009959bd503944df0dc876b7805403d97531b0a2aa4bd58984ba353096622023-09-17 17:15:2611 days 6 hrs ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.1 AVAX
0x99ed77cdf5a55dc949e324414916bf4dd99f18b417cc95b73fe5a295f90adc97352427922023-09-16 3:06:5012 days 20 hrs ago Ribbon Finance: Avax Theta Vault0x2fcf87fc895a79a697e79756b53720b351c4f76128.528878389478855493 AVAX
0x99ed77cdf5a55dc949e324414916bf4dd99f18b417cc95b73fe5a295f90adc97352427922023-09-16 3:06:5012 days 20 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault28.528878389478855493 AVAX
0x0a1f6d2c83283a68d47ddd61461867e5f10e2078ea5a319bd4b11a01d0b203e7352292112023-09-15 19:19:5413 days 4 hrs ago Ribbon Finance: Avax Theta Vault0x7d7b736c1350d4f4079df99ff6a46e7ab74a9c7e15.805876104132859879 AVAX
0x0a1f6d2c83283a68d47ddd61461867e5f10e2078ea5a319bd4b11a01d0b203e7352292112023-09-15 19:19:5413 days 4 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault15.805876104132859879 AVAX
0xbe1dffd8efbbbb1aa62115187ab2e10e5ca895e4f911522b56589b2860c02e93352118462023-09-15 9:30:1313 days 14 hrs ago Ribbon Finance: Avax Theta Vault 0x939cbb6babaad2b0533c2caca8a4afec3ae064926.972901145099058044 AVAX
0xbe1dffd8efbbbb1aa62115187ab2e10e5ca895e4f911522b56589b2860c02e93352118462023-09-15 9:30:1313 days 14 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault6.972901145099058044 AVAX
0x67dc3bdc26f61a2ff37b1a03f5d05a49a9331666e9bcb7239b21cbffdd5015ae351163992023-09-13 3:14:5915 days 20 hrs ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.1 AVAX
0x581b1a13100860d15b9f55efe946d680899dd6935d79aa9a5e700abfd8727237351077062023-09-12 22:18:0516 days 1 hr ago Ribbon Finance: Avax Theta Vault Wrapped AVAX1 AVAX
0x9112b32ecb779ffa59d6ada819ead61651ad1f16ea0bc94c93d2030c923fcf08350113912023-09-10 15:57:0018 days 7 hrs ago Ribbon Finance: Avax Theta Vault0x78cece2729e052774fa86a48444c4ec32cd81ad71.107514623599999277 AVAX
0x9112b32ecb779ffa59d6ada819ead61651ad1f16ea0bc94c93d2030c923fcf08350113912023-09-10 15:57:0018 days 7 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault1.107514623599999277 AVAX
0xdd41d42f821bb43457d22b1f3864eb016bcf162733d0d156b54229ffcff57eb4349205502023-09-08 12:17:2820 days 11 hrs ago Ribbon Finance: Avax Theta Vault0xc986cde72a2f91dfde731a6f933c702c108cc1a40.524319503977617974 AVAX
0xdd41d42f821bb43457d22b1f3864eb016bcf162733d0d156b54229ffcff57eb4349205502023-09-08 12:17:2820 days 11 hrs ago Wrapped AVAX Ribbon Finance: Avax Theta Vault0.524319503977617974 AVAX
0x6a1d05365ede5d7556cd1e0f28c5dd4ed501f5114a7a5d2b86b5d3b60a8ff754349166192023-09-08 10:02:2120 days 13 hrs ago Ribbon Finance: Avax Theta Vault0xed9a711ff766d9e06e08d6b9a60b915eb8dcd6e5505.751174738651875089 AVAX
[ Download CSV Export 
Index Block
Loading

Similar Match Source Code
This contract matches the deployed ByteCode of the Source Code for Contract 0x16b08b3C95881f6043bcD9Ec6Ce9B02Cb28f588b
The constructor portion of the code might be different and could alter the actual behaviour of the contract

Contract Name:
AdminUpgradeabilityProxy

Compiler Version
v0.8.4+commit.c7e474f2

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
File 1 of 4 : AdminUpgradeabilityProxy.sol
// SPDX-License-Identifier: MIT

pragma solidity >=0.6.8;

import './UpgradeabilityProxy.sol';

/**
 * @title AdminUpgradeabilityProxy
 * @dev This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * All external functions in this contract must be guarded by the
 * `ifAdmin` modifier. See ethereum/solidity#3864 for a Solidity
 * feature proposal that would enable this to be done automatically.
 */
contract AdminUpgradeabilityProxy is UpgradeabilityProxy {
  /**
   * Contract constructor.
   * @param _logic address of the initial implementation.
   * @param admin_ Address of the proxy administrator.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, address admin_, bytes memory _data) UpgradeabilityProxy(_logic, _data) payable {
    assert(ADMIN_SLOT == bytes32(uint256(keccak256('eip1967.proxy.admin')) - 1));
    _setAdmin(admin_);
  }

  /**
   * @dev Emitted when the administration has been transferred.
   * @param previousAdmin Address of the previous admin.
   * @param newAdmin Address of the new admin.
   */
  event AdminChanged(address previousAdmin, address newAdmin);

  /**
   * @dev Storage slot with the admin of the contract.
   * This is the keccak-256 hash of "eip1967.proxy.admin" subtracted by 1, and is
   * validated in the constructor.
   */

  bytes32 internal constant ADMIN_SLOT = 0xb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103;

  /**
   * @dev Modifier to check whether the `msg.sender` is the admin.
   * If it is, it will run the function. Otherwise, it will delegate the call
   * to the implementation.
   */
  modifier ifAdmin() {
    if (msg.sender == _admin()) {
      _;
    } else {
      _fallback();
    }
  }

  /**
   * @return adminAddress The address of the proxy admin.
   */
  function admin() external ifAdmin returns (address adminAddress) {
    return _admin();
  }

  /**
   * @return implementationAddress The address of the implementation.
   */
  function implementation() external ifAdmin returns (address implementationAddress) {
    return _implementation();
  }

  /**
   * @dev Changes the admin of the proxy.
   * Only the current admin can call this function.
   * @param newAdmin Address to transfer proxy administration to.
   */
  function changeAdmin(address newAdmin) external ifAdmin {
    require(newAdmin != address(0), "Cannot change the admin of a proxy to the zero address");
    emit AdminChanged(_admin(), newAdmin);
    _setAdmin(newAdmin);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy.
   * Only the admin can call this function.
   * @param newImplementation Address of the new implementation.
   */
  function upgradeTo(address newImplementation) external ifAdmin {
    _upgradeTo(newImplementation);
  }

  /**
   * @dev Upgrade the backing implementation of the proxy and call a function
   * on the new implementation.
   * This is useful to initialize the proxied contract.
   * @param newImplementation Address of the new implementation.
   * @param data Data to send as msg.data in the low level call.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   */
  function upgradeToAndCall(address newImplementation, bytes calldata data) payable external ifAdmin {
    _upgradeTo(newImplementation);
    (bool success,) = newImplementation.delegatecall(data);
    require(success);
  }

  /**
   * @return adm The admin slot.
   */
  function _admin() internal view returns (address adm) {
    bytes32 slot = ADMIN_SLOT;
    assembly {
      adm := sload(slot)
    }
  }

  /**
   * @dev Sets the address of the proxy admin.
   * @param newAdmin Address of the new proxy admin.
   */
  function _setAdmin(address newAdmin) internal {
    bytes32 slot = ADMIN_SLOT;

    assembly {
      sstore(slot, newAdmin)
    }
  }

  /**
   * @dev Only fall back when the sender is not the admin.
   */
  function _willFallback() internal override virtual {
    require(msg.sender != _admin(), "Cannot call fallback function from the proxy admin");
    super._willFallback();
  }
}

File 2 of 4 : UpgradeabilityProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;

import './Proxy.sol';
import '@openzeppelin/contracts/utils/Address.sol';

/**
 * @title UpgradeabilityProxy
 * @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 UpgradeabilityProxy is Proxy {
  /**
   * @dev Contract constructor.
   * @param _logic Address of the initial implementation.
   * @param _data Data to send as msg.data to the implementation to initialize the proxied contract.
   * It should include the signature and the parameters of the function to be called, as described in
   * https://solidity.readthedocs.io/en/v0.4.24/abi-spec.html#function-selector-and-argument-encoding.
   * This parameter is optional, if no data is given the initialization call to proxied contract will be skipped.
   */
  constructor(address _logic, bytes memory _data) payable {
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if(_data.length > 0) {
      (bool success,) = _logic.delegatecall(_data);
      require(success);
    }
  }

  /**
   * @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 impl Address of the current implementation
   */
  function _implementation() internal override 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(Address.isContract(newImplementation), "Cannot set a proxy implementation to a non-contract address");

    bytes32 slot = IMPLEMENTATION_SLOT;

    assembly {
      sstore(slot, newImplementation)
    }
  }
}

File 3 of 4 : Proxy.sol
// SPDX-License-Identifier: MIT
pragma solidity =0.8.4;

/**
 * @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.
 */
abstract contract Proxy {
  /**
   * @dev Fallback function.
   * Implemented entirely in `_fallback`.
   */
  fallback () payable external {
    _fallback();
  }

  /**
   * @dev Receive function.
   * Implemented entirely in `_fallback`.
   */
  receive () payable external {
    // _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal virtual 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 virtual {
  }

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

File 4 of 4 : Address.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

/**
 * @dev Collection of functions related to the address type
 */
library Address {
    /**
     * @dev Returns true if `account` is a contract.
     *
     * [IMPORTANT]
     * ====
     * It is unsafe to assume that an address for which this function returns
     * false is an externally-owned account (EOA) and not a contract.
     *
     * Among others, `isContract` will return false for the following
     * types of addresses:
     *
     *  - an externally-owned account
     *  - a contract in construction
     *  - an address where a contract will be created
     *  - an address where a contract lived, but was destroyed
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize, which returns 0 for contracts in
        // construction, since the code is only stored at the end of the
        // constructor execution.

        uint256 size;
        assembly {
            size := extcodesize(account)
        }
        return size > 0;
    }

    /**
     * @dev Replacement for Solidity's `transfer`: sends `amount` wei to
     * `recipient`, forwarding all available gas and reverting on errors.
     *
     * https://eips.ethereum.org/EIPS/eip-1884[EIP1884] increases the gas cost
     * of certain opcodes, possibly making contracts go over the 2300 gas limit
     * imposed by `transfer`, making them unable to receive funds via
     * `transfer`. {sendValue} removes this limitation.
     *
     * https://diligence.consensys.net/posts/2019/09/stop-using-soliditys-transfer-now/[Learn more].
     *
     * IMPORTANT: because control is transferred to `recipient`, care must be
     * taken to not create reentrancy vulnerabilities. Consider using
     * {ReentrancyGuard} or the
     * https://solidity.readthedocs.io/en/v0.5.11/security-considerations.html#use-the-checks-effects-interactions-pattern[checks-effects-interactions pattern].
     */
    function sendValue(address payable recipient, uint256 amount) internal {
        require(address(this).balance >= amount, "Address: insufficient balance");

        (bool success, ) = recipient.call{value: amount}("");
        require(success, "Address: unable to send value, recipient may have reverted");
    }

    /**
     * @dev Performs a Solidity function call using a low level `call`. A
     * plain `call` is an unsafe replacement for a function call: use this
     * function instead.
     *
     * If `target` reverts with a revert reason, it is bubbled up by this
     * function (like regular Solidity function calls).
     *
     * Returns the raw returned data. To convert to the expected return value,
     * use https://solidity.readthedocs.io/en/latest/units-and-global-variables.html?highlight=abi.decode#abi-encoding-and-decoding-functions[`abi.decode`].
     *
     * Requirements:
     *
     * - `target` must be a contract.
     * - calling `target` with `data` must not revert.
     *
     * _Available since v3.1._
     */
    function functionCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionCall(target, data, "Address: low-level call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`], but with
     * `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, 0, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but also transferring `value` wei to `target`.
     *
     * Requirements:
     *
     * - the calling contract must have an ETH balance of at least `value`.
     * - the called Solidity function must be `payable`.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value
    ) internal returns (bytes memory) {
        return functionCallWithValue(target, data, value, "Address: low-level call with value failed");
    }

    /**
     * @dev Same as {xref-Address-functionCallWithValue-address-bytes-uint256-}[`functionCallWithValue`], but
     * with `errorMessage` as a fallback revert reason when `target` reverts.
     *
     * _Available since v3.1._
     */
    function functionCallWithValue(
        address target,
        bytes memory data,
        uint256 value,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(address(this).balance >= value, "Address: insufficient balance for call");
        require(isContract(target), "Address: call to non-contract");

        (bool success, bytes memory returndata) = target.call{value: value}(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(address target, bytes memory data) internal view returns (bytes memory) {
        return functionStaticCall(target, data, "Address: low-level static call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a static call.
     *
     * _Available since v3.3._
     */
    function functionStaticCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        require(isContract(target), "Address: static call to non-contract");

        (bool success, bytes memory returndata) = target.staticcall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(address target, bytes memory data) internal returns (bytes memory) {
        return functionDelegateCall(target, data, "Address: low-level delegate call failed");
    }

    /**
     * @dev Same as {xref-Address-functionCall-address-bytes-string-}[`functionCall`],
     * but performing a delegate call.
     *
     * _Available since v3.4._
     */
    function functionDelegateCall(
        address target,
        bytes memory data,
        string memory errorMessage
    ) internal returns (bytes memory) {
        require(isContract(target), "Address: delegate call to non-contract");

        (bool success, bytes memory returndata) = target.delegatecall(data);
        return verifyCallResult(success, returndata, errorMessage);
    }

    /**
     * @dev Tool to verifies that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            // Look for revert reason and bubble it up if present
            if (returndata.length > 0) {
                // The easiest way to bubble the revert reason is using memory via assembly

                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

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

Contract ABI

[{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"address","name":"admin_","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"stateMutability":"payable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"previousAdmin","type":"address"},{"indexed":false,"internalType":"address","name":"newAdmin","type":"address"}],"name":"AdminChanged","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"stateMutability":"payable","type":"fallback"},{"inputs":[],"name":"admin","outputs":[{"internalType":"address","name":"adminAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newAdmin","type":"address"}],"name":"changeAdmin","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"implementationAddress","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"},{"internalType":"bytes","name":"data","type":"bytes"}],"name":"upgradeToAndCall","outputs":[],"stateMutability":"payable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405260405162000a8038038062000a80833981016040819052620000269162000243565b82816200005560017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd6200033d565b60008051602062000a60833981519152146200008157634e487b7160e01b600052600160045260246000fd5b6200008c8262000180565b80511562000103576000826001600160a01b031682604051620000b091906200031f565b600060405180830381855af49150503d8060008114620000ed576040519150601f19603f3d011682016040523d82523d6000602084013e620000f2565b606091505b50509050806200010157600080fd5b505b5062000133905060017fb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d61046200033d565b60008051602062000a40833981519152146200015f57634e487b7160e01b600052600160045260246000fd5b620001778260008051602062000a4083398151915255565b505050620003aa565b62000196816200022060201b620003d71760201c565b6200020d5760405162461bcd60e51b815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000606482015260840160405180910390fd5b60008051602062000a6083398151915255565b3b151590565b80516001600160a01b03811681146200023e57600080fd5b919050565b60008060006060848603121562000258578283fd5b620002638462000226565b9250620002736020850162000226565b60408501519092506001600160401b038082111562000290578283fd5b818601915086601f830112620002a4578283fd5b815181811115620002b957620002b962000394565b604051601f8201601f19908116603f01168101908382118183101715620002e457620002e462000394565b81604052828152896020848701011115620002fd578586fd5b6200031083602083016020880162000361565b80955050505050509250925092565b600082516200033381846020870162000361565b9190910192915050565b6000828210156200035c57634e487b7160e01b81526011600452602481fd5b500390565b60005b838110156200037e57818101518382015260200162000364565b838111156200038e576000848401525b50505050565b634e487b7160e01b600052604160045260246000fd5b61068680620003ba6000396000f3fe60806040526004361061004e5760003560e01c80633659cfe61461005f5780634f1ef2861461007f5780635c60da1b146100925780638f283970146100c3578063f851a440146100e357610055565b3661005557005b61005d6100f8565b005b34801561006b57600080fd5b5061005d61007a366004610581565b610132565b61005d61008d3660046105a2565b61016f565b34801561009e57600080fd5b506100a761021e565b6040516001600160a01b03909116815260200160405180910390f35b3480156100cf57600080fd5b5061005d6100de366004610581565b610280565b3480156100ef57600080fd5b506100a7610392565b6101006103dd565b61013061012b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b610469565b565b600080516020610631833981519152546001600160a01b0316336001600160a01b03161415610167576101648161048d565b50565b6101646100f8565b600080516020610631833981519152546001600160a01b0316336001600160a01b03161415610211576101a18361048d565b6000836001600160a01b031683836040516101bd929190610620565b600060405180830381855af49150503d80600081146101f8576040519150601f19603f3d011682016040523d82523d6000602084013e6101fd565b606091505b505090508061020b57600080fd5b50505050565b6102196100f8565b505050565b60006102366000805160206106318339815191525490565b6001600160a01b0316336001600160a01b0316141561027557507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b61027d6100f8565b90565b600080516020610631833981519152546001600160a01b0316336001600160a01b03161415610167576001600160a01b0381166103235760405162461bcd60e51b815260206004820152603660248201527f43616e6e6f74206368616e6765207468652061646d696e206f6620612070726f604482015275787920746f20746865207a65726f206164647265737360501b60648201526084015b60405180910390fd5b7f7e644d79422f17c01e4894b5f4f588d331ebfa28653d42ae832dc59e38c9798f61035a6000805160206106318339815191525490565b604080516001600160a01b03928316815291841660208301520160405180910390a16101648160008051602061063183398151915255565b60006103aa6000805160206106318339815191525490565b6001600160a01b0316336001600160a01b0316141561027557506000805160206106318339815191525490565b3b151590565b600080516020610631833981519152546001600160a01b0316336001600160a01b031614156101305760405162461bcd60e51b815260206004820152603260248201527f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667260448201527137b6903a343290383937bc3c9030b236b4b760711b606482015260840161031a565b3660008037600080366000845af43d6000803e808015610488573d6000f35b3d6000fd5b610496816104cd565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b803b6105415760405162461bcd60e51b815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e747261637420616464726573730000000000606482015260840161031a565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b80356001600160a01b038116811461057c57600080fd5b919050565b600060208284031215610592578081fd5b61059b82610565565b9392505050565b6000806000604084860312156105b6578182fd5b6105bf84610565565b9250602084013567ffffffffffffffff808211156105db578384fd5b818601915086601f8301126105ee578384fd5b8135818111156105fc578485fd5b87602082850101111561060d578485fd5b6020830194508093505050509250925092565b818382376000910190815291905056feb53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103a2646970667358221220fef78c5deefa560b6fe0c14281c4ac3da636e1d8ea85fa15c2f2fd7f4503933f64736f6c63430008040033b53127684a568b3173ae13b9f8a6016e243e63b6e8ee1178d6a717850b5d6103360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc00000000000000000000000087e94618b305c5305b4502807c86b6c28ad5b592000000000000000000000000d4816d144c005b29df24c8eb1865fb8a1e79fdde00000000000000000000000000000000000000000000000000000000000000600000000000000000000000000000000000000000000000000000000000000344f60f764500000000000000000000000000000000000000000000000000000000000000e000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000012000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c7000000000000000000000000b31f66aa3c1e785363f0875a1b74e27b85fd66c700000000000000000000000000000000000000000000000000000002540be40000000000000000000000000000000000000000000000003635c9adc5dea00000000000000000000000000000d4816d144c005b29df24c8eb1865fb8a1e79fdde000000000000000000000000d4816d144c005b29df24c8eb1865fb8a1e79fdde000000000000000000000000d4816d144c005b29df24c8eb1865fb8a1e79fdde00000000000000000000000000000000000000000000000000000000001e8480000000000000000000000000000000000000000000000000000000000098968000000000000000000000000000000000000000000000000000000000000001a000000000000000000000000000000000000000000000000000000000000001e000000000000000000000000054daf3a63a6cc2e2079031e70b2d35b6083cab8900000000000000000000000000d27cbb90ae158f2db39c899e006a05df960d8100000000000000000000000000000000000000000000000000000000000000c80000000000000000000000000000000000000000000000000000000000000e10000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000002200000000000000000000000000000000000000000000000000000000000000016526962626f6e20455448205468657461205661756c7400000000000000000000000000000000000000000000000000000000000000000000000000000000000a724554482d5448455441000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000001000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000000

Block Transaction Gas Used Reward
Age Block Fee Address BC Fee Address Voting Power Jailed Incoming
Block Uncle Number Difficulty Gas Used Reward
Loading
Loading
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.