Skip to content

Commit 657f451

Browse files
authored
Chore: rm outdated comments (#134)
1 parent 04c9733 commit 657f451

File tree

2 files changed

+0
-12
lines changed

2 files changed

+0
-12
lines changed

src/types/chains.ts

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -72,8 +72,6 @@ export enum FEATURES {
7272
EIP1271 = 'EIP1271',
7373
}
7474

75-
// Remain agnostic as possible and reference what is returned in the CGW, i.e.
76-
// https://gnosis.github.io/safe-client-gateway/docs/routes/chains/models/struct.ChainInfo.html
7775
export type ChainInfo = {
7876
transactionService: string
7977
chainId: string // Restricted by what is returned by the CGW

src/types/transactions.ts

Lines changed: 0 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -43,7 +43,6 @@ export enum TransferDirection {
4343
UNKNOWN = 'UNKNOWN',
4444
}
4545

46-
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/enum.TransferInfo.html
4746
export enum TransactionTokenType {
4847
ERC20 = 'ERC20',
4948
ERC721 = 'ERC721',
@@ -63,30 +62,26 @@ export enum SettingsInfoType {
6362
DELETE_GUARD = 'DELETE_GUARD',
6463
}
6564

66-
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/enum.TransactionInfo.html
6765
export enum TransactionInfoType {
6866
TRANSFER = 'Transfer',
6967
SETTINGS_CHANGE = 'SettingsChange',
7068
CUSTOM = 'Custom',
7169
CREATION = 'Creation',
7270
}
7371

74-
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/summary/enum.ConflictType.html
7572
export enum ConflictType {
7673
NONE = 'None',
7774
HAS_NEXT = 'HasNext',
7875
END = 'End',
7976
}
8077

81-
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/summary/enum.TransactionListItem.html
8278
export enum TransactionListItemType {
8379
TRANSACTION = 'TRANSACTION',
8480
LABEL = 'LABEL',
8581
CONFLICT_HEADER = 'CONFLICT_HEADER',
8682
DATE_LABEL = 'DATE_LABEL',
8783
}
8884

89-
// https://safe.global/safe-client-gateway/docs/routes/transactions/models/details/enum.DetailedExecutionInfo.html
9085
export enum DetailedExecutionInfoType {
9186
MULTISIG = 'MULTISIG',
9287
MODULE = 'MODULE',
@@ -265,8 +260,6 @@ export type Transaction = {
265260
type: TransactionListItemType.TRANSACTION
266261
}
267262

268-
// WIP types:
269-
270263
export type IncomingTransfer = Omit<Transaction, 'transaction'> & {
271264
transaction: Omit<TransactionSummary, 'txInfo' | 'executionInfo'> & {
272265
txInfo: Omit<Transfer, 'direction'> & { direction: TransferDirection.INCOMING }
@@ -292,9 +285,6 @@ export type DateLabel = {
292285
type: TransactionListItemType.DATE_LABEL
293286
}
294287

295-
/**
296-
* @see https://gnosis.github.io/safe-client-gateway/docs/routes/transactions/models/summary/enum.Label.html
297-
*/
298288
export enum LabelValue {
299289
Queued = 'Queued',
300290
Next = 'Next',

0 commit comments

Comments
 (0)