Secure your code as it's written. Use Snyk Code to scan source code in minutes - no build needed - and fix issues immediately.
const { artifacts, ethereum, web3 } = require('@nomiclabs/buidler')
const chai = require('chai')
const { assert } = chai
const BN = web3.utils.BN
chai
.use(require('chai-as-promised'))
.should()
const GuildBank = artifacts.require('./GuildBank')
const Token = artifacts.require('./Token')
const deploymentConfig = {
'TOKEN_SUPPLY': 10000
}
const SolRevert = 'VM Exception while processing transaction: revert'
async function snapshot () {
return ethereum.send('evm_snapshot', [])