MCPcopy Create free account
hub / github.com/PolymathNetwork/polymath-core / deployGTMLogic

Function deployGTMLogic

test/helpers/createInstances.js:219–233  ·  view source on GitHub ↗
(account_polymath)

Source from the content-addressed store, hash-verified

217}
218
219async function deployGTMLogic(account_polymath) {
220 I_GeneralTransferManagerLogic = await GeneralTransferManager.new(
221 "0x0000000000000000000000000000000000000000",
222 "0x0000000000000000000000000000000000000000",
223 { from: account_polymath }
224 );
225
226 assert.notEqual(
227 I_GeneralTransferManagerLogic.address.valueOf(),
228 "0x0000000000000000000000000000000000000000",
229 "GeneralTransferManagerLogic contract was not deployed"
230 );
231
232 return new Array(I_GeneralTransferManagerLogic);
233}
234
235async function deployGTM(account_polymath) {
236 I_GeneralTransferManagerFactory = await GeneralTransferManagerFactory.new(new BN(0), new BN(0), I_GeneralTransferManagerLogic.address, I_PolymathRegistry.address, true, {

Callers 1

setUpPolymathNetworkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected