1.2.0 • Published 11 months ago

@poolzfinance/invested-provider v1.2.0

Weekly downloads
-
License
MIT
Repository
-
Last release
11 months ago

InvestedProvider

Build and Test codecov CodeFactor License

InvestedProvider is a smart contract that serves as proof of investment. Each time participants invest in an IDO, they will receive an InvestedProvider NFT as a mark and proof of successful investment.

Navigation

Installation

Install the packages:

npm i

Compile contracts:

npx hardhat compile

Run tests:

npx hardhat test

Run coverage:

npx hardhat coverage

Deploy:

npx truffle dashboard
npx hardhat run ./scripts/deploy.ts --network truffleDashboard

Overview

The InvestedProvider contract is designed to track and verify investment participation in IDOs. It confirms ownership of investments through NFTs and integrates with the LockDealNFT system to manage provider and deal-related states.

Key Features:

  • Proof of Investment: Provides an NFT as proof of successful investment.
  • Firewall Protection: Utilizes firewall protections to prevent unauthorized actions like withdrawals and splits.

UML

Below is a simplified representation of the contract structure and interactions: classDiagram

Functions

registerPool

InvestedProvider does not support data registration. The number of InvestedProvider parameters is always zero.

getParams

getParams always returns an empty array.

License

The-Poolz Contracts is released under the MIT License.