ethbridge

package
v0.0.3 Latest Latest
Warning

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

Go to latest
Published: Jul 5, 2024 License: MIT Imports: 9 Imported by: ? modules, 0 packages

The first number is the count of modules that contain a package that imports this one. The module count is a better indicator of popularity than the package count. A module with 100 importing packages is counted only once instead of 100 times, reflecting the fact that the choice to use the package was likely made only once, not 100 times.
A '?' means that the value hasn't been computed yet.

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