Contract 0x794a61358d6845594f94dc1db02a252b5b4814ad 6

Aave 
 

Contract Overview

Aave: Pool V3
Balance:
0 ETH

ETH Value:
$0.00

Token:
Txn Hash Method
Block
From
To
Value [Txn Fee]
0x622011f2023b14f81322dac68246defbf1eda0f34a84cd6e948231a0ff2bfdd3Borrow200521262022-08-12 2:58:156 mins ago0xe35e2349903eb580ebb301ba13322ed6b1197a86 IN Aave: Pool V30 ETH0.000131736415 ETH
0x2d4182f863271657f67f9fd8a21bc3ecb95702ec7ae5e021f195d56d59a6f9e9Borrow200521042022-08-12 2:58:156 mins ago0xb81e661f7ac1567f1e8bd2e8e55394ee4367c6b0 IN Aave: Pool V30 ETH0.000131443257 ETH
0x2fe9b81cf1033c7ac78198a4e01b3ecc88c8e57654bb6de7f3246a8ff5b5742bBorrow200520232022-08-12 2:55:228 mins ago0x5a7034e5ecc8c880eb7616eca0c99718801d9bb8 IN Aave: Pool V30 ETH0.000120884329 ETH
0xcee8e2a14f20aa2572da9498dbdd47133d716854a89eb5dadb267ccb76b26c06Supply200519322022-08-12 2:54:1610 mins ago0x464fd6b8e4dde4352117940a07d7cc93269a77bb IN Aave: Pool V30 ETH0.000106918523 ETH
0xcace7e616d328a73426e00d26c1157e7fec0f20d0a75afae1c0fa8b53b9601d7Borrow200515562022-08-12 2:50:5013 mins ago0xe46e78ac31ae1281f67fe4d05f6b801d4abfb644 IN Aave: Pool V30 ETH0.000132390664 ETH
0xc9b42381a7d112f86b32cc30a4142ec1a6aaabd972a3b69eed05cb10b5408169Supply200511452022-08-12 2:40:3523 mins ago0x464fd6b8e4dde4352117940a07d7cc93269a77bb IN Aave: Pool V30 ETH0.000106918523 ETH
0x116f5c87f32a5f04ada1947973911384d92b4d81d47335226cd2d154c7e025dfBorrow200509622022-08-12 2:36:3927 mins ago0x6743737f1b84fb4ef30afa461b2fb7fdc7727a0c IN Aave: Pool V30 ETH0.000122236009 ETH
0x7301241e0aa9fff8b757e3f39ceb72da6a16d853007be7327611687d4d6becc2Borrow200507232022-08-12 2:33:2230 mins ago0x34b1987af70a43a0647860bdda720ba3664740e8 IN Aave: Pool V30 ETH0.00012274238 ETH
0x2dd1fbf48501b3b25db885c32b87f4f0adf5369944d56c70cd354726117d049fRepay200503702022-08-12 2:26:5937 mins ago0x419af08d5de5de5ed9edca29e345fea58931520b IN Aave: Pool V30 ETH0.000107707801 ETH
0xd5385859cf1c0f7b00c3752883fdb2b0e31f90ac425c42ffbffae8167447f1b9Borrow200501522022-08-12 2:22:2841 mins ago0x5135606856a0a96e8f50dd3d69b028e608663f62 IN Aave: Pool V30 ETH0.000122966643 ETH
0x55a265af8b5b215cb8fd990d8dd3ecd9846625077525ce158ef9d6f85bbd9591Withdraw200500282022-08-12 2:19:4944 mins ago0x3fe821e69267a129157c28b4b326d51678c13e17 IN Aave: Pool V30 ETH0.000121180802 ETH
0x1c8f2484319587ce421f504cbc967a101f7bc48cc03710723bf9567f75f3186aBorrow200499882022-08-12 2:18:3545 mins ago0x34b1987af70a43a0647860bdda720ba3664740e8 IN Aave: Pool V30 ETH0.000122979038 ETH
0x640b3f450a376731a8bcfb1d8b3c0b68be5b81a2154a3a391307672dfef49798Borrow200499152022-08-12 2:17:2646 mins ago0xb19be18a7d279432f607676acd34c62ff932daba IN Aave: Pool V30 ETH0.000111789068 ETH
0x78f5bfbf76fcda084215b6ed5ff1ff85b3b9850de32641c88af6f1a0e9643c9dBorrow200496892022-08-12 2:13:3050 mins ago0xae9d26141a04dfa8fc91ab360b32ced1c86c823d IN Aave: Pool V30 ETH0.000113127071 ETH
0xe474bc9fbe12a31b57b8686383205a9565f738746237a248e5bd9990e346ca84Borrow200495282022-08-12 2:10:5653 mins ago0xae9d26141a04dfa8fc91ab360b32ced1c86c823d IN Aave: Pool V30 ETH0.00012461407 ETH
0x10a49e4e71d6df525bfbbf6c280dcf46cd14a5c9acf7d6d2d3a76872eaa209c0Borrow200494532022-08-12 2:09:4354 mins ago0x419af08d5de5de5ed9edca29e345fea58931520b IN Aave: Pool V30 ETH0.000134339789 ETH
0x6fc531014bac47a0098b0c71cbd428256bd89c7ad257d6a2b9ca8af1a904e6baBorrow200493912022-08-12 2:07:2256 mins ago0x528f94cea8d6bf3045ffefe226002f0bc2a9bce9 IN Aave: Pool V30 ETH0.000132996276 ETH
0x3a95c3b2d748800bc82c4d3f281c122a1ef5d3aa9a494e167caa93f73d680204Borrow200491832022-08-12 2:04:2359 mins ago0x13b47d736b9223974626aa4eed2234a249dc354e IN Aave: Pool V30 ETH0.000141774765 ETH
0xbd2566134ea7d5d34ec1d28114c381fd60067d25e0ab940f148f9eb3eed2b336Repay With Permi...200490322022-08-12 1:59:521 hr 4 mins ago0x18bfa963eea299513fb74be5e8b0ecb3a31deb2e IN Aave: Pool V30 ETH0.000162770813 ETH
0x26c0d39f41fbb1b3a5b86280e04a13ca427c7b129b31f9c1c18e6821c61c7a92Withdraw200490052022-08-12 1:59:521 hr 4 mins ago0x464fd6b8e4dde4352117940a07d7cc93269a77bb IN Aave: Pool V30 ETH0.000126525378 ETH
0x6c5112c757a8f44b04f0189aca2685c3742679b8dce13318c05495a6ec8ee740Supply200485032022-08-12 1:46:281 hr 17 mins ago0x123d4c2c9ff055bce279d2df1c5712c08005ab48 IN Aave: Pool V30 ETH0.000125298723 ETH
0xdb597ecdd1101d2f6e30747b47f761b23c81904374c08e9ef434140b18503df1Supply With Perm...200482472022-08-12 1:39:541 hr 24 mins ago0xfdc7b20a4b607b7a0c42d37f37cb3d2f81a3200e IN Aave: Pool V30 ETH0.000181463546 ETH
0xe55b272b5426069f5b2d20951e95106a7df6effcb5a115e30f6e9f8c3e6a837fSupply With Perm...200480452022-08-12 1:35:101 hr 29 mins ago0x6aefb3235f1a75fdfaf8a0008a9008fdf2622ce1 IN Aave: Pool V30 ETH0.000180849607 ETH
0x9ca7c9b57cc49cb4d87ef04b67523f62fa0a843ad89853519e13fc57156407e2Set User E Mode200476522022-08-12 1:23:541 hr 40 mins ago0x77e4c827184e700ea077767061d731de30f20951 IN Aave: Pool V30 ETH0.000108428966 ETH
0x9fc7dca01baaf44bd141ed31c47d9b18db6ae81ea5ff672ec728b7a13a4926a3Set User E Mode200474072022-08-12 1:15:301 hr 48 mins ago0x77e4c827184e700ea077767061d731de30f20951 IN Aave: Pool V30 ETH0.000119207043 ETH
[ Download CSV Export 
Latest 25 internal transaction
Parent Txn Hash Block From To Value
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago 0x1ab20eb3d73d67a368129a489300779c07cc5cbaAave: Pool V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago 0x1ab20eb3d73d67a368129a489300779c07cc5cbaAave: Pool V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: aUSDC Token V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V30x1c78508221b5f2533df490929d59b7191a2c6e650 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V30x270d4c1b6f0bb172a9fd628e29530ca4841900130 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V30x270d4c1b6f0bb172a9fd628e29530ca4841900130 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: Aave Oracle V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: aUSDC Token V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V30x41b66b4b6b4c9dab039d96528d1b88f7baf8c5a40 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: aUSDC Token V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: sUSDC Token V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V30xc603a9e957482298738ea65aa24e61b38859b48d0 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: Pool Addresses Provider V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: vUSDC Token V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V3Aave: Pool Addresses Provider V30 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: Pool V30x270d4c1b6f0bb172a9fd628e29530ca4841900130 ETH
0x32bffdc4488b7453c33751f084deef969faae6e1ada4002ab53beb8e854110e0200523782022-08-12 3:02:401 min ago Aave: aUSDC Token V3Aave: Pool V30 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago 0x1ab20eb3d73d67a368129a489300779c07cc5cbaAave: Pool V30 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago 0x1ab20eb3d73d67a368129a489300779c07cc5cbaAave: Pool V30 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago Aave: Pool V30x270d4c1b6f0bb172a9fd628e29530ca4841900130 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago Aave: Pool V30x270d4c1b6f0bb172a9fd628e29530ca4841900130 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago Aave: Pool V30xc603a9e957482298738ea65aa24e61b38859b48d0 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago Aave: Pool V30x1c78508221b5f2533df490929d59b7191a2c6e650 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago Aave: Pool V3Aave: Pool Addresses Provider V30 ETH
0x868c6f1a90d80265dfd215f6fd489f2b9e656dc9380b4d5f19e29fef42204037200523262022-08-12 3:01:492 mins ago Aave: Pool V3Aave: aUSDC Token V30 ETH
[ Download CSV Export 
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
InitializableImmutableAdminUpgradeabilityProxy

Compiler Version
v0.8.10+commit.fc410830

Optimization Enabled:
Yes with 100000 runs

Other Settings:
default evmVersion
File 1 of 6 : InitializableImmutableAdminUpgradeabilityProxy.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;

import {InitializableUpgradeabilityProxy} from '../../../dependencies/openzeppelin/upgradeability/InitializableUpgradeabilityProxy.sol';
import {Proxy} from '../../../dependencies/openzeppelin/upgradeability/Proxy.sol';
import {BaseImmutableAdminUpgradeabilityProxy} from './BaseImmutableAdminUpgradeabilityProxy.sol';

/**
 * @title InitializableAdminUpgradeabilityProxy
 * @author Aave
 * @dev Extends BaseAdminUpgradeabilityProxy with an initializer function
 */
contract InitializableImmutableAdminUpgradeabilityProxy is
  BaseImmutableAdminUpgradeabilityProxy,
  InitializableUpgradeabilityProxy
{
  /**
   * @dev Constructor.
   * @param admin The address of the admin
   */
  constructor(address admin) BaseImmutableAdminUpgradeabilityProxy(admin) {
    // Intentionally left blank
  }

  /// @inheritdoc BaseImmutableAdminUpgradeabilityProxy
  function _willFallback() internal override(BaseImmutableAdminUpgradeabilityProxy, Proxy) {
    BaseImmutableAdminUpgradeabilityProxy._willFallback();
  }
}

File 2 of 6 : InitializableUpgradeabilityProxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;

import './BaseUpgradeabilityProxy.sol';

/**
 * @title InitializableUpgradeabilityProxy
 * @dev Extends BaseUpgradeabilityProxy with an initializer for initializing
 * implementation and init data.
 */
contract InitializableUpgradeabilityProxy is BaseUpgradeabilityProxy {
  /**
   * @dev Contract initializer.
   * @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.
   */
  function initialize(address _logic, bytes memory _data) public payable {
    require(_implementation() == address(0));
    assert(IMPLEMENTATION_SLOT == bytes32(uint256(keccak256('eip1967.proxy.implementation')) - 1));
    _setImplementation(_logic);
    if (_data.length > 0) {
      (bool success, ) = _logic.delegatecall(_data);
      require(success);
    }
  }
}

File 3 of 6 : Proxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;

/**
 * @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.
   * Will run if no other function in the contract matches the call data.
   * Implemented entirely in `_fallback`.
   */
  fallback() external payable {
    _fallback();
  }

  /**
   * @return The Address of the implementation.
   */
  function _implementation() internal view virtual 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 {
    //solium-disable-next-line
    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 6 : BaseImmutableAdminUpgradeabilityProxy.sol
// SPDX-License-Identifier: AGPL-3.0
pragma solidity 0.8.10;

import {BaseUpgradeabilityProxy} from '../../../dependencies/openzeppelin/upgradeability/BaseUpgradeabilityProxy.sol';

/**
 * @title BaseImmutableAdminUpgradeabilityProxy
 * @author Aave, inspired by the OpenZeppelin upgradeability proxy pattern
 * @notice This contract combines an upgradeability proxy with an authorization
 * mechanism for administrative tasks.
 * @dev The admin role is stored in an immutable, which helps saving transactions costs
 * 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 BaseImmutableAdminUpgradeabilityProxy is BaseUpgradeabilityProxy {
  address internal immutable _admin;

  /**
   * @dev Constructor.
   * @param admin The address of the admin
   */
  constructor(address admin) {
    _admin = admin;
  }

  modifier ifAdmin() {
    if (msg.sender == _admin) {
      _;
    } else {
      _fallback();
    }
  }

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

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

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

  /**
   * @notice Upgrade the backing implementation of the proxy and call a function
   * on the new implementation.
   * @dev This is useful to initialize the proxied contract.
   * @param newImplementation The 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)
    external
    payable
    ifAdmin
  {
    _upgradeTo(newImplementation);
    (bool success, ) = newImplementation.delegatecall(data);
    require(success);
  }

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

File 5 of 6 : BaseUpgradeabilityProxy.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;

import './Proxy.sol';
import '../contracts/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 impl Address of the current implementation
   */
  function _implementation() internal view override returns (address impl) {
    bytes32 slot = IMPLEMENTATION_SLOT;
    //solium-disable-next-line
    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;

    //solium-disable-next-line
    assembly {
      sstore(slot, newImplementation)
    }
  }
}

File 6 of 6 : Address.sol
// SPDX-License-Identifier: agpl-3.0
pragma solidity 0.8.10;

/**
 * @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) {
    // According to EIP-1052, 0x0 is the value returned for not-yet created accounts
    // and 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470 is returned
    // for accounts without code, i.e. `keccak256('')`
    bytes32 codehash;
    bytes32 accountHash = 0xc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a470;
    // solhint-disable-next-line no-inline-assembly
    assembly {
      codehash := extcodehash(account)
    }
    return (codehash != accountHash && codehash != 0x0);
  }

  /**
   * @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');

    // solhint-disable-next-line avoid-low-level-calls, avoid-call-value
    (bool success, ) = recipient.call{value: amount}('');
    require(success, 'Address: unable to send value, recipient may have reverted');
  }
}

Settings
{
  "optimizer": {
    "enabled": true,
    "runs": 100000
  },
  "evmVersion": "berlin",
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "metadata": {
    "useLiteralContent": true
  },
  "libraries": {}
}

Contract ABI

[{"inputs":[{"internalType":"address","name":"admin","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"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":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_logic","type":"address"},{"internalType":"bytes","name":"_data","type":"bytes"}],"name":"initialize","outputs":[],"stateMutability":"payable","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"}]

60a060405234801561001057600080fd5b50604051610a0e380380610a0e83398101604081905261002f91610040565b6001600160a01b0316608052610070565b60006020828403121561005257600080fd5b81516001600160a01b038116811461006957600080fd5b9392505050565b6080516109606100ae6000396000818161014f015281816101a101528181610274015281816104110152818161043a01526105ab01526109606000f3fe60806040526004361061005a5760003560e01c80635c60da1b116100435780635c60da1b14610097578063d1f57894146100d5578063f851a440146100e85761005a565b80633659cfe6146100645780634f1ef28614610084575b6100626100fd565b005b34801561007057600080fd5b5061006261007f3660046106be565b610137565b6100626100923660046106e0565b610189565b3480156100a357600080fd5b506100ac61025a565b60405173ffffffffffffffffffffffffffffffffffffffff909116815260200160405180910390f35b6100626100e3366004610792565b6102cb565b3480156100f457600080fd5b506100ac6103f7565b61010561045c565b6101356101307f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b610464565b565b3373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156101815761017e81610488565b50565b61017e6100fd565b3373ffffffffffffffffffffffffffffffffffffffff7f000000000000000000000000000000000000000000000000000000000000000016141561024d576101d083610488565b60008373ffffffffffffffffffffffffffffffffffffffff1683836040516101f9929190610872565b600060405180830381855af49150503d8060008114610234576040519150601f19603f3d011682016040523d82523d6000602084013e610239565b606091505b505090508061024757600080fd5b50505050565b6102556100fd565b505050565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156102c057507f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b6102c86100fd565b90565b60006102f57f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc5490565b73ffffffffffffffffffffffffffffffffffffffff161461031557600080fd5b61034060017f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbd610882565b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc1461036e5761036e6108c0565b610377826104d5565b8051156103f35760008273ffffffffffffffffffffffffffffffffffffffff16826040516103a591906108ef565b600060405180830381855af49150503d80600081146103e0576040519150601f19603f3d011682016040523d82523d6000602084013e6103e5565b606091505b505090508061025557600080fd5b5050565b60003373ffffffffffffffffffffffffffffffffffffffff7f00000000000000000000000000000000000000000000000000000000000000001614156102c057507f000000000000000000000000000000000000000000000000000000000000000090565b610135610593565b3660008037600080366000845af43d6000803e808015610483573d6000f35b3d6000fd5b610491816104d5565b60405173ffffffffffffffffffffffffffffffffffffffff8216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b6104de81610659565b61056f576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603b60248201527f43616e6e6f742073657420612070726f787920696d706c656d656e746174696f60448201527f6e20746f2061206e6f6e2d636f6e74726163742061646472657373000000000060648201526084015b60405180910390fd5b7f360894a13ba1a3210667c828492db98dca3e2076cc3735a920a3ca505d382bbc55565b3373ffffffffffffffffffffffffffffffffffffffff7f0000000000000000000000000000000000000000000000000000000000000000161415610135576040517f08c379a000000000000000000000000000000000000000000000000000000000815260206004820152603260248201527f43616e6e6f742063616c6c2066616c6c6261636b2066756e6374696f6e20667260448201527f6f6d207468652070726f78792061646d696e00000000000000000000000000006064820152608401610566565b6000813f7fc5d2460186f7233c927e7db2dcc703c0e500b653ca82273b7bfad8045d85a47081811480159061068d57508115155b949350505050565b803573ffffffffffffffffffffffffffffffffffffffff811681146106b957600080fd5b919050565b6000602082840312156106d057600080fd5b6106d982610695565b9392505050565b6000806000604084860312156106f557600080fd5b6106fe84610695565b9250602084013567ffffffffffffffff8082111561071b57600080fd5b818601915086601f83011261072f57600080fd5b81358181111561073e57600080fd5b87602082850101111561075057600080fd5b6020830194508093505050509250925092565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052604160045260246000fd5b600080604083850312156107a557600080fd5b6107ae83610695565b9150602083013567ffffffffffffffff808211156107cb57600080fd5b818501915085601f8301126107df57600080fd5b8135818111156107f1576107f1610763565b604051601f82017fffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffffe0908116603f0116810190838211818310171561083757610837610763565b8160405282815288602084870101111561085057600080fd5b8260208601602083013760006020848301015280955050505050509250929050565b8183823760009101908152919050565b6000828210156108bb577f4e487b7100000000000000000000000000000000000000000000000000000000600052601160045260246000fd5b500390565b7f4e487b7100000000000000000000000000000000000000000000000000000000600052600160045260246000fd5b6000825160005b8181101561091057602081860181015185830152016108f6565b8181111561091f576000828501525b50919091019291505056fea26469706673582212207698a80201d2f92a3290973c99527c6e810eaf731191e18abe2c96acab47dca764736f6c634300080a0033000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb

Constructor Arguments (ABI-Encoded and is the last bytes of the Contract Creation Code above)

000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb

-----Decoded View---------------
Arg [0] : admin (address): 0xa97684ead0e402dc232d5a977953df7ecbab3cdb

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000a97684ead0e402dc232d5a977953df7ecbab3cdb


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.