Skip to content

Commit f9ff09a

Browse files
authored
Merge pull request #455 from PolymathNetwork/dev-2.1.0-master
Merge dev-2.1 and master
2 parents 12b1680 + c41e54c commit f9ff09a

File tree

81 files changed

+6474
-4709
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

81 files changed

+6474
-4709
lines changed

.eslintrc.js

Lines changed: 3 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,6 +14,8 @@ module.exports = {
1414
"quotes": 0,
1515
"semi": 0,
1616
"no-undef": 0,
17-
"key-spacing": 0
17+
"key-spacing": 0,
18+
"no-tabs": 0,
19+
"no-mixed-spaces-and-tabs":0
1820
}
1921
};

.gitignore

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,4 +19,7 @@ package-lock.json
1919
bridge.log
2020
.node-xml*
2121
.solcover.js.bk
22-
allFiredEvents
22+
allFiredEvents
23+
extract/
24+
extract.py
25+
extract.zip

CHANGELOG.md

Lines changed: 32 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,15 +1,42 @@
11
# Changelog
22
All notable changes to this project will be documented in this file.
33

4-
# v2.1.0 - Release Candidate
4+
# v2.1.0 - Release Candidate
55

6-
[__2.1.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __13-089-18__
6+
[__2.1.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __13-09-18__
7+
8+
## CappedSTO 2.0.1
9+
* `rate` is now accepted as multiplied by 10^18 to allow settting higher price than 1ETH/POLY per token.
10+
11+
## USDTieredSTO 2.0.1
12+
* Added `buyTokensView` and `getTokensMintedByTier` to USDTSTO.
13+
* Added `getSTODetails` to USDTSTO.
14+
* Added an Array of Tiers that will hold data about every tier in USDTSTO.
15+
* Added `buyWithETHRateLimited`, `buyWithPOLYRateLimited` and `buyWithUSDRateLimited` to USDTSTO.
16+
* Added `getTokensSoldByTier` to return sold (not minted during finalisation) tokens in each tier to USDTSTO.
17+
* Removed individual mappings for tier data removed in UDSTSTO.
18+
19+
## GeneralTransferManager
20+
* `getInvestors`, `getAllInvestorsData`, `getInvestorsData` added to GTM to allow easy data queries.
21+
* `modifyDefaults(uint64 _defaultFromTime, uint64 _defaultToTime)` added which sets a default timestamp used when `fromTime` or `toTime` are 0
22+
* Add `address[] public investors` to record a list of all addresses that have been added to the whitelist (`getInvestors`).
23+
* General Transfer Manager: Fix for when `allowAllWhitelistIssuances` is FALSE
24+
* General Transfer Manager: Make GTM a Proxy based implementation to reduce deployment gas costs
25+
* Changed the version of `GeneralTransferManagerFactory` from `1.0.0` to `2.1.0`.
726

827
## Manual Approval TransferManager
928
* 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.
10-
* Changed the version of `ManualApprovalTransferManagerFactory` from `1.0.0` to `2.0.1`.
29+
* Changed the version of `ManualApprovalTransferManagerFactory` from `1.0.0` to `2.1.0`.
1130
* Deployed 2.0.1 `ManualApprovalTransferManagerFactory` to address 0x6af2afad53cb334e62b90ddbdcf3a086f654c298
1231

32+
## Dividends
33+
* Changed the version of `ERC20DividendCheckpointFactory` & `EtherDividendCheckpointFactory` from `1.0.0` to `2.1.0`.
34+
* Applied proxy pattern to Dividends modules
35+
36+
## Changed
37+
* `getAllModulesAndPermsFromTypes()` does not take securityToken address as a parameter anymore.
38+
39+
1340
# v1.5.0 - Release Candidate
1441

1542
[__1.5.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __15-08-18__
@@ -43,7 +70,6 @@ All notable changes to this project will be documented in this file.
4370
* Add new function `modifyTickerDetails()`, To modify the details of undeployed ticker. #230
4471

4572
## Fixed
46-
* `getAllModulesAndPermsFromTypes()` does not take securityToken address as a parameter anymore.
4773
* 0x0 and duplicate address in exclusions are no longer allowed in dividend modules.
4874
* All permissions are denied if no permission manager is active.
4975
* Generalize the STO varaible names and added them in `ISTO.sol` to use the common standard in all STOs.
@@ -58,7 +84,7 @@ All notable changes to this project will be documented in this file.
5884

5985
======
6086

61-
# v1.4.1 - Release Candidate
87+
# v1.4.1
6288

6389
[__1.4.1__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __13-08-18__
6490

@@ -82,7 +108,7 @@ All notable changes to this project will be documented in this file.
82108
* Fix #238: make beneficial investments optionally supported (default to not
83109
allowed)
84110

85-
# v1.4.0 - Release candidate
111+
# v1.4.0
86112

87113
[__1.4.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __13-08-18__
88114

0 commit comments

Comments
 (0)