This repository was archived by the owner on Jul 6, 2022. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
fix: 🐛 Multi-version support for transactionParams #237
Merged
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# [2.0.0](v1.0.1...v2.0.0) (2019-09-02) ### Bug Fixes * 🐛 _modifyTicker assertions missing for existing ticker st ([df88d21](df88d21)) * 🐛 0x00 as empty data by default on issue method ([0feb657](0feb657)) * 🐛 add ABI into PolymathAPI ([7553b79](7553b79)) * 🐛 add ABI to abiArray ([762a1d6](762a1d6)) * 🐛 add assertions ([9378266](9378266)) * 🐛 add method documentation ([41d5b19](41d5b19)) * 🐛 add more descriptive ErrorCodes ([3757c97](3757c97)) * 🐛 add new tests for VEW ([6044442](6044442)) * 🐛 add return types for some functions ([e6c8883](e6c8883)) * 🐛 add verify and prettier to code ([eec1d62](eec1d62)) * 🐛 add VEW event args and adapt it to new abi refactor ([2a6098c](2a6098c)) * 🐛 assert document exists before removeDocument (ST) ([c89039d](c89039d)) * 🐛 best enum use for Transfer status codes ([0f0c2b9](0f0c2b9)) * 🐛 blacklistTM comments updated to jsdoc standards ([adb966b](adb966b)) * 🐛 blacklistTM issues with comments from PR ([12b53c4](12b53c4)) * 🐛 blacklistTM refactoring and abi issues ([adfab67](adfab67)) * 🐛 broken wrapper and get test to pass. prettier changes ([de2b1f9](de2b1f9)) * 🐛 build broken from starttime change in sto wrapper ([3ec7540](3ec7540)) * 🐛 change numberOfTokens type ([9c99f98](9c99f98)) * 🐛 Change owner address by beneficiary address ([37dc6aa](37dc6aa)) * 🐛 check factory owner from unarchive, refactor duplication ([48727cd](48727cd)) * 🐛 code improvements and typo fixes ([f0731f9](f0731f9)) * 🐛 configure webpack to build separately for browser ([6414aea](6414aea)) * 🐛 convert ticker to uppercase when asking for availability ([37545da](37545da)) * 🐛 CTM example now works! ([651c588](651c588)) * 🐛 disallow SC as a fundraise type for Capped STO ([6e9f39d](6e9f39d)) * 🐛 dividendCheckpoint improvements ([a936903](a936903)) * 🐛 dividendCheckpoint start and end type to number type ([609c1fa](609c1fa)) * 🐛 ErrorClass implementation for STR wrapper ([9ffbcf1](9ffbcf1)) * 🐛 ErrorCode implementation in poly token and ST wrapper ([29b825b](29b825b)) * 🐛 export for every method using sendTransaction ([a1246c8](a1246c8)) * 🐛 finish fixing remnants of merge conflicts ([fb0d174](fb0d174)) * 🐛 fix broken test ([c216e04](c216e04)) * 🐛 fix compilation issues ([9435a0d](9435a0d)) * 🐛 fix PTM example to fail when above threshold ([c4bf6c3](c4bf6c3)) * 🐛 fix typo errors requested by feedback ([d38bc2d](d38bc2d)) * 🐛 fix typos and params types ([52f5c20](52f5c20)) * 🐛 fix Vesting Escrow wallet example ([6a1cd35](6a1cd35)) * 🐛 fixing addModuleWithLabel test ([e12ca4e](e12ca4e)) * 🐛 Fixing GPM example ([3bf7086](3bf7086)) * 🐛 fixing ModifyKYCDataSigned test method ([4dc422b](4dc422b)) * 🐛 generateNewSecurityToken in STR missing assertions ([bb10e38](bb10e38)) * 🐛 getKYCData test method is working again ([e6da110](e6da110)) * 🐛 getLogsAsync fixed for 'RegisterTicker' event ([e6bfc17](e6bfc17)) * 🐛 GTM example works again ([7f2c2f2](7f2c2f2)) * 🐛 ignore this line ([6e54976](6e54976)) * 🐛 implement ErrorClass in VEW ([a08335e](a08335e)) * 🐛 implement ErrorCode class for feature, module and poly ([d3239a9](d3239a9)) * 🐛 implement ErrorCode class on VRT ([9379d20](9379d20)) * 🐛 implement ErrorCode in PTM ([a54056c](a54056c)) * 🐛 implement ErrorCode type for backlist transfer manager ([5aad2dc](5aad2dc)) * 🐛 implement ErrorCode type for capped sto wrapper ([22f991b](22f991b)) * 🐛 implement ErrorCode type for CTM and GTM wrapper ([d3e3ce1](d3e3ce1)) * 🐛 implement ErrorCode type for dividend checkpoint wrapper ([5bebc6b](5bebc6b)) * 🐛 implement ErrorCode type for erc20 dividend checkpoint ([e0e1189](e0e1189)) * 🐛 implement ErrorCode type for ether dividend checkpoint ([cec6223](cec6223)) * 🐛 implement ErrorCode type for GPM ([fe5056c](fe5056c)) * 🐛 implement ErrorCode type for module factory module ([06a3b43](06a3b43)) * 🐛 implement ErrorCode type for module wrapper ([f4f5aa3](f4f5aa3)) * 🐛 implement ErrorCode type for sto and usd tieres sto ([e9b23ec](e9b23ec)) * 🐛 implement ErrorCode type in LTM ([5b70082](5b70082)) * 🐛 implement ErrorCode type on MATM ([ad747f4](ad747f4)) * 🐛 import ethereumjs-utils correctly ([60ad4e9](60ad4e9)) * 🐛 improve error type definitions and error messages ([5794ca6](5794ca6)) * 🐛 improve throw error with PolymathError class ([b79cc61](b79cc61)) * 🐛 improvements requested by VictorW ([8879b44](8879b44)) * 🐛 Improving modifyKYCData example ([5e69b79](5e69b79)) * 🐛 last breaking test now passing ([f459467](f459467)) * 🐛 lint issue ([55e9a04](55e9a04)) * 🐛 lockupTM documentation for jsdocs styling ([dd639de](dd639de)) * 🐛 lockupTM more methods included in example ([74778b1](74778b1)) * 🐛 lockupTM refactor now uses number not BN for seconds ([941420b](941420b)) * 🐛 make dates relatives to the current date ([768c22e](768c22e)) * 🐛 make getLogsAsync have sensible defaults ([746f481](746f481)) * 🐛 make tests pass and fix examples ([05e5353](05e5353)) * 🐛 manual merge ([6fad80c](6fad80c)) * 🐛 manual merge from develop and improve comments ([02cf3e8](02cf3e8)) * 🐛 manual merge in all getLogsAsync methods ([e22e829](e22e829)) * 🐛 mint token to investor ([da322d5](da322d5)) * 🐛 modify examples and tests to suit changes ([70e441c](70e441c)) * 🐛 modify startTime type ([7c83e64](7c83e64)) * 🐛 only params extending from txparams in namespace ([06f7ceb](06f7ceb)) * 🐛 onlyOwner assertion missing from setLatestVersion ([de698ce](de698ce)) * 🐛 PR fixes across the project ([f691e62](f691e62)) * 🐛 PR review issues in comments ([24ba8cc](24ba8cc)) * 🐛 remove [@dev](https://github.com/dev) test in comments ([5863b7f](5863b7f)) * 🐛 remove unnecessary export ([fbdbe16](fbdbe16)) * 🐛 remove unnecessary optional mark ([166a74e](166a74e)) * 🐛 Removed duplicate code ([63ae095](63ae095)) * 🐛 removing stringToKeccak256 method ([a9d145f](a9d145f)) * 🐛 replace default error by polymatherror ([dd700ee](dd700ee)) * 🐛 reset mockedContractFactory in STR tests, fix occurences ([cedea58](cedea58)) * 🐛 securityToken and other wrappers comments ([5287a3b](5287a3b)) * 🐛 small assertion additions for STR that were missing ([13e08c9](13e08c9)) * 🐛 Solved warnings on console ([06743d8](06743d8)) * 🐛 sort out tag madness ([fdd2f14](fdd2f14)) * 🐛 STR generateNewTicker refactor and tests ([a260457](a260457)) * 🐛 STR test and wrapper missing prettier formatting ([c798255](c798255)) * 🐛 string to bytes to convert label on addModuleWithLabel ([90d8f9e](90d8f9e)) * 🐛 trigger a version bump ([b3aa29f](b3aa29f)) * 🐛 turn off prefer-default-export eslint rule ([e9c3fec](e9c3fec)) * 🐛 typo error ([252546b](252546b)) * 🐛 typo error ([073e5be](073e5be)) * 🐛 typo fixes and getAllInvestorFlags rework ([bc13241](bc13241)) * 🐛 typos and naming fixes for GTM wrapper ([ecb7947](ecb7947)) * 🐛 Unnecessary logic removed ([759631e](759631e)) * 🐛 update abi wrappers version to fix log decoding ([29a922b](29a922b)) * 🐛 update abi-wrapper version ([ec856ac](ec856ac)) * 🐛 use abi wrappers version with fixed decoding ([ef29a73](ef29a73)) * 🐛 use correct version ([912f3bf](912f3bf)) * 🐛 use PascalDCase for `FeeType` enum members ([15a3d70](15a3d70)) * 🐛 use weiToValue and valueToWei ([f5d3778](f5d3778)) * 🐛 Validate if issuer and beneficiaries were added in the ([562b7f5](562b7f5)) * 🐛 vestingEscrowWallet abi in contractFactory. add prettier ([006d144](006d144)) * 🐛 VEW comments ([b4233aa](b4233aa)) * 🐛 VRTM example ([29b50de](29b50de)) * 🐛 yarn lock file update ([37d9fb7](37d9fb7)) * 🐛 yarn update ([123d29c](123d29c)) * alter naming of wrapper for erc20Detailed ([2696ed0](2696ed0)) * assert if transfers are frozen before calling `unfreezeTransfers` ([14bf17d](14bf17d)) * cappedSTO example addModule code ([1ee5289](1ee5289)) * cappedSTO example issues full overhaul with token purchase ([5620da9](5620da9)) * changes for ERC20 Detailed wrapper test ([7af96f7](7af96f7)) * check currentCheckpoint is lower than params checkpoint, ST ([1d2d6d1](1d2d6d1)) * check more duration time then rollingperiodIndays ([463c2d6](463c2d6)) * compilation and test issues in the project ([9ce58a3](9ce58a3)) * dividend changes fo excluded and checkpoint id ([8c9ed5e](8c9ed5e)) * dividendCheckpoint assertion with caller and dividendContract ([85668f2](85668f2)) * erc20 wrapper tests adding proper reference ([e26c334](e26c334)) * erc20Dividend bug and example ([57603ea](57603ea)) * erc20Dividend example conform to new wrappers ([759b9a1](759b9a1)) * erc20Dividend wrapper tests div address argument ([fb9e5a2](fb9e5a2)) * etherDividend example overhaul ([041082d](041082d)) * examples sto, dividends review issues ([e3d9242](e3d9242)) * expanding assertion for erc20 token allowance in erc20dividends ([7f455b5](7f455b5)) * finish fixing rest of createDividend tests ([1360109](1360109)) * gpm typos and refactoring to improve simplicity ([02cdf23](02cdf23)) * import issue with @types/semver and esModuleInterop ([7bee9b5](7bee9b5)) * import issue with ethUtil ([f8d0ab5](f8d0ab5)) * imports for abi-wrappers in examples code ([a7a41ce](a7a41ce)) * make GPM conform with Perm Enum ([927f46b](927f46b)) * minor edit on failing test ([0444397](0444397)) * obvious bug in cappedSTO wrong moduleType ([91deb3e](91deb3e)) * outstanding naming and method argument naming on examples ([1fec42e](1fec42e)) * partitions refactorings ([263bbdc](263bbdc)) * partitionsOf needs to return an array of Partitions ([9902efa](9902efa)) * percentageTransferManager fixes example ([4515e6d](4515e6d)) * proper naming for variables within interfaces in the moduleregistry ([1b02839](1b02839)) * quick fixes for the examples folders ([17d867f](17d867f)) * readme text updated ([ef0dbd5](ef0dbd5)) * refactor mapping to reduce amount of code needed ([0da5d44](0da5d44)) * refactor partition to an enum ([3355cc4](3355cc4)) * refactor perms across project ([56d76fd](56d76fd)) * refactor unit tests for GTM to account for new method names and implementations ([fa36de2](fa36de2)) * refactor unit tests for VRTM to account for new method names and implementations ([be30345](be30345)) * remove absoluteValue from dividend code ([766238a](766238a)) * remove duplicated methods from erc20Detailed included in erc20 ([f1d8209](f1d8209)) * remove unused feature registry assertion from freezeIssuance ([60ec452](60ec452)) * remove useless percentageTM code ([01b18d0](01b18d0)) * replicate changes inside etherDividend for all createDividends ([bc64077](bc64077)) * revert flag text update GPM ([394f88a](394f88a)) * securityTokenWrapper use Perm instead of string ([55cb977](55cb977)) * swap bounds assertions in module factory wrapper ([67ebce7](67ebce7)) * usdTieredSTO example overhaul and working ([774b270](774b270)) * use the wrappers built in method for getting moduleFactoryWrapper ([e3ceb1c](e3ceb1c)) ### Features * 🎸 add all methods involved on VEW ([0e5896c](0e5896c)) * 🎸 add eventargs to the BTM wrapper ([0ac18e9](0ac18e9)) * 🎸 add getTreasuryWallet and test to dividendcheckpoint ([bbd3315](bbd3315)) * 🎸 add initial BlacklistTM module wrapper to project ([74d1981](74d1981)) * 🎸 add method to validate if an address is a valid module ([7df0edd](7df0edd)) * 🎸 add missing ethereum types ([fe4ab2c](fe4ab2c)) * 🎸 add registries transactionParams to export in index.ts ([0bf3367](0bf3367)) * 🎸 add setupCost to moduleFactory with associated test ([372b257](372b257)) * 🎸 add vesting escrow wallet example ([92d394c](92d394c)) * 🎸 add vesting escrow wallet wrapper ([70e4210](70e4210)) * 🎸 add/modify/delete(multi) blacklistTM methods and tests ([a11bf22](a11bf22)) * 🎸 addBlacklistType method, checks, and test ([b1d74f9](b1d74f9)) * 🎸 adding more comments to generalTM and countTM. fix test ([09b4f20](09b4f20)) * 🎸 addInvestorToBlacklist(Multi) methods and tests ([761c7ea](761c7ea)) * 🎸 addLockUpByName ([8923b55](8923b55)) * 🎸 addLockupByNameMulti method and tests ([c7d61e5](c7d61e5)) * 🎸 addMultiInvestorToBlacklistMulti tests and wrapper ([66339f3](66339f3)) * 🎸 addNewLockUpToUser, removeLockupFromUser, and tests ([92ff5d5](92ff5d5)) * 🎸 addNewLockUpType method and tests ([16f540e](16f540e)) * 🎸 addNewLockUpTypeMulti method and tests, prettier ([3642428](3642428)) * 🎸 adjust comments and prettier for dividends/erc20 ([1424308](1424308)) * 🎸 All logs are decoded on every transaction receipt ([5062cc6](5062cc6)) * 🎸 blacklists method and test ([34fb65c](34fb65c)) * 🎸 blacklistTM example methods ([3bff915](3bff915)) * 🎸 callAsync methods with tests in blacklistTM ([08a6e12](08a6e12)) * 🎸 comments improvements for generalPermissionManager ([7377aa9](7377aa9)) * 🎸 delete from blacklist methods and tests ([5a00a99](5a00a99)) * 🎸 dividendCheckpoint and generalPM txparams ([6f7d3ac](6f7d3ac)) * 🎸 error handle implemented with PolymathError class ([0b4ba33](0b4ba33)) * 🎸 export BigNumber ([e4dfb44](e4dfb44)) * 🎸 export missing events ([7a3a6c9](7a3a6c9)) * 🎸 export web3 wrapper and missing ethereum types ([b98c9b8](b98c9b8)) * 🎸 featureRegistry txParams export ([6c3955c](6c3955c)) * 🎸 finish adding all transactionparams to wrappers/index ([829c342](829c342)) * 🎸 finish adding comments and small fixes to rest of proj ([99039e5](99039e5)) * 🎸 finish VEW wrapper ([1199cdc](1199cdc)) * 🎸 fix comments in sto wrapper, fix some return types/test ([9426f28](9426f28)) * 🎸 fix comments inside of percentageTM ([034a17d](034a17d)) * 🎸 General Transfer Manager 3.0 ([263ecf0](263ecf0)) * 🎸 getLockupNamesToUser/tokenToUser method and test ([0d83312](0d83312)) * 🎸 getPermissions and associated test ([258c367](258c367)) * 🎸 getTokensByPartition with test ([841a12e](841a12e)) * 🎸 initial tests and example BlacklistTM ([3d65996](3d65996)) * 🎸 manualApprovalTM comments. remove lint warning ([00fe0d5](00fe0d5)) * 🎸 modify/remove lockuptype methods and tests ([6f3e0a0](6f3e0a0)) * 🎸 new example lockUpTM ([274c6a5](274c6a5)) * 🎸 sto export txparams ([015a553](015a553)) * 🎸 use 3.0 methods to check for ticker availability ([37b5a3e](37b5a3e)) * 🎸 volumeRestrictionTM comments refactoring and test ([6cad10f](6cad10f)) * add `isOwner` to the wrappers for convenience ([64b9a81](64b9a81)) * add asssertion, operator data cannot be 0 in operator methods ([5d941fe](5d941fe)) * add changeSTVersionBounds and associated tests ([29f9f11](29f9f11)) * add events, lockups and verifyTransfer to LTM ([1a12772](1a12772)) * add getAllModulesByType into moduleRegistry with associated tests ([c66ed04](c66ed04)) * add getFactoryDetails with associated test and prettier formatting ([653f2c5](653f2c5)) * add isCompatibleModule in moduleRegistry and associated test ([50b326f](50b326f)) * add lockUpTM ([32bfcbf](32bfcbf)) * add LTM to the securityToken possible add module type ([3b126ed](3b126ed)) * add more methods in moduleFactoryWrapper ([b134e26](b134e26)) * add title, description, isCostInPoly to wrappers with tests ([76b178f](76b178f)) * add upper and lower STVersionBounds with tests ([5574fef](5574fef)) * add usdTieredSTO modifyOracle method and test ([13543ed](13543ed)) * adding getLockUP and getAllLockUpData. test issue ([92119d7](92119d7)) * adding more module factory methods with tests ([f363bfa](f363bfa)) * change Cost and Type method in module factory ([a67a39c](a67a39c)) * dding the alternative ERC20 wrapper back in ([9ef5c15](9ef5c15)) * finish setting up LTM event args and subscribeasync ([b98978f](b98978f)) * getAllLockups test and method ([228d451](228d451)) * getListOfAddresses method and test. prettier ([9cfde5e](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
BREAKING CHANGE: N
BREAKING CHANGE: N
monitz87
approved these changes
Oct 9, 2019
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
👍
🎉 This PR is included in version 3.0.0-beta.51 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 3.0.0-beta.1 🎉 The release is available on: Your semantic-release bot 📦🚀 |
🎉 This PR is included in version 3.0.0 🎉 The release is available on: Your semantic-release bot 📦🚀 |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
No description provided.