status-im/status-go

View on GitHub
contracts/hop/l2Contracts/l2AmmWrapper/l2AmmWrapper.go

Summary

Maintainability
A
2 hrs
Test Coverage
F
0%

Method HopL2AmmWrapperTransactor.SwapAndSend has 9 arguments (exceeds 6 allowed). Consider refactoring.
Open

func (_HopL2AmmWrapper *HopL2AmmWrapperTransactor) SwapAndSend(opts *bind.TransactOpts, chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, destinationAmountOutMin *big.Int, destinationDeadline *big.Int) (*types.Transaction, error) {
Severity: Major
Found in contracts/hop/l2Contracts/l2AmmWrapper/l2AmmWrapper.go - About 50 mins to fix

    Method HopL2AmmWrapperSession.SwapAndSend has 8 arguments (exceeds 6 allowed). Consider refactoring.
    Open

    func (_HopL2AmmWrapper *HopL2AmmWrapperSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, destinationAmountOutMin *big.Int, destinationDeadline *big.Int) (*types.Transaction, error) {
    Severity: Major
    Found in contracts/hop/l2Contracts/l2AmmWrapper/l2AmmWrapper.go - About 45 mins to fix

      Method HopL2AmmWrapperTransactorSession.SwapAndSend has 8 arguments (exceeds 6 allowed). Consider refactoring.
      Open

      func (_HopL2AmmWrapper *HopL2AmmWrapperTransactorSession) SwapAndSend(chainId *big.Int, recipient common.Address, amount *big.Int, bonderFee *big.Int, amountOutMin *big.Int, deadline *big.Int, destinationAmountOutMin *big.Int, destinationDeadline *big.Int) (*types.Transaction, error) {
      Severity: Major
      Found in contracts/hop/l2Contracts/l2AmmWrapper/l2AmmWrapper.go - About 45 mins to fix

        There are no issues that match your filters.

        Category
        Status