|
|
@ -11,6 +11,7 @@ export interface RunTabProps { |
|
|
|
initialState?: RunTabState |
|
|
|
initialState?: RunTabState |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
export interface Contract { |
|
|
|
export interface Contract { |
|
|
|
name: string, |
|
|
|
name: string, |
|
|
|
alias: string, |
|
|
|
alias: string, |
|
|
@ -23,26 +24,6 @@ export interface ContractList { |
|
|
|
[file: string]: Contract[] |
|
|
|
[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 { |
|
|
|
export interface RunTabState { |
|
|
|
accounts: { |
|
|
|
accounts: { |
|
|
|
loadedAccounts: Record<string, string>, |
|
|
|
loadedAccounts: Record<string, string>, |
|
|
|