import React from 'react'
import { Web3ProviderDialog } from './components/web3Dialog'
export const fileChangedToastMsg = (from: string, path: string) => (
{from}
is modifying
{path}
)
export const compilerConfigChangedToastMsg = (from: string, value: string) => (
{ from } is updating the
Solidity compiler configuration.
{value}
)
export const compileToastMsg = (from: string, fileName: string) => (
{from} is requiring to compile {fileName}
)
export const compilingToastMsg = (settings: string) => (
Recompiling and debugging with params
{settings}
)
export const compilationFinishedToastMsg = () => (
Compilation failed... continuing without source code debugging.
)
export const notFoundToastMsg = (address: string) => (
Contract {address} not found in source code repository continuing without source code debugging.
)
export const localCompilationToastMsg = () => (
Using compilation result from Solidity module
)
export const sourceVerificationNotAvailableToastMsg = () => (
Source verification plugin not activated or not available. continuing without source code debugging.
)
export const web3Dialog = (externalEndpoint: string, setWeb3Endpoint: (value: string) => void) => (
)
export const envChangeNotification = (env: { context: string, fork: string }, from: string) => (
{ from + ' '}
set your environment to
{env && env.context}
)
export const storageFullMessage = () => (
Cannot save this file due to full LocalStorage. Backup existing files and free up some space.
)
export const recursivePasteToastMsg = () => (
File(s) to paste is an ancestor of the destination folder
)