Documentation ¶
Index ¶
- func ConvertAddress(value cfxtypes.Address) (common.Address, uint32)
- func ConvertAddressNullable(value *cfxtypes.Address) (*common.Address, uint32)
- func ConvertBlock(value *cfxtypes.Block, blockExt *store.BlockExtra) *types.Block
- func ConvertBlockHeader(value *cfxtypes.BlockHeader, blockExt *store.BlockExtra) *types.Block
- func ConvertBlockSummary(value *cfxtypes.BlockSummary, blockExt *store.BlockExtra) *types.Block
- func ConvertHash(value cfxtypes.Hash) common.Hash
- func ConvertHashNullable(value *cfxtypes.Hash) common.Hash
- func ConvertLog(log *cfxtypes.Log, logExtra *store.LogExtra) *types.Log
- func ConvertReceipt(value *cfxtypes.TransactionReceipt, rcptExtra *store.ReceiptExtra) *types.Receipt
- func ConvertTx(tx *cfxtypes.Transaction, txExt *store.TransactionExtra) *types.Transaction
- func ConvertTxStatus(value *hexutil.Uint64) (status *uint64)
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ConvertAddress ¶
convert cfx address => eth address
func ConvertAddressNullable ¶
func ConvertBlock ¶
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 ConvertLog ¶
convert cfx log => eth log
func ConvertReceipt ¶
func ConvertReceipt(value *cfxtypes.TransactionReceipt, rcptExtra *store.ReceiptExtra) *types.Receipt
convert cfx receipt => eth receipt
func ConvertTx ¶
func ConvertTx(tx *cfxtypes.Transaction, txExt *store.TransactionExtra) *types.Transaction
convert cfx tx => eth tx
func ConvertTxStatus ¶
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.