status-im/status-go

View on GitHub
services/wallet/thirdparty/paraswap/request_price_route.go

Summary

Maintainability
A
50 mins
Test Coverage
F
36%

Method ClientV5.FetchPriceRoute has 9 arguments (exceeds 6 allowed). Consider refactoring.
Open

func (c *ClientV5) FetchPriceRoute(ctx context.Context, srcTokenAddress common.Address, srcTokenDecimals uint,
    destTokenAddress common.Address, destTokenDecimals uint, amountWei *big.Int, addressFrom common.Address,
    addressTo common.Address, side SwapSide) (Route, error) {
Severity: Major
Found in services/wallet/thirdparty/paraswap/request_price_route.go - About 50 mins to fix

    There are no issues that match your filters.

    Category
    Status