Documentation ¶
Index ¶
- func ParseBind(e *state.ContainedNotificationEvent) (event.Event, error)
- 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 ParseUnbind(e *state.ContainedNotificationEvent) (event.Event, error)
- func ParseUpdateInnerRing(params []stackitem.Item) (event.Event, error)
- func ParseWithdraw(e *state.ContainedNotificationEvent) (event.Event, error)
- type Bind
- type BindCommon
- type Cheque
- type Config
- type Deposit
- type Unbind
- type UpdateInnerRing
- 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 ParseUnbind ¶
func ParseUnbind(e *state.ContainedNotificationEvent) (event.Event, error)
func ParseWithdraw ¶
func ParseWithdraw(e *state.ContainedNotificationEvent) (event.Event, error)
ParseWithdraw notification into withdraw structure.
Types ¶
type Bind ¶
type Bind struct {
BindCommon
}
type BindCommon ¶ added in v0.37.0
type BindCommon struct { UserValue []byte KeysValue [][]byte // TxHashValue is used in notary environmental // for calculating unique but same for // all notification receivers values. TxHashValue util.Uint256 }
func (BindCommon) Keys ¶ added in v0.37.0
func (b BindCommon) Keys() [][]byte
func (BindCommon) MorphEvent ¶ added in v0.37.0
func (BindCommon) MorphEvent()
MorphEvent implements Neo:Morph Event interface.
func (BindCommon) TxHash ¶ added in v0.37.0
func (b BindCommon) TxHash() util.Uint256
TxHash returns hash of the TX with new epoch notification.
func (BindCommon) User ¶ added in v0.37.0
func (b BindCommon) User() []byte
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 Unbind ¶
type Unbind struct {
BindCommon
}
type UpdateInnerRing ¶
type UpdateInnerRing struct {
// contains filtered or unexported fields
}
func (UpdateInnerRing) Keys ¶
func (u UpdateInnerRing) Keys() []*keys.PublicKey
func (UpdateInnerRing) MorphEvent ¶
func (UpdateInnerRing) 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.