txs

package
v0.0.0-...-c0747e2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Feb 24, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

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.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL