mirror of https://gitlab.com/ecentrics/concordia
Ezerous
4 years ago
4 changed files with 21 additions and 3 deletions
@ -0,0 +1,10 @@ |
|||||
|
const USER_VOTED_POST_EVENT = 'UserVotedPost'; |
||||
|
|
||||
|
const postVotingContractEvents = Object.freeze([ |
||||
|
USER_VOTED_POST_EVENT, |
||||
|
]); |
||||
|
|
||||
|
module.exports = { |
||||
|
USER_VOTED_POST_EVENT, |
||||
|
postVotingContractEvents, |
||||
|
}; |
@ -1,8 +1,10 @@ |
|||||
const forumContractEvents = require('./ForumContractEvents'); |
const { forumContractEvents } = require('./ForumContractEvents'); |
||||
const { FORUM_CONTRACT } = require('../ContractNames'); |
const { postVotingContractEvents } = require('./PostVotingContractEvents'); |
||||
|
const { FORUM_CONTRACT, POST_VOTING_CONTRACT } = require('../ContractNames'); |
||||
|
|
||||
const appEvents = Object.freeze({ |
const appEvents = Object.freeze({ |
||||
[FORUM_CONTRACT]: forumContractEvents, |
[FORUM_CONTRACT]: forumContractEvents, |
||||
|
[POST_VOTING_CONTRACT]: postVotingContractEvents, |
||||
}); |
}); |
||||
|
|
||||
module.exports = appEvents; |
module.exports = appEvents; |
||||
|
Loading…
Reference in new issue