Skip to content
This repository was archived by the owner on Jul 6, 2022. It is now read-only.

v2.0.0

Choose a tag to compare

@shivamagl95 shivamagl95 released this 02 Sep 22:02
· 321 commits to master since this release

2.0.0 (2019-09-02)

Bug Fixes

  • πŸ› _modifyTicker assertions missing for existing ticker st (df88d21)
  • πŸ› 0x00 as empty data by default on issue method (0feb657)
  • πŸ› add ABI into PolymathAPI (7553b79)
  • πŸ› add ABI to abiArray (762a1d6)
  • πŸ› add assertions (9378266)
  • πŸ› add method documentation (41d5b19)
  • πŸ› add more descriptive ErrorCodes (3757c97)
  • πŸ› add new tests for VEW (6044442)
  • πŸ› add return types for some functions (e6c8883)
  • πŸ› add verify and prettier to code (eec1d62)
  • πŸ› add VEW event args and adapt it to new abi refactor (2a6098c)
  • πŸ› assert document exists before removeDocument (ST) (c89039d)
  • πŸ› best enum use for Transfer status codes (0f0c2b9)
  • πŸ› blacklistTM comments updated to jsdoc standards (adb966b)
  • πŸ› blacklistTM issues with comments from PR (12b53c4)
  • πŸ› blacklistTM refactoring and abi issues (adfab67)
  • πŸ› broken wrapper and get test to pass. prettier changes (de2b1f9)
  • πŸ› build broken from starttime change in sto wrapper (3ec7540)
  • πŸ› change numberOfTokens type (9c99f98)
  • πŸ› Change owner address by beneficiary address (37dc6aa)
  • πŸ› check factory owner from unarchive, refactor duplication (48727cd)
  • πŸ› code improvements and typo fixes (f0731f9)
  • πŸ› configure webpack to build separately for browser (6414aea)
  • πŸ› convert ticker to uppercase when asking for availability (37545da)
  • πŸ› CTM example now works! (651c588)
  • πŸ› disallow SC as a fundraise type for Capped STO (6e9f39d)
  • πŸ› dividendCheckpoint improvements (a936903)
  • πŸ› dividendCheckpoint start and end type to number type (609c1fa)
  • πŸ› ErrorClass implementation for STR wrapper (9ffbcf1)
  • πŸ› ErrorCode implementation in poly token and ST wrapper (29b825b)
  • πŸ› export for every method using sendTransaction (a1246c8)
  • πŸ› finish fixing remnants of merge conflicts (fb0d174)
  • πŸ› fix broken test (c216e04)
  • πŸ› fix compilation issues (9435a0d)
  • πŸ› fix PTM example to fail when above threshold (c4bf6c3)
  • πŸ› fix typo errors requested by feedback (d38bc2d)
  • πŸ› fix typos and params types (52f5c20)
  • πŸ› fix Vesting Escrow wallet example (6a1cd35)
  • πŸ› fixing addModuleWithLabel test (e12ca4e)
  • πŸ› Fixing GPM example (3bf7086)
  • πŸ› fixing ModifyKYCDataSigned test method (4dc422b)
  • πŸ› generateNewSecurityToken in STR missing assertions (bb10e38)
  • πŸ› getKYCData test method is working again (e6da110)
  • πŸ› getLogsAsync fixed for 'RegisterTicker' event (e6bfc17)
  • πŸ› GTM example works again (7f2c2f2)
  • πŸ› ignore this line (6e54976)
  • πŸ› implement ErrorClass in VEW (a08335e)
  • πŸ› implement ErrorCode class for feature, module and poly (d3239a9)
  • πŸ› implement ErrorCode class on VRT (9379d20)
  • πŸ› implement ErrorCode in PTM (a54056c)
  • πŸ› implement ErrorCode type for backlist transfer manager (5aad2dc)
  • πŸ› implement ErrorCode type for capped sto wrapper (22f991b)
  • πŸ› implement ErrorCode type for CTM and GTM wrapper (d3e3ce1)
  • πŸ› implement ErrorCode type for dividend checkpoint wrapper (5bebc6b)
  • πŸ› implement ErrorCode type for erc20 dividend checkpoint (e0e1189)
  • πŸ› implement ErrorCode type for ether dividend checkpoint (cec6223)
  • πŸ› implement ErrorCode type for GPM (fe5056c)
  • πŸ› implement ErrorCode type for module factory module (06a3b43)
  • πŸ› implement ErrorCode type for module wrapper (f4f5aa3)
  • πŸ› implement ErrorCode type for sto and usd tieres sto (e9b23ec)
  • πŸ› implement ErrorCode type in LTM (5b70082)
  • πŸ› implement ErrorCode type on MATM (ad747f4)
  • πŸ› import ethereumjs-utils correctly (60ad4e9)
  • πŸ› improve error type definitions and error messages (5794ca6)
  • πŸ› improve throw error with PolymathError class (b79cc61)
  • πŸ› improvements requested by VictorW (8879b44)
  • πŸ› Improving modifyKYCData example (5e69b79)
  • πŸ› last breaking test now passing (f459467)
  • πŸ› lint issue (55e9a04)
  • πŸ› lockupTM documentation for jsdocs styling (dd639de)
  • πŸ› lockupTM more methods included in example (74778b1)
  • πŸ› lockupTM refactor now uses number not BN for seconds (941420b)
  • πŸ› make dates relatives to the current date (768c22e)
  • πŸ› make getLogsAsync have sensible defaults (746f481)
  • πŸ› make tests pass and fix examples (05e5353)
  • πŸ› manual merge (6fad80c)
  • πŸ› manual merge from develop and improve comments (02cf3e8)
  • πŸ› manual merge in all getLogsAsync methods (e22e829)
  • πŸ› mint token to investor (da322d5)
  • πŸ› modify examples and tests to suit changes (70e441c)
  • πŸ› modify startTime type (7c83e64)
  • πŸ› only params extending from txparams in namespace (06f7ceb)
  • πŸ› onlyOwner assertion missing from setLatestVersion (de698ce)
  • πŸ› PR fixes across the project (f691e62)
  • πŸ› PR review issues in comments (24ba8cc)
  • πŸ› remove @dev test in comments (5863b7f)
  • πŸ› remove unnecessary export (fbdbe16)
  • πŸ› remove unnecessary optional mark (166a74e)
  • πŸ› Removed duplicate code (63ae095)
  • πŸ› removing stringToKeccak256 method (a9d145f)
  • πŸ› replace default error by polymatherror (dd700ee)
  • πŸ› reset mockedContractFactory in STR tests, fix occurences (cedea58)
  • πŸ› securityToken and other wrappers comments (5287a3b)
  • πŸ› small assertion additions for STR that were missing (13e08c9)
  • πŸ› Solved warnings on console (06743d8)
  • πŸ› sort out tag madness (fdd2f14)
  • πŸ› STR generateNewTicker refactor and tests (a260457)
  • πŸ› STR test and wrapper missing prettier formatting (c798255)
  • πŸ› string to bytes to convert label on addModuleWithLabel (90d8f9e)
  • πŸ› trigger a version bump (b3aa29f)
  • πŸ› turn off prefer-default-export eslint rule (e9c3fec)
  • πŸ› typo error (252546b)
  • πŸ› typo error (073e5be)
  • πŸ› typo fixes and getAllInvestorFlags rework (bc13241)
  • πŸ› typos and naming fixes for GTM wrapper (ecb7947)
  • πŸ› Unnecessary logic removed (759631e)
  • πŸ› update abi wrappers version to fix log decoding (29a922b)
  • πŸ› update abi-wrapper version (ec856ac)
  • πŸ› use abi wrappers version with fixed decoding (ef29a73)
  • πŸ› use correct version (912f3bf)
  • πŸ› use PascalDCase for FeeType enum members (15a3d70)
  • πŸ› use weiToValue and valueToWei (f5d3778)
  • πŸ› Validate if issuer and beneficiaries were added in the (562b7f5)
  • πŸ› vestingEscrowWallet abi in contractFactory. add prettier (006d144)
  • πŸ› VEW comments (b4233aa)
  • πŸ› VRTM example (29b50de)
  • πŸ› yarn lock file update (37d9fb7)
  • πŸ› yarn update (123d29c)
  • alter naming of wrapper for erc20Detailed (2696ed0)
  • assert if transfers are frozen before calling unfreezeTransfers (14bf17d)
  • cappedSTO example addModule code (1ee5289)
  • cappedSTO example issues full overhaul with token purchase (5620da9)
  • changes for ERC20 Detailed wrapper test (7af96f7)
  • check currentCheckpoint is lower than params checkpoint, ST (1d2d6d1)
  • check more duration time then rollingperiodIndays (463c2d6)
  • compilation and test issues in the project (9ce58a3)
  • dividend changes fo excluded and checkpoint id (8c9ed5e)
  • dividendCheckpoint assertion with caller and dividendContract (85668f2)
  • erc20 wrapper tests adding proper reference (e26c334)
  • erc20Dividend bug and example (57603ea)
  • erc20Dividend example conform to new wrappers (759b9a1)
  • erc20Dividend wrapper tests div address argument (fb9e5a2)
  • etherDividend example overhaul (041082d)
  • examples sto, dividends review issues (e3d9242)
  • expanding assertion for erc20 token allowance in erc20dividends (7f455b5)
  • finish fixing rest of createDividend tests (1360109)
  • gpm typos and refactoring to improve simplicity (02cdf23)
  • import issue with @types/semver and esModuleInterop (7bee9b5)
  • import issue with ethUtil (f8d0ab5)
  • imports for abi-wrappers in examples code (a7a41ce)
  • make GPM conform with Perm Enum (927f46b)
  • minor edit on failing test (0444397)
  • obvious bug in cappedSTO wrong moduleType (91deb3e)
  • outstanding naming and method argument naming on examples (1fec42e)
  • partitions refactorings (263bbdc)
  • partitionsOf needs to return an array of Partitions (9902efa)
  • percentageTransferManager fixes example (4515e6d)
  • proper naming for variables within interfaces in the moduleregistry (1b02839)
  • quick fixes for the examples folders (17d867f)
  • readme text updated (ef0dbd5)
  • refactor mapping to reduce amount of code needed (0da5d44)
  • refactor partition to an enum (3355cc4)
  • refactor perms across project (56d76fd)
  • refactor unit tests for GTM to account for new method names and implementations (fa36de2)
  • refactor unit tests for VRTM to account for new method names and implementations (be30345)
  • remove absoluteValue from dividend code (766238a)
  • remove duplicated methods from erc20Detailed included in erc20 (f1d8209)
  • remove unused feature registry assertion from freezeIssuance (60ec452)
  • remove useless percentageTM code (01b18d0)
  • replicate changes inside etherDividend for all createDividends (bc64077)
  • revert flag text update GPM (394f88a)
  • securityTokenWrapper use Perm instead of string (55cb977)
  • swap bounds assertions in module factory wrapper (67ebce7)
  • usdTieredSTO example overhaul and working (774b270)
  • use the wrappers built in method for getting moduleFactoryWrapper (e3ceb1c)

Features

  • 🎸 add all methods involved on VEW (0e5896c)
  • 🎸 add eventargs to the BTM wrapper (0ac18e9)
  • 🎸 add getTreasuryWallet and test to dividendcheckpoint (bbd3315)
  • 🎸 add initial BlacklistTM module wrapper to project (74d1981)
  • 🎸 add method to validate if an address is a valid module (7df0edd)
  • 🎸 add missing ethereum types (fe4ab2c)
  • 🎸 add registries transactionParams to export in index.ts (0bf3367)
  • 🎸 add setupCost to moduleFactory with associated test (372b257)
  • 🎸 add vesting escrow wallet example (92d394c)
  • 🎸 add vesting escrow wallet wrapper (70e4210)
  • 🎸 add/modify/delete(multi) blacklistTM methods and tests (a11bf22)
  • 🎸 addBlacklistType method, checks, and test (b1d74f9)
  • 🎸 adding more comments to generalTM and countTM. fix test (09b4f20)
  • 🎸 addInvestorToBlacklist(Multi) methods and tests (761c7ea)
  • 🎸 addLockUpByName (8923b55)
  • 🎸 addLockupByNameMulti method and tests (c7d61e5)
  • 🎸 addMultiInvestorToBlacklistMulti tests and wrapper (66339f3)
  • 🎸 addNewLockUpToUser, removeLockupFromUser, and tests (92ff5d5)
  • 🎸 addNewLockUpType method and tests (16f540e)
  • 🎸 addNewLockUpTypeMulti method and tests, prettier (3642428)
  • 🎸 adjust comments and prettier for dividends/erc20 (1424308)
  • 🎸 All logs are decoded on every transaction receipt (5062cc6)
  • 🎸 blacklists method and test (34fb65c)
  • 🎸 blacklistTM example methods (3bff915)
  • 🎸 callAsync methods with tests in blacklistTM (08a6e12)
  • 🎸 comments improvements for generalPermissionManager (7377aa9)
  • 🎸 delete from blacklist methods and tests (5a00a99)
  • 🎸 dividendCheckpoint and generalPM txparams (6f7d3ac)
  • 🎸 error handle implemented with PolymathError class (0b4ba33)
  • 🎸 export BigNumber (e4dfb44)
  • 🎸 export missing events (7a3a6c9)
  • 🎸 export web3 wrapper and missing ethereum types (b98c9b8)
  • 🎸 featureRegistry txParams export (6c3955c)
  • 🎸 finish adding all transactionparams to wrappers/index (829c342)
  • 🎸 finish adding comments and small fixes to rest of proj (99039e5)
  • 🎸 finish VEW wrapper (1199cdc)
  • 🎸 fix comments in sto wrapper, fix some return types/test (9426f28)
  • 🎸 fix comments inside of percentageTM (034a17d)
  • 🎸 General Transfer Manager 3.0 (263ecf0)
  • 🎸 getLockupNamesToUser/tokenToUser method and test (0d83312)
  • 🎸 getPermissions and associated test (258c367)
  • 🎸 getTokensByPartition with test (841a12e)
  • 🎸 initial tests and example BlacklistTM (3d65996)
  • 🎸 manualApprovalTM comments. remove lint warning (00fe0d5)
  • 🎸 modify/remove lockuptype methods and tests (6f3e0a0)
  • 🎸 new example lockUpTM (274c6a5)
  • 🎸 sto export txparams (015a553)
  • 🎸 use 3.0 methods to check for ticker availability (37b5a3e)
  • 🎸 volumeRestrictionTM comments refactoring and test (6cad10f)
  • add isOwner to the wrappers for convenience (64b9a81)
  • add asssertion, operator data cannot be 0 in operator methods (5d941fe)
  • add changeSTVersionBounds and associated tests (29f9f11)
  • add events, lockups and verifyTransfer to LTM (1a12772)
  • add getAllModulesByType into moduleRegistry with associated tests (c66ed04)
  • add getFactoryDetails with associated test and prettier formatting (653f2c5)
  • add isCompatibleModule in moduleRegistry and associated test (50b326f)
  • add lockUpTM (32bfcbf)
  • add LTM to the securityToken possible add module type (3b126ed)
  • add more methods in moduleFactoryWrapper (b134e26)
  • add title, description, isCostInPoly to wrappers with tests (76b178f)
  • add upper and lower STVersionBounds with tests (5574fef)
  • add usdTieredSTO modifyOracle method and test (13543ed)
  • adding getLockUP and getAllLockUpData. test issue (92119d7)
  • adding more module factory methods with tests (f363bfa)
  • change Cost and Type method in module factory (a67a39c)
  • dding the alternative ERC20 wrapper back in (9ef5c15)
  • finish setting up LTM event args and subscribeasync (b98978f)
  • getAllLockups test and method (228d451)
  • getListOfAddresses method and test. prettier (9cfde5e)

BREAKING CHANGES

  • FeeType members stLaunchFee and tickerRegFee are now StLaunchFee
    and TickerRegFee
  • rename Security Token Registry wrapper's isTickerAvailable to
    tickerAvailable, getSecurityTokenAddress now receives { ticker: string } instead of just string
  • fundRaiseTypes renamed to fundRaiseType and its type changed from
    FundRaiseType[] to CappedSTOFundRaiseType in the data parameter of
    addModule when attaching a Capped STO
  • VRTM renaming to getRestrictionData. Added get to various methods. Essential fix for verifyTransfer test