types

package
v0.0.0 Latest Latest
Warning

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

Go to latest
Published: Feb 24, 2021 License: Apache-2.0 Imports: 41 Imported by: 1

Documentation

Overview

Package types is a reverse proxy.

It translates gRPC into RESTful JSON APIs.

Index

Constants

View Source
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"
)
View Source
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
)
View Source
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
)
View Source
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"
)
View Source
const (
	QueryScope     = "account"
	QueryOwnership = "ownership"
	QueryParams    = "params"
)

query endpoints supported by the auth Querier

Variables

View Source
var (
	ErrInvalidLengthContract        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowContract          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupContract = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthGenesis        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowGenesis          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupGenesis = fmt.Errorf("proto: unexpected end of group")
)
View Source
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

View Source
var (
	ErrInvalidLengthMetadata        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowMetadata          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupMetadata = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthQuery        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowQuery          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupQuery = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthScope        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowScope          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupScope = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthSpecification        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowSpecification          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupSpecification = fmt.Errorf("proto: unexpected end of group")
)
View Source
var (
	ErrInvalidLengthTx        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowTx          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupTx = fmt.Errorf("proto: unexpected end of group")
)
View Source
var DefinitionType_name = map[int32]string{
	0: "DEFINITION_TYPE_UNSPECIFIED",
	1: "DEFINITION_TYPE_PROPOSED",
	2: "DEFINITION_TYPE_FACT",
	3: "DEFINITION_TYPE_FACT_LIST",
}
View Source
var DefinitionType_value = map[string]int32{
	"DEFINITION_TYPE_UNSPECIFIED": 0,
	"DEFINITION_TYPE_PROPOSED":    1,
	"DEFINITION_TYPE_FACT":        2,
	"DEFINITION_TYPE_FACT_LIST":   3,
}
View Source
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)
)
View Source
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",
}
View Source
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,
}
View Source
var RecordInputStatus_name = map[int32]string{
	0: "RECORD_INPUT_STATUS_UNSPECIFIED",
	1: "RECORD_INPUT_STATUS_PROPOSED",
	2: "RECORD_INPUT_STATUS_RECORD",
}
View Source
var RecordInputStatus_value = map[string]int32{
	"RECORD_INPUT_STATUS_UNSPECIFIED": 0,
	"RECORD_INPUT_STATUS_PROPOSED":    1,
	"RECORD_INPUT_STATUS_RECORD":      2,
}
View Source
var ResultStatus_name = map[int32]string{
	0: "RESULT_STATUS_UNSPECIFIED",
	1: "RESULT_STATUS_PASS",
	2: "RESULT_STATUS_SKIP",
	3: "RESULT_STATUS_FAIL",
}
View Source
var ResultStatus_value = map[string]int32{
	"RESULT_STATUS_UNSPECIFIED": 0,
	"RESULT_STATUS_PASS":        1,
	"RESULT_STATUS_SKIP":        2,
	"RESULT_STATUS_FAIL":        3,
}
View Source
var ResultType_name = map[int32]string{
	0: "RESULT_TYPE_UNSPECIFIED",
	1: "RESULT_TYPE_PASS",
	2: "RESULT_TYPE_SKIP",
	3: "RESULT_TYPE_FAIL",
}
View Source
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 ParamKeyTable

func ParamKeyTable() paramtypes.KeyTable

ParamKeyTable for metadata module

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 RegisterMsgServer(s grpc1.Server, srv MsgServer)

func RegisterQueryHandler

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

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

func RegisterQueryHandlerClient

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

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

func RegisterQueryHandlerFromEndpoint

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

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

func RegisterQueryHandlerServer

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

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

func RegisterQueryServer

func RegisterQueryServer(s grpc1.Server, srv QueryServer)

func VerifyMetadataAddressFormat

func VerifyMetadataAddressFormat(bz []byte) (string, error)

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) MarshalTo

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

func (*AuditFields) MarshalToSizedBuffer

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

func (*AuditFields) ProtoMessage

func (*AuditFields) ProtoMessage()

func (*AuditFields) Reset

func (m *AuditFields) Reset()

func (*AuditFields) Size

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

func (*AuditFields) String

func (m *AuditFields) String() string

func (*AuditFields) Unmarshal

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

func (*AuditFields) XXX_DiscardUnknown

func (m *AuditFields) XXX_DiscardUnknown()

func (*AuditFields) XXX_Marshal

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

func (*AuditFields) XXX_Merge

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

func (*AuditFields) XXX_Size

func (m *AuditFields) XXX_Size() int

func (*AuditFields) XXX_Unmarshal

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

type 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) Descriptor() ([]byte, []int)

func (*Condition) GetConditionName

func (m *Condition) GetConditionName() string

func (*Condition) GetResult

func (m *Condition) GetResult() ExecutionResult

func (*Condition) Marshal

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

func (*Condition) MarshalTo

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

func (*Condition) MarshalToSizedBuffer

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

func (*Condition) ProtoMessage

func (*Condition) ProtoMessage()

func (*Condition) Reset

func (m *Condition) Reset()

func (*Condition) Size

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

func (*Condition) String

func (m *Condition) String() string

func (*Condition) Unmarshal

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

func (*Condition) XXX_DiscardUnknown

func (m *Condition) XXX_DiscardUnknown()

func (*Condition) XXX_Marshal

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

func (*Condition) XXX_Merge

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

func (*Condition) XXX_Size

func (m *Condition) XXX_Size() int

func (*Condition) XXX_Unmarshal

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

type ConditionSpec

type ConditionSpec struct {
	// 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) MarshalTo

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

func (*ConditionSpec) MarshalToSizedBuffer

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

func (*ConditionSpec) ProtoMessage

func (*ConditionSpec) ProtoMessage()

func (*ConditionSpec) Reset

func (m *ConditionSpec) Reset()

func (*ConditionSpec) Size

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

func (*ConditionSpec) String

func (m *ConditionSpec) String() string

func (*ConditionSpec) Unmarshal

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

func (*ConditionSpec) XXX_DiscardUnknown

func (m *ConditionSpec) XXX_DiscardUnknown()

func (*ConditionSpec) XXX_Marshal

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

func (*ConditionSpec) XXX_Merge

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

func (*ConditionSpec) XXX_Size

func (m *ConditionSpec) XXX_Size() int

func (*ConditionSpec) XXX_Unmarshal

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

type Consideration

type Consideration struct {
	ConsiderationName string `protobuf:"bytes,1,opt,name=consideration_name,json=considerationName,proto3" json:"consideration_name,omitempty"`
	// Data pushed to a consideration that will ultimately match the output_spec of the consideration
	Inputs []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) MarshalTo

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

func (*Consideration) MarshalToSizedBuffer

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

func (*Consideration) ProtoMessage

func (*Consideration) ProtoMessage()

func (*Consideration) Reset

func (m *Consideration) Reset()

func (*Consideration) Size

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

func (*Consideration) String

func (m *Consideration) String() string

func (*Consideration) Unmarshal

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

func (*Consideration) XXX_DiscardUnknown

func (m *Consideration) XXX_DiscardUnknown()

func (*Consideration) XXX_Marshal

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

func (*Consideration) XXX_Merge

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

func (*Consideration) XXX_Size

func (m *Consideration) XXX_Size() int

func (*Consideration) XXX_Unmarshal

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

type ConsiderationSpec

type ConsiderationSpec struct {
	// 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) Descriptor() ([]byte, []int)

func (*Contract) GetConditions

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

func (*Contract) GetConsiderations

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

func (*Contract) GetDefinition

func (m *Contract) GetDefinition() Definition

func (*Contract) GetInputs

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

func (*Contract) GetInvoker

func (m *Contract) GetInvoker() string

func (*Contract) GetRecitals

func (m *Contract) GetRecitals() Recitals

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) Marshal

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

func (*Contract) MarshalTo

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

func (*Contract) MarshalToSizedBuffer

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

func (*Contract) ProtoMessage

func (*Contract) ProtoMessage()

func (*Contract) Reset

func (m *Contract) Reset()

func (*Contract) Size

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

func (*Contract) String

func (m *Contract) String() string

func (*Contract) Unmarshal

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

func (Contract) ValidateBasic

func (contract Contract) ValidateBasic() error

ValidateBasic runs stateless validation checks on the message.

func (*Contract) XXX_DiscardUnknown

func (m *Contract) XXX_DiscardUnknown()

func (*Contract) XXX_Marshal

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

func (*Contract) XXX_Merge

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

func (*Contract) XXX_Size

func (m *Contract) XXX_Size() int

func (*Contract) XXX_Unmarshal

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

type ContractSpec

type ContractSpec struct {
	// 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) MarshalTo

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

func (*ContractSpec) MarshalToSizedBuffer

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

func (*ContractSpec) ProtoMessage

func (*ContractSpec) ProtoMessage()

func (*ContractSpec) Reset

func (m *ContractSpec) Reset()

func (*ContractSpec) Size

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

func (*ContractSpec) String

func (m *ContractSpec) String() string

func (*ContractSpec) Unmarshal

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

func (*ContractSpec) XXX_DiscardUnknown

func (m *ContractSpec) XXX_DiscardUnknown()

func (*ContractSpec) XXX_Marshal

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

func (*ContractSpec) XXX_Merge

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

func (*ContractSpec) XXX_Size

func (m *ContractSpec) XXX_Size() int

func (*ContractSpec) XXX_Unmarshal

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

type 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) MarshalTo

func (m *Definition) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *Description) MarshalTo(dAtA []byte) (int, 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) MarshalTo

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

func (*ExecutionResult) MarshalToSizedBuffer

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

func (*ExecutionResult) ProtoMessage

func (*ExecutionResult) ProtoMessage()

func (*ExecutionResult) Reset

func (m *ExecutionResult) Reset()

func (*ExecutionResult) Size

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

func (*ExecutionResult) String

func (m *ExecutionResult) String() string

func (*ExecutionResult) Unmarshal

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

func (*ExecutionResult) XXX_DiscardUnknown

func (m *ExecutionResult) XXX_DiscardUnknown()

func (*ExecutionResult) XXX_Marshal

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

func (*ExecutionResult) XXX_Merge

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

func (*ExecutionResult) XXX_Size

func (m *ExecutionResult) XXX_Size() int

func (*ExecutionResult) XXX_Unmarshal

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

type 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) MarshalTo

func (m *GenesisState) MarshalTo(dAtA []byte) (int, 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 (MsgAddGroupSpecificationRequest) Route

Route returns the module route

func (*MsgAddGroupSpecificationRequest) Size

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

func (MsgAddGroupSpecificationRequest) String

func (MsgAddGroupSpecificationRequest) Type

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 (*MsgAddGroupSpecificationResponse) Size

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

func (*MsgAddGroupSpecificationResponse) 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 (*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 (MsgAddScopeSpecificationRequest) Route

Route returns the module route

func (*MsgAddScopeSpecificationRequest) Size

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

func (MsgAddScopeSpecificationRequest) String

func (MsgAddScopeSpecificationRequest) Type

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 (*MsgAddScopeSpecificationResponse) Size

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

func (*MsgAddScopeSpecificationResponse) 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 (*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

Route returns the module route

func (*MsgMemorializeContractRequest) Size

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

func (MsgMemorializeContractRequest) String

func (MsgMemorializeContractRequest) Type

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 (*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) MarshalTo

func (m *OwnershipRequest) MarshalTo(dAtA []byte) (int, 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 NewParams

func NewParams() Params

NewParams creates a new parameter object

func (*Params) Descriptor

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

func (*Params) Equal

func (this *Params) Equal(that interface{}) bool

func (*Params) Marshal

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

func (*Params) MarshalTo

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

func (*Params) MarshalToSizedBuffer

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

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) Reset

func (m *Params) Reset()

func (*Params) Size

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

func (Params) String

func (p Params) String() string

String implements stringer interface

func (*Params) Unmarshal

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

func (*Params) XXX_DiscardUnknown

func (m *Params) XXX_DiscardUnknown()

func (*Params) XXX_Marshal

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

func (*Params) XXX_Merge

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

func (*Params) XXX_Size

func (m *Params) XXX_Size() int

func (*Params) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Party) GetAddress

func (m *Party) GetAddress() string

func (*Party) GetRole

func (m *Party) GetRole() PartyType

func (*Party) Marshal

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

func (*Party) MarshalTo

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

func (*Party) MarshalToSizedBuffer

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

func (*Party) ProtoMessage

func (*Party) ProtoMessage()

func (*Party) Reset

func (m *Party) Reset()

func (*Party) Size

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

func (Party) String

func (p Party) String() string

String implements stringer interface

func (*Party) Unmarshal

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

func (Party) ValidateBasic

func (p Party) ValidateBasic() error

ValidateBasic performs static checking of Party format

func (*Party) XXX_DiscardUnknown

func (m *Party) XXX_DiscardUnknown()

func (*Party) XXX_Marshal

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

func (*Party) XXX_Merge

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

func (*Party) XXX_Size

func (m *Party) XXX_Size() int

func (*Party) XXX_Unmarshal

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

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

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

func (PartyType) String

func (x PartyType) String() string

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) Descriptor() ([]byte, []int)

func (*Process) GetAddress

func (m *Process) GetAddress() string

func (*Process) GetHash

func (m *Process) GetHash() string

func (*Process) GetMethod

func (m *Process) GetMethod() string

func (*Process) GetName

func (m *Process) GetName() string

func (*Process) GetProcessId

func (m *Process) GetProcessId() isProcess_ProcessId

func (*Process) Marshal

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

func (*Process) MarshalTo

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

func (*Process) MarshalToSizedBuffer

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

func (*Process) ProtoMessage

func (*Process) ProtoMessage()

func (*Process) Reset

func (m *Process) Reset()

func (*Process) Size

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

func (*Process) String

func (m *Process) String() string

func (*Process) Unmarshal

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

func (*Process) XXX_DiscardUnknown

func (m *Process) XXX_DiscardUnknown()

func (*Process) XXX_Marshal

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

func (*Process) XXX_Merge

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

func (*Process) XXX_OneofWrappers

func (*Process) XXX_OneofWrappers() []interface{}

XXX_OneofWrappers is for the internal use of the proto package.

func (*Process) XXX_Size

func (m *Process) XXX_Size() int

func (*Process) XXX_Unmarshal

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

type Process_Address

type Process_Address struct {
	Address string `protobuf:"bytes,1,opt,name=address,proto3,oneof" json:"address,omitempty"`
}

func (*Process_Address) MarshalTo

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

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) MarshalTo

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

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) MarshalTo

func (m *ProposedRecord) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Recital) GetAddress

func (m *Recital) GetAddress() string

func (*Recital) GetSignerRole

func (m *Recital) GetSignerRole() PartyType

func (*Recital) Marshal

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

func (*Recital) MarshalTo

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

func (*Recital) MarshalToSizedBuffer

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

func (*Recital) ProtoMessage

func (*Recital) ProtoMessage()

func (*Recital) Reset

func (m *Recital) Reset()

func (*Recital) Size

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

func (*Recital) String

func (m *Recital) String() string

func (*Recital) Unmarshal

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

func (*Recital) XXX_DiscardUnknown

func (m *Recital) XXX_DiscardUnknown()

func (*Recital) XXX_Marshal

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

func (*Recital) XXX_Merge

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

func (*Recital) XXX_Size

func (m *Recital) XXX_Size() int

func (*Recital) XXX_Unmarshal

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

type Recitals

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

Recitals is a list of recital

func (*Recitals) Descriptor

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

func (*Recitals) GetParties

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

func (*Recitals) Marshal

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

func (*Recitals) MarshalTo

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

func (*Recitals) MarshalToSizedBuffer

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

func (*Recitals) ProtoMessage

func (*Recitals) ProtoMessage()

func (*Recitals) Reset

func (m *Recitals) Reset()

func (*Recitals) Size

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

func (*Recitals) String

func (m *Recitals) String() string

func (*Recitals) Unmarshal

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

func (*Recitals) XXX_DiscardUnknown

func (m *Recitals) XXX_DiscardUnknown()

func (*Recitals) XXX_Marshal

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

func (*Recitals) XXX_Merge

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

func (*Recitals) XXX_Size

func (m *Recitals) XXX_Size() int

func (*Recitals) XXX_Unmarshal

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

type Record

type Record struct {
	// 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) Descriptor() ([]byte, []int)

func (*Record) GetInputs

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

func (*Record) GetName

func (m *Record) GetName() string

func (*Record) GetOutput

func (m *Record) GetOutput() []RecordOutput

func (*Record) GetProcess

func (m *Record) GetProcess() Process

func (*Record) Marshal

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

func (*Record) MarshalTo

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

func (*Record) MarshalToSizedBuffer

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

func (*Record) ProtoMessage

func (*Record) ProtoMessage()

func (*Record) Reset

func (m *Record) Reset()

func (*Record) Size

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

func (Record) String

func (r Record) String() string

String implements stringer interface

func (*Record) Unmarshal

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

func (Record) ValidateBasic

func (r Record) ValidateBasic() error

ValidateBasic performs static checking of Record format

func (*Record) XXX_DiscardUnknown

func (m *Record) XXX_DiscardUnknown()

func (*Record) XXX_Marshal

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

func (*Record) XXX_Merge

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

func (*Record) XXX_Size

func (m *Record) XXX_Size() int

func (*Record) XXX_Unmarshal

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

type RecordGroup

type RecordGroup struct {
	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) MarshalTo

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

func (*RecordGroup) MarshalToSizedBuffer

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

func (*RecordGroup) ProtoMessage

func (*RecordGroup) ProtoMessage()

func (*RecordGroup) Reset

func (m *RecordGroup) Reset()

func (*RecordGroup) Size

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

func (RecordGroup) String

func (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) MarshalTo

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

func (*RecordInput) MarshalToSizedBuffer

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

func (*RecordInput) ProtoMessage

func (*RecordInput) ProtoMessage()

func (*RecordInput) Reset

func (m *RecordInput) Reset()

func (*RecordInput) Size

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

func (RecordInput) String

func (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) MarshalTo

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

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) MarshalTo

func (m *RecordOutput) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *RecordReference) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *RecordRequest) MarshalTo(dAtA []byte) (int, 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) MarshalTo

func (m *RecordResponse) MarshalTo(dAtA []byte) (int, 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) Descriptor() ([]byte, []int)

func (*Reference) GetGroupId

func (m *Reference) GetGroupId() string

func (*Reference) GetHash

func (m *Reference) GetHash() string

func (*Reference) GetName

func (m *Reference) GetName() string

func (*Reference) GetScopeId

func (m *Reference) GetScopeId() string

func (*Reference) GetTypeName

func (m *Reference) GetTypeName() string

func (*Reference) Marshal

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

func (*Reference) MarshalTo

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

func (*Reference) MarshalToSizedBuffer

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

func (*Reference) ProtoMessage

func (*Reference) ProtoMessage()

func (*Reference) Reset

func (m *Reference) Reset()

func (*Reference) Size

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

func (*Reference) String

func (m *Reference) String() string

func (*Reference) Unmarshal

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

func (*Reference) XXX_DiscardUnknown

func (m *Reference) XXX_DiscardUnknown()

func (*Reference) XXX_Marshal

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

func (*Reference) XXX_Merge

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

func (*Reference) XXX_Size

func (m *Reference) XXX_Size() int

func (*Reference) XXX_Unmarshal

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

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) Descriptor() ([]byte, []int)

func (*Scope) GetDataAccess

func (m *Scope) GetDataAccess() []string

func (*Scope) GetOwners

func (m *Scope) GetOwners() []Party

func (*Scope) GetValueOwnerAddress

func (m *Scope) GetValueOwnerAddress() string

func (*Scope) Marshal

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

func (*Scope) MarshalTo

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

func (*Scope) MarshalToSizedBuffer

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

func (*Scope) ProtoMessage

func (*Scope) ProtoMessage()

func (*Scope) Reset

func (m *Scope) Reset()

func (*Scope) Size

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

func (Scope) String

func (s Scope) String() string

String implements stringer interface

func (*Scope) Unmarshal

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

func (*Scope) ValidateBasic

func (s *Scope) ValidateBasic() error

ValidateBasic performs basic format checking of data within a scope

func (*Scope) XXX_DiscardUnknown

func (m *Scope) XXX_DiscardUnknown()

func (*Scope) XXX_Marshal

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

func (*Scope) XXX_Merge

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

func (*Scope) XXX_Size

func (m *Scope) XXX_Size() int

func (*Scope) XXX_Unmarshal

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

type ScopeRequest

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

ScopeRequest is used for requesting a scope by id

func (*ScopeRequest) Descriptor

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

func (*ScopeRequest) GetScopeId

func (m *ScopeRequest) GetScopeId() string

func (*ScopeRequest) Marshal

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

func (*ScopeRequest) MarshalTo

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

func (*ScopeRequest) MarshalToSizedBuffer

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

func (*ScopeRequest) ProtoMessage

func (*ScopeRequest) ProtoMessage()

func (*ScopeRequest) Reset

func (m *ScopeRequest) Reset()

func (*ScopeRequest) Size

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

func (*ScopeRequest) String

func (m *ScopeRequest) String() string

func (*ScopeRequest) Unmarshal

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

func (*ScopeRequest) XXX_DiscardUnknown

func (m *ScopeRequest) XXX_DiscardUnknown()

func (*ScopeRequest) XXX_Marshal

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

func (*ScopeRequest) XXX_Merge

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

func (*ScopeRequest) XXX_Size

func (m *ScopeRequest) XXX_Size() int

func (*ScopeRequest) XXX_Unmarshal

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

type ScopeResponse

type ScopeResponse struct {
	Scope        *Scope         `protobuf:"bytes,1,opt,name=scope,proto3" json:"scope,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) MarshalTo

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

func (*ScopeResponse) MarshalToSizedBuffer

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

func (*ScopeResponse) ProtoMessage

func (*ScopeResponse) ProtoMessage()

func (*ScopeResponse) Reset

func (m *ScopeResponse) Reset()

func (*ScopeResponse) Size

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

func (*ScopeResponse) String

func (m *ScopeResponse) String() string

func (*ScopeResponse) Unmarshal

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

func (*ScopeResponse) XXX_DiscardUnknown

func (m *ScopeResponse) XXX_DiscardUnknown()

func (*ScopeResponse) XXX_Marshal

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

func (*ScopeResponse) XXX_Merge

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

func (*ScopeResponse) XXX_Size

func (m *ScopeResponse) XXX_Size() int

func (*ScopeResponse) XXX_Unmarshal

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

type 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) AddRecord

func (*UnimplementedMsgServer) AddRecordGroup

func (*UnimplementedMsgServer) AddScope

func (*UnimplementedMsgServer) AddScopeSpecification

func (*UnimplementedMsgServer) ChangeOwnership

func (*UnimplementedMsgServer) MemorializeContract

func (*UnimplementedMsgServer) RemoveScope

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) GroupContext

func (*UnimplementedQueryServer) Ownership

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) Record

func (*UnimplementedQueryServer) Scope

func (*UnimplementedQueryServer) ValueOwnership

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

Jump to

Keyboard shortcuts

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