Documentation ¶
Index ¶
- func Cairo0ClassHash(class *core.Cairo0Class) (*felt.Felt, error)
- func JunoAppendGasConsumed(readerHandle C.uintptr_t, ptr unsafe.Pointer)
- func JunoAppendResponse(readerHandle C.uintptr_t, ptr unsafe.Pointer)
- func JunoFree(ptr unsafe.Pointer)
- func JunoReportError(readerHandle C.uintptr_t, str *C.char)
- func JunoStateGetClassHashAt(readerHandle C.uintptr_t, contractAddress unsafe.Pointer) unsafe.Pointer
- func JunoStateGetCompiledClass(readerHandle C.uintptr_t, classHash unsafe.Pointer) unsafe.Pointer
- func JunoStateGetNonceAt(readerHandle C.uintptr_t, contractAddress unsafe.Pointer) unsafe.Pointer
- func JunoStateGetStorageAt(readerHandle C.uintptr_t, contractAddress, storageLocation unsafe.Pointer) unsafe.Pointer
- type VM
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Cairo0ClassHash ¶
func Cairo0ClassHash(class *core.Cairo0Class) (*felt.Felt, error)
func JunoAppendGasConsumed ¶
func JunoStateGetClassHashAt ¶
func JunoStateGetNonceAt ¶
Types ¶
type VM ¶ added in v0.5.0
type VM interface { Call(contractAddr, selector *felt.Felt, calldata []felt.Felt, blockNumber, blockTimestamp uint64, state core.StateReader, network utils.Network, ) ([]*felt.Felt, error) Execute(txns []core.Transaction, declaredClasses []core.Class, blockNumber, blockTimestamp uint64, sequencerAddress *felt.Felt, state core.StateReader, network utils.Network, paidFeesOnL1 []*felt.Felt, ) ([]*felt.Felt, error) }
Click to show internal directories.
Click to hide internal directories.