p2p2core

package
v0.12.0 Latest Latest
Warning

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

Go to latest
Published: Jul 30, 2024 License: Apache-2.0 Imports: 13 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptAddress added in v0.7.4

func AdaptAddress(h *spec.Address) *felt.Felt

func AdaptBlockHeader added in v0.10.0

func AdaptBlockHeader(h *spec.SignedBlockHeader, eventsBloom *bloom.BloomFilter) *core.Header

func AdaptClass added in v0.10.0

func AdaptClass(class *spec.Class) core.Class

func AdaptEthAddress added in v0.10.0

func AdaptEthAddress(h *spec.EthereumAddress) common.Address

func AdaptEvent added in v0.10.0

func AdaptEvent(e *spec.Event) *core.Event

func AdaptFelt added in v0.10.0

func AdaptFelt(f *spec.Felt252) *felt.Felt

func AdaptHash

func AdaptHash(h *spec.Hash) *felt.Felt

func AdaptReceipt added in v0.10.0

func AdaptReceipt(r *spec.Receipt, txHash *felt.Felt) *core.TransactionReceipt

todo change type of txHash to spec

func AdaptStateDiff added in v0.10.0

func AdaptStateDiff(reader core.StateReader, contractDiffs []*spec.ContractDiff, classes []*spec.Class) *core.StateDiff

func AdaptTransaction added in v0.10.0

func AdaptTransaction(t *spec.Transaction, network *utils.Network) core.Transaction

func AdaptUint128 added in v0.12.0

func AdaptUint128(u *spec.Uint128) *felt.Felt

Types

This section is empty.

Jump to

Keyboard shortcuts

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