Showing 515 of 515 total issues
HopL2OptimismBridgeCaller
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL2OptimismBridgeCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
HopL1HopBridgeCaller
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1HopBridgeCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
HopL2OptimismBridgeCallerSession
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL2OptimismBridgeCallerSession struct {
Contract *HopL2OptimismBridgeCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
Uniswapv3Filterer
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type Uniswapv3Filterer struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
Uniswapv2Session
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
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
}
PublicWakuAPI
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type PublicWakuAPI struct {
w *Waku
mu sync.Mutex
lastUsed map[string]time.Time // keeps track when a filter was polled for the last time.
HopL1HopBridgeCallerSession
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1HopBridgeCallerSession struct {
Contract *HopL1HopBridgeCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
PersistenceSuite
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type PersistenceSuite struct {
suite.Suite
db *Persistence
identity *ecdsa.PrivateKey
FiltersManager
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type FiltersManager struct {
service FiltersService
persistence KeysPersistence
privateKey *ecdsa.PrivateKey
keys map[string][]byte // a cache of symmetric manager derived from passwords
Messenger
has 27 methods (exceeds 21 allowed). Consider refactoring. Open
Open
func (m *Messenger) retrieveWalletBalances() error {
if m.walletAPI == nil {
m.logger.Warn("wallet api not enabled")
}
accounts, err := m.settings.GetActiveAccounts()
File defaults.go
has 939 lines of code (exceeds 900 allowed). Consider refactoring. Open
Open
package api
import (
"crypto/rand"
"encoding/json"
Uniswapv3Session
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type Uniswapv3Session struct {
Contract *Uniswapv3 // 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
}
CelerCallerSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
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
}
MasterTokenSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type MasterTokenSession struct {
Contract *MasterToken // 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
}
HopL2ArbitrumBridgeCallerSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL2ArbitrumBridgeCallerSession struct {
Contract *HopL2ArbitrumBridgeCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
CollectiblesSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type CollectiblesSession struct {
Contract *Collectibles // 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
}
SNTSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type SNTSession struct {
Contract *SNT // 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
}
CelerCaller
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type CelerCaller struct {
contract *bind.BoundContract // Generic contract wrapper for the low level calls
}
HopL1Erc20BridgeCallerSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type HopL1Erc20BridgeCallerSession struct {
Contract *HopL1Erc20BridgeCaller // Generic contract caller binding to set the session for
CallOpts bind.CallOpts // Call options to use throughout this session
}
MiniMeTokenSession
has 26 methods (exceeds 21 allowed). Consider refactoring. Open
Open
type MiniMeTokenSession struct {
Contract *MiniMeToken // 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
}