You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

17 lines
460 B

/* eslint-disable import/no-unresolved */
let Forum, Voting, PostVoting;
4 years ago
/* eslint-disable global-require */
4 years ago
try {
4 years ago
Forum = require('./build/Forum.json');
Voting = require('./build/Voting.json');
PostVoting = require('./build/PostVoting.json');
4 years ago
} catch (e) {
4 years ago
// eslint-disable-next-line no-console
console.error("Could not require contract artifacts. Haven't you run compile yet?");
4 years ago
}
module.exports = {
contracts: [Forum, Voting, PostVoting],
4 years ago
};