Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func StringToAddress ¶
StringToAddress convert string into address
func StringToHash ¶
func StringToHash(value string) (eth_common.Hash, error)
StringToHash convert string into transaction hash
Types ¶
type Watcher ¶
type Watcher struct {
// contains filtered or unexported fields
}
Watcher is responsible for looking over Terra blockchain and reporting new transactions to the contract
func NewWatcher ¶
func NewWatcher(urlWS string, urlLCD string, contract string, lockEvents chan *common.MessagePublication, setEvents chan *common.GuardianSet) *Watcher
NewWatcher creates a new Terra contract watcher
Click to show internal directories.
Click to hide internal directories.