ETH Price: $3,153.50 (-4.85%)
Gas: 7.19 Gwei
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Token Holdings

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To
Simple Migrate W...130913562021-08-25 0:37:181256 days ago1629851838IN
0xda5E6D9c...B15368B2D
0 ETH0.0298360149.511803
Simple Migrate W...130859062021-08-24 4:40:411257 days ago1629780041IN
0xda5E6D9c...B15368B2D
0 ETH0.00121842.32419906
Simple Migrate W...129171072021-07-28 22:45:161283 days ago1627512316IN
0xda5E6D9c...B15368B2D
0 ETH0.014702124.42
Simple Migrate W...128757322021-07-22 10:56:051290 days ago1626951365IN
0xda5E6D9c...B15368B2D
0 ETH0.0055493617
Simple Migrate W...127568662021-07-03 20:50:241308 days ago1625345424IN
0xda5E6D9c...B15368B2D
0 ETH0.0034632910
Simple Migrate W...127171202021-06-27 16:24:231315 days ago1624811063IN
0xda5E6D9c...B15368B2D
0 ETH0.0067804612
Simple Migrate W...127171012021-06-27 16:20:511315 days ago1624810851IN
0xda5E6D9c...B15368B2D
0 ETH0.0041221912
Simple Migrate W...127096932021-06-26 12:32:451316 days ago1624710765IN
0xda5E6D9c...B15368B2D
0 ETH0.0060858710
Simple Migrate W...127059952021-06-25 22:50:281316 days ago1624661428IN
0xda5E6D9c...B15368B2D
0 ETH0.0115451220
Simple Migrate W...126980822021-06-24 17:14:261318 days ago1624554866IN
0xda5E6D9c...B15368B2D
0 ETH0.010485120.00000145
Simple Migrate W...126907242021-06-23 13:48:111319 days ago1624456091IN
0xda5E6D9c...B15368B2D
0 ETH0.0131372322
Simple Migrate W...126890462021-06-23 7:21:091319 days ago1624432869IN
0xda5E6D9c...B15368B2D
0 ETH0.0071654712
Simple Migrate W...126715442021-06-20 13:42:221322 days ago1624196542IN
0xda5E6D9c...B15368B2D
0 ETH0.0054793110
Simple Migrate W...126644192021-06-19 11:01:251323 days ago1624100485IN
0xda5E6D9c...B15368B2D
0 ETH0.0059148710
Simple Migrate W...126612422021-06-18 23:02:511323 days ago1624057371IN
0xda5E6D9c...B15368B2D
0 ETH0.0059149910
Simple Migrate W...126612272021-06-18 23:00:121323 days ago1624057212IN
0xda5E6D9c...B15368B2D
0 ETH0.000230328
Simple Migrate W...126607532021-06-18 21:16:501323 days ago1624051010IN
0xda5E6D9c...B15368B2D
0 ETH0.0134508422
Simple Migrate W...126606192021-06-18 20:41:301323 days ago1624048890IN
0xda5E6D9c...B15368B2D
0 ETH0.0165217929
Simple Migrate W...126605922021-06-18 20:35:011323 days ago1624048501IN
0xda5E6D9c...B15368B2D
0 ETH0.0176490229
Simple Migrate W...126605272021-06-18 20:17:091324 days ago1624047429IN
0xda5E6D9c...B15368B2D
0 ETH0.0161410126.4
Simple Migrate W...126605062021-06-18 20:13:171324 days ago1624047197IN
0xda5E6D9c...B15368B2D
0 ETH0.0178290630
Simple Migrate W...126604902021-06-18 20:09:011324 days ago1624046941IN
0xda5E6D9c...B15368B2D
0 ETH0.0150215528
Simple Migrate W...126604812021-06-18 20:06:581324 days ago1624046818IN
0xda5E6D9c...B15368B2D
0 ETH0.0203012235
Simple Migrate W...126601322021-06-18 18:44:411324 days ago1624041881IN
0xda5E6D9c...B15368B2D
0 ETH0.0172354829.00000145
Simple Migrate W...126601282021-06-18 18:44:111324 days ago1624041851IN
0xda5E6D9c...B15368B2D
0 ETH0.0007773327
View all transactions

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
MiniArmyKnife

Compiler Version
v0.8.3+commit.8d00100c

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, MIT license
File 1 of 8 : MiniArmyKnife.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";
import "@openzeppelin/contracts/security/Pausable.sol";
import "./interfaces/vesper/IVesperPool.sol";

// Migration flow
// User approves VAK for vToken
// User calls migrate, and receives vToken2
contract MiniArmyKnife is Pausable, Ownable {
    using SafeERC20 for IERC20;

    receive() external payable {
        revert("we-do-not-want-your-money");
    }

    modifier live() {
        require(
            !paused() || _msgSender() == owner(),
            "contract-has-been-paused"
        );
        _;
    }

    function pause() external onlyOwner {
        _pause();
    }

    function unpause() external onlyOwner {
        _unpause();
    }

    function approveToken(
        address token,
        uint256 amount,
        address spender
    ) external onlyOwner {
        _approveToken(token, amount, spender);
    }

    function approveTokens(
        address[] memory tokens,
        uint256[] memory amounts,
        address[] memory spenders
    ) external onlyOwner {
        require(
            tokens.length == amounts.length && tokens.length == spenders.length,
            "invalid-token-list"
        );
        for (uint256 i = 0; i < tokens.length; i++) {
            _approveToken(tokens[i], amounts[i], spenders[i]);
        }
    }

    function _approveToken(
        address token,
        uint256 amount,
        address spender
    ) internal {
        IERC20(token).approve(spender, amount);
    }

    function setPool(address pool) external onlyOwner {
        address poolToken = address(IVesperPool(pool).token());
        _approveToken(poolToken, 0, pool);
        _approveToken(poolToken, type(uint256).max, pool);
    }

    function unsetPool(address pool) external onlyOwner {
        _approveToken(address(IVesperPool(pool).token()), 0, pool);
    }

    function _permitToken(
        address token,
        address from,
        address to,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        IVesperPool(token).permit(from, to, amount, deadline, v, r, s);
    }

    function simpleMigrate(
        address vTokenA,
        address vTokenB,
        uint256 amountA
    ) public live {
        IVesperPool poolA = IVesperPool(vTokenA);
        IVesperPool poolB = IVesperPool(vTokenB);
        require(poolA.token() == poolB.token(), "Unmatched underlying tokens");
        address user = _msgSender();
        IERC20 collToken = IERC20(poolA.token());
        uint256 collBalanceBefore = collToken.balanceOf(address(this));
        poolA.transferFrom(user, address(this), amountA);
        poolA.whitelistedWithdraw(amountA);
        uint256 collBalanceAfter = collToken.balanceOf(address(this));
        uint256 userCollateralBalance = collBalanceAfter - collBalanceBefore;
        uint256 bBalanceBefore = poolB.balanceOf(address(this));
        poolB.deposit(userCollateralBalance);
        uint256 bBalanceAfter = poolB.balanceOf(address(this));
        uint256 userFinalBalance = bBalanceAfter - bBalanceBefore;
        poolB.transfer(user, userFinalBalance);
    }

    function simpleMigrateWithPermit(
        address vTokenA,
        address vTokenB,
        address from,
        address to,
        uint256 amount,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) external {
        // simpleMigrate checks for "live" so we dont need that modifier on this
        require(to == address(this), "invalid-receiver");
        _permitToken(vTokenA, from, to, amount, deadline, v, r, s);
        simpleMigrate(vTokenA, vTokenB, amount);
    }
}

File 2 of 8 : Ownable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.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;
    }
}

File 3 of 8 : Pausable.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../utils/Context.sol";

/**
 * @dev Contract module which allows children to implement an emergency stop
 * mechanism that can be triggered by an authorized account.
 *
 * This module is used through inheritance. It will make available the
 * modifiers `whenNotPaused` and `whenPaused`, which can be applied to
 * the functions of your contract. Note that they will not be pausable by
 * simply including this module, only once the modifiers are put in place.
 */
abstract contract Pausable is Context {
    /**
     * @dev Emitted when the pause is triggered by `account`.
     */
    event Paused(address account);

    /**
     * @dev Emitted when the pause is lifted by `account`.
     */
    event Unpaused(address account);

    bool private _paused;

    /**
     * @dev Initializes the contract in unpaused state.
     */
    constructor () {
        _paused = false;
    }

    /**
     * @dev Returns true if the contract is paused, and false otherwise.
     */
    function paused() public view virtual returns (bool) {
        return _paused;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is not paused.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    modifier whenNotPaused() {
        require(!paused(), "Pausable: paused");
        _;
    }

    /**
     * @dev Modifier to make a function callable only when the contract is paused.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    modifier whenPaused() {
        require(paused(), "Pausable: not paused");
        _;
    }

    /**
     * @dev Triggers stopped state.
     *
     * Requirements:
     *
     * - The contract must not be paused.
     */
    function _pause() internal virtual whenNotPaused {
        _paused = true;
        emit Paused(_msgSender());
    }

    /**
     * @dev Returns to normal state.
     *
     * Requirements:
     *
     * - The contract must be paused.
     */
    function _unpause() internal virtual whenPaused {
        _paused = false;
        emit Unpaused(_msgSender());
    }
}

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

pragma solidity ^0.8.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);
}

File 5 of 8 : SafeERC20.sol
// SPDX-License-Identifier: MIT

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../../../utils/Address.sol";

/**
 * @title SafeERC20
 * @dev Wrappers around ERC20 operations that throw on failure (when the token
 * contract returns false). Tokens that return no value (and instead revert or
 * throw on failure) are also supported, non-reverting calls are assumed to be
 * successful.
 * To use this library you can add a `using SafeERC20 for IERC20;` statement to your contract,
 * which allows you to call the safe operations as `token.safeTransfer(...)`, etc.
 */
library SafeERC20 {
    using Address for address;

    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    function safeTransferFrom(IERC20 token, address from, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transferFrom.selector, from, to, value));
    }

    /**
     * @dev Deprecated. This function has issues similar to the ones found in
     * {IERC20-approve}, and its usage is discouraged.
     *
     * Whenever possible, use {safeIncreaseAllowance} and
     * {safeDecreaseAllowance} instead.
     */
    function safeApprove(IERC20 token, address spender, uint256 value) internal {
        // safeApprove should only be called when setting an initial allowance,
        // or when resetting it to zero. To increase and decrease it, use
        // 'safeIncreaseAllowance' and 'safeDecreaseAllowance'
        // solhint-disable-next-line max-line-length
        require((value == 0) || (token.allowance(address(this), spender) == 0),
            "SafeERC20: approve from non-zero to non-zero allowance"
        );
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, value));
    }

    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 newAllowance = token.allowance(address(this), spender) + value;
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
    }

    function safeDecreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        unchecked {
            uint256 oldAllowance = token.allowance(address(this), spender);
            require(oldAllowance >= value, "SafeERC20: decreased allowance below zero");
            uint256 newAllowance = oldAllowance - value;
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, newAllowance));
        }
    }

    /**
     * @dev Imitates a Solidity high-level call (i.e. a regular function call to a contract), relaxing the requirement
     * on the return value: the return value is optional (but if data is returned, it must not be false).
     * @param token The token targeted by the call.
     * @param data The call data (encoded using abi.encode or one of its variants).
     */
    function _callOptionalReturn(IERC20 token, bytes memory data) private {
        // We need to perform a low level call here, to bypass Solidity's return data size checking mechanism, since
        // we're implementing it ourselves. We use {Address.functionCall} to perform this call, which verifies that
        // the target address contains contract code and also asserts for success in the low-level call.

        bytes memory returndata = address(token).functionCall(data, "SafeERC20: low-level call failed");
        if (returndata.length > 0) { // Return data is optional
            // solhint-disable-next-line max-line-length
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

File 6 of 8 : 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;
        // 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);
            }
        }
    }
}

File 7 of 8 : Context.sol
// SPDX-License-Identifier: MIT

pragma solidity ^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 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) {
        return msg.sender;
    }

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

File 8 of 8 : IVesperPool.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.3;
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";

interface IVesperPool is IERC20 {
    function approveToken() external;

    function domainSeparator() external view returns (bytes32);

    function name() external view returns (string memory);

    function symbol() external view returns (string memory);

    function nonces(address owner) external view returns (uint256);

    function deposit() external payable;

    function deposit(uint256 _share) external;

    function governor() external returns (address);

    function keepers() external returns (address);

    function multiTransfer(
        address[] memory _recipients,
        uint256[] memory _amounts
    ) external returns (bool);

    function excessDebt(address _strategy) external view returns (uint256);

    function permit(
        address,
        address,
        uint256,
        uint256,
        uint8,
        bytes32,
        bytes32
    ) external;

    function reportEarning(
        uint256 _profit,
        uint256 _loss,
        uint256 _payback
    ) external;

    function resetApproval() external;

    function sweepERC20(address _fromToken) external;

    function withdraw(uint256 _amount) external;

    function withdrawETH(uint256 _amount) external;

    function whitelistedWithdraw(uint256 _amount) external;

    function feeCollector() external view returns (address);

    function pricePerShare() external view returns (uint256);

    function token() external view returns (address);

    function tokensHere() external view returns (uint256);

    function totalDebtOf(address _strategy) external view returns (uint256);

    function totalValue() external view returns (uint256);

    function withdrawFee() external view returns (uint256);
}

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

Contract Security Audit

Contract ABI

[{"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":false,"internalType":"address","name":"account","type":"address"}],"name":"Paused","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"account","type":"address"}],"name":"Unpaused","type":"event"},{"inputs":[{"internalType":"address","name":"token","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"address","name":"spender","type":"address"}],"name":"approveToken","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"tokens","type":"address[]"},{"internalType":"uint256[]","name":"amounts","type":"uint256[]"},{"internalType":"address[]","name":"spenders","type":"address[]"}],"name":"approveTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"pause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"paused","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"setPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vTokenA","type":"address"},{"internalType":"address","name":"vTokenB","type":"address"},{"internalType":"uint256","name":"amountA","type":"uint256"}],"name":"simpleMigrate","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"vTokenA","type":"address"},{"internalType":"address","name":"vTokenB","type":"address"},{"internalType":"address","name":"from","type":"address"},{"internalType":"address","name":"to","type":"address"},{"internalType":"uint256","name":"amount","type":"uint256"},{"internalType":"uint256","name":"deadline","type":"uint256"},{"internalType":"uint8","name":"v","type":"uint8"},{"internalType":"bytes32","name":"r","type":"bytes32"},{"internalType":"bytes32","name":"s","type":"bytes32"}],"name":"simpleMigrateWithPermit","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"unpause","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"pool","type":"address"}],"name":"unsetPool","outputs":[],"stateMutability":"nonpayable","type":"function"},{"stateMutability":"payable","type":"receive"}]

608060405234801561001057600080fd5b50600080546001600160a81b031916336101008102919091178255604051909182917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908290a350611428806100676000396000f3fe6080604052600436106100ab5760003560e01c80638456cb59116100645780638456cb59146101b65780638da5cb5b146101cb578063c3acd6b614610207578063c863bac114610227578063d24612e914610247578063f2fde38b14610267576100fd565b80633f4ba83a146101025780634437152a146101195780635c975abb146101395780636a79748314610161578063715018a6146101815780637d54952214610196576100fd565b366100fd5760405162461bcd60e51b815260206004820152601960248201527f77652d646f2d6e6f742d77616e742d796f75722d6d6f6e65790000000000000060448201526064015b60405180910390fd5b600080fd5b34801561010e57600080fd5b50610117610287565b005b34801561012557600080fd5b50610117610134366004611085565b6102c1565b34801561014557600080fd5b5060005460ff1660405190151581526020015b60405180910390f35b34801561016d57600080fd5b5061011761017c366004611085565b610383565b34801561018d57600080fd5b50610117610432565b3480156101a257600080fd5b506101176101b13660046111e1565b6104b1565b3480156101c257600080fd5b506101176105d8565b3480156101d757600080fd5b506101ef60005461010090046001600160a01b031690565b6040516001600160a01b039091168152602001610158565b34801561021357600080fd5b506101176102223660046110c4565b610610565b34801561023357600080fd5b506101176102423660046111a0565b610681565b34801561025357600080fd5b50610117610262366004611160565b6106c1565b34801561027357600080fd5b50610117610282366004611085565b610cf0565b6000546001600160a01b036101009091041633146102b75760405162461bcd60e51b81526004016100f4906112f5565b6102bf610deb565b565b6000546001600160a01b036101009091041633146102f15760405162461bcd60e51b81526004016100f4906112f5565b6000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032c57600080fd5b505afa158015610340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036491906110a8565b905061037281600084610e7e565b61037f8160001984610e7e565b5050565b6000546001600160a01b036101009091041633146103b35760405162461bcd60e51b81526004016100f4906112f5565b61042f816001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ef57600080fd5b505afa158015610403573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042791906110a8565b600083610e7e565b50565b6000546001600160a01b036101009091041633146104625760405162461bcd60e51b81526004016100f4906112f5565b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b6000546001600160a01b036101009091041633146104e15760405162461bcd60e51b81526004016100f4906112f5565b815183511480156104f3575080518351145b6105345760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a590b5d1bdad95b8b5b1a5cdd60721b60448201526064016100f4565b60005b83518110156105d2576105c084828151811061056357634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061058b57634e487b7160e01b600052603260045260246000fd5b60200260200101518484815181106105b357634e487b7160e01b600052603260045260246000fd5b6020026020010151610e7e565b806105ca81611396565b915050610537565b50505050565b6000546001600160a01b036101009091041633146106085760405162461bcd60e51b81526004016100f4906112f5565b6102bf610f00565b6001600160a01b038616301461065b5760405162461bcd60e51b815260206004820152601060248201526f34b73b30b634b216b932b1b2b4bb32b960811b60448201526064016100f4565b61066b8988888888888888610f7b565b6106768989876106c1565b505050505050505050565b6000546001600160a01b036101009091041633146106b15760405162461bcd60e51b81526004016100f4906112f5565b6106bc838383610e7e565b505050565b60005460ff1615806106fa57506106e560005461010090046001600160a01b031690565b6001600160a01b0316336001600160a01b0316145b6107465760405162461bcd60e51b815260206004820152601860248201527f636f6e74726163742d6861732d6265656e2d706175736564000000000000000060448201526064016100f4565b60008390506000839050806001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561078957600080fd5b505afa15801561079d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c191906110a8565b6001600160a01b0316826001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561080357600080fd5b505afa158015610817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083b91906110a8565b6001600160a01b0316146108915760405162461bcd60e51b815260206004820152601b60248201527f556e6d61746368656420756e6465726c79696e6720746f6b656e73000000000060448201526064016100f4565b60003390506000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108d157600080fd5b505afa1580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090991906110a8565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b15801561094e57600080fd5b505afa158015610962573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098691906112dd565b6040516323b872dd60e01b81526001600160a01b03858116600483015230602483015260448201899052919250908616906323b872dd90606401602060405180830381600087803b1580156109da57600080fd5b505af11580156109ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1291906112bd565b5060405160016226f16160e21b03198152600481018790526001600160a01b0386169063ff643a7c90602401600060405180830381600087803b158015610a5857600080fd5b505af1158015610a6c573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092506001600160a01b03851691506370a082319060240160206040518083038186803b158015610ab257600080fd5b505afa158015610ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aea91906112dd565b90506000610af8838361137f565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038816906370a082319060240160206040518083038186803b158015610b3d57600080fd5b505afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906112dd565b60405163b6b55f2560e01b8152600481018490529091506001600160a01b0388169063b6b55f2590602401600060405180830381600087803b158015610bba57600080fd5b505af1158015610bce573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092506001600160a01b038a1691506370a082319060240160206040518083038186803b158015610c1457600080fd5b505afa158015610c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4c91906112dd565b90506000610c5a838361137f565b60405163a9059cbb60e01b81526001600160a01b038a8116600483015260248201839052919250908a169063a9059cbb90604401602060405180830381600087803b158015610ca857600080fd5b505af1158015610cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce091906112bd565b5050505050505050505050505050565b6000546001600160a01b03610100909104163314610d205760405162461bcd60e51b81526004016100f4906112f5565b6001600160a01b038116610d855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100f4565b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60005460ff16610e345760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016100f4565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60405163095ea7b360e01b81526001600160a01b0382811660048301526024820184905284169063095ea7b390604401602060405180830381600087803b158015610ec857600080fd5b505af1158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d291906112bd565b60005460ff1615610f465760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016100f4565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e613390565b60405163d505accf60e01b81526001600160a01b0388811660048301528781166024830152604482018790526064820186905260ff8516608483015260a4820184905260c4820183905289169063d505accf9060e401600060405180830381600087803b158015610feb57600080fd5b505af1158015610fff573d6000803e3d6000fd5b505050505050505050505050565b600082601f83011261101d578081fd5b8135602061103261102d8361135b565b61132a565b80838252828201915082860187848660051b8901011115611051578586fd5b855b85811015611078578135611066816113dd565b84529284019290840190600101611053565b5090979650505050505050565b600060208284031215611096578081fd5b81356110a1816113dd565b9392505050565b6000602082840312156110b9578081fd5b81516110a1816113dd565b60008060008060008060008060006101208a8c0312156110e2578485fd5b89356110ed816113dd565b985060208a01356110fd816113dd565b975060408a013561110d816113dd565b965060608a013561111d816113dd565b955060808a0135945060a08a0135935060c08a013560ff81168114611140578384fd5b8093505060e08a013591506101008a013590509295985092959850929598565b600080600060608486031215611174578283fd5b833561117f816113dd565b9250602084013561118f816113dd565b929592945050506040919091013590565b6000806000606084860312156111b4578283fd5b83356111bf816113dd565b92506020840135915060408401356111d6816113dd565b809150509250925092565b6000806000606084860312156111f5578283fd5b833567ffffffffffffffff8082111561120c578485fd5b6112188783880161100d565b945060209150818601358181111561122e578485fd5b8601601f8101881361123e578485fd5b803561124c61102d8261135b565b8082825285820191508584018b878560051b870101111561126b578889fd5b8894505b8385101561128d57803583526001949094019391860191860161126f565b50965050505060408601359150808211156112a6578283fd5b506112b38682870161100d565b9150509250925092565b6000602082840312156112ce578081fd5b815180151581146110a1578182fd5b6000602082840312156112ee578081fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611353576113536113c7565b604052919050565b600067ffffffffffffffff821115611375576113756113c7565b5060051b60200190565b600082821015611391576113916113b1565b500390565b60006000198214156113aa576113aa6113b1565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461042f57600080fdfea26469706673582212209c90f818e7e093097fd67d106f948a72ae552b0777e87f89d331686633d08e4164736f6c63430008030033

Deployed Bytecode

0x6080604052600436106100ab5760003560e01c80638456cb59116100645780638456cb59146101b65780638da5cb5b146101cb578063c3acd6b614610207578063c863bac114610227578063d24612e914610247578063f2fde38b14610267576100fd565b80633f4ba83a146101025780634437152a146101195780635c975abb146101395780636a79748314610161578063715018a6146101815780637d54952214610196576100fd565b366100fd5760405162461bcd60e51b815260206004820152601960248201527f77652d646f2d6e6f742d77616e742d796f75722d6d6f6e65790000000000000060448201526064015b60405180910390fd5b600080fd5b34801561010e57600080fd5b50610117610287565b005b34801561012557600080fd5b50610117610134366004611085565b6102c1565b34801561014557600080fd5b5060005460ff1660405190151581526020015b60405180910390f35b34801561016d57600080fd5b5061011761017c366004611085565b610383565b34801561018d57600080fd5b50610117610432565b3480156101a257600080fd5b506101176101b13660046111e1565b6104b1565b3480156101c257600080fd5b506101176105d8565b3480156101d757600080fd5b506101ef60005461010090046001600160a01b031690565b6040516001600160a01b039091168152602001610158565b34801561021357600080fd5b506101176102223660046110c4565b610610565b34801561023357600080fd5b506101176102423660046111a0565b610681565b34801561025357600080fd5b50610117610262366004611160565b6106c1565b34801561027357600080fd5b50610117610282366004611085565b610cf0565b6000546001600160a01b036101009091041633146102b75760405162461bcd60e51b81526004016100f4906112f5565b6102bf610deb565b565b6000546001600160a01b036101009091041633146102f15760405162461bcd60e51b81526004016100f4906112f5565b6000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561032c57600080fd5b505afa158015610340573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061036491906110a8565b905061037281600084610e7e565b61037f8160001984610e7e565b5050565b6000546001600160a01b036101009091041633146103b35760405162461bcd60e51b81526004016100f4906112f5565b61042f816001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156103ef57600080fd5b505afa158015610403573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061042791906110a8565b600083610e7e565b50565b6000546001600160a01b036101009091041633146104625760405162461bcd60e51b81526004016100f4906112f5565b600080546040516101009091046001600160a01b0316907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0908390a360008054610100600160a81b0319169055565b6000546001600160a01b036101009091041633146104e15760405162461bcd60e51b81526004016100f4906112f5565b815183511480156104f3575080518351145b6105345760405162461bcd60e51b81526020600482015260126024820152711a5b9d985b1a590b5d1bdad95b8b5b1a5cdd60721b60448201526064016100f4565b60005b83518110156105d2576105c084828151811061056357634e487b7160e01b600052603260045260246000fd5b602002602001015184838151811061058b57634e487b7160e01b600052603260045260246000fd5b60200260200101518484815181106105b357634e487b7160e01b600052603260045260246000fd5b6020026020010151610e7e565b806105ca81611396565b915050610537565b50505050565b6000546001600160a01b036101009091041633146106085760405162461bcd60e51b81526004016100f4906112f5565b6102bf610f00565b6001600160a01b038616301461065b5760405162461bcd60e51b815260206004820152601060248201526f34b73b30b634b216b932b1b2b4bb32b960811b60448201526064016100f4565b61066b8988888888888888610f7b565b6106768989876106c1565b505050505050505050565b6000546001600160a01b036101009091041633146106b15760405162461bcd60e51b81526004016100f4906112f5565b6106bc838383610e7e565b505050565b60005460ff1615806106fa57506106e560005461010090046001600160a01b031690565b6001600160a01b0316336001600160a01b0316145b6107465760405162461bcd60e51b815260206004820152601860248201527f636f6e74726163742d6861732d6265656e2d706175736564000000000000000060448201526064016100f4565b60008390506000839050806001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561078957600080fd5b505afa15801561079d573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107c191906110a8565b6001600160a01b0316826001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b15801561080357600080fd5b505afa158015610817573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061083b91906110a8565b6001600160a01b0316146108915760405162461bcd60e51b815260206004820152601b60248201527f556e6d61746368656420756e6465726c79696e6720746f6b656e73000000000060448201526064016100f4565b60003390506000836001600160a01b031663fc0c546a6040518163ffffffff1660e01b815260040160206040518083038186803b1580156108d157600080fd5b505afa1580156108e5573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061090991906110a8565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038316906370a082319060240160206040518083038186803b15801561094e57600080fd5b505afa158015610962573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061098691906112dd565b6040516323b872dd60e01b81526001600160a01b03858116600483015230602483015260448201899052919250908616906323b872dd90606401602060405180830381600087803b1580156109da57600080fd5b505af11580156109ee573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a1291906112bd565b5060405160016226f16160e21b03198152600481018790526001600160a01b0386169063ff643a7c90602401600060405180830381600087803b158015610a5857600080fd5b505af1158015610a6c573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092506001600160a01b03851691506370a082319060240160206040518083038186803b158015610ab257600080fd5b505afa158015610ac6573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610aea91906112dd565b90506000610af8838361137f565b6040516370a0823160e01b81523060048201529091506000906001600160a01b038816906370a082319060240160206040518083038186803b158015610b3d57600080fd5b505afa158015610b51573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610b7591906112dd565b60405163b6b55f2560e01b8152600481018490529091506001600160a01b0388169063b6b55f2590602401600060405180830381600087803b158015610bba57600080fd5b505af1158015610bce573d6000803e3d6000fd5b50506040516370a0823160e01b8152306004820152600092506001600160a01b038a1691506370a082319060240160206040518083038186803b158015610c1457600080fd5b505afa158015610c28573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610c4c91906112dd565b90506000610c5a838361137f565b60405163a9059cbb60e01b81526001600160a01b038a8116600483015260248201839052919250908a169063a9059cbb90604401602060405180830381600087803b158015610ca857600080fd5b505af1158015610cbc573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610ce091906112bd565b5050505050505050505050505050565b6000546001600160a01b03610100909104163314610d205760405162461bcd60e51b81526004016100f4906112f5565b6001600160a01b038116610d855760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016100f4565b600080546040516001600160a01b038085169361010090930416917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e091a3600080546001600160a01b0390921661010002610100600160a81b0319909216919091179055565b60005460ff16610e345760405162461bcd60e51b815260206004820152601460248201527314185d5cd8589b194e881b9bdd081c185d5cd95960621b60448201526064016100f4565b6000805460ff191690557f5db9ee0a495bf2e6ff9c91a7834c1ba4fdd244a5e8aa4e537bd38aeae4b073aa335b6040516001600160a01b03909116815260200160405180910390a1565b60405163095ea7b360e01b81526001600160a01b0382811660048301526024820184905284169063095ea7b390604401602060405180830381600087803b158015610ec857600080fd5b505af1158015610edc573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105d291906112bd565b60005460ff1615610f465760405162461bcd60e51b815260206004820152601060248201526f14185d5cd8589b194e881c185d5cd95960821b60448201526064016100f4565b6000805460ff191660011790557f62e78cea01bee320cd4e420270b5ea74000d11b0c9f74754ebdbfc544b05a258610e613390565b60405163d505accf60e01b81526001600160a01b0388811660048301528781166024830152604482018790526064820186905260ff8516608483015260a4820184905260c4820183905289169063d505accf9060e401600060405180830381600087803b158015610feb57600080fd5b505af1158015610fff573d6000803e3d6000fd5b505050505050505050505050565b600082601f83011261101d578081fd5b8135602061103261102d8361135b565b61132a565b80838252828201915082860187848660051b8901011115611051578586fd5b855b85811015611078578135611066816113dd565b84529284019290840190600101611053565b5090979650505050505050565b600060208284031215611096578081fd5b81356110a1816113dd565b9392505050565b6000602082840312156110b9578081fd5b81516110a1816113dd565b60008060008060008060008060006101208a8c0312156110e2578485fd5b89356110ed816113dd565b985060208a01356110fd816113dd565b975060408a013561110d816113dd565b965060608a013561111d816113dd565b955060808a0135945060a08a0135935060c08a013560ff81168114611140578384fd5b8093505060e08a013591506101008a013590509295985092959850929598565b600080600060608486031215611174578283fd5b833561117f816113dd565b9250602084013561118f816113dd565b929592945050506040919091013590565b6000806000606084860312156111b4578283fd5b83356111bf816113dd565b92506020840135915060408401356111d6816113dd565b809150509250925092565b6000806000606084860312156111f5578283fd5b833567ffffffffffffffff8082111561120c578485fd5b6112188783880161100d565b945060209150818601358181111561122e578485fd5b8601601f8101881361123e578485fd5b803561124c61102d8261135b565b8082825285820191508584018b878560051b870101111561126b578889fd5b8894505b8385101561128d57803583526001949094019391860191860161126f565b50965050505060408601359150808211156112a6578283fd5b506112b38682870161100d565b9150509250925092565b6000602082840312156112ce578081fd5b815180151581146110a1578182fd5b6000602082840312156112ee578081fd5b5051919050565b6020808252818101527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e6572604082015260600190565b604051601f8201601f1916810167ffffffffffffffff81118282101715611353576113536113c7565b604052919050565b600067ffffffffffffffff821115611375576113756113c7565b5060051b60200190565b600082821015611391576113916113b1565b500390565b60006000198214156113aa576113aa6113b1565b5060010190565b634e487b7160e01b600052601160045260246000fd5b634e487b7160e01b600052604160045260246000fd5b6001600160a01b038116811461042f57600080fdfea26469706673582212209c90f818e7e093097fd67d106f948a72ae552b0777e87f89d331686633d08e4164736f6c63430008030033

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
Loading...
Loading

Validator Index Block Amount
View All Withdrawals

Transaction Hash Block Value Eth2 PubKey Valid
View All Deposits
Loading...
Loading
[ Download: CSV Export  ]

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