2020-10-02 11:16:25 +00:00
|
|
|
package sub
|
|
|
|
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
|
|
|
|
|
|
|
var Key = "sub"
|
|
|
|
|
2023-04-03 10:34:24 +00:00
|
|
|
func _deploy(data any, isUpdate bool) {
|
2020-10-02 11:16:25 +00:00
|
|
|
ctx := storage.GetContext()
|
|
|
|
value := "sub create"
|
|
|
|
if isUpdate {
|
|
|
|
value = "sub update"
|
|
|
|
}
|
|
|
|
storage.Put(ctx, Key, value)
|
|
|
|
}
|