synapsecns/sanguine

View on GitHub

Showing 1,971 of 13,422 total issues

Method executionContext._AddressRanking_count has 5 return statements (exceeds 4 allowed).
Open

func (ec *executionContext) _AddressRanking_count(ctx context.Context, field graphql.CollectedField, obj *model.AddressRanking) (ret graphql.Marshaler) {
    fc, err := ec.fieldContext_AddressRanking_count(ctx, field)
    if err != nil {
        return graphql.Null
    }
Severity: Major
Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

    Method executionContext._PartialInfo_time has 5 return statements (exceeds 4 allowed).
    Open

    func (ec *executionContext) _PartialInfo_time(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
        fc, err := ec.fieldContext_PartialInfo_time(ctx, field)
        if err != nil {
            return graphql.Null
        }
    Severity: Major
    Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

      Method executionContext._DateResultByChain_bsc has 5 return statements (exceeds 4 allowed).
      Open

      func (ec *executionContext) _DateResultByChain_bsc(ctx context.Context, field graphql.CollectedField, obj *model.DateResultByChain) (ret graphql.Marshaler) {
          fc, err := ec.fieldContext_DateResultByChain_bsc(ctx, field)
          if err != nil {
              return graphql.Null
          }
      Severity: Major
      Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

        Method executionContext._AddressData_bridgeVolume has 5 return statements (exceeds 4 allowed).
        Open

        func (ec *executionContext) _AddressData_bridgeVolume(ctx context.Context, field graphql.CollectedField, obj *model.AddressData) (ret graphql.Marshaler) {
            fc, err := ec.fieldContext_AddressData_bridgeVolume(ctx, field)
            if err != nil {
                return graphql.Null
            }
        Severity: Major
        Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

          Method executionContext._PartialInfo_formattedValue has 5 return statements (exceeds 4 allowed).
          Open

          func (ec *executionContext) _PartialInfo_formattedValue(ctx context.Context, field graphql.CollectedField, obj *model.PartialInfo) (ret graphql.Marshaler) {
              fc, err := ec.fieldContext_PartialInfo_formattedValue(ctx, field)
              if err != nil {
                  return graphql.Null
              }
          Severity: Major
          Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

            Method executionContext._BridgeTransaction_pending has 5 return statements (exceeds 4 allowed).
            Open

            func (ec *executionContext) _BridgeTransaction_pending(ctx context.Context, field graphql.CollectedField, obj *model.BridgeTransaction) (ret graphql.Marshaler) {
                fc, err := ec.fieldContext_BridgeTransaction_pending(ctx, field)
                if err != nil {
                    return graphql.Null
                }
            Severity: Major
            Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

              Method executionContext._Query_addressRanking has 5 return statements (exceeds 4 allowed).
              Open

              func (ec *executionContext) _Query_addressRanking(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
                  fc, err := ec.fieldContext_Query_addressRanking(ctx, field)
                  if err != nil {
                      return graphql.Null
                  }
              Severity: Major
              Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                Method executionContext._Query___type has 5 return statements (exceeds 4 allowed).
                Open

                func (ec *executionContext) _Query___type(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
                    fc, err := ec.fieldContext_Query___type(ctx, field)
                    if err != nil {
                        return graphql.Null
                    }
                Severity: Major
                Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                  Method executionContext._BridgeWatcherTx_bridgeModule has 5 return statements (exceeds 4 allowed).
                  Open

                  func (ec *executionContext) _BridgeWatcherTx_bridgeModule(ctx context.Context, field graphql.CollectedField, obj *model.BridgeWatcherTx) (ret graphql.Marshaler) {
                      fc, err := ec.fieldContext_BridgeWatcherTx_bridgeModule(ctx, field)
                      if err != nil {
                          return graphql.Null
                      }
                  Severity: Major
                  Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                    Method executionContext._Query_rankedChainIDsByVolume has 5 return statements (exceeds 4 allowed).
                    Open

                    func (ec *executionContext) _Query_rankedChainIDsByVolume(ctx context.Context, field graphql.CollectedField) (ret graphql.Marshaler) {
                        fc, err := ec.fieldContext_Query_rankedChainIDsByVolume(ctx, field)
                        if err != nil {
                            return graphql.Null
                        }
                    Severity: Major
                    Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                      Method executionContext._HeroType_recipient has 5 return statements (exceeds 4 allowed).
                      Open

                      func (ec *executionContext) _HeroType_recipient(ctx context.Context, field graphql.CollectedField, obj *model.HeroType) (ret graphql.Marshaler) {
                          fc, err := ec.fieldContext_HeroType_recipient(ctx, field)
                          if err != nil {
                              return graphql.Null
                          }
                      Severity: Major
                      Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                        Method executionContext.___Directive_locations has 5 return statements (exceeds 4 allowed).
                        Open

                        func (ec *executionContext) ___Directive_locations(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
                            fc, err := ec.fieldContext___Directive_locations(ctx, field)
                            if err != nil {
                                return graphql.Null
                            }
                        Severity: Major
                        Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                          Method executionContext.___Type_possibleTypes has 5 return statements (exceeds 4 allowed).
                          Open

                          func (ec *executionContext) ___Type_possibleTypes(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                              fc, err := ec.fieldContext___Type_possibleTypes(ctx, field)
                              if err != nil {
                                  return graphql.Null
                              }
                          Severity: Major
                          Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                            Method executionContext.___EnumValue_isDeprecated has 5 return statements (exceeds 4 allowed).
                            Open

                            func (ec *executionContext) ___EnumValue_isDeprecated(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
                                fc, err := ec.fieldContext___EnumValue_isDeprecated(ctx, field)
                                if err != nil {
                                    return graphql.Null
                                }
                            Severity: Major
                            Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                              Method executionContext._HistoricalResult_total has 5 return statements (exceeds 4 allowed).
                              Open

                              func (ec *executionContext) _HistoricalResult_total(ctx context.Context, field graphql.CollectedField, obj *model.HistoricalResult) (ret graphql.Marshaler) {
                                  fc, err := ec.fieldContext_HistoricalResult_total(ctx, field)
                                  if err != nil {
                                      return graphql.Null
                                  }
                              Severity: Major
                              Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                                Method executionContext.___Directive_name has 5 return statements (exceeds 4 allowed).
                                Open

                                func (ec *executionContext) ___Directive_name(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
                                    fc, err := ec.fieldContext___Directive_name(ctx, field)
                                    if err != nil {
                                        return graphql.Null
                                    }
                                Severity: Major
                                Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                                  Method executionContext.___Type_enumValues has 5 return statements (exceeds 4 allowed).
                                  Open

                                  func (ec *executionContext) ___Type_enumValues(ctx context.Context, field graphql.CollectedField, obj *introspection.Type) (ret graphql.Marshaler) {
                                      fc, err := ec.fieldContext___Type_enumValues(ctx, field)
                                      if err != nil {
                                          return graphql.Null
                                      }
                                  Severity: Major
                                  Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                                    Method executionContext.___Directive_isRepeatable has 5 return statements (exceeds 4 allowed).
                                    Open

                                    func (ec *executionContext) ___Directive_isRepeatable(ctx context.Context, field graphql.CollectedField, obj *introspection.Directive) (ret graphql.Marshaler) {
                                        fc, err := ec.fieldContext___Directive_isRepeatable(ctx, field)
                                        if err != nil {
                                            return graphql.Null
                                        }
                                    Severity: Major
                                    Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                                      Method executionContext.___EnumValue_deprecationReason has 5 return statements (exceeds 4 allowed).
                                      Open

                                      func (ec *executionContext) ___EnumValue_deprecationReason(ctx context.Context, field graphql.CollectedField, obj *introspection.EnumValue) (ret graphql.Marshaler) {
                                          fc, err := ec.fieldContext___EnumValue_deprecationReason(ctx, field)
                                          if err != nil {
                                              return graphql.Null
                                          }
                                      Severity: Major
                                      Found in services/explorer/graphql/server/graph/resolver/server.go - About 35 mins to fix

                                        Method queryResolver.GetBridgeTxsFromDestination has 5 return statements (exceeds 4 allowed).
                                        Open

                                        func (r *queryResolver) GetBridgeTxsFromDestination(ctx context.Context, useMv *bool, chainIDFrom []*int, chainIDTo []*int, addressFrom *string, addressTo *string, maxAmount *int, minAmount *int, maxAmountUsd *int, minAmountUsd *int, startTime *int, endTime *int, txHash *string, kappa *string, tokenAddressFrom []*string, tokenAddressTo []*string, onlyCctp *bool, page *int, pending *bool) ([]*model.BridgeTransaction, error) {
                                            var err error
                                            var results []*model.BridgeTransaction
                                            var query string
                                            if useMv != nil && *useMv {
                                        Severity: Major
                                        Found in services/explorer/graphql/server/graph/queryutils.go - About 35 mins to fix
                                          Severity
                                          Category
                                          Status
                                          Source
                                          Language