synapsecns/sanguine

View on GitHub
packages/sdk-router/src/operations/swap.ts

Summary

Maintainability
A
1 hr
Test Coverage

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

  this: SynapseSDK,
  chainId: number,
  to: string,
  token: string,
  amount: BigintIsh,
Severity: Minor
Found in packages/sdk-router/src/operations/swap.ts - About 45 mins to fix

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

      this: SynapseSDK,
      chainId: number,
      tokenIn: string,
      tokenOut: string,
      amountIn: BigintIsh,
    Severity: Minor
    Found in packages/sdk-router/src/operations/swap.ts - About 45 mins to fix

      There are no issues that match your filters.

      Category
      Status