status-im/status-go

View on GitHub
contracts/uniswapV2/uniswapv2pair.go

Summary

Maintainability
D
1 day
Test Coverage
F
0%

File uniswapv2pair.go has 1155 lines of code (exceeds 900 allowed). Consider refactoring.
Open

// Code generated - DO NOT EDIT.
// This file is a generated binding and any manual changes will be lost.

package uniswapv2

Severity: Major
Found in contracts/uniswapV2/uniswapv2pair.go - About 1 day to fix

    Uniswapv2Session has 27 methods (exceeds 21 allowed). Consider refactoring.
    Open

    type Uniswapv2Session struct {
        Contract     *Uniswapv2        // Generic contract binding to set the session for
        CallOpts     bind.CallOpts     // Call options to use throughout this session
        TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
    }
    Severity: Minor
    Found in contracts/uniswapV2/uniswapv2pair.go - About 3 hrs to fix

      Method Uniswapv2Transactor.Permit has 8 arguments (exceeds 6 allowed). Consider refactoring.
      Open

      func (_Uniswapv2 *Uniswapv2Transactor) Permit(opts *bind.TransactOpts, owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
      Severity: Major
      Found in contracts/uniswapV2/uniswapv2pair.go - About 45 mins to fix

        Method Uniswapv2Session.Permit has 7 arguments (exceeds 6 allowed). Consider refactoring.
        Open

        func (_Uniswapv2 *Uniswapv2Session) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
        Severity: Major
        Found in contracts/uniswapV2/uniswapv2pair.go - About 35 mins to fix

          Method Uniswapv2TransactorSession.Permit has 7 arguments (exceeds 6 allowed). Consider refactoring.
          Open

          func (_Uniswapv2 *Uniswapv2TransactorSession) Permit(owner common.Address, spender common.Address, value *big.Int, deadline *big.Int, v uint8, r [32]byte, s [32]byte) (*types.Transaction, error) {
          Severity: Major
          Found in contracts/uniswapV2/uniswapv2pair.go - About 35 mins to fix

            There are no issues that match your filters.

            Category
            Status