Skip to content
Verified contractPartialGPL-3.0-only

PairBlockLendingFundRemoval

Address0x77499b9f96c8de0a68ecfc7e08c9e02f59bb9a2d
Balance

0 ETH

 

Transactions

0

 

Compiler

solc 0.8.34

 

Same code

Only this contract

 

Details

Compiler
solc 0.8.34+commit.80d5c536
Language
solidity
Optimization
Yes, 1 runs
EVM version
cancun
License
GPL-3.0-only
Match
Partialcreation code: yes, runtime code: yes
Verified on Sourcify
Created in block
26,443,543
Creation transaction
0x9cd32fa72a…66ac29f585
Libraries
lib/core-v1/contracts/proxy/PairBlockLendingFundRemoval.sol:Interest0xfb98…371138lib/core-v1/contracts/proxy/PairBlockLendingFundRemoval.sol:Validation0x8df1…d88a5e

45 files

The source code is large: one file is shown at a time. Choose a file in the list.

lib/core-v1/contracts/interfaces/tokens/IHookRegistry.sol

// SPDX-License-Identifier: MIT
pragma solidity ^0.8.34;

interface IHookRegistry {
    /**
     * @dev Updates the allowed status of a hook.
     * @notice This function is restricted to the owner of the contract.
     * @param hook The address of the hook to be updated.
     * @param allowed A boolean value indicating whether the hook should be allowed (true) or disallowed (false).
     * @dev Emits no events.
     */
    function updateHook(address hook, bool allowed) external;

    /**
     * @dev Checks if a hook is allowed.
     * @param hook The address of the hook to check.
     * @return A boolean value indicating whether the hook is allowed (true) or disallowed (false).
     * @dev This function is a view function and does not alter state.
     */
    function isHookAllowed(
        address hook
    ) external view returns (bool);
}
Compiler settingsShow
{
  "viaIR": false,
  "metadata": {
    "appendCBOR": true,
    "bytecodeHash": "ipfs",
    "useLiteralContent": false
  },
  "libraries": {
    "lib/core-v1/contracts/proxy/PairBlockLendingFundRemoval.sol": {
      "Interest": "0xfb9840519502cce354943cf6920538a30d371138",
      "Validation": "0x8df125dc481b6b42e03c0977398cd3b6ead88a5e"
    }
  },
  "optimizer": {
    "runs": 1,
    "enabled": true
  },
  "evmVersion": "cancun",
  "remappings": [
    "@core-v1/=lib/core-v1/",
    "@peripheral-v1/=lib/peripheral-v1/contracts/",
    "contracts/=lib/core-v1/contracts/",
    "utils/=lib/core-v1/utils/",
    "@openzeppelin/=lib/core-v1/lib/openzeppelin-contracts/",
    "@openzeppelin-upgradeable/=lib/core-v1/lib/openzeppelin-contracts-upgradeable/",
    "@1inch/=lib/core-v1/lib/1inch/",
    "@mangrovedao/mangrove-core/=lib/core-v1/lib/mangrove-core/",
    "@morpho-org/morpho-blue/=lib/core-v1/lib/morpho-blue/",
    "forge-std/=lib/core-v1/lib/forge-std/src/",
    "lib/ExcessivelySafeCall/=lib/core-v1/lib/ExcessivelySafeCall/",
    "lib/openzeppelin-contracts/=lib/core-v1/lib/openzeppelin-contracts/",
    "lib/1inch/=lib/core-v1/lib/1inch/"
  ]
}

Source code and metadata: Sourcify.

The source code belongs to the authors of the contract.