-
Notifications
You must be signed in to change notification settings - Fork 151
Expand file tree
/
Copy path2_deploy_contracts.js
More file actions
356 lines (345 loc) · 24.2 KB
/
2_deploy_contracts.js
File metadata and controls
356 lines (345 loc) · 24.2 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
const PolymathRegistry = artifacts.require('./PolymathRegistry.sol')
const GeneralTransferManagerFactory = artifacts.require('./GeneralTransferManagerFactory.sol')
const GeneralTransferManagerLogic = artifacts.require('./GeneralTransferManager.sol')
const GeneralPermissionManagerFactory = artifacts.require('./GeneralPermissionManagerFactory.sol')
const PercentageTransferManagerFactory = artifacts.require('./PercentageTransferManagerFactory.sol')
const USDTieredSTOProxyFactory = artifacts.require('./USDTieredSTOProxyFactory.sol');
const CountTransferManagerFactory = artifacts.require('./CountTransferManagerFactory.sol')
const EtherDividendCheckpointLogic = artifacts.require('./EtherDividendCheckpoint.sol')
const ERC20DividendCheckpointLogic = artifacts.require('./ERC20DividendCheckpoint.sol')
const EtherDividendCheckpointFactory = artifacts.require('./EtherDividendCheckpointFactory.sol')
const ERC20DividendCheckpointFactory = artifacts.require('./ERC20DividendCheckpointFactory.sol')
const LockUpTransferManagerFactory = artifacts.require('./LockUpTransferManagerFactory.sol')
const ModuleRegistry = artifacts.require('./ModuleRegistry.sol');
const ModuleRegistryProxy = artifacts.require('./ModuleRegistryProxy.sol');
const ManualApprovalTransferManagerFactory = artifacts.require('./ManualApprovalTransferManagerFactory.sol')
const CappedSTOFactory = artifacts.require('./CappedSTOFactory.sol')
const USDTieredSTOFactory = artifacts.require('./USDTieredSTOFactory.sol')
const SecurityTokenRegistry = artifacts.require('./SecurityTokenRegistry.sol')
const SecurityTokenRegistryProxy = artifacts.require('./SecurityTokenRegistryProxy.sol')
const FeatureRegistry = artifacts.require('./FeatureRegistry.sol')
const STFactory = artifacts.require('./tokens/STFactory.sol')
const DevPolyToken = artifacts.require('./helpers/PolyTokenFaucet.sol')
const MockOracle = artifacts.require('./MockOracle.sol')
const TokenLib = artifacts.require('./TokenLib.sol');
let BigNumber = require('bignumber.js');
const cappedSTOSetupCost = new BigNumber(20000).times(new BigNumber(10).pow(18)); // 20K POLY fee
const usdTieredSTOSetupCost = new BigNumber(100000).times(new BigNumber(10).pow(18)); // 100K POLY fee
const initRegFee = new BigNumber(250).times(new BigNumber(10).pow(18)); // 250 POLY fee for registering ticker or security token in registry
let PolyToken;
let UsdToken;
let ETHOracle;
let POLYOracle;
const Web3 = require('web3')
module.exports = function (deployer, network, accounts) {
// Ethereum account address hold by the Polymath (Act as the main account which have ownable permissions)
let PolymathAccount;
let moduleRegistry;
let polymathRegistry;
let web3
if (network === 'development') {
web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'))
PolymathAccount = accounts[0]
PolyToken = DevPolyToken.address // Development network polytoken address
deployer.deploy(DevPolyToken, {from: PolymathAccount}).then(() => {
DevPolyToken.deployed().then((mockedUSDToken) => {
UsdToken = mockedUSDToken.address;
});
});
deployer.deploy(MockOracle, PolyToken, "POLY", "USD", new BigNumber(0.5).times(new BigNumber(10).pow(18)), {from: PolymathAccount}).then(() => {
MockOracle.deployed().then((mockedOracle) => {
POLYOracle = mockedOracle.address;
});
});
deployer.deploy(MockOracle, 0, "ETH", "USD", new BigNumber(500).times(new BigNumber(10).pow(18)), {from: PolymathAccount}).then(() => {
MockOracle.deployed().then((mockedOracle) => {
ETHOracle = mockedOracle.address;
});
});
} else if (network === 'kovan') {
web3 = new Web3(new Web3.providers.HttpProvider('https://kovan.infura.io/g5xfoQ0jFSE9S5LwM1Ei'))
PolymathAccount = accounts[0]
PolyToken = '0xb347b9f5b56b431b2cf4e1d90a5995f7519ca792' // PolyToken Kovan Faucet Address
POLYOracle = '0x461d98EF2A0c7Ac1416EF065840fF5d4C946206C' // Poly Oracle Kovan Address
ETHOracle = '0xCE5551FC9d43E9D2CC255139169FC889352405C8' // ETH Oracle Kovan Address
} else if (network === 'mainnet') {
web3 = new Web3(new Web3.providers.HttpProvider('https://mainnet.infura.io/g5xfoQ0jFSE9S5LwM1Ei'))
PolymathAccount = accounts[0]
PolyToken = '0x9992eC3cF6A55b00978cdDF2b27BC6882d88D1eC' // Mainnet PolyToken Address
POLYOracle = '0x52cb4616E191Ff664B0bff247469ce7b74579D1B' // Poly Oracle Mainnet Address
ETHOracle = '0x60055e9a93aae267da5a052e95846fa9469c0e7a' // ETH Oracle Mainnet Address
} if (network === 'coverage') {
web3 = new Web3(new Web3.providers.HttpProvider('http://localhost:8545'))
PolymathAccount = accounts[0]
PolyToken = DevPolyToken.address // Development network polytoken address
deployer.deploy(MockOracle, PolyToken, "POLY", "USD", new BigNumber(0.5).times(new BigNumber(10).pow(18)), {from: PolymathAccount}).then(() => {
MockOracle.deployed().then((mockedOracle) => {
POLYOracle = mockedOracle.address;
});
});
deployer.deploy(MockOracle, 0, "ETH", "USD", new BigNumber(500).times(new BigNumber(10).pow(18)), {from: PolymathAccount}).then(() => {
MockOracle.deployed().then((mockedOracle) => {
ETHOracle = mockedOracle.address;
});
});
}
const functionSignatureProxy = {
name: 'initialize',
type: 'function',
inputs: [{
type:'address',
name: '_polymathRegistry'
},{
type: 'address',
name: '_STFactory'
},{
type: 'uint256',
name: '_stLaunchFee'
},{
type: 'uint256',
name: '_tickerRegFee'
},{
type: 'address',
name: '_polyToken'
},{
type: 'address',
name: '_owner'
}]
};
const functionSignatureProxyMR = {
name: 'initialize',
type: 'function',
inputs: [{
type:'address',
name: '_polymathRegistry'
},{
type: 'address',
name: '_owner'
}]
};
// POLYMATH NETWORK Configuration :: DO THIS ONLY ONCE
// A) Deploy the PolymathRegistry contract
return deployer.deploy(PolymathRegistry, {from: PolymathAccount}).then(() => {
return PolymathRegistry.deployed();
}).then((_polymathRegistry) => {
polymathRegistry = _polymathRegistry;
return polymathRegistry.changeAddress("PolyToken", PolyToken, {from: PolymathAccount});
}).then(() => {
// Deploy libraries
return deployer.deploy(TokenLib, {from: PolymathAccount});
}).then(() => {
// Link libraries
return deployer.link(TokenLib, STFactory);
}).then(() => {
// A) Deploy the ModuleRegistry Contract (It contains the list of verified ModuleFactory)
return deployer.deploy(ModuleRegistry, {from: PolymathAccount});
}).then(() => {
return deployer.deploy(ModuleRegistryProxy, {from: PolymathAccount});
}).then(() => {
let bytesProxyMR = web3.eth.abi.encodeFunctionCall(functionSignatureProxyMR, [polymathRegistry.address, PolymathAccount]);
return ModuleRegistryProxy.at(ModuleRegistryProxy.address).upgradeToAndCall("1.0.0", ModuleRegistry.address, bytesProxyMR, {from: PolymathAccount});
}).then(() => {
moduleRegistry = ModuleRegistry.at(ModuleRegistryProxy.address);
// Add module registry to polymath registry
return polymathRegistry.changeAddress("ModuleRegistry", ModuleRegistryProxy.address, {from: PolymathAccount});
}).then(() => {
// B) Deploy the GeneralTransferManagerLogic Contract (Factory used to generate the GeneralTransferManager contract and this
// manager attach with the securityToken contract at the time of deployment)
return deployer.deploy(GeneralTransferManagerLogic, "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", {from: PolymathAccount});
}).then(() => {
// B) Deploy the GeneralTransferManagerLogic Contract (Factory used to generate the GeneralTransferManager contract and this
// manager attach with the securityToken contract at the time of deployment)
return deployer.deploy(ERC20DividendCheckpointLogic, "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", {from: PolymathAccount});
}).then(() => {
// B) Deploy the GeneralTransferManagerLogic Contract (Factory used to generate the GeneralTransferManager contract and this
// manager attach with the securityToken contract at the time of deployment)
return deployer.deploy(EtherDividendCheckpointLogic, "0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", {from: PolymathAccount});
}).then(() => {
// B) Deploy the GeneralTransferManagerFactory Contract (Factory used to generate the GeneralTransferManager contract and this
// manager attach with the securityToken contract at the time of deployment)
return deployer.deploy(GeneralTransferManagerFactory, PolyToken, 0, 0, 0, GeneralTransferManagerLogic.address, {from: PolymathAccount});
}).then(() => {
// C) Deploy the LockUpTransferManagerFactory Contract (Factory used to generate the LockUpTransferManager contract and
// this manager attach with the securityToken contract at the time of deployment)
return deployer.deploy(LockUpTransferManagerFactory, PolyToken, 0, 0, 0, {from: PolymathAccount});
}).then(() => {
// C) Deploy the GeneralPermissionManagerFactory Contract (Factory used to generate the GeneralPermissionManager contract and
// this manager attach with the securityToken contract at the time of deployment)
return deployer.deploy(GeneralPermissionManagerFactory, PolyToken, 0, 0, 0, {from: PolymathAccount});
}).then(() => {
// D) Deploy the CountTransferManagerFactory Contract (Factory used to generate the CountTransferManager contract use
// to track the counts of the investors of the security token)
return deployer.deploy(CountTransferManagerFactory, PolyToken, 0, 0, 0, {from: PolymathAccount});
}).then(() => {
// D) Deploy the PercentageTransferManagerFactory Contract (Factory used to generate the PercentageTransferManager contract use
// to track the percentage of investment the investors could do for a particular security token)
return deployer.deploy(PercentageTransferManagerFactory, PolyToken, 0, 0, 0, {from: PolymathAccount});
}).then(() => {
// D) Deploy the EtherDividendCheckpointFactory Contract (Factory used to generate the EtherDividendCheckpoint contract use
// to provide the functionality of the dividend in terms of ETH)
return deployer.deploy(EtherDividendCheckpointFactory, PolyToken, 0, 0, 0, EtherDividendCheckpointLogic.address, {from: PolymathAccount});
}).then(() => {
// D) Deploy the ERC20DividendCheckpointFactory Contract (Factory used to generate the ERC20DividendCheckpoint contract use
// to provide the functionality of the dividend in terms of ERC20 token)
return deployer.deploy(ERC20DividendCheckpointFactory, PolyToken, 0, 0, 0, ERC20DividendCheckpointLogic.address, {from: PolymathAccount});
}).then(() => {
// D) Deploy the ManualApprovalTransferManagerFactory Contract (Factory used to generate the ManualApprovalTransferManager contract use
// to manual approve the transfer that will overcome the other transfer restrictions)
return deployer.deploy(ManualApprovalTransferManagerFactory, PolyToken, 0, 0, 0, {from: PolymathAccount});
}).then(() => {
// H) Deploy the STVersionProxy001 Contract which contains the logic of deployment of securityToken.
return deployer.deploy(STFactory, GeneralTransferManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// K) Deploy the FeatureRegistry contract to control feature switches
return deployer.deploy(FeatureRegistry, PolymathRegistry.address, {from: PolymathAccount});
}).then(() => {
// Assign the address into the FeatureRegistry key
return polymathRegistry.changeAddress("FeatureRegistry", FeatureRegistry.address, {from: PolymathAccount});
}).then(() => {
// J) Deploy the SecurityTokenRegistry contract (Used to hold the deployed secuirtyToken details. It also act as the interface to deploy the SecurityToken)
return deployer.deploy(SecurityTokenRegistry, {from: PolymathAccount})
}).then(()=> {
return deployer.deploy(SecurityTokenRegistryProxy, {from: PolymathAccount});
}).then(() => {
let bytesProxy = web3.eth.abi.encodeFunctionCall(functionSignatureProxy, [PolymathRegistry.address, STFactory.address, initRegFee, initRegFee, PolyToken, PolymathAccount]);
return SecurityTokenRegistryProxy.at(SecurityTokenRegistryProxy.address).upgradeToAndCall("1.0.0", SecurityTokenRegistry.address, bytesProxy, {from: PolymathAccount});
}).then(() => {
// Assign the address into the SecurityTokenRegistry key
return polymathRegistry.changeAddress("SecurityTokenRegistry", SecurityTokenRegistryProxy.address, {from: PolymathAccount});
}).then(() => {
// Update all addresses into the registry contract by calling the function updateFromregistry
return moduleRegistry.updateFromRegistry({from: PolymathAccount});
}).then(() => {
// D) Register the LockUpTransferManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the LockUpTransferManager contract.
return moduleRegistry.registerModule(LockUpTransferManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// D) Register the PercentageTransferManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the PercentageTransferManager contract.
return moduleRegistry.registerModule(PercentageTransferManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// D) Register the CountTransferManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the CountTransferManager contract.
return moduleRegistry.registerModule(CountTransferManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// D) Register the GeneralTransferManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the GeneralTransferManager contract.
return moduleRegistry.registerModule(GeneralTransferManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// E) Register the GeneralPermissionManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the GeneralPermissionManager contract.
return moduleRegistry.registerModule(GeneralPermissionManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// E) Register the GeneralPermissionManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the GeneralPermissionManager contract.
return moduleRegistry.registerModule(EtherDividendCheckpointFactory.address, {from: PolymathAccount});
}).then(() => {
// D) Register the ManualApprovalTransferManagerFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the ManualApprovalTransferManager contract.
return moduleRegistry.registerModule(ManualApprovalTransferManagerFactory.address, {from: PolymathAccount});
}).then(() => {
// E) Register the ERC20DividendCheckpointFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the ERC20DividendCheckpoint contract.
return moduleRegistry.registerModule(ERC20DividendCheckpointFactory.address, {from: PolymathAccount});
}).then(() => {
// F) Once the GeneralTransferManagerFactory 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(GeneralTransferManagerFactory.address, true, {from: PolymathAccount});
}).then(() => {
// G) Once the CountTransferManagerFactory 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(CountTransferManagerFactory.address, true, {from: PolymathAccount});
}).then(() => {
// F) Once the LockUpTransferManagerFactory 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(LockUpTransferManagerFactory.address, true, {from: PolymathAccount});
}).then(() => {
// G) Once the PercentageTransferManagerFactory 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(PercentageTransferManagerFactory.address, true, {from: PolymathAccount});
}).then(() => {
// G) Once the GeneralPermissionManagerFactory 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(GeneralPermissionManagerFactory.address, true, {from: PolymathAccount})
}).then(() => {
// G) Once the EtherDividendCheckpointFactory 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(EtherDividendCheckpointFactory.address, true, {from: PolymathAccount});
}).then(() => {
// G) Once the ERC20DividendCheckpointFactory 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(ERC20DividendCheckpointFactory.address, true, {from: PolymathAccount});
}).then(() => {
// G) Once the ManualApprovalTransferManagerFactory 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(ManualApprovalTransferManagerFactory.address, true, {from: PolymathAccount});
}).then(() => {
// M) Deploy the CappedSTOFactory (Use to generate the CappedSTO contract which will used to collect the funds ).
return deployer.deploy(CappedSTOFactory, PolyToken, cappedSTOSetupCost, 0, 0, {from: PolymathAccount})
}).then(() => {
// 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(() => {
// Deploy the proxy factory
return deployer.deploy(USDTieredSTOProxyFactory, {from: PolymathAccount});
}).then(() => {
// H) Deploy the USDTieredSTOFactory (Use to generate the USDTieredSTOFactory contract which will used to collect the funds ).
return deployer.deploy(USDTieredSTOFactory, PolyToken, usdTieredSTOSetupCost, 0, 0, USDTieredSTOProxyFactory.address, {from: PolymathAccount})
}).then(() => {
// I) Register the USDTieredSTOFactory in the ModuleRegistry to make the factory available at the protocol level.
// So any securityToken can use that factory to generate the USDTieredSTOFactory contract.
return moduleRegistry.registerModule(USDTieredSTOFactory.address, {from: PolymathAccount})
}).then(()=>{
// J) Once the USDTieredSTOFactory 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(USDTieredSTOFactory.address, true, {from: PolymathAccount})
}).then(() => {
return polymathRegistry.changeAddress("PolyUsdOracle", POLYOracle, {from: PolymathAccount});
}).then(() => {
return polymathRegistry.changeAddress("EthUsdOracle", ETHOracle, {from: PolymathAccount});
}).then(() => {
console.log('\n');
console.log(`
----------------------- Polymath Network Smart Contracts: -----------------------
PolymathRegistry: ${PolymathRegistry.address}
SecurityTokenRegistry (Proxy): ${SecurityTokenRegistryProxy.address}
ModuleRegistry (Proxy): ${ModuleRegistryProxy.address}
FeatureRegistry: ${FeatureRegistry.address}
ETHOracle: ${ETHOracle}
POLYOracle: ${POLYOracle}
STFactory: ${STFactory.address}
GeneralTransferManagerLogic: ${GeneralTransferManagerLogic.address}
GeneralTransferManagerFactory: ${GeneralTransferManagerFactory.address}
GeneralPermissionManagerFactory: ${GeneralPermissionManagerFactory.address}
CappedSTOFactory: ${CappedSTOFactory.address}
USDTieredSTOFactory: ${USDTieredSTOFactory.address}
USDTieredSTOProxyFactory: ${USDTieredSTOProxyFactory.address}
CountTransferManagerFactory: ${CountTransferManagerFactory.address}
PercentageTransferManagerFactory: ${PercentageTransferManagerFactory.address}
ManualApprovalTransferManagerFactory: ${ManualApprovalTransferManagerFactory.address}
EtherDividendCheckpointLogic: ${EtherDividendCheckpointLogic.address}
ERC20DividendCheckpointLogic: ${ERC20DividendCheckpointLogic.address}
EtherDividendCheckpointFactory: ${EtherDividendCheckpointFactory.address}
ERC20DividendCheckpointFactory: ${ERC20DividendCheckpointFactory.address}
LockUpTransferManagerFactory: ${LockUpTransferManagerFactory.address}
---------------------------------------------------------------------------------
`);
console.log('\n');
// -------- END OF POLYMATH NETWORK Configuration -------//
});
}