(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false)
| 404 | } |
| 405 | |
| 406 | export async function deployLockUpTMAndVerified(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false) { |
| 407 | I_LockUpTransferManagerLogic = await LockUpTransferManager.new("0x0000000000000000000000000000000000000000", "0x0000000000000000000000000000000000000000", { from: accountPolymath }); |
| 408 | I_LockUpTransferManagerFactory = await LockUpTransferManagerFactory.new(setupCost, new BN(0), I_LockUpTransferManagerLogic.address, I_PolymathRegistry.address, feeInPoly, { |
| 409 | from: accountPolymath |
| 410 | }); |
| 411 | assert.notEqual( |
| 412 | I_LockUpTransferManagerFactory.address.valueOf(), |
| 413 | "0x0000000000000000000000000000000000000000", |
| 414 | "LockUpTransferManagerFactory contract was not deployed" |
| 415 | ); |
| 416 | |
| 417 | await registerAndVerifyByMR(I_LockUpTransferManagerFactory.address, accountPolymath, MRProxyInstance); |
| 418 | return Promise.all(new Array(I_LockUpTransferManagerFactory)); |
| 419 | } |
| 420 | |
| 421 | export async function deployScheduleCheckpointAndVerified(accountPolymath, MRProxyInstance, setupCost, feeInPoly = false) { |
| 422 | I_ScheduledCheckpointFactory = await ScheduledCheckpointFactory.new(setupCost, new BN(0), I_PolymathRegistry.address, feeInPoly, { from: accountPolymath }); |
no test coverage detected