forked from TrueCloudLab/neoneo-go
05cd2775e2
Imported from CityOfZion/neo-storm (d022d46cd851de78ee041851a80dc34e3b3b68d1).
17 lines
435 B
Go
17 lines
435 B
Go
package contract
|
|
|
|
// Package contract provides function signatures that can be used inside
|
|
// smart contracts that are written in the neo-storm framework.
|
|
|
|
// Contract stubs a NEO contract type.
|
|
type Contract struct{}
|
|
|
|
// GetScript returns the script of the given contract.
|
|
func GetScript(c Contract) []byte {
|
|
return nil
|
|
}
|
|
|
|
// IsPayable returns whether the given contract is payable.
|
|
func IsPayable(c Contract) bool {
|
|
return false
|
|
}
|