ETH Price: $2,119.37 (+3.57%)
 

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Block
From
To
Zap In1425683442025-10-17 21:11:05146 days ago1760735465IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000002353220.00100085
Zap In1424306312025-10-14 16:40:39149 days ago1760460039IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000376480.00010157
Zap In1422868632025-10-11 8:48:23152 days ago1760172503IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000099090.00000564
Zap In1412318172025-09-16 22:40:11177 days ago1758062411IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000032220.00000644
Zap In1406705522025-09-03 22:51:21190 days ago1756939881IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000056480.00001126
Zap In1403631342025-08-27 20:04:05197 days ago1756325045IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000308010.00010106
Zap In1396251102025-08-10 18:03:17214 days ago1754848997IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000301130.00010038
Zap In1394979672025-08-07 19:25:11217 days ago1754594711IN
0x498d9dCB...Ba4477BE2
0 ETH0.000000271260.0010006
Zap In1388099732025-07-22 21:12:03233 days ago1753218723IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000295780.00010499
Zap In1385342462025-07-16 12:01:09239 days ago1752667269IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000892550.00027551
Zap In1385337872025-07-16 11:45:51239 days ago1752666351IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000001040930.00028632
Zap In1385331192025-07-16 11:23:35239 days ago1752665015IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000001390790.00032847
Zap In1384615212025-07-14 19:36:59241 days ago1752521819IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000945140.00010038
Zap In1381867712025-07-08 10:58:39247 days ago1751972319IN
0x498d9dCB...Ba4477BE2
0 ETH0.000000288950.0010016
Zap In1381070682025-07-06 14:41:53249 days ago1751812913IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000002551490.0010006
Zap In1379995732025-07-04 2:58:43251 days ago1751597923IN
0x498d9dCB...Ba4477BE2
0 ETH0.000000026910.00010316
Zap In1379795352025-07-03 15:50:47252 days ago1751557847IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000431490.00010046
Zap In1379331062025-07-02 14:03:09253 days ago1751464989IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000002805960.0010031
Zap In1376552672025-06-26 3:41:51259 days ago1750909311IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000347340.00011025
Zap In1376551022025-06-26 3:36:21259 days ago1750908981IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000378340.00010998
Zap In1376548172025-06-26 3:26:51259 days ago1750908411IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000363270.00010999
Zap In1376546092025-06-26 3:19:55259 days ago1750907995IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000000413430.00011001
Zap In1350062972025-04-25 20:02:51321 days ago1745611371IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000003724220.00120329
Zap In1331131662025-03-13 0:18:29365 days ago1741825109IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000002572720.0010963
Zap In1328110182025-03-06 0:26:53372 days ago1741220813IN
0x498d9dCB...Ba4477BE2
0 ETH0.0000002374650.00100053
View all transactions

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075582992023-07-30 11:09:35956 days ago1690715375
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075581712023-07-30 11:05:19956 days ago1690715119
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
1075572192023-07-30 10:33:35956 days ago1690713215
0x498d9dCB...Ba4477BE2
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StakingRewardsZap

Compiler Version
v0.8.15+commit.e14f2714

Optimization Enabled:
Yes with 200 runs

Other Settings:
default evmVersion, GNU AGPLv3 license
// SPDX-License-Identifier: AGPL-3.0
pragma solidity ^0.8.15;

import "@openzeppelin/contracts/access/Ownable.sol";
import "@openzeppelin/contracts/token/ERC20/IERC20.sol";
import "@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol";

interface IVault is IERC20 {
    function token() external view returns (address);

    function deposit(uint256, address) external returns (uint256);
}

interface IStakingRewards {
    function stakeFor(address recipient, uint256 amount) external;
}

interface IRegistry {
    function stakingPool(address vault) external view returns (address);
}

contract StakingRewardsZap is Ownable {
    using SafeERC20 for IERC20;

    /* ========== STATE VARIABLES ========== */

    /// @notice Address of our staking pool registry.
    address public stakingPoolRegistry;

    /* ========== EVENTS ========== */

    event ZapIn(
        address indexed user,
        address indexed targetVault,
        uint256 amount
    );

    event UpdatedPoolRegistry(address registry);
    event Recovered(address token, uint256 amount);

    /* ========== CONSTRUCTOR ========== */

    constructor(address _stakingPoolRegistry) {
        stakingPoolRegistry = _stakingPoolRegistry;
    }

    /* ========== MUTATIVE FUNCTIONS ========== */

    function zapIn(address _targetVault, uint256 _underlyingAmount)
        external
        returns (uint256)
    {
        // get our staking pool from our registry for this vault token
        IRegistry poolRegistry = IRegistry(stakingPoolRegistry);

        // check what our address is, make sure it's not zero
        address _vaultStakingPool = poolRegistry.stakingPool(_targetVault);
        require(_vaultStakingPool != address(0), "staking pool doesn't exist");
        IStakingRewards vaultStakingPool = IStakingRewards(_vaultStakingPool);

        // get our underlying token
        IVault targetVault = IVault(_targetVault);
        IERC20 underlying = IERC20(targetVault.token());

        // transfer to zap and deposit underlying to vault, but first check our approvals and store starting amount
        _checkAllowance(_targetVault, address(underlying), _underlyingAmount);
        uint256 beforeAmount = underlying.balanceOf(address(this));
        underlying.transferFrom(msg.sender, address(this), _underlyingAmount);

        // deposit only our underlying amount, make sure deposit worked
        uint256 toStake = targetVault.deposit(_underlyingAmount, address(this));

        // this shouldn't be reached thanks to vault checks, but leave it in case vault code changes
        require(
            underlying.balanceOf(address(this)) == beforeAmount && toStake > 0,
            "deposit failed"
        );

        // make sure we have approved the staking pool, as they can be added/updated at any time
        _checkAllowance(_vaultStakingPool, _targetVault, toStake);

        // stake for our user, return the amount we staked
        vaultStakingPool.stakeFor(msg.sender, toStake);
        emit ZapIn(msg.sender, address(targetVault), toStake);
        return toStake;
    }

    function _checkAllowance(
        address _contract,
        address _token,
        uint256 _amount
    ) internal {
        if (IERC20(_token).allowance(address(this), _contract) < _amount) {
            IERC20(_token).safeApprove(_contract, 0);
            IERC20(_token).safeApprove(_contract, type(uint256).max);
        }
    }

    /// @notice Use this in case someone accidentally sends tokens here.
    function recoverERC20(address tokenAddress, uint256 tokenAmount)
        external
        onlyOwner
    {
        IERC20(tokenAddress).safeTransfer(owner(), tokenAmount);
        emit Recovered(tokenAddress, tokenAmount);
    }

    /* ========== SETTERS ========== */

    /**
    @notice Set the registry for pulling our staking pools.
    @dev Throws if caller is not owner.
    @param _stakingPoolRegistry The address to use as pool registry.
     */
    function setPoolRegistry(address _stakingPoolRegistry) external onlyOwner {
        stakingPoolRegistry = _stakingPoolRegistry;
        emit UpdatedPoolRegistry(_stakingPoolRegistry);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/draft-IERC20Permit.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'
        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));
        }
    }

    function safePermit(
        IERC20Permit token,
        address owner,
        address spender,
        uint256 value,
        uint256 deadline,
        uint8 v,
        bytes32 r,
        bytes32 s
    ) internal {
        uint256 nonceBefore = token.nonces(owner);
        token.permit(owner, spender, value, deadline, v, r, s);
        uint256 nonceAfter = token.nonces(owner);
        require(nonceAfter == nonceBefore + 1, "SafeERC20: permit did not succeed");
    }

    /**
     * @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
            require(abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation did not succeed");
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.6.0) (token/ERC20/IERC20.sol)

pragma solidity ^0.8.0;

/**
 * @dev Interface of the ERC20 standard as defined in the EIP.
 */
interface IERC20 {
    /**
     * @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);

    /**
     * @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 `to`.
     *
     * Returns a boolean value indicating whether the operation succeeded.
     *
     * Emits a {Transfer} event.
     */
    function transfer(address to, 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 `from` to `to` 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 from,
        address to,
        uint256 amount
    ) external returns (bool);
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.7.0) (access/Ownable.sol)

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() {
        _transferOwnership(_msgSender());
    }

    /**
     * @dev Throws if called by any account other than the owner.
     */
    modifier onlyOwner() {
        _checkOwner();
        _;
    }

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

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        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 {
        _transferOwnership(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");
        _transferOwnership(newOwner);
    }

    /**
     * @dev Transfers ownership of the contract to a new account (`newOwner`).
     * Internal function without access restriction.
     */
    function _transferOwnership(address newOwner) internal virtual {
        address oldOwner = _owner;
        _owner = newOwner;
        emit OwnershipTransferred(oldOwner, newOwner);
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.8.0) (utils/Address.sol)

pragma solidity ^0.8.1;

/**
 * @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
     * ====
     *
     * [IMPORTANT]
     * ====
     * You shouldn't rely on `isContract` to protect against flash loan attacks!
     *
     * Preventing calls from contracts is highly discouraged. It breaks composability, breaks support for smart wallets
     * like Gnosis Safe, and does not provide security since it can be circumvented by calling from a contract
     * constructor.
     * ====
     */
    function isContract(address account) internal view returns (bool) {
        // This method relies on extcodesize/address.code.length, which returns 0
        // for contracts in construction, since the code is only stored at the end
        // of the constructor execution.

        return account.code.length > 0;
    }

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

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

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

    /**
     * @dev Tool to verify that a low level call to smart-contract was successful, and revert (either by bubbling
     * the revert reason or using the provided one) in case of unsuccessful call or if target was not a contract.
     *
     * _Available since v4.8._
     */
    function verifyCallResultFromTarget(
        address target,
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal view returns (bytes memory) {
        if (success) {
            if (returndata.length == 0) {
                // only check isContract if the call was successful and the return data is empty
                // otherwise we already know that it was a contract
                require(isContract(target), "Address: call to non-contract");
            }
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    /**
     * @dev Tool to verify that a low level call was successful, and revert if it wasn't, either by bubbling the
     * revert reason or using the provided one.
     *
     * _Available since v4.3._
     */
    function verifyCallResult(
        bool success,
        bytes memory returndata,
        string memory errorMessage
    ) internal pure returns (bytes memory) {
        if (success) {
            return returndata;
        } else {
            _revert(returndata, errorMessage);
        }
    }

    function _revert(bytes memory returndata, string memory errorMessage) private pure {
        // 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
            /// @solidity memory-safe-assembly
            assembly {
                let returndata_size := mload(returndata)
                revert(add(32, returndata), returndata_size)
            }
        } else {
            revert(errorMessage);
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts v4.4.1 (token/ERC20/extensions/draft-IERC20Permit.sol)

pragma solidity ^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
// OpenZeppelin Contracts v4.4.1 (utils/Context.sol)

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) {
        return msg.data;
    }
}

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

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"_stakingPoolRegistry","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":false,"internalType":"address","name":"token","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"Recovered","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"registry","type":"address"}],"name":"UpdatedPoolRegistry","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"user","type":"address"},{"indexed":true,"internalType":"address","name":"targetVault","type":"address"},{"indexed":false,"internalType":"uint256","name":"amount","type":"uint256"}],"name":"ZapIn","type":"event"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"tokenAddress","type":"address"},{"internalType":"uint256","name":"tokenAmount","type":"uint256"}],"name":"recoverERC20","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"_stakingPoolRegistry","type":"address"}],"name":"setPoolRegistry","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"stakingPoolRegistry","outputs":[{"internalType":"address","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":"_targetVault","type":"address"},{"internalType":"uint256","name":"_underlyingAmount","type":"uint256"}],"name":"zapIn","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"nonpayable","type":"function"}]

608060405234801561001057600080fd5b50604051610e1f380380610e1f83398101604081905261002f916100ad565b6100383361005d565b600180546001600160a01b0319166001600160a01b03929092169190911790556100dd565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6000602082840312156100bf57600080fd5b81516001600160a01b03811681146100d657600080fd5b9392505050565b610d33806100ec6000396000f3fe608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b2578063dad4cd52146100dc578063f2fde38b146100fd578063f59e3de71461011057600080fd5b8063715018a6146100825780637b77cd6a1461008c5780638980f11f1461009f575b600080fd5b61008a610123565b005b61008a61009a366004610bd6565b610137565b61008a6100ad366004610bfa565b610193565b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100ef6100ea366004610bfa565b610207565b6040519081526020016100d3565b61008a61010b366004610bd6565b61061b565b6001546100bf906001600160a01b031681565b61012b610694565b61013560006106ee565b565b61013f610694565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f4d0a7da7e62f11a960fb7fd79e99e71b5d2152abf9d16ef979661dfc13a708749060200160405180910390a150565b61019b610694565b6101c16101b06000546001600160a01b031690565b6001600160a01b038416908361073e565b604080516001600160a01b0384168152602081018390527f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28910160405180910390a15050565b600154604051638dddb3e560e01b81526001600160a01b038481166004830152600092169082908290638dddb3e590602401602060405180830381865afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a9190610c26565b90506001600160a01b0381166102d75760405162461bcd60e51b815260206004820152601a60248201527f7374616b696e6720706f6f6c20646f65736e277420657869737400000000000060448201526064015b60405180910390fd5b600081905060008690506000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610321573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103459190610c26565b90506103528882896107a6565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bd9190610c43565b6040516323b872dd60e01b8152336004820152306024820152604481018a90529091506001600160a01b038316906323b872dd906064016020604051808303816000875af1158015610413573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104379190610c5c565b50604051636e553f6560e01b8152600481018990523060248201526000906001600160a01b03851690636e553f65906044016020604051808303816000875af1158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190610c43565b6040516370a0823160e01b815230600482015290915082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156104f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105199190610c43565b1480156105265750600081115b6105635760405162461bcd60e51b815260206004820152600e60248201526d19195c1bdcda5d0819985a5b195960921b60448201526064016102ce565b61056e868b836107a6565b6040516305dc812160e31b8152336004820152602481018290526001600160a01b03861690632ee4090890604401600060405180830381600087803b1580156105b657600080fd5b505af11580156105ca573d6000803e3d6000fd5b50506040518381526001600160a01b03871692503391507f4fd86e42fdf9189d86bda34d3e693c24264ea2b54ff7796d9e1d40f5e29f4f599060200160405180910390a39998505050505050505050565b610623610694565b6001600160a01b0381166106885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ce565b610691816106ee565b50565b6000546001600160a01b031633146101355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0383166024820152604481018290526107a190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261084a565b505050565b604051636eb1769f60e11b81523060048201526001600160a01b03848116602483015282919084169063dd62ed3e90604401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190610c43565b10156107a1576108346001600160a01b03831684600061091c565b6107a16001600160a01b0383168460001961091c565b600061089f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a319092919063ffffffff16565b8051909150156107a157808060200190518101906108bd9190610c5c565b6107a15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ce565b8015806109965750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190610c43565b155b610a015760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016102ce565b6040516001600160a01b0383166024820152604481018290526107a190849063095ea7b360e01b9060640161076a565b6060610a408484600085610a48565b949350505050565b606082471015610aa95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ce565b600080866001600160a01b03168587604051610ac59190610cae565b60006040518083038185875af1925050503d8060008114610b02576040519150601f19603f3d011682016040523d82523d6000602084013e610b07565b606091505b5091509150610b1887838387610b23565b979650505050505050565b60608315610b92578251600003610b8b576001600160a01b0385163b610b8b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ce565b5081610a40565b610a408383815115610ba75781518083602001fd5b8060405162461bcd60e51b81526004016102ce9190610cca565b6001600160a01b038116811461069157600080fd5b600060208284031215610be857600080fd5b8135610bf381610bc1565b9392505050565b60008060408385031215610c0d57600080fd5b8235610c1881610bc1565b946020939093013593505050565b600060208284031215610c3857600080fd5b8151610bf381610bc1565b600060208284031215610c5557600080fd5b5051919050565b600060208284031215610c6e57600080fd5b81518015158114610bf357600080fd5b60005b83811015610c99578181015183820152602001610c81565b83811115610ca8576000848401525b50505050565b60008251610cc0818460208701610c7e565b9190910192915050565b6020815260008251806020840152610ce9816040850160208701610c7e565b601f01601f1916919091016040019291505056fea2646970667358221220810da57569881e0e2e01be3c4bd11a879f2f6f06bb48ed6e8b51853bffe20dd964736f6c634300080f00330000000000000000000000008ed9f6343f057870f1def47aae7cd88dfaa049a8

Deployed Bytecode

0x608060405234801561001057600080fd5b506004361061007d5760003560e01c80638da5cb5b1161005b5780638da5cb5b146100b2578063dad4cd52146100dc578063f2fde38b146100fd578063f59e3de71461011057600080fd5b8063715018a6146100825780637b77cd6a1461008c5780638980f11f1461009f575b600080fd5b61008a610123565b005b61008a61009a366004610bd6565b610137565b61008a6100ad366004610bfa565b610193565b6000546001600160a01b03165b6040516001600160a01b0390911681526020015b60405180910390f35b6100ef6100ea366004610bfa565b610207565b6040519081526020016100d3565b61008a61010b366004610bd6565b61061b565b6001546100bf906001600160a01b031681565b61012b610694565b61013560006106ee565b565b61013f610694565b600180546001600160a01b0319166001600160a01b0383169081179091556040519081527f4d0a7da7e62f11a960fb7fd79e99e71b5d2152abf9d16ef979661dfc13a708749060200160405180910390a150565b61019b610694565b6101c16101b06000546001600160a01b031690565b6001600160a01b038416908361073e565b604080516001600160a01b0384168152602081018390527f8c1256b8896378cd5044f80c202f9772b9d77dc85c8a6eb51967210b09bfaa28910160405180910390a15050565b600154604051638dddb3e560e01b81526001600160a01b038481166004830152600092169082908290638dddb3e590602401602060405180830381865afa158015610256573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061027a9190610c26565b90506001600160a01b0381166102d75760405162461bcd60e51b815260206004820152601a60248201527f7374616b696e6720706f6f6c20646f65736e277420657869737400000000000060448201526064015b60405180910390fd5b600081905060008690506000816001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610321573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103459190610c26565b90506103528882896107a6565b6040516370a0823160e01b81523060048201526000906001600160a01b038316906370a0823190602401602060405180830381865afa158015610399573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103bd9190610c43565b6040516323b872dd60e01b8152336004820152306024820152604481018a90529091506001600160a01b038316906323b872dd906064016020604051808303816000875af1158015610413573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104379190610c5c565b50604051636e553f6560e01b8152600481018990523060248201526000906001600160a01b03851690636e553f65906044016020604051808303816000875af1158015610488573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104ac9190610c43565b6040516370a0823160e01b815230600482015290915082906001600160a01b038516906370a0823190602401602060405180830381865afa1580156104f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105199190610c43565b1480156105265750600081115b6105635760405162461bcd60e51b815260206004820152600e60248201526d19195c1bdcda5d0819985a5b195960921b60448201526064016102ce565b61056e868b836107a6565b6040516305dc812160e31b8152336004820152602481018290526001600160a01b03861690632ee4090890604401600060405180830381600087803b1580156105b657600080fd5b505af11580156105ca573d6000803e3d6000fd5b50506040518381526001600160a01b03871692503391507f4fd86e42fdf9189d86bda34d3e693c24264ea2b54ff7796d9e1d40f5e29f4f599060200160405180910390a39998505050505050505050565b610623610694565b6001600160a01b0381166106885760405162461bcd60e51b815260206004820152602660248201527f4f776e61626c653a206e6577206f776e657220697320746865207a65726f206160448201526564647265737360d01b60648201526084016102ce565b610691816106ee565b50565b6000546001600160a01b031633146101355760405162461bcd60e51b815260206004820181905260248201527f4f776e61626c653a2063616c6c6572206973206e6f7420746865206f776e657260448201526064016102ce565b600080546001600160a01b038381166001600160a01b0319831681178455604051919092169283917f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e09190a35050565b6040516001600160a01b0383166024820152604481018290526107a190849063a9059cbb60e01b906064015b60408051601f198184030181529190526020810180516001600160e01b03166001600160e01b03199093169290921790915261084a565b505050565b604051636eb1769f60e11b81523060048201526001600160a01b03848116602483015282919084169063dd62ed3e90604401602060405180830381865afa1580156107f5573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108199190610c43565b10156107a1576108346001600160a01b03831684600061091c565b6107a16001600160a01b0383168460001961091c565b600061089f826040518060400160405280602081526020017f5361666545524332303a206c6f772d6c6576656c2063616c6c206661696c6564815250856001600160a01b0316610a319092919063ffffffff16565b8051909150156107a157808060200190518101906108bd9190610c5c565b6107a15760405162461bcd60e51b815260206004820152602a60248201527f5361666545524332303a204552433230206f7065726174696f6e20646964206e6044820152691bdd081cdd58d8d9595960b21b60648201526084016102ce565b8015806109965750604051636eb1769f60e11b81523060048201526001600160a01b03838116602483015284169063dd62ed3e90604401602060405180830381865afa158015610970573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906109949190610c43565b155b610a015760405162461bcd60e51b815260206004820152603660248201527f5361666545524332303a20617070726f76652066726f6d206e6f6e2d7a65726f60448201527520746f206e6f6e2d7a65726f20616c6c6f77616e636560501b60648201526084016102ce565b6040516001600160a01b0383166024820152604481018290526107a190849063095ea7b360e01b9060640161076a565b6060610a408484600085610a48565b949350505050565b606082471015610aa95760405162461bcd60e51b815260206004820152602660248201527f416464726573733a20696e73756666696369656e742062616c616e636520666f6044820152651c8818d85b1b60d21b60648201526084016102ce565b600080866001600160a01b03168587604051610ac59190610cae565b60006040518083038185875af1925050503d8060008114610b02576040519150601f19603f3d011682016040523d82523d6000602084013e610b07565b606091505b5091509150610b1887838387610b23565b979650505050505050565b60608315610b92578251600003610b8b576001600160a01b0385163b610b8b5760405162461bcd60e51b815260206004820152601d60248201527f416464726573733a2063616c6c20746f206e6f6e2d636f6e747261637400000060448201526064016102ce565b5081610a40565b610a408383815115610ba75781518083602001fd5b8060405162461bcd60e51b81526004016102ce9190610cca565b6001600160a01b038116811461069157600080fd5b600060208284031215610be857600080fd5b8135610bf381610bc1565b9392505050565b60008060408385031215610c0d57600080fd5b8235610c1881610bc1565b946020939093013593505050565b600060208284031215610c3857600080fd5b8151610bf381610bc1565b600060208284031215610c5557600080fd5b5051919050565b600060208284031215610c6e57600080fd5b81518015158114610bf357600080fd5b60005b83811015610c99578181015183820152602001610c81565b83811115610ca8576000848401525b50505050565b60008251610cc0818460208701610c7e565b9190910192915050565b6020815260008251806020840152610ce9816040850160208701610c7e565b601f01601f1916919091016040019291505056fea2646970667358221220810da57569881e0e2e01be3c4bd11a879f2f6f06bb48ed6e8b51853bffe20dd964736f6c634300080f0033

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

0000000000000000000000008ed9f6343f057870f1def47aae7cd88dfaa049a8

-----Decoded View---------------
Arg [0] : _stakingPoolRegistry (address): 0x8ED9F6343f057870F1DeF47AaE7CD88dfAA049A8

-----Encoded View---------------
1 Constructor Arguments found :
Arg [0] : 0000000000000000000000008ed9f6343f057870f1def47aae7cd88dfaa049a8


Deployed Bytecode Sourcemap

590:3551:6:-:0;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;1831:101:0;;;:::i;:::-;;3950:189:6;;;;;;:::i;:::-;;:::i;3491:227::-;;;;;;:::i;:::-;;:::i;1201:85:0:-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:0;1201:85;;;-1:-1:-1;;;;;886:32:7;;;868:51;;856:2;841:18;1201:85:0;;;;;;;;1272:1801:6;;;;;;:::i;:::-;;:::i;:::-;;;1076:25:7;;;1064:2;1049:18;1272:1801:6;930:177:7;2081:198:0;;;;;;:::i;:::-;;:::i;770:34:6:-;;;;;-1:-1:-1;;;;;770:34:6;;;1831:101:0;1094:13;:11;:13::i;:::-;1895:30:::1;1922:1;1895:18;:30::i;:::-;1831:101::o:0;3950:189:6:-;1094:13:0;:11;:13::i;:::-;4034:19:6::1;:42:::0;;-1:-1:-1;;;;;;4034:42:6::1;-1:-1:-1::0;;;;;4034:42:6;::::1;::::0;;::::1;::::0;;;4091:41:::1;::::0;868:51:7;;;4091:41:6::1;::::0;856:2:7;841:18;4091:41:6::1;;;;;;;3950:189:::0;:::o;3491:227::-;1094:13:0;:11;:13::i;:::-;3605:55:6::1;3639:7;1247::0::0;1273:6;-1:-1:-1;;;;;1273:6:0;;1201:85;3639:7:6::1;-1:-1:-1::0;;;;;3605:33:6;::::1;::::0;3648:11;3605:33:::1;:55::i;:::-;3675:36;::::0;;-1:-1:-1;;;;;1304:32:7;;1286:51;;1368:2;1353:18;;1346:34;;;3675:36:6::1;::::0;1259:18:7;3675:36:6::1;;;;;;;3491:227:::0;;:::o;1272:1801::-;1499:19;;1620:38;;-1:-1:-1;;;1620:38:6;;-1:-1:-1;;;;;886:32:7;;;1620:38:6;;;868:51:7;1370:7:6;;1499:19;;1370:7;;1499:19;;1620:24;;841:18:7;;1620:38:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1592:66;-1:-1:-1;;;;;;1676:31:6;;1668:70;;;;-1:-1:-1;;;1668:70:6;;1849:2:7;1668:70:6;;;1831:21:7;1888:2;1868:18;;;1861:30;1927:28;1907:18;;;1900:56;1973:18;;1668:70:6;;;;;;;;;1748:32;1799:17;1748:69;;1864:18;1892:12;1864:41;;1915:17;1942:11;-1:-1:-1;;;;;1942:17:6;;:19;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;1915:47;;2089:69;2105:12;2127:10;2140:17;2089:15;:69::i;:::-;2191:35;;-1:-1:-1;;;2191:35:6;;2220:4;2191:35;;;868:51:7;2168:20:6;;-1:-1:-1;;;;;2191:20:6;;;;;841:18:7;;2191:35:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2236:69;;-1:-1:-1;;;2236:69:6;;2260:10;2236:69;;;2431:34:7;2280:4:6;2481:18:7;;;2474:43;2533:18;;;2526:34;;;2168:58:6;;-1:-1:-1;;;;;;2236:23:6;;;;;2366:18:7;;2236:69:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;-1:-1:-1;2406:53:6;;-1:-1:-1;;;2406:53:6;;;;;3027:25:7;;;2453:4:6;3068:18:7;;;3061:60;2388:15:6;;-1:-1:-1;;;;;2406:19:6;;;;;3000:18:7;;2406:53:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;2592:35;;-1:-1:-1;;;2592:35:6;;2621:4;2592:35;;;868:51:7;2388:71:6;;-1:-1:-1;2631:12:6;;-1:-1:-1;;;;;2592:20:6;;;;;841:18:7;;2592:35:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:51;:66;;;;;2657:1;2647:7;:11;2592:66;2571:127;;;;-1:-1:-1;;;2571:127:6;;3334:2:7;2571:127:6;;;3316:21:7;3373:2;3353:18;;;3346:30;-1:-1:-1;;;3392:18:7;;;3385:44;3446:18;;2571:127:6;3132:338:7;2571:127:6;2806:57;2822:17;2841:12;2855:7;2806:15;:57::i;:::-;2933:46;;-1:-1:-1;;;2933:46:6;;2959:10;2933:46;;;1286:51:7;1353:18;;;1346:34;;;-1:-1:-1;;;;;2933:25:6;;;;;1259:18:7;;2933:46:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;-1:-1:-1;;2994:48:6;;1076:25:7;;;-1:-1:-1;;;;;2994:48:6;;;-1:-1:-1;3000:10:6;;-1:-1:-1;2994:48:6;;1064:2:7;1049:18;2994:48:6;;;;;;;3059:7;1272:1801;-1:-1:-1;;;;;;;;;1272:1801:6:o;2081:198:0:-;1094:13;:11;:13::i;:::-;-1:-1:-1;;;;;2169:22:0;::::1;2161:73;;;::::0;-1:-1:-1;;;2161:73:0;;3677:2:7;2161:73:0::1;::::0;::::1;3659:21:7::0;3716:2;3696:18;;;3689:30;3755:34;3735:18;;;3728:62;-1:-1:-1;;;3806:18:7;;;3799:36;3852:19;;2161:73:0::1;3475:402:7::0;2161:73:0::1;2244:28;2263:8;2244:18;:28::i;:::-;2081:198:::0;:::o;1359:130::-;1247:7;1273:6;-1:-1:-1;;;;;1273:6:0;719:10:5;1422:23:0;1414:68;;;;-1:-1:-1;;;1414:68:0;;4084:2:7;1414:68:0;;;4066:21:7;;;4103:18;;;4096:30;4162:34;4142:18;;;4135:62;4214:18;;1414:68:0;3882:356:7;2433:187:0;2506:16;2525:6;;-1:-1:-1;;;;;2541:17:0;;;-1:-1:-1;;;;;;2541:17:0;;;;;;2573:40;;2525:6;;;;;;;2573:40;;2506:16;2573:40;2496:124;2433:187;:::o;763:205:3:-;902:58;;-1:-1:-1;;;;;1304:32:7;;902:58:3;;;1286:51:7;1353:18;;;1346:34;;;875:86:3;;895:5;;-1:-1:-1;;;925:23:3;1259:18:7;;902:58:3;;;;-1:-1:-1;;902:58:3;;;;;;;;;;;;;;-1:-1:-1;;;;;902:58:3;-1:-1:-1;;;;;;902:58:3;;;;;;;;;;875:19;:86::i;:::-;763:205;;;:::o;3079:333:6:-;3209:50;;-1:-1:-1;;;3209:50:6;;3242:4;3209:50;;;4455:34:7;-1:-1:-1;;;;;4525:15:7;;;4505:18;;;4498:43;3262:7:6;;3209:24;;;;;;4390:18:7;;3209:50:6;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:60;3205:201;;;3285:40;-1:-1:-1;;;;;3285:26:6;;3312:9;3323:1;3285:26;:40::i;:::-;3339:56;-1:-1:-1;;;;;3339:26:6;;3366:9;-1:-1:-1;;3339:26:6;:56::i;3747:706:3:-;4166:23;4192:69;4220:4;4192:69;;;;;;;;;;;;;;;;;4200:5;-1:-1:-1;;;;;4192:27:3;;;:69;;;;;:::i;:::-;4275:17;;4166:95;;-1:-1:-1;4275:21:3;4271:176;;4370:10;4359:30;;;;;;;;;;;;:::i;:::-;4351:85;;;;-1:-1:-1;;;4351:85:3;;4754:2:7;4351:85:3;;;4736:21:7;4793:2;4773:18;;;4766:30;4832:34;4812:18;;;4805:62;-1:-1:-1;;;4883:18:7;;;4876:40;4933:19;;4351:85:3;4552:406:7;1475:603:3;1830:10;;;1829:62;;-1:-1:-1;1846:39:3;;-1:-1:-1;;;1846:39:3;;1870:4;1846:39;;;4455:34:7;-1:-1:-1;;;;;4525:15:7;;;4505:18;;;4498:43;1846:15:3;;;;;4390:18:7;;1846:39:3;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;:::i;:::-;:44;1829:62;1808:163;;;;-1:-1:-1;;;1808:163:3;;5165:2:7;1808:163:3;;;5147:21:7;5204:2;5184:18;;;5177:30;5243:34;5223:18;;;5216:62;-1:-1:-1;;;5294:18:7;;;5287:52;5356:19;;1808:163:3;4963:418:7;1808:163:3;2008:62;;-1:-1:-1;;;;;1304:32:7;;2008:62:3;;;1286:51:7;1353:18;;;1346:34;;;1981:90:3;;2001:5;;-1:-1:-1;;;2031:22:3;1259:18:7;;2008:62:3;1112:274:7;3873:223:4;4006:12;4037:52;4059:6;4067:4;4073:1;4076:12;4037:21;:52::i;:::-;4030:59;3873:223;-1:-1:-1;;;;3873:223:4:o;4960:446::-;5125:12;5182:5;5157:21;:30;;5149:81;;;;-1:-1:-1;;;5149:81:4;;5588:2:7;5149:81:4;;;5570:21:7;5627:2;5607:18;;;5600:30;5666:34;5646:18;;;5639:62;-1:-1:-1;;;5717:18:7;;;5710:36;5763:19;;5149:81:4;5386:402:7;5149:81:4;5241:12;5255:23;5282:6;-1:-1:-1;;;;;5282:11:4;5301:5;5308:4;5282:31;;;;;;:::i;:::-;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;5240:73;;;;5330:69;5357:6;5365:7;5374:10;5386:12;5330:26;:69::i;:::-;5323:76;4960:446;-1:-1:-1;;;;;;;4960:446:4:o;7466:628::-;7646:12;7674:7;7670:418;;;7701:10;:17;7722:1;7701:22;7697:286;;-1:-1:-1;;;;;1465:19:4;;;7908:60;;;;-1:-1:-1;;;7908:60:4;;6537:2:7;7908:60:4;;;6519:21:7;6576:2;6556:18;;;6549:30;6615:31;6595:18;;;6588:59;6664:18;;7908:60:4;6335:353:7;7908:60:4;-1:-1:-1;8003:10:4;7996:17;;7670:418;8044:33;8052:10;8064:12;8775:17;;:21;8771:379;;9003:10;8997:17;9059:15;9046:10;9042:2;9038:19;9031:44;8771:379;9126:12;9119:20;;-1:-1:-1;;;9119:20:4;;;;;;;;:::i;14:131:7:-;-1:-1:-1;;;;;89:31:7;;79:42;;69:70;;135:1;132;125:12;150:247;209:6;262:2;250:9;241:7;237:23;233:32;230:52;;;278:1;275;268:12;230:52;317:9;304:23;336:31;361:5;336:31;:::i;:::-;386:5;150:247;-1:-1:-1;;;150:247:7:o;402:315::-;470:6;478;531:2;519:9;510:7;506:23;502:32;499:52;;;547:1;544;537:12;499:52;586:9;573:23;605:31;630:5;605:31;:::i;:::-;655:5;707:2;692:18;;;;679:32;;-1:-1:-1;;;402:315:7:o;1391:251::-;1461:6;1514:2;1502:9;1493:7;1489:23;1485:32;1482:52;;;1530:1;1527;1520:12;1482:52;1562:9;1556:16;1581:31;1606:5;1581:31;:::i;2002:184::-;2072:6;2125:2;2113:9;2104:7;2100:23;2096:32;2093:52;;;2141:1;2138;2131:12;2093:52;-1:-1:-1;2164:16:7;;2002:184;-1:-1:-1;2002:184:7:o;2571:277::-;2638:6;2691:2;2679:9;2670:7;2666:23;2662:32;2659:52;;;2707:1;2704;2697:12;2659:52;2739:9;2733:16;2792:5;2785:13;2778:21;2771:5;2768:32;2758:60;;2814:1;2811;2804:12;5793:258;5865:1;5875:113;5889:6;5886:1;5883:13;5875:113;;;5965:11;;;5959:18;5946:11;;;5939:39;5911:2;5904:10;5875:113;;;6006:6;6003:1;6000:13;5997:48;;;6041:1;6032:6;6027:3;6023:16;6016:27;5997:48;;5793:258;;;:::o;6056:274::-;6185:3;6223:6;6217:13;6239:53;6285:6;6280:3;6273:4;6265:6;6261:17;6239:53;:::i;:::-;6308:16;;;;;6056:274;-1:-1:-1;;6056:274:7:o;6693:383::-;6842:2;6831:9;6824:21;6805:4;6874:6;6868:13;6917:6;6912:2;6901:9;6897:18;6890:34;6933:66;6992:6;6987:2;6976:9;6972:18;6967:2;6959:6;6955:15;6933:66;:::i;:::-;7060:2;7039:15;-1:-1:-1;;7035:29:7;7020:45;;;;7067:2;7016:54;;6693:383;-1:-1:-1;;6693:383:7:o

Swarm Source

ipfs://810da57569881e0e2e01be3c4bd11a879f2f6f06bb48ed6e8b51853bffe20dd9

Block Transaction Difficulty Gas Used Reward
View All Blocks Produced

Block Uncle Number Difficulty Gas Used Reward
View All Uncles
Loading...
Loading
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  ]
[ 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.