events

package
v0.0.0-...-4f6eca2 Latest Latest
Warning

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

Go to latest
Published: Jan 13, 2025 License: Apache-2.0, MIT Imports: 4 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Event

type Event interface {
	// IsValidMovement() bool
	GetAddress(txResponse *types.TransactionResponse) (xc.Address, error)
	GetContract() (xc.ContractAddress, error)
	GetAmount() (xc.AmountBlockchain, error)
	IsSource(txResponse *types.TransactionResponse) (bool, error)
}

func NewEvent

func NewEvent(node types.AffectedNodes) (Event, bool, error)

type EventModifiedAccountRoot

type EventModifiedAccountRoot struct {
	// contains filtered or unexported fields
}

func (*EventModifiedAccountRoot) GetAddress

func (mnw *EventModifiedAccountRoot) GetAddress(txResponse *types.TransactionResponse) (xc.Address, error)

func (*EventModifiedAccountRoot) GetAmount

func (mnw *EventModifiedAccountRoot) GetAmount() (xc.AmountBlockchain, error)

func (*EventModifiedAccountRoot) GetContract

func (mnw *EventModifiedAccountRoot) GetContract() (xc.ContractAddress, error)

func (*EventModifiedAccountRoot) IsSource

func (mnw *EventModifiedAccountRoot) IsSource(txResponse *types.TransactionResponse) (bool, error)

Jump to

Keyboard shortcuts

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