Showing 1,971 of 13,422 total issues
Function generateCCTPSpecifierSQL
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func generateCCTPSpecifierSQL(onlyCctp *bool, to bool, field string, firstFilter *bool, tablePrefix string) string {
Method queryResolver.getDateResultByChainMv
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (r *queryResolver) getDateResultByChainMv(ctx context.Context, chainID *int, typeArg *model.DailyStatisticType, platform *model.Platform, duration *model.Duration) ([]*model.DateResultByChain, error) {
Method queryResolver.CountByTokenAddress
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (r *queryResolver) CountByTokenAddress(ctx context.Context, chainID *int, address *string, direction *model.Direction, hours *int) ([]*model.TokenCountResult, error) {
Method queryResolver.CountByChainID
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (r *queryResolver) CountByChainID(ctx context.Context, chainID *int, address *string, direction *model.Direction, hours *int) ([]*model.TransactionCountResult, error) {
Method Resolver.getAndParseLogs
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (r Resolver) getAndParseLogs(ctx context.Context, logFetcher *indexer.LogFetcher, chainID uint32, kappa string, bridgeType model.BridgeType) (interface{}, error) {
Function generateKappaSpecifierSQLMv
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func generateKappaSpecifierSQLMv(value *string, field string, firstFilter *bool, firstInLocale *bool, tablePrefix string) string {
Method Store.StoreTokenIndex
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (s *Store) StoreTokenIndex(ctx context.Context, chainID uint32, tokenIndex uint8, tokenAddress string, contractAddress string) error {
Function request_ScribeService_Check_0
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func request_ScribeService_Check_0(ctx context.Context, marshaler runtime.Marshaler, client ScribeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
Function createParsers
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func createParsers(ctx context.Context, db db.ConsumerDB, fetcher fetcherpkg.ScribeFetcher, clients map[uint32]etherClient.EVM, config serverConfig.Config) (*types.ServerParsers, *types.ServerRefs, map[string]*swap.SwapFlashLoanFilterer, error) {
Method NodeSuite.fillBlocks
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c NodeSuite) fillBlocks(bridgeRef *testbridge.TestBridgeRef, swapRefA *testswap.TestSwapRef, swapRefB *testswap.TestSwapRef, transactOpts backends.AuthType, chainID uint32) {
Method Client.GetTransactions
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (c *Client) GetTransactions(ctx context.Context, chainID int, page int, txHash *string, httpRequestOptions ...client.HTTPRequestOption) (*GetTransactions, error) {
Function request_ScribeService_Watch_0
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func request_ScribeService_Watch_0(ctx context.Context, marshaler runtime.Marshaler, client ScribeServiceClient, req *http.Request, pathParams map[string]string) (ScribeService_WatchClient, runtime.ServerMetadata, error) {
Function request_ScribeService_StreamLogs_0
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func request_ScribeService_StreamLogs_0(ctx context.Context, marshaler runtime.Marshaler, client ScribeServiceClient, req *http.Request, pathParams map[string]string) (ScribeService_StreamLogsClient, runtime.ServerMetadata, error) {
Function local_request_ScribeService_Check_0
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func local_request_ScribeService_Check_0(ctx context.Context, marshaler runtime.Marshaler, server ScribeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
Function request_ScribeService_FilterLogs_0
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func request_ScribeService_FilterLogs_0(ctx context.Context, marshaler runtime.Marshaler, client ScribeServiceClient, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
Function local_request_ScribeService_FilterLogs_0
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func local_request_ScribeService_FilterLogs_0(ctx context.Context, marshaler runtime.Marshaler, server ScribeServiceServer, req *http.Request, pathParams map[string]string) (proto.Message, runtime.ServerMetadata, error) {
Method EventDB.RetrieveReceiptsFromHeadRangeQuery
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveReceiptsFromHeadRangeQuery(ctx context.Context, receiptFilter db.ReceiptFilter, startBlock uint64, endBlock uint64, page int) ([]types.Receipt, error) {
Function GenerateConfig
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func GenerateConfig(ctx context.Context, omniRPCUrl, deployPath string, outputPath string, skippedChainIDS []int, cg ClientGenerator) error {
Function EmitEvents
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func EmitEvents(ctx context.Context, t *testing.T, backend backends.SimulatedTestBackend, desiredBlockHeight uint64, testChainHandler *TestChainHandler) error {
Method EventDB.RetrieveLogsFromHeadRangeQuery
has 5 arguments (exceeds 4 allowed). Consider refactoring. Open
Open
func (_m *EventDB) RetrieveLogsFromHeadRangeQuery(ctx context.Context, logFilter db.LogFilter, startBlock uint64, endBlock uint64, page int) ([]*types.Log, error) {