remove_uneeded_code

pull/5772/head
yann300 2 weeks ago
parent 61e568ad9a
commit 35ff2d7b6a
  1. 26
      apps/remix-ide/src/blockchain/blockchain.tsx
  2. 21
      libs/remix-ui/run-tab/src/lib/types/index.ts

@ -46,32 +46,6 @@ export type Transaction = {
timestamp?: number
}
/*
export type ProviderConfig = {
isVM: boolean
isInjected: boolean
isRpcForkedState?: boolean
isVMStateForked?: boolean
statePath?: string
}
export type Provider = {
options: { [key: string]: string }
dataId: string
name: string
displayName: string
logo?: string,
logos?: string[],
fork: string
description?: string
config: ProviderConfig
title: string
init: () => Promise<void>
provider:{
sendAsync: (payload: any) => Promise<void>
}
}*/
export class Blockchain extends Plugin {
active: boolean
event: EventManager

@ -11,6 +11,7 @@ export interface RunTabProps {
initialState?: RunTabState
}
export interface Contract {
name: string,
alias: string,
@ -23,26 +24,6 @@ export interface ContractList {
[file: string]: Contract[]
}
/*
export type Provider = {
name: string
displayName: string
provider: {
sendAsync: () => void
},
init: () => void
title: string
dataId: string
options: { [key: string]: string}
fork: boolean
isVM: boolean
isInjected: boolean
isRpcForkedState?: boolean
isVMStateForked?: boolean
statePath?: string
position: number
}*/
export interface RunTabState {
accounts: {
loadedAccounts: Record<string, string>,

Loading…
Cancel
Save