(abi, address)
| 4 | const abis = require('../helpers/contract_abis'); |
| 5 | |
| 6 | function connect(abi, address) { |
| 7 | contractRegistry = new web3.eth.Contract(abi, address); |
| 8 | contractRegistry.setProvider(web3.currentProvider); |
| 9 | return contractRegistry |
| 10 | }; |
| 11 | |
| 12 | async function checkPermission(contractName, functionName, contractRegistry) { |
| 13 | let permission = permissionsList.verifyPermission(contractName, functionName); |
no outgoing calls
no test coverage detected