PredictRAM
  • Introduction
    • Problem Statement
    • Solution Offered
  • Bond DeFi
  • PredictRAM Reports
    • Function Testing - Completed
    • Audit Report - Completed
  • PredictRAM - FinRAM Internship Program
    • FinRAM QnA
  • RBI Monetary Policy Analysis
  • Ratiolyzer by PredictRAM
  • PredictRAM FRA Tools
  • NISM Research Analysts Modules
  • Fundamentals
    • Adhuniq Knowledge Base
    • WhitePaper
    • PredictRAM Onepager
    • WhitePaper for DeFi Technology
      • Advantages of tokenized assets
    • Performance
      • Portfolio Returns
      • Economic Data Analysis
    • Economic Data
      • GDP Data
    • Datathon 2022
      • Introduction
      • Datathon Conditions
      • Economic Report Analysis Templet
      • PredictRAM Financial Analysis Report-Templet
      • Economic Analysis
  • About PredictRAM
  • Internship Terms
  • Financial Analyst Internship at PredictRAM
    • Report on Index of Industrial Production - Pre-Covid Era
    • ECONOMY ANALYSIS FACTORS
    • BALANCE OF TRADE - REPORT
    • Inflation Data - CPI
    • Sector Analysis Report - Cement Sector
  • Extras
    • Keyboard Shortcuts
  • PredictRAM DeFi Network
Powered by GitBook
On this page
  1. PredictRAM Reports

Function Testing - Completed

PredictRAM Test Suite

Test 1:

Deploying the Portfolio Contract factory, leads to successful deployment of two contracts, portfolioBuyer and portfolioTokens.

Test 2:

addMinter function in portfolioTokens contract, successfully adds the portfolioBuyer contract as a minter and thus allows the contract to mint portfolio Tokens.

Test 3:

setTokenAddress function allows the portfolioBuyer contract to successfully mint the portfolio Tokens to the user.

Test 4:

A designated Signer is added that successfully provides the signature from the backend and allows the buyer to buy portfolio tokens. Any tampering with the data passed reverts the transaction.

Test 5:

BuyBack Function from the portfolioBuyer contract successfully, provides the value of the portfolio token , to the client according to the current market, by burning the portfolio token.

Test 6:

All the setters are working as expected.

About tester:

Solidity Developer and Tester with 1.5 years of experience in writing many P2E games. Tester with knowledge of both automated tests with hardhat and remix testing. Experienced in working with team of developers.

PreviousPredictRAM ReportsNextAudit Report - Completed

Last updated 3 years ago

126KB
PredictRAM_Function_Testing_Suite_26March2022.pdf
pdf
File