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

Function setInPolymathRegistry

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

Source from the content-addressed store, hash-verified

299}
300
301async function setInPolymathRegistry(account_polymath) {
302 await I_PolymathRegistry.changeAddress("PolyToken", I_PolyToken.address, { from: account_polymath });
303 await I_PolymathRegistry.changeAddress("ModuleRegistry", I_ModuleRegistryProxy.address, { from: account_polymath });
304 await I_PolymathRegistry.changeAddress("FeatureRegistry", I_FeatureRegistry.address, { from: account_polymath });
305 await I_PolymathRegistry.changeAddress("SecurityTokenRegistry", I_SecurityTokenRegistryProxy.address, { from: account_polymath });
306 await I_MRProxied.updateFromRegistry({ from: account_polymath });
307}
308
309async function registerGTM(account_polymath) {
310 await I_MRProxied.registerModule(I_GeneralTransferManagerFactory.address, { from: account_polymath });

Callers 1

setUpPolymathNetworkFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected