frostfs-node/pkg/morph/event/neofs/unbind.go

25 lines
361 B
Go
Raw Normal View History

package neofs
import (
"github.com/nspcc-dev/neo-go/pkg/vm/stackitem"
"github.com/nspcc-dev/neofs-node/pkg/morph/event"
)
type Unbind struct {
bindCommon
}
func ParseUnbind(params []stackitem.Item) (event.Event, error) {
var (
ev Unbind
err error
)
err = parseBind(&ev.bindCommon, params)
if err != nil {
return nil, err
}
return ev, nil
}