Skip to content
This repository was archived by the owner on Apr 3, 2019. It is now read-only.

Testing Still needing to be done For Polymath.js

Priom Chowdhury edited this page Jan 31, 2018 · 2 revisions

Compliance

  • Tests missing
    • cancleTemplateProposal
    • proposeOfferingContract
    • gerOfferingByProposal
    • getSTOAddressbyProposal
    • proposeSTO
    • cancleSTOProposal
    • getSTOProposal
    • Test the Three LOGS - LogTemplateCreated, LogNewTemplateProposal, LogNewContractProposal
    • subscribe and unsubscribe
    • updateTemplateReputation (only the template itself can update this)
    • updateOfferingReputation (only the offering itself can update this)

Customers

  • Testings Missing
    • changeRegistrationFee
    • test LogNewProvider works
    • subscribe and unsubscribe
  • Functions left out on purpose
    • none

PolyTokens

  • Testing Missing
    • Approval log
    • subscribe and unsubscribe
  • Functions left out on purpose
    • none

Template

  • Tests Missing
    • addDivisionJurisdiction
    • checkIfDivisionJurisdictionIsAllowed
    • Log tests
    • subscribe and unsubscribe
  • Functions left out on purpose
    • none

SecuriytTokenRegistrar

  • Tests missing
    • Log Tests
    • subscribe and unsubscribe
  • Funcitons left out on purpose
    • initialize (INTERNAL)

SecurityToken

  • Tests missing
    • test logs of all 7 events
    • subscribe and unsubscribe
    • getSymbol
    • getOwnerAddress
    • getTotalSupply
    • getDelegateAddress
    • getMerkleRoot
    • getKYCProviderAddress
    • getSTOContractAddress
    • getMaximumPolyContribution
    • getSTOStart
    • getSTOEnd
    • selectSTOProposal
    • withdrawPoly
    • voteToFreeze
    • getBalanceOf
    • Transfer
    • approve
    • getAllowance
    • transferFrom
  • Functions left out on purpose
    • issueSecurityTokens (onlySTO can call this, no use for polymathJS)
Clone this wiki locally