1
This commit is contained in:
parent
abcc0656dc
commit
6dcbe35438
@ -167,6 +167,11 @@ func (this *vip) RecalcEsCecConvert(accountAddress string) error {
|
||||
[][]string {
|
||||
{"last_convert_time", q5.ToString(lastDeposit.chainTimestamp)},
|
||||
})
|
||||
} else if lastWithdraw != nil {
|
||||
this.AddEx(accountAddress, "0", maxIdx, "escec_convert", "deposit_withdraw_last_src_idx",
|
||||
[][]string {
|
||||
{"last_convert_time", q5.ToString(lastWithdraw.chainTimestamp)},
|
||||
})
|
||||
}
|
||||
return nil
|
||||
}
|
||||
|
@ -12,6 +12,10 @@ type taskMgr struct {
|
||||
//contribution
|
||||
chainActivity
|
||||
recharge
|
||||
|
||||
esCecTransfer
|
||||
stackingCec
|
||||
vester
|
||||
}
|
||||
|
||||
func (this *taskMgr) Init() {
|
||||
@ -23,9 +27,17 @@ func (this *taskMgr) Init() {
|
||||
//this.contribution.init()
|
||||
this.chainActivity.init()
|
||||
this.recharge.init()
|
||||
|
||||
this.esCecTransfer.init()
|
||||
this.stackingCec.init()
|
||||
this.vester.init()
|
||||
}
|
||||
|
||||
func (this *taskMgr) UnInit() {
|
||||
this.vester.unInit()
|
||||
this.stackingCec.unInit()
|
||||
this.esCecTransfer.unInit()
|
||||
|
||||
this.recharge.unInit()
|
||||
this.chainActivity.unInit()
|
||||
//this.contribution.unInit()
|
||||
|
Loading…
x
Reference in New Issue
Block a user