2018-08-22 07:51:35 +00:00
|
|
|
package engine_contract
|
|
|
|
|
|
|
|
import (
|
2019-08-15 16:41:51 +00:00
|
|
|
"github.com/CityOfZion/neo-go/pkg/interop/engine"
|
|
|
|
"github.com/CityOfZion/neo-go/pkg/interop/runtime"
|
2018-08-22 07:51:35 +00:00
|
|
|
)
|
|
|
|
|
|
|
|
func Main() bool {
|
|
|
|
tx := engine.GetScriptContainer()
|
|
|
|
runtime.Notify(tx)
|
|
|
|
|
|
|
|
callingScriptHash := engine.GetCallingScriptHash()
|
|
|
|
runtime.Notify(callingScriptHash)
|
|
|
|
|
|
|
|
execScriptHash := engine.GetExecutingScriptHash()
|
|
|
|
runtime.Notify(execScriptHash)
|
|
|
|
|
|
|
|
entryScriptHash := engine.GetEntryScriptHash()
|
|
|
|
runtime.Notify(entryScriptHash)
|
|
|
|
|
|
|
|
return true
|
|
|
|
}
|