this mainly allows us to check if an account has a certain role and thus if the account can call specific contract functions. At some point we might want to extend that to support the check if an account can call the function. For that we would need to have a mapping between function names and roles, which we have not right now.
9 lines
225 B
JavaScript
9 lines
225 B
JavaScript
module.exports = {
|
|
Contributor: require('./contributor'),
|
|
Contribution: require('./contribution'),
|
|
Proposal: require('./proposal'),
|
|
Token: require('./token'),
|
|
Kernel: require('./kernel'),
|
|
Acl: require('./acl')
|
|
};
|