1
This commit is contained in:
parent
15752e0317
commit
b93520dd62
19
server/backtask/task/spec_transfer721/hero.go
Normal file
19
server/backtask/task/spec_transfer721/hero.go
Normal file
@ -0,0 +1,19 @@
|
||||
package spec_transfer721
|
||||
|
||||
type hero struct {
|
||||
}
|
||||
|
||||
func (this* hero) onMint(dbIdx int64, netId int32, contractAddress string, tokenId string,
|
||||
from string, to string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (this* hero) onLock(dbIdx int64, netId int32, contractAddress string, tokenId string,
|
||||
from string, to string) bool {
|
||||
return true
|
||||
}
|
||||
|
||||
func (this *hero) onUnlock(dbIdx int64, netId int32, contractAddress string, tokenId string,
|
||||
from string, to string) bool {
|
||||
return true
|
||||
}
|
@ -3,6 +3,8 @@ package spec_transfer721
|
||||
type specTransfer721Handle interface {
|
||||
onMint(dbIdx int64, netId int32, contractAddress string, tokenId string,
|
||||
from string, to string) bool
|
||||
onLock() bool
|
||||
onUnlock() bool
|
||||
onLock(dbIdx int64, netId int32, contractAddress string, tokenId string,
|
||||
from string, to string) bool
|
||||
onUnlock(dbIdx int64, netId int32, contractAddress string, tokenId string,
|
||||
from string, to string) bool
|
||||
}
|
||||
|
Loading…
x
Reference in New Issue
Block a user