ETH Price: $1,987.38 (-3.11%)

Contract

0xe2A0b127F01EB03373C2c75abd2f6fF4e83b670E
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Transfer Ownersh...156441682022-09-30 5:48:591254 days ago1664516939IN
0xe2A0b127...4e83b670E
0 ETH0.0002887110.03095935

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Method Block
From
To
0x60806040195927542024-04-05 23:16:23700 days ago1712358983
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040195927542024-04-05 23:16:23700 days ago1712358983
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040195927542024-04-05 23:16:23700 days ago1712358983
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040195927542024-04-05 23:16:23700 days ago1712358983
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040195927542024-04-05 23:16:23700 days ago1712358983
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040195927542024-04-05 23:16:23700 days ago1712358983
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040190392352024-01-19 6:52:11778 days ago1705647131
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040190392352024-01-19 6:52:11778 days ago1705647131
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040190392352024-01-19 6:52:11778 days ago1705647131
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040190392352024-01-19 6:52:11778 days ago1705647131
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040190392352024-01-19 6:52:11778 days ago1705647131
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040190392352024-01-19 6:52:11778 days ago1705647131
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040189156762024-01-01 22:54:11795 days ago1704149651
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040189156762024-01-01 22:54:11795 days ago1704149651
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040187184892023-12-05 6:54:47823 days ago1701759287
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040168380562023-03-16 4:31:591087 days ago1678941119
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040168380562023-03-16 4:31:591087 days ago1678941119
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
0x60806040156444852022-09-30 6:53:111254 days ago1664520791
0xe2A0b127...4e83b670E
 Contract Creation0 ETH
View All Internal Transactions
Loading...
Loading
Loading...
Loading
Cross-Chain Transactions

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Validator Index Block Amount
View All Withdrawals

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

Contract Source Code Verified (Exact Match)

Contract Name:
VestingEscrowFactory2

Compiler Version
v0.7.5+commit.eb77ed08

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion
// SPDX-License-Identifier: ISC
pragma solidity 0.7.5;
pragma experimental ABIEncoderV2;

import { Ownable } from "@openzeppelin/contracts/access/Ownable.sol";
import { IVestingEscrow } from "../interfaces/IVestingEscrow.sol";
import { ILyra } from "../interfaces/ILyra.sol";
import { IStakedLyra } from "../interfaces/IStakedLyra.sol";
import { UpgradeableBeacon } from "@openzeppelin/contracts/proxy/UpgradeableBeacon.sol";
import { BeaconProxy } from "@openzeppelin/contracts/proxy/BeaconProxy.sol";

/**
 * @title VestingEscrowFactory
 * @author Lyra
 * @dev Deploy VestingEscrow proxy contracts to distribute ERC20 tokens and acts as a beacon contract to determine
 * their implementation contract.
 */
contract VestingEscrowFactory2 is UpgradeableBeacon {
  /**
   * @dev Structs used to group escrow related data used in `deployVestingEscrow` function
   *
   * `recipient` The address of the recipient that will be receiving the tokens
   * `admin` The address of the admin that will have special execution permissions in the escrow contract.
   * `vestingAmount` Amount of tokens being vested for `recipient`
   * `vestingBegin` Epoch time when tokens begin to vest
   * `vestingCliff` Duration after which the first portion vests
   * `vestingEnd` Epoch Time until all the amount should be vested
   */
  struct EscrowData {
    address recipient;
    address admin;
    uint256 vestingAmount;
    uint256 vestingBegin;
    uint256 vestingCliff;
    uint256 vestingEnd;
  }

  uint256 public immutable deploymentTimestamp;
  IStakedLyra public stakedToken;

  event VestingEscrowCreated(
    address indexed funder,
    address indexed token,
    address indexed recipient,
    address admin,
    address escrow,
    uint256 amount,
    uint256 vestingBegin,
    uint256 vestingCliff,
    uint256 vestingEnd
  );

  event StakedTokenSet(address indexed stakedToken);

  /**
   * @dev Stores the implementation target for the proxies.
   *
   * Sets ownership to the account that deploys the contract.
   *
   * @param implementation_ The address of the target implementation
   */
  constructor(address implementation_) UpgradeableBeacon(implementation_) {
    deploymentTimestamp = block.timestamp;
  }

  /**
   * @dev Sets stakedToken address which will be used as a beacon for all the escrow contracts.
   * This is necessary as the safety module could be introduced after the deployment of the
   * escrow contracts.
   *
   * Requirements:
   *
   * - the caller must be the owner.
   * - `stakedToken_` should not be the zero address.
   *
   * @param stakedToken_ The address of the staked token implementation
   */
  function setStakedToken(address stakedToken_) external onlyOwner {
    require(stakedToken_ != address(0), "stakedToken is zero address");
    emit StakedTokenSet(stakedToken_);
    stakedToken = IStakedLyra(stakedToken_);
  }

  /**
   * @dev Deploys a proxy, initialize the vesting data and fund the escrow contract.
   *
   * @param escrowData Escrow related data
   * @return The address of the deployed contract
   */
  function deployVestingEscrow(EscrowData memory escrowData) external returns (address) {
    // Create the escrow contract
    address vestingEscrow = address(new BeaconProxy(address(this), ""));

    // Initialize the contract with the vesting data
    require(
      IVestingEscrow(vestingEscrow).initialize(
        escrowData.recipient,
        escrowData.vestingAmount,
        escrowData.vestingBegin,
        escrowData.vestingCliff,
        escrowData.vestingEnd
      ),
      "initialization failed"
    );

    // Transfer the ownership to the admin
    IVestingEscrow(vestingEscrow).transferOwnership(escrowData.admin);

    ILyra token = IVestingEscrow(vestingEscrow).token();

    // Transfer funds to the escrow contract
    token.transferFrom(msg.sender, vestingEscrow, escrowData.vestingAmount);

    emit VestingEscrowCreated(
      msg.sender,
      address(token),
      escrowData.recipient,
      escrowData.admin,
      vestingEscrow,
      escrowData.vestingAmount,
      escrowData.vestingBegin,
      escrowData.vestingCliff,
      escrowData.vestingEnd
    );

    return vestingEscrow;
  }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

import "../utils/Context.sol";
/**
 * @dev Contract module which provides a basic access control mechanism, where
 * there is an account (an owner) that can be granted exclusive access to
 * specific functions.
 *
 * By default, the owner account will be the one that deploys the contract. This
 * can later be changed with {transferOwnership}.
 *
 * This module is used through inheritance. It will make available the modifier
 * `onlyOwner`, which can be applied to your functions to restrict their use to
 * the owner.
 */
abstract contract Ownable is Context {
    address private _owner;

    event OwnershipTransferred(address indexed previousOwner, address indexed newOwner);

    /**
     * @dev Initializes the contract setting the deployer as the initial owner.
     */
    constructor () {
        address msgSender = _msgSender();
        _owner = msgSender;
        emit OwnershipTransferred(address(0), msgSender);
    }

    /**
     * @dev Returns the address of the current owner.
     */
    function owner() public view virtual returns (address) {
        return _owner;
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        require(owner() == _msgSender(), "Ownable: caller is not the owner");
        _;
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions anymore. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby removing any functionality that is only available to the owner.
     */
    function renounceOwnership() public virtual onlyOwner {
        emit OwnershipTransferred(_owner, address(0));
        _owner = address(0);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Can only be called by the current owner.
     */
    function transferOwnership(address newOwner) public virtual onlyOwner {
        require(newOwner != address(0), "Ownable: new owner is the zero address");
        emit OwnershipTransferred(_owner, newOwner);
        _owner = newOwner;
    }
}

// SPDX-License-Identifier: ISC
pragma solidity 0.7.5;

import { ILyra } from "./ILyra.sol";

interface IVestingEscrow {
  function initialize(
    address recipient,
    uint256 vestingAmount,
    uint256 vestingBegin,
    uint256 vestingCliff,
    uint256 vestingEnd
  ) external returns (bool);

  function transferOwnership(address newOwner) external;

  function token() external returns (ILyra);
}

File 4 of 13 : ILyra.sol
// SPDX-License-Identifier: ISC
pragma solidity 0.7.5;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import { IERC20Permit } from "@openzeppelin/contracts/drafts/IERC20Permit.sol";

// solhint-disable-next-line no-empty-blocks
interface ILyra is IERC20, IERC20Permit {

}

// SPDX-License-Identifier: ISC
pragma solidity 0.7.5;

import { IERC20 } from "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IStakedLyra is IERC20 {
  function stake(address to, uint256 amount) external;

  function redeem(address to, uint256 amount) external;

  function cooldown() external;

  function claimRewards(address to, uint256 amount) external;
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./IBeacon.sol";
import "../access/Ownable.sol";
import "../utils/Address.sol";

/**
 * @dev This contract is used in conjunction with one or more instances of {BeaconProxy} to determine their
 * implementation contract, which is where they will delegate all function calls.
 *
 * An owner is able to change the implementation the beacon points to, thus upgrading the proxies that use this beacon.
 */
contract UpgradeableBeacon is IBeacon, Ownable {
    address private _implementation;

    /**
     * @dev Emitted when the implementation returned by the beacon is changed.
     */
    event Upgraded(address indexed implementation);

    /**
     * @dev Sets the address of the initial implementation, and the deployer account as the owner who can upgrade the
     * beacon.
     */
    constructor(address implementation_) {
        _setImplementation(implementation_);
    }

    /**
     * @dev Returns the current implementation address.
     */
    function implementation() public view virtual override returns (address) {
        return _implementation;
    }

    /**
     * @dev Upgrades the beacon to a new implementation.
     *
     * Emits an {Upgraded} event.
     *
     * Requirements:
     *
     * - msg.sender must be the owner of the contract.
     * - `newImplementation` must be a contract.
     */
    function upgradeTo(address newImplementation) public virtual onlyOwner {
        _setImplementation(newImplementation);
        emit Upgraded(newImplementation);
    }

    /**
     * @dev Sets the implementation contract address for this beacon
     *
     * Requirements:
     *
     * - `newImplementation` must be a contract.
     */
    function _setImplementation(address newImplementation) private {
        require(Address.isContract(newImplementation), "UpgradeableBeacon: implementation is not a contract");
        _implementation = newImplementation;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

import "./Proxy.sol";
import "../utils/Address.sol";
import "./IBeacon.sol";

/**
 * @dev This contract implements a proxy that gets the implementation address for each call from a {UpgradeableBeacon}.
 *
 * The beacon address is stored in storage slot `uint256(keccak256('eip1967.proxy.beacon')) - 1`, so that it doesn't
 * conflict with the storage layout of the implementation behind the proxy.
 *
 * _Available since v3.4._
 */
contract BeaconProxy is Proxy {
    /**
     * @dev The storage slot of the UpgradeableBeacon contract which defines the implementation for this proxy.
     * This is bytes32(uint256(keccak256('eip1967.proxy.beacon')) - 1)) and is validated in the constructor.
     */
    bytes32 private constant _BEACON_SLOT = 0xa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50;

    /**
     * @dev Initializes the proxy with `beacon`.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon. This
     * will typically be an encoded function call, and allows initializating the storage of the proxy like a Solidity
     * constructor.
     *
     * Requirements:
     *
     * - `beacon` must be a contract with the interface {IBeacon}.
     */
    constructor(address beacon, bytes memory data) payable {
        assert(_BEACON_SLOT == bytes32(uint256(keccak256("eip1967.proxy.beacon")) - 1));
        _setBeacon(beacon, data);
    }

    /**
     * @dev Returns the current beacon address.
     */
    function _beacon() internal view virtual returns (address beacon) {
        bytes32 slot = _BEACON_SLOT;
        // solhint-disable-next-line no-inline-assembly
        assembly {
            beacon := sload(slot)
        }
    }

    /**
     * @dev Returns the current implementation address of the associated beacon.
     */
    function _implementation() internal view virtual override returns (address) {
        return IBeacon(_beacon()).implementation();
    }

    /**
     * @dev Changes the proxy to use a new beacon.
     *
     * If `data` is nonempty, it's used as data in a delegate call to the implementation returned by the beacon.
     *
     * Requirements:
     *
     * - `beacon` must be a contract.
     * - The implementation returned by `beacon` must be a contract.
     */
    function _setBeacon(address beacon, bytes memory data) internal virtual {
        require(
            Address.isContract(beacon),
            "BeaconProxy: beacon is not a contract"
        );
        require(
            Address.isContract(IBeacon(beacon).implementation()),
            "BeaconProxy: beacon implementation is not a contract"
        );
        bytes32 slot = _BEACON_SLOT;

        // solhint-disable-next-line no-inline-assembly
        assembly {
            sstore(slot, beacon)
        }

        if (data.length > 0) {
            Address.functionDelegateCall(_implementation(), data, "BeaconProxy: function call failed");
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/*
 * @dev Provides information about the current execution context, including the
 * sender of the transaction and its data. While these are generally available
 * via msg.sender and msg.data, they should not be accessed in such a direct
 * manner, since when dealing with GSN meta-transactions the account sending and
 * paying for execution may not be the actual sender (as far as an application
 * is concerned).
 *
 * This contract is only required for intermediate, library-like contracts.
 */
abstract contract Context {
    function _msgSender() internal view virtual returns (address payable) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes memory) {
        this; // silence state mutability warning without generating bytecode - see https://github.com/ethereum/solidity/issues/2691
        return msg.data;
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @dev Returns the amount of tokens in existence.
     */
    function totalSupply() external view returns (uint256);

    /**
     * @dev Returns the amount of tokens owned by `account`.
     */
    function balanceOf(address account) external view returns (uint256);

    /**
     * @dev Moves `amount` tokens from the caller's account to `recipient`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Returns the remaining number of tokens that `spender` will be
     * allowed to spend on behalf of `owner` through {transferFrom}. This is
     * zero by default.
     *
     * This value changes when {approve} or {transferFrom} are called.
     */
    function allowance(address owner, address spender) external view returns (uint256);

    /**
     * @dev Sets `amount` as the allowance of `spender` over the caller's tokens.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * IMPORTANT: Beware that changing an allowance with this method brings the risk
     * that someone may use both the old and the new allowance by unfortunate
     * transaction ordering. One possible solution to mitigate this race
     * condition is to first reduce the spender's allowance to 0 and set the
     * desired value afterwards:
     * https://github.com/ethereum/EIPs/issues/20#issuecomment-263524729
     *
     * Emits an {Approval} event.
     */
    function approve(address spender, uint256 amount) external returns (bool);

    /**
     * @dev Moves `amount` tokens from `sender` to `recipient` using the
     * allowance mechanism. `amount` is then deducted from the caller's
     * allowance.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transferFrom(address sender, address recipient, uint256 amount) external returns (bool);

    /**
     * @dev Emitted when `value` tokens are moved from one account (`from`) to
     * another (`to`).
     *
     * Note that `value` may be zero.
     */
    event Transfer(address indexed from, address indexed to, uint256 value);

    /**
     * @dev Emitted when the allowance of a `spender` for an `owner` is set by
     * a call to {approve}. `value` is the new allowance.
     */
    event Approval(address indexed owner, address indexed spender, uint256 value);
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev Interface of the ERC20 Permit extension allowing approvals to be made via signatures, as defined in
 * https://eips.ethereum.org/EIPS/eip-2612[EIP-2612].
 *
 * Adds the {permit} method, which can be used to change an account's ERC20 allowance (see {IERC20-allowance}) by
 * presenting a message signed by the account. By not relying on `{IERC20-approve}`, the token holder account doesn't
 * need to send a transaction, and thus is not required to hold Ether at all.
 */
interface IERC20Permit {
    /**
     * @dev Sets `value` as the allowance of `spender` over `owner`'s tokens,
     * given `owner`'s signed approval.
     *
     * IMPORTANT: The same issues {IERC20-approve} has related to transaction
     * ordering also apply here.
     *
     * Emits an {Approval} event.
     *
     * Requirements:
     *
     * - `spender` cannot be the zero address.
     * - `deadline` must be a timestamp in the future.
     * - `v`, `r` and `s` must be a valid `secp256k1` signature from `owner`
     * over the EIP712-formatted function arguments.
     * - the signature must use ``owner``'s current nonce (see {nonces}).
     *
     * For more information on the signature format, see the
     * https://eips.ethereum.org/EIPS/eip-2612#specification[relevant EIP
     * section].
     */
    function permit(address owner, address spender, uint256 value, uint256 deadline, uint8 v, bytes32 r, bytes32 s) external;

    /**
     * @dev Returns the current nonce for `owner`. This value must be
     * included whenever a signature is generated for {permit}.
     *
     * Every successful call to {permit} increases ``owner``'s nonce by one. This
     * prevents a signature from being used multiple times.
     */
    function nonces(address owner) external view returns (uint256);

    /**
     * @dev Returns the domain separator used in the encoding of the signature for `permit`, as defined by {EIP712}.
     */
    // solhint-disable-next-line func-name-mixedcase
    function DOMAIN_SEPARATOR() external view returns (bytes32);
}

// SPDX-License-Identifier: MIT

pragma solidity >=0.6.0 <0.8.0;

/**
 * @dev This is the interface that {BeaconProxy} expects of its beacon.
 */
interface IBeacon {
    /**
     * @dev Must return an address that can be used as a delegate call target.
     *
     * {BeaconProxy} will check that this address is a contract.
     */
    function implementation() external view returns (address);
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.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;
        // solhint-disable-next-line no-inline-assembly
        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");

        // 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");
    }

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

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (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");

        // solhint-disable-next-line avoid-low-level-calls
        (bool success, bytes memory returndata) = target.delegatecall(data);
        return _verifyCallResult(success, returndata, errorMessage);
    }

    function _verifyCallResult(bool success, bytes memory returndata, string memory errorMessage) private 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

                // solhint-disable-next-line no-inline-assembly
                assembly {
                    let returndata_size := mload(returndata)
                    revert(add(32, returndata), returndata_size)
                }
            } else {
                revert(errorMessage);
            }
        }
    }
}

// SPDX-License-Identifier: MIT

pragma solidity ^0.7.0;

/**
 * @dev This abstract contract provides a fallback function that delegates all calls to another contract using the EVM
 * instruction `delegatecall`. We refer to the second contract as the _implementation_ behind the proxy, and it has to
 * be specified by overriding the virtual {_implementation} function.
 *
 * Additionally, delegation to the implementation can be triggered manually through the {_fallback} function, or to a
 * different contract through the {_delegate} function.
 *
 * The success and return data of the delegated call will be returned back to the caller of the proxy.
 */
abstract contract Proxy {
    /**
     * @dev Delegates the current call to `implementation`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _delegate(address implementation) internal virtual {
        // solhint-disable-next-line no-inline-assembly
        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 This is a virtual function that should be overriden so it returns the address to which the fallback function
     * and {_fallback} should delegate.
     */
    function _implementation() internal view virtual returns (address);

    /**
     * @dev Delegates the current call to the address returned by `_implementation()`.
     *
     * This function does not return to its internall call site, it will return directly to the external caller.
     */
    function _fallback() internal virtual {
        _beforeFallback();
        _delegate(_implementation());
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if no other
     * function in the contract matches the call data.
     */
    fallback () external payable virtual {
        _fallback();
    }

    /**
     * @dev Fallback function that delegates calls to the address returned by `_implementation()`. Will run if call data
     * is empty.
     */
    receive () external payable virtual {
        _fallback();
    }

    /**
     * @dev Hook that is called before falling back to the implementation. Can happen as part of a manual `_fallback`
     * call, or as part of the Solidity `fallback` or `receive` functions.
     *
     * If overriden should call `super._beforeFallback()`.
     */
    function _beforeFallback() internal virtual {
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"implementation_","type":"address"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"previousOwner","type":"address"},{"indexed":true,"internalType":"address","name":"newOwner","type":"address"}],"name":"OwnershipTransferred","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"stakedToken","type":"address"}],"name":"StakedTokenSet","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"implementation","type":"address"}],"name":"Upgraded","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"funder","type":"address"},{"indexed":true,"internalType":"address","name":"token","type":"address"},{"indexed":true,"internalType":"address","name":"recipient","type":"address"},{"indexed":false,"internalType":"address","name":"admin","type":"address"},{"indexed":false,"internalType":"address","name":"escrow","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingBegin","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingCliff","type":"uint256"},{"indexed":false,"internalType":"uint256","name":"vestingEnd","type":"uint256"}],"name":"VestingEscrowCreated","type":"event"},{"inputs":[{"components":[{"internalType":"address","name":"recipient","type":"address"},{"internalType":"address","name":"admin","type":"address"},{"internalType":"uint256","name":"vestingAmount","type":"uint256"},{"internalType":"uint256","name":"vestingBegin","type":"uint256"},{"internalType":"uint256","name":"vestingCliff","type":"uint256"},{"internalType":"uint256","name":"vestingEnd","type":"uint256"}],"internalType":"struct VestingEscrowFactory2.EscrowData","name":"escrowData","type":"tuple"}],"name":"deployVestingEscrow","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"deploymentTimestamp","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"implementation","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"stakedToken_","type":"address"}],"name":"setStakedToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakedToken","outputs":[{"internalType":"contract IStakedLyra","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newImplementation","type":"address"}],"name":"upgradeTo","outputs":[],"stateMutability":"nonpayable","type":"function"}]

60a060405234801561001057600080fd5b5060405161152938038061152983398101604081905261002f91610112565b80600061003a610098565b600080546001600160a01b0319166001600160a01b0383169081178255604051929350917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a35061008d8161009c565b505042608052610140565b3390565b6100af8161010c60201b6107ec1760201c565b6100ea5760405162461bcd60e51b81526004018080602001828103825260338152602001806114f66033913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b3b151590565b600060208284031215610123578081fd5b81516001600160a01b0381168114610139578182fd5b9392505050565b60805161139c61015a600039806103c8525061139c6000f3fe60806040523480156200001157600080fd5b5060043610620000a05760003560e01c80638da5cb5b116200006f5780638da5cb5b1462000101578063bfc12c05146200010b578063cc7a262e1462000124578063f2fde38b146200012e578063fc68fa32146200014557620000a0565b80633659cfe614620000a557806352e9c6d414620000be5780635c60da1b14620000d5578063715018a614620000f7575b600080fd5b620000bc620000b63660046200086e565b6200015c565b005b620000bc620000cf3660046200086e565b62000206565b620000df620002f6565b604051620000ee919062000960565b60405180910390f35b620000bc62000305565b620000df620003b7565b62000115620003c6565b604051620000ee919062000a85565b620000df620003ea565b620000bc6200013f3660046200086e565b620003f9565b620000df62000156366004620008d5565b62000503565b62000166620007f2565b6001600160a01b031662000179620003b7565b6001600160a01b031614620001c4576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b620001cf81620007f6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b62000210620007f2565b6001600160a01b031662000223620003b7565b6001600160a01b0316146200026e576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b6001600160a01b038116620002a05760405162461bcd60e51b8152600401620002979062000a4e565b60405180910390fd5b6040516001600160a01b038216907f793c5d6d63836324edea9ae9eb434d37862194427d3060862215257245a0c92990600090a2600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031690565b6200030f620007f2565b6001600160a01b031662000322620003b7565b6001600160a01b0316146200036d576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b7f000000000000000000000000000000000000000000000000000000000000000081565b6002546001600160a01b031681565b62000403620007f2565b6001600160a01b031662000416620003b7565b6001600160a01b03161462000461576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b6001600160a01b038116620004a85760405162461bcd60e51b8152600401808060200182810382526026815260200180620012ee6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008030604051620005159062000860565b620005219190620009ce565b604051809103906000f0801580156200053e573d6000803e3d6000fd5b5083516040808601516060870151608088015160a0890151935163f92ad21960e01b81529596506001600160a01b0387169563f92ad2199562000589959094939291600401620009f1565b602060405180830381600087803b158015620005a457600080fd5b505af1158015620005b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005df919062000894565b620005fe5760405162461bcd60e51b8152600401620002979062000a1f565b602083015160405163f2fde38b60e01b81526001600160a01b0383169163f2fde38b9162000630919060040162000960565b600060405180830381600087803b1580156200064b57600080fd5b505af115801562000660573d6000803e3d6000fd5b505050506000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015620006a257600080fd5b505af1158015620006b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006dd9190620008b6565b60408086015190516323b872dd60e01b81529192506001600160a01b038316916323b872dd9162000715913391879160040162000974565b602060405180830381600087803b1580156200073057600080fd5b505af115801562000745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200076b919062000894565b5083600001516001600160a01b0316816001600160a01b0316336001600160a01b03167f5ea673385b83a24cdf661dc04e86fb37f3b43ef61cf3212d613f8bc4ae5fbc5b87602001518689604001518a606001518b608001518c60a00151604051620007dd9695949392919062000998565b60405180910390a45092915050565b3b151590565b3390565b6200080181620007ec565b6200083e5760405162461bcd60e51b8152600401808060200182810382526033815260200180620013146033913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6108468062000aa883390190565b60006020828403121562000880578081fd5b81356200088d8162000a8e565b9392505050565b600060208284031215620008a6578081fd5b815180151581146200088d578182fd5b600060208284031215620008c8578081fd5b81516200088d8162000a8e565b600060c08284031215620008e7578081fd5b60405160c0810181811067ffffffffffffffff821117156200090557fe5b6040528235620009158162000a8e565b81526020830135620009278162000a8e565b8060208301525060408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03968716815294909516602085015260408401929092526060830152608082015260a081019190915260c00190565b6001600160a01b0391909116815260406020820181905260009082015260600190565b6001600160a01b03959095168552602085019390935260408401919091526060830152608082015260a00190565b6020808252601590820152741a5b9a5d1a585b1a5e985d1a5bdb8819985a5b1959605a1b604082015260600190565b6020808252601b908201527f7374616b6564546f6b656e206973207a65726f20616464726573730000000000604082015260600190565b90815260200190565b6001600160a01b038116811462000aa457600080fd5b5056fe60806040526040516108463803806108468339818101604052604081101561002657600080fd5b81516020830180516040519294929383019291908464010000000082111561004d57600080fd5b90830190602082018581111561006257600080fd5b825164010000000081118282018810171561007c57600080fd5b82525081516020918201929091019080838360005b838110156100a9578181015183820152602001610091565b50505050905090810190601f1680156100d65780820380516001836020036101000a031916815260200191505b50604052506100e3915050565b6100ed82826100f4565b505061047f565b6101078261024960201b6100311760201c565b6101425760405162461bcd60e51b81526004018080602001828103825260258152602001806107c76025913960400191505060405180910390fd5b6101ba826001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561017e57600080fd5b505afa158015610192573d6000803e3d6000fd5b505050506040513d60208110156101a857600080fd5b5051610249602090811b61003117901c565b6101f55760405162461bcd60e51b81526004018080602001828103825260348152602001806108126034913960400191505060405180910390fd5b6000805160206107868339815191528281558151156102445761024261021961024f565b836040518060600160405280602181526020016107a6602191396102c260201b6100371760201c565b505b505050565b3b151590565b60006102596103c8565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561029157600080fd5b505afa1580156102a5573d6000803e3d6000fd5b505050506040513d60208110156102bb57600080fd5b5051905090565b60606102cd84610249565b6103085760405162461bcd60e51b81526004018080602001828103825260268152602001806107ec6026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106103465780518252601f199092019160209182019101610327565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146103a6576040519150601f19603f3d011682016040523d82523d6000602084013e6103ab565b606091505b5090925090506103bc8282866103db565b925050505b9392505050565b6000805160206107868339815191525490565b606083156103ea5750816103c1565b8251156103fa5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561044457818101518382015260200161042c565b50505050905090810190601f1680156104715780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6102f88061048e6000396000f3fe60806040523661001357610011610017565b005b6100115b61001f61002f565b61002f61002a61013c565b6101af565b565b3b151590565b606061004284610031565b61007d5760405162461bcd60e51b815260040180806020018281038252602681526020018061029d6026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106100bb5780518252601f19909201916020918201910161009c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461011b576040519150601f19603f3d011682016040523d82523d6000602084013e610120565b606091505b50915091506101308282866101d3565b925050505b9392505050565b6000610146610277565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561017e57600080fd5b505afa158015610192573d6000803e3d6000fd5b505050506040513d60208110156101a857600080fd5b5051905090565b3660008037600080366000845af43d6000803e8080156101ce573d6000f35b3d6000fd5b606083156101e2575081610135565b8251156101f25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561023c578181015183820152602001610224565b50505050905090810190601f1680156102695780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50549056fe416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374a26469706673582212205341153280c953cbb23fb526cd5201e06525ba7b33a714b6da1371f051c4a8d764736f6c63430007050033a3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50426561636f6e50726f78793a2066756e6374696f6e2063616c6c206661696c6564426561636f6e50726f78793a20626561636f6e206973206e6f74206120636f6e7472616374416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374426561636f6e50726f78793a20626561636f6e20696d706c656d656e746174696f6e206973206e6f74206120636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6e206973206e6f74206120636f6e74726163744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212209cb1e82d34c7cba0ca8a11f99a7c067a3ae7280a9c9886f83f63579bc9bf8dde64736f6c634300070500335570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6e206973206e6f74206120636f6e7472616374000000000000000000000000176a3c8f81e91de22da62fb48d563e67263e354e

Deployed Bytecode

0x60806040523480156200001157600080fd5b5060043610620000a05760003560e01c80638da5cb5b116200006f5780638da5cb5b1462000101578063bfc12c05146200010b578063cc7a262e1462000124578063f2fde38b146200012e578063fc68fa32146200014557620000a0565b80633659cfe614620000a557806352e9c6d414620000be5780635c60da1b14620000d5578063715018a614620000f7575b600080fd5b620000bc620000b63660046200086e565b6200015c565b005b620000bc620000cf3660046200086e565b62000206565b620000df620002f6565b604051620000ee919062000960565b60405180910390f35b620000bc62000305565b620000df620003b7565b62000115620003c6565b604051620000ee919062000a85565b620000df620003ea565b620000bc6200013f3660046200086e565b620003f9565b620000df62000156366004620008d5565b62000503565b62000166620007f2565b6001600160a01b031662000179620003b7565b6001600160a01b031614620001c4576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b620001cf81620007f6565b6040516001600160a01b038216907fbc7cd75a20ee27fd9adebab32041f755214dbc6bffa90cc0225b39da2e5c2d3b90600090a250565b62000210620007f2565b6001600160a01b031662000223620003b7565b6001600160a01b0316146200026e576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b6001600160a01b038116620002a05760405162461bcd60e51b8152600401620002979062000a4e565b60405180910390fd5b6040516001600160a01b038216907f793c5d6d63836324edea9ae9eb434d37862194427d3060862215257245a0c92990600090a2600280546001600160a01b0319166001600160a01b0392909216919091179055565b6001546001600160a01b031690565b6200030f620007f2565b6001600160a01b031662000322620003b7565b6001600160a01b0316146200036d576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b600080546040516001600160a01b03909116907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a3600080546001600160a01b0319169055565b6000546001600160a01b031690565b7f00000000000000000000000000000000000000000000000000000000633681ef81565b6002546001600160a01b031681565b62000403620007f2565b6001600160a01b031662000416620003b7565b6001600160a01b03161462000461576040805162461bcd60e51b8152602060048201819052602482015260008051602062001347833981519152604482015290519081900360640190fd5b6001600160a01b038116620004a85760405162461bcd60e51b8152600401808060200182810382526026815260200180620012ee6026913960400191505060405180910390fd5b600080546040516001600160a01b03808516939216917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0319166001600160a01b0392909216919091179055565b60008030604051620005159062000860565b620005219190620009ce565b604051809103906000f0801580156200053e573d6000803e3d6000fd5b5083516040808601516060870151608088015160a0890151935163f92ad21960e01b81529596506001600160a01b0387169563f92ad2199562000589959094939291600401620009f1565b602060405180830381600087803b158015620005a457600080fd5b505af1158015620005b9573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620005df919062000894565b620005fe5760405162461bcd60e51b8152600401620002979062000a1f565b602083015160405163f2fde38b60e01b81526001600160a01b0383169163f2fde38b9162000630919060040162000960565b600060405180830381600087803b1580156200064b57600080fd5b505af115801562000660573d6000803e3d6000fd5b505050506000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381600087803b158015620006a257600080fd5b505af1158015620006b7573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190620006dd9190620008b6565b60408086015190516323b872dd60e01b81529192506001600160a01b038316916323b872dd9162000715913391879160040162000974565b602060405180830381600087803b1580156200073057600080fd5b505af115801562000745573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906200076b919062000894565b5083600001516001600160a01b0316816001600160a01b0316336001600160a01b03167f5ea673385b83a24cdf661dc04e86fb37f3b43ef61cf3212d613f8bc4ae5fbc5b87602001518689604001518a606001518b608001518c60a00151604051620007dd9695949392919062000998565b60405180910390a45092915050565b3b151590565b3390565b6200080181620007ec565b6200083e5760405162461bcd60e51b8152600401808060200182810382526033815260200180620013146033913960400191505060405180910390fd5b600180546001600160a01b0319166001600160a01b0392909216919091179055565b6108468062000aa883390190565b60006020828403121562000880578081fd5b81356200088d8162000a8e565b9392505050565b600060208284031215620008a6578081fd5b815180151581146200088d578182fd5b600060208284031215620008c8578081fd5b81516200088d8162000a8e565b600060c08284031215620008e7578081fd5b60405160c0810181811067ffffffffffffffff821117156200090557fe5b6040528235620009158162000a8e565b81526020830135620009278162000a8e565b8060208301525060408301356040820152606083013560608201526080830135608082015260a083013560a08201528091505092915050565b6001600160a01b0391909116815260200190565b6001600160a01b039384168152919092166020820152604081019190915260600190565b6001600160a01b03968716815294909516602085015260408401929092526060830152608082015260a081019190915260c00190565b6001600160a01b0391909116815260406020820181905260009082015260600190565b6001600160a01b03959095168552602085019390935260408401919091526060830152608082015260a00190565b6020808252601590820152741a5b9a5d1a585b1a5e985d1a5bdb8819985a5b1959605a1b604082015260600190565b6020808252601b908201527f7374616b6564546f6b656e206973207a65726f20616464726573730000000000604082015260600190565b90815260200190565b6001600160a01b038116811462000aa457600080fd5b5056fe60806040526040516108463803806108468339818101604052604081101561002657600080fd5b81516020830180516040519294929383019291908464010000000082111561004d57600080fd5b90830190602082018581111561006257600080fd5b825164010000000081118282018810171561007c57600080fd5b82525081516020918201929091019080838360005b838110156100a9578181015183820152602001610091565b50505050905090810190601f1680156100d65780820380516001836020036101000a031916815260200191505b50604052506100e3915050565b6100ed82826100f4565b505061047f565b6101078261024960201b6100311760201c565b6101425760405162461bcd60e51b81526004018080602001828103825260258152602001806107c76025913960400191505060405180910390fd5b6101ba826001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561017e57600080fd5b505afa158015610192573d6000803e3d6000fd5b505050506040513d60208110156101a857600080fd5b5051610249602090811b61003117901c565b6101f55760405162461bcd60e51b81526004018080602001828103825260348152602001806108126034913960400191505060405180910390fd5b6000805160206107868339815191528281558151156102445761024261021961024f565b836040518060600160405280602181526020016107a6602191396102c260201b6100371760201c565b505b505050565b3b151590565b60006102596103c8565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561029157600080fd5b505afa1580156102a5573d6000803e3d6000fd5b505050506040513d60208110156102bb57600080fd5b5051905090565b60606102cd84610249565b6103085760405162461bcd60e51b81526004018080602001828103825260268152602001806107ec6026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106103465780518252601f199092019160209182019101610327565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d80600081146103a6576040519150601f19603f3d011682016040523d82523d6000602084013e6103ab565b606091505b5090925090506103bc8282866103db565b925050505b9392505050565b6000805160206107868339815191525490565b606083156103ea5750816103c1565b8251156103fa5782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561044457818101518382015260200161042c565b50505050905090810190601f1680156104715780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b6102f88061048e6000396000f3fe60806040523661001357610011610017565b005b6100115b61001f61002f565b61002f61002a61013c565b6101af565b565b3b151590565b606061004284610031565b61007d5760405162461bcd60e51b815260040180806020018281038252602681526020018061029d6026913960400191505060405180910390fd5b60006060856001600160a01b0316856040518082805190602001908083835b602083106100bb5780518252601f19909201916020918201910161009c565b6001836020036101000a038019825116818451168082178552505050505050905001915050600060405180830381855af49150503d806000811461011b576040519150601f19603f3d011682016040523d82523d6000602084013e610120565b606091505b50915091506101308282866101d3565b925050505b9392505050565b6000610146610277565b6001600160a01b0316635c60da1b6040518163ffffffff1660e01b815260040160206040518083038186803b15801561017e57600080fd5b505afa158015610192573d6000803e3d6000fd5b505050506040513d60208110156101a857600080fd5b5051905090565b3660008037600080366000845af43d6000803e8080156101ce573d6000f35b3d6000fd5b606083156101e2575081610135565b8251156101f25782518084602001fd5b8160405162461bcd60e51b81526004018080602001828103825283818151815260200191508051906020019080838360005b8381101561023c578181015183820152602001610224565b50505050905090810190601f1680156102695780820380516001836020036101000a031916815260200191505b509250505060405180910390fd5b7fa3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50549056fe416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374a26469706673582212205341153280c953cbb23fb526cd5201e06525ba7b33a714b6da1371f051c4a8d764736f6c63430007050033a3f0ad74e5423aebfd80d3ef4346578335a9a72aeaee59ff6cb3582b35133d50426561636f6e50726f78793a2066756e6374696f6e2063616c6c206661696c6564426561636f6e50726f78793a20626561636f6e206973206e6f74206120636f6e7472616374416464726573733a2064656c65676174652063616c6c20746f206e6f6e2d636f6e7472616374426561636f6e50726f78793a20626561636f6e20696d706c656d656e746174696f6e206973206e6f74206120636f6e74726163744f776e61626c653a206e6577206f776e657220697320746865207a65726f20616464726573735570677261646561626c65426561636f6e3a20696d706c656d656e746174696f6e206973206e6f74206120636f6e74726163744f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572a26469706673582212209cb1e82d34c7cba0ca8a11f99a7c067a3ae7280a9c9886f83f63579bc9bf8dde64736f6c63430007050033

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

000000000000000000000000176a3c8f81e91de22da62fb48d563e67263e354e

-----Decoded View---------------
Arg [0] : implementation_ (address): 0x176A3C8F81E91DE22da62fb48D563E67263E354e

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 000000000000000000000000176a3c8f81e91de22da62fb48d563e67263e354e


Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading
Loading...
Loading
[ Download: CSV Export  ]
[ Download: CSV Export  ]

A contract address hosts a smart contract, which is a set of code stored on the blockchain that runs when predetermined conditions are met. Learn more about addresses in our Knowledge Base.