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

safe-global / safe-client-gateway / 8094757329

29 Feb 2024 10:44AM UTC coverage: 93.543% (+0.3%) from 93.246%
8094757329

Pull #1227

github

iamacook
Add query params and adjust `Rank`
Pull Request #1227: Scaffold locking API data source

1676 of 2004 branches covered (83.63%)

Branch coverage included in aggregate %.

0 of 12 new or added lines in 4 files covered. (0.0%)

1 existing line in 1 file now uncovered.

6162 of 6375 relevant lines covered (96.66%)

348.91 hits per line

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

0.0
/src/domain/interfaces/locking-api.interface.ts
1
import { LockingEvent } from '@/domain/locking/entities/locking-event.entity';
2
import { Rank } from '@/domain/locking/entities/rank.entity';
3

NEW
4
export const ILockingApi = Symbol('ILockingApi');
×
5

6
export interface ILockingApi {
7
  getLeaderboard(args: {
8
    safeAddress?: string;
9
    limit?: number;
10
    offset?: number;
11
  }): Promise<Array<Rank>>;
12

13
  getLockingHistory(args: {
14
    safeAddress?: string;
15
    limit?: number;
16
    offset?: number;
17
  }): Promise<Array<LockingEvent>>;
18
}
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