status-im/status-go

View on GitHub
contracts/celer/bridge.go

Summary

Maintainability
F
1 wk
Test Coverage
F
0%

File bridge.go has 3005 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 celer

Severity: Major
Found in contracts/celer/bridge.go - About 6 days to fix

    CelerFilterer has 66 methods (exceeds 21 allowed). Consider refactoring.
    Open

    type CelerFilterer struct {
        contract *bind.BoundContract // Generic contract wrapper for the low level calls
    }
    Severity: Major
    Found in contracts/celer/bridge.go - About 1 day to fix

      CelerSession has 57 methods (exceeds 21 allowed). Consider refactoring.
      Open

      type CelerSession struct {
          Contract     *Celer            // 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: Major
      Found in contracts/celer/bridge.go - About 1 day to fix

        CelerTransactorSession has 31 methods (exceeds 21 allowed). Consider refactoring.
        Open

        type CelerTransactorSession struct {
            Contract     *CelerTransactor  // Generic contract transactor binding to set the session for
            TransactOpts bind.TransactOpts // Transaction auth options to use throughout this session
        }
        Severity: Minor
        Found in contracts/celer/bridge.go - About 3 hrs to fix

          CelerTransactor has 31 methods (exceeds 21 allowed). Consider refactoring.
          Open

          type CelerTransactor struct {
              contract *bind.BoundContract // Generic contract wrapper for the low level calls
          }
          Severity: Minor
          Found in contracts/celer/bridge.go - About 3 hrs to fix

            CelerCallerSession has 26 methods (exceeds 21 allowed). Consider refactoring.
            Open

            type CelerCallerSession struct {
                Contract *CelerCaller  // Generic contract caller binding to set the session for
                CallOpts bind.CallOpts // Call options to use throughout this session
            }
            Severity: Minor
            Found in contracts/celer/bridge.go - About 2 hrs to fix

              CelerCaller has 26 methods (exceeds 21 allowed). Consider refactoring.
              Open

              type CelerCaller struct {
                  contract *bind.BoundContract // Generic contract wrapper for the low level calls
              }
              Severity: Minor
              Found in contracts/celer/bridge.go - About 2 hrs to fix

                Method CelerTransactor.Send has 7 arguments (exceeds 6 allowed). Consider refactoring.
                Open

                func (_Celer *CelerTransactor) Send(opts *bind.TransactOpts, _receiver common.Address, _token common.Address, _amount *big.Int, _dstChainId uint64, _nonce uint64, _maxSlippage uint32) (*types.Transaction, error) {
                Severity: Major
                Found in contracts/celer/bridge.go - About 35 mins to fix

                  Method CelerTransactor.UpdateSigners has 7 arguments (exceeds 6 allowed). Consider refactoring.
                  Open

                  func (_Celer *CelerTransactor) UpdateSigners(opts *bind.TransactOpts, _triggerTime *big.Int, _newSigners []common.Address, _newPowers []*big.Int, _sigs [][]byte, _curSigners []common.Address, _curPowers []*big.Int) (*types.Transaction, error) {
                  Severity: Major
                  Found in contracts/celer/bridge.go - About 35 mins to fix

                    There are no issues that match your filters.

                    Category
                    Status