ETH Price: $2,752.14 (+0.57%)

Contract

0x197be698AeDC95df3242984f1f9AC77f762aE385

Overview

ETH Balance

0 ETH

ETH Value

$0.00

More Info

Private Name Tags

Multichain Info

No addresses found
Transaction Hash
Method
Block
From
To

There are no matching entries

> 10 Internal Transactions found.

Latest 25 internal transactions (View All)

Advanced mode:
Parent Transaction Hash Block From To
169920022025-11-21 14:20:1330 hrs ago1763734813
0x197be698...f762aE385
0 ETH
169920022025-11-21 14:20:1330 hrs ago1763734813
0x197be698...f762aE385
0 ETH
169920022025-11-21 14:20:1330 hrs ago1763734813
0x197be698...f762aE385
0 ETH
169896262025-11-21 13:40:3730 hrs ago1763732437
0x197be698...f762aE385
0 ETH
169896262025-11-21 13:40:3730 hrs ago1763732437
0x197be698...f762aE385
0 ETH
169896262025-11-21 13:40:3730 hrs ago1763732437
0x197be698...f762aE385
0 ETH
169822762025-11-21 11:38:0732 hrs ago1763725087
0x197be698...f762aE385
0 ETH
169822762025-11-21 11:38:0732 hrs ago1763725087
0x197be698...f762aE385
0 ETH
169822762025-11-21 11:38:0732 hrs ago1763725087
0x197be698...f762aE385
0 ETH
169822542025-11-21 11:37:4532 hrs ago1763725065
0x197be698...f762aE385
0 ETH
169822542025-11-21 11:37:4532 hrs ago1763725065
0x197be698...f762aE385
0 ETH
169822542025-11-21 11:37:4532 hrs ago1763725065
0x197be698...f762aE385
0 ETH
169815002025-11-21 11:25:1133 hrs ago1763724311
0x197be698...f762aE385
0 ETH
169815002025-11-21 11:25:1133 hrs ago1763724311
0x197be698...f762aE385
0 ETH
169815002025-11-21 11:25:1133 hrs ago1763724311
0x197be698...f762aE385
0 ETH
169814592025-11-21 11:24:3033 hrs ago1763724270
0x197be698...f762aE385
0 ETH
169814592025-11-21 11:24:3033 hrs ago1763724270
0x197be698...f762aE385
0 ETH
169814592025-11-21 11:24:3033 hrs ago1763724270
0x197be698...f762aE385
0 ETH
169677732025-11-21 7:36:2436 hrs ago1763710584
0x197be698...f762aE385
0 ETH
169677732025-11-21 7:36:2436 hrs ago1763710584
0x197be698...f762aE385
0 ETH
169677732025-11-21 7:36:2436 hrs ago1763710584
0x197be698...f762aE385
0 ETH
169674812025-11-21 7:31:3236 hrs ago1763710292
0x197be698...f762aE385
0 ETH
169674812025-11-21 7:31:3236 hrs ago1763710292
0x197be698...f762aE385
0 ETH
169674812025-11-21 7:31:3236 hrs ago1763710292
0x197be698...f762aE385
0 ETH
169629342025-11-21 6:15:4538 hrs ago1763705745
0x197be698...f762aE385
0 ETH
View All Internal Transactions

Cross-Chain Transactions
Loading...
Loading

Contract Source Code Verified (Exact Match)

Contract Name:
StrategyManager

Compiler Version
v0.8.28+commit.7893614a

Optimization Enabled:
Yes with 50 runs

Other Settings:
cancun EvmVersion
// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.28;

import { Initializable } from "@openzeppelin/contracts-upgradeable/proxy/utils/Initializable.sol";
import { OwnableUpgradeable } from "@openzeppelin/contracts-upgradeable/access/OwnableUpgradeable.sol";

import { IBaseStrategy } from "../interfaces/optimizer/IBaseStrategy.sol";
import { IStrategyManager } from "../interfaces/optimizer/IStrategyManager.sol";

import { ZeroAddress } from "../utils/Helpers.sol";

contract StrategyManager is IStrategyManager, Initializable, OwnableUpgradeable {
    bytes32 private constant STRATEGY_MANAGER_STORAGE_SLOT =
        keccak256("optimizer.strategyManager.storage") & ~bytes32(uint256(0xff));

    struct StrategyManagerStorage {
        mapping(address => bool) strategyExists; // strategy => bool
        mapping(address => StrategyConfig) strategyConfigMapping; // strategy => config
        mapping(address => mapping(uint32 => bool)) whitelistedTransactionCodes; // strategy => transactionCode => flag
        mapping(address => address) strategyPrimaryDepositTokenMapping; // token => strategy
        address[] strategies;
    }

    function initialize(address _owner) public initializer {
        __Ownable_init(_owner);
    }

    function addStrategy(address strategy) external onlyOwner {
        if (strategy == address(0)) revert ZeroAddress();
        if (strategy.code.length == 0) revert InvalidStrategy();

        StrategyManagerStorage storage s = _getStorage();
        if (s.strategyExists[strategy]) revert StrategyAlreadyExist(strategy);

        address primaryDepositToken = _addStrategy(s, strategy);
        emit StrategyAdded(strategy, primaryDepositToken, true);
    }

    function removeStrategy(address strategy) external onlyOwner {
        if (strategy == address(0)) revert ZeroAddress();

        StrategyManagerStorage storage s = _getStorage();
        _assertStrategyExists(s, strategy);

        _removeStrategy(s, strategy);
        emit StrategyRemoved(strategy);
    }

    function updateDepositFlag(address strategy, bool depositEnabled) external onlyOwner {
        StrategyManagerStorage storage s = _getStorage();
        _assertStrategyExists(s, strategy);

        s.strategyConfigMapping[strategy].depositEnabled = depositEnabled;
        emit StrategyDepositFlagUpdated(strategy, depositEnabled);
    }

    function updateTransactionCode(address strategy, uint32 transactionCode, bool flag) external onlyOwner {
        StrategyManagerStorage storage s = _getStorage();
        _assertStrategyExists(s, strategy);

        s.whitelistedTransactionCodes[strategy][transactionCode] = flag;
        emit StrategyTransactionCodeUpdated(strategy, transactionCode, flag);
    }

    function assertStrategyExists(address strategy) external view {
        StrategyManagerStorage storage s = _getStorage();
        _assertStrategyExists(s, strategy);
    }

    function assertTransactionCodeWhitelisted(address strategy, uint32 transactionCode) external view {
        StrategyManagerStorage storage s = _getStorage();
        _assertStrategyExists(s, strategy);

        if (!s.whitelistedTransactionCodes[strategy][transactionCode]) {
            revert TransactionCodeNotWhitelisted(strategy, transactionCode);
        }
    }

    function getAllStrategies() external view returns (address[] memory) {
        StrategyManagerStorage storage s = _getStorage();
        return s.strategies;
    }

    function getStrategyConfig(address strategy) external view returns (StrategyConfig memory) {
        StrategyManagerStorage storage s = _getStorage();
        _assertStrategyExists(s, strategy);
        return s.strategyConfigMapping[strategy];
    }

    function getStrategyForDeposit(address token) external view returns (address) {
        StrategyManagerStorage storage s = _getStorage();
        if (s.strategyPrimaryDepositTokenMapping[token] == address(0)) revert DepositTokenNotWhitelisted();

        address strategy = s.strategyPrimaryDepositTokenMapping[token];
        if (!s.strategyConfigMapping[strategy].depositEnabled) revert DepositNotEnabled(strategy);

        return strategy;
    }

    function _assertStrategyExists(StrategyManagerStorage storage s, address strategy) internal view {
        if (!s.strategyExists[strategy]) revert StrategyDoesNotExist(strategy);
    }

    function _addStrategy(
        StrategyManagerStorage storage s,
        address strategy
    )
        internal
        returns (address primaryDepositToken)
    {
        IBaseStrategy conn = IBaseStrategy(strategy);

        bool depositEnabled = conn.isDepositEnabled();
        if (depositEnabled) {
            primaryDepositToken = conn.token();
            if (primaryDepositToken == address(0)) revert InvalidPrimaryDepositToken();
        }

        s.strategyExists[strategy] = true;
        s.strategyConfigMapping[strategy] = StrategyConfig({
            strategy: strategy,
            primaryDepositToken: primaryDepositToken,
            depositEnabled: depositEnabled
        });

        s.strategyPrimaryDepositTokenMapping[primaryDepositToken] = strategy;

        _addStrategyToArray(s, strategy);

        return primaryDepositToken;
    }

    function _removeStrategy(StrategyManagerStorage storage s, address strategy) internal {
        delete s.strategyExists[strategy];
        delete s.strategyConfigMapping[strategy];
        delete s.strategyPrimaryDepositTokenMapping[IBaseStrategy(strategy).token()];

        _removeStrategyFromArray(s, strategy);
    }

    function _removeStrategyFromArray(StrategyManagerStorage storage s, address strategy) internal {
        for (uint256 i = 0; i < s.strategies.length; i++) {
            if (s.strategies[i] == strategy) {
                s.strategies[i] = s.strategies[s.strategies.length - 1];
                s.strategies.pop();
                return;
            }
        }

        revert StrategyDoesNotExist(strategy);
    }

    function _addStrategyToArray(StrategyManagerStorage storage s, address strategy) internal {
        s.strategies.push(strategy);
    }

    function _getStorage() internal pure returns (StrategyManagerStorage storage s) {
        bytes32 slot = STRATEGY_MANAGER_STORAGE_SLOT;
        assembly {
            s.slot := slot
        }
    }
}

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.0) (proxy/utils/Initializable.sol)

pragma solidity ^0.8.20;

/**
 * @dev This is a base contract to aid in writing upgradeable contracts, or any kind of contract that will be deployed
 * behind a proxy. Since proxied contracts do not make use of a constructor, it's common to move constructor logic to an
 * external initializer function, usually called `initialize`. It then becomes necessary to protect this initializer
 * function so it can only be called once. The {initializer} modifier provided by this contract will have this effect.
 *
 * The initialization functions use a version number. Once a version number is used, it is consumed and cannot be
 * reused. This mechanism prevents re-execution of each "step" but allows the creation of new initialization steps in
 * case an upgrade adds a module that needs to be initialized.
 *
 * For example:
 *
 * [.hljs-theme-light.nopadding]
 * ```solidity
 * contract MyToken is ERC20Upgradeable {
 *     function initialize() initializer public {
 *         __ERC20_init("MyToken", "MTK");
 *     }
 * }
 *
 * contract MyTokenV2 is MyToken, ERC20PermitUpgradeable {
 *     function initializeV2() reinitializer(2) public {
 *         __ERC20Permit_init("MyToken");
 *     }
 * }
 * ```
 *
 * TIP: To avoid leaving the proxy in an uninitialized state, the initializer function should be called as early as
 * possible by providing the encoded function call as the `_data` argument to {ERC1967Proxy-constructor}.
 *
 * CAUTION: When used with inheritance, manual care must be taken to not invoke a parent initializer twice, or to ensure
 * that all initializers are idempotent. This is not verified automatically as constructors are by Solidity.
 *
 * [CAUTION]
 * ====
 * Avoid leaving a contract uninitialized.
 *
 * An uninitialized contract can be taken over by an attacker. This applies to both a proxy and its implementation
 * contract, which may impact the proxy. To prevent the implementation contract from being used, you should invoke
 * the {_disableInitializers} function in the constructor to automatically lock it when it is deployed:
 *
 * [.hljs-theme-light.nopadding]
 * ```
 * /// @custom:oz-upgrades-unsafe-allow constructor
 * constructor() {
 *     _disableInitializers();
 * }
 * ```
 * ====
 */
abstract contract Initializable {
    /**
     * @dev Storage of the initializable contract.
     *
     * It's implemented on a custom ERC-7201 namespace to reduce the risk of storage collisions
     * when using with upgradeable contracts.
     *
     * @custom:storage-location erc7201:openzeppelin.storage.Initializable
     */
    struct InitializableStorage {
        /**
         * @dev Indicates that the contract has been initialized.
         */
        uint64 _initialized;
        /**
         * @dev Indicates that the contract is in the process of being initialized.
         */
        bool _initializing;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Initializable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant INITIALIZABLE_STORAGE = 0xf0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a00;

    /**
     * @dev The contract is already initialized.
     */
    error InvalidInitialization();

    /**
     * @dev The contract is not initializing.
     */
    error NotInitializing();

    /**
     * @dev Triggered when the contract has been initialized or reinitialized.
     */
    event Initialized(uint64 version);

    /**
     * @dev A modifier that defines a protected initializer function that can be invoked at most once. In its scope,
     * `onlyInitializing` functions can be used to initialize parent contracts.
     *
     * Similar to `reinitializer(1)`, except that in the context of a constructor an `initializer` may be invoked any
     * number of times. This behavior in the constructor can be useful during testing and is not expected to be used in
     * production.
     *
     * Emits an {Initialized} event.
     */
    modifier initializer() {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        // Cache values to avoid duplicated sloads
        bool isTopLevelCall = !$._initializing;
        uint64 initialized = $._initialized;

        // Allowed calls:
        // - initialSetup: the contract is not in the initializing state and no previous version was
        //                 initialized
        // - construction: the contract is initialized at version 1 (no reininitialization) and the
        //                 current contract is just being deployed
        bool initialSetup = initialized == 0 && isTopLevelCall;
        bool construction = initialized == 1 && address(this).code.length == 0;

        if (!initialSetup && !construction) {
            revert InvalidInitialization();
        }
        $._initialized = 1;
        if (isTopLevelCall) {
            $._initializing = true;
        }
        _;
        if (isTopLevelCall) {
            $._initializing = false;
            emit Initialized(1);
        }
    }

    /**
     * @dev A modifier that defines a protected reinitializer function that can be invoked at most once, and only if the
     * contract hasn't been initialized to a greater version before. In its scope, `onlyInitializing` functions can be
     * used to initialize parent contracts.
     *
     * A reinitializer may be used after the original initialization step. This is essential to configure modules that
     * are added through upgrades and that require initialization.
     *
     * When `version` is 1, this modifier is similar to `initializer`, except that functions marked with `reinitializer`
     * cannot be nested. If one is invoked in the context of another, execution will revert.
     *
     * Note that versions can jump in increments greater than 1; this implies that if multiple reinitializers coexist in
     * a contract, executing them in the right order is up to the developer or operator.
     *
     * WARNING: Setting the version to 2**64 - 1 will prevent any future reinitialization.
     *
     * Emits an {Initialized} event.
     */
    modifier reinitializer(uint64 version) {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing || $._initialized >= version) {
            revert InvalidInitialization();
        }
        $._initialized = version;
        $._initializing = true;
        _;
        $._initializing = false;
        emit Initialized(version);
    }

    /**
     * @dev Modifier to protect an initialization function so that it can only be invoked by functions with the
     * {initializer} and {reinitializer} modifiers, directly or indirectly.
     */
    modifier onlyInitializing() {
        _checkInitializing();
        _;
    }

    /**
     * @dev Reverts if the contract is not in an initializing state. See {onlyInitializing}.
     */
    function _checkInitializing() internal view virtual {
        if (!_isInitializing()) {
            revert NotInitializing();
        }
    }

    /**
     * @dev Locks the contract, preventing any future reinitialization. This cannot be part of an initializer call.
     * Calling this in the constructor of a contract will prevent that contract from being initialized or reinitialized
     * to any version. It is recommended to use this to lock implementation contracts that are designed to be called
     * through proxies.
     *
     * Emits an {Initialized} event the first time it is successfully executed.
     */
    function _disableInitializers() internal virtual {
        // solhint-disable-next-line var-name-mixedcase
        InitializableStorage storage $ = _getInitializableStorage();

        if ($._initializing) {
            revert InvalidInitialization();
        }
        if ($._initialized != type(uint64).max) {
            $._initialized = type(uint64).max;
            emit Initialized(type(uint64).max);
        }
    }

    /**
     * @dev Returns the highest version that has been initialized. See {reinitializer}.
     */
    function _getInitializedVersion() internal view returns (uint64) {
        return _getInitializableStorage()._initialized;
    }

    /**
     * @dev Returns `true` if the contract is currently initializing. See {onlyInitializing}.
     */
    function _isInitializing() internal view returns (bool) {
        return _getInitializableStorage()._initializing;
    }

    /**
     * @dev Returns a pointer to the storage namespace.
     */
    // solhint-disable-next-line var-name-mixedcase
    function _getInitializableStorage() private pure returns (InitializableStorage storage $) {
        assembly {
            $.slot := INITIALIZABLE_STORAGE
        }
    }
}

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

pragma solidity ^0.8.20;

import {ContextUpgradeable} from "../utils/ContextUpgradeable.sol";
import {Initializable} from "../proxy/utils/Initializable.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.
 *
 * The initial owner is set to the address provided by the deployer. 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 OwnableUpgradeable is Initializable, ContextUpgradeable {
    /// @custom:storage-location erc7201:openzeppelin.storage.Ownable
    struct OwnableStorage {
        address _owner;
    }

    // keccak256(abi.encode(uint256(keccak256("openzeppelin.storage.Ownable")) - 1)) & ~bytes32(uint256(0xff))
    bytes32 private constant OwnableStorageLocation = 0x9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c199300;

    function _getOwnableStorage() private pure returns (OwnableStorage storage $) {
        assembly {
            $.slot := OwnableStorageLocation
        }
    }

    /**
     * @dev The caller account is not authorized to perform an operation.
     */
    error OwnableUnauthorizedAccount(address account);

    /**
     * @dev The owner is not a valid owner account. (eg. `address(0)`)
     */
    error OwnableInvalidOwner(address owner);

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

    /**
     * @dev Initializes the contract setting the address provided by the deployer as the initial owner.
     */
    function __Ownable_init(address initialOwner) internal onlyInitializing {
        __Ownable_init_unchained(initialOwner);
    }

    function __Ownable_init_unchained(address initialOwner) internal onlyInitializing {
        if (initialOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(initialOwner);
    }

    /**
     * @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) {
        OwnableStorage storage $ = _getOwnableStorage();
        return $._owner;
    }

    /**
     * @dev Throws if the sender is not the owner.
     */
    function _checkOwner() internal view virtual {
        if (owner() != _msgSender()) {
            revert OwnableUnauthorizedAccount(_msgSender());
        }
    }

    /**
     * @dev Leaves the contract without owner. It will not be possible to call
     * `onlyOwner` functions. Can only be called by the current owner.
     *
     * NOTE: Renouncing ownership will leave the contract without an owner,
     * thereby disabling 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 {
        if (newOwner == address(0)) {
            revert OwnableInvalidOwner(address(0));
        }
        _transferOwnership(newOwner);
    }

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

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.28;

interface IBaseStrategy {
    struct BaseStrategyStorage {
        address optimizerVault;
    }

    // To be called via delegate
    function processHook(address strategy, uint32 transactionType, bytes calldata cmd) external;

    // To be called via delegate
    function finalizeHook(address strategy, uint32 transactionType, bytes calldata cmd) external;

    // To be called directly. How much asset to be deducted from reserve when claiming withdrawal
    function claimWithdrawalHook(
        uint256 totalSharesForWithdrawal,
        uint256 totalAssetsForWithdrawalInWithdrawalToken
    )
        external;

    function getBaseStrategyConfig() external view returns (BaseStrategyStorage memory);

    // Returns balance for vault accounted by the strategy in terms of underlying token
    function balance() external view returns (uint256, bool);

    // Token whitelisted to be deposited in the strategy
    function token() external view returns (address);

    // Whether user can directly deposits token linked to this strategy
    function isDepositEnabled() external view returns (bool);
}

// SPDX-License-Identifier: GPL-3.0
pragma solidity 0.8.28;

interface IStrategyManager {
    // structs
    struct StrategyConfig {
        address strategy;
        address primaryDepositToken;
        bool depositEnabled;
    }

    // events
    event StrategyAdded(address strategy, address primaryDepositToken, bool depositEnabled);
    event StrategyRemoved(address strategy);

    event StrategyDepositFlagUpdated(address strategy, bool depositEnabled);
    event StrategyTransactionCodeUpdated(address strategy, uint32 transactionCode, bool flag);

    // errors
    error InvalidStrategy();
    error InvalidPrimaryDepositToken();

    error DepositTokenNotWhitelisted();
    error DepositNotEnabled(address strategy);

    error StrategyAlreadyExist(address strategy);
    error StrategyDoesNotExist(address strategy);

    error TransactionCodeNotWhitelisted(address strategy, uint32 transactionCode);

    // read-only functions
    function getAllStrategies() external view returns (address[] memory);
    function getStrategyForDeposit(address token) external view returns (address);
    function getStrategyConfig(address strategy) external view returns (StrategyConfig memory);

    function assertStrategyExists(address strategy) external view;
    function assertTransactionCodeWhitelisted(address strategy, uint32 transactionCode) external view;

    // write-only functions
    function addStrategy(address strategy) external;
    function removeStrategy(address strategy) external;
    function updateDepositFlag(address strategy, bool depositEnabled) external;
    function updateTransactionCode(address strategy, uint32 transactionCode, bool flag) external;
}

File 6 of 7 : Helpers.sol
// SPDX-License-Identifier: GPL-3.0
pragma solidity ^0.8.28;

// common errors
error IncorrectTypeID(uint256 _typeId, address _sender);
error NegativePriceError();
error PriceStaleError();
error CallFailed();
error NotDepositContract(address _address);
error NotExecutor(address _address);
error NotStrategyContract(address _address);
error IncorrectTokenAddress(address _tokenAddress);
error IncorrectValue();
error IncorrectMessageAddress(address _sender);
error ZeroAddress();
error ZeroAmount();
error ZeroValue();
error MinimumDustAmountError();
error NonPayableFunction();
error DivideByZeroError();
error PermissionDenied();
error InvalidLendingThreshold();

error NotImplemented();

// common events

//deposit events

//deposit

// SPDX-License-Identifier: MIT
// OpenZeppelin Contracts (last updated v5.0.1) (utils/Context.sol)

pragma solidity ^0.8.20;
import {Initializable} from "../proxy/utils/Initializable.sol";

/**
 * @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 ContextUpgradeable is Initializable {
    function __Context_init() internal onlyInitializing {
    }

    function __Context_init_unchained() internal onlyInitializing {
    }
    function _msgSender() internal view virtual returns (address) {
        return msg.sender;
    }

    function _msgData() internal view virtual returns (bytes calldata) {
        return msg.data;
    }

    function _contextSuffixLength() internal view virtual returns (uint256) {
        return 0;
    }
}

Settings
{
  "remappings": [
    "@openzeppelin/contracts/=lib/openzeppelin-contracts/contracts/",
    "@openzeppelin/contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/contracts/",
    "@spectra-core/src/=lib/spectra-core/src/",
    "@pythnetwork/pyth-sdk-solidity/=node_modules/@pythnetwork/pyth-sdk-solidity/",
    "hardhat/=node_modules/hardhat/",
    "@morpho-blue/=lib/morpho-blue/",
    "ds-test/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/lib/ds-test/src/",
    "erc4626-tests/=lib/openzeppelin-contracts-upgradeable/lib/erc4626-tests/",
    "forge-std/=lib/forge-std/src/",
    "halmos-cheatcodes/=lib/openzeppelin-contracts-upgradeable/lib/halmos-cheatcodes/src/",
    "morpho-blue/=lib/morpho-blue/",
    "openzeppelin-contracts-upgradeable/=lib/openzeppelin-contracts-upgradeable/",
    "openzeppelin-contracts/=lib/openzeppelin-contracts/",
    "openzeppelin-erc20-basic/=lib/spectra-core/lib/openzeppelin-contracts/contracts/token/ERC20/",
    "openzeppelin-erc20-extensions/=lib/spectra-core/lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/extensions/",
    "openzeppelin-erc20/=lib/spectra-core/lib/openzeppelin-contracts-upgradeable/contracts/token/ERC20/",
    "openzeppelin-foundry-upgrades/=lib/openzeppelin-foundry-upgrades/src/",
    "openzeppelin-math/=lib/spectra-core/lib/openzeppelin-contracts/contracts/utils/math/",
    "openzeppelin-proxy/=lib/spectra-core/lib/openzeppelin-contracts-upgradeable/contracts/proxy/utils/",
    "openzeppelin-utils/=lib/spectra-core/lib/openzeppelin-contracts/contracts/utils/",
    "solidity-stringutils/=lib/openzeppelin-foundry-upgrades/lib/solidity-stringutils/",
    "spectra-core/=lib/spectra-core/",
    "v3-core/=lib/v3-core/"
  ],
  "optimizer": {
    "enabled": true,
    "runs": 50
  },
  "metadata": {
    "useLiteralContent": false,
    "bytecodeHash": "ipfs",
    "appendCBOR": true
  },
  "outputSelection": {
    "*": {
      "*": [
        "evm.bytecode",
        "evm.deployedBytecode",
        "devdoc",
        "userdoc",
        "metadata",
        "abi"
      ]
    }
  },
  "evmVersion": "cancun",
  "viaIR": false
}

Contract Security Audit

Contract ABI

API
[{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"DepositNotEnabled","type":"error"},{"inputs":[],"name":"DepositTokenNotWhitelisted","type":"error"},{"inputs":[],"name":"InvalidInitialization","type":"error"},{"inputs":[],"name":"InvalidPrimaryDepositToken","type":"error"},{"inputs":[],"name":"InvalidStrategy","type":"error"},{"inputs":[],"name":"NotInitializing","type":"error"},{"inputs":[{"internalType":"address","name":"owner","type":"address"}],"name":"OwnableInvalidOwner","type":"error"},{"inputs":[{"internalType":"address","name":"account","type":"address"}],"name":"OwnableUnauthorizedAccount","type":"error"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyAlreadyExist","type":"error"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyDoesNotExist","type":"error"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"},{"internalType":"uint32","name":"transactionCode","type":"uint32"}],"name":"TransactionCodeNotWhitelisted","type":"error"},{"inputs":[],"name":"ZeroAddress","type":"error"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"uint64","name":"version","type":"uint64"}],"name":"Initialized","type":"event"},{"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":"strategy","type":"address"},{"indexed":false,"internalType":"address","name":"primaryDepositToken","type":"address"},{"indexed":false,"internalType":"bool","name":"depositEnabled","type":"bool"}],"name":"StrategyAdded","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"},{"indexed":false,"internalType":"bool","name":"depositEnabled","type":"bool"}],"name":"StrategyDepositFlagUpdated","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"}],"name":"StrategyRemoved","type":"event"},{"anonymous":false,"inputs":[{"indexed":false,"internalType":"address","name":"strategy","type":"address"},{"indexed":false,"internalType":"uint32","name":"transactionCode","type":"uint32"},{"indexed":false,"internalType":"bool","name":"flag","type":"bool"}],"name":"StrategyTransactionCodeUpdated","type":"event"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"addStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"assertStrategyExists","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"},{"internalType":"uint32","name":"transactionCode","type":"uint32"}],"name":"assertTransactionCodeWhitelisted","outputs":[],"stateMutability":"view","type":"function"},{"inputs":[],"name":"getAllStrategies","outputs":[{"internalType":"address[]","name":"","type":"address[]"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"getStrategyConfig","outputs":[{"components":[{"internalType":"address","name":"strategy","type":"address"},{"internalType":"address","name":"primaryDepositToken","type":"address"},{"internalType":"bool","name":"depositEnabled","type":"bool"}],"internalType":"struct IStrategyManager.StrategyConfig","name":"","type":"tuple"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"token","type":"address"}],"name":"getStrategyForDeposit","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"_owner","type":"address"}],"name":"initialize","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"owner","outputs":[{"internalType":"address","name":"","type":"address"}],"stateMutability":"view","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"}],"name":"removeStrategy","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[],"name":"renounceOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"newOwner","type":"address"}],"name":"transferOwnership","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"},{"internalType":"bool","name":"depositEnabled","type":"bool"}],"name":"updateDepositFlag","outputs":[],"stateMutability":"nonpayable","type":"function"},{"inputs":[{"internalType":"address","name":"strategy","type":"address"},{"internalType":"uint32","name":"transactionCode","type":"uint32"},{"internalType":"bool","name":"flag","type":"bool"}],"name":"updateTransactionCode","outputs":[],"stateMutability":"nonpayable","type":"function"}]

6080604052348015600e575f5ffd5b50610f6a8061001c5f395ff3fe608060405234801561000f575f5ffd5b50600436106100ad575f3560e01c806311f13aef146100b1578063175188e8146100c6578063223e5479146100d957806325d8247d146100ec578063715018a6146100ff5780638da5cb5b14610107578063a14889fe14610125578063af8f3c961461016a578063c3b288641461017d578063c4d66de814610192578063ccee9904146101a5578063d1cc64fe146101b8578063f2fde38b146101cb575b5f5ffd5b6100c46100bf366004610d75565b6101de565b005b6100c46100d4366004610dac565b610271565b6100c46100e7366004610dac565b6102fa565b6100c46100fa366004610ddf565b6103fc565b6100c4610478565b61010f61048b565b60405161011c9190610e12565b60405180910390f35b610138610133366004610dac565b6104a5565b6040805182516001600160a01b039081168252602080850151909116908201529181015115159082015260600161011c565b61010f610178366004610dac565b610524565b6101856105cb565b60405161011c9190610e26565b6100c46101a0366004610dac565b610634565b6100c46101b3366004610e71565b61072d565b6100c46101c6366004610dac565b6107c9565b6100c46101d9366004610dac565b6107e2565b6101e661081f565b5f6101ef610851565b90506101fb8184610875565b6001600160a01b0383165f81815260018381016020908152604092839020909101805460ff60a01b1916600160a01b871515908102919091179091558251938452908301527fe0508b148170e6240389bc45de35c872bcf4c13c72e582048db3972dd3f8a0b191015b60405180910390a1505050565b61027961081f565b6001600160a01b0381166102a05760405163d92e233d60e01b815260040160405180910390fd5b5f6102a9610851565b90506102b58183610875565b6102bf81836108af565b7f09a1db4b80c32706328728508c941a6b954f31eb5affd32f236c1fd405f8fea4826040516102ee9190610e12565b60405180910390a15050565b61030261081f565b6001600160a01b0381166103295760405163d92e233d60e01b815260040160405180910390fd5b806001600160a01b03163b5f0361035357604051632711b74d60e11b815260040160405180910390fd5b5f61035c610851565b6001600160a01b0383165f9081526020829052604090205490915060ff16156103a357816040516372b111af60e01b815260040161039a9190610e12565b60405180910390fd5b5f6103ae8284610982565b604080516001600160a01b038087168252831660208201526001918101919091529091507fa537ab086f1c0c08d683480c007a5e324ef0774655ad4a51f69ee2bcee4b731690606001610264565b5f610405610851565b90506104118184610875565b6001600160a01b0383165f908152600282016020908152604080832063ffffffff8616845290915290205460ff16610473576040516374ebd59560e11b81526001600160a01b038416600482015263ffffffff8316602482015260440161039a565b505050565b61048061081f565b6104895f610b3f565b565b5f5f610495610b99565b546001600160a01b031692915050565b604080516060810182525f80825260208201819052918101829052906104c9610851565b90506104d58184610875565b6001600160a01b039283165f90815260019182016020908152604091829020825160608101845281548716815293015494851690830152600160a01b90930460ff161515928101929092525090565b5f5f61052e610851565b6001600160a01b038481165f9081526003830160205260409020549192501661056a576040516307a1e69960e31b815260040160405180910390fd5b6001600160a01b038381165f9081526003830160209081526040808320549093168083526001808601909252929091200154600160a01b900460ff166105c457806040516269389b60e01b815260040161039a9190610e12565b9392505050565b60605f6105d6610851565b6004810180546040805160208084028201810190925282815293945083018282801561062957602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161060b575b505050505091505090565b5f61063d610bbd565b805490915060ff600160401b820416159067ffffffffffffffff165f811580156106645750825b90505f8267ffffffffffffffff1660011480156106805750303b155b90508115801561068e575080155b156106ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106d657845460ff60401b1916600160401b1785555b6106df86610be1565b831561072557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61073561081f565b5f61073e610851565b905061074a8185610875565b6001600160a01b0384165f818152600283016020908152604080832063ffffffff881680855290835292819020805460ff1916871515908117909155815194855291840192909252908201527f46a0bae63221490016fa3ce5e267be07da55a3769dbe99b9c33a27f1fb6e4d2d9060600160405180910390a150505050565b5f6107d2610851565b90506107de8183610875565b5050565b6107ea61081f565b6001600160a01b038116610813575f604051631e4fbdf760e01b815260040161039a9190610e12565b61081c81610b3f565b50565b3361082861048b565b6001600160a01b031614610489573360405163118cdaa760e01b815260040161039a9190610e12565b7f0f91088e8bfa02b63e2929a357b705d6ceddba483fb541c2566127933571c40090565b6001600160a01b0381165f9081526020839052604090205460ff166107de5780604051632452435f60e11b815260040161039a9190610e12565b6001600160a01b0381165f81815260208481526040808320805460ff191690556001808701835281842080546001600160a01b03191681550180546001600160a81b03191690558051637e062a3560e11b8152905160038701949263fc0c546a92600480820193918290030181865afa15801561092e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109529190610eb7565b6001600160a01b0316815260208101919091526040015f2080546001600160a01b03191690556107de8282610bf2565b5f5f8290505f816001600160a01b0316635656fc786040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e89190610ed2565b90508015610a7957816001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a2c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a509190610eb7565b92506001600160a01b038316610a7957604051630ad3667f60e01b815260040160405180910390fd5b6001600160a01b038481165f81815260208881526040808320805460ff191660019081179091558151606081018352858152898716818501818152891515838601908152888852848f01875285882093518454908b166001600160a01b03199182161785559151938501805491511515600160a01b026001600160a81b031990921694909a16939093179290921790975595845260038b018352908320805486168517905560048a01805491820181558352912001805490921617905550505b92915050565b5f610b48610b99565b80546001600160a01b038481166001600160a01b031983168117845560405193945091169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0090565b610be9610d0e565b61081c81610d33565b5f5b6004830154811015610cf257816001600160a01b0316836004018281548110610c1f57610c1f610eed565b5f918252602090912001546001600160a01b031603610cea57600483018054610c4a90600190610f01565b81548110610c5a57610c5a610eed565b5f918252602090912001546004840180546001600160a01b039092169183908110610c8757610c87610eed565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600401805480610cc557610cc5610f20565b5f8281526020902081015f1990810180546001600160a01b0319169055019055505050565b600101610bf4565b5080604051632452435f60e11b815260040161039a9190610e12565b610d16610d3b565b61048957604051631afcd79f60e31b815260040160405180910390fd5b6107ea610d0e565b5f610d44610bbd565b54600160401b900460ff16919050565b6001600160a01b038116811461081c575f5ffd5b801515811461081c575f5ffd5b5f5f60408385031215610d86575f5ffd5b8235610d9181610d54565b91506020830135610da181610d68565b809150509250929050565b5f60208284031215610dbc575f5ffd5b81356105c481610d54565b803563ffffffff81168114610dda575f5ffd5b919050565b5f5f60408385031215610df0575f5ffd5b8235610dfb81610d54565b9150610e0960208401610dc7565b90509250929050565b6001600160a01b0391909116815260200190565b602080825282518282018190525f918401906040840190835b81811015610e665783516001600160a01b0316835260209384019390920191600101610e3f565b509095945050505050565b5f5f5f60608486031215610e83575f5ffd5b8335610e8e81610d54565b9250610e9c60208501610dc7565b91506040840135610eac81610d68565b809150509250925092565b5f60208284031215610ec7575f5ffd5b81516105c481610d54565b5f60208284031215610ee2575f5ffd5b81516105c481610d68565b634e487b7160e01b5f52603260045260245ffd5b81810381811115610b3957634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220a21caf88526daacb54e7f2d40abab8b88c717e3dccd52fa46a0d39ddf78604ae64736f6c634300081c0033

Deployed Bytecode

0x608060405234801561000f575f5ffd5b50600436106100ad575f3560e01c806311f13aef146100b1578063175188e8146100c6578063223e5479146100d957806325d8247d146100ec578063715018a6146100ff5780638da5cb5b14610107578063a14889fe14610125578063af8f3c961461016a578063c3b288641461017d578063c4d66de814610192578063ccee9904146101a5578063d1cc64fe146101b8578063f2fde38b146101cb575b5f5ffd5b6100c46100bf366004610d75565b6101de565b005b6100c46100d4366004610dac565b610271565b6100c46100e7366004610dac565b6102fa565b6100c46100fa366004610ddf565b6103fc565b6100c4610478565b61010f61048b565b60405161011c9190610e12565b60405180910390f35b610138610133366004610dac565b6104a5565b6040805182516001600160a01b039081168252602080850151909116908201529181015115159082015260600161011c565b61010f610178366004610dac565b610524565b6101856105cb565b60405161011c9190610e26565b6100c46101a0366004610dac565b610634565b6100c46101b3366004610e71565b61072d565b6100c46101c6366004610dac565b6107c9565b6100c46101d9366004610dac565b6107e2565b6101e661081f565b5f6101ef610851565b90506101fb8184610875565b6001600160a01b0383165f81815260018381016020908152604092839020909101805460ff60a01b1916600160a01b871515908102919091179091558251938452908301527fe0508b148170e6240389bc45de35c872bcf4c13c72e582048db3972dd3f8a0b191015b60405180910390a1505050565b61027961081f565b6001600160a01b0381166102a05760405163d92e233d60e01b815260040160405180910390fd5b5f6102a9610851565b90506102b58183610875565b6102bf81836108af565b7f09a1db4b80c32706328728508c941a6b954f31eb5affd32f236c1fd405f8fea4826040516102ee9190610e12565b60405180910390a15050565b61030261081f565b6001600160a01b0381166103295760405163d92e233d60e01b815260040160405180910390fd5b806001600160a01b03163b5f0361035357604051632711b74d60e11b815260040160405180910390fd5b5f61035c610851565b6001600160a01b0383165f9081526020829052604090205490915060ff16156103a357816040516372b111af60e01b815260040161039a9190610e12565b60405180910390fd5b5f6103ae8284610982565b604080516001600160a01b038087168252831660208201526001918101919091529091507fa537ab086f1c0c08d683480c007a5e324ef0774655ad4a51f69ee2bcee4b731690606001610264565b5f610405610851565b90506104118184610875565b6001600160a01b0383165f908152600282016020908152604080832063ffffffff8616845290915290205460ff16610473576040516374ebd59560e11b81526001600160a01b038416600482015263ffffffff8316602482015260440161039a565b505050565b61048061081f565b6104895f610b3f565b565b5f5f610495610b99565b546001600160a01b031692915050565b604080516060810182525f80825260208201819052918101829052906104c9610851565b90506104d58184610875565b6001600160a01b039283165f90815260019182016020908152604091829020825160608101845281548716815293015494851690830152600160a01b90930460ff161515928101929092525090565b5f5f61052e610851565b6001600160a01b038481165f9081526003830160205260409020549192501661056a576040516307a1e69960e31b815260040160405180910390fd5b6001600160a01b038381165f9081526003830160209081526040808320549093168083526001808601909252929091200154600160a01b900460ff166105c457806040516269389b60e01b815260040161039a9190610e12565b9392505050565b60605f6105d6610851565b6004810180546040805160208084028201810190925282815293945083018282801561062957602002820191905f5260205f20905b81546001600160a01b0316815260019091019060200180831161060b575b505050505091505090565b5f61063d610bbd565b805490915060ff600160401b820416159067ffffffffffffffff165f811580156106645750825b90505f8267ffffffffffffffff1660011480156106805750303b155b90508115801561068e575080155b156106ac5760405163f92ee8a960e01b815260040160405180910390fd5b845467ffffffffffffffff1916600117855583156106d657845460ff60401b1916600160401b1785555b6106df86610be1565b831561072557845460ff60401b19168555604051600181527fc7f505b2f371ae2175ee4913f4499e1f2633a7b5936321eed1cdaeb6115181d29060200160405180910390a15b505050505050565b61073561081f565b5f61073e610851565b905061074a8185610875565b6001600160a01b0384165f818152600283016020908152604080832063ffffffff881680855290835292819020805460ff1916871515908117909155815194855291840192909252908201527f46a0bae63221490016fa3ce5e267be07da55a3769dbe99b9c33a27f1fb6e4d2d9060600160405180910390a150505050565b5f6107d2610851565b90506107de8183610875565b5050565b6107ea61081f565b6001600160a01b038116610813575f604051631e4fbdf760e01b815260040161039a9190610e12565b61081c81610b3f565b50565b3361082861048b565b6001600160a01b031614610489573360405163118cdaa760e01b815260040161039a9190610e12565b7f0f91088e8bfa02b63e2929a357b705d6ceddba483fb541c2566127933571c40090565b6001600160a01b0381165f9081526020839052604090205460ff166107de5780604051632452435f60e11b815260040161039a9190610e12565b6001600160a01b0381165f81815260208481526040808320805460ff191690556001808701835281842080546001600160a01b03191681550180546001600160a81b03191690558051637e062a3560e11b8152905160038701949263fc0c546a92600480820193918290030181865afa15801561092e573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109529190610eb7565b6001600160a01b0316815260208101919091526040015f2080546001600160a01b03191690556107de8282610bf2565b5f5f8290505f816001600160a01b0316635656fc786040518163ffffffff1660e01b8152600401602060405180830381865afa1580156109c4573d5f5f3e3d5ffd5b505050506040513d601f19601f820116820180604052508101906109e89190610ed2565b90508015610a7957816001600160a01b031663fc0c546a6040518163ffffffff1660e01b8152600401602060405180830381865afa158015610a2c573d5f5f3e3d5ffd5b505050506040513d601f19601f82011682018060405250810190610a509190610eb7565b92506001600160a01b038316610a7957604051630ad3667f60e01b815260040160405180910390fd5b6001600160a01b038481165f81815260208881526040808320805460ff191660019081179091558151606081018352858152898716818501818152891515838601908152888852848f01875285882093518454908b166001600160a01b03199182161785559151938501805491511515600160a01b026001600160a81b031990921694909a16939093179290921790975595845260038b018352908320805486168517905560048a01805491820181558352912001805490921617905550505b92915050565b5f610b48610b99565b80546001600160a01b038481166001600160a01b031983168117845560405193945091169182907f8be0079c531659141344cd1fd0a4f28419497f9722a3daafe3b4186f6b6457e0905f90a3505050565b7f9016d09d72d40fdae2fd8ceac6b6234c7706214fd39c1cd1e609a0528c19930090565b7ff0c57e16840df040f15088dc2f81fe391c3923bec73e23a9662efc9c229c6a0090565b610be9610d0e565b61081c81610d33565b5f5b6004830154811015610cf257816001600160a01b0316836004018281548110610c1f57610c1f610eed565b5f918252602090912001546001600160a01b031603610cea57600483018054610c4a90600190610f01565b81548110610c5a57610c5a610eed565b5f918252602090912001546004840180546001600160a01b039092169183908110610c8757610c87610eed565b905f5260205f20015f6101000a8154816001600160a01b0302191690836001600160a01b0316021790555082600401805480610cc557610cc5610f20565b5f8281526020902081015f1990810180546001600160a01b0319169055019055505050565b600101610bf4565b5080604051632452435f60e11b815260040161039a9190610e12565b610d16610d3b565b61048957604051631afcd79f60e31b815260040160405180910390fd5b6107ea610d0e565b5f610d44610bbd565b54600160401b900460ff16919050565b6001600160a01b038116811461081c575f5ffd5b801515811461081c575f5ffd5b5f5f60408385031215610d86575f5ffd5b8235610d9181610d54565b91506020830135610da181610d68565b809150509250929050565b5f60208284031215610dbc575f5ffd5b81356105c481610d54565b803563ffffffff81168114610dda575f5ffd5b919050565b5f5f60408385031215610df0575f5ffd5b8235610dfb81610d54565b9150610e0960208401610dc7565b90509250929050565b6001600160a01b0391909116815260200190565b602080825282518282018190525f918401906040840190835b81811015610e665783516001600160a01b0316835260209384019390920191600101610e3f565b509095945050505050565b5f5f5f60608486031215610e83575f5ffd5b8335610e8e81610d54565b9250610e9c60208501610dc7565b91506040840135610eac81610d68565b809150509250925092565b5f60208284031215610ec7575f5ffd5b81516105c481610d54565b5f60208284031215610ee2575f5ffd5b81516105c481610d68565b634e487b7160e01b5f52603260045260245ffd5b81810381811115610b3957634e487b7160e01b5f52601160045260245ffd5b634e487b7160e01b5f52603160045260245ffdfea2646970667358221220a21caf88526daacb54e7f2d40abab8b88c717e3dccd52fa46a0d39ddf78604ae64736f6c634300081c0033

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.