Skip to content
This repository has been archived by the owner on Mar 28, 2023. It is now read-only.

Commit

Permalink
Update demo script to remove KeepBridge
Browse files Browse the repository at this point in the history
  • Loading branch information
nkuba committed Sep 5, 2019
1 parent 0f48473 commit ed528b0
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions implementation/demo/1_create_new_deposit.js
Original file line number Diff line number Diff line change
@@ -1,15 +1,12 @@
const DepositFactory = artifacts.require('./DepositFactory.sol')
const TBTCSystem = artifacts.require('./TBTCSystem.sol')
const TBTCToken = artifacts.require('./TBTCToken.sol')
const KeepBridge = artifacts.require('./KeepBridge.sol')

module.exports = async function() {
let tbtcSystem
let tbtcToken
let keepBridge

try {
keepBridge = await KeepBridge.deployed()
tbtcToken = await TBTCToken.deployed()
tbtcSystem = await TBTCSystem.deployed()
depositFactory = await DepositFactory.deployed()
Expand All @@ -22,7 +19,6 @@ module.exports = async function() {
result = await depositFactory.createDeposit(
tbtcSystem.address, // address _TBTCSystem
tbtcToken.address, // address _TBTCToken
keepBridge.address, // address _KeepBridge
5, // uint256 _m
10 // uint256 _n
).catch((err) => {
Expand Down

0 comments on commit ed528b0

Please sign in to comment.