balance

package
v0.50.2 Latest Latest
Warning

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

Go to latest
Published: Nov 27, 2025 License: GPL-3.0 Imports: 6 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func ParseChangePaymentStatus added in v0.50.0

func ParseChangePaymentStatus(e *state.ContainedNotificationEvent) (event.Event, error)

ParseChangePaymentStatus from notification into ChangePaymentStatus structure.

func ParseLock

ParseLock from notification into lock structure.

Types

type ChangePaymentStatus added in v0.50.0

type ChangePaymentStatus struct {
	ContainerID util.Uint256
	Epoch       uint64
	Unpaid      bool
}

ChangePaymentStatus structure of container.ChangePaymentStatus notification from FS chain.

func (ChangePaymentStatus) MorphEvent added in v0.50.0

func (ChangePaymentStatus) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

type Lock

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

Lock structure of balance.Lock notification from morph chain.

func (Lock) Amount

func (l Lock) Amount() int64

Amount of the locked assets.

func (Lock) ID

func (l Lock) ID() []byte

ID is a withdraw transaction hash.

func (Lock) LockAccount

func (l Lock) LockAccount() util.Uint160

LockAccount return script hash for balance contract wallet.

func (Lock) MorphEvent

func (Lock) MorphEvent()

MorphEvent implements Neo:Morph Event interface.

func (Lock) TxHash added in v0.27.0

func (l Lock) TxHash() util.Uint256

TxHash returns hash of the TX with lock notification.

func (Lock) Until

func (l Lock) Until() int64

Until is an epoch before locked account exists.

func (Lock) User

func (l Lock) User() util.Uint160

User returns withdraw receiver script hash from main net.

Jump to

Keyboard shortcuts

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