(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false)
| 335 | } |
| 336 | |
| 337 | export async function deployVRTMAndVerifyed(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false) { |
| 338 | I_VolumeRestrictionTMLogic = await VolumeRestrictionTM.new("0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", { from: accountPolymath }); |
| 339 | |
| 340 | I_VolumeRestrictionTMFactory = await VolumeRestrictionTMFactory.new(setupCost, new BN(0), I_VolumeRestrictionTMLogic.address, I_PolymathRegistry.address, feeInPoly, { from: accountPolymath }); |
| 341 | |
| 342 | assert.notEqual( |
| 343 | I_VolumeRestrictionTMFactory.address.valueOf(), |
| 344 | "0x0000000000000000000000000000000000000000", |
| 345 | "VolumeRestrictionTMFactory contract was not deployed" |
| 346 | ); |
| 347 | |
| 348 | // (B) : Register the GeneralDelegateManagerFactory |
| 349 | await registerAndVerifyByMR(I_VolumeRestrictionTMFactory.address, accountPolymath, MRProxyInstance); |
| 350 | return new Array(I_VolumeRestrictionTMFactory); |
| 351 | } |
| 352 | |
| 353 | export async function deployCountTMAndVerifyed(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false) { |
| 354 | I_CountTransferManagerLogic = await CountTransferManager.new("0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", { from: accountPolymath }); |
no test coverage detected