diff --git a/src/types/chains.ts b/src/types/chains.ts index 1474a75f..6490606f 100644 --- a/src/types/chains.ts +++ b/src/types/chains.ts @@ -72,8 +72,6 @@ export enum FEATURES { EIP1271 = 'EIP1271', } -// Remain agnostic as possible and reference what is returned in the CGW, i.e. -// https://gnosis.github.io/safe-client-gateway/docs/routes/chains/models/struct.ChainInfo.html export type ChainInfo = { transactionService: string chainId: string // Restricted by what is returned by the CGW diff --git a/src/types/transactions.ts b/src/types/transactions.ts index 7c6a5755..1ee50475 100644 --- a/src/types/transactions.ts +++ b/src/types/transactions.ts @@ -43,7 +43,6 @@ export enum TransferDirection { UNKNOWN = 'UNKNOWN', } -// https://safe.global/safe-client-gateway/docs/routes/transactions/models/enum.TransferInfo.html export enum TransactionTokenType { ERC20 = 'ERC20', ERC721 = 'ERC721', @@ -63,7 +62,6 @@ export enum SettingsInfoType { DELETE_GUARD = 'DELETE_GUARD', } -// https://safe.global/safe-client-gateway/docs/routes/transactions/models/enum.TransactionInfo.html export enum TransactionInfoType { TRANSFER = 'Transfer', SETTINGS_CHANGE = 'SettingsChange', @@ -71,14 +69,12 @@ export enum TransactionInfoType { CREATION = 'Creation', } -// https://safe.global/safe-client-gateway/docs/routes/transactions/models/summary/enum.ConflictType.html export enum ConflictType { NONE = 'None', HAS_NEXT = 'HasNext', END = 'End', } -// https://safe.global/safe-client-gateway/docs/routes/transactions/models/summary/enum.TransactionListItem.html export enum TransactionListItemType { TRANSACTION = 'TRANSACTION', LABEL = 'LABEL', @@ -86,7 +82,6 @@ export enum TransactionListItemType { DATE_LABEL = 'DATE_LABEL', } -// https://safe.global/safe-client-gateway/docs/routes/transactions/models/details/enum.DetailedExecutionInfo.html export enum DetailedExecutionInfoType { MULTISIG = 'MULTISIG', MODULE = 'MODULE', @@ -265,8 +260,6 @@ export type Transaction = { type: TransactionListItemType.TRANSACTION } -// WIP types: - export type IncomingTransfer = Omit & { transaction: Omit & { txInfo: Omit & { direction: TransferDirection.INCOMING } @@ -292,9 +285,6 @@ export type DateLabel = { type: TransactionListItemType.DATE_LABEL } -/** - * @see https://gnosis.github.io/safe-client-gateway/docs/routes/transactions/models/summary/enum.Label.html - */ export enum LabelValue { Queued = 'Queued', Next = 'Next',