Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
25 changes: 18 additions & 7 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,9 @@ All notable changes to this project will be documented in this file.
* Add document specific functions `setDocument()`, `removeDocument()`.
* Rename `forceTransfer()` to `controllerTransfer()` similarly `forceBurn()` to `controllerRedeem()`.
* Add `isControllable()` to know whether the controller functions are allowed to execute or not.
* Add `isIssuable()`, `getInvestorsSubsetAt()`, `getTreasuryWallet()`, `isOperator()`, `isOperatorForPartition()`, `partitionsOf()`, `getDocument()`, `getAllDocument()` functions as getters to support ST functionality.
* Add `isIssuable()`, `getInvestorsSubsetAt()`, `getTreasuryWallet()`, `isOperator()`, `isOperatorForPartition()`, `partitionsOf()`, `getDocument()`, `getAllDocument()` functions as getters to support ST functionality.
* Remove the `bool` return parameter from the `canTransfer` & `canTransferFrom` function.
* Rename `increaseApproval()` & `decreaseApproval()` to `increaseAllowance()` & `decreaseAllowance()` respectively.

## STR
* Introduce new contract `STRGetter.sol`. It only contains the getter functions of the STR.
Expand All @@ -45,18 +47,24 @@ All notable changes to this project will be documented in this file.
* Removed `_polyToken` parameter from `initialize` function in `SecurityTokenRegistry`.
* Allows an explicit token factory version to be used during creation of securityToken.
* Rename the `getProtocolVersion()` to `getLatestProtocolVersion()`.
* Return SecurityToken version in the `getSecurityTokenData()` function.
* Add `generateNewSecurityToken()` function to generate the 3.0 tokens.
* Add `refreshSecurityToken()` function to update the 2.x tokens to 3.0 tokens.
* Add `changeFeesAmountAndCurrency()` function to sets the ticker registration and ST launch fee amount and currency.
* Rename `setProtocolVersion()` to `setProtocolFactory()`, Add `removeProtocolFactory()`.
* Add `getTokensByDelegate()`, `getSTFactoryAddressOfVersion()`, `getLatestProtocolVersion()`, `getIsFeeInPoly()` some getters.
* Add `getTokensByDelegate()`, `getSTFactoryAddressOfVersion()`, `getLatestProtocolVersion()`, `getIsFeeInPoly()` some getters.
* Add `RegisterTicker` event with two new parameters `_registrationFeePoly` & `_registrationFeeUsd`. (Note- there is 2 events with the same name to maintain the backwards compatibility).
* Add `NewSecurityToken` event with three new parameters `_usdFee`, `_polyFee` & `_protocolVersion`. (Note- there is 2 events with the same name to maintain the backwards compatibility).
* Add `registerNewTicker()` function to register the ticker for `3.0.0` release. NB- `registerTicker()` is also present in the code to maintain the backwards compatibility.
* Add `modifyExistingTicker()` to modify the ticker & `modifyExistingSecurityToken()` to modify the ST.
* Add `tickerAvailable()` to get the status of ticker availability.

## MR
* Add `_isUpgrade` param in function `useModule()`.
* Add `_isUpgrade` param in function `useModule()`. NB - `useModule()` function exists with the same arguments to maintain the backwards compatibility.
* Add `isCompatibleModule()` to check whether the given module and ST is compatible or not.
* Remove `_isVerified` param from the `verifyModule()` function and introduced `unverifyModule()` function to unverify module.
* Removed `getReputationByFactory()`.
* Removed `getReputationByFactory()`.
* `getFactoryDetails()` is now return one extra parameter i.e address of the factory owner.
* `getAllModulesByType()` add new function to return array that contains the list of addresses of module factory contracts.

## GeneralTransferManager
* `modifyWhitelist()` function renamed to `modifyKYCData()`.
Expand All @@ -73,9 +81,13 @@ All notable changes to this project will be documented in this file.
* Removed `changeAccredited()` function.
* `buyWithETH()`, `buyWithPOLY()`, `buyWithUSD()`, `buyWithETHRateLimited()`, `buyWithPOLYRateLimited()` & `buyWithUSDRateLimited()` will return spentUSD, spentValue & amount of mint tokens.
* Remove `buyTokensView()` function.
* Add `modifyOracle()` function allow issuer to add their personalize oracles.

## Modules
* Introduced BTM, LTM and VEW modules.
* Introduced BTM, LTM, Voting and VEW modules.
* Remove the `_usageCost` variable when deploying any module factory.
* Remove `takeUsageFee()` function from evey module.
* Remove `changeUsageCost()` & `usageCostInPoly()` from every module factory.
* Remove `takeFee()` function.
* `getTreasuryWallet()` function added to `DividendCheckpoint.sol`.

Expand All @@ -84,7 +96,6 @@ All notable changes to this project will be documented in this file.
* All modules are upgradeable now.
* Permission types are only `ADMIN` and `OPERATOR` now.


# v2.1.0 - Release Candidate

[__2.1.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __13-09-18__
Expand Down