Documentation ¶
Index ¶
Constants ¶
View Source
const ( SUCCESS = 0 HASHLENERROR = 1 HASHDATAERROR = 2 SERVERERROR = 3 )
View Source
const (
WETHER_DATA_PROCESS string = "Weather Forecast"
)
Variables ¶
View Source
var CodeMessageMap = map[int32]string{ SUCCESS: "success", HASHLENERROR: "hash use sha256. match 32 bytes", HASHDATAERROR: "hash error", SERVERERROR: "verify server get error from layer2 server", }
Functions ¶
func GetLayer2EventByTxHash ¶
func GetLayer2EventByTxHash(txHash string, cfg *layer2config.Config) (*sdkcom.SmartContactEvent, error)
Types ¶
type VerifyResponse ¶
Click to show internal directories.
Click to hide internal directories.