mirror of
https://github.com/nspcc-dev/neo-go.git
synced 2024-11-23 23:30:36 +00:00
523789ee1c
* added draft of block and transaction interop api. * added header interop API * added attribute, transaction, input, output interop API * Added asset, attribute and account interop api. * added Runtime interop apis * added asset renew and create + contract and asset interop apis Imported from CityOfZion/neo-storm (b6810d58b98312a959980f344db24689839574c4).
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-go-sc 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
|
|
}
|