Documentation ¶
Index ¶
- func AuthResponse(client *ethclient.Client, contractAddr, authAddr string, params []byte) (string, error)
- func GetEventAddress(e *SelfAuthEvent) string
- func Init(gatewayWss, gatewayHttps string, fGetParam func(string) string) (*ethclient.Client, error)
- func StringToKeccak256(s string) [32]byte
- func UnInit(client *ethclient.Client)
- func WatchContract(client *ethclient.Client, watchAddress string, ...)
- func WatchTransaction(client *ethclient.Client, watchAddress, to string) (err error)
- type SelfAuthEvent
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AuthResponse ¶
func GetEventAddress ¶
func GetEventAddress(e *SelfAuthEvent) string
func StringToKeccak256 ¶
stringToKeccak256 converts a string to a keccak256 hash of type [32]byte
func WatchContract ¶
Types ¶
type SelfAuthEvent ¶
func GetEvent ¶
func GetEvent(l types.Log) *SelfAuthEvent
Click to show internal directories.
Click to hide internal directories.