Documentation ¶
Index ¶
- func Create(script []byte, params []interface{}, returnType byte, properties interface{}, ...)
- func Destroy(c Contract)
- func GetScript(c Contract) []byte
- func GetStorageContext(c Contract) storage.Context
- func IsPayable(c Contract) bool
- func Migrate(script []byte, params []interface{}, returnType byte, properties interface{}, ...)
- type Contract
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Create ¶
func Create( script []byte, params []interface{}, returnType byte, properties interface{}, name, version, author, email, description string)
Create creates a new contract. @FIXME What is the type of the returnType here?
func Destroy ¶
func Destroy(c Contract)
Destroy deletes a contract that is registered on the blockchain.
func GetStorageContext ¶
GetStorageContext returns the storage context for the given contract.
Types ¶
Click to show internal directories.
Click to hide internal directories.