v039

package
v1.6.0 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Aug 24, 2021 License: Apache-2.0 Imports: 32 Imported by: 0

Documentation

Overview

Package v039 is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
const (
	ModuleName     = "metadata"
	SpecModuleName = "spec"
)

Variables

View Source
var (
	ErrInvalidLengthContract        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowContract          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupContract = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthScope        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowScope          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupScope = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSpec        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpec          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSpec = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTypes        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTypes          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group")
)
View Source
var DefinitionSpecType_name = map[int32]string{
	0: "DEFINITION_SPEC_TYPE_UNKNOWN",
	1: "DEFINITION_SPEC_TYPE_PROPOSED",
	2: "DEFINITION_SPEC_TYPE_FACT",
	3: "DEFINITION_SPEC_TYPE_FACT_LIST",
}
View Source
var DefinitionSpecType_value = map[string]int32{
	"DEFINITION_SPEC_TYPE_UNKNOWN":   0,
	"DEFINITION_SPEC_TYPE_PROPOSED":  1,
	"DEFINITION_SPEC_TYPE_FACT":      2,
	"DEFINITION_SPEC_TYPE_FACT_LIST": 3,
}
View Source
var ExecutionResultType_name = map[int32]string{
	0: "RESULT_TYPE_UNKNOWN",
	1: "RESULT_TYPE_PASS",
	2: "RESULT_TYPE_SKIP",
	3: "RESULT_TYPE_FAIL",
}
View Source
var ExecutionResultType_value = map[string]int32{
	"RESULT_TYPE_UNKNOWN": 0,
	"RESULT_TYPE_PASS":    1,
	"RESULT_TYPE_SKIP":    2,
	"RESULT_TYPE_FAIL":    3,
}
View Source
var (
	ModuleCdc = codec.NewAminoCodec(amino)
)
View Source
var PartyType_name = map[int32]string{
	0: "PARTY_TYPE_UNKNOWN",
	1: "PARTY_TYPE_ORIGINATOR",
	2: "PARTY_TYPE_SERVICER",
	3: "PARTY_TYPE_INVESTOR",
	4: "PARTY_TYPE_CUSTODIAN",
	5: "PARTY_TYPE_OWNER",
	6: "PARTY_TYPE_AFFILIATE",
	7: "PARTY_TYPE_OMNIBUS",
	8: "PARTY_TYPE_PROVENANCE",
	9: "PARTY_TYPE_MARKER",
}
View Source
var PartyType_value = map[string]int32{
	"PARTY_TYPE_UNKNOWN":    0,
	"PARTY_TYPE_ORIGINATOR": 1,
	"PARTY_TYPE_SERVICER":   2,
	"PARTY_TYPE_INVESTOR":   3,
	"PARTY_TYPE_CUSTODIAN":  4,
	"PARTY_TYPE_OWNER":      5,
	"PARTY_TYPE_AFFILIATE":  6,
	"PARTY_TYPE_OMNIBUS":    7,
	"PARTY_TYPE_PROVENANCE": 8,
	"PARTY_TYPE_MARKER":     9,
}
View Source
var PublicKeyCurve_name = map[int32]string{
	0: "SECP256K1",
	1: "P256",
}
View Source
var PublicKeyCurve_value = map[string]int32{
	"SECP256K1": 0,
	"P256":      1,
}
View Source
var PublicKeyType_name = map[int32]string{
	0: "ELLIPTIC",
}
View Source
var PublicKeyType_value = map[string]int32{
	"ELLIPTIC": 0,
}
View Source
var RecordInputType_name = map[int32]string{
	0: "RECORD_INPUT_TYPE_UNKNOWN",
	1: "RECORD_INPUT_TYPE_PROPOSED",
	2: "RECORD_INPUT_TYPE_FACT",
}
View Source
var RecordInputType_value = map[string]int32{
	"RECORD_INPUT_TYPE_UNKNOWN":  0,
	"RECORD_INPUT_TYPE_PROPOSED": 1,
	"RECORD_INPUT_TYPE_FACT":     2,
}

Functions

func ParsePublicKey

func ParsePublicKey(data []byte) (tmcrypt.PubKey, sdk.AccAddress, error)

ParsePublicKey parses a secp256k1 public key, calculates the account address, and returns both.

func RecoverPublicKey

func RecoverPublicKey(sig, hash []byte) (tmcrypt.PubKey, sdk.AccAddress, error)

RecoverPublicKey recovers a tendermint secp256k1 public key from a signtaure and message hash.

func RegisterInterfaces

func RegisterInterfaces(registry types.InterfaceRegistry)

func RegisterLegacyAminoCodec

func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)

RegisterLegacyAminoCodec registers the necessary x/distribution interfaces and concrete types on the provided LegacyAmino codec. These types are used for Amino JSON serialization.

func RegisterMsgServer

func RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error

RegisterQueryHandler registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over "conn".

func RegisterQueryHandlerClient

func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error

RegisterQueryHandlerClient registers the http handlers for service Query to "mux". The handlers forward requests to the grpc endpoint over the given implementation of "QueryClient". Note: the gRPC framework executes interceptors within the gRPC handler. If the passed in "QueryClient" doesn't go through the normal gRPC flow (creating a gRPC client etc.) then it will be up to the passed in "QueryClient" to call the correct interceptors.

func RegisterQueryHandlerFromEndpoint

func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, opts []grpc.DialOption) (err error)

RegisterQueryHandlerFromEndpoint is same as RegisterQueryHandler but automatically dials to "endpoint" and closes the connection when "ctx" gets done.

func RegisterQueryHandlerServer

func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error

RegisterQueryHandlerServer registers the http handlers for service Query to "mux". UnaryRPC :call QueryServer directly. StreamingRPC :currently unsupported pending https://github.com/grpc/grpc-go/issues/906. Note that using this registration option will cause many gRPC library features to stop working. Consider using RegisterQueryHandlerFromEndpoint instead.

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func ValidateScope

func ValidateScope(s Scope) error

ValidateScope ensures required scope fields are valid.

Types

type AuditFields

type AuditFields struct {
	CreatedDate *GogoTimeHack `protobuf:"bytes,1,opt,name=created_date,json=createdDate,proto3" json:"created_date,omitempty"`
	CreatedBy   string        `protobuf:"bytes,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"`
	UpdatedDate *GogoTimeHack `protobuf:"bytes,3,opt,name=updated_date,json=updatedDate,proto3" json:"updated_date,omitempty"`
	UpdatedBy   string        `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty"`
	Version     int32         `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"`
	Message     string        `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"`
}

Audit

func (*AuditFields) Descriptor

func (*AuditFields) Descriptor() ([]byte, []int)

func (*AuditFields) GetCreatedBy

func (m *AuditFields) GetCreatedBy() string

func (*AuditFields) GetCreatedDate

func (m *AuditFields) GetCreatedDate() *GogoTimeHack

func (*AuditFields) GetMessage

func (m *AuditFields) GetMessage() string

func (*AuditFields) GetUpdatedBy

func (m *AuditFields) GetUpdatedBy() string

func (*AuditFields) GetUpdatedDate

func (m *AuditFields) GetUpdatedDate() *GogoTimeHack

func (*AuditFields) GetVersion

func (m *AuditFields) GetVersion() int32

func (*AuditFields) Marshal

func (m *AuditFields) Marshal() (dAtA []byte, err error)

func (*AuditFields) MarshalTo

func (m *AuditFields) MarshalTo(dAtA []byte) (int, error)

func (*AuditFields) MarshalToSizedBuffer

func (m *AuditFields) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*AuditFields) ProtoMessage

func (*AuditFields) ProtoMessage()

func (*AuditFields) Reset

func (m *AuditFields) Reset()

func (*AuditFields) Size

func (m *AuditFields) Size() (n int)

func (*AuditFields) String

func (m *AuditFields) String() string

func (*AuditFields) Unmarshal

func (m *AuditFields) Unmarshal(dAtA []byte) error

func (*AuditFields) XXX_DiscardUnknown

func (m *AuditFields) XXX_DiscardUnknown()

func (*AuditFields) XXX_Marshal

func (m *AuditFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*AuditFields) XXX_Merge

func (m *AuditFields) XXX_Merge(src proto.Message)

func (*AuditFields) XXX_Size

func (m *AuditFields) XXX_Size() int

func (*AuditFields) XXX_Unmarshal

func (m *AuditFields) XXX_Unmarshal(b []byte) error

type BooleanResult

type BooleanResult struct {
	Value bool `protobuf:"varint,1,opt,name=value,proto3" json:"value,omitempty"`
}

Wrap a boolean result type.

func (*BooleanResult) Descriptor

func (*BooleanResult) Descriptor() ([]byte, []int)

func (*BooleanResult) GetValue

func (m *BooleanResult) GetValue() bool

func (*BooleanResult) Marshal

func (m *BooleanResult) Marshal() (dAtA []byte, err error)

func (*BooleanResult) MarshalTo

func (m *BooleanResult) MarshalTo(dAtA []byte) (int, error)

func (*BooleanResult) MarshalToSizedBuffer

func (m *BooleanResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*BooleanResult) ProtoMessage

func (*BooleanResult) ProtoMessage()

func (*BooleanResult) Reset

func (m *BooleanResult) Reset()

func (*BooleanResult) Size

func (m *BooleanResult) Size() (n int)

func (*BooleanResult) String

func (m *BooleanResult) String() string

func (*BooleanResult) Unmarshal

func (m *BooleanResult) Unmarshal(dAtA []byte) error

func (*BooleanResult) XXX_DiscardUnknown

func (m *BooleanResult) XXX_DiscardUnknown()

func (*BooleanResult) XXX_Marshal

func (m *BooleanResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*BooleanResult) XXX_Merge

func (m *BooleanResult) XXX_Merge(src proto.Message)

func (*BooleanResult) XXX_Size

func (m *BooleanResult) XXX_Size() int

func (*BooleanResult) XXX_Unmarshal

func (m *BooleanResult) XXX_Unmarshal(b []byte) error

type ChangeOwnershipResponse

type ChangeOwnershipResponse struct {
}

ChangeOwnershipResponse from a contract execution ownership change request

func (*ChangeOwnershipResponse) Descriptor

func (*ChangeOwnershipResponse) Descriptor() ([]byte, []int)

func (*ChangeOwnershipResponse) Marshal

func (m *ChangeOwnershipResponse) Marshal() (dAtA []byte, err error)

func (*ChangeOwnershipResponse) MarshalTo

func (m *ChangeOwnershipResponse) MarshalTo(dAtA []byte) (int, error)

func (*ChangeOwnershipResponse) MarshalToSizedBuffer

func (m *ChangeOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ChangeOwnershipResponse) ProtoMessage

func (*ChangeOwnershipResponse) ProtoMessage()

func (*ChangeOwnershipResponse) Reset

func (m *ChangeOwnershipResponse) Reset()

func (*ChangeOwnershipResponse) Size

func (m *ChangeOwnershipResponse) Size() (n int)

func (*ChangeOwnershipResponse) String

func (m *ChangeOwnershipResponse) String() string

func (*ChangeOwnershipResponse) Unmarshal

func (m *ChangeOwnershipResponse) Unmarshal(dAtA []byte) error

func (*ChangeOwnershipResponse) XXX_DiscardUnknown

func (m *ChangeOwnershipResponse) XXX_DiscardUnknown()

func (*ChangeOwnershipResponse) XXX_Marshal

func (m *ChangeOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ChangeOwnershipResponse) XXX_Merge

func (m *ChangeOwnershipResponse) XXX_Merge(src proto.Message)

func (*ChangeOwnershipResponse) XXX_Size

func (m *ChangeOwnershipResponse) XXX_Size() int

func (*ChangeOwnershipResponse) XXX_Unmarshal

func (m *ChangeOwnershipResponse) XXX_Unmarshal(b []byte) error

type Condition

type Condition struct {
	ConditionName string           `protobuf:"bytes,1,opt,name=condition_name,json=conditionName,proto3" json:"condition_name,omitempty"`
	Result        *ExecutionResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result,omitempty"`
}

func (*Condition) Descriptor

func (*Condition) Descriptor() ([]byte, []int)

func (*Condition) GetConditionName

func (m *Condition) GetConditionName() string

func (*Condition) GetResult

func (m *Condition) GetResult() *ExecutionResult

func (*Condition) Marshal

func (m *Condition) Marshal() (dAtA []byte, err error)

func (*Condition) MarshalTo

func (m *Condition) MarshalTo(dAtA []byte) (int, error)

func (*Condition) MarshalToSizedBuffer

func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) Size

func (m *Condition) Size() (n int)

func (*Condition) String

func (m *Condition) String() string

func (*Condition) Unmarshal

func (m *Condition) Unmarshal(dAtA []byte) error

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Condition) XXX_Merge

func (m *Condition) XXX_Merge(src proto.Message)

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

func (m *Condition) XXX_Unmarshal(b []byte) error

type ConditionSpec

type ConditionSpec struct {
	FuncName   string            `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"`
	InputSpecs []*DefinitionSpec `protobuf:"bytes,2,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"`
	OutputSpec *OutputSpec       `protobuf:"bytes,3,opt,name=output_spec,json=outputSpec,proto3" json:"output_spec,omitempty"`
}

func (*ConditionSpec) Descriptor

func (*ConditionSpec) Descriptor() ([]byte, []int)

func (*ConditionSpec) GetFuncName

func (m *ConditionSpec) GetFuncName() string

func (*ConditionSpec) GetInputSpecs

func (m *ConditionSpec) GetInputSpecs() []*DefinitionSpec

func (*ConditionSpec) GetOutputSpec

func (m *ConditionSpec) GetOutputSpec() *OutputSpec

func (*ConditionSpec) Marshal

func (m *ConditionSpec) Marshal() (dAtA []byte, err error)

func (*ConditionSpec) MarshalTo

func (m *ConditionSpec) MarshalTo(dAtA []byte) (int, error)

func (*ConditionSpec) MarshalToSizedBuffer

func (m *ConditionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConditionSpec) ProtoMessage

func (*ConditionSpec) ProtoMessage()

func (*ConditionSpec) Reset

func (m *ConditionSpec) Reset()

func (*ConditionSpec) Size

func (m *ConditionSpec) Size() (n int)

func (*ConditionSpec) String

func (m *ConditionSpec) String() string

func (*ConditionSpec) Unmarshal

func (m *ConditionSpec) Unmarshal(dAtA []byte) error

func (*ConditionSpec) XXX_DiscardUnknown

func (m *ConditionSpec) XXX_DiscardUnknown()

func (*ConditionSpec) XXX_Marshal

func (m *ConditionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConditionSpec) XXX_Merge

func (m *ConditionSpec) XXX_Merge(src proto.Message)

func (*ConditionSpec) XXX_Size

func (m *ConditionSpec) XXX_Size() int

func (*ConditionSpec) XXX_Unmarshal

func (m *ConditionSpec) XXX_Unmarshal(b []byte) error

type Consideration

type Consideration struct {
	ConsiderationName string `protobuf:"bytes,1,opt,name=consideration_name,json=considerationName,proto3" json:"consideration_name,omitempty"`
	// Data pushed to a consideration that will ultimately match the output_spec of the consideration
	Inputs []*ProposedFact  `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Result *ExecutionResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result,omitempty"`
}

func (*Consideration) Descriptor

func (*Consideration) Descriptor() ([]byte, []int)

func (*Consideration) GetConsiderationName

func (m *Consideration) GetConsiderationName() string

func (*Consideration) GetInputs

func (m *Consideration) GetInputs() []*ProposedFact

func (*Consideration) GetResult

func (m *Consideration) GetResult() *ExecutionResult

func (*Consideration) Marshal

func (m *Consideration) Marshal() (dAtA []byte, err error)

func (*Consideration) MarshalTo

func (m *Consideration) MarshalTo(dAtA []byte) (int, error)

func (*Consideration) MarshalToSizedBuffer

func (m *Consideration) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Consideration) ProtoMessage

func (*Consideration) ProtoMessage()

func (*Consideration) Reset

func (m *Consideration) Reset()

func (*Consideration) Size

func (m *Consideration) Size() (n int)

func (*Consideration) String

func (m *Consideration) String() string

func (*Consideration) Unmarshal

func (m *Consideration) Unmarshal(dAtA []byte) error

func (*Consideration) XXX_DiscardUnknown

func (m *Consideration) XXX_DiscardUnknown()

func (*Consideration) XXX_Marshal

func (m *Consideration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Consideration) XXX_Merge

func (m *Consideration) XXX_Merge(src proto.Message)

func (*Consideration) XXX_Size

func (m *Consideration) XXX_Size() int

func (*Consideration) XXX_Unmarshal

func (m *Consideration) XXX_Unmarshal(b []byte) error

type ConsiderationSpec

type ConsiderationSpec struct {
	FuncName string `protobuf:"bytes,1,opt,name=func_name,json=funcName,proto3" json:"func_name,omitempty"`
	// Invoking party
	ResponsibleParty PartyType         `` /* 131-byte string literal not displayed */
	InputSpecs       []*DefinitionSpec `protobuf:"bytes,3,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"`
	OutputSpec       *OutputSpec       `protobuf:"bytes,4,opt,name=output_spec,json=outputSpec,proto3" json:"output_spec,omitempty"`
}

func (*ConsiderationSpec) Descriptor

func (*ConsiderationSpec) Descriptor() ([]byte, []int)

func (*ConsiderationSpec) GetFuncName

func (m *ConsiderationSpec) GetFuncName() string

func (*ConsiderationSpec) GetInputSpecs

func (m *ConsiderationSpec) GetInputSpecs() []*DefinitionSpec

func (*ConsiderationSpec) GetOutputSpec

func (m *ConsiderationSpec) GetOutputSpec() *OutputSpec

func (*ConsiderationSpec) GetResponsibleParty

func (m *ConsiderationSpec) GetResponsibleParty() PartyType

func (*ConsiderationSpec) Marshal

func (m *ConsiderationSpec) Marshal() (dAtA []byte, err error)

func (*ConsiderationSpec) MarshalTo

func (m *ConsiderationSpec) MarshalTo(dAtA []byte) (int, error)

func (*ConsiderationSpec) MarshalToSizedBuffer

func (m *ConsiderationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ConsiderationSpec) ProtoMessage

func (*ConsiderationSpec) ProtoMessage()

func (*ConsiderationSpec) Reset

func (m *ConsiderationSpec) Reset()

func (*ConsiderationSpec) Size

func (m *ConsiderationSpec) Size() (n int)

func (*ConsiderationSpec) String

func (m *ConsiderationSpec) String() string

func (*ConsiderationSpec) Unmarshal

func (m *ConsiderationSpec) Unmarshal(dAtA []byte) error

func (*ConsiderationSpec) XXX_DiscardUnknown

func (m *ConsiderationSpec) XXX_DiscardUnknown()

func (*ConsiderationSpec) XXX_Marshal

func (m *ConsiderationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ConsiderationSpec) XXX_Merge

func (m *ConsiderationSpec) XXX_Merge(src proto.Message)

func (*ConsiderationSpec) XXX_Size

func (m *ConsiderationSpec) XXX_Size() int

func (*ConsiderationSpec) XXX_Unmarshal

func (m *ConsiderationSpec) XXX_Unmarshal(b []byte) error

type Contract

type Contract struct {
	Definition *DefinitionSpec `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"`
	// Points to the proto for the contractSpec
	Spec *Fact `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec,omitempty"`
	// Invoker of this contract
	Invoker *SigningAndEncryptionPublicKeys `protobuf:"bytes,3,opt,name=invoker,proto3" json:"invoker,omitempty"`
	// Constructor arguments.
	// These are always the output of a previously recorded consideration.
	Inputs         []*Fact          `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	Conditions     []*Condition     `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions,omitempty"`
	Considerations []*Consideration `protobuf:"bytes,6,rep,name=considerations,proto3" json:"considerations,omitempty"`
	Recitals       []*Recital       `protobuf:"bytes,7,rep,name=recitals,proto3" json:"recitals,omitempty"`
	TimesExecuted  int32            `protobuf:"varint,8,opt,name=times_executed,json=timesExecuted,proto3" json:"times_executed,omitempty"`
	// This is only set once when the contract is initially executed
	StartTime time.Time `protobuf:"bytes,9,opt,name=start_time,json=startTime,proto3,stdtime" json:"start_time" yaml:"start_time"`
}

func (*Contract) Descriptor

func (*Contract) Descriptor() ([]byte, []int)

func (*Contract) GetConditions

func (m *Contract) GetConditions() []*Condition

func (*Contract) GetConsiderations

func (m *Contract) GetConsiderations() []*Consideration

func (*Contract) GetDefinition

func (m *Contract) GetDefinition() *DefinitionSpec

func (*Contract) GetInputs

func (m *Contract) GetInputs() []*Fact

func (*Contract) GetInvoker

func (m *Contract) GetInvoker() *SigningAndEncryptionPublicKeys

func (*Contract) GetRecitals

func (m *Contract) GetRecitals() []*Recital

func (*Contract) GetSpec

func (m *Contract) GetSpec() *Fact

func (*Contract) GetStartTime

func (m *Contract) GetStartTime() time.Time

func (*Contract) GetTimesExecuted

func (m *Contract) GetTimesExecuted() int32

func (*Contract) Marshal

func (m *Contract) Marshal() (dAtA []byte, err error)

func (*Contract) MarshalTo

func (m *Contract) MarshalTo(dAtA []byte) (int, error)

func (*Contract) MarshalToSizedBuffer

func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) Reset

func (m *Contract) Reset()

func (*Contract) Size

func (m *Contract) Size() (n int)

func (*Contract) String

func (m *Contract) String() string

func (*Contract) Unmarshal

func (m *Contract) Unmarshal(dAtA []byte) error

func (*Contract) XXX_DiscardUnknown

func (m *Contract) XXX_DiscardUnknown()

func (*Contract) XXX_Marshal

func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Contract) XXX_Merge

func (m *Contract) XXX_Merge(src proto.Message)

func (*Contract) XXX_Size

func (m *Contract) XXX_Size() int

func (*Contract) XXX_Unmarshal

func (m *Contract) XXX_Unmarshal(b []byte) error

type ContractSpec

type ContractSpec struct {
	Definition         *DefinitionSpec      `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"`
	InputSpecs         []*DefinitionSpec    `protobuf:"bytes,2,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"`
	PartiesInvolved    []PartyType          `` /* 135-byte string literal not displayed */
	ConditionSpecs     []*ConditionSpec     `protobuf:"bytes,4,rep,name=condition_specs,json=conditionSpecs,proto3" json:"condition_specs,omitempty"`
	ConsiderationSpecs []*ConsiderationSpec `protobuf:"bytes,5,rep,name=consideration_specs,json=considerationSpecs,proto3" json:"consideration_specs,omitempty"`
}

func (*ContractSpec) Descriptor

func (*ContractSpec) Descriptor() ([]byte, []int)

func (*ContractSpec) GetConditionSpecs

func (m *ContractSpec) GetConditionSpecs() []*ConditionSpec

func (*ContractSpec) GetConsiderationSpecs

func (m *ContractSpec) GetConsiderationSpecs() []*ConsiderationSpec

func (*ContractSpec) GetDefinition

func (m *ContractSpec) GetDefinition() *DefinitionSpec

func (*ContractSpec) GetInputSpecs

func (m *ContractSpec) GetInputSpecs() []*DefinitionSpec

func (*ContractSpec) GetPartiesInvolved

func (m *ContractSpec) GetPartiesInvolved() []PartyType

func (*ContractSpec) Marshal

func (m *ContractSpec) Marshal() (dAtA []byte, err error)

func (*ContractSpec) MarshalTo

func (m *ContractSpec) MarshalTo(dAtA []byte) (int, error)

func (*ContractSpec) MarshalToSizedBuffer

func (m *ContractSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ContractSpec) ProtoMessage

func (*ContractSpec) ProtoMessage()

func (*ContractSpec) Reset

func (m *ContractSpec) Reset()

func (*ContractSpec) Size

func (m *ContractSpec) Size() (n int)

func (*ContractSpec) String

func (m *ContractSpec) String() string

func (*ContractSpec) Unmarshal

func (m *ContractSpec) Unmarshal(dAtA []byte) error

func (*ContractSpec) XXX_DiscardUnknown

func (m *ContractSpec) XXX_DiscardUnknown()

func (*ContractSpec) XXX_Marshal

func (m *ContractSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ContractSpec) XXX_Merge

func (m *ContractSpec) XXX_Merge(src proto.Message)

func (*ContractSpec) XXX_Size

func (m *ContractSpec) XXX_Size() int

func (*ContractSpec) XXX_Unmarshal

func (m *ContractSpec) XXX_Unmarshal(b []byte) error

type Date

type Date struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

Wrapper for an ISO8601 date string. EX: "2020-05-22"

func (*Date) Descriptor

func (*Date) Descriptor() ([]byte, []int)

func (*Date) GetValue

func (m *Date) GetValue() string

func (*Date) Marshal

func (m *Date) Marshal() (dAtA []byte, err error)

func (*Date) MarshalTo

func (m *Date) MarshalTo(dAtA []byte) (int, error)

func (*Date) MarshalToSizedBuffer

func (m *Date) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Date) ProtoMessage

func (*Date) ProtoMessage()

func (*Date) Reset

func (m *Date) Reset()

func (*Date) Size

func (m *Date) Size() (n int)

func (*Date) String

func (m *Date) String() string

func (*Date) Unmarshal

func (m *Date) Unmarshal(dAtA []byte) error

func (*Date) XXX_DiscardUnknown

func (m *Date) XXX_DiscardUnknown()

func (*Date) XXX_Marshal

func (m *Date) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Date) XXX_Merge

func (m *Date) XXX_Merge(src proto.Message)

func (*Date) XXX_Size

func (m *Date) XXX_Size() int

func (*Date) XXX_Unmarshal

func (m *Date) XXX_Unmarshal(b []byte) error

type DefinitionSpec

type DefinitionSpec struct {
	Name             string             `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	ResourceLocation *Location          `protobuf:"bytes,2,opt,name=resource_location,json=resourceLocation,proto3" json:"resource_location,omitempty"`
	Signature        *Signature         `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	Type             DefinitionSpecType `protobuf:"varint,4,opt,name=type,proto3,enum=spec.DefinitionSpecType" json:"type,omitempty"`
}

func (*DefinitionSpec) Descriptor

func (*DefinitionSpec) Descriptor() ([]byte, []int)

func (*DefinitionSpec) GetName

func (m *DefinitionSpec) GetName() string

func (*DefinitionSpec) GetResourceLocation

func (m *DefinitionSpec) GetResourceLocation() *Location

func (*DefinitionSpec) GetSignature

func (m *DefinitionSpec) GetSignature() *Signature

func (*DefinitionSpec) GetType

func (m *DefinitionSpec) GetType() DefinitionSpecType

func (*DefinitionSpec) Marshal

func (m *DefinitionSpec) Marshal() (dAtA []byte, err error)

func (*DefinitionSpec) MarshalTo

func (m *DefinitionSpec) MarshalTo(dAtA []byte) (int, error)

func (*DefinitionSpec) MarshalToSizedBuffer

func (m *DefinitionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*DefinitionSpec) ProtoMessage

func (*DefinitionSpec) ProtoMessage()

func (*DefinitionSpec) Reset

func (m *DefinitionSpec) Reset()

func (*DefinitionSpec) Size

func (m *DefinitionSpec) Size() (n int)

func (*DefinitionSpec) String

func (m *DefinitionSpec) String() string

func (*DefinitionSpec) Unmarshal

func (m *DefinitionSpec) Unmarshal(dAtA []byte) error

func (*DefinitionSpec) XXX_DiscardUnknown

func (m *DefinitionSpec) XXX_DiscardUnknown()

func (*DefinitionSpec) XXX_Marshal

func (m *DefinitionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*DefinitionSpec) XXX_Merge

func (m *DefinitionSpec) XXX_Merge(src proto.Message)

func (*DefinitionSpec) XXX_Size

func (m *DefinitionSpec) XXX_Size() int

func (*DefinitionSpec) XXX_Unmarshal

func (m *DefinitionSpec) XXX_Unmarshal(b []byte) error

type DefinitionSpecType

type DefinitionSpecType int32
const (
	DefinitionSpecType_DEFINITION_SPEC_TYPE_UNKNOWN   DefinitionSpecType = 0
	DefinitionSpecType_DEFINITION_SPEC_TYPE_PROPOSED  DefinitionSpecType = 1
	DefinitionSpecType_DEFINITION_SPEC_TYPE_FACT      DefinitionSpecType = 2
	DefinitionSpecType_DEFINITION_SPEC_TYPE_FACT_LIST DefinitionSpecType = 3
)

func (DefinitionSpecType) EnumDescriptor

func (DefinitionSpecType) EnumDescriptor() ([]byte, []int)

func (DefinitionSpecType) String

func (x DefinitionSpecType) String() string

type Event

type Event struct {
	GroupUuid     *UUID `protobuf:"bytes,1,opt,name=group_uuid,json=groupUuid,proto3" json:"group_uuid,omitempty"`
	ExecutionUuid *UUID `protobuf:"bytes,2,opt,name=execution_uuid,json=executionUuid,proto3" json:"execution_uuid,omitempty"`
}

Event references in relation to scope

func (*Event) Descriptor

func (*Event) Descriptor() ([]byte, []int)

func (*Event) GetExecutionUuid

func (m *Event) GetExecutionUuid() *UUID

func (*Event) GetGroupUuid

func (m *Event) GetGroupUuid() *UUID

func (*Event) Marshal

func (m *Event) Marshal() (dAtA []byte, err error)

func (*Event) MarshalTo

func (m *Event) MarshalTo(dAtA []byte) (int, error)

func (*Event) MarshalToSizedBuffer

func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Event) ProtoMessage

func (*Event) ProtoMessage()

func (*Event) Reset

func (m *Event) Reset()

func (*Event) Size

func (m *Event) Size() (n int)

func (*Event) String

func (m *Event) String() string

func (*Event) Unmarshal

func (m *Event) Unmarshal(dAtA []byte) error

func (*Event) XXX_DiscardUnknown

func (m *Event) XXX_DiscardUnknown()

func (*Event) XXX_Marshal

func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Event) XXX_Merge

func (m *Event) XXX_Merge(src proto.Message)

func (*Event) XXX_Size

func (m *Event) XXX_Size() int

func (*Event) XXX_Unmarshal

func (m *Event) XXX_Unmarshal(b []byte) error

type ExecutionResult

type ExecutionResult struct {
	Output       *ProposedFact       `protobuf:"bytes,1,opt,name=output,proto3" json:"output,omitempty"`
	Result       ExecutionResultType `protobuf:"varint,2,opt,name=result,proto3,enum=contract.ExecutionResultType" json:"result,omitempty"`
	RecordedAt   time.Time           `protobuf:"bytes,3,opt,name=recorded_at,json=recordedAt,proto3,stdtime" json:"recorded_at" yaml:"recorded_at"`
	ErrorMessage string              `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"`
}

func (*ExecutionResult) Descriptor

func (*ExecutionResult) Descriptor() ([]byte, []int)

func (*ExecutionResult) GetErrorMessage

func (m *ExecutionResult) GetErrorMessage() string

func (*ExecutionResult) GetOutput

func (m *ExecutionResult) GetOutput() *ProposedFact

func (*ExecutionResult) GetRecordedAt

func (m *ExecutionResult) GetRecordedAt() time.Time

func (*ExecutionResult) GetResult

func (m *ExecutionResult) GetResult() ExecutionResultType

func (*ExecutionResult) Marshal

func (m *ExecutionResult) Marshal() (dAtA []byte, err error)

func (*ExecutionResult) MarshalTo

func (m *ExecutionResult) MarshalTo(dAtA []byte) (int, error)

func (*ExecutionResult) MarshalToSizedBuffer

func (m *ExecutionResult) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ExecutionResult) ProtoMessage

func (*ExecutionResult) ProtoMessage()

func (*ExecutionResult) Reset

func (m *ExecutionResult) Reset()

func (*ExecutionResult) Size

func (m *ExecutionResult) Size() (n int)

func (*ExecutionResult) String

func (m *ExecutionResult) String() string

func (*ExecutionResult) Unmarshal

func (m *ExecutionResult) Unmarshal(dAtA []byte) error

func (*ExecutionResult) XXX_DiscardUnknown

func (m *ExecutionResult) XXX_DiscardUnknown()

func (*ExecutionResult) XXX_Marshal

func (m *ExecutionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ExecutionResult) XXX_Merge

func (m *ExecutionResult) XXX_Merge(src proto.Message)

func (*ExecutionResult) XXX_Size

func (m *ExecutionResult) XXX_Size() int

func (*ExecutionResult) XXX_Unmarshal

func (m *ExecutionResult) XXX_Unmarshal(b []byte) error

type ExecutionResultType

type ExecutionResultType int32
const (
	ExecutionResultType_RESULT_TYPE_UNKNOWN ExecutionResultType = 0
	ExecutionResultType_RESULT_TYPE_PASS    ExecutionResultType = 1
	// Couldn't process the condition/consideration due to missing facts being generated by other considerations.
	ExecutionResultType_RESULT_TYPE_SKIP ExecutionResultType = 2
	ExecutionResultType_RESULT_TYPE_FAIL ExecutionResultType = 3
)

func (ExecutionResultType) EnumDescriptor

func (ExecutionResultType) EnumDescriptor() ([]byte, []int)

func (ExecutionResultType) String

func (x ExecutionResultType) String() string

type Fact

type Fact struct {
	Name         string    `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	DataLocation *Location `protobuf:"bytes,2,opt,name=data_location,json=dataLocation,proto3" json:"data_location,omitempty"`
}

Wrap a factual data element.

func (*Fact) Descriptor

func (*Fact) Descriptor() ([]byte, []int)

func (*Fact) GetDataLocation

func (m *Fact) GetDataLocation() *Location

func (*Fact) GetName

func (m *Fact) GetName() string

func (*Fact) Marshal

func (m *Fact) Marshal() (dAtA []byte, err error)

func (*Fact) MarshalTo

func (m *Fact) MarshalTo(dAtA []byte) (int, error)

func (*Fact) MarshalToSizedBuffer

func (m *Fact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Fact) ProtoMessage

func (*Fact) ProtoMessage()

func (*Fact) Reset

func (m *Fact) Reset()

func (*Fact) Size

func (m *Fact) Size() (n int)

func (*Fact) String

func (m *Fact) String() string

func (*Fact) Unmarshal

func (m *Fact) Unmarshal(dAtA []byte) error

func (*Fact) XXX_DiscardUnknown

func (m *Fact) XXX_DiscardUnknown()

func (*Fact) XXX_Marshal

func (m *Fact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Fact) XXX_Merge

func (m *Fact) XXX_Merge(src proto.Message)

func (*Fact) XXX_Size

func (m *Fact) XXX_Size() int

func (*Fact) XXX_Unmarshal

func (m *Fact) XXX_Unmarshal(b []byte) error

type GenesisState

type GenesisState struct {
	ScopeRecords []Scope `json:"scope_records,omitempty"`
	// NOTE: this comes from the v39 spec module that was merged in.  The migrate step should copy this over
	Specifications []ContractSpec `json:"specifications,omitempty"`
}

GenesisState is the head state of all scopes with history.

func DefaultGenesisState

func DefaultGenesisState() GenesisState

DefaultGenesisState returns a zero-value genesis state.

func (GenesisState) Validate

func (state GenesisState) Validate() error

Validate ensures the genesis state is valid.

type GogoTimeHack added in v0.1.5

type GogoTimeHack struct {
	Seconds int64 `protobuf:"varint,1,opt,name=seconds,proto3" json:"seconds,omitempty"`
	Nanos   int32 `protobuf:"varint,2,opt,name=nanos,proto3" json:"nanos,omitempty"`
}

proto 3 timestamp structure (hack to get around gogo issues with invalid dates)

func (*GogoTimeHack) Descriptor added in v0.1.5

func (*GogoTimeHack) Descriptor() ([]byte, []int)

func (*GogoTimeHack) GetNanos added in v0.1.5

func (m *GogoTimeHack) GetNanos() int32

func (*GogoTimeHack) GetSeconds added in v0.1.5

func (m *GogoTimeHack) GetSeconds() int64

func (*GogoTimeHack) Marshal added in v0.1.5

func (m *GogoTimeHack) Marshal() (dAtA []byte, err error)

func (*GogoTimeHack) MarshalTo added in v0.1.5

func (m *GogoTimeHack) MarshalTo(dAtA []byte) (int, error)

func (*GogoTimeHack) MarshalToSizedBuffer added in v0.1.5

func (m *GogoTimeHack) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*GogoTimeHack) ProtoMessage added in v0.1.5

func (*GogoTimeHack) ProtoMessage()

func (*GogoTimeHack) Reset added in v0.1.5

func (m *GogoTimeHack) Reset()

func (*GogoTimeHack) Size added in v0.1.5

func (m *GogoTimeHack) Size() (n int)

func (*GogoTimeHack) String added in v0.1.5

func (m *GogoTimeHack) String() string

func (*GogoTimeHack) Unmarshal added in v0.1.5

func (m *GogoTimeHack) Unmarshal(dAtA []byte) error

func (*GogoTimeHack) XXX_DiscardUnknown added in v0.1.5

func (m *GogoTimeHack) XXX_DiscardUnknown()

func (*GogoTimeHack) XXX_Marshal added in v0.1.5

func (m *GogoTimeHack) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*GogoTimeHack) XXX_Merge added in v0.1.5

func (m *GogoTimeHack) XXX_Merge(src proto.Message)

func (*GogoTimeHack) XXX_Size added in v0.1.5

func (m *GogoTimeHack) XXX_Size() int

func (*GogoTimeHack) XXX_Unmarshal added in v0.1.5

func (m *GogoTimeHack) XXX_Unmarshal(b []byte) error

type Location

type Location struct {
	Ref       *ProvenanceReference `protobuf:"bytes,1,opt,name=ref,proto3" json:"ref,omitempty"`
	Classname string               `protobuf:"bytes,2,opt,name=classname,proto3" json:"classname,omitempty"`
}

Wrap a location.

func (*Location) Descriptor

func (*Location) Descriptor() ([]byte, []int)

func (*Location) GetClassname

func (m *Location) GetClassname() string

func (*Location) GetRef

func (m *Location) GetRef() *ProvenanceReference

func (*Location) Marshal

func (m *Location) Marshal() (dAtA []byte, err error)

func (*Location) MarshalTo

func (m *Location) MarshalTo(dAtA []byte) (int, error)

func (*Location) MarshalToSizedBuffer

func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Location) ProtoMessage

func (*Location) ProtoMessage()

func (*Location) Reset

func (m *Location) Reset()

func (*Location) Size

func (m *Location) Size() (n int)

func (*Location) String

func (m *Location) String() string

func (*Location) Unmarshal

func (m *Location) Unmarshal(dAtA []byte) error

func (*Location) XXX_DiscardUnknown

func (m *Location) XXX_DiscardUnknown()

func (*Location) XXX_Marshal

func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Location) XXX_Merge

func (m *Location) XXX_Merge(src proto.Message)

func (*Location) XXX_Size

func (m *Location) XXX_Size() int

func (*Location) XXX_Unmarshal

func (m *Location) XXX_Unmarshal(b []byte) error

type MemorializeContractResponse

type MemorializeContractResponse struct {
}

MemorializeContractResponse from a contract execution memorialization request

func (*MemorializeContractResponse) Descriptor

func (*MemorializeContractResponse) Descriptor() ([]byte, []int)

func (*MemorializeContractResponse) Marshal

func (m *MemorializeContractResponse) Marshal() (dAtA []byte, err error)

func (*MemorializeContractResponse) MarshalTo

func (m *MemorializeContractResponse) MarshalTo(dAtA []byte) (int, error)

func (*MemorializeContractResponse) MarshalToSizedBuffer

func (m *MemorializeContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MemorializeContractResponse) ProtoMessage

func (*MemorializeContractResponse) ProtoMessage()

func (*MemorializeContractResponse) Reset

func (m *MemorializeContractResponse) Reset()

func (*MemorializeContractResponse) Size

func (m *MemorializeContractResponse) Size() (n int)

func (*MemorializeContractResponse) String

func (m *MemorializeContractResponse) String() string

func (*MemorializeContractResponse) Unmarshal

func (m *MemorializeContractResponse) Unmarshal(dAtA []byte) error

func (*MemorializeContractResponse) XXX_DiscardUnknown

func (m *MemorializeContractResponse) XXX_DiscardUnknown()

func (*MemorializeContractResponse) XXX_Marshal

func (m *MemorializeContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MemorializeContractResponse) XXX_Merge

func (m *MemorializeContractResponse) XXX_Merge(src proto.Message)

func (*MemorializeContractResponse) XXX_Size

func (m *MemorializeContractResponse) XXX_Size() int

func (*MemorializeContractResponse) XXX_Unmarshal

func (m *MemorializeContractResponse) XXX_Unmarshal(b []byte) error

type MsgChangeOwnershipRequest

type MsgChangeOwnershipRequest struct {
	// The scope of the object being modified on blockchain.
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	// The uuid of the contract execution.
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Unique identifier for determining contract/group execution instance
	ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// The recitals to use for the scope parties
	Recitals Recitals `protobuf:"bytes,4,opt,name=recitals,proto3" json:"recitals"`
	// The executed contract.
	Contract Contract `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract"`
	// The contract signatures
	Signatures SignatureSet `protobuf:"bytes,6,opt,name=signatures,proto3" json:"signatures"`
	// The address of the notary (ie the broadcaster of this message).
	Notary string `protobuf:"bytes,7,opt,name=notary,proto3" json:"notary,omitempty"`
}

MsgChangeOwnershipRequest records the result of a change ownership p8e contract execution

func (*MsgChangeOwnershipRequest) Descriptor

func (*MsgChangeOwnershipRequest) Descriptor() ([]byte, []int)

func (*MsgChangeOwnershipRequest) GetContract

func (m *MsgChangeOwnershipRequest) GetContract() Contract

func (*MsgChangeOwnershipRequest) GetExecutionId

func (m *MsgChangeOwnershipRequest) GetExecutionId() string

func (*MsgChangeOwnershipRequest) GetGroupId

func (m *MsgChangeOwnershipRequest) GetGroupId() string

func (*MsgChangeOwnershipRequest) GetNotary

func (m *MsgChangeOwnershipRequest) GetNotary() string

func (*MsgChangeOwnershipRequest) GetRecitals

func (m *MsgChangeOwnershipRequest) GetRecitals() Recitals

func (*MsgChangeOwnershipRequest) GetScopeId

func (m *MsgChangeOwnershipRequest) GetScopeId() string

func (*MsgChangeOwnershipRequest) GetSignatures

func (m *MsgChangeOwnershipRequest) GetSignatures() SignatureSet

func (*MsgChangeOwnershipRequest) Marshal

func (m *MsgChangeOwnershipRequest) Marshal() (dAtA []byte, err error)

func (*MsgChangeOwnershipRequest) MarshalTo

func (m *MsgChangeOwnershipRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgChangeOwnershipRequest) MarshalToSizedBuffer

func (m *MsgChangeOwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgChangeOwnershipRequest) ProtoMessage

func (*MsgChangeOwnershipRequest) ProtoMessage()

func (*MsgChangeOwnershipRequest) Reset

func (m *MsgChangeOwnershipRequest) Reset()

func (*MsgChangeOwnershipRequest) Size

func (m *MsgChangeOwnershipRequest) Size() (n int)

func (*MsgChangeOwnershipRequest) String

func (m *MsgChangeOwnershipRequest) String() string

func (*MsgChangeOwnershipRequest) Unmarshal

func (m *MsgChangeOwnershipRequest) Unmarshal(dAtA []byte) error

func (*MsgChangeOwnershipRequest) XXX_DiscardUnknown

func (m *MsgChangeOwnershipRequest) XXX_DiscardUnknown()

func (*MsgChangeOwnershipRequest) XXX_Marshal

func (m *MsgChangeOwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgChangeOwnershipRequest) XXX_Merge

func (m *MsgChangeOwnershipRequest) XXX_Merge(src proto.Message)

func (*MsgChangeOwnershipRequest) XXX_Size

func (m *MsgChangeOwnershipRequest) XXX_Size() int

func (*MsgChangeOwnershipRequest) XXX_Unmarshal

func (m *MsgChangeOwnershipRequest) XXX_Unmarshal(b []byte) error

type MsgClient

type MsgClient interface {
	// MemorializeContract records the results of a P8e contract execution as a record group and set of records in a scope
	MemorializeContract(ctx context.Context, in *MsgMemorializeContractRequest, opts ...grpc.CallOption) (*MemorializeContractResponse, error)
	// ChangeOwnership allows P8e contracts to record a new set of owners on a scope
	ChangeOwnership(ctx context.Context, in *MsgChangeOwnershipRequest, opts ...grpc.CallOption) (*ChangeOwnershipResponse, error)
}

MsgClient is the client API for Msg service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewMsgClient

func NewMsgClient(cc grpc1.ClientConn) MsgClient

type MsgMemorializeContractRequest

type MsgMemorializeContractRequest struct {
	// The scope of the object being modified on blockchain.
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
	// The uuid of the contract execution.
	GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"`
	// Unique identifier for determining contract/group execution instance
	ExecutionId string `protobuf:"bytes,3,opt,name=execution_id,json=executionId,proto3" json:"execution_id,omitempty"`
	// The executed contract.
	Contract Contract `protobuf:"bytes,4,opt,name=contract,proto3" json:"contract"`
	// The contract signatures
	Signatures SignatureSet `protobuf:"bytes,5,opt,name=signatures,proto3" json:"signatures"`
	// ID of the scope snapshot reference for executing
	ScopeRefID string `protobuf:"bytes,6,opt,name=ScopeRefID,proto3" json:"ScopeRefID,omitempty"`
	// The address of the notary (ie the broadcaster of this message).
	Notary string `protobuf:"bytes,7,opt,name=notary,proto3" json:"notary,omitempty"`
}

MsgMemorializeContractRequest is a request from a P8e execution environment to record results of a contract

func (*MsgMemorializeContractRequest) Descriptor

func (*MsgMemorializeContractRequest) Descriptor() ([]byte, []int)

func (*MsgMemorializeContractRequest) GetContract

func (m *MsgMemorializeContractRequest) GetContract() Contract

func (*MsgMemorializeContractRequest) GetExecutionId

func (m *MsgMemorializeContractRequest) GetExecutionId() string

func (*MsgMemorializeContractRequest) GetGroupId

func (m *MsgMemorializeContractRequest) GetGroupId() string

func (*MsgMemorializeContractRequest) GetNotary

func (m *MsgMemorializeContractRequest) GetNotary() string

func (*MsgMemorializeContractRequest) GetScopeId

func (m *MsgMemorializeContractRequest) GetScopeId() string

func (*MsgMemorializeContractRequest) GetScopeRefID

func (m *MsgMemorializeContractRequest) GetScopeRefID() string

func (*MsgMemorializeContractRequest) GetSignatures

func (m *MsgMemorializeContractRequest) GetSignatures() SignatureSet

func (*MsgMemorializeContractRequest) Marshal

func (m *MsgMemorializeContractRequest) Marshal() (dAtA []byte, err error)

func (*MsgMemorializeContractRequest) MarshalTo

func (m *MsgMemorializeContractRequest) MarshalTo(dAtA []byte) (int, error)

func (*MsgMemorializeContractRequest) MarshalToSizedBuffer

func (m *MsgMemorializeContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*MsgMemorializeContractRequest) ProtoMessage

func (*MsgMemorializeContractRequest) ProtoMessage()

func (*MsgMemorializeContractRequest) Reset

func (m *MsgMemorializeContractRequest) Reset()

func (*MsgMemorializeContractRequest) Size

func (m *MsgMemorializeContractRequest) Size() (n int)

func (*MsgMemorializeContractRequest) String

func (*MsgMemorializeContractRequest) Unmarshal

func (m *MsgMemorializeContractRequest) Unmarshal(dAtA []byte) error

func (*MsgMemorializeContractRequest) XXX_DiscardUnknown

func (m *MsgMemorializeContractRequest) XXX_DiscardUnknown()

func (*MsgMemorializeContractRequest) XXX_Marshal

func (m *MsgMemorializeContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*MsgMemorializeContractRequest) XXX_Merge

func (m *MsgMemorializeContractRequest) XXX_Merge(src proto.Message)

func (*MsgMemorializeContractRequest) XXX_Size

func (m *MsgMemorializeContractRequest) XXX_Size() int

func (*MsgMemorializeContractRequest) XXX_Unmarshal

func (m *MsgMemorializeContractRequest) XXX_Unmarshal(b []byte) error

type MsgServer

type MsgServer interface {
	// MemorializeContract records the results of a P8e contract execution as a record group and set of records in a scope
	MemorializeContract(context.Context, *MsgMemorializeContractRequest) (*MemorializeContractResponse, error)
	// ChangeOwnership allows P8e contracts to record a new set of owners on a scope
	ChangeOwnership(context.Context, *MsgChangeOwnershipRequest) (*ChangeOwnershipResponse, error)
}

MsgServer is the server API for Msg service.

type OutputSpec

type OutputSpec struct {
	Spec *DefinitionSpec `protobuf:"bytes,1,opt,name=spec,proto3" json:"spec,omitempty"`
}

func (*OutputSpec) Descriptor

func (*OutputSpec) Descriptor() ([]byte, []int)

func (*OutputSpec) GetSpec

func (m *OutputSpec) GetSpec() *DefinitionSpec

func (*OutputSpec) Marshal

func (m *OutputSpec) Marshal() (dAtA []byte, err error)

func (*OutputSpec) MarshalTo

func (m *OutputSpec) MarshalTo(dAtA []byte) (int, error)

func (*OutputSpec) MarshalToSizedBuffer

func (m *OutputSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*OutputSpec) ProtoMessage

func (*OutputSpec) ProtoMessage()

func (*OutputSpec) Reset

func (m *OutputSpec) Reset()

func (*OutputSpec) Size

func (m *OutputSpec) Size() (n int)

func (*OutputSpec) String

func (m *OutputSpec) String() string

func (*OutputSpec) Unmarshal

func (m *OutputSpec) Unmarshal(dAtA []byte) error

func (*OutputSpec) XXX_DiscardUnknown

func (m *OutputSpec) XXX_DiscardUnknown()

func (*OutputSpec) XXX_Marshal

func (m *OutputSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*OutputSpec) XXX_Merge

func (m *OutputSpec) XXX_Merge(src proto.Message)

func (*OutputSpec) XXX_Size

func (m *OutputSpec) XXX_Size() int

func (*OutputSpec) XXX_Unmarshal

func (m *OutputSpec) XXX_Unmarshal(b []byte) error

type PartyType

type PartyType int32
const (
	PartyType_PARTY_TYPE_UNKNOWN    PartyType = 0
	PartyType_PARTY_TYPE_ORIGINATOR PartyType = 1
	PartyType_PARTY_TYPE_SERVICER   PartyType = 2
	PartyType_PARTY_TYPE_INVESTOR   PartyType = 3
	PartyType_PARTY_TYPE_CUSTODIAN  PartyType = 4
	PartyType_PARTY_TYPE_OWNER      PartyType = 5
	PartyType_PARTY_TYPE_AFFILIATE  PartyType = 6
	PartyType_PARTY_TYPE_OMNIBUS    PartyType = 7
	PartyType_PARTY_TYPE_PROVENANCE PartyType = 8
	PartyType_PARTY_TYPE_MARKER     PartyType = 9
)

func (PartyType) EnumDescriptor

func (PartyType) EnumDescriptor() ([]byte, []int)

func (PartyType) String

func (x PartyType) String() string

type ProposedFact

type ProposedFact struct {
	Name      string               `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	Hash      string               `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	Classname string               `protobuf:"bytes,3,opt,name=classname,proto3" json:"classname,omitempty"`
	Ancestor  *ProvenanceReference `protobuf:"bytes,4,opt,name=ancestor,proto3" json:"ancestor,omitempty"`
}

Input to a consideration defined at runtime, and emitted as a proposed fact for inclusion on the blockchain.

func (*ProposedFact) Descriptor

func (*ProposedFact) Descriptor() ([]byte, []int)

func (*ProposedFact) GetAncestor

func (m *ProposedFact) GetAncestor() *ProvenanceReference

func (*ProposedFact) GetClassname

func (m *ProposedFact) GetClassname() string

func (*ProposedFact) GetHash

func (m *ProposedFact) GetHash() string

func (*ProposedFact) GetName

func (m *ProposedFact) GetName() string

func (*ProposedFact) Marshal

func (m *ProposedFact) Marshal() (dAtA []byte, err error)

func (*ProposedFact) MarshalTo

func (m *ProposedFact) MarshalTo(dAtA []byte) (int, error)

func (*ProposedFact) MarshalToSizedBuffer

func (m *ProposedFact) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProposedFact) ProtoMessage

func (*ProposedFact) ProtoMessage()

func (*ProposedFact) Reset

func (m *ProposedFact) Reset()

func (*ProposedFact) Size

func (m *ProposedFact) Size() (n int)

func (*ProposedFact) String

func (m *ProposedFact) String() string

func (*ProposedFact) Unmarshal

func (m *ProposedFact) Unmarshal(dAtA []byte) error

func (*ProposedFact) XXX_DiscardUnknown

func (m *ProposedFact) XXX_DiscardUnknown()

func (*ProposedFact) XXX_Marshal

func (m *ProposedFact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProposedFact) XXX_Merge

func (m *ProposedFact) XXX_Merge(src proto.Message)

func (*ProposedFact) XXX_Size

func (m *ProposedFact) XXX_Size() int

func (*ProposedFact) XXX_Unmarshal

func (m *ProposedFact) XXX_Unmarshal(b []byte) error

type ProvenanceReference

type ProvenanceReference struct {
	// [Req] [Scope.uuid]
	// Scope ID
	ScopeUuid *UUID `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty"`
	// [Opt] [RecordGroup.group_uuid]
	// require record to be within a specific group
	GroupUuid *UUID `protobuf:"bytes,2,opt,name=group_uuid,json=groupUuid,proto3" json:"group_uuid,omitempty"`
	// [Opt] [Record.result_hash]
	// specify a specific record inside a scope (and group) by result-hash
	Hash string `protobuf:"bytes,3,opt,name=hash,proto3" json:"hash,omitempty"`
	// [Opt] [Record.result_name]
	// specify a result-name of a record within a scope
	Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"name,omitempty"`
}

func (*ProvenanceReference) Descriptor

func (*ProvenanceReference) Descriptor() ([]byte, []int)

func (*ProvenanceReference) GetGroupUuid

func (m *ProvenanceReference) GetGroupUuid() *UUID

func (*ProvenanceReference) GetHash

func (m *ProvenanceReference) GetHash() string

func (*ProvenanceReference) GetName

func (m *ProvenanceReference) GetName() string

func (*ProvenanceReference) GetScopeUuid

func (m *ProvenanceReference) GetScopeUuid() *UUID

func (*ProvenanceReference) Marshal

func (m *ProvenanceReference) Marshal() (dAtA []byte, err error)

func (*ProvenanceReference) MarshalTo

func (m *ProvenanceReference) MarshalTo(dAtA []byte) (int, error)

func (*ProvenanceReference) MarshalToSizedBuffer

func (m *ProvenanceReference) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ProvenanceReference) ProtoMessage

func (*ProvenanceReference) ProtoMessage()

func (*ProvenanceReference) Reset

func (m *ProvenanceReference) Reset()

func (*ProvenanceReference) Size

func (m *ProvenanceReference) Size() (n int)

func (*ProvenanceReference) String

func (m *ProvenanceReference) String() string

func (*ProvenanceReference) Unmarshal

func (m *ProvenanceReference) Unmarshal(dAtA []byte) error

func (*ProvenanceReference) XXX_DiscardUnknown

func (m *ProvenanceReference) XXX_DiscardUnknown()

func (*ProvenanceReference) XXX_Marshal

func (m *ProvenanceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ProvenanceReference) XXX_Merge

func (m *ProvenanceReference) XXX_Merge(src proto.Message)

func (*ProvenanceReference) XXX_Size

func (m *ProvenanceReference) XXX_Size() int

func (*ProvenanceReference) XXX_Unmarshal

func (m *ProvenanceReference) XXX_Unmarshal(b []byte) error

type PublicKey

type PublicKey struct {
	PublicKeyBytes []byte         `protobuf:"bytes,1,opt,name=public_key_bytes,json=publicKeyBytes,proto3" json:"public_key_bytes,omitempty"`
	Type           PublicKeyType  `protobuf:"varint,2,opt,name=type,proto3,enum=types.PublicKeyType" json:"type,omitempty"`
	Curve          PublicKeyCurve `protobuf:"varint,3,opt,name=curve,proto3,enum=types.PublicKeyCurve" json:"curve,omitempty"`
}

func (*PublicKey) Descriptor

func (*PublicKey) Descriptor() ([]byte, []int)

func (*PublicKey) GetCurve

func (m *PublicKey) GetCurve() PublicKeyCurve

func (*PublicKey) GetPublicKeyBytes

func (m *PublicKey) GetPublicKeyBytes() []byte

func (*PublicKey) GetType

func (m *PublicKey) GetType() PublicKeyType

func (*PublicKey) Marshal

func (m *PublicKey) Marshal() (dAtA []byte, err error)

func (*PublicKey) MarshalTo

func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)

func (*PublicKey) MarshalToSizedBuffer

func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*PublicKey) ProtoMessage

func (*PublicKey) ProtoMessage()

func (*PublicKey) Reset

func (m *PublicKey) Reset()

func (*PublicKey) Size

func (m *PublicKey) Size() (n int)

func (*PublicKey) String

func (m *PublicKey) String() string

func (*PublicKey) Unmarshal

func (m *PublicKey) Unmarshal(dAtA []byte) error

func (*PublicKey) XXX_DiscardUnknown

func (m *PublicKey) XXX_DiscardUnknown()

func (*PublicKey) XXX_Marshal

func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*PublicKey) XXX_Merge

func (m *PublicKey) XXX_Merge(src proto.Message)

func (*PublicKey) XXX_Size

func (m *PublicKey) XXX_Size() int

func (*PublicKey) XXX_Unmarshal

func (m *PublicKey) XXX_Unmarshal(b []byte) error

type PublicKeyCurve

type PublicKeyCurve int32
const (
	PublicKeyCurve_SECP256K1 PublicKeyCurve = 0
	PublicKeyCurve_P256      PublicKeyCurve = 1
)

func (PublicKeyCurve) EnumDescriptor

func (PublicKeyCurve) EnumDescriptor() ([]byte, []int)

func (PublicKeyCurve) String

func (x PublicKeyCurve) String() string

type PublicKeyType

type PublicKeyType int32
const (
	PublicKeyType_ELLIPTIC PublicKeyType = 0
)

func (PublicKeyType) EnumDescriptor

func (PublicKeyType) EnumDescriptor() ([]byte, []int)

func (PublicKeyType) String

func (x PublicKeyType) String() string

type QueryClient

type QueryClient interface {
	// Scope returns a specific scope by id
	Scope(ctx context.Context, in *ScopeRequest, opts ...grpc.CallOption) (*ScopeResponse, error)
}

QueryClient is the client API for Query service.

For semantics around ctx use and closing/ending streaming RPCs, please refer to https://godoc.org/google.golang.org/grpc#ClientConn.NewStream.

func NewQueryClient

func NewQueryClient(cc grpc1.ClientConn) QueryClient

type QueryServer

type QueryServer interface {
	// Scope returns a specific scope by id
	Scope(context.Context, *ScopeRequest) (*ScopeResponse, error)
}

QueryServer is the server API for Query service.

type Recital

type Recital struct {
	SignerRole PartyType                       `protobuf:"varint,1,opt,name=signer_role,json=signerRole,proto3,enum=types.PartyType" json:"signer_role,omitempty"`
	Signer     *SigningAndEncryptionPublicKeys `protobuf:"bytes,2,opt,name=signer,proto3" json:"signer,omitempty"`
	Address    []byte                          `protobuf:"bytes,3,opt,name=address,proto3" json:"address,omitempty"`
}

func (*Recital) Descriptor

func (*Recital) Descriptor() ([]byte, []int)

func (*Recital) GetAddress

func (m *Recital) GetAddress() []byte

func (*Recital) GetSigner

func (m *Recital) GetSigner() *SigningAndEncryptionPublicKeys

func (*Recital) GetSignerRole

func (m *Recital) GetSignerRole() PartyType

func (*Recital) Marshal

func (m *Recital) Marshal() (dAtA []byte, err error)

func (*Recital) MarshalTo

func (m *Recital) MarshalTo(dAtA []byte) (int, error)

func (*Recital) MarshalToSizedBuffer

func (m *Recital) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Recital) ProtoMessage

func (*Recital) ProtoMessage()

func (*Recital) Reset

func (m *Recital) Reset()

func (*Recital) Size

func (m *Recital) Size() (n int)

func (*Recital) String

func (m *Recital) String() string

func (*Recital) Unmarshal

func (m *Recital) Unmarshal(dAtA []byte) error

func (*Recital) XXX_DiscardUnknown

func (m *Recital) XXX_DiscardUnknown()

func (*Recital) XXX_Marshal

func (m *Recital) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Recital) XXX_Merge

func (m *Recital) XXX_Merge(src proto.Message)

func (*Recital) XXX_Size

func (m *Recital) XXX_Size() int

func (*Recital) XXX_Unmarshal

func (m *Recital) XXX_Unmarshal(b []byte) error

type Recitals

type Recitals struct {
	Parties []*Recital `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"`
}

func (*Recitals) Descriptor

func (*Recitals) Descriptor() ([]byte, []int)

func (*Recitals) GetParties

func (m *Recitals) GetParties() []*Recital

func (*Recitals) Marshal

func (m *Recitals) Marshal() (dAtA []byte, err error)

func (*Recitals) MarshalTo

func (m *Recitals) MarshalTo(dAtA []byte) (int, error)

func (*Recitals) MarshalToSizedBuffer

func (m *Recitals) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Recitals) ProtoMessage

func (*Recitals) ProtoMessage()

func (*Recitals) Reset

func (m *Recitals) Reset()

func (*Recitals) Size

func (m *Recitals) Size() (n int)

func (*Recitals) String

func (m *Recitals) String() string

func (*Recitals) Unmarshal

func (m *Recitals) Unmarshal(dAtA []byte) error

func (*Recitals) XXX_DiscardUnknown

func (m *Recitals) XXX_DiscardUnknown()

func (*Recitals) XXX_Marshal

func (m *Recitals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Recitals) XXX_Merge

func (m *Recitals) XXX_Merge(src proto.Message)

func (*Recitals) XXX_Size

func (m *Recitals) XXX_Size() int

func (*Recitals) XXX_Unmarshal

func (m *Recitals) XXX_Unmarshal(b []byte) error

type Record

type Record struct {
	// ConsiderationSpec.func_name <--> ConsiderationProto.consideration_name (method on the classname below that
	// generated this)
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// ConsiderationSpec.outputSpec.spec.resourceLocation.ref.hash (this is the hash of the consideration which generated
	// the record, see also result_hash)
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// ContractSpec.definition.resourceLocation.classname (class that contains the method 'name' as given above)
	Classname string `protobuf:"bytes,3,opt,name=classname,proto3" json:"classname,omitempty"`
	// ConsiderationProto.inputs for reference with ConsiderationSpec.input_spec for type
	Inputs []*RecordInput `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// ConsiderationProto.result.result      (indicates SKIP [not allowed], PASS, or FAIL result)
	Result ExecutionResultType `protobuf:"varint,5,opt,name=result,proto3,enum=contract.ExecutionResultType" json:"result,omitempty"`
	// ConsiderationProto.result.output.name
	ResultName string `protobuf:"bytes,6,opt,name=result_name,json=resultName,proto3" json:"result_name,omitempty"`
	// ConsiderationProto.result.output.hash (the hash of the data output from the consideration)
	ResultHash string `protobuf:"bytes,7,opt,name=result_hash,json=resultHash,proto3" json:"result_hash,omitempty"`
}

A record (of fact) is attached to an group or each consideration output from a contract.

func (*Record) Descriptor

func (*Record) Descriptor() ([]byte, []int)

func (*Record) GetClassname

func (m *Record) GetClassname() string

func (*Record) GetHash

func (m *Record) GetHash() string

func (*Record) GetInputs

func (m *Record) GetInputs() []*RecordInput

func (*Record) GetName

func (m *Record) GetName() string

func (*Record) GetResult

func (m *Record) GetResult() ExecutionResultType

func (*Record) GetResultHash

func (m *Record) GetResultHash() string

func (*Record) GetResultName

func (m *Record) GetResultName() string

func (*Record) Marshal

func (m *Record) Marshal() (dAtA []byte, err error)

func (*Record) MarshalTo

func (m *Record) MarshalTo(dAtA []byte) (int, error)

func (*Record) MarshalToSizedBuffer

func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) Size

func (m *Record) Size() (n int)

func (*Record) String

func (m *Record) String() string

func (*Record) Unmarshal

func (m *Record) Unmarshal(dAtA []byte) error

func (*Record) XXX_DiscardUnknown

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal

func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Record) XXX_Merge

func (m *Record) XXX_Merge(src proto.Message)

func (*Record) XXX_Size

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal

func (m *Record) XXX_Unmarshal(b []byte) error

type RecordGroup

type RecordGroup struct {
	// contract.spec.data_location.hash -- the specific contract specification that was used to create this group.
	Specification string `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"`
	// Unique ID for building up ProvenanceReferences.  Set to the value on of group_uuid on the incoming contract ref.
	GroupUuid *UUID `protobuf:"bytes,2,opt,name=group_uuid,json=groupUuid,proto3" json:"group_uuid,omitempty"`
	// Identity that is memorializing this contract
	Executor *SigningAndEncryptionPublicKeys `protobuf:"bytes,3,opt,name=executor,proto3" json:"executor,omitempty"`
	// Set of identities that signed this contract
	Parties []*Recital `protobuf:"bytes,4,rep,name=parties,proto3" json:"parties,omitempty"`
	// Accumulated records (of fact) resulting from Considerations
	Records []*Record `protobuf:"bytes,5,rep,name=records,proto3" json:"records,omitempty"`
	// name of the class associated with this record group specification
	Classname string `protobuf:"bytes,6,opt,name=classname,proto3" json:"classname,omitempty"`
	// Created by, updated by, timestamps, version number, and related info.
	Audit *AuditFields `protobuf:"bytes,99,opt,name=audit,proto3" json:"audit,omitempty"`
}

An record group is created for each contract memorialized against a scope. This tracks who controls each record for future use.

func (*RecordGroup) Descriptor

func (*RecordGroup) Descriptor() ([]byte, []int)

func (*RecordGroup) GetAudit

func (m *RecordGroup) GetAudit() *AuditFields

func (*RecordGroup) GetClassname

func (m *RecordGroup) GetClassname() string

func (*RecordGroup) GetExecutor

func (m *RecordGroup) GetExecutor() *SigningAndEncryptionPublicKeys

func (*RecordGroup) GetGroupUuid

func (m *RecordGroup) GetGroupUuid() *UUID

func (*RecordGroup) GetParties

func (m *RecordGroup) GetParties() []*Recital

func (*RecordGroup) GetRecords

func (m *RecordGroup) GetRecords() []*Record

func (*RecordGroup) GetSpecification

func (m *RecordGroup) GetSpecification() string

func (*RecordGroup) Marshal

func (m *RecordGroup) Marshal() (dAtA []byte, err error)

func (*RecordGroup) MarshalTo

func (m *RecordGroup) MarshalTo(dAtA []byte) (int, error)

func (*RecordGroup) MarshalToSizedBuffer

func (m *RecordGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RecordGroup) ProtoMessage

func (*RecordGroup) ProtoMessage()

func (*RecordGroup) Reset

func (m *RecordGroup) Reset()

func (*RecordGroup) Size

func (m *RecordGroup) Size() (n int)

func (*RecordGroup) String

func (m *RecordGroup) String() string

func (*RecordGroup) Unmarshal

func (m *RecordGroup) Unmarshal(dAtA []byte) error

func (*RecordGroup) XXX_DiscardUnknown

func (m *RecordGroup) XXX_DiscardUnknown()

func (*RecordGroup) XXX_Marshal

func (m *RecordGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordGroup) XXX_Merge

func (m *RecordGroup) XXX_Merge(src proto.Message)

func (*RecordGroup) XXX_Size

func (m *RecordGroup) XXX_Size() int

func (*RecordGroup) XXX_Unmarshal

func (m *RecordGroup) XXX_Unmarshal(b []byte) error

type RecordInput

type RecordInput struct {
	// Name value included to link back to the definition spec.
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// For proposed facts we only have the hash ... for facts this hash maps to something in the input list.
	Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"`
	// from proposed fact structure to unmarshal
	Classname string `protobuf:"bytes,3,opt,name=classname,proto3" json:"classname,omitempty"`
	// Indicates if this input was a recorded fact on chain or just a given hashed input
	Type RecordInputType `protobuf:"varint,4,opt,name=type,proto3,enum=scope.RecordInputType" json:"type,omitempty"`
}

Tracks the inputs used with a Consideration to establish the output record. FACT references must have come from the input fact list. For proposed we will only have the hash

func (*RecordInput) Descriptor

func (*RecordInput) Descriptor() ([]byte, []int)

func (*RecordInput) GetClassname

func (m *RecordInput) GetClassname() string

func (*RecordInput) GetHash

func (m *RecordInput) GetHash() string

func (*RecordInput) GetName

func (m *RecordInput) GetName() string

func (*RecordInput) GetType

func (m *RecordInput) GetType() RecordInputType

func (*RecordInput) Marshal

func (m *RecordInput) Marshal() (dAtA []byte, err error)

func (*RecordInput) MarshalTo

func (m *RecordInput) MarshalTo(dAtA []byte) (int, error)

func (*RecordInput) MarshalToSizedBuffer

func (m *RecordInput) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*RecordInput) ProtoMessage

func (*RecordInput) ProtoMessage()

func (*RecordInput) Reset

func (m *RecordInput) Reset()

func (*RecordInput) Size

func (m *RecordInput) Size() (n int)

func (*RecordInput) String

func (m *RecordInput) String() string

func (*RecordInput) Unmarshal

func (m *RecordInput) Unmarshal(dAtA []byte) error

func (*RecordInput) XXX_DiscardUnknown

func (m *RecordInput) XXX_DiscardUnknown()

func (*RecordInput) XXX_Marshal

func (m *RecordInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*RecordInput) XXX_Merge

func (m *RecordInput) XXX_Merge(src proto.Message)

func (*RecordInput) XXX_Size

func (m *RecordInput) XXX_Size() int

func (*RecordInput) XXX_Unmarshal

func (m *RecordInput) XXX_Unmarshal(b []byte) error

type RecordInputType

type RecordInputType int32

RecordInputType indicates if an input is data on or off chain.

const (
	// invalid status
	RecordInputType_RECORD_INPUT_TYPE_UNKNOWN RecordInputType = 0
	// input is proposed data for recording to the blockchain
	RecordInputType_RECORD_INPUT_TYPE_PROPOSED RecordInputType = 1
	// input is a data element referencing an existing scope/record on chain
	RecordInputType_RECORD_INPUT_TYPE_FACT RecordInputType = 2
)

func (RecordInputType) EnumDescriptor

func (RecordInputType) EnumDescriptor() ([]byte, []int)

func (RecordInputType) String

func (x RecordInputType) String() string

type Scope

type Scope struct {
	// Unique ID for building up ProvenanceReferences
	Uuid *UUID `protobuf:"bytes,1,opt,name=uuid,proto3" json:"uuid,omitempty"`
	// Required parties on this scope.  These are union with any contract specific recital requirements
	Parties []*Recital `protobuf:"bytes,2,rep,name=parties,proto3" json:"parties,omitempty"`
	// Each contract memorialized in this scope is stored in this list of contract_group.  The list of groups is keyed
	// as a hashmap based on the contract_spec_ref as a unique key.
	RecordGroup []*RecordGroup `protobuf:"bytes,3,rep,name=record_group,json=recordGroup,proto3" json:"record_group,omitempty"`
	// Last event that resulted in scope changes.
	LastEvent *Event `protobuf:"bytes,4,opt,name=last_event,json=lastEvent,proto3" json:"last_event,omitempty"`
}

A ContractScope is a context that binds multiple p8e working together to create a set of facts managed a defined set of affiliates.

func (*Scope) Descriptor

func (*Scope) Descriptor() ([]byte, []int)

func (*Scope) GetLastEvent

func (m *Scope) GetLastEvent() *Event

func (*Scope) GetParties

func (m *Scope) GetParties() []*Recital

func (*Scope) GetRecordGroup

func (m *Scope) GetRecordGroup() []*RecordGroup

func (*Scope) GetUuid

func (m *Scope) GetUuid() *UUID

func (*Scope) Marshal

func (m *Scope) Marshal() (dAtA []byte, err error)

func (*Scope) MarshalTo

func (m *Scope) MarshalTo(dAtA []byte) (int, error)

func (*Scope) MarshalToSizedBuffer

func (m *Scope) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) Reset

func (m *Scope) Reset()

func (*Scope) Size

func (m *Scope) Size() (n int)

func (*Scope) String

func (m *Scope) String() string

func (*Scope) Unmarshal

func (m *Scope) Unmarshal(dAtA []byte) error

func (*Scope) XXX_DiscardUnknown

func (m *Scope) XXX_DiscardUnknown()

func (*Scope) XXX_Marshal

func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Scope) XXX_Merge

func (m *Scope) XXX_Merge(src proto.Message)

func (*Scope) XXX_Size

func (m *Scope) XXX_Size() int

func (*Scope) XXX_Unmarshal

func (m *Scope) XXX_Unmarshal(b []byte) error

type ScopeCollection

type ScopeCollection struct {
	Scopes []*Scope `protobuf:"bytes,1,rep,name=scopes,proto3" json:"scopes,omitempty"`
}

A collection wrapper around scopes

func (*ScopeCollection) Descriptor

func (*ScopeCollection) Descriptor() ([]byte, []int)

func (*ScopeCollection) GetScopes

func (m *ScopeCollection) GetScopes() []*Scope

func (*ScopeCollection) Marshal

func (m *ScopeCollection) Marshal() (dAtA []byte, err error)

func (*ScopeCollection) MarshalTo

func (m *ScopeCollection) MarshalTo(dAtA []byte) (int, error)

func (*ScopeCollection) MarshalToSizedBuffer

func (m *ScopeCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeCollection) ProtoMessage

func (*ScopeCollection) ProtoMessage()

func (*ScopeCollection) Reset

func (m *ScopeCollection) Reset()

func (*ScopeCollection) Size

func (m *ScopeCollection) Size() (n int)

func (*ScopeCollection) String

func (m *ScopeCollection) String() string

func (*ScopeCollection) Unmarshal

func (m *ScopeCollection) Unmarshal(dAtA []byte) error

func (*ScopeCollection) XXX_DiscardUnknown

func (m *ScopeCollection) XXX_DiscardUnknown()

func (*ScopeCollection) XXX_Marshal

func (m *ScopeCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeCollection) XXX_Merge

func (m *ScopeCollection) XXX_Merge(src proto.Message)

func (*ScopeCollection) XXX_Size

func (m *ScopeCollection) XXX_Size() int

func (*ScopeCollection) XXX_Unmarshal

func (m *ScopeCollection) XXX_Unmarshal(b []byte) error

type ScopeRequest

type ScopeRequest struct {
	ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"`
}

ScopeRequest is used for requesting a scope by id

func (*ScopeRequest) Descriptor

func (*ScopeRequest) Descriptor() ([]byte, []int)

func (*ScopeRequest) GetScopeId

func (m *ScopeRequest) GetScopeId() string

func (*ScopeRequest) Marshal

func (m *ScopeRequest) Marshal() (dAtA []byte, err error)

func (*ScopeRequest) MarshalTo

func (m *ScopeRequest) MarshalTo(dAtA []byte) (int, error)

func (*ScopeRequest) MarshalToSizedBuffer

func (m *ScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeRequest) ProtoMessage

func (*ScopeRequest) ProtoMessage()

func (*ScopeRequest) Reset

func (m *ScopeRequest) Reset()

func (*ScopeRequest) Size

func (m *ScopeRequest) Size() (n int)

func (*ScopeRequest) String

func (m *ScopeRequest) String() string

func (*ScopeRequest) Unmarshal

func (m *ScopeRequest) Unmarshal(dAtA []byte) error

func (*ScopeRequest) XXX_DiscardUnknown

func (m *ScopeRequest) XXX_DiscardUnknown()

func (*ScopeRequest) XXX_Marshal

func (m *ScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeRequest) XXX_Merge

func (m *ScopeRequest) XXX_Merge(src proto.Message)

func (*ScopeRequest) XXX_Size

func (m *ScopeRequest) XXX_Size() int

func (*ScopeRequest) XXX_Unmarshal

func (m *ScopeRequest) XXX_Unmarshal(b []byte) error

type ScopeResponse

type ScopeResponse struct {
	Scope Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope"`
}

ScopeResponse is the response to a scope request.

func (*ScopeResponse) Descriptor

func (*ScopeResponse) Descriptor() ([]byte, []int)

func (*ScopeResponse) GetScope

func (m *ScopeResponse) GetScope() Scope

func (*ScopeResponse) Marshal

func (m *ScopeResponse) Marshal() (dAtA []byte, err error)

func (*ScopeResponse) MarshalTo

func (m *ScopeResponse) MarshalTo(dAtA []byte) (int, error)

func (*ScopeResponse) MarshalToSizedBuffer

func (m *ScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*ScopeResponse) ProtoMessage

func (*ScopeResponse) ProtoMessage()

func (*ScopeResponse) Reset

func (m *ScopeResponse) Reset()

func (*ScopeResponse) Size

func (m *ScopeResponse) Size() (n int)

func (*ScopeResponse) String

func (m *ScopeResponse) String() string

func (*ScopeResponse) Unmarshal

func (m *ScopeResponse) Unmarshal(dAtA []byte) error

func (*ScopeResponse) XXX_DiscardUnknown

func (m *ScopeResponse) XXX_DiscardUnknown()

func (*ScopeResponse) XXX_Marshal

func (m *ScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*ScopeResponse) XXX_Merge

func (m *ScopeResponse) XXX_Merge(src proto.Message)

func (*ScopeResponse) XXX_Size

func (m *ScopeResponse) XXX_Size() int

func (*ScopeResponse) XXX_Unmarshal

func (m *ScopeResponse) XXX_Unmarshal(b []byte) error

type Signature

type Signature struct {
	// Signature Detail
	Algo      string `protobuf:"bytes,1,opt,name=algo,proto3" json:"algo,omitempty"`
	Provider  string `protobuf:"bytes,2,opt,name=provider,proto3" json:"provider,omitempty"`
	Signature string `protobuf:"bytes,3,opt,name=signature,proto3" json:"signature,omitempty"`
	// Identity of signer
	Signer *SigningAndEncryptionPublicKeys `protobuf:"bytes,4,opt,name=signer,proto3" json:"signer,omitempty"`
}

Wrapper around a standard signature.

func (*Signature) Descriptor

func (*Signature) Descriptor() ([]byte, []int)

func (*Signature) GetAlgo

func (m *Signature) GetAlgo() string

func (*Signature) GetProvider

func (m *Signature) GetProvider() string

func (*Signature) GetSignature

func (m *Signature) GetSignature() string

func (*Signature) GetSigner

func (m *Signature) GetSigner() *SigningAndEncryptionPublicKeys

func (*Signature) Marshal

func (m *Signature) Marshal() (dAtA []byte, err error)

func (*Signature) MarshalTo

func (m *Signature) MarshalTo(dAtA []byte) (int, error)

func (*Signature) MarshalToSizedBuffer

func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*Signature) ProtoMessage

func (*Signature) ProtoMessage()

func (*Signature) Reset

func (m *Signature) Reset()

func (*Signature) Size

func (m *Signature) Size() (n int)

func (*Signature) String

func (m *Signature) String() string

func (*Signature) Unmarshal

func (m *Signature) Unmarshal(dAtA []byte) error

func (*Signature) XXX_DiscardUnknown

func (m *Signature) XXX_DiscardUnknown()

func (*Signature) XXX_Marshal

func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*Signature) XXX_Merge

func (m *Signature) XXX_Merge(src proto.Message)

func (*Signature) XXX_Size

func (m *Signature) XXX_Size() int

func (*Signature) XXX_Unmarshal

func (m *Signature) XXX_Unmarshal(b []byte) error

type SignatureSet

type SignatureSet struct {
	Signatures []*Signature `protobuf:"bytes,1,rep,name=signatures,proto3" json:"signatures,omitempty"`
}

A collection of signatures

func (*SignatureSet) Descriptor

func (*SignatureSet) Descriptor() ([]byte, []int)

func (*SignatureSet) GetSignatures

func (m *SignatureSet) GetSignatures() []*Signature

func (*SignatureSet) Marshal

func (m *SignatureSet) Marshal() (dAtA []byte, err error)

func (*SignatureSet) MarshalTo

func (m *SignatureSet) MarshalTo(dAtA []byte) (int, error)

func (*SignatureSet) MarshalToSizedBuffer

func (m *SignatureSet) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SignatureSet) ProtoMessage

func (*SignatureSet) ProtoMessage()

func (*SignatureSet) Reset

func (m *SignatureSet) Reset()

func (*SignatureSet) Size

func (m *SignatureSet) Size() (n int)

func (*SignatureSet) String

func (m *SignatureSet) String() string

func (*SignatureSet) Unmarshal

func (m *SignatureSet) Unmarshal(dAtA []byte) error

func (*SignatureSet) XXX_DiscardUnknown

func (m *SignatureSet) XXX_DiscardUnknown()

func (*SignatureSet) XXX_Marshal

func (m *SignatureSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SignatureSet) XXX_Merge

func (m *SignatureSet) XXX_Merge(src proto.Message)

func (*SignatureSet) XXX_Size

func (m *SignatureSet) XXX_Size() int

func (*SignatureSet) XXX_Unmarshal

func (m *SignatureSet) XXX_Unmarshal(b []byte) error

type SigningAndEncryptionPublicKeys

type SigningAndEncryptionPublicKeys struct {
	SigningPublicKey    *PublicKey `protobuf:"bytes,1,opt,name=signing_public_key,json=signingPublicKey,proto3" json:"signing_public_key,omitempty"`
	EncryptionPublicKey *PublicKey `protobuf:"bytes,2,opt,name=encryption_public_key,json=encryptionPublicKey,proto3" json:"encryption_public_key,omitempty"`
}

func (*SigningAndEncryptionPublicKeys) Descriptor

func (*SigningAndEncryptionPublicKeys) Descriptor() ([]byte, []int)

func (*SigningAndEncryptionPublicKeys) GetEncryptionPublicKey

func (m *SigningAndEncryptionPublicKeys) GetEncryptionPublicKey() *PublicKey

func (*SigningAndEncryptionPublicKeys) GetSigningPublicKey

func (m *SigningAndEncryptionPublicKeys) GetSigningPublicKey() *PublicKey

func (*SigningAndEncryptionPublicKeys) Marshal

func (m *SigningAndEncryptionPublicKeys) Marshal() (dAtA []byte, err error)

func (*SigningAndEncryptionPublicKeys) MarshalTo

func (m *SigningAndEncryptionPublicKeys) MarshalTo(dAtA []byte) (int, error)

func (*SigningAndEncryptionPublicKeys) MarshalToSizedBuffer

func (m *SigningAndEncryptionPublicKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*SigningAndEncryptionPublicKeys) ProtoMessage

func (*SigningAndEncryptionPublicKeys) ProtoMessage()

func (*SigningAndEncryptionPublicKeys) Reset

func (m *SigningAndEncryptionPublicKeys) Reset()

func (*SigningAndEncryptionPublicKeys) Size

func (m *SigningAndEncryptionPublicKeys) Size() (n int)

func (*SigningAndEncryptionPublicKeys) String

func (*SigningAndEncryptionPublicKeys) Unmarshal

func (m *SigningAndEncryptionPublicKeys) Unmarshal(dAtA []byte) error

func (*SigningAndEncryptionPublicKeys) XXX_DiscardUnknown

func (m *SigningAndEncryptionPublicKeys) XXX_DiscardUnknown()

func (*SigningAndEncryptionPublicKeys) XXX_Marshal

func (m *SigningAndEncryptionPublicKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*SigningAndEncryptionPublicKeys) XXX_Merge

func (m *SigningAndEncryptionPublicKeys) XXX_Merge(src proto.Message)

func (*SigningAndEncryptionPublicKeys) XXX_Size

func (m *SigningAndEncryptionPublicKeys) XXX_Size() int

func (*SigningAndEncryptionPublicKeys) XXX_Unmarshal

func (m *SigningAndEncryptionPublicKeys) XXX_Unmarshal(b []byte) error

type SpecGenesisState added in v0.1.5

type SpecGenesisState struct {
	ContractSpecRecords []ContractSpec `json:"contract_spec_records"`
}

SpecGenesisState is a sequence of contract specs (from the deprecated spec module)

type UUID

type UUID struct {
	Value string `protobuf:"bytes,1,opt,name=value,proto3" json:"value,omitempty"`
}

Wrapper type for a standard uuid.

func (*UUID) Descriptor

func (*UUID) Descriptor() ([]byte, []int)

func (*UUID) GetValue

func (m *UUID) GetValue() string

func (*UUID) Marshal

func (m *UUID) Marshal() (dAtA []byte, err error)

func (*UUID) MarshalTo

func (m *UUID) MarshalTo(dAtA []byte) (int, error)

func (*UUID) MarshalToSizedBuffer

func (m *UUID) MarshalToSizedBuffer(dAtA []byte) (int, error)

func (*UUID) ProtoMessage

func (*UUID) ProtoMessage()

func (*UUID) Reset

func (m *UUID) Reset()

func (*UUID) Size

func (m *UUID) Size() (n int)

func (*UUID) String

func (m *UUID) String() string

func (*UUID) Unmarshal

func (m *UUID) Unmarshal(dAtA []byte) error

func (*UUID) XXX_DiscardUnknown

func (m *UUID) XXX_DiscardUnknown()

func (*UUID) XXX_Marshal

func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)

func (*UUID) XXX_Merge

func (m *UUID) XXX_Merge(src proto.Message)

func (*UUID) XXX_Size

func (m *UUID) XXX_Size() int

func (*UUID) XXX_Unmarshal

func (m *UUID) XXX_Unmarshal(b []byte) error

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) ChangeOwnership

func (*UnimplementedMsgServer) MemorializeContract

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) Scope

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL