Skip to content

Commit

Permalink
Removing duplicated ContractDetailsInteraction
Browse files Browse the repository at this point in the history
  • Loading branch information
henrypalacios committed Nov 14, 2023
1 parent 3a5c83e commit 072b26d
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 88 deletions.
3 changes: 2 additions & 1 deletion src/domain/UserContractDetails.ts
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,8 @@ export interface UserContractDetails {
date: string
type: ContractType
abi?: Record<string, unknown>
external: boolean // Contracts not deployed by PCW are custom and external
// TODO
external: boolean // Represents a contract that has not been aggregated by the connected wallet accounts.
hidden: boolean
}

Expand Down
2 changes: 1 addition & 1 deletion src/domain/repositories/DeploymentRepository.ts
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@ import {
UserContractDetailsDraft
} from '../UserContractDetails'

export type ContractType = TokenType | 'custom'
export type ContractType = TokenType | 'custom' // custom contracts are generally deployed outside the PCW
export type UpdateDeployment = Partial<UserContractDetailsDraft>

export interface IDeploymentsRepository<A, B> {
Expand Down
86 changes: 0 additions & 86 deletions src/view/ContractDetailsInteraction/index.tsx

This file was deleted.

0 comments on commit 072b26d

Please sign in to comment.