@ -1,5 +1,5 @@
{
"name": "remix-analyzer",
"name": "@remix-project/remix-analyzer",
"version": "0.5.3",
"description": "Tool to perform static analysis on Solidity smart contracts",
"main": "./dist/index.js",
"name": "remix-debug",
"name": "@remix-project/remix-debug",
"version": "0.4.5",
"description": "Tool to debug Ethereum transactions",
"contributors": [
"name": "remix-simulator",
"name": "@remix-project/remix-simulator",
"version": "0.1.9-beta.6",
"description": "Ethereum IDE and tools for the web",
@ -14,8 +14,8 @@ const Transactions = require('./methods/transactions.js')
const generateBlock = require('./genesis.js')
class Provider {
constructor(options) {
this.options = options || {}
constructor(options = {}) {
this.options = options
// TODO: init executionContext here
this.executionContext = executionContext
this.Accounts = new Accounts(this.executionContext)
@ -48,7 +48,7 @@ commander
log.info('verbosity level set to ' + commander.verbose.blue)
}
const web3 = new Web3()
const provider = new Provider()
const provider: any = new Provider()
await provider.init()
web3.setProvider(provider)
@ -12,7 +12,7 @@ import { FinalResult, SrcIfc, compilationInterface, ASTInterface, Options,
const createWeb3Provider = async function () {
return web3