Documentation ¶
Overview ¶
Package v039 is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func ParsePublicKey(data []byte) (tmcrypt.PubKey, sdk.AccAddress, error)
- func RecoverPublicKey(sig, hash []byte) (tmcrypt.PubKey, sdk.AccAddress, error)
- func RegisterInterfaces(registry types.InterfaceRegistry)
- func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
- func RegisterMsgServer(s grpc1.Server, srv MsgServer)
- func RegisterQueryHandler(ctx context.Context, mux *runtime.ServeMux, conn *grpc.ClientConn) error
- func RegisterQueryHandlerClient(ctx context.Context, mux *runtime.ServeMux, client QueryClient) error
- func RegisterQueryHandlerFromEndpoint(ctx context.Context, mux *runtime.ServeMux, endpoint string, ...) (err error)
- func RegisterQueryHandlerServer(ctx context.Context, mux *runtime.ServeMux, server QueryServer) error
- func RegisterQueryServer(s grpc1.Server, srv QueryServer)
- func ValidateScope(s Scope) error
- type AuditFields
- func (*AuditFields) Descriptor() ([]byte, []int)
- func (m *AuditFields) GetCreatedBy() string
- func (m *AuditFields) GetCreatedDate() time.Time
- func (m *AuditFields) GetMessage() string
- func (m *AuditFields) GetUpdatedBy() string
- func (m *AuditFields) GetUpdatedDate() time.Time
- func (m *AuditFields) GetVersion() int32
- func (m *AuditFields) Marshal() (dAtA []byte, err error)
- func (m *AuditFields) MarshalTo(dAtA []byte) (int, error)
- func (m *AuditFields) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*AuditFields) ProtoMessage()
- func (m *AuditFields) Reset()
- func (m *AuditFields) Size() (n int)
- func (m *AuditFields) String() string
- func (m *AuditFields) Unmarshal(dAtA []byte) error
- func (m *AuditFields) XXX_DiscardUnknown()
- func (m *AuditFields) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *AuditFields) XXX_Merge(src proto.Message)
- func (m *AuditFields) XXX_Size() int
- func (m *AuditFields) XXX_Unmarshal(b []byte) error
- type BooleanResult
- func (*BooleanResult) Descriptor() ([]byte, []int)
- func (m *BooleanResult) GetValue() bool
- func (m *BooleanResult) Marshal() (dAtA []byte, err error)
- func (m *BooleanResult) MarshalTo(dAtA []byte) (int, error)
- func (m *BooleanResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*BooleanResult) ProtoMessage()
- func (m *BooleanResult) Reset()
- func (m *BooleanResult) Size() (n int)
- func (m *BooleanResult) String() string
- func (m *BooleanResult) Unmarshal(dAtA []byte) error
- func (m *BooleanResult) XXX_DiscardUnknown()
- func (m *BooleanResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *BooleanResult) XXX_Merge(src proto.Message)
- func (m *BooleanResult) XXX_Size() int
- func (m *BooleanResult) XXX_Unmarshal(b []byte) error
- type ChangeOwnershipResponse
- func (*ChangeOwnershipResponse) Descriptor() ([]byte, []int)
- func (m *ChangeOwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *ChangeOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ChangeOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ChangeOwnershipResponse) ProtoMessage()
- func (m *ChangeOwnershipResponse) Reset()
- func (m *ChangeOwnershipResponse) Size() (n int)
- func (m *ChangeOwnershipResponse) String() string
- func (m *ChangeOwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *ChangeOwnershipResponse) XXX_DiscardUnknown()
- func (m *ChangeOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ChangeOwnershipResponse) XXX_Merge(src proto.Message)
- func (m *ChangeOwnershipResponse) XXX_Size() int
- func (m *ChangeOwnershipResponse) XXX_Unmarshal(b []byte) error
- type Condition
- func (*Condition) Descriptor() ([]byte, []int)
- func (m *Condition) GetConditionName() string
- func (m *Condition) GetResult() *ExecutionResult
- func (m *Condition) Marshal() (dAtA []byte, err error)
- func (m *Condition) MarshalTo(dAtA []byte) (int, error)
- func (m *Condition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Condition) ProtoMessage()
- func (m *Condition) Reset()
- func (m *Condition) Size() (n int)
- func (m *Condition) String() string
- func (m *Condition) Unmarshal(dAtA []byte) error
- func (m *Condition) XXX_DiscardUnknown()
- func (m *Condition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Condition) XXX_Merge(src proto.Message)
- func (m *Condition) XXX_Size() int
- func (m *Condition) XXX_Unmarshal(b []byte) error
- type ConditionSpec
- func (*ConditionSpec) Descriptor() ([]byte, []int)
- func (m *ConditionSpec) GetFuncName() string
- func (m *ConditionSpec) GetInputSpecs() []*DefinitionSpec
- func (m *ConditionSpec) GetOutputSpec() *OutputSpec
- func (m *ConditionSpec) Marshal() (dAtA []byte, err error)
- func (m *ConditionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ConditionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConditionSpec) ProtoMessage()
- func (m *ConditionSpec) Reset()
- func (m *ConditionSpec) Size() (n int)
- func (m *ConditionSpec) String() string
- func (m *ConditionSpec) Unmarshal(dAtA []byte) error
- func (m *ConditionSpec) XXX_DiscardUnknown()
- func (m *ConditionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConditionSpec) XXX_Merge(src proto.Message)
- func (m *ConditionSpec) XXX_Size() int
- func (m *ConditionSpec) XXX_Unmarshal(b []byte) error
- type Consideration
- func (*Consideration) Descriptor() ([]byte, []int)
- func (m *Consideration) GetConsiderationName() string
- func (m *Consideration) GetInputs() []*ProposedFact
- func (m *Consideration) GetResult() *ExecutionResult
- func (m *Consideration) Marshal() (dAtA []byte, err error)
- func (m *Consideration) MarshalTo(dAtA []byte) (int, error)
- func (m *Consideration) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Consideration) ProtoMessage()
- func (m *Consideration) Reset()
- func (m *Consideration) Size() (n int)
- func (m *Consideration) String() string
- func (m *Consideration) Unmarshal(dAtA []byte) error
- func (m *Consideration) XXX_DiscardUnknown()
- func (m *Consideration) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Consideration) XXX_Merge(src proto.Message)
- func (m *Consideration) XXX_Size() int
- func (m *Consideration) XXX_Unmarshal(b []byte) error
- type ConsiderationSpec
- func (*ConsiderationSpec) Descriptor() ([]byte, []int)
- func (m *ConsiderationSpec) GetFuncName() string
- func (m *ConsiderationSpec) GetInputSpecs() []*DefinitionSpec
- func (m *ConsiderationSpec) GetOutputSpec() *OutputSpec
- func (m *ConsiderationSpec) GetResponsibleParty() PartyType
- func (m *ConsiderationSpec) Marshal() (dAtA []byte, err error)
- func (m *ConsiderationSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ConsiderationSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ConsiderationSpec) ProtoMessage()
- func (m *ConsiderationSpec) Reset()
- func (m *ConsiderationSpec) Size() (n int)
- func (m *ConsiderationSpec) String() string
- func (m *ConsiderationSpec) Unmarshal(dAtA []byte) error
- func (m *ConsiderationSpec) XXX_DiscardUnknown()
- func (m *ConsiderationSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ConsiderationSpec) XXX_Merge(src proto.Message)
- func (m *ConsiderationSpec) XXX_Size() int
- func (m *ConsiderationSpec) XXX_Unmarshal(b []byte) error
- type Contract
- func (*Contract) Descriptor() ([]byte, []int)
- func (m *Contract) GetConditions() []*Condition
- func (m *Contract) GetConsiderations() []*Consideration
- func (m *Contract) GetDefinition() *DefinitionSpec
- func (m *Contract) GetInputs() []*Fact
- func (m *Contract) GetInvoker() *SigningAndEncryptionPublicKeys
- func (m *Contract) GetRecitals() []*Recital
- func (m *Contract) GetSpec() *Fact
- func (m *Contract) GetStartTime() time.Time
- func (m *Contract) GetTimesExecuted() int32
- func (m *Contract) Marshal() (dAtA []byte, err error)
- func (m *Contract) MarshalTo(dAtA []byte) (int, error)
- func (m *Contract) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Contract) ProtoMessage()
- func (m *Contract) Reset()
- func (m *Contract) Size() (n int)
- func (m *Contract) String() string
- func (m *Contract) Unmarshal(dAtA []byte) error
- func (m *Contract) XXX_DiscardUnknown()
- func (m *Contract) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Contract) XXX_Merge(src proto.Message)
- func (m *Contract) XXX_Size() int
- func (m *Contract) XXX_Unmarshal(b []byte) error
- type ContractSpec
- func (*ContractSpec) Descriptor() ([]byte, []int)
- func (m *ContractSpec) GetConditionSpecs() []*ConditionSpec
- func (m *ContractSpec) GetConsiderationSpecs() []*ConsiderationSpec
- func (m *ContractSpec) GetDefinition() *DefinitionSpec
- func (m *ContractSpec) GetInputSpecs() []*DefinitionSpec
- func (m *ContractSpec) GetPartiesInvolved() []PartyType
- func (m *ContractSpec) Marshal() (dAtA []byte, err error)
- func (m *ContractSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *ContractSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ContractSpec) ProtoMessage()
- func (m *ContractSpec) Reset()
- func (m *ContractSpec) Size() (n int)
- func (m *ContractSpec) String() string
- func (m *ContractSpec) Unmarshal(dAtA []byte) error
- func (m *ContractSpec) XXX_DiscardUnknown()
- func (m *ContractSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ContractSpec) XXX_Merge(src proto.Message)
- func (m *ContractSpec) XXX_Size() int
- func (m *ContractSpec) XXX_Unmarshal(b []byte) error
- type Date
- func (*Date) Descriptor() ([]byte, []int)
- func (m *Date) GetValue() string
- func (m *Date) Marshal() (dAtA []byte, err error)
- func (m *Date) MarshalTo(dAtA []byte) (int, error)
- func (m *Date) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Date) ProtoMessage()
- func (m *Date) Reset()
- func (m *Date) Size() (n int)
- func (m *Date) String() string
- func (m *Date) Unmarshal(dAtA []byte) error
- func (m *Date) XXX_DiscardUnknown()
- func (m *Date) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Date) XXX_Merge(src proto.Message)
- func (m *Date) XXX_Size() int
- func (m *Date) XXX_Unmarshal(b []byte) error
- type DefinitionSpec
- func (*DefinitionSpec) Descriptor() ([]byte, []int)
- func (m *DefinitionSpec) GetName() string
- func (m *DefinitionSpec) GetResourceLocation() *Location
- func (m *DefinitionSpec) GetSignature() *Signature
- func (m *DefinitionSpec) GetType() DefinitionSpecType
- func (m *DefinitionSpec) Marshal() (dAtA []byte, err error)
- func (m *DefinitionSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *DefinitionSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*DefinitionSpec) ProtoMessage()
- func (m *DefinitionSpec) Reset()
- func (m *DefinitionSpec) Size() (n int)
- func (m *DefinitionSpec) String() string
- func (m *DefinitionSpec) Unmarshal(dAtA []byte) error
- func (m *DefinitionSpec) XXX_DiscardUnknown()
- func (m *DefinitionSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *DefinitionSpec) XXX_Merge(src proto.Message)
- func (m *DefinitionSpec) XXX_Size() int
- func (m *DefinitionSpec) XXX_Unmarshal(b []byte) error
- type DefinitionSpecType
- type Event
- func (*Event) Descriptor() ([]byte, []int)
- func (m *Event) GetExecutionUuid() *UUID
- func (m *Event) GetGroupUuid() *UUID
- func (m *Event) Marshal() (dAtA []byte, err error)
- func (m *Event) MarshalTo(dAtA []byte) (int, error)
- func (m *Event) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Event) ProtoMessage()
- func (m *Event) Reset()
- func (m *Event) Size() (n int)
- func (m *Event) String() string
- func (m *Event) Unmarshal(dAtA []byte) error
- func (m *Event) XXX_DiscardUnknown()
- func (m *Event) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Event) XXX_Merge(src proto.Message)
- func (m *Event) XXX_Size() int
- func (m *Event) XXX_Unmarshal(b []byte) error
- type ExecutionResult
- func (*ExecutionResult) Descriptor() ([]byte, []int)
- func (m *ExecutionResult) GetErrorMessage() string
- func (m *ExecutionResult) GetOutput() *ProposedFact
- func (m *ExecutionResult) GetRecordedAt() time.Time
- func (m *ExecutionResult) GetResult() ExecutionResultType
- func (m *ExecutionResult) Marshal() (dAtA []byte, err error)
- func (m *ExecutionResult) MarshalTo(dAtA []byte) (int, error)
- func (m *ExecutionResult) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ExecutionResult) ProtoMessage()
- func (m *ExecutionResult) Reset()
- func (m *ExecutionResult) Size() (n int)
- func (m *ExecutionResult) String() string
- func (m *ExecutionResult) Unmarshal(dAtA []byte) error
- func (m *ExecutionResult) XXX_DiscardUnknown()
- func (m *ExecutionResult) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ExecutionResult) XXX_Merge(src proto.Message)
- func (m *ExecutionResult) XXX_Size() int
- func (m *ExecutionResult) XXX_Unmarshal(b []byte) error
- type ExecutionResultType
- type Fact
- func (*Fact) Descriptor() ([]byte, []int)
- func (m *Fact) GetDataLocation() *Location
- func (m *Fact) GetName() string
- func (m *Fact) Marshal() (dAtA []byte, err error)
- func (m *Fact) MarshalTo(dAtA []byte) (int, error)
- func (m *Fact) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Fact) ProtoMessage()
- func (m *Fact) Reset()
- func (m *Fact) Size() (n int)
- func (m *Fact) String() string
- func (m *Fact) Unmarshal(dAtA []byte) error
- func (m *Fact) XXX_DiscardUnknown()
- func (m *Fact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Fact) XXX_Merge(src proto.Message)
- func (m *Fact) XXX_Size() int
- func (m *Fact) XXX_Unmarshal(b []byte) error
- type GenesisState
- type Location
- func (*Location) Descriptor() ([]byte, []int)
- func (m *Location) GetClassname() string
- func (m *Location) GetRef() *ProvenanceReference
- func (m *Location) Marshal() (dAtA []byte, err error)
- func (m *Location) MarshalTo(dAtA []byte) (int, error)
- func (m *Location) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Location) ProtoMessage()
- func (m *Location) Reset()
- func (m *Location) Size() (n int)
- func (m *Location) String() string
- func (m *Location) Unmarshal(dAtA []byte) error
- func (m *Location) XXX_DiscardUnknown()
- func (m *Location) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Location) XXX_Merge(src proto.Message)
- func (m *Location) XXX_Size() int
- func (m *Location) XXX_Unmarshal(b []byte) error
- type MemorializeContractResponse
- func (*MemorializeContractResponse) Descriptor() ([]byte, []int)
- func (m *MemorializeContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MemorializeContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MemorializeContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MemorializeContractResponse) ProtoMessage()
- func (m *MemorializeContractResponse) Reset()
- func (m *MemorializeContractResponse) Size() (n int)
- func (m *MemorializeContractResponse) String() string
- func (m *MemorializeContractResponse) Unmarshal(dAtA []byte) error
- func (m *MemorializeContractResponse) XXX_DiscardUnknown()
- func (m *MemorializeContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MemorializeContractResponse) XXX_Merge(src proto.Message)
- func (m *MemorializeContractResponse) XXX_Size() int
- func (m *MemorializeContractResponse) XXX_Unmarshal(b []byte) error
- type MsgChangeOwnershipRequest
- func (*MsgChangeOwnershipRequest) Descriptor() ([]byte, []int)
- func (m *MsgChangeOwnershipRequest) GetContract() Contract
- func (m *MsgChangeOwnershipRequest) GetExecutionId() string
- func (m *MsgChangeOwnershipRequest) GetGroupId() string
- func (m *MsgChangeOwnershipRequest) GetNotary() string
- func (m *MsgChangeOwnershipRequest) GetRecitals() Recitals
- func (m *MsgChangeOwnershipRequest) GetScopeId() string
- func (m *MsgChangeOwnershipRequest) GetSignatures() SignatureSet
- func (m *MsgChangeOwnershipRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgChangeOwnershipRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgChangeOwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgChangeOwnershipRequest) ProtoMessage()
- func (m *MsgChangeOwnershipRequest) Reset()
- func (m *MsgChangeOwnershipRequest) Size() (n int)
- func (m *MsgChangeOwnershipRequest) String() string
- func (m *MsgChangeOwnershipRequest) Unmarshal(dAtA []byte) error
- func (m *MsgChangeOwnershipRequest) XXX_DiscardUnknown()
- func (m *MsgChangeOwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgChangeOwnershipRequest) XXX_Merge(src proto.Message)
- func (m *MsgChangeOwnershipRequest) XXX_Size() int
- func (m *MsgChangeOwnershipRequest) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgMemorializeContractRequest
- func (*MsgMemorializeContractRequest) Descriptor() ([]byte, []int)
- func (m *MsgMemorializeContractRequest) GetContract() Contract
- func (m *MsgMemorializeContractRequest) GetExecutionId() string
- func (m *MsgMemorializeContractRequest) GetGroupId() string
- func (m *MsgMemorializeContractRequest) GetNotary() string
- func (m *MsgMemorializeContractRequest) GetScopeId() string
- func (m *MsgMemorializeContractRequest) GetScopeRefID() string
- func (m *MsgMemorializeContractRequest) GetSignatures() SignatureSet
- func (m *MsgMemorializeContractRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgMemorializeContractRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMemorializeContractRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMemorializeContractRequest) ProtoMessage()
- func (m *MsgMemorializeContractRequest) Reset()
- func (m *MsgMemorializeContractRequest) Size() (n int)
- func (m *MsgMemorializeContractRequest) String() string
- func (m *MsgMemorializeContractRequest) Unmarshal(dAtA []byte) error
- func (m *MsgMemorializeContractRequest) XXX_DiscardUnknown()
- func (m *MsgMemorializeContractRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMemorializeContractRequest) XXX_Merge(src proto.Message)
- func (m *MsgMemorializeContractRequest) XXX_Size() int
- func (m *MsgMemorializeContractRequest) XXX_Unmarshal(b []byte) error
- type MsgServer
- type OutputSpec
- func (*OutputSpec) Descriptor() ([]byte, []int)
- func (m *OutputSpec) GetSpec() *DefinitionSpec
- func (m *OutputSpec) Marshal() (dAtA []byte, err error)
- func (m *OutputSpec) MarshalTo(dAtA []byte) (int, error)
- func (m *OutputSpec) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OutputSpec) ProtoMessage()
- func (m *OutputSpec) Reset()
- func (m *OutputSpec) Size() (n int)
- func (m *OutputSpec) String() string
- func (m *OutputSpec) Unmarshal(dAtA []byte) error
- func (m *OutputSpec) XXX_DiscardUnknown()
- func (m *OutputSpec) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OutputSpec) XXX_Merge(src proto.Message)
- func (m *OutputSpec) XXX_Size() int
- func (m *OutputSpec) XXX_Unmarshal(b []byte) error
- type PartyType
- type ProposedFact
- func (*ProposedFact) Descriptor() ([]byte, []int)
- func (m *ProposedFact) GetAncestor() *ProvenanceReference
- func (m *ProposedFact) GetClassname() string
- func (m *ProposedFact) GetHash() string
- func (m *ProposedFact) GetName() string
- func (m *ProposedFact) Marshal() (dAtA []byte, err error)
- func (m *ProposedFact) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposedFact) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposedFact) ProtoMessage()
- func (m *ProposedFact) Reset()
- func (m *ProposedFact) Size() (n int)
- func (m *ProposedFact) String() string
- func (m *ProposedFact) Unmarshal(dAtA []byte) error
- func (m *ProposedFact) XXX_DiscardUnknown()
- func (m *ProposedFact) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposedFact) XXX_Merge(src proto.Message)
- func (m *ProposedFact) XXX_Size() int
- func (m *ProposedFact) XXX_Unmarshal(b []byte) error
- type ProvenanceReference
- func (*ProvenanceReference) Descriptor() ([]byte, []int)
- func (m *ProvenanceReference) GetGroupUuid() *UUID
- func (m *ProvenanceReference) GetHash() string
- func (m *ProvenanceReference) GetName() string
- func (m *ProvenanceReference) GetScopeUuid() *UUID
- func (m *ProvenanceReference) Marshal() (dAtA []byte, err error)
- func (m *ProvenanceReference) MarshalTo(dAtA []byte) (int, error)
- func (m *ProvenanceReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProvenanceReference) ProtoMessage()
- func (m *ProvenanceReference) Reset()
- func (m *ProvenanceReference) Size() (n int)
- func (m *ProvenanceReference) String() string
- func (m *ProvenanceReference) Unmarshal(dAtA []byte) error
- func (m *ProvenanceReference) XXX_DiscardUnknown()
- func (m *ProvenanceReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProvenanceReference) XXX_Merge(src proto.Message)
- func (m *ProvenanceReference) XXX_Size() int
- func (m *ProvenanceReference) XXX_Unmarshal(b []byte) error
- type PublicKey
- func (*PublicKey) Descriptor() ([]byte, []int)
- func (m *PublicKey) GetCurve() PublicKeyCurve
- func (m *PublicKey) GetPublicKeyBytes() []byte
- func (m *PublicKey) GetType() PublicKeyType
- func (m *PublicKey) Marshal() (dAtA []byte, err error)
- func (m *PublicKey) MarshalTo(dAtA []byte) (int, error)
- func (m *PublicKey) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*PublicKey) ProtoMessage()
- func (m *PublicKey) Reset()
- func (m *PublicKey) Size() (n int)
- func (m *PublicKey) String() string
- func (m *PublicKey) Unmarshal(dAtA []byte) error
- func (m *PublicKey) XXX_DiscardUnknown()
- func (m *PublicKey) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *PublicKey) XXX_Merge(src proto.Message)
- func (m *PublicKey) XXX_Size() int
- func (m *PublicKey) XXX_Unmarshal(b []byte) error
- type PublicKeyCurve
- type PublicKeyType
- type QueryClient
- type QueryServer
- type Recital
- func (*Recital) Descriptor() ([]byte, []int)
- func (m *Recital) GetAddress() []byte
- func (m *Recital) GetSigner() *SigningAndEncryptionPublicKeys
- func (m *Recital) GetSignerRole() PartyType
- func (m *Recital) Marshal() (dAtA []byte, err error)
- func (m *Recital) MarshalTo(dAtA []byte) (int, error)
- func (m *Recital) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Recital) ProtoMessage()
- func (m *Recital) Reset()
- func (m *Recital) Size() (n int)
- func (m *Recital) String() string
- func (m *Recital) Unmarshal(dAtA []byte) error
- func (m *Recital) XXX_DiscardUnknown()
- func (m *Recital) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Recital) XXX_Merge(src proto.Message)
- func (m *Recital) XXX_Size() int
- func (m *Recital) XXX_Unmarshal(b []byte) error
- type Recitals
- func (*Recitals) Descriptor() ([]byte, []int)
- func (m *Recitals) GetParties() []*Recital
- func (m *Recitals) Marshal() (dAtA []byte, err error)
- func (m *Recitals) MarshalTo(dAtA []byte) (int, error)
- func (m *Recitals) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Recitals) ProtoMessage()
- func (m *Recitals) Reset()
- func (m *Recitals) Size() (n int)
- func (m *Recitals) String() string
- func (m *Recitals) Unmarshal(dAtA []byte) error
- func (m *Recitals) XXX_DiscardUnknown()
- func (m *Recitals) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Recitals) XXX_Merge(src proto.Message)
- func (m *Recitals) XXX_Size() int
- func (m *Recitals) XXX_Unmarshal(b []byte) error
- type Record
- func (*Record) Descriptor() ([]byte, []int)
- func (m *Record) GetClassname() string
- func (m *Record) GetHash() string
- func (m *Record) GetInputs() []*RecordInput
- func (m *Record) GetName() string
- func (m *Record) GetResult() ExecutionResultType
- func (m *Record) GetResultHash() string
- func (m *Record) GetResultName() string
- func (m *Record) Marshal() (dAtA []byte, err error)
- func (m *Record) MarshalTo(dAtA []byte) (int, error)
- func (m *Record) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Record) ProtoMessage()
- func (m *Record) Reset()
- func (m *Record) Size() (n int)
- func (m *Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (m *Record) XXX_DiscardUnknown()
- func (m *Record) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Record) XXX_Merge(src proto.Message)
- func (m *Record) XXX_Size() int
- func (m *Record) XXX_Unmarshal(b []byte) error
- type RecordGroup
- func (*RecordGroup) Descriptor() ([]byte, []int)
- func (m *RecordGroup) GetAudit() *AuditFields
- func (m *RecordGroup) GetClassname() string
- func (m *RecordGroup) GetExecutor() *SigningAndEncryptionPublicKeys
- func (m *RecordGroup) GetGroupUuid() *UUID
- func (m *RecordGroup) GetParties() []*Recital
- func (m *RecordGroup) GetRecords() []*Record
- func (m *RecordGroup) GetSpecification() string
- func (m *RecordGroup) Marshal() (dAtA []byte, err error)
- func (m *RecordGroup) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordGroup) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordGroup) ProtoMessage()
- func (m *RecordGroup) Reset()
- func (m *RecordGroup) Size() (n int)
- func (m *RecordGroup) String() string
- func (m *RecordGroup) Unmarshal(dAtA []byte) error
- func (m *RecordGroup) XXX_DiscardUnknown()
- func (m *RecordGroup) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordGroup) XXX_Merge(src proto.Message)
- func (m *RecordGroup) XXX_Size() int
- func (m *RecordGroup) XXX_Unmarshal(b []byte) error
- type RecordInput
- func (*RecordInput) Descriptor() ([]byte, []int)
- func (m *RecordInput) GetClassname() string
- func (m *RecordInput) GetHash() string
- func (m *RecordInput) GetName() string
- func (m *RecordInput) GetType() RecordInputType
- func (m *RecordInput) Marshal() (dAtA []byte, err error)
- func (m *RecordInput) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordInput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordInput) ProtoMessage()
- func (m *RecordInput) Reset()
- func (m *RecordInput) Size() (n int)
- func (m *RecordInput) String() string
- func (m *RecordInput) Unmarshal(dAtA []byte) error
- func (m *RecordInput) XXX_DiscardUnknown()
- func (m *RecordInput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordInput) XXX_Merge(src proto.Message)
- func (m *RecordInput) XXX_Size() int
- func (m *RecordInput) XXX_Unmarshal(b []byte) error
- type RecordInputType
- type Scope
- func (*Scope) Descriptor() ([]byte, []int)
- func (m *Scope) GetLastEvent() *Event
- func (m *Scope) GetParties() []*Recital
- func (m *Scope) GetRecordGroup() []*RecordGroup
- func (m *Scope) GetUuid() *UUID
- func (m *Scope) Marshal() (dAtA []byte, err error)
- func (m *Scope) MarshalTo(dAtA []byte) (int, error)
- func (m *Scope) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Scope) ProtoMessage()
- func (m *Scope) Reset()
- func (m *Scope) Size() (n int)
- func (m *Scope) String() string
- func (m *Scope) Unmarshal(dAtA []byte) error
- func (m *Scope) XXX_DiscardUnknown()
- func (m *Scope) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Scope) XXX_Merge(src proto.Message)
- func (m *Scope) XXX_Size() int
- func (m *Scope) XXX_Unmarshal(b []byte) error
- type ScopeCollection
- func (*ScopeCollection) Descriptor() ([]byte, []int)
- func (m *ScopeCollection) GetScopes() []*Scope
- func (m *ScopeCollection) Marshal() (dAtA []byte, err error)
- func (m *ScopeCollection) MarshalTo(dAtA []byte) (int, error)
- func (m *ScopeCollection) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScopeCollection) ProtoMessage()
- func (m *ScopeCollection) Reset()
- func (m *ScopeCollection) Size() (n int)
- func (m *ScopeCollection) String() string
- func (m *ScopeCollection) Unmarshal(dAtA []byte) error
- func (m *ScopeCollection) XXX_DiscardUnknown()
- func (m *ScopeCollection) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScopeCollection) XXX_Merge(src proto.Message)
- func (m *ScopeCollection) XXX_Size() int
- func (m *ScopeCollection) XXX_Unmarshal(b []byte) error
- type ScopeRequest
- func (*ScopeRequest) Descriptor() ([]byte, []int)
- func (m *ScopeRequest) GetScopeId() string
- func (m *ScopeRequest) Marshal() (dAtA []byte, err error)
- func (m *ScopeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScopeRequest) ProtoMessage()
- func (m *ScopeRequest) Reset()
- func (m *ScopeRequest) Size() (n int)
- func (m *ScopeRequest) String() string
- func (m *ScopeRequest) Unmarshal(dAtA []byte) error
- func (m *ScopeRequest) XXX_DiscardUnknown()
- func (m *ScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScopeRequest) XXX_Merge(src proto.Message)
- func (m *ScopeRequest) XXX_Size() int
- func (m *ScopeRequest) XXX_Unmarshal(b []byte) error
- type ScopeResponse
- func (*ScopeResponse) Descriptor() ([]byte, []int)
- func (m *ScopeResponse) GetScope() Scope
- func (m *ScopeResponse) Marshal() (dAtA []byte, err error)
- func (m *ScopeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScopeResponse) ProtoMessage()
- func (m *ScopeResponse) Reset()
- func (m *ScopeResponse) Size() (n int)
- func (m *ScopeResponse) String() string
- func (m *ScopeResponse) Unmarshal(dAtA []byte) error
- func (m *ScopeResponse) XXX_DiscardUnknown()
- func (m *ScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScopeResponse) XXX_Merge(src proto.Message)
- func (m *ScopeResponse) XXX_Size() int
- func (m *ScopeResponse) XXX_Unmarshal(b []byte) error
- type Signature
- func (*Signature) Descriptor() ([]byte, []int)
- func (m *Signature) GetAlgo() string
- func (m *Signature) GetProvider() string
- func (m *Signature) GetSignature() string
- func (m *Signature) GetSigner() *SigningAndEncryptionPublicKeys
- func (m *Signature) Marshal() (dAtA []byte, err error)
- func (m *Signature) MarshalTo(dAtA []byte) (int, error)
- func (m *Signature) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Signature) ProtoMessage()
- func (m *Signature) Reset()
- func (m *Signature) Size() (n int)
- func (m *Signature) String() string
- func (m *Signature) Unmarshal(dAtA []byte) error
- func (m *Signature) XXX_DiscardUnknown()
- func (m *Signature) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Signature) XXX_Merge(src proto.Message)
- func (m *Signature) XXX_Size() int
- func (m *Signature) XXX_Unmarshal(b []byte) error
- type SignatureSet
- func (*SignatureSet) Descriptor() ([]byte, []int)
- func (m *SignatureSet) GetSignatures() []*Signature
- func (m *SignatureSet) Marshal() (dAtA []byte, err error)
- func (m *SignatureSet) MarshalTo(dAtA []byte) (int, error)
- func (m *SignatureSet) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SignatureSet) ProtoMessage()
- func (m *SignatureSet) Reset()
- func (m *SignatureSet) Size() (n int)
- func (m *SignatureSet) String() string
- func (m *SignatureSet) Unmarshal(dAtA []byte) error
- func (m *SignatureSet) XXX_DiscardUnknown()
- func (m *SignatureSet) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SignatureSet) XXX_Merge(src proto.Message)
- func (m *SignatureSet) XXX_Size() int
- func (m *SignatureSet) XXX_Unmarshal(b []byte) error
- type SigningAndEncryptionPublicKeys
- func (*SigningAndEncryptionPublicKeys) Descriptor() ([]byte, []int)
- func (m *SigningAndEncryptionPublicKeys) GetEncryptionPublicKey() *PublicKey
- func (m *SigningAndEncryptionPublicKeys) GetSigningPublicKey() *PublicKey
- func (m *SigningAndEncryptionPublicKeys) Marshal() (dAtA []byte, err error)
- func (m *SigningAndEncryptionPublicKeys) MarshalTo(dAtA []byte) (int, error)
- func (m *SigningAndEncryptionPublicKeys) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*SigningAndEncryptionPublicKeys) ProtoMessage()
- func (m *SigningAndEncryptionPublicKeys) Reset()
- func (m *SigningAndEncryptionPublicKeys) Size() (n int)
- func (m *SigningAndEncryptionPublicKeys) String() string
- func (m *SigningAndEncryptionPublicKeys) Unmarshal(dAtA []byte) error
- func (m *SigningAndEncryptionPublicKeys) XXX_DiscardUnknown()
- func (m *SigningAndEncryptionPublicKeys) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *SigningAndEncryptionPublicKeys) XXX_Merge(src proto.Message)
- func (m *SigningAndEncryptionPublicKeys) XXX_Size() int
- func (m *SigningAndEncryptionPublicKeys) XXX_Unmarshal(b []byte) error
- type UUID
- func (*UUID) Descriptor() ([]byte, []int)
- func (m *UUID) GetValue() string
- func (m *UUID) Marshal() (dAtA []byte, err error)
- func (m *UUID) MarshalTo(dAtA []byte) (int, error)
- func (m *UUID) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*UUID) ProtoMessage()
- func (m *UUID) Reset()
- func (m *UUID) Size() (n int)
- func (m *UUID) String() string
- func (m *UUID) Unmarshal(dAtA []byte) error
- func (m *UUID) XXX_DiscardUnknown()
- func (m *UUID) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *UUID) XXX_Merge(src proto.Message)
- func (m *UUID) XXX_Size() int
- func (m *UUID) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- type UnimplementedQueryServer
Constants ¶
const (
ModuleName = "metadata"
)
Variables ¶
var ( ErrInvalidLengthContract = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowContract = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupContract = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthQuery = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowQuery = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthScope = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowScope = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupScope = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthSpec = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSpec = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSpec = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTx = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTx = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group") )
var ( ErrInvalidLengthTypes = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowTypes = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupTypes = fmt.Errorf("proto: unexpected end of group") )
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",
}
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,
}
var ExecutionResultType_name = map[int32]string{
0: "RESULT_TYPE_UNKNOWN",
1: "RESULT_TYPE_PASS",
2: "RESULT_TYPE_SKIP",
3: "RESULT_TYPE_FAIL",
}
var ExecutionResultType_value = map[string]int32{
"RESULT_TYPE_UNKNOWN": 0,
"RESULT_TYPE_PASS": 1,
"RESULT_TYPE_SKIP": 2,
"RESULT_TYPE_FAIL": 3,
}
var (
ModuleCdc = codec.NewAminoCodec(amino)
)
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",
}
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,
}
var PublicKeyCurve_name = map[int32]string{
0: "SECP256K1",
1: "P256",
}
var PublicKeyCurve_value = map[string]int32{
"SECP256K1": 0,
"P256": 1,
}
var PublicKeyType_name = map[int32]string{
0: "ELLIPTIC",
}
var PublicKeyType_value = map[string]int32{
"ELLIPTIC": 0,
}
var RecordInputType_name = map[int32]string{
0: "RECORD_INPUT_TYPE_UNKNOWN",
1: "RECORD_INPUT_TYPE_PROPOSED",
2: "RECORD_INPUT_TYPE_FACT",
}
var RecordInputType_value = map[string]int32{
"RECORD_INPUT_TYPE_UNKNOWN": 0,
"RECORD_INPUT_TYPE_PROPOSED": 1,
"RECORD_INPUT_TYPE_FACT": 2,
}
Functions ¶
func ParsePublicKey ¶
ParsePublicKey parses a secp256k1 public key, calculates the account address, and returns both.
func RecoverPublicKey ¶
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 RegisterQueryHandler ¶
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 ¶
ValidateScope ensures required scope fields are valid.
Types ¶
type AuditFields ¶
type AuditFields struct { CreatedDate time.Time `protobuf:"bytes,1,opt,name=created_date,json=createdDate,proto3,stdtime" json:"created_date" yaml:"created_date"` CreatedBy string `protobuf:"bytes,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty"` UpdatedDate time.Time `protobuf:"bytes,3,opt,name=updated_date,json=updatedDate,proto3,stdtime" json:"updated_date" yaml:"updated_date"` 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() time.Time
func (*AuditFields) GetMessage ¶
func (m *AuditFields) GetMessage() string
func (*AuditFields) GetUpdatedBy ¶
func (m *AuditFields) GetUpdatedBy() string
func (*AuditFields) GetUpdatedDate ¶
func (m *AuditFields) GetUpdatedDate() time.Time
func (*AuditFields) GetVersion ¶
func (m *AuditFields) GetVersion() int32
func (*AuditFields) Marshal ¶
func (m *AuditFields) Marshal() (dAtA []byte, err 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) 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) GetConditionName ¶
func (*Condition) GetResult ¶
func (m *Condition) GetResult() *ExecutionResult
func (*Condition) MarshalToSizedBuffer ¶
func (*Condition) ProtoMessage ¶
func (*Condition) ProtoMessage()
func (*Condition) XXX_DiscardUnknown ¶
func (m *Condition) XXX_DiscardUnknown()
func (*Condition) XXX_Marshal ¶
func (*Condition) XXX_Unmarshal ¶
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) 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) 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) GetConditions ¶
func (*Contract) GetConsiderations ¶
func (m *Contract) GetConsiderations() []*Consideration
func (*Contract) GetDefinition ¶
func (m *Contract) GetDefinition() *DefinitionSpec
func (*Contract) GetInvoker ¶
func (m *Contract) GetInvoker() *SigningAndEncryptionPublicKeys
func (*Contract) GetRecitals ¶
func (*Contract) GetStartTime ¶
func (*Contract) GetTimesExecuted ¶
func (*Contract) MarshalToSizedBuffer ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
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) 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) ProtoMessage ¶
func (*Date) ProtoMessage()
func (*Date) XXX_DiscardUnknown ¶
func (m *Date) XXX_DiscardUnknown()
func (*Date) XXX_Unmarshal ¶
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) 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) GetExecutionUuid ¶
func (*Event) GetGroupUuid ¶
func (*Event) ProtoMessage ¶
func (*Event) ProtoMessage()
func (*Event) XXX_DiscardUnknown ¶
func (m *Event) XXX_DiscardUnknown()
func (*Event) XXX_Marshal ¶
func (*Event) XXX_Unmarshal ¶
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) 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) GetDataLocation ¶
func (*Fact) ProtoMessage ¶
func (*Fact) ProtoMessage()
func (*Fact) XXX_DiscardUnknown ¶
func (m *Fact) XXX_DiscardUnknown()
func (*Fact) XXX_Unmarshal ¶
type GenesisState ¶
type GenesisState struct { ScopeRecords []Scope `json:"scope_records,omitempty"` // NOTE: this is not currently exported but it needs to be 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 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) GetClassname ¶
func (*Location) GetRef ¶
func (m *Location) GetRef() *ProvenanceReference
func (*Location) MarshalToSizedBuffer ¶
func (*Location) ProtoMessage ¶
func (*Location) ProtoMessage()
func (*Location) XXX_DiscardUnknown ¶
func (m *Location) XXX_DiscardUnknown()
func (*Location) XXX_Marshal ¶
func (*Location) XXX_Unmarshal ¶
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 (m *MsgMemorializeContractRequest) String() 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) 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 ¶
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) 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) GetCurve ¶
func (m *PublicKey) GetCurve() PublicKeyCurve
func (*PublicKey) GetPublicKeyBytes ¶
func (*PublicKey) GetType ¶
func (m *PublicKey) GetType() PublicKeyType
func (*PublicKey) MarshalToSizedBuffer ¶
func (*PublicKey) ProtoMessage ¶
func (*PublicKey) ProtoMessage()
func (*PublicKey) XXX_DiscardUnknown ¶
func (m *PublicKey) XXX_DiscardUnknown()
func (*PublicKey) XXX_Marshal ¶
func (*PublicKey) XXX_Unmarshal ¶
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) GetAddress ¶
func (*Recital) GetSigner ¶
func (m *Recital) GetSigner() *SigningAndEncryptionPublicKeys
func (*Recital) GetSignerRole ¶
func (*Recital) MarshalToSizedBuffer ¶
func (*Recital) ProtoMessage ¶
func (*Recital) ProtoMessage()
func (*Recital) XXX_DiscardUnknown ¶
func (m *Recital) XXX_DiscardUnknown()
func (*Recital) XXX_Marshal ¶
func (*Recital) XXX_Unmarshal ¶
type Recitals ¶
type Recitals struct {
Parties []*Recital `protobuf:"bytes,1,rep,name=parties,proto3" json:"parties,omitempty"`
}
func (*Recitals) Descriptor ¶
func (*Recitals) GetParties ¶
func (*Recitals) MarshalToSizedBuffer ¶
func (*Recitals) ProtoMessage ¶
func (*Recitals) ProtoMessage()
func (*Recitals) XXX_DiscardUnknown ¶
func (m *Recitals) XXX_DiscardUnknown()
func (*Recitals) XXX_Marshal ¶
func (*Recitals) XXX_Unmarshal ¶
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) GetClassname ¶
func (*Record) GetInputs ¶
func (m *Record) GetInputs() []*RecordInput
func (*Record) GetResult ¶
func (m *Record) GetResult() ExecutionResultType
func (*Record) GetResultHash ¶
func (*Record) GetResultName ¶
func (*Record) MarshalToSizedBuffer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
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) 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) 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) GetLastEvent ¶
func (*Scope) GetParties ¶
func (*Scope) GetRecordGroup ¶
func (m *Scope) GetRecordGroup() []*RecordGroup
func (*Scope) ProtoMessage ¶
func (*Scope) ProtoMessage()
func (*Scope) XXX_DiscardUnknown ¶
func (m *Scope) XXX_DiscardUnknown()
func (*Scope) XXX_Marshal ¶
func (*Scope) XXX_Unmarshal ¶
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) 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) 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) 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) GetProvider ¶
func (*Signature) GetSignature ¶
func (*Signature) GetSigner ¶
func (m *Signature) GetSigner() *SigningAndEncryptionPublicKeys
func (*Signature) MarshalToSizedBuffer ¶
func (*Signature) ProtoMessage ¶
func (*Signature) ProtoMessage()
func (*Signature) XXX_DiscardUnknown ¶
func (m *Signature) XXX_DiscardUnknown()
func (*Signature) XXX_Marshal ¶
func (*Signature) XXX_Unmarshal ¶
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) 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 (m *SigningAndEncryptionPublicKeys) String() 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 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) ProtoMessage ¶
func (*UUID) ProtoMessage()
func (*UUID) XXX_DiscardUnknown ¶
func (m *UUID) XXX_DiscardUnknown()
func (*UUID) XXX_Unmarshal ¶
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) ChangeOwnership ¶
func (*UnimplementedMsgServer) ChangeOwnership(ctx context.Context, req *MsgChangeOwnershipRequest) (*ChangeOwnershipResponse, error)
func (*UnimplementedMsgServer) MemorializeContract ¶
func (*UnimplementedMsgServer) MemorializeContract(ctx context.Context, req *MsgMemorializeContractRequest) (*MemorializeContractResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) Scope ¶
func (*UnimplementedQueryServer) Scope(ctx context.Context, req *ScopeRequest) (*ScopeResponse, error)