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 BridgeWatcher ¶
type BridgeWatcher struct {
// contains filtered or unexported fields
}
BridgeWatcher is responsible for looking over Terra blockchain and reporting new transactions to the bridge
func NewTerraBridgeWatcher ¶
func NewTerraBridgeWatcher(urlWS string, urlLCD string, bridge string, lockEvents chan *common.MessagePublication, setEvents chan *common.GuardianSet) *BridgeWatcher
NewTerraBridgeWatcher creates a new terra bridge watcher
Click to show internal directories.
Click to hide internal directories.