Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Dev-2.1.0 to master #627

Merged
merged 842 commits into from
Apr 5, 2019
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
842 commits
Select commit Hold shift + click to select a range
1e81411
Combine travis and CircleCI
maxsam4 Dec 13, 2018
a89562c
env var changes
maxsam4 Dec 13, 2018
742cdad
comment
maxsam4 Dec 13, 2018
5e2ec74
Improve MATM to allow allowances and expiryTimes to be changed for ex…
shuffledex Dec 13, 2018
4ebc150
Merge branch 'dev-2.1.0' into reinvent-lockup
VictorVicente Dec 13, 2018
c8832cb
Refactoring and improvements
shuffledex Dec 13, 2018
125c1b8
CLI - Operations in batch for VRTM
VictorVicente Dec 13, 2018
4c92fce
fuzz test for adding and removing modules
comeonbuddy Dec 14, 2018
6cde94f
Merge pull request #468 from maxsam4/circle-ci
maxsam4 Dec 14, 2018
5c66795
Merge branch 'dev-2.1.0' into circle-ci
maxsam4 Dec 14, 2018
bea3115
finished module fuzz test
comeonbuddy Dec 14, 2018
06ce332
Fix rounding off errors (#467)
maxsam4 Dec 14, 2018
002951b
Minor CLI changes
VictorVicente Dec 14, 2018
d1d982c
Merge branch 'dev-2.1.0' into development-1.5.1
adamdossa Dec 14, 2018
a10e0c0
fix modify batch
shuffledex Dec 14, 2018
4c40494
Increased no o/p timeout
maxsam4 Dec 14, 2018
22b6d45
manual merge
shuffledex Dec 14, 2018
bdf3c61
Merge branch 'dev-2.1.0' into circle-ci
maxsam4 Dec 14, 2018
4d48187
Improve menu string
shuffledex Dec 14, 2018
115f3b1
Triggering CircleCI
maxsam4 Dec 14, 2018
b53d904
CLI minor changes
VictorVicente Dec 14, 2018
09e8e4e
Merge branch 'dev-2.1.0' into remove-blocking-MATM
VictorVicente Dec 14, 2018
03ee41f
Merge pull request #463 from PolymathNetwork/circle-ci
pabloruiz55 Dec 14, 2018
cbd2f57
Add ability to see excluded addresses
adamdossa Dec 14, 2018
c0f5594
Updates
adamdossa Dec 16, 2018
5574125
Fixes
adamdossa Dec 16, 2018
b01b826
Bump excluded limit to 150
adamdossa Dec 16, 2018
46afc1f
Merge branch 'dev-2.1.0' into fuzz-test-adding-removing-modules
satyamakgec Dec 17, 2018
fe306e0
remove SRVTM
SatyamSB Dec 17, 2018
8df6319
Merge branch 'dev-2.1.0' into dividend_exclusion
adamdossa Dec 17, 2018
d5058bf
Use investor list from checkpoint
adamdossa Dec 17, 2018
549f83e
CLI - Script to generate tokens, whitelist investors and mint to them
VictorVicente Dec 17, 2018
67d3429
CLI - Explore account
VictorVicente Dec 17, 2018
64a72de
Update PolyTokenFaucet.sol
maxsam4 Dec 18, 2018
629613f
Merge branch 'dev-2.1.0' into multiple-stable-coins
maxsam4 Dec 18, 2018
5e99a3a
Merge branch 'dev-2.1.0' into remove-blocking-MATM
maxsam4 Dec 18, 2018
42519d2
Merge pull request #477 from PolymathNetwork/fuzz-test-adding-removin…
satyamakgec Dec 18, 2018
baff6b5
Merge branch 'dev-2.1.0' into faucet-patch
satyamakgec Dec 18, 2018
2336d85
Merge pull request #480 from PolymathNetwork/faucet-patch
pabloruiz55 Dec 18, 2018
40802f9
Merge branch 'dev-2.1.0' into dividend_exclusion
VictorVicente Dec 18, 2018
af0ab90
Improved the natspec comments
Dec 18, 2018
9088434
added VestingEscrowWalletLogic to output
Dec 19, 2018
15d9dcf
Merge branch 'dev-2.1.0' into multiple-stable-coins
VictorVicente Dec 19, 2018
86508fb
Merge pull request #437 from PolymathNetwork/multiple-stable-coins
VictorVicente Dec 19, 2018
bfc0982
Merge branch 'dev-2.1.0' into dividend_exclusion
VictorVicente Dec 19, 2018
65b2b49
Track withheld at dividend granularity
adamdossa Dec 19, 2018
3386072
wip - issue with test not finishing
comeonbuddy Dec 20, 2018
20abb7d
removed redundant dependencies
Dec 20, 2018
5c7c2a7
increased versions
Dec 20, 2018
43cc95a
WIP-multiple transaction within 1 day with Individual and daily Restr…
comeonbuddy Dec 20, 2018
2844938
updated yarn.lock
Dec 20, 2018
213c498
Add balances & claim amounts to getters
adamdossa Dec 20, 2018
a1ed632
CLI - Flow change and updates for dividends_manager
VictorVicente Dec 20, 2018
86c2a28
Updated test script
maxsam4 Dec 21, 2018
4d7cc1a
Script updated
maxsam4 Dec 21, 2018
4e1e37b
fixed bug with the initial test
comeonbuddy Dec 21, 2018
99984f1
Update test.sh
maxsam4 Dec 21, 2018
42c2eaf
Merge pull request #490 from PolymathNetwork/ci-fix
maxsam4 Dec 21, 2018
61086f7
Script updated
maxsam4 Dec 21, 2018
ad5148f
Merge branch 'dev-2.1.0' into ci-fix
maxsam4 Dec 21, 2018
67904eb
Merge pull request #491 from PolymathNetwork/ci-fix
satyamakgec Dec 21, 2018
c84edf4
coverage block gas limit increased
maxsam4 Dec 21, 2018
ade20f3
Merge branch 'dev-2.1.0' into ci-fix
maxsam4 Dec 21, 2018
42eb324
ganache-cli 6.2.5
Dec 21, 2018
a3085b6
Merge branch 'dev-2.1.0' into Cleaning-up-dependencies
maxsam4 Dec 21, 2018
b3098f7
Merge pull request #492 from PolymathNetwork/ci-fix
maxsam4 Dec 21, 2018
27dae4d
Merge branch 'dev-2.1.0' into Cleaning-up-dependencies
maxsam4 Dec 21, 2018
66f331f
Merge pull request #489 from PolymathNetwork/Cleaning-up-dependencies
maxsam4 Dec 21, 2018
c379132
Travis submit coverage
maxsam4 Dec 21, 2018
055f8cb
Merge branch 'dev-2.1.0' into ci-fix
maxsam4 Dec 21, 2018
2de1bb8
added scenario 2 and 3
comeonbuddy Dec 21, 2018
40343b9
fix input random number issue
comeonbuddy Dec 21, 2018
5b892a2
Merge pull request #493 from PolymathNetwork/ci-fix
maxsam4 Dec 21, 2018
e5fab1f
Add more test cases
adamdossa Dec 21, 2018
2ba0db0
CLI Minor fixes
VictorVicente Dec 21, 2018
7730519
Merge branch 'dividend_exclusion' of https://github.com/PolymathNetwo…
VictorVicente Dec 21, 2018
9e94b0c
Merge branch 'dev-2.1.0' into dividend_exclusion
VictorVicente Dec 21, 2018
dbe994c
Merge branch 'dev-2.1.0' into development-1.5.1
VictorVicente Dec 21, 2018
b29a42c
483 484 fix (#488)
dev1644 Dec 21, 2018
5b2b891
Merge branch 'dev-2.1.0' into development-1.5.1
VictorVicente Dec 21, 2018
ba851bf
Merge branch 'dev-2.1.0' into remove-blocking-MATM
VictorVicente Dec 21, 2018
9aea06b
Add getCheckpointData
adamdossa Dec 21, 2018
054d441
CLI minor changes
VictorVicente Dec 21, 2018
5c14bcb
CLI typo fix
VictorVicente Dec 21, 2018
d6ed747
bug fixes
SatyamSB Dec 21, 2018
403f6c6
Merge branch 'development-1.5.1' of https://github.com/vpanwar821/pol…
SatyamSB Dec 21, 2018
fef44d0
CLI updates
VictorVicente Dec 21, 2018
2148636
finished test case 4
comeonbuddy Dec 31, 2018
a582179
Merge branch 'dev-2.1.0' into dividend_exclusion
adamdossa Dec 31, 2018
85bce98
repeat period count from the startTime
SatyamSB Jan 2, 2019
7b7f3ab
WIP
comeonbuddy Jan 2, 2019
6dcef1f
fixed functions getActiveApprovalsToUser and added getAllApprovals() …
comeonbuddy Jan 2, 2019
bb3cdef
edited function description
comeonbuddy Jan 2, 2019
babc783
Bumped cappedSTO version
maxsam4 Jan 2, 2019
48213f6
MATM version bumped
maxsam4 Jan 2, 2019
f2bd23a
Merge pull request #498 from PolymathNetwork/version-bump
satyamakgec Jan 2, 2019
cad4562
CLI update
VictorVicente Jan 2, 2019
8737567
Merge branch 'dev-2.1.0' into remove-blocking-MATM
maxsam4 Jan 2, 2019
ad29c1b
test case fixed
maxsam4 Jan 2, 2019
a0408c0
Merge pull request #450 from PolymathNetwork/remove-blocking-MATM
pabloruiz55 Jan 2, 2019
ce1354d
Merge branch 'dev-2.1.0' into dividend_exclusion
VictorVicente Jan 2, 2019
df1d920
Merge branch 'dev-2.1.0' into Vesting-Escrow-Wallet
VictorVicente Jan 2, 2019
927990c
Update j_manual_approval_transfer_manager.js
maxsam4 Jan 2, 2019
78c844e
Merge pull request #501 from PolymathNetwork/matm-test-fix
kostind Jan 2, 2019
40cfa3d
WIP
comeonbuddy Jan 3, 2019
b13e08c
reinvent the test case
SatyamSB Jan 3, 2019
d4b130b
Merge branch 'dev-2.1.0' into dividend_exclusion
VictorVicente Jan 3, 2019
3b78ff7
Merge branch 'dev-2.1.0' into Vesting-Escrow-Wallet
VictorVicente Jan 3, 2019
c85c599
Merge pull request #476 from PolymathNetwork/dividend_exclusion
VictorVicente Jan 3, 2019
0ecdf79
Merge branch 'dev-2.1.0' into Vesting-Escrow-Wallet
VictorVicente Jan 3, 2019
1299ca3
Merge conflicts
VictorVicente Jan 3, 2019
ab3d94b
Merge pull request #422 from PolymathNetwork/Vesting-Escrow-Wallet
VictorVicente Jan 3, 2019
b7d6df0
Merge branch 'dev-2.1.0' into volTM-module
VictorVicente Jan 3, 2019
c4a0af6
indexing the param (#500)
satyamakgec Jan 3, 2019
6354748
Merge branch 'dev-2.1.0' into volTM-module
VictorVicente Jan 3, 2019
e478aa3
Merge pull request #421 from PolymathNetwork/volTM-module
VictorVicente Jan 3, 2019
2248980
Merge branch 'dev-2.1.0' into development-1.5.1
VictorVicente Jan 3, 2019
2aaa03d
Permissions update
VictorVicente Jan 3, 2019
11d0f31
Removed redundant events
maxsam4 Jan 4, 2019
8c55c2c
Merge pull request #507 from PolymathNetwork/event-fix
satyamakgec Jan 4, 2019
d71321a
dual truffle coverage
maxsam4 Jan 7, 2019
8e951d6
VRTM coverage fix
maxsam4 Jan 7, 2019
cbb8eb3
Added compile command
maxsam4 Jan 7, 2019
c1d2481
Updated coverage script
maxsam4 Jan 7, 2019
07a62e0
removed compile command
maxsam4 Jan 7, 2019
742b9c2
Updated truffle config
maxsam4 Jan 7, 2019
0e5078c
Merge pull request #509 from PolymathNetwork/dual-truffle
VictorVicente Jan 7, 2019
b59b79e
Merge branch 'dev-2.1.0' into development-1.5.1
VictorVicente Jan 7, 2019
0cfd5cd
Merge pull request #289 from vpanwar821/development-1.5.1
pabloruiz55 Jan 7, 2019
7e05021
Pull accredited lists from USDSTO (#502)
adamdossa Jan 7, 2019
3eb609a
add getRestrictedAddresses() function
SatyamSB Jan 8, 2019
418961e
Merge branch 'dev-2.1.0' into getter-voltm
satyamakgec Jan 8, 2019
d85c594
minor fix
SatyamSB Jan 8, 2019
18a0426
Merge branch 'dev-2.1.0' into reinvent-lockup
VictorVicente Jan 8, 2019
23e7d51
Fixed test file
maxsam4 Jan 8, 2019
f5992b4
Add restrictions data to getRestrictedAddresses
adamdossa Jan 8, 2019
ea5089a
Remove commented code and better tests
adamdossa Jan 8, 2019
dd39b51
'succesfully' typo
VictorVicente Jan 8, 2019
e8c0cd6
'whould' typo
VictorVicente Jan 8, 2019
73f0377
To pause/unpause TM modules fix
VictorVicente Jan 8, 2019
11f6b50
Change module budget error
VictorVicente Jan 8, 2019
7429d13
modified the getRestrictedAddress() function
SatyamSB Jan 9, 2019
72c1eb7
code cleanup
SatyamSB Jan 9, 2019
f400049
CLI - Show restrictions table
VictorVicente Jan 9, 2019
3638c60
minor fix
SatyamSB Jan 9, 2019
365db81
Merge branch 'getter-voltm' of https://github.com/PolymathNetwork/pol…
SatyamSB Jan 9, 2019
bb4c1fe
CLI - Update method name, updated csv dates
VictorVicente Jan 9, 2019
887860e
Trigger TravisCI
VictorVicente Jan 9, 2019
70a460a
Merge pull request #409 from PolymathNetwork/reinvent-lockup
VictorVicente Jan 9, 2019
d1dec2c
Merge branch 'dev-2.1.0' into getter-voltm
VictorVicente Jan 9, 2019
ceb6acf
CLI - Changed names of restrictions
VictorVicente Jan 9, 2019
d2636c0
Minor fix
VictorVicente Jan 9, 2019
60efa3f
CLI - Percentage with decimals fix
VictorVicente Jan 9, 2019
5c27711
CLI - Changed names of restrictions
VictorVicente Jan 9, 2019
6c8a321
Merge branch 'getter-voltm' of https://github.com/PolymathNetwork/pol…
VictorVicente Jan 9, 2019
3689174
add exempt list getter
SatyamSB Jan 9, 2019
4d342f1
Merge branch 'getter-voltm' of https://github.com/PolymathNetwork/pol…
SatyamSB Jan 9, 2019
c0700ea
minor fix
SatyamSB Jan 10, 2019
a2692fc
CLI - Added 'show exempted addresses'
VictorVicente Jan 10, 2019
1b126c2
Small optimisation
adamdossa Jan 10, 2019
962dc89
Merge pull request #513 from PolymathNetwork/getter-voltm
satyamakgec Jan 10, 2019
c843a99
Typo
VictorVicente Jan 10, 2019
14a9650
Text improvements
VictorVicente Jan 10, 2019
b2551b4
KYC expiry date modified to one year from now
VictorVicente Jan 10, 2019
c1b5c7e
Fix for CappedSTO
VictorVicente Jan 10, 2019
124311b
Move contracts to the respective folders (#510)
satyamakgec Jan 14, 2019
688f0a4
Fix comments (#519)
adamdossa Jan 14, 2019
5448cb3
Removed default stable coin
VictorVicente Jan 15, 2019
83f0afa
Dividend improvements (#526)
adamdossa Jan 16, 2019
e0a6087
add the remove function during re-add of the restriction
SatyamSB Jan 17, 2019
06bd8b4
Merge pull request #529 from PolymathNetwork/vrtm-small-fix
maxsam4 Jan 18, 2019
a7b1f42
add the 2.1.0 changes
SatyamSB Jan 18, 2019
6b0521a
Merge branch 'dev-2.1.0' into changelog-update
satyamakgec Jan 18, 2019
a8b71e5
Merge pull request #530 from PolymathNetwork/changelog-update
pabloruiz55 Jan 18, 2019
acd6370
Merge branch 'dev-2.1.0' into CLI-text-and-improvements
VictorVicente Jan 23, 2019
47df791
Lockup typos and fixes
VictorVicente Jan 23, 2019
ddd72ea
version bump
maxsam4 Feb 1, 2019
5c79d98
Merge pull request #540 from PolymathNetwork/version-bump
satyamakgec Feb 3, 2019
3f7c047
Merge branch 'dev-2.1.0' into CLI-text-and-improvements
VictorVicente Feb 4, 2019
511f404
add getAllLockupData getter
SatyamSB Feb 4, 2019
e36e38a
CLI - Added support to new lockup getter
VictorVicente Feb 5, 2019
3bea43c
KYC date text improved
VictorVicente Feb 5, 2019
013ac45
Merge pull request #542 from PolymathNetwork/lockup-add-getter
satyamakgec Feb 6, 2019
3ca197a
Update CLI/commands/transfer_manager.js
F-OBrien Feb 6, 2019
5e7be5b
Merge branch 'dev-2.1.0' into CLI-text-and-improvements
VictorVicente Feb 6, 2019
a742e67
Allowance method fix
VictorVicente Feb 6, 2019
0973815
Minor change
VictorVicente Feb 6, 2019
3c4531c
Initial auto deploy
maxsam4 Feb 7, 2019
e6fb8bf
HDWalletProvider
maxsam4 Feb 7, 2019
ad72cc2
Use local truffle
maxsam4 Feb 7, 2019
5c10dfb
Deploy only on dev and master branches
maxsam4 Feb 7, 2019
fcc2fc6
Merge pull request #515 from PolymathNetwork/CLI-text-and-improvements
CPSTL Feb 7, 2019
f775272
Added deploy script
maxsam4 Feb 9, 2019
287fe50
Enabled deployment on commit
maxsam4 Feb 9, 2019
2967a6c
Deploy only on dev/master branches
maxsam4 Feb 9, 2019
21228c1
Merge branch 'dev-2.1.0' into auto-deploy
maxsam4 Feb 9, 2019
82f78aa
Merge pull request #545 from PolymathNetwork/auto-deploy
satyamakgec Feb 9, 2019
577dd46
Fix reading factory address from module registry for dividends modules
VictorVicente Mar 6, 2019
6ff157b
Merge pull request #585 from PolymathNetwork/CLI-bug-fix
pabloruiz55 Mar 6, 2019
fb7bfd3
Alternative symbol() ABI for ERC20 tokens
VictorVicente Mar 6, 2019
be6264e
Merge branch 'dev-2.1.0' into CLI-bug-fix
pabloruiz55 Mar 6, 2019
9062fdf
Merge pull request #587 from PolymathNetwork/CLI-bug-fix
pabloruiz55 Mar 6, 2019
fd51e7a
STO fixes (#583)
maxsam4 Mar 7, 2019
69b96d5
Finalize changed granularity edge case fixed (#588)
maxsam4 Mar 7, 2019
3d45fb2
USDTieredSTO Granularity edge case fixed (#595)
maxsam4 Mar 13, 2019
0008f28
gtm matm optimizations (#601)
maxsam4 Mar 18, 2019
c3c7fd1
Fixes
adamdossa Mar 18, 2019
eba4a93
Allow maturity / expiry dates to be updated
adamdossa Mar 18, 2019
548d7fd
Add tests & fixes
adamdossa Mar 18, 2019
4463496
Typo
adamdossa Mar 18, 2019
8577bd8
More tests
adamdossa Mar 18, 2019
219f24e
Add more test cases
adamdossa Mar 18, 2019
a90d729
Merge pull request #606 from PolymathNetwork/fix_dividend_bugs
satyamakgec Mar 19, 2019
8766fb1
Update versions
adamdossa Mar 20, 2019
06bec00
Only bump dividends
adamdossa Mar 20, 2019
9872bf9
Fix decimals in dividends modules
VictorVicente Mar 20, 2019
7095b38
STOs are listed with its version
VictorVicente Mar 20, 2019
90c3100
Merge pull request #612 from PolymathNetwork/change-versions
pabloruiz55 Mar 20, 2019
daf208b
Reclaim ETH and ERC20 tokens from STO and Dividends modules
VictorVicente Mar 20, 2019
a6f289b
Pause/Unpase dividend modules
VictorVicente Mar 20, 2019
b0b71d3
Minor fix
VictorVicente Mar 20, 2019
715d3f6
Merge branch 'dev-2.1.0' into cli-dividend-fixes
VictorVicente Mar 20, 2019
fc88f2d
BigNumber library for dividends
VictorVicente Mar 20, 2019
ea1cbc8
STO selection fix
VictorVicente Mar 20, 2019
2c20b2f
Fix for pause/unpause STOs
VictorVicente Mar 21, 2019
a19b2a7
Show sto version when selecting
VictorVicente Mar 21, 2019
c604925
Updated Kovan addresses
pabloruiz55 Mar 21, 2019
bb59d5d
Merge branch 'dev-2.1.0' into cli-dividend-fixes
pabloruiz55 Mar 21, 2019
a5b6c32
Version info for all modules
VictorVicente Mar 21, 2019
923926e
Merge pull request #613 from PolymathNetwork/cli-dividend-fixes
pabloruiz55 Mar 21, 2019
c4afe28
audit fixes 1..9
SatyamSB Mar 26, 2019
95e7b2c
add test cases for the major issue
SatyamSB Mar 26, 2019
de6decc
test fix
SatyamSB Mar 26, 2019
1191f38
improve the test run
SatyamSB Mar 27, 2019
60b2aa0
add the startTime == 0 check
SatyamSB Mar 28, 2019
031f5dd
resolve the edge case when the investors restriction changes
SatyamSB Mar 29, 2019
3672305
Minor change
maxsam4 Mar 29, 2019
6aba6b9
VRTM size reduction to 24.21KB
maxsam4 Mar 29, 2019
5a2231a
Reduced VRTM size to be under the limit
maxsam4 Mar 29, 2019
7309dcb
add the code comments
SatyamSB Mar 29, 2019
4c43cf5
increase the time to fix the coverage
SatyamSB Mar 29, 2019
8d87605
optimize the code
SatyamSB Mar 29, 2019
bed595d
Merge pull request #617 from PolymathNetwork/vrtm-audit-fixes
satyamakgec Mar 29, 2019
c4b537d
updated readme with 2.1.0 mainnet addresses
pabloruiz55 Apr 2, 2019
5b4f429
Fix to keep transfer_manager compatible with GTM v1.0.0
VictorVicente Apr 2, 2019
bba2546
Merge pull request #626 from PolymathNetwork/CLI-gtm-multiversion
pabloruiz55 Apr 3, 2019
3409ff9
merge dev-2.1.0 to master
SatyamSB Apr 3, 2019
2e481ac
docs update & minor improvements
SatyamSB Apr 5, 2019
52e2410
Merge pull request #633 from PolymathNetwork/audit-minor-fixes-vrtm
maxsam4 Apr 5, 2019
6470391
Merge branch 'dev-2.1.0' into dev2-to-master
SatyamSB Apr 5, 2019
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
38 changes: 31 additions & 7 deletions .circleci/config.yml
Original file line number Diff line number Diff line change
Expand Up @@ -39,37 +39,51 @@ jobs:
path: ./test-results/mocha/results.xml
coverage:
docker:
- image: circleci/node:8
- image: maxsam4/solidity-kit:0.4.24
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: yarn install
- run: sudo npm i truffle -g
- run: node --version
- run: truffle version
- run: node_modules/.bin/truffle version
- run:
command: npm run coverage
command: scripts/coverage.sh
no_output_timeout: 1h
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
- store_artifacts:
path: ./coverage/lcov.info
docs:
deploy_kovan:
docker:
- image: maxsam4/solidity-kit:0.4.24
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: yarn install
- run: wget -O node_modules/solidity-docgen/lib/index.js https://raw.githubusercontent.com/maxsam4/solidity-docgen/build/lib/index.js
- run: node --version
- run: truffle version
- run: git config --global user.email "contact@mudit.blog"
- run: git config --global user.name "Docs Bot"
- run: mv truffle-ci.js truffle-config.js
- run: npm run deploy-kovan
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
paths:
- node_modules
docs:
docker:
- image: circleci/node:8
steps:
- checkout
- restore_cache:
key: dependency-cache-{{ checksum "package.json" }}
- run: yarn install
- run: sudo npm i truffle -g
- run: node --version
- run: truffle version
- run: npm run docs
- save_cache:
key: dependency-cache-{{ checksum "package.json" }}
Expand Down Expand Up @@ -100,3 +114,13 @@ workflows:
branches:
only:
- master
deploy:
jobs:
- deploy_kovan:
filters:
branches:
only:
- master
- dev-2.1.0
- dev-2.2.0
- dev-3.0.0
4 changes: 3 additions & 1 deletion .eslintrc.js
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ module.exports = {
"quotes": 0,
"semi": 0,
"no-undef": 0,
"key-spacing": 0
"key-spacing": 0,
"no-tabs": 0,
"no-mixed-spaces-and-tabs":0
}
};
2 changes: 1 addition & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -23,4 +23,4 @@ allFiredEvents
extract/
extract.py
extract.zip
/test-results
/test-results
4 changes: 2 additions & 2 deletions .solcover.js
Original file line number Diff line number Diff line change
Expand Up @@ -2,8 +2,8 @@ module.exports = {
norpc: true,
port: 8545,
copyPackages: ['openzeppelin-solidity'],
testCommand: 'node ../node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js -and ! -name s_v130_to_v140_upgrade.js` --network coverage',
testCommand: 'node ../node_modules/.bin/truffle test `find test/*.js ! -name a_poly_oracle.js -and ! -name s_v130_to_v140_upgrade.js -and ! -name q_usd_tiered_sto_sim.js -and ! -name z_general_permission_manager_fuzzer.js` --network coverage',
deepSkip: true,
skipFiles: ['external', 'flat', 'helpers', 'mocks', 'oracles', 'libraries/KindMath.sol', 'storage', 'modules/Experimental'],
skipFiles: ['external', 'flat', 'helpers', 'mocks', 'oracles', 'libraries/KindMath.sol', 'libraries/BokkyPooBahsDateTimeLibrary.sol', 'storage', 'modules/Experimental'],
forceParse: ['mocks', 'oracles', 'modules/Experimental']
};
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ jobs:
include:
- stage: test
before_script: truffle version
script: npm run test
script: travis_wait 120 sleep infinity & npm run test
notifications:
slack:
secure: W4FZSabLrzF74f317hutolEHnlq2GBlQxU6b85L5XymrjgLEhlgE16c5Qz7Emoyt6le6PXL+sfG2ujJc3XYys/6hppgrHSAasuJnKCdQNpmMZ9BNyMs6WGkmB3enIf3K/FLXb26AQdwpQdIXuOeJUTf879u+YoiZV0eZH8d3+fsIOyovq9N6X5pKOpDM9iT8gGB4t7fie7xf51s+iUaHxyO9G7jDginZ4rBXHcU7mxCub9z+Z1H8+kCTnPWaF+KKVEXx4Z0nI3+urboD7E4OIP02LwrThQls2CppA3X0EoesTcdvj/HLErY/JvsXIFiFEEHZzB1Wi+k2TiOeLcYwEuHIVij+HPxxlJNX/j8uy01Uk8s4rd+0EhvfdKHJqUKqxH4YN2npcKfHEss7bU3y7dUinXQfYShW5ZewHdvc7pnnxBTfhvmdi64HdNrXAPq+s1rhciH7MmnU+tsm4lhrpr+FBuHzUMA9fOCr7b0SQytZEgWpiUls88gdbh3yG8TjyZxmZJGx09cwEP0q7VoH0UwFh7mIu5XmYdd5tWUhavTiO7YV8cUPn7MvwMsTltB3YBpF/fB26L7ka8zBhCsjm9prW6SVYU/dyO3m91VeZtO/zJFHRDA6Q58JGVW2rgzO39z193qC1EGRXqTie96VwAAtNg8+hRb+bI/CWDVzSPc=
90 changes: 81 additions & 9 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
@@ -1,14 +1,87 @@
# Changelog
All notable changes to this project will be documented in this file.

# v2.1.0 - Release Candidate

[__2.1.0__](https://www.npmjs.com/package/polymath-core?activeTab=readme) __13-089-18__
# v2.1.0 - Release Candidate

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


## CappedSTO 2.1.0
* `rate` is now accepted as multiplied by 10^18 to allow settting higher price than 1ETH/POLY per token.
* Indivisble tokens are now supported. When trying to buy partial tokens, allowed full units of tokens will be purchased and remaining funds will be returned.

## USDTieredSTO 2.1.0
* Added `stableCoinsRaised` function that returns amount of individual stable coin raised when address of that stable coin is passed.
* Added support for multiple stable coins in USDTSTO.
* Added `buyTokensView` and `getTokensMintedByTier` to USDTSTO.
* Added `getSTODetails` to USDTSTO.
* Added an Array of Tiers that will hold data about every tier in USDTSTO.
* Added `buyWithETHRateLimited`, `buyWithPOLYRateLimited` and `buyWithUSDRateLimited` to USDTSTO.
* Added `getTokensSoldByTier` to return sold (not minted during finalisation) tokens in each tier to USDTSTO.
* Removed individual mappings for tier data removed in UDSTSTO.
* Removed the old Proxy deployment method of USDTieredSTO and adopt the new inherited proxy deployment approach.
* Bump the version to `2.1.0`
* Added `getAccreditedData` to return accredited & non-accredited investor data.
* Event `TokenPurchase` has uint256 tier instead of uint8 tier.
* Event `SetAddresses` has non-indexed array of address of `_usdTokens` rather than single indexed address.
* Added `getUsdTokens()` function that returns array of accepted stable coin (usd token) addresses.
* 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.

## GeneralTransferManager
* `getInvestors`, `getAllInvestorsData`, `getInvestorsData` added to GTM to allow easy data queries.
* `changeDefaults(uint64 _defaultFromTime, uint64 _defaultToTime)` added which sets a default timestamp used when `fromTime` or `toTime` are 0.
* Add `address[] public investors` to record a list of all addresses that have been added to the whitelist (`getInvestors`).
* Fix for when `allowAllWhitelistIssuances` is FALSE
* Make GTM a Proxy based implementation to reduce deployment gas costs
* Changed the version of `GeneralTransferManagerFactory` from `1.0.0` to `2.1.0`.
* `_investor` and `_addedBy` is now indexed in the `ModifyWhitelist` event.
* Add public variable `defaults` to get the offset timing.

## Manual Approval TransferManager
* 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.
* Changed the version of `ManualApprovalTransferManagerFactory` from `1.0.0` to `2.0.1`.
* 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.
* Changed the version of `ManualApprovalTransferManagerFactory` from `1.0.0` to `2.1.0`.
* Deployed 2.0.1 `ManualApprovalTransferManagerFactory` to address 0x6af2afad53cb334e62b90ddbdcf3a086f654c298
* Add `getActiveApprovalsToUser()` function to access all the active approvals for a user whether user is in the `from` or in `to`.
* Add `getApprovalDetails()` to get the details of the approval corresponds to `_from` and `_to` address.
* Add feature to modify the details of the active approval using `modifyApproval()` & `modifyApprovalMulti()`.
* Add `addManualApprovalMulti()` and `revokeManualApprovalMulti()` batch function for adding and revoking the manual approval respectively.
* Add `_description` parameter during the `addManualApproval()` function call. It will be a `bytes32` variable which depicts the cause of manual approval.
* Remove `addManualBlocking()` , `revokeManualBlocking()` functions.
* Add `getTotalApprovalsLength()` to get the number of active approvals.
* Add `getAllApprovals()` to get the details of all approvals.

## Dividends
* Changed the version of `ERC20DividendCheckpointFactory` & `EtherDividendCheckpointFactory` from `1.0.0` to `2.1.0`.
* Applied proxy pattern to Dividends modules.
* During the launch of dividend module issuer need to pass the reclaimed wallet that receive the left over funds from the module.
i.e pass `_wallet` in `configure()` function of dividend module. It emits `SetWallet` event for the confirmation of the same.
* Add `changeWallet()` function to change the reclaimed wallet address (only be called by the owner).
* Add `getDividendsData()` getter to receive the details about all the dividend.
* Add `getDividendData()` getter to receive the details about the particular dividend by passing a corresponding dividend index.
* Add `getDividendProgress()` getter to retrieves the list of investors and their details corresponds to particular dividend.
* Add `getCheckpointData()` use to retrieves list of investors, their balances, and their current withholding tax percentage corresponds to checkpointId.
* `isExcluded()` a view function added to check whether an address is excluded from claming a dividend or not.
* `isClaimed()` a view function added to checks whether an address has claimed a dividend or not.
* DividendIndex is indexed in the events `ERC20DividendClaimed`, `ERC20DividendReclaimed`, `ERC20DividendWithholdingWithdrawn`. Similarly for the Ether dividend module `EtherDividendClaimed`, `EtherDividendReclaimed`, `EtherDividendClaimFailed`, `EtherDividendWithholdingWithdrawn`.
* `EXCLUDED_ADDRESS_LIMIT` changed from 50 to 150.

## Experimental modules
* Remove the `SingleTradeVolumeRestrictionTMFactory.sol` and its corresponding module `SingleTradeVolumeRestrictionTM.sol`.
* Add the new TM called `BlacklistTransferManager.sol` and its corresponding factory `BlacklistTransferManagerFactory.sol`.
* Chnage the name of module from `LockupVolumeRestrictionTM.sol` to `LockUpTransferManager.sol`, similarly factory become `LockUpTransferManagerFactory.sol`.
* Add new module called `VestingEscrowWallet.sol` and its corresponding factory `VestingEscrowWalletFactory.sol`.

## STR & MR
* `getArrayAddress(), getArrayBytes32(), getArrayUint()` are now public getters.
* `getUintValues(), getBoolValues(), getStringValues(), getAddressValues(), getBytes32Values(), getBytesValues()` rename to `getUintValue(), getBoolValue(), getStringValue(), getAddressValue(), getBytes32Value(), getBytesValue()`. #488

## Added
* Add new module called `VolumeRestrictionTM.sol` under the TransferManager modules list. It will be used to restrict the token
volume traded in a given rolling period.

## Changed
* `getAllModulesAndPermsFromTypes()` does not take securityToken address as a parameter anymore.


# v1.5.0 - Release Candidate

Expand Down Expand Up @@ -43,7 +116,6 @@ All notable changes to this project will be documented in this file.
* Add new function `modifyTickerDetails()`, To modify the details of undeployed ticker. #230

## Fixed
* `getAllModulesAndPermsFromTypes()` does not take securityToken address as a parameter anymore.
* 0x0 and duplicate address in exclusions are no longer allowed in dividend modules.
* All permissions are denied if no permission manager is active.
* Generalize the STO varaible names and added them in `ISTO.sol` to use the common standard in all STOs.
Expand All @@ -54,11 +126,11 @@ All notable changes to this project will be documented in this file.
* Removed investors list pruning
* Remove `swarmHash` from the `registerTicker(), addCustomTicker(), generateSecurityToken(), addCustomSecurityToken()` functions of TickerRegistry.sol and SecurityTokenRegistry.sol. #230
* Remove `Log` prefix from all the event present in the ecosystem.
* Removed `addTagByModuleType` & `removeTagsByModuleType` from MR.
* Removed `addTagByModuleType` & `removeTagsByModuleType` from MR.

======

# v1.4.1 - Release Candidate
# v1.4.1

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

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

# v1.4.0 - Release candidate
# v1.4.0

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

Expand Down
Loading