Keyboard shortcuts

Press or to navigate between chapters

Press S or / to search in the book

Press ? to show this help

Press Esc to hide this help

SparkLendV1OperationSafetyAssertion

Git Source

Inherits: AaveV3LikeOperationSafetyAssertionBase

Title: SparkLendV1OperationSafetyAssertion

Author: Phylax Systems

Single-entry assertion bundle for SparkLend v1 pools.

Usage: cl.assertion({ adopter: sparkPool, createData: abi.encodePacked(type(SparkLendV1OperationSafetyAssertion).creationCode, abi.encode(sparkPool, addressesProvider)), fnSelector: SparkLendV1OperationSafetyAssertion.assertOperationSafety.selector })

Functions

constructor

constructor(address pool_, address addressesProvider_)
    AaveV3LikeOperationSafetyAssertionBase(ILendingProtectionSuite(
            address(new SparkLendV1ProtectionSuite(pool_, addressesProvider_))
        ));