(account_polymath)
| 206 | } |
| 207 | |
| 208 | async function deployModuleRegistry(account_polymath) { |
| 209 | I_ModuleRegistry = await ModuleRegistry.new({ from: account_polymath }); |
| 210 | // Step 3 (b): Deploy the proxy and attach the implementation contract to it |
| 211 | I_ModuleRegistryProxy = await ModuleRegistryProxy.new({ from: account_polymath }); |
| 212 | let bytesMRProxy = encodeProxyCall(MRProxyParameters, [I_PolymathRegistry.address, account_polymath]); |
| 213 | await I_ModuleRegistryProxy.upgradeToAndCall("1.0.0", I_ModuleRegistry.address, bytesMRProxy, { from: account_polymath }); |
| 214 | I_MRProxied = await ModuleRegistry.at(I_ModuleRegistryProxy.address); |
| 215 | |
| 216 | return new Array(I_ModuleRegistry, I_ModuleRegistryProxy, I_MRProxied); |
| 217 | } |
| 218 | |
| 219 | async function deployGTMLogic(account_polymath) { |
| 220 | I_GeneralTransferManagerLogic = await GeneralTransferManager.new( |
no test coverage detected