Documentation ¶
Index ¶
Constants ¶
View Source
const (
ETH string = "eth"
)
ETH : ETH constant specifies a token type of Ethereum
Variables ¶
This section is empty.
Functions ¶
func ParsePayload ¶
func ParsePayload(valAddr sdk.ValAddress, event *events.LockEvent) (ethbridgeTypes.EthBridgeClaim, error)
ParsePayload : parses and packages a LockEvent struct with a validator address in an EthBridgeClaim msg
func RelayEvent ¶
func RelayEvent(chainID string, cdc *amino.Codec, validatorAddress sdk.ValAddress, moniker string, passphrase string, claim *types.EthBridgeClaim) error
RelayEvent : RelayEvent applies validator's signature to an EthBridgeClaim message
containing information about an event on the Ethereum blockchain before sending it to the Bridge blockchain. For this relay, the chain id (chainID) and codec (cdc) of the Bridge blockchain are required.
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.