ETH Price: $3,557.79 (-0.24%)

Contract

0x806d47Df9141FdE4A77e1e54F0ca4184526ADe60
 

Overview

ETH Balance

0 ETH

Eth Value

$0.00

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

Please try again later

View more zero value Internal Transactions in Advanced View mode

Advanced mode:
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
BoostDelegate

Compiler Version
v0.8.19+commit.7dd6d404

Optimization Enabled:
Yes with 200 runs

Other Settings:
paris EvmVersion
File 1 of 10 : BoostDelegate.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

import "./interfaces/ITokenMinter.sol";
import "./interfaces/ITokenLocker.sol";
import "./interfaces/IBoostDelegate.sol";
import "./interfaces/IVoterProxy.sol";
import "./interfaces/IBooster.sol";
import '@openzeppelin/contracts/token/ERC20/IERC20.sol';
import '@openzeppelin/contracts/token/ERC20/utils/SafeERC20.sol';

contract BoostDelegate is IBoostDelegate{
    using SafeERC20 for IERC20;

    address public constant escrow = address(0x3f78544364c3eCcDCe4d9C89a630AEa26122829d);
    address public constant prismaVault = address(0x06bDF212C290473dCACea9793890C5024c7Eb02c);
    address public constant crv = address(0xD533a949740bb3306d119CC777fa900bA034cd52);
    address public constant cvx = address(0x4e3FBD56CD56c3e72c1403e103b45Db9da5B9D2B);
    address public immutable convexproxy;
    address public immutable cvxprisma;

    uint256 public boostFee;
    address[] public sweepableTokens;
    mapping(address => bool) public feeExemption;

    event SetBoostFee(uint256 _fee);
    event SetExemption(address indexed _address, bool _valid);
    event SetSweepableTokens(address[] _tokens);

    constructor(address _proxy, address _cvxprisma, uint256 _fee){
        convexproxy = _proxy;
        cvxprisma = _cvxprisma;
        boostFee = _fee;
        sweepableTokens = [cvx, crv];
    }

    modifier onlyOwner() {
        require(IBooster(IVoterProxy(convexproxy).operator()).owner() == msg.sender, "!owner");
        _;
    }

    function setFee(uint256 _fee) external onlyOwner{
        boostFee = _fee;
        emit SetBoostFee(_fee);
    }

    function setExemption(address _account, bool _exempt) external onlyOwner{
        feeExemption[_account] = _exempt;
        emit SetExemption(_account, _exempt);
    }

    function setSweepableTokens(address[] calldata _tokens) external onlyOwner{
        sweepableTokens = _tokens;
        emit SetSweepableTokens(_tokens);
    }

    function getFeePct(
        address claimant,
        address receiver,
        uint,// amount,
        uint,// previousAmount,
        uint// totalWeeklyEmissions
    ) external view returns (uint256 feePct){
        if(receiver == convexproxy){
            return 0;
        }
        if(feeExemption[claimant]){
            return 0;
        }
        return boostFee;
    }

    function delegatedBoostCallback(
        address claimant,
        address receiver,
        uint,// amount,
        uint adjustedAmount,
        uint,// fee,
        uint,// previousAmount,
        uint// totalWeeklyEmissions
    ) external returns (bool success){
        require(msg.sender == prismaVault, "!vault");
        if(receiver == convexproxy){

            adjustedAmount = adjustedAmount / ITokenLocker(escrow).lockToTokenRatio() * ITokenLocker(escrow).lockToTokenRatio();
            if(adjustedAmount > 0){
                ITokenMinter(cvxprisma).mint(claimant, adjustedAmount);
            }

            for(uint256 i = 0; i < sweepableTokens.length; ){
                uint256 balance = IERC20(sweepableTokens[i]).balanceOf(convexproxy);

                if(balance > 0){
                    IBooster(IVoterProxy(convexproxy).operator()).recoverERC20FromProxy(sweepableTokens[i], balance, claimant);
                }

                unchecked{
                    ++i;
                }
            }

            
            return true;
        }

        return true;
    }

}

File 2 of 10 : IVoterProxy.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

interface IVoterProxy{
    function operator() external view returns(address);
}

File 3 of 10 : ITokenMinter.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

interface ITokenMinter{
    function mint(address,uint256) external;
    function burn(address,uint256) external;
    function setOperator(address _operator, bool _active) external;
}

File 4 of 10 : ITokenLocker.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

interface ITokenLocker {
    struct LockData {
        uint amount;
        uint weeksToUnlock;
    }

    function lock(address _account, uint256 _amount, uint256 _weeks) external returns (bool);
    function withdrawExpiredLocks(uint256 _weeks) external returns (bool);
    function withdrawWithPenalty(uint amountToWithdraw) external returns (uint);

    function getAccountBalances(address account) external view returns (uint256 locked, uint256 unlocked);
    function getAccountActiveLocks(
        address account,
        uint minWeeks
    ) external view returns (LockData[] memory lockData, uint frozenAmount);

    function getAccountWeightAt(address account, uint week) external view returns (uint256);

    function getTotalWeightAt(uint week) external view returns (uint256);

    function getWithdrawWithPenaltyAmounts(address account, uint amountToWithdraw) external view returns (uint amountWithdrawn, uint penaltyAmountPaid);

    function lockToTokenRatio() external view returns (uint256);

    function freeze() external;
}

File 5 of 10 : IBooster.sol
// SPDX-License-Identifier: MIT
pragma solidity 0.8.19;

interface IBooster {
   function owner() external returns(address);
   function rewardManager() external returns(address);
   function isShutdown() external returns(bool);
   function recoverERC20FromProxy(address _tokenAddress, uint256 _tokenAmount, address _withdrawTo) external;
}

File 6 of 10 : IBoostDelegate.sol
// SPDX-License-Identifier: MIT

pragma solidity 0.8.19;

/**
    @title Prisma Boost Delegate Interface
    @notice When enabling boost delegation via `Vault.setBoostDelegationParams`,
            you may optionally set a `callback` contract. If set, it should adhere
            to the following interface.
 */
interface IBoostDelegate {
    /**
        @notice Get the current fee percent charged to use this boost delegate
        @dev Optional. Only called if the feePct is set to `type(uint16).max` when
             enabling delegation.
        @param claimant Address that will perform the claim
        @param amount Amount to be claimed (before applying boost or fee)
        @param previousAmount Previous amount claimed this week by this contract
        @param totalWeeklyEmissions Total weekly emissions released this week
        @return feePct Fee % charged for claims that use this contracts' delegated boost.
                      Given as a whole number out of 10000. If a claim would be rejected,
                      the preferred return value is `type(uint256).max`.
     */
    function getFeePct(
        address claimant,
        address receiver,
        uint amount,
        uint previousAmount,
        uint totalWeeklyEmissions
    ) external view returns (uint256 feePct);

    /**
        @notice Callback function for boost delegators
        @dev MUST BE INCLUDED. Called after each successful claim which used
             this contract's delegated boost.
        @param claimant Address that performed the claim
        @param amount Amount that claimed (before applying boost or fee)
        @param adjustedAmount Actual amount received by `claimant`
        @param fee Fee amount paid by `claimant`
        @param previousAmount Previous amount claimed this week by this contract
        @param totalWeeklyEmissions Total weekly emissions released this week
     */
    function delegatedBoostCallback(
        address claimant,
        address receiver,
        uint amount,
        uint adjustedAmount,
        uint fee,
        uint previousAmount,
        uint totalWeeklyEmissions
    ) external returns (bool success);
}

File 7 of 10 : Address.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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
     *
     * Furthermore, `isContract` will also return true if the target contract within
     * the same transaction is already scheduled for destruction by `SELFDESTRUCT`,
     * which only has an effect at the end of a transaction.
     * ====
     *
     * [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://consensys.net/diligence/blog/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.8.0/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);
        }
    }
}

File 8 of 10 : SafeERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/utils/SafeERC20.sol)

pragma solidity ^0.8.0;

import "../IERC20.sol";
import "../extensions/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;

    /**
     * @dev Transfer `value` amount of `token` from the calling contract to `to`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeTransfer(IERC20 token, address to, uint256 value) internal {
        _callOptionalReturn(token, abi.encodeWithSelector(token.transfer.selector, to, value));
    }

    /**
     * @dev Transfer `value` amount of `token` from `from` to `to`, spending the approval given by `from` to the
     * calling contract. If `token` returns no value, non-reverting calls are assumed to be successful.
     */
    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));
    }

    /**
     * @dev Increase the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    function safeIncreaseAllowance(IERC20 token, address spender, uint256 value) internal {
        uint256 oldAllowance = token.allowance(address(this), spender);
        _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance + value));
    }

    /**
     * @dev Decrease the calling contract's allowance toward `spender` by `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful.
     */
    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");
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, oldAllowance - value));
        }
    }

    /**
     * @dev Set the calling contract's allowance toward `spender` to `value`. If `token` returns no value,
     * non-reverting calls are assumed to be successful. Compatible with tokens that require the approval to be set to
     * 0 before setting it to a non-zero value.
     */
    function forceApprove(IERC20 token, address spender, uint256 value) internal {
        bytes memory approvalCall = abi.encodeWithSelector(token.approve.selector, spender, value);

        if (!_callOptionalReturnBool(token, approvalCall)) {
            _callOptionalReturn(token, abi.encodeWithSelector(token.approve.selector, spender, 0));
            _callOptionalReturn(token, approvalCall);
        }
    }

    /**
     * @dev Use a ERC-2612 signature to set the `owner` approval toward `spender` on `token`.
     * Revert on invalid signature.
     */
    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");
        require(returndata.length == 0 || abi.decode(returndata, (bool)), "SafeERC20: ERC20 operation 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).
     *
     * This is a variant of {_callOptionalReturn} that silents catches all reverts and returns a bool instead.
     */
    function _callOptionalReturnBool(IERC20 token, bytes memory data) private returns (bool) {
        // 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 cannot use {Address-functionCall} here since this should return false
        // and not revert is the subcall reverts.

        (bool success, bytes memory returndata) = address(token).call(data);
        return
            success && (returndata.length == 0 || abi.decode(returndata, (bool))) && Address.isContract(address(token));
    }
}

File 9 of 10 : IERC20Permit.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.0) (token/ERC20/extensions/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);
}

File 10 of 10 : IERC20.sol
// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v4.9.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);
}

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

Contract Security Audit

Contract ABI

[{"inputs":[{"internalType":"address","name":"_proxy","type":"address"},{"internalType":"address","name":"_cvxprisma","type":"address"},{"internalType":"uint256","name":"_fee","type":"uint256"}],"stateMutability":"nonpayable","type":"constructor"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"SetBoostFee","type":"event"},{"anonymous":false,"inputs":[{"indexed":true,"internalType":"address","name":"_address","type":"address"},{"indexed":false,"internalType":"bool","name":"_valid","type":"bool"}],"name":"SetExemption","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"SetSweepableTokens","type":"event"},{"inputs":[],"name":"boostFee","outputs":[{"internalType":"uint256","name":"","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"convexproxy","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"crv","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvx","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"cvxprisma","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"claimant","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"adjustedAmount","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"delegatedBoostCallback","outputs":[{"internalType":"bool","name":"success","type":"bool"}],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"escrow","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"","type":"address"}],"name":"feeExemption","outputs":[{"internalType":"bool","name":"","type":"bool"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"claimant","type":"address"},{"internalType":"address","name":"receiver","type":"address"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"},{"internalType":"uint256","name":"","type":"uint256"}],"name":"getFeePct","outputs":[{"internalType":"uint256","name":"feePct","type":"uint256"}],"stateMutability":"view","type":"function"},{"inputs":[],"name":"prismaVault","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_account","type":"address"},{"internalType":"bool","name":"_exempt","type":"bool"}],"name":"setExemption","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"_fee","type":"uint256"}],"name":"setFee","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address[]","name":"_tokens","type":"address[]"}],"name":"setSweepableTokens","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"uint256","name":"","type":"uint256"}],"name":"sweepableTokens","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"}]

60c06040523480156200001157600080fd5b50604051620010ae380380620010ae83398101604081905262000034916200013f565b6001600160a01b03808416608052821660a052600081905560408051808201909152734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b815273d533a949740bb3306d119cc777fa900ba034cd52602082015262000097906001906002620000a1565b5050505062000180565b828054828255906000526020600020908101928215620000f9579160200282015b82811115620000f957825182546001600160a01b0319166001600160a01b03909116178255602090920191600190910190620000c2565b50620001079291506200010b565b5090565b5b808211156200010757600081556001016200010c565b80516001600160a01b03811681146200013a57600080fd5b919050565b6000806000606084860312156200015557600080fd5b620001608462000122565b9250620001706020850162000122565b9150604084015190509250925092565b60805160a051610ed1620001dd6000396000818160f401526105b6015260008181610138015281816102900152818161045101528181610658015281816106d60152818161081a015281816109620152610a0e0152610ed16000f3fe608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063923c1d611161008c578063e2fdcc1711610066578063e2fdcc1714610218578063e59d765314610233578063f6a23d981461024e578063fbb023991461027157600080fd5b8063923c1d61146101e15780639ba32a56146101fc578063d93b30a71461020557600080fd5b806346d1a775116100c857806346d1a7751461016f57806369fe0e2d146101925780636a2243a9146101a55780636a4874a1146101c657600080fd5b80632abb7e66146100ef578063373ae285146101335780633ea6e0711461015a575b600080fd5b6101167f000000000000000000000000000000000000000000000000000000000000000081565b6040516001600160a01b0390911681526020015b60405180910390f35b6101167f000000000000000000000000000000000000000000000000000000000000000081565b61016d610168366004610bf1565b610284565b005b61018261017d366004610c2f565b610401565b604051901515815260200161012a565b61016d6101a0366004610c91565b61080e565b6101b86101b3366004610caa565b61095e565b60405190815260200161012a565b61011673d533a949740bb3306d119cc777fa900ba034cd5281565b610116734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b6101b860005481565b610116610213366004610c91565b6109d8565b610116733f78544364c3eccdce4d9c89a630aea26122829d81565b6101167306bdf212c290473dcacea9793890c5024c7eb02c81565b61018261025c366004610cfb565b60026020526000908152604090205460ff1681565b61016d61027f366004610d1f565b610a02565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103109190610d94565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801561034f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103739190610d94565b6001600160a01b0316146103a25760405162461bcd60e51b815260040161039990610db1565b60405180910390fd5b6001600160a01b038216600081815260026020908152604091829020805460ff191685151590811790915591519182527f32ab6d3a9bb11e6c7556d0fe419a724b0f484bcb54a9d5cc656218b70d1d3a9e910160405180910390a25050565b6000337306bdf212c290473dcacea9793890c5024c7eb02c1461044f5760405162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b6044820152606401610399565b7f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316876001600160a01b0316036107ff57733f78544364c3eccdce4d9c89a630aea26122829d6001600160a01b031663c5438b1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fe9190610dd1565b733f78544364c3eccdce4d9c89a630aea26122829d6001600160a01b031663c5438b1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610550573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105749190610dd1565b61057e9087610dea565b6105889190610e0c565b94508415610613576040516340c10f1960e01b81526001600160a01b038981166004830152602482018790527f000000000000000000000000000000000000000000000000000000000000000016906340c10f1990604401600060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505050505b60005b6001548110156107f55760006001828154811061063557610635610e37565b6000918252602090912001546040516370a0823160e01b81526001600160a01b037f000000000000000000000000000000000000000000000000000000000000000081166004830152909116906370a0823190602401602060405180830381865afa1580156106a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cc9190610dd1565b905080156107ec577f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107569190610d94565b6001600160a01b031663d579bb536001848154811061077757610777610e37565b60009182526020909120015460405160e083901b6001600160e01b03191681526001600160a01b03918216600482015260248101859052908d166044820152606401600060405180830381600087803b1580156107d357600080fd5b505af11580156107e7573d6000803e3d6000fd5b505050505b50600101610616565b5060019050610803565b5060015b979650505050505050565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190610d94565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156108d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fd9190610d94565b6001600160a01b0316146109235760405162461bcd60e51b815260040161039990610db1565b60008190556040518181527fbd5da112a4cd541e2b3a83a55fcac19aaa0cdbccdbdd4c4dc6f3be98751737489060200160405180910390a150565b60007f00000000000000000000000000000000000000000000000000000000000000006001600160a01b0316856001600160a01b0316036109a1575060006109cf565b6001600160a01b03861660009081526002602052604090205460ff16156109ca575060006109cf565b506000545b95945050505050565b600181815481106109e857600080fd5b6000918252602090912001546001600160a01b0316905081565b336001600160a01b03167f00000000000000000000000000000000000000000000000000000000000000006001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8e9190610d94565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af19190610d94565b6001600160a01b031614610b175760405162461bcd60e51b815260040161039990610db1565b610b2360018383610b61565b507f60ea1825ba5846a8ea26df56d8a184468583593c24296a66f9730557bda5eeba8282604051610b55929190610e4d565b60405180910390a15050565b828054828255906000526020600020908101928215610bb4579160200282015b82811115610bb45781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610b81565b50610bc0929150610bc4565b5090565b5b80821115610bc05760008155600101610bc5565b6001600160a01b0381168114610bee57600080fd5b50565b60008060408385031215610c0457600080fd5b8235610c0f81610bd9565b915060208301358015158114610c2457600080fd5b809150509250929050565b600080600080600080600060e0888a031215610c4a57600080fd5b8735610c5581610bd9565b96506020880135610c6581610bd9565b96999698505050506040850135946060810135946080820135945060a0820135935060c0909101359150565b600060208284031215610ca357600080fd5b5035919050565b600080600080600060a08688031215610cc257600080fd5b8535610ccd81610bd9565b94506020860135610cdd81610bd9565b94979496505050506040830135926060810135926080909101359150565b600060208284031215610d0d57600080fd5b8135610d1881610bd9565b9392505050565b60008060208385031215610d3257600080fd5b823567ffffffffffffffff80821115610d4a57600080fd5b818501915085601f830112610d5e57600080fd5b813581811115610d6d57600080fd5b8660208260051b8501011115610d8257600080fd5b60209290920196919550909350505050565b600060208284031215610da657600080fd5b8151610d1881610bd9565b60208082526006908201526510b7bbb732b960d11b604082015260600190565b600060208284031215610de357600080fd5b5051919050565b600082610e0757634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610e3157634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603260045260246000fd5b60208082528181018390526000908460408401835b86811015610e90578235610e7581610bd9565b6001600160a01b031682529183019190830190600101610e62565b50969550505050505056fea2646970667358221220488bcbcd0633f1096d144f330c5e8a8b0de43b92bab3fa7c3008aeada87ace3764736f6c634300081300330000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b00000000000000000000000034635280737b5bfe6c7dc2fc3065d60d66e7818500000000000000000000000000000000000000000000000000000000000005dc

Deployed Bytecode

0x608060405234801561001057600080fd5b50600436106100ea5760003560e01c8063923c1d611161008c578063e2fdcc1711610066578063e2fdcc1714610218578063e59d765314610233578063f6a23d981461024e578063fbb023991461027157600080fd5b8063923c1d61146101e15780639ba32a56146101fc578063d93b30a71461020557600080fd5b806346d1a775116100c857806346d1a7751461016f57806369fe0e2d146101925780636a2243a9146101a55780636a4874a1146101c657600080fd5b80632abb7e66146100ef578063373ae285146101335780633ea6e0711461015a575b600080fd5b6101167f00000000000000000000000034635280737b5bfe6c7dc2fc3065d60d66e7818581565b6040516001600160a01b0390911681526020015b60405180910390f35b6101167f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b81565b61016d610168366004610bf1565b610284565b005b61018261017d366004610c2f565b610401565b604051901515815260200161012a565b61016d6101a0366004610c91565b61080e565b6101b86101b3366004610caa565b61095e565b60405190815260200161012a565b61011673d533a949740bb3306d119cc777fa900ba034cd5281565b610116734e3fbd56cd56c3e72c1403e103b45db9da5b9d2b81565b6101b860005481565b610116610213366004610c91565b6109d8565b610116733f78544364c3eccdce4d9c89a630aea26122829d81565b6101167306bdf212c290473dcacea9793890c5024c7eb02c81565b61018261025c366004610cfb565b60026020526000908152604090205460ff1681565b61016d61027f366004610d1f565b610a02565b336001600160a01b03167f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b6001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa1580156102ec573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103109190610d94565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b81526004016020604051808303816000875af115801561034f573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906103739190610d94565b6001600160a01b0316146103a25760405162461bcd60e51b815260040161039990610db1565b60405180910390fd5b6001600160a01b038216600081815260026020908152604091829020805460ff191685151590811790915591519182527f32ab6d3a9bb11e6c7556d0fe419a724b0f484bcb54a9d5cc656218b70d1d3a9e910160405180910390a25050565b6000337306bdf212c290473dcacea9793890c5024c7eb02c1461044f5760405162461bcd60e51b8152602060048201526006602482015265085d985d5b1d60d21b6044820152606401610399565b7f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b6001600160a01b0316876001600160a01b0316036107ff57733f78544364c3eccdce4d9c89a630aea26122829d6001600160a01b031663c5438b1b6040518163ffffffff1660e01b8152600401602060405180830381865afa1580156104da573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906104fe9190610dd1565b733f78544364c3eccdce4d9c89a630aea26122829d6001600160a01b031663c5438b1b6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610550573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906105749190610dd1565b61057e9087610dea565b6105889190610e0c565b94508415610613576040516340c10f1960e01b81526001600160a01b038981166004830152602482018790527f00000000000000000000000034635280737b5bfe6c7dc2fc3065d60d66e7818516906340c10f1990604401600060405180830381600087803b1580156105fa57600080fd5b505af115801561060e573d6000803e3d6000fd5b505050505b60005b6001548110156107f55760006001828154811061063557610635610e37565b6000918252602090912001546040516370a0823160e01b81526001600160a01b037f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b81166004830152909116906370a0823190602401602060405180830381865afa1580156106a8573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906106cc9190610dd1565b905080156107ec577f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b6001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610732573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906107569190610d94565b6001600160a01b031663d579bb536001848154811061077757610777610e37565b60009182526020909120015460405160e083901b6001600160e01b03191681526001600160a01b03918216600482015260248101859052908d166044820152606401600060405180830381600087803b1580156107d357600080fd5b505af11580156107e7573d6000803e3d6000fd5b505050505b50600101610616565b5060019050610803565b5060015b979650505050505050565b336001600160a01b03167f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b6001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610876573d6000803e3d6000fd5b505050506040513d601f19601f8201168201806040525081019061089a9190610d94565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b81526004016020604051808303816000875af11580156108d9573d6000803e3d6000fd5b505050506040513d601f19601f820116820180604052508101906108fd9190610d94565b6001600160a01b0316146109235760405162461bcd60e51b815260040161039990610db1565b60008190556040518181527fbd5da112a4cd541e2b3a83a55fcac19aaa0cdbccdbdd4c4dc6f3be98751737489060200160405180910390a150565b60007f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b6001600160a01b0316856001600160a01b0316036109a1575060006109cf565b6001600160a01b03861660009081526002602052604090205460ff16156109ca575060006109cf565b506000545b95945050505050565b600181815481106109e857600080fd5b6000918252602090912001546001600160a01b0316905081565b336001600160a01b03167f0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b6001600160a01b031663570ca7356040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a6a573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610a8e9190610d94565b6001600160a01b0316638da5cb5b6040518163ffffffff1660e01b81526004016020604051808303816000875af1158015610acd573d6000803e3d6000fd5b505050506040513d601f19601f82011682018060405250810190610af19190610d94565b6001600160a01b031614610b175760405162461bcd60e51b815260040161039990610db1565b610b2360018383610b61565b507f60ea1825ba5846a8ea26df56d8a184468583593c24296a66f9730557bda5eeba8282604051610b55929190610e4d565b60405180910390a15050565b828054828255906000526020600020908101928215610bb4579160200282015b82811115610bb45781546001600160a01b0319166001600160a01b03843516178255602090920191600190910190610b81565b50610bc0929150610bc4565b5090565b5b80821115610bc05760008155600101610bc5565b6001600160a01b0381168114610bee57600080fd5b50565b60008060408385031215610c0457600080fd5b8235610c0f81610bd9565b915060208301358015158114610c2457600080fd5b809150509250929050565b600080600080600080600060e0888a031215610c4a57600080fd5b8735610c5581610bd9565b96506020880135610c6581610bd9565b96999698505050506040850135946060810135946080820135945060a0820135935060c0909101359150565b600060208284031215610ca357600080fd5b5035919050565b600080600080600060a08688031215610cc257600080fd5b8535610ccd81610bd9565b94506020860135610cdd81610bd9565b94979496505050506040830135926060810135926080909101359150565b600060208284031215610d0d57600080fd5b8135610d1881610bd9565b9392505050565b60008060208385031215610d3257600080fd5b823567ffffffffffffffff80821115610d4a57600080fd5b818501915085601f830112610d5e57600080fd5b813581811115610d6d57600080fd5b8660208260051b8501011115610d8257600080fd5b60209290920196919550909350505050565b600060208284031215610da657600080fd5b8151610d1881610bd9565b60208082526006908201526510b7bbb732b960d11b604082015260600190565b600060208284031215610de357600080fd5b5051919050565b600082610e0757634e487b7160e01b600052601260045260246000fd5b500490565b8082028115828204841417610e3157634e487b7160e01b600052601160045260246000fd5b92915050565b634e487b7160e01b600052603260045260246000fd5b60208082528181018390526000908460408401835b86811015610e90578235610e7581610bd9565b6001600160a01b031682529183019190830190600101610e62565b50969550505050505056fea2646970667358221220488bcbcd0633f1096d144f330c5e8a8b0de43b92bab3fa7c3008aeada87ace3764736f6c63430008130033

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

0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b00000000000000000000000034635280737b5bfe6c7dc2fc3065d60d66e7818500000000000000000000000000000000000000000000000000000000000005dc

-----Decoded View---------------
Arg [0] : _proxy (address): 0x8ad7a9e2B3Cd9214f36Cb871336d8ab34DdFdD5b
Arg [1] : _cvxprisma (address): 0x34635280737b5BFe6c7DC2FC3065D60d66e78185
Arg [2] : _fee (uint256): 1500

-----Encoded View---------------
3 Constructor Arguments found :
Arg [0] : 0000000000000000000000008ad7a9e2b3cd9214f36cb871336d8ab34ddfdd5b
Arg [1] : 00000000000000000000000034635280737b5bfe6c7dc2fc3065d60d66e78185
Arg [2] : 00000000000000000000000000000000000000000000000000000000000005dc


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

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.