OasisDEX/oasis-react

View on GitHub
src/bootstrap/contracts.js

Summary

Maintainability
A
1 hr
Test Coverage
C
71%

Function init has 65 lines of code (exceeds 50 allowed). Consider refactoring.
Open

const init = networkName => {
  const tokencontractsDeploymentAdressessList = config["tokens"][networkName];
  const marketDeploymentAddress = config["market"][networkName]["address"];

  const WETH = loadContact(
Severity: Major
Found in src/bootstrap/contracts.js - About 1 hr to fix

There are no issues that match your filters.

Category
Status