sn2core

package
v0.12.4 Latest Latest
Warning

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

Go to latest
Published: Nov 11, 2024 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AdaptBlock

func AdaptBlock(response *starknet.Block, sig *starknet.Signature) (*core.Block, error)

func AdaptCairo0Class

func AdaptCairo0Class(response *starknet.Cairo0Definition) (core.Class, error)

func AdaptCairo1Class

func AdaptCairo1Class(response *starknet.SierraDefinition, compiledClass *starknet.CompiledClass) (*core.Cairo1Class, error)

func AdaptCompiledClass added in v0.9.3

func AdaptCompiledClass(compiledClass *starknet.CompiledClass) (*core.CompiledClass, error)

func AdaptDeclareTransaction

func AdaptDeclareTransaction(t *starknet.Transaction) *core.DeclareTransaction

func AdaptDeployAccountTransaction

func AdaptDeployAccountTransaction(t *starknet.Transaction) *core.DeployAccountTransaction

func AdaptDeployTransaction

func AdaptDeployTransaction(t *starknet.Transaction) *core.DeployTransaction

func AdaptEvent

func AdaptEvent(response *starknet.Event) *core.Event

func AdaptExecutionResources

func AdaptExecutionResources(response *starknet.ExecutionResources) *core.ExecutionResources

func AdaptInvokeTransaction

func AdaptInvokeTransaction(t *starknet.Transaction) *core.InvokeTransaction

func AdaptL1HandlerTransaction

func AdaptL1HandlerTransaction(t *starknet.Transaction) *core.L1HandlerTransaction

func AdaptL1ToL2Message

func AdaptL1ToL2Message(response *starknet.L1ToL2Message) *core.L1ToL2Message

func AdaptL2ToL1Message

func AdaptL2ToL1Message(response *starknet.L2ToL1Message) *core.L2ToL1Message

func AdaptSegmentLengths added in v0.11.0

func AdaptSegmentLengths(l starknet.SegmentLengths) core.SegmentLengths

func AdaptStateUpdate

func AdaptStateUpdate(response *starknet.StateUpdate) (*core.StateUpdate, error)

func AdaptTransaction

func AdaptTransaction(transaction *starknet.Transaction) (core.Transaction, error)

func AdaptTransactionReceipt

func AdaptTransactionReceipt(response *starknet.TransactionReceipt) *core.TransactionReceipt

Types

This section is empty.

Jump to

Keyboard shortcuts

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