2020-10-02 11:16:25 +00:00
|
|
|
package sub
|
|
|
|
|
|
|
|
import "github.com/nspcc-dev/neo-go/pkg/interop/storage"
|
|
|
|
|
|
|
|
var Key = "sub"
|
|
|
|
|
2021-01-28 13:31:50 +00:00
|
|
|
func _deploy(data interface{}, 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)
|
|
|
|
}
|