You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: CHANGELOG.md
+35-6Lines changed: 35 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -21,30 +21,59 @@ All notable changes to this project will be documented in this file.
21
21
* Removed individual mappings for tier data removed in UDSTSTO.
22
22
* Removed the old Proxy deployment method of USDTieredSTO and adopt the new inherited proxy deployment approach.
23
23
* Bump the version to `2.1.0`
24
+
* Added `getAccreditedData` to return accredited & non-accredited investor data.
25
+
* Event `TokenPurchase` has uint256 tier instead of uint8 tier.
26
+
* Event `SetAddresses` has non-indexed array of address of `_usdTokens` rather than single indexed address.
27
+
* Added `getUsdTokens()` function that returns array of accepted stable coin (usd token) addresses.
28
+
* Pass an array of `_usdToken` address in `configure` function instead of singleton address. This will require changes in bytes data generation when deploying a usdtsto through factory.
24
29
25
30
## GeneralTransferManager
26
31
*`getInvestors`, `getAllInvestorsData`, `getInvestorsData` added to GTM to allow easy data queries.
27
-
*`modifyDefaults(uint64 _defaultFromTime, uint64 _defaultToTime)` added which sets a default timestamp used when `fromTime` or `toTime` are 0
32
+
*`changeDefaults(uint64 _defaultFromTime, uint64 _defaultToTime)` added which sets a default timestamp used when `fromTime` or `toTime` are 0.
28
33
* Add `address[] public investors` to record a list of all addresses that have been added to the whitelist (`getInvestors`).
29
-
*General Transfer Manager: Fix for when `allowAllWhitelistIssuances` is FALSE
30
-
*General Transfer Manager: Make GTM a Proxy based implementation to reduce deployment gas costs
34
+
* Fix for when `allowAllWhitelistIssuances` is FALSE
35
+
* Make GTM a Proxy based implementation to reduce deployment gas costs
31
36
* Changed the version of `GeneralTransferManagerFactory` from `1.0.0` to `2.1.0`.
37
+
*`_investor` and `_addedBy` is now indexed in the `ModifyWhitelist` event.
38
+
* Add public variable `defaults` to get the offset timing.
32
39
33
40
## Manual Approval TransferManager
34
-
* Removed `0x0` check for the `_from` address to `ManualApprovalTransferManager`. This allows for the Issuer/Transfer Agent to approve a one-off mint of tokens that otherwise would not be possible.
41
+
* Removed `0x0` check for the `_from` address to `ManualApprovalTransferManager`. This allows for the Issuer/Transfer Agent to approve a one-off mint of tokens that otherwise would not be possible.
35
42
* Changed the version of `ManualApprovalTransferManagerFactory` from `1.0.0` to `2.1.0`.
36
43
* Deployed 2.0.1 `ManualApprovalTransferManagerFactory` to address 0x6af2afad53cb334e62b90ddbdcf3a086f654c298
37
44
* Add `getActiveApprovalsToUser()` function to access all the active approvals for a user whether user is in the `from` or in `to`.
38
45
* Add `getApprovalDetails()` to get the details of the approval corresponds to `_from` and `_to` address.
39
46
* Add feature to modify the details of the active approval using `modifyApproval()` & `modifyApprovalMulti()`.
40
47
* Add `addManualApprovalMulti()` and `revokeManualApprovalMulti()` batch function for adding and revoking the manual approval respectively.
48
+
* Add `_description` parameter during the `addManualApproval()` function call. It will be a `bytes32` variable which depicts the cause of manual approval.
* Add `getTotalApprovalsLength()` to get the number of active approvals.
51
+
* Add `getAllApprovals()` to get the details of all approvals.
41
52
42
53
## Dividends
43
54
* Changed the version of `ERC20DividendCheckpointFactory` & `EtherDividendCheckpointFactory` from `1.0.0` to `2.1.0`.
44
-
* Applied proxy pattern to Dividends modules
55
+
* Applied proxy pattern to Dividends modules.
56
+
* During the launch of dividend module issuer need to pass the reclaimed wallet that receive the left over funds from the module.
57
+
i.e pass `_wallet` in `configure()` function of dividend module. It emits `SetWallet` event for the confirmation of the same.
58
+
* Add `changeWallet()` function to change the reclaimed wallet address (only be called by the owner).
59
+
* Add `getDividendsData()` getter to receive the details about all the dividend.
60
+
* Add `getDividendData()` getter to receive the details about the particular dividend by passing a corresponding dividend index.
61
+
* Add `getDividendProgress()` getter to retrieves the list of investors and their details corresponds to particular dividend.
62
+
* Add `getCheckpointData()` use to retrieves list of investors, their balances, and their current withholding tax percentage corresponds to checkpointId.
63
+
*`isExcluded()` a view function added to check whether an address is excluded from claming a dividend or not.
64
+
*`isClaimed()` a view function added to checks whether an address has claimed a dividend or not.
65
+
* DividendIndex is indexed in the events `ERC20DividendClaimed`, `ERC20DividendReclaimed`, `ERC20DividendWithholdingWithdrawn`. Similarly for the Ether dividend module `EtherDividendClaimed`, `EtherDividendReclaimed`, `EtherDividendClaimFailed`, `EtherDividendWithholdingWithdrawn`.
66
+
*`EXCLUDED_ADDRESS_LIMIT` changed from 50 to 150.
45
67
46
68
## Experimental modules
47
69
* Remove the `SingleTradeVolumeRestrictionTMFactory.sol` and its corresponding module `SingleTradeVolumeRestrictionTM.sol`.
70
+
* Add the new TM called `BlacklistTransferManager.sol` and its corresponding factory `BlacklistTransferManagerFactory.sol`.
71
+
* Chnage the name of module from `LockupVolumeRestrictionTM.sol` to `LockUpTransferManager.sol`, similarly factory become `LockUpTransferManagerFactory.sol`.
72
+
* Add new module called `VestingEscrowWallet.sol` and its corresponding factory `VestingEscrowWalletFactory.sol`.
73
+
74
+
## STR & MR
75
+
*`getArrayAddress(), getArrayBytes32(), getArrayUint()` are now public getters.
* Add new module called `VolumeRestrictionTM.sol` under the TransferManager modules list. It will be used to restrict the token
@@ -97,7 +126,7 @@ volume traded in a given rolling period.
97
126
* Removed investors list pruning
98
127
* Remove `swarmHash` from the `registerTicker(), addCustomTicker(), generateSecurityToken(), addCustomSecurityToken()` functions of TickerRegistry.sol and SecurityTokenRegistry.sol. #230
99
128
* Remove `Log` prefix from all the event present in the ecosystem.
100
-
* Removed `addTagByModuleType` & `removeTagsByModuleType` from MR.
129
+
* Removed `addTagByModuleType` & `removeTagsByModuleType` from MR.
console.log(`- Total amount of investors: ${_investorArray.length} `);
477
508
console.log();
478
509
console.log(table(dataTable));
510
+
console.log();
511
+
console.log(chalk.yellow(`NOTE: If investor has not claimed the dividend yet, TAX and AMOUNT are calculated with the current values set and they might change.`));
0 commit comments