(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false)
| 351 | } |
| 352 | |
| 353 | export async function deployCountTMAndVerifyed(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false) { |
| 354 | I_CountTransferManagerLogic = await CountTransferManager.new("0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", { from: accountPolymath }); |
| 355 | I_CountTransferManagerFactory = await CountTransferManagerFactory.new(setupCost, new BN(0), I_CountTransferManagerLogic.address, I_PolymathRegistry.address, feeInPoly, { from: accountPolymath }); |
| 356 | |
| 357 | assert.notEqual( |
| 358 | I_CountTransferManagerFactory.address.valueOf(), |
| 359 | "0x0000000000000000000000000000000000000000", |
| 360 | "CountTransferManagerFactory contract was not deployed" |
| 361 | ); |
| 362 | |
| 363 | await registerAndVerifyByMR(I_CountTransferManagerFactory.address, accountPolymath, MRProxyInstance); |
| 364 | return Promise.all(new Array(I_CountTransferManagerFactory)); |
| 365 | } |
| 366 | |
| 367 | export async function deployManualApprovalTMAndVerifyed(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false) { |
| 368 | I_ManualApprovalTransferManagerLogic = await ManualApprovalTransferManager.new("0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", { from: accountPolymath }); |
no test coverage detected