Documentation ¶
Index ¶
Constants ¶
View Source
const ( EVENT_LOG = "Log" EVENT_NOTIFY = "Notify" )
View Source
const ( CONTRACT_STATE_FAIL byte = 0 CONTRACT_STATE_SUCCESS byte = 1 )
Variables ¶
This section is empty.
Functions ¶
func NotifyEventInfoToEvmLog ¶ added in v1.14.1
func NotifyEventInfoToEvmLog(info *NotifyEventInfo) (*types.StorageLog, error)
Types ¶
type ExecuteNotify ¶
type ExecuteNotify struct { TxHash common.Uint256 State byte GasConsumed uint64 // in GWei Notify []*NotifyEventInfo GasStepUsed uint64 TxIndex uint32 CreatedContract common.Address }
func ExecuteNotifyFromEthReceipt ¶ added in v1.14.1
func ExecuteNotifyFromEthReceipt(receipt *types.Receipt) *ExecuteNotify
type LogEventArgs ¶
LogEventArgs describe smart contract event log struct
type NotifyEventInfo ¶
NotifyEventInfo describe smart contract event notify info struct
func NotifyEventInfoFromEvmLog ¶ added in v1.14.1
func NotifyEventInfoFromEvmLog(log *types.StorageLog) *NotifyEventInfo
Click to show internal directories.
Click to hide internal directories.