Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
P
plugin
Project
Project
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
JIRA
JIRA
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
link33
plugin
Commits
ee70751c
Commit
ee70751c
authored
Dec 06, 2018
by
harrylee2015
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
reset exector name
parent
748d60d9
Show whitespace changes
Inline
Side-by-side
Showing
9 changed files
with
45 additions
and
0 deletions
+45
-0
evm.go
plugin/dapp/evm/types/evm.go
+5
-0
types.go
plugin/dapp/game/types/types.go
+5
-0
hashlock.go
plugin/dapp/hashlock/types/hashlock.go
+5
-0
lottery.go
plugin/dapp/lottery/types/lottery.go
+5
-0
norm.go
plugin/dapp/norm/types/norm.go
+5
-0
type.go
plugin/dapp/paracross/types/type.go
+5
-0
types.go
plugin/dapp/pokerbull/types/types.go
+5
-0
types.go
plugin/dapp/token/types/types.go
+5
-0
valnode.go
plugin/dapp/valnode/types/valnode.go
+5
-0
No files found.
plugin/dapp/evm/types/evm.go
View file @
ee70751c
...
@@ -52,6 +52,11 @@ func NewType() *EvmType {
...
@@ -52,6 +52,11 @@ func NewType() *EvmType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
evm
*
EvmType
)
GetName
()
string
{
return
ExecutorName
}
// GetPayload 获取消息负载结构
// GetPayload 获取消息负载结构
func
(
evm
*
EvmType
)
GetPayload
()
types
.
Message
{
func
(
evm
*
EvmType
)
GetPayload
()
types
.
Message
{
return
&
EVMContractAction
{}
return
&
EVMContractAction
{}
...
...
plugin/dapp/game/types/types.go
View file @
ee70751c
...
@@ -42,6 +42,11 @@ type GameType struct {
...
@@ -42,6 +42,11 @@ type GameType struct {
types
.
ExecTypeBase
types
.
ExecTypeBase
}
}
// GetName 获取执行器名称
func
(
gt
*
GameType
)
GetName
()
string
{
return
GameX
}
// GetLogMap get log
// GetLogMap get log
func
(
gt
*
GameType
)
GetLogMap
()
map
[
int64
]
*
types
.
LogInfo
{
func
(
gt
*
GameType
)
GetLogMap
()
map
[
int64
]
*
types
.
LogInfo
{
return
map
[
int64
]
*
types
.
LogInfo
{
return
map
[
int64
]
*
types
.
LogInfo
{
...
...
plugin/dapp/hashlock/types/hashlock.go
View file @
ee70751c
...
@@ -35,6 +35,11 @@ func NewType() *HashlockType {
...
@@ -35,6 +35,11 @@ func NewType() *HashlockType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
hashlock
*
HashlockType
)
GetName
()
string
{
return
HashlockX
}
// GetPayload method
// GetPayload method
func
(
hashlock
*
HashlockType
)
GetPayload
()
types
.
Message
{
func
(
hashlock
*
HashlockType
)
GetPayload
()
types
.
Message
{
return
&
HashlockAction
{}
return
&
HashlockAction
{}
...
...
plugin/dapp/lottery/types/lottery.go
View file @
ee70751c
...
@@ -35,6 +35,11 @@ func NewType() *LotteryType {
...
@@ -35,6 +35,11 @@ func NewType() *LotteryType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
lottery
*
LotteryType
)
GetName
()
string
{
return
LotteryX
}
// GetLogMap method
// GetLogMap method
func
(
lottery
*
LotteryType
)
GetLogMap
()
map
[
int64
]
*
types
.
LogInfo
{
func
(
lottery
*
LotteryType
)
GetLogMap
()
map
[
int64
]
*
types
.
LogInfo
{
return
map
[
int64
]
*
types
.
LogInfo
{
return
map
[
int64
]
*
types
.
LogInfo
{
...
...
plugin/dapp/norm/types/norm.go
View file @
ee70751c
...
@@ -29,6 +29,11 @@ func NewType() *NormType {
...
@@ -29,6 +29,11 @@ func NewType() *NormType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
norm
*
NormType
)
GetName
()
string
{
return
NormX
}
// GetPayload method
// GetPayload method
func
(
norm
*
NormType
)
GetPayload
()
types
.
Message
{
func
(
norm
*
NormType
)
GetPayload
()
types
.
Message
{
return
&
NormAction
{}
return
&
NormAction
{}
...
...
plugin/dapp/paracross/types/type.go
View file @
ee70751c
...
@@ -42,6 +42,11 @@ func NewType() *ParacrossType {
...
@@ -42,6 +42,11 @@ func NewType() *ParacrossType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
p
*
ParacrossType
)
GetName
()
string
{
return
ParaX
}
// GetLogMap get receipt log map
// GetLogMap get receipt log map
func
(
p
*
ParacrossType
)
GetLogMap
()
map
[
int64
]
*
types
.
LogInfo
{
func
(
p
*
ParacrossType
)
GetLogMap
()
map
[
int64
]
*
types
.
LogInfo
{
return
map
[
int64
]
*
types
.
LogInfo
{
return
map
[
int64
]
*
types
.
LogInfo
{
...
...
plugin/dapp/pokerbull/types/types.go
View file @
ee70751c
...
@@ -29,6 +29,11 @@ func NewType() *PokerBullType {
...
@@ -29,6 +29,11 @@ func NewType() *PokerBullType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
t
*
PokerBullType
)
GetName
()
string
{
return
PokerBullX
}
// GetPayload 获取payload
// GetPayload 获取payload
func
(
t
*
PokerBullType
)
GetPayload
()
types
.
Message
{
func
(
t
*
PokerBullType
)
GetPayload
()
types
.
Message
{
return
&
PBGameAction
{}
return
&
PBGameAction
{}
...
...
plugin/dapp/token/types/types.go
View file @
ee70751c
...
@@ -31,6 +31,11 @@ func NewType() *TokenType {
...
@@ -31,6 +31,11 @@ func NewType() *TokenType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
t
*
TokenType
)
GetName
()
string
{
return
TokenX
}
// GetPayload 获取token action
// GetPayload 获取token action
func
(
t
*
TokenType
)
GetPayload
()
types
.
Message
{
func
(
t
*
TokenType
)
GetPayload
()
types
.
Message
{
return
&
TokenAction
{}
return
&
TokenAction
{}
...
...
plugin/dapp/valnode/types/valnode.go
View file @
ee70751c
...
@@ -29,6 +29,11 @@ func NewType() *ValNodeType {
...
@@ -29,6 +29,11 @@ func NewType() *ValNodeType {
return
c
return
c
}
}
// GetName 获取执行器名称
func
(
t
*
ValNodeType
)
GetName
()
string
{
return
ValNodeX
}
// GetPayload method
// GetPayload method
func
(
t
*
ValNodeType
)
GetPayload
()
types
.
Message
{
func
(
t
*
ValNodeType
)
GetPayload
()
types
.
Message
{
return
&
ValNodeAction
{}
return
&
ValNodeAction
{}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment