aozhiwei 8b75a36150 1
2024-06-16 12:56:50 +08:00

25 lines
327 B
Go

package mt
import (
"f5"
"mtb"
"sync"
"strings"
)
type Contract struct {
mtb.Contract
}
type ContractTable struct {
f5.NameMetaTable[Contract]
itemHash sync.Map //string => Contract
}
func (this *Contract) Init1() {
}
func (this *Contract) GetContractAddress() string {
return strings.ToLower(this.GetAddress())
}