types

package
v0.3.0 Latest Latest
Warning

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

Go to latest
Published: Mar 19, 2021 License: Apache-2.0 Imports: 47 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"
	// PrefixSession is the address human readable prefix used with bech32 encoding of Session IDs
	PrefixSession = "session"
	// 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"
	// PrefixContractSpecification is the address human readable prefix used with bech32 encoding of ContractSpecification IDs
	PrefixContractSpecification = "contractspec"
	// PrefixRecordSpecification is the address human readable prefix used with bech32 encoding of RecordSpecification IDs
	PrefixRecordSpecification = "recspec"
)
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"

	// EventTypeSessionCreated is the event type generated when new record sessions are created.
	EventTypeSessionCreated string = "session_created"
	// EventTypeSessionUpdated is the event type generated when existing record sessions are updated.
	EventTypeSessionUpdated string = "session_updated"
	// EventTypeSessionRemoved is the event type generated when a scope is removed
	EventTypeSessionRemoved string = "session_removed"

	// EventTypeRecordCreated is the event type generated when new record sessions are created.
	EventTypeRecordCreated string = "record_created"
	// EventTypeRecordUpdated is the event type generated when existing record sessions are updated.
	EventTypeRecordUpdated string = "record_updated"
	// EventTypeRecordRemoved is the event type generated when a scope is removed
	EventTypeRecordRemoved string = "record_removed"

	// EventTypeScopeSpecificationCreated is the event type generated when a new scope specification is created.
	EventTypeScopeSpecificationCreated string = "scope_specification_created"
	// EventTypeScopeSpecificationUpdated is the event type generated when an existing scope specifications is updated.
	EventTypeScopeSpecificationUpdated string = "scope_specification_updated"
	// EventTypeScopeSpecificationRemoved is the event type generated when a scope specification is removed.
	EventTypeScopeSpecificationRemoved string = "scope_specification_removed"

	// EventTypeContractSpecificationCreated is the event type generated when a new contract specification is created.
	EventTypeContractSpecificationCreated string = "contract_specification_created"
	// EventTypeContractSpecificationUpdated is the event type generated when an existing contract specifications is updated.
	EventTypeContractSpecificationUpdated string = "contract_specification_updated"
	// EventTypeContractSpecificationRemoved is the event type generated when a contract specification is removed.
	EventTypeContractSpecificationRemoved string = "contract_specification_removed"

	// EventTypeRecordSpecificationCreated is the event type generated when a new record specification is created.
	EventTypeRecordSpecificationCreated string = "record_specification_created"
	// EventTypeRecordSpecificationUpdated is the event type generated when an existing record specifications is updated.
	EventTypeRecordSpecificationUpdated string = "record_specification_updated"
	// EventTypeRecordSpecificationRemoved is the event type generated when a record specification is removed.
	EventTypeRecordSpecificationRemoved string = "record_specification_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"
	// AttributeKeySessionID is the attribute key for a scope ID attribute JSON value.
	AttributeKeySessionID string = "session_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"
	// AttributeKeyScopeSpecID is the attribute key for a scope spec ID attribute JSON value.
	AttributeKeyScopeSpecID string = "scope_spec_id"
	// AttributeKeyScopeSpec is the attribute key for a scope spec attribute JSON value.
	AttributeKeyScopeSpec string = "scope_spec"
	// AttributeKeyContractSpecID is the attribute key for a contract spec ID attribute JSON value.
	AttributeKeyContractSpecID string = "contract_spec_id"
	// AttributeKeyContractSpec is the attribute key for a contract spec attribute JSON value.
	AttributeKeyContractSpec string = "contract_spec"
	// AttributeKeyRecordSpecID is the attribute key for a record spec ID attribute JSON value.
	AttributeKeyRecordSpecID string = "record_spec_id"
	// AttributeKeyRecordSpec is the attribute key for a record spec attribute JSON value.
	AttributeKeyRecordSpec string = "record_spec"

	// EventTypeOsLocatorCreated is the event type generated when new os locator created.
	EventTypeOsLocatorCreated string = "oslocator_created"
	// KeyAttributeAddress is the key for an address.
	AttributeKeyOSLocatorAddress string = "address"
	AttributeKeyOSLocatorURI     string = "uri"
	// EventTypeOsLocatorDeleted is the event type generated when a os locator deleted.
	EventTypeOsLocatorDeleted  string = "oslocator_deleted"
	EventTypeOsLocatorModified string = "oslocator_modified"

	// 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

	// DefaultParamspace is the name used for the parameter subspace for this module.
	DefaultParamspace = ModuleName
)
View Source
const (
	TypeMsgAddScopeRequest                    = "add_scope_request"
	TypeMsgDeleteScopeRequest                 = "delete_scope_request"
	TypeMsgAddSessionRequest                  = "add_session_request"
	TypeMsgAddRecordRequest                   = "add_record_request"
	TypeMsgDeleteRecordRequest                = "delete_record_request"
	TypeMsgAddScopeSpecificationRequest       = "add_scope_specification_request"
	TypeMsgDeleteScopeSpecificationRequest    = "delete_scope_specification_request"
	TypeMsgAddContractSpecificationRequest    = "add_contract_specification_request"
	TypeMsgDeleteContractSpecificationRequest = "delete_contract_specification_request"
	TypeMsgAddRecordSpecificationRequest      = "add_record_specification_request"
	TypeMsgDeleteRecordSpecificationRequest   = "delete_record_specification_request"
	TypeMsgAddP8EContractSpecRequest          = "add_p8e_contract_spec_request"
	TypeMsgP8eMemorializeContractRequest      = "p8e_memorialize_contract_request"
	TypeMsgBindOSLocatorRequest               = "add_os_locator_request"
	TypeMsgDeleteOSLocatorRequest             = "delete_os_locator_request"
	TypeMsgModifyOSLocatorRequest             = "modify_os_locator_request"
)
View Source
const (
	QueryScope     = "scope"
	QueryOwnership = "ownership"
	QueryParams    = "params"
	QueryScopeSpec = "scopespec"
	// Query OS params
	QueryOSParams     = "os-params"
	QueryOSGet        = "get-os"
	QueryOSGetByURI   = "get-os-by-uri"
	QueryOSGetByScope = "get-os-by-scope"
	QueryOSGetAll     = "get-all-os"
)

query endpoints supported by the auth Querier

View Source
const (
	DefaultMaxURILength = 2048
)

Default parameter namespace

Variables

View Source
var (
	// ErrOSLocatorAlreadyBound occurs when a bindoslocator request is made against an existing owner address
	ErrOSLocatorAlreadyBound = sdkerrors.Register(ModuleName, 2, "owner address is already bound to an uri")
	// ErrInvalidAddress indicates the address given does not match an existing account.
	ErrInvalidAddress      = sdkerrors.Register(ModuleName, 3, "address does not match an existing account")
	ErrAddressNotBound     = sdkerrors.Register(ModuleName, 4, "no locator bound to address")
	ErrOSLocatorURIToolong = sdkerrors.Register(ModuleName, 5, "uri length greater than allowed")
	ErrNoRecordsFound      = sdkerrors.Register(ModuleName, 6, "No records found.")
)

x/metadata module errors

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}
	// SessionKeyPrefix is the key for session records in metadata store
	SessionKeyPrefix = []byte{0x01}
	// RecordKeyPrefix is the key for records within scopes in metadata store
	RecordKeyPrefix = []byte{0x02}
	// ContractSpecificationKeyPrefix is the key for session specification instances in metadata store
	ContractSpecificationKeyPrefix = []byte{0x03}
	// ScopeSpecificationKeyPrefix is the key for scope specifications in metadata store
	ScopeSpecificationKeyPrefix = []byte{0x04}
	// RecordSpecificationKeyPrefix is the key for record specifications in metadata store
	RecordSpecificationKeyPrefix = []byte{0x05}

	// AddressScopeCacheKeyPrefix for scope to address cache lookup
	AddressScopeCacheKeyPrefix = []byte{0x10}
	// ScopeSpecScopeCacheKeyPrefix for scope to scope specification cache lookup
	ScopeSpecScopeCacheKeyPrefix = []byte{0x11}
	// ValueOwnerScopeCacheKeyPrefix for scope to value owner address cache lookup
	ValueOwnerScopeCacheKeyPrefix = []byte{0x12}

	// AddressScopeSpecCacheKeyPrefix for scope spec lookup by address
	AddressScopeSpecCacheKeyPrefix = []byte{0x13}
	// ContractSpecScopeSpecCacheKeyPrefix for scope spec lookup by contract spec
	ContractSpecScopeSpecCacheKeyPrefix = []byte{0x14}
	// AddressContractSpecCacheKeyPrefix for contract spec lookup by address
	AddressContractSpecCacheKeyPrefix = []byte{0x15}

	// OSLocatorAddressKeyPrefix is the key for OSLocator Record by address
	OSLocatorAddressKeyPrefix = []byte{0x16}
)

KVStore Key Prefixes used for iterator/scans against the store and identification of key types Items are stored with the following key: values The "..._key_bytes" parts are 16 bytes generally represented as a uuid The "..._hash" parts are the first 16 bytes of the sha256 checksum These keys are handled using the MetadataAddress class.

- 0x00<scope_key_bytes>: Scope

- 0x01<scope_key_bytes><session_key_bytes>: Session

- 0x02<scope_key_bytes><record_name_hash>: Record

- 0x03<session_specification_key_bytes>: ContractSpecification

- 0x04<scope_specification_key_bytes>: ScopeSpecification

- 0x05<session_specification_key_bytes><record_spec_name_hash>: RecordSpecification

These keys are used for indexing and more specific iteration. These keys are handled using the stuff in this file. The "..._address" parts are all bytes of an Account Address. The "..._id" parts are all bytes of a MetadataAddress

- 0x10<party_address><scope_key_bytes>: 0x01

- 0x11<scope_spec_id><scope_id>: 0x01

- 0x12<value_owner_address><scope_id>: 0x01

- 0x13<owner_address><scope_spec_id>: 0x01

- 0x14<contract_spec_id><scope_spec_id>: 0x01

- 0x15<owner_address><contract_spec_id>: 0x01

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 (
	ErrInvalidLengthObjectstore        = fmt.Errorf("proto: negative length found during unmarshaling")
	ErrIntOverflowObjectstore          = fmt.Errorf("proto: integer overflow")
	ErrUnexpectedEndOfGroupObjectstore = 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_RECORD",
	3: "DEFINITION_TYPE_RECORD_LIST",
}
View Source
var DefinitionType_value = map[string]int32{
	"DEFINITION_TYPE_UNSPECIFIED": 0,
	"DEFINITION_TYPE_PROPOSED":    1,
	"DEFINITION_TYPE_RECORD":      2,
	"DEFINITION_TYPE_RECORD_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 (
	ParamStoreKeyMaxValueLength = []byte("MaxUriLength")
)

Parameter store keys

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,
}

Functions

func ConvertP8eContractSpec added in v0.3.0

func ConvertP8eContractSpec(old *p8e.ContractSpec, owners []string) (
	newSpec ContractSpecification,
	newRecords []RecordSpecification,
	err error,
)

ConvertP8eContractSpec converts a v39 ContractSpec to a v40 ContractSpecification

func GetAddressContractSpecCacheIteratorPrefix added in v0.1.5

func GetAddressContractSpecCacheIteratorPrefix(addr sdk.AccAddress) []byte

GetAddressContractSpecCacheIteratorPrefix returns an iterator prefix for all contract spec cache entries assigned to a given address

func GetAddressContractSpecCacheKey added in v0.1.5

func GetAddressContractSpecCacheKey(addr sdk.AccAddress, contractSpecID MetadataAddress) []byte

GetAddressContractSpecCacheKey returns the store key for an address + contract spec cache entry

func GetAddressScopeCacheIteratorPrefix added in v0.1.5

func GetAddressScopeCacheIteratorPrefix(addr sdk.AccAddress) []byte

GetAddressScopeCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address

func GetAddressScopeCacheKey added in v0.1.5

func GetAddressScopeCacheKey(addr sdk.AccAddress, scopeID MetadataAddress) []byte

GetAddressScopeCacheKey returns the store key for an address cache entry

func GetAddressScopeSpecCacheIteratorPrefix added in v0.1.5

func GetAddressScopeSpecCacheIteratorPrefix(addr sdk.AccAddress) []byte

GetAddressScopeSpecCacheIteratorPrefix returns an iterator prefix for all scope spec cache entries assigned to a given address

func GetAddressScopeSpecCacheKey added in v0.1.5

func GetAddressScopeSpecCacheKey(addr sdk.AccAddress, scopeSpecID MetadataAddress) []byte

GetAddressScopeSpecCacheKey returns the store key for an address + scope spec cache entry

func GetContractSpecScopeSpecCacheIteratorPrefix added in v0.1.5

func GetContractSpecScopeSpecCacheIteratorPrefix(contractSpecID MetadataAddress) []byte

GetContractSpecScopeSpecCacheIteratorPrefix returns an iterator prefix for all scope spec cache entries assigned to a given contract spec

func GetContractSpecScopeSpecCacheKey added in v0.1.5

func GetContractSpecScopeSpecCacheKey(contractSpecID MetadataAddress, scopeSpecID MetadataAddress) []byte

GetContractSpecScopeSpecCacheKey returns the store key for a contract spec + scope spec cache entry

func GetOsLocatorAddressKeyPrefix added in v0.3.0

func GetOsLocatorAddressKeyPrefix(address sdk.AccAddress) (key []byte, err error)

GetAddressKeyPrefix returns a store key for a name record address

func GetScopeSpecScopeCacheIteratorPrefix added in v0.1.5

func GetScopeSpecScopeCacheIteratorPrefix(scopeSpecID MetadataAddress) []byte

GetScopeSpecScopeCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address

func GetScopeSpecScopeCacheKey added in v0.1.5

func GetScopeSpecScopeCacheKey(scopeSpecID MetadataAddress, scopeID MetadataAddress) []byte

GetScopeSpecScopeCacheKey returns the store key for an address cache entry

func GetValueOwnerScopeCacheIteratorPrefix added in v0.1.5

func GetValueOwnerScopeCacheIteratorPrefix(addr sdk.AccAddress) []byte

GetValueOwnerScopeCacheIteratorPrefix returns an iterator prefix for all scope cache entries assigned to a given address

func GetValueOwnerScopeCacheKey added in v0.1.5

func GetValueOwnerScopeCacheKey(addr sdk.AccAddress, scopeID MetadataAddress) []byte

GetValueOwnerScopeCacheKey returns the store key for an address cache entry

func OSParamKeyTable added in v0.3.0

func OSParamKeyTable() paramtypes.KeyTable

ParamKeyTable for metadata module

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 ValidateOSLocatorObj added in v0.3.0

func ValidateOSLocatorObj(ownerAddr string, uri string) error

* Validates OSLocatorObj

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 `` /* 152-byte string literal not displayed */
	// the address of the account that modified this record
	UpdatedBy string `` /* 144-byte string literal not displayed */
	// 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" json:"message,omitempty" yaml:"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) UpdateAudit added in v0.2.1

func (a *AuditFields) UpdateAudit(blocktime time.Time, signers, message string) *AuditFields

UpdateAudit computes a set of changes to the audit fields based on the existing message.

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 ContractSpecification added in v0.1.5

type ContractSpecification struct {
	// unique identifier for this specification on chain
	SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */
	// Description information for this contract specification
	Description *Description `protobuf:"bytes,2,opt,name=description,proto3" json:"description,omitempty"`
	// Address of the account that owns this specificaiton
	OwnerAddresses []string `` /* 126-byte string literal not displayed */
	// a list of party roles that must be fullfilled when signing a transaction for this contract specification
	PartiesInvolved []PartyType `` /* 176-byte string literal not displayed */
	// Reference to a metadata record with a hash and type information for the instance of code that will process this
	// contract
	//
	// Types that are valid to be assigned to Source:
	//	*ContractSpecification_ResourceId
	//	*ContractSpecification_Hash
	Source isContractSpecification_Source `protobuf_oneof:"source"`
	// name of the class/type of this contract executable
	ClassName string `protobuf:"bytes,7,opt,name=class_name,json=className,proto3" json:"class_name,omitempty" yaml:"class_name"`
}

ContractSpecification defines the required parties, resources, conditions, and consideration outputs for a contract

func NewContractSpecification added in v0.1.5

func NewContractSpecification(
	specificationID MetadataAddress,
	description *Description,
	ownerAddresses []string,
	partiesInvolved []PartyType,
	source isContractSpecification_Source,
	className string,
) *ContractSpecification

NewScopeSpecification creates a new ScopeSpecification instance.

func (*ContractSpecification) Descriptor added in v0.1.5

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

func (*ContractSpecification) GetClassName added in v0.1.5

func (m *ContractSpecification) GetClassName() string

func (*ContractSpecification) GetDescription added in v0.1.5

func (m *ContractSpecification) GetDescription() *Description

func (*ContractSpecification) GetHash added in v0.1.5

func (m *ContractSpecification) GetHash() string

func (*ContractSpecification) GetOwnerAddresses added in v0.1.5

func (m *ContractSpecification) GetOwnerAddresses() []string

func (*ContractSpecification) GetPartiesInvolved added in v0.1.5

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

func (*ContractSpecification) GetSource added in v0.1.5

func (m *ContractSpecification) GetSource() isContractSpecification_Source

func (*ContractSpecification) Marshal added in v0.1.5

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

func (*ContractSpecification) MarshalTo added in v0.1.5

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

func (*ContractSpecification) MarshalToSizedBuffer added in v0.1.5

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

func (*ContractSpecification) ProtoMessage added in v0.1.5

func (*ContractSpecification) ProtoMessage()

func (*ContractSpecification) Reset added in v0.1.5

func (m *ContractSpecification) Reset()

func (*ContractSpecification) Size added in v0.1.5

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

func (ContractSpecification) String added in v0.1.5

func (s ContractSpecification) String() string

String implements stringer interface

func (*ContractSpecification) Unmarshal added in v0.1.5

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

func (*ContractSpecification) ValidateBasic added in v0.1.5

func (s *ContractSpecification) ValidateBasic() error

ValidateBasic performs basic format checking of data in a ContractSpecification

func (*ContractSpecification) XXX_DiscardUnknown added in v0.1.5

func (m *ContractSpecification) XXX_DiscardUnknown()

func (*ContractSpecification) XXX_Marshal added in v0.1.5

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

func (*ContractSpecification) XXX_Merge added in v0.1.5

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

func (*ContractSpecification) XXX_OneofWrappers added in v0.1.5

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*ContractSpecification) XXX_Size added in v0.1.5

func (m *ContractSpecification) XXX_Size() int

func (*ContractSpecification) XXX_Unmarshal added in v0.1.5

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

type ContractSpecificationExtendedRequest added in v0.2.0

type ContractSpecificationExtendedRequest struct {
	SpecificationUuid string `` /* 138-byte string literal not displayed */
}

ContractSpecificationExtendedRequest is used for requesting a contract specification with extended data by contract specification uuid

func (*ContractSpecificationExtendedRequest) Descriptor added in v0.2.0

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

func (*ContractSpecificationExtendedRequest) GetSpecificationUuid added in v0.2.0

func (m *ContractSpecificationExtendedRequest) GetSpecificationUuid() string

func (*ContractSpecificationExtendedRequest) Marshal added in v0.2.0

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

func (*ContractSpecificationExtendedRequest) MarshalTo added in v0.2.0

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

func (*ContractSpecificationExtendedRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*ContractSpecificationExtendedRequest) ProtoMessage added in v0.2.0

func (*ContractSpecificationExtendedRequest) ProtoMessage()

func (*ContractSpecificationExtendedRequest) Reset added in v0.2.0

func (*ContractSpecificationExtendedRequest) Size added in v0.2.0

func (*ContractSpecificationExtendedRequest) String added in v0.2.0

func (*ContractSpecificationExtendedRequest) Unmarshal added in v0.2.0

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

func (*ContractSpecificationExtendedRequest) XXX_DiscardUnknown added in v0.2.0

func (m *ContractSpecificationExtendedRequest) XXX_DiscardUnknown()

func (*ContractSpecificationExtendedRequest) XXX_Marshal added in v0.2.0

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

func (*ContractSpecificationExtendedRequest) XXX_Merge added in v0.2.0

func (*ContractSpecificationExtendedRequest) XXX_Size added in v0.2.0

func (*ContractSpecificationExtendedRequest) XXX_Unmarshal added in v0.2.0

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

type ContractSpecificationExtendedResponse added in v0.2.0

type ContractSpecificationExtendedResponse struct {
	ContractSpecification     *ContractSpecification `` /* 154-byte string literal not displayed */
	RecordSpecifications      []*RecordSpecification `` /* 150-byte string literal not displayed */
	ContractSpecificationUuid string                 `` /* 173-byte string literal not displayed */
}

ContractSpecificationExtendedResponse is the response to a contract specification extended request.

func (*ContractSpecificationExtendedResponse) Descriptor added in v0.2.0

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

func (*ContractSpecificationExtendedResponse) GetContractSpecification added in v0.2.0

func (m *ContractSpecificationExtendedResponse) GetContractSpecification() *ContractSpecification

func (*ContractSpecificationExtendedResponse) GetContractSpecificationUuid added in v0.2.1

func (m *ContractSpecificationExtendedResponse) GetContractSpecificationUuid() string

func (*ContractSpecificationExtendedResponse) GetRecordSpecifications added in v0.2.0

func (m *ContractSpecificationExtendedResponse) GetRecordSpecifications() []*RecordSpecification

func (*ContractSpecificationExtendedResponse) Marshal added in v0.2.0

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

func (*ContractSpecificationExtendedResponse) MarshalTo added in v0.2.0

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

func (*ContractSpecificationExtendedResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*ContractSpecificationExtendedResponse) ProtoMessage added in v0.2.0

func (*ContractSpecificationExtendedResponse) ProtoMessage()

func (*ContractSpecificationExtendedResponse) Reset added in v0.2.0

func (*ContractSpecificationExtendedResponse) Size added in v0.2.0

func (*ContractSpecificationExtendedResponse) String added in v0.2.0

func (*ContractSpecificationExtendedResponse) Unmarshal added in v0.2.0

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

func (*ContractSpecificationExtendedResponse) XXX_DiscardUnknown added in v0.2.0

func (m *ContractSpecificationExtendedResponse) XXX_DiscardUnknown()

func (*ContractSpecificationExtendedResponse) XXX_Marshal added in v0.2.0

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

func (*ContractSpecificationExtendedResponse) XXX_Merge added in v0.2.0

func (*ContractSpecificationExtendedResponse) XXX_Size added in v0.2.0

func (*ContractSpecificationExtendedResponse) XXX_Unmarshal added in v0.2.0

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

type ContractSpecificationRequest added in v0.1.5

type ContractSpecificationRequest struct {
	SpecificationUuid string `` /* 138-byte string literal not displayed */
}

ContractSpecificationRequest is used for requesting a contract specification by uuid

func (*ContractSpecificationRequest) Descriptor added in v0.1.5

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

func (*ContractSpecificationRequest) GetSpecificationUuid added in v0.1.5

func (m *ContractSpecificationRequest) GetSpecificationUuid() string

func (*ContractSpecificationRequest) Marshal added in v0.1.5

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

func (*ContractSpecificationRequest) MarshalTo added in v0.1.5

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

func (*ContractSpecificationRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*ContractSpecificationRequest) ProtoMessage added in v0.1.5

func (*ContractSpecificationRequest) ProtoMessage()

func (*ContractSpecificationRequest) Reset added in v0.1.5

func (m *ContractSpecificationRequest) Reset()

func (*ContractSpecificationRequest) Size added in v0.1.5

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

func (*ContractSpecificationRequest) String added in v0.1.5

func (*ContractSpecificationRequest) Unmarshal added in v0.1.5

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

func (*ContractSpecificationRequest) XXX_DiscardUnknown added in v0.1.5

func (m *ContractSpecificationRequest) XXX_DiscardUnknown()

func (*ContractSpecificationRequest) XXX_Marshal added in v0.1.5

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

func (*ContractSpecificationRequest) XXX_Merge added in v0.1.5

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

func (*ContractSpecificationRequest) XXX_Size added in v0.1.5

func (m *ContractSpecificationRequest) XXX_Size() int

func (*ContractSpecificationRequest) XXX_Unmarshal added in v0.1.5

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

type ContractSpecificationResponse added in v0.1.5

type ContractSpecificationResponse struct {
	ContractSpecification     *ContractSpecification `` /* 154-byte string literal not displayed */
	ContractSpecificationUuid string                 `` /* 173-byte string literal not displayed */
}

ContractSpecificationResponse is the response to a contract specification request.

func (*ContractSpecificationResponse) Descriptor added in v0.1.5

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

func (*ContractSpecificationResponse) GetContractSpecification added in v0.1.5

func (m *ContractSpecificationResponse) GetContractSpecification() *ContractSpecification

func (*ContractSpecificationResponse) GetContractSpecificationUuid added in v0.2.1

func (m *ContractSpecificationResponse) GetContractSpecificationUuid() string

func (*ContractSpecificationResponse) Marshal added in v0.1.5

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

func (*ContractSpecificationResponse) MarshalTo added in v0.1.5

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

func (*ContractSpecificationResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*ContractSpecificationResponse) ProtoMessage added in v0.1.5

func (*ContractSpecificationResponse) ProtoMessage()

func (*ContractSpecificationResponse) Reset added in v0.1.5

func (m *ContractSpecificationResponse) Reset()

func (*ContractSpecificationResponse) Size added in v0.1.5

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

func (*ContractSpecificationResponse) String added in v0.1.5

func (*ContractSpecificationResponse) Unmarshal added in v0.1.5

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

func (*ContractSpecificationResponse) XXX_DiscardUnknown added in v0.1.5

func (m *ContractSpecificationResponse) XXX_DiscardUnknown()

func (*ContractSpecificationResponse) XXX_Marshal added in v0.1.5

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

func (*ContractSpecificationResponse) XXX_Merge added in v0.1.5

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

func (*ContractSpecificationResponse) XXX_Size added in v0.1.5

func (m *ContractSpecificationResponse) XXX_Size() int

func (*ContractSpecificationResponse) XXX_Unmarshal added in v0.1.5

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

type ContractSpecification_Hash added in v0.1.5

type ContractSpecification_Hash struct {
	Hash string `protobuf:"bytes,6,opt,name=hash,proto3,oneof" json:"hash,omitempty"`
}

func NewContractSpecificationSourceHash added in v0.2.0

func NewContractSpecificationSourceHash(hash string) *ContractSpecification_Hash

NewContractSpecificationSourceHash creates a new source (for a ContractSpecification) with a hash

func (*ContractSpecification_Hash) MarshalTo added in v0.1.5

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

func (*ContractSpecification_Hash) MarshalToSizedBuffer added in v0.1.5

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

func (*ContractSpecification_Hash) Size added in v0.1.5

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

type ContractSpecification_ResourceId added in v0.1.5

type ContractSpecification_ResourceId struct {
	ResourceId MetadataAddress `` /* 143-byte string literal not displayed */
}

func NewContractSpecificationSourceResourceID added in v0.2.0

func NewContractSpecificationSourceResourceID(resourceID MetadataAddress) *ContractSpecification_ResourceId

NewContractSpecificationSourceResourceID creates a new source (for a ContractSpecification) with a resource id

func (*ContractSpecification_ResourceId) MarshalTo added in v0.1.5

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

func (*ContractSpecification_ResourceId) MarshalToSizedBuffer added in v0.1.5

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

func (*ContractSpecification_ResourceId) Size added in v0.1.5

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

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_RECORD indicates the value must be a reference to a record on chain
	DefinitionType_DEFINITION_TYPE_RECORD DefinitionType = 2
	// DEFINITION_TYPE_RECORD_LIST indicates the value maybe a reference to a collection of values on chain having
	// the same name
	DefinitionType_DEFINITION_TYPE_RECORD_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 NewDescription added in v0.1.5

func NewDescription(name, description, websiteURL, iconURL string) *Description

NewDescription creates a new Description instance.

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 (d Description) String() string

String implements stringer interface

func (*Description) Unmarshal

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

func (*Description) ValidateBasic added in v0.1.5

func (d *Description) ValidateBasic(path string) error

ValidateBasic performs basic format checking of data in an Description. The path parameter is used to provide extra context to any error messages. e.g. If the name field is invalid in this description, and the path provided is "ScopeSpecification.Description", the error message will contain "ScopeSpecification.Description.Name" and the problem. Provide "" if there is no context you wish to provide.

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 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"`
	Sessions               []Session               `protobuf:"bytes,3,rep,name=sessions,proto3" json:"sessions"`
	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"`
	ContractSpecifications []ContractSpecification `protobuf:"bytes,6,rep,name=contract_specifications,json=contractSpecifications,proto3" json:"contract_specifications"`
	RecordSpecifications   []RecordSpecification   `protobuf:"bytes,7,rep,name=record_specifications,json=recordSpecifications,proto3" json:"record_specifications"`
	OSLocatorParams        OSLocatorParams         `protobuf:"bytes,8,opt,name=o_s_locator_params,json=oSLocatorParams,proto3" json:"o_s_locator_params"`
	ObjectStoreLocators    []ObjectStoreLocator    `protobuf:"bytes,9,rep,name=object_store_locators,json=objectStoreLocators,proto3" json:"object_store_locators"`
}

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,
	oslocatorparams OSLocatorParams,
	scopes []Scope,
	sessions []Session,
	records []Record,
	scopeSpecs []ScopeSpecification,
	contracSpecs []ContractSpecification,
	recordSpecs []RecordSpecification,
	objectStoreLocators []ObjectStoreLocator,
) *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 InputSpecification added in v0.1.5

type InputSpecification struct {
	// name for this input
	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
	// a type_name (typically a proto name or class_name)
	TypeName string `protobuf:"bytes,2,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty" yaml:"type_name"`
	// source is either on chain (record_id) or off-chain (hash)
	//
	// Types that are valid to be assigned to Source:
	//	*InputSpecification_RecordId
	//	*InputSpecification_Hash
	Source isInputSpecification_Source `protobuf_oneof:"source"`
}

InputSpecification defines a name, type_name, and source reference (either on or off chain) to define an input parameter

func NewInputSpecification added in v0.2.0

func NewInputSpecification(
	name string,
	typeName string,
	source isInputSpecification_Source,
) *InputSpecification

NewInputSpecification creates a new InputSpecification instance

func (*InputSpecification) Descriptor added in v0.1.5

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

func (*InputSpecification) GetHash added in v0.1.5

func (m *InputSpecification) GetHash() string

func (*InputSpecification) GetName added in v0.1.5

func (m *InputSpecification) GetName() string

func (*InputSpecification) GetSource added in v0.1.5

func (m *InputSpecification) GetSource() isInputSpecification_Source

func (*InputSpecification) GetTypeName added in v0.1.5

func (m *InputSpecification) GetTypeName() string

func (*InputSpecification) Marshal added in v0.1.5

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

func (*InputSpecification) MarshalTo added in v0.1.5

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

func (*InputSpecification) MarshalToSizedBuffer added in v0.1.5

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

func (*InputSpecification) ProtoMessage added in v0.1.5

func (*InputSpecification) ProtoMessage()

func (*InputSpecification) Reset added in v0.1.5

func (m *InputSpecification) Reset()

func (*InputSpecification) Size added in v0.1.5

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

func (InputSpecification) String added in v0.1.5

func (s InputSpecification) String() string

String implements stringer interface

func (*InputSpecification) Unmarshal added in v0.1.5

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

func (*InputSpecification) ValidateBasic added in v0.2.0

func (s *InputSpecification) ValidateBasic() error

ValidateBasic performs basic format checking of data in a InputSpecification

func (*InputSpecification) XXX_DiscardUnknown added in v0.1.5

func (m *InputSpecification) XXX_DiscardUnknown()

func (*InputSpecification) XXX_Marshal added in v0.1.5

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

func (*InputSpecification) XXX_Merge added in v0.1.5

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

func (*InputSpecification) XXX_OneofWrappers added in v0.1.5

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

XXX_OneofWrappers is for the internal use of the proto package.

func (*InputSpecification) XXX_Size added in v0.1.5

func (m *InputSpecification) XXX_Size() int

func (*InputSpecification) XXX_Unmarshal added in v0.1.5

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

type InputSpecification_Hash added in v0.1.5

type InputSpecification_Hash struct {
	Hash string `protobuf:"bytes,4,opt,name=hash,proto3,oneof" json:"hash,omitempty"`
}

func NewInputSpecificationSourceHash added in v0.2.0

func NewInputSpecificationSourceHash(hash string) *InputSpecification_Hash

NewContractSpecificationSourceHash creates a new source (for a InputSpecification) with a hash

func (*InputSpecification_Hash) MarshalTo added in v0.1.5

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

func (*InputSpecification_Hash) MarshalToSizedBuffer added in v0.1.5

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

func (*InputSpecification_Hash) Size added in v0.1.5

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

type InputSpecification_RecordId added in v0.1.5

type InputSpecification_RecordId struct {
	RecordId MetadataAddress `` /* 135-byte string literal not displayed */
}

func NewInputSpecificationSourceRecordID added in v0.2.0

func NewInputSpecificationSourceRecordID(recordID MetadataAddress) *InputSpecification_RecordId

NewInputSpecificationSourceRecordID creates a new source (for an InputSpecification) with a resource id

func (*InputSpecification_RecordId) MarshalTo added in v0.1.5

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

func (*InputSpecification_RecordId) MarshalToSizedBuffer added in v0.1.5

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

func (*InputSpecification_RecordId) Size added in v0.1.5

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

type MetadataAddress

type MetadataAddress []byte

MetadataAddress is a blockchain compliant address based on UUIDs

func ContractSpecMetadataAddress added in v0.1.5

func ContractSpecMetadataAddress(specUUID uuid.UUID) MetadataAddress

ContractSpecMetadataAddress creates a MetadataAddress instance for a contract specification

func ConvertHashToAddress

func ConvertHashToAddress(typeCode []byte, hash string) (MetadataAddress, error)

ConvertHashToAddress constructs a MetadataAddress using the provided type code and the raw bytes of the base64 decoded hash, limited appropriately by the desired typeCode. The resulting Address is not guaranteed to contain valid UUIDS or name hashes.

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 RecordSpecMetadataAddress added in v0.1.5

func RecordSpecMetadataAddress(contractSpecUUID uuid.UUID, name string) MetadataAddress

RecordSpecMetadataAddress creates a MetadataAddress instance for a record specification

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 SessionMetadataAddress added in v0.2.0

func SessionMetadataAddress(scopeUUID uuid.UUID, sessionUUID uuid.UUID) MetadataAddress

SessionMetadataAddress creates a MetadataAddress instance for a session within a scope by uuids

func (MetadataAddress) AsContractSpecAddress added in v0.2.1

func (ma MetadataAddress) AsContractSpecAddress() (MetadataAddress, error)

AsContractSpecAddress returns the MetadataAddress for a contract spec using the contract spec UUID within the current context

func (MetadataAddress) AsRecordAddress added in v0.2.1

func (ma MetadataAddress) AsRecordAddress(name string) (MetadataAddress, error)

AsRecordAddress returns the MetadataAddress for a record using the scope UUID within the current context and the provided name

func (MetadataAddress) AsRecordSpecAddress added in v0.2.1

func (ma MetadataAddress) AsRecordSpecAddress(name string) (MetadataAddress, error)

AsRecordSpecAddress returns the MetadataAddress for a record spec using the contract spec UUID within the current context and the provided name

func (MetadataAddress) AsScopeAddress added in v0.2.1

func (ma MetadataAddress) AsScopeAddress() (MetadataAddress, error)

AsScopeAddress returns the MetadataAddress for a scope using the scope UUID within the current context

func (MetadataAddress) AsSessionAddress added in v0.3.0

func (ma MetadataAddress) AsSessionAddress(sessionUUID uuid.UUID) (MetadataAddress, error)

AsSessionAddress returns the MetadataAddress for a session using the scope UUID within the current context and the provided session UUID.

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) ContractSpecRecordSpecIteratorPrefix added in v0.1.5

func (ma MetadataAddress) ContractSpecRecordSpecIteratorPrefix() ([]byte, error)

ContractSpecRecordSpecIteratorPrefix returns an iterator prefix that finds all record specifications for the contract specification designated in this MetadataAddress. If the current address is empty this returns a prefix to iterate through all record specifications If the current address is a contract specification, this returns a prefix to iterate through all record specifications associated with that contract specification. If the current address is a record specification, this returns a prefix to iterate through all record specifications associated with the contract specification that contains this record specification. If the current address is some other type, an error is returned.

func (MetadataAddress) ContractSpecUUID added in v0.1.5

func (ma MetadataAddress) ContractSpecUUID() (uuid.UUID, error)

ContractSpecUUID returns the contract specification uuid component of a MetadataAddress (if appropriate)

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) IsContractSpecificationAddress added in v0.1.5

func (ma MetadataAddress) IsContractSpecificationAddress() bool

IsContractSpecificationAddress returns true if this address is valid and has a contract specification type byte.

func (MetadataAddress) IsRecordAddress

func (ma MetadataAddress) IsRecordAddress() bool

IsRecordAddress returns true if the address is valid and has a record type byte.

func (MetadataAddress) IsRecordSpecificationAddress added in v0.1.5

func (ma MetadataAddress) IsRecordSpecificationAddress() bool

IsRecordSpecificationAddress returns true if this address is valid and has a record specification type byte.

func (MetadataAddress) IsScopeAddress

func (ma MetadataAddress) IsScopeAddress() bool

IsScopeAddress returns true if this address is valid and has a scope type byte.

func (MetadataAddress) IsScopeSpecificationAddress

func (ma MetadataAddress) IsScopeSpecificationAddress() bool

IsScopeSpecificationAddress returns true if this address is valid and has a scope specification type byte.

func (MetadataAddress) IsSessionAddress added in v0.2.0

func (ma MetadataAddress) IsSessionAddress() bool

IsSessionAddress returns true if this address is valid and has a session type byte.

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) NameHash added in v0.1.5

func (ma MetadataAddress) NameHash() ([]byte, error)

NameHash returns the hashed name bytes from this MetadataAddress (if applicable). More accurately, this returns a copy of bytes 18 through 33 (inclusive).

func (MetadataAddress) Prefix added in v0.2.1

func (ma MetadataAddress) Prefix() (string, error)

Prefix returns the human readable part (prefix) of this MetadataAddress, e.g. "scope" or "contractspec" More accurately, this converts the 1st byte into its human readable string value.

func (MetadataAddress) PrimaryUUID added in v0.1.5

func (ma MetadataAddress) PrimaryUUID() (uuid.UUID, error)

PrimaryUUID returns the primary UUID from this MetadataAddress (if applicable). More accurately, this converts bytes 2 to 17 to a UUID. For example, if this MetadataAddress is for a scope specification, this will return the scope specification uuid. But if this MetadataAddress is for a record specification, this will return the contract specification (since that's the first part of those metadata addresses).

func (MetadataAddress) ScopeRecordIteratorPrefix

func (ma MetadataAddress) ScopeRecordIteratorPrefix() ([]byte, error)

ScopeRecordIteratorPrefix returns an iterator prefix that finds all Records assigned to the scope designated in this MetadataAddress. If the current address is empty this returns a prefix to iterate through all records. If the current address is a scope, this returns a prefix to iterate through all records in this scope. If the current address is a session or record, this returns a prefix to iterate through all records in the scope that contains this session or record.

func (MetadataAddress) ScopeSessionIteratorPrefix added in v0.2.0

func (ma MetadataAddress) ScopeSessionIteratorPrefix() ([]byte, error)

ScopeSessionIteratorPrefix returns an iterator prefix that finds all Sessions assigned to the scope designated in this MetadataAddress. If the current address is empty this returns a prefix to iterate through all sessions. If the current address is a scope, this returns a prefix to iterate through all sessions in this scope. If the current address is a session or record, this returns a prefix to iterate through all sessions in the scope that contains this session or record.

func (MetadataAddress) ScopeSpecUUID added in v0.2.1

func (ma MetadataAddress) ScopeSpecUUID() (uuid.UUID, error)

ScopeSpecUUID returns the scope specification uuid component of a MetadataAddress (if appropriate)

func (MetadataAddress) ScopeUUID

func (ma MetadataAddress) ScopeUUID() (uuid.UUID, error)

ScopeUUID returns the scope uuid component of a MetadataAddress (if appropriate)

func (MetadataAddress) SecondaryUUID added in v0.1.5

func (ma MetadataAddress) SecondaryUUID() (uuid.UUID, error)

SecondaryUUID returns the secondary UUID from this MetadataAddress (if applicable). More accurately, this converts bytes 18 to 33 (inclusive) to a UUID.

func (MetadataAddress) SessionUUID added in v0.2.0

func (ma MetadataAddress) SessionUUID() (uuid.UUID, error)

SessionUUID returns the session 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 MsgAddContractSpecificationRequest added in v0.1.5

type MsgAddContractSpecificationRequest struct {
	Specification ContractSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification"`
	Signers       []string              `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddContractSpecificationRequest is a request to add a contract specification

func NewMsgAddContractSpecificationRequest added in v0.1.5

func NewMsgAddContractSpecificationRequest() *MsgAddContractSpecificationRequest

NewMsgAddContractSpecificationRequest creates a new msg instance

func (*MsgAddContractSpecificationRequest) Descriptor added in v0.1.5

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

func (MsgAddContractSpecificationRequest) GetSignBytes added in v0.1.5

func (msg MsgAddContractSpecificationRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgAddContractSpecificationRequest) GetSigners added in v0.1.5

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgAddContractSpecificationRequest) Marshal added in v0.1.5

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

func (*MsgAddContractSpecificationRequest) MarshalTo added in v0.1.5

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

func (*MsgAddContractSpecificationRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgAddContractSpecificationRequest) ProtoMessage added in v0.1.5

func (*MsgAddContractSpecificationRequest) ProtoMessage()

func (*MsgAddContractSpecificationRequest) Reset added in v0.1.5

func (MsgAddContractSpecificationRequest) Route added in v0.1.5

Route returns the module route

func (*MsgAddContractSpecificationRequest) Size added in v0.1.5

func (MsgAddContractSpecificationRequest) String added in v0.1.5

func (MsgAddContractSpecificationRequest) Type added in v0.1.5

Type returns the type name for this msg

func (*MsgAddContractSpecificationRequest) Unmarshal added in v0.1.5

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

func (MsgAddContractSpecificationRequest) ValidateBasic added in v0.1.5

func (msg MsgAddContractSpecificationRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgAddContractSpecificationRequest) XXX_DiscardUnknown added in v0.1.5

func (m *MsgAddContractSpecificationRequest) XXX_DiscardUnknown()

func (*MsgAddContractSpecificationRequest) XXX_Marshal added in v0.1.5

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

func (*MsgAddContractSpecificationRequest) XXX_Merge added in v0.1.5

func (*MsgAddContractSpecificationRequest) XXX_Size added in v0.1.5

func (*MsgAddContractSpecificationRequest) XXX_Unmarshal added in v0.1.5

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

type MsgAddContractSpecificationResponse added in v0.1.5

type MsgAddContractSpecificationResponse struct {
}

AddContractSpecificationResponse from an add contract specification request

func (*MsgAddContractSpecificationResponse) Descriptor added in v0.1.5

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

func (*MsgAddContractSpecificationResponse) Marshal added in v0.1.5

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

func (*MsgAddContractSpecificationResponse) MarshalTo added in v0.1.5

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

func (*MsgAddContractSpecificationResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgAddContractSpecificationResponse) ProtoMessage added in v0.1.5

func (*MsgAddContractSpecificationResponse) ProtoMessage()

func (*MsgAddContractSpecificationResponse) Reset added in v0.1.5

func (*MsgAddContractSpecificationResponse) Size added in v0.1.5

func (*MsgAddContractSpecificationResponse) String added in v0.1.5

func (*MsgAddContractSpecificationResponse) Unmarshal added in v0.1.5

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

func (*MsgAddContractSpecificationResponse) XXX_DiscardUnknown added in v0.1.5

func (m *MsgAddContractSpecificationResponse) XXX_DiscardUnknown()

func (*MsgAddContractSpecificationResponse) XXX_Marshal added in v0.1.5

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

func (*MsgAddContractSpecificationResponse) XXX_Merge added in v0.1.5

func (*MsgAddContractSpecificationResponse) XXX_Size added in v0.1.5

func (*MsgAddContractSpecificationResponse) XXX_Unmarshal added in v0.1.5

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

type MsgAddP8EContractSpecRequest added in v0.3.0

type MsgAddP8EContractSpecRequest struct {
	// ContractSpec v39 p8e ContractSpect to be converted into a v40
	Contractspec p8e.ContractSpec `protobuf:"bytes,1,opt,name=contractspec,proto3" json:"contractspec"`
	Signers      []string         `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddP8eContractSpecRequest records the result of a change ownership p8e contract execution

func NewMsgAddP8EContractSpecRequest added in v0.3.0

func NewMsgAddP8EContractSpecRequest(contractSpec p8e.ContractSpec, signers []string) *MsgAddP8EContractSpecRequest

NewMsgAddContractSpecRequest creates a new msg instance

func (*MsgAddP8EContractSpecRequest) Descriptor added in v0.3.0

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

func (MsgAddP8EContractSpecRequest) GetSignBytes added in v0.3.0

func (msg MsgAddP8EContractSpecRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgAddP8EContractSpecRequest) GetSigners added in v0.3.0

func (msg MsgAddP8EContractSpecRequest) GetSigners() []sdk.AccAddress

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgAddP8EContractSpecRequest) Marshal added in v0.3.0

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

func (*MsgAddP8EContractSpecRequest) MarshalTo added in v0.3.0

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

func (*MsgAddP8EContractSpecRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgAddP8EContractSpecRequest) ProtoMessage added in v0.3.0

func (*MsgAddP8EContractSpecRequest) ProtoMessage()

func (*MsgAddP8EContractSpecRequest) Reset added in v0.3.0

func (m *MsgAddP8EContractSpecRequest) Reset()

func (MsgAddP8EContractSpecRequest) Route added in v0.3.0

Route returns the module route

func (*MsgAddP8EContractSpecRequest) Size added in v0.3.0

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

func (MsgAddP8EContractSpecRequest) String added in v0.3.0

func (msg MsgAddP8EContractSpecRequest) String() string

func (MsgAddP8EContractSpecRequest) Type added in v0.3.0

Type returns the type name for this msg

func (*MsgAddP8EContractSpecRequest) Unmarshal added in v0.3.0

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

func (MsgAddP8EContractSpecRequest) ValidateBasic added in v0.3.0

func (msg MsgAddP8EContractSpecRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgAddP8EContractSpecRequest) XXX_DiscardUnknown added in v0.3.0

func (m *MsgAddP8EContractSpecRequest) XXX_DiscardUnknown()

func (*MsgAddP8EContractSpecRequest) XXX_Marshal added in v0.3.0

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

func (*MsgAddP8EContractSpecRequest) XXX_Merge added in v0.3.0

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

func (*MsgAddP8EContractSpecRequest) XXX_Size added in v0.3.0

func (m *MsgAddP8EContractSpecRequest) XXX_Size() int

func (*MsgAddP8EContractSpecRequest) XXX_Unmarshal added in v0.3.0

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

type MsgAddP8EContractSpecResponse added in v0.3.0

type MsgAddP8EContractSpecResponse struct {
}

MsgAddP8eContractSpecResponse returns a successful response

func (*MsgAddP8EContractSpecResponse) Descriptor added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) Marshal added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) MarshalTo added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) ProtoMessage added in v0.3.0

func (*MsgAddP8EContractSpecResponse) ProtoMessage()

func (*MsgAddP8EContractSpecResponse) Reset added in v0.3.0

func (m *MsgAddP8EContractSpecResponse) Reset()

func (*MsgAddP8EContractSpecResponse) Size added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) String added in v0.3.0

func (*MsgAddP8EContractSpecResponse) Unmarshal added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgAddP8EContractSpecResponse) XXX_DiscardUnknown()

func (*MsgAddP8EContractSpecResponse) XXX_Marshal added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) XXX_Merge added in v0.3.0

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

func (*MsgAddP8EContractSpecResponse) XXX_Size added in v0.3.0

func (m *MsgAddP8EContractSpecResponse) XXX_Size() int

func (*MsgAddP8EContractSpecResponse) XXX_Unmarshal added in v0.3.0

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

type MsgAddRecordRequest

type MsgAddRecordRequest struct {
	SessionId MetadataAddress `protobuf:"bytes,1,opt,name=session_id,json=sessionId,proto3,customtype=MetadataAddress" json:"session_id" yaml:"session_id"`
	Record    *Record         `protobuf:"bytes,2,opt,name=record,proto3" json:"record,omitempty"`
	Signers   []string        `protobuf:"bytes,3,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddRecordRequest is a request to add a session 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 MsgAddRecordSpecificationRequest added in v0.2.0

type MsgAddRecordSpecificationRequest struct {
	Specification RecordSpecification `protobuf:"bytes,1,opt,name=specification,proto3" json:"specification"`
	Signers       []string            `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddRecordSpecificationRequest is a request to add a record specification

func NewMsgAddRecordSpecificationRequest added in v0.2.0

func NewMsgAddRecordSpecificationRequest() *MsgAddRecordSpecificationRequest

NewMsgAddRecordSpecificationRequest creates a new msg instance

func (*MsgAddRecordSpecificationRequest) Descriptor added in v0.2.0

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

func (MsgAddRecordSpecificationRequest) GetSignBytes added in v0.2.0

func (msg MsgAddRecordSpecificationRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgAddRecordSpecificationRequest) GetSigners added in v0.2.0

func (msg MsgAddRecordSpecificationRequest) GetSigners() []sdk.AccAddress

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgAddRecordSpecificationRequest) Marshal added in v0.2.0

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

func (*MsgAddRecordSpecificationRequest) MarshalTo added in v0.2.0

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

func (*MsgAddRecordSpecificationRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgAddRecordSpecificationRequest) ProtoMessage added in v0.2.0

func (*MsgAddRecordSpecificationRequest) ProtoMessage()

func (*MsgAddRecordSpecificationRequest) Reset added in v0.2.0

func (MsgAddRecordSpecificationRequest) Route added in v0.2.0

Route returns the module route

func (*MsgAddRecordSpecificationRequest) Size added in v0.2.0

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

func (MsgAddRecordSpecificationRequest) String added in v0.2.0

func (MsgAddRecordSpecificationRequest) Type added in v0.2.0

Type returns the type name for this msg

func (*MsgAddRecordSpecificationRequest) Unmarshal added in v0.2.0

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

func (MsgAddRecordSpecificationRequest) ValidateBasic added in v0.2.0

func (msg MsgAddRecordSpecificationRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgAddRecordSpecificationRequest) XXX_DiscardUnknown added in v0.2.0

func (m *MsgAddRecordSpecificationRequest) XXX_DiscardUnknown()

func (*MsgAddRecordSpecificationRequest) XXX_Marshal added in v0.2.0

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

func (*MsgAddRecordSpecificationRequest) XXX_Merge added in v0.2.0

func (*MsgAddRecordSpecificationRequest) XXX_Size added in v0.2.0

func (m *MsgAddRecordSpecificationRequest) XXX_Size() int

func (*MsgAddRecordSpecificationRequest) XXX_Unmarshal added in v0.2.0

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

type MsgAddRecordSpecificationResponse added in v0.2.0

type MsgAddRecordSpecificationResponse struct {
}

MsgAddRecordSpecificationResponse from an add record specification request

func (*MsgAddRecordSpecificationResponse) Descriptor added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) Marshal added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) MarshalTo added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) ProtoMessage added in v0.2.0

func (*MsgAddRecordSpecificationResponse) ProtoMessage()

func (*MsgAddRecordSpecificationResponse) Reset added in v0.2.0

func (*MsgAddRecordSpecificationResponse) Size added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) String added in v0.2.0

func (*MsgAddRecordSpecificationResponse) Unmarshal added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgAddRecordSpecificationResponse) XXX_DiscardUnknown()

func (*MsgAddRecordSpecificationResponse) XXX_Marshal added in v0.2.0

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

func (*MsgAddRecordSpecificationResponse) XXX_Merge added in v0.2.0

func (*MsgAddRecordSpecificationResponse) XXX_Size added in v0.2.0

func (m *MsgAddRecordSpecificationResponse) XXX_Size() int

func (*MsgAddRecordSpecificationResponse) XXX_Unmarshal added in v0.2.0

func (m *MsgAddRecordSpecificationResponse) 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"`
	Signers       []string           `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddScopeSpecificationRequest is a request to add a scope specification

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 scope specification 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 MsgAddSessionRequest added in v0.2.0

type MsgAddSessionRequest struct {
	Session *Session `protobuf:"bytes,1,opt,name=session,proto3" json:"session,omitempty"`
	Signers []string `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgAddSessionRequest adds a new session

func NewMsgAddSessionRequest added in v0.2.0

func NewMsgAddSessionRequest() *MsgAddSessionRequest

NewMsgAddSessionRequest creates a new msg instance

func (*MsgAddSessionRequest) Descriptor added in v0.2.0

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

func (MsgAddSessionRequest) GetSignBytes added in v0.2.0

func (msg MsgAddSessionRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgAddSessionRequest) GetSigners added in v0.2.0

func (msg MsgAddSessionRequest) GetSigners() []sdk.AccAddress

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgAddSessionRequest) Marshal added in v0.2.0

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

func (*MsgAddSessionRequest) MarshalTo added in v0.2.0

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

func (*MsgAddSessionRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgAddSessionRequest) ProtoMessage added in v0.2.0

func (*MsgAddSessionRequest) ProtoMessage()

func (*MsgAddSessionRequest) Reset added in v0.2.0

func (m *MsgAddSessionRequest) Reset()

func (MsgAddSessionRequest) Route added in v0.2.0

func (msg MsgAddSessionRequest) Route() string

Route returns the module route

func (*MsgAddSessionRequest) Size added in v0.2.0

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

func (MsgAddSessionRequest) String added in v0.2.0

func (msg MsgAddSessionRequest) String() string

func (MsgAddSessionRequest) Type added in v0.2.0

func (msg MsgAddSessionRequest) Type() string

Type returns the type name for this msg

func (*MsgAddSessionRequest) Unmarshal added in v0.2.0

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

func (MsgAddSessionRequest) ValidateBasic added in v0.2.0

func (msg MsgAddSessionRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgAddSessionRequest) XXX_DiscardUnknown added in v0.2.0

func (m *MsgAddSessionRequest) XXX_DiscardUnknown()

func (*MsgAddSessionRequest) XXX_Marshal added in v0.2.0

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

func (*MsgAddSessionRequest) XXX_Merge added in v0.2.0

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

func (*MsgAddSessionRequest) XXX_Size added in v0.2.0

func (m *MsgAddSessionRequest) XXX_Size() int

func (*MsgAddSessionRequest) XXX_Unmarshal added in v0.2.0

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

type MsgAddSessionResponse added in v0.2.0

type MsgAddSessionResponse struct {
}

MsgAddSessionResponse from an add session request

func (*MsgAddSessionResponse) Descriptor added in v0.2.0

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

func (*MsgAddSessionResponse) Marshal added in v0.2.0

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

func (*MsgAddSessionResponse) MarshalTo added in v0.2.0

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

func (*MsgAddSessionResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgAddSessionResponse) ProtoMessage added in v0.2.0

func (*MsgAddSessionResponse) ProtoMessage()

func (*MsgAddSessionResponse) Reset added in v0.2.0

func (m *MsgAddSessionResponse) Reset()

func (*MsgAddSessionResponse) Size added in v0.2.0

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

func (*MsgAddSessionResponse) String added in v0.2.0

func (m *MsgAddSessionResponse) String() string

func (*MsgAddSessionResponse) Unmarshal added in v0.2.0

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

func (*MsgAddSessionResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgAddSessionResponse) XXX_DiscardUnknown()

func (*MsgAddSessionResponse) XXX_Marshal added in v0.2.0

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

func (*MsgAddSessionResponse) XXX_Merge added in v0.2.0

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

func (*MsgAddSessionResponse) XXX_Size added in v0.2.0

func (m *MsgAddSessionResponse) XXX_Size() int

func (*MsgAddSessionResponse) XXX_Unmarshal added in v0.2.0

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

type MsgBindOSLocatorRequest added in v0.3.0

type MsgBindOSLocatorRequest struct {
	// The object locator to bind the address to bind to the URI.
	Locator ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator"`
}

MsgBindOSLocatorRequest defines an sdk.Msg type that is used to add an address of an owner to a particular uri.

func NewMsgBindOSLocatorRequest added in v0.3.0

func NewMsgBindOSLocatorRequest(obj ObjectStoreLocator) *MsgBindOSLocatorRequest

NewMsgBindOSLocatorRequest creates a new msg instance

func (*MsgBindOSLocatorRequest) Descriptor added in v0.3.0

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

func (MsgBindOSLocatorRequest) GetSignBytes added in v0.3.0

func (msg MsgBindOSLocatorRequest) GetSignBytes() []byte

func (MsgBindOSLocatorRequest) GetSigners added in v0.3.0

func (msg MsgBindOSLocatorRequest) GetSigners() []sdk.AccAddress

func (*MsgBindOSLocatorRequest) Marshal added in v0.3.0

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

func (*MsgBindOSLocatorRequest) MarshalTo added in v0.3.0

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

func (*MsgBindOSLocatorRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgBindOSLocatorRequest) ProtoMessage added in v0.3.0

func (*MsgBindOSLocatorRequest) ProtoMessage()

func (*MsgBindOSLocatorRequest) Reset added in v0.3.0

func (m *MsgBindOSLocatorRequest) Reset()

func (MsgBindOSLocatorRequest) Route added in v0.3.0

func (msg MsgBindOSLocatorRequest) Route() string

func (*MsgBindOSLocatorRequest) Size added in v0.3.0

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

func (*MsgBindOSLocatorRequest) String added in v0.3.0

func (m *MsgBindOSLocatorRequest) String() string

func (MsgBindOSLocatorRequest) Type added in v0.3.0

func (msg MsgBindOSLocatorRequest) Type() string

func (*MsgBindOSLocatorRequest) Unmarshal added in v0.3.0

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

func (MsgBindOSLocatorRequest) ValidateBasic added in v0.3.0

func (msg MsgBindOSLocatorRequest) ValidateBasic() error

func (*MsgBindOSLocatorRequest) XXX_DiscardUnknown added in v0.3.0

func (m *MsgBindOSLocatorRequest) XXX_DiscardUnknown()

func (*MsgBindOSLocatorRequest) XXX_Marshal added in v0.3.0

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

func (*MsgBindOSLocatorRequest) XXX_Merge added in v0.3.0

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

func (*MsgBindOSLocatorRequest) XXX_Size added in v0.3.0

func (m *MsgBindOSLocatorRequest) XXX_Size() int

func (*MsgBindOSLocatorRequest) XXX_Unmarshal added in v0.3.0

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

type MsgBindOSLocatorResponse added in v0.3.0

type MsgBindOSLocatorResponse struct {
	Locator ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator"`
}

MsgBindOSLocatorResponse defines the Msg/BindObjectLocator response type.

func (*MsgBindOSLocatorResponse) Descriptor added in v0.3.0

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

func (*MsgBindOSLocatorResponse) GetLocator added in v0.3.0

func (*MsgBindOSLocatorResponse) Marshal added in v0.3.0

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

func (*MsgBindOSLocatorResponse) MarshalTo added in v0.3.0

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

func (*MsgBindOSLocatorResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgBindOSLocatorResponse) ProtoMessage added in v0.3.0

func (*MsgBindOSLocatorResponse) ProtoMessage()

func (*MsgBindOSLocatorResponse) Reset added in v0.3.0

func (m *MsgBindOSLocatorResponse) Reset()

func (*MsgBindOSLocatorResponse) Size added in v0.3.0

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

func (*MsgBindOSLocatorResponse) String added in v0.3.0

func (m *MsgBindOSLocatorResponse) String() string

func (*MsgBindOSLocatorResponse) Unmarshal added in v0.3.0

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

func (*MsgBindOSLocatorResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgBindOSLocatorResponse) XXX_DiscardUnknown()

func (*MsgBindOSLocatorResponse) XXX_Marshal added in v0.3.0

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

func (*MsgBindOSLocatorResponse) XXX_Merge added in v0.3.0

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

func (*MsgBindOSLocatorResponse) XXX_Size added in v0.3.0

func (m *MsgBindOSLocatorResponse) XXX_Size() int

func (*MsgBindOSLocatorResponse) XXX_Unmarshal added in v0.3.0

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

type MsgClient

type MsgClient interface {
	// AddScope adds a new scope
	AddScope(ctx context.Context, in *MsgAddScopeRequest, opts ...grpc.CallOption) (*MsgAddScopeResponse, error)
	// DeleteScope deletes a scope and all associated Records, Sessions
	DeleteScope(ctx context.Context, in *MsgDeleteScopeRequest, opts ...grpc.CallOption) (*MsgDeleteScopeResponse, error)
	// AddSession adds a new session context to a scope
	AddSession(ctx context.Context, in *MsgAddSessionRequest, opts ...grpc.CallOption) (*MsgAddSessionResponse, error)
	// AddRecord adds a set of records in a session within a scope
	AddRecord(ctx context.Context, in *MsgAddRecordRequest, opts ...grpc.CallOption) (*MsgAddRecordResponse, error)
	// DeleteRecord deletes a record in a session
	DeleteRecord(ctx context.Context, in *MsgDeleteRecordRequest, opts ...grpc.CallOption) (*MsgDeleteRecordResponse, error)
	// AddScopeSpecification adds a scope specification
	AddScopeSpecification(ctx context.Context, in *MsgAddScopeSpecificationRequest, opts ...grpc.CallOption) (*MsgAddScopeSpecificationResponse, error)
	// DeleteScopeSpecification deletes a scope specification
	DeleteScopeSpecification(ctx context.Context, in *MsgDeleteScopeSpecificationRequest, opts ...grpc.CallOption) (*MsgDeleteScopeSpecificationResponse, error)
	// AddContractSpecification adds a contract specification
	AddContractSpecification(ctx context.Context, in *MsgAddContractSpecificationRequest, opts ...grpc.CallOption) (*MsgAddContractSpecificationResponse, error)
	// DeleteContractSpecification deletes a contract specification
	DeleteContractSpecification(ctx context.Context, in *MsgDeleteContractSpecificationRequest, opts ...grpc.CallOption) (*MsgDeleteContractSpecificationResponse, error)
	// AddRecordSpecification adds a record specification
	AddRecordSpecification(ctx context.Context, in *MsgAddRecordSpecificationRequest, opts ...grpc.CallOption) (*MsgAddRecordSpecificationResponse, error)
	// DeleteRecordSpecification deletes a record specification
	DeleteRecordSpecification(ctx context.Context, in *MsgDeleteRecordSpecificationRequest, opts ...grpc.CallOption) (*MsgDeleteRecordSpecificationResponse, error)
	// AddP8eContractSpec adds a P8e v39 contract spec as a v40 ContractSpecification
	AddP8EContractSpec(ctx context.Context, in *MsgAddP8EContractSpecRequest, opts ...grpc.CallOption) (*MsgAddP8EContractSpecResponse, error)
	// P8EMemorializeContract records the results of a P8e contract execution as a session and set of records in a scope
	// It only exists to help facilitate the transition. The MemorializeContract is the one to use now.
	P8EMemorializeContract(ctx context.Context, in *MsgP8EMemorializeContractRequest, opts ...grpc.CallOption) (*MsgP8EMemorializeContractResponse, error)
	// Os Locator
	// BindOSLocator binds a owner address to a uri.
	BindOSLocator(ctx context.Context, in *MsgBindOSLocatorRequest, opts ...grpc.CallOption) (*MsgBindOSLocatorResponse, error)
	// DeleteOSLocator defines a method to delete existing OSLocator record by the current owner.
	DeleteOSLocator(ctx context.Context, in *MsgDeleteOSLocatorRequest, opts ...grpc.CallOption) (*MsgDeleteOSLocatorResponse, error)
	// Modify existing OSLocator record by the current owner
	ModifyOSLocator(ctx context.Context, in *MsgModifyOSLocatorRequest, opts ...grpc.CallOption) (*MsgModifyOSLocatorResponse, 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 MsgDeleteContractSpecificationRequest added in v0.1.5

type MsgDeleteContractSpecificationRequest struct {
	// MetadataAddress for the contract specification to delete.
	SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */
	Signers         []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteContractSpecificationRequest deletes a contract specification

func NewMsgDeleteContractSpecificationRequest added in v0.1.5

func NewMsgDeleteContractSpecificationRequest() *MsgDeleteContractSpecificationRequest

NewMsgDeleteContractSpecificationRequest creates a new msg instance

func (*MsgDeleteContractSpecificationRequest) Descriptor added in v0.1.5

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

func (MsgDeleteContractSpecificationRequest) GetSignBytes added in v0.1.5

func (msg MsgDeleteContractSpecificationRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgDeleteContractSpecificationRequest) GetSigners added in v0.1.5

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgDeleteContractSpecificationRequest) Marshal added in v0.1.5

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

func (*MsgDeleteContractSpecificationRequest) MarshalTo added in v0.1.5

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

func (*MsgDeleteContractSpecificationRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgDeleteContractSpecificationRequest) ProtoMessage added in v0.1.5

func (*MsgDeleteContractSpecificationRequest) ProtoMessage()

func (*MsgDeleteContractSpecificationRequest) Reset added in v0.1.5

func (MsgDeleteContractSpecificationRequest) Route added in v0.1.5

Route returns the module route

func (*MsgDeleteContractSpecificationRequest) Size added in v0.1.5

func (MsgDeleteContractSpecificationRequest) String added in v0.1.5

func (MsgDeleteContractSpecificationRequest) Type added in v0.1.5

Type returns the type name for this msg

func (*MsgDeleteContractSpecificationRequest) Unmarshal added in v0.1.5

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

func (MsgDeleteContractSpecificationRequest) ValidateBasic added in v0.1.5

func (msg MsgDeleteContractSpecificationRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgDeleteContractSpecificationRequest) XXX_DiscardUnknown added in v0.1.5

func (m *MsgDeleteContractSpecificationRequest) XXX_DiscardUnknown()

func (*MsgDeleteContractSpecificationRequest) XXX_Marshal added in v0.1.5

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

func (*MsgDeleteContractSpecificationRequest) XXX_Merge added in v0.1.5

func (*MsgDeleteContractSpecificationRequest) XXX_Size added in v0.1.5

func (*MsgDeleteContractSpecificationRequest) XXX_Unmarshal added in v0.1.5

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

type MsgDeleteContractSpecificationResponse added in v0.1.5

type MsgDeleteContractSpecificationResponse struct {
}

MsgDeleteContractSpecificationResponse from a delete contract specification request

func (*MsgDeleteContractSpecificationResponse) Descriptor added in v0.1.5

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

func (*MsgDeleteContractSpecificationResponse) Marshal added in v0.1.5

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

func (*MsgDeleteContractSpecificationResponse) MarshalTo added in v0.1.5

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

func (*MsgDeleteContractSpecificationResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgDeleteContractSpecificationResponse) ProtoMessage added in v0.1.5

func (*MsgDeleteContractSpecificationResponse) Reset added in v0.1.5

func (*MsgDeleteContractSpecificationResponse) Size added in v0.1.5

func (*MsgDeleteContractSpecificationResponse) String added in v0.1.5

func (*MsgDeleteContractSpecificationResponse) Unmarshal added in v0.1.5

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

func (*MsgDeleteContractSpecificationResponse) XXX_DiscardUnknown added in v0.1.5

func (m *MsgDeleteContractSpecificationResponse) XXX_DiscardUnknown()

func (*MsgDeleteContractSpecificationResponse) XXX_Marshal added in v0.1.5

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

func (*MsgDeleteContractSpecificationResponse) XXX_Merge added in v0.1.5

func (*MsgDeleteContractSpecificationResponse) XXX_Size added in v0.1.5

func (*MsgDeleteContractSpecificationResponse) XXX_Unmarshal added in v0.1.5

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

type MsgDeleteOSLocatorRequest added in v0.3.0

type MsgDeleteOSLocatorRequest struct {
	// The record being removed
	Locator ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator"`
}

MsgDeleteOSLocatorRequest defines an sdk.Msg type that is used to remove an existing OSLocator record binding.

func NewMsgDeleteOSLocatorRequest added in v0.3.0

func NewMsgDeleteOSLocatorRequest(obj ObjectStoreLocator) *MsgDeleteOSLocatorRequest

---- Delete OS locator ------

func (*MsgDeleteOSLocatorRequest) Descriptor added in v0.3.0

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

func (MsgDeleteOSLocatorRequest) GetSignBytes added in v0.3.0

func (msg MsgDeleteOSLocatorRequest) GetSignBytes() []byte

func (MsgDeleteOSLocatorRequest) GetSigners added in v0.3.0

func (msg MsgDeleteOSLocatorRequest) GetSigners() []sdk.AccAddress

Signers returns the addrs of signers that must sign. CONTRACT: All signatures must be present to be valid. CONTRACT: Returns addrs in some deterministic order. here we assume msg for delete request has the right address should be verified later in the keeper?

func (*MsgDeleteOSLocatorRequest) Marshal added in v0.3.0

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

func (*MsgDeleteOSLocatorRequest) MarshalTo added in v0.3.0

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

func (*MsgDeleteOSLocatorRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgDeleteOSLocatorRequest) ProtoMessage added in v0.3.0

func (*MsgDeleteOSLocatorRequest) ProtoMessage()

func (*MsgDeleteOSLocatorRequest) Reset added in v0.3.0

func (m *MsgDeleteOSLocatorRequest) Reset()

func (MsgDeleteOSLocatorRequest) Route added in v0.3.0

func (msg MsgDeleteOSLocatorRequest) Route() string

func (*MsgDeleteOSLocatorRequest) Size added in v0.3.0

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

func (*MsgDeleteOSLocatorRequest) String added in v0.3.0

func (m *MsgDeleteOSLocatorRequest) String() string

func (MsgDeleteOSLocatorRequest) Type added in v0.3.0

func (msg MsgDeleteOSLocatorRequest) Type() string

func (*MsgDeleteOSLocatorRequest) Unmarshal added in v0.3.0

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

func (MsgDeleteOSLocatorRequest) ValidateBasic added in v0.3.0

func (msg MsgDeleteOSLocatorRequest) ValidateBasic() error

func (*MsgDeleteOSLocatorRequest) XXX_DiscardUnknown added in v0.3.0

func (m *MsgDeleteOSLocatorRequest) XXX_DiscardUnknown()

func (*MsgDeleteOSLocatorRequest) XXX_Marshal added in v0.3.0

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

func (*MsgDeleteOSLocatorRequest) XXX_Merge added in v0.3.0

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

func (*MsgDeleteOSLocatorRequest) XXX_Size added in v0.3.0

func (m *MsgDeleteOSLocatorRequest) XXX_Size() int

func (*MsgDeleteOSLocatorRequest) XXX_Unmarshal added in v0.3.0

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

type MsgDeleteOSLocatorResponse added in v0.3.0

type MsgDeleteOSLocatorResponse struct {
	Locator ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator"`
}

MsgDeleteNameResponse defines the Msg/DeleteName response type.

func (*MsgDeleteOSLocatorResponse) Descriptor added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) GetLocator added in v0.3.0

func (*MsgDeleteOSLocatorResponse) Marshal added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) MarshalTo added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) ProtoMessage added in v0.3.0

func (*MsgDeleteOSLocatorResponse) ProtoMessage()

func (*MsgDeleteOSLocatorResponse) Reset added in v0.3.0

func (m *MsgDeleteOSLocatorResponse) Reset()

func (*MsgDeleteOSLocatorResponse) Size added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) String added in v0.3.0

func (m *MsgDeleteOSLocatorResponse) String() string

func (*MsgDeleteOSLocatorResponse) Unmarshal added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgDeleteOSLocatorResponse) XXX_DiscardUnknown()

func (*MsgDeleteOSLocatorResponse) XXX_Marshal added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) XXX_Merge added in v0.3.0

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

func (*MsgDeleteOSLocatorResponse) XXX_Size added in v0.3.0

func (m *MsgDeleteOSLocatorResponse) XXX_Size() int

func (*MsgDeleteOSLocatorResponse) XXX_Unmarshal added in v0.3.0

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

type MsgDeleteRecordRequest added in v0.2.0

type MsgDeleteRecordRequest struct {
	RecordId MetadataAddress `protobuf:"bytes,1,opt,name=record_id,json=recordId,proto3,customtype=MetadataAddress" json:"record_id" yaml:"record_id"`
	Signers  []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteRecordRequest is a request to add a session of records to a scope

func NewMsgDeleteRecordRequest added in v0.2.0

func NewMsgDeleteRecordRequest() *MsgDeleteRecordRequest

NewMsgDeleteScopeSpecificationRequest creates a new msg instance

func (*MsgDeleteRecordRequest) Descriptor added in v0.2.0

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

func (MsgDeleteRecordRequest) GetSignBytes added in v0.2.0

func (msg MsgDeleteRecordRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgDeleteRecordRequest) GetSigners added in v0.2.0

func (msg MsgDeleteRecordRequest) GetSigners() []sdk.AccAddress

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgDeleteRecordRequest) Marshal added in v0.2.0

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

func (*MsgDeleteRecordRequest) MarshalTo added in v0.2.0

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

func (*MsgDeleteRecordRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgDeleteRecordRequest) ProtoMessage added in v0.2.0

func (*MsgDeleteRecordRequest) ProtoMessage()

func (*MsgDeleteRecordRequest) Reset added in v0.2.0

func (m *MsgDeleteRecordRequest) Reset()

func (MsgDeleteRecordRequest) Route added in v0.2.0

func (msg MsgDeleteRecordRequest) Route() string

Route returns the module route

func (*MsgDeleteRecordRequest) Size added in v0.2.0

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

func (MsgDeleteRecordRequest) String added in v0.2.0

func (msg MsgDeleteRecordRequest) String() string

func (MsgDeleteRecordRequest) Type added in v0.2.0

func (msg MsgDeleteRecordRequest) Type() string

Type returns the type name for this msg

func (*MsgDeleteRecordRequest) Unmarshal added in v0.2.0

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

func (MsgDeleteRecordRequest) ValidateBasic added in v0.2.0

func (msg MsgDeleteRecordRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgDeleteRecordRequest) XXX_DiscardUnknown added in v0.2.0

func (m *MsgDeleteRecordRequest) XXX_DiscardUnknown()

func (*MsgDeleteRecordRequest) XXX_Marshal added in v0.2.0

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

func (*MsgDeleteRecordRequest) XXX_Merge added in v0.2.0

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

func (*MsgDeleteRecordRequest) XXX_Size added in v0.2.0

func (m *MsgDeleteRecordRequest) XXX_Size() int

func (*MsgDeleteRecordRequest) XXX_Unmarshal added in v0.2.0

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

type MsgDeleteRecordResponse added in v0.2.0

type MsgDeleteRecordResponse struct {
}

MsgDeleteRecordResponse from a delete record request

func (*MsgDeleteRecordResponse) Descriptor added in v0.2.0

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

func (*MsgDeleteRecordResponse) Marshal added in v0.2.0

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

func (*MsgDeleteRecordResponse) MarshalTo added in v0.2.0

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

func (*MsgDeleteRecordResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgDeleteRecordResponse) ProtoMessage added in v0.2.0

func (*MsgDeleteRecordResponse) ProtoMessage()

func (*MsgDeleteRecordResponse) Reset added in v0.2.0

func (m *MsgDeleteRecordResponse) Reset()

func (*MsgDeleteRecordResponse) Size added in v0.2.0

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

func (*MsgDeleteRecordResponse) String added in v0.2.0

func (m *MsgDeleteRecordResponse) String() string

func (*MsgDeleteRecordResponse) Unmarshal added in v0.2.0

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

func (*MsgDeleteRecordResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgDeleteRecordResponse) XXX_DiscardUnknown()

func (*MsgDeleteRecordResponse) XXX_Marshal added in v0.2.0

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

func (*MsgDeleteRecordResponse) XXX_Merge added in v0.2.0

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

func (*MsgDeleteRecordResponse) XXX_Size added in v0.2.0

func (m *MsgDeleteRecordResponse) XXX_Size() int

func (*MsgDeleteRecordResponse) XXX_Unmarshal added in v0.2.0

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

type MsgDeleteRecordSpecificationRequest added in v0.2.0

type MsgDeleteRecordSpecificationRequest struct {
	// MetadataAddress for the record specification to delete.
	SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */
	Signers         []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteRecordSpecificationRequest deletes a record specification

func NewMsgDeleteRecordSpecificationRequest added in v0.2.0

func NewMsgDeleteRecordSpecificationRequest() *MsgDeleteRecordSpecificationRequest

NewMsgDeleteRecordSpecificationRequest creates a new msg instance

func (*MsgDeleteRecordSpecificationRequest) Descriptor added in v0.2.0

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

func (MsgDeleteRecordSpecificationRequest) GetSignBytes added in v0.2.0

func (msg MsgDeleteRecordSpecificationRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgDeleteRecordSpecificationRequest) GetSigners added in v0.2.0

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgDeleteRecordSpecificationRequest) Marshal added in v0.2.0

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

func (*MsgDeleteRecordSpecificationRequest) MarshalTo added in v0.2.0

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

func (*MsgDeleteRecordSpecificationRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgDeleteRecordSpecificationRequest) ProtoMessage added in v0.2.0

func (*MsgDeleteRecordSpecificationRequest) ProtoMessage()

func (*MsgDeleteRecordSpecificationRequest) Reset added in v0.2.0

func (MsgDeleteRecordSpecificationRequest) Route added in v0.2.0

Route returns the module route

func (*MsgDeleteRecordSpecificationRequest) Size added in v0.2.0

func (MsgDeleteRecordSpecificationRequest) String added in v0.2.0

func (MsgDeleteRecordSpecificationRequest) Type added in v0.2.0

Type returns the type name for this msg

func (*MsgDeleteRecordSpecificationRequest) Unmarshal added in v0.2.0

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

func (MsgDeleteRecordSpecificationRequest) ValidateBasic added in v0.2.0

func (msg MsgDeleteRecordSpecificationRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgDeleteRecordSpecificationRequest) XXX_DiscardUnknown added in v0.2.0

func (m *MsgDeleteRecordSpecificationRequest) XXX_DiscardUnknown()

func (*MsgDeleteRecordSpecificationRequest) XXX_Marshal added in v0.2.0

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

func (*MsgDeleteRecordSpecificationRequest) XXX_Merge added in v0.2.0

func (*MsgDeleteRecordSpecificationRequest) XXX_Size added in v0.2.0

func (*MsgDeleteRecordSpecificationRequest) XXX_Unmarshal added in v0.2.0

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

type MsgDeleteRecordSpecificationResponse added in v0.2.0

type MsgDeleteRecordSpecificationResponse struct {
}

MsgDeleteRecordSpecificationResponse from a delete record specification request

func (*MsgDeleteRecordSpecificationResponse) Descriptor added in v0.2.0

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

func (*MsgDeleteRecordSpecificationResponse) Marshal added in v0.2.0

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

func (*MsgDeleteRecordSpecificationResponse) MarshalTo added in v0.2.0

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

func (*MsgDeleteRecordSpecificationResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*MsgDeleteRecordSpecificationResponse) ProtoMessage added in v0.2.0

func (*MsgDeleteRecordSpecificationResponse) ProtoMessage()

func (*MsgDeleteRecordSpecificationResponse) Reset added in v0.2.0

func (*MsgDeleteRecordSpecificationResponse) Size added in v0.2.0

func (*MsgDeleteRecordSpecificationResponse) String added in v0.2.0

func (*MsgDeleteRecordSpecificationResponse) Unmarshal added in v0.2.0

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

func (*MsgDeleteRecordSpecificationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *MsgDeleteRecordSpecificationResponse) XXX_DiscardUnknown()

func (*MsgDeleteRecordSpecificationResponse) XXX_Marshal added in v0.2.0

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

func (*MsgDeleteRecordSpecificationResponse) XXX_Merge added in v0.2.0

func (*MsgDeleteRecordSpecificationResponse) XXX_Size added in v0.2.0

func (*MsgDeleteRecordSpecificationResponse) XXX_Unmarshal added in v0.2.0

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

type MsgDeleteScopeRequest added in v0.1.5

type MsgDeleteScopeRequest struct {
	// Unique ID for the scope to delete
	ScopeId MetadataAddress `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3,customtype=MetadataAddress" json:"scope_id" yaml:"scope_id"`
	Signers []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteScopeRequest deletes a scope

func NewMsgDeleteScopeRequest added in v0.1.5

func NewMsgDeleteScopeRequest(scopeID MetadataAddress, signers []string) *MsgDeleteScopeRequest

NewMsgDeleteScopeRequest creates a new msg instance

func (*MsgDeleteScopeRequest) Descriptor added in v0.1.5

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

func (MsgDeleteScopeRequest) GetSignBytes added in v0.1.5

func (msg MsgDeleteScopeRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgDeleteScopeRequest) GetSigners added in v0.1.5

func (msg MsgDeleteScopeRequest) GetSigners() []sdk.AccAddress

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgDeleteScopeRequest) Marshal added in v0.1.5

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

func (*MsgDeleteScopeRequest) MarshalTo added in v0.1.5

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

func (*MsgDeleteScopeRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgDeleteScopeRequest) ProtoMessage added in v0.1.5

func (*MsgDeleteScopeRequest) ProtoMessage()

func (*MsgDeleteScopeRequest) Reset added in v0.1.5

func (m *MsgDeleteScopeRequest) Reset()

func (MsgDeleteScopeRequest) Route added in v0.1.5

func (msg MsgDeleteScopeRequest) Route() string

Route returns the module route

func (*MsgDeleteScopeRequest) Size added in v0.1.5

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

func (MsgDeleteScopeRequest) String added in v0.1.5

func (msg MsgDeleteScopeRequest) String() string

func (MsgDeleteScopeRequest) Type added in v0.1.5

func (msg MsgDeleteScopeRequest) Type() string

Type returns the type name for this msg

func (*MsgDeleteScopeRequest) Unmarshal added in v0.1.5

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

func (MsgDeleteScopeRequest) ValidateBasic added in v0.1.5

func (msg MsgDeleteScopeRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgDeleteScopeRequest) XXX_DiscardUnknown added in v0.1.5

func (m *MsgDeleteScopeRequest) XXX_DiscardUnknown()

func (*MsgDeleteScopeRequest) XXX_Marshal added in v0.1.5

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

func (*MsgDeleteScopeRequest) XXX_Merge added in v0.1.5

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

func (*MsgDeleteScopeRequest) XXX_Size added in v0.1.5

func (m *MsgDeleteScopeRequest) XXX_Size() int

func (*MsgDeleteScopeRequest) XXX_Unmarshal added in v0.1.5

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

type MsgDeleteScopeResponse added in v0.1.5

type MsgDeleteScopeResponse struct {
}

MsgDeleteScopeResponse from a delete scope request

func (*MsgDeleteScopeResponse) Descriptor added in v0.1.5

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

func (*MsgDeleteScopeResponse) Marshal added in v0.1.5

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

func (*MsgDeleteScopeResponse) MarshalTo added in v0.1.5

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

func (*MsgDeleteScopeResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgDeleteScopeResponse) ProtoMessage added in v0.1.5

func (*MsgDeleteScopeResponse) ProtoMessage()

func (*MsgDeleteScopeResponse) Reset added in v0.1.5

func (m *MsgDeleteScopeResponse) Reset()

func (*MsgDeleteScopeResponse) Size added in v0.1.5

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

func (*MsgDeleteScopeResponse) String added in v0.1.5

func (m *MsgDeleteScopeResponse) String() string

func (*MsgDeleteScopeResponse) Unmarshal added in v0.1.5

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

func (*MsgDeleteScopeResponse) XXX_DiscardUnknown added in v0.1.5

func (m *MsgDeleteScopeResponse) XXX_DiscardUnknown()

func (*MsgDeleteScopeResponse) XXX_Marshal added in v0.1.5

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

func (*MsgDeleteScopeResponse) XXX_Merge added in v0.1.5

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

func (*MsgDeleteScopeResponse) XXX_Size added in v0.1.5

func (m *MsgDeleteScopeResponse) XXX_Size() int

func (*MsgDeleteScopeResponse) XXX_Unmarshal added in v0.1.5

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

type MsgDeleteScopeSpecificationRequest added in v0.1.5

type MsgDeleteScopeSpecificationRequest struct {
	// MetadataAddress for the scope specification to delete.
	SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */
	Signers         []string        `protobuf:"bytes,2,rep,name=signers,proto3" json:"signers,omitempty"`
}

MsgDeleteScopeSpecificationRequest deletes a scope specification

func NewMsgDeleteScopeSpecificationRequest added in v0.1.5

func NewMsgDeleteScopeSpecificationRequest() *MsgDeleteScopeSpecificationRequest

NewMsgDeleteScopeSpecificationRequest creates a new msg instance

func (*MsgDeleteScopeSpecificationRequest) Descriptor added in v0.1.5

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

func (MsgDeleteScopeSpecificationRequest) GetSignBytes added in v0.1.5

func (msg MsgDeleteScopeSpecificationRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgDeleteScopeSpecificationRequest) GetSigners added in v0.1.5

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgDeleteScopeSpecificationRequest) Marshal added in v0.1.5

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

func (*MsgDeleteScopeSpecificationRequest) MarshalTo added in v0.1.5

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

func (*MsgDeleteScopeSpecificationRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgDeleteScopeSpecificationRequest) ProtoMessage added in v0.1.5

func (*MsgDeleteScopeSpecificationRequest) ProtoMessage()

func (*MsgDeleteScopeSpecificationRequest) Reset added in v0.1.5

func (MsgDeleteScopeSpecificationRequest) Route added in v0.1.5

Route returns the module route

func (*MsgDeleteScopeSpecificationRequest) Size added in v0.1.5

func (MsgDeleteScopeSpecificationRequest) String added in v0.1.5

func (MsgDeleteScopeSpecificationRequest) Type added in v0.1.5

Type returns the type name for this msg

func (*MsgDeleteScopeSpecificationRequest) Unmarshal added in v0.1.5

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

func (MsgDeleteScopeSpecificationRequest) ValidateBasic added in v0.1.5

func (msg MsgDeleteScopeSpecificationRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgDeleteScopeSpecificationRequest) XXX_DiscardUnknown added in v0.1.5

func (m *MsgDeleteScopeSpecificationRequest) XXX_DiscardUnknown()

func (*MsgDeleteScopeSpecificationRequest) XXX_Marshal added in v0.1.5

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

func (*MsgDeleteScopeSpecificationRequest) XXX_Merge added in v0.1.5

func (*MsgDeleteScopeSpecificationRequest) XXX_Size added in v0.1.5

func (*MsgDeleteScopeSpecificationRequest) XXX_Unmarshal added in v0.1.5

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

type MsgDeleteScopeSpecificationResponse added in v0.1.5

type MsgDeleteScopeSpecificationResponse struct {
}

MsgDeleteScopeSpecificationResponse from a delete scope specification request

func (*MsgDeleteScopeSpecificationResponse) Descriptor added in v0.1.5

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

func (*MsgDeleteScopeSpecificationResponse) Marshal added in v0.1.5

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

func (*MsgDeleteScopeSpecificationResponse) MarshalTo added in v0.1.5

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

func (*MsgDeleteScopeSpecificationResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*MsgDeleteScopeSpecificationResponse) ProtoMessage added in v0.1.5

func (*MsgDeleteScopeSpecificationResponse) ProtoMessage()

func (*MsgDeleteScopeSpecificationResponse) Reset added in v0.1.5

func (*MsgDeleteScopeSpecificationResponse) Size added in v0.1.5

func (*MsgDeleteScopeSpecificationResponse) String added in v0.1.5

func (*MsgDeleteScopeSpecificationResponse) Unmarshal added in v0.1.5

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

func (*MsgDeleteScopeSpecificationResponse) XXX_DiscardUnknown added in v0.1.5

func (m *MsgDeleteScopeSpecificationResponse) XXX_DiscardUnknown()

func (*MsgDeleteScopeSpecificationResponse) XXX_Marshal added in v0.1.5

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

func (*MsgDeleteScopeSpecificationResponse) XXX_Merge added in v0.1.5

func (*MsgDeleteScopeSpecificationResponse) XXX_Size added in v0.1.5

func (*MsgDeleteScopeSpecificationResponse) XXX_Unmarshal added in v0.1.5

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

type MsgModifyOSLocatorRequest added in v0.3.0

type MsgModifyOSLocatorRequest struct {
	// The object locator to bind the address to bind to the URI.
	Locator ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator"`
}

MsgModifyOSLocatorRequest defines an sdk.Msg type that is used to modify a uri associated with an owner address.

func NewMsgModifyOSLocatorRequest added in v0.3.0

func NewMsgModifyOSLocatorRequest(obj ObjectStoreLocator) *MsgModifyOSLocatorRequest

func (*MsgModifyOSLocatorRequest) Descriptor added in v0.3.0

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

func (MsgModifyOSLocatorRequest) GetSignBytes added in v0.3.0

func (msg MsgModifyOSLocatorRequest) GetSignBytes() []byte

func (MsgModifyOSLocatorRequest) GetSigners added in v0.3.0

func (msg MsgModifyOSLocatorRequest) GetSigners() []sdk.AccAddress

func (*MsgModifyOSLocatorRequest) Marshal added in v0.3.0

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

func (*MsgModifyOSLocatorRequest) MarshalTo added in v0.3.0

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

func (*MsgModifyOSLocatorRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgModifyOSLocatorRequest) ProtoMessage added in v0.3.0

func (*MsgModifyOSLocatorRequest) ProtoMessage()

func (*MsgModifyOSLocatorRequest) Reset added in v0.3.0

func (m *MsgModifyOSLocatorRequest) Reset()

func (MsgModifyOSLocatorRequest) Route added in v0.3.0

func (msg MsgModifyOSLocatorRequest) Route() string

func (*MsgModifyOSLocatorRequest) Size added in v0.3.0

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

func (*MsgModifyOSLocatorRequest) String added in v0.3.0

func (m *MsgModifyOSLocatorRequest) String() string

func (MsgModifyOSLocatorRequest) Type added in v0.3.0

func (msg MsgModifyOSLocatorRequest) Type() string

func (*MsgModifyOSLocatorRequest) Unmarshal added in v0.3.0

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

func (MsgModifyOSLocatorRequest) ValidateBasic added in v0.3.0

func (msg MsgModifyOSLocatorRequest) ValidateBasic() error

func (*MsgModifyOSLocatorRequest) XXX_DiscardUnknown added in v0.3.0

func (m *MsgModifyOSLocatorRequest) XXX_DiscardUnknown()

func (*MsgModifyOSLocatorRequest) XXX_Marshal added in v0.3.0

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

func (*MsgModifyOSLocatorRequest) XXX_Merge added in v0.3.0

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

func (*MsgModifyOSLocatorRequest) XXX_Size added in v0.3.0

func (m *MsgModifyOSLocatorRequest) XXX_Size() int

func (*MsgModifyOSLocatorRequest) XXX_Unmarshal added in v0.3.0

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

type MsgModifyOSLocatorResponse added in v0.3.0

type MsgModifyOSLocatorResponse struct {
	Locator ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator"`
}

MsgModifyOSLocatorResponse defines the Msg/ModifyObjectLocator response type

func (*MsgModifyOSLocatorResponse) Descriptor added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) GetLocator added in v0.3.0

func (*MsgModifyOSLocatorResponse) Marshal added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) MarshalTo added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) ProtoMessage added in v0.3.0

func (*MsgModifyOSLocatorResponse) ProtoMessage()

func (*MsgModifyOSLocatorResponse) Reset added in v0.3.0

func (m *MsgModifyOSLocatorResponse) Reset()

func (*MsgModifyOSLocatorResponse) Size added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) String added in v0.3.0

func (m *MsgModifyOSLocatorResponse) String() string

func (*MsgModifyOSLocatorResponse) Unmarshal added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgModifyOSLocatorResponse) XXX_DiscardUnknown()

func (*MsgModifyOSLocatorResponse) XXX_Marshal added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) XXX_Merge added in v0.3.0

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

func (*MsgModifyOSLocatorResponse) XXX_Size added in v0.3.0

func (m *MsgModifyOSLocatorResponse) XXX_Size() int

func (*MsgModifyOSLocatorResponse) XXX_Unmarshal added in v0.3.0

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

type MsgP8EMemorializeContractRequest deprecated added in v0.3.0

type MsgP8EMemorializeContractRequest struct {
	// The scope id of the object being add or 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"`
	// The scope specification id.
	ScopeSpecificationId string `protobuf:"bytes,3,opt,name=scope_specification_id,json=scopeSpecificationId,proto3" json:"scope_specification_id,omitempty"`
	// The new recitals for the scope.  Used in leu of Contract for direct ownership changes.
	Recitals *p8e.Recitals `protobuf:"bytes,4,opt,name=recitals,proto3" json:"recitals,omitempty"`
	// The executed contract.
	Contract *p8e.Contract `protobuf:"bytes,5,opt,name=contract,proto3" json:"contract,omitempty"`
	// The contract signatures
	Signatures *p8e.SignatureSet `protobuf:"bytes,6,opt,name=signatures,proto3" json:"signatures,omitempty"`
	// The bech32 address of the notary (ie the broadcaster of this message).
	Invoker string `protobuf:"bytes,7,opt,name=invoker,proto3" json:"invoker,omitempty"`
}

MsgP8eMemorializeContractRequest is the input for a P8eMemorializeContract call

Deprecated: Do not use.

func NewMsgP8EMemorializeContractRequest added in v0.3.0

func NewMsgP8EMemorializeContractRequest() *MsgP8EMemorializeContractRequest

NewMsgP8EMemorializeContractRequest creates a new msg instance

func (*MsgP8EMemorializeContractRequest) Descriptor added in v0.3.0

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

func (MsgP8EMemorializeContractRequest) GetSignBytes added in v0.3.0

func (msg MsgP8EMemorializeContractRequest) GetSignBytes() []byte

GetSignBytes gets the bytes for the message signer to sign on

func (MsgP8EMemorializeContractRequest) GetSigners added in v0.3.0

func (msg MsgP8EMemorializeContractRequest) GetSigners() []sdk.AccAddress

GetSigners returns the address(es) that must sign over msg.GetSignBytes()

func (*MsgP8EMemorializeContractRequest) Marshal added in v0.3.0

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

func (*MsgP8EMemorializeContractRequest) MarshalTo added in v0.3.0

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

func (*MsgP8EMemorializeContractRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgP8EMemorializeContractRequest) ProtoMessage added in v0.3.0

func (*MsgP8EMemorializeContractRequest) ProtoMessage()

func (*MsgP8EMemorializeContractRequest) Reset added in v0.3.0

func (MsgP8EMemorializeContractRequest) Route added in v0.3.0

Route returns the module route

func (*MsgP8EMemorializeContractRequest) Size added in v0.3.0

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

func (MsgP8EMemorializeContractRequest) String added in v0.3.0

func (MsgP8EMemorializeContractRequest) Type added in v0.3.0

Type returns the type name for this msg

func (*MsgP8EMemorializeContractRequest) Unmarshal added in v0.3.0

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

func (MsgP8EMemorializeContractRequest) ValidateBasic added in v0.3.0

func (msg MsgP8EMemorializeContractRequest) ValidateBasic() error

ValidateBasic performs a quick validity check

func (*MsgP8EMemorializeContractRequest) XXX_DiscardUnknown added in v0.3.0

func (m *MsgP8EMemorializeContractRequest) XXX_DiscardUnknown()

func (*MsgP8EMemorializeContractRequest) XXX_Marshal added in v0.3.0

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

func (*MsgP8EMemorializeContractRequest) XXX_Merge added in v0.3.0

func (*MsgP8EMemorializeContractRequest) XXX_Size added in v0.3.0

func (m *MsgP8EMemorializeContractRequest) XXX_Size() int

func (*MsgP8EMemorializeContractRequest) XXX_Unmarshal added in v0.3.0

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

type MsgP8EMemorializeContractResponse deprecated added in v0.3.0

type MsgP8EMemorializeContractResponse struct {
}

MsgP8eMemorializeContractResponse is the output for a P8eMemorializeContract call

Deprecated: Do not use.

func (*MsgP8EMemorializeContractResponse) Descriptor added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) Marshal added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) MarshalTo added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) ProtoMessage added in v0.3.0

func (*MsgP8EMemorializeContractResponse) ProtoMessage()

func (*MsgP8EMemorializeContractResponse) Reset added in v0.3.0

func (*MsgP8EMemorializeContractResponse) Size added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) String added in v0.3.0

func (*MsgP8EMemorializeContractResponse) Unmarshal added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) XXX_DiscardUnknown added in v0.3.0

func (m *MsgP8EMemorializeContractResponse) XXX_DiscardUnknown()

func (*MsgP8EMemorializeContractResponse) XXX_Marshal added in v0.3.0

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

func (*MsgP8EMemorializeContractResponse) XXX_Merge added in v0.3.0

func (*MsgP8EMemorializeContractResponse) XXX_Size added in v0.3.0

func (m *MsgP8EMemorializeContractResponse) XXX_Size() int

func (*MsgP8EMemorializeContractResponse) XXX_Unmarshal added in v0.3.0

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

type MsgServer

type MsgServer interface {
	// AddScope adds a new scope
	AddScope(context.Context, *MsgAddScopeRequest) (*MsgAddScopeResponse, error)
	// DeleteScope deletes a scope and all associated Records, Sessions
	DeleteScope(context.Context, *MsgDeleteScopeRequest) (*MsgDeleteScopeResponse, error)
	// AddSession adds a new session context to a scope
	AddSession(context.Context, *MsgAddSessionRequest) (*MsgAddSessionResponse, error)
	// AddRecord adds a set of records in a session within a scope
	AddRecord(context.Context, *MsgAddRecordRequest) (*MsgAddRecordResponse, error)
	// DeleteRecord deletes a record in a session
	DeleteRecord(context.Context, *MsgDeleteRecordRequest) (*MsgDeleteRecordResponse, error)
	// AddScopeSpecification adds a scope specification
	AddScopeSpecification(context.Context, *MsgAddScopeSpecificationRequest) (*MsgAddScopeSpecificationResponse, error)
	// DeleteScopeSpecification deletes a scope specification
	DeleteScopeSpecification(context.Context, *MsgDeleteScopeSpecificationRequest) (*MsgDeleteScopeSpecificationResponse, error)
	// AddContractSpecification adds a contract specification
	AddContractSpecification(context.Context, *MsgAddContractSpecificationRequest) (*MsgAddContractSpecificationResponse, error)
	// DeleteContractSpecification deletes a contract specification
	DeleteContractSpecification(context.Context, *MsgDeleteContractSpecificationRequest) (*MsgDeleteContractSpecificationResponse, error)
	// AddRecordSpecification adds a record specification
	AddRecordSpecification(context.Context, *MsgAddRecordSpecificationRequest) (*MsgAddRecordSpecificationResponse, error)
	// DeleteRecordSpecification deletes a record specification
	DeleteRecordSpecification(context.Context, *MsgDeleteRecordSpecificationRequest) (*MsgDeleteRecordSpecificationResponse, error)
	// AddP8eContractSpec adds a P8e v39 contract spec as a v40 ContractSpecification
	AddP8EContractSpec(context.Context, *MsgAddP8EContractSpecRequest) (*MsgAddP8EContractSpecResponse, error)
	// P8EMemorializeContract records the results of a P8e contract execution as a session and set of records in a scope
	// It only exists to help facilitate the transition. The MemorializeContract is the one to use now.
	P8EMemorializeContract(context.Context, *MsgP8EMemorializeContractRequest) (*MsgP8EMemorializeContractResponse, error)
	// Os Locator
	// BindOSLocator binds a owner address to a uri.
	BindOSLocator(context.Context, *MsgBindOSLocatorRequest) (*MsgBindOSLocatorResponse, error)
	// DeleteOSLocator defines a method to delete existing OSLocator record by the current owner.
	DeleteOSLocator(context.Context, *MsgDeleteOSLocatorRequest) (*MsgDeleteOSLocatorResponse, error)
	// Modify existing OSLocator record by the current owner
	ModifyOSLocator(context.Context, *MsgModifyOSLocatorRequest) (*MsgModifyOSLocatorResponse, error)
}

MsgServer is the server API for Msg service.

type OSAllLocatorsRequest added in v0.3.0

type OSAllLocatorsRequest struct {
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,1,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

AllOSLocatorsRequest get all os locator's request.

func (*OSAllLocatorsRequest) Descriptor added in v0.3.0

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

func (*OSAllLocatorsRequest) GetPagination added in v0.3.0

func (m *OSAllLocatorsRequest) GetPagination() *query.PageRequest

func (*OSAllLocatorsRequest) Marshal added in v0.3.0

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

func (*OSAllLocatorsRequest) MarshalTo added in v0.3.0

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

func (*OSAllLocatorsRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*OSAllLocatorsRequest) ProtoMessage added in v0.3.0

func (*OSAllLocatorsRequest) ProtoMessage()

func (*OSAllLocatorsRequest) Reset added in v0.3.0

func (m *OSAllLocatorsRequest) Reset()

func (*OSAllLocatorsRequest) Size added in v0.3.0

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

func (*OSAllLocatorsRequest) String added in v0.3.0

func (m *OSAllLocatorsRequest) String() string

func (*OSAllLocatorsRequest) Unmarshal added in v0.3.0

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

func (*OSAllLocatorsRequest) XXX_DiscardUnknown added in v0.3.0

func (m *OSAllLocatorsRequest) XXX_DiscardUnknown()

func (*OSAllLocatorsRequest) XXX_Marshal added in v0.3.0

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

func (*OSAllLocatorsRequest) XXX_Merge added in v0.3.0

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

func (*OSAllLocatorsRequest) XXX_Size added in v0.3.0

func (m *OSAllLocatorsRequest) XXX_Size() int

func (*OSAllLocatorsRequest) XXX_Unmarshal added in v0.3.0

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

type OSAllLocatorsResponse added in v0.3.0

type OSAllLocatorsResponse struct {
	Locator []ObjectStoreLocator `protobuf:"bytes,1,rep,name=locator,proto3" json:"locator"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSAllLocatorsResponse is an array of ObjectStoreLocator with pagination info

func (*OSAllLocatorsResponse) Descriptor added in v0.3.0

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

func (*OSAllLocatorsResponse) GetLocator added in v0.3.0

func (m *OSAllLocatorsResponse) GetLocator() []ObjectStoreLocator

func (*OSAllLocatorsResponse) GetPagination added in v0.3.0

func (m *OSAllLocatorsResponse) GetPagination() *query.PageResponse

func (*OSAllLocatorsResponse) Marshal added in v0.3.0

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

func (*OSAllLocatorsResponse) MarshalTo added in v0.3.0

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

func (*OSAllLocatorsResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*OSAllLocatorsResponse) ProtoMessage added in v0.3.0

func (*OSAllLocatorsResponse) ProtoMessage()

func (*OSAllLocatorsResponse) Reset added in v0.3.0

func (m *OSAllLocatorsResponse) Reset()

func (*OSAllLocatorsResponse) Size added in v0.3.0

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

func (*OSAllLocatorsResponse) String added in v0.3.0

func (m *OSAllLocatorsResponse) String() string

func (*OSAllLocatorsResponse) Unmarshal added in v0.3.0

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

func (*OSAllLocatorsResponse) XXX_DiscardUnknown added in v0.3.0

func (m *OSAllLocatorsResponse) XXX_DiscardUnknown()

func (*OSAllLocatorsResponse) XXX_Marshal added in v0.3.0

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

func (*OSAllLocatorsResponse) XXX_Merge added in v0.3.0

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

func (*OSAllLocatorsResponse) XXX_Size added in v0.3.0

func (m *OSAllLocatorsResponse) XXX_Size() int

func (*OSAllLocatorsResponse) XXX_Unmarshal added in v0.3.0

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

type OSLocatorByScopeUUIDRequest added in v0.3.0

type OSLocatorByScopeUUIDRequest struct {
	ScopeUuid string `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
}

OSLocatorScopeRequest is used for requesting all the OSLocator associated with a scope_id

func (*OSLocatorByScopeUUIDRequest) Descriptor added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) GetScopeUuid added in v0.3.0

func (m *OSLocatorByScopeUUIDRequest) GetScopeUuid() string

func (*OSLocatorByScopeUUIDRequest) Marshal added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) MarshalTo added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) ProtoMessage added in v0.3.0

func (*OSLocatorByScopeUUIDRequest) ProtoMessage()

func (*OSLocatorByScopeUUIDRequest) Reset added in v0.3.0

func (m *OSLocatorByScopeUUIDRequest) Reset()

func (*OSLocatorByScopeUUIDRequest) Size added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) String added in v0.3.0

func (m *OSLocatorByScopeUUIDRequest) String() string

func (*OSLocatorByScopeUUIDRequest) Unmarshal added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorByScopeUUIDRequest) XXX_DiscardUnknown()

func (*OSLocatorByScopeUUIDRequest) XXX_Marshal added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) XXX_Merge added in v0.3.0

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

func (*OSLocatorByScopeUUIDRequest) XXX_Size added in v0.3.0

func (m *OSLocatorByScopeUUIDRequest) XXX_Size() int

func (*OSLocatorByScopeUUIDRequest) XXX_Unmarshal added in v0.3.0

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

type OSLocatorByScopeUUIDResponse added in v0.3.0

type OSLocatorByScopeUUIDResponse struct {
	Locator []ObjectStoreLocator `protobuf:"bytes,1,rep,name=locator,proto3" json:"locator"`
}

OSLocatorByScopeUUIDResponse is an array of ObjectStoreLocator.

func (*OSLocatorByScopeUUIDResponse) Descriptor added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) GetLocator added in v0.3.0

func (*OSLocatorByScopeUUIDResponse) Marshal added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) MarshalTo added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) ProtoMessage added in v0.3.0

func (*OSLocatorByScopeUUIDResponse) ProtoMessage()

func (*OSLocatorByScopeUUIDResponse) Reset added in v0.3.0

func (m *OSLocatorByScopeUUIDResponse) Reset()

func (*OSLocatorByScopeUUIDResponse) Size added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) String added in v0.3.0

func (*OSLocatorByScopeUUIDResponse) Unmarshal added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorByScopeUUIDResponse) XXX_DiscardUnknown()

func (*OSLocatorByScopeUUIDResponse) XXX_Marshal added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) XXX_Merge added in v0.3.0

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

func (*OSLocatorByScopeUUIDResponse) XXX_Size added in v0.3.0

func (m *OSLocatorByScopeUUIDResponse) XXX_Size() int

func (*OSLocatorByScopeUUIDResponse) XXX_Unmarshal added in v0.3.0

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

type OSLocatorByURIRequest added in v0.3.0

type OSLocatorByURIRequest struct {
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageRequest `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSLocatorByURIRequest get os locator's by uri

func (*OSLocatorByURIRequest) Descriptor added in v0.3.0

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

func (*OSLocatorByURIRequest) GetPagination added in v0.3.0

func (m *OSLocatorByURIRequest) GetPagination() *query.PageRequest

func (*OSLocatorByURIRequest) GetUri added in v0.3.0

func (m *OSLocatorByURIRequest) GetUri() string

func (*OSLocatorByURIRequest) Marshal added in v0.3.0

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

func (*OSLocatorByURIRequest) MarshalTo added in v0.3.0

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

func (*OSLocatorByURIRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorByURIRequest) ProtoMessage added in v0.3.0

func (*OSLocatorByURIRequest) ProtoMessage()

func (*OSLocatorByURIRequest) Reset added in v0.3.0

func (m *OSLocatorByURIRequest) Reset()

func (*OSLocatorByURIRequest) Size added in v0.3.0

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

func (*OSLocatorByURIRequest) String added in v0.3.0

func (m *OSLocatorByURIRequest) String() string

func (*OSLocatorByURIRequest) Unmarshal added in v0.3.0

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

func (*OSLocatorByURIRequest) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorByURIRequest) XXX_DiscardUnknown()

func (*OSLocatorByURIRequest) XXX_Marshal added in v0.3.0

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

func (*OSLocatorByURIRequest) XXX_Merge added in v0.3.0

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

func (*OSLocatorByURIRequest) XXX_Size added in v0.3.0

func (m *OSLocatorByURIRequest) XXX_Size() int

func (*OSLocatorByURIRequest) XXX_Unmarshal added in v0.3.0

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

type OSLocatorByURIResponse added in v0.3.0

type OSLocatorByURIResponse struct {
	Locator []ObjectStoreLocator `protobuf:"bytes,1,rep,name=locator,proto3" json:"locator"`
	// pagination defines an optional pagination for the request.
	Pagination *query.PageResponse `protobuf:"bytes,2,opt,name=pagination,proto3" json:"pagination,omitempty"`
}

OSLocatorByURIResponse is an array of ObjectStoreLocator with pagination info

func (*OSLocatorByURIResponse) Descriptor added in v0.3.0

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

func (*OSLocatorByURIResponse) GetLocator added in v0.3.0

func (m *OSLocatorByURIResponse) GetLocator() []ObjectStoreLocator

func (*OSLocatorByURIResponse) GetPagination added in v0.3.0

func (m *OSLocatorByURIResponse) GetPagination() *query.PageResponse

func (*OSLocatorByURIResponse) Marshal added in v0.3.0

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

func (*OSLocatorByURIResponse) MarshalTo added in v0.3.0

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

func (*OSLocatorByURIResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorByURIResponse) ProtoMessage added in v0.3.0

func (*OSLocatorByURIResponse) ProtoMessage()

func (*OSLocatorByURIResponse) Reset added in v0.3.0

func (m *OSLocatorByURIResponse) Reset()

func (*OSLocatorByURIResponse) Size added in v0.3.0

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

func (*OSLocatorByURIResponse) String added in v0.3.0

func (m *OSLocatorByURIResponse) String() string

func (*OSLocatorByURIResponse) Unmarshal added in v0.3.0

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

func (*OSLocatorByURIResponse) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorByURIResponse) XXX_DiscardUnknown()

func (*OSLocatorByURIResponse) XXX_Marshal added in v0.3.0

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

func (*OSLocatorByURIResponse) XXX_Merge added in v0.3.0

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

func (*OSLocatorByURIResponse) XXX_Size added in v0.3.0

func (m *OSLocatorByURIResponse) XXX_Size() int

func (*OSLocatorByURIResponse) XXX_Unmarshal added in v0.3.0

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

type OSLocatorParams added in v0.3.0

type OSLocatorParams struct {
	MaxUriLength uint32 `` /* 130-byte string literal not displayed */
}

Params defines the parameters for the metadata-locator module methods.

func DefaultOSLocatorParams added in v0.3.0

func DefaultOSLocatorParams() OSLocatorParams

DefaultParams defines the parameters for this module

func NewOSLocatorParams added in v0.3.0

func NewOSLocatorParams(maxURILength uint32) OSLocatorParams

NewParams creates a new parameter object

func (*OSLocatorParams) Descriptor added in v0.3.0

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

func (*OSLocatorParams) Marshal added in v0.3.0

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

func (*OSLocatorParams) MarshalTo added in v0.3.0

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

func (*OSLocatorParams) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorParams) ParamSetPairs added in v0.3.0

func (p *OSLocatorParams) ParamSetPairs() paramtypes.ParamSetPairs

ParamSetPairs implements the ParamSet interface and returns all the key/value pairs pairs of auth module's parameters.

func (*OSLocatorParams) ProtoMessage added in v0.3.0

func (*OSLocatorParams) ProtoMessage()

func (*OSLocatorParams) Reset added in v0.3.0

func (m *OSLocatorParams) Reset()

func (*OSLocatorParams) Size added in v0.3.0

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

func (*OSLocatorParams) String added in v0.3.0

func (m *OSLocatorParams) String() string

func (*OSLocatorParams) Unmarshal added in v0.3.0

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

func (*OSLocatorParams) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorParams) XXX_DiscardUnknown()

func (*OSLocatorParams) XXX_Marshal added in v0.3.0

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

func (*OSLocatorParams) XXX_Merge added in v0.3.0

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

func (*OSLocatorParams) XXX_Size added in v0.3.0

func (m *OSLocatorParams) XXX_Size() int

func (*OSLocatorParams) XXX_Unmarshal added in v0.3.0

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

type OSLocatorParamsRequest added in v0.3.0

type OSLocatorParamsRequest struct {
}

OSLocatorParamsRequest is the request type for the Query/Params RPC method.

func (*OSLocatorParamsRequest) Descriptor added in v0.3.0

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

func (*OSLocatorParamsRequest) Marshal added in v0.3.0

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

func (*OSLocatorParamsRequest) MarshalTo added in v0.3.0

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

func (*OSLocatorParamsRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorParamsRequest) ProtoMessage added in v0.3.0

func (*OSLocatorParamsRequest) ProtoMessage()

func (*OSLocatorParamsRequest) Reset added in v0.3.0

func (m *OSLocatorParamsRequest) Reset()

func (*OSLocatorParamsRequest) Size added in v0.3.0

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

func (*OSLocatorParamsRequest) String added in v0.3.0

func (m *OSLocatorParamsRequest) String() string

func (*OSLocatorParamsRequest) Unmarshal added in v0.3.0

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

func (*OSLocatorParamsRequest) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorParamsRequest) XXX_DiscardUnknown()

func (*OSLocatorParamsRequest) XXX_Marshal added in v0.3.0

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

func (*OSLocatorParamsRequest) XXX_Merge added in v0.3.0

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

func (*OSLocatorParamsRequest) XXX_Size added in v0.3.0

func (m *OSLocatorParamsRequest) XXX_Size() int

func (*OSLocatorParamsRequest) XXX_Unmarshal added in v0.3.0

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

type OSLocatorParamsResponse added in v0.3.0

type OSLocatorParamsResponse struct {
	// params defines the parameters of the module.
	Params OSLocatorParams `protobuf:"bytes,1,opt,name=params,proto3" json:"params"`
}

OSLocatorParamsResponse is the response type for the Query/Params RPC method.

func (*OSLocatorParamsResponse) Descriptor added in v0.3.0

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

func (*OSLocatorParamsResponse) GetParams added in v0.3.0

func (*OSLocatorParamsResponse) Marshal added in v0.3.0

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

func (*OSLocatorParamsResponse) MarshalTo added in v0.3.0

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

func (*OSLocatorParamsResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorParamsResponse) ProtoMessage added in v0.3.0

func (*OSLocatorParamsResponse) ProtoMessage()

func (*OSLocatorParamsResponse) Reset added in v0.3.0

func (m *OSLocatorParamsResponse) Reset()

func (*OSLocatorParamsResponse) Size added in v0.3.0

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

func (*OSLocatorParamsResponse) String added in v0.3.0

func (m *OSLocatorParamsResponse) String() string

func (*OSLocatorParamsResponse) Unmarshal added in v0.3.0

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

func (*OSLocatorParamsResponse) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorParamsResponse) XXX_DiscardUnknown()

func (*OSLocatorParamsResponse) XXX_Marshal added in v0.3.0

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

func (*OSLocatorParamsResponse) XXX_Merge added in v0.3.0

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

func (*OSLocatorParamsResponse) XXX_Size added in v0.3.0

func (m *OSLocatorParamsResponse) XXX_Size() int

func (*OSLocatorParamsResponse) XXX_Unmarshal added in v0.3.0

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

type OSLocatorRequest added in v0.3.0

type OSLocatorRequest struct {
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
}

OSLocationRequest is used for requesting a Objectstore location by owner

func (*OSLocatorRequest) Descriptor added in v0.3.0

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

func (*OSLocatorRequest) GetOwner added in v0.3.0

func (m *OSLocatorRequest) GetOwner() string

func (*OSLocatorRequest) Marshal added in v0.3.0

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

func (*OSLocatorRequest) MarshalTo added in v0.3.0

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

func (*OSLocatorRequest) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorRequest) ProtoMessage added in v0.3.0

func (*OSLocatorRequest) ProtoMessage()

func (*OSLocatorRequest) Reset added in v0.3.0

func (m *OSLocatorRequest) Reset()

func (*OSLocatorRequest) Size added in v0.3.0

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

func (*OSLocatorRequest) String added in v0.3.0

func (m *OSLocatorRequest) String() string

func (*OSLocatorRequest) Unmarshal added in v0.3.0

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

func (*OSLocatorRequest) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorRequest) XXX_DiscardUnknown()

func (*OSLocatorRequest) XXX_Marshal added in v0.3.0

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

func (*OSLocatorRequest) XXX_Merge added in v0.3.0

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

func (*OSLocatorRequest) XXX_Size added in v0.3.0

func (m *OSLocatorRequest) XXX_Size() int

func (*OSLocatorRequest) XXX_Unmarshal added in v0.3.0

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

type OSLocatorResponse added in v0.3.0

type OSLocatorResponse struct {
	Locator *ObjectStoreLocator `protobuf:"bytes,1,opt,name=locator,proto3" json:"locator,omitempty"`
}

OSLocatorResponse is the response to a os locator request.

func (*OSLocatorResponse) Descriptor added in v0.3.0

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

func (*OSLocatorResponse) GetLocator added in v0.3.0

func (m *OSLocatorResponse) GetLocator() *ObjectStoreLocator

func (*OSLocatorResponse) Marshal added in v0.3.0

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

func (*OSLocatorResponse) MarshalTo added in v0.3.0

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

func (*OSLocatorResponse) MarshalToSizedBuffer added in v0.3.0

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

func (*OSLocatorResponse) ProtoMessage added in v0.3.0

func (*OSLocatorResponse) ProtoMessage()

func (*OSLocatorResponse) Reset added in v0.3.0

func (m *OSLocatorResponse) Reset()

func (*OSLocatorResponse) Size added in v0.3.0

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

func (*OSLocatorResponse) String added in v0.3.0

func (m *OSLocatorResponse) String() string

func (*OSLocatorResponse) Unmarshal added in v0.3.0

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

func (*OSLocatorResponse) XXX_DiscardUnknown added in v0.3.0

func (m *OSLocatorResponse) XXX_DiscardUnknown()

func (*OSLocatorResponse) XXX_Marshal added in v0.3.0

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

func (*OSLocatorResponse) XXX_Merge added in v0.3.0

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

func (*OSLocatorResponse) XXX_Size added in v0.3.0

func (m *OSLocatorResponse) XXX_Size() int

func (*OSLocatorResponse) XXX_Unmarshal added in v0.3.0

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

type ObjectStoreLocator added in v0.3.0

type ObjectStoreLocator struct {
	// account address the endpoint is owned by
	Owner string `protobuf:"bytes,1,opt,name=owner,proto3" json:"owner,omitempty"`
	// locator endpoint uri
	LocatorUri string `protobuf:"bytes,2,opt,name=locator_uri,json=locatorUri,proto3" json:"locator_uri,omitempty"`
}

Defines an Locator object stored on chain, which represents a owner( blockchain address) associated with a endpoint uri for it's associated object store.

func NewOSLocatorRecord added in v0.3.0

func NewOSLocatorRecord(ownerAddr sdk.AccAddress, uri string) ObjectStoreLocator

NewOSLocatorRecord creates a oslocator for a given address.

func (*ObjectStoreLocator) Descriptor added in v0.3.0

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

func (*ObjectStoreLocator) GetLocatorUri added in v0.3.0

func (m *ObjectStoreLocator) GetLocatorUri() string

func (*ObjectStoreLocator) GetOwner added in v0.3.0

func (m *ObjectStoreLocator) GetOwner() string

func (*ObjectStoreLocator) Marshal added in v0.3.0

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

func (*ObjectStoreLocator) MarshalTo added in v0.3.0

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

func (*ObjectStoreLocator) MarshalToSizedBuffer added in v0.3.0

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

func (*ObjectStoreLocator) ProtoMessage added in v0.3.0

func (*ObjectStoreLocator) ProtoMessage()

func (*ObjectStoreLocator) Reset added in v0.3.0

func (m *ObjectStoreLocator) Reset()

func (*ObjectStoreLocator) Size added in v0.3.0

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

func (*ObjectStoreLocator) String added in v0.3.0

func (m *ObjectStoreLocator) String() string

func (*ObjectStoreLocator) Unmarshal added in v0.3.0

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

func (*ObjectStoreLocator) XXX_DiscardUnknown added in v0.3.0

func (m *ObjectStoreLocator) XXX_DiscardUnknown()

func (*ObjectStoreLocator) XXX_Marshal added in v0.3.0

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

func (*ObjectStoreLocator) XXX_Merge added in v0.3.0

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

func (*ObjectStoreLocator) XXX_Size added in v0.3.0

func (m *ObjectStoreLocator) XXX_Size() int

func (*ObjectStoreLocator) XXX_Unmarshal added in v0.3.0

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

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.
	ScopeUuids []string `protobuf:"bytes,1,rep,name=scope_uuids,json=scopeUuids,proto3" json:"scope_uuids,omitempty" yaml:"scope_uuids"`
	// 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) GetScopeUuids added in v0.1.5

func (m *OwnershipResponse) GetScopeUuids() []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 P8EData added in v0.3.0

type P8EData struct {
	Scope   *Scope
	Session *Session
	Records []*Record
}

func ConvertP8eMemorializeContractRequest added in v0.3.0

func ConvertP8eMemorializeContractRequest(msg *MsgP8EMemorializeContractRequest) (P8EData, []string, error)

Migrate Converts a MsgP8EMemorializeContractRequest object into the new objects. The following fields require looking up specs and should be overwritten accordingly:

  • P8EData.Records[*].Process.ProcessId from the contract specification Source?
  • P8EData.Records[*].Inputs[*].Status from the record specification ResultType

type Params

type Params struct {
}

Params defines the set of params for the metadata 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 associated 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 NewProcess added in v0.1.5

func NewProcess(name string, processID isProcess_ProcessId, method string) *Process

NewProcess creates a new instance of Process

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 (ps Process) String() string

String implements stringer interface

func (*Process) Unmarshal

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

func (Process) ValidateBasic added in v0.1.5

func (ps Process) ValidateBasic() error

ValidateBasic performs a static check over the process format

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 ProcessID added in v0.3.0

type ProcessID isProcess_ProcessId

ProcessID is a publicly exposed isProcess_ProcessId

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 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)
	// SessionContextByUUID returns a specific session context within a scope (or all sessions)
	SessionContextByUUID(ctx context.Context, in *SessionContextByUUIDRequest, opts ...grpc.CallOption) (*SessionContextByUUIDResponse, error)
	// SessionContextByID returns a specific session context within a scope (or all sessions)
	SessionContextByID(ctx context.Context, in *SessionContextByIDRequest, opts ...grpc.CallOption) (*SessionContextByIDResponse, error)
	// RecordsByScopeUUID returns a collection of the records in a scope by scope uuid or a specific one by name
	RecordsByScopeUUID(ctx context.Context, in *RecordsByScopeUUIDRequest, opts ...grpc.CallOption) (*RecordsByScopeUUIDResponse, error)
	// RecordsByScopeID returns a collection of the records in a scope by scope bech32 id or a specific one by name
	RecordsByScopeID(ctx context.Context, in *RecordsByScopeIDRequest, opts ...grpc.CallOption) (*RecordsByScopeIDResponse, 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)
	// ScopeSpecification returns a scope specification for the given specification uuid
	ScopeSpecification(ctx context.Context, in *ScopeSpecificationRequest, opts ...grpc.CallOption) (*ScopeSpecificationResponse, error)
	// ContractSpecification returns a contract specification for the given specification uuid
	ContractSpecification(ctx context.Context, in *ContractSpecificationRequest, opts ...grpc.CallOption) (*ContractSpecificationResponse, error)
	// ContractSpecification returns a contract specification and record specifications for the given contract
	// specification uuid
	ContractSpecificationExtended(ctx context.Context, in *ContractSpecificationExtendedRequest, opts ...grpc.CallOption) (*ContractSpecificationExtendedResponse, error)
	// RecordSpecificationsForContractSpecification returns the record specifications for the given contract specification
	// uuid
	RecordSpecificationsForContractSpecification(ctx context.Context, in *RecordSpecificationsForContractSpecificationRequest, opts ...grpc.CallOption) (*RecordSpecificationsForContractSpecificationResponse, error)
	// RecordSpecification returns a record specification for the given contract specification uuid and record name
	RecordSpecification(ctx context.Context, in *RecordSpecificationRequest, opts ...grpc.CallOption) (*RecordSpecificationResponse, error)
	// RecordSpecificationByID returns a record specification for the given record specification id
	RecordSpecificationByID(ctx context.Context, in *RecordSpecificationByIDRequest, opts ...grpc.CallOption) (*RecordSpecificationByIDResponse, error)
	// ---- OS locator methods -----
	// Params queries all parameters for os locator sub module.
	OSLocatorParams(ctx context.Context, in *OSLocatorParamsRequest, opts ...grpc.CallOption) (*OSLocatorParamsResponse, error)
	// for querying oslocator by address.
	OSLocator(ctx context.Context, in *OSLocatorRequest, opts ...grpc.CallOption) (*OSLocatorResponse, error)
	// for querying oslocator by uri.
	OSLocatorByURI(ctx context.Context, in *OSLocatorByURIRequest, opts ...grpc.CallOption) (*OSLocatorByURIResponse, error)
	// for querying all the oslocator for all signer's present in a scope uuid.
	OSLocatorByScopeUUID(ctx context.Context, in *OSLocatorByScopeUUIDRequest, opts ...grpc.CallOption) (*OSLocatorByScopeUUIDResponse, error)
	// get all os locators
	OSAllLocators(ctx context.Context, in *OSAllLocatorsRequest, opts ...grpc.CallOption) (*OSAllLocatorsResponse, 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 QueryResScopeSpec added in v0.1.5

type QueryResScopeSpec struct {
	ScopeSpecification ScopeSpecification `json:"scope_specification" yaml:"scope_specification"`
}

QueryResScopeSpec is the result of a query for a scope specification.

func NewQueryResScopeSpec added in v0.1.5

func NewQueryResScopeSpec(
	scopeSpecification ScopeSpecification,
) *QueryResScopeSpec

NewQueryResScopeSpec creates a new QueryResScopeSpec object.

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)
	// SessionContextByUUID returns a specific session context within a scope (or all sessions)
	SessionContextByUUID(context.Context, *SessionContextByUUIDRequest) (*SessionContextByUUIDResponse, error)
	// SessionContextByID returns a specific session context within a scope (or all sessions)
	SessionContextByID(context.Context, *SessionContextByIDRequest) (*SessionContextByIDResponse, error)
	// RecordsByScopeUUID returns a collection of the records in a scope by scope uuid or a specific one by name
	RecordsByScopeUUID(context.Context, *RecordsByScopeUUIDRequest) (*RecordsByScopeUUIDResponse, error)
	// RecordsByScopeID returns a collection of the records in a scope by scope bech32 id or a specific one by name
	RecordsByScopeID(context.Context, *RecordsByScopeIDRequest) (*RecordsByScopeIDResponse, 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)
	// ScopeSpecification returns a scope specification for the given specification uuid
	ScopeSpecification(context.Context, *ScopeSpecificationRequest) (*ScopeSpecificationResponse, error)
	// ContractSpecification returns a contract specification for the given specification uuid
	ContractSpecification(context.Context, *ContractSpecificationRequest) (*ContractSpecificationResponse, error)
	// ContractSpecification returns a contract specification and record specifications for the given contract
	// specification uuid
	ContractSpecificationExtended(context.Context, *ContractSpecificationExtendedRequest) (*ContractSpecificationExtendedResponse, error)
	// RecordSpecificationsForContractSpecification returns the record specifications for the given contract specification
	// uuid
	RecordSpecificationsForContractSpecification(context.Context, *RecordSpecificationsForContractSpecificationRequest) (*RecordSpecificationsForContractSpecificationResponse, error)
	// RecordSpecification returns a record specification for the given contract specification uuid and record name
	RecordSpecification(context.Context, *RecordSpecificationRequest) (*RecordSpecificationResponse, error)
	// RecordSpecificationByID returns a record specification for the given record specification id
	RecordSpecificationByID(context.Context, *RecordSpecificationByIDRequest) (*RecordSpecificationByIDResponse, error)
	// ---- OS locator methods -----
	// Params queries all parameters for os locator sub module.
	OSLocatorParams(context.Context, *OSLocatorParamsRequest) (*OSLocatorParamsResponse, error)
	// for querying oslocator by address.
	OSLocator(context.Context, *OSLocatorRequest) (*OSLocatorResponse, error)
	// for querying oslocator by uri.
	OSLocatorByURI(context.Context, *OSLocatorByURIRequest) (*OSLocatorByURIResponse, error)
	// for querying all the oslocator for all signer's present in a scope uuid.
	OSLocatorByScopeUUID(context.Context, *OSLocatorByScopeUUIDRequest) (*OSLocatorByScopeUUIDResponse, error)
	// get all os locators
	OSAllLocators(context.Context, *OSAllLocatorsRequest) (*OSAllLocatorsResponse, error)
}

QueryServer is the server API for Query service.

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 session context that was used to create this record (use with filtered kvprefix iterator)
	SessionId MetadataAddress `` /* 141-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 achieve 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
	Outputs []RecordOutput `protobuf:"bytes,5,rep,name=outputs,proto3" json:"outputs"`
}

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

func NewRecord added in v0.1.5

func NewRecord(name string, sessionID MetadataAddress, process Process, inputs []RecordInput, outputs []RecordOutput) *Record

NewRecord creates new instance of Record

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) GetOutputs added in v0.1.5

func (m *Record) GetOutputs() []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 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 NewRecordInput added in v0.1.5

func NewRecordInput(name string, source isRecordInput_Source, typeName string, status RecordInputStatus) *RecordInput

NewRecordInput creates new instance of RecordInput

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 NewRecordOutput added in v0.1.5

func NewRecordOutput(hash string, status ResultStatus) *RecordOutput

NewRecordOutput creates a new instance of RecordOutput

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 (ro RecordOutput) String() string

String implements stringer interface

func (*RecordOutput) Unmarshal

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

func (RecordOutput) ValidateBasic added in v0.1.5

func (ro RecordOutput) ValidateBasic() error

ValidateBasic performs a static check over the record output format

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 RecordSpecification

type RecordSpecification struct {
	// unique identifier for this specification on chain
	SpecificationId MetadataAddress `` /* 147-byte string literal not displayed */
	// Name of Record that will be created when this specification is used
	Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
	// A set of inputs that must be satisified to apply this RecordSpecification and create a Record
	Inputs []*InputSpecification `protobuf:"bytes,3,rep,name=inputs,proto3" json:"inputs,omitempty"`
	// A type name for data associated with this record (typically a class or proto name)
	TypeName string `protobuf:"bytes,4,opt,name=type_name,json=typeName,proto3" json:"type_name,omitempty" yaml:"type_name"`
	// Type of result for this record specification (must be RECORD or RECORD_LIST)
	ResultType DefinitionType `` /* 154-byte string literal not displayed */
	// Type of party responsible for this record
	ResponsibleParties []PartyType `` /* 188-byte string literal not displayed */
}

RecordSpecification defines the specification for a Record including allowed/required inputs/outputs

func NewRecordSpecification added in v0.2.0

func NewRecordSpecification(
	specificationID MetadataAddress,
	name string,
	inputs []*InputSpecification,
	typeName string,
	resultType DefinitionType,
	responsibleParties []PartyType,
) *RecordSpecification

NewRecordSpecification creates a new RecordSpecification instance

func (*RecordSpecification) Descriptor

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

func (*RecordSpecification) GetInputs added in v0.1.5

func (m *RecordSpecification) GetInputs() []*InputSpecification

func (*RecordSpecification) GetName added in v0.1.5

func (m *RecordSpecification) GetName() string

func (*RecordSpecification) GetResponsibleParties added in v0.2.0

func (m *RecordSpecification) GetResponsibleParties() []PartyType

func (*RecordSpecification) GetResultType added in v0.1.5

func (m *RecordSpecification) GetResultType() DefinitionType

func (*RecordSpecification) GetTypeName added in v0.1.5

func (m *RecordSpecification) GetTypeName() string

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 (s RecordSpecification) String() string

String implements stringer interface

func (*RecordSpecification) Unmarshal

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

func (*RecordSpecification) ValidateBasic added in v0.1.5

func (s *RecordSpecification) ValidateBasic() error

ValidateBasic performs basic format checking of data in a RecordSpecification

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 RecordSpecificationByIDRequest added in v0.2.1

type RecordSpecificationByIDRequest struct {
	RecordSpecificationId string `` /* 157-byte string literal not displayed */
}

RecordSpecificationByIDRequest is used for requesting a record specification by id

func (*RecordSpecificationByIDRequest) Descriptor added in v0.2.1

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

func (*RecordSpecificationByIDRequest) GetRecordSpecificationId added in v0.2.1

func (m *RecordSpecificationByIDRequest) GetRecordSpecificationId() string

func (*RecordSpecificationByIDRequest) Marshal added in v0.2.1

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

func (*RecordSpecificationByIDRequest) MarshalTo added in v0.2.1

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

func (*RecordSpecificationByIDRequest) MarshalToSizedBuffer added in v0.2.1

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

func (*RecordSpecificationByIDRequest) ProtoMessage added in v0.2.1

func (*RecordSpecificationByIDRequest) ProtoMessage()

func (*RecordSpecificationByIDRequest) Reset added in v0.2.1

func (m *RecordSpecificationByIDRequest) Reset()

func (*RecordSpecificationByIDRequest) Size added in v0.2.1

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

func (*RecordSpecificationByIDRequest) String added in v0.2.1

func (*RecordSpecificationByIDRequest) Unmarshal added in v0.2.1

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

func (*RecordSpecificationByIDRequest) XXX_DiscardUnknown added in v0.2.1

func (m *RecordSpecificationByIDRequest) XXX_DiscardUnknown()

func (*RecordSpecificationByIDRequest) XXX_Marshal added in v0.2.1

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

func (*RecordSpecificationByIDRequest) XXX_Merge added in v0.2.1

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

func (*RecordSpecificationByIDRequest) XXX_Size added in v0.2.1

func (m *RecordSpecificationByIDRequest) XXX_Size() int

func (*RecordSpecificationByIDRequest) XXX_Unmarshal added in v0.2.1

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

type RecordSpecificationByIDResponse added in v0.2.1

type RecordSpecificationByIDResponse struct {
	RecordSpecification   *RecordSpecification `` /* 146-byte string literal not displayed */
	RecordSpecificationId string               `` /* 157-byte string literal not displayed */
}

RecordSpecificationByIDResponse is the response to a record specification by id request.

func (*RecordSpecificationByIDResponse) Descriptor added in v0.2.1

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

func (*RecordSpecificationByIDResponse) GetRecordSpecification added in v0.2.1

func (m *RecordSpecificationByIDResponse) GetRecordSpecification() *RecordSpecification

func (*RecordSpecificationByIDResponse) GetRecordSpecificationId added in v0.2.1

func (m *RecordSpecificationByIDResponse) GetRecordSpecificationId() string

func (*RecordSpecificationByIDResponse) Marshal added in v0.2.1

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

func (*RecordSpecificationByIDResponse) MarshalTo added in v0.2.1

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

func (*RecordSpecificationByIDResponse) MarshalToSizedBuffer added in v0.2.1

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

func (*RecordSpecificationByIDResponse) ProtoMessage added in v0.2.1

func (*RecordSpecificationByIDResponse) ProtoMessage()

func (*RecordSpecificationByIDResponse) Reset added in v0.2.1

func (*RecordSpecificationByIDResponse) Size added in v0.2.1

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

func (*RecordSpecificationByIDResponse) String added in v0.2.1

func (*RecordSpecificationByIDResponse) Unmarshal added in v0.2.1

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

func (*RecordSpecificationByIDResponse) XXX_DiscardUnknown added in v0.2.1

func (m *RecordSpecificationByIDResponse) XXX_DiscardUnknown()

func (*RecordSpecificationByIDResponse) XXX_Marshal added in v0.2.1

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

func (*RecordSpecificationByIDResponse) XXX_Merge added in v0.2.1

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

func (*RecordSpecificationByIDResponse) XXX_Size added in v0.2.1

func (m *RecordSpecificationByIDResponse) XXX_Size() int

func (*RecordSpecificationByIDResponse) XXX_Unmarshal added in v0.2.1

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

type RecordSpecificationRequest added in v0.2.0

type RecordSpecificationRequest struct {
	ContractSpecificationUuid string `` /* 173-byte string literal not displayed */
	Name                      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

RecordSpecificationRequest is used for requesting a record specification by contract spec uuid and record name

func (*RecordSpecificationRequest) Descriptor added in v0.2.0

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

func (*RecordSpecificationRequest) GetContractSpecificationUuid added in v0.2.0

func (m *RecordSpecificationRequest) GetContractSpecificationUuid() string

func (*RecordSpecificationRequest) GetName added in v0.2.0

func (m *RecordSpecificationRequest) GetName() string

func (*RecordSpecificationRequest) Marshal added in v0.2.0

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

func (*RecordSpecificationRequest) MarshalTo added in v0.2.0

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

func (*RecordSpecificationRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*RecordSpecificationRequest) ProtoMessage added in v0.2.0

func (*RecordSpecificationRequest) ProtoMessage()

func (*RecordSpecificationRequest) Reset added in v0.2.0

func (m *RecordSpecificationRequest) Reset()

func (*RecordSpecificationRequest) Size added in v0.2.0

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

func (*RecordSpecificationRequest) String added in v0.2.0

func (m *RecordSpecificationRequest) String() string

func (*RecordSpecificationRequest) Unmarshal added in v0.2.0

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

func (*RecordSpecificationRequest) XXX_DiscardUnknown added in v0.2.0

func (m *RecordSpecificationRequest) XXX_DiscardUnknown()

func (*RecordSpecificationRequest) XXX_Marshal added in v0.2.0

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

func (*RecordSpecificationRequest) XXX_Merge added in v0.2.0

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

func (*RecordSpecificationRequest) XXX_Size added in v0.2.0

func (m *RecordSpecificationRequest) XXX_Size() int

func (*RecordSpecificationRequest) XXX_Unmarshal added in v0.2.0

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

type RecordSpecificationResponse added in v0.2.0

type RecordSpecificationResponse struct {
	RecordSpecification       *RecordSpecification `` /* 146-byte string literal not displayed */
	ContractSpecificationUuid string               `` /* 173-byte string literal not displayed */
	Name                      string               `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
}

RecordSpecificationResponse is the response to a record specification request.

func (*RecordSpecificationResponse) Descriptor added in v0.2.0

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

func (*RecordSpecificationResponse) GetContractSpecificationUuid added in v0.2.1

func (m *RecordSpecificationResponse) GetContractSpecificationUuid() string

func (*RecordSpecificationResponse) GetName added in v0.2.1

func (m *RecordSpecificationResponse) GetName() string

func (*RecordSpecificationResponse) GetRecordSpecification added in v0.2.0

func (m *RecordSpecificationResponse) GetRecordSpecification() *RecordSpecification

func (*RecordSpecificationResponse) Marshal added in v0.2.0

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

func (*RecordSpecificationResponse) MarshalTo added in v0.2.0

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

func (*RecordSpecificationResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*RecordSpecificationResponse) ProtoMessage added in v0.2.0

func (*RecordSpecificationResponse) ProtoMessage()

func (*RecordSpecificationResponse) Reset added in v0.2.0

func (m *RecordSpecificationResponse) Reset()

func (*RecordSpecificationResponse) Size added in v0.2.0

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

func (*RecordSpecificationResponse) String added in v0.2.0

func (m *RecordSpecificationResponse) String() string

func (*RecordSpecificationResponse) Unmarshal added in v0.2.0

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

func (*RecordSpecificationResponse) XXX_DiscardUnknown added in v0.2.0

func (m *RecordSpecificationResponse) XXX_DiscardUnknown()

func (*RecordSpecificationResponse) XXX_Marshal added in v0.2.0

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

func (*RecordSpecificationResponse) XXX_Merge added in v0.2.0

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

func (*RecordSpecificationResponse) XXX_Size added in v0.2.0

func (m *RecordSpecificationResponse) XXX_Size() int

func (*RecordSpecificationResponse) XXX_Unmarshal added in v0.2.0

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

type RecordSpecificationsForContractSpecificationRequest added in v0.2.0

type RecordSpecificationsForContractSpecificationRequest struct {
	ContractSpecificationUuid string `` /* 173-byte string literal not displayed */
}

RecordSpecificationsForContractSpecificationRequest is used for requesting record specifications by contract specification uuid

func (*RecordSpecificationsForContractSpecificationRequest) Descriptor added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) GetContractSpecificationUuid added in v0.2.0

func (m *RecordSpecificationsForContractSpecificationRequest) GetContractSpecificationUuid() string

func (*RecordSpecificationsForContractSpecificationRequest) Marshal added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) MarshalTo added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*RecordSpecificationsForContractSpecificationRequest) ProtoMessage added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) Reset added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) Size added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) String added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) Unmarshal added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) XXX_DiscardUnknown added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) XXX_Marshal added in v0.2.0

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

func (*RecordSpecificationsForContractSpecificationRequest) XXX_Merge added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) XXX_Size added in v0.2.0

func (*RecordSpecificationsForContractSpecificationRequest) XXX_Unmarshal added in v0.2.0

type RecordSpecificationsForContractSpecificationResponse added in v0.2.0

type RecordSpecificationsForContractSpecificationResponse struct {
	RecordSpecifications      []*RecordSpecification `` /* 150-byte string literal not displayed */
	ContractSpecificationUuid string                 `` /* 173-byte string literal not displayed */
}

RecordSpecificationResponseResponse is the response to a record specification for contract specification request.

func (*RecordSpecificationsForContractSpecificationResponse) Descriptor added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) GetContractSpecificationUuid added in v0.2.1

func (m *RecordSpecificationsForContractSpecificationResponse) GetContractSpecificationUuid() string

func (*RecordSpecificationsForContractSpecificationResponse) GetRecordSpecifications added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) Marshal added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) MarshalTo added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*RecordSpecificationsForContractSpecificationResponse) ProtoMessage added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) Reset added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) Size added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) String added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) Unmarshal added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) XXX_DiscardUnknown added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) XXX_Marshal added in v0.2.0

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

func (*RecordSpecificationsForContractSpecificationResponse) XXX_Merge added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) XXX_Size added in v0.2.0

func (*RecordSpecificationsForContractSpecificationResponse) XXX_Unmarshal added in v0.2.0

type RecordsByScopeIDRequest added in v0.1.5

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

RecordsByScopeIDRequest is a request for all of the records in a specific scope by bech32 id or a specific record if a name is given.

func (*RecordsByScopeIDRequest) Descriptor added in v0.1.5

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

func (*RecordsByScopeIDRequest) GetName added in v0.1.5

func (m *RecordsByScopeIDRequest) GetName() string

func (*RecordsByScopeIDRequest) GetScopeId added in v0.1.5

func (m *RecordsByScopeIDRequest) GetScopeId() string

func (*RecordsByScopeIDRequest) Marshal added in v0.1.5

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

func (*RecordsByScopeIDRequest) MarshalTo added in v0.1.5

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

func (*RecordsByScopeIDRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*RecordsByScopeIDRequest) ProtoMessage added in v0.1.5

func (*RecordsByScopeIDRequest) ProtoMessage()

func (*RecordsByScopeIDRequest) Reset added in v0.1.5

func (m *RecordsByScopeIDRequest) Reset()

func (*RecordsByScopeIDRequest) Size added in v0.1.5

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

func (*RecordsByScopeIDRequest) String added in v0.1.5

func (m *RecordsByScopeIDRequest) String() string

func (*RecordsByScopeIDRequest) Unmarshal added in v0.1.5

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

func (*RecordsByScopeIDRequest) XXX_DiscardUnknown added in v0.1.5

func (m *RecordsByScopeIDRequest) XXX_DiscardUnknown()

func (*RecordsByScopeIDRequest) XXX_Marshal added in v0.1.5

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

func (*RecordsByScopeIDRequest) XXX_Merge added in v0.1.5

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

func (*RecordsByScopeIDRequest) XXX_Size added in v0.1.5

func (m *RecordsByScopeIDRequest) XXX_Size() int

func (*RecordsByScopeIDRequest) XXX_Unmarshal added in v0.1.5

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

type RecordsByScopeIDResponse added in v0.1.5

type RecordsByScopeIDResponse struct {
	ScopeUuid string    `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
	ScopeId   string    `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" yaml:"scope_id"`
	Records   []*Record `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
}

RecordsByScopeIDResponse is the response to a RecordsByScopeIDRequest

func (*RecordsByScopeIDResponse) Descriptor added in v0.1.5

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

func (*RecordsByScopeIDResponse) GetRecords added in v0.1.5

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

func (*RecordsByScopeIDResponse) GetScopeId added in v0.1.5

func (m *RecordsByScopeIDResponse) GetScopeId() string

func (*RecordsByScopeIDResponse) GetScopeUuid added in v0.1.5

func (m *RecordsByScopeIDResponse) GetScopeUuid() string

func (*RecordsByScopeIDResponse) Marshal added in v0.1.5

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

func (*RecordsByScopeIDResponse) MarshalTo added in v0.1.5

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

func (*RecordsByScopeIDResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*RecordsByScopeIDResponse) ProtoMessage added in v0.1.5

func (*RecordsByScopeIDResponse) ProtoMessage()

func (*RecordsByScopeIDResponse) Reset added in v0.1.5

func (m *RecordsByScopeIDResponse) Reset()

func (*RecordsByScopeIDResponse) Size added in v0.1.5

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

func (*RecordsByScopeIDResponse) String added in v0.1.5

func (m *RecordsByScopeIDResponse) String() string

func (*RecordsByScopeIDResponse) Unmarshal added in v0.1.5

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

func (*RecordsByScopeIDResponse) XXX_DiscardUnknown added in v0.1.5

func (m *RecordsByScopeIDResponse) XXX_DiscardUnknown()

func (*RecordsByScopeIDResponse) XXX_Marshal added in v0.1.5

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

func (*RecordsByScopeIDResponse) XXX_Merge added in v0.1.5

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

func (*RecordsByScopeIDResponse) XXX_Size added in v0.1.5

func (m *RecordsByScopeIDResponse) XXX_Size() int

func (*RecordsByScopeIDResponse) XXX_Unmarshal added in v0.1.5

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

type RecordsByScopeUUIDRequest added in v0.1.5

type RecordsByScopeUUIDRequest struct {
	ScopeUuid string `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
	Name      string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
}

RecordsByScopeUUIDRequest is a request for all of the records in a specific scope by uuid or a specific record if a name is given.

func (*RecordsByScopeUUIDRequest) Descriptor added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) GetName added in v0.1.5

func (m *RecordsByScopeUUIDRequest) GetName() string

func (*RecordsByScopeUUIDRequest) GetScopeUuid added in v0.1.5

func (m *RecordsByScopeUUIDRequest) GetScopeUuid() string

func (*RecordsByScopeUUIDRequest) Marshal added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) MarshalTo added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) ProtoMessage added in v0.1.5

func (*RecordsByScopeUUIDRequest) ProtoMessage()

func (*RecordsByScopeUUIDRequest) Reset added in v0.1.5

func (m *RecordsByScopeUUIDRequest) Reset()

func (*RecordsByScopeUUIDRequest) Size added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) String added in v0.1.5

func (m *RecordsByScopeUUIDRequest) String() string

func (*RecordsByScopeUUIDRequest) Unmarshal added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) XXX_DiscardUnknown added in v0.1.5

func (m *RecordsByScopeUUIDRequest) XXX_DiscardUnknown()

func (*RecordsByScopeUUIDRequest) XXX_Marshal added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) XXX_Merge added in v0.1.5

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

func (*RecordsByScopeUUIDRequest) XXX_Size added in v0.1.5

func (m *RecordsByScopeUUIDRequest) XXX_Size() int

func (*RecordsByScopeUUIDRequest) XXX_Unmarshal added in v0.1.5

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

type RecordsByScopeUUIDResponse added in v0.1.5

type RecordsByScopeUUIDResponse struct {
	ScopeUuid string    `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
	ScopeId   string    `protobuf:"bytes,2,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" yaml:"scope_id"`
	Records   []*Record `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
}

RecordsByScopeUUIDResponse is the response to a RecordsByScopeUUIDRequest

func (*RecordsByScopeUUIDResponse) Descriptor added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) GetRecords added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) GetScopeId added in v0.1.5

func (m *RecordsByScopeUUIDResponse) GetScopeId() string

func (*RecordsByScopeUUIDResponse) GetScopeUuid added in v0.1.5

func (m *RecordsByScopeUUIDResponse) GetScopeUuid() string

func (*RecordsByScopeUUIDResponse) Marshal added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) MarshalTo added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) ProtoMessage added in v0.1.5

func (*RecordsByScopeUUIDResponse) ProtoMessage()

func (*RecordsByScopeUUIDResponse) Reset added in v0.1.5

func (m *RecordsByScopeUUIDResponse) Reset()

func (*RecordsByScopeUUIDResponse) Size added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) String added in v0.1.5

func (m *RecordsByScopeUUIDResponse) String() string

func (*RecordsByScopeUUIDResponse) Unmarshal added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) XXX_DiscardUnknown added in v0.1.5

func (m *RecordsByScopeUUIDResponse) XXX_DiscardUnknown()

func (*RecordsByScopeUUIDResponse) XXX_Marshal added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) XXX_Merge added in v0.1.5

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

func (*RecordsByScopeUUIDResponse) XXX_Size added in v0.1.5

func (m *RecordsByScopeUUIDResponse) XXX_Size() int

func (*RecordsByScopeUUIDResponse) XXX_Unmarshal added in v0.1.5

func (m *RecordsByScopeUUIDResponse) 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 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 sessions.
	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 {
	ScopeUuid string `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
}

ScopeRequest is used for requesting a scope by id

func (*ScopeRequest) Descriptor

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

func (*ScopeRequest) GetScopeUuid added in v0.1.5

func (m *ScopeRequest) GetScopeUuid() 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"`
	Sessions  []*Session `protobuf:"bytes,2,rep,name=sessions,proto3" json:"sessions,omitempty"`
	Records   []*Record  `protobuf:"bytes,3,rep,name=records,proto3" json:"records,omitempty"`
	ScopeUuid string     `protobuf:"bytes,4,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
}

ScopeResponse is the response to a scope request.

func (*ScopeResponse) Descriptor

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

func (*ScopeResponse) GetRecords

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

func (*ScopeResponse) GetScope

func (m *ScopeResponse) GetScope() *Scope

func (*ScopeResponse) GetScopeUuid added in v0.2.1

func (m *ScopeResponse) GetScopeUuid() string

func (*ScopeResponse) GetSessions added in v0.2.0

func (m *ScopeResponse) GetSessions() []*Session

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 `` /* 126-byte string literal not displayed */
	// 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 contract specification ids allowed for a scope based on this specification.
	ContractSpecIds []MetadataAddress `` /* 150-byte string literal not displayed */
}

ScopeSpecification defines the required parties, resources, conditions, and consideration outputs for a contract

func NewScopeSpecification added in v0.1.5

func NewScopeSpecification(
	specificationID MetadataAddress,
	description *Description,
	ownerAddresses []string,
	partiesInvolved []PartyType,
	contractSpecIDs []MetadataAddress,
) *ScopeSpecification

NewScopeSpecification creates a new ScopeSpecification instance.

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 (s ScopeSpecification) String() string

String implements stringer interface

func (*ScopeSpecification) Unmarshal

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

func (*ScopeSpecification) ValidateBasic added in v0.1.5

func (s *ScopeSpecification) ValidateBasic() error

ValidateBasic performs basic format checking of data in a ScopeSpecification

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 ScopeSpecificationRequest added in v0.1.5

type ScopeSpecificationRequest struct {
	SpecificationUuid string `` /* 138-byte string literal not displayed */
}

ScopeSpecificationRequest is used for requesting a scope specification by uuid

func (*ScopeSpecificationRequest) Descriptor added in v0.1.5

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

func (*ScopeSpecificationRequest) GetSpecificationUuid added in v0.1.5

func (m *ScopeSpecificationRequest) GetSpecificationUuid() string

func (*ScopeSpecificationRequest) Marshal added in v0.1.5

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

func (*ScopeSpecificationRequest) MarshalTo added in v0.1.5

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

func (*ScopeSpecificationRequest) MarshalToSizedBuffer added in v0.1.5

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

func (*ScopeSpecificationRequest) ProtoMessage added in v0.1.5

func (*ScopeSpecificationRequest) ProtoMessage()

func (*ScopeSpecificationRequest) Reset added in v0.1.5

func (m *ScopeSpecificationRequest) Reset()

func (*ScopeSpecificationRequest) Size added in v0.1.5

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

func (*ScopeSpecificationRequest) String added in v0.1.5

func (m *ScopeSpecificationRequest) String() string

func (*ScopeSpecificationRequest) Unmarshal added in v0.1.5

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

func (*ScopeSpecificationRequest) XXX_DiscardUnknown added in v0.1.5

func (m *ScopeSpecificationRequest) XXX_DiscardUnknown()

func (*ScopeSpecificationRequest) XXX_Marshal added in v0.1.5

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

func (*ScopeSpecificationRequest) XXX_Merge added in v0.1.5

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

func (*ScopeSpecificationRequest) XXX_Size added in v0.1.5

func (m *ScopeSpecificationRequest) XXX_Size() int

func (*ScopeSpecificationRequest) XXX_Unmarshal added in v0.1.5

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

type ScopeSpecificationResponse added in v0.1.5

type ScopeSpecificationResponse struct {
	ScopeSpecification *ScopeSpecification `` /* 142-byte string literal not displayed */
	SpecificationUuid  string              `` /* 138-byte string literal not displayed */
}

ScopeSpecification is the response to a scope specification request.

func (*ScopeSpecificationResponse) Descriptor added in v0.1.5

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

func (*ScopeSpecificationResponse) GetScopeSpecification added in v0.1.5

func (m *ScopeSpecificationResponse) GetScopeSpecification() *ScopeSpecification

func (*ScopeSpecificationResponse) GetSpecificationUuid added in v0.2.1

func (m *ScopeSpecificationResponse) GetSpecificationUuid() string

func (*ScopeSpecificationResponse) Marshal added in v0.1.5

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

func (*ScopeSpecificationResponse) MarshalTo added in v0.1.5

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

func (*ScopeSpecificationResponse) MarshalToSizedBuffer added in v0.1.5

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

func (*ScopeSpecificationResponse) ProtoMessage added in v0.1.5

func (*ScopeSpecificationResponse) ProtoMessage()

func (*ScopeSpecificationResponse) Reset added in v0.1.5

func (m *ScopeSpecificationResponse) Reset()

func (*ScopeSpecificationResponse) Size added in v0.1.5

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

func (*ScopeSpecificationResponse) String added in v0.1.5

func (m *ScopeSpecificationResponse) String() string

func (*ScopeSpecificationResponse) Unmarshal added in v0.1.5

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

func (*ScopeSpecificationResponse) XXX_DiscardUnknown added in v0.1.5

func (m *ScopeSpecificationResponse) XXX_DiscardUnknown()

func (*ScopeSpecificationResponse) XXX_Marshal added in v0.1.5

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

func (*ScopeSpecificationResponse) XXX_Merge added in v0.1.5

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

func (*ScopeSpecificationResponse) XXX_Size added in v0.1.5

func (m *ScopeSpecificationResponse) XXX_Size() int

func (*ScopeSpecificationResponse) XXX_Unmarshal added in v0.1.5

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

type Session added in v0.2.0

type Session struct {
	SessionId MetadataAddress `` /* 141-byte string literal not displayed */
	// unique id of the contract specification that was used to create this session.
	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 session 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,omitempty" json:"audit,omitempty" yaml:"audit,omitempty"`
}

A Session is created for an execution context against a specific specification instance

The context will have a specification and set of parties involved. The Session 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 Session it is removed.

func NewSession added in v0.2.0

func NewSession(name string, sessionID, contractSpecification MetadataAddress, parties []Party, auditFields *AuditFields) *Session

NewSession creates a new instance

func (*Session) Descriptor added in v0.2.0

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

func (*Session) GetAudit added in v0.2.0

func (m *Session) GetAudit() *AuditFields

func (*Session) GetName added in v0.2.0

func (m *Session) GetName() string

func (*Session) GetParties added in v0.2.0

func (m *Session) GetParties() []Party

func (*Session) Marshal added in v0.2.0

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

func (*Session) MarshalTo added in v0.2.0

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

func (*Session) MarshalToSizedBuffer added in v0.2.0

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

func (*Session) ProtoMessage added in v0.2.0

func (*Session) ProtoMessage()

func (*Session) Reset added in v0.2.0

func (m *Session) Reset()

func (*Session) Size added in v0.2.0

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

func (Session) String added in v0.2.0

func (s Session) String() string

String implements stringer interface

func (*Session) Unmarshal added in v0.2.0

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

func (*Session) ValidateBasic added in v0.2.0

func (s *Session) ValidateBasic() error

ValidateBasic performs basic format checking of data within a scope

func (*Session) XXX_DiscardUnknown added in v0.2.0

func (m *Session) XXX_DiscardUnknown()

func (*Session) XXX_Marshal added in v0.2.0

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

func (*Session) XXX_Merge added in v0.2.0

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

func (*Session) XXX_Size added in v0.2.0

func (m *Session) XXX_Size() int

func (*Session) XXX_Unmarshal added in v0.2.0

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

type SessionContextByIDRequest added in v0.2.0

type SessionContextByIDRequest struct {
	ScopeId   string `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" yaml:"scope_id"`
	SessionId string `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" yaml:"session_id"`
}

SessionContextByIDRequest returns the record sessions for a given scope identifer or optionally a specific record session

func (*SessionContextByIDRequest) Descriptor added in v0.2.0

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

func (*SessionContextByIDRequest) GetScopeId added in v0.2.0

func (m *SessionContextByIDRequest) GetScopeId() string

func (*SessionContextByIDRequest) GetSessionId added in v0.2.0

func (m *SessionContextByIDRequest) GetSessionId() string

func (*SessionContextByIDRequest) Marshal added in v0.2.0

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

func (*SessionContextByIDRequest) MarshalTo added in v0.2.0

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

func (*SessionContextByIDRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*SessionContextByIDRequest) ProtoMessage added in v0.2.0

func (*SessionContextByIDRequest) ProtoMessage()

func (*SessionContextByIDRequest) Reset added in v0.2.0

func (m *SessionContextByIDRequest) Reset()

func (*SessionContextByIDRequest) Size added in v0.2.0

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

func (*SessionContextByIDRequest) String added in v0.2.0

func (m *SessionContextByIDRequest) String() string

func (*SessionContextByIDRequest) Unmarshal added in v0.2.0

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

func (*SessionContextByIDRequest) XXX_DiscardUnknown added in v0.2.0

func (m *SessionContextByIDRequest) XXX_DiscardUnknown()

func (*SessionContextByIDRequest) XXX_Marshal added in v0.2.0

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

func (*SessionContextByIDRequest) XXX_Merge added in v0.2.0

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

func (*SessionContextByIDRequest) XXX_Size added in v0.2.0

func (m *SessionContextByIDRequest) XXX_Size() int

func (*SessionContextByIDRequest) XXX_Unmarshal added in v0.2.0

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

type SessionContextByIDResponse added in v0.2.0

type SessionContextByIDResponse struct {
	ScopeId   string     `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" yaml:"scope_id"`
	SessionId string     `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" yaml:"session_id"`
	Sessions  []*Session `protobuf:"bytes,3,rep,name=sessions,proto3" json:"sessions,omitempty"`
}

SessionContextByIDResponse is the response to a SessionContextByIDRequest

func (*SessionContextByIDResponse) Descriptor added in v0.2.0

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

func (*SessionContextByIDResponse) GetScopeId added in v0.2.0

func (m *SessionContextByIDResponse) GetScopeId() string

func (*SessionContextByIDResponse) GetSessionId added in v0.2.0

func (m *SessionContextByIDResponse) GetSessionId() string

func (*SessionContextByIDResponse) GetSessions added in v0.2.0

func (m *SessionContextByIDResponse) GetSessions() []*Session

func (*SessionContextByIDResponse) Marshal added in v0.2.0

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

func (*SessionContextByIDResponse) MarshalTo added in v0.2.0

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

func (*SessionContextByIDResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*SessionContextByIDResponse) ProtoMessage added in v0.2.0

func (*SessionContextByIDResponse) ProtoMessage()

func (*SessionContextByIDResponse) Reset added in v0.2.0

func (m *SessionContextByIDResponse) Reset()

func (*SessionContextByIDResponse) Size added in v0.2.0

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

func (*SessionContextByIDResponse) String added in v0.2.0

func (m *SessionContextByIDResponse) String() string

func (*SessionContextByIDResponse) Unmarshal added in v0.2.0

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

func (*SessionContextByIDResponse) XXX_DiscardUnknown added in v0.2.0

func (m *SessionContextByIDResponse) XXX_DiscardUnknown()

func (*SessionContextByIDResponse) XXX_Marshal added in v0.2.0

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

func (*SessionContextByIDResponse) XXX_Merge added in v0.2.0

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

func (*SessionContextByIDResponse) XXX_Size added in v0.2.0

func (m *SessionContextByIDResponse) XXX_Size() int

func (*SessionContextByIDResponse) XXX_Unmarshal added in v0.2.0

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

type SessionContextByUUIDRequest added in v0.2.0

type SessionContextByUUIDRequest struct {
	ScopeUuid   string `protobuf:"bytes,1,opt,name=scope_uuid,json=scopeUuid,proto3" json:"scope_uuid,omitempty" yaml:"scope_uuid"`
	SessionUuid string `protobuf:"bytes,2,opt,name=session_uuid,json=sessionUuid,proto3" json:"session_uuid,omitempty" yaml:"session_uuid"`
}

SessionContextByUUIDRequest returns the record sessions for a given scope identifer or optionally a specific record session

func (*SessionContextByUUIDRequest) Descriptor added in v0.2.0

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

func (*SessionContextByUUIDRequest) GetScopeUuid added in v0.2.0

func (m *SessionContextByUUIDRequest) GetScopeUuid() string

func (*SessionContextByUUIDRequest) GetSessionUuid added in v0.2.0

func (m *SessionContextByUUIDRequest) GetSessionUuid() string

func (*SessionContextByUUIDRequest) Marshal added in v0.2.0

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

func (*SessionContextByUUIDRequest) MarshalTo added in v0.2.0

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

func (*SessionContextByUUIDRequest) MarshalToSizedBuffer added in v0.2.0

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

func (*SessionContextByUUIDRequest) ProtoMessage added in v0.2.0

func (*SessionContextByUUIDRequest) ProtoMessage()

func (*SessionContextByUUIDRequest) Reset added in v0.2.0

func (m *SessionContextByUUIDRequest) Reset()

func (*SessionContextByUUIDRequest) Size added in v0.2.0

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

func (*SessionContextByUUIDRequest) String added in v0.2.0

func (m *SessionContextByUUIDRequest) String() string

func (*SessionContextByUUIDRequest) Unmarshal added in v0.2.0

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

func (*SessionContextByUUIDRequest) XXX_DiscardUnknown added in v0.2.0

func (m *SessionContextByUUIDRequest) XXX_DiscardUnknown()

func (*SessionContextByUUIDRequest) XXX_Marshal added in v0.2.0

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

func (*SessionContextByUUIDRequest) XXX_Merge added in v0.2.0

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

func (*SessionContextByUUIDRequest) XXX_Size added in v0.2.0

func (m *SessionContextByUUIDRequest) XXX_Size() int

func (*SessionContextByUUIDRequest) XXX_Unmarshal added in v0.2.0

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

type SessionContextByUUIDResponse added in v0.2.0

type SessionContextByUUIDResponse struct {
	ScopeId   string     `protobuf:"bytes,1,opt,name=scope_id,json=scopeId,proto3" json:"scope_id,omitempty" yaml:"scope_id"`
	SessionId string     `protobuf:"bytes,2,opt,name=session_id,json=sessionId,proto3" json:"session_id,omitempty" yaml:"session_id"`
	Sessions  []*Session `protobuf:"bytes,3,rep,name=sessions,proto3" json:"sessions,omitempty"`
}

SessionContextByUUIDResponse is the response to a SessionContextByUUIDRequest

func (*SessionContextByUUIDResponse) Descriptor added in v0.2.0

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

func (*SessionContextByUUIDResponse) GetScopeId added in v0.2.0

func (m *SessionContextByUUIDResponse) GetScopeId() string

func (*SessionContextByUUIDResponse) GetSessionId added in v0.2.0

func (m *SessionContextByUUIDResponse) GetSessionId() string

func (*SessionContextByUUIDResponse) GetSessions added in v0.2.0

func (m *SessionContextByUUIDResponse) GetSessions() []*Session

func (*SessionContextByUUIDResponse) Marshal added in v0.2.0

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

func (*SessionContextByUUIDResponse) MarshalTo added in v0.2.0

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

func (*SessionContextByUUIDResponse) MarshalToSizedBuffer added in v0.2.0

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

func (*SessionContextByUUIDResponse) ProtoMessage added in v0.2.0

func (*SessionContextByUUIDResponse) ProtoMessage()

func (*SessionContextByUUIDResponse) Reset added in v0.2.0

func (m *SessionContextByUUIDResponse) Reset()

func (*SessionContextByUUIDResponse) Size added in v0.2.0

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

func (*SessionContextByUUIDResponse) String added in v0.2.0

func (*SessionContextByUUIDResponse) Unmarshal added in v0.2.0

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

func (*SessionContextByUUIDResponse) XXX_DiscardUnknown added in v0.2.0

func (m *SessionContextByUUIDResponse) XXX_DiscardUnknown()

func (*SessionContextByUUIDResponse) XXX_Marshal added in v0.2.0

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

func (*SessionContextByUUIDResponse) XXX_Merge added in v0.2.0

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

func (*SessionContextByUUIDResponse) XXX_Size added in v0.2.0

func (m *SessionContextByUUIDResponse) XXX_Size() int

func (*SessionContextByUUIDResponse) XXX_Unmarshal added in v0.2.0

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

type UnimplementedMsgServer

type UnimplementedMsgServer struct {
}

UnimplementedMsgServer can be embedded to have forward compatible implementations.

func (*UnimplementedMsgServer) AddContractSpecification added in v0.1.5

func (*UnimplementedMsgServer) AddP8EContractSpec added in v0.3.0

func (*UnimplementedMsgServer) AddRecord

func (*UnimplementedMsgServer) AddRecordSpecification added in v0.2.0

func (*UnimplementedMsgServer) AddScope

func (*UnimplementedMsgServer) AddScopeSpecification

func (*UnimplementedMsgServer) AddSession added in v0.2.0

func (*UnimplementedMsgServer) BindOSLocator added in v0.3.0

func (*UnimplementedMsgServer) DeleteContractSpecification added in v0.1.5

func (*UnimplementedMsgServer) DeleteOSLocator added in v0.3.0

func (*UnimplementedMsgServer) DeleteRecord added in v0.2.0

func (*UnimplementedMsgServer) DeleteRecordSpecification added in v0.2.0

func (*UnimplementedMsgServer) DeleteScope added in v0.1.5

func (*UnimplementedMsgServer) DeleteScopeSpecification added in v0.1.5

func (*UnimplementedMsgServer) ModifyOSLocator added in v0.3.0

func (*UnimplementedMsgServer) P8EMemorializeContract added in v0.3.0

type UnimplementedQueryServer

type UnimplementedQueryServer struct {
}

UnimplementedQueryServer can be embedded to have forward compatible implementations.

func (*UnimplementedQueryServer) ContractSpecification added in v0.1.5

func (*UnimplementedQueryServer) ContractSpecificationExtended added in v0.2.0

func (*UnimplementedQueryServer) OSAllLocators added in v0.3.0

func (*UnimplementedQueryServer) OSLocator added in v0.3.0

func (*UnimplementedQueryServer) OSLocatorByScopeUUID added in v0.3.0

func (*UnimplementedQueryServer) OSLocatorByURI added in v0.3.0

func (*UnimplementedQueryServer) OSLocatorParams added in v0.3.0

func (*UnimplementedQueryServer) Ownership

func (*UnimplementedQueryServer) Params

func (*UnimplementedQueryServer) RecordSpecification added in v0.2.0

func (*UnimplementedQueryServer) RecordSpecificationByID added in v0.2.1

func (*UnimplementedQueryServer) RecordsByScopeID added in v0.1.5

func (*UnimplementedQueryServer) RecordsByScopeUUID added in v0.1.5

func (*UnimplementedQueryServer) Scope

func (*UnimplementedQueryServer) ScopeSpecification added in v0.1.5

func (*UnimplementedQueryServer) SessionContextByID added in v0.2.0

func (*UnimplementedQueryServer) SessionContextByUUID added in v0.2.0

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.
	ScopeUuids []string `protobuf:"bytes,1,rep,name=scope_uuids,json=scopeUuids,proto3" json:"scope_uuids,omitempty" yaml:"scope_uuids"`
	// 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) GetScopeUuids added in v0.1.5

func (m *ValueOwnershipResponse) GetScopeUuids() []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

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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