• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

safe-global / safe-client-gateway / 8093846263

29 Feb 2024 09:32AM UTC coverage: 93.246% (-0.4%) from 93.665%
8093846263

push

github

web-flow
Add `trusted` query param. to `incoming-transfers` endpoint (#1214)

This adds a `trusted` query param. to the `incoming-transfers` endpoints, mirroring that of the `history` endpoint. If `true`, it filters ERC-20 transfers that are untrusted.

1661 of 1999 branches covered (83.09%)

Branch coverage included in aggregate %.

17 of 17 new or added lines in 3 files covered. (100.0%)

26 existing lines in 10 files now uncovered.

6126 of 6352 relevant lines covered (96.44%)

341.85 hits per line

Source File
Press 'n' to go to next uncovered line, 'b' for previous

83.33
/src/routes/data-decode/data-decoded.service.ts
1
import { Inject, Injectable } from '@nestjs/common';
76✔
2
import { DataDecodedRepository } from '@/domain/data-decoder/data-decoded.repository';
76✔
3
import { IDataDecodedRepository } from '@/domain/data-decoder/data-decoded.repository.interface';
76✔
4
import { GetDataDecodedDto } from '@/routes/data-decode/entities/get-data-decoded.dto.entity';
5
import { DataDecoded } from '@/routes/data-decode/entities/data-decoded.entity';
6

7
@Injectable()
8
export class DataDecodedService {
76✔
9
  constructor(
10
    @Inject(IDataDecodedRepository)
11
    private readonly dataDecodedRepository: DataDecodedRepository,
1,046✔
12
  ) {}
13

14
  async getDataDecoded(args: {
15
    chainId: string;
16
    getDataDecodedDto: GetDataDecodedDto;
17
  }): Promise<DataDecoded> {
UNCOV
18
    return this.dataDecodedRepository.getDataDecoded({
×
19
      chainId: args.chainId,
20
      data: args.getDataDecodedDto.data,
21
      to: args.getDataDecodedDto.to,
22
    });
23
  }
24
}
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc