logs

package
v0.0.0-...-77cf636 Latest Latest
Warning

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

Go to latest
Published: Sep 16, 2024 License: MIT Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func AddLog

func AddLog(ctx sdk.Context, precompileAddr common.Address, stateDB vm.StateDB, topics []common.Hash, data []byte)

AddLog adds log to stateDB

func MakeTopics

func MakeTopics(event abi.Event, query ...[]interface{}) ([]common.Hash, error)

MakeTopics creates topics for log as wrapper around geth abi.MakeTopics function

func PackBigInt

func PackBigInt(amount *big.Int) ([]byte, error)

PackBigInt is a helper function to pack a uint256 amount

Types

This section is empty.

Jump to

Keyboard shortcuts

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