Skip to content
Merged
Show file tree
Hide file tree
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
3 changes: 2 additions & 1 deletion CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,8 @@ All notable changes to this project will be documented in this file.
## Changed

* Fixed `capReached()` which was checking fundsRaised agains cap, but the cap is expressed in tokens.
* Constant key variables migrated from the securityToken to ISecurityToken contract.
* Constant key variables migrated from the securityToken to ISecurityToken contract.
* Solidity compiler version get changed to 0.4.23 that leads to the addition of reason string in the `require` and `revert` statements.

## Added

Expand Down
5 changes: 5 additions & 0 deletions migrations/2_deploy_contracts.js
Original file line number Diff line number Diff line change
Expand Up @@ -79,6 +79,11 @@ module.exports = function (deployer, network, accounts) {
// N) Register the CappedSTOFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the CappedSTOFactory contract.
return moduleRegistry.registerModule(CappedSTOFactory.address, {from: PolymathAccount})
}).then(()=>{
// G) Once the CappedSTOFactory registered with the ModuleRegistry contract then for making them accessble to the securityToken
// contract, Factory should comes under the verified list of factories or those factories deployed by the securityToken issuers only.
// Here it gets verified because it is deployed by the third party account (Polymath Account) not with the issuer accounts.
return moduleRegistry.verifyModule(CappedSTOFactory.address, true, {from: PolymathAccount})
}).then(() => {
console.log('\n')
console.log('----- Polymath Core Contracts -----')
Expand Down