Skip to content

Commit d4d6ed3

Browse files
committed
[blocklist] fix types
1 parent 26824d5 commit d4d6ed3

File tree

1 file changed

+7
-4
lines changed
  • src/methods/vault/requests/getVault

1 file changed

+7
-4
lines changed

src/methods/vault/requests/getVault/types.ts

+7-4
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,11 @@
11
import type { VaultQueryPayload } from '../../../../graphql/subgraph/vault'
22

33

4+
type ListItem = {
5+
createdAt: number
6+
address: string
7+
}
8+
49
export type ModifiedVault = Omit<
510
VaultQueryPayload['vault'],
611
'admin' | 'address' | 'mevEscrow' | 'keysManager' | 'weeklyApy' | 'performance' | 'createdAt'
@@ -13,8 +18,6 @@ export type ModifiedVault = Omit<
1318
mevRecipient: string
1419
vaultKeysManager: string
1520
isSmoothingPool: boolean
16-
whitelist: Array<{
17-
createdAt: number
18-
address: string
19-
}>
21+
whitelist: ListItem[]
22+
blocklist: ListItem[]
2023
}

0 commit comments

Comments
 (0)