ethbridge

package
v1.4.5-testnet Latest Latest
Warning

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

Go to latest
Published: Oct 18, 2024 License: MIT Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ConvertAddress

func ConvertAddress(value cfxtypes.Address) (common.Address, uint32)

convert cfx address => eth address

func ConvertAddressNullable

func ConvertAddressNullable(value *cfxtypes.Address) (*common.Address, uint32)

func ConvertBlock

func ConvertBlock(value *cfxtypes.Block, blockExt *store.BlockExtra) *types.Block

convert cfx block => eth block

func ConvertBlockHeader

func ConvertBlockHeader(value *cfxtypes.BlockHeader, blockExt *store.BlockExtra) *types.Block

convert cfx block header => eth block

func ConvertBlockSummary

func ConvertBlockSummary(value *cfxtypes.BlockSummary, blockExt *store.BlockExtra) *types.Block

convert cfx block summary => eth block

func ConvertHash

func ConvertHash(value cfxtypes.Hash) common.Hash

convert cfx hash => eth hash

func ConvertHashNullable

func ConvertHashNullable(value *cfxtypes.Hash) common.Hash

func ConvertLog

func ConvertLog(log *cfxtypes.Log, logExtra *store.LogExtra) *types.Log

convert cfx log => eth log

func ConvertReceipt

func ConvertReceipt(value *cfxtypes.TransactionReceipt, rcptExtra *store.ReceiptExtra) *types.Receipt

convert cfx receipt => eth receipt

func ConvertTx

convert cfx tx => eth tx

func ConvertTxStatus

func ConvertTxStatus(value *hexutil.Uint64) (status *uint64)

Types

This section is empty.

Jump to

Keyboard shortcuts

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