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