1
This commit is contained in:
parent
b0786380d9
commit
b54267f598
@ -1,4 +1,4 @@
|
||||
>const events = {};
|
||||
const events = {};
|
||||
|
||||
async function internalAdd(clsName, modName) {
|
||||
const modClass = require('./' + modName);
|
||||
@ -28,10 +28,12 @@ async function init() {
|
||||
}
|
||||
|
||||
function getEventHandle(eventProc) {
|
||||
|
||||
const clsName = eventProc.getContractName() + '.' + eventProc.getEventName();
|
||||
return utils.hasKey(events, clsName) ? events[clsName] : null;
|
||||
}
|
||||
|
||||
function createEventHandle(eventProc, eventHandle) {
|
||||
const clsName = eventProc.getContractName() + '.' + eventProc.getEventName();
|
||||
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user