Add some contract logic

This commit is contained in:
2017-02-02 18:13:06 +08:00
parent 5f108557cc
commit 1771a63dfe
3 changed files with 19 additions and 10 deletions
+6 -1
View File
@@ -1,4 +1,5 @@
/* jshint node: true */
let contracts = require('../vendor/contract-abis');
module.exports = function(environment) {
var ENV = {
@@ -20,10 +21,15 @@ module.exports = function(environment) {
APP: {
// Here you can pass flags/options to your application instance
// when it is created
},
kreditsContract: {
ABI: contracts['Kredits']
}
};
if (environment === 'development') {
ENV.kreditsContract.address = 'abcdef123456';
// ENV.APP.LOG_RESOLVER = true;
// ENV.APP.LOG_ACTIVE_GENERATION = true;
// ENV.APP.LOG_TRANSITIONS = true;
@@ -43,7 +49,6 @@ module.exports = function(environment) {
}
if (environment === 'production') {
}
return ENV;