From 699034aa7515a9b3d11e0d6fb965ff5d915e36ef Mon Sep 17 00:00:00 2001 From: aozhiwei Date: Sun, 23 Jun 2024 13:34:56 +0800 Subject: [PATCH] 1 --- .../task/spec_transfer721/gold_bullion.go | 19 +++++++++++++++++++ 1 file changed, 19 insertions(+) create mode 100644 server/backtask/task/spec_transfer721/gold_bullion.go diff --git a/server/backtask/task/spec_transfer721/gold_bullion.go b/server/backtask/task/spec_transfer721/gold_bullion.go new file mode 100644 index 00000000..3abfa940 --- /dev/null +++ b/server/backtask/task/spec_transfer721/gold_bullion.go @@ -0,0 +1,19 @@ +package spec_transfer721 + +type goldBullion struct { +} + +func (this* goldBullion) onMint(dbIdx int64, netId int32, contractAddress string, tokenId string, + from string, to string) bool { + return true +} + +func (this* goldBullion) onLock(dbIdx int64, netId int32, contractAddress string, tokenId string, + from string, to string) bool { + return true +} + +func (this *goldBullion) onUnlock(dbIdx int64, netId int32, contractAddress string, tokenId string, + from string, to string) bool { + return true +}