@defaino/contracts

1.0.1 • Public • Published

code style: prettier

DeFaino contracts

This package contains the basic contracts and interfaces of the DeFaino lending protocol. These contracts will help you make your own DeFaino-based implementation or integrate with existing systems

Overview

Installation

$ npm install @defaino/contracts

The latest stable version is always in the master branch.

Usage

This package will assist you in writing contracts that should integrate with a DeFaino-based lending protocol

Once the npm package is installed, one can use the contracts just like that:

pragma solidity ^0.8.17;

import {IPriceManager} from "@defaino/contracts/interfaces/IPriceManager.sol";

contract MyPriceManager is IPriceManager {
    . . .
}

License

The package is released under the GPL-3.0 License.

/@defaino/contracts/

    Package Sidebar

    Install

    npm i @defaino/contracts

    Weekly Downloads

    2

    Version

    1.0.1

    License

    GPL-3.0

    Unpacked Size

    261 kB

    Total Files

    39

    Last publish

    Collaborators

    • arvolear
    • hrom_h