oceanprotocol/ocean.js

View on GitHub
src/utils/TokenUtils.ts

Summary

Maintainability
A
1 hr
Test Coverage
B
89%

Function approve has 9 arguments (exceeds 4 allowed). Consider refactoring.
Open

  signer: Signer,
  config: Config,
  account: string,
  tokenAddress: string,
  spender: string,
Severity: Major
Found in src/utils/TokenUtils.ts - About 1 hr to fix

    Function approveWei has 8 arguments (exceeds 4 allowed). Consider refactoring.
    Wontfix

      signer: Signer,
      config: Config,
      account: string,
      tokenAddress: string,
      spender: string,
    Severity: Major
    Found in src/utils/TokenUtils.ts - About 1 hr to fix

      Function transfer has 6 arguments (exceeds 4 allowed). Consider refactoring.
      Open

        signer: Signer,
        config: Config,
        tokenAddress: string,
        recipient: string,
        amount: string,
      Severity: Minor
      Found in src/utils/TokenUtils.ts - About 45 mins to fix

        Function allowance has 5 arguments (exceeds 4 allowed). Consider refactoring.
        Wontfix

          signer: Signer,
          tokenAddress: string,
          account: string,
          spender: string,
          tokenDecimals?: number
        Severity: Minor
        Found in src/utils/TokenUtils.ts - About 35 mins to fix

          There are no issues that match your filters.

          Category
          Status