Skip to content

Commit b4a9710

Browse files
authored
Merge pull request #658 from PolymathNetwork/update-changelog-3.0
Update changelog for some extent
2 parents 7a70aa5 + f0b3c3e commit b4a9710

File tree

1 file changed

+49
-1
lines changed

1 file changed

+49
-1
lines changed

CHANGELOG.md

Lines changed: 49 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,29 @@ All notable changes to this project will be documented in this file.
1414
* Added datastore that is used to store data like investor list that is shared among modules.
1515
* `getInvestorCount()` now returns length of investor array that is everyone who ever held some st or has kyc data attached.
1616
* `holderCount()` returns the number of current st holders.
17-
* Added flags for Investors. Accredited and canbuyfromsto are now flags
17+
* Added flags for Investors. Accredited and canbuyfromsto are now flags.
18+
* Add `_archived` flag in `addModule()` to allow issuers to add archived modules into the ST.
19+
* Add `upgradeModule()` function to upgrade the already attached module. It can only be called by owner of the token.
20+
* Add `upgradeToken()` function to upgrade the token to the latest version. Can only be executed by the owner of the token.
21+
* Add `changeDataStore()` function to change the dataStore contract address attached with the ST.
22+
* Issuer is allowed to change the name of the token using the `changeName()` function.
23+
* Add `changeTreasuryWallet()` funtion to change the treasury wallet of the token.
24+
* `transferWithData()` & `transferFromWithData()` function doesn't return the bool anymore.
25+
* Introduced `balanceOfByPartition()` function to read the balance of the token holder according to the given partition.
26+
* Add `transferByPartition()` function to transfer the tokens as per the given partition.
27+
* Removed `verifyTransfer()` function.
28+
* Add `authorizeOperator`, `revokeOperator`, `authorizeOperatorByPartition`, `revokeOperatorByPartition`, `operatorTransferByPartition` as the operator functions.
29+
* Remove `freezeMinting()` and introduced `freezeIssuance()`.
30+
* Rename the `mintWithData()` function to `issue()` function and `mintMulti()` to `issueMulti()`, remove `mint` function.
31+
* Rename the `burnWithData()` function to `redeem()` function and `burnFromWithData()` to `redeemFrom()`, remove `burn` function.
32+
* Add `redeemByPartition()` & `operatorRedeemByPartition()` function.
33+
* Add `issueByPartition()` to issue the tokens as per given partition.
34+
* `disableController()` now takes the sender signature to confirm the operation.
35+
* Introduce `canTrasnfer()`, `canTransferFrom()` & `canTransferByPartition()` to validate the trasnfer before actually executing it.
36+
* Add document specific functions `setDocument()`, `removeDocument()`.
37+
* Rename `forceTransfer()` to `controllerTransfer()` similarly `forceRedeem()` to `forceBurn()`.
38+
* Add `isControllable()` to know whether the controller functions are allowed to execute or not.
39+
* Add `isIssuable()`, `getInvestorsSubsetAt()`, `getTreasuryWallet()`, `isOperator()`, `isOperatorForPartition()`, `partitionsOf()`, `getDocument()`, `getAllDocument()` functions as getters to support ST functionality.
1840

1941
## STR
2042
* Introduce new contract `STRGetter.sol`. It only contains the getter functions of the STR.
@@ -24,15 +46,41 @@ All notable changes to this project will be documented in this file.
2446
* Allows an explicit token factory version to be used during creation of securityToken.
2547
* Rename the `getProtocolVersion()` to `getLatestProtocolVersion()`.
2648
* Return SecurityToken version in the `getSecurityTokenData()` function.
49+
* Add `generateNewSecurityToken()` function to generate the 3.0 tokens.
50+
* Add `refreshSecurityToken()` function to update the 2.x tokens to 3.0 tokens.
51+
* Add `changeFeesAmountAndCurrency()` function to sets the ticker registration and ST launch fee amount and currency.
52+
* Rename `setProtocolVersion()` to `setProtocolFactory()`, Add `removeProtocolFactory()`.
53+
* Add `getTokensByDelegate()`, `getSTFactoryAddressOfVersion()`, `getLatestProtocolVersion()`, `getIsFeeInPoly()` some getters.
54+
55+
## MR
56+
* Add `_isUpgrade` param in function `useModule()`.
57+
* Add `isCompatibleModule()` to check whether the given module and ST is compatible or not.
58+
* Remove `_isVerified` param from the `verifyModule()` function and introduced `unverifyModule()` function to unverify module.
59+
* Removed `getReputationByFactory()`.
2760

2861
## GeneralTransferManager
2962
* `modifyWhitelist()` function renamed to `modifyKYCData()`.
3063
* Added functions to modify and get flags
3164
* `canBuyFromSto` is now `canNotBuyFromSto` and it is the flag `1`
3265
* GTM logic reworked. Now, instead of flags like allowAllTransfers, there is a matrix of transfer requirements that must be fulfilled based on type of transfer.
66+
* Remove `changeSigningAddress()`, `changeAllowAllTransfers()`, `changeAllowAllWhitelistTransfers()`, `changeAllowAllWhitelistIssuances()`, `changeAllowAllBurnTransfers`.
67+
* Introduced `modifyTransferRequirements()` & `modifyTransferRequirementsMulti()` to modify the transfer requirements.
68+
* Add `modifyInvestorFlag()` & `modifyInvestorFlagMulti()` function to modify the flag.
69+
* `modifyWhitelistSigned()` rename to `modifyKYCDataSigned()`. Add `modifyKYCDataSignedMulti`.
70+
* Add `getAllInvestorFlags()`, `getInvestorFlag()`,`getInvestorFlags()`, `getAllKYCData()`, `getKYCData()` & `getTokensByPartition()`.
71+
72+
## USDTiererdSTO
73+
* Removed `changeAccredited()` function.
74+
* `buyWithETH()`, `buyWithPOLY()`, `buyWithUSD()`, `buyWithETHRateLimited()`, `buyWithPOLYRateLimited()` & `buyWithUSDRateLimited()` will return spentUSD, spentValue & amount of mint tokens.
75+
* Remove `buyTokensView()` function.
76+
77+
## Modules
78+
* Introduced BTM, LTM and VEW modules.
3379

3480
## Generalize
3581
* Removed `_polyAddress` parameter from constructors of all modules and module factories.
82+
* All modules are upgradeable now.
83+
* Permission types are only `ADMIN` and `OPERATOR` now.
3684

3785

3886
# v2.1.0 - Release Candidate

0 commit comments

Comments
 (0)