1
This commit is contained in:
parent
be78cc942e
commit
8b75a36150
@ -28,3 +28,8 @@ const (
|
|||||||
TRADE_CREATED_EVENT = "imtbl_zkevm_trade_created"
|
TRADE_CREATED_EVENT = "imtbl_zkevm_trade_created"
|
||||||
ACTIVITY_SALE_EVENT = "imtbl_zkevm_activity_sale"
|
ACTIVITY_SALE_EVENT = "imtbl_zkevm_activity_sale"
|
||||||
)
|
)
|
||||||
|
|
||||||
|
const (
|
||||||
|
CONTRACT_NAME_CFHero = "CFHero"
|
||||||
|
CONTRACT_NAME_GoldBrick = "GoldBrick"
|
||||||
|
)
|
||||||
|
@ -4,6 +4,7 @@ import (
|
|||||||
"f5"
|
"f5"
|
||||||
"mtb"
|
"mtb"
|
||||||
"sync"
|
"sync"
|
||||||
|
"strings"
|
||||||
)
|
)
|
||||||
|
|
||||||
type Contract struct {
|
type Contract struct {
|
||||||
@ -18,5 +19,6 @@ type ContractTable struct {
|
|||||||
func (this *Contract) Init1() {
|
func (this *Contract) Init1() {
|
||||||
}
|
}
|
||||||
|
|
||||||
func (this *ContractTable) Search(name string, itemIds map[int32]int32) {
|
func (this *Contract) GetContractAddress() string {
|
||||||
|
return strings.ToLower(this.GetAddress())
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user