Documentation ¶
Index ¶
- func AdaptAddress(h *spec.Address) *felt.Felt
- func AdaptBlockHeader(h *spec.SignedBlockHeader, eventsBloom *bloom.BloomFilter) *core.Header
- func AdaptClass(class *spec.Class) core.Class
- func AdaptEthAddress(h *spec.EthereumAddress) common.Address
- func AdaptEvent(e *spec.Event) *core.Event
- func AdaptFelt(f *spec.Felt252) *felt.Felt
- func AdaptHash(h *spec.Hash) *felt.Felt
- func AdaptReceipt(r *spec.Receipt, txHash *felt.Felt) *core.TransactionReceipt
- func AdaptStateDiff(reader core.StateReader, contractDiffs []*spec.ContractDiff, ...) *core.StateDiff
- func AdaptTransaction(t *spec.Transaction, network *utils.Network) core.Transaction
- func AdaptUint128(u *spec.Uint128) *felt.Felt
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func AdaptBlockHeader ¶ added in v0.10.0
func AdaptBlockHeader(h *spec.SignedBlockHeader, eventsBloom *bloom.BloomFilter) *core.Header
func AdaptEthAddress ¶ added in v0.10.0
func AdaptEthAddress(h *spec.EthereumAddress) common.Address
func AdaptReceipt ¶ added in v0.10.0
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
Types ¶
This section is empty.
Click to show internal directories.
Click to hide internal directories.