This section list all the available key and value pair which define this API:
- unfocus
[] - focus
[]
- compilationFinished
[success (bool), data (obj), source (obj)] - compilationData
[compilationResult (obj)]
- newTransaction
[tx (obj)]
newTransaction is broadcasted to all loaded plugins.
compilationFinished is sent to the plugin that currently has the focus.
focus / unfocus is sent to the plugin which currently has the focus or is unfocused.
compilationData is sent always just upon the focus event and gives the last compilation result.
- getExecutionContextProvider
@return {String} provider (injected | web3 | vm) - getProviderEndpoint
@return {String} provider endpoint url if web3, returns an error if injected or javascript VM - updateTitle
@param {String} title
- setConfig
@param {String} path, @param {String} content - getConfig
@param {String} path - removeConfig
@param {String} path
- getCompilationResult
@return {Object} compilation result
- runTx
@param {Object} tx - getAccounts
@return {Array} acccounts - createVMAccount
@param {String} privateKey, @param {String} balance (hex)
- getCurrentFile
@return {String} current file path displayed in the editor - getFile
@param {String} path - setFile
@param {String} path, @param {String} content - highlight
@param {Object} lineColumnPos, @param {String} filePath, @param {String} hexColor