feat: update event mechanism

add event type local and global, clients have to use contractID and topic to subscribe local event; allow clients to subscribe topics (will not be recorded)
This commit is contained in:
Frank.R.Wu
2021-10-31 23:07:15 +08:00
parent 1ce2d05992
commit 9553f2a783
14 changed files with 12198 additions and 15492 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -89,33 +89,35 @@ AtToken=88
AtLeastOnce=89
AtMostOnce=90
OnlyOnce=91
Class=92
Enum=93
Extends=94
Super=95
Const=96
Export=97
Import=98
Contract=99
Module=100
Oracle=101
Implements=102
Let=103
Private=104
Public=105
Interface=106
Package=107
Protected=108
Static=109
Yield=110
Identifier=111
StringLiteral=112
TemplateStringLiteral=113
WhiteSpaces=114
LineTerminator=115
HtmlComment=116
CDataComment=117
UnexpectedCharacter=118
Global=92
Local=93
Class=94
Enum=95
Extends=96
Super=97
Const=98
Export=99
Import=100
Contract=101
Module=102
Oracle=103
Implements=104
Let=105
Private=106
Public=107
Interface=108
Package=109
Protected=110
Static=111
Yield=112
Identifier=113
StringLiteral=114
TemplateStringLiteral=115
WhiteSpaces=116
LineTerminator=117
HtmlComment=118
CDataComment=119
UnexpectedCharacter=120
'['=4
']'=5
'('=6
@@ -198,22 +200,24 @@ UnexpectedCharacter=118
'AT_LEAST_ONCE'=89
'AT_MOST_ONCE'=90
'ONLY_ONCE'=91
'class'=92
'enum'=93
'extends'=94
'super'=95
'const'=96
'export'=97
'import'=98
'contract'=99
'module'=100
'oracle'=101
'implements'=102
'let'=103
'private'=104
'public'=105
'interface'=106
'package'=107
'protected'=108
'static'=109
'yield'=110
'global'=92
'local'=93
'class'=94
'enum'=95
'extends'=96
'super'=97
'const'=98
'export'=99
'import'=100
'contract'=101
'module'=102
'oracle'=103
'implements'=104
'let'=105
'private'=106
'public'=107
'interface'=108
'package'=109
'protected'=110
'static'=111
'yield'=112

File diff suppressed because one or more lines are too long

File diff suppressed because it is too large Load Diff

View File

@@ -89,33 +89,35 @@ AtToken=88
AtLeastOnce=89
AtMostOnce=90
OnlyOnce=91
Class=92
Enum=93
Extends=94
Super=95
Const=96
Export=97
Import=98
Contract=99
Module=100
Oracle=101
Implements=102
Let=103
Private=104
Public=105
Interface=106
Package=107
Protected=108
Static=109
Yield=110
Identifier=111
StringLiteral=112
TemplateStringLiteral=113
WhiteSpaces=114
LineTerminator=115
HtmlComment=116
CDataComment=117
UnexpectedCharacter=118
Global=92
Local=93
Class=94
Enum=95
Extends=96
Super=97
Const=98
Export=99
Import=100
Contract=101
Module=102
Oracle=103
Implements=104
Let=105
Private=106
Public=107
Interface=108
Package=109
Protected=110
Static=111
Yield=112
Identifier=113
StringLiteral=114
TemplateStringLiteral=115
WhiteSpaces=116
LineTerminator=117
HtmlComment=118
CDataComment=119
UnexpectedCharacter=120
'['=4
']'=5
'('=6
@@ -198,22 +200,24 @@ UnexpectedCharacter=118
'AT_LEAST_ONCE'=89
'AT_MOST_ONCE'=90
'ONLY_ONCE'=91
'class'=92
'enum'=93
'extends'=94
'super'=95
'const'=96
'export'=97
'import'=98
'contract'=99
'module'=100
'oracle'=101
'implements'=102
'let'=103
'private'=104
'public'=105
'interface'=106
'package'=107
'protected'=108
'static'=109
'yield'=110
'global'=92
'local'=93
'class'=94
'enum'=95
'extends'=96
'super'=97
'const'=98
'export'=99
'import'=100
'contract'=101
'module'=102
'oracle'=103
'implements'=104
'let'=105
'private'=106
'public'=107
'interface'=108
'package'=109
'protected'=110
'static'=111
'yield'=112

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff

File diff suppressed because it is too large Load Diff