2020-09-03 17:04:04 +03:00
|
|
|
package netmap
|
|
|
|
|
|
|
|
import (
|
2021-10-22 13:06:08 +03:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
2020-10-26 17:46:15 +03:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
2020-09-03 17:04:04 +03:00
|
|
|
)
|
|
|
|
|
2022-07-28 19:22:32 +03:00
|
|
|
func createNotifyEventFromItems(items []stackitem.Item) *state.ContainedNotificationEvent {
|
|
|
|
return &state.ContainedNotificationEvent{
|
2021-10-22 13:06:08 +03:00
|
|
|
NotificationEvent: state.NotificationEvent{
|
|
|
|
Item: stackitem.NewArray(items),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|