const Contract = require('web3-eth-contract'); const SafeBoxWeth = require('./output/abi/safeboxETH.json') const setDeploment = (networkName) => { const deployments = require(`./output/${networkName}.json`); //console.log(deployments); return deployments } export class SafeBoxETH { deployments uniswapSpell contract network account provider box constructor(account, provider, network) { this.account = account this.network = network this.provider = provider this.deployments = setDeploment(this.network) this.contract = Contract.setProvider(this.provider) this.box = new Contract(SafeBoxWeth.abi, this.deployments.safeboxETH.address) } public async deposit (amount) { } public async withdraw (amount) { } }