Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
async openLocalPlugin () {
try {
const profile = await this.localPlugin.open(this.appManager.getAll())
if (!profile) return
if (this.appManager.getIds().includes(profile.name)) {
throw new Error('This name has already been used')
}
this.appManager.registerOne(new IframePlugin(profile))
this.appManager.activateOne(profile.name)
} catch (err) {
// TODO : Use an alert to handle this error instead of a console.log
console.log(`Cannot create Plugin : ${err.message}`)
addToolTip(`Cannot create Plugin : ${err.message}`)
}
}
url: '//remix-plugin.goquorum.com/',
icon: '//remix-plugin.goquorum.com/tab_icon.png',
documentation: 'https://docs.goquorum.com/en/latest/RemixPlugin/Overview/',
version: '0.1.4-beta',
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}
events: [],
methods: [],
url: '//remix-plugin.goquorum.com/',
icon: '//remix-plugin.goquorum.com/tab_icon.png',
documentation: 'https://docs.goquorum.com/en/latest/RemixPlugin/Overview/',
version: '0.1.4-beta',
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}
...plugins.map(plugin => new IframePlugin(plugin))
]
documentation: 'https://docs.goquorum.com/en/latest/RemixPlugin/Overview/',
version: '0.1.4-beta',
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}
icon: '//remix-plugin.goquorum.com/tab_icon.png',
documentation: 'https://docs.goquorum.com/en/latest/RemixPlugin/Overview/',
version: '0.1.4-beta',
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}
methods: [],
url: '//remix-plugin.goquorum.com/',
icon: '//remix-plugin.goquorum.com/tab_icon.png',
documentation: 'https://docs.goquorum.com/en/latest/RemixPlugin/Overview/',
version: '0.1.4-beta',
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}
name: 'quorum',
displayName: 'Quorum Network',
description: 'Deploy and interact with private contracts on a Quorum network.',
events: [],
methods: [],
url: '//remix-plugin.goquorum.com/',
icon: '//remix-plugin.goquorum.com/tab_icon.png',
documentation: 'https://docs.goquorum.com/en/latest/RemixPlugin/Overview/',
version: '0.1.4-beta',
location: 'sidePanel'
}
const res = await fetch(this.pluginsDirectory)
const plugins = await res.json()
return [
new IframePlugin(pipeline),
new IframePlugin(provable),
new IframePlugin(threeBox),
new IframePlugin(debugPlugin),
new IframePlugin(libraTools),
new IframePlugin(oneClickDapp),
new IframePlugin(gasProfiler),
new IframePlugin(flattener),
new IframePlugin(ethpm),
new IframePlugin(zokrates),
new IframePlugin(quorum),
...plugins.map(plugin => new IframePlugin(plugin))
]
}
}