chore: move token example to nep5 as package name (CityOfZion/neo-storm#19)
* feat: add token example * feat: code splitted package * feat: use updated apis * chore: change token namespace to nep5 * chore: add transfer event and readme updates Imported from CityOfZion/neo-storm (63ec2d7dc23a60f128a8b383ceda1eaa15d919c1).
This commit is contained in:
parent
b3037cd598
commit
1f8ccdba16
4 changed files with 118 additions and 6 deletions
|
@ -12,7 +12,7 @@ func CheckWitness(hash []byte) bool {
|
|||
func Log(message string) {}
|
||||
|
||||
// Notify an event to the VM.
|
||||
func Notify(arg interface{}) int {
|
||||
func Notify(arg ...interface{}) int {
|
||||
return 0
|
||||
}
|
||||
|
||||
|
@ -42,7 +42,7 @@ func Serialize(item interface{}) []byte {
|
|||
return nil
|
||||
}
|
||||
|
||||
// Deserializes an item from a bytearray.
|
||||
// Deserialize an item from a bytearray.
|
||||
func Deserialize(b []byte) interface{} {
|
||||
return nil
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue