1
This commit is contained in:
parent
23e674c27d
commit
f7cb30c6c6
22
server/light_backtask/task/cec_transfer.go
Normal file
22
server/light_backtask/task/cec_transfer.go
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package task
|
||||||
|
|
||||||
|
import (
|
||||||
|
"main/mt"
|
||||||
|
)
|
||||||
|
|
||||||
|
type cecTransfer struct {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *cecTransfer) init() {
|
||||||
|
mt.Table.Contract.Traverse(func (ele *mt.Contract) bool {
|
||||||
|
/*
|
||||||
|
if ele.GetName() == jccommon.CONTRACT_NAME_StakedEsCecRouter {
|
||||||
|
go this.process(ele.GetNetId(), ele.GetAddress())
|
||||||
|
}*/
|
||||||
|
return true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *cecTransfer) unInit() {
|
||||||
|
}
|
22
server/light_backtask/task/escec_Transfer.go
Normal file
22
server/light_backtask/task/escec_Transfer.go
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package task
|
||||||
|
|
||||||
|
import (
|
||||||
|
"main/mt"
|
||||||
|
)
|
||||||
|
|
||||||
|
type esCecTransfer struct {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *esCecTransfer) init() {
|
||||||
|
mt.Table.Contract.Traverse(func (ele *mt.Contract) bool {
|
||||||
|
/*
|
||||||
|
if ele.GetName() == jccommon.CONTRACT_NAME_StakedEsCecRouter {
|
||||||
|
go this.process(ele.GetNetId(), ele.GetAddress())
|
||||||
|
}*/
|
||||||
|
return true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *esCecTransfer) unInit() {
|
||||||
|
}
|
22
server/light_backtask/task/vester_deposit.go
Normal file
22
server/light_backtask/task/vester_deposit.go
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package task
|
||||||
|
|
||||||
|
import (
|
||||||
|
"main/mt"
|
||||||
|
)
|
||||||
|
|
||||||
|
type vesterDeposit struct {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *vesterDeposit) init() {
|
||||||
|
mt.Table.Contract.Traverse(func (ele *mt.Contract) bool {
|
||||||
|
/*
|
||||||
|
if ele.GetName() == jccommon.CONTRACT_NAME_StakedEsCecRouter {
|
||||||
|
go this.process(ele.GetNetId(), ele.GetAddress())
|
||||||
|
}*/
|
||||||
|
return true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *vesterDeposit) unInit() {
|
||||||
|
}
|
22
server/light_backtask/task/vester_withdraw.go
Normal file
22
server/light_backtask/task/vester_withdraw.go
Normal file
@ -0,0 +1,22 @@
|
|||||||
|
package task
|
||||||
|
|
||||||
|
import (
|
||||||
|
"main/mt"
|
||||||
|
)
|
||||||
|
|
||||||
|
type vesterWithdraw struct {
|
||||||
|
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *vesterWithdraw) init() {
|
||||||
|
mt.Table.Contract.Traverse(func (ele *mt.Contract) bool {
|
||||||
|
/*
|
||||||
|
if ele.GetName() == jccommon.CONTRACT_NAME_StakedEsCecRouter {
|
||||||
|
go this.process(ele.GetNetId(), ele.GetAddress())
|
||||||
|
}*/
|
||||||
|
return true
|
||||||
|
})
|
||||||
|
}
|
||||||
|
|
||||||
|
func (this *vesterWithdraw) unInit() {
|
||||||
|
}
|
Loading…
x
Reference in New Issue
Block a user