Documentation
¶
Index ¶
- func ParseCheque(e *state.ContainedNotificationEvent) (event.Event, error)
- func ParseConfig(e *state.ContainedNotificationEvent) (event.Event, error)
- func ParseDeposit(e *state.ContainedNotificationEvent) (event.Event, error)
- func ParseWithdraw(e *state.ContainedNotificationEvent) (event.Event, error)
- type Cheque
- type Config
- type Deposit
- type Withdraw
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func ParseCheque ¶
func ParseCheque(e *state.ContainedNotificationEvent) (event.Event, error)
ParseCheque from notification into cheque structure.
func ParseConfig ¶
func ParseConfig(e *state.ContainedNotificationEvent) (event.Event, error)
func ParseDeposit ¶
func ParseDeposit(e *state.ContainedNotificationEvent) (event.Event, error)
ParseDeposit notification into deposit structure.
func ParseWithdraw ¶
func ParseWithdraw(e *state.ContainedNotificationEvent) (event.Event, error)
ParseWithdraw notification into withdraw structure.
Types ¶
type Cheque ¶
type Cheque struct {
IDValue []byte
AmountValue int64 // Fixed8
UserValue util.Uint160
LockValue util.Uint160
}
Cheque structure of frostfs.Cheque notification from mainnet chain.
func (Cheque) LockAccount ¶
LockAccount return script hash for balance contract wallet.
func (Cheque) MorphEvent ¶
func (Cheque) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
type Config ¶
type Config struct {
KeyValue []byte
ValueValue []byte
IDValue []byte
// TxHashValue is used in notary environmental
// for calculating unique but same for
// all notification receivers values.
TxHashValue util.Uint256
}
func (Config) MorphEvent ¶
func (Config) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
type Deposit ¶
type Deposit struct {
IDValue []byte
AmountValue int64 // Fixed8
FromValue util.Uint160
ToValue util.Uint160
}
Deposit structure of frostfs.Deposit notification from mainnet chain.
func (Deposit) MorphEvent ¶
func (Deposit) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
type Withdraw ¶
Withdraw structure of frostfs.Withdraw notification from mainnet chain.
func (Withdraw) MorphEvent ¶
func (Withdraw) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
Click to show internal directories.
Click to hide internal directories.