forked from TrueCloudLab/neoneo-go
648e0bb242
Merged two types: - smartcontract.ParamType - rpc.StackParamType into single one: - smartcontract.ParamType as they duplicated the functionality. NOTE: type smartcontract.MapType was added (as in C# implementation). From now, list of supported smartcontract parameter types: UnknownType SignatureType BoolType IntegerType Hash160Type Hash256Type ByteArrayType PublicKeyType StringType ArrayType MapType InteropInterfaceType VoidType
17 lines
487 B
Go
17 lines
487 B
Go
package request
|
|
|
|
import "github.com/CityOfZion/neo-go/pkg/smartcontract"
|
|
|
|
// ContractDetails contains contract metadata.
|
|
type ContractDetails struct {
|
|
Author string
|
|
Email string
|
|
Version string
|
|
ProjectName string `yaml:"name"`
|
|
Description string
|
|
HasStorage bool
|
|
HasDynamicInvocation bool
|
|
IsPayable bool
|
|
ReturnType smartcontract.ParamType
|
|
Parameters []smartcontract.ParamType
|
|
}
|