Documentation ¶
Overview ¶
Package types is a reverse proxy.
It translates gRPC into RESTful JSON APIs.
Index ¶
- Constants
- Variables
- func GetAddressCacheIteratorPrefix(addr sdk.AccAddress) []byte
- func GetAddressCacheKey(addr sdk.AccAddress, scopeID MetadataAddress) []byte
- func GetScopeSpecCacheIteratorPrefix(scopeSpecID MetadataAddress) []byte
- func GetScopeSpecCacheKey(scopeSpecID MetadataAddress, scopeID MetadataAddress) []byte
- func GetValueOwnerCacheIteratorPrefix(addr sdk.AccAddress) []byte
- func GetValueOwnerCacheKey(addr sdk.AccAddress, scopeID MetadataAddress) []byte
- func ParamKeyTable() paramtypes.KeyTable
- 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 VerifyMetadataAddressFormat(bz []byte) (string, 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() uint32
- 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 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) GetInputSpecs() []*Definition
- func (m *ConditionSpec) GetName() string
- func (m *ConditionSpec) GetOutputSpec() *Definition
- 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() []ProposedRecord
- 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) GetInputSpecs() []*Definition
- func (m *ConsiderationSpec) GetName() string
- func (m *ConsiderationSpec) GetOutputSpec() *Definition
- 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() Definition
- func (m *Contract) GetInputs() []RecordReference
- func (m *Contract) GetInvoker() string
- func (m *Contract) GetRecitals() Recitals
- func (contract Contract) GetSigners() (signers []sdk.AccAddress)
- func (m *Contract) GetSpec() RecordReference
- 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 (contract Contract) ValidateBasic() 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() *Definition
- func (m *ContractSpec) GetInputSpecs() []*Definition
- 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 Definition
- func (*Definition) Descriptor() ([]byte, []int)
- func (m *Definition) GetCreatorAddress() string
- func (m *Definition) GetDefinitionType() DefinitionType
- func (m *Definition) GetName() string
- func (m *Definition) GetResourceLocation() *Reference
- func (m *Definition) Marshal() (dAtA []byte, err error)
- func (m *Definition) MarshalTo(dAtA []byte) (int, error)
- func (m *Definition) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Definition) ProtoMessage()
- func (m *Definition) Reset()
- func (m *Definition) Size() (n int)
- func (m *Definition) String() string
- func (m *Definition) Unmarshal(dAtA []byte) error
- func (m *Definition) XXX_DiscardUnknown()
- func (m *Definition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Definition) XXX_Merge(src proto.Message)
- func (m *Definition) XXX_Size() int
- func (m *Definition) XXX_Unmarshal(b []byte) error
- type DefinitionType
- type Description
- func (*Description) Descriptor() ([]byte, []int)
- func (m *Description) GetDescription() string
- func (m *Description) GetIconUrl() string
- func (m *Description) GetName() string
- func (m *Description) GetWebsiteUrl() string
- func (m *Description) Marshal() (dAtA []byte, err error)
- func (m *Description) MarshalTo(dAtA []byte) (int, error)
- func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Description) ProtoMessage()
- func (m *Description) Reset()
- func (m *Description) Size() (n int)
- func (m *Description) String() string
- func (m *Description) Unmarshal(dAtA []byte) error
- func (m *Description) XXX_DiscardUnknown()
- func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Description) XXX_Merge(src proto.Message)
- func (m *Description) XXX_Size() int
- func (m *Description) XXX_Unmarshal(b []byte) error
- type ExecutionResult
- func (*ExecutionResult) Descriptor() ([]byte, []int)
- func (m *ExecutionResult) GetErrorMessage() string
- func (m *ExecutionResult) GetOutput() ProposedRecord
- func (m *ExecutionResult) GetRecordedAt() time.Time
- func (m *ExecutionResult) GetResult() ResultType
- 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 GenesisState
- func (*GenesisState) Descriptor() ([]byte, []int)
- func (m *GenesisState) Marshal() (dAtA []byte, err error)
- func (m *GenesisState) MarshalTo(dAtA []byte) (int, error)
- func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GenesisState) ProtoMessage()
- func (m *GenesisState) Reset()
- func (m *GenesisState) Size() (n int)
- func (m *GenesisState) String() string
- func (m *GenesisState) Unmarshal(dAtA []byte) error
- func (state GenesisState) Validate() error
- func (m *GenesisState) XXX_DiscardUnknown()
- func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GenesisState) XXX_Merge(src proto.Message)
- func (m *GenesisState) XXX_Size() int
- func (m *GenesisState) XXX_Unmarshal(b []byte) error
- type GroupContextRequest
- func (*GroupContextRequest) Descriptor() ([]byte, []int)
- func (m *GroupContextRequest) GetGroupId() string
- func (m *GroupContextRequest) GetScopeId() string
- func (m *GroupContextRequest) Marshal() (dAtA []byte, err error)
- func (m *GroupContextRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupContextRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupContextRequest) ProtoMessage()
- func (m *GroupContextRequest) Reset()
- func (m *GroupContextRequest) Size() (n int)
- func (m *GroupContextRequest) String() string
- func (m *GroupContextRequest) Unmarshal(dAtA []byte) error
- func (m *GroupContextRequest) XXX_DiscardUnknown()
- func (m *GroupContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupContextRequest) XXX_Merge(src proto.Message)
- func (m *GroupContextRequest) XXX_Size() int
- func (m *GroupContextRequest) XXX_Unmarshal(b []byte) error
- type GroupContextResponse
- func (*GroupContextResponse) Descriptor() ([]byte, []int)
- func (m *GroupContextResponse) GetGroups() []*RecordGroup
- func (m *GroupContextResponse) Marshal() (dAtA []byte, err error)
- func (m *GroupContextResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupContextResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupContextResponse) ProtoMessage()
- func (m *GroupContextResponse) Reset()
- func (m *GroupContextResponse) Size() (n int)
- func (m *GroupContextResponse) String() string
- func (m *GroupContextResponse) Unmarshal(dAtA []byte) error
- func (m *GroupContextResponse) XXX_DiscardUnknown()
- func (m *GroupContextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupContextResponse) XXX_Merge(src proto.Message)
- func (m *GroupContextResponse) XXX_Size() int
- func (m *GroupContextResponse) XXX_Unmarshal(b []byte) error
- type GroupSpecification
- func (*GroupSpecification) Descriptor() ([]byte, []int)
- func (m *GroupSpecification) GetConditionSpecs() []*ConditionSpec
- func (m *GroupSpecification) GetConsiderationSpecs() []*ConsiderationSpec
- func (m *GroupSpecification) GetDefinition() *Definition
- func (m *GroupSpecification) GetInputSpecs() []*Definition
- func (m *GroupSpecification) GetPartiesInvolved() []PartyType
- func (m *GroupSpecification) Marshal() (dAtA []byte, err error)
- func (m *GroupSpecification) MarshalTo(dAtA []byte) (int, error)
- func (m *GroupSpecification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*GroupSpecification) ProtoMessage()
- func (m *GroupSpecification) Reset()
- func (m *GroupSpecification) Size() (n int)
- func (m *GroupSpecification) String() string
- func (m *GroupSpecification) Unmarshal(dAtA []byte) error
- func (m *GroupSpecification) XXX_DiscardUnknown()
- func (m *GroupSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *GroupSpecification) XXX_Merge(src proto.Message)
- func (m *GroupSpecification) XXX_Size() int
- func (m *GroupSpecification) XXX_Unmarshal(b []byte) error
- type MetadataAddress
- func ConvertHashToAddress(typeCode []byte, hash string) (addr MetadataAddress, err error)
- func GroupMetadataAddress(scopeUUID uuid.UUID, groupUUID uuid.UUID) MetadataAddress
- func GroupSpecMetadataAddress(specUUID uuid.UUID) MetadataAddress
- func MetadataAddressFromBech32(address string) (addr MetadataAddress, err error)
- func MetadataAddressFromHex(address string) (MetadataAddress, error)
- func RecordMetadataAddress(scopeUUID uuid.UUID, name string) MetadataAddress
- func ScopeMetadataAddress(scopeUUID uuid.UUID) MetadataAddress
- func ScopeSpecMetadataAddress(specUUID uuid.UUID) MetadataAddress
- func (ma MetadataAddress) Bytes() []byte
- func (ma MetadataAddress) Compare(other MetadataAddress) int
- func (ma MetadataAddress) Empty() bool
- func (ma MetadataAddress) Equals(ma2 sdk.Address) bool
- func (ma MetadataAddress) Format(s fmt.State, verb rune)
- func (ma MetadataAddress) GetRecordAddress(name string) MetadataAddress
- func (ma MetadataAddress) GroupUUID() (uuid.UUID, error)
- func (ma MetadataAddress) IsGroupAddress() bool
- func (ma MetadataAddress) IsGroupSpecificationAddress() bool
- func (ma MetadataAddress) IsRecordAddress() bool
- func (ma MetadataAddress) IsScopeAddress() bool
- func (ma MetadataAddress) IsScopeSpecificationAddress() bool
- func (ma MetadataAddress) Marshal() ([]byte, error)
- func (ma MetadataAddress) MarshalJSON() ([]byte, error)
- func (ma *MetadataAddress) MarshalTo(data []byte) (int, error)
- func (ma MetadataAddress) MarshalYAML() (interface{}, error)
- func (ma MetadataAddress) ScopeGroupIteratorPrefix() ([]byte, error)
- func (ma MetadataAddress) ScopeRecordIteratorPrefix() ([]byte, error)
- func (ma MetadataAddress) ScopeUUID() (uuid.UUID, error)
- func (ma MetadataAddress) Size() int
- func (ma MetadataAddress) String() string
- func (ma *MetadataAddress) Unmarshal(data []byte) error
- func (ma *MetadataAddress) UnmarshalJSON(data []byte) error
- func (ma *MetadataAddress) UnmarshalYAML(data []byte) error
- func (ma MetadataAddress) Validate() (err error)
- type MsgAddGroupSpecificationRequest
- func (*MsgAddGroupSpecificationRequest) Descriptor() ([]byte, []int)
- func (msg MsgAddGroupSpecificationRequest) GetSignBytes() []byte
- func (msg MsgAddGroupSpecificationRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddGroupSpecificationRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddGroupSpecificationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddGroupSpecificationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddGroupSpecificationRequest) ProtoMessage()
- func (m *MsgAddGroupSpecificationRequest) Reset()
- func (msg MsgAddGroupSpecificationRequest) Route() string
- func (m *MsgAddGroupSpecificationRequest) Size() (n int)
- func (msg MsgAddGroupSpecificationRequest) String() string
- func (msg MsgAddGroupSpecificationRequest) Type() string
- func (m *MsgAddGroupSpecificationRequest) Unmarshal(dAtA []byte) error
- func (msg MsgAddGroupSpecificationRequest) ValidateBasic() error
- func (m *MsgAddGroupSpecificationRequest) XXX_DiscardUnknown()
- func (m *MsgAddGroupSpecificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddGroupSpecificationRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddGroupSpecificationRequest) XXX_Size() int
- func (m *MsgAddGroupSpecificationRequest) XXX_Unmarshal(b []byte) error
- type MsgAddGroupSpecificationResponse
- func (*MsgAddGroupSpecificationResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddGroupSpecificationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddGroupSpecificationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddGroupSpecificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddGroupSpecificationResponse) ProtoMessage()
- func (m *MsgAddGroupSpecificationResponse) Reset()
- func (m *MsgAddGroupSpecificationResponse) Size() (n int)
- func (m *MsgAddGroupSpecificationResponse) String() string
- func (m *MsgAddGroupSpecificationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddGroupSpecificationResponse) XXX_DiscardUnknown()
- func (m *MsgAddGroupSpecificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddGroupSpecificationResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddGroupSpecificationResponse) XXX_Size() int
- func (m *MsgAddGroupSpecificationResponse) XXX_Unmarshal(b []byte) error
- type MsgAddRecordGroupRequest
- func (*MsgAddRecordGroupRequest) Descriptor() ([]byte, []int)
- func (msg MsgAddRecordGroupRequest) GetSignBytes() []byte
- func (msg MsgAddRecordGroupRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddRecordGroupRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRecordGroupRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRecordGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRecordGroupRequest) ProtoMessage()
- func (m *MsgAddRecordGroupRequest) Reset()
- func (msg MsgAddRecordGroupRequest) Route() string
- func (m *MsgAddRecordGroupRequest) Size() (n int)
- func (msg MsgAddRecordGroupRequest) String() string
- func (msg MsgAddRecordGroupRequest) Type() string
- func (m *MsgAddRecordGroupRequest) Unmarshal(dAtA []byte) error
- func (msg MsgAddRecordGroupRequest) ValidateBasic() error
- func (m *MsgAddRecordGroupRequest) XXX_DiscardUnknown()
- func (m *MsgAddRecordGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRecordGroupRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddRecordGroupRequest) XXX_Size() int
- func (m *MsgAddRecordGroupRequest) XXX_Unmarshal(b []byte) error
- type MsgAddRecordGroupResponse
- func (*MsgAddRecordGroupResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddRecordGroupResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRecordGroupResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRecordGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRecordGroupResponse) ProtoMessage()
- func (m *MsgAddRecordGroupResponse) Reset()
- func (m *MsgAddRecordGroupResponse) Size() (n int)
- func (m *MsgAddRecordGroupResponse) String() string
- func (m *MsgAddRecordGroupResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddRecordGroupResponse) XXX_DiscardUnknown()
- func (m *MsgAddRecordGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRecordGroupResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddRecordGroupResponse) XXX_Size() int
- func (m *MsgAddRecordGroupResponse) XXX_Unmarshal(b []byte) error
- type MsgAddRecordRequest
- func (*MsgAddRecordRequest) Descriptor() ([]byte, []int)
- func (msg MsgAddRecordRequest) GetSignBytes() []byte
- func (msg MsgAddRecordRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddRecordRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRecordRequest) ProtoMessage()
- func (m *MsgAddRecordRequest) Reset()
- func (msg MsgAddRecordRequest) Route() string
- func (m *MsgAddRecordRequest) Size() (n int)
- func (msg MsgAddRecordRequest) String() string
- func (msg MsgAddRecordRequest) Type() string
- func (m *MsgAddRecordRequest) Unmarshal(dAtA []byte) error
- func (msg MsgAddRecordRequest) ValidateBasic() error
- func (m *MsgAddRecordRequest) XXX_DiscardUnknown()
- func (m *MsgAddRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRecordRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddRecordRequest) XXX_Size() int
- func (m *MsgAddRecordRequest) XXX_Unmarshal(b []byte) error
- type MsgAddRecordResponse
- func (*MsgAddRecordResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddRecordResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddRecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddRecordResponse) ProtoMessage()
- func (m *MsgAddRecordResponse) Reset()
- func (m *MsgAddRecordResponse) Size() (n int)
- func (m *MsgAddRecordResponse) String() string
- func (m *MsgAddRecordResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddRecordResponse) XXX_DiscardUnknown()
- func (m *MsgAddRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddRecordResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddRecordResponse) XXX_Size() int
- func (m *MsgAddRecordResponse) XXX_Unmarshal(b []byte) error
- type MsgAddScopeRequest
- func (*MsgAddScopeRequest) Descriptor() ([]byte, []int)
- func (msg MsgAddScopeRequest) GetSignBytes() []byte
- func (msg MsgAddScopeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddScopeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddScopeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddScopeRequest) ProtoMessage()
- func (m *MsgAddScopeRequest) Reset()
- func (msg MsgAddScopeRequest) Route() string
- func (m *MsgAddScopeRequest) Size() (n int)
- func (msg MsgAddScopeRequest) String() string
- func (msg MsgAddScopeRequest) Type() string
- func (m *MsgAddScopeRequest) Unmarshal(dAtA []byte) error
- func (msg MsgAddScopeRequest) ValidateBasic() error
- func (m *MsgAddScopeRequest) XXX_DiscardUnknown()
- func (m *MsgAddScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddScopeRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddScopeRequest) XXX_Size() int
- func (m *MsgAddScopeRequest) XXX_Unmarshal(b []byte) error
- type MsgAddScopeResponse
- func (*MsgAddScopeResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddScopeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddScopeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddScopeResponse) ProtoMessage()
- func (m *MsgAddScopeResponse) Reset()
- func (m *MsgAddScopeResponse) Size() (n int)
- func (m *MsgAddScopeResponse) String() string
- func (m *MsgAddScopeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddScopeResponse) XXX_DiscardUnknown()
- func (m *MsgAddScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddScopeResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddScopeResponse) XXX_Size() int
- func (m *MsgAddScopeResponse) XXX_Unmarshal(b []byte) error
- type MsgAddScopeSpecificationRequest
- func (*MsgAddScopeSpecificationRequest) Descriptor() ([]byte, []int)
- func (msg MsgAddScopeSpecificationRequest) GetSignBytes() []byte
- func (msg MsgAddScopeSpecificationRequest) GetSigners() []sdk.AccAddress
- func (m *MsgAddScopeSpecificationRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgAddScopeSpecificationRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddScopeSpecificationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddScopeSpecificationRequest) ProtoMessage()
- func (m *MsgAddScopeSpecificationRequest) Reset()
- func (msg MsgAddScopeSpecificationRequest) Route() string
- func (m *MsgAddScopeSpecificationRequest) Size() (n int)
- func (msg MsgAddScopeSpecificationRequest) String() string
- func (msg MsgAddScopeSpecificationRequest) Type() string
- func (m *MsgAddScopeSpecificationRequest) Unmarshal(dAtA []byte) error
- func (msg MsgAddScopeSpecificationRequest) ValidateBasic() error
- func (m *MsgAddScopeSpecificationRequest) XXX_DiscardUnknown()
- func (m *MsgAddScopeSpecificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddScopeSpecificationRequest) XXX_Merge(src proto.Message)
- func (m *MsgAddScopeSpecificationRequest) XXX_Size() int
- func (m *MsgAddScopeSpecificationRequest) XXX_Unmarshal(b []byte) error
- type MsgAddScopeSpecificationResponse
- func (*MsgAddScopeSpecificationResponse) Descriptor() ([]byte, []int)
- func (m *MsgAddScopeSpecificationResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgAddScopeSpecificationResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgAddScopeSpecificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgAddScopeSpecificationResponse) ProtoMessage()
- func (m *MsgAddScopeSpecificationResponse) Reset()
- func (m *MsgAddScopeSpecificationResponse) Size() (n int)
- func (m *MsgAddScopeSpecificationResponse) String() string
- func (m *MsgAddScopeSpecificationResponse) Unmarshal(dAtA []byte) error
- func (m *MsgAddScopeSpecificationResponse) XXX_DiscardUnknown()
- func (m *MsgAddScopeSpecificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgAddScopeSpecificationResponse) XXX_Merge(src proto.Message)
- func (m *MsgAddScopeSpecificationResponse) XXX_Size() int
- func (m *MsgAddScopeSpecificationResponse) XXX_Unmarshal(b []byte) error
- type MsgChangeOwnershipRequest
- func (*MsgChangeOwnershipRequest) Descriptor() ([]byte, []int)
- func (msg MsgChangeOwnershipRequest) GetSignBytes() []byte
- func (msg MsgChangeOwnershipRequest) GetSigners() []sdk.AccAddress
- 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 (msg MsgChangeOwnershipRequest) Route() string
- func (m *MsgChangeOwnershipRequest) Size() (n int)
- func (msg MsgChangeOwnershipRequest) String() string
- func (msg MsgChangeOwnershipRequest) Type() string
- func (m *MsgChangeOwnershipRequest) Unmarshal(dAtA []byte) error
- func (msg MsgChangeOwnershipRequest) ValidateBasic() 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 MsgChangeOwnershipResponse
- func (*MsgChangeOwnershipResponse) Descriptor() ([]byte, []int)
- func (m *MsgChangeOwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgChangeOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgChangeOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgChangeOwnershipResponse) ProtoMessage()
- func (m *MsgChangeOwnershipResponse) Reset()
- func (m *MsgChangeOwnershipResponse) Size() (n int)
- func (m *MsgChangeOwnershipResponse) String() string
- func (m *MsgChangeOwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *MsgChangeOwnershipResponse) XXX_DiscardUnknown()
- func (m *MsgChangeOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgChangeOwnershipResponse) XXX_Merge(src proto.Message)
- func (m *MsgChangeOwnershipResponse) XXX_Size() int
- func (m *MsgChangeOwnershipResponse) XXX_Unmarshal(b []byte) error
- type MsgClient
- type MsgMemorializeContractRequest
- func (*MsgMemorializeContractRequest) Descriptor() ([]byte, []int)
- func (msg MsgMemorializeContractRequest) GetSignBytes() []byte
- func (msg MsgMemorializeContractRequest) GetSigners() []sdk.AccAddress
- 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 (msg MsgMemorializeContractRequest) Route() string
- func (m *MsgMemorializeContractRequest) Size() (n int)
- func (msg MsgMemorializeContractRequest) String() string
- func (msg MsgMemorializeContractRequest) Type() string
- func (m *MsgMemorializeContractRequest) Unmarshal(dAtA []byte) error
- func (msg MsgMemorializeContractRequest) ValidateBasic() 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 MsgMemorializeContractResponse
- func (*MsgMemorializeContractResponse) Descriptor() ([]byte, []int)
- func (m *MsgMemorializeContractResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgMemorializeContractResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgMemorializeContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgMemorializeContractResponse) ProtoMessage()
- func (m *MsgMemorializeContractResponse) Reset()
- func (m *MsgMemorializeContractResponse) Size() (n int)
- func (m *MsgMemorializeContractResponse) String() string
- func (m *MsgMemorializeContractResponse) Unmarshal(dAtA []byte) error
- func (m *MsgMemorializeContractResponse) XXX_DiscardUnknown()
- func (m *MsgMemorializeContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgMemorializeContractResponse) XXX_Merge(src proto.Message)
- func (m *MsgMemorializeContractResponse) XXX_Size() int
- func (m *MsgMemorializeContractResponse) XXX_Unmarshal(b []byte) error
- type MsgRemoveScopeRequest
- func (*MsgRemoveScopeRequest) Descriptor() ([]byte, []int)
- func (msg MsgRemoveScopeRequest) GetSignBytes() []byte
- func (msg MsgRemoveScopeRequest) GetSigners() []sdk.AccAddress
- func (m *MsgRemoveScopeRequest) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveScopeRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveScopeRequest) ProtoMessage()
- func (m *MsgRemoveScopeRequest) Reset()
- func (msg MsgRemoveScopeRequest) Route() string
- func (m *MsgRemoveScopeRequest) Size() (n int)
- func (msg MsgRemoveScopeRequest) String() string
- func (msg MsgRemoveScopeRequest) Type() string
- func (m *MsgRemoveScopeRequest) Unmarshal(dAtA []byte) error
- func (msg MsgRemoveScopeRequest) ValidateBasic() error
- func (m *MsgRemoveScopeRequest) XXX_DiscardUnknown()
- func (m *MsgRemoveScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveScopeRequest) XXX_Merge(src proto.Message)
- func (m *MsgRemoveScopeRequest) XXX_Size() int
- func (m *MsgRemoveScopeRequest) XXX_Unmarshal(b []byte) error
- type MsgRemoveScopeResponse
- func (*MsgRemoveScopeResponse) Descriptor() ([]byte, []int)
- func (m *MsgRemoveScopeResponse) Marshal() (dAtA []byte, err error)
- func (m *MsgRemoveScopeResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *MsgRemoveScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*MsgRemoveScopeResponse) ProtoMessage()
- func (m *MsgRemoveScopeResponse) Reset()
- func (m *MsgRemoveScopeResponse) Size() (n int)
- func (m *MsgRemoveScopeResponse) String() string
- func (m *MsgRemoveScopeResponse) Unmarshal(dAtA []byte) error
- func (m *MsgRemoveScopeResponse) XXX_DiscardUnknown()
- func (m *MsgRemoveScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *MsgRemoveScopeResponse) XXX_Merge(src proto.Message)
- func (m *MsgRemoveScopeResponse) XXX_Size() int
- func (m *MsgRemoveScopeResponse) XXX_Unmarshal(b []byte) error
- type MsgServer
- type OwnershipRequest
- func (*OwnershipRequest) Descriptor() ([]byte, []int)
- func (m *OwnershipRequest) GetAddress() string
- func (m *OwnershipRequest) GetPagination() *query.PageRequest
- func (m *OwnershipRequest) Marshal() (dAtA []byte, err error)
- func (m *OwnershipRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *OwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OwnershipRequest) ProtoMessage()
- func (m *OwnershipRequest) Reset()
- func (m *OwnershipRequest) Size() (n int)
- func (m *OwnershipRequest) String() string
- func (m *OwnershipRequest) Unmarshal(dAtA []byte) error
- func (m *OwnershipRequest) XXX_DiscardUnknown()
- func (m *OwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OwnershipRequest) XXX_Merge(src proto.Message)
- func (m *OwnershipRequest) XXX_Size() int
- func (m *OwnershipRequest) XXX_Unmarshal(b []byte) error
- type OwnershipResponse
- func (*OwnershipResponse) Descriptor() ([]byte, []int)
- func (m *OwnershipResponse) GetPagination() *query.PageResponse
- func (m *OwnershipResponse) GetScopeIds() []string
- func (m *OwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *OwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *OwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*OwnershipResponse) ProtoMessage()
- func (m *OwnershipResponse) Reset()
- func (m *OwnershipResponse) Size() (n int)
- func (m *OwnershipResponse) String() string
- func (m *OwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *OwnershipResponse) XXX_DiscardUnknown()
- func (m *OwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *OwnershipResponse) XXX_Merge(src proto.Message)
- func (m *OwnershipResponse) XXX_Size() int
- func (m *OwnershipResponse) XXX_Unmarshal(b []byte) error
- type Params
- func (*Params) Descriptor() ([]byte, []int)
- func (this *Params) Equal(that interface{}) bool
- func (m *Params) Marshal() (dAtA []byte, err error)
- func (m *Params) MarshalTo(dAtA []byte) (int, error)
- func (m *Params) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
- func (*Params) ProtoMessage()
- func (m *Params) Reset()
- func (m *Params) Size() (n int)
- func (p Params) String() string
- func (m *Params) Unmarshal(dAtA []byte) error
- func (m *Params) XXX_DiscardUnknown()
- func (m *Params) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Params) XXX_Merge(src proto.Message)
- func (m *Params) XXX_Size() int
- func (m *Params) XXX_Unmarshal(b []byte) error
- type Party
- func (*Party) Descriptor() ([]byte, []int)
- func (m *Party) GetAddress() string
- func (m *Party) GetRole() PartyType
- func (m *Party) Marshal() (dAtA []byte, err error)
- func (m *Party) MarshalTo(dAtA []byte) (int, error)
- func (m *Party) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Party) ProtoMessage()
- func (m *Party) Reset()
- func (m *Party) Size() (n int)
- func (p Party) String() string
- func (m *Party) Unmarshal(dAtA []byte) error
- func (p Party) ValidateBasic() error
- func (m *Party) XXX_DiscardUnknown()
- func (m *Party) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Party) XXX_Merge(src proto.Message)
- func (m *Party) XXX_Size() int
- func (m *Party) XXX_Unmarshal(b []byte) error
- type PartyType
- type Process
- func (*Process) Descriptor() ([]byte, []int)
- func (m *Process) GetAddress() string
- func (m *Process) GetHash() string
- func (m *Process) GetMethod() string
- func (m *Process) GetName() string
- func (m *Process) GetProcessId() isProcess_ProcessId
- func (m *Process) Marshal() (dAtA []byte, err error)
- func (m *Process) MarshalTo(dAtA []byte) (int, error)
- func (m *Process) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Process) ProtoMessage()
- func (m *Process) Reset()
- func (m *Process) Size() (n int)
- func (m *Process) String() string
- func (m *Process) Unmarshal(dAtA []byte) error
- func (m *Process) XXX_DiscardUnknown()
- func (m *Process) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Process) XXX_Merge(src proto.Message)
- func (*Process) XXX_OneofWrappers() []interface{}
- func (m *Process) XXX_Size() int
- func (m *Process) XXX_Unmarshal(b []byte) error
- type Process_Address
- type Process_Hash
- type ProposedRecord
- func (*ProposedRecord) Descriptor() ([]byte, []int)
- func (m *ProposedRecord) GetAncestor() Reference
- func (m *ProposedRecord) GetHash() string
- func (m *ProposedRecord) GetName() string
- func (m *ProposedRecord) GetTypeName() string
- func (m *ProposedRecord) Marshal() (dAtA []byte, err error)
- func (m *ProposedRecord) MarshalTo(dAtA []byte) (int, error)
- func (m *ProposedRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ProposedRecord) ProtoMessage()
- func (m *ProposedRecord) Reset()
- func (m *ProposedRecord) Size() (n int)
- func (m *ProposedRecord) String() string
- func (m *ProposedRecord) Unmarshal(dAtA []byte) error
- func (m *ProposedRecord) XXX_DiscardUnknown()
- func (m *ProposedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ProposedRecord) XXX_Merge(src proto.Message)
- func (m *ProposedRecord) XXX_Size() int
- func (m *ProposedRecord) XXX_Unmarshal(b []byte) error
- type QueryClient
- type QueryMetadataParams
- type QueryParamsRequest
- func (*QueryParamsRequest) Descriptor() ([]byte, []int)
- func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsRequest) ProtoMessage()
- func (m *QueryParamsRequest) Reset()
- func (m *QueryParamsRequest) Size() (n int)
- func (m *QueryParamsRequest) String() string
- func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
- func (m *QueryParamsRequest) XXX_DiscardUnknown()
- func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
- func (m *QueryParamsRequest) XXX_Size() int
- func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
- type QueryParamsResponse
- func (*QueryParamsResponse) Descriptor() ([]byte, []int)
- func (m *QueryParamsResponse) GetParams() Params
- func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
- func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*QueryParamsResponse) ProtoMessage()
- func (m *QueryParamsResponse) Reset()
- func (m *QueryParamsResponse) Size() (n int)
- func (m *QueryParamsResponse) String() string
- func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
- func (m *QueryParamsResponse) XXX_DiscardUnknown()
- func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
- func (m *QueryParamsResponse) XXX_Size() int
- func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
- type QueryResOwnership
- type QueryResScope
- type QueryServer
- type Recital
- func (*Recital) Descriptor() ([]byte, []int)
- func (m *Recital) GetAddress() string
- 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) GetInputs() []RecordInput
- func (m *Record) GetName() string
- func (m *Record) GetOutput() []RecordOutput
- func (m *Record) GetProcess() Process
- 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 (r Record) String() string
- func (m *Record) Unmarshal(dAtA []byte) error
- func (r Record) ValidateBasic() 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) GetName() string
- func (m *RecordGroup) GetParties() []Party
- 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 (rg RecordGroup) String() string
- func (m *RecordGroup) Unmarshal(dAtA []byte) error
- func (rg *RecordGroup) ValidateBasic() 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) GetHash() string
- func (m *RecordInput) GetName() string
- func (m *RecordInput) GetSource() isRecordInput_Source
- func (m *RecordInput) GetStatus() RecordInputStatus
- func (m *RecordInput) GetTypeName() string
- 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 (ri RecordInput) String() string
- func (m *RecordInput) Unmarshal(dAtA []byte) error
- func (ri RecordInput) ValidateBasic() 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 (*RecordInput) XXX_OneofWrappers() []interface{}
- func (m *RecordInput) XXX_Size() int
- func (m *RecordInput) XXX_Unmarshal(b []byte) error
- type RecordInputStatus
- type RecordInput_Hash
- type RecordInput_RecordId
- type RecordOutput
- func (*RecordOutput) Descriptor() ([]byte, []int)
- func (m *RecordOutput) GetHash() string
- func (m *RecordOutput) GetStatus() ResultStatus
- func (m *RecordOutput) Marshal() (dAtA []byte, err error)
- func (m *RecordOutput) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordOutput) ProtoMessage()
- func (m *RecordOutput) Reset()
- func (m *RecordOutput) Size() (n int)
- func (m *RecordOutput) String() string
- func (m *RecordOutput) Unmarshal(dAtA []byte) error
- func (m *RecordOutput) XXX_DiscardUnknown()
- func (m *RecordOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordOutput) XXX_Merge(src proto.Message)
- func (m *RecordOutput) XXX_Size() int
- func (m *RecordOutput) XXX_Unmarshal(b []byte) error
- type RecordReference
- func (*RecordReference) Descriptor() ([]byte, []int)
- func (m *RecordReference) GetName() string
- func (m *RecordReference) GetReference() Reference
- func (m *RecordReference) Marshal() (dAtA []byte, err error)
- func (m *RecordReference) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordReference) ProtoMessage()
- func (m *RecordReference) Reset()
- func (m *RecordReference) Size() (n int)
- func (m *RecordReference) String() string
- func (m *RecordReference) Unmarshal(dAtA []byte) error
- func (m *RecordReference) XXX_DiscardUnknown()
- func (m *RecordReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordReference) XXX_Merge(src proto.Message)
- func (m *RecordReference) XXX_Size() int
- func (m *RecordReference) XXX_Unmarshal(b []byte) error
- type RecordRequest
- func (*RecordRequest) Descriptor() ([]byte, []int)
- func (m *RecordRequest) GetName() string
- func (m *RecordRequest) GetScopeId() string
- func (m *RecordRequest) Marshal() (dAtA []byte, err error)
- func (m *RecordRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordRequest) ProtoMessage()
- func (m *RecordRequest) Reset()
- func (m *RecordRequest) Size() (n int)
- func (m *RecordRequest) String() string
- func (m *RecordRequest) Unmarshal(dAtA []byte) error
- func (m *RecordRequest) XXX_DiscardUnknown()
- func (m *RecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordRequest) XXX_Merge(src proto.Message)
- func (m *RecordRequest) XXX_Size() int
- func (m *RecordRequest) XXX_Unmarshal(b []byte) error
- type RecordResponse
- func (*RecordResponse) Descriptor() ([]byte, []int)
- func (m *RecordResponse) GetRecords() []*Record
- func (m *RecordResponse) GetScopeId() string
- func (m *RecordResponse) Marshal() (dAtA []byte, err error)
- func (m *RecordResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordResponse) ProtoMessage()
- func (m *RecordResponse) Reset()
- func (m *RecordResponse) Size() (n int)
- func (m *RecordResponse) String() string
- func (m *RecordResponse) Unmarshal(dAtA []byte) error
- func (m *RecordResponse) XXX_DiscardUnknown()
- func (m *RecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordResponse) XXX_Merge(src proto.Message)
- func (m *RecordResponse) XXX_Size() int
- func (m *RecordResponse) XXX_Unmarshal(b []byte) error
- type RecordSpecification
- func (*RecordSpecification) Descriptor() ([]byte, []int)
- func (m *RecordSpecification) Marshal() (dAtA []byte, err error)
- func (m *RecordSpecification) MarshalTo(dAtA []byte) (int, error)
- func (m *RecordSpecification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*RecordSpecification) ProtoMessage()
- func (m *RecordSpecification) Reset()
- func (m *RecordSpecification) Size() (n int)
- func (m *RecordSpecification) String() string
- func (m *RecordSpecification) Unmarshal(dAtA []byte) error
- func (m *RecordSpecification) XXX_DiscardUnknown()
- func (m *RecordSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *RecordSpecification) XXX_Merge(src proto.Message)
- func (m *RecordSpecification) XXX_Size() int
- func (m *RecordSpecification) XXX_Unmarshal(b []byte) error
- type Reference
- func (*Reference) Descriptor() ([]byte, []int)
- func (m *Reference) GetGroupId() string
- func (m *Reference) GetHash() string
- func (m *Reference) GetName() string
- func (m *Reference) GetScopeId() string
- func (m *Reference) GetTypeName() string
- func (m *Reference) Marshal() (dAtA []byte, err error)
- func (m *Reference) MarshalTo(dAtA []byte) (int, error)
- func (m *Reference) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*Reference) ProtoMessage()
- func (m *Reference) Reset()
- func (m *Reference) Size() (n int)
- func (m *Reference) String() string
- func (m *Reference) Unmarshal(dAtA []byte) error
- func (m *Reference) XXX_DiscardUnknown()
- func (m *Reference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *Reference) XXX_Merge(src proto.Message)
- func (m *Reference) XXX_Size() int
- func (m *Reference) XXX_Unmarshal(b []byte) error
- type ResultStatus
- type ResultType
- type Scope
- func (*Scope) Descriptor() ([]byte, []int)
- func (m *Scope) GetDataAccess() []string
- func (m *Scope) GetOwners() []Party
- func (m *Scope) GetValueOwnerAddress() string
- 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 (s Scope) String() string
- func (m *Scope) Unmarshal(dAtA []byte) error
- func (s *Scope) ValidateBasic() 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 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) GetRecordGroups() []*RecordGroup
- func (m *ScopeResponse) GetRecords() []*Record
- 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 ScopeSpecification
- func (*ScopeSpecification) Descriptor() ([]byte, []int)
- func (m *ScopeSpecification) GetDescription() *Description
- func (m *ScopeSpecification) GetOwnerAddresses() []string
- func (m *ScopeSpecification) GetPartiesInvolved() []PartyType
- func (m *ScopeSpecification) Marshal() (dAtA []byte, err error)
- func (m *ScopeSpecification) MarshalTo(dAtA []byte) (int, error)
- func (m *ScopeSpecification) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ScopeSpecification) ProtoMessage()
- func (m *ScopeSpecification) Reset()
- func (m *ScopeSpecification) Size() (n int)
- func (m *ScopeSpecification) String() string
- func (m *ScopeSpecification) Unmarshal(dAtA []byte) error
- func (m *ScopeSpecification) XXX_DiscardUnknown()
- func (m *ScopeSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ScopeSpecification) XXX_Merge(src proto.Message)
- func (m *ScopeSpecification) XXX_Size() int
- func (m *ScopeSpecification) XXX_Unmarshal(b []byte) error
- type UnimplementedMsgServer
- func (*UnimplementedMsgServer) AddGroupSpecification(ctx context.Context, req *MsgAddGroupSpecificationRequest) (*MsgAddGroupSpecificationResponse, error)
- func (*UnimplementedMsgServer) AddRecord(ctx context.Context, req *MsgAddRecordRequest) (*MsgAddRecordResponse, error)
- func (*UnimplementedMsgServer) AddRecordGroup(ctx context.Context, req *MsgAddRecordGroupRequest) (*MsgAddRecordGroupResponse, error)
- func (*UnimplementedMsgServer) AddScope(ctx context.Context, req *MsgAddScopeRequest) (*MsgAddScopeResponse, error)
- func (*UnimplementedMsgServer) AddScopeSpecification(ctx context.Context, req *MsgAddScopeSpecificationRequest) (*MsgAddScopeSpecificationResponse, error)
- func (*UnimplementedMsgServer) ChangeOwnership(ctx context.Context, req *MsgChangeOwnershipRequest) (*MsgChangeOwnershipResponse, error)
- func (*UnimplementedMsgServer) MemorializeContract(ctx context.Context, req *MsgMemorializeContractRequest) (*MsgMemorializeContractResponse, error)
- func (*UnimplementedMsgServer) RemoveScope(ctx context.Context, req *MsgRemoveScopeRequest) (*MsgRemoveScopeResponse, error)
- type UnimplementedQueryServer
- func (*UnimplementedQueryServer) GroupContext(ctx context.Context, req *GroupContextRequest) (*GroupContextResponse, error)
- func (*UnimplementedQueryServer) Ownership(ctx context.Context, req *OwnershipRequest) (*OwnershipResponse, error)
- func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
- func (*UnimplementedQueryServer) Record(ctx context.Context, req *RecordRequest) (*RecordResponse, error)
- func (*UnimplementedQueryServer) Scope(ctx context.Context, req *ScopeRequest) (*ScopeResponse, error)
- func (*UnimplementedQueryServer) ValueOwnership(ctx context.Context, req *ValueOwnershipRequest) (*ValueOwnershipResponse, error)
- type ValueOwnershipRequest
- func (*ValueOwnershipRequest) Descriptor() ([]byte, []int)
- func (m *ValueOwnershipRequest) GetAddress() string
- func (m *ValueOwnershipRequest) GetPagination() *query.PageRequest
- func (m *ValueOwnershipRequest) Marshal() (dAtA []byte, err error)
- func (m *ValueOwnershipRequest) MarshalTo(dAtA []byte) (int, error)
- func (m *ValueOwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValueOwnershipRequest) ProtoMessage()
- func (m *ValueOwnershipRequest) Reset()
- func (m *ValueOwnershipRequest) Size() (n int)
- func (m *ValueOwnershipRequest) String() string
- func (m *ValueOwnershipRequest) Unmarshal(dAtA []byte) error
- func (m *ValueOwnershipRequest) XXX_DiscardUnknown()
- func (m *ValueOwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValueOwnershipRequest) XXX_Merge(src proto.Message)
- func (m *ValueOwnershipRequest) XXX_Size() int
- func (m *ValueOwnershipRequest) XXX_Unmarshal(b []byte) error
- type ValueOwnershipResponse
- func (*ValueOwnershipResponse) Descriptor() ([]byte, []int)
- func (m *ValueOwnershipResponse) GetPagination() *query.PageResponse
- func (m *ValueOwnershipResponse) GetScopeIds() []string
- func (m *ValueOwnershipResponse) Marshal() (dAtA []byte, err error)
- func (m *ValueOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
- func (m *ValueOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
- func (*ValueOwnershipResponse) ProtoMessage()
- func (m *ValueOwnershipResponse) Reset()
- func (m *ValueOwnershipResponse) Size() (n int)
- func (m *ValueOwnershipResponse) String() string
- func (m *ValueOwnershipResponse) Unmarshal(dAtA []byte) error
- func (m *ValueOwnershipResponse) XXX_DiscardUnknown()
- func (m *ValueOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
- func (m *ValueOwnershipResponse) XXX_Merge(src proto.Message)
- func (m *ValueOwnershipResponse) XXX_Size() int
- func (m *ValueOwnershipResponse) XXX_Unmarshal(b []byte) error
Constants ¶
const ( // PrefixScope is the address human readable prefix used with bech32 encoding of Scope IDs PrefixScope = "scope" // PrefixGroup is the address human readable prefix used with bech32 encoding of Group IDs PrefixGroup = "group" // PrefixRecord is the address human readable prefix used with bech32 encoding of Record IDs PrefixRecord = "record" // PrefixScopeSpecification is the address human readable prefix used with bech32 encoding of ScopeSpecification IDs PrefixScopeSpecification = "scopespec" // PrefixGroupSpecification is the address human readable prefix used with bech32 encoding of GroupSpecification IDs PrefixGroupSpecification = "groupspec" )
const ( // EventTypeScopeCreated is the event type generated when new scopes are created. EventTypeScopeCreated string = "scope_created" // EventTypeScopeUpdated is the event type generated when existing scopes are updated. EventTypeScopeUpdated string = "scope_updated" // EventTypeScopeOwnership is the event type generated when existing scopes have a change ownership request processed. EventTypeScopeOwnership string = "scope_ownership" // EventTypeScopeRemoved is the event type generated when a scope is removed EventTypeScopeRemoved string = "scope_removed" // EventTypeGroupCreated is the event type generated when new record groups are created. EventTypeGroupCreated string = "group_created" // EventTypeGroupUpdated is the event type generated when existing record groups are updated. EventTypeGroupUpdated string = "group_updated" // EventTypeGroupRemoved is the event type generated when a scope is removed EventTypeGroupRemoved string = "group_removed" // EventTypeRecordCreated is the event type generated when new record groups are created. EventTypeRecordCreated string = "record_created" // EventTypeRecordUpdated is the event type generated when existing record groups are updated. EventTypeRecordUpdated string = "record_updated" // EventTypeRecordRemoved is the event type generated when a scope is removed EventTypeRecordRemoved string = "record_removed" // AttributeKeyScopeID is the attribute key for a scope ID attribute JSON value. AttributeKeyScopeID string = "scope_id" // AttributeKeyScope is the attribute key for a scope attribute JSON value. AttributeKeyScope string = "scope" // AttributeKeyGroupID is the attribute key for a scope ID attribute JSON value. AttributeKeyGroupID string = "group_id" // AttributeKeyRecordID is the attribute key for a record ID attribute JSON value. AttributeKeyRecordID string = "record_id" // AttributeKeyExecutionID is the attribute key for a scope ID attribute JSON value. AttributeKeyExecutionID string = "execution_id" // AttributeKeyModuleName is the attribute key for this module. AttributeKeyModuleName string = "module" // AttributeKeyTxHash is the attribute for the transaction hash. AttributeKeyTxHash = "tx_hash" // AttributeValueCategory indicates the category for this value AttributeValueCategory = ModuleName )
const ( // ModuleName is the name of the module ModuleName = "metadata" // StoreKey is string representation of the store key for metadata StoreKey = ModuleName // RouterKey to be used for routing msgs RouterKey = ModuleName // QuerierRoute to be used for queries QuerierRoute = ModuleName // CoinPoolName to be used for coin pool associated with mint/burn activities. CoinPoolName = ModuleName // DefaultParamspace is the name used for the parameter subspace for this module. DefaultParamspace = ModuleName )
const ( TypeMsgMemorializeContractRequest = "memorialize_contract_request" TypeMsgChangeOwnershipRequest = "change_ownershipr_equest" TypeMsgAddScopeRequest = "add_scope_request" TypeMsgRemoveScopeRequest = "remove_scope_request" TypeMsgAddRecordGroupRequest = "add_recordgroup_request" TypeMsgAddRecordRequest = "add_record_request" TypeMsgAddScopeSpecificationRequest = "add_scope_specification_request" TypeMsgAddGroupSpecificationRequest = "add_group_specification_request" )
const ( QueryScope = "account" QueryOwnership = "ownership" QueryParams = "params" )
query endpoints supported by the auth Querier
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 ( ErrInvalidLengthGenesis = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowGenesis = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group") )
var ( // ScopeKeyPrefix is the key for scope records in metadata store ScopeKeyPrefix = []byte{0x00} // GroupKeyPrefix is the key for group records in metadata store GroupKeyPrefix = []byte{0x01} // RecordKeyPrefix is the key for records within scopes in metadata store RecordKeyPrefix = []byte{0x02} // GroupSpecificationPrefix is the key for group specification instances in metadata store GroupSpecificationPrefix = []byte{0x03} // ScopeSpecificationPrefix is the key for scope specifications in metadata store ScopeSpecificationPrefix = []byte{0x04} // AddressCacheKeyPrefix for scope to address cache lookup AddressCacheKeyPrefix = []byte{0x10} // ScopeSpecCacheKeyPrefix for scope to scope specification cache lookup ScopeSpecCacheKeyPrefix = []byte{0x11} // ValueOwnerCacheKeyPrefix for scope to value owner address cache lookup ValueOwnerCacheKeyPrefix = []byte{0x12} )
KVStore Key Prefixes used for iterator/scans against the store and identification of key types Items are stored with the following key: values these keys are handled using the MetadataAddress class.
- 0x00<scope_key_bytes>: Scope
- 0x01<scope_key_bytes><group_id_bytes>: RecordGroup
- 0x02<scope_key_bytes><record_name_bytes>: Record
- 0x03<group_specification_hash>: GroupSpecification
- 0x04<scope_specification_id_bytes>: ScopeSpecification
- 0x10<party_address><scope_key_bytes>: Role
var ( ErrInvalidLengthMetadata = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowMetadata = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupMetadata = 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 ( ErrInvalidLengthSpecification = fmt.Errorf("proto: negative length found during unmarshaling") ErrIntOverflowSpecification = fmt.Errorf("proto: integer overflow") ErrUnexpectedEndOfGroupSpecification = 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 DefinitionType_name = map[int32]string{
0: "DEFINITION_TYPE_UNSPECIFIED",
1: "DEFINITION_TYPE_PROPOSED",
2: "DEFINITION_TYPE_FACT",
3: "DEFINITION_TYPE_FACT_LIST",
}
var DefinitionType_value = map[string]int32{
"DEFINITION_TYPE_UNSPECIFIED": 0,
"DEFINITION_TYPE_PROPOSED": 1,
"DEFINITION_TYPE_FACT": 2,
"DEFINITION_TYPE_FACT_LIST": 3,
}
var ( // ModuleCdc references the global x/metadata module codec. Note, the codec should // ONLY be used in certain instances of tests and for JSON encoding as Amino is // still used for that purpose. // // The actual codec used for serialization should be provided to x/metadata and // defined at the application level. ModuleCdc = codec.NewAminoCodec(amino) )
var PartyType_name = map[int32]string{
0: "PARTY_TYPE_UNSPECIFIED",
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",
}
var PartyType_value = map[string]int32{
"PARTY_TYPE_UNSPECIFIED": 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,
}
var RecordInputStatus_name = map[int32]string{
0: "RECORD_INPUT_STATUS_UNSPECIFIED",
1: "RECORD_INPUT_STATUS_PROPOSED",
2: "RECORD_INPUT_STATUS_RECORD",
}
var RecordInputStatus_value = map[string]int32{
"RECORD_INPUT_STATUS_UNSPECIFIED": 0,
"RECORD_INPUT_STATUS_PROPOSED": 1,
"RECORD_INPUT_STATUS_RECORD": 2,
}
var ResultStatus_name = map[int32]string{
0: "RESULT_STATUS_UNSPECIFIED",
1: "RESULT_STATUS_PASS",
2: "RESULT_STATUS_SKIP",
3: "RESULT_STATUS_FAIL",
}
var ResultStatus_value = map[string]int32{
"RESULT_STATUS_UNSPECIFIED": 0,
"RESULT_STATUS_PASS": 1,
"RESULT_STATUS_SKIP": 2,
"RESULT_STATUS_FAIL": 3,
}
var ResultType_name = map[int32]string{
0: "RESULT_TYPE_UNSPECIFIED",
1: "RESULT_TYPE_PASS",
2: "RESULT_TYPE_SKIP",
3: "RESULT_TYPE_FAIL",
}
var ResultType_value = map[string]int32{
"RESULT_TYPE_UNSPECIFIED": 0,
"RESULT_TYPE_PASS": 1,
"RESULT_TYPE_SKIP": 2,
"RESULT_TYPE_FAIL": 3,
}
Functions ¶
func GetAddressCacheIteratorPrefix ¶
func GetAddressCacheIteratorPrefix(addr sdk.AccAddress) []byte
GetAddressCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address
func GetAddressCacheKey ¶
func GetAddressCacheKey(addr sdk.AccAddress, scopeID MetadataAddress) []byte
GetAddressCacheKey returns the store key for an address cache entry
func GetScopeSpecCacheIteratorPrefix ¶
func GetScopeSpecCacheIteratorPrefix(scopeSpecID MetadataAddress) []byte
GetScopeSpecCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address
func GetScopeSpecCacheKey ¶
func GetScopeSpecCacheKey(scopeSpecID MetadataAddress, scopeID MetadataAddress) []byte
GetScopeSpecCacheKey returns the store key for an address cache entry
func GetValueOwnerCacheIteratorPrefix ¶
func GetValueOwnerCacheIteratorPrefix(addr sdk.AccAddress) []byte
GetValueOwnerCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address
func GetValueOwnerCacheKey ¶
func GetValueOwnerCacheKey(addr sdk.AccAddress, scopeID MetadataAddress) []byte
GetValueOwnerCacheKey returns the store key for an address cache entry
func RegisterInterfaces ¶
func RegisterInterfaces(registry types.InterfaceRegistry)
RegisterInterfaces registers implementations for the tx messages
func RegisterLegacyAminoCodec ¶
func RegisterLegacyAminoCodec(cdc *codec.LegacyAmino)
RegisterLegacyAminoCodec registers concrete types on the Amino codec
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 VerifyMetadataAddressFormat ¶
VerifyMetadataAddressFormat checks a sequence of bytes for proper format as a MetadataAddress instance returns the associated bech32 hrp/type name or any errors encountered during verification
Types ¶
type AuditFields ¶
type AuditFields struct { // the date/time when this entry was created CreatedDate time.Time `protobuf:"bytes,1,opt,name=created_date,json=createdDate,proto3,stdtime" json:"created_date" yaml:"created_date"` // the address of the account that created this record CreatedBy string `protobuf:"bytes,2,opt,name=created_by,json=createdBy,proto3" json:"created_by,omitempty" yaml:"created_by"` // the date/time when this entry was last updated UpdatedDate time.Time `protobuf:"bytes,3,opt,name=updated_date,json=updatedDate,proto3,stdtime" json:"updated_date" yaml:"updated_date"` // the address of the account that modified this record UpdatedBy string `protobuf:"bytes,4,opt,name=updated_by,json=updatedBy,proto3" json:"updated_by,omitempty" yaml:"updated_by"` // an optional version number that is incremented with each update Version uint32 `protobuf:"varint,5,opt,name=version,proto3" json:"version,omitempty"` // an optional message associated with the creation/update event Message string `protobuf:"bytes,6,opt,name=message,proto3" json:"message,omitempty"` }
AuditFields capture information about the last account to make modifications and when they were made
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() uint32
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 Condition ¶
type Condition struct { // conidtion_name will match the name of a condition listed on the record group specification ConditionName string `protobuf:"bytes,1,opt,name=condition_name,json=conditionName,proto3" json:"condition_name,omitempty"` // the result of the condition evaluation Result ExecutionResult `protobuf:"bytes,2,opt,name=result,proto3" json:"result"` }
Conditions are constraints that are checked prior to contract execution
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 { // common name for this condition Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` InputSpecs []*Definition `protobuf:"bytes,2,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` OutputSpec *Definition `protobuf:"bytes,3,opt,name=output_spec,json=outputSpec,proto3" json:"output_spec,omitempty"` }
ConditionSpec defines a collection of outputs and process information listed as preconditions that must be met before a contract execution is valid
func (*ConditionSpec) Descriptor ¶
func (*ConditionSpec) Descriptor() ([]byte, []int)
func (*ConditionSpec) GetInputSpecs ¶
func (m *ConditionSpec) GetInputSpecs() []*Definition
func (*ConditionSpec) GetName ¶
func (m *ConditionSpec) GetName() string
func (*ConditionSpec) GetOutputSpec ¶
func (m *ConditionSpec) GetOutputSpec() *Definition
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 []ProposedRecord `protobuf:"bytes,2,rep,name=inputs,proto3" json:"inputs"` // result of evaluating this condition Result ExecutionResult `protobuf:"bytes,3,opt,name=result,proto3" json:"result"` }
Considerations are outputs of a contract
func (*Consideration) Descriptor ¶
func (*Consideration) Descriptor() ([]byte, []int)
func (*Consideration) GetConsiderationName ¶
func (m *Consideration) GetConsiderationName() string
func (*Consideration) GetInputs ¶
func (m *Consideration) GetInputs() []ProposedRecord
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 { // common name for this consideration Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // Invoking party must be functioning in this role ResponsibleParty PartyType `` /* 148-byte string literal not displayed */ // A repeated set of input specifications that must be listed and matched correctly in order to add a record listed // in output_spec to the scope InputSpecs []*Definition `protobuf:"bytes,3,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` // The specification for the record that will be added to a scope if this consideration is satisfied OutputSpec *Definition `protobuf:"bytes,4,opt,name=output_spec,json=outputSpec,proto3" json:"output_spec,omitempty"` }
ConsiderationSpec defines a unit of process execution that should be performed by responsible parties in order to record a set of outputs within a scope
func (*ConsiderationSpec) Descriptor ¶
func (*ConsiderationSpec) Descriptor() ([]byte, []int)
func (*ConsiderationSpec) GetInputSpecs ¶
func (m *ConsiderationSpec) GetInputSpecs() []*Definition
func (*ConsiderationSpec) GetName ¶
func (m *ConsiderationSpec) GetName() string
func (*ConsiderationSpec) GetOutputSpec ¶
func (m *ConsiderationSpec) GetOutputSpec() *Definition
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 Definition `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition"` // Points to the proto for the contractSpec Spec RecordReference `protobuf:"bytes,2,opt,name=spec,proto3" json:"spec"` // Invoker address of this contract Invoker string `protobuf:"bytes,3,opt,name=invoker,proto3" json:"invoker,omitempty"` // A repeated list of references both on/off chain used by the contract conditions/considerations Inputs []RecordReference `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs"` // A set of conditions to evaluate first, if these conditions are not all succcessful then the considerations // are not evaluated. Conditions []Condition `protobuf:"bytes,5,rep,name=conditions,proto3" json:"conditions"` // A collection of outputs summarizing the execution of processes that will result in records within the scope Considerations []Consideration `protobuf:"bytes,6,rep,name=considerations,proto3" json:"considerations"` // The parties and the roles they are performing as associated with the contract that was executed. Recitals Recitals `protobuf:"bytes,7,opt,name=recitals,proto3" json:"recitals"` }
Contracts are the collection results of an execution of code within the P8e execution environment
func (*Contract) Descriptor ¶
func (*Contract) GetConditions ¶
func (*Contract) GetConsiderations ¶
func (m *Contract) GetConsiderations() []Consideration
func (*Contract) GetDefinition ¶
func (m *Contract) GetDefinition() Definition
func (*Contract) GetInputs ¶
func (m *Contract) GetInputs() []RecordReference
func (*Contract) GetInvoker ¶
func (*Contract) GetRecitals ¶
func (Contract) GetSigners ¶
func (contract Contract) GetSigners() (signers []sdk.AccAddress)
GetSigners returns the required signers for a given contract
func (*Contract) GetSpec ¶
func (m *Contract) GetSpec() RecordReference
func (*Contract) MarshalToSizedBuffer ¶
func (*Contract) ProtoMessage ¶
func (*Contract) ProtoMessage()
func (Contract) ValidateBasic ¶
ValidateBasic runs stateless validation checks on the message.
func (*Contract) XXX_DiscardUnknown ¶
func (m *Contract) XXX_DiscardUnknown()
func (*Contract) XXX_Marshal ¶
func (*Contract) XXX_Unmarshal ¶
type ContractSpec ¶
type ContractSpec struct { // The definition points to a resource that defines the instance of code that will process this group Definition *Definition `protobuf:"bytes,1,opt,name=definition,proto3" json:"definition,omitempty"` // input specifications indicating proposed (off chain data values) and facts (on chain qualified references) InputSpecs []*Definition `protobuf:"bytes,2,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` // a list of parties that must sign a transaction using a given role PartiesInvolved []PartyType `` /* 152-byte string literal not displayed */ // a colleciton of checks that must be satisfied against a scope prior to allowing a record to be added under this // specification ConditionSpecs []*ConditionSpec `protobuf:"bytes,4,rep,name=condition_specs,json=conditionSpecs,proto3" json:"condition_specs,omitempty"` // a colleciton of method/process specifications that when performed and documented by responsible parties listed // above, result in adding a new record to the scope as defined in the output_spec ConsiderationSpecs []*ConsiderationSpec `protobuf:"bytes,5,rep,name=consideration_specs,json=considerationSpecs,proto3" json:"consideration_specs,omitempty"` }
A Contract Specification (used to create a GroupSpecification for the Contract Execution Environment)
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() *Definition
func (*ContractSpec) GetInputSpecs ¶
func (m *ContractSpec) GetInputSpecs() []*Definition
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 Definition ¶
type Definition struct { // a common name given to this definition. The name is used to match up with references to this part of the spec Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // location of the resource on chain ResourceLocation *Reference `protobuf:"bytes,2,opt,name=resource_location,json=resourceLocation,proto3" json:"resource_location,omitempty"` // address of the account that created this definition CreatorAddress string `protobuf:"bytes,3,opt,name=creator_address,json=creatorAddress,proto3" json:"creator_address,omitempty"` // The type of data definition (proposed, fact/recorded, list) DefinitionType DefinitionType `` /* 147-byte string literal not displayed */ }
Definition encapsulates the information required to uniquely associate a resource with a type and location
func (*Definition) Descriptor ¶
func (*Definition) Descriptor() ([]byte, []int)
func (*Definition) GetCreatorAddress ¶
func (m *Definition) GetCreatorAddress() string
func (*Definition) GetDefinitionType ¶
func (m *Definition) GetDefinitionType() DefinitionType
func (*Definition) GetName ¶
func (m *Definition) GetName() string
func (*Definition) GetResourceLocation ¶
func (m *Definition) GetResourceLocation() *Reference
func (*Definition) Marshal ¶
func (m *Definition) Marshal() (dAtA []byte, err error)
func (*Definition) MarshalToSizedBuffer ¶
func (m *Definition) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Definition) ProtoMessage ¶
func (*Definition) ProtoMessage()
func (*Definition) Reset ¶
func (m *Definition) Reset()
func (*Definition) Size ¶
func (m *Definition) Size() (n int)
func (*Definition) String ¶
func (m *Definition) String() string
func (*Definition) Unmarshal ¶
func (m *Definition) Unmarshal(dAtA []byte) error
func (*Definition) XXX_DiscardUnknown ¶
func (m *Definition) XXX_DiscardUnknown()
func (*Definition) XXX_Marshal ¶
func (m *Definition) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Definition) XXX_Merge ¶
func (m *Definition) XXX_Merge(src proto.Message)
func (*Definition) XXX_Size ¶
func (m *Definition) XXX_Size() int
func (*Definition) XXX_Unmarshal ¶
func (m *Definition) XXX_Unmarshal(b []byte) error
type DefinitionType ¶
type DefinitionType int32
DefinitionType indicates the required definition type for this value
const ( // DEFINITION_TYPE_UNSPECIFIED indicates an unknown/invalid value DefinitionType_DEFINITION_TYPE_UNSPECIFIED DefinitionType = 0 // DEFINITION_TYPE_PROPOSED indicates a proposed value is used here (a record that is not on-chain) DefinitionType_DEFINITION_TYPE_PROPOSED DefinitionType = 1 // DEFINITION_TYPE_FACT indicates the value must be a reference to a record on chain DefinitionType_DEFINITION_TYPE_FACT DefinitionType = 2 // DEFINITION_TYPE_FACT_LIST indicates the value maybe a reference to a colleciton of values on chain having // the same name DefinitionType_DEFINITION_TYPE_FACT_LIST DefinitionType = 3 )
func (DefinitionType) EnumDescriptor ¶
func (DefinitionType) EnumDescriptor() ([]byte, []int)
func (DefinitionType) String ¶
func (x DefinitionType) String() string
type Description ¶
type Description struct { // A Name for this thing. Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // A description of this thing. Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` // URL to find even more info. WebsiteUrl string `protobuf:"bytes,4,opt,name=website_url,json=websiteUrl,proto3" json:"website_url,omitempty" yaml:"website_url"` // URL of an icon. IconUrl string `protobuf:"bytes,5,opt,name=icon_url,json=iconUrl,proto3" json:"icon_url,omitempty" yaml:"icon_url"` }
Description holds general information that is handy to associate with a structure.
func (*Description) Descriptor ¶
func (*Description) Descriptor() ([]byte, []int)
func (*Description) GetDescription ¶
func (m *Description) GetDescription() string
func (*Description) GetIconUrl ¶
func (m *Description) GetIconUrl() string
func (*Description) GetName ¶
func (m *Description) GetName() string
func (*Description) GetWebsiteUrl ¶
func (m *Description) GetWebsiteUrl() string
func (*Description) Marshal ¶
func (m *Description) Marshal() (dAtA []byte, err error)
func (*Description) MarshalToSizedBuffer ¶
func (m *Description) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Description) ProtoMessage ¶
func (*Description) ProtoMessage()
func (*Description) Reset ¶
func (m *Description) Reset()
func (*Description) Size ¶
func (m *Description) Size() (n int)
func (*Description) String ¶
func (m *Description) String() string
func (*Description) Unmarshal ¶
func (m *Description) Unmarshal(dAtA []byte) error
func (*Description) XXX_DiscardUnknown ¶
func (m *Description) XXX_DiscardUnknown()
func (*Description) XXX_Marshal ¶
func (m *Description) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*Description) XXX_Merge ¶
func (m *Description) XXX_Merge(src proto.Message)
func (*Description) XXX_Size ¶
func (m *Description) XXX_Size() int
func (*Description) XXX_Unmarshal ¶
func (m *Description) XXX_Unmarshal(b []byte) error
type ExecutionResult ¶
type ExecutionResult struct { // output of the execution of the process or method within the contract Output ProposedRecord `protobuf:"bytes,1,opt,name=output,proto3" json:"output"` // generic result classification (pass/fail/skip) Result ResultType `protobuf:"varint,2,opt,name=result,proto3,enum=provenance.metadata.v1.ResultType" json:"result,omitempty"` // the timestap of when the execution result was created RecordedAt time.Time `protobuf:"bytes,3,opt,name=recorded_at,json=recordedAt,proto3,stdtime" json:"recorded_at" yaml:"recorded_at"` // an associated error message (if applicable) ErrorMessage string `protobuf:"bytes,4,opt,name=error_message,json=errorMessage,proto3" json:"error_message,omitempty"` }
ExecutionResult is a structure that holds the output of a given execution
func (*ExecutionResult) Descriptor ¶
func (*ExecutionResult) Descriptor() ([]byte, []int)
func (*ExecutionResult) GetErrorMessage ¶
func (m *ExecutionResult) GetErrorMessage() string
func (*ExecutionResult) GetOutput ¶
func (m *ExecutionResult) GetOutput() ProposedRecord
func (*ExecutionResult) GetRecordedAt ¶
func (m *ExecutionResult) GetRecordedAt() time.Time
func (*ExecutionResult) GetResult ¶
func (m *ExecutionResult) GetResult() ResultType
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 GenesisState ¶
type GenesisState struct { // params defines all the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` // A collection of metadata scopes and specs to create on start Scopes []Scope `protobuf:"bytes,2,rep,name=scopes,proto3" json:"scopes"` Groups []RecordGroup `protobuf:"bytes,3,rep,name=groups,proto3" json:"groups"` Records []Record `protobuf:"bytes,4,rep,name=records,proto3" json:"records"` ScopeSpecifications []ScopeSpecification `protobuf:"bytes,5,rep,name=scope_specifications,json=scopeSpecifications,proto3" json:"scope_specifications"` GroupSpecifications []GroupSpecification `protobuf:"bytes,6,rep,name=group_specifications,json=groupSpecifications,proto3" json:"group_specifications"` }
GenesisState defines the account module's genesis state.
func DefaultGenesisState ¶
func DefaultGenesisState() *GenesisState
DefaultGenesisState returns a zero-value genesis state.
func NewGenesisState ¶
func NewGenesisState( params Params, scopes []Scope, groups []RecordGroup, records []Record, scopeSpecs []ScopeSpecification, groupSpecs []GroupSpecification, ) *GenesisState
NewGenesisState returns a new instance of GenesisState
func (*GenesisState) Descriptor ¶
func (*GenesisState) Descriptor() ([]byte, []int)
func (*GenesisState) Marshal ¶
func (m *GenesisState) Marshal() (dAtA []byte, err error)
func (*GenesisState) MarshalToSizedBuffer ¶
func (m *GenesisState) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GenesisState) ProtoMessage ¶
func (*GenesisState) ProtoMessage()
func (*GenesisState) Reset ¶
func (m *GenesisState) Reset()
func (*GenesisState) Size ¶
func (m *GenesisState) Size() (n int)
func (*GenesisState) String ¶
func (m *GenesisState) String() string
func (*GenesisState) Unmarshal ¶
func (m *GenesisState) Unmarshal(dAtA []byte) error
func (GenesisState) Validate ¶
func (state GenesisState) Validate() error
Validate ensures the genesis state is valid.
func (*GenesisState) XXX_DiscardUnknown ¶
func (m *GenesisState) XXX_DiscardUnknown()
func (*GenesisState) XXX_Marshal ¶
func (m *GenesisState) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GenesisState) XXX_Merge ¶
func (m *GenesisState) XXX_Merge(src proto.Message)
func (*GenesisState) XXX_Size ¶
func (m *GenesisState) XXX_Size() int
func (*GenesisState) XXX_Unmarshal ¶
func (m *GenesisState) XXX_Unmarshal(b []byte) error
type GroupContextRequest ¶
type GroupContextRequest struct { ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"` GroupId string `protobuf:"bytes,2,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` }
GroupContextRequest returns the record groups for a given scope identifer or optionally a specific record group
func (*GroupContextRequest) Descriptor ¶
func (*GroupContextRequest) Descriptor() ([]byte, []int)
func (*GroupContextRequest) GetGroupId ¶
func (m *GroupContextRequest) GetGroupId() string
func (*GroupContextRequest) GetScopeId ¶
func (m *GroupContextRequest) GetScopeId() string
func (*GroupContextRequest) Marshal ¶
func (m *GroupContextRequest) Marshal() (dAtA []byte, err error)
func (*GroupContextRequest) MarshalTo ¶
func (m *GroupContextRequest) MarshalTo(dAtA []byte) (int, error)
func (*GroupContextRequest) MarshalToSizedBuffer ¶
func (m *GroupContextRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupContextRequest) ProtoMessage ¶
func (*GroupContextRequest) ProtoMessage()
func (*GroupContextRequest) Reset ¶
func (m *GroupContextRequest) Reset()
func (*GroupContextRequest) Size ¶
func (m *GroupContextRequest) Size() (n int)
func (*GroupContextRequest) String ¶
func (m *GroupContextRequest) String() string
func (*GroupContextRequest) Unmarshal ¶
func (m *GroupContextRequest) Unmarshal(dAtA []byte) error
func (*GroupContextRequest) XXX_DiscardUnknown ¶
func (m *GroupContextRequest) XXX_DiscardUnknown()
func (*GroupContextRequest) XXX_Marshal ¶
func (m *GroupContextRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupContextRequest) XXX_Merge ¶
func (m *GroupContextRequest) XXX_Merge(src proto.Message)
func (*GroupContextRequest) XXX_Size ¶
func (m *GroupContextRequest) XXX_Size() int
func (*GroupContextRequest) XXX_Unmarshal ¶
func (m *GroupContextRequest) XXX_Unmarshal(b []byte) error
type GroupContextResponse ¶
type GroupContextResponse struct {
Groups []*RecordGroup `protobuf:"bytes,1,rep,name=groups,proto3" json:"groups,omitempty"`
}
GroupContextResponse is the response to a GroupContextRequest
func (*GroupContextResponse) Descriptor ¶
func (*GroupContextResponse) Descriptor() ([]byte, []int)
func (*GroupContextResponse) GetGroups ¶
func (m *GroupContextResponse) GetGroups() []*RecordGroup
func (*GroupContextResponse) Marshal ¶
func (m *GroupContextResponse) Marshal() (dAtA []byte, err error)
func (*GroupContextResponse) MarshalTo ¶
func (m *GroupContextResponse) MarshalTo(dAtA []byte) (int, error)
func (*GroupContextResponse) MarshalToSizedBuffer ¶
func (m *GroupContextResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupContextResponse) ProtoMessage ¶
func (*GroupContextResponse) ProtoMessage()
func (*GroupContextResponse) Reset ¶
func (m *GroupContextResponse) Reset()
func (*GroupContextResponse) Size ¶
func (m *GroupContextResponse) Size() (n int)
func (*GroupContextResponse) String ¶
func (m *GroupContextResponse) String() string
func (*GroupContextResponse) Unmarshal ¶
func (m *GroupContextResponse) Unmarshal(dAtA []byte) error
func (*GroupContextResponse) XXX_DiscardUnknown ¶
func (m *GroupContextResponse) XXX_DiscardUnknown()
func (*GroupContextResponse) XXX_Marshal ¶
func (m *GroupContextResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupContextResponse) XXX_Merge ¶
func (m *GroupContextResponse) XXX_Merge(src proto.Message)
func (*GroupContextResponse) XXX_Size ¶
func (m *GroupContextResponse) XXX_Size() int
func (*GroupContextResponse) XXX_Unmarshal ¶
func (m *GroupContextResponse) XXX_Unmarshal(b []byte) error
type GroupSpecification ¶
type GroupSpecification struct { // unique identifier for this specification on chain SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */ // The definition points to a resource that defines the instance of code that will process this group Definition *Definition `protobuf:"bytes,2,opt,name=definition,proto3" json:"definition,omitempty"` // input specifications indicating proposed (off chain data values) and facts (on chain qualified references) InputSpecs []*Definition `protobuf:"bytes,3,rep,name=input_specs,json=inputSpecs,proto3" json:"input_specs,omitempty"` // a list of parties that must sign a transaction using a given role PartiesInvolved []PartyType `` /* 152-byte string literal not displayed */ // a colleciton of checks that must be satisfied against a scope prior to allowing a record to be added under this // specification ConditionSpecs []*ConditionSpec `protobuf:"bytes,5,rep,name=condition_specs,json=conditionSpecs,proto3" json:"condition_specs,omitempty"` // a colleciton of method/process specifications that when performed and documented by responsible parties listed // above, result in adding a new record to the scope as defined in the output_spec ConsiderationSpecs []*ConsiderationSpec `protobuf:"bytes,6,rep,name=consideration_specs,json=considerationSpecs,proto3" json:"consideration_specs,omitempty"` }
GroupSpecification defines the required parties, resources, conditions, and consideration outputs for a contract
func (*GroupSpecification) Descriptor ¶
func (*GroupSpecification) Descriptor() ([]byte, []int)
func (*GroupSpecification) GetConditionSpecs ¶
func (m *GroupSpecification) GetConditionSpecs() []*ConditionSpec
func (*GroupSpecification) GetConsiderationSpecs ¶
func (m *GroupSpecification) GetConsiderationSpecs() []*ConsiderationSpec
func (*GroupSpecification) GetDefinition ¶
func (m *GroupSpecification) GetDefinition() *Definition
func (*GroupSpecification) GetInputSpecs ¶
func (m *GroupSpecification) GetInputSpecs() []*Definition
func (*GroupSpecification) GetPartiesInvolved ¶
func (m *GroupSpecification) GetPartiesInvolved() []PartyType
func (*GroupSpecification) Marshal ¶
func (m *GroupSpecification) Marshal() (dAtA []byte, err error)
func (*GroupSpecification) MarshalTo ¶
func (m *GroupSpecification) MarshalTo(dAtA []byte) (int, error)
func (*GroupSpecification) MarshalToSizedBuffer ¶
func (m *GroupSpecification) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*GroupSpecification) ProtoMessage ¶
func (*GroupSpecification) ProtoMessage()
func (*GroupSpecification) Reset ¶
func (m *GroupSpecification) Reset()
func (*GroupSpecification) Size ¶
func (m *GroupSpecification) Size() (n int)
func (*GroupSpecification) String ¶
func (m *GroupSpecification) String() string
func (*GroupSpecification) Unmarshal ¶
func (m *GroupSpecification) Unmarshal(dAtA []byte) error
func (*GroupSpecification) XXX_DiscardUnknown ¶
func (m *GroupSpecification) XXX_DiscardUnknown()
func (*GroupSpecification) XXX_Marshal ¶
func (m *GroupSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*GroupSpecification) XXX_Merge ¶
func (m *GroupSpecification) XXX_Merge(src proto.Message)
func (*GroupSpecification) XXX_Size ¶
func (m *GroupSpecification) XXX_Size() int
func (*GroupSpecification) XXX_Unmarshal ¶
func (m *GroupSpecification) XXX_Unmarshal(b []byte) error
type MetadataAddress ¶
type MetadataAddress []byte
MetadataAddress is a blockchain compliant address based on UUIDs
func ConvertHashToAddress ¶
func ConvertHashToAddress(typeCode []byte, hash string) (addr MetadataAddress, err error)
ConvertHashToAddress constructs a MetadataAddress using the provided type code and the first 16 bytes of the base64 decoded hash. Resulting Address is not guaranteed to contain a valid V4 UUID (random only)
func GroupMetadataAddress ¶
func GroupMetadataAddress(scopeUUID uuid.UUID, groupUUID uuid.UUID) MetadataAddress
GroupMetadataAddress creates a MetadataAddress instance for a group within a scope by uuids
func GroupSpecMetadataAddress ¶
func GroupSpecMetadataAddress(specUUID uuid.UUID) MetadataAddress
GroupSpecMetadataAddress creates a MetadataAddress instance for a group specification
func MetadataAddressFromBech32 ¶
func MetadataAddressFromBech32(address string) (addr MetadataAddress, err error)
MetadataAddressFromBech32 creates a MetadataAddress from a Bech32 string. The encoded data is checked against the provided bech32 hrp along with an overall verification of the byte format.
func MetadataAddressFromHex ¶
func MetadataAddressFromHex(address string) (MetadataAddress, error)
MetadataAddressFromHex creates a MetadataAddress from a hex string. NOTE: Does not perform validation on address, only performs basic HEX decoding checks. This method matches the sdk.AccAddress approach
func RecordMetadataAddress ¶
func RecordMetadataAddress(scopeUUID uuid.UUID, name string) MetadataAddress
RecordMetadataAddress creates a MetadataAddress instance for a record within a scope by scope uuid/record name
func ScopeMetadataAddress ¶
func ScopeMetadataAddress(scopeUUID uuid.UUID) MetadataAddress
ScopeMetadataAddress creates a MetadataAddress instance for the given scope by its uuid
func ScopeSpecMetadataAddress ¶
func ScopeSpecMetadataAddress(specUUID uuid.UUID) MetadataAddress
ScopeSpecMetadataAddress creates a MetadataAddress instance for a scope specification
func (MetadataAddress) Bytes ¶
func (ma MetadataAddress) Bytes() []byte
Bytes implements Address interface, returns the raw bytes for this Address
func (MetadataAddress) Compare ¶
func (ma MetadataAddress) Compare(other MetadataAddress) int
Compare exists to fit gogoprotobuf custom type interface.
func (MetadataAddress) Empty ¶
func (ma MetadataAddress) Empty() bool
Empty returns true if the MetadataAddress is uninitialized
func (MetadataAddress) Equals ¶
func (ma MetadataAddress) Equals(ma2 sdk.Address) bool
Equals determines if the current MetadataAddress is equal to another sdk.Address
func (MetadataAddress) Format ¶
func (ma MetadataAddress) Format(s fmt.State, verb rune)
Format implements fmt.Format interface
func (MetadataAddress) GetRecordAddress ¶
func (ma MetadataAddress) GetRecordAddress(name string) MetadataAddress
GetRecordAddress returns the MetadataAddress for a record with the given name within the current scope context panics if the current context is not associated with a scope.
func (MetadataAddress) GroupUUID ¶
func (ma MetadataAddress) GroupUUID() (uuid.UUID, error)
GroupUUID returns the group uuid component of a MetadataAddress (if appropriate)
func (MetadataAddress) IsGroupAddress ¶
func (ma MetadataAddress) IsGroupAddress() bool
IsGroupAddress returns true is the address is valid and matches this type
func (MetadataAddress) IsGroupSpecificationAddress ¶
func (ma MetadataAddress) IsGroupSpecificationAddress() bool
IsGroupSpecificationAddress returns true is the address is valid and matches this type
func (MetadataAddress) IsRecordAddress ¶
func (ma MetadataAddress) IsRecordAddress() bool
IsRecordAddress returns true is the address is valid and matches this type
func (MetadataAddress) IsScopeAddress ¶
func (ma MetadataAddress) IsScopeAddress() bool
IsScopeAddress returns true is the address is valid and matches this type
func (MetadataAddress) IsScopeSpecificationAddress ¶
func (ma MetadataAddress) IsScopeSpecificationAddress() bool
IsScopeSpecificationAddress returns true is the address is valid and matches this type
func (MetadataAddress) Marshal ¶
func (ma MetadataAddress) Marshal() ([]byte, error)
Marshal returns the bytes underlying the MetadataAddress instance
func (MetadataAddress) MarshalJSON ¶
func (ma MetadataAddress) MarshalJSON() ([]byte, error)
MarshalJSON returns a JSON representation for the current address using a bech32 encoded string
func (*MetadataAddress) MarshalTo ¶
func (ma *MetadataAddress) MarshalTo(data []byte) (int, error)
MarshalTo implements gogoproto custom type interface and writes the current bytes into the provided data structure
func (MetadataAddress) MarshalYAML ¶
func (ma MetadataAddress) MarshalYAML() (interface{}, error)
MarshalYAML returns a YAML representation for the current address using a bech32 encoded string
func (MetadataAddress) ScopeGroupIteratorPrefix ¶
func (ma MetadataAddress) ScopeGroupIteratorPrefix() ([]byte, error)
ScopeGroupIteratorPrefix returns an iterator prefix that finds all Groups assigned to the metadata address scope if the current address is empty then returns a prefix to iterate through all groups
func (MetadataAddress) ScopeRecordIteratorPrefix ¶
func (ma MetadataAddress) ScopeRecordIteratorPrefix() ([]byte, error)
ScopeRecordIteratorPrefix returns an iterator prefix that finds all Records assigned to the metadata address scope if the current address is empty the returns a prefix to iterate through all records
func (MetadataAddress) ScopeUUID ¶
func (ma MetadataAddress) ScopeUUID() (uuid.UUID, error)
ScopeUUID returns the scope uuid component of a MetadataAddress (if appropriate)
func (MetadataAddress) Size ¶
func (ma MetadataAddress) Size() int
Size implements gogoproto custom type interface and returns the number of bytes in this instance
func (MetadataAddress) String ¶
func (ma MetadataAddress) String() string
String implements the stringer interface and encodes as a bech32
func (*MetadataAddress) Unmarshal ¶
func (ma *MetadataAddress) Unmarshal(data []byte) error
Unmarshal initializes a MetadataAddress instance using the given bytes. An error will be returned if the given bytes do not form a valid Address
func (*MetadataAddress) UnmarshalJSON ¶
func (ma *MetadataAddress) UnmarshalJSON(data []byte) error
UnmarshalJSON creates a MetadataAddress instance from the given JSON data
func (*MetadataAddress) UnmarshalYAML ¶
func (ma *MetadataAddress) UnmarshalYAML(data []byte) error
UnmarshalYAML creates a MetadataAddress instance from the given YAML data
func (MetadataAddress) Validate ¶
func (ma MetadataAddress) Validate() (err error)
Validate determines if the contained bytes form a valid MetadataAddress according to its type
type MsgAddGroupSpecificationRequest ¶
type MsgAddGroupSpecificationRequest struct { Specification *GroupSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"` Notary string `protobuf:"bytes,2,opt,name=notary,proto3" json:"notary,omitempty"` }
MsgAddGroupSpecificationRequest is a request to add a group of records to a scope
func NewMsgAddGroupSpecificationRequest ¶
func NewMsgAddGroupSpecificationRequest() *MsgAddGroupSpecificationRequest
NewMsgAddGroupSpecificationRequest creates a new msg instance
func (*MsgAddGroupSpecificationRequest) Descriptor ¶
func (*MsgAddGroupSpecificationRequest) Descriptor() ([]byte, []int)
func (MsgAddGroupSpecificationRequest) GetSignBytes ¶
func (msg MsgAddGroupSpecificationRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgAddGroupSpecificationRequest) GetSigners ¶
func (msg MsgAddGroupSpecificationRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
func (*MsgAddGroupSpecificationRequest) Marshal ¶
func (m *MsgAddGroupSpecificationRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddGroupSpecificationRequest) MarshalTo ¶
func (m *MsgAddGroupSpecificationRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddGroupSpecificationRequest) MarshalToSizedBuffer ¶
func (m *MsgAddGroupSpecificationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddGroupSpecificationRequest) ProtoMessage ¶
func (*MsgAddGroupSpecificationRequest) ProtoMessage()
func (*MsgAddGroupSpecificationRequest) Reset ¶
func (m *MsgAddGroupSpecificationRequest) Reset()
func (MsgAddGroupSpecificationRequest) Route ¶
func (msg MsgAddGroupSpecificationRequest) Route() string
Route returns the module route
func (*MsgAddGroupSpecificationRequest) Size ¶
func (m *MsgAddGroupSpecificationRequest) Size() (n int)
func (MsgAddGroupSpecificationRequest) String ¶
func (msg MsgAddGroupSpecificationRequest) String() string
func (MsgAddGroupSpecificationRequest) Type ¶
func (msg MsgAddGroupSpecificationRequest) Type() string
Type returns the type name for this msg
func (*MsgAddGroupSpecificationRequest) Unmarshal ¶
func (m *MsgAddGroupSpecificationRequest) Unmarshal(dAtA []byte) error
func (MsgAddGroupSpecificationRequest) ValidateBasic ¶
func (msg MsgAddGroupSpecificationRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
func (*MsgAddGroupSpecificationRequest) XXX_DiscardUnknown ¶
func (m *MsgAddGroupSpecificationRequest) XXX_DiscardUnknown()
func (*MsgAddGroupSpecificationRequest) XXX_Marshal ¶
func (m *MsgAddGroupSpecificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddGroupSpecificationRequest) XXX_Merge ¶
func (m *MsgAddGroupSpecificationRequest) XXX_Merge(src proto.Message)
func (*MsgAddGroupSpecificationRequest) XXX_Size ¶
func (m *MsgAddGroupSpecificationRequest) XXX_Size() int
func (*MsgAddGroupSpecificationRequest) XXX_Unmarshal ¶
func (m *MsgAddGroupSpecificationRequest) XXX_Unmarshal(b []byte) error
type MsgAddGroupSpecificationResponse ¶
type MsgAddGroupSpecificationResponse struct { }
MsgAddGroupSpecificationResponse from an add records request
func (*MsgAddGroupSpecificationResponse) Descriptor ¶
func (*MsgAddGroupSpecificationResponse) Descriptor() ([]byte, []int)
func (*MsgAddGroupSpecificationResponse) Marshal ¶
func (m *MsgAddGroupSpecificationResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddGroupSpecificationResponse) MarshalTo ¶
func (m *MsgAddGroupSpecificationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddGroupSpecificationResponse) MarshalToSizedBuffer ¶
func (m *MsgAddGroupSpecificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddGroupSpecificationResponse) ProtoMessage ¶
func (*MsgAddGroupSpecificationResponse) ProtoMessage()
func (*MsgAddGroupSpecificationResponse) Reset ¶
func (m *MsgAddGroupSpecificationResponse) Reset()
func (*MsgAddGroupSpecificationResponse) Size ¶
func (m *MsgAddGroupSpecificationResponse) Size() (n int)
func (*MsgAddGroupSpecificationResponse) String ¶
func (m *MsgAddGroupSpecificationResponse) String() string
func (*MsgAddGroupSpecificationResponse) Unmarshal ¶
func (m *MsgAddGroupSpecificationResponse) Unmarshal(dAtA []byte) error
func (*MsgAddGroupSpecificationResponse) XXX_DiscardUnknown ¶
func (m *MsgAddGroupSpecificationResponse) XXX_DiscardUnknown()
func (*MsgAddGroupSpecificationResponse) XXX_Marshal ¶
func (m *MsgAddGroupSpecificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddGroupSpecificationResponse) XXX_Merge ¶
func (m *MsgAddGroupSpecificationResponse) XXX_Merge(src proto.Message)
func (*MsgAddGroupSpecificationResponse) XXX_Size ¶
func (m *MsgAddGroupSpecificationResponse) XXX_Size() int
func (*MsgAddGroupSpecificationResponse) XXX_Unmarshal ¶
func (m *MsgAddGroupSpecificationResponse) XXX_Unmarshal(b []byte) error
type MsgAddRecordGroupRequest ¶
type MsgAddRecordGroupRequest struct { Group *RecordGroup `protobuf:"bytes,1,opt,name=group,proto3" json:"group,omitempty"` Notary string `protobuf:"bytes,2,opt,name=notary,proto3" json:"notary,omitempty"` }
MsgAddRecordGroupRequest adds a new scope
func NewMsgAddRecordGroupRequest ¶
func NewMsgAddRecordGroupRequest() *MsgAddRecordGroupRequest
NewMsgAddRecordGroupRequest creates a new msg instance
func (*MsgAddRecordGroupRequest) Descriptor ¶
func (*MsgAddRecordGroupRequest) Descriptor() ([]byte, []int)
func (MsgAddRecordGroupRequest) GetSignBytes ¶
func (msg MsgAddRecordGroupRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgAddRecordGroupRequest) GetSigners ¶
func (msg MsgAddRecordGroupRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
func (*MsgAddRecordGroupRequest) Marshal ¶
func (m *MsgAddRecordGroupRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddRecordGroupRequest) MarshalTo ¶
func (m *MsgAddRecordGroupRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRecordGroupRequest) MarshalToSizedBuffer ¶
func (m *MsgAddRecordGroupRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRecordGroupRequest) ProtoMessage ¶
func (*MsgAddRecordGroupRequest) ProtoMessage()
func (*MsgAddRecordGroupRequest) Reset ¶
func (m *MsgAddRecordGroupRequest) Reset()
func (MsgAddRecordGroupRequest) Route ¶
func (msg MsgAddRecordGroupRequest) Route() string
Route returns the module route
func (*MsgAddRecordGroupRequest) Size ¶
func (m *MsgAddRecordGroupRequest) Size() (n int)
func (MsgAddRecordGroupRequest) String ¶
func (msg MsgAddRecordGroupRequest) String() string
func (MsgAddRecordGroupRequest) Type ¶
func (msg MsgAddRecordGroupRequest) Type() string
Type returns the type name for this msg
func (*MsgAddRecordGroupRequest) Unmarshal ¶
func (m *MsgAddRecordGroupRequest) Unmarshal(dAtA []byte) error
func (MsgAddRecordGroupRequest) ValidateBasic ¶
func (msg MsgAddRecordGroupRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
func (*MsgAddRecordGroupRequest) XXX_DiscardUnknown ¶
func (m *MsgAddRecordGroupRequest) XXX_DiscardUnknown()
func (*MsgAddRecordGroupRequest) XXX_Marshal ¶
func (m *MsgAddRecordGroupRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRecordGroupRequest) XXX_Merge ¶
func (m *MsgAddRecordGroupRequest) XXX_Merge(src proto.Message)
func (*MsgAddRecordGroupRequest) XXX_Size ¶
func (m *MsgAddRecordGroupRequest) XXX_Size() int
func (*MsgAddRecordGroupRequest) XXX_Unmarshal ¶
func (m *MsgAddRecordGroupRequest) XXX_Unmarshal(b []byte) error
type MsgAddRecordGroupResponse ¶
type MsgAddRecordGroupResponse struct { }
MsgAddRecordGroupResponse from an add records request
func (*MsgAddRecordGroupResponse) Descriptor ¶
func (*MsgAddRecordGroupResponse) Descriptor() ([]byte, []int)
func (*MsgAddRecordGroupResponse) Marshal ¶
func (m *MsgAddRecordGroupResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddRecordGroupResponse) MarshalTo ¶
func (m *MsgAddRecordGroupResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRecordGroupResponse) MarshalToSizedBuffer ¶
func (m *MsgAddRecordGroupResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRecordGroupResponse) ProtoMessage ¶
func (*MsgAddRecordGroupResponse) ProtoMessage()
func (*MsgAddRecordGroupResponse) Reset ¶
func (m *MsgAddRecordGroupResponse) Reset()
func (*MsgAddRecordGroupResponse) Size ¶
func (m *MsgAddRecordGroupResponse) Size() (n int)
func (*MsgAddRecordGroupResponse) String ¶
func (m *MsgAddRecordGroupResponse) String() string
func (*MsgAddRecordGroupResponse) Unmarshal ¶
func (m *MsgAddRecordGroupResponse) Unmarshal(dAtA []byte) error
func (*MsgAddRecordGroupResponse) XXX_DiscardUnknown ¶
func (m *MsgAddRecordGroupResponse) XXX_DiscardUnknown()
func (*MsgAddRecordGroupResponse) XXX_Marshal ¶
func (m *MsgAddRecordGroupResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRecordGroupResponse) XXX_Merge ¶
func (m *MsgAddRecordGroupResponse) XXX_Merge(src proto.Message)
func (*MsgAddRecordGroupResponse) XXX_Size ¶
func (m *MsgAddRecordGroupResponse) XXX_Size() int
func (*MsgAddRecordGroupResponse) XXX_Unmarshal ¶
func (m *MsgAddRecordGroupResponse) XXX_Unmarshal(b []byte) error
type MsgAddRecordRequest ¶
type MsgAddRecordRequest struct { GroupId MetadataAddress `` /* 131-byte string literal not displayed */ Record *Record `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"` Notary string `protobuf:"bytes,3,opt,name=notary,proto3" json:"notary,omitempty"` }
MsgAddRecordRequest is a request to add a group of records to a scope
func NewMsgAddRecordRequest ¶
func NewMsgAddRecordRequest() *MsgAddRecordRequest
NewMsgAddRecordRequest creates a new msg instance
func (*MsgAddRecordRequest) Descriptor ¶
func (*MsgAddRecordRequest) Descriptor() ([]byte, []int)
func (MsgAddRecordRequest) GetSignBytes ¶
func (msg MsgAddRecordRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgAddRecordRequest) GetSigners ¶
func (msg MsgAddRecordRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
func (*MsgAddRecordRequest) Marshal ¶
func (m *MsgAddRecordRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddRecordRequest) MarshalTo ¶
func (m *MsgAddRecordRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRecordRequest) MarshalToSizedBuffer ¶
func (m *MsgAddRecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRecordRequest) ProtoMessage ¶
func (*MsgAddRecordRequest) ProtoMessage()
func (*MsgAddRecordRequest) Reset ¶
func (m *MsgAddRecordRequest) Reset()
func (MsgAddRecordRequest) Route ¶
func (msg MsgAddRecordRequest) Route() string
Route returns the module route
func (*MsgAddRecordRequest) Size ¶
func (m *MsgAddRecordRequest) Size() (n int)
func (MsgAddRecordRequest) String ¶
func (msg MsgAddRecordRequest) String() string
func (MsgAddRecordRequest) Type ¶
func (msg MsgAddRecordRequest) Type() string
Type returns the type name for this msg
func (*MsgAddRecordRequest) Unmarshal ¶
func (m *MsgAddRecordRequest) Unmarshal(dAtA []byte) error
func (MsgAddRecordRequest) ValidateBasic ¶
func (msg MsgAddRecordRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
func (*MsgAddRecordRequest) XXX_DiscardUnknown ¶
func (m *MsgAddRecordRequest) XXX_DiscardUnknown()
func (*MsgAddRecordRequest) XXX_Marshal ¶
func (m *MsgAddRecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRecordRequest) XXX_Merge ¶
func (m *MsgAddRecordRequest) XXX_Merge(src proto.Message)
func (*MsgAddRecordRequest) XXX_Size ¶
func (m *MsgAddRecordRequest) XXX_Size() int
func (*MsgAddRecordRequest) XXX_Unmarshal ¶
func (m *MsgAddRecordRequest) XXX_Unmarshal(b []byte) error
type MsgAddRecordResponse ¶
type MsgAddRecordResponse struct { }
MsgAddRecordResponse from an add records request
func (*MsgAddRecordResponse) Descriptor ¶
func (*MsgAddRecordResponse) Descriptor() ([]byte, []int)
func (*MsgAddRecordResponse) Marshal ¶
func (m *MsgAddRecordResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddRecordResponse) MarshalTo ¶
func (m *MsgAddRecordResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddRecordResponse) MarshalToSizedBuffer ¶
func (m *MsgAddRecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddRecordResponse) ProtoMessage ¶
func (*MsgAddRecordResponse) ProtoMessage()
func (*MsgAddRecordResponse) Reset ¶
func (m *MsgAddRecordResponse) Reset()
func (*MsgAddRecordResponse) Size ¶
func (m *MsgAddRecordResponse) Size() (n int)
func (*MsgAddRecordResponse) String ¶
func (m *MsgAddRecordResponse) String() string
func (*MsgAddRecordResponse) Unmarshal ¶
func (m *MsgAddRecordResponse) Unmarshal(dAtA []byte) error
func (*MsgAddRecordResponse) XXX_DiscardUnknown ¶
func (m *MsgAddRecordResponse) XXX_DiscardUnknown()
func (*MsgAddRecordResponse) XXX_Marshal ¶
func (m *MsgAddRecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddRecordResponse) XXX_Merge ¶
func (m *MsgAddRecordResponse) XXX_Merge(src proto.Message)
func (*MsgAddRecordResponse) XXX_Size ¶
func (m *MsgAddRecordResponse) XXX_Size() int
func (*MsgAddRecordResponse) XXX_Unmarshal ¶
func (m *MsgAddRecordResponse) XXX_Unmarshal(b []byte) error
type MsgAddScopeRequest ¶
type MsgAddScopeRequest struct { Scope Scope `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope"` Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` }
MsgAddScopeRequest adds a new scope
func NewMsgAddScopeRequest ¶
func NewMsgAddScopeRequest(scope Scope, signers []string) *MsgAddScopeRequest
NewMsgAddScopeRequest creates a new msg instance
func (*MsgAddScopeRequest) Descriptor ¶
func (*MsgAddScopeRequest) Descriptor() ([]byte, []int)
func (MsgAddScopeRequest) GetSignBytes ¶
func (msg MsgAddScopeRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgAddScopeRequest) GetSigners ¶
func (msg MsgAddScopeRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
func (*MsgAddScopeRequest) Marshal ¶
func (m *MsgAddScopeRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddScopeRequest) MarshalTo ¶
func (m *MsgAddScopeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddScopeRequest) MarshalToSizedBuffer ¶
func (m *MsgAddScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddScopeRequest) ProtoMessage ¶
func (*MsgAddScopeRequest) ProtoMessage()
func (*MsgAddScopeRequest) Reset ¶
func (m *MsgAddScopeRequest) Reset()
func (MsgAddScopeRequest) Route ¶
func (msg MsgAddScopeRequest) Route() string
Route returns the module route
func (*MsgAddScopeRequest) Size ¶
func (m *MsgAddScopeRequest) Size() (n int)
func (MsgAddScopeRequest) String ¶
func (msg MsgAddScopeRequest) String() string
func (MsgAddScopeRequest) Type ¶
func (msg MsgAddScopeRequest) Type() string
Type returns the type name for this msg
func (*MsgAddScopeRequest) Unmarshal ¶
func (m *MsgAddScopeRequest) Unmarshal(dAtA []byte) error
func (MsgAddScopeRequest) ValidateBasic ¶
func (msg MsgAddScopeRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
func (*MsgAddScopeRequest) XXX_DiscardUnknown ¶
func (m *MsgAddScopeRequest) XXX_DiscardUnknown()
func (*MsgAddScopeRequest) XXX_Marshal ¶
func (m *MsgAddScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddScopeRequest) XXX_Merge ¶
func (m *MsgAddScopeRequest) XXX_Merge(src proto.Message)
func (*MsgAddScopeRequest) XXX_Size ¶
func (m *MsgAddScopeRequest) XXX_Size() int
func (*MsgAddScopeRequest) XXX_Unmarshal ¶
func (m *MsgAddScopeRequest) XXX_Unmarshal(b []byte) error
type MsgAddScopeResponse ¶
type MsgAddScopeResponse struct { }
MsgAddScopeResponse from an add scope request
func (*MsgAddScopeResponse) Descriptor ¶
func (*MsgAddScopeResponse) Descriptor() ([]byte, []int)
func (*MsgAddScopeResponse) Marshal ¶
func (m *MsgAddScopeResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddScopeResponse) MarshalTo ¶
func (m *MsgAddScopeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddScopeResponse) MarshalToSizedBuffer ¶
func (m *MsgAddScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddScopeResponse) ProtoMessage ¶
func (*MsgAddScopeResponse) ProtoMessage()
func (*MsgAddScopeResponse) Reset ¶
func (m *MsgAddScopeResponse) Reset()
func (*MsgAddScopeResponse) Size ¶
func (m *MsgAddScopeResponse) Size() (n int)
func (*MsgAddScopeResponse) String ¶
func (m *MsgAddScopeResponse) String() string
func (*MsgAddScopeResponse) Unmarshal ¶
func (m *MsgAddScopeResponse) Unmarshal(dAtA []byte) error
func (*MsgAddScopeResponse) XXX_DiscardUnknown ¶
func (m *MsgAddScopeResponse) XXX_DiscardUnknown()
func (*MsgAddScopeResponse) XXX_Marshal ¶
func (m *MsgAddScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddScopeResponse) XXX_Merge ¶
func (m *MsgAddScopeResponse) XXX_Merge(src proto.Message)
func (*MsgAddScopeResponse) XXX_Size ¶
func (m *MsgAddScopeResponse) XXX_Size() int
func (*MsgAddScopeResponse) XXX_Unmarshal ¶
func (m *MsgAddScopeResponse) XXX_Unmarshal(b []byte) error
type MsgAddScopeSpecificationRequest ¶
type MsgAddScopeSpecificationRequest struct { Specification *ScopeSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification,omitempty"` Notary string `protobuf:"bytes,2,opt,name=notary,proto3" json:"notary,omitempty"` }
MsgAddScopeSpecificationRequest is a request to add a group of records to a scope
func NewMsgAddScopeSpecificationRequest ¶
func NewMsgAddScopeSpecificationRequest() *MsgAddScopeSpecificationRequest
NewMsgAddScopeSpecificationRequest creates a new msg instance
func (*MsgAddScopeSpecificationRequest) Descriptor ¶
func (*MsgAddScopeSpecificationRequest) Descriptor() ([]byte, []int)
func (MsgAddScopeSpecificationRequest) GetSignBytes ¶
func (msg MsgAddScopeSpecificationRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgAddScopeSpecificationRequest) GetSigners ¶
func (msg MsgAddScopeSpecificationRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
func (*MsgAddScopeSpecificationRequest) Marshal ¶
func (m *MsgAddScopeSpecificationRequest) Marshal() (dAtA []byte, err error)
func (*MsgAddScopeSpecificationRequest) MarshalTo ¶
func (m *MsgAddScopeSpecificationRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddScopeSpecificationRequest) MarshalToSizedBuffer ¶
func (m *MsgAddScopeSpecificationRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddScopeSpecificationRequest) ProtoMessage ¶
func (*MsgAddScopeSpecificationRequest) ProtoMessage()
func (*MsgAddScopeSpecificationRequest) Reset ¶
func (m *MsgAddScopeSpecificationRequest) Reset()
func (MsgAddScopeSpecificationRequest) Route ¶
func (msg MsgAddScopeSpecificationRequest) Route() string
Route returns the module route
func (*MsgAddScopeSpecificationRequest) Size ¶
func (m *MsgAddScopeSpecificationRequest) Size() (n int)
func (MsgAddScopeSpecificationRequest) String ¶
func (msg MsgAddScopeSpecificationRequest) String() string
func (MsgAddScopeSpecificationRequest) Type ¶
func (msg MsgAddScopeSpecificationRequest) Type() string
Type returns the type name for this msg
func (*MsgAddScopeSpecificationRequest) Unmarshal ¶
func (m *MsgAddScopeSpecificationRequest) Unmarshal(dAtA []byte) error
func (MsgAddScopeSpecificationRequest) ValidateBasic ¶
func (msg MsgAddScopeSpecificationRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
func (*MsgAddScopeSpecificationRequest) XXX_DiscardUnknown ¶
func (m *MsgAddScopeSpecificationRequest) XXX_DiscardUnknown()
func (*MsgAddScopeSpecificationRequest) XXX_Marshal ¶
func (m *MsgAddScopeSpecificationRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddScopeSpecificationRequest) XXX_Merge ¶
func (m *MsgAddScopeSpecificationRequest) XXX_Merge(src proto.Message)
func (*MsgAddScopeSpecificationRequest) XXX_Size ¶
func (m *MsgAddScopeSpecificationRequest) XXX_Size() int
func (*MsgAddScopeSpecificationRequest) XXX_Unmarshal ¶
func (m *MsgAddScopeSpecificationRequest) XXX_Unmarshal(b []byte) error
type MsgAddScopeSpecificationResponse ¶
type MsgAddScopeSpecificationResponse struct { }
MsgAddScopeSpecificationResponse from an add records request
func (*MsgAddScopeSpecificationResponse) Descriptor ¶
func (*MsgAddScopeSpecificationResponse) Descriptor() ([]byte, []int)
func (*MsgAddScopeSpecificationResponse) Marshal ¶
func (m *MsgAddScopeSpecificationResponse) Marshal() (dAtA []byte, err error)
func (*MsgAddScopeSpecificationResponse) MarshalTo ¶
func (m *MsgAddScopeSpecificationResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgAddScopeSpecificationResponse) MarshalToSizedBuffer ¶
func (m *MsgAddScopeSpecificationResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgAddScopeSpecificationResponse) ProtoMessage ¶
func (*MsgAddScopeSpecificationResponse) ProtoMessage()
func (*MsgAddScopeSpecificationResponse) Reset ¶
func (m *MsgAddScopeSpecificationResponse) Reset()
func (*MsgAddScopeSpecificationResponse) Size ¶
func (m *MsgAddScopeSpecificationResponse) Size() (n int)
func (*MsgAddScopeSpecificationResponse) String ¶
func (m *MsgAddScopeSpecificationResponse) String() string
func (*MsgAddScopeSpecificationResponse) Unmarshal ¶
func (m *MsgAddScopeSpecificationResponse) Unmarshal(dAtA []byte) error
func (*MsgAddScopeSpecificationResponse) XXX_DiscardUnknown ¶
func (m *MsgAddScopeSpecificationResponse) XXX_DiscardUnknown()
func (*MsgAddScopeSpecificationResponse) XXX_Marshal ¶
func (m *MsgAddScopeSpecificationResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgAddScopeSpecificationResponse) XXX_Merge ¶
func (m *MsgAddScopeSpecificationResponse) XXX_Merge(src proto.Message)
func (*MsgAddScopeSpecificationResponse) XXX_Size ¶
func (m *MsgAddScopeSpecificationResponse) XXX_Size() int
func (*MsgAddScopeSpecificationResponse) XXX_Unmarshal ¶
func (m *MsgAddScopeSpecificationResponse) 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,omitempty"` // The executed contract. Contract *Contract `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"` // The contract signatures Signatures signing.SignatureDescriptors `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 NewMsgChangeOwnershipRequest ¶
func NewMsgChangeOwnershipRequest() *MsgChangeOwnershipRequest
NewMsgChangeOwnershipRequest creates a new msg instance
func (*MsgChangeOwnershipRequest) Descriptor ¶
func (*MsgChangeOwnershipRequest) Descriptor() ([]byte, []int)
func (MsgChangeOwnershipRequest) GetSignBytes ¶
func (msg MsgChangeOwnershipRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgChangeOwnershipRequest) GetSigners ¶
func (msg MsgChangeOwnershipRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
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) Route ¶
func (msg MsgChangeOwnershipRequest) Route() string
Route returns the module route
func (*MsgChangeOwnershipRequest) Size ¶
func (m *MsgChangeOwnershipRequest) Size() (n int)
func (MsgChangeOwnershipRequest) String ¶
func (msg MsgChangeOwnershipRequest) String() string
func (MsgChangeOwnershipRequest) Type ¶
func (msg MsgChangeOwnershipRequest) Type() string
Type returns the type name for this msg
func (*MsgChangeOwnershipRequest) Unmarshal ¶
func (m *MsgChangeOwnershipRequest) Unmarshal(dAtA []byte) error
func (MsgChangeOwnershipRequest) ValidateBasic ¶
func (msg MsgChangeOwnershipRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
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 MsgChangeOwnershipResponse ¶
type MsgChangeOwnershipResponse struct { }
MsgChangeOwnershipResponse from a contract execution ownership change request
func (*MsgChangeOwnershipResponse) Descriptor ¶
func (*MsgChangeOwnershipResponse) Descriptor() ([]byte, []int)
func (*MsgChangeOwnershipResponse) Marshal ¶
func (m *MsgChangeOwnershipResponse) Marshal() (dAtA []byte, err error)
func (*MsgChangeOwnershipResponse) MarshalTo ¶
func (m *MsgChangeOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgChangeOwnershipResponse) MarshalToSizedBuffer ¶
func (m *MsgChangeOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgChangeOwnershipResponse) ProtoMessage ¶
func (*MsgChangeOwnershipResponse) ProtoMessage()
func (*MsgChangeOwnershipResponse) Reset ¶
func (m *MsgChangeOwnershipResponse) Reset()
func (*MsgChangeOwnershipResponse) Size ¶
func (m *MsgChangeOwnershipResponse) Size() (n int)
func (*MsgChangeOwnershipResponse) String ¶
func (m *MsgChangeOwnershipResponse) String() string
func (*MsgChangeOwnershipResponse) Unmarshal ¶
func (m *MsgChangeOwnershipResponse) Unmarshal(dAtA []byte) error
func (*MsgChangeOwnershipResponse) XXX_DiscardUnknown ¶
func (m *MsgChangeOwnershipResponse) XXX_DiscardUnknown()
func (*MsgChangeOwnershipResponse) XXX_Marshal ¶
func (m *MsgChangeOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgChangeOwnershipResponse) XXX_Merge ¶
func (m *MsgChangeOwnershipResponse) XXX_Merge(src proto.Message)
func (*MsgChangeOwnershipResponse) XXX_Size ¶
func (m *MsgChangeOwnershipResponse) XXX_Size() int
func (*MsgChangeOwnershipResponse) XXX_Unmarshal ¶
func (m *MsgChangeOwnershipResponse) 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) (*MsgMemorializeContractResponse, error) // ChangeOwnership allows P8e contracts to record a new set of owners on a scope ChangeOwnership(ctx context.Context, in *MsgChangeOwnershipRequest, opts ...grpc.CallOption) (*MsgChangeOwnershipResponse, error) // AddScope adds a new scope AddScope(ctx context.Context, in *MsgAddScopeRequest, opts ...grpc.CallOption) (*MsgAddScopeResponse, error) // Removes a scope and all associated Records, RecordGroups RemoveScope(ctx context.Context, in *MsgRemoveScopeRequest, opts ...grpc.CallOption) (*MsgRemoveScopeResponse, error) // AddRecordGroup adds a new record group context to a scope AddRecordGroup(ctx context.Context, in *MsgAddRecordGroupRequest, opts ...grpc.CallOption) (*MsgAddRecordGroupResponse, error) // AddRecord adds a set of records in a record group within a scope AddRecord(ctx context.Context, in *MsgAddRecordRequest, opts ...grpc.CallOption) (*MsgAddRecordResponse, error) // AddScopeSpecification adds a set of records in a record group within a scope AddScopeSpecification(ctx context.Context, in *MsgAddScopeSpecificationRequest, opts ...grpc.CallOption) (*MsgAddScopeSpecificationResponse, error) // AddGroupSpecification adds a set of records in a record group within a scope AddGroupSpecification(ctx context.Context, in *MsgAddGroupSpecificationRequest, opts ...grpc.CallOption) (*MsgAddGroupSpecificationResponse, 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 signing.SignatureDescriptors `protobuf:"bytes,5,opt,name=signatures,proto3" json:"signatures"` // The address of the notary (ie the broadcaster of this message). Notary string `protobuf:"bytes,6,opt,name=notary,proto3" json:"notary,omitempty"` }
MsgMemorializeContractRequest is a request from a P8e execution environment to record results of a contract
func NewMsgMemorializeContractRequest ¶
func NewMsgMemorializeContractRequest() *MsgMemorializeContractRequest
NewMsgMemorializeContractRequest creates a new msg instance
func (*MsgMemorializeContractRequest) Descriptor ¶
func (*MsgMemorializeContractRequest) Descriptor() ([]byte, []int)
func (MsgMemorializeContractRequest) GetSignBytes ¶
func (msg MsgMemorializeContractRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgMemorializeContractRequest) GetSigners ¶
func (msg MsgMemorializeContractRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
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) Route ¶
func (msg MsgMemorializeContractRequest) Route() string
Route returns the module route
func (*MsgMemorializeContractRequest) Size ¶
func (m *MsgMemorializeContractRequest) Size() (n int)
func (MsgMemorializeContractRequest) String ¶
func (msg MsgMemorializeContractRequest) String() string
func (MsgMemorializeContractRequest) Type ¶
func (msg MsgMemorializeContractRequest) Type() string
Type returns the type name for this msg
func (*MsgMemorializeContractRequest) Unmarshal ¶
func (m *MsgMemorializeContractRequest) Unmarshal(dAtA []byte) error
func (MsgMemorializeContractRequest) ValidateBasic ¶
func (msg MsgMemorializeContractRequest) ValidateBasic() error
ValidateBasic quick validity check
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 MsgMemorializeContractResponse ¶
type MsgMemorializeContractResponse struct { }
MsgMemorializeContractResponse from a contract execution memorialization request
func (*MsgMemorializeContractResponse) Descriptor ¶
func (*MsgMemorializeContractResponse) Descriptor() ([]byte, []int)
func (*MsgMemorializeContractResponse) Marshal ¶
func (m *MsgMemorializeContractResponse) Marshal() (dAtA []byte, err error)
func (*MsgMemorializeContractResponse) MarshalTo ¶
func (m *MsgMemorializeContractResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgMemorializeContractResponse) MarshalToSizedBuffer ¶
func (m *MsgMemorializeContractResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgMemorializeContractResponse) ProtoMessage ¶
func (*MsgMemorializeContractResponse) ProtoMessage()
func (*MsgMemorializeContractResponse) Reset ¶
func (m *MsgMemorializeContractResponse) Reset()
func (*MsgMemorializeContractResponse) Size ¶
func (m *MsgMemorializeContractResponse) Size() (n int)
func (*MsgMemorializeContractResponse) String ¶
func (m *MsgMemorializeContractResponse) String() string
func (*MsgMemorializeContractResponse) Unmarshal ¶
func (m *MsgMemorializeContractResponse) Unmarshal(dAtA []byte) error
func (*MsgMemorializeContractResponse) XXX_DiscardUnknown ¶
func (m *MsgMemorializeContractResponse) XXX_DiscardUnknown()
func (*MsgMemorializeContractResponse) XXX_Marshal ¶
func (m *MsgMemorializeContractResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgMemorializeContractResponse) XXX_Merge ¶
func (m *MsgMemorializeContractResponse) XXX_Merge(src proto.Message)
func (*MsgMemorializeContractResponse) XXX_Size ¶
func (m *MsgMemorializeContractResponse) XXX_Size() int
func (*MsgMemorializeContractResponse) XXX_Unmarshal ¶
func (m *MsgMemorializeContractResponse) XXX_Unmarshal(b []byte) error
type MsgRemoveScopeRequest ¶
type MsgRemoveScopeRequest struct { // Unique ID for the scope to remove.s ScopeId MetadataAddress `` /* 131-byte string literal not displayed */ Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"` }
MsgRemoveScopeRequest removes a scope
func NewMsgRemoveScopeRequest ¶
func NewMsgRemoveScopeRequest(scopeID MetadataAddress, signers []string) *MsgRemoveScopeRequest
NewMsgRemoveScopeRequest creates a new msg instance
func (*MsgRemoveScopeRequest) Descriptor ¶
func (*MsgRemoveScopeRequest) Descriptor() ([]byte, []int)
func (MsgRemoveScopeRequest) GetSignBytes ¶
func (msg MsgRemoveScopeRequest) GetSignBytes() []byte
GetSignBytes gets the bytes for the message signer to sign on
func (MsgRemoveScopeRequest) GetSigners ¶
func (msg MsgRemoveScopeRequest) GetSigners() []sdk.AccAddress
GetSigners returns the address(es) that must sign over msg.GetSignBytes()
func (*MsgRemoveScopeRequest) Marshal ¶
func (m *MsgRemoveScopeRequest) Marshal() (dAtA []byte, err error)
func (*MsgRemoveScopeRequest) MarshalTo ¶
func (m *MsgRemoveScopeRequest) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveScopeRequest) MarshalToSizedBuffer ¶
func (m *MsgRemoveScopeRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveScopeRequest) ProtoMessage ¶
func (*MsgRemoveScopeRequest) ProtoMessage()
func (*MsgRemoveScopeRequest) Reset ¶
func (m *MsgRemoveScopeRequest) Reset()
func (MsgRemoveScopeRequest) Route ¶
func (msg MsgRemoveScopeRequest) Route() string
Route returns the module route
func (*MsgRemoveScopeRequest) Size ¶
func (m *MsgRemoveScopeRequest) Size() (n int)
func (MsgRemoveScopeRequest) String ¶
func (msg MsgRemoveScopeRequest) String() string
func (MsgRemoveScopeRequest) Type ¶
func (msg MsgRemoveScopeRequest) Type() string
Type returns the type name for this msg
func (*MsgRemoveScopeRequest) Unmarshal ¶
func (m *MsgRemoveScopeRequest) Unmarshal(dAtA []byte) error
func (MsgRemoveScopeRequest) ValidateBasic ¶
func (msg MsgRemoveScopeRequest) ValidateBasic() error
ValidateBasic performs a quick validity check
func (*MsgRemoveScopeRequest) XXX_DiscardUnknown ¶
func (m *MsgRemoveScopeRequest) XXX_DiscardUnknown()
func (*MsgRemoveScopeRequest) XXX_Marshal ¶
func (m *MsgRemoveScopeRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveScopeRequest) XXX_Merge ¶
func (m *MsgRemoveScopeRequest) XXX_Merge(src proto.Message)
func (*MsgRemoveScopeRequest) XXX_Size ¶
func (m *MsgRemoveScopeRequest) XXX_Size() int
func (*MsgRemoveScopeRequest) XXX_Unmarshal ¶
func (m *MsgRemoveScopeRequest) XXX_Unmarshal(b []byte) error
type MsgRemoveScopeResponse ¶
type MsgRemoveScopeResponse struct { }
MsgRemoveScopeResponse from a remove scope request
func (*MsgRemoveScopeResponse) Descriptor ¶
func (*MsgRemoveScopeResponse) Descriptor() ([]byte, []int)
func (*MsgRemoveScopeResponse) Marshal ¶
func (m *MsgRemoveScopeResponse) Marshal() (dAtA []byte, err error)
func (*MsgRemoveScopeResponse) MarshalTo ¶
func (m *MsgRemoveScopeResponse) MarshalTo(dAtA []byte) (int, error)
func (*MsgRemoveScopeResponse) MarshalToSizedBuffer ¶
func (m *MsgRemoveScopeResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*MsgRemoveScopeResponse) ProtoMessage ¶
func (*MsgRemoveScopeResponse) ProtoMessage()
func (*MsgRemoveScopeResponse) Reset ¶
func (m *MsgRemoveScopeResponse) Reset()
func (*MsgRemoveScopeResponse) Size ¶
func (m *MsgRemoveScopeResponse) Size() (n int)
func (*MsgRemoveScopeResponse) String ¶
func (m *MsgRemoveScopeResponse) String() string
func (*MsgRemoveScopeResponse) Unmarshal ¶
func (m *MsgRemoveScopeResponse) Unmarshal(dAtA []byte) error
func (*MsgRemoveScopeResponse) XXX_DiscardUnknown ¶
func (m *MsgRemoveScopeResponse) XXX_DiscardUnknown()
func (*MsgRemoveScopeResponse) XXX_Marshal ¶
func (m *MsgRemoveScopeResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*MsgRemoveScopeResponse) XXX_Merge ¶
func (m *MsgRemoveScopeResponse) XXX_Merge(src proto.Message)
func (*MsgRemoveScopeResponse) XXX_Size ¶
func (m *MsgRemoveScopeResponse) XXX_Size() int
func (*MsgRemoveScopeResponse) XXX_Unmarshal ¶
func (m *MsgRemoveScopeResponse) 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) (*MsgMemorializeContractResponse, error) // ChangeOwnership allows P8e contracts to record a new set of owners on a scope ChangeOwnership(context.Context, *MsgChangeOwnershipRequest) (*MsgChangeOwnershipResponse, error) // AddScope adds a new scope AddScope(context.Context, *MsgAddScopeRequest) (*MsgAddScopeResponse, error) // Removes a scope and all associated Records, RecordGroups RemoveScope(context.Context, *MsgRemoveScopeRequest) (*MsgRemoveScopeResponse, error) // AddRecordGroup adds a new record group context to a scope AddRecordGroup(context.Context, *MsgAddRecordGroupRequest) (*MsgAddRecordGroupResponse, error) // AddRecord adds a set of records in a record group within a scope AddRecord(context.Context, *MsgAddRecordRequest) (*MsgAddRecordResponse, error) // AddScopeSpecification adds a set of records in a record group within a scope AddScopeSpecification(context.Context, *MsgAddScopeSpecificationRequest) (*MsgAddScopeSpecificationResponse, error) // AddGroupSpecification adds a set of records in a record group within a scope AddGroupSpecification(context.Context, *MsgAddGroupSpecificationRequest) (*MsgAddGroupSpecificationResponse, error) }
MsgServer is the server API for Msg service.
type OwnershipRequest ¶
type OwnershipRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
OwnershipRequest looks for all scope level resources associated with the given addrss
func (*OwnershipRequest) Descriptor ¶
func (*OwnershipRequest) Descriptor() ([]byte, []int)
func (*OwnershipRequest) GetAddress ¶
func (m *OwnershipRequest) GetAddress() string
func (*OwnershipRequest) GetPagination ¶
func (m *OwnershipRequest) GetPagination() *query.PageRequest
func (*OwnershipRequest) Marshal ¶
func (m *OwnershipRequest) Marshal() (dAtA []byte, err error)
func (*OwnershipRequest) MarshalToSizedBuffer ¶
func (m *OwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OwnershipRequest) ProtoMessage ¶
func (*OwnershipRequest) ProtoMessage()
func (*OwnershipRequest) Reset ¶
func (m *OwnershipRequest) Reset()
func (*OwnershipRequest) Size ¶
func (m *OwnershipRequest) Size() (n int)
func (*OwnershipRequest) String ¶
func (m *OwnershipRequest) String() string
func (*OwnershipRequest) Unmarshal ¶
func (m *OwnershipRequest) Unmarshal(dAtA []byte) error
func (*OwnershipRequest) XXX_DiscardUnknown ¶
func (m *OwnershipRequest) XXX_DiscardUnknown()
func (*OwnershipRequest) XXX_Marshal ¶
func (m *OwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OwnershipRequest) XXX_Merge ¶
func (m *OwnershipRequest) XXX_Merge(src proto.Message)
func (*OwnershipRequest) XXX_Size ¶
func (m *OwnershipRequest) XXX_Size() int
func (*OwnershipRequest) XXX_Unmarshal ¶
func (m *OwnershipRequest) XXX_Unmarshal(b []byte) error
type OwnershipResponse ¶
type OwnershipResponse struct { // A list of scope ids (uuid) associated with the given address. ScopeIds []string `protobuf:"bytes,1,rep,name=scope_ids,json=scopeIds,proto3" json:"scope_ids,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
OwnershipResponse is the reponse to the ownership request and includes a list of scope identifiers
func (*OwnershipResponse) Descriptor ¶
func (*OwnershipResponse) Descriptor() ([]byte, []int)
func (*OwnershipResponse) GetPagination ¶
func (m *OwnershipResponse) GetPagination() *query.PageResponse
func (*OwnershipResponse) GetScopeIds ¶
func (m *OwnershipResponse) GetScopeIds() []string
func (*OwnershipResponse) Marshal ¶
func (m *OwnershipResponse) Marshal() (dAtA []byte, err error)
func (*OwnershipResponse) MarshalTo ¶
func (m *OwnershipResponse) MarshalTo(dAtA []byte) (int, error)
func (*OwnershipResponse) MarshalToSizedBuffer ¶
func (m *OwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*OwnershipResponse) ProtoMessage ¶
func (*OwnershipResponse) ProtoMessage()
func (*OwnershipResponse) Reset ¶
func (m *OwnershipResponse) Reset()
func (*OwnershipResponse) Size ¶
func (m *OwnershipResponse) Size() (n int)
func (*OwnershipResponse) String ¶
func (m *OwnershipResponse) String() string
func (*OwnershipResponse) Unmarshal ¶
func (m *OwnershipResponse) Unmarshal(dAtA []byte) error
func (*OwnershipResponse) XXX_DiscardUnknown ¶
func (m *OwnershipResponse) XXX_DiscardUnknown()
func (*OwnershipResponse) XXX_Marshal ¶
func (m *OwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*OwnershipResponse) XXX_Merge ¶
func (m *OwnershipResponse) XXX_Merge(src proto.Message)
func (*OwnershipResponse) XXX_Size ¶
func (m *OwnershipResponse) XXX_Size() int
func (*OwnershipResponse) XXX_Unmarshal ¶
func (m *OwnershipResponse) XXX_Unmarshal(b []byte) error
type Params ¶
type Params struct { }
Params defines the set of params for the account module.
func DefaultParams ¶
func DefaultParams() Params
DefaultParams defines the parameters for this module
func (*Params) Descriptor ¶
func (*Params) MarshalToSizedBuffer ¶
func (*Params) ParamSetPairs ¶
func (p *Params) ParamSetPairs() paramtypes.ParamSetPairs
ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of auth module's parameters.
func (*Params) ProtoMessage ¶
func (*Params) ProtoMessage()
func (*Params) XXX_DiscardUnknown ¶
func (m *Params) XXX_DiscardUnknown()
func (*Params) XXX_Marshal ¶
func (*Params) XXX_Unmarshal ¶
type Party ¶
type Party struct { // address of the account (on chain) Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // a role for this account within the context of the processes used Role PartyType `protobuf:"varint,2,opt,name=role,proto3,enum=provenance.metadata.v1.PartyType" json:"role,omitempty"` }
A Party is an address with/in a given role associated with a contract
func (*Party) Descriptor ¶
func (*Party) GetAddress ¶
func (*Party) ProtoMessage ¶
func (*Party) ProtoMessage()
func (Party) ValidateBasic ¶
ValidateBasic performs static checking of Party format
func (*Party) XXX_DiscardUnknown ¶
func (m *Party) XXX_DiscardUnknown()
func (*Party) XXX_Marshal ¶
func (*Party) XXX_Unmarshal ¶
type PartyType ¶
type PartyType int32
PartyType are the different roles parties on a contract may use
const ( // PARTY_TYPE_UNSPECIFIED is an error condition PartyType_PARTY_TYPE_UNSPECIFIED PartyType = 0 // PARTY_TYPE_ORIGINATOR is an asset originator PartyType_PARTY_TYPE_ORIGINATOR PartyType = 1 // PARTY_TYPE_SERVICER provides debt servicing functions PartyType_PARTY_TYPE_SERVICER PartyType = 2 // PARTY_TYPE_INVESTOR is a generic investor PartyType_PARTY_TYPE_INVESTOR PartyType = 3 // PARTY_TYPE_CUSTODIAN is an entity that provides custodian services for assets PartyType_PARTY_TYPE_CUSTODIAN PartyType = 4 // PARTY_TYPE_OWNER indicates this party is an owner of the item PartyType_PARTY_TYPE_OWNER PartyType = 5 // PARTY_TYPE_AFFILIATE is a party with an affiliate agreement PartyType_PARTY_TYPE_AFFILIATE PartyType = 6 // PARTY_TYPE_OMNIBUS is a special type of party that controls an omnibus bank account PartyType_PARTY_TYPE_OMNIBUS PartyType = 7 // PARTY_TYPE_PROVENANCE is used to indicate this party represents the blockchain or a smart contract action PartyType_PARTY_TYPE_PROVENANCE PartyType = 8 )
func (PartyType) EnumDescriptor ¶
type Process ¶
type Process struct { // unique identifier for this process // // Types that are valid to be assigned to ProcessId: // *Process_Address // *Process_Hash ProcessId isProcess_ProcessId `protobuf_oneof:"process_id"` // a name assocaited with the process (type_name, classname or smart contract common name) Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"` // method is a name or reference to a specific operation (method) within a class/contract that was invoked Method string `protobuf:"bytes,4,opt,name=method,proto3" json:"method,omitempty"` }
Process contains information used to uniquely identify what was used to generate this record
func (*Process) Descriptor ¶
func (*Process) GetAddress ¶
func (*Process) GetProcessId ¶
func (m *Process) GetProcessId() isProcess_ProcessId
func (*Process) MarshalToSizedBuffer ¶
func (*Process) ProtoMessage ¶
func (*Process) ProtoMessage()
func (*Process) XXX_DiscardUnknown ¶
func (m *Process) XXX_DiscardUnknown()
func (*Process) XXX_Marshal ¶
func (*Process) XXX_OneofWrappers ¶
func (*Process) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*Process) XXX_Unmarshal ¶
type Process_Address ¶
type Process_Address struct {
Address string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
}
func (*Process_Address) MarshalToSizedBuffer ¶
func (m *Process_Address) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Process_Address) Size ¶
func (m *Process_Address) Size() (n int)
type Process_Hash ¶
type Process_Hash struct {
Hash string `protobuf:"bytes,2,opt,name=hash,proto3,oneof" json:"hash,omitempty"`
}
func (*Process_Hash) MarshalToSizedBuffer ¶
func (m *Process_Hash) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*Process_Hash) Size ¶
func (m *Process_Hash) Size() (n int)
type ProposedRecord ¶
type ProposedRecord struct { // name to use for the record within the scope Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // hash of the actual value (off-chain) this record is referencing Hash string `protobuf:"bytes,2,opt,name=hash,proto3" json:"hash,omitempty"` // Type information for the proposed record TypeName string `protobuf:"bytes,3,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` // If this proposed fact is intended to replace an existing value, the existing record must be referenced explicitly Ancestor Reference `protobuf:"bytes,4,opt,name=ancestor,proto3" json:"ancestor"` }
ProposedRecord is an input to a consideration defined at runtime, and emitted as a proposed fact for inclusion on the blockchain. If this contract is successfully processed this value will be stored as a record within the scope
func (*ProposedRecord) Descriptor ¶
func (*ProposedRecord) Descriptor() ([]byte, []int)
func (*ProposedRecord) GetAncestor ¶
func (m *ProposedRecord) GetAncestor() Reference
func (*ProposedRecord) GetHash ¶
func (m *ProposedRecord) GetHash() string
func (*ProposedRecord) GetName ¶
func (m *ProposedRecord) GetName() string
func (*ProposedRecord) GetTypeName ¶
func (m *ProposedRecord) GetTypeName() string
func (*ProposedRecord) Marshal ¶
func (m *ProposedRecord) Marshal() (dAtA []byte, err error)
func (*ProposedRecord) MarshalToSizedBuffer ¶
func (m *ProposedRecord) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ProposedRecord) ProtoMessage ¶
func (*ProposedRecord) ProtoMessage()
func (*ProposedRecord) Reset ¶
func (m *ProposedRecord) Reset()
func (*ProposedRecord) Size ¶
func (m *ProposedRecord) Size() (n int)
func (*ProposedRecord) String ¶
func (m *ProposedRecord) String() string
func (*ProposedRecord) Unmarshal ¶
func (m *ProposedRecord) Unmarshal(dAtA []byte) error
func (*ProposedRecord) XXX_DiscardUnknown ¶
func (m *ProposedRecord) XXX_DiscardUnknown()
func (*ProposedRecord) XXX_Marshal ¶
func (m *ProposedRecord) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ProposedRecord) XXX_Merge ¶
func (m *ProposedRecord) XXX_Merge(src proto.Message)
func (*ProposedRecord) XXX_Size ¶
func (m *ProposedRecord) XXX_Size() int
func (*ProposedRecord) XXX_Unmarshal ¶
func (m *ProposedRecord) XXX_Unmarshal(b []byte) error
type QueryClient ¶
type QueryClient interface { // Params queries the parameters of x/metadata module. Params(ctx context.Context, in *QueryParamsRequest, opts ...grpc.CallOption) (*QueryParamsResponse, error) // Scope returns a specific scope by id Scope(ctx context.Context, in *ScopeRequest, opts ...grpc.CallOption) (*ScopeResponse, error) // GroupContext returns a specific group context within a scope (or all groups) GroupContext(ctx context.Context, in *GroupContextRequest, opts ...grpc.CallOption) (*GroupContextResponse, error) // Record returns a collection of the records in a scope or a specific one by name Record(ctx context.Context, in *RecordRequest, opts ...grpc.CallOption) (*RecordResponse, error) // Ownership returns a list of scope identifiers that list the given address as a data or value owner Ownership(ctx context.Context, in *OwnershipRequest, opts ...grpc.CallOption) (*OwnershipResponse, error) // ValueOwnership returns a list of scope identifiers that list the given address as the value owner ValueOwnership(ctx context.Context, in *ValueOwnershipRequest, opts ...grpc.CallOption) (*ValueOwnershipResponse, 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 QueryMetadataParams ¶
type QueryMetadataParams struct {
Page, Limit int
}
QueryMetadataParams defines the params for queries that support paging (get by scope)
func NewQueryMetadataParams ¶
func NewQueryMetadataParams(page, limit int) QueryMetadataParams
NewQueryMetadataParams object
type QueryParamsRequest ¶
type QueryParamsRequest struct { }
QueryParamsRequest is the request type for the Query/Params RPC method.
func (*QueryParamsRequest) Descriptor ¶
func (*QueryParamsRequest) Descriptor() ([]byte, []int)
func (*QueryParamsRequest) Marshal ¶
func (m *QueryParamsRequest) Marshal() (dAtA []byte, err error)
func (*QueryParamsRequest) MarshalTo ¶
func (m *QueryParamsRequest) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsRequest) MarshalToSizedBuffer ¶
func (m *QueryParamsRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsRequest) ProtoMessage ¶
func (*QueryParamsRequest) ProtoMessage()
func (*QueryParamsRequest) Reset ¶
func (m *QueryParamsRequest) Reset()
func (*QueryParamsRequest) Size ¶
func (m *QueryParamsRequest) Size() (n int)
func (*QueryParamsRequest) String ¶
func (m *QueryParamsRequest) String() string
func (*QueryParamsRequest) Unmarshal ¶
func (m *QueryParamsRequest) Unmarshal(dAtA []byte) error
func (*QueryParamsRequest) XXX_DiscardUnknown ¶
func (m *QueryParamsRequest) XXX_DiscardUnknown()
func (*QueryParamsRequest) XXX_Marshal ¶
func (m *QueryParamsRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsRequest) XXX_Merge ¶
func (m *QueryParamsRequest) XXX_Merge(src proto.Message)
func (*QueryParamsRequest) XXX_Size ¶
func (m *QueryParamsRequest) XXX_Size() int
func (*QueryParamsRequest) XXX_Unmarshal ¶
func (m *QueryParamsRequest) XXX_Unmarshal(b []byte) error
type QueryParamsResponse ¶
type QueryParamsResponse struct { // params defines the parameters of the module. Params Params `protobuf:"bytes,1,opt,name=params,proto3" json:"params"` }
QueryParamsResponse is the response type for the Query/Params RPC method.
func (*QueryParamsResponse) Descriptor ¶
func (*QueryParamsResponse) Descriptor() ([]byte, []int)
func (*QueryParamsResponse) GetParams ¶
func (m *QueryParamsResponse) GetParams() Params
func (*QueryParamsResponse) Marshal ¶
func (m *QueryParamsResponse) Marshal() (dAtA []byte, err error)
func (*QueryParamsResponse) MarshalTo ¶
func (m *QueryParamsResponse) MarshalTo(dAtA []byte) (int, error)
func (*QueryParamsResponse) MarshalToSizedBuffer ¶
func (m *QueryParamsResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*QueryParamsResponse) ProtoMessage ¶
func (*QueryParamsResponse) ProtoMessage()
func (*QueryParamsResponse) Reset ¶
func (m *QueryParamsResponse) Reset()
func (*QueryParamsResponse) Size ¶
func (m *QueryParamsResponse) Size() (n int)
func (*QueryParamsResponse) String ¶
func (m *QueryParamsResponse) String() string
func (*QueryParamsResponse) Unmarshal ¶
func (m *QueryParamsResponse) Unmarshal(dAtA []byte) error
func (*QueryParamsResponse) XXX_DiscardUnknown ¶
func (m *QueryParamsResponse) XXX_DiscardUnknown()
func (*QueryParamsResponse) XXX_Marshal ¶
func (m *QueryParamsResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*QueryParamsResponse) XXX_Merge ¶
func (m *QueryParamsResponse) XXX_Merge(src proto.Message)
func (*QueryParamsResponse) XXX_Size ¶
func (m *QueryParamsResponse) XXX_Size() int
func (*QueryParamsResponse) XXX_Unmarshal ¶
func (m *QueryParamsResponse) XXX_Unmarshal(b []byte) error
type QueryResOwnership ¶
type QueryResOwnership struct { Address sdk.AccAddress `json:"address" yaml:"address"` ScopeID []string `json:"scope_id" yaml:"scope_id"` }
QueryResOwnership is the result of a query for scopes associated with a given address query: 'custom/metadata/ownership/{address}
func (QueryResOwnership) String ¶
func (qor QueryResOwnership) String() string
String representation of the query for address ownership scope IDs.
type QueryResScope ¶
type QueryResScope struct {
Scope []byte `json:"scope"`
}
QueryResScope is the result for legacy scope queries.
func (QueryResScope) MarshalYAML ¶
func (qr QueryResScope) MarshalYAML() (interface{}, error)
MarshalYAML returns the YAML representation of a QueryResScope.
func (QueryResScope) String ¶
func (qr QueryResScope) String() string
String implements fmt.Stringer
type QueryServer ¶
type QueryServer interface { // Params queries the parameters of x/metadata module. Params(context.Context, *QueryParamsRequest) (*QueryParamsResponse, error) // Scope returns a specific scope by id Scope(context.Context, *ScopeRequest) (*ScopeResponse, error) // GroupContext returns a specific group context within a scope (or all groups) GroupContext(context.Context, *GroupContextRequest) (*GroupContextResponse, error) // Record returns a collection of the records in a scope or a specific one by name Record(context.Context, *RecordRequest) (*RecordResponse, error) // Ownership returns a list of scope identifiers that list the given address as a data or value owner Ownership(context.Context, *OwnershipRequest) (*OwnershipResponse, error) // ValueOwnership returns a list of scope identifiers that list the given address as the value owner ValueOwnership(context.Context, *ValueOwnershipRequest) (*ValueOwnershipResponse, error) }
QueryServer is the server API for Query service.
type Recital ¶
type Recital struct { // the role this address is performing for this contract execution SignerRole PartyType `` /* 130-byte string literal not displayed */ // address of the account performing the role above Address string `protobuf:"bytes,2,opt,name=address,proto3" json:"address,omitempty"` }
Recital is an address with/in a given role associated with a contract
func (*Recital) Descriptor ¶
func (*Recital) GetAddress ¶
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"`
}
Recitals is a list of recital
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 { // name/identifier for this record. Value must be unique within the scope. Also known as a Fact name Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"id" yaml:"id"` // id of the group context that was used to create this record (use with filtered kvprefix iterator) GroupId MetadataAddress `` /* 131-byte string literal not displayed */ // process contain information used to uniquely identify an execution on or off chain that generated this record Process Process `protobuf:"bytes,3,opt,name=process,proto3" json:"process"` // inputs used with the process to acheieve the output on this record Inputs []RecordInput `protobuf:"bytes,4,rep,name=inputs,proto3" json:"inputs"` // output(s) is the results of executing the process on the given process indicated in this record Output []RecordOutput `protobuf:"bytes,5,rep,name=output,proto3" json:"output"` }
A record (of fact) is attached to a group or each consideration output from a contract
func (*Record) Descriptor ¶
func (*Record) GetInputs ¶
func (m *Record) GetInputs() []RecordInput
func (*Record) GetOutput ¶
func (m *Record) GetOutput() []RecordOutput
func (*Record) GetProcess ¶
func (*Record) MarshalToSizedBuffer ¶
func (*Record) ProtoMessage ¶
func (*Record) ProtoMessage()
func (Record) ValidateBasic ¶
ValidateBasic performs static checking of Record format
func (*Record) XXX_DiscardUnknown ¶
func (m *Record) XXX_DiscardUnknown()
func (*Record) XXX_Marshal ¶
func (*Record) XXX_Unmarshal ¶
type RecordGroup ¶
type RecordGroup struct { GroupId MetadataAddress `` /* 131-byte string literal not displayed */ // unique id of the record groupd specification instance that was used to create this group. SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */ // Set of identities that signed this contract Parties []Party `protobuf:"bytes,3,rep,name=parties,proto3" json:"parties"` // name to associate with this recordgroup execution context, typically classname Name string `protobuf:"bytes,4,opt,name=name,proto3" json:"type" yaml:"type"` // Created by, updated by, timestamps, version number, and related info. Audit AuditFields `protobuf:"bytes,99,opt,name=audit,proto3" json:"audit"` }
A RecordGroup is created for an execution context against a specific specification instance
The context will have a specification and set of parties involved. The RecordGroup may be updated several times so long as the parties listed are signers on the transaction. NOTE: When there are no Records within a Scope that reference a RecordGroup it is removed.
func NewRecordGroup ¶
func NewRecordGroup(name string, groupID, groupSpecification MetadataAddress, parties []Party) *RecordGroup
NewRecordGroup creates a new instance
func (*RecordGroup) Descriptor ¶
func (*RecordGroup) Descriptor() ([]byte, []int)
func (*RecordGroup) GetAudit ¶
func (m *RecordGroup) GetAudit() AuditFields
func (*RecordGroup) GetName ¶
func (m *RecordGroup) GetName() string
func (*RecordGroup) GetParties ¶
func (m *RecordGroup) GetParties() []Party
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 (rg RecordGroup) String() string
String implements stringer interface
func (*RecordGroup) Unmarshal ¶
func (m *RecordGroup) Unmarshal(dAtA []byte) error
func (*RecordGroup) ValidateBasic ¶
func (rg *RecordGroup) ValidateBasic() error
ValidateBasic performs basic format checking of data within a scope
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"` // data source // // Types that are valid to be assigned to Source: // *RecordInput_RecordId // *RecordInput_Hash Source isRecordInput_Source `protobuf_oneof:"source"` // from proposed fact structure to unmarshal TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty" yaml:"type_name"` // Indicates if this input was a recorded fact on chain or just a given hashed input Status RecordInputStatus `protobuf:"varint,5,opt,name=status,proto3,enum=provenance.metadata.v1.RecordInputStatus" json:"status,omitempty"` }
Tracks the inputs used to establish this record
func (*RecordInput) Descriptor ¶
func (*RecordInput) Descriptor() ([]byte, []int)
func (*RecordInput) GetHash ¶
func (m *RecordInput) GetHash() string
func (*RecordInput) GetName ¶
func (m *RecordInput) GetName() string
func (*RecordInput) GetSource ¶
func (m *RecordInput) GetSource() isRecordInput_Source
func (*RecordInput) GetStatus ¶
func (m *RecordInput) GetStatus() RecordInputStatus
func (*RecordInput) GetTypeName ¶
func (m *RecordInput) GetTypeName() string
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 (ri RecordInput) String() string
String implements stringer interface
func (*RecordInput) Unmarshal ¶
func (m *RecordInput) Unmarshal(dAtA []byte) error
func (RecordInput) ValidateBasic ¶
func (ri RecordInput) ValidateBasic() error
ValidateBasic performs a static check over the record input format
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_OneofWrappers ¶
func (*RecordInput) XXX_OneofWrappers() []interface{}
XXX_OneofWrappers is for the internal use of the proto package.
func (*RecordInput) XXX_Size ¶
func (m *RecordInput) XXX_Size() int
func (*RecordInput) XXX_Unmarshal ¶
func (m *RecordInput) XXX_Unmarshal(b []byte) error
type RecordInputStatus ¶
type RecordInputStatus int32
A set of types for inputs on a record (of fact)
const ( // RECORD_INPUT_STATUS_UNSPECIFIED indicates an invalid/unknown input type RecordInputStatus_Unknown RecordInputStatus = 0 // RECORD_INPUT_STATUS_PROPOSED indicates this input was an arbitrary piece of data that was hashed RecordInputStatus_Proposed RecordInputStatus = 1 // RECORD_INPUT_STATUS_RECORD indicates this input is a reference to a previously recorded fact on blockchain RecordInputStatus_Record RecordInputStatus = 2 )
func (RecordInputStatus) EnumDescriptor ¶
func (RecordInputStatus) EnumDescriptor() ([]byte, []int)
func (RecordInputStatus) String ¶
func (x RecordInputStatus) String() string
type RecordInput_Hash ¶
type RecordInput_Hash struct {
Hash string `protobuf:"bytes,3,opt,name=hash,proto3,oneof" json:"hash,omitempty"`
}
func (*RecordInput_Hash) MarshalToSizedBuffer ¶
func (m *RecordInput_Hash) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordInput_Hash) Size ¶
func (m *RecordInput_Hash) Size() (n int)
type RecordInput_RecordId ¶
type RecordInput_RecordId struct {
RecordId MetadataAddress `` /* 152-byte string literal not displayed */
}
func (*RecordInput_RecordId) MarshalTo ¶
func (m *RecordInput_RecordId) MarshalTo(dAtA []byte) (int, error)
func (*RecordInput_RecordId) MarshalToSizedBuffer ¶
func (m *RecordInput_RecordId) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordInput_RecordId) Size ¶
func (m *RecordInput_RecordId) Size() (n int)
type RecordOutput ¶
type RecordOutput struct { // Hash of the data output that was output/generated for this record Hash string `protobuf:"bytes,1,opt,name=hash,proto3" json:"hash,omitempty"` // Status of the process execution associated with this output indicating success,failure, or pending Status ResultStatus `protobuf:"varint,2,opt,name=status,proto3,enum=provenance.metadata.v1.ResultStatus" json:"status,omitempty"` }
RecordOutput encapsulates the output of a process recorded on chain
func (*RecordOutput) Descriptor ¶
func (*RecordOutput) Descriptor() ([]byte, []int)
func (*RecordOutput) GetHash ¶
func (m *RecordOutput) GetHash() string
func (*RecordOutput) GetStatus ¶
func (m *RecordOutput) GetStatus() ResultStatus
func (*RecordOutput) Marshal ¶
func (m *RecordOutput) Marshal() (dAtA []byte, err error)
func (*RecordOutput) MarshalToSizedBuffer ¶
func (m *RecordOutput) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordOutput) ProtoMessage ¶
func (*RecordOutput) ProtoMessage()
func (*RecordOutput) Reset ¶
func (m *RecordOutput) Reset()
func (*RecordOutput) Size ¶
func (m *RecordOutput) Size() (n int)
func (*RecordOutput) String ¶
func (m *RecordOutput) String() string
func (*RecordOutput) Unmarshal ¶
func (m *RecordOutput) Unmarshal(dAtA []byte) error
func (*RecordOutput) XXX_DiscardUnknown ¶
func (m *RecordOutput) XXX_DiscardUnknown()
func (*RecordOutput) XXX_Marshal ¶
func (m *RecordOutput) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordOutput) XXX_Merge ¶
func (m *RecordOutput) XXX_Merge(src proto.Message)
func (*RecordOutput) XXX_Size ¶
func (m *RecordOutput) XXX_Size() int
func (*RecordOutput) XXX_Unmarshal ¶
func (m *RecordOutput) XXX_Unmarshal(b []byte) error
type RecordReference ¶
type RecordReference struct { // name of the record (used to map against the contract's specification) Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` // reference to an existing record on chain Reference Reference `protobuf:"bytes,2,opt,name=reference,proto3" json:"reference"` }
RecordReference wrap a factual data element.
func (*RecordReference) Descriptor ¶
func (*RecordReference) Descriptor() ([]byte, []int)
func (*RecordReference) GetName ¶
func (m *RecordReference) GetName() string
func (*RecordReference) GetReference ¶
func (m *RecordReference) GetReference() Reference
func (*RecordReference) Marshal ¶
func (m *RecordReference) Marshal() (dAtA []byte, err error)
func (*RecordReference) MarshalToSizedBuffer ¶
func (m *RecordReference) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordReference) ProtoMessage ¶
func (*RecordReference) ProtoMessage()
func (*RecordReference) Reset ¶
func (m *RecordReference) Reset()
func (*RecordReference) Size ¶
func (m *RecordReference) Size() (n int)
func (*RecordReference) String ¶
func (m *RecordReference) String() string
func (*RecordReference) Unmarshal ¶
func (m *RecordReference) Unmarshal(dAtA []byte) error
func (*RecordReference) XXX_DiscardUnknown ¶
func (m *RecordReference) XXX_DiscardUnknown()
func (*RecordReference) XXX_Marshal ¶
func (m *RecordReference) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordReference) XXX_Merge ¶
func (m *RecordReference) XXX_Merge(src proto.Message)
func (*RecordReference) XXX_Size ¶
func (m *RecordReference) XXX_Size() int
func (*RecordReference) XXX_Unmarshal ¶
func (m *RecordReference) XXX_Unmarshal(b []byte) error
type RecordRequest ¶
type RecordRequest struct { ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"` Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"` }
RecordRequest is a request for all of the records in a specific scope or a specific record if a name is given.
func (*RecordRequest) Descriptor ¶
func (*RecordRequest) Descriptor() ([]byte, []int)
func (*RecordRequest) GetName ¶
func (m *RecordRequest) GetName() string
func (*RecordRequest) GetScopeId ¶
func (m *RecordRequest) GetScopeId() string
func (*RecordRequest) Marshal ¶
func (m *RecordRequest) Marshal() (dAtA []byte, err error)
func (*RecordRequest) MarshalToSizedBuffer ¶
func (m *RecordRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordRequest) ProtoMessage ¶
func (*RecordRequest) ProtoMessage()
func (*RecordRequest) Reset ¶
func (m *RecordRequest) Reset()
func (*RecordRequest) Size ¶
func (m *RecordRequest) Size() (n int)
func (*RecordRequest) String ¶
func (m *RecordRequest) String() string
func (*RecordRequest) Unmarshal ¶
func (m *RecordRequest) Unmarshal(dAtA []byte) error
func (*RecordRequest) XXX_DiscardUnknown ¶
func (m *RecordRequest) XXX_DiscardUnknown()
func (*RecordRequest) XXX_Marshal ¶
func (m *RecordRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordRequest) XXX_Merge ¶
func (m *RecordRequest) XXX_Merge(src proto.Message)
func (*RecordRequest) XXX_Size ¶
func (m *RecordRequest) XXX_Size() int
func (*RecordRequest) XXX_Unmarshal ¶
func (m *RecordRequest) XXX_Unmarshal(b []byte) error
type RecordResponse ¶
type RecordResponse struct { ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"` Records []*Record `protobuf:"bytes,2,rep,name=records,proto3" json:"records,omitempty"` }
RecordResponse is the response to a RecordRequest
func (*RecordResponse) Descriptor ¶
func (*RecordResponse) Descriptor() ([]byte, []int)
func (*RecordResponse) GetRecords ¶
func (m *RecordResponse) GetRecords() []*Record
func (*RecordResponse) GetScopeId ¶
func (m *RecordResponse) GetScopeId() string
func (*RecordResponse) Marshal ¶
func (m *RecordResponse) Marshal() (dAtA []byte, err error)
func (*RecordResponse) MarshalToSizedBuffer ¶
func (m *RecordResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordResponse) ProtoMessage ¶
func (*RecordResponse) ProtoMessage()
func (*RecordResponse) Reset ¶
func (m *RecordResponse) Reset()
func (*RecordResponse) Size ¶
func (m *RecordResponse) Size() (n int)
func (*RecordResponse) String ¶
func (m *RecordResponse) String() string
func (*RecordResponse) Unmarshal ¶
func (m *RecordResponse) Unmarshal(dAtA []byte) error
func (*RecordResponse) XXX_DiscardUnknown ¶
func (m *RecordResponse) XXX_DiscardUnknown()
func (*RecordResponse) XXX_Marshal ¶
func (m *RecordResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordResponse) XXX_Merge ¶
func (m *RecordResponse) XXX_Merge(src proto.Message)
func (*RecordResponse) XXX_Size ¶
func (m *RecordResponse) XXX_Size() int
func (*RecordResponse) XXX_Unmarshal ¶
func (m *RecordResponse) XXX_Unmarshal(b []byte) error
type RecordSpecification ¶
type RecordSpecification struct { }
RecordSpecification defines the specification for a Record including allowed/required inputs/outputs
func (*RecordSpecification) Descriptor ¶
func (*RecordSpecification) Descriptor() ([]byte, []int)
func (*RecordSpecification) Marshal ¶
func (m *RecordSpecification) Marshal() (dAtA []byte, err error)
func (*RecordSpecification) MarshalTo ¶
func (m *RecordSpecification) MarshalTo(dAtA []byte) (int, error)
func (*RecordSpecification) MarshalToSizedBuffer ¶
func (m *RecordSpecification) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*RecordSpecification) ProtoMessage ¶
func (*RecordSpecification) ProtoMessage()
func (*RecordSpecification) Reset ¶
func (m *RecordSpecification) Reset()
func (*RecordSpecification) Size ¶
func (m *RecordSpecification) Size() (n int)
func (*RecordSpecification) String ¶
func (m *RecordSpecification) String() string
func (*RecordSpecification) Unmarshal ¶
func (m *RecordSpecification) Unmarshal(dAtA []byte) error
func (*RecordSpecification) XXX_DiscardUnknown ¶
func (m *RecordSpecification) XXX_DiscardUnknown()
func (*RecordSpecification) XXX_Marshal ¶
func (m *RecordSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*RecordSpecification) XXX_Merge ¶
func (m *RecordSpecification) XXX_Merge(src proto.Message)
func (*RecordSpecification) XXX_Size ¶
func (m *RecordSpecification) XXX_Size() int
func (*RecordSpecification) XXX_Unmarshal ¶
func (m *RecordSpecification) XXX_Unmarshal(b []byte) error
type Reference ¶
type Reference struct { // unique identifer for the scope being referenced ScopeId string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty"` // require record to be within a specific group (optional) GroupId string `protobuf:"bytes,3,opt,name=group_id,json=groupId,proto3" json:"group_id,omitempty"` // specify a specific record inside a scope (and group) by result-hash (optional) Hash string `protobuf:"bytes,4,opt,name=hash,proto3" json:"hash,omitempty"` // specify a result-name of a record within a scope (optional) Name string `protobuf:"bytes,5,opt,name=name,proto3" json:"name,omitempty"` // type/classname of the target data (optional) TypeName string `protobuf:"bytes,6,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty"` }
Reference is a multipart structure that defines a reference to a piece of data recorded within a scope
func (*Reference) Descriptor ¶
func (*Reference) GetGroupId ¶
func (*Reference) GetScopeId ¶
func (*Reference) GetTypeName ¶
func (*Reference) MarshalToSizedBuffer ¶
func (*Reference) ProtoMessage ¶
func (*Reference) ProtoMessage()
func (*Reference) XXX_DiscardUnknown ¶
func (m *Reference) XXX_DiscardUnknown()
func (*Reference) XXX_Marshal ¶
func (*Reference) XXX_Unmarshal ¶
type ResultStatus ¶
type ResultStatus int32
ResultStatus indicates the various states of execution of a record
const ( // RESULT_STATUS_UNSPECIFIED indicates an unset condition ResultStatus_RESULT_STATUS_UNSPECIFIED ResultStatus = 0 // RESULT_STATUS_PASS indicates the execution was successfult ResultStatus_RESULT_STATUS_PASS ResultStatus = 1 // RESULT_STATUS_SKIP indicates condition/consideration was skipped due to missing inputs or delayed execution ResultStatus_RESULT_STATUS_SKIP ResultStatus = 2 // RESULT_STATUS_FAIL indicates the execution of the condition/consideration failed. ResultStatus_RESULT_STATUS_FAIL ResultStatus = 3 )
func (ResultStatus) EnumDescriptor ¶
func (ResultStatus) EnumDescriptor() ([]byte, []int)
func (ResultStatus) String ¶
func (x ResultStatus) String() string
type ResultType ¶
type ResultType int32
Result indicates the various states of execution of a record
const ( // RESULT_TYPE_UNSPECIFIED indicates an unset condition ResultType_RESULT_TYPE_UNSPECIFIED ResultType = 0 // RESULT_TYPE_PASS indicates the execution was successfult ResultType_RESULT_TYPE_PASS ResultType = 1 // RESULT_TYPE_SKIP indicates condition/consideration was skipped due to missing inputs or delayed execution ResultType_RESULT_TYPE_SKIP ResultType = 2 // RESULT_TYPE_FAIL indicates the execution of the condition/consideration failed. ResultType_RESULT_TYPE_FAIL ResultType = 3 )
func (ResultType) EnumDescriptor ¶
func (ResultType) EnumDescriptor() ([]byte, []int)
func (ResultType) String ¶
func (x ResultType) String() string
type Scope ¶
type Scope struct { // Unique ID for this scope. Implements sdk.Address interface for use where addresses are required in Cosmos ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id" yaml:"scope_id"` // the scope specification that contains the specifications for data elements allowed within this scope SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */ // These parties represent top level owners of the records within. These parties must sign any requests that modify // the data within the scope. These addresses are in union with parties listed on the record groups. Owners []Party `protobuf:"bytes,3,rep,name=owners,proto3" json:"owners"` // Addessses in this list are authorized to recieve off-chain data associated with this scope. DataAccess []string `protobuf:"bytes,4,rep,name=data_access,json=dataAccess,proto3" json:"data_access,omitempty" yaml:"data_access"` // An address that controls the value associated with this scope. Standard blockchain accounts and marker accounts // are supported for this value. This attribute may only be changed by the entity indicated once it is set. ValueOwnerAddress string `` /* 141-byte string literal not displayed */ }
Scope defines a root reference for a collection of records owned by one or more parties.
func NewScope ¶
func NewScope( scopeID, scopeSpecification MetadataAddress, owners []Party, dataAccess []string, valueOwner string, ) *Scope
NewScope creates a new instance.
func (*Scope) Descriptor ¶
func (*Scope) GetDataAccess ¶
func (*Scope) GetValueOwnerAddress ¶
func (*Scope) ProtoMessage ¶
func (*Scope) ProtoMessage()
func (*Scope) ValidateBasic ¶
ValidateBasic performs basic format checking of data within a scope
func (*Scope) XXX_DiscardUnknown ¶
func (m *Scope) XXX_DiscardUnknown()
func (*Scope) XXX_Marshal ¶
func (*Scope) XXX_Unmarshal ¶
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,omitempty"` RecordGroups []*RecordGroup `protobuf:"bytes,2,rep,name=record_groups,json=recordGroups,proto3" json:"record_groups,omitempty"` Records []*Record `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"` }
ScopeResponse is the response to a scope request.
func (*ScopeResponse) Descriptor ¶
func (*ScopeResponse) Descriptor() ([]byte, []int)
func (*ScopeResponse) GetRecordGroups ¶
func (m *ScopeResponse) GetRecordGroups() []*RecordGroup
func (*ScopeResponse) GetRecords ¶
func (m *ScopeResponse) GetRecords() []*Record
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 ScopeSpecification ¶
type ScopeSpecification struct { // unique identifier for this specification on chain SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */ // General information about this scope specification. Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"` // Addresses of the owners of this scope specification. OwnerAddresses []string `protobuf:"bytes,3,rep,name=owner_addresses,json=ownerAddresses,proto3" json:"owner_addresses,omitempty" yaml:"owner_address"` // A list of parties that must be present on a scope (and their associated roles) PartiesInvolved []PartyType `` /* 176-byte string literal not displayed */ // A list of group specification ids allowed for a scope based on this specification. GroupSpecIds []MetadataAddress `` /* 138-byte string literal not displayed */ }
ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract
func (*ScopeSpecification) Descriptor ¶
func (*ScopeSpecification) Descriptor() ([]byte, []int)
func (*ScopeSpecification) GetDescription ¶
func (m *ScopeSpecification) GetDescription() *Description
func (*ScopeSpecification) GetOwnerAddresses ¶
func (m *ScopeSpecification) GetOwnerAddresses() []string
func (*ScopeSpecification) GetPartiesInvolved ¶
func (m *ScopeSpecification) GetPartiesInvolved() []PartyType
func (*ScopeSpecification) Marshal ¶
func (m *ScopeSpecification) Marshal() (dAtA []byte, err error)
func (*ScopeSpecification) MarshalTo ¶
func (m *ScopeSpecification) MarshalTo(dAtA []byte) (int, error)
func (*ScopeSpecification) MarshalToSizedBuffer ¶
func (m *ScopeSpecification) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ScopeSpecification) ProtoMessage ¶
func (*ScopeSpecification) ProtoMessage()
func (*ScopeSpecification) Reset ¶
func (m *ScopeSpecification) Reset()
func (*ScopeSpecification) Size ¶
func (m *ScopeSpecification) Size() (n int)
func (*ScopeSpecification) String ¶
func (m *ScopeSpecification) String() string
func (*ScopeSpecification) Unmarshal ¶
func (m *ScopeSpecification) Unmarshal(dAtA []byte) error
func (*ScopeSpecification) XXX_DiscardUnknown ¶
func (m *ScopeSpecification) XXX_DiscardUnknown()
func (*ScopeSpecification) XXX_Marshal ¶
func (m *ScopeSpecification) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ScopeSpecification) XXX_Merge ¶
func (m *ScopeSpecification) XXX_Merge(src proto.Message)
func (*ScopeSpecification) XXX_Size ¶
func (m *ScopeSpecification) XXX_Size() int
func (*ScopeSpecification) XXX_Unmarshal ¶
func (m *ScopeSpecification) XXX_Unmarshal(b []byte) error
type UnimplementedMsgServer ¶
type UnimplementedMsgServer struct { }
UnimplementedMsgServer can be embedded to have forward compatible implementations.
func (*UnimplementedMsgServer) AddGroupSpecification ¶
func (*UnimplementedMsgServer) AddGroupSpecification(ctx context.Context, req *MsgAddGroupSpecificationRequest) (*MsgAddGroupSpecificationResponse, error)
func (*UnimplementedMsgServer) AddRecord ¶
func (*UnimplementedMsgServer) AddRecord(ctx context.Context, req *MsgAddRecordRequest) (*MsgAddRecordResponse, error)
func (*UnimplementedMsgServer) AddRecordGroup ¶
func (*UnimplementedMsgServer) AddRecordGroup(ctx context.Context, req *MsgAddRecordGroupRequest) (*MsgAddRecordGroupResponse, error)
func (*UnimplementedMsgServer) AddScope ¶
func (*UnimplementedMsgServer) AddScope(ctx context.Context, req *MsgAddScopeRequest) (*MsgAddScopeResponse, error)
func (*UnimplementedMsgServer) AddScopeSpecification ¶
func (*UnimplementedMsgServer) AddScopeSpecification(ctx context.Context, req *MsgAddScopeSpecificationRequest) (*MsgAddScopeSpecificationResponse, error)
func (*UnimplementedMsgServer) ChangeOwnership ¶
func (*UnimplementedMsgServer) ChangeOwnership(ctx context.Context, req *MsgChangeOwnershipRequest) (*MsgChangeOwnershipResponse, error)
func (*UnimplementedMsgServer) MemorializeContract ¶
func (*UnimplementedMsgServer) MemorializeContract(ctx context.Context, req *MsgMemorializeContractRequest) (*MsgMemorializeContractResponse, error)
func (*UnimplementedMsgServer) RemoveScope ¶
func (*UnimplementedMsgServer) RemoveScope(ctx context.Context, req *MsgRemoveScopeRequest) (*MsgRemoveScopeResponse, error)
type UnimplementedQueryServer ¶
type UnimplementedQueryServer struct { }
UnimplementedQueryServer can be embedded to have forward compatible implementations.
func (*UnimplementedQueryServer) GroupContext ¶
func (*UnimplementedQueryServer) GroupContext(ctx context.Context, req *GroupContextRequest) (*GroupContextResponse, error)
func (*UnimplementedQueryServer) Ownership ¶
func (*UnimplementedQueryServer) Ownership(ctx context.Context, req *OwnershipRequest) (*OwnershipResponse, error)
func (*UnimplementedQueryServer) Params ¶
func (*UnimplementedQueryServer) Params(ctx context.Context, req *QueryParamsRequest) (*QueryParamsResponse, error)
func (*UnimplementedQueryServer) Record ¶
func (*UnimplementedQueryServer) Record(ctx context.Context, req *RecordRequest) (*RecordResponse, error)
func (*UnimplementedQueryServer) Scope ¶
func (*UnimplementedQueryServer) Scope(ctx context.Context, req *ScopeRequest) (*ScopeResponse, error)
func (*UnimplementedQueryServer) ValueOwnership ¶
func (*UnimplementedQueryServer) ValueOwnership(ctx context.Context, req *ValueOwnershipRequest) (*ValueOwnershipResponse, error)
type ValueOwnershipRequest ¶
type ValueOwnershipRequest struct { Address string `protobuf:"bytes,1,opt,name=address,proto3" json:"address,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
ValueOwnershipRequest looks for all scope level resources that have the address as the value owner
func (*ValueOwnershipRequest) Descriptor ¶
func (*ValueOwnershipRequest) Descriptor() ([]byte, []int)
func (*ValueOwnershipRequest) GetAddress ¶
func (m *ValueOwnershipRequest) GetAddress() string
func (*ValueOwnershipRequest) GetPagination ¶
func (m *ValueOwnershipRequest) GetPagination() *query.PageRequest
func (*ValueOwnershipRequest) Marshal ¶
func (m *ValueOwnershipRequest) Marshal() (dAtA []byte, err error)
func (*ValueOwnershipRequest) MarshalTo ¶
func (m *ValueOwnershipRequest) MarshalTo(dAtA []byte) (int, error)
func (*ValueOwnershipRequest) MarshalToSizedBuffer ¶
func (m *ValueOwnershipRequest) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueOwnershipRequest) ProtoMessage ¶
func (*ValueOwnershipRequest) ProtoMessage()
func (*ValueOwnershipRequest) Reset ¶
func (m *ValueOwnershipRequest) Reset()
func (*ValueOwnershipRequest) Size ¶
func (m *ValueOwnershipRequest) Size() (n int)
func (*ValueOwnershipRequest) String ¶
func (m *ValueOwnershipRequest) String() string
func (*ValueOwnershipRequest) Unmarshal ¶
func (m *ValueOwnershipRequest) Unmarshal(dAtA []byte) error
func (*ValueOwnershipRequest) XXX_DiscardUnknown ¶
func (m *ValueOwnershipRequest) XXX_DiscardUnknown()
func (*ValueOwnershipRequest) XXX_Marshal ¶
func (m *ValueOwnershipRequest) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValueOwnershipRequest) XXX_Merge ¶
func (m *ValueOwnershipRequest) XXX_Merge(src proto.Message)
func (*ValueOwnershipRequest) XXX_Size ¶
func (m *ValueOwnershipRequest) XXX_Size() int
func (*ValueOwnershipRequest) XXX_Unmarshal ¶
func (m *ValueOwnershipRequest) XXX_Unmarshal(b []byte) error
type ValueOwnershipResponse ¶
type ValueOwnershipResponse struct { // A list of scope ids (uuid) associated with the given address. ScopeIds []string `protobuf:"bytes,1,rep,name=scope_ids,json=scopeIds,proto3" json:"scope_ids,omitempty"` // pagination defines an optional pagination for the request. Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"` }
ValueOwnershipResponse is the reponse to the Valueownership request and includes a list of scope identifiers
func (*ValueOwnershipResponse) Descriptor ¶
func (*ValueOwnershipResponse) Descriptor() ([]byte, []int)
func (*ValueOwnershipResponse) GetPagination ¶
func (m *ValueOwnershipResponse) GetPagination() *query.PageResponse
func (*ValueOwnershipResponse) GetScopeIds ¶
func (m *ValueOwnershipResponse) GetScopeIds() []string
func (*ValueOwnershipResponse) Marshal ¶
func (m *ValueOwnershipResponse) Marshal() (dAtA []byte, err error)
func (*ValueOwnershipResponse) MarshalTo ¶
func (m *ValueOwnershipResponse) MarshalTo(dAtA []byte) (int, error)
func (*ValueOwnershipResponse) MarshalToSizedBuffer ¶
func (m *ValueOwnershipResponse) MarshalToSizedBuffer(dAtA []byte) (int, error)
func (*ValueOwnershipResponse) ProtoMessage ¶
func (*ValueOwnershipResponse) ProtoMessage()
func (*ValueOwnershipResponse) Reset ¶
func (m *ValueOwnershipResponse) Reset()
func (*ValueOwnershipResponse) Size ¶
func (m *ValueOwnershipResponse) Size() (n int)
func (*ValueOwnershipResponse) String ¶
func (m *ValueOwnershipResponse) String() string
func (*ValueOwnershipResponse) Unmarshal ¶
func (m *ValueOwnershipResponse) Unmarshal(dAtA []byte) error
func (*ValueOwnershipResponse) XXX_DiscardUnknown ¶
func (m *ValueOwnershipResponse) XXX_DiscardUnknown()
func (*ValueOwnershipResponse) XXX_Marshal ¶
func (m *ValueOwnershipResponse) XXX_Marshal(b []byte, deterministic bool) ([]byte, error)
func (*ValueOwnershipResponse) XXX_Merge ¶
func (m *ValueOwnershipResponse) XXX_Merge(src proto.Message)
func (*ValueOwnershipResponse) XXX_Size ¶
func (m *ValueOwnershipResponse) XXX_Size() int
func (*ValueOwnershipResponse) XXX_Unmarshal ¶
func (m *ValueOwnershipResponse) XXX_Unmarshal(b []byte) error