2021-10-22 10:06:08 +00:00
|
|
|
package container
|
2021-05-19 12:08:56 +00:00
|
|
|
|
|
|
|
import (
|
2021-10-22 10:06:08 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/core/state"
|
2021-05-19 12:08:56 +00:00
|
|
|
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
|
|
|
|
)
|
|
|
|
|
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),
|
|
|
|
},
|
|
|
|
}
|
|
|
|
}
|