Contract 0x98d03125c62dae2328d9d3cb32b7b969e6a87787 1

Contract Overview

Ribbon Finance: Avax Theta Vault
Balance:
0.02752899 AVAX

AVAX Value:
$0.48 (@ $17.36/AVAX)

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x845b6b5af0196dff74265b4d8edc2f050d87a02124cdc6726264c1c9b87fc386Deposit ETH204676232022-09-30 12:14:056 mins ago0xc1377ebd880217969d662c23067ca9f1674163f0 IN  Ribbon Finance: Avax Theta Vault0.01 AVAX0.002078766 26.5
0xa56aa1246bf88911ee76b69d3ade13d4396e1611a6ac36c70d60f1d92fca19ebDeposit ETH204674512022-09-30 12:08:1512 mins ago0x2938865d32f71bf033ade022f86b4b2c346d96dd IN  Ribbon Finance: Avax Theta Vault0.1 AVAX0.002078766 26.5
0x9a3ec04c169c8811291863ea36dd7a9981e6cd8bffc83f7d185f0e5884c11171Deposit ETH204674332022-09-30 12:07:3813 mins ago0x9e98261f7335a537ce8a721aa9d750b9c2950644 IN  Ribbon Finance: Avax Theta Vault0.1 AVAX0.0025517568 26.94
0x09bf0d1cf6a1b696b97ca2161c21cafdb467f4e1881832707cc30a37b048ba09Withdraw Instant...204673672022-09-30 12:05:2515 mins ago0xde77e4f6a7e0a1d41fdcac41b18d101723b17b46 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.001980186 26.5
0xa3c465aeb0e7a4a75bd3bfdf4d4f888214fa55c96232f265275d081a28c42b06Deposit ETH204672822022-09-30 12:02:2718 mins ago0x0000000a5d2afc64886a80780bc5ca6ecc519181 IN  Ribbon Finance: Avax Theta Vault0.0001 AVAX0.00251008 26.5
0xf922a02e82335fbc0f77fb4be71d3fe686a60ed4aa47b4a8a735e4a4bdb430eaDeposit ETH204672772022-09-30 12:02:1718 mins ago0x8888888d8d8da939c993a174946e49e83e984c13 IN  Ribbon Finance: Avax Theta Vault0.0001 AVAX0.00251008 26.5
0x0e4be946f84ca152c7b9edd88ee16c78155b2a5bca315cd9382ec476db9b3f62Deposit ETH204672722022-09-30 12:02:0718 mins ago0x00000001b01122945d67cf7c972f1a2063ca4008 IN  Ribbon Finance: Avax Theta Vault0.0001 AVAX0.00251008 26.5
0xef7663718bfcfe088c36b7c3c129eb30ab5c578b7694d3a2ac7c1a031a3bbf5aDeposit ETH204670792022-09-30 11:55:2825 mins ago0xa404e152914d5b9a792dbcbc11019f1dccf3e560 IN  Ribbon Finance: Avax Theta Vault0.01 AVAX0.00251008 26.5
0xa8a9db48d7d7628acb8f862eef8ff3afc6c426f16fa7b26ee304696994fb1634Deposit ETH204670512022-09-30 11:54:3126 mins ago0x0000000f3a9e446d0a6f976df5f0ed1b324dcd0e IN  Ribbon Finance: Avax Theta Vault0.0001 AVAX0.0025015552 26.41
0xd2af96e716bba24b7e24a43136903becf58b6c0c09aedf0cbfa4be8b4954a151Deposit ETH204670342022-09-30 11:53:5326 mins ago0x00000009d94baf057697d988d2e3eec2fce81162 IN  Ribbon Finance: Avax Theta Vault0.0001 AVAX0.00251008 26.5
0xa4453bad7b016d35ea0848abd0cce4ec7ed2174e5d768791052bd4291a30607fDeposit ETH204670172022-09-30 11:53:1727 mins ago0xde77e4f6a7e0a1d41fdcac41b18d101723b17b46 IN  Ribbon Finance: Avax Theta Vault0.1 AVAX0.002078766 26.5
0x636f11611477bf5e557ab09f6327479a6e19f231da5f38d3aa391ebb875e23ecDeposit ETH204669962022-09-30 11:52:3528 mins ago0x163282f109b86167a7017a9db2c995a9240dff38 IN  Ribbon Finance: Avax Theta Vault0.01 AVAX0.002078766 26.5
0xdea52598bebc531b2cb44c2e043f1b6308df1a94a4ae849d74ae6592ad0c75a0Deposit ETH204669132022-09-30 11:49:4330 mins ago0x757056e3ab3c65c6c8c710f7e6f9a8327cc6bae7 IN  Ribbon Finance: Avax Theta Vault0.2 AVAX0.00251008 26.5
0xb680c8fb195280cc1e07c4a0225e5ff20849d8c76dff91300559c6b7c5f390f0Deposit ETH204668282022-09-30 11:46:4933 mins ago0x8481f52600269f7b32a0855a98ff22880a426228 IN  Ribbon Finance: Avax Theta Vault0.001 AVAX0.0021513267 27.425
0x3e1abf3e960873fdece7e1bc3efef46cd876ca0b0ee6c3fc3c450bf73d1493adDeposit ETH204668102022-09-30 11:46:1334 mins ago0xf68cca2acb3c59371c28db60c6cec55119d03c34 IN  Ribbon Finance: Avax Theta Vault0.001 AVAX0.002078766 26.5
0x36fb69da663491934ec2cc008b5a2ec475c4ce6510113d02b1e29523de3f7f00Deposit ETH204667962022-09-30 11:45:4534 mins ago0xf7d36a57cbe154fd3d9134cac44ab49019180e12 IN  Ribbon Finance: Avax Theta Vault0.001 AVAX0.002078766 26.5
0x42ed7f0e197741653137ae462c4a5d0e1854909c424ec2005be11cda65fd4b41Deposit ETH204667722022-09-30 11:44:5735 mins ago0x34c7d0638dab854c7246623575b7839031b4fef6 IN  Ribbon Finance: Avax Theta Vault0.001 AVAX0.002078766 26.5
0xbc953d9f63fff6a1a7af483e6a9a067743384b7e28fdc6ce286cacdef131f2dcDeposit ETH204667342022-09-30 11:43:3537 mins ago0xb39a0b4a5cd271ee73a28021bf757cfad0616034 IN  Ribbon Finance: Avax Theta Vault0.006782083138526 AVAX0.002078766 26.5
0x5c4f24b5a91e897bcba9215291103b71ce7e1ef84cdafe9ebac299ef80a9e709Complete Withdra...204666602022-09-30 11:41:0239 mins ago0xa8db4f9c8e33019a72af300f03b936c35b3e75e5 IN  Ribbon Finance: Avax Theta Vault0 AVAX0.0025047005 26.5
0x3ca741a5a7aec74968b2927f429844854af36487195294d3b1547e4a50aebc63Deposit ETH204665702022-09-30 11:37:5542 mins ago0xa0cc04b4356b7b8db816030e8bf1977bbd75ecfd IN  Ribbon Finance: Avax Theta Vault0.001 AVAX0.002095825063 26.717468051
0x388924a2d4dbe6f0166ec4145e425aebf0d7b4a7d7d2500b899a9e7ffdde44edDeposit ETH204662102022-09-30 11:25:2255 mins ago0x6b01f4a5e006a952989f1430193b779338ffb517 IN  Ribbon Finance: Avax Theta Vault0.002 AVAX0.002091783311 26.665944009
0xea2f163ae3cdaa6a5c2b4fe39387b2ff58d8bcbb9ec8566afb1570c1a615cf17Deposit ETH204661742022-09-30 11:24:1056 mins ago0x03e2736ae6f4f42a8674129b538edc1488a292bf IN  Ribbon Finance: Avax Theta Vault0.0000001 AVAX0.002104287441 26.825346
0xde5dbaeef86271722b112b2cc7f527b9f4039d8a5ce7bf6616d57e7bd74d9d8eDeposit ETH204661602022-09-30 11:23:4256 mins ago0x64ac697f84bcddfacab514f07dd147c6958a7915 IN  Ribbon Finance: Avax Theta Vault0.0001 AVAX0.002108715919 26.8818
0x3eb10a321ae9502b92c7a85a83578a8beb5f5b0ad47a70825747824a181aa9e8Deposit ETH204658432022-09-30 11:12:561 hr 7 mins ago0x6597cb3d01daf20f34c42e8cc289f1f94899f1eb IN  Ribbon Finance: Avax Theta Vault0.01 AVAX0.00211798827
0xf6b4e823881b1a895ea424f687f60c7b90ad20aa02d48c438098f90712de5765Deposit ETH204657982022-09-30 11:11:191 hr 9 mins ago0x6a4d776550fb81c212633edc54e211f4f8b432de IN  Ribbon Finance: Avax Theta Vault0.001 AVAX0.00251008 26.5
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x845b6b5af0196dff74265b4d8edc2f050d87a02124cdc6726264c1c9b87fc386204676232022-09-30 12:14:056 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.01 AVAX
0xa56aa1246bf88911ee76b69d3ade13d4396e1611a6ac36c70d60f1d92fca19eb204674512022-09-30 12:08:1512 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.1 AVAX
0x9a3ec04c169c8811291863ea36dd7a9981e6cd8bffc83f7d185f0e5884c11171204674332022-09-30 12:07:3813 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.1 AVAX
0x09bf0d1cf6a1b696b97ca2161c21cafdb467f4e1881832707cc30a37b048ba09204673672022-09-30 12:05:2515 mins ago Ribbon Finance: Avax Theta Vault0xde77e4f6a7e0a1d41fdcac41b18d101723b17b460.1 AVAX
0x09bf0d1cf6a1b696b97ca2161c21cafdb467f4e1881832707cc30a37b048ba09204673672022-09-30 12:05:2515 mins ago Wrapped AVAX Ribbon Finance: Avax Theta Vault0.1 AVAX
0xa3c465aeb0e7a4a75bd3bfdf4d4f888214fa55c96232f265275d081a28c42b06204672822022-09-30 12:02:2718 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0001 AVAX
0xf922a02e82335fbc0f77fb4be71d3fe686a60ed4aa47b4a8a735e4a4bdb430ea204672772022-09-30 12:02:1718 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0001 AVAX
0x0e4be946f84ca152c7b9edd88ee16c78155b2a5bca315cd9382ec476db9b3f62204672722022-09-30 12:02:0718 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0001 AVAX
0xef7663718bfcfe088c36b7c3c129eb30ab5c578b7694d3a2ac7c1a031a3bbf5a204670792022-09-30 11:55:2825 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.01 AVAX
0xa8a9db48d7d7628acb8f862eef8ff3afc6c426f16fa7b26ee304696994fb1634204670512022-09-30 11:54:3126 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0001 AVAX
0xd2af96e716bba24b7e24a43136903becf58b6c0c09aedf0cbfa4be8b4954a151204670342022-09-30 11:53:5326 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0001 AVAX
0xa4453bad7b016d35ea0848abd0cce4ec7ed2174e5d768791052bd4291a30607f204670172022-09-30 11:53:1727 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.1 AVAX
0x636f11611477bf5e557ab09f6327479a6e19f231da5f38d3aa391ebb875e23ec204669962022-09-30 11:52:3528 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.01 AVAX
0xdea52598bebc531b2cb44c2e043f1b6308df1a94a4ae849d74ae6592ad0c75a0204669132022-09-30 11:49:4330 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.2 AVAX
0xb680c8fb195280cc1e07c4a0225e5ff20849d8c76dff91300559c6b7c5f390f0204668282022-09-30 11:46:4933 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.001 AVAX
0x3e1abf3e960873fdece7e1bc3efef46cd876ca0b0ee6c3fc3c450bf73d1493ad204668102022-09-30 11:46:1334 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.001 AVAX
0x36fb69da663491934ec2cc008b5a2ec475c4ce6510113d02b1e29523de3f7f00204667962022-09-30 11:45:4534 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.001 AVAX
0x42ed7f0e197741653137ae462c4a5d0e1854909c424ec2005be11cda65fd4b41204667722022-09-30 11:44:5735 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.001 AVAX
0xbc953d9f63fff6a1a7af483e6a9a067743384b7e28fdc6ce286cacdef131f2dc204667342022-09-30 11:43:3537 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.006782083138526542 AVAX
0x5c4f24b5a91e897bcba9215291103b71ce7e1ef84cdafe9ebac299ef80a9e709204666602022-09-30 11:41:0239 mins ago Ribbon Finance: Avax Theta Vault0xa8db4f9c8e33019a72af300f03b936c35b3e75e50.041283607569935514 AVAX
0x5c4f24b5a91e897bcba9215291103b71ce7e1ef84cdafe9ebac299ef80a9e709204666602022-09-30 11:41:0239 mins ago Wrapped AVAX Ribbon Finance: Avax Theta Vault0.041283607569935514 AVAX
0x3ca741a5a7aec74968b2927f429844854af36487195294d3b1547e4a50aebc63204665702022-09-30 11:37:5542 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.001 AVAX
0x388924a2d4dbe6f0166ec4145e425aebf0d7b4a7d7d2500b899a9e7ffdde44ed204662102022-09-30 11:25:2255 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.002 AVAX
0xea2f163ae3cdaa6a5c2b4fe39387b2ff58d8bcbb9ec8566afb1570c1a615cf17204661742022-09-30 11:24:1056 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0000001 AVAX
0xde5dbaeef86271722b112b2cc7f527b9f4039d8a5ce7bf6616d57e7bd74d9d8e204661602022-09-30 11:23:4256 mins ago Ribbon Finance: Avax Theta Vault Wrapped AVAX0.0001 AVAX
[ Download CSV Export 
Loading

Similar Match Source Code
Note: This contract matches the deployed ByteCode of the Source Code for Contract 0x16b08b3C95881f6043bcD9Ec6Ce9B02Cb28f588b

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
Make sure to use the "Vote Down" button for any spammy posts, and the "Vote Up" for interesting conversations.