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

Function deployGTM

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

Source from the content-addressed store, hash-verified

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, {
237 from: account_polymath
238 });
239
240 assert.notEqual(
241 I_GeneralTransferManagerFactory.address.valueOf(),
242 "0x0000000000000000000000000000000000000000",
243 "GeneralTransferManagerFactory contract was not deployed"
244 );
245
246 return new Array(I_GeneralTransferManagerFactory);
247}
248
249async function deploySTFactory(account_polymath) {
250 I_STGetter = await STGetter.new({from: account_polymath});

Callers 1

setUpPolymathNetworkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected