forked from TrueCloudLab/neoneo-go
35551282b0
* Initial draft of the ICO template ported from NEX. * filled in token configuration * added kyc storage prefix * fixed byte array conversion + added tests * fixed broken test + made 1 file for the token sale example. * implemented the NEP5 handlers * bumped version
16 lines
486 B
Go
16 lines
486 B
Go
package storage
|
|
|
|
// Context represents the storage context.
|
|
type Context interface{}
|
|
|
|
// GetContext returns the storage context.
|
|
func GetContext() interface{} { return nil }
|
|
|
|
// Put stores a value in to the storage.
|
|
func Put(ctx interface{}, key interface{}, value interface{}) {}
|
|
|
|
// Get returns the value from the storage.
|
|
func Get(ctx interface{}, key interface{}) interface{} { return 0 }
|
|
|
|
// Delete removes a stored key value pair.
|
|
func Delete(ctx interface{}, key interface{}) {}
|